feat: add date control #601
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
import { ControlType, ControlIndentation } from '../dataset/enum/Control'
|
||||
import { EditorZone } from '../dataset/enum/Editor'
|
||||
import { MoveDirection } from '../dataset/enum/Observer'
|
||||
import { ICheckbox } from './Checkbox'
|
||||
import { IDrawOption } from './Draw'
|
||||
import { IElement } from './Element'
|
||||
import { IPositionContext } from './Position'
|
||||
import { IRadio } from './Radio'
|
||||
import { IRange } from './Range'
|
||||
|
||||
export interface IValueSet {
|
||||
@@ -23,13 +21,15 @@ export interface IControlCheckbox {
|
||||
min?: number
|
||||
max?: number
|
||||
valueSets: IValueSet[]
|
||||
checkbox?: ICheckbox
|
||||
}
|
||||
|
||||
export interface IControlRadio {
|
||||
code: string | null
|
||||
valueSets: IValueSet[]
|
||||
radio?: IRadio
|
||||
}
|
||||
|
||||
export interface IControlDate {
|
||||
dateFormat?: string
|
||||
}
|
||||
|
||||
export interface IControlHighlightRule {
|
||||
@@ -73,10 +73,11 @@ export interface IControlStyle {
|
||||
|
||||
export type IControl = IControlBasic &
|
||||
IControlRule &
|
||||
Partial<IControlStyle> &
|
||||
Partial<IControlSelect> &
|
||||
Partial<IControlCheckbox> &
|
||||
Partial<IControlRadio> &
|
||||
Partial<IControlStyle>
|
||||
Partial<IControlDate>
|
||||
|
||||
export interface IControlOption {
|
||||
placeholderColor?: string
|
||||
|
||||
Reference in New Issue
Block a user