ngx-json-ui
Version:
This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 19.2.0.
28 lines (27 loc) • 1.43 kB
TypeScript
import { ViewContainerRef, OnChanges, SimpleChanges, OnDestroy } from '@angular/core';
import { FormGroup } from '@angular/forms';
import { DomSanitizer } from '@angular/platform-browser';
import { BaseComponent } from '../../../shared/base/base.component';
import { FormComponentModel } from '../../../core/models/component-models/form-component.model';
import { FormSubmitBroadcastService } from '../../../core/services/form-submit-broadcast.service';
import * as i0 from "@angular/core";
export declare class FormComponent extends BaseComponent<FormComponentModel> implements OnChanges, OnDestroy {
protected sanitizer: DomSanitizer;
private submitBroadcastService;
id: string;
cid: string;
form: FormGroup;
viewContainerRef: ViewContainerRef;
private destroy$;
constructor(sanitizer: DomSanitizer, submitBroadcastService: FormSubmitBroadcastService);
ngOnChanges(changes: SimpleChanges): void;
onSubmit(): void;
/**
* Method to log all validation errors in the form and its nested structures
* Recursively logs all validation errors in a FormGroup/FormArray
*/
private getFormValidationErrors;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "nju-app-form", never, { "form": { "alias": "form"; "required": false; }; }, {}, never, never, false, never>;
}