UNPKG

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.

11 lines (10 loc) 520 B
import { UntypedFormGroup, ValidatorFn } from '@angular/forms'; import { Validation } from '../../shared/models/validation.model'; import { Section } from '../../shared/models/section.model'; import * as i0 from "@angular/core"; export declare class FormsService { initForm(sections: Section[]): UntypedFormGroup; createValidations(validators: Validation[]): ValidatorFn[] | null; static ɵfac: i0.ɵɵFactoryDeclaration<FormsService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<FormsService>; }