UNPKG

@univerjs-pro/sheets-pivot

Version:

Univer Sheets Pivot Table

22 lines (21 loc) 1.31 kB
import { PivotView } from '@univerjs-pro/engine-pivot'; import { IMutationInfo, Disposable, Injector, IUniverInstanceService, LocaleService } from '@univerjs/core'; import { IPivotCellPositionInfo } from '../const/type'; import { SheetInterceptorService } from '@univerjs/sheets'; import { SheetsPivotTableConfigModel } from '../models/sheets-pivot-config-model'; import { SheetsPivotTableService } from '../services/sheets-pivot-table.service'; export declare class SheetsPivotTableInterceptController extends Disposable { private readonly _localeService; private readonly _sheetInterceptorService; private readonly _injector; private readonly _univerInstanceService; private readonly _sheetsPivotTableConfigModel; private readonly _sheetsPivotTableService; constructor(_localeService: LocaleService, _sheetInterceptorService: SheetInterceptorService, _injector: Injector, _univerInstanceService: IUniverInstanceService, _sheetsPivotTableConfigModel: SheetsPivotTableConfigModel, _sheetsPivotTableService: SheetsPivotTableService); private _getPivotAppliedRanges; private _initCommandInterceptListener; getAutoFitColumnsMutations(view: PivotView, cellInfo: IPivotCellPositionInfo): { undos: IMutationInfo<object>[]; redos: IMutationInfo<object>[]; }; }