refactor: add prettier and format
This commit is contained in:
@@ -5,56 +5,56 @@ import { IRow } from './Row'
|
||||
import { ITd } from './table/Td'
|
||||
|
||||
export interface ICurrentPosition {
|
||||
index: number;
|
||||
isCheckbox?: boolean;
|
||||
isControl?: boolean;
|
||||
isImage?: boolean;
|
||||
isTable?: boolean;
|
||||
isDirectHit?: boolean;
|
||||
trIndex?: number;
|
||||
tdIndex?: number;
|
||||
tdValueIndex?: number;
|
||||
tdId?: string;
|
||||
trId?: string;
|
||||
tableId?: string;
|
||||
zone?: EditorZone;
|
||||
index: number
|
||||
isCheckbox?: boolean
|
||||
isControl?: boolean
|
||||
isImage?: boolean
|
||||
isTable?: boolean
|
||||
isDirectHit?: boolean
|
||||
trIndex?: number
|
||||
tdIndex?: number
|
||||
tdValueIndex?: number
|
||||
tdId?: string
|
||||
trId?: string
|
||||
tableId?: string
|
||||
zone?: EditorZone
|
||||
}
|
||||
|
||||
export interface IGetPositionByXYPayload {
|
||||
x: number;
|
||||
y: number;
|
||||
isTable?: boolean;
|
||||
td?: ITd;
|
||||
tablePosition?: IElementPosition;
|
||||
elementList?: IElement[];
|
||||
positionList?: IElementPosition[];
|
||||
x: number
|
||||
y: number
|
||||
isTable?: boolean
|
||||
td?: ITd
|
||||
tablePosition?: IElementPosition
|
||||
elementList?: IElement[]
|
||||
positionList?: IElementPosition[]
|
||||
}
|
||||
|
||||
export interface IPositionContext {
|
||||
isTable: boolean;
|
||||
isCheckbox?: boolean;
|
||||
isControl?: boolean;
|
||||
index?: number;
|
||||
trIndex?: number;
|
||||
tdIndex?: number;
|
||||
tdId?: string;
|
||||
trId?: string;
|
||||
tableId?: string;
|
||||
isTable: boolean
|
||||
isCheckbox?: boolean
|
||||
isControl?: boolean
|
||||
index?: number
|
||||
trIndex?: number
|
||||
tdIndex?: number
|
||||
tdId?: string
|
||||
trId?: string
|
||||
tableId?: string
|
||||
}
|
||||
|
||||
export interface IComputePageRowPositionPayload {
|
||||
positionList: IElementPosition[];
|
||||
rowList: IRow[];
|
||||
pageNo: number;
|
||||
startRowIndex: number;
|
||||
startIndex: number;
|
||||
startX: number;
|
||||
startY: number;
|
||||
innerWidth: number;
|
||||
positionList: IElementPosition[]
|
||||
rowList: IRow[]
|
||||
pageNo: number
|
||||
startRowIndex: number
|
||||
startIndex: number
|
||||
startX: number
|
||||
startY: number
|
||||
innerWidth: number
|
||||
}
|
||||
|
||||
export interface IComputePageRowPositionResult {
|
||||
x: number;
|
||||
y: number;
|
||||
index: number;
|
||||
}
|
||||
x: number
|
||||
y: number
|
||||
index: number
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user