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.

38 lines
772 B

import { IElement } from '..'
import { IElementPosition } from './Element'
import { ITd } from './table/Td'
export interface ICurrentPosition {
index: number;
isControl?: boolean;
isImage?: boolean;
isTable?: boolean;
isDirectHit?: boolean;
trIndex?: number;
tdIndex?: number;
tdValueIndex?: number;
tdId?: string;
trId?: string;
tableId?: string;
}
export interface IGetPositionByXYPayload {
x: number;
y: number;
isTable?: boolean;
td?: ITd;
tablePosition?: IElementPosition;
elementList?: IElement[];
positionList?: IElementPosition[];
}
export interface IPositionContext {
isTable: boolean;
isControl?: boolean;
index?: number;
trIndex?: number;
tdIndex?: number;
tdId?: string;
trId?: string;
tableId?: string;
}