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.
36 lines
726 B
36 lines
726 B
import { IElement } from ".."
|
|
import { IElementPosition } from "./Element"
|
|
import { ITd } from "./table/Td"
|
|
|
|
export interface ICurrentPosition {
|
|
index: number;
|
|
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;
|
|
index?: number;
|
|
trIndex?: number;
|
|
tdIndex?: number;
|
|
tdId?: string;
|
|
trId?: string;
|
|
tableId?: string;
|
|
} |