@univerjs-prosheets-pivotindexfunctionsGeneratesetrangevaluemutations

@univerjs-pro/sheets-pivot v0.5.0-beta.1Docs


Function: generateSetRangeValueMutations()

function generateSetRangeValueMutations(
   injector, 
   unitId, 
   subUnitId, 
   ranges): {
  setRangeValueRedoMutation: {
     id: SetRangeValuesMutation.id;
     params: clearMutationParams;
    };
  setRangeValueUndoMutation: {
     id: SetRangeValuesMutation.id;
     params: undoClearMutationParams;
    };
  shouldClear: boolean;
}

Parameters

ParameterType
injectorInjector
unitIdstring
subUnitIdstring
rangesIRange[]

Returns

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

Defined in

packages/sheets-pivot/src/util.ts:694