import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core'; import { FormGroup } from '@angular/forms'; import { CoreDynamicFormService } from '../../providers/services/dynamic-form.service'; import { CoreCommonService } from '../../providers/services/common.service'; import { CoreHttpService } from '../../utilities/services/http.service'; export declare class DynamicFormComponent implements OnChanges { private dynamicFormService; private coreCommonService; private coreHttpService; environment: any; schema: any; scope: any; formGroupCopy: EventEmitter; fields: any[]; fieldCounter: number; pdfData: any; formGroup: FormGroup; constructor(dynamicFormService: CoreDynamicFormService, coreCommonService: CoreCommonService, coreHttpService: CoreHttpService, environment: any); /** * A callback method that is invoked if any data-bound properties change */ ngOnChanges(changes: SimpleChanges): void; /** * This method will initialize the form */ private initForm; /** * This method will generate form */ private generateForm; /** * getter function to check if form is empty */ get isFormNotEmpty(): boolean; /** * check if control is ready or not */ onControlReady(): void; get layoutType(): any; /** * This method will extract controls from schema */ private extractControlsFromSchema; get isButtonField(): boolean; /** * This method will reset variables */ private resetVariables; /** * This method will extract images from schema * @param schema - schema */ private extractImageFromSchema; /** * The trackBy function takes the index and the current item as arguments * and needs to return the unique identifier for this item * @param index - item index */ trackByFn(index: number, item: any): number; }