UNPKG

angular-formio-gp

Version:

A fork of 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,

60 lines (59 loc) 2.11 kB
import { EventEmitter, OnInit, OnChanges, OnDestroy, ElementRef } from '@angular/core'; import { FormioService } from '../../formio.service'; import { FormioLoader } from '../loader/formio.loader'; import { FormioAlerts } from '../alerts/formio.alerts'; import { FormioAppConfig } from '../../formio.config'; import { FormioForm, FormioOptions, FormioRefreshValue } from '../../formio.common'; export declare class FormioComponent implements OnInit, OnChanges, OnDestroy { loader: FormioLoader; private config; form?: FormioForm; submission?: any; src?: string; url?: string; service?: FormioService; options?: FormioOptions; 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; render: EventEmitter<object>; customEvent: EventEmitter<object>; 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<FormioComponent>; formioElement?: ElementRef<any>; formio: any; initialized: boolean; alerts: FormioAlerts; private formioReady; private formioReadyResolve; private submitting; constructor(loader: FormioLoader, config: FormioAppConfig); 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; submitExecute(submission: object): void; submitForm(submission: any): void; }