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.
58 lines
1.1 KiB
58 lines
1.1 KiB
import { EditorMode, EditorZone } from '../dataset/enum/Editor'
|
|
import { IElement, IElementPosition } from './Element'
|
|
import { IRow } from './Row'
|
|
|
|
export interface IDrawOption {
|
|
curIndex?: number
|
|
isSetCursor?: boolean
|
|
isSubmitHistory?: boolean
|
|
isCompute?: boolean
|
|
isLazy?: boolean
|
|
isInit?: boolean
|
|
isSourceHistory?: boolean
|
|
}
|
|
|
|
export interface IForceUpdateOption {
|
|
isSubmitHistory?: boolean
|
|
}
|
|
|
|
export interface IDrawImagePayload {
|
|
width: number
|
|
height: number
|
|
value: string
|
|
}
|
|
|
|
export interface IDrawRowPayload {
|
|
elementList: IElement[]
|
|
positionList: IElementPosition[]
|
|
rowList: IRow[]
|
|
pageNo: number
|
|
startIndex: number
|
|
innerWidth: number
|
|
zone?: EditorZone
|
|
}
|
|
|
|
export interface IDrawPagePayload {
|
|
elementList: IElement[]
|
|
positionList: IElementPosition[]
|
|
rowList: IRow[]
|
|
pageNo: number
|
|
}
|
|
|
|
export interface IPainterOption {
|
|
isDblclick: boolean
|
|
}
|
|
|
|
export interface IGetValueOption {
|
|
pageNo?: number
|
|
}
|
|
|
|
export interface IAppendElementListOption {
|
|
isPrepend?: boolean
|
|
}
|
|
|
|
export interface IGetImageOption {
|
|
pixelRatio?: number
|
|
mode?: EditorMode
|
|
}
|