import { Cell, Style, Border, Row, Col } from '@wolf-table/table-renderer'; import Cells, { cellValue, cellValueString } from './cells'; import { scrollx, scrolly, scrollResetRows, scrollResetCols } from './scroll'; import { isMerged, merge, unmerge, rangeUnoinMerges } from './merge'; import { addStyle, clearStyles } from './style'; import { addBorder, clearBorder, clearBorders } from './border'; import { col, colWidth, colsWidth, isLastCol, stepColIndex } from './col'; import { row, rowHeight, rowsHeight, isLastRow, stepRowIndex } from './row'; import { copy } from './copy'; export type DataRow = Row; export type DataRows = { len: number; [key: number]: DataRow; }; export type DataCol = Col; export type DataCols = { len: number; [key: number]: DataCol; }; export type DataCell = Cell; export type IndexDataCell = [number, number, DataCell]; export type DataCellValue = string | number | null | undefined; export type TableData = { rows: DataRows; cols: DataCols; rowHeight: number; colWidth: number; scroll: [number, number, number, number]; // rows, cols, x, y style: Style; styles: Partial