@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
Parameter | Type |
---|---|
injector | Injector |
unitId | string |
subUnitId | string |
ranges | IRange [] |
Returns
{
setRangeValueRedoMutation: {
id: string;
params: ISetRangeValuesMutationParams;
};
setRangeValueUndoMutation: {
id: string;
params: ISetRangeValuesMutationParams;
};
shouldClear: boolean;
}
Name | Type | Default value | Defined in |
---|---|---|---|
setRangeValueRedoMutation | { id : string ; params : ISetRangeValuesMutationParams ; } | - | packages/sheets-pivot/src/util.ts:720 |
setRangeValueRedoMutation.id | string | SetRangeValuesMutation.id | packages/sheets-pivot/src/util.ts:720 |
setRangeValueRedoMutation.params | ISetRangeValuesMutationParams | clearMutationParams | packages/sheets-pivot/src/util.ts:720 |
setRangeValueUndoMutation | { id : string ; params : ISetRangeValuesMutationParams ; } | - | packages/sheets-pivot/src/util.ts:719 |
setRangeValueUndoMutation.id | string | SetRangeValuesMutation.id | packages/sheets-pivot/src/util.ts:719 |
setRangeValueUndoMutation.params | ISetRangeValuesMutationParams | undoClearMutationParams | packages/sheets-pivot/src/util.ts:719 |
shouldClear | boolean | - | packages/sheets-pivot/src/util.ts:721 |