@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/lib/lodash/now.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export default now;
|
|
2
|
-
/**
|
|
3
|
-
* Gets the timestamp of the number of milliseconds that have elapsed since
|
|
4
|
-
* the Unix epoch (1 January 1970 00:00:00 UTC).
|
|
5
|
-
*
|
|
6
|
-
* @static
|
|
7
|
-
* @memberOf _
|
|
8
|
-
* @since 2.4.0
|
|
9
|
-
* @category Date
|
|
10
|
-
* @returns {number} Returns the timestamp.
|
|
11
|
-
* @example
|
|
12
|
-
*
|
|
13
|
-
* _.defer(function(stamp) {
|
|
14
|
-
* console.log(_.now() - stamp);
|
|
15
|
-
* }, _.now());
|
|
16
|
-
* // => Logs the number of milliseconds it took for the deferred invocation.
|
|
17
|
-
*/
|
|
18
|
-
declare function now(): number;
|
package/lib/lodash/now.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import root from './_root.js';
|
|
2
|
-
'use strict';
|
|
3
|
-
/**
|
|
4
|
-
* Gets the timestamp of the number of milliseconds that have elapsed since
|
|
5
|
-
* the Unix epoch (1 January 1970 00:00:00 UTC).
|
|
6
|
-
*
|
|
7
|
-
* @static
|
|
8
|
-
* @memberOf _
|
|
9
|
-
* @since 2.4.0
|
|
10
|
-
* @category Date
|
|
11
|
-
* @returns {number} Returns the timestamp.
|
|
12
|
-
* @example
|
|
13
|
-
*
|
|
14
|
-
* _.defer(function(stamp) {
|
|
15
|
-
* console.log(_.now() - stamp);
|
|
16
|
-
* }, _.now());
|
|
17
|
-
* // => Logs the number of milliseconds it took for the deferred invocation.
|
|
18
|
-
*/
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
var now = function () {
|
|
22
|
-
return root.Date.now();
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
export default now;
|
package/lib/lodash/object.d.ts
DELETED
package/lib/lodash/object.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export default stubArray;
|
|
2
|
-
/**
|
|
3
|
-
* This method returns a new empty array.
|
|
4
|
-
*
|
|
5
|
-
* @static
|
|
6
|
-
* @memberOf _
|
|
7
|
-
* @since 4.13.0
|
|
8
|
-
* @category Util
|
|
9
|
-
* @returns {Array} Returns the new empty array.
|
|
10
|
-
* @example
|
|
11
|
-
*
|
|
12
|
-
* var arrays = _.times(2, _.stubArray);
|
|
13
|
-
*
|
|
14
|
-
* console.log(arrays);
|
|
15
|
-
* // => [[], []]
|
|
16
|
-
*
|
|
17
|
-
* console.log(arrays[0] === arrays[1]);
|
|
18
|
-
* // => false
|
|
19
|
-
*/
|
|
20
|
-
declare function stubArray(): any[];
|
package/lib/lodash/stubArray.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
/**
|
|
3
|
-
* This method returns a new empty array.
|
|
4
|
-
*
|
|
5
|
-
* @static
|
|
6
|
-
* @memberOf _
|
|
7
|
-
* @since 4.13.0
|
|
8
|
-
* @category Util
|
|
9
|
-
* @returns {Array} Returns the new empty array.
|
|
10
|
-
* @example
|
|
11
|
-
*
|
|
12
|
-
* var arrays = _.times(2, _.stubArray);
|
|
13
|
-
*
|
|
14
|
-
* console.log(arrays);
|
|
15
|
-
* // => [[], []]
|
|
16
|
-
*
|
|
17
|
-
* console.log(arrays[0] === arrays[1]);
|
|
18
|
-
* // => false
|
|
19
|
-
*/
|
|
20
|
-
|
|
21
|
-
function stubArray() {
|
|
22
|
-
return [];
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export default stubArray;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export default stubFalse;
|
|
2
|
-
/**
|
|
3
|
-
* This method returns `false`.
|
|
4
|
-
*
|
|
5
|
-
* @static
|
|
6
|
-
* @memberOf _
|
|
7
|
-
* @since 4.13.0
|
|
8
|
-
* @category Util
|
|
9
|
-
* @returns {boolean} Returns `false`.
|
|
10
|
-
* @example
|
|
11
|
-
*
|
|
12
|
-
* _.times(2, _.stubFalse);
|
|
13
|
-
* // => [false, false]
|
|
14
|
-
*/
|
|
15
|
-
declare function stubFalse(): boolean;
|
package/lib/lodash/stubFalse.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
/**
|
|
3
|
-
* This method returns `false`.
|
|
4
|
-
*
|
|
5
|
-
* @static
|
|
6
|
-
* @memberOf _
|
|
7
|
-
* @since 4.13.0
|
|
8
|
-
* @category Util
|
|
9
|
-
* @returns {boolean} Returns `false`.
|
|
10
|
-
* @example
|
|
11
|
-
*
|
|
12
|
-
* _.times(2, _.stubFalse);
|
|
13
|
-
* // => [false, false]
|
|
14
|
-
*/
|
|
15
|
-
|
|
16
|
-
function stubFalse() {
|
|
17
|
-
return false;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export default stubFalse;
|
package/lib/lodash/toNumber.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export default toNumber;
|
|
2
|
-
/**
|
|
3
|
-
* Converts `value` to a number.
|
|
4
|
-
*
|
|
5
|
-
* @static
|
|
6
|
-
* @memberOf _
|
|
7
|
-
* @since 4.0.0
|
|
8
|
-
* @category Lang
|
|
9
|
-
* @param {*} value The value to process.
|
|
10
|
-
* @returns {number} Returns the number.
|
|
11
|
-
* @example
|
|
12
|
-
*
|
|
13
|
-
* _.toNumber(3.2);
|
|
14
|
-
* // => 3.2
|
|
15
|
-
*
|
|
16
|
-
* _.toNumber(Number.MIN_VALUE);
|
|
17
|
-
* // => 5e-324
|
|
18
|
-
*
|
|
19
|
-
* _.toNumber(Infinity);
|
|
20
|
-
* // => Infinity
|
|
21
|
-
*
|
|
22
|
-
* _.toNumber('3.2');
|
|
23
|
-
* // => 3.2
|
|
24
|
-
*/
|
|
25
|
-
declare function toNumber(value: any): number;
|
package/lib/lodash/toNumber.js
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import isObject from './isObject.js';
|
|
2
|
-
import isSymbol from './isSymbol.js';
|
|
3
|
-
'use strict';
|
|
4
|
-
/** Used as references for various `Number` constants. */
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var NAN = 0 / 0;
|
|
8
|
-
/** Used to match leading and trailing whitespace. */
|
|
9
|
-
|
|
10
|
-
var reTrim = /^\s+|\s+$/g;
|
|
11
|
-
/** Used to detect bad signed hexadecimal string values. */
|
|
12
|
-
|
|
13
|
-
var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
|
|
14
|
-
/** Used to detect binary string values. */
|
|
15
|
-
|
|
16
|
-
var reIsBinary = /^0b[01]+$/i;
|
|
17
|
-
/** Used to detect octal string values. */
|
|
18
|
-
|
|
19
|
-
var reIsOctal = /^0o[0-7]+$/i;
|
|
20
|
-
/** Built-in method references without a dependency on `root`. */
|
|
21
|
-
|
|
22
|
-
var freeParseInt = parseInt;
|
|
23
|
-
/**
|
|
24
|
-
* Converts `value` to a number.
|
|
25
|
-
*
|
|
26
|
-
* @static
|
|
27
|
-
* @memberOf _
|
|
28
|
-
* @since 4.0.0
|
|
29
|
-
* @category Lang
|
|
30
|
-
* @param {*} value The value to process.
|
|
31
|
-
* @returns {number} Returns the number.
|
|
32
|
-
* @example
|
|
33
|
-
*
|
|
34
|
-
* _.toNumber(3.2);
|
|
35
|
-
* // => 3.2
|
|
36
|
-
*
|
|
37
|
-
* _.toNumber(Number.MIN_VALUE);
|
|
38
|
-
* // => 5e-324
|
|
39
|
-
*
|
|
40
|
-
* _.toNumber(Infinity);
|
|
41
|
-
* // => Infinity
|
|
42
|
-
*
|
|
43
|
-
* _.toNumber('3.2');
|
|
44
|
-
* // => 3.2
|
|
45
|
-
*/
|
|
46
|
-
|
|
47
|
-
function toNumber(value) {
|
|
48
|
-
if (typeof value == 'number') {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
if (isSymbol(value)) {
|
|
53
|
-
return NAN;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
if (isObject(value)) {
|
|
57
|
-
var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
|
|
58
|
-
value = isObject(other) ? other + '' : other;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
if (typeof value != 'string') {
|
|
62
|
-
return value === 0 ? value : +value;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
value = value.replace(reTrim, '');
|
|
66
|
-
var isBinary = reIsBinary.test(value);
|
|
67
|
-
return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export default toNumber;
|
package/lib/lodash/util.d.ts
DELETED
package/lib/lodash/util.js
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { GridEvents } from '../../../models/events';
|
|
3
|
-
import { useGridApiMethod } from '../../utils/useGridApiMethod';
|
|
4
|
-
|
|
5
|
-
const getFlatRowTree = ({
|
|
6
|
-
ids,
|
|
7
|
-
idRowsLookup,
|
|
8
|
-
previousTree
|
|
9
|
-
}) => {
|
|
10
|
-
const tree = {};
|
|
11
|
-
|
|
12
|
-
for (let i = 0; i < ids.length; i += 1) {
|
|
13
|
-
const rowId = ids[i];
|
|
14
|
-
|
|
15
|
-
if (previousTree && previousTree[rowId]) {
|
|
16
|
-
tree[rowId] = previousTree[rowId];
|
|
17
|
-
} else {
|
|
18
|
-
tree[rowId] = {
|
|
19
|
-
id: rowId,
|
|
20
|
-
depth: 0,
|
|
21
|
-
parent: null,
|
|
22
|
-
groupingKey: '',
|
|
23
|
-
groupingField: null
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
return {
|
|
29
|
-
groupingName: 'none',
|
|
30
|
-
tree,
|
|
31
|
-
treeDepth: 1,
|
|
32
|
-
idRowsLookup,
|
|
33
|
-
ids
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
export const useGridRowGroupsPreProcessing = apiRef => {
|
|
38
|
-
const rowGroupsPreProcessingRef = React.useRef(new Map());
|
|
39
|
-
const registerRowGroupsBuilder = React.useCallback((processingName, rowGroupingPreProcessing) => {
|
|
40
|
-
const rowGroupingPreProcessingBefore = rowGroupsPreProcessingRef.current.get(processingName) ?? null;
|
|
41
|
-
|
|
42
|
-
if (rowGroupingPreProcessingBefore !== rowGroupingPreProcessing) {
|
|
43
|
-
rowGroupsPreProcessingRef.current.set(processingName, rowGroupingPreProcessing);
|
|
44
|
-
apiRef.current.publishEvent(GridEvents.rowGroupsPreProcessingChange);
|
|
45
|
-
}
|
|
46
|
-
}, [apiRef]);
|
|
47
|
-
const groupRows = React.useCallback((...params) => {
|
|
48
|
-
let response = null;
|
|
49
|
-
const preProcessingList = Array.from(rowGroupsPreProcessingRef.current.values());
|
|
50
|
-
|
|
51
|
-
while (!response && preProcessingList.length) {
|
|
52
|
-
const preProcessing = preProcessingList.shift();
|
|
53
|
-
|
|
54
|
-
if (preProcessing) {
|
|
55
|
-
response = preProcessing(...params);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
if (!response) {
|
|
60
|
-
return getFlatRowTree(...params);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
return response;
|
|
64
|
-
}, []);
|
|
65
|
-
const rowGroupsPreProcessingApi = {
|
|
66
|
-
unstable_registerRowGroupsBuilder: registerRowGroupsBuilder,
|
|
67
|
-
unstable_groupRows: groupRows
|
|
68
|
-
};
|
|
69
|
-
useGridApiMethod(apiRef, rowGroupsPreProcessingApi, 'GridRowGroupsPreProcessing');
|
|
70
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { useGridRegisterPreProcessor } from '../../core/preProcessing';
|
|
3
|
-
export const useGridRegisterFilteringMethod = (apiRef, groupingName, filteringMethod) => {
|
|
4
|
-
const updateRegistration = React.useCallback(filteringMethodCollection => {
|
|
5
|
-
filteringMethodCollection[groupingName] = filteringMethod;
|
|
6
|
-
return filteringMethodCollection;
|
|
7
|
-
}, [groupingName, filteringMethod]);
|
|
8
|
-
useGridRegisterPreProcessor(apiRef, 'filteringMethod', updateRegistration);
|
|
9
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { useGridRegisterPreProcessor } from '../../core/preProcessing';
|
|
3
|
-
export const useGridRegisterSortingMethod = (apiRef, groupingName, filteringMethod) => {
|
|
4
|
-
const updateRegistration = React.useCallback(sortingMethodCollection => {
|
|
5
|
-
sortingMethodCollection[groupingName] = filteringMethod;
|
|
6
|
-
return sortingMethodCollection;
|
|
7
|
-
}, [groupingName, filteringMethod]);
|
|
8
|
-
useGridRegisterPreProcessor(apiRef, 'sortingMethod', updateRegistration);
|
|
9
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import hashClear from './_hashClear.js';
|
|
2
|
-
import hashDelete from './_hashDelete.js';
|
|
3
|
-
import hashGet from './_hashGet.js';
|
|
4
|
-
import hashHas from './_hashHas.js';
|
|
5
|
-
import hashSet from './_hashSet.js';
|
|
6
|
-
'use strict';
|
|
7
|
-
/**
|
|
8
|
-
* Creates a hash object.
|
|
9
|
-
*
|
|
10
|
-
* @private
|
|
11
|
-
* @constructor
|
|
12
|
-
* @param {Array} [entries] The key-value pairs to cache.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
function Hash(entries) {
|
|
17
|
-
var index = -1,
|
|
18
|
-
length = entries == null ? 0 : entries.length;
|
|
19
|
-
this.clear();
|
|
20
|
-
|
|
21
|
-
while (++index < length) {
|
|
22
|
-
var entry = entries[index];
|
|
23
|
-
this.set(entry[0], entry[1]);
|
|
24
|
-
}
|
|
25
|
-
} // Add methods to `Hash`.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
Hash.prototype.clear = hashClear;
|
|
29
|
-
Hash.prototype['delete'] = hashDelete;
|
|
30
|
-
Hash.prototype.get = hashGet;
|
|
31
|
-
Hash.prototype.has = hashHas;
|
|
32
|
-
Hash.prototype.set = hashSet;
|
|
33
|
-
export default Hash;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import listCacheClear from './_listCacheClear.js';
|
|
2
|
-
import listCacheDelete from './_listCacheDelete.js';
|
|
3
|
-
import listCacheGet from './_listCacheGet.js';
|
|
4
|
-
import listCacheHas from './_listCacheHas.js';
|
|
5
|
-
import listCacheSet from './_listCacheSet.js';
|
|
6
|
-
'use strict';
|
|
7
|
-
/**
|
|
8
|
-
* Creates an list cache object.
|
|
9
|
-
*
|
|
10
|
-
* @private
|
|
11
|
-
* @constructor
|
|
12
|
-
* @param {Array} [entries] The key-value pairs to cache.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
function ListCache(entries) {
|
|
17
|
-
var index = -1,
|
|
18
|
-
length = entries == null ? 0 : entries.length;
|
|
19
|
-
this.clear();
|
|
20
|
-
|
|
21
|
-
while (++index < length) {
|
|
22
|
-
var entry = entries[index];
|
|
23
|
-
this.set(entry[0], entry[1]);
|
|
24
|
-
}
|
|
25
|
-
} // Add methods to `ListCache`.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
ListCache.prototype.clear = listCacheClear;
|
|
29
|
-
ListCache.prototype['delete'] = listCacheDelete;
|
|
30
|
-
ListCache.prototype.get = listCacheGet;
|
|
31
|
-
ListCache.prototype.has = listCacheHas;
|
|
32
|
-
ListCache.prototype.set = listCacheSet;
|
|
33
|
-
export default ListCache;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import mapCacheClear from './_mapCacheClear.js';
|
|
2
|
-
import mapCacheDelete from './_mapCacheDelete.js';
|
|
3
|
-
import mapCacheGet from './_mapCacheGet.js';
|
|
4
|
-
import mapCacheHas from './_mapCacheHas.js';
|
|
5
|
-
import mapCacheSet from './_mapCacheSet.js';
|
|
6
|
-
'use strict';
|
|
7
|
-
/**
|
|
8
|
-
* Creates a map cache object to store key-value pairs.
|
|
9
|
-
*
|
|
10
|
-
* @private
|
|
11
|
-
* @constructor
|
|
12
|
-
* @param {Array} [entries] The key-value pairs to cache.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
function MapCache(entries) {
|
|
17
|
-
var index = -1,
|
|
18
|
-
length = entries == null ? 0 : entries.length;
|
|
19
|
-
this.clear();
|
|
20
|
-
|
|
21
|
-
while (++index < length) {
|
|
22
|
-
var entry = entries[index];
|
|
23
|
-
this.set(entry[0], entry[1]);
|
|
24
|
-
}
|
|
25
|
-
} // Add methods to `MapCache`.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
MapCache.prototype.clear = mapCacheClear;
|
|
29
|
-
MapCache.prototype['delete'] = mapCacheDelete;
|
|
30
|
-
MapCache.prototype.get = mapCacheGet;
|
|
31
|
-
MapCache.prototype.has = mapCacheHas;
|
|
32
|
-
MapCache.prototype.set = mapCacheSet;
|
|
33
|
-
export default MapCache;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import MapCache from './_MapCache.js';
|
|
2
|
-
import setCacheAdd from './_setCacheAdd.js';
|
|
3
|
-
import setCacheHas from './_setCacheHas.js';
|
|
4
|
-
'use strict';
|
|
5
|
-
/**
|
|
6
|
-
*
|
|
7
|
-
* Creates an array cache object to store unique values.
|
|
8
|
-
*
|
|
9
|
-
* @private
|
|
10
|
-
* @constructor
|
|
11
|
-
* @param {Array} [values] The values to cache.
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
function SetCache(values) {
|
|
16
|
-
var index = -1,
|
|
17
|
-
length = values == null ? 0 : values.length;
|
|
18
|
-
this.__data__ = new MapCache();
|
|
19
|
-
|
|
20
|
-
while (++index < length) {
|
|
21
|
-
this.add(values[index]);
|
|
22
|
-
}
|
|
23
|
-
} // Add methods to `SetCache`.
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
|
|
27
|
-
SetCache.prototype.has = setCacheHas;
|
|
28
|
-
export default SetCache;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import ListCache from './_ListCache.js';
|
|
2
|
-
import stackClear from './_stackClear.js';
|
|
3
|
-
import stackDelete from './_stackDelete.js';
|
|
4
|
-
import stackGet from './_stackGet.js';
|
|
5
|
-
import stackHas from './_stackHas.js';
|
|
6
|
-
import stackSet from './_stackSet.js';
|
|
7
|
-
'use strict';
|
|
8
|
-
/**
|
|
9
|
-
* Creates a stack cache object to store key-value pairs.
|
|
10
|
-
*
|
|
11
|
-
* @private
|
|
12
|
-
* @constructor
|
|
13
|
-
* @param {Array} [entries] The key-value pairs to cache.
|
|
14
|
-
*/
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
function Stack(entries) {
|
|
18
|
-
var data = this.__data__ = new ListCache(entries);
|
|
19
|
-
this.size = data.size;
|
|
20
|
-
} // Add methods to `Stack`.
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
Stack.prototype.clear = stackClear;
|
|
24
|
-
Stack.prototype['delete'] = stackDelete;
|
|
25
|
-
Stack.prototype.get = stackGet;
|
|
26
|
-
Stack.prototype.has = stackHas;
|
|
27
|
-
Stack.prototype.set = stackSet;
|
|
28
|
-
export default Stack;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
/**
|
|
3
|
-
* A specialized version of `_.filter` for arrays without support for
|
|
4
|
-
* iteratee shorthands.
|
|
5
|
-
*
|
|
6
|
-
* @private
|
|
7
|
-
* @param {Array} [array] The array to iterate over.
|
|
8
|
-
* @param {Function} predicate The function invoked per iteration.
|
|
9
|
-
* @returns {Array} Returns the new filtered array.
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
function arrayFilter(array, predicate) {
|
|
13
|
-
var index = -1,
|
|
14
|
-
length = array == null ? 0 : array.length,
|
|
15
|
-
resIndex = 0,
|
|
16
|
-
result = [];
|
|
17
|
-
|
|
18
|
-
while (++index < length) {
|
|
19
|
-
var value = array[index];
|
|
20
|
-
|
|
21
|
-
if (predicate(value, index, array)) {
|
|
22
|
-
result[resIndex++] = value;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
return result;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export default arrayFilter;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import baseTimes from './_baseTimes.js';
|
|
2
|
-
import isArguments from './isArguments.js';
|
|
3
|
-
import isArray from './isArray.js';
|
|
4
|
-
import isBuffer from './isBuffer.js';
|
|
5
|
-
import isIndex from './_isIndex.js';
|
|
6
|
-
import isTypedArray from './isTypedArray.js';
|
|
7
|
-
'use strict';
|
|
8
|
-
/** Used for built-in method references. */
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var objectProto = Object.prototype;
|
|
12
|
-
/** Used to check objects for own properties. */
|
|
13
|
-
|
|
14
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
15
|
-
/**
|
|
16
|
-
* Creates an array of the enumerable property names of the array-like `value`.
|
|
17
|
-
*
|
|
18
|
-
* @private
|
|
19
|
-
* @param {*} value The value to query.
|
|
20
|
-
* @param {boolean} inherited Specify returning inherited property names.
|
|
21
|
-
* @returns {Array} Returns the array of property names.
|
|
22
|
-
*/
|
|
23
|
-
|
|
24
|
-
function arrayLikeKeys(value, inherited) {
|
|
25
|
-
var isArr = isArray(value),
|
|
26
|
-
isArg = !isArr && isArguments(value),
|
|
27
|
-
isBuff = !isArr && !isArg && isBuffer(value),
|
|
28
|
-
isType = !isArr && !isArg && !isBuff && isTypedArray(value),
|
|
29
|
-
skipIndexes = isArr || isArg || isBuff || isType,
|
|
30
|
-
result = skipIndexes ? baseTimes(value.length, String) : [],
|
|
31
|
-
length = result.length;
|
|
32
|
-
|
|
33
|
-
for (var key in value) {
|
|
34
|
-
if ((inherited || hasOwnProperty.call(value, key)) && !(skipIndexes && ( // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
35
|
-
key == 'length' || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
36
|
-
isBuff && (key == 'offset' || key == 'parent') || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
37
|
-
isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset') || // Skip index properties.
|
|
38
|
-
isIndex(key, length)))) {
|
|
39
|
-
result.push(key);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
return result;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export default arrayLikeKeys;
|