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
32 lines (31 loc) • 1.27 kB
JavaScript
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
import { Component } from '@angular/core';
import { FormioResourceService } from '../resource.service';
import { FormioResourceConfig } from '../resource.config';
var FormioResourceViewComponent = /** @class */ (function () {
function FormioResourceViewComponent(service, config) {
this.service = service;
this.config = config;
}
FormioResourceViewComponent.decorators = [
{ type: Component, args: [{
template: "<formio [form]=\"service.form\" [submission]=\"service.resource\" [refresh]=\"service.refresh\" [hideComponents]=\"config.parents\" [readOnly]=\"true\" ></formio> "
},] },
];
/** @nocollapse */
FormioResourceViewComponent.ctorParameters = function () { return [
{ type: FormioResourceService },
{ type: FormioResourceConfig }
]; };
return FormioResourceViewComponent;
}());
export { FormioResourceViewComponent };
if (false) {
/** @type {?} */
FormioResourceViewComponent.prototype.service;
/** @type {?} */
FormioResourceViewComponent.prototype.config;
}