ngx-form-lib
Version:
Dynamic form library for Angular 18 with Material 3 support. Create complex reactive forms easily using JSON configuration with modern Angular 18 control flow syntax.
20 lines (19 loc) • 1.11 kB
TypeScript
import { OnInit } from '@angular/core';
import { UntypedFormGroup } from '@angular/forms';
import { Subscription } from 'rxjs';
import { Field } from '../../../shared/models/field.model';
import { ParentConfig } from '../../../shared/models/parent-config.model';
import { DependenciesService } from '../../services/dependencies.service';
import * as i0 from "@angular/core";
export declare class BaseComponent<T = unknown> implements OnInit {
private readonly dependenciesService;
config: Field<T> | null;
group: UntypedFormGroup | null;
parentConfig: ParentConfig | null;
subscription: Subscription;
constructor(dependenciesService: DependenciesService);
ngOnInit(): void;
setupDependenciesControls(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponent<any>, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponent<any>, "ng-component", never, { "config": { "alias": "config"; "required": false; }; "group": { "alias": "group"; "required": false; }; "parentConfig": { "alias": "parentConfig"; "required": false; }; }, {}, never, never, false, never>;
}