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,
33 lines (32 loc) • 1.05 kB
TypeScript
import { FormioAppConfig } from '../formio.config';
import { FormManagerConfig } from './form-manager.config';
import { Formio } from 'formiojs-gp';
import { ActivatedRoute } from '@angular/router';
import { FormioAuthService } from '../auth/auth.service';
export declare class FormManagerService {
appConfig: FormioAppConfig;
config: FormManagerConfig;
auth: FormioAuthService;
formio: Formio;
access: any;
allAccessMap: any;
ownAccessMap: any;
ready: Promise<any>;
actionAllowed: any;
form: any;
perms: {
delete: boolean;
edit: boolean;
};
constructor(appConfig: FormioAppConfig, config: FormManagerConfig, auth: FormioAuthService);
isActionAllowed(action: string): any;
setAccess(): void;
reset(route?: ActivatedRoute): void;
hasAccess(roles: any): boolean;
setForm(form: any): any;
loadForm(): any;
setSubmission(route: ActivatedRoute): Promise<{}>;
submissionLoaded(submission: any): void;
loadForms(): any;
createForm(form: any): any;
}