Sha256: 740818053992c6dd9634c478042c95f3bf382d7ac3276b7d04ac18ff4c2e6899

Contents?: true

Size: 957 Bytes

Versions: 1

Compression:

Stored size: 957 Bytes

Contents

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;

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
trusty-cms-6.3.1 node_modules/table/dist/src/spanningCellManager.d.ts