数通智联化工云平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

10 lines
829 B

import type { SpanningCellConfig } from './types/api';
import type { BaseConfig, CellCoordinates, RangeCoordinate } from './types/internal';
export declare const sequence: (start: number, end: number) => number[];
export declare const sumArray: (array: number[]) => number;
export declare const extractTruncates: (config: BaseConfig) => number[];
export declare const flatten: <T>(array: T[][]) => T[];
export declare const findOriginalRowIndex: (mappedRowHeights: number[], mappedRowIndex: number) => number;
export declare const calculateRangeCoordinate: (spanningCellConfig: SpanningCellConfig) => RangeCoordinate;
export declare const areCellEqual: (cell1: CellCoordinates, cell2: CellCoordinates) => boolean;
export declare const isCellInRange: (cell: CellCoordinates, { topLeft, bottomRight }: RangeCoordinate) => boolean;