UNPKG

@kronscht/former

Version:

Former is an Angular library that provides a declarative way to generate complex forms based on primeng components

16 lines (15 loc) 857 B
import { KeyValue } from '@angular/common'; import { OnInit } from '@angular/core'; import { AbstractControl, FormGroup } from '@angular/forms'; import * as i0 from "@angular/core"; export declare abstract class BaseElementComponent<T extends object> implements OnInit { parentKey: string; element: KeyValue<string, T>; formGroup: FormGroup; get key(): string; get field(): T; get control(): AbstractControl; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration<BaseElementComponent<any>, never>; static ɵcmp: i0.ɵɵComponentDeclaration<BaseElementComponent<any>, "lib-base-element-component", never, { "parentKey": { "alias": "parentKey"; "required": false; }; "element": { "alias": "element"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, {}, never, never, false, never>; }