feat: add getTitleValue api #536
This commit is contained in:
@@ -10,6 +10,7 @@ import { ICheckbox } from './Checkbox'
|
||||
import { IControl } from './Control'
|
||||
import { IRadio } from './Radio'
|
||||
import { ITextDecoration } from './Text'
|
||||
import { ITitle } from './Title'
|
||||
import { IColgroup } from './table/Colgroup'
|
||||
import { ITr } from './table/Tr'
|
||||
|
||||
@@ -45,6 +46,7 @@ export interface ITitleElement {
|
||||
valueList?: IElement[]
|
||||
level?: TitleLevel
|
||||
titleId?: string
|
||||
title?: ITitle
|
||||
}
|
||||
|
||||
export interface IListElement {
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
import { EditorZone } from '../dataset/enum/Editor'
|
||||
import { IElement } from './Element'
|
||||
|
||||
export interface ITitleSizeOption {
|
||||
defaultFirstSize?: number
|
||||
defaultSecondSize?: number
|
||||
@@ -8,3 +11,17 @@ export interface ITitleSizeOption {
|
||||
}
|
||||
|
||||
export type ITitleOption = ITitleSizeOption & {}
|
||||
|
||||
export interface ITitle {
|
||||
conceptId?: string
|
||||
}
|
||||
|
||||
export interface IGetTitleValueOption {
|
||||
conceptId: string
|
||||
}
|
||||
|
||||
export type IGetTitleValueResult = (ITitle & {
|
||||
value: string | null
|
||||
elementList: IElement[]
|
||||
zone: EditorZone
|
||||
})[]
|
||||
|
||||
Reference in New Issue
Block a user