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.

21 lines (20 loc) 933 B
import { FormGroup, FormControl, FormArray, FormBuilder } from '@angular/forms'; import { SchemaModel } from './Models/Schema'; import { CustomDateAdapter } from './shared/services/custom-date-adapter'; import * as i0 from "@angular/core"; export declare class NgxIsoService { private fb; private dateService; _formModel: any[]; excludes: string[]; constructor(fb: FormBuilder, dateService: CustomDateAdapter); maxOccurs(maxOccurs: string): boolean; initFormModel(model: any, form: FormGroup | FormArray, prev_key: string): void; getFormGroupControls(json: SchemaModel[], keys: any, index?: number, choiceEle?: boolean): FormGroup; getFormControl(values: any): FormControl; sanitize: (obj: any) => any; private getFormModel; private getAmountCurrency; static ɵfac: i0.ɵɵFactoryDeclaration<NgxIsoService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<NgxIsoService>; }