projects/ng-dynamic-forms/core/src/lib/model/editor/dynamic-editor.model.ts
constructor(config: DynamicEditorModelConfig, layout?: DynamicFormControlLayout)
|
|||||||||
|
Parameters :
|
| Readonly type |
Type : string
|
Default value : DYNAMIC_FORM_CONTROL_TYPE_EDITOR
|
Decorators :
@serializable()
|
| autoComplete |
Type : string
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:21
|
| autoFocus |
Type : boolean
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:22
|
| maxLength |
Type : number | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:23
|
| minLength |
Type : number | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:24
|
| placeholder |
Type : string
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:25
|
| prefix |
Type : string | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:26
|
| readOnly |
Type : boolean
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:27
|
| spellCheck |
Type : boolean
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:28
|
| suffix |
Type : string | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:29
|
| Private _value |
Type : T | null
|
Decorators :
@serializable('value')
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:22
|
| additional |
Type : literal type | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:18
|
| hint |
Type : string | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:19
|
| required |
Type : boolean
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:20
|
| tabIndex |
Type : number | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:21
|
| Private Readonly value$ |
Type : BehaviorSubject<T>
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:24
|
| Readonly valueChanges |
Type : Observable<T>
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:26
|
| _disabled |
Type : boolean
|
Decorators :
@serializable('disabled')
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:28
|
| asyncValidators |
Type : DynamicValidatorsConfig | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:27
|
| controlTooltip |
Type : string | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:34
|
| Private Readonly disabled$ |
Type : BehaviorSubject<boolean>
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:42
|
| Readonly disabledChanges |
Type : Observable<boolean>
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:44
|
| errorMessages |
Type : DynamicValidatorsConfig | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:29
|
| hidden |
Type : boolean
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:30
|
| id |
Type : string
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:31
|
| label |
Type : string | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:32
|
| labelTooltip |
Type : string | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:33
|
| layout |
Type : DynamicFormControlLayout | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:35
|
| name |
Type : string
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:36
|
| parent |
Type : DynamicPathable | null
|
Default value : null
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:37
|
| relations |
Type : DynamicFormControlRelation[]
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:38
|
| Abstract Readonly type |
Type : string
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:46
|
| updateOn |
Type : DynamicFormHook | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:39
|
| validators |
Type : DynamicValidatorsConfig | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:40
|
| _disabled |
Type : boolean
|
Decorators :
@serializable('disabled')
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:28
|
| asyncValidators |
Type : DynamicValidatorsConfig | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:27
|
| controlTooltip |
Type : string | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:34
|
| Private Readonly disabled$ |
Type : BehaviorSubject<boolean>
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:42
|
| Readonly disabledChanges |
Type : Observable<boolean>
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:44
|
| errorMessages |
Type : DynamicValidatorsConfig | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:29
|
| hidden |
Type : boolean
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:30
|
| id |
Type : string
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:31
|
| label |
Type : string | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:32
|
| labelTooltip |
Type : string | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:33
|
| layout |
Type : DynamicFormControlLayout | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:35
|
| name |
Type : string
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:36
|
| parent |
Type : DynamicPathable | null
|
Default value : null
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:37
|
| relations |
Type : DynamicFormControlRelation[]
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:38
|
| Abstract Readonly type |
Type : string
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:46
|
| updateOn |
Type : DynamicFormHook | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:39
|
| validators |
Type : DynamicValidatorsConfig | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:40
|
| Private _value |
Type : T | null
|
Decorators :
@serializable('value')
|
|
Inherited from
DynamicFormValueControlModel
|
|
Defined in
DynamicFormValueControlModel:22
|
| additional |
Type : literal type | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicFormValueControlModel
|
|
Defined in
DynamicFormValueControlModel:18
|
| hint |
Type : string | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicFormValueControlModel
|
|
Defined in
DynamicFormValueControlModel:19
|
| required |
Type : boolean
|
Decorators :
@serializable()
|
|
Inherited from
DynamicFormValueControlModel
|
|
Defined in
DynamicFormValueControlModel:20
|
| tabIndex |
Type : number | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicFormValueControlModel
|
|
Defined in
DynamicFormValueControlModel:21
|
| Private Readonly value$ |
Type : BehaviorSubject<T>
|
|
Inherited from
DynamicFormValueControlModel
|
|
Defined in
DynamicFormValueControlModel:24
|
| Readonly valueChanges |
Type : Observable<T>
|
|
Inherited from
DynamicFormValueControlModel
|
|
Defined in
DynamicFormValueControlModel:26
|
| _disabled |
Type : boolean
|
Decorators :
@serializable('disabled')
|
|
Inherited from
DynamicFormValueControlModel
|
|
Defined in
DynamicFormValueControlModel:28
|
| asyncValidators |
Type : DynamicValidatorsConfig | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicFormValueControlModel
|
|
Defined in
DynamicFormValueControlModel:27
|
| controlTooltip |
Type : string | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicFormValueControlModel
|
|
Defined in
DynamicFormValueControlModel:34
|
| Private Readonly disabled$ |
Type : BehaviorSubject<boolean>
|
|
Inherited from
DynamicFormValueControlModel
|
|
Defined in
DynamicFormValueControlModel:42
|
| Readonly disabledChanges |
Type : Observable<boolean>
|
|
Inherited from
DynamicFormValueControlModel
|
|
Defined in
DynamicFormValueControlModel:44
|
| errorMessages |
Type : DynamicValidatorsConfig | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicFormValueControlModel
|
|
Defined in
DynamicFormValueControlModel:29
|
| hidden |
Type : boolean
|
Decorators :
@serializable()
|
|
Inherited from
DynamicFormValueControlModel
|
|
Defined in
DynamicFormValueControlModel:30
|
| id |
Type : string
|
Decorators :
@serializable()
|
|
Inherited from
DynamicFormValueControlModel
|
|
Defined in
DynamicFormValueControlModel:31
|
| label |
Type : string | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicFormValueControlModel
|
|
Defined in
DynamicFormValueControlModel:32
|
| labelTooltip |
Type : string | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicFormValueControlModel
|
|
Defined in
DynamicFormValueControlModel:33
|
| layout |
Type : DynamicFormControlLayout | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicFormValueControlModel
|
|
Defined in
DynamicFormValueControlModel:35
|
| name |
Type : string
|
Decorators :
@serializable()
|
|
Inherited from
DynamicFormValueControlModel
|
|
Defined in
DynamicFormValueControlModel:36
|
| parent |
Type : DynamicPathable | null
|
Default value : null
|
|
Inherited from
DynamicFormValueControlModel
|
|
Defined in
DynamicFormValueControlModel:37
|
| relations |
Type : DynamicFormControlRelation[]
|
Decorators :
@serializable()
|
|
Inherited from
DynamicFormValueControlModel
|
|
Defined in
DynamicFormValueControlModel:38
|
| Abstract Readonly type |
Type : string
|
|
Inherited from
DynamicFormValueControlModel
|
|
Defined in
DynamicFormValueControlModel:46
|
| updateOn |
Type : DynamicFormHook | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicFormValueControlModel
|
|
Defined in
DynamicFormValueControlModel:39
|
| validators |
Type : DynamicValidatorsConfig | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicFormValueControlModel
|
|
Defined in
DynamicFormValueControlModel:40
|
| _disabled |
Type : boolean
|
Decorators :
@serializable('disabled')
|
|
Inherited from
DynamicFormControlModel
|
|
Defined in
DynamicFormControlModel:28
|
| asyncValidators |
Type : DynamicValidatorsConfig | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicFormControlModel
|
|
Defined in
DynamicFormControlModel:27
|
| controlTooltip |
Type : string | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicFormControlModel
|
|
Defined in
DynamicFormControlModel:34
|
| Private Readonly disabled$ |
Type : BehaviorSubject<boolean>
|
|
Inherited from
DynamicFormControlModel
|
|
Defined in
DynamicFormControlModel:42
|
| Readonly disabledChanges |
Type : Observable<boolean>
|
|
Inherited from
DynamicFormControlModel
|
|
Defined in
DynamicFormControlModel:44
|
| errorMessages |
Type : DynamicValidatorsConfig | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicFormControlModel
|
|
Defined in
DynamicFormControlModel:29
|
| hidden |
Type : boolean
|
Decorators :
@serializable()
|
|
Inherited from
DynamicFormControlModel
|
|
Defined in
DynamicFormControlModel:30
|
| id |
Type : string
|
Decorators :
@serializable()
|
|
Inherited from
DynamicFormControlModel
|
|
Defined in
DynamicFormControlModel:31
|
| label |
Type : string | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicFormControlModel
|
|
Defined in
DynamicFormControlModel:32
|
| labelTooltip |
Type : string | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicFormControlModel
|
|
Defined in
DynamicFormControlModel:33
|
| layout |
Type : DynamicFormControlLayout | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicFormControlModel
|
|
Defined in
DynamicFormControlModel:35
|
| name |
Type : string
|
Decorators :
@serializable()
|
|
Inherited from
DynamicFormControlModel
|
|
Defined in
DynamicFormControlModel:36
|
| parent |
Type : DynamicPathable | null
|
Default value : null
|
|
Inherited from
DynamicFormControlModel
|
|
Defined in
DynamicFormControlModel:37
|
| relations |
Type : DynamicFormControlRelation[]
|
Decorators :
@serializable()
|
|
Inherited from
DynamicFormControlModel
|
|
Defined in
DynamicFormControlModel:38
|
| Abstract Readonly type |
Type : string
|
|
Inherited from
DynamicFormControlModel
|
|
Defined in
DynamicFormControlModel:46
|
| updateOn |
Type : DynamicFormHook | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicFormControlModel
|
|
Defined in
DynamicFormControlModel:39
|
| validators |
Type : DynamicValidatorsConfig | null
|
Decorators :
@serializable()
|
|
Inherited from
DynamicFormControlModel
|
|
Defined in
DynamicFormControlModel:40
|
| getAdditional | |||||||||
getAdditional(key: string, defaultValue?: any | null)
|
|||||||||
|
Inherited from
DynamicInputControlModel
|
|||||||||
|
Defined in
DynamicInputControlModel:50
|
|||||||||
|
Parameters :
Returns :
any
|
| toJSON |
toJSON()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:80
|
|
Returns :
any
|
| toJSON |
toJSON()
|
|
Inherited from
DynamicInputControlModel
|
|
Defined in
DynamicInputControlModel:80
|
|
Returns :
any
|
| getAdditional | |||||||||
getAdditional(key: string, defaultValue?: any | null)
|
|||||||||
|
Inherited from
DynamicFormValueControlModel
|
|||||||||
|
Defined in
DynamicFormValueControlModel:50
|
|||||||||
|
Parameters :
Returns :
any
|
| toJSON |
toJSON()
|
|
Inherited from
DynamicFormValueControlModel
|
|
Defined in
DynamicFormValueControlModel:80
|
|
Returns :
any
|
| toJSON |
toJSON()
|
|
Inherited from
DynamicFormControlModel
|
|
Defined in
DynamicFormControlModel:80
|
|
Returns :
any
|
import { DynamicInputControlModel, DynamicInputControlModelConfig } from "../dynamic-input-control.model";
import { DynamicFormControlLayout } from "../misc/dynamic-form-control-layout.model";
import { serializable } from "../../decorator/serializable.decorator";
export const DYNAMIC_FORM_CONTROL_TYPE_EDITOR = "EDITOR";
export interface DynamicEditorModelConfig extends DynamicInputControlModelConfig<string> {
}
export class DynamicEditorModel extends DynamicInputControlModel<string> {
@serializable() readonly type: string = DYNAMIC_FORM_CONTROL_TYPE_EDITOR;
constructor(config: DynamicEditorModelConfig, layout?: DynamicFormControlLayout) {
super(config, layout);
}
}