refactor: add prettier and format
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
export interface IColgroup {
|
||||
id?: string;
|
||||
width: number;
|
||||
}
|
||||
id?: string
|
||||
width: number
|
||||
}
|
||||
|
||||
@@ -3,24 +3,24 @@ import { IElement, IElementPosition } from '../Element'
|
||||
import { IRow } from '../Row'
|
||||
|
||||
export interface ITd {
|
||||
id?: string;
|
||||
x?: number;
|
||||
y?: number;
|
||||
width?: number;
|
||||
height?: number;
|
||||
colspan: number;
|
||||
rowspan: number;
|
||||
value: IElement[];
|
||||
isLastRowTd?: boolean;
|
||||
isLastColTd?: boolean;
|
||||
isLastTd?: boolean;
|
||||
rowIndex?: number;
|
||||
colIndex?: number;
|
||||
rowList?: IRow[];
|
||||
positionList?: IElementPosition[];
|
||||
verticalAlign?: VerticalAlign;
|
||||
backgroundColor?: string;
|
||||
mainHeight?: number; // 内容 + 内边距高度
|
||||
realHeight?: number; // 真实高度(包含跨列)
|
||||
realMinHeight?: number; // 真实最小高度(包含跨列)
|
||||
}
|
||||
id?: string
|
||||
x?: number
|
||||
y?: number
|
||||
width?: number
|
||||
height?: number
|
||||
colspan: number
|
||||
rowspan: number
|
||||
value: IElement[]
|
||||
isLastRowTd?: boolean
|
||||
isLastColTd?: boolean
|
||||
isLastTd?: boolean
|
||||
rowIndex?: number
|
||||
colIndex?: number
|
||||
rowList?: IRow[]
|
||||
positionList?: IElementPosition[]
|
||||
verticalAlign?: VerticalAlign
|
||||
backgroundColor?: string
|
||||
mainHeight?: number // 内容 + 内边距高度
|
||||
realHeight?: number // 真实高度(包含跨列)
|
||||
realMinHeight?: number // 真实最小高度(包含跨列)
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { ITd } from './Td'
|
||||
|
||||
export interface ITr {
|
||||
id?: string;
|
||||
height: number;
|
||||
tdList: ITd[];
|
||||
minHeight?: number;
|
||||
}
|
||||
id?: string
|
||||
height: number
|
||||
tdList: ITd[]
|
||||
minHeight?: number
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user