UNPKG

ngx-iso-form

Version:

Angular component design Reactive Form using specific JSON. The primary use of this UI library is to design ISO 20022 forms dynamically.

22 lines (21 loc) 1.13 kB
import { OnInit } from '@angular/core'; import { ControlService } from '../../shared/services/control.service'; import { ControlValueAccessor, FormControl } from '@angular/forms'; import { ComponentModel } from '../../shared/models/component.model'; import { SchemaElement } from '../../Models/Schema'; import * as i0 from "@angular/core"; export declare class NgxIsoControlComponent implements OnInit, ControlValueAccessor { private controlService; formControl: FormControl; control: SchemaElement; component: ComponentModel; constructor(controlService: ControlService); ngOnInit(): void; writeValue(obj: any): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setDisabledState?(isDisabled: boolean): void; private addValidator; static ɵfac: i0.ɵɵFactoryDeclaration<NgxIsoControlComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<NgxIsoControlComponent, "ngx-iso-control", never, { "formControl": { "alias": "formControl"; "required": false; }; "control": { "alias": "control"; "required": false; }; }, {}, never, never, false, never>; }