UNPKG

angular-formio

Version:

Form.io Angular JSON Form Renderer ========================== This library serves as a Dynamic JSON Powered Form rendering library for [Angular](https://angular.io). This works by providing a JSON schema to a ```<formio>``` Angular component, where that f

74 lines (73 loc) 2.72 kB
import { ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, OnInit } from '@angular/core'; import { FormioService } from './formio.service'; import { FormioAlerts } from './components/alerts/formio.alerts'; import { FormioAppConfig } from './formio.config'; import { FormioForm, FormioOptions, FormioRefreshValue } from './formio.common'; import { CustomTagsService } from './custom-component/custom-tags.service'; import { AlertsPosition } from './types/alerts-position'; export declare class FormioBaseComponent implements OnInit, OnChanges, OnDestroy { ngZone: NgZone; config: FormioAppConfig; customTags?: CustomTagsService; form?: FormioForm; submission?: any; src?: string; url?: string; service?: FormioService; options?: FormioOptions; noeval?: boolean; formioOptions?: any; renderOptions?: any; readOnly?: boolean; viewOnly?: boolean; hideComponents?: string[]; refresh?: EventEmitter<FormioRefreshValue>; error?: EventEmitter<any>; success?: EventEmitter<object>; language?: EventEmitter<string>; hooks?: any; renderer?: any; watchSubmissionErrors?: boolean; render: EventEmitter<object>; customEvent: EventEmitter<object>; fileUploadingStatus: EventEmitter<string>; submit: EventEmitter<object>; prevPage: EventEmitter<object>; nextPage: EventEmitter<object>; beforeSubmit: EventEmitter<object>; change: EventEmitter<object>; invalid: EventEmitter<boolean>; errorChange: EventEmitter<any>; formLoad: EventEmitter<any>; submissionLoad: EventEmitter<any>; ready: EventEmitter<FormioBaseComponent>; formioElement?: ElementRef<any>; AlertsPosition: typeof AlertsPosition; formio: any; initialized: boolean; alerts: FormioAlerts; formioReady: Promise<any>; private formioReadyResolve; private submitting; private submissionSuccess; isLoading: boolean; noAlerts: boolean; constructor(ngZone: NgZone, config: FormioAppConfig, customTags?: CustomTagsService); getRenderer(): any; getRendererOptions(): any; createRenderer(): any; setForm(form: FormioForm): any; initialize(): void; ngOnInit(): void; ngOnDestroy(): void; onRefresh(refresh: FormioRefreshValue): void; ngOnChanges(changes: any): void; onPrevPage(data: any): void; onNextPage(data: any): void; onSubmit(submission: any, saved: boolean, noemit?: boolean): void; onError(err: any): void; focusOnComponet(key: any): void; submitExecute(submission: object, saved?: boolean): void; submitForm(submission: any, saved?: boolean): void; onChange(value: any, flags: any, isModified: boolean): void; }