@mui/x-data-grid 5.6.1 → 5.7.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 +71 -1
- package/DataGrid/DataGrid.js +10 -0
- package/DataGrid/useDataGridComponent.js +8 -2
- package/components/ErrorOverlay.js +8 -1
- package/components/GridLoadingOverlay.d.ts +4 -2
- package/components/GridLoadingOverlay.js +11 -2
- package/components/GridNoResultsOverlay.d.ts +3 -2
- package/components/GridNoRowsOverlay.d.ts +4 -2
- package/components/GridNoRowsOverlay.js +11 -2
- package/components/base/GridErrorHandler.js +6 -25
- package/components/cell/GridEditBooleanCell.js +1 -1
- package/components/cell/GridEditDateCell.js +1 -1
- package/components/cell/GridEditInputCell.js +66 -5
- package/components/cell/GridEditSingleSelectCell.js +76 -4
- package/components/columnHeaders/GridColumnHeaderTitle.d.ts +2 -2
- package/components/columnHeaders/GridColumnHeaderTitle.js +1 -1
- package/components/columnHeaders/GridColumnHeaders.js +3 -1
- package/components/containers/GridOverlay.d.ts +9 -2
- package/components/containers/GridOverlay.js +11 -2
- package/components/containers/GridRootStyles.js +2 -2
- package/components/panel/GridColumnsPanel.d.ts +4 -1
- package/components/panel/GridColumnsPanel.js +3 -3
- package/components/panel/GridPanelWrapper.d.ts +1 -1
- package/components/panel/GridPreferencesPanel.js +4 -6
- package/hooks/core/preProcessing/gridPreProcessingApi.d.ts +11 -15
- package/hooks/core/preProcessing/useGridPreProcessing.d.ts +3 -0
- package/hooks/core/preProcessing/useGridPreProcessing.js +5 -1
- package/hooks/core/preProcessing/useGridRegisterPreProcessor.d.ts +5 -2
- package/hooks/core/preProcessing/useGridRegisterPreProcessor.js +4 -0
- package/hooks/core/strategyProcessing/gridStrategyProcessingApi.d.ts +58 -0
- package/hooks/core/{rowGroupsPreProcessing/gridRowGroupsPreProcessingApi.js → strategyProcessing/gridStrategyProcessingApi.js} +0 -0
- package/hooks/core/strategyProcessing/index.d.ts +3 -0
- package/hooks/core/strategyProcessing/index.js +3 -0
- package/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.d.ts +4 -0
- package/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.js +18 -0
- package/hooks/core/strategyProcessing/useGridStrategyProcessing.d.ts +37 -0
- package/hooks/core/strategyProcessing/useGridStrategyProcessing.js +114 -0
- package/hooks/core/useGridInitialization.js +2 -2
- package/hooks/features/columns/gridColumnsInterfaces.d.ts +6 -1
- package/hooks/features/columns/gridColumnsUtils.d.ts +12 -4
- package/hooks/features/columns/gridColumnsUtils.js +113 -29
- package/hooks/features/columns/useGridColumns.d.ts +1 -1
- package/hooks/features/columns/useGridColumns.js +79 -42
- package/hooks/features/editRows/useGridCellEditing.new.d.ts +4 -0
- package/hooks/features/editRows/useGridCellEditing.new.js +315 -0
- package/hooks/features/editRows/{useGridCellEditing.d.ts → useGridCellEditing.old.d.ts} +0 -0
- package/hooks/features/editRows/{useGridCellEditing.js → useGridCellEditing.old.js} +1 -1
- package/hooks/features/editRows/useGridEditing.new.d.ts +6 -0
- package/hooks/features/editRows/useGridEditing.new.js +118 -0
- package/hooks/features/editRows/{useGridEditing.d.ts → useGridEditing.old.d.ts} +0 -0
- package/hooks/features/editRows/{useGridEditing.js → useGridEditing.old.js} +4 -4
- package/hooks/features/editRows/useGridRowEditing.new.d.ts +4 -0
- package/hooks/features/editRows/useGridRowEditing.new.js +486 -0
- package/hooks/features/editRows/{useGridRowEditing.d.ts → useGridRowEditing.old.d.ts} +0 -0
- package/hooks/features/editRows/{useGridRowEditing.js → useGridRowEditing.old.js} +7 -7
- package/hooks/features/filter/gridFilterState.d.ts +2 -5
- package/hooks/features/filter/useGridFilter.d.ts +1 -1
- package/hooks/features/filter/useGridFilter.js +21 -27
- package/hooks/features/focus/useGridFocus.d.ts +1 -1
- package/hooks/features/focus/useGridFocus.js +37 -1
- package/hooks/features/preferencesPanel/gridPreferencePanelState.d.ts +5 -0
- package/hooks/features/rows/gridRowsState.d.ts +20 -5
- package/hooks/features/rows/useGridRows.d.ts +0 -3
- package/hooks/features/rows/useGridRows.js +63 -42
- package/hooks/features/rows/useGridRowsPreProcessors.d.ts +3 -0
- package/hooks/features/rows/useGridRowsPreProcessors.js +37 -0
- package/hooks/features/selection/useGridSelection.js +4 -0
- package/hooks/features/sorting/gridSortingState.d.ts +2 -5
- package/hooks/features/sorting/useGridSorting.js +7 -26
- package/hooks/features/virtualization/useGridVirtualScroller.js +5 -3
- package/index.js +1 -1
- package/internals/index.d.ts +10 -7
- package/internals/index.js +4 -3
- package/legacy/DataGrid/DataGrid.js +10 -0
- package/legacy/DataGrid/useDataGridComponent.js +8 -2
- package/legacy/components/ErrorOverlay.js +8 -1
- package/legacy/components/GridLoadingOverlay.js +11 -2
- package/legacy/components/GridNoRowsOverlay.js +11 -2
- package/legacy/components/base/GridErrorHandler.js +3 -24
- package/legacy/components/cell/GridEditBooleanCell.js +2 -1
- package/legacy/components/cell/GridEditDateCell.js +2 -1
- package/legacy/components/cell/GridEditInputCell.js +66 -5
- package/legacy/components/cell/GridEditSingleSelectCell.js +83 -7
- package/legacy/components/columnHeaders/GridColumnHeaderTitle.js +1 -1
- package/legacy/components/columnHeaders/GridColumnHeaders.js +3 -1
- package/legacy/components/containers/GridOverlay.js +11 -2
- package/legacy/components/containers/GridRootStyles.js +2 -2
- package/legacy/components/panel/GridColumnsPanel.js +3 -3
- package/legacy/components/panel/GridPreferencesPanel.js +4 -6
- package/legacy/hooks/core/preProcessing/useGridPreProcessing.js +5 -1
- package/legacy/hooks/core/preProcessing/useGridRegisterPreProcessor.js +4 -0
- package/legacy/hooks/core/{rowGroupsPreProcessing/gridRowGroupsPreProcessingApi.js → strategyProcessing/gridStrategyProcessingApi.js} +0 -0
- package/legacy/hooks/core/strategyProcessing/index.js +3 -0
- package/legacy/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.js +18 -0
- package/legacy/hooks/core/strategyProcessing/useGridStrategyProcessing.js +119 -0
- package/legacy/hooks/core/useGridInitialization.js +2 -2
- package/legacy/hooks/features/columns/gridColumnsUtils.js +117 -27
- package/legacy/hooks/features/columns/useGridColumns.js +80 -43
- package/legacy/hooks/features/editRows/useGridCellEditing.new.js +329 -0
- package/legacy/hooks/features/editRows/{useGridCellEditing.js → useGridCellEditing.old.js} +1 -1
- package/legacy/hooks/features/editRows/useGridEditing.new.js +152 -0
- package/legacy/hooks/features/editRows/{useGridEditing.js → useGridEditing.old.js} +4 -4
- package/legacy/hooks/features/editRows/useGridRowEditing.new.js +493 -0
- package/legacy/hooks/features/editRows/{useGridRowEditing.js → useGridRowEditing.old.js} +7 -7
- package/legacy/hooks/features/filter/useGridFilter.js +21 -27
- package/legacy/hooks/features/focus/useGridFocus.js +37 -1
- package/legacy/hooks/features/rows/useGridRows.js +65 -44
- package/legacy/hooks/features/rows/useGridRowsPreProcessors.js +36 -0
- package/legacy/hooks/features/selection/useGridSelection.js +4 -0
- package/legacy/hooks/features/sorting/useGridSorting.js +7 -26
- package/legacy/hooks/features/virtualization/useGridVirtualScroller.js +5 -3
- package/legacy/index.js +1 -1
- package/legacy/internals/index.js +4 -3
- package/legacy/locales/arSD.js +62 -58
- package/legacy/locales/faIR.js +26 -22
- package/legacy/locales/koKR.js +1 -1
- package/legacy/locales/plPL.js +30 -26
- package/legacy/models/events/gridEvents.js +2 -1
- package/legacy/models/gridEditRowModel.js +1 -0
- package/legacy/models/params/gridEditCellParams.js +34 -1
- package/legacy/models/params/gridRowParams.js +39 -1
- package/legacy/utils/cleanupTracking/TimerBasedCleanupTracking.js +5 -1
- package/legacy/utils/utils.js +150 -3
- package/locales/arSD.js +58 -58
- package/locales/faIR.js +22 -22
- package/locales/koKR.js +1 -1
- package/locales/plPL.js +26 -26
- package/models/api/gridApiCommon.d.ts +2 -2
- package/models/api/gridEditingApi.d.ts +125 -4
- package/models/api/gridFocusApi.d.ts +9 -0
- package/models/api/index.d.ts +1 -1
- package/models/colDef/gridColDef.d.ts +4 -0
- package/models/events/gridEventLookup.d.ts +11 -5
- package/models/events/gridEvents.d.ts +9 -2
- package/models/events/gridEvents.js +2 -1
- package/models/gridEditRowModel.d.ts +4 -3
- package/models/gridEditRowModel.js +1 -0
- package/models/params/gridCellParams.d.ts +10 -1
- package/models/params/gridEditCellParams.d.ts +50 -0
- package/models/params/gridEditCellParams.js +34 -1
- package/models/params/gridRowParams.d.ts +41 -1
- package/models/params/gridRowParams.js +39 -1
- package/models/props/DataGridProps.d.ts +13 -1
- package/modern/DataGrid/DataGrid.js +10 -0
- package/modern/DataGrid/useDataGridComponent.js +6 -2
- package/modern/components/ErrorOverlay.js +8 -1
- package/modern/components/GridLoadingOverlay.js +11 -2
- package/modern/components/GridNoRowsOverlay.js +11 -2
- package/modern/components/base/GridErrorHandler.js +1 -20
- package/modern/components/cell/GridEditBooleanCell.js +1 -1
- package/modern/components/cell/GridEditDateCell.js +1 -1
- package/modern/components/cell/GridEditInputCell.js +64 -5
- package/modern/components/cell/GridEditSingleSelectCell.js +72 -4
- package/modern/components/columnHeaders/GridColumnHeaderTitle.js +1 -1
- package/modern/components/columnHeaders/GridColumnHeaders.js +3 -1
- package/modern/components/containers/GridOverlay.js +11 -2
- package/modern/components/containers/GridRootStyles.js +2 -2
- package/modern/components/panel/GridColumnsPanel.js +3 -3
- package/modern/components/panel/GridPreferencesPanel.js +3 -5
- package/modern/hooks/core/preProcessing/useGridPreProcessing.js +5 -1
- package/modern/hooks/core/preProcessing/useGridRegisterPreProcessor.js +4 -0
- package/modern/hooks/core/{rowGroupsPreProcessing/gridRowGroupsPreProcessingApi.js → strategyProcessing/gridStrategyProcessingApi.js} +0 -0
- package/modern/hooks/core/strategyProcessing/index.js +3 -0
- package/modern/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.js +18 -0
- package/modern/hooks/core/strategyProcessing/useGridStrategyProcessing.js +112 -0
- package/modern/hooks/core/useGridInitialization.js +2 -2
- package/modern/hooks/features/columns/gridColumnsUtils.js +113 -27
- package/modern/hooks/features/columns/useGridColumns.js +74 -39
- package/modern/hooks/features/editRows/useGridCellEditing.new.js +315 -0
- package/modern/hooks/features/editRows/{useGridCellEditing.js → useGridCellEditing.old.js} +1 -1
- package/modern/hooks/features/editRows/useGridEditing.new.js +118 -0
- package/modern/hooks/features/editRows/{useGridEditing.js → useGridEditing.old.js} +4 -4
- package/modern/hooks/features/editRows/useGridRowEditing.new.js +484 -0
- package/modern/hooks/features/editRows/{useGridRowEditing.js → useGridRowEditing.old.js} +7 -7
- package/modern/hooks/features/filter/useGridFilter.js +17 -27
- package/modern/hooks/features/focus/useGridFocus.js +37 -1
- package/modern/hooks/features/rows/useGridRows.js +63 -42
- package/modern/hooks/features/rows/useGridRowsPreProcessors.js +37 -0
- package/modern/hooks/features/selection/useGridSelection.js +4 -0
- package/modern/hooks/features/sorting/useGridSorting.js +7 -26
- package/modern/hooks/features/virtualization/useGridVirtualScroller.js +5 -3
- package/modern/index.js +1 -1
- package/modern/internals/index.js +4 -3
- package/modern/locales/arSD.js +58 -58
- package/modern/locales/faIR.js +22 -22
- package/modern/locales/koKR.js +1 -1
- package/modern/locales/plPL.js +26 -26
- package/modern/models/events/gridEvents.js +2 -1
- package/modern/models/gridEditRowModel.js +1 -0
- package/modern/models/params/gridEditCellParams.js +34 -1
- package/modern/models/params/gridRowParams.js +39 -1
- package/modern/utils/cleanupTracking/TimerBasedCleanupTracking.js +4 -2
- package/modern/utils/utils.js +150 -3
- package/node/DataGrid/DataGrid.js +10 -0
- package/node/DataGrid/useDataGridComponent.js +11 -3
- package/node/components/ErrorOverlay.js +10 -1
- package/node/components/GridLoadingOverlay.js +10 -1
- package/node/components/GridNoRowsOverlay.js +10 -1
- package/node/components/base/GridErrorHandler.js +7 -30
- package/node/components/cell/GridEditBooleanCell.js +1 -1
- package/node/components/cell/GridEditDateCell.js +1 -1
- package/node/components/cell/GridEditInputCell.js +66 -5
- package/node/components/cell/GridEditSingleSelectCell.js +76 -4
- package/node/components/columnHeaders/GridColumnHeaderTitle.js +1 -1
- package/node/components/columnHeaders/GridColumnHeaders.js +3 -1
- package/node/components/containers/GridOverlay.js +10 -1
- package/node/components/containers/GridRootStyles.js +2 -2
- package/node/components/panel/GridColumnsPanel.js +3 -3
- package/node/components/panel/GridPreferencesPanel.js +4 -5
- package/node/hooks/core/preProcessing/useGridPreProcessing.js +4 -1
- package/node/hooks/core/preProcessing/useGridRegisterPreProcessor.js +3 -0
- package/node/hooks/core/{rowGroupsPreProcessing/gridRowGroupsPreProcessingApi.js → strategyProcessing/gridStrategyProcessingApi.js} +0 -0
- package/node/hooks/core/strategyProcessing/index.js +44 -0
- package/node/hooks/{features/sorting/useGridRegisterSortingMethod.js → core/strategyProcessing/useGridRegisterStrategyProcessor.js} +18 -9
- package/node/hooks/core/strategyProcessing/useGridStrategyProcessing.js +135 -0
- package/node/hooks/core/useGridInitialization.js +2 -2
- package/node/hooks/features/columns/gridColumnsUtils.js +118 -31
- package/node/hooks/features/columns/useGridColumns.js +82 -41
- package/node/hooks/features/editRows/useGridCellEditing.new.js +334 -0
- package/node/hooks/features/editRows/{useGridCellEditing.js → useGridCellEditing.old.js} +1 -1
- package/node/hooks/features/editRows/useGridEditing.new.js +142 -0
- package/node/hooks/features/editRows/{useGridEditing.js → useGridEditing.old.js} +4 -4
- package/node/hooks/features/editRows/useGridRowEditing.new.js +499 -0
- package/node/hooks/features/editRows/{useGridRowEditing.js → useGridRowEditing.old.js} +6 -6
- package/node/hooks/features/filter/useGridFilter.js +21 -26
- package/node/hooks/features/focus/useGridFocus.js +40 -1
- package/node/hooks/features/rows/useGridRows.js +62 -41
- package/node/hooks/features/rows/useGridRowsPreProcessors.js +46 -0
- package/node/hooks/features/selection/useGridSelection.js +4 -0
- package/node/hooks/features/sorting/useGridSorting.js +7 -26
- package/node/hooks/features/virtualization/useGridVirtualScroller.js +5 -3
- package/node/index.js +1 -1
- package/node/internals/index.js +29 -15
- package/node/locales/arSD.js +58 -58
- package/node/locales/faIR.js +22 -22
- package/node/locales/koKR.js +1 -1
- package/node/locales/plPL.js +26 -26
- package/node/models/events/gridEvents.js +2 -1
- package/node/models/gridEditRowModel.js +1 -0
- package/node/models/params/gridEditCellParams.js +37 -1
- package/node/models/params/gridRowParams.js +42 -1
- package/node/utils/cleanupTracking/TimerBasedCleanupTracking.js +4 -2
- package/node/utils/utils.js +152 -11
- package/package.json +1 -1
- package/utils/cleanupTracking/TimerBasedCleanupTracking.d.ts +2 -0
- package/utils/cleanupTracking/TimerBasedCleanupTracking.js +4 -2
- package/utils/utils.d.ts +27 -2
- package/utils/utils.js +150 -3
- package/hooks/core/rowGroupsPreProcessing/gridRowGroupsPreProcessingApi.d.ts +0 -35
- package/hooks/core/rowGroupsPreProcessing/index.d.ts +0 -2
- package/hooks/core/rowGroupsPreProcessing/index.js +0 -2
- package/hooks/core/rowGroupsPreProcessing/useGridRowGroupsPreProcessing.d.ts +0 -3
- package/hooks/core/rowGroupsPreProcessing/useGridRowGroupsPreProcessing.js +0 -72
- package/hooks/features/filter/useGridRegisterFilteringMethod.d.ts +0 -4
- package/hooks/features/filter/useGridRegisterFilteringMethod.js +0 -9
- package/hooks/features/sorting/useGridRegisterSortingMethod.d.ts +0 -4
- package/hooks/features/sorting/useGridRegisterSortingMethod.js +0 -9
- package/legacy/hooks/core/rowGroupsPreProcessing/index.js +0 -2
- package/legacy/hooks/core/rowGroupsPreProcessing/useGridRowGroupsPreProcessing.js +0 -71
- package/legacy/hooks/features/filter/useGridRegisterFilteringMethod.js +0 -9
- package/legacy/hooks/features/sorting/useGridRegisterSortingMethod.js +0 -9
- package/legacy/lib/lodash/_DataView.js +0 -8
- package/legacy/lib/lodash/_Hash.js +0 -33
- package/legacy/lib/lodash/_ListCache.js +0 -33
- package/legacy/lib/lodash/_Map.js +0 -8
- package/legacy/lib/lodash/_MapCache.js +0 -33
- package/legacy/lib/lodash/_Promise.js +0 -8
- package/legacy/lib/lodash/_Set.js +0 -8
- package/legacy/lib/lodash/_SetCache.js +0 -28
- package/legacy/lib/lodash/_Stack.js +0 -28
- package/legacy/lib/lodash/_Symbol.js +0 -7
- package/legacy/lib/lodash/_Uint8Array.js +0 -7
- package/legacy/lib/lodash/_WeakMap.js +0 -8
- package/legacy/lib/lodash/_arrayFilter.js +0 -29
- package/legacy/lib/lodash/_arrayLikeKeys.js +0 -46
- package/legacy/lib/lodash/_arrayPush.js +0 -23
- package/legacy/lib/lodash/_arraySome.js +0 -26
- package/legacy/lib/lodash/_assocIndexOf.js +0 -25
- package/legacy/lib/lodash/_baseGetAllKeys.js +0 -22
- package/legacy/lib/lodash/_baseGetTag.js +0 -29
- package/legacy/lib/lodash/_baseIsArguments.js +0 -20
- package/legacy/lib/lodash/_baseIsEqual.js +0 -32
- package/legacy/lib/lodash/_baseIsEqualDeep.js +0 -85
- package/legacy/lib/lodash/_baseIsNative.js +0 -47
- package/legacy/lib/lodash/_baseIsTypedArray.js +0 -49
- package/legacy/lib/lodash/_baseKeys.js +0 -35
- package/legacy/lib/lodash/_baseTimes.js +0 -23
- package/legacy/lib/lodash/_baseUnary.js +0 -16
- package/legacy/lib/lodash/_cacheHas.js +0 -15
- package/legacy/lib/lodash/_coreJsData.js +0 -7
- package/legacy/lib/lodash/_equalArrays.js +0 -84
- package/legacy/lib/lodash/_equalByTag.js +0 -117
- package/legacy/lib/lodash/_equalObjects.js +0 -92
- package/legacy/lib/lodash/_freeGlobal.js +0 -6
- package/legacy/lib/lodash/_getAllKeys.js +0 -18
- package/legacy/lib/lodash/_getMapData.js +0 -18
- package/legacy/lib/lodash/_getNative.js +0 -19
- package/legacy/lib/lodash/_getRawTag.js +0 -50
- package/legacy/lib/lodash/_getSymbols.js +0 -32
- package/legacy/lib/lodash/_getTag.js +0 -64
- package/legacy/lib/lodash/_getValue.js +0 -15
- package/legacy/lib/lodash/_hashClear.js +0 -17
- package/legacy/lib/lodash/_hashDelete.js +0 -19
- package/legacy/lib/lodash/_hashGet.js +0 -34
- package/legacy/lib/lodash/_hashHas.js +0 -25
- package/legacy/lib/lodash/_hashSet.js +0 -25
- package/legacy/lib/lodash/_isIndex.js +0 -25
- package/legacy/lib/lodash/_isKeyable.js +0 -18
- package/legacy/lib/lodash/_isMasked.js +0 -23
- package/legacy/lib/lodash/_isPrototype.js +0 -19
- package/legacy/lib/lodash/_listCacheClear.js +0 -15
- package/legacy/lib/lodash/_listCacheDelete.js +0 -40
- package/legacy/lib/lodash/_listCacheGet.js +0 -20
- package/legacy/lib/lodash/_listCacheHas.js +0 -18
- package/legacy/lib/lodash/_listCacheSet.js +0 -29
- package/legacy/lib/lodash/_mapCacheClear.js +0 -23
- package/legacy/lib/lodash/_mapCacheDelete.js +0 -20
- package/legacy/lib/lodash/_mapCacheGet.js +0 -18
- package/legacy/lib/lodash/_mapCacheHas.js +0 -18
- package/legacy/lib/lodash/_mapCacheSet.js +0 -23
- package/legacy/lib/lodash/_mapToArray.js +0 -19
- package/legacy/lib/lodash/_nativeCreate.js +0 -7
- package/legacy/lib/lodash/_nativeKeys.js +0 -7
- package/legacy/lib/lodash/_nodeUtil.js +0 -25
- package/legacy/lib/lodash/_objectToString.js +0 -24
- package/legacy/lib/lodash/_overArg.js +0 -17
- package/legacy/lib/lodash/_root.js +0 -11
- package/legacy/lib/lodash/_setCacheAdd.js +0 -22
- package/legacy/lib/lodash/_setCacheHas.js +0 -16
- package/legacy/lib/lodash/_setToArray.js +0 -19
- package/legacy/lib/lodash/_stackClear.js +0 -17
- package/legacy/lib/lodash/_stackDelete.js +0 -19
- package/legacy/lib/lodash/_stackGet.js +0 -16
- package/legacy/lib/lodash/_stackHas.js +0 -16
- package/legacy/lib/lodash/_stackSet.js +0 -40
- package/legacy/lib/lodash/_toSource.js +0 -30
- package/legacy/lib/lodash/date.default.js +0 -4
- package/legacy/lib/lodash/date.js +0 -2
- package/legacy/lib/lodash/eq.js +0 -39
- package/legacy/lib/lodash/function.default.js +0 -4
- package/legacy/lib/lodash/function.js +0 -2
- package/legacy/lib/lodash/isArguments.js +0 -38
- package/legacy/lib/lodash/isArray.js +0 -27
- package/legacy/lib/lodash/isArrayLike.js +0 -35
- package/legacy/lib/lodash/isBuffer.js +0 -40
- package/legacy/lib/lodash/isDeepEqual.js +0 -45
- package/legacy/lib/lodash/isFunction.js +0 -40
- package/legacy/lib/lodash/isLength.js +0 -36
- package/legacy/lib/lodash/isObject.js +0 -36
- package/legacy/lib/lodash/isObjectLike.js +0 -33
- package/legacy/lib/lodash/isSymbol.js +0 -31
- package/legacy/lib/lodash/isTypedArray.js +0 -28
- package/legacy/lib/lodash/keys.js +0 -39
- package/legacy/lib/lodash/lang.default.js +0 -28
- package/legacy/lib/lodash/lang.js +0 -14
- package/legacy/lib/lodash/now.js +0 -25
- package/legacy/lib/lodash/object.default.js +0 -4
- package/legacy/lib/lodash/object.js +0 -2
- package/legacy/lib/lodash/stubArray.js +0 -25
- package/legacy/lib/lodash/stubFalse.js +0 -20
- package/legacy/lib/lodash/toNumber.js +0 -70
- package/legacy/lib/lodash/util.default.js +0 -6
- package/legacy/lib/lodash/util.js +0 -3
- package/lib/lodash/_DataView.d.ts +0 -2
- package/lib/lodash/_DataView.js +0 -8
- package/lib/lodash/_Hash.d.ts +0 -29
- package/lib/lodash/_Hash.js +0 -33
- package/lib/lodash/_ListCache.d.ts +0 -29
- package/lib/lodash/_ListCache.js +0 -33
- package/lib/lodash/_Map.d.ts +0 -2
- package/lib/lodash/_Map.js +0 -8
- package/lib/lodash/_MapCache.d.ts +0 -29
- package/lib/lodash/_MapCache.js +0 -33
- package/lib/lodash/_Promise.d.ts +0 -2
- package/lib/lodash/_Promise.js +0 -8
- package/lib/lodash/_Set.d.ts +0 -2
- package/lib/lodash/_Set.js +0 -8
- package/lib/lodash/_SetCache.d.ts +0 -28
- package/lib/lodash/_SetCache.js +0 -28
- package/lib/lodash/_Stack.d.ts +0 -32
- package/lib/lodash/_Stack.js +0 -28
- package/lib/lodash/_Symbol.d.ts +0 -3
- package/lib/lodash/_Symbol.js +0 -7
- package/lib/lodash/_Uint8Array.d.ts +0 -3
- package/lib/lodash/_Uint8Array.js +0 -7
- package/lib/lodash/_WeakMap.d.ts +0 -2
- package/lib/lodash/_WeakMap.js +0 -8
- package/lib/lodash/_arrayFilter.d.ts +0 -11
- package/lib/lodash/_arrayFilter.js +0 -29
- package/lib/lodash/_arrayLikeKeys.d.ts +0 -10
- package/lib/lodash/_arrayLikeKeys.js +0 -46
- package/lib/lodash/_arrayPush.d.ts +0 -10
- package/lib/lodash/_arrayPush.js +0 -23
- package/lib/lodash/_arraySome.d.ts +0 -12
- package/lib/lodash/_arraySome.js +0 -26
- package/lib/lodash/_assocIndexOf.d.ts +0 -10
- package/lib/lodash/_assocIndexOf.js +0 -25
- package/lib/lodash/_baseGetAllKeys.d.ts +0 -13
- package/lib/lodash/_baseGetAllKeys.js +0 -22
- package/lib/lodash/_baseGetTag.d.ts +0 -9
- package/lib/lodash/_baseGetTag.js +0 -29
- package/lib/lodash/_baseIsArguments.d.ts +0 -9
- package/lib/lodash/_baseIsArguments.js +0 -20
- package/lib/lodash/_baseIsEqual.d.ts +0 -16
- package/lib/lodash/_baseIsEqual.js +0 -32
- package/lib/lodash/_baseIsEqualDeep.d.ts +0 -16
- package/lib/lodash/_baseIsEqualDeep.js +0 -85
- package/lib/lodash/_baseIsNative.d.ts +0 -10
- package/lib/lodash/_baseIsNative.js +0 -47
- package/lib/lodash/_baseIsTypedArray.d.ts +0 -9
- package/lib/lodash/_baseIsTypedArray.js +0 -49
- package/lib/lodash/_baseKeys.d.ts +0 -9
- package/lib/lodash/_baseKeys.js +0 -35
- package/lib/lodash/_baseTimes.d.ts +0 -11
- package/lib/lodash/_baseTimes.js +0 -23
- package/lib/lodash/_baseUnary.d.ts +0 -9
- package/lib/lodash/_baseUnary.js +0 -16
- package/lib/lodash/_cacheHas.d.ts +0 -10
- package/lib/lodash/_cacheHas.js +0 -15
- package/lib/lodash/_coreJsData.d.ts +0 -3
- package/lib/lodash/_coreJsData.js +0 -7
- package/lib/lodash/_equalArrays.d.ts +0 -15
- package/lib/lodash/_equalArrays.js +0 -84
- package/lib/lodash/_equalByTag.d.ts +0 -19
- package/lib/lodash/_equalByTag.js +0 -117
- package/lib/lodash/_equalObjects.d.ts +0 -15
- package/lib/lodash/_equalObjects.js +0 -92
- package/lib/lodash/_freeGlobal.d.ts +0 -3
- package/lib/lodash/_freeGlobal.js +0 -5
- package/lib/lodash/_getAllKeys.d.ts +0 -9
- package/lib/lodash/_getAllKeys.js +0 -18
- package/lib/lodash/_getMapData.d.ts +0 -10
- package/lib/lodash/_getMapData.js +0 -18
- package/lib/lodash/_getNative.d.ts +0 -10
- package/lib/lodash/_getNative.js +0 -19
- package/lib/lodash/_getRawTag.d.ts +0 -9
- package/lib/lodash/_getRawTag.js +0 -50
- package/lib/lodash/_getSymbols.d.ts +0 -2
- package/lib/lodash/_getSymbols.js +0 -32
- package/lib/lodash/_getTag.d.ts +0 -10
- package/lib/lodash/_getTag.js +0 -64
- package/lib/lodash/_getValue.d.ts +0 -10
- package/lib/lodash/_getValue.js +0 -15
- package/lib/lodash/_hashClear.d.ts +0 -13
- package/lib/lodash/_hashClear.js +0 -17
- package/lib/lodash/_hashDelete.d.ts +0 -12
- package/lib/lodash/_hashDelete.js +0 -19
- package/lib/lodash/_hashGet.d.ts +0 -11
- package/lib/lodash/_hashGet.js +0 -34
- package/lib/lodash/_hashHas.d.ts +0 -11
- package/lib/lodash/_hashHas.js +0 -25
- package/lib/lodash/_hashSet.d.ts +0 -12
- package/lib/lodash/_hashSet.js +0 -25
- package/lib/lodash/_isIndex.d.ts +0 -10
- package/lib/lodash/_isIndex.js +0 -23
- package/lib/lodash/_isKeyable.d.ts +0 -9
- package/lib/lodash/_isKeyable.js +0 -15
- package/lib/lodash/_isMasked.d.ts +0 -9
- package/lib/lodash/_isMasked.js +0 -23
- package/lib/lodash/_isPrototype.d.ts +0 -9
- package/lib/lodash/_isPrototype.js +0 -19
- package/lib/lodash/_listCacheClear.d.ts +0 -13
- package/lib/lodash/_listCacheClear.js +0 -15
- package/lib/lodash/_listCacheDelete.d.ts +0 -11
- package/lib/lodash/_listCacheDelete.js +0 -40
- package/lib/lodash/_listCacheGet.d.ts +0 -11
- package/lib/lodash/_listCacheGet.js +0 -20
- package/lib/lodash/_listCacheHas.d.ts +0 -11
- package/lib/lodash/_listCacheHas.js +0 -18
- package/lib/lodash/_listCacheSet.d.ts +0 -12
- package/lib/lodash/_listCacheSet.js +0 -29
- package/lib/lodash/_mapCacheClear.d.ts +0 -18
- package/lib/lodash/_mapCacheClear.js +0 -23
- package/lib/lodash/_mapCacheDelete.d.ts +0 -11
- package/lib/lodash/_mapCacheDelete.js +0 -20
- package/lib/lodash/_mapCacheGet.d.ts +0 -11
- package/lib/lodash/_mapCacheGet.js +0 -18
- package/lib/lodash/_mapCacheHas.d.ts +0 -11
- package/lib/lodash/_mapCacheHas.js +0 -18
- package/lib/lodash/_mapCacheSet.d.ts +0 -12
- package/lib/lodash/_mapCacheSet.js +0 -23
- package/lib/lodash/_mapToArray.d.ts +0 -9
- package/lib/lodash/_mapToArray.js +0 -19
- package/lib/lodash/_nativeCreate.d.ts +0 -2
- package/lib/lodash/_nativeCreate.js +0 -7
- package/lib/lodash/_nativeKeys.d.ts +0 -2
- package/lib/lodash/_nativeKeys.js +0 -7
- package/lib/lodash/_nodeUtil.d.ts +0 -3
- package/lib/lodash/_nodeUtil.js +0 -24
- package/lib/lodash/_objectToString.d.ts +0 -9
- package/lib/lodash/_objectToString.js +0 -24
- package/lib/lodash/_overArg.d.ts +0 -10
- package/lib/lodash/_overArg.js +0 -17
- package/lib/lodash/_root.d.ts +0 -3
- package/lib/lodash/_root.js +0 -10
- package/lib/lodash/_setCacheAdd.d.ts +0 -12
- package/lib/lodash/_setCacheAdd.js +0 -22
- package/lib/lodash/_setCacheHas.d.ts +0 -11
- package/lib/lodash/_setCacheHas.js +0 -16
- package/lib/lodash/_setToArray.d.ts +0 -9
- package/lib/lodash/_setToArray.js +0 -19
- package/lib/lodash/_stackClear.d.ts +0 -14
- package/lib/lodash/_stackClear.js +0 -17
- package/lib/lodash/_stackDelete.d.ts +0 -24
- package/lib/lodash/_stackDelete.js +0 -19
- package/lib/lodash/_stackGet.d.ts +0 -11
- package/lib/lodash/_stackGet.js +0 -16
- package/lib/lodash/_stackHas.d.ts +0 -11
- package/lib/lodash/_stackHas.js +0 -16
- package/lib/lodash/_stackSet.d.ts +0 -28
- package/lib/lodash/_stackSet.js +0 -40
- package/lib/lodash/_toSource.d.ts +0 -9
- package/lib/lodash/_toSource.js +0 -30
- package/lib/lodash/date.d.ts +0 -2
- package/lib/lodash/date.default.d.ts +0 -5
- package/lib/lodash/date.default.js +0 -4
- package/lib/lodash/date.js +0 -2
- package/lib/lodash/eq.d.ts +0 -34
- package/lib/lodash/eq.js +0 -39
- package/lib/lodash/function.d.ts +0 -1
- package/lib/lodash/function.default.d.ts +0 -4
- package/lib/lodash/function.default.js +0 -4
- package/lib/lodash/function.js +0 -2
- package/lib/lodash/isArguments.d.ts +0 -2
- package/lib/lodash/isArguments.js +0 -38
- package/lib/lodash/isArray.d.ts +0 -25
- package/lib/lodash/isArray.js +0 -27
- package/lib/lodash/isArrayLike.d.ts +0 -27
- package/lib/lodash/isArrayLike.js +0 -35
- package/lib/lodash/isBuffer.d.ts +0 -19
- package/lib/lodash/isBuffer.js +0 -39
- package/lib/lodash/isDeepEqual.d.ts +0 -30
- package/lib/lodash/isDeepEqual.js +0 -45
- package/lib/lodash/isFunction.d.ts +0 -19
- package/lib/lodash/isFunction.js +0 -40
- package/lib/lodash/isLength.d.ts +0 -28
- package/lib/lodash/isLength.js +0 -36
- package/lib/lodash/isObject.d.ts +0 -27
- package/lib/lodash/isObject.js +0 -33
- package/lib/lodash/isObjectLike.d.ts +0 -26
- package/lib/lodash/isObjectLike.js +0 -31
- package/lib/lodash/isSymbol.d.ts +0 -19
- package/lib/lodash/isSymbol.js +0 -30
- package/lib/lodash/isTypedArray.d.ts +0 -19
- package/lib/lodash/isTypedArray.js +0 -28
- package/lib/lodash/keys.d.ts +0 -30
- package/lib/lodash/keys.js +0 -39
- package/lib/lodash/lang.d.ts +0 -14
- package/lib/lodash/lang.default.d.ts +0 -29
- package/lib/lodash/lang.default.js +0 -28
- package/lib/lodash/lang.js +0 -14
- package/lib/lodash/now.d.ts +0 -18
- package/lib/lodash/now.js +0 -25
- package/lib/lodash/object.d.ts +0 -2
- package/lib/lodash/object.default.d.ts +0 -5
- package/lib/lodash/object.default.js +0 -4
- package/lib/lodash/object.js +0 -2
- package/lib/lodash/stubArray.d.ts +0 -20
- package/lib/lodash/stubArray.js +0 -25
- package/lib/lodash/stubFalse.d.ts +0 -15
- package/lib/lodash/stubFalse.js +0 -20
- package/lib/lodash/toNumber.d.ts +0 -25
- package/lib/lodash/toNumber.js +0 -70
- package/lib/lodash/util.d.ts +0 -3
- package/lib/lodash/util.default.d.ts +0 -7
- package/lib/lodash/util.default.js +0 -6
- package/lib/lodash/util.js +0 -3
- package/modern/hooks/core/rowGroupsPreProcessing/index.js +0 -2
- package/modern/hooks/core/rowGroupsPreProcessing/useGridRowGroupsPreProcessing.js +0 -70
- package/modern/hooks/features/filter/useGridRegisterFilteringMethod.js +0 -9
- package/modern/hooks/features/sorting/useGridRegisterSortingMethod.js +0 -9
- package/modern/lib/lodash/_DataView.js +0 -8
- package/modern/lib/lodash/_Hash.js +0 -33
- package/modern/lib/lodash/_ListCache.js +0 -33
- package/modern/lib/lodash/_Map.js +0 -8
- package/modern/lib/lodash/_MapCache.js +0 -33
- package/modern/lib/lodash/_Promise.js +0 -8
- package/modern/lib/lodash/_Set.js +0 -8
- package/modern/lib/lodash/_SetCache.js +0 -28
- package/modern/lib/lodash/_Stack.js +0 -28
- package/modern/lib/lodash/_Symbol.js +0 -7
- package/modern/lib/lodash/_Uint8Array.js +0 -7
- package/modern/lib/lodash/_WeakMap.js +0 -8
- package/modern/lib/lodash/_arrayFilter.js +0 -29
- package/modern/lib/lodash/_arrayLikeKeys.js +0 -46
- package/modern/lib/lodash/_arrayPush.js +0 -23
- package/modern/lib/lodash/_arraySome.js +0 -26
- package/modern/lib/lodash/_assocIndexOf.js +0 -25
- package/modern/lib/lodash/_baseGetAllKeys.js +0 -22
- package/modern/lib/lodash/_baseGetTag.js +0 -29
- package/modern/lib/lodash/_baseIsArguments.js +0 -20
- package/modern/lib/lodash/_baseIsEqual.js +0 -32
- package/modern/lib/lodash/_baseIsEqualDeep.js +0 -85
- package/modern/lib/lodash/_baseIsNative.js +0 -47
- package/modern/lib/lodash/_baseIsTypedArray.js +0 -49
- package/modern/lib/lodash/_baseKeys.js +0 -35
- package/modern/lib/lodash/_baseTimes.js +0 -23
- package/modern/lib/lodash/_baseUnary.js +0 -16
- package/modern/lib/lodash/_cacheHas.js +0 -15
- package/modern/lib/lodash/_coreJsData.js +0 -7
- package/modern/lib/lodash/_equalArrays.js +0 -84
- package/modern/lib/lodash/_equalByTag.js +0 -117
- package/modern/lib/lodash/_equalObjects.js +0 -92
- package/modern/lib/lodash/_freeGlobal.js +0 -5
- package/modern/lib/lodash/_getAllKeys.js +0 -18
- package/modern/lib/lodash/_getMapData.js +0 -18
- package/modern/lib/lodash/_getNative.js +0 -19
- package/modern/lib/lodash/_getRawTag.js +0 -50
- package/modern/lib/lodash/_getSymbols.js +0 -32
- package/modern/lib/lodash/_getTag.js +0 -64
- package/modern/lib/lodash/_getValue.js +0 -15
- package/modern/lib/lodash/_hashClear.js +0 -17
- package/modern/lib/lodash/_hashDelete.js +0 -19
- package/modern/lib/lodash/_hashGet.js +0 -34
- package/modern/lib/lodash/_hashHas.js +0 -25
- package/modern/lib/lodash/_hashSet.js +0 -25
- package/modern/lib/lodash/_isIndex.js +0 -23
- package/modern/lib/lodash/_isKeyable.js +0 -15
- package/modern/lib/lodash/_isMasked.js +0 -23
- package/modern/lib/lodash/_isPrototype.js +0 -19
- package/modern/lib/lodash/_listCacheClear.js +0 -15
- package/modern/lib/lodash/_listCacheDelete.js +0 -40
- package/modern/lib/lodash/_listCacheGet.js +0 -20
- package/modern/lib/lodash/_listCacheHas.js +0 -18
- package/modern/lib/lodash/_listCacheSet.js +0 -29
- package/modern/lib/lodash/_mapCacheClear.js +0 -23
- package/modern/lib/lodash/_mapCacheDelete.js +0 -20
- package/modern/lib/lodash/_mapCacheGet.js +0 -18
- package/modern/lib/lodash/_mapCacheHas.js +0 -18
- package/modern/lib/lodash/_mapCacheSet.js +0 -23
- package/modern/lib/lodash/_mapToArray.js +0 -19
- package/modern/lib/lodash/_nativeCreate.js +0 -7
- package/modern/lib/lodash/_nativeKeys.js +0 -7
- package/modern/lib/lodash/_nodeUtil.js +0 -24
- package/modern/lib/lodash/_objectToString.js +0 -24
- package/modern/lib/lodash/_overArg.js +0 -17
- package/modern/lib/lodash/_root.js +0 -10
- package/modern/lib/lodash/_setCacheAdd.js +0 -22
- package/modern/lib/lodash/_setCacheHas.js +0 -16
- package/modern/lib/lodash/_setToArray.js +0 -19
- package/modern/lib/lodash/_stackClear.js +0 -17
- package/modern/lib/lodash/_stackDelete.js +0 -19
- package/modern/lib/lodash/_stackGet.js +0 -16
- package/modern/lib/lodash/_stackHas.js +0 -16
- package/modern/lib/lodash/_stackSet.js +0 -40
- package/modern/lib/lodash/_toSource.js +0 -30
- package/modern/lib/lodash/date.default.js +0 -4
- package/modern/lib/lodash/date.js +0 -2
- package/modern/lib/lodash/eq.js +0 -39
- package/modern/lib/lodash/function.default.js +0 -4
- package/modern/lib/lodash/function.js +0 -2
- package/modern/lib/lodash/isArguments.js +0 -38
- package/modern/lib/lodash/isArray.js +0 -27
- package/modern/lib/lodash/isArrayLike.js +0 -35
- package/modern/lib/lodash/isBuffer.js +0 -39
- package/modern/lib/lodash/isDeepEqual.js +0 -45
- package/modern/lib/lodash/isFunction.js +0 -40
- package/modern/lib/lodash/isLength.js +0 -36
- package/modern/lib/lodash/isObject.js +0 -33
- package/modern/lib/lodash/isObjectLike.js +0 -31
- package/modern/lib/lodash/isSymbol.js +0 -30
- package/modern/lib/lodash/isTypedArray.js +0 -28
- package/modern/lib/lodash/keys.js +0 -39
- package/modern/lib/lodash/lang.default.js +0 -28
- package/modern/lib/lodash/lang.js +0 -14
- package/modern/lib/lodash/now.js +0 -25
- package/modern/lib/lodash/object.default.js +0 -4
- package/modern/lib/lodash/object.js +0 -2
- package/modern/lib/lodash/stubArray.js +0 -25
- package/modern/lib/lodash/stubFalse.js +0 -20
- package/modern/lib/lodash/toNumber.js +0 -70
- package/modern/lib/lodash/util.default.js +0 -6
- package/modern/lib/lodash/util.js +0 -3
- package/node/hooks/core/rowGroupsPreProcessing/index.js +0 -31
- package/node/hooks/core/rowGroupsPreProcessing/useGridRowGroupsPreProcessing.js +0 -87
- package/node/hooks/features/filter/useGridRegisterFilteringMethod.js +0 -24
- package/node/lib/lodash/_DataView.js +0 -20
- package/node/lib/lodash/_Hash.js +0 -48
- package/node/lib/lodash/_ListCache.js +0 -48
- package/node/lib/lodash/_Map.js +0 -20
- package/node/lib/lodash/_MapCache.js +0 -48
- package/node/lib/lodash/_Promise.js +0 -20
- package/node/lib/lodash/_Set.js +0 -20
- package/node/lib/lodash/_SetCache.js +0 -41
- package/node/lib/lodash/_Stack.js +0 -44
- package/node/lib/lodash/_Symbol.js +0 -18
- package/node/lib/lodash/_Uint8Array.js +0 -18
- package/node/lib/lodash/_WeakMap.js +0 -20
- package/node/lib/lodash/_arrayFilter.js +0 -35
- package/node/lib/lodash/_arrayLikeKeys.js +0 -62
- package/node/lib/lodash/_arrayPush.js +0 -29
- package/node/lib/lodash/_arraySome.js +0 -32
- package/node/lib/lodash/_assocIndexOf.js +0 -36
- package/node/lib/lodash/_baseGetAllKeys.js +0 -34
- package/node/lib/lodash/_baseGetTag.js +0 -42
- package/node/lib/lodash/_baseIsArguments.js +0 -32
- package/node/lib/lodash/_baseIsEqual.js +0 -44
- package/node/lib/lodash/_baseIsEqualDeep.js +0 -103
- package/node/lib/lodash/_baseIsNative.js +0 -61
- package/node/lib/lodash/_baseIsTypedArray.js +0 -62
- package/node/lib/lodash/_baseKeys.js +0 -47
- package/node/lib/lodash/_baseTimes.js +0 -29
- package/node/lib/lodash/_baseUnary.js +0 -22
- package/node/lib/lodash/_cacheHas.js +0 -21
- package/node/lib/lodash/_coreJsData.js +0 -18
- package/node/lib/lodash/_equalArrays.js +0 -97
- package/node/lib/lodash/_equalByTag.js +0 -133
- package/node/lib/lodash/_equalObjects.js +0 -103
- package/node/lib/lodash/_freeGlobal.js +0 -10
- package/node/lib/lodash/_getAllKeys.js +0 -31
- package/node/lib/lodash/_getMapData.js +0 -29
- package/node/lib/lodash/_getNative.js +0 -31
- package/node/lib/lodash/_getRawTag.js +0 -61
- package/node/lib/lodash/_getSymbols.js +0 -44
- package/node/lib/lodash/_getTag.js +0 -81
- package/node/lib/lodash/_getValue.js +0 -21
- package/node/lib/lodash/_hashClear.js +0 -28
- package/node/lib/lodash/_hashDelete.js +0 -25
- package/node/lib/lodash/_hashGet.js +0 -45
- package/node/lib/lodash/_hashHas.js +0 -36
- package/node/lib/lodash/_hashSet.js +0 -36
- package/node/lib/lodash/_isIndex.js +0 -28
- package/node/lib/lodash/_isKeyable.js +0 -21
- package/node/lib/lodash/_isMasked.js +0 -34
- package/node/lib/lodash/_isPrototype.js +0 -24
- package/node/lib/lodash/_listCacheClear.js +0 -21
- package/node/lib/lodash/_listCacheDelete.js +0 -51
- package/node/lib/lodash/_listCacheGet.js +0 -31
- package/node/lib/lodash/_listCacheHas.js +0 -29
- package/node/lib/lodash/_listCacheSet.js +0 -40
- package/node/lib/lodash/_mapCacheClear.js +0 -36
- package/node/lib/lodash/_mapCacheDelete.js +0 -31
- package/node/lib/lodash/_mapCacheGet.js +0 -29
- package/node/lib/lodash/_mapCacheHas.js +0 -29
- package/node/lib/lodash/_mapCacheSet.js +0 -34
- package/node/lib/lodash/_mapToArray.js +0 -25
- package/node/lib/lodash/_nativeCreate.js +0 -18
- package/node/lib/lodash/_nativeKeys.js +0 -18
- package/node/lib/lodash/_nodeUtil.js +0 -35
- package/node/lib/lodash/_objectToString.js +0 -29
- package/node/lib/lodash/_overArg.js +0 -23
- package/node/lib/lodash/_root.js +0 -21
- package/node/lib/lodash/_setCacheAdd.js +0 -27
- package/node/lib/lodash/_setCacheHas.js +0 -22
- package/node/lib/lodash/_setToArray.js +0 -25
- package/node/lib/lodash/_stackClear.js +0 -28
- package/node/lib/lodash/_stackDelete.js +0 -25
- package/node/lib/lodash/_stackGet.js +0 -22
- package/node/lib/lodash/_stackHas.js +0 -22
- package/node/lib/lodash/_stackSet.js +0 -53
- package/node/lib/lodash/_toSource.js +0 -35
- package/node/lib/lodash/date.default.js +0 -15
- package/node/lib/lodash/date.js +0 -23
- package/node/lib/lodash/eq.js +0 -45
- package/node/lib/lodash/function.default.js +0 -15
- package/node/lib/lodash/function.js +0 -23
- package/node/lib/lodash/isArguments.js +0 -50
- package/node/lib/lodash/isArray.js +0 -32
- package/node/lib/lodash/isArrayLike.js +0 -47
- package/node/lib/lodash/isBuffer.js +0 -51
- package/node/lib/lodash/isDeepEqual.js +0 -56
- package/node/lib/lodash/isFunction.js +0 -52
- package/node/lib/lodash/isLength.js +0 -41
- package/node/lib/lodash/isObject.js +0 -39
- package/node/lib/lodash/isObjectLike.js +0 -37
- package/node/lib/lodash/isSymbol.js +0 -42
- package/node/lib/lodash/isTypedArray.js +0 -41
- package/node/lib/lodash/keys.js +0 -52
- package/node/lib/lodash/lang.default.js +0 -51
- package/node/lib/lodash/lang.js +0 -119
- package/node/lib/lodash/now.js +0 -36
- package/node/lib/lodash/object.default.js +0 -15
- package/node/lib/lodash/object.js +0 -23
- package/node/lib/lodash/stubArray.js +0 -31
- package/node/lib/lodash/stubFalse.js +0 -26
- package/node/lib/lodash/toNumber.js +0 -82
- package/node/lib/lodash/util.default.js +0 -18
- package/node/lib/lodash/util.js +0 -31
package/modern/locales/plPL.js
CHANGED
|
@@ -24,7 +24,7 @@ const plPLGrid = {
|
|
|
24
24
|
toolbarExport: 'Eksportuj',
|
|
25
25
|
toolbarExportLabel: 'Eksportuj',
|
|
26
26
|
toolbarExportCSV: 'Pobierz jako plik CSV',
|
|
27
|
-
|
|
27
|
+
toolbarExportPrint: 'Drukuj',
|
|
28
28
|
// Columns panel text
|
|
29
29
|
columnsPanelTextFieldLabel: 'Znajdź kolumnę',
|
|
30
30
|
columnsPanelTextFieldPlaceholder: 'Tytuł kolumny',
|
|
@@ -34,7 +34,7 @@ const plPLGrid = {
|
|
|
34
34
|
// Filter panel text
|
|
35
35
|
filterPanelAddFilter: 'Dodaj filtr',
|
|
36
36
|
filterPanelDeleteIconLabel: 'Usuń',
|
|
37
|
-
|
|
37
|
+
filterPanelLinkOperator: 'Operator logiczny',
|
|
38
38
|
filterPanelOperators: 'Operator',
|
|
39
39
|
// TODO v6: rename to filterPanelOperator
|
|
40
40
|
filterPanelOperatorAnd: 'I',
|
|
@@ -55,11 +55,11 @@ const plPLGrid = {
|
|
|
55
55
|
filterOperatorOnOrBefore: 'mniejsze lub równe',
|
|
56
56
|
filterOperatorIsEmpty: 'jest pusty',
|
|
57
57
|
filterOperatorIsNotEmpty: 'nie jest pusty',
|
|
58
|
-
|
|
58
|
+
filterOperatorIsAnyOf: 'jest jednym z',
|
|
59
59
|
// Filter values text
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
60
|
+
filterValueAny: 'dowolny',
|
|
61
|
+
filterValueTrue: 'prawda',
|
|
62
|
+
filterValueFalse: 'fałsz',
|
|
63
63
|
// Column menu text
|
|
64
64
|
columnMenuLabel: 'Menu',
|
|
65
65
|
columnMenuShowColumns: 'Pokaż wszystkie kolumny',
|
|
@@ -79,30 +79,30 @@ const plPLGrid = {
|
|
|
79
79
|
// Total visible row amount footer text
|
|
80
80
|
footerTotalVisibleRows: (visibleCount, totalCount) => `${visibleCount.toLocaleString()} z ${totalCount.toLocaleString()}`,
|
|
81
81
|
// Checkbox selection text
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
82
|
+
checkboxSelectionHeaderName: 'Pole wyboru',
|
|
83
|
+
checkboxSelectionSelectAllRows: 'Zaznacz wszystkie wiersze',
|
|
84
|
+
checkboxSelectionUnselectAllRows: 'Odznacz wszystkie wiersze',
|
|
85
|
+
checkboxSelectionSelectRow: 'Zaznacz wiersz',
|
|
86
|
+
checkboxSelectionUnselectRow: 'Odznacz wiersz',
|
|
87
87
|
// Boolean cell text
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
booleanCellTrueLabel: 'tak',
|
|
89
|
+
booleanCellFalseLabel: 'nie',
|
|
90
90
|
// Actions cell more text
|
|
91
|
-
actionsCellMore: 'więcej'
|
|
92
|
-
//
|
|
93
|
-
|
|
94
|
-
|
|
91
|
+
actionsCellMore: 'więcej',
|
|
92
|
+
// Column pinning text
|
|
93
|
+
pinToLeft: 'Przypnij do lewej',
|
|
94
|
+
pinToRight: 'Przypnij do prawej',
|
|
95
|
+
unpin: 'Odepnij',
|
|
95
96
|
// Tree Data
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
97
|
+
treeDataGroupingHeaderName: 'Grupa',
|
|
98
|
+
treeDataExpand: 'pokaż elementy potomne',
|
|
99
|
+
treeDataCollapse: 'ukryj elementy potomne',
|
|
99
100
|
// Grouping columns
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
101
|
+
groupingColumnHeaderName: 'Grupa',
|
|
102
|
+
groupColumn: name => `Grupuj według ${name}`,
|
|
103
|
+
unGroupColumn: name => `Rozgrupuj ${name}`,
|
|
103
104
|
// Master/detail
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
105
|
+
expandDetailPanel: 'Rozwiń',
|
|
106
|
+
collapseDetailPanel: 'Zwiń'
|
|
107
107
|
};
|
|
108
108
|
export const plPL = getGridLocalization(plPLGrid, plPLCore);
|
|
@@ -65,7 +65,8 @@ var GridEvents;
|
|
|
65
65
|
GridEvents["pinnedColumnsChange"] = "pinnedColumnsChange";
|
|
66
66
|
GridEvents["preProcessorRegister"] = "preProcessorRegister";
|
|
67
67
|
GridEvents["preProcessorUnregister"] = "preProcessorUnregister";
|
|
68
|
-
GridEvents["
|
|
68
|
+
GridEvents["activeStrategyProcessorChange"] = "activeStrategyProcessorChange";
|
|
69
|
+
GridEvents["strategyAvailabilityChange"] = "strategyAvailabilityChange";
|
|
69
70
|
GridEvents["sortModelChange"] = "sortModelChange";
|
|
70
71
|
GridEvents["filterModelChange"] = "filterModelChange";
|
|
71
72
|
GridEvents["columnVisibilityModelChange"] = "columnVisibilityModelChange";
|
|
@@ -1 +1,34 @@
|
|
|
1
|
-
|
|
1
|
+
// TODO v6 - remove
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Params passed to `apiRef.current.setEditCellValue`.
|
|
5
|
+
*/
|
|
6
|
+
// TODO v6 - remove
|
|
7
|
+
// TODO v6 - remove
|
|
8
|
+
var GridCellEditStartReasons;
|
|
9
|
+
/**
|
|
10
|
+
* Params passed to the `cellEditStart` event.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
(function (GridCellEditStartReasons) {
|
|
14
|
+
GridCellEditStartReasons["enterKeyDown"] = "enterKeyDown";
|
|
15
|
+
GridCellEditStartReasons["cellDoubleClick"] = "cellDoubleClick";
|
|
16
|
+
GridCellEditStartReasons["printableKeyDown"] = "printableKeyDown";
|
|
17
|
+
GridCellEditStartReasons["deleteKeyDown"] = "deleteKeyDown";
|
|
18
|
+
})(GridCellEditStartReasons || (GridCellEditStartReasons = {}));
|
|
19
|
+
|
|
20
|
+
var GridCellEditStopReasons;
|
|
21
|
+
/**
|
|
22
|
+
* Params passed to the `cellEditStop event.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
(function (GridCellEditStopReasons) {
|
|
26
|
+
GridCellEditStopReasons["cellFocusOut"] = "cellFocusOut";
|
|
27
|
+
GridCellEditStopReasons["escapeKeyDown"] = "escapeKeyDown";
|
|
28
|
+
GridCellEditStopReasons["enterKeyDown"] = "enterKeyDown";
|
|
29
|
+
GridCellEditStopReasons["tabKeyDown"] = "tabKeyDown";
|
|
30
|
+
GridCellEditStopReasons["shiftTabKeyDown"] = "shiftTabKeyDown";
|
|
31
|
+
})(GridCellEditStopReasons || (GridCellEditStopReasons = {}));
|
|
32
|
+
|
|
33
|
+
// https://github.com/mui/mui-x/pull/3738#discussion_r798504277
|
|
34
|
+
export { GridCellEditStartReasons, GridCellEditStopReasons };
|
|
@@ -1 +1,39 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Object passed as parameter in the row callbacks.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Object passed as parameter in the row `getRowClassName` callback prop.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Object passed as parameter in the row `getRowHeight` callback prop.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* The getRowHeight return value.
|
|
15
|
+
*/
|
|
16
|
+
var GridRowEditStartReasons;
|
|
17
|
+
/**
|
|
18
|
+
* Params passed to the `rowEditStart` event.
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
(function (GridRowEditStartReasons) {
|
|
22
|
+
GridRowEditStartReasons["enterKeyDown"] = "enterKeyDown";
|
|
23
|
+
GridRowEditStartReasons["cellDoubleClick"] = "cellDoubleClick";
|
|
24
|
+
GridRowEditStartReasons["printableKeyDown"] = "printableKeyDown";
|
|
25
|
+
GridRowEditStartReasons["deleteKeyDown"] = "deleteKeyDown";
|
|
26
|
+
})(GridRowEditStartReasons || (GridRowEditStartReasons = {}));
|
|
27
|
+
|
|
28
|
+
var GridRowEditStopReasons;
|
|
29
|
+
|
|
30
|
+
(function (GridRowEditStopReasons) {
|
|
31
|
+
GridRowEditStopReasons["rowFocusOut"] = "rowFocusOut";
|
|
32
|
+
GridRowEditStopReasons["escapeKeyDown"] = "escapeKeyDown";
|
|
33
|
+
GridRowEditStopReasons["enterKeyDown"] = "enterKeyDown";
|
|
34
|
+
GridRowEditStopReasons["tabKeyDown"] = "tabKeyDown";
|
|
35
|
+
GridRowEditStopReasons["shiftTabKeyDown"] = "shiftTabKeyDown";
|
|
36
|
+
})(GridRowEditStopReasons || (GridRowEditStopReasons = {}));
|
|
37
|
+
|
|
38
|
+
// https://github.com/mui/mui-x/pull/3738#discussion_r798504277
|
|
39
|
+
export { GridRowEditStartReasons, GridRowEditStopReasons };
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
// If no effect ran after this amount of time, we assume that the render was not committed by React
|
|
2
2
|
const CLEANUP_TIMER_LOOP_MILLIS = 1000;
|
|
3
3
|
export class TimerBasedCleanupTracking {
|
|
4
|
-
constructor() {
|
|
4
|
+
constructor(timeout = CLEANUP_TIMER_LOOP_MILLIS) {
|
|
5
5
|
this.timeouts = new Map();
|
|
6
|
+
this.cleanupTimeout = CLEANUP_TIMER_LOOP_MILLIS;
|
|
7
|
+
this.cleanupTimeout = timeout;
|
|
6
8
|
}
|
|
7
9
|
|
|
8
10
|
register(object, unsubscribe, unregisterToken) {
|
|
@@ -16,7 +18,7 @@ export class TimerBasedCleanupTracking {
|
|
|
16
18
|
}
|
|
17
19
|
|
|
18
20
|
this.timeouts.delete(unregisterToken.cleanupToken);
|
|
19
|
-
},
|
|
21
|
+
}, this.cleanupTimeout);
|
|
20
22
|
this.timeouts.set(unregisterToken.cleanupToken, timeout);
|
|
21
23
|
}
|
|
22
24
|
|
package/modern/utils/utils.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import isDeepEqual from '../lib/lodash/isDeepEqual';
|
|
2
|
-
export { isDeepEqual };
|
|
3
1
|
export function isNumber(value) {
|
|
4
2
|
return typeof value === 'number';
|
|
5
3
|
}
|
|
@@ -30,4 +28,153 @@ export function escapeRegExp(value) {
|
|
|
30
28
|
* If min > max, then the min have priority
|
|
31
29
|
*/
|
|
32
30
|
|
|
33
|
-
export const clamp = (value, min, max) => Math.max(min, Math.min(max, value));
|
|
31
|
+
export const clamp = (value, min, max) => Math.max(min, Math.min(max, value));
|
|
32
|
+
/**
|
|
33
|
+
* Based on `fast-deep-equal`
|
|
34
|
+
*
|
|
35
|
+
* MIT License
|
|
36
|
+
*
|
|
37
|
+
* Copyright (c) 2017 Evgeny Poberezkin
|
|
38
|
+
*
|
|
39
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
40
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
41
|
+
* in the Software without restriction, including without limitation the rights
|
|
42
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
43
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
44
|
+
* furnished to do so, subject to the following conditions:
|
|
45
|
+
*
|
|
46
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
47
|
+
* copies or substantial portions of the Software.
|
|
48
|
+
*
|
|
49
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
50
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
51
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
52
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
53
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
54
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
55
|
+
* SOFTWARE.
|
|
56
|
+
* We only type the public interface to avoid dozens of `as` in the function.
|
|
57
|
+
*/
|
|
58
|
+
|
|
59
|
+
export function isDeepEqual(a, b) {
|
|
60
|
+
if (a === b) {
|
|
61
|
+
return true;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
if (a && b && typeof a === 'object' && typeof b === 'object') {
|
|
65
|
+
if (a.constructor !== b.constructor) {
|
|
66
|
+
return false;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
if (Array.isArray(a)) {
|
|
70
|
+
const length = a.length;
|
|
71
|
+
|
|
72
|
+
if (length !== b.length) {
|
|
73
|
+
return false;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
for (let i = 0; i < length; i += 1) {
|
|
77
|
+
if (!isDeepEqual(a[i], b[i])) {
|
|
78
|
+
return false;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
return true;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
if (a instanceof Map && b instanceof Map) {
|
|
86
|
+
if (a.size !== b.size) {
|
|
87
|
+
return false;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
const entriesA = Array.from(a.entries());
|
|
91
|
+
|
|
92
|
+
for (let i = 0; i < entriesA.length; i += 1) {
|
|
93
|
+
if (!b.has(entriesA[i][0])) {
|
|
94
|
+
return false;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
for (let i = 0; i < entriesA.length; i += 1) {
|
|
99
|
+
const entryA = entriesA[i];
|
|
100
|
+
|
|
101
|
+
if (!isDeepEqual(entryA[1], b.get(entryA[0]))) {
|
|
102
|
+
return false;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
return true;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
if (a instanceof Set && b instanceof Set) {
|
|
110
|
+
if (a.size !== b.size) {
|
|
111
|
+
return false;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
const entries = Array.from(a.entries());
|
|
115
|
+
|
|
116
|
+
for (let i = 0; i < entries.length; i += 1) {
|
|
117
|
+
if (!b.has(entries[i][0])) {
|
|
118
|
+
return false;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
return true;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
if (ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {
|
|
126
|
+
const length = a.length;
|
|
127
|
+
|
|
128
|
+
if (length !== b.length) {
|
|
129
|
+
return false;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
for (let i = 0; i < length; i += 1) {
|
|
133
|
+
if (a[i] !== b[i]) {
|
|
134
|
+
return false;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
return true;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
if (a.constructor === RegExp) {
|
|
142
|
+
return a.source === b.source && a.flags === b.flags;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
if (a.valueOf !== Object.prototype.valueOf) {
|
|
146
|
+
return a.valueOf() === b.valueOf();
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
if (a.toString !== Object.prototype.toString) {
|
|
150
|
+
return a.toString() === b.toString();
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
const keys = Object.keys(a);
|
|
154
|
+
const length = keys.length;
|
|
155
|
+
|
|
156
|
+
if (length !== Object.keys(b).length) {
|
|
157
|
+
return false;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
for (let i = 0; i < length; i += 1) {
|
|
161
|
+
if (!Object.prototype.hasOwnProperty.call(b, keys[i])) {
|
|
162
|
+
return false;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
for (let i = 0; i < length; i += 1) {
|
|
167
|
+
const key = keys[i];
|
|
168
|
+
|
|
169
|
+
if (!isDeepEqual(a[key], b[key])) {
|
|
170
|
+
return false;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
return true;
|
|
175
|
+
} // true if both NaN, false otherwise
|
|
176
|
+
// eslint-disable-next-line no-self-compare
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
return a !== a && b !== b;
|
|
180
|
+
}
|
|
@@ -206,6 +206,7 @@ DataGridRaw.propTypes = {
|
|
|
206
206
|
* For each feature, if the flag is not explicitly set to `true`, the feature will be fully disabled and any property / method call will not have any effect.
|
|
207
207
|
*/
|
|
208
208
|
experimentalFeatures: _propTypes.default.shape({
|
|
209
|
+
newEditingApi: _propTypes.default.bool,
|
|
209
210
|
preventCommitWhileValidating: _propTypes.default.bool,
|
|
210
211
|
warnIfFocusStateIsNotSynced: _propTypes.default.bool
|
|
211
212
|
}),
|
|
@@ -623,6 +624,15 @@ DataGridRaw.propTypes = {
|
|
|
623
624
|
*/
|
|
624
625
|
paginationMode: _propTypes.default.oneOf(['client', 'server']),
|
|
625
626
|
|
|
627
|
+
/**
|
|
628
|
+
* Callback called before updating a row with new values in the row and cell editing.
|
|
629
|
+
* Only applied if `props.experimentalFeatures.newEditingApi: true`.
|
|
630
|
+
* @param {GridRowModel} newRow Row object with the new values.
|
|
631
|
+
* @param {GridRowModel} oldRow Row object with the old values.
|
|
632
|
+
* @returns {Promise<GridRowModel> | GridRowModel} The final values to update the row.
|
|
633
|
+
*/
|
|
634
|
+
processRowUpdate: _propTypes.default.func,
|
|
635
|
+
|
|
626
636
|
/**
|
|
627
637
|
* Number of extra rows to be rendered before/after the visible slice.
|
|
628
638
|
* @default 3
|
|
@@ -33,10 +33,14 @@ var _useGridPagination = require("../hooks/features/pagination/useGridPagination
|
|
|
33
33
|
|
|
34
34
|
var _useGridPreferencesPanel = require("../hooks/features/preferencesPanel/useGridPreferencesPanel");
|
|
35
35
|
|
|
36
|
-
var _useGridEditing = require("../hooks/features/editRows/useGridEditing");
|
|
36
|
+
var _useGridEditing = require("../hooks/features/editRows/useGridEditing.old");
|
|
37
|
+
|
|
38
|
+
var _useGridEditing2 = require("../hooks/features/editRows/useGridEditing.new");
|
|
37
39
|
|
|
38
40
|
var _useGridRows = require("../hooks/features/rows/useGridRows");
|
|
39
41
|
|
|
42
|
+
var _useGridRowsPreProcessors = require("../hooks/features/rows/useGridRowsPreProcessors");
|
|
43
|
+
|
|
40
44
|
var _useGridParamsApi = require("../hooks/features/rows/useGridParamsApi");
|
|
41
45
|
|
|
42
46
|
var _useGridSelection = require("../hooks/features/selection/useGridSelection");
|
|
@@ -56,12 +60,15 @@ var _useGridRowsMeta = require("../hooks/features/rows/useGridRowsMeta");
|
|
|
56
60
|
var _useGridStatePersistence = require("../hooks/features/statePersistence/useGridStatePersistence");
|
|
57
61
|
|
|
58
62
|
const useDataGridComponent = props => {
|
|
63
|
+
var _props$experimentalFe, _props$experimentalFe2;
|
|
64
|
+
|
|
59
65
|
const apiRef = (0, _useGridInitialization.useGridInitialization)(undefined, props);
|
|
60
66
|
/**
|
|
61
67
|
* Register all pre-processors called during state initialization here.
|
|
62
68
|
*/
|
|
63
69
|
|
|
64
70
|
(0, _useGridSelectionPreProcessors.useGridSelectionPreProcessors)(apiRef, props);
|
|
71
|
+
(0, _useGridRowsPreProcessors.useGridRowsPreProcessors)(apiRef);
|
|
65
72
|
/**
|
|
66
73
|
* Register all state initializers here.
|
|
67
74
|
*/
|
|
@@ -69,7 +76,7 @@ const useDataGridComponent = props => {
|
|
|
69
76
|
(0, _useGridInitializeState.useGridInitializeState)(_useGridSelection.selectionStateInitializer, apiRef, props);
|
|
70
77
|
(0, _useGridInitializeState.useGridInitializeState)(_useGridColumns.columnsStateInitializer, apiRef, props);
|
|
71
78
|
(0, _useGridInitializeState.useGridInitializeState)(_useGridRows.rowsStateInitializer, apiRef, props);
|
|
72
|
-
(0, _useGridInitializeState.useGridInitializeState)(_useGridEditing.editingStateInitializer, apiRef, props);
|
|
79
|
+
(0, _useGridInitializeState.useGridInitializeState)((_props$experimentalFe = props.experimentalFeatures) != null && _props$experimentalFe.newEditingApi ? _useGridEditing2.editingStateInitializer : _useGridEditing.editingStateInitializer, apiRef, props);
|
|
73
80
|
(0, _useGridInitializeState.useGridInitializeState)(_useGridFocus.focusStateInitializer, apiRef, props);
|
|
74
81
|
(0, _useGridInitializeState.useGridInitializeState)(_useGridSorting.sortingStateInitializer, apiRef, props);
|
|
75
82
|
(0, _useGridInitializeState.useGridInitializeState)(_useGridPreferencesPanel.preferencePanelStateInitializer, apiRef, props);
|
|
@@ -82,7 +89,8 @@ const useDataGridComponent = props => {
|
|
|
82
89
|
(0, _useGridColumns.useGridColumns)(apiRef, props);
|
|
83
90
|
(0, _useGridRows.useGridRows)(apiRef, props);
|
|
84
91
|
(0, _useGridParamsApi.useGridParamsApi)(apiRef);
|
|
85
|
-
|
|
92
|
+
const useGridEditing = (_props$experimentalFe2 = props.experimentalFeatures) != null && _props$experimentalFe2.newEditingApi ? _useGridEditing2.useGridEditing : _useGridEditing.useGridEditing;
|
|
93
|
+
useGridEditing(apiRef, props);
|
|
86
94
|
(0, _useGridFocus.useGridFocus)(apiRef, props);
|
|
87
95
|
(0, _useGridSorting.useGridSorting)(apiRef, props);
|
|
88
96
|
(0, _useGridPreferencesPanel.useGridPreferencesPanel)(apiRef);
|
|
@@ -17,6 +17,10 @@ var _useGridApiContext = require("../hooks/utils/useGridApiContext");
|
|
|
17
17
|
|
|
18
18
|
var _GridOverlay = require("./containers/GridOverlay");
|
|
19
19
|
|
|
20
|
+
var _useGridSelector = require("../hooks/utils/useGridSelector");
|
|
21
|
+
|
|
22
|
+
var _densitySelector = require("../hooks/features/density/densitySelector");
|
|
23
|
+
|
|
20
24
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
21
25
|
|
|
22
26
|
const _excluded = ["message", "hasError", "errorInfo"];
|
|
@@ -33,8 +37,13 @@ const ErrorOverlay = /*#__PURE__*/React.forwardRef(function ErrorOverlay(props,
|
|
|
33
37
|
other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
|
|
34
38
|
const apiRef = (0, _useGridApiContext.useGridApiContext)();
|
|
35
39
|
const defaultLabel = apiRef.current.getLocaleText('errorOverlayDefaultLabel');
|
|
40
|
+
const rowHeight = (0, _useGridSelector.useGridSelector)(apiRef, _densitySelector.gridDensityRowHeightSelector);
|
|
36
41
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_GridOverlay.GridOverlay, (0, _extends2.default)({
|
|
37
|
-
ref: ref
|
|
42
|
+
ref: ref,
|
|
43
|
+
sx: {
|
|
44
|
+
width: '100%',
|
|
45
|
+
minHeight: 2 * rowHeight
|
|
46
|
+
}
|
|
38
47
|
}, other, {
|
|
39
48
|
children: message || defaultLabel
|
|
40
49
|
}));
|
|
@@ -11,6 +11,8 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
11
11
|
|
|
12
12
|
var React = _interopRequireWildcard(require("react"));
|
|
13
13
|
|
|
14
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
15
|
+
|
|
14
16
|
var _CircularProgress = _interopRequireDefault(require("@mui/material/CircularProgress"));
|
|
15
17
|
|
|
16
18
|
var _GridOverlay = require("./containers/GridOverlay");
|
|
@@ -28,4 +30,11 @@ const GridLoadingOverlay = /*#__PURE__*/React.forwardRef(function GridLoadingOve
|
|
|
28
30
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CircularProgress.default, {})
|
|
29
31
|
}));
|
|
30
32
|
});
|
|
31
|
-
exports.GridLoadingOverlay = GridLoadingOverlay;
|
|
33
|
+
exports.GridLoadingOverlay = GridLoadingOverlay;
|
|
34
|
+
process.env.NODE_ENV !== "production" ? GridLoadingOverlay.propTypes = {
|
|
35
|
+
// ----------------------------- Warning --------------------------------
|
|
36
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
37
|
+
// | To update them edit the TypeScript types and run "yarn proptypes" |
|
|
38
|
+
// ----------------------------------------------------------------------
|
|
39
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
|
|
40
|
+
} : void 0;
|
|
@@ -11,6 +11,8 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
11
11
|
|
|
12
12
|
var React = _interopRequireWildcard(require("react"));
|
|
13
13
|
|
|
14
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
15
|
+
|
|
14
16
|
var _useGridApiContext = require("../hooks/utils/useGridApiContext");
|
|
15
17
|
|
|
16
18
|
var _GridOverlay = require("./containers/GridOverlay");
|
|
@@ -30,4 +32,11 @@ const GridNoRowsOverlay = /*#__PURE__*/React.forwardRef(function GridNoRowsOverl
|
|
|
30
32
|
children: noRowsLabel
|
|
31
33
|
}));
|
|
32
34
|
});
|
|
33
|
-
exports.GridNoRowsOverlay = GridNoRowsOverlay;
|
|
35
|
+
exports.GridNoRowsOverlay = GridNoRowsOverlay;
|
|
36
|
+
process.env.NODE_ENV !== "production" ? GridNoRowsOverlay.propTypes = {
|
|
37
|
+
// ----------------------------- Warning --------------------------------
|
|
38
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
39
|
+
// | To update them edit the TypeScript types and run "yarn proptypes" |
|
|
40
|
+
// ----------------------------------------------------------------------
|
|
41
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
|
|
42
|
+
} : void 0;
|
|
@@ -13,8 +13,6 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
13
13
|
|
|
14
14
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
15
15
|
|
|
16
|
-
var _styles = require("@mui/material/styles");
|
|
17
|
-
|
|
18
16
|
var _useGridApiContext = require("../../hooks/utils/useGridApiContext");
|
|
19
17
|
|
|
20
18
|
var _useGridLogger = require("../../hooks/utils/useGridLogger");
|
|
@@ -25,23 +23,12 @@ var _ErrorBoundary = require("../ErrorBoundary");
|
|
|
25
23
|
|
|
26
24
|
var _useGridRootProps = require("../../hooks/utils/useGridRootProps");
|
|
27
25
|
|
|
28
|
-
var _GridAutoSizer = require("../GridAutoSizer");
|
|
29
|
-
|
|
30
|
-
var _gridEvents = require("../../models/events/gridEvents");
|
|
31
|
-
|
|
32
26
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
33
27
|
|
|
34
28
|
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); }
|
|
35
29
|
|
|
36
30
|
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; }
|
|
37
31
|
|
|
38
|
-
const ErrorOverlayWrapper = (0, _styles.styled)('div')({
|
|
39
|
-
position: 'absolute',
|
|
40
|
-
top: 0,
|
|
41
|
-
width: '100%',
|
|
42
|
-
height: '100%'
|
|
43
|
-
});
|
|
44
|
-
|
|
45
32
|
function GridErrorHandler(props) {
|
|
46
33
|
const {
|
|
47
34
|
children
|
|
@@ -50,28 +37,18 @@ function GridErrorHandler(props) {
|
|
|
50
37
|
const logger = (0, _useGridLogger.useGridLogger)(apiRef, 'GridErrorHandler');
|
|
51
38
|
const rootProps = (0, _useGridRootProps.useGridRootProps)();
|
|
52
39
|
const error = apiRef.current.state.error;
|
|
53
|
-
const handleResize = React.useCallback(size => {
|
|
54
|
-
apiRef.current.publishEvent(_gridEvents.GridEvents.resize, size);
|
|
55
|
-
}, [apiRef]);
|
|
56
40
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_ErrorBoundary.ErrorBoundary, {
|
|
57
41
|
hasError: error != null,
|
|
58
42
|
componentProps: error,
|
|
59
43
|
api: apiRef,
|
|
60
44
|
logger: logger,
|
|
61
|
-
render: errorProps =>
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(ErrorOverlayWrapper, {
|
|
70
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(rootProps.components.ErrorOverlay, (0, _extends2.default)({}, errorProps, (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.errorOverlay))
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
})
|
|
74
|
-
}),
|
|
45
|
+
render: errorProps => {
|
|
46
|
+
var _rootProps$components;
|
|
47
|
+
|
|
48
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_GridMainContainer.GridMainContainer, {
|
|
49
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(rootProps.components.ErrorOverlay, (0, _extends2.default)({}, errorProps, (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.errorOverlay))
|
|
50
|
+
});
|
|
51
|
+
},
|
|
75
52
|
children: children
|
|
76
53
|
});
|
|
77
54
|
}
|
|
@@ -26,7 +26,7 @@ var _useGridRootProps = require("../../hooks/utils/useGridRootProps");
|
|
|
26
26
|
|
|
27
27
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
28
28
|
|
|
29
|
-
const _excluded = ["id", "value", "formattedValue", "api", "field", "row", "rowNode", "colDef", "cellMode", "isEditable", "tabIndex", "className", "getValue", "hasFocus", "isValidating", "error"];
|
|
29
|
+
const _excluded = ["id", "value", "formattedValue", "api", "field", "row", "rowNode", "colDef", "cellMode", "isEditable", "tabIndex", "className", "getValue", "hasFocus", "isValidating", "isProcessingProps", "error"];
|
|
30
30
|
|
|
31
31
|
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); }
|
|
32
32
|
|
|
@@ -26,7 +26,7 @@ var _useGridRootProps = require("../../hooks/utils/useGridRootProps");
|
|
|
26
26
|
|
|
27
27
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
28
28
|
|
|
29
|
-
const _excluded = ["id", "value", "formattedValue", "api", "field", "row", "rowNode", "colDef", "cellMode", "isEditable", "tabIndex", "hasFocus", "getValue", "inputProps", "isValidating"];
|
|
29
|
+
const _excluded = ["id", "value", "formattedValue", "api", "field", "row", "rowNode", "colDef", "cellMode", "isEditable", "tabIndex", "hasFocus", "getValue", "inputProps", "isValidating", "isProcessingProps"];
|
|
30
30
|
|
|
31
31
|
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); }
|
|
32
32
|
|