feat: set control highlight rule #332

This commit is contained in:
Hufe921
2023-12-16 18:32:52 +08:00
parent 285aeec2f6
commit b6fe21230b
10 changed files with 231 additions and 8 deletions
+13
View File
@@ -22,6 +22,17 @@ export interface IControlCheckbox {
checkbox?: ICheckbox
}
export interface IControlHighlightRule {
keyword: string
alpha?: number
backgroundColor?: string
}
export interface IControlHighlight {
ruleList: IControlHighlightRule[]
conceptId: string
}
export interface IControlRule {
deletable?: boolean
disabled?: boolean
@@ -108,3 +119,5 @@ export interface ISetControlExtensionOption {
conceptId: string
extension: unknown
}
export type ISetControlHighlightOption = IControlHighlight[]