@univerjs-pro/sheets-pivot
Version:
Pivot table integration for Univer Sheets.
9 lines (8 loc) • 503 B
TypeScript
import type { IPivotViewValueType, PivotTable, PivotView } from '@univerjs-pro/engine-pivot';
import type { IPivotTableCubeConfig } from './type';
export declare const DEFAULT_DATE_FORMAT = "YYYY-MM-DD";
export declare function unixToExcel(unixTimestamp: number): number;
export declare function generatePivotViewDimensionArr(pivot: PivotTable, view: PivotView, isZhCN: boolean, config: IPivotTableCubeConfig): {
dataArr: IPivotViewValueType[][];
dataArrWithSplit: IPivotViewValueType[][][];
};