UNPKG

@univerjs-pro/sheets-pivot

Version:

Pivot table integration for Univer Sheets.

24 lines (23 loc) 1.48 kB
import type { IMutationInfo } from '@univerjs/core'; import type { IMoveRangeCommandParams } from '@univerjs/sheets'; import { Disposable, DisposableCollection, ICommandService, Injector, IUniverInstanceService } from '@univerjs/core'; import { 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[]; }; }