angular-formio
Version:
The Form.io dynamic form and data management system for Angular.
22 lines • 975 B
JavaScript
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 };
//# sourceMappingURL=view.component.js.map