@univerjs-pro/sheets-pivot
Version:
Pivot table integration for Univer Sheets.
15 lines (14 loc) • 729 B
TypeScript
import type { IPivotTableChangeSet } from '@univerjs-pro/engine-pivot';
import type { IAccessor, ICommandService, IMutationInfo } from '@univerjs/core';
import type { IPivotGeneratedMutationsParams } from '../../const/type';
interface IPivotHostInfo {
pivotTableId: string;
unitId: string;
subUnitId: string;
}
export declare function applyChangeSet(_commandService: ICommandService, pivotInfo: IPivotHostInfo, changesets: IPivotTableChangeSet[]): {
redos: IMutationInfo<object>[];
undos: IMutationInfo<object>[];
};
export declare function generateMutationsFromPivotCommand(accessor: IAccessor, params: IPivotGeneratedMutationsParams): import("@univerjs/core").IUndoRedoCommandInfosByInterceptor;
export {};