UNPKG

@univerjs-pro/sheets-pivot

Version:

Univer Sheets Pivot Table

17 lines (16 loc) 642 B
import { PivotView } from '@univerjs-pro/engine-pivot'; import { Nullable, ObjectMatrix } from '@univerjs/core'; import { IPivotCellPositionInfo, IPivotRangesInfo, IPivotTableCellData } from '../const/type'; export interface IViewTranslateCtx { view: Nullable<PivotView>; pivotTableId: string; isEmpty: boolean; targetCellInfo: IPivotCellPositionInfo; textInfo: Record<string, string>; } interface IViewTranslateResult { matrix: ObjectMatrix<Nullable<IPivotTableCellData>>; rangesCache: IPivotRangesInfo; } export declare const adjustViewForCalcEngine: (ctx: IViewTranslateCtx) => IViewTranslateResult; export {};