@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
package/locales/ptBR.js
CHANGED
|
@@ -60,6 +60,34 @@ const ptBRGrid = {
|
|
|
60
60
|
filterOperatorIsEmpty: 'está vazio',
|
|
61
61
|
filterOperatorIsNotEmpty: 'não está vazio',
|
|
62
62
|
filterOperatorIsAnyOf: 'é qualquer um dos',
|
|
63
|
+
// 'filterOperator=': '=',
|
|
64
|
+
// 'filterOperator!=': '!=',
|
|
65
|
+
// 'filterOperator>': '>',
|
|
66
|
+
// 'filterOperator>=': '>=',
|
|
67
|
+
// 'filterOperator<': '<',
|
|
68
|
+
// 'filterOperator<=': '<=',
|
|
69
|
+
|
|
70
|
+
// Header filter operators text
|
|
71
|
+
// headerFilterOperatorContains: 'Contains',
|
|
72
|
+
// headerFilterOperatorEquals: 'Equals',
|
|
73
|
+
// headerFilterOperatorStartsWith: 'Starts with',
|
|
74
|
+
// headerFilterOperatorEndsWith: 'Ends with',
|
|
75
|
+
// headerFilterOperatorIs: 'Is',
|
|
76
|
+
// headerFilterOperatorNot: 'Is not',
|
|
77
|
+
// headerFilterOperatorAfter: 'Is after',
|
|
78
|
+
// headerFilterOperatorOnOrAfter: 'Is on or after',
|
|
79
|
+
// headerFilterOperatorBefore: 'Is before',
|
|
80
|
+
// headerFilterOperatorOnOrBefore: 'Is on or before',
|
|
81
|
+
// headerFilterOperatorIsEmpty: 'Is empty',
|
|
82
|
+
// headerFilterOperatorIsNotEmpty: 'Is not empty',
|
|
83
|
+
// headerFilterOperatorIsAnyOf: 'Is any of',
|
|
84
|
+
// 'headerFilterOperator=': 'Equals',
|
|
85
|
+
// 'headerFilterOperator!=': 'Not equals',
|
|
86
|
+
// 'headerFilterOperator>': 'Is greater than',
|
|
87
|
+
// 'headerFilterOperator>=': 'Is greater than or equal to',
|
|
88
|
+
// 'headerFilterOperator<': 'Is less than',
|
|
89
|
+
// 'headerFilterOperator<=': 'Is less than or equal to',
|
|
90
|
+
|
|
63
91
|
// Filter values text
|
|
64
92
|
filterValueAny: 'qualquer',
|
|
65
93
|
filterValueTrue: 'verdadeiro',
|
package/locales/roRO.js
CHANGED
|
@@ -60,6 +60,34 @@ const roROGrid = {
|
|
|
60
60
|
filterOperatorIsEmpty: 'este gol',
|
|
61
61
|
filterOperatorIsNotEmpty: 'nu este gol',
|
|
62
62
|
filterOperatorIsAnyOf: 'este una din valori',
|
|
63
|
+
// 'filterOperator=': '=',
|
|
64
|
+
// 'filterOperator!=': '!=',
|
|
65
|
+
// 'filterOperator>': '>',
|
|
66
|
+
// 'filterOperator>=': '>=',
|
|
67
|
+
// 'filterOperator<': '<',
|
|
68
|
+
// 'filterOperator<=': '<=',
|
|
69
|
+
|
|
70
|
+
// Header filter operators text
|
|
71
|
+
// headerFilterOperatorContains: 'Contains',
|
|
72
|
+
// headerFilterOperatorEquals: 'Equals',
|
|
73
|
+
// headerFilterOperatorStartsWith: 'Starts with',
|
|
74
|
+
// headerFilterOperatorEndsWith: 'Ends with',
|
|
75
|
+
// headerFilterOperatorIs: 'Is',
|
|
76
|
+
// headerFilterOperatorNot: 'Is not',
|
|
77
|
+
// headerFilterOperatorAfter: 'Is after',
|
|
78
|
+
// headerFilterOperatorOnOrAfter: 'Is on or after',
|
|
79
|
+
// headerFilterOperatorBefore: 'Is before',
|
|
80
|
+
// headerFilterOperatorOnOrBefore: 'Is on or before',
|
|
81
|
+
// headerFilterOperatorIsEmpty: 'Is empty',
|
|
82
|
+
// headerFilterOperatorIsNotEmpty: 'Is not empty',
|
|
83
|
+
// headerFilterOperatorIsAnyOf: 'Is any of',
|
|
84
|
+
// 'headerFilterOperator=': 'Equals',
|
|
85
|
+
// 'headerFilterOperator!=': 'Not equals',
|
|
86
|
+
// 'headerFilterOperator>': 'Is greater than',
|
|
87
|
+
// 'headerFilterOperator>=': 'Is greater than or equal to',
|
|
88
|
+
// 'headerFilterOperator<': 'Is less than',
|
|
89
|
+
// 'headerFilterOperator<=': 'Is less than or equal to',
|
|
90
|
+
|
|
63
91
|
// Filter values text
|
|
64
92
|
filterValueAny: 'Aleatoriu',
|
|
65
93
|
filterValueTrue: 'Da',
|
package/locales/ruRU.js
CHANGED
|
@@ -69,6 +69,34 @@ const ruRUGrid = {
|
|
|
69
69
|
filterOperatorIsEmpty: 'пустой',
|
|
70
70
|
filterOperatorIsNotEmpty: 'не пустой',
|
|
71
71
|
filterOperatorIsAnyOf: 'любой из',
|
|
72
|
+
// 'filterOperator=': '=',
|
|
73
|
+
// 'filterOperator!=': '!=',
|
|
74
|
+
// 'filterOperator>': '>',
|
|
75
|
+
// 'filterOperator>=': '>=',
|
|
76
|
+
// 'filterOperator<': '<',
|
|
77
|
+
// 'filterOperator<=': '<=',
|
|
78
|
+
|
|
79
|
+
// Header filter operators text
|
|
80
|
+
// headerFilterOperatorContains: 'Contains',
|
|
81
|
+
// headerFilterOperatorEquals: 'Equals',
|
|
82
|
+
// headerFilterOperatorStartsWith: 'Starts with',
|
|
83
|
+
// headerFilterOperatorEndsWith: 'Ends with',
|
|
84
|
+
// headerFilterOperatorIs: 'Is',
|
|
85
|
+
// headerFilterOperatorNot: 'Is not',
|
|
86
|
+
// headerFilterOperatorAfter: 'Is after',
|
|
87
|
+
// headerFilterOperatorOnOrAfter: 'Is on or after',
|
|
88
|
+
// headerFilterOperatorBefore: 'Is before',
|
|
89
|
+
// headerFilterOperatorOnOrBefore: 'Is on or before',
|
|
90
|
+
// headerFilterOperatorIsEmpty: 'Is empty',
|
|
91
|
+
// headerFilterOperatorIsNotEmpty: 'Is not empty',
|
|
92
|
+
// headerFilterOperatorIsAnyOf: 'Is any of',
|
|
93
|
+
// 'headerFilterOperator=': 'Equals',
|
|
94
|
+
// 'headerFilterOperator!=': 'Not equals',
|
|
95
|
+
// 'headerFilterOperator>': 'Is greater than',
|
|
96
|
+
// 'headerFilterOperator>=': 'Is greater than or equal to',
|
|
97
|
+
// 'headerFilterOperator<': 'Is less than',
|
|
98
|
+
// 'headerFilterOperator<=': 'Is less than or equal to',
|
|
99
|
+
|
|
72
100
|
// Filter values text
|
|
73
101
|
filterValueAny: 'любой',
|
|
74
102
|
filterValueTrue: 'истина',
|
package/locales/skSK.js
CHANGED
|
@@ -68,6 +68,34 @@ const skSKGrid = {
|
|
|
68
68
|
filterOperatorIsEmpty: 'je prázdny',
|
|
69
69
|
filterOperatorIsNotEmpty: 'nie je prázdny',
|
|
70
70
|
filterOperatorIsAnyOf: 'je jeden z',
|
|
71
|
+
// 'filterOperator=': '=',
|
|
72
|
+
// 'filterOperator!=': '!=',
|
|
73
|
+
// 'filterOperator>': '>',
|
|
74
|
+
// 'filterOperator>=': '>=',
|
|
75
|
+
// 'filterOperator<': '<',
|
|
76
|
+
// 'filterOperator<=': '<=',
|
|
77
|
+
|
|
78
|
+
// Header filter operators text
|
|
79
|
+
// headerFilterOperatorContains: 'Contains',
|
|
80
|
+
// headerFilterOperatorEquals: 'Equals',
|
|
81
|
+
// headerFilterOperatorStartsWith: 'Starts with',
|
|
82
|
+
// headerFilterOperatorEndsWith: 'Ends with',
|
|
83
|
+
// headerFilterOperatorIs: 'Is',
|
|
84
|
+
// headerFilterOperatorNot: 'Is not',
|
|
85
|
+
// headerFilterOperatorAfter: 'Is after',
|
|
86
|
+
// headerFilterOperatorOnOrAfter: 'Is on or after',
|
|
87
|
+
// headerFilterOperatorBefore: 'Is before',
|
|
88
|
+
// headerFilterOperatorOnOrBefore: 'Is on or before',
|
|
89
|
+
// headerFilterOperatorIsEmpty: 'Is empty',
|
|
90
|
+
// headerFilterOperatorIsNotEmpty: 'Is not empty',
|
|
91
|
+
// headerFilterOperatorIsAnyOf: 'Is any of',
|
|
92
|
+
// 'headerFilterOperator=': 'Equals',
|
|
93
|
+
// 'headerFilterOperator!=': 'Not equals',
|
|
94
|
+
// 'headerFilterOperator>': 'Is greater than',
|
|
95
|
+
// 'headerFilterOperator>=': 'Is greater than or equal to',
|
|
96
|
+
// 'headerFilterOperator<': 'Is less than',
|
|
97
|
+
// 'headerFilterOperator<=': 'Is less than or equal to',
|
|
98
|
+
|
|
71
99
|
// Filter values text
|
|
72
100
|
filterValueAny: 'akýkoľvek',
|
|
73
101
|
filterValueTrue: 'áno',
|
package/locales/svSE.js
CHANGED
|
@@ -60,6 +60,34 @@ const svSEGrid = {
|
|
|
60
60
|
filterOperatorIsEmpty: 'är tom',
|
|
61
61
|
filterOperatorIsNotEmpty: 'är inte tom',
|
|
62
62
|
filterOperatorIsAnyOf: 'är någon av',
|
|
63
|
+
// 'filterOperator=': '=',
|
|
64
|
+
// 'filterOperator!=': '!=',
|
|
65
|
+
// 'filterOperator>': '>',
|
|
66
|
+
// 'filterOperator>=': '>=',
|
|
67
|
+
// 'filterOperator<': '<',
|
|
68
|
+
// 'filterOperator<=': '<=',
|
|
69
|
+
|
|
70
|
+
// Header filter operators text
|
|
71
|
+
// headerFilterOperatorContains: 'Contains',
|
|
72
|
+
// headerFilterOperatorEquals: 'Equals',
|
|
73
|
+
// headerFilterOperatorStartsWith: 'Starts with',
|
|
74
|
+
// headerFilterOperatorEndsWith: 'Ends with',
|
|
75
|
+
// headerFilterOperatorIs: 'Is',
|
|
76
|
+
// headerFilterOperatorNot: 'Is not',
|
|
77
|
+
// headerFilterOperatorAfter: 'Is after',
|
|
78
|
+
// headerFilterOperatorOnOrAfter: 'Is on or after',
|
|
79
|
+
// headerFilterOperatorBefore: 'Is before',
|
|
80
|
+
// headerFilterOperatorOnOrBefore: 'Is on or before',
|
|
81
|
+
// headerFilterOperatorIsEmpty: 'Is empty',
|
|
82
|
+
// headerFilterOperatorIsNotEmpty: 'Is not empty',
|
|
83
|
+
// headerFilterOperatorIsAnyOf: 'Is any of',
|
|
84
|
+
// 'headerFilterOperator=': 'Equals',
|
|
85
|
+
// 'headerFilterOperator!=': 'Not equals',
|
|
86
|
+
// 'headerFilterOperator>': 'Is greater than',
|
|
87
|
+
// 'headerFilterOperator>=': 'Is greater than or equal to',
|
|
88
|
+
// 'headerFilterOperator<': 'Is less than',
|
|
89
|
+
// 'headerFilterOperator<=': 'Is less than or equal to',
|
|
90
|
+
|
|
63
91
|
// Filter values text
|
|
64
92
|
filterValueAny: 'något',
|
|
65
93
|
filterValueTrue: 'sant',
|
package/locales/trTR.js
CHANGED
|
@@ -60,6 +60,34 @@ const trTRGrid = {
|
|
|
60
60
|
filterOperatorIsEmpty: 'boş',
|
|
61
61
|
filterOperatorIsNotEmpty: 'dolu',
|
|
62
62
|
filterOperatorIsAnyOf: 'herhangi biri',
|
|
63
|
+
// 'filterOperator=': '=',
|
|
64
|
+
// 'filterOperator!=': '!=',
|
|
65
|
+
// 'filterOperator>': '>',
|
|
66
|
+
// 'filterOperator>=': '>=',
|
|
67
|
+
// 'filterOperator<': '<',
|
|
68
|
+
// 'filterOperator<=': '<=',
|
|
69
|
+
|
|
70
|
+
// Header filter operators text
|
|
71
|
+
// headerFilterOperatorContains: 'Contains',
|
|
72
|
+
// headerFilterOperatorEquals: 'Equals',
|
|
73
|
+
// headerFilterOperatorStartsWith: 'Starts with',
|
|
74
|
+
// headerFilterOperatorEndsWith: 'Ends with',
|
|
75
|
+
// headerFilterOperatorIs: 'Is',
|
|
76
|
+
// headerFilterOperatorNot: 'Is not',
|
|
77
|
+
// headerFilterOperatorAfter: 'Is after',
|
|
78
|
+
// headerFilterOperatorOnOrAfter: 'Is on or after',
|
|
79
|
+
// headerFilterOperatorBefore: 'Is before',
|
|
80
|
+
// headerFilterOperatorOnOrBefore: 'Is on or before',
|
|
81
|
+
// headerFilterOperatorIsEmpty: 'Is empty',
|
|
82
|
+
// headerFilterOperatorIsNotEmpty: 'Is not empty',
|
|
83
|
+
// headerFilterOperatorIsAnyOf: 'Is any of',
|
|
84
|
+
// 'headerFilterOperator=': 'Equals',
|
|
85
|
+
// 'headerFilterOperator!=': 'Not equals',
|
|
86
|
+
// 'headerFilterOperator>': 'Is greater than',
|
|
87
|
+
// 'headerFilterOperator>=': 'Is greater than or equal to',
|
|
88
|
+
// 'headerFilterOperator<': 'Is less than',
|
|
89
|
+
// 'headerFilterOperator<=': 'Is less than or equal to',
|
|
90
|
+
|
|
63
91
|
// Filter values text
|
|
64
92
|
filterValueAny: 'herhangi',
|
|
65
93
|
filterValueTrue: 'doğru',
|
package/locales/ukUA.js
CHANGED
|
@@ -74,6 +74,34 @@ const ukUAGrid = {
|
|
|
74
74
|
filterOperatorIsEmpty: 'порожній',
|
|
75
75
|
filterOperatorIsNotEmpty: 'не порожній',
|
|
76
76
|
filterOperatorIsAnyOf: 'будь-що із',
|
|
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: 'будь-який',
|
|
79
107
|
filterValueTrue: 'так',
|
package/locales/urPK.js
CHANGED
|
@@ -60,6 +60,34 @@ const urPKGrid = {
|
|
|
60
60
|
filterOperatorIsEmpty: 'خالی ہے',
|
|
61
61
|
filterOperatorIsNotEmpty: 'خالی نہیں ہے',
|
|
62
62
|
filterOperatorIsAnyOf: 'ان میں سے کوئی ہے',
|
|
63
|
+
// 'filterOperator=': '=',
|
|
64
|
+
// 'filterOperator!=': '!=',
|
|
65
|
+
// 'filterOperator>': '>',
|
|
66
|
+
// 'filterOperator>=': '>=',
|
|
67
|
+
// 'filterOperator<': '<',
|
|
68
|
+
// 'filterOperator<=': '<=',
|
|
69
|
+
|
|
70
|
+
// Header filter operators text
|
|
71
|
+
// headerFilterOperatorContains: 'Contains',
|
|
72
|
+
// headerFilterOperatorEquals: 'Equals',
|
|
73
|
+
// headerFilterOperatorStartsWith: 'Starts with',
|
|
74
|
+
// headerFilterOperatorEndsWith: 'Ends with',
|
|
75
|
+
// headerFilterOperatorIs: 'Is',
|
|
76
|
+
// headerFilterOperatorNot: 'Is not',
|
|
77
|
+
// headerFilterOperatorAfter: 'Is after',
|
|
78
|
+
// headerFilterOperatorOnOrAfter: 'Is on or after',
|
|
79
|
+
// headerFilterOperatorBefore: 'Is before',
|
|
80
|
+
// headerFilterOperatorOnOrBefore: 'Is on or before',
|
|
81
|
+
// headerFilterOperatorIsEmpty: 'Is empty',
|
|
82
|
+
// headerFilterOperatorIsNotEmpty: 'Is not empty',
|
|
83
|
+
// headerFilterOperatorIsAnyOf: 'Is any of',
|
|
84
|
+
// 'headerFilterOperator=': 'Equals',
|
|
85
|
+
// 'headerFilterOperator!=': 'Not equals',
|
|
86
|
+
// 'headerFilterOperator>': 'Is greater than',
|
|
87
|
+
// 'headerFilterOperator>=': 'Is greater than or equal to',
|
|
88
|
+
// 'headerFilterOperator<': 'Is less than',
|
|
89
|
+
// 'headerFilterOperator<=': 'Is less than or equal to',
|
|
90
|
+
|
|
63
91
|
// Filter values text
|
|
64
92
|
filterValueAny: 'کوئی بھی',
|
|
65
93
|
filterValueTrue: 'صحیح',
|
package/locales/viVN.js
CHANGED
|
@@ -60,6 +60,33 @@ const viVNGrid = {
|
|
|
60
60
|
filterOperatorIsEmpty: 'Rỗng',
|
|
61
61
|
filterOperatorIsNotEmpty: 'Khác rỗng',
|
|
62
62
|
// filterOperatorIsAnyOf: 'is any of',
|
|
63
|
+
// 'filterOperator=': '=',
|
|
64
|
+
// 'filterOperator!=': '!=',
|
|
65
|
+
// 'filterOperator>': '>',
|
|
66
|
+
// 'filterOperator>=': '>=',
|
|
67
|
+
// 'filterOperator<': '<',
|
|
68
|
+
// 'filterOperator<=': '<=',
|
|
69
|
+
|
|
70
|
+
// Header filter operators text
|
|
71
|
+
// headerFilterOperatorContains: 'Contains',
|
|
72
|
+
// headerFilterOperatorEquals: 'Equals',
|
|
73
|
+
// headerFilterOperatorStartsWith: 'Starts with',
|
|
74
|
+
// headerFilterOperatorEndsWith: 'Ends with',
|
|
75
|
+
// headerFilterOperatorIs: 'Is',
|
|
76
|
+
// headerFilterOperatorNot: 'Is not',
|
|
77
|
+
// headerFilterOperatorAfter: 'Is after',
|
|
78
|
+
// headerFilterOperatorOnOrAfter: 'Is on or after',
|
|
79
|
+
// headerFilterOperatorBefore: 'Is before',
|
|
80
|
+
// headerFilterOperatorOnOrBefore: 'Is on or before',
|
|
81
|
+
// headerFilterOperatorIsEmpty: 'Is empty',
|
|
82
|
+
// headerFilterOperatorIsNotEmpty: 'Is not empty',
|
|
83
|
+
// headerFilterOperatorIsAnyOf: 'Is any of',
|
|
84
|
+
// 'headerFilterOperator=': 'Equals',
|
|
85
|
+
// 'headerFilterOperator!=': 'Not equals',
|
|
86
|
+
// 'headerFilterOperator>': 'Is greater than',
|
|
87
|
+
// 'headerFilterOperator>=': 'Is greater than or equal to',
|
|
88
|
+
// 'headerFilterOperator<': 'Is less than',
|
|
89
|
+
// 'headerFilterOperator<=': 'Is less than or equal to',
|
|
63
90
|
|
|
64
91
|
// Filter values text
|
|
65
92
|
filterValueAny: 'bất kỳ giá trị nào',
|
package/locales/zhCN.js
CHANGED
|
@@ -60,6 +60,34 @@ const zhCNGrid = {
|
|
|
60
60
|
filterOperatorIsEmpty: '为空',
|
|
61
61
|
filterOperatorIsNotEmpty: '不为空',
|
|
62
62
|
filterOperatorIsAnyOf: '属于',
|
|
63
|
+
// 'filterOperator=': '=',
|
|
64
|
+
// 'filterOperator!=': '!=',
|
|
65
|
+
// 'filterOperator>': '>',
|
|
66
|
+
// 'filterOperator>=': '>=',
|
|
67
|
+
// 'filterOperator<': '<',
|
|
68
|
+
// 'filterOperator<=': '<=',
|
|
69
|
+
|
|
70
|
+
// Header filter operators text
|
|
71
|
+
// headerFilterOperatorContains: 'Contains',
|
|
72
|
+
// headerFilterOperatorEquals: 'Equals',
|
|
73
|
+
// headerFilterOperatorStartsWith: 'Starts with',
|
|
74
|
+
// headerFilterOperatorEndsWith: 'Ends with',
|
|
75
|
+
// headerFilterOperatorIs: 'Is',
|
|
76
|
+
// headerFilterOperatorNot: 'Is not',
|
|
77
|
+
// headerFilterOperatorAfter: 'Is after',
|
|
78
|
+
// headerFilterOperatorOnOrAfter: 'Is on or after',
|
|
79
|
+
// headerFilterOperatorBefore: 'Is before',
|
|
80
|
+
// headerFilterOperatorOnOrBefore: 'Is on or before',
|
|
81
|
+
// headerFilterOperatorIsEmpty: 'Is empty',
|
|
82
|
+
// headerFilterOperatorIsNotEmpty: 'Is not empty',
|
|
83
|
+
// headerFilterOperatorIsAnyOf: 'Is any of',
|
|
84
|
+
// 'headerFilterOperator=': 'Equals',
|
|
85
|
+
// 'headerFilterOperator!=': 'Not equals',
|
|
86
|
+
// 'headerFilterOperator>': 'Is greater than',
|
|
87
|
+
// 'headerFilterOperator>=': 'Is greater than or equal to',
|
|
88
|
+
// 'headerFilterOperator<': 'Is less than',
|
|
89
|
+
// 'headerFilterOperator<=': 'Is less than or equal to',
|
|
90
|
+
|
|
63
91
|
// Filter values text
|
|
64
92
|
filterValueAny: '任何',
|
|
65
93
|
filterValueTrue: '真',
|
package/locales/zhTW.js
CHANGED
|
@@ -60,6 +60,34 @@ const zhTWGrid = {
|
|
|
60
60
|
filterOperatorIsEmpty: '為空',
|
|
61
61
|
filterOperatorIsNotEmpty: '不為空',
|
|
62
62
|
filterOperatorIsAnyOf: '是其中之一',
|
|
63
|
+
// 'filterOperator=': '=',
|
|
64
|
+
// 'filterOperator!=': '!=',
|
|
65
|
+
// 'filterOperator>': '>',
|
|
66
|
+
// 'filterOperator>=': '>=',
|
|
67
|
+
// 'filterOperator<': '<',
|
|
68
|
+
// 'filterOperator<=': '<=',
|
|
69
|
+
|
|
70
|
+
// Header filter operators text
|
|
71
|
+
// headerFilterOperatorContains: 'Contains',
|
|
72
|
+
// headerFilterOperatorEquals: 'Equals',
|
|
73
|
+
// headerFilterOperatorStartsWith: 'Starts with',
|
|
74
|
+
// headerFilterOperatorEndsWith: 'Ends with',
|
|
75
|
+
// headerFilterOperatorIs: 'Is',
|
|
76
|
+
// headerFilterOperatorNot: 'Is not',
|
|
77
|
+
// headerFilterOperatorAfter: 'Is after',
|
|
78
|
+
// headerFilterOperatorOnOrAfter: 'Is on or after',
|
|
79
|
+
// headerFilterOperatorBefore: 'Is before',
|
|
80
|
+
// headerFilterOperatorOnOrBefore: 'Is on or before',
|
|
81
|
+
// headerFilterOperatorIsEmpty: 'Is empty',
|
|
82
|
+
// headerFilterOperatorIsNotEmpty: 'Is not empty',
|
|
83
|
+
// headerFilterOperatorIsAnyOf: 'Is any of',
|
|
84
|
+
// 'headerFilterOperator=': 'Equals',
|
|
85
|
+
// 'headerFilterOperator!=': 'Not equals',
|
|
86
|
+
// 'headerFilterOperator>': 'Is greater than',
|
|
87
|
+
// 'headerFilterOperator>=': 'Is greater than or equal to',
|
|
88
|
+
// 'headerFilterOperator<': 'Is less than',
|
|
89
|
+
// 'headerFilterOperator<=': 'Is less than or equal to',
|
|
90
|
+
|
|
63
91
|
// Filter values text
|
|
64
92
|
filterValueAny: '任何值',
|
|
65
93
|
filterValueTrue: '真',
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import type { GridSlotsComponentsProps } from '../../models/gridSlotsComponentsProps';
|
|
3
|
-
export default function MUISelectOption({ native, ...props }: NonNullable<GridSlotsComponentsProps['baseSelectOption']>): JSX.Element;
|
|
3
|
+
export default function MUISelectOption({ native, ...props }: NonNullable<GridSlotsComponentsProps['baseSelectOption']>): React.JSX.Element;
|
package/material/index.d.ts
CHANGED
|
@@ -1,67 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
import MUISwitch from '@mui/material/Switch';
|
|
5
|
-
import MUITooltip from '@mui/material/Tooltip';
|
|
6
|
-
import MUISelectOption from './components/MUISelectOption';
|
|
7
|
-
declare const materialSlots: {
|
|
8
|
-
BaseCheckbox: typeof MUICheckbox;
|
|
9
|
-
BaseTextField: typeof MUITextField;
|
|
10
|
-
BaseFormControl: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/FormControl").FormControlTypeMap<{}, "div">>;
|
|
11
|
-
BaseSelect: (<T>(props: import("@mui/material/Select").SelectProps<T>) => JSX.Element) & {
|
|
12
|
-
muiName: string;
|
|
13
|
-
};
|
|
14
|
-
BaseSwitch: typeof MUISwitch;
|
|
15
|
-
BaseButton: import("@mui/material").ExtendButtonBase<import("@mui/material/Button").ButtonTypeMap<{}, "button">>;
|
|
16
|
-
BaseIconButton: import("@mui/material").ExtendButtonBase<import("@mui/material/IconButton").IconButtonTypeMap<{}, "button">>;
|
|
17
|
-
BaseTooltip: typeof MUITooltip;
|
|
18
|
-
BasePopper: import("react").ForwardRefExoticComponent<Omit<import("@mui/base").PopperProps<"div">, "direction"> & {
|
|
19
|
-
component?: import("react").ElementType<any> | undefined;
|
|
20
|
-
components?: {
|
|
21
|
-
Root?: import("react").ElementType<any> | undefined;
|
|
22
|
-
} | undefined;
|
|
23
|
-
componentsProps?: {
|
|
24
|
-
root?: import("@mui/base").SlotComponentProps<"div", import("@mui/base").PopperRootSlotPropsOverrides, import("@mui/base").PopperOwnProps> | undefined;
|
|
25
|
-
} | undefined;
|
|
26
|
-
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
27
|
-
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
28
|
-
BaseInputLabel: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/InputLabel").InputLabelTypeMap<{}, "label">>;
|
|
29
|
-
BaseSelectOption: typeof MUISelectOption;
|
|
30
|
-
BaseChip: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/Chip").ChipTypeMap<{}, "div">>;
|
|
31
|
-
BooleanCellTrueIcon: import("react").JSXElementConstructor<any>;
|
|
32
|
-
BooleanCellFalseIcon: import("react").JSXElementConstructor<any>;
|
|
33
|
-
ColumnMenuIcon: import("react").JSXElementConstructor<any>;
|
|
34
|
-
OpenFilterButtonIcon: import("react").JSXElementConstructor<any>;
|
|
35
|
-
ColumnFilteredIcon: import("react").JSXElementConstructor<any>;
|
|
36
|
-
ColumnSelectorIcon: import("react").JSXElementConstructor<any>;
|
|
37
|
-
ColumnUnsortedIcon: import("react").JSXElementConstructor<any> | null;
|
|
38
|
-
ColumnSortedAscendingIcon: import("react").JSXElementConstructor<any> | null;
|
|
39
|
-
ColumnSortedDescendingIcon: import("react").JSXElementConstructor<any> | null;
|
|
40
|
-
ColumnResizeIcon: import("react").JSXElementConstructor<any>;
|
|
41
|
-
DensityCompactIcon: import("react").JSXElementConstructor<any>;
|
|
42
|
-
DensityStandardIcon: import("react").JSXElementConstructor<any>;
|
|
43
|
-
DensityComfortableIcon: import("react").JSXElementConstructor<any>;
|
|
44
|
-
ExportIcon: import("react").JSXElementConstructor<any>;
|
|
45
|
-
MoreActionsIcon: import("react").JSXElementConstructor<any>;
|
|
46
|
-
TreeDataExpandIcon: import("react").JSXElementConstructor<any>;
|
|
47
|
-
TreeDataCollapseIcon: import("react").JSXElementConstructor<any>;
|
|
48
|
-
GroupingCriteriaExpandIcon: import("react").JSXElementConstructor<any>;
|
|
49
|
-
GroupingCriteriaCollapseIcon: import("react").JSXElementConstructor<any>;
|
|
50
|
-
DetailPanelExpandIcon: import("react").JSXElementConstructor<any>;
|
|
51
|
-
DetailPanelCollapseIcon: import("react").JSXElementConstructor<any>;
|
|
52
|
-
FilterPanelAddIcon: import("react").JSXElementConstructor<any>;
|
|
53
|
-
FilterPanelDeleteIcon: import("react").JSXElementConstructor<any>;
|
|
54
|
-
FilterPanelRemoveAllIcon: import("react").JSXElementConstructor<any>;
|
|
55
|
-
RowReorderIcon: import("react").JSXElementConstructor<any>;
|
|
56
|
-
QuickFilterIcon: import("react").JSXElementConstructor<any>;
|
|
57
|
-
QuickFilterClearIcon: import("react").JSXElementConstructor<any>;
|
|
58
|
-
ColumnMenuHideIcon: import("react").JSXElementConstructor<any>;
|
|
59
|
-
ColumnMenuSortAscendingIcon: import("react").JSXElementConstructor<any>;
|
|
60
|
-
ColumnMenuSortDescendingIcon: import("react").JSXElementConstructor<any>;
|
|
61
|
-
ColumnMenuFilterIcon: import("react").JSXElementConstructor<any>;
|
|
62
|
-
ColumnMenuManageColumnsIcon: import("react").JSXElementConstructor<any>;
|
|
63
|
-
ColumnMenuClearIcon: import("react").JSXElementConstructor<any>;
|
|
64
|
-
LoadIcon: import("react").JSXElementConstructor<any>;
|
|
65
|
-
ColumnReorderIcon: import("react").JSXElementConstructor<any>;
|
|
66
|
-
};
|
|
1
|
+
import type { GridIconSlotsComponent } from '../models';
|
|
2
|
+
import type { GridBaseSlots } from '../models/gridSlotsComponent';
|
|
3
|
+
declare const materialSlots: GridBaseSlots & GridIconSlotsComponent;
|
|
67
4
|
export default materialSlots;
|
package/material/index.js
CHANGED
|
@@ -6,6 +6,7 @@ import MUISelect from '@mui/material/Select';
|
|
|
6
6
|
import MUISwitch from '@mui/material/Switch';
|
|
7
7
|
import MUIButton from '@mui/material/Button';
|
|
8
8
|
import MUIIconButton from '@mui/material/IconButton';
|
|
9
|
+
import MUIInputAdornment from '@mui/material/InputAdornment';
|
|
9
10
|
import MUITooltip from '@mui/material/Tooltip';
|
|
10
11
|
import MUIPopper from '@mui/material/Popper';
|
|
11
12
|
import MUIInputLabel from '@mui/material/InputLabel';
|
|
@@ -58,6 +59,7 @@ const materialSlots = _extends({}, iconSlots, {
|
|
|
58
59
|
BaseSwitch: MUISwitch,
|
|
59
60
|
BaseButton: MUIButton,
|
|
60
61
|
BaseIconButton: MUIIconButton,
|
|
62
|
+
BaseInputAdornment: MUIInputAdornment,
|
|
61
63
|
BaseTooltip: MUITooltip,
|
|
62
64
|
BasePopper: MUIPopper,
|
|
63
65
|
BaseInputLabel: MUIInputLabel,
|
|
@@ -27,9 +27,10 @@ import type { GridPaginationApi } from '../../hooks/features/pagination';
|
|
|
27
27
|
import type { GridStatePersistenceApi } from '../../hooks/features/statePersistence';
|
|
28
28
|
import { GridColumnGroupingApi } from './gridColumnGroupingApi';
|
|
29
29
|
import type { GridInitialStateCommunity, GridStateCommunity } from '../gridStateCommunity';
|
|
30
|
-
|
|
30
|
+
import { GridHeaderFilteringApi, GridHeaderFilteringPrivateApi } from './gridHeaderFilteringApi';
|
|
31
|
+
export interface GridApiCommon<GridState extends GridStateCommunity = any, GridInitialState extends GridInitialStateCommunity = any> extends GridCoreApi, GridPipeProcessingApi, GridDensityApi, GridDimensionsApi, GridRowApi, GridRowsMetaApi, GridEditingApi, GridParamsApi, GridColumnApi, GridRowSelectionApi, GridSortApi, GridPaginationApi, GridCsvExportApi, GridFocusApi, GridFilterApi, GridColumnMenuApi, GridPreferencesPanelApi, GridPrintExportApi, GridDisableVirtualizationApi, GridLocaleTextApi, GridScrollApi, GridColumnSpanningApi, GridStateApi<GridState>, GridStatePersistenceApi<GridInitialState>, GridColumnGroupingApi, GridHeaderFilteringApi {
|
|
31
32
|
}
|
|
32
|
-
export interface GridPrivateOnlyApiCommon<Api extends GridApiCommon, PrivateApi extends GridPrivateApiCommon> extends GridCorePrivateApi<Api, PrivateApi>, GridStatePrivateApi<PrivateApi['state']>, GridPipeProcessingPrivateApi, GridStrategyProcessingApi, GridColumnSpanningPrivateApi, GridRowsMetaPrivateApi, GridDimensionsPrivateApi, GridVirtualScrollerApi, GridEditingPrivateApi, GridLoggerApi, GridFocusPrivateApi {
|
|
33
|
+
export interface GridPrivateOnlyApiCommon<Api extends GridApiCommon, PrivateApi extends GridPrivateApiCommon> extends GridCorePrivateApi<Api, PrivateApi>, GridStatePrivateApi<PrivateApi['state']>, GridPipeProcessingPrivateApi, GridStrategyProcessingApi, GridColumnSpanningPrivateApi, GridRowsMetaPrivateApi, GridDimensionsPrivateApi, GridVirtualScrollerApi, GridEditingPrivateApi, GridLoggerApi, GridFocusPrivateApi, GridHeaderFilteringPrivateApi {
|
|
33
34
|
}
|
|
34
35
|
export interface GridPrivateApiCommon extends GridApiCommon, GridPrivateOnlyApiCommon<GridApiCommon, GridPrivateApiCommon> {
|
|
35
36
|
}
|
|
@@ -69,6 +69,10 @@ export interface GridCorePrivateApi<GridPublicApi extends GridApiCommon, GridPri
|
|
|
69
69
|
* The React ref of the grid column container virtualized div element.
|
|
70
70
|
*/
|
|
71
71
|
columnHeadersContainerElementRef?: React.RefObject<HTMLDivElement>;
|
|
72
|
+
/**
|
|
73
|
+
* The React ref of the grid header filter row element.
|
|
74
|
+
*/
|
|
75
|
+
headerFiltersElementRef?: React.RefObject<HTMLDivElement>;
|
|
72
76
|
/**
|
|
73
77
|
* The React ref of the grid column headers container element.
|
|
74
78
|
*/
|
|
@@ -8,8 +8,10 @@ export interface GridFilterApi {
|
|
|
8
8
|
/**
|
|
9
9
|
* Shows the filter panel. If `targetColumnField` is given, a filter for this field is also added.
|
|
10
10
|
* @param {string} targetColumnField The column field to add a filter.
|
|
11
|
+
* @param {string} panelId The unique panel id
|
|
12
|
+
* @param {string} labelId The unique button id
|
|
11
13
|
*/
|
|
12
|
-
showFilterPanel: (targetColumnField?: string) => void;
|
|
14
|
+
showFilterPanel: (targetColumnField?: string, panelId?: string, labelId?: string) => void;
|
|
13
15
|
/**
|
|
14
16
|
* Hides the filter panel.
|
|
15
17
|
*/
|
|
@@ -14,6 +14,12 @@ export interface GridFocusApi {
|
|
|
14
14
|
* @param {string} event The event that triggers the action.
|
|
15
15
|
*/
|
|
16
16
|
setColumnHeaderFocus: (field: string, event?: MuiBaseEvent) => void;
|
|
17
|
+
/**
|
|
18
|
+
* Sets the focus to the column header filter at the given `field`.
|
|
19
|
+
* @param {string} field The column field.
|
|
20
|
+
* @param {string} event The event that triggers the action.
|
|
21
|
+
*/
|
|
22
|
+
setColumnHeaderFilterFocus: (field: string, event?: MuiBaseEvent) => void;
|
|
17
23
|
}
|
|
18
24
|
export interface GridFocusPrivateApi {
|
|
19
25
|
/**
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { GridColDef } from '../colDef';
|
|
2
|
+
import { GridHeaderFilteringState } from '../gridHeaderFilteringModel';
|
|
3
|
+
export interface GridHeaderFilteringPrivateApi {
|
|
4
|
+
/**
|
|
5
|
+
* Internal function to set the header filter state.
|
|
6
|
+
* @param {Partial<GridHeaderFilteringState>} headerFilterState The field to be edited.
|
|
7
|
+
* @ignore - do not document.
|
|
8
|
+
*/
|
|
9
|
+
setHeaderFilterState: (headerFilterState: Partial<GridHeaderFilteringState>) => void;
|
|
10
|
+
}
|
|
11
|
+
export interface GridHeaderFilteringApi {
|
|
12
|
+
/**
|
|
13
|
+
* Puts the cell corresponding to the given row id and field into edit mode.
|
|
14
|
+
* @param {GridColDef['field']} field The field of the header filter to put in edit mode.
|
|
15
|
+
*/
|
|
16
|
+
startHeaderFilterEditMode: (field: GridColDef['field']) => void;
|
|
17
|
+
/**
|
|
18
|
+
* Stops the edit mode for the current field.
|
|
19
|
+
*/
|
|
20
|
+
stopHeaderFilterEditMode: () => void;
|
|
21
|
+
/**
|
|
22
|
+
* Opens the header filter menu for the given field.
|
|
23
|
+
* @param {GridColDef['field']} field The field of the header filter to open menu for.
|
|
24
|
+
*/
|
|
25
|
+
showHeaderFilterMenu: (field: GridColDef['field']) => void;
|
|
26
|
+
/**
|
|
27
|
+
* Hides the header filter menu.
|
|
28
|
+
*/
|
|
29
|
+
hideHeaderFilterMenu: () => void;
|
|
30
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -54,6 +54,31 @@ export interface GridLocaleText {
|
|
|
54
54
|
filterOperatorIsEmpty: string;
|
|
55
55
|
filterOperatorIsNotEmpty: string;
|
|
56
56
|
filterOperatorIsAnyOf: string;
|
|
57
|
+
'filterOperator=': string;
|
|
58
|
+
'filterOperator!=': string;
|
|
59
|
+
'filterOperator>': string;
|
|
60
|
+
'filterOperator>=': string;
|
|
61
|
+
'filterOperator<': string;
|
|
62
|
+
'filterOperator<=': string;
|
|
63
|
+
headerFilterOperatorContains: string;
|
|
64
|
+
headerFilterOperatorEquals: string;
|
|
65
|
+
headerFilterOperatorStartsWith: string;
|
|
66
|
+
headerFilterOperatorEndsWith: string;
|
|
67
|
+
headerFilterOperatorIs: string;
|
|
68
|
+
headerFilterOperatorNot: string;
|
|
69
|
+
headerFilterOperatorAfter: string;
|
|
70
|
+
headerFilterOperatorOnOrAfter: string;
|
|
71
|
+
headerFilterOperatorBefore: string;
|
|
72
|
+
headerFilterOperatorOnOrBefore: string;
|
|
73
|
+
headerFilterOperatorIsEmpty: string;
|
|
74
|
+
headerFilterOperatorIsNotEmpty: string;
|
|
75
|
+
headerFilterOperatorIsAnyOf: string;
|
|
76
|
+
'headerFilterOperator=': string;
|
|
77
|
+
'headerFilterOperator!=': string;
|
|
78
|
+
'headerFilterOperator>': string;
|
|
79
|
+
'headerFilterOperator>=': string;
|
|
80
|
+
'headerFilterOperator<': string;
|
|
81
|
+
'headerFilterOperator<=': string;
|
|
57
82
|
filterValueAny: string;
|
|
58
83
|
filterValueTrue: string;
|
|
59
84
|
filterValueFalse: string;
|
|
@@ -6,8 +6,10 @@ export interface GridPreferencesPanelApi {
|
|
|
6
6
|
/**
|
|
7
7
|
* Displays the preferences panel. The `newValue` argument controls the content of the panel.
|
|
8
8
|
* @param {GridPreferencePanelsValue} newValue The panel to open. Use `"filters"` or `"columns"`.
|
|
9
|
+
* @param {string} panelId The unique panel id
|
|
10
|
+
* @param {string} labelId The unique button id
|
|
9
11
|
*/
|
|
10
|
-
showPreferences: (newValue: GridPreferencePanelsValue) => void;
|
|
12
|
+
showPreferences: (newValue: GridPreferencePanelsValue, panelId?: string, labelId?: string) => void;
|
|
11
13
|
/**
|
|
12
14
|
* Hides the preferences panel.
|
|
13
15
|
*/
|