This commit is contained in:
2023-08-11 10:45:20 +08:00
commit 161ca982f3
31850 changed files with 2706500 additions and 0 deletions

21
node_modules/table/dist/src/spanningCellManager.d.ts generated vendored Normal file
View File

@ -0,0 +1,21 @@
import type { DrawHorizontalLine, DrawVerticalLine, SpanningCellConfig } from './types/api';
import type { CellCoordinates, ColumnConfig, ResolvedRangeConfig, Row } from './types/internal';
export declare type SpanningCellManager = {
getContainingRange: (cell: CellCoordinates, options?: {
mapped: true;
}) => ResolvedRangeConfig | undefined;
inSameRange: (cell1: CellCoordinates, cell2: CellCoordinates) => boolean;
rowHeights: number[];
setRowHeights: (rowHeights: number[]) => void;
};
export declare type SpanningCellParameters = {
spanningCellConfigs: SpanningCellConfig[];
rows: Row[];
columnsConfig: ColumnConfig[];
drawVerticalLine: DrawVerticalLine;
drawHorizontalLine: DrawHorizontalLine;
};
export declare type SpanningCellContext = SpanningCellParameters & {
rowHeights: number[];
};
export declare const createSpanningCellManager: (parameters: SpanningCellParameters) => SpanningCellManager;