@odoo/o-spreadsheet
Version:
A spreadsheet component
10 lines (9 loc) • 861 B
TypeScript
import { CellPosition, UID, Zone } from "../types/misc";
import { Range } from "../types/range";
import { ComputedTableStyle, CoreTable, Filter, StaticTable, Table, TableConfig, TableMetaData, TableStyle } from "../types/table";
/** Return the content zone of the table, ie. the table zone without the headers */
export declare function getTableContentZone(tableZone: Zone, tableConfig: TableConfig): Zone | undefined;
export declare function getTableTopLeft(table: Table | CoreTable): CellPosition;
export declare function createFilter(id: UID, range: Range, config: TableConfig, createRange: (sheetId: UID, zone: Zone) => Range): Filter;
export declare function isStaticTable(table: CoreTable): table is StaticTable;
export declare function getComputedTableStyle(tableConfig: TableConfig, style: TableStyle, tableMetaData: TableMetaData): ComputedTableStyle;