@univerjs-prosheets-pivotindexfunctionsGeneratesetrangevaluemutations

@univerjs-pro/sheets-pivot v0.5.4


Function: generateSetRangeValueMutations()

function generateSetRangeValueMutations(
   injector, 
   unitId, 
   subUnitId, 
   ranges): {
  setRangeValueRedoMutation: {
     id: string;
     params: ISetRangeValuesMutationParams;
    };
  setRangeValueUndoMutation: {
     id: string;
     params: ISetRangeValuesMutationParams;
    };
  shouldClear: boolean;
}

Defined in: packages/sheets-pivot/src/util.ts:695

Parameters

ParameterType
injectorInjector
unitIdstring
subUnitIdstring
rangesIRange[]

Returns

{
  setRangeValueRedoMutation: {
     id: string;
     params: ISetRangeValuesMutationParams;
    };
  setRangeValueUndoMutation: {
     id: string;
     params: ISetRangeValuesMutationParams;
    };
  shouldClear: boolean;
}
NameTypeDefault valueDefined in
setRangeValueRedoMutation{ id: string; params: ISetRangeValuesMutationParams; }-packages/sheets-pivot/src/util.ts:720
setRangeValueRedoMutation.idstringSetRangeValuesMutation.idpackages/sheets-pivot/src/util.ts:720
setRangeValueRedoMutation.paramsISetRangeValuesMutationParamsclearMutationParamspackages/sheets-pivot/src/util.ts:720
setRangeValueUndoMutation{ id: string; params: ISetRangeValuesMutationParams; }-packages/sheets-pivot/src/util.ts:719
setRangeValueUndoMutation.idstringSetRangeValuesMutation.idpackages/sheets-pivot/src/util.ts:719
setRangeValueUndoMutation.paramsISetRangeValuesMutationParamsundoClearMutationParamspackages/sheets-pivot/src/util.ts:719
shouldClearboolean-packages/sheets-pivot/src/util.ts:721