bc-pivot-table
Version:
25 lines (24 loc) • 670 B
TypeScript
interface treeItemObj {
children: treeItemObj[];
index?: number;
label?: string;
path?: string;
width?: number;
childrenWidth?: number;
}
interface bodyCol {
value: number | string;
width: number;
}
interface itemObj {
label: string;
width?: number;
height?: number;
}
declare function getRightData(treeList: treeItemObj[], lastLinkTree: treeItemObj[][], cellStyleOps: any, rowBodyList: itemObj[][], treeDataMap: Map<string, Map<string, number | string>>): {
rightSumList: number[];
bottomSumList: number[];
rightSumWidth: number;
bodyDataList: bodyCol[][];
};
export { getRightData };