feat: add control indentation option #345
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { ControlType } from '../dataset/enum/Control'
|
||||
import { ControlType, ControlIndentation } from '../dataset/enum/Control'
|
||||
import { ICheckbox } from './Checkbox'
|
||||
import { IElement } from './Element'
|
||||
import { IRange } from './Range'
|
||||
@@ -36,6 +36,7 @@ export interface IControlBasic {
|
||||
minWidth?: number
|
||||
underline?: boolean
|
||||
extension?: unknown
|
||||
indentation?: ControlIndentation
|
||||
}
|
||||
|
||||
export type IControl = IControlBasic &
|
||||
|
||||
@@ -43,6 +43,11 @@ export interface IPositionContext {
|
||||
tableId?: string
|
||||
}
|
||||
|
||||
export interface IComputeRowPositionPayload {
|
||||
row: IRow
|
||||
innerWidth: number
|
||||
}
|
||||
|
||||
export interface IComputePageRowPositionPayload {
|
||||
positionList: IElementPosition[]
|
||||
rowList: IRow[]
|
||||
|
||||
Reference in New Issue
Block a user