UNPKG

@univerjs-pro/sheets-pivot

Version:

Univer Sheets Pivot Table

22 lines (21 loc) 1.4 kB
import { IMutationInfo, Disposable, DisposableCollection, ICommandService, Injector, IUniverInstanceService } from '@univerjs/core'; import { IMoveRangeCommandParams, RefRangeService, SheetInterceptorService } from '@univerjs/sheets'; import { SheetsPivotTableConfigModel } from '../models/sheets-pivot-config-model'; import { SheetsPivotTableAdaptorModel } from '../models/sheets-pivot-table-adaptor-model'; export declare class SheetsPivotRefRangeController extends Disposable { private readonly _injector; private readonly _refRangeService; private readonly _commandService; private readonly _univerInstanceService; private readonly _sheetsPivotTableConfigModel; private readonly _sheetsPivotTableAdaptorModel; private readonly _sheetInterceptorService; disposableCollection: DisposableCollection; constructor(_injector: Injector, _refRangeService: RefRangeService, _commandService: ICommandService, _univerInstanceService: IUniverInstanceService, _sheetsPivotTableConfigModel: SheetsPivotTableConfigModel, _sheetsPivotTableAdaptorModel: SheetsPivotTableAdaptorModel, _sheetInterceptorService: SheetInterceptorService); private _onRefRangeChange; private _refRangeHandle; getRefRangeMutationsByMoveRange(params: IMoveRangeCommandParams, unitId: string, subUnitId: string): { redos: IMutationInfo[]; undos: IMutationInfo[]; }; }