@mui/x-data-grid 6.4.0 → 6.6.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 +134 -2
- package/DataGrid/DataGrid.js +10 -3
- package/DataGrid/useDataGridProps.js +5 -12
- package/README.md +2 -2
- package/colDef/gridNumericOperators.js +0 -6
- package/components/GridColumnHeaders.js +4 -9
- package/components/GridHeader.d.ts +2 -2
- package/components/base/GridBody.d.ts +1 -1
- package/components/base/GridFooterPlaceholder.d.ts +2 -2
- package/components/base/GridOverlays.d.ts +2 -2
- package/components/cell/GridActionsCell.d.ts +3 -3
- package/components/cell/GridActionsCell.js +3 -3
- package/components/cell/GridBooleanCell.d.ts +1 -1
- package/components/cell/GridEditBooleanCell.d.ts +2 -2
- package/components/cell/GridEditDateCell.d.ts +2 -2
- package/components/cell/GridEditInputCell.d.ts +1 -1
- package/components/cell/GridEditInputCell.js +4 -1
- package/components/cell/GridEditSingleSelectCell.d.ts +3 -3
- package/components/cell/GridEditSingleSelectCell.js +5 -5
- package/components/cell/GridSkeletonCell.d.ts +1 -1
- package/components/columnHeaders/ColumnHeaderMenuIcon.d.ts +1 -1
- package/components/columnHeaders/ColumnHeaderMenuIcon.js +3 -3
- package/components/columnHeaders/GridColumnGroupHeader.d.ts +2 -2
- package/components/columnHeaders/GridColumnHeaderFilterIconButton.d.ts +1 -1
- package/components/columnHeaders/GridColumnHeaderFilterIconButton.js +13 -4
- package/components/columnHeaders/GridColumnHeaderItem.d.ts +2 -2
- package/components/columnHeaders/GridColumnHeaderSeparator.d.ts +1 -1
- package/components/columnHeaders/GridColumnHeaderSortIcon.d.ts +1 -1
- package/components/columnHeaders/GridColumnHeaderTitle.d.ts +1 -1
- package/components/containers/GridRoot.js +1 -3
- package/components/index.d.ts +0 -1
- package/components/index.js +1 -2
- package/components/menu/GridMenu.d.ts +1 -1
- package/components/menu/columnMenu/GridColumnHeaderMenu.d.ts +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.d.ts +2 -2
- package/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.d.ts +2 -2
- package/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.d.ts +2 -2
- package/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.d.ts +2 -2
- package/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.d.ts +2 -2
- package/components/panel/GridColumnsPanel.d.ts +2 -2
- package/components/panel/GridPanelContent.d.ts +1 -1
- package/components/panel/GridPanelFooter.d.ts +1 -1
- package/components/panel/GridPanelHeader.d.ts +1 -1
- package/components/panel/GridPreferencesPanel.js +3 -1
- package/components/panel/filterPanel/GridFilterInputBoolean.d.ts +15 -2
- package/components/panel/filterPanel/GridFilterInputBoolean.js +80 -36
- package/components/panel/filterPanel/GridFilterInputDate.d.ts +9 -2
- package/components/panel/filterPanel/GridFilterInputDate.js +27 -6
- package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.d.ts +2 -2
- package/components/panel/filterPanel/GridFilterInputMultipleValue.d.ts +2 -2
- package/components/panel/filterPanel/GridFilterInputSingleSelect.d.ts +9 -2
- package/components/panel/filterPanel/GridFilterInputSingleSelect.js +56 -32
- package/components/panel/filterPanel/GridFilterInputValue.d.ts +11 -4
- package/components/panel/filterPanel/GridFilterInputValue.js +29 -6
- package/components/panel/filterPanel/GridFilterPanel.d.ts +2 -1
- package/components/panel/filterPanel/GridFilterPanel.js +1 -1
- package/components/panel/filterPanel/index.d.ts +3 -1
- package/components/panel/filterPanel/index.js +2 -1
- package/components/toolbar/GridToolbarColumnsButton.js +11 -6
- package/components/toolbar/GridToolbarDensitySelector.js +2 -2
- package/components/toolbar/GridToolbarExport.d.ts +2 -2
- package/components/toolbar/GridToolbarExportContainer.js +7 -7
- package/components/toolbar/GridToolbarFilterButton.js +11 -4
- package/components/toolbar/GridToolbarQuickFilter.d.ts +2 -2
- package/constants/localeTextConstants.js +26 -0
- package/context/GridContextProvider.d.ts +1 -1
- package/hooks/core/strategyProcessing/gridStrategyProcessingApi.d.ts +10 -2
- package/hooks/core/strategyProcessing/useGridStrategyProcessing.js +2 -1
- package/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +10 -3
- package/hooks/features/columnHeaders/useGridColumnHeaders.js +4 -2
- package/hooks/features/dimensions/useGridDimensions.js +2 -2
- package/hooks/features/editing/useGridEditing.js +0 -3
- package/hooks/features/filter/gridFilterSelector.d.ts +2 -2
- package/hooks/features/filter/gridFilterSelector.js +2 -2
- package/hooks/features/filter/gridFilterState.d.ts +6 -6
- package/hooks/features/filter/gridFilterState.js +6 -0
- package/hooks/features/filter/useGridFilter.js +29 -9
- package/hooks/features/focus/gridFocusState.d.ts +2 -0
- package/hooks/features/focus/gridFocusStateSelector.d.ts +2 -0
- package/hooks/features/focus/gridFocusStateSelector.js +6 -0
- package/hooks/features/focus/useGridFocus.js +55 -9
- package/hooks/features/headerFiltering/gridHeaderFilteringSelectors.d.ts +4 -0
- package/hooks/features/headerFiltering/gridHeaderFilteringSelectors.js +5 -0
- package/hooks/features/headerFiltering/index.d.ts +1 -0
- package/hooks/features/headerFiltering/index.js +1 -0
- package/hooks/features/headerFiltering/useGridHeaderFiltering.d.ts +6 -0
- package/hooks/features/headerFiltering/useGridHeaderFiltering.js +91 -0
- package/hooks/features/index.d.ts +1 -0
- package/hooks/features/index.js +2 -1
- package/hooks/features/keyboardNavigation/useGridKeyboardNavigation.d.ts +1 -1
- package/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +113 -4
- package/hooks/features/preferencesPanel/gridPreferencePanelState.d.ts +2 -0
- package/hooks/features/preferencesPanel/useGridPreferencesPanel.js +4 -2
- package/hooks/features/rows/useGridRows.js +16 -1
- package/hooks/features/rows/useGridRowsMeta.js +11 -12
- package/index.js +1 -1
- package/internals/index.d.ts +6 -1
- package/internals/index.js +4 -0
- package/internals/utils/index.d.ts +1 -0
- package/internals/utils/index.js +2 -1
- package/internals/utils/useProps.d.ts +8 -0
- package/internals/utils/useProps.js +33 -0
- package/legacy/DataGrid/DataGrid.js +10 -3
- package/legacy/DataGrid/useDataGridProps.js +8 -8
- package/legacy/colDef/gridNumericOperators.js +0 -6
- package/legacy/components/GridColumnHeaders.js +4 -9
- package/legacy/components/cell/GridActionsCell.js +3 -3
- package/legacy/components/cell/GridEditInputCell.js +4 -1
- package/legacy/components/cell/GridEditSingleSelectCell.js +5 -5
- package/legacy/components/columnHeaders/ColumnHeaderMenuIcon.js +3 -3
- package/legacy/components/columnHeaders/GridColumnHeaderFilterIconButton.js +13 -4
- package/legacy/components/containers/GridRoot.js +1 -3
- package/legacy/components/index.js +1 -2
- package/legacy/components/panel/GridPreferencesPanel.js +3 -1
- package/legacy/components/panel/filterPanel/GridFilterInputBoolean.js +79 -35
- package/legacy/components/panel/filterPanel/GridFilterInputDate.js +26 -5
- package/legacy/components/panel/filterPanel/GridFilterInputSingleSelect.js +55 -31
- package/legacy/components/panel/filterPanel/GridFilterInputValue.js +28 -5
- package/legacy/components/panel/filterPanel/GridFilterPanel.js +1 -1
- package/legacy/components/panel/filterPanel/index.js +2 -1
- package/legacy/components/toolbar/GridToolbarColumnsButton.js +11 -5
- package/legacy/components/toolbar/GridToolbarDensitySelector.js +2 -2
- package/legacy/components/toolbar/GridToolbarExportContainer.js +7 -7
- package/legacy/components/toolbar/GridToolbarFilterButton.js +11 -4
- package/legacy/constants/localeTextConstants.js +26 -0
- package/legacy/hooks/core/strategyProcessing/useGridStrategyProcessing.js +2 -1
- package/legacy/hooks/features/columnHeaders/useGridColumnHeaders.js +5 -5
- package/legacy/hooks/features/dimensions/useGridDimensions.js +2 -2
- package/legacy/hooks/features/editing/useGridEditing.js +0 -3
- package/legacy/hooks/features/filter/gridFilterSelector.js +4 -4
- package/legacy/hooks/features/filter/gridFilterState.js +6 -0
- package/legacy/hooks/features/filter/useGridFilter.js +29 -9
- package/legacy/hooks/features/focus/gridFocusStateSelector.js +10 -0
- package/legacy/hooks/features/focus/useGridFocus.js +58 -9
- package/legacy/hooks/features/headerFiltering/gridHeaderFilteringSelectors.js +11 -0
- package/legacy/hooks/features/headerFiltering/index.js +1 -0
- package/legacy/hooks/features/headerFiltering/useGridHeaderFiltering.js +93 -0
- package/legacy/hooks/features/index.js +2 -1
- package/legacy/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +113 -4
- package/legacy/hooks/features/preferencesPanel/useGridPreferencesPanel.js +4 -2
- package/legacy/hooks/features/rows/useGridRows.js +16 -1
- package/legacy/hooks/features/rows/useGridRowsMeta.js +12 -20
- package/legacy/index.js +1 -1
- package/legacy/internals/index.js +4 -0
- package/legacy/internals/utils/index.js +2 -1
- package/legacy/internals/utils/useProps.js +33 -0
- package/legacy/locales/arSD.js +28 -0
- package/legacy/locales/beBY.js +28 -0
- package/legacy/locales/bgBG.js +28 -0
- package/legacy/locales/csCZ.js +36 -8
- package/legacy/locales/daDK.js +28 -0
- package/legacy/locales/deDE.js +28 -0
- package/legacy/locales/elGR.js +27 -0
- package/legacy/locales/esES.js +28 -0
- package/legacy/locales/faIR.js +28 -0
- package/legacy/locales/fiFI.js +28 -0
- package/legacy/locales/frFR.js +26 -0
- package/legacy/locales/heIL.js +30 -2
- package/legacy/locales/huHU.js +28 -0
- package/legacy/locales/itIT.js +28 -0
- package/legacy/locales/jaJP.js +28 -0
- package/legacy/locales/koKR.js +28 -0
- package/legacy/locales/nbNO.js +28 -0
- package/legacy/locales/nlNL.js +26 -0
- package/legacy/locales/plPL.js +28 -0
- package/legacy/locales/ptBR.js +28 -0
- package/legacy/locales/roRO.js +28 -0
- package/legacy/locales/ruRU.js +28 -0
- package/legacy/locales/skSK.js +28 -0
- package/legacy/locales/svSE.js +28 -0
- package/legacy/locales/trTR.js +28 -0
- package/legacy/locales/ukUA.js +28 -0
- package/legacy/locales/urPK.js +28 -0
- package/legacy/locales/viVN.js +27 -0
- package/legacy/locales/zhCN.js +28 -0
- package/legacy/locales/zhTW.js +28 -0
- package/legacy/material/index.js +2 -0
- package/legacy/models/api/gridHeaderFilteringApi.js +1 -0
- package/legacy/models/gridFilterItem.js +1 -1
- package/legacy/models/gridHeaderFilteringModel.js +1 -0
- package/legacy/models/index.js +0 -1
- package/locales/arSD.js +28 -0
- package/locales/beBY.js +28 -0
- package/locales/bgBG.js +28 -0
- package/locales/csCZ.js +36 -8
- package/locales/daDK.js +28 -0
- package/locales/deDE.js +28 -0
- package/locales/elGR.js +27 -0
- package/locales/esES.js +28 -0
- package/locales/faIR.js +28 -0
- package/locales/fiFI.js +28 -0
- package/locales/frFR.js +26 -0
- package/locales/heIL.js +30 -2
- package/locales/huHU.js +28 -0
- package/locales/itIT.js +28 -0
- package/locales/jaJP.js +28 -0
- package/locales/koKR.js +28 -0
- package/locales/nbNO.js +28 -0
- package/locales/nlNL.js +26 -0
- package/locales/plPL.js +28 -0
- package/locales/ptBR.js +28 -0
- package/locales/roRO.js +28 -0
- package/locales/ruRU.js +28 -0
- package/locales/skSK.js +28 -0
- package/locales/svSE.js +28 -0
- package/locales/trTR.js +28 -0
- package/locales/ukUA.js +28 -0
- package/locales/urPK.js +28 -0
- package/locales/viVN.js +27 -0
- package/locales/zhCN.js +28 -0
- package/locales/zhTW.js +28 -0
- package/material/components/MUISelectOption.d.ts +2 -2
- package/material/index.d.ts +3 -66
- package/material/index.js +2 -0
- package/models/api/gridApiCommon.d.ts +3 -2
- package/models/api/gridCoreApi.d.ts +4 -0
- package/models/api/gridFilterApi.d.ts +3 -1
- package/models/api/gridFocusApi.d.ts +6 -0
- package/models/api/gridHeaderFilteringApi.d.ts +30 -0
- package/models/api/gridHeaderFilteringApi.js +1 -0
- package/models/api/gridLocaleTextApi.d.ts +25 -0
- package/models/api/gridPreferencesPanelApi.d.ts +3 -1
- package/models/events/gridEventLookup.d.ts +27 -1
- package/models/gridFilterItem.d.ts +1 -1
- package/models/gridFilterItem.js +1 -1
- package/models/gridFilterOperator.d.ts +5 -1
- package/models/gridHeaderFilteringModel.d.ts +5 -0
- package/models/gridHeaderFilteringModel.js +1 -0
- package/models/gridSlotsComponent.d.ts +16 -4
- package/models/gridStateCommunity.d.ts +4 -0
- package/models/index.d.ts +1 -1
- package/models/index.js +0 -1
- package/models/props/DataGridProps.d.ts +5 -0
- package/modern/DataGrid/DataGrid.js +10 -3
- package/modern/DataGrid/useDataGridProps.js +5 -12
- package/modern/colDef/gridNumericOperators.js +0 -6
- package/modern/components/GridColumnHeaders.js +4 -9
- package/modern/components/cell/GridActionsCell.js +3 -3
- package/modern/components/cell/GridEditInputCell.js +4 -1
- package/modern/components/cell/GridEditSingleSelectCell.js +5 -5
- package/modern/components/columnHeaders/ColumnHeaderMenuIcon.js +3 -3
- package/modern/components/columnHeaders/GridColumnHeaderFilterIconButton.js +13 -4
- package/modern/components/containers/GridRoot.js +1 -3
- package/modern/components/index.js +1 -2
- package/modern/components/panel/GridPreferencesPanel.js +3 -1
- package/modern/components/panel/filterPanel/GridFilterInputBoolean.js +80 -36
- package/modern/components/panel/filterPanel/GridFilterInputDate.js +27 -6
- package/modern/components/panel/filterPanel/GridFilterInputSingleSelect.js +56 -32
- package/modern/components/panel/filterPanel/GridFilterInputValue.js +29 -6
- package/modern/components/panel/filterPanel/GridFilterPanel.js +1 -1
- package/modern/components/panel/filterPanel/index.js +2 -1
- package/modern/components/toolbar/GridToolbarColumnsButton.js +11 -6
- package/modern/components/toolbar/GridToolbarDensitySelector.js +2 -2
- package/modern/components/toolbar/GridToolbarExportContainer.js +7 -7
- package/modern/components/toolbar/GridToolbarFilterButton.js +11 -4
- package/modern/constants/localeTextConstants.js +26 -0
- package/modern/hooks/core/strategyProcessing/useGridStrategyProcessing.js +2 -1
- package/modern/hooks/features/columnHeaders/useGridColumnHeaders.js +4 -2
- package/modern/hooks/features/dimensions/useGridDimensions.js +2 -2
- package/modern/hooks/features/editing/useGridEditing.js +0 -3
- package/modern/hooks/features/filter/gridFilterSelector.js +2 -2
- package/modern/hooks/features/filter/gridFilterState.js +6 -0
- package/modern/hooks/features/filter/useGridFilter.js +29 -9
- package/modern/hooks/features/focus/gridFocusStateSelector.js +6 -0
- package/modern/hooks/features/focus/useGridFocus.js +55 -9
- package/modern/hooks/features/headerFiltering/gridHeaderFilteringSelectors.js +5 -0
- package/modern/hooks/features/headerFiltering/index.js +1 -0
- package/modern/hooks/features/headerFiltering/useGridHeaderFiltering.js +90 -0
- package/modern/hooks/features/index.js +2 -1
- package/modern/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +113 -4
- package/modern/hooks/features/preferencesPanel/useGridPreferencesPanel.js +4 -2
- package/modern/hooks/features/rows/useGridRows.js +16 -1
- package/modern/hooks/features/rows/useGridRowsMeta.js +11 -12
- package/modern/index.js +1 -1
- package/modern/internals/index.js +4 -0
- package/modern/internals/utils/index.js +2 -1
- package/modern/internals/utils/useProps.js +32 -0
- package/modern/locales/arSD.js +28 -0
- package/modern/locales/beBY.js +28 -0
- package/modern/locales/bgBG.js +28 -0
- package/modern/locales/csCZ.js +36 -8
- package/modern/locales/daDK.js +28 -0
- package/modern/locales/deDE.js +28 -0
- package/modern/locales/elGR.js +27 -0
- package/modern/locales/esES.js +28 -0
- package/modern/locales/faIR.js +28 -0
- package/modern/locales/fiFI.js +28 -0
- package/modern/locales/frFR.js +26 -0
- package/modern/locales/heIL.js +30 -2
- package/modern/locales/huHU.js +28 -0
- package/modern/locales/itIT.js +28 -0
- package/modern/locales/jaJP.js +28 -0
- package/modern/locales/koKR.js +28 -0
- package/modern/locales/nbNO.js +28 -0
- package/modern/locales/nlNL.js +26 -0
- package/modern/locales/plPL.js +28 -0
- package/modern/locales/ptBR.js +28 -0
- package/modern/locales/roRO.js +28 -0
- package/modern/locales/ruRU.js +28 -0
- package/modern/locales/skSK.js +28 -0
- package/modern/locales/svSE.js +28 -0
- package/modern/locales/trTR.js +28 -0
- package/modern/locales/ukUA.js +28 -0
- package/modern/locales/urPK.js +28 -0
- package/modern/locales/viVN.js +27 -0
- package/modern/locales/zhCN.js +28 -0
- package/modern/locales/zhTW.js +28 -0
- package/modern/material/index.js +2 -0
- package/modern/models/api/gridHeaderFilteringApi.js +1 -0
- package/modern/models/gridFilterItem.js +1 -1
- package/modern/models/gridHeaderFilteringModel.js +1 -0
- package/modern/models/index.js +0 -1
- package/node/DataGrid/DataGrid.js +10 -3
- package/node/DataGrid/useDataGridProps.js +4 -11
- package/node/colDef/gridNumericOperators.js +0 -6
- package/node/components/GridColumnHeaders.js +3 -8
- package/node/components/cell/GridActionsCell.js +3 -3
- package/node/components/cell/GridEditInputCell.js +4 -1
- package/node/components/cell/GridEditSingleSelectCell.js +5 -5
- package/node/components/columnHeaders/ColumnHeaderMenuIcon.js +3 -3
- package/node/components/columnHeaders/GridColumnHeaderFilterIconButton.js +12 -3
- package/node/components/containers/GridRoot.js +1 -3
- package/node/components/index.js +0 -11
- package/node/components/panel/GridPreferencesPanel.js +3 -1
- package/node/components/panel/filterPanel/GridFilterInputBoolean.js +78 -35
- package/node/components/panel/filterPanel/GridFilterInputDate.js +27 -6
- package/node/components/panel/filterPanel/GridFilterInputSingleSelect.js +56 -32
- package/node/components/panel/filterPanel/GridFilterInputValue.js +29 -6
- package/node/components/panel/filterPanel/GridFilterPanel.js +2 -1
- package/node/components/panel/filterPanel/index.js +26 -8
- package/node/components/toolbar/GridToolbarColumnsButton.js +11 -6
- package/node/components/toolbar/GridToolbarDensitySelector.js +2 -2
- package/node/components/toolbar/GridToolbarExportContainer.js +7 -7
- package/node/components/toolbar/GridToolbarFilterButton.js +10 -3
- package/node/constants/localeTextConstants.js +26 -0
- package/node/hooks/core/strategyProcessing/useGridStrategyProcessing.js +2 -1
- package/node/hooks/features/columnHeaders/useGridColumnHeaders.js +4 -2
- package/node/hooks/features/dimensions/useGridDimensions.js +2 -2
- package/node/hooks/features/editing/useGridEditing.js +0 -3
- package/node/hooks/features/filter/gridFilterSelector.js +2 -2
- package/node/hooks/features/filter/gridFilterState.js +6 -0
- package/node/hooks/features/filter/useGridFilter.js +30 -10
- package/node/hooks/features/focus/gridFocusStateSelector.js +9 -1
- package/node/hooks/features/focus/useGridFocus.js +55 -9
- package/node/hooks/features/headerFiltering/gridHeaderFilteringSelectors.js +15 -0
- package/node/hooks/features/headerFiltering/index.js +16 -0
- package/node/hooks/features/headerFiltering/useGridHeaderFiltering.js +101 -0
- package/node/hooks/features/index.js +11 -0
- package/node/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +113 -4
- package/node/hooks/features/preferencesPanel/useGridPreferencesPanel.js +4 -2
- package/node/hooks/features/rows/useGridRows.js +16 -1
- package/node/hooks/features/rows/useGridRowsMeta.js +11 -12
- package/node/index.js +1 -1
- package/node/internals/index.js +46 -0
- package/node/internals/utils/index.js +11 -0
- package/node/internals/utils/useProps.js +41 -0
- package/node/locales/arSD.js +28 -0
- package/node/locales/beBY.js +28 -0
- package/node/locales/bgBG.js +28 -0
- package/node/locales/csCZ.js +36 -8
- package/node/locales/daDK.js +28 -0
- package/node/locales/deDE.js +28 -0
- package/node/locales/elGR.js +27 -0
- package/node/locales/esES.js +28 -0
- package/node/locales/faIR.js +28 -0
- package/node/locales/fiFI.js +28 -0
- package/node/locales/frFR.js +26 -0
- package/node/locales/heIL.js +30 -2
- package/node/locales/huHU.js +28 -0
- package/node/locales/itIT.js +28 -0
- package/node/locales/jaJP.js +28 -0
- package/node/locales/koKR.js +28 -0
- package/node/locales/nbNO.js +28 -0
- package/node/locales/nlNL.js +26 -0
- package/node/locales/plPL.js +28 -0
- package/node/locales/ptBR.js +28 -0
- package/node/locales/roRO.js +28 -0
- package/node/locales/ruRU.js +28 -0
- package/node/locales/skSK.js +28 -0
- package/node/locales/svSE.js +28 -0
- package/node/locales/trTR.js +28 -0
- package/node/locales/ukUA.js +28 -0
- package/node/locales/urPK.js +28 -0
- package/node/locales/viVN.js +27 -0
- package/node/locales/zhCN.js +28 -0
- package/node/locales/zhTW.js +28 -0
- package/node/material/index.js +2 -0
- package/node/models/api/gridHeaderFilteringApi.js +5 -0
- package/node/models/gridFilterItem.js +1 -1
- package/node/models/gridHeaderFilteringModel.js +5 -0
- package/node/models/index.js +0 -11
- package/package.json +4 -4
- package/components/GridScrollArea.d.ts +0 -10
- package/components/GridScrollArea.js +0 -117
- package/legacy/components/GridScrollArea.js +0 -119
- package/legacy/lib/createDetectElementResize/index.js +0 -145
- package/lib/createDetectElementResize/index.d.ts +0 -18
- package/lib/createDetectElementResize/index.js +0 -145
- package/lib/createDetectElementResize/types.d.ts +0 -9
- package/modern/components/GridScrollArea.js +0 -117
- package/modern/lib/createDetectElementResize/index.js +0 -145
- package/node/components/GridScrollArea.js +0 -126
- package/node/lib/createDetectElementResize/index.js +0 -151
|
@@ -125,8 +125,23 @@ const useGridRows = (apiRef, props) => {
|
|
|
125
125
|
if (props.signature === _useGridApiEventHandler.GridSignature.DataGrid && updates.length > 1) {
|
|
126
126
|
throw new Error(["MUI: You can't update several rows at once in `apiRef.current.updateRows` on the DataGrid.", 'You need to upgrade to DataGridPro or DataGridPremium component to unlock this feature.'].join('\n'));
|
|
127
127
|
}
|
|
128
|
+
const nonPinnedRowsUpdates = [];
|
|
129
|
+
updates.forEach(update => {
|
|
130
|
+
const id = (0, _gridRowsUtils.getRowIdFromRowModel)(update, props.getRowId, 'A row was provided without id when calling updateRows():');
|
|
131
|
+
const rowNode = apiRef.current.getRowNode(id);
|
|
132
|
+
if (rowNode?.type === 'pinnedRow') {
|
|
133
|
+
// @ts-ignore because otherwise `release:build` doesn't work
|
|
134
|
+
const pinnedRowsCache = apiRef.current.caches.pinnedRows;
|
|
135
|
+
const prevModel = pinnedRowsCache.idLookup[id];
|
|
136
|
+
if (prevModel) {
|
|
137
|
+
pinnedRowsCache.idLookup[id] = (0, _extends2.default)({}, prevModel, update);
|
|
138
|
+
}
|
|
139
|
+
} else {
|
|
140
|
+
nonPinnedRowsUpdates.push(update);
|
|
141
|
+
}
|
|
142
|
+
});
|
|
128
143
|
const cache = (0, _gridRowsUtils.updateCacheWithNewRows)({
|
|
129
|
-
updates,
|
|
144
|
+
updates: nonPinnedRowsUpdates,
|
|
130
145
|
getRowId: props.getRowId,
|
|
131
146
|
previousCache: apiRef.current.caches.rows
|
|
132
147
|
});
|
|
@@ -114,17 +114,14 @@ const useGridRowsMeta = (apiRef, props) => {
|
|
|
114
114
|
} else {
|
|
115
115
|
rowsHeightLookup.current[row.id].needsFirstMeasurement = false;
|
|
116
116
|
}
|
|
117
|
-
const
|
|
117
|
+
const initialHeights = {};
|
|
118
|
+
/* eslint-disable-next-line no-restricted-syntax */
|
|
119
|
+
for (const key in sizes) {
|
|
118
120
|
if (/^base[A-Z]/.test(key)) {
|
|
119
|
-
|
|
121
|
+
initialHeights[key] = sizes[key];
|
|
120
122
|
}
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
// We use an object to make simple to check if a height is already added or not
|
|
125
|
-
const initialHeights = (0, _extends2.default)({}, existingBaseSizes, {
|
|
126
|
-
baseCenter: baseRowHeight
|
|
127
|
-
});
|
|
123
|
+
}
|
|
124
|
+
initialHeights.baseCenter = baseRowHeight;
|
|
128
125
|
if (getRowSpacing) {
|
|
129
126
|
const indexRelativeToCurrentPage = apiRef.current.getRowIndexRelativeToVisibleRows(row.id);
|
|
130
127
|
const spacing = getRowSpacing((0, _extends2.default)({}, row, {
|
|
@@ -145,13 +142,15 @@ const useGridRowsMeta = (apiRef, props) => {
|
|
|
145
142
|
let maximumBaseSize = 0;
|
|
146
143
|
let otherSizes = 0;
|
|
147
144
|
const processedSizes = calculateRowProcessedSizes(row);
|
|
148
|
-
|
|
149
|
-
|
|
145
|
+
/* eslint-disable-next-line no-restricted-syntax, guard-for-in */
|
|
146
|
+
for (const key in processedSizes) {
|
|
147
|
+
const value = processedSizes[key];
|
|
148
|
+
if (/^base[A-Z]/.test(key)) {
|
|
150
149
|
maximumBaseSize = value > maximumBaseSize ? value : maximumBaseSize;
|
|
151
150
|
} else {
|
|
152
151
|
otherSizes += value;
|
|
153
152
|
}
|
|
154
|
-
}
|
|
153
|
+
}
|
|
155
154
|
return acc + maximumBaseSize + otherSizes;
|
|
156
155
|
}, 0);
|
|
157
156
|
pinnedRows?.top?.forEach(row => {
|
package/node/index.js
CHANGED
package/node/internals/index.js
CHANGED
|
@@ -10,16 +10,20 @@ var _exportNames = {
|
|
|
10
10
|
GridBaseColumnHeaders: true,
|
|
11
11
|
GridColumnHeadersInner: true,
|
|
12
12
|
DATA_GRID_DEFAULT_SLOTS_COMPONENTS: true,
|
|
13
|
+
getGridFilter: true,
|
|
13
14
|
useGridRegisterPipeProcessor: true,
|
|
14
15
|
useGridRegisterStrategyProcessor: true,
|
|
15
16
|
GRID_DEFAULT_STRATEGY: true,
|
|
16
17
|
useGridInitialization: true,
|
|
17
18
|
useGridClipboard: true,
|
|
18
19
|
useGridColumnHeaders: true,
|
|
20
|
+
unstable_gridHeaderFilteringEditFieldSelector: true,
|
|
21
|
+
unstable_gridHeaderFilteringMenuSelector: true,
|
|
19
22
|
useGridColumnMenu: true,
|
|
20
23
|
columnMenuStateInitializer: true,
|
|
21
24
|
useGridColumns: true,
|
|
22
25
|
columnsStateInitializer: true,
|
|
26
|
+
getTotalHeaderHeight: true,
|
|
23
27
|
useGridColumnSpanning: true,
|
|
24
28
|
useGridColumnGrouping: true,
|
|
25
29
|
columnGroupsStateInitializer: true,
|
|
@@ -53,6 +57,8 @@ var _exportNames = {
|
|
|
53
57
|
useGridParamsApi: true,
|
|
54
58
|
gridAdditionalRowGroupsSelector: true,
|
|
55
59
|
gridPinnedRowsSelector: true,
|
|
60
|
+
headerFilteringStateInitializer: true,
|
|
61
|
+
useGridHeaderFiltering: true,
|
|
56
62
|
useGridRowSelection: true,
|
|
57
63
|
rowSelectionStateInitializer: true,
|
|
58
64
|
useGridRowSelectionPreProcessors: true,
|
|
@@ -228,6 +234,12 @@ Object.defineProperty(exports, "getColumnsToExport", {
|
|
|
228
234
|
return _utils.getColumnsToExport;
|
|
229
235
|
}
|
|
230
236
|
});
|
|
237
|
+
Object.defineProperty(exports, "getGridFilter", {
|
|
238
|
+
enumerable: true,
|
|
239
|
+
get: function () {
|
|
240
|
+
return _GridFilterPanel.getGridFilter;
|
|
241
|
+
}
|
|
242
|
+
});
|
|
231
243
|
Object.defineProperty(exports, "getRenderableIndexes", {
|
|
232
244
|
enumerable: true,
|
|
233
245
|
get: function () {
|
|
@@ -240,6 +252,12 @@ Object.defineProperty(exports, "getRowIdFromRowModel", {
|
|
|
240
252
|
return _gridRowsUtils.getRowIdFromRowModel;
|
|
241
253
|
}
|
|
242
254
|
});
|
|
255
|
+
Object.defineProperty(exports, "getTotalHeaderHeight", {
|
|
256
|
+
enumerable: true,
|
|
257
|
+
get: function () {
|
|
258
|
+
return _gridColumnsUtils.getTotalHeaderHeight;
|
|
259
|
+
}
|
|
260
|
+
});
|
|
243
261
|
Object.defineProperty(exports, "getTreeNodeDescendants", {
|
|
244
262
|
enumerable: true,
|
|
245
263
|
get: function () {
|
|
@@ -270,6 +288,12 @@ Object.defineProperty(exports, "gridPinnedRowsSelector", {
|
|
|
270
288
|
return _gridRowsSelector.gridPinnedRowsSelector;
|
|
271
289
|
}
|
|
272
290
|
});
|
|
291
|
+
Object.defineProperty(exports, "headerFilteringStateInitializer", {
|
|
292
|
+
enumerable: true,
|
|
293
|
+
get: function () {
|
|
294
|
+
return _useGridHeaderFiltering.headerFilteringStateInitializer;
|
|
295
|
+
}
|
|
296
|
+
});
|
|
273
297
|
Object.defineProperty(exports, "isDeepEqual", {
|
|
274
298
|
enumerable: true,
|
|
275
299
|
get: function () {
|
|
@@ -354,6 +378,18 @@ Object.defineProperty(exports, "sortingStateInitializer", {
|
|
|
354
378
|
return _useGridSorting.sortingStateInitializer;
|
|
355
379
|
}
|
|
356
380
|
});
|
|
381
|
+
Object.defineProperty(exports, "unstable_gridHeaderFilteringEditFieldSelector", {
|
|
382
|
+
enumerable: true,
|
|
383
|
+
get: function () {
|
|
384
|
+
return _gridHeaderFilteringSelectors.unstable_gridHeaderFilteringEditFieldSelector;
|
|
385
|
+
}
|
|
386
|
+
});
|
|
387
|
+
Object.defineProperty(exports, "unstable_gridHeaderFilteringMenuSelector", {
|
|
388
|
+
enumerable: true,
|
|
389
|
+
get: function () {
|
|
390
|
+
return _gridHeaderFilteringSelectors.unstable_gridHeaderFilteringMenuSelector;
|
|
391
|
+
}
|
|
392
|
+
});
|
|
357
393
|
Object.defineProperty(exports, "unstable_resetCreateSelectorCache", {
|
|
358
394
|
enumerable: true,
|
|
359
395
|
get: function () {
|
|
@@ -438,6 +474,12 @@ Object.defineProperty(exports, "useGridFocus", {
|
|
|
438
474
|
return _useGridFocus.useGridFocus;
|
|
439
475
|
}
|
|
440
476
|
});
|
|
477
|
+
Object.defineProperty(exports, "useGridHeaderFiltering", {
|
|
478
|
+
enumerable: true,
|
|
479
|
+
get: function () {
|
|
480
|
+
return _useGridHeaderFiltering.useGridHeaderFiltering;
|
|
481
|
+
}
|
|
482
|
+
});
|
|
441
483
|
Object.defineProperty(exports, "useGridInitialization", {
|
|
442
484
|
enumerable: true,
|
|
443
485
|
get: function () {
|
|
@@ -564,13 +606,16 @@ var _GridVirtualScrollerRenderZone = require("../components/virtualization/GridV
|
|
|
564
606
|
var _GridBaseColumnHeaders = require("../components/columnHeaders/GridBaseColumnHeaders");
|
|
565
607
|
var _GridColumnHeadersInner = require("../components/columnHeaders/GridColumnHeadersInner");
|
|
566
608
|
var _defaultGridSlotsComponents = require("../constants/defaultGridSlotsComponents");
|
|
609
|
+
var _GridFilterPanel = require("../components/panel/filterPanel/GridFilterPanel");
|
|
567
610
|
var _pipeProcessing = require("../hooks/core/pipeProcessing");
|
|
568
611
|
var _strategyProcessing = require("../hooks/core/strategyProcessing");
|
|
569
612
|
var _useGridInitialization = require("../hooks/core/useGridInitialization");
|
|
570
613
|
var _useGridClipboard = require("../hooks/features/clipboard/useGridClipboard");
|
|
571
614
|
var _useGridColumnHeaders = require("../hooks/features/columnHeaders/useGridColumnHeaders");
|
|
615
|
+
var _gridHeaderFilteringSelectors = require("../hooks/features/headerFiltering/gridHeaderFilteringSelectors");
|
|
572
616
|
var _useGridColumnMenu = require("../hooks/features/columnMenu/useGridColumnMenu");
|
|
573
617
|
var _useGridColumns = require("../hooks/features/columns/useGridColumns");
|
|
618
|
+
var _gridColumnsUtils = require("../hooks/features/columns/gridColumnsUtils");
|
|
574
619
|
var _useGridColumnSpanning = require("../hooks/features/columns/useGridColumnSpanning");
|
|
575
620
|
var _useGridColumnGrouping = require("../hooks/features/columnGrouping/useGridColumnGrouping");
|
|
576
621
|
var _useGridDensity = require("../hooks/features/density/useGridDensity");
|
|
@@ -591,6 +636,7 @@ var _gridRowsUtils = require("../hooks/features/rows/gridRowsUtils");
|
|
|
591
636
|
var _useGridRowsMeta = require("../hooks/features/rows/useGridRowsMeta");
|
|
592
637
|
var _useGridParamsApi = require("../hooks/features/rows/useGridParamsApi");
|
|
593
638
|
var _gridRowsSelector = require("../hooks/features/rows/gridRowsSelector");
|
|
639
|
+
var _useGridHeaderFiltering = require("../hooks/features/headerFiltering/useGridHeaderFiltering");
|
|
594
640
|
var _useGridRowSelection = require("../hooks/features/rowSelection/useGridRowSelection");
|
|
595
641
|
var _useGridRowSelectionPreProcessors = require("../hooks/features/rowSelection/useGridRowSelectionPreProcessors");
|
|
596
642
|
var _useGridSorting = require("../hooks/features/sorting/useGridSorting");
|
|
@@ -24,4 +24,15 @@ Object.keys(_slotsMigration).forEach(function (key) {
|
|
|
24
24
|
return _slotsMigration[key];
|
|
25
25
|
}
|
|
26
26
|
});
|
|
27
|
+
});
|
|
28
|
+
var _useProps = require("./useProps");
|
|
29
|
+
Object.keys(_useProps).forEach(function (key) {
|
|
30
|
+
if (key === "default" || key === "__esModule") return;
|
|
31
|
+
if (key in exports && exports[key] === _useProps[key]) return;
|
|
32
|
+
Object.defineProperty(exports, key, {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function () {
|
|
35
|
+
return _useProps[key];
|
|
36
|
+
}
|
|
37
|
+
});
|
|
27
38
|
});
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.useProps = useProps;
|
|
8
|
+
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
9
|
+
var React = _interopRequireWildcard(require("react"));
|
|
10
|
+
const _excluded = ["components", "componentsProps"];
|
|
11
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
12
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
13
|
+
/** Gathers props for the root element into a single `.forwardedProps` field */
|
|
14
|
+
function groupForwardedProps(props) {
|
|
15
|
+
const keys = Object.keys(props);
|
|
16
|
+
if (!keys.some(key => key.startsWith('aria-') || key.startsWith('data-'))) {
|
|
17
|
+
return props;
|
|
18
|
+
}
|
|
19
|
+
const newProps = {};
|
|
20
|
+
const forwardedProps = props.forwardedProps ?? {};
|
|
21
|
+
for (let i = 0; i < keys.length; i += 1) {
|
|
22
|
+
const key = keys[i];
|
|
23
|
+
if (key.startsWith('aria-') || key.startsWith('data-')) {
|
|
24
|
+
forwardedProps[key] = props[key];
|
|
25
|
+
} else {
|
|
26
|
+
newProps[key] = props[key];
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
newProps.forwardedProps = forwardedProps;
|
|
30
|
+
return newProps;
|
|
31
|
+
}
|
|
32
|
+
function useProps(allProps) {
|
|
33
|
+
return React.useMemo(() => {
|
|
34
|
+
const {
|
|
35
|
+
components,
|
|
36
|
+
componentsProps
|
|
37
|
+
} = allProps,
|
|
38
|
+
themedProps = (0, _objectWithoutPropertiesLoose2.default)(allProps, _excluded);
|
|
39
|
+
return [components, componentsProps, groupForwardedProps(themedProps)];
|
|
40
|
+
}, [allProps]);
|
|
41
|
+
}
|
package/node/locales/arSD.js
CHANGED
|
@@ -66,6 +66,34 @@ const arSDGrid = {
|
|
|
66
66
|
filterOperatorIsEmpty: 'خالي',
|
|
67
67
|
filterOperatorIsNotEmpty: 'غير خالي',
|
|
68
68
|
filterOperatorIsAnyOf: 'أي من',
|
|
69
|
+
// 'filterOperator=': '=',
|
|
70
|
+
// 'filterOperator!=': '!=',
|
|
71
|
+
// 'filterOperator>': '>',
|
|
72
|
+
// 'filterOperator>=': '>=',
|
|
73
|
+
// 'filterOperator<': '<',
|
|
74
|
+
// 'filterOperator<=': '<=',
|
|
75
|
+
|
|
76
|
+
// Header filter operators text
|
|
77
|
+
// headerFilterOperatorContains: 'Contains',
|
|
78
|
+
// headerFilterOperatorEquals: 'Equals',
|
|
79
|
+
// headerFilterOperatorStartsWith: 'Starts with',
|
|
80
|
+
// headerFilterOperatorEndsWith: 'Ends with',
|
|
81
|
+
// headerFilterOperatorIs: 'Is',
|
|
82
|
+
// headerFilterOperatorNot: 'Is not',
|
|
83
|
+
// headerFilterOperatorAfter: 'Is after',
|
|
84
|
+
// headerFilterOperatorOnOrAfter: 'Is on or after',
|
|
85
|
+
// headerFilterOperatorBefore: 'Is before',
|
|
86
|
+
// headerFilterOperatorOnOrBefore: 'Is on or before',
|
|
87
|
+
// headerFilterOperatorIsEmpty: 'Is empty',
|
|
88
|
+
// headerFilterOperatorIsNotEmpty: 'Is not empty',
|
|
89
|
+
// headerFilterOperatorIsAnyOf: 'Is any of',
|
|
90
|
+
// 'headerFilterOperator=': 'Equals',
|
|
91
|
+
// 'headerFilterOperator!=': 'Not equals',
|
|
92
|
+
// 'headerFilterOperator>': 'Is greater than',
|
|
93
|
+
// 'headerFilterOperator>=': 'Is greater than or equal to',
|
|
94
|
+
// 'headerFilterOperator<': 'Is less than',
|
|
95
|
+
// 'headerFilterOperator<=': 'Is less than or equal to',
|
|
96
|
+
|
|
69
97
|
// Filter values text
|
|
70
98
|
filterValueAny: 'أي',
|
|
71
99
|
filterValueTrue: 'صائب',
|
package/node/locales/beBY.js
CHANGED
|
@@ -80,6 +80,34 @@ const beBYGrid = {
|
|
|
80
80
|
filterOperatorIsEmpty: 'пусты',
|
|
81
81
|
filterOperatorIsNotEmpty: 'не пусты',
|
|
82
82
|
filterOperatorIsAnyOf: 'усякі з',
|
|
83
|
+
// 'filterOperator=': '=',
|
|
84
|
+
// 'filterOperator!=': '!=',
|
|
85
|
+
// 'filterOperator>': '>',
|
|
86
|
+
// 'filterOperator>=': '>=',
|
|
87
|
+
// 'filterOperator<': '<',
|
|
88
|
+
// 'filterOperator<=': '<=',
|
|
89
|
+
|
|
90
|
+
// Header filter operators text
|
|
91
|
+
// headerFilterOperatorContains: 'Contains',
|
|
92
|
+
// headerFilterOperatorEquals: 'Equals',
|
|
93
|
+
// headerFilterOperatorStartsWith: 'Starts with',
|
|
94
|
+
// headerFilterOperatorEndsWith: 'Ends with',
|
|
95
|
+
// headerFilterOperatorIs: 'Is',
|
|
96
|
+
// headerFilterOperatorNot: 'Is not',
|
|
97
|
+
// headerFilterOperatorAfter: 'Is after',
|
|
98
|
+
// headerFilterOperatorOnOrAfter: 'Is on or after',
|
|
99
|
+
// headerFilterOperatorBefore: 'Is before',
|
|
100
|
+
// headerFilterOperatorOnOrBefore: 'Is on or before',
|
|
101
|
+
// headerFilterOperatorIsEmpty: 'Is empty',
|
|
102
|
+
// headerFilterOperatorIsNotEmpty: 'Is not empty',
|
|
103
|
+
// headerFilterOperatorIsAnyOf: 'Is any of',
|
|
104
|
+
// 'headerFilterOperator=': 'Equals',
|
|
105
|
+
// 'headerFilterOperator!=': 'Not equals',
|
|
106
|
+
// 'headerFilterOperator>': 'Is greater than',
|
|
107
|
+
// 'headerFilterOperator>=': 'Is greater than or equal to',
|
|
108
|
+
// 'headerFilterOperator<': 'Is less than',
|
|
109
|
+
// 'headerFilterOperator<=': 'Is less than or equal to',
|
|
110
|
+
|
|
83
111
|
// Filter values text
|
|
84
112
|
filterValueAny: 'усякі',
|
|
85
113
|
filterValueTrue: 'праўда',
|
package/node/locales/bgBG.js
CHANGED
|
@@ -66,6 +66,34 @@ const bgBGGrid = {
|
|
|
66
66
|
filterOperatorIsEmpty: 'е празен',
|
|
67
67
|
filterOperatorIsNotEmpty: 'не е празен',
|
|
68
68
|
filterOperatorIsAnyOf: 'е някой от',
|
|
69
|
+
// 'filterOperator=': '=',
|
|
70
|
+
// 'filterOperator!=': '!=',
|
|
71
|
+
// 'filterOperator>': '>',
|
|
72
|
+
// 'filterOperator>=': '>=',
|
|
73
|
+
// 'filterOperator<': '<',
|
|
74
|
+
// 'filterOperator<=': '<=',
|
|
75
|
+
|
|
76
|
+
// Header filter operators text
|
|
77
|
+
// headerFilterOperatorContains: 'Contains',
|
|
78
|
+
// headerFilterOperatorEquals: 'Equals',
|
|
79
|
+
// headerFilterOperatorStartsWith: 'Starts with',
|
|
80
|
+
// headerFilterOperatorEndsWith: 'Ends with',
|
|
81
|
+
// headerFilterOperatorIs: 'Is',
|
|
82
|
+
// headerFilterOperatorNot: 'Is not',
|
|
83
|
+
// headerFilterOperatorAfter: 'Is after',
|
|
84
|
+
// headerFilterOperatorOnOrAfter: 'Is on or after',
|
|
85
|
+
// headerFilterOperatorBefore: 'Is before',
|
|
86
|
+
// headerFilterOperatorOnOrBefore: 'Is on or before',
|
|
87
|
+
// headerFilterOperatorIsEmpty: 'Is empty',
|
|
88
|
+
// headerFilterOperatorIsNotEmpty: 'Is not empty',
|
|
89
|
+
// headerFilterOperatorIsAnyOf: 'Is any of',
|
|
90
|
+
// 'headerFilterOperator=': 'Equals',
|
|
91
|
+
// 'headerFilterOperator!=': 'Not equals',
|
|
92
|
+
// 'headerFilterOperator>': 'Is greater than',
|
|
93
|
+
// 'headerFilterOperator>=': 'Is greater than or equal to',
|
|
94
|
+
// 'headerFilterOperator<': 'Is less than',
|
|
95
|
+
// 'headerFilterOperator<=': 'Is less than or equal to',
|
|
96
|
+
|
|
69
97
|
// Filter values text
|
|
70
98
|
filterValueAny: 'всякакви',
|
|
71
99
|
filterValueTrue: 'вярно',
|
package/node/locales/csCZ.js
CHANGED
|
@@ -9,10 +9,10 @@ var _getGridLocalization = require("../utils/getGridLocalization");
|
|
|
9
9
|
const csCZGrid = {
|
|
10
10
|
// Root
|
|
11
11
|
noRowsLabel: 'Žádné záznamy',
|
|
12
|
-
noResultsOverlayLabel: '
|
|
12
|
+
noResultsOverlayLabel: 'Nenašly se žadné výsledky.',
|
|
13
13
|
// Density selector toolbar button text
|
|
14
|
-
toolbarDensity: '
|
|
15
|
-
toolbarDensityLabel: '
|
|
14
|
+
toolbarDensity: 'Zobrazení',
|
|
15
|
+
toolbarDensityLabel: 'Zobrazení',
|
|
16
16
|
toolbarDensityCompact: 'Kompaktní',
|
|
17
17
|
toolbarDensityStandard: 'Standartní',
|
|
18
18
|
toolbarDensityComfortable: 'Komfortní',
|
|
@@ -34,8 +34,8 @@ const csCZGrid = {
|
|
|
34
34
|
return `${count} ${pluralForm}`;
|
|
35
35
|
},
|
|
36
36
|
// Quick filter toolbar field
|
|
37
|
-
toolbarQuickFilterPlaceholder: '
|
|
38
|
-
toolbarQuickFilterLabel: '
|
|
37
|
+
toolbarQuickFilterPlaceholder: 'Hledat…',
|
|
38
|
+
toolbarQuickFilterLabel: 'Hledat',
|
|
39
39
|
toolbarQuickFilterDeleteIconLabel: 'Vymazat',
|
|
40
40
|
// Export selector toolbar button text
|
|
41
41
|
toolbarExport: 'Export',
|
|
@@ -63,17 +63,45 @@ const csCZGrid = {
|
|
|
63
63
|
// Filter operators text
|
|
64
64
|
filterOperatorContains: 'obsahuje',
|
|
65
65
|
filterOperatorEquals: 'rovná se',
|
|
66
|
-
filterOperatorStartsWith: 'začíná
|
|
66
|
+
filterOperatorStartsWith: 'začíná na',
|
|
67
67
|
filterOperatorEndsWith: 'končí na',
|
|
68
68
|
filterOperatorIs: 'je',
|
|
69
69
|
filterOperatorNot: 'není',
|
|
70
70
|
filterOperatorAfter: 'je po',
|
|
71
|
-
filterOperatorOnOrAfter: 'je
|
|
71
|
+
filterOperatorOnOrAfter: 'je po včetně',
|
|
72
72
|
filterOperatorBefore: 'je před',
|
|
73
|
-
filterOperatorOnOrBefore: 'je
|
|
73
|
+
filterOperatorOnOrBefore: 'je před včetně',
|
|
74
74
|
filterOperatorIsEmpty: 'je prázdný',
|
|
75
75
|
filterOperatorIsNotEmpty: 'není prázdný',
|
|
76
76
|
filterOperatorIsAnyOf: 'je jeden z',
|
|
77
|
+
// 'filterOperator=': '=',
|
|
78
|
+
// 'filterOperator!=': '!=',
|
|
79
|
+
// 'filterOperator>': '>',
|
|
80
|
+
// 'filterOperator>=': '>=',
|
|
81
|
+
// 'filterOperator<': '<',
|
|
82
|
+
// 'filterOperator<=': '<=',
|
|
83
|
+
|
|
84
|
+
// Header filter operators text
|
|
85
|
+
// headerFilterOperatorContains: 'Contains',
|
|
86
|
+
// headerFilterOperatorEquals: 'Equals',
|
|
87
|
+
// headerFilterOperatorStartsWith: 'Starts with',
|
|
88
|
+
// headerFilterOperatorEndsWith: 'Ends with',
|
|
89
|
+
// headerFilterOperatorIs: 'Is',
|
|
90
|
+
// headerFilterOperatorNot: 'Is not',
|
|
91
|
+
// headerFilterOperatorAfter: 'Is after',
|
|
92
|
+
// headerFilterOperatorOnOrAfter: 'Is on or after',
|
|
93
|
+
// headerFilterOperatorBefore: 'Is before',
|
|
94
|
+
// headerFilterOperatorOnOrBefore: 'Is on or before',
|
|
95
|
+
// headerFilterOperatorIsEmpty: 'Is empty',
|
|
96
|
+
// headerFilterOperatorIsNotEmpty: 'Is not empty',
|
|
97
|
+
// headerFilterOperatorIsAnyOf: 'Is any of',
|
|
98
|
+
// 'headerFilterOperator=': 'Equals',
|
|
99
|
+
// 'headerFilterOperator!=': 'Not equals',
|
|
100
|
+
// 'headerFilterOperator>': 'Is greater than',
|
|
101
|
+
// 'headerFilterOperator>=': 'Is greater than or equal to',
|
|
102
|
+
// 'headerFilterOperator<': 'Is less than',
|
|
103
|
+
// 'headerFilterOperator<=': 'Is less than or equal to',
|
|
104
|
+
|
|
77
105
|
// Filter values text
|
|
78
106
|
filterValueAny: 'jakýkoliv',
|
|
79
107
|
filterValueTrue: 'ano',
|
package/node/locales/daDK.js
CHANGED
|
@@ -66,6 +66,34 @@ const daDKGrid = {
|
|
|
66
66
|
filterOperatorIsEmpty: 'Indeholder ikke data',
|
|
67
67
|
filterOperatorIsNotEmpty: 'Indeholder data',
|
|
68
68
|
filterOperatorIsAnyOf: 'indeholder en af',
|
|
69
|
+
// 'filterOperator=': '=',
|
|
70
|
+
// 'filterOperator!=': '!=',
|
|
71
|
+
// 'filterOperator>': '>',
|
|
72
|
+
// 'filterOperator>=': '>=',
|
|
73
|
+
// 'filterOperator<': '<',
|
|
74
|
+
// 'filterOperator<=': '<=',
|
|
75
|
+
|
|
76
|
+
// Header filter operators text
|
|
77
|
+
// headerFilterOperatorContains: 'Contains',
|
|
78
|
+
// headerFilterOperatorEquals: 'Equals',
|
|
79
|
+
// headerFilterOperatorStartsWith: 'Starts with',
|
|
80
|
+
// headerFilterOperatorEndsWith: 'Ends with',
|
|
81
|
+
// headerFilterOperatorIs: 'Is',
|
|
82
|
+
// headerFilterOperatorNot: 'Is not',
|
|
83
|
+
// headerFilterOperatorAfter: 'Is after',
|
|
84
|
+
// headerFilterOperatorOnOrAfter: 'Is on or after',
|
|
85
|
+
// headerFilterOperatorBefore: 'Is before',
|
|
86
|
+
// headerFilterOperatorOnOrBefore: 'Is on or before',
|
|
87
|
+
// headerFilterOperatorIsEmpty: 'Is empty',
|
|
88
|
+
// headerFilterOperatorIsNotEmpty: 'Is not empty',
|
|
89
|
+
// headerFilterOperatorIsAnyOf: 'Is any of',
|
|
90
|
+
// 'headerFilterOperator=': 'Equals',
|
|
91
|
+
// 'headerFilterOperator!=': 'Not equals',
|
|
92
|
+
// 'headerFilterOperator>': 'Is greater than',
|
|
93
|
+
// 'headerFilterOperator>=': 'Is greater than or equal to',
|
|
94
|
+
// 'headerFilterOperator<': 'Is less than',
|
|
95
|
+
// 'headerFilterOperator<=': 'Is less than or equal to',
|
|
96
|
+
|
|
69
97
|
// Filter values text
|
|
70
98
|
filterValueAny: 'hvilken som helst',
|
|
71
99
|
filterValueTrue: 'positiv',
|
package/node/locales/deDE.js
CHANGED
|
@@ -66,6 +66,34 @@ const deDEGrid = {
|
|
|
66
66
|
filterOperatorIsEmpty: 'ist leer',
|
|
67
67
|
filterOperatorIsNotEmpty: 'ist nicht leer',
|
|
68
68
|
filterOperatorIsAnyOf: 'ist einer der Werte',
|
|
69
|
+
// 'filterOperator=': '=',
|
|
70
|
+
// 'filterOperator!=': '!=',
|
|
71
|
+
// 'filterOperator>': '>',
|
|
72
|
+
// 'filterOperator>=': '>=',
|
|
73
|
+
// 'filterOperator<': '<',
|
|
74
|
+
// 'filterOperator<=': '<=',
|
|
75
|
+
|
|
76
|
+
// Header filter operators text
|
|
77
|
+
// headerFilterOperatorContains: 'Contains',
|
|
78
|
+
// headerFilterOperatorEquals: 'Equals',
|
|
79
|
+
// headerFilterOperatorStartsWith: 'Starts with',
|
|
80
|
+
// headerFilterOperatorEndsWith: 'Ends with',
|
|
81
|
+
// headerFilterOperatorIs: 'Is',
|
|
82
|
+
// headerFilterOperatorNot: 'Is not',
|
|
83
|
+
// headerFilterOperatorAfter: 'Is after',
|
|
84
|
+
// headerFilterOperatorOnOrAfter: 'Is on or after',
|
|
85
|
+
// headerFilterOperatorBefore: 'Is before',
|
|
86
|
+
// headerFilterOperatorOnOrBefore: 'Is on or before',
|
|
87
|
+
// headerFilterOperatorIsEmpty: 'Is empty',
|
|
88
|
+
// headerFilterOperatorIsNotEmpty: 'Is not empty',
|
|
89
|
+
// headerFilterOperatorIsAnyOf: 'Is any of',
|
|
90
|
+
// 'headerFilterOperator=': 'Equals',
|
|
91
|
+
// 'headerFilterOperator!=': 'Not equals',
|
|
92
|
+
// 'headerFilterOperator>': 'Is greater than',
|
|
93
|
+
// 'headerFilterOperator>=': 'Is greater than or equal to',
|
|
94
|
+
// 'headerFilterOperator<': 'Is less than',
|
|
95
|
+
// 'headerFilterOperator<=': 'Is less than or equal to',
|
|
96
|
+
|
|
69
97
|
// Filter values text
|
|
70
98
|
filterValueAny: 'Beliebig',
|
|
71
99
|
filterValueTrue: 'Ja',
|
package/node/locales/elGR.js
CHANGED
|
@@ -67,6 +67,33 @@ const elGRGrid = {
|
|
|
67
67
|
filterOperatorIsEmpty: 'είναι κενό',
|
|
68
68
|
filterOperatorIsNotEmpty: 'δεν είναι κενό',
|
|
69
69
|
// filterOperatorIsAnyOf: 'is any of',
|
|
70
|
+
// 'filterOperator=': '=',
|
|
71
|
+
// 'filterOperator!=': '!=',
|
|
72
|
+
// 'filterOperator>': '>',
|
|
73
|
+
// 'filterOperator>=': '>=',
|
|
74
|
+
// 'filterOperator<': '<',
|
|
75
|
+
// 'filterOperator<=': '<=',
|
|
76
|
+
|
|
77
|
+
// Header filter operators text
|
|
78
|
+
// headerFilterOperatorContains: 'Contains',
|
|
79
|
+
// headerFilterOperatorEquals: 'Equals',
|
|
80
|
+
// headerFilterOperatorStartsWith: 'Starts with',
|
|
81
|
+
// headerFilterOperatorEndsWith: 'Ends with',
|
|
82
|
+
// headerFilterOperatorIs: 'Is',
|
|
83
|
+
// headerFilterOperatorNot: 'Is not',
|
|
84
|
+
// headerFilterOperatorAfter: 'Is after',
|
|
85
|
+
// headerFilterOperatorOnOrAfter: 'Is on or after',
|
|
86
|
+
// headerFilterOperatorBefore: 'Is before',
|
|
87
|
+
// headerFilterOperatorOnOrBefore: 'Is on or before',
|
|
88
|
+
// headerFilterOperatorIsEmpty: 'Is empty',
|
|
89
|
+
// headerFilterOperatorIsNotEmpty: 'Is not empty',
|
|
90
|
+
// headerFilterOperatorIsAnyOf: 'Is any of',
|
|
91
|
+
// 'headerFilterOperator=': 'Equals',
|
|
92
|
+
// 'headerFilterOperator!=': 'Not equals',
|
|
93
|
+
// 'headerFilterOperator>': 'Is greater than',
|
|
94
|
+
// 'headerFilterOperator>=': 'Is greater than or equal to',
|
|
95
|
+
// 'headerFilterOperator<': 'Is less than',
|
|
96
|
+
// 'headerFilterOperator<=': 'Is less than or equal to',
|
|
70
97
|
|
|
71
98
|
// Filter values text
|
|
72
99
|
// filterValueAny: 'any',
|
package/node/locales/esES.js
CHANGED
|
@@ -66,6 +66,34 @@ const esESGrid = {
|
|
|
66
66
|
filterOperatorIsEmpty: 'está vacío',
|
|
67
67
|
filterOperatorIsNotEmpty: 'no esta vacío',
|
|
68
68
|
filterOperatorIsAnyOf: 'es cualquiera de',
|
|
69
|
+
// 'filterOperator=': '=',
|
|
70
|
+
// 'filterOperator!=': '!=',
|
|
71
|
+
// 'filterOperator>': '>',
|
|
72
|
+
// 'filterOperator>=': '>=',
|
|
73
|
+
// 'filterOperator<': '<',
|
|
74
|
+
// 'filterOperator<=': '<=',
|
|
75
|
+
|
|
76
|
+
// Header filter operators text
|
|
77
|
+
// headerFilterOperatorContains: 'Contains',
|
|
78
|
+
// headerFilterOperatorEquals: 'Equals',
|
|
79
|
+
// headerFilterOperatorStartsWith: 'Starts with',
|
|
80
|
+
// headerFilterOperatorEndsWith: 'Ends with',
|
|
81
|
+
// headerFilterOperatorIs: 'Is',
|
|
82
|
+
// headerFilterOperatorNot: 'Is not',
|
|
83
|
+
// headerFilterOperatorAfter: 'Is after',
|
|
84
|
+
// headerFilterOperatorOnOrAfter: 'Is on or after',
|
|
85
|
+
// headerFilterOperatorBefore: 'Is before',
|
|
86
|
+
// headerFilterOperatorOnOrBefore: 'Is on or before',
|
|
87
|
+
// headerFilterOperatorIsEmpty: 'Is empty',
|
|
88
|
+
// headerFilterOperatorIsNotEmpty: 'Is not empty',
|
|
89
|
+
// headerFilterOperatorIsAnyOf: 'Is any of',
|
|
90
|
+
// 'headerFilterOperator=': 'Equals',
|
|
91
|
+
// 'headerFilterOperator!=': 'Not equals',
|
|
92
|
+
// 'headerFilterOperator>': 'Is greater than',
|
|
93
|
+
// 'headerFilterOperator>=': 'Is greater than or equal to',
|
|
94
|
+
// 'headerFilterOperator<': 'Is less than',
|
|
95
|
+
// 'headerFilterOperator<=': 'Is less than or equal to',
|
|
96
|
+
|
|
69
97
|
// Filter values text
|
|
70
98
|
filterValueAny: 'cualquiera',
|
|
71
99
|
filterValueTrue: 'verdadero',
|
package/node/locales/faIR.js
CHANGED
|
@@ -66,6 +66,34 @@ const faIRGrid = {
|
|
|
66
66
|
filterOperatorIsEmpty: 'خالی است',
|
|
67
67
|
filterOperatorIsNotEmpty: 'خالی نیست',
|
|
68
68
|
filterOperatorIsAnyOf: 'هر یک از',
|
|
69
|
+
// 'filterOperator=': '=',
|
|
70
|
+
// 'filterOperator!=': '!=',
|
|
71
|
+
// 'filterOperator>': '>',
|
|
72
|
+
// 'filterOperator>=': '>=',
|
|
73
|
+
// 'filterOperator<': '<',
|
|
74
|
+
// 'filterOperator<=': '<=',
|
|
75
|
+
|
|
76
|
+
// Header filter operators text
|
|
77
|
+
// headerFilterOperatorContains: 'Contains',
|
|
78
|
+
// headerFilterOperatorEquals: 'Equals',
|
|
79
|
+
// headerFilterOperatorStartsWith: 'Starts with',
|
|
80
|
+
// headerFilterOperatorEndsWith: 'Ends with',
|
|
81
|
+
// headerFilterOperatorIs: 'Is',
|
|
82
|
+
// headerFilterOperatorNot: 'Is not',
|
|
83
|
+
// headerFilterOperatorAfter: 'Is after',
|
|
84
|
+
// headerFilterOperatorOnOrAfter: 'Is on or after',
|
|
85
|
+
// headerFilterOperatorBefore: 'Is before',
|
|
86
|
+
// headerFilterOperatorOnOrBefore: 'Is on or before',
|
|
87
|
+
// headerFilterOperatorIsEmpty: 'Is empty',
|
|
88
|
+
// headerFilterOperatorIsNotEmpty: 'Is not empty',
|
|
89
|
+
// headerFilterOperatorIsAnyOf: 'Is any of',
|
|
90
|
+
// 'headerFilterOperator=': 'Equals',
|
|
91
|
+
// 'headerFilterOperator!=': 'Not equals',
|
|
92
|
+
// 'headerFilterOperator>': 'Is greater than',
|
|
93
|
+
// 'headerFilterOperator>=': 'Is greater than or equal to',
|
|
94
|
+
// 'headerFilterOperator<': 'Is less than',
|
|
95
|
+
// 'headerFilterOperator<=': 'Is less than or equal to',
|
|
96
|
+
|
|
69
97
|
// Filter values text
|
|
70
98
|
filterValueAny: 'هرچیزی',
|
|
71
99
|
filterValueTrue: 'صحیح',
|
package/node/locales/fiFI.js
CHANGED
|
@@ -66,6 +66,34 @@ const fiFIGrid = {
|
|
|
66
66
|
filterOperatorIsEmpty: 'on tyhjä',
|
|
67
67
|
filterOperatorIsNotEmpty: 'ei ole tyhjä',
|
|
68
68
|
filterOperatorIsAnyOf: 'mikä tahansa seuraavista',
|
|
69
|
+
// 'filterOperator=': '=',
|
|
70
|
+
// 'filterOperator!=': '!=',
|
|
71
|
+
// 'filterOperator>': '>',
|
|
72
|
+
// 'filterOperator>=': '>=',
|
|
73
|
+
// 'filterOperator<': '<',
|
|
74
|
+
// 'filterOperator<=': '<=',
|
|
75
|
+
|
|
76
|
+
// Header filter operators text
|
|
77
|
+
// headerFilterOperatorContains: 'Contains',
|
|
78
|
+
// headerFilterOperatorEquals: 'Equals',
|
|
79
|
+
// headerFilterOperatorStartsWith: 'Starts with',
|
|
80
|
+
// headerFilterOperatorEndsWith: 'Ends with',
|
|
81
|
+
// headerFilterOperatorIs: 'Is',
|
|
82
|
+
// headerFilterOperatorNot: 'Is not',
|
|
83
|
+
// headerFilterOperatorAfter: 'Is after',
|
|
84
|
+
// headerFilterOperatorOnOrAfter: 'Is on or after',
|
|
85
|
+
// headerFilterOperatorBefore: 'Is before',
|
|
86
|
+
// headerFilterOperatorOnOrBefore: 'Is on or before',
|
|
87
|
+
// headerFilterOperatorIsEmpty: 'Is empty',
|
|
88
|
+
// headerFilterOperatorIsNotEmpty: 'Is not empty',
|
|
89
|
+
// headerFilterOperatorIsAnyOf: 'Is any of',
|
|
90
|
+
// 'headerFilterOperator=': 'Equals',
|
|
91
|
+
// 'headerFilterOperator!=': 'Not equals',
|
|
92
|
+
// 'headerFilterOperator>': 'Is greater than',
|
|
93
|
+
// 'headerFilterOperator>=': 'Is greater than or equal to',
|
|
94
|
+
// 'headerFilterOperator<': 'Is less than',
|
|
95
|
+
// 'headerFilterOperator<=': 'Is less than or equal to',
|
|
96
|
+
|
|
69
97
|
// Filter values text
|
|
70
98
|
filterValueAny: 'mikä tahansa',
|
|
71
99
|
filterValueTrue: 'tosi',
|