@formio/angular 5.2.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FormioBaseComponent.d.ts +75 -0
- package/FormioBaseComponent.d.ts.map +1 -0
- package/FormioBaseComponent.ngfactory.d.ts.map +1 -0
- package/README.md +24 -0
- package/auth/auth.component.d.ts +3 -0
- package/auth/auth.component.d.ts.map +1 -0
- package/auth/auth.config.d.ts +60 -0
- package/auth/auth.config.d.ts.map +1 -0
- package/auth/auth.module.d.ts +6 -0
- package/auth/auth.module.d.ts.map +1 -0
- package/auth/auth.routes.d.ts +4 -0
- package/auth/auth.routes.d.ts.map +1 -0
- package/auth/auth.service.d.ts +38 -0
- package/auth/auth.service.d.ts.map +1 -0
- package/auth/formio-angular-auth.d.ts +5 -0
- package/auth/formio-angular-auth.d.ts.map +1 -0
- package/auth/formio-angular-auth.metadata.json +1 -0
- package/auth/index.d.ts +9 -0
- package/auth/index.d.ts.map +1 -0
- package/auth/login/login.component.d.ts +6 -0
- package/auth/login/login.component.d.ts.map +1 -0
- package/auth/package.json +11 -0
- package/auth/public_api.d.ts +2 -0
- package/auth/public_api.d.ts.map +1 -0
- package/auth/register/register.component.d.ts +6 -0
- package/auth/register/register.component.d.ts.map +1 -0
- package/auth/resetpass/resetpass.component.d.ts +6 -0
- package/auth/resetpass/resetpass.component.d.ts.map +1 -0
- package/bundles/formio-angular-auth.umd.js +312 -0
- package/bundles/formio-angular-auth.umd.js.map +1 -0
- package/bundles/formio-angular-grid.umd.js +1010 -0
- package/bundles/formio-angular-grid.umd.js.map +1 -0
- package/bundles/formio-angular-manager.umd.js +1122 -0
- package/bundles/formio-angular-manager.umd.js.map +1 -0
- package/bundles/formio-angular-resource.umd.js +556 -0
- package/bundles/formio-angular-resource.umd.js.map +1 -0
- package/bundles/formio-angular.umd.js +1497 -0
- package/bundles/formio-angular.umd.js.map +1 -0
- package/components/alerts/formio.alerts.component.d.ts +9 -0
- package/components/alerts/formio.alerts.component.d.ts.map +1 -0
- package/components/alerts/formio.alerts.component.ngfactory.d.ts.map +1 -0
- package/components/alerts/formio.alerts.d.ts +12 -0
- package/components/alerts/formio.alerts.d.ts.map +1 -0
- package/components/alerts/parse-html-content.pipe.d.ts +5 -0
- package/components/alerts/parse-html-content.pipe.d.ts.map +1 -0
- package/components/alerts/parse-html-content.pipe.ngfactory.d.ts.map +1 -0
- package/components/formbuilder/formbuilder.component.d.ts +34 -0
- package/components/formbuilder/formbuilder.component.d.ts.map +1 -0
- package/components/formbuilder/formbuilder.component.ngfactory.d.ts.map +1 -0
- package/components/formio/formio.component.d.ts +12 -0
- package/components/formio/formio.component.d.ts.map +1 -0
- package/components/formio/formio.component.ngfactory.d.ts.map +1 -0
- package/components/loader/formio.loader.component.d.ts +4 -0
- package/components/loader/formio.loader.component.d.ts.map +1 -0
- package/components/loader/formio.loader.component.ngfactory.d.ts.map +1 -0
- package/components/loader/formio.loader.component.scss.shim.ngstyle.d.ts.map +1 -0
- package/core.d.ts +14 -0
- package/core.d.ts.map +1 -0
- package/custom-component/create-custom-component.d.ts +239 -0
- package/custom-component/create-custom-component.d.ts.map +1 -0
- package/custom-component/custom-tags.service.d.ts +5 -0
- package/custom-component/custom-tags.service.d.ts.map +1 -0
- package/custom-component/custom-tags.service.ngfactory.d.ts.map +1 -0
- package/custom-component/register-custom-component.d.ts +7 -0
- package/custom-component/register-custom-component.d.ts.map +1 -0
- package/elements.common.d.ts +31 -0
- package/elements.common.d.ts.map +1 -0
- package/esm2015/FormioBaseComponent.js +456 -0
- package/esm2015/auth/auth.component.js +9 -0
- package/esm2015/auth/auth.config.js +12 -0
- package/esm2015/auth/auth.module.js +34 -0
- package/esm2015/auth/auth.routes.js +32 -0
- package/esm2015/auth/auth.service.js +160 -0
- package/esm2015/auth/formio-angular-auth.js +5 -0
- package/esm2015/auth/index.js +9 -0
- package/esm2015/auth/login/login.component.js +16 -0
- package/esm2015/auth/public_api.js +5 -0
- package/esm2015/auth/register/register.component.js +16 -0
- package/esm2015/auth/resetpass/resetpass.component.js +16 -0
- package/esm2015/components/alerts/formio.alerts.component.js +26 -0
- package/esm2015/components/alerts/formio.alerts.js +15 -0
- package/esm2015/components/alerts/parse-html-content.pipe.js +15 -0
- package/esm2015/components/formbuilder/formbuilder.component.js +185 -0
- package/esm2015/components/formio/formio.component.js +39 -0
- package/esm2015/components/loader/formio.loader.component.js +14 -0
- package/esm2015/core.js +14 -0
- package/esm2015/custom-component/create-custom-component.js +130 -0
- package/esm2015/custom-component/custom-tags.service.js +13 -0
- package/esm2015/custom-component/register-custom-component.js +23 -0
- package/esm2015/elements.common.js +2 -0
- package/esm2015/formio-angular.js +7 -0
- package/esm2015/formio-promise.service.js +33 -0
- package/esm2015/formio.common.js +8 -0
- package/esm2015/formio.config.js +11 -0
- package/esm2015/formio.module.js +42 -0
- package/esm2015/formio.service.js +59 -0
- package/esm2015/formio.utils.js +21 -0
- package/esm2015/grid/GridBodyComponent.js +76 -0
- package/esm2015/grid/GridFooterComponent.js +26 -0
- package/esm2015/grid/GridHeaderComponent.js +25 -0
- package/esm2015/grid/form/FormGridBody.component.js +16 -0
- package/esm2015/grid/form/FormGridFooter.component.js +24 -0
- package/esm2015/grid/form/FormGridHeader.component.js +24 -0
- package/esm2015/grid/form/index.js +9 -0
- package/esm2015/grid/form/time-since.pipe.js +33 -0
- package/esm2015/grid/formio-angular-grid.js +6 -0
- package/esm2015/grid/grid.component.js +211 -0
- package/esm2015/grid/grid.module.js +61 -0
- package/esm2015/grid/grid.service.js +16 -0
- package/esm2015/grid/index.js +13 -0
- package/esm2015/grid/public_api.js +5 -0
- package/esm2015/grid/submission/SubmissionGridBody.component.js +40 -0
- package/esm2015/grid/submission/SubmissionGridFooter.component.js +21 -0
- package/esm2015/grid/submission/SubmissionGridHeader.component.js +58 -0
- package/esm2015/grid/submission/index.js +9 -0
- package/esm2015/grid/types/grid-column.js +2 -0
- package/esm2015/grid/types/grid-footer-positions.js +7 -0
- package/esm2015/grid/types/grid-header.js +6 -0
- package/esm2015/index.js +5 -0
- package/esm2015/manager/create/create.component.js +13 -0
- package/esm2015/manager/delete/delete.component.js +42 -0
- package/esm2015/manager/edit/edit.component.js +109 -0
- package/esm2015/manager/form/form.component.js +73 -0
- package/esm2015/manager/form-manager.config.js +12 -0
- package/esm2015/manager/form-manager.module.js +56 -0
- package/esm2015/manager/form-manager.routes.js +74 -0
- package/esm2015/manager/form-manager.service.js +180 -0
- package/esm2015/manager/formio-angular-manager.js +5 -0
- package/esm2015/manager/index/index.component.js +86 -0
- package/esm2015/manager/index.js +16 -0
- package/esm2015/manager/public_api.js +5 -0
- package/esm2015/manager/submission/delete/delete.component.js +32 -0
- package/esm2015/manager/submission/edit/edit.component.js +24 -0
- package/esm2015/manager/submission/index/index.component.js +24 -0
- package/esm2015/manager/submission/submission/submission.component.js +27 -0
- package/esm2015/manager/submission/view/view.component.js +16 -0
- package/esm2015/manager/view/view.component.js +45 -0
- package/esm2015/public-api.js +5 -0
- package/esm2015/resource/create/create.component.js +40 -0
- package/esm2015/resource/delete/delete.component.js +29 -0
- package/esm2015/resource/edit/edit.component.js +39 -0
- package/esm2015/resource/formio-angular-resource.js +5 -0
- package/esm2015/resource/index/index.component.js +65 -0
- package/esm2015/resource/index.js +12 -0
- package/esm2015/resource/public_api.js +5 -0
- package/esm2015/resource/resource.component.js +48 -0
- package/esm2015/resource/resource.config.js +12 -0
- package/esm2015/resource/resource.module.js +44 -0
- package/esm2015/resource/resource.routes.js +42 -0
- package/esm2015/resource/resource.service.js +187 -0
- package/esm2015/resource/resources.service.js +22 -0
- package/esm2015/resource/view/view.component.js +24 -0
- package/esm2015/types/alerts-position.js +8 -0
- package/esm2015/types/formio-metadata.js +2 -0
- package/esm2015/types/formio-submission.js +6 -0
- package/fesm2015/formio-angular-auth.js +285 -0
- package/fesm2015/formio-angular-auth.js.map +1 -0
- package/fesm2015/formio-angular-grid.js +624 -0
- package/fesm2015/formio-angular-grid.js.map +1 -0
- package/fesm2015/formio-angular-manager.js +750 -0
- package/fesm2015/formio-angular-manager.js.map +1 -0
- package/fesm2015/formio-angular-resource.js +515 -0
- package/fesm2015/formio-angular-resource.js.map +1 -0
- package/fesm2015/formio-angular.js +1073 -0
- package/fesm2015/formio-angular.js.map +1 -0
- package/formio-angular.d.ts +7 -0
- package/formio-angular.d.ts.map +1 -0
- package/formio-angular.metadata.json +1 -0
- package/formio-promise.service.d.ts +16 -0
- package/formio-promise.service.d.ts.map +1 -0
- package/formio.common.d.ts +64 -0
- package/formio.common.d.ts.map +1 -0
- package/formio.config.d.ts +7 -0
- package/formio.config.d.ts.map +1 -0
- package/formio.config.ngfactory.d.ts.map +1 -0
- package/formio.module.d.ts +3 -0
- package/formio.module.d.ts.map +1 -0
- package/formio.module.ngfactory.d.ts.map +1 -0
- package/formio.service.d.ts +18 -0
- package/formio.service.d.ts.map +1 -0
- package/formio.utils.d.ts +2 -0
- package/formio.utils.d.ts.map +1 -0
- package/grid/GridBodyComponent.d.ts +32 -0
- package/grid/GridBodyComponent.d.ts.map +1 -0
- package/grid/GridBodyComponent.ngfactory.d.ts.map +1 -0
- package/grid/GridFooterComponent.d.ts +17 -0
- package/grid/GridFooterComponent.d.ts.map +1 -0
- package/grid/GridFooterComponent.ngfactory.d.ts.map +1 -0
- package/grid/GridHeaderComponent.d.ts +13 -0
- package/grid/GridHeaderComponent.d.ts.map +1 -0
- package/grid/GridHeaderComponent.ngfactory.d.ts.map +1 -0
- package/grid/form/FormGridBody.component.d.ts +6 -0
- package/grid/form/FormGridBody.component.d.ts.map +1 -0
- package/grid/form/FormGridBody.component.ngfactory.d.ts.map +1 -0
- package/grid/form/FormGridBody.component.scss.shim.ngstyle.d.ts.map +1 -0
- package/grid/form/FormGridFooter.component.d.ts +7 -0
- package/grid/form/FormGridFooter.component.d.ts.map +1 -0
- package/grid/form/FormGridFooter.component.ngfactory.d.ts.map +1 -0
- package/grid/form/FormGridHeader.component.d.ts +8 -0
- package/grid/form/FormGridHeader.component.d.ts.map +1 -0
- package/grid/form/FormGridHeader.component.ngfactory.d.ts.map +1 -0
- package/grid/form/index.d.ts +10 -0
- package/grid/form/index.d.ts.map +1 -0
- package/grid/form/time-since.pipe.d.ts +5 -0
- package/grid/form/time-since.pipe.d.ts.map +1 -0
- package/grid/form/time-since.pipe.ngfactory.d.ts.map +1 -0
- package/grid/formio-angular-grid.d.ts +6 -0
- package/grid/formio-angular-grid.d.ts.map +1 -0
- package/grid/formio-angular-grid.metadata.json +1 -0
- package/grid/grid.component.d.ts +56 -0
- package/grid/grid.component.d.ts.map +1 -0
- package/grid/grid.component.ngfactory.d.ts.map +1 -0
- package/grid/grid.component.scss.shim.ngstyle.d.ts.map +1 -0
- package/grid/grid.footer.scss.ngstyle.d.ts.map +1 -0
- package/grid/grid.module.d.ts +3 -0
- package/grid/grid.module.d.ts.map +1 -0
- package/grid/grid.module.ngfactory.d.ts.map +1 -0
- package/grid/grid.service.d.ts +7 -0
- package/grid/grid.service.d.ts.map +1 -0
- package/grid/grid.service.ngfactory.d.ts.map +1 -0
- package/grid/index.d.ts +13 -0
- package/grid/index.d.ts.map +1 -0
- package/grid/package.json +11 -0
- package/grid/public_api.d.ts +2 -0
- package/grid/public_api.d.ts.map +1 -0
- package/grid/submission/SubmissionGridBody.component.d.ts +16 -0
- package/grid/submission/SubmissionGridBody.component.d.ts.map +1 -0
- package/grid/submission/SubmissionGridBody.component.ngfactory.d.ts.map +1 -0
- package/grid/submission/SubmissionGridFooter.component.d.ts +7 -0
- package/grid/submission/SubmissionGridFooter.component.d.ts.map +1 -0
- package/grid/submission/SubmissionGridFooter.component.ngfactory.d.ts.map +1 -0
- package/grid/submission/SubmissionGridHeader.component.d.ts +27 -0
- package/grid/submission/SubmissionGridHeader.component.d.ts.map +1 -0
- package/grid/submission/SubmissionGridHeader.component.ngfactory.d.ts.map +1 -0
- package/grid/submission/index.d.ts +10 -0
- package/grid/submission/index.d.ts.map +1 -0
- package/grid/types/grid-column.d.ts +7 -0
- package/grid/types/grid-column.d.ts.map +1 -0
- package/grid/types/grid-footer-positions.d.ts +6 -0
- package/grid/types/grid-footer-positions.d.ts.map +1 -0
- package/grid/types/grid-header.d.ts +13 -0
- package/grid/types/grid-header.d.ts.map +1 -0
- package/index.d.ts +6 -0
- package/index.d.ts.map +1 -0
- package/manager/create/create.component.d.ts +6 -0
- package/manager/create/create.component.d.ts.map +1 -0
- package/manager/delete/delete.component.d.ts +15 -0
- package/manager/delete/delete.component.d.ts.map +1 -0
- package/manager/edit/edit.component.d.ts +28 -0
- package/manager/edit/edit.component.d.ts.map +1 -0
- package/manager/form/form.component.d.ts +26 -0
- package/manager/form/form.component.d.ts.map +1 -0
- package/manager/form-manager.config.d.ts +23 -0
- package/manager/form-manager.config.d.ts.map +1 -0
- package/manager/form-manager.module.d.ts +6 -0
- package/manager/form-manager.module.d.ts.map +1 -0
- package/manager/form-manager.routes.d.ts +4 -0
- package/manager/form-manager.routes.d.ts.map +1 -0
- package/manager/form-manager.service.d.ts +35 -0
- package/manager/form-manager.service.d.ts.map +1 -0
- package/manager/formio-angular-manager.d.ts +5 -0
- package/manager/formio-angular-manager.d.ts.map +1 -0
- package/manager/formio-angular-manager.metadata.json +1 -0
- package/manager/index/index.component.d.ts +23 -0
- package/manager/index/index.component.d.ts.map +1 -0
- package/manager/index.d.ts +17 -0
- package/manager/index.d.ts.map +1 -0
- package/manager/package.json +11 -0
- package/manager/public_api.d.ts +2 -0
- package/manager/public_api.d.ts.map +1 -0
- package/manager/submission/delete/delete.component.d.ts +13 -0
- package/manager/submission/delete/delete.component.d.ts.map +1 -0
- package/manager/submission/edit/edit.component.d.ts +10 -0
- package/manager/submission/edit/edit.component.d.ts.map +1 -0
- package/manager/submission/index/index.component.d.ts +10 -0
- package/manager/submission/index/index.component.d.ts.map +1 -0
- package/manager/submission/submission/submission.component.d.ts +12 -0
- package/manager/submission/submission/submission.component.d.ts.map +1 -0
- package/manager/submission/view/view.component.d.ts +6 -0
- package/manager/submission/view/view.component.d.ts.map +1 -0
- package/manager/view/view.component.d.ts +20 -0
- package/manager/view/view.component.d.ts.map +1 -0
- package/package.json +47 -0
- package/public-api.d.ts +2 -0
- package/public-api.d.ts.map +1 -0
- package/resource/create/create.component.d.ts +16 -0
- package/resource/create/create.component.d.ts.map +1 -0
- package/resource/delete/delete.component.d.ts +11 -0
- package/resource/delete/delete.component.d.ts.map +1 -0
- package/resource/edit/edit.component.d.ts +18 -0
- package/resource/edit/edit.component.d.ts.map +1 -0
- package/resource/formio-angular-resource.d.ts +5 -0
- package/resource/formio-angular-resource.d.ts.map +1 -0
- package/resource/formio-angular-resource.metadata.json +1 -0
- package/resource/index/index.component.d.ts +20 -0
- package/resource/index/index.component.d.ts.map +1 -0
- package/resource/index.d.ts +12 -0
- package/resource/index.d.ts.map +1 -0
- package/resource/package.json +11 -0
- package/resource/public_api.d.ts +2 -0
- package/resource/public_api.d.ts.map +1 -0
- package/resource/resource.component.d.ts +19 -0
- package/resource/resource.component.d.ts.map +1 -0
- package/resource/resource.config.d.ts +14 -0
- package/resource/resource.config.d.ts.map +1 -0
- package/resource/resource.module.d.ts +6 -0
- package/resource/resource.module.d.ts.map +1 -0
- package/resource/resource.routes.d.ts +4 -0
- package/resource/resource.routes.d.ts.map +1 -0
- package/resource/resource.service.d.ts +46 -0
- package/resource/resource.service.d.ts.map +1 -0
- package/resource/resources.service.d.ts +13 -0
- package/resource/resources.service.d.ts.map +1 -0
- package/resource/view/view.component.d.ts +13 -0
- package/resource/view/view.component.d.ts.map +1 -0
- package/types/alerts-position.d.ts +7 -0
- package/types/alerts-position.d.ts.map +1 -0
- package/types/formio-metadata.d.ts +11 -0
- package/types/formio-metadata.d.ts.map +1 -0
- package/types/formio-submission.d.ts +19 -0
- package/types/formio-submission.d.ts.map +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"__symbolic":"module","version":4,"metadata":{"FormioResourceConfig":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":11,"character":1}}],"members":{}},"FormioResources":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":7,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@formio/angular/auth","name":"FormioAuthService","line":13,"character":18}]}]}},"FormioResourceService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":12,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":38,"character":5}}],null],"parameters":[{"__symbolic":"reference","module":"@formio/angular","name":"FormioAppConfig","line":36,"character":22},{"__symbolic":"reference","name":"FormioResourceConfig"},{"__symbolic":"reference","name":"FormioResources"},{"__symbolic":"reference","module":"@angular/core","name":"ApplicationRef","line":39,"character":19}]}],"initialize":[{"__symbolic":"method"}],"init":[{"__symbolic":"method"}],"onError":[{"__symbolic":"method"}],"onFormError":[{"__symbolic":"method"}],"setContext":[{"__symbolic":"method"}],"loadForm":[{"__symbolic":"method"}],"loadParents":[{"__symbolic":"method"}],"onSubmissionError":[{"__symbolic":"method"}],"loadResource":[{"__symbolic":"method"}],"save":[{"__symbolic":"method"}],"remove":[{"__symbolic":"method"}]}},"FormioResourceComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"template":"<ul class=\"nav nav-tabs\" style=\"margin-bottom: 10px\">\n <li class=\"nav-item\"><a class=\"nav-link\" routerLink=\"../\"><i class=\"fa fa-chevron-left glyphicon glyphicon-chevron-left\"></i></a></li>\n <li class=\"nav-item\" routerLinkActive=\"active\"><a class=\"nav-link\" routerLink=\"view\" routerLinkActive=\"active\">View</a></li>\n <li class=\"nav-item\" routerLinkActive=\"active\" *ngIf=\"perms.edit\"><a class=\"nav-link\" routerLink=\"edit\" routerLinkActive=\"active\">Edit</a></li>\n <li class=\"nav-item\" routerLinkActive=\"active\" *ngIf=\"perms.delete\"><a class=\"nav-link\" routerLink=\"delete\" routerLinkActive=\"active\"><span class=\"fa fa-trash glyphicon glyphicon-trash\"></span></a></li>\n</ul>\n<router-outlet></router-outlet>\n"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"FormioResourceService"},{"__symbolic":"reference","module":"@angular/router","name":"ActivatedRoute","line":15,"character":18},{"__symbolic":"reference","module":"@formio/angular/auth","name":"FormioAuthService","line":16,"character":17}]}],"ngOnInit":[{"__symbolic":"method"}],"init":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"FormioResourceViewComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"template":"<formio\n [form]=\"service.form\"\n [submission]=\"service.resource\"\n [hideComponents]=\"config.parents\"\n [readOnly]=\"true\"\n></formio>\n"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"FormioResourceService"},{"__symbolic":"reference","name":"FormioResourceConfig"}]}],"ngOnDestroy":[{"__symbolic":"method"}]}},"FormioResourceEditComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"template":"<formio\n [form]=\"service.form\"\n [submission]=\"service.resource\"\n [error]=\"triggerError\"\n (submit)=\"onSubmit($event)\"\n></formio>\n"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"FormioResourceService"},{"__symbolic":"reference","module":"@angular/router","name":"ActivatedRoute","line":14,"character":18},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":15,"character":19},{"__symbolic":"reference","name":"FormioResourceConfig"}]}],"onSubmit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"FormioResourceDeleteComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"template":"<h3>Are you sure you wish to delete this record?</h3>\n<div class=\"btn-toolbar\">\n <button type=\"button\" (click)=\"onDelete()\" class=\"btn btn-danger\" style=\"margin-right: 10px;\">Yes</button>\n <button type=\"button\" (click)=\"onCancel()\" class=\"btn btn-danger\">No</button>\n</div>\n"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"FormioResourceService"},{"__symbolic":"reference","module":"@angular/router","name":"ActivatedRoute","line":10,"character":18},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":11,"character":19}]}],"onDelete":[{"__symbolic":"method"}],"onCancel":[{"__symbolic":"method"}]}},"FormioResourceCreateComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"template":"<h3 *ngIf=\"service.form\" style=\"margin-top:0;\">\n <a routerLink=\"../\" class=\"back-button\">\n <i class=\"fa fa-chevron-left glyphicon glyphicon-chevron-left\"></i>\n </a> | New {{ service.form.title }}\n</h3>\n<formio\n [form]=\"service.form\"\n [submission]=\"service.resource\"\n [refresh]=\"service.refresh\"\n [error]=\"onError\"\n [success]=\"onSuccess\"\n (submit)=\"onSubmit($event)\"\n></formio>\n","styles":[".back-button{font-size:.8em}\n"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"FormioResourceService"},{"__symbolic":"reference","module":"@angular/router","name":"ActivatedRoute","line":14,"character":18},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":15,"character":19},{"__symbolic":"reference","name":"FormioResourceConfig"}]}],"ngOnInit":[{"__symbolic":"method"}],"onSubmit":[{"__symbolic":"method"}]}},"FormioResourceIndexComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"template":"<formio-alerts [alerts]=\"service.alerts\"></formio-alerts>\n<formio-grid\n [src]=\"gridSrc\"\n [query]=\"gridQuery\"\n [onForm]=\"service.formLoaded\"\n (rowSelect)=\"onSelect($event)\"\n (error)=\"service.onError($event)\"\n (createItem)=\"onCreateItem()\"\n [createText]=\"createText\"\n></formio-grid>\n"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"FormioResourceService"},{"__symbolic":"reference","module":"@angular/router","name":"ActivatedRoute","line":16,"character":18},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":17,"character":19},{"__symbolic":"reference","name":"FormioResourceConfig"},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":19,"character":16},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":20,"character":19}]}],"ngOnInit":[{"__symbolic":"method"}],"onSelect":[{"__symbolic":"method"}],"onCreateItem":[{"__symbolic":"method"}]}},"FormioResourceRoutes":{"__symbolic":"function","parameters":["config"],"value":[{"path":"","component":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"reference","name":"config"},"right":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"index"}},"thenExpression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"index"},"elseExpression":{"__symbolic":"reference","name":"FormioResourceIndexComponent"}}},{"path":"new","component":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"reference","name":"config"},"right":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"create"}},"thenExpression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"create"},"elseExpression":{"__symbolic":"reference","name":"FormioResourceCreateComponent"}}},{"path":":id","component":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"reference","name":"config"},"right":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"resource"}},"thenExpression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"resource"},"elseExpression":{"__symbolic":"reference","name":"FormioResourceComponent"}},"children":[{"path":"","redirectTo":"view","pathMatch":"full"},{"path":"view","component":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"reference","name":"config"},"right":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"view"}},"thenExpression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"view"},"elseExpression":{"__symbolic":"reference","name":"FormioResourceViewComponent"}}},{"path":"edit","component":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"reference","name":"config"},"right":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"edit"}},"thenExpression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"edit"},"elseExpression":{"__symbolic":"reference","name":"FormioResourceEditComponent"}}},{"path":"delete","component":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"reference","name":"config"},"right":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"delete"}},"thenExpression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"delete"},"elseExpression":{"__symbolic":"reference","name":"FormioResourceDeleteComponent"}}}]}]},"FormioResource":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":16,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":18,"character":4},{"__symbolic":"reference","module":"@formio/angular","name":"FormioModule","line":19,"character":4},{"__symbolic":"reference","module":"@formio/angular/grid","name":"FormioGrid","line":20,"character":4},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":21,"character":4}],"declarations":[{"__symbolic":"reference","name":"FormioResourceComponent"},{"__symbolic":"reference","name":"FormioResourceCreateComponent"},{"__symbolic":"reference","name":"FormioResourceIndexComponent"},{"__symbolic":"reference","name":"FormioResourceViewComponent"},{"__symbolic":"reference","name":"FormioResourceEditComponent"},{"__symbolic":"reference","name":"FormioResourceDeleteComponent"}],"providers":[{"__symbolic":"reference","module":"@formio/angular","name":"FormioAlerts","line":32,"character":4}]}]}],"members":{},"statics":{"forChild":{"__symbolic":"function","parameters":["config"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@formio/angular","name":"extendRouter","line":37,"character":11},"arguments":[{"__symbolic":"reference","name":"FormioResource"},{"__symbolic":"reference","name":"config"},{"__symbolic":"reference","name":"FormioResourceRoutes"}]}},"forRoot":{"__symbolic":"function","parameters":["config"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@formio/angular","name":"extendRouter","line":40,"character":11},"arguments":[{"__symbolic":"reference","name":"FormioResource"},{"__symbolic":"reference","name":"config"},{"__symbolic":"reference","name":"FormioResourceRoutes"}]}}}}},"origins":{"FormioResourceConfig":"./resource.config","FormioResources":"./resources.service","FormioResourceService":"./resource.service","FormioResourceComponent":"./resource.component","FormioResourceViewComponent":"./view/view.component","FormioResourceEditComponent":"./edit/edit.component","FormioResourceDeleteComponent":"./delete/delete.component","FormioResourceCreateComponent":"./create/create.component","FormioResourceIndexComponent":"./index/index.component","FormioResourceRoutes":"./resource.routes","FormioResource":"./resource.module"},"importAs":"@formio/angular/resource"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { OnInit, ChangeDetectorRef, NgZone } from '@angular/core';
|
|
2
|
+
import { Router, ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { FormioResourceService } from '../resource.service';
|
|
4
|
+
import { FormioResourceConfig } from '../resource.config';
|
|
5
|
+
export declare class FormioResourceIndexComponent implements OnInit {
|
|
6
|
+
service: FormioResourceService;
|
|
7
|
+
route: ActivatedRoute;
|
|
8
|
+
router: Router;
|
|
9
|
+
config: FormioResourceConfig;
|
|
10
|
+
cdr: ChangeDetectorRef;
|
|
11
|
+
ngZone: NgZone;
|
|
12
|
+
gridSrc?: string;
|
|
13
|
+
gridQuery: any;
|
|
14
|
+
createText: String;
|
|
15
|
+
constructor(service: FormioResourceService, route: ActivatedRoute, router: Router, config: FormioResourceConfig, cdr: ChangeDetectorRef, ngZone: NgZone);
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
onSelect(row: any): void;
|
|
18
|
+
onCreateItem(): void;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=index.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.component.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/resource/src/index/index.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC7E,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAG1D,qBAGa,4BAA6B,YAAW,MAAM;IAMhD,OAAO,EAAE,qBAAqB;IAC9B,KAAK,EAAE,cAAc;IACrB,MAAM,EAAE,MAAM;IACd,MAAM,EAAE,oBAAoB;IAC5B,GAAG,EAAE,iBAAiB;IACtB,MAAM,EAAE,MAAM;IAVhB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,GAAG,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;gBAGjB,OAAO,EAAE,qBAAqB,EAC9B,KAAK,EAAE,cAAc,EACrB,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,oBAAoB,EAC5B,GAAG,EAAE,iBAAiB,EACtB,MAAM,EAAE,MAAM;IAIvB,QAAQ;IA8BR,QAAQ,CAAC,GAAG,EAAE,GAAG;IAMjB,YAAY;CAKb"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { FormioResourceConfig } from './resource.config';
|
|
2
|
+
export { FormioResources } from './resources.service';
|
|
3
|
+
export { FormioResourceService } from './resource.service';
|
|
4
|
+
export { FormioResourceComponent } from './resource.component';
|
|
5
|
+
export { FormioResourceViewComponent } from './view/view.component';
|
|
6
|
+
export { FormioResourceEditComponent } from './edit/edit.component';
|
|
7
|
+
export { FormioResourceDeleteComponent } from './delete/delete.component';
|
|
8
|
+
export { FormioResourceCreateComponent } from './create/create.component';
|
|
9
|
+
export { FormioResourceIndexComponent } from './index/index.component';
|
|
10
|
+
export { FormioResourceRoutes } from './resource.routes';
|
|
11
|
+
export { FormioResource } from './resource.module';
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/resource/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAAE,2BAA2B,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,EAAE,2BAA2B,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,EAAE,6BAA6B,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EAAE,6BAA6B,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EAAE,4BAA4B,EAAE,MAAM,yBAAyB,CAAC;AACvE,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"main": "../bundles/formio-angular-resource.umd.js",
|
|
3
|
+
"module": "../fesm2015/formio-angular-resource.js",
|
|
4
|
+
"es2015": "../fesm2015/formio-angular-resource.js",
|
|
5
|
+
"esm2015": "../esm2015/resource/formio-angular-resource.js",
|
|
6
|
+
"fesm2015": "../fesm2015/formio-angular-resource.js",
|
|
7
|
+
"typings": "formio-angular-resource.d.ts",
|
|
8
|
+
"metadata": "formio-angular-resource.metadata.json",
|
|
9
|
+
"sideEffects": false,
|
|
10
|
+
"name": "@formio/angular/resource"
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public_api.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/resource/src/public_api.ts"],"names":[],"mappings":"AAIA,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { FormioAuthService } from '@formio/angular/auth';
|
|
4
|
+
import { FormioResourceService } from './resource.service';
|
|
5
|
+
export declare class FormioResourceComponent implements OnInit, OnDestroy {
|
|
6
|
+
service: FormioResourceService;
|
|
7
|
+
route: ActivatedRoute;
|
|
8
|
+
auth: FormioAuthService;
|
|
9
|
+
private paramsSubscription;
|
|
10
|
+
perms: {
|
|
11
|
+
delete: boolean;
|
|
12
|
+
edit: boolean;
|
|
13
|
+
};
|
|
14
|
+
constructor(service: FormioResourceService, route: ActivatedRoute, auth: FormioAuthService);
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
init(): void;
|
|
17
|
+
ngOnDestroy(): void;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=resource.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resource.component.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/resource/src/resource.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAyB,MAAM,iBAAiB,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAG3D,qBAGa,uBAAwB,YAAW,MAAM,EAAE,SAAS;IAKtD,OAAO,EAAE,qBAAqB;IAC9B,KAAK,EAAE,cAAc;IACrB,IAAI,EAAE,iBAAiB;IANhC,OAAO,CAAC,kBAAkB,CAAe;IAClC,KAAK;;;MAAgC;gBAGnC,OAAO,EAAE,qBAAqB,EAC9B,KAAK,EAAE,cAAc,EACrB,IAAI,EAAE,iBAAiB;IAQhC,QAAQ;IAIR,IAAI;IAcJ,WAAW;CAKZ"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface FormioResourceRouteConfig {
|
|
2
|
+
index?: any;
|
|
3
|
+
create?: any;
|
|
4
|
+
resource?: any;
|
|
5
|
+
view?: any;
|
|
6
|
+
edit?: any;
|
|
7
|
+
delete?: any;
|
|
8
|
+
}
|
|
9
|
+
export declare class FormioResourceConfig {
|
|
10
|
+
name: string;
|
|
11
|
+
form: string;
|
|
12
|
+
parents: any[];
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=resource.config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resource.config.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/resource/src/resource.config.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,yBAAyB;IACxC,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,MAAM,CAAC,EAAE,GAAG,CAAC;CACd;AAED,qBACa,oBAAoB;IAC/B,IAAI,SAAM;IACV,IAAI,SAAM;IACV,OAAO,EAAE,GAAG,EAAE,CAAM;CACrB"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormioResourceRouteConfig } from './resource.config';
|
|
2
|
+
export declare class FormioResource {
|
|
3
|
+
static forChild(config?: FormioResourceRouteConfig): any;
|
|
4
|
+
static forRoot(config?: FormioResourceRouteConfig): any;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=resource.module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resource.module.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/resource/src/resource.module.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAI9D,qBAmBa,cAAc;IACzB,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,yBAAyB,GAAG,GAAG;IAGxD,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,yBAAyB,GAAG,GAAG;CAGxD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resource.routes.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/resource/src/resource.routes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAOzC,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,wBAAgB,oBAAoB,CAAC,MAAM,CAAC,EAAE,yBAAyB,GAAG,MAAM,CAkC/E"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ApplicationRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { FormioResourceConfig } from './resource.config';
|
|
4
|
+
import { FormioResources } from './resources.service';
|
|
5
|
+
import { FormioPromiseService } from '@formio/angular';
|
|
6
|
+
import { FormioAlerts } from '@formio/angular';
|
|
7
|
+
import { FormioAppConfig } from '@formio/angular';
|
|
8
|
+
import { FormioRefreshValue } from '@formio/angular';
|
|
9
|
+
import Promise from 'native-promise-only';
|
|
10
|
+
export declare class FormioResourceService {
|
|
11
|
+
appConfig: FormioAppConfig;
|
|
12
|
+
config: FormioResourceConfig;
|
|
13
|
+
resourcesService: FormioResources;
|
|
14
|
+
appRef: ApplicationRef;
|
|
15
|
+
initialized: boolean;
|
|
16
|
+
form: any;
|
|
17
|
+
alerts: FormioAlerts;
|
|
18
|
+
resource: any;
|
|
19
|
+
resourceUrl?: string;
|
|
20
|
+
formUrl: string;
|
|
21
|
+
formFormio: FormioPromiseService;
|
|
22
|
+
formio: FormioPromiseService;
|
|
23
|
+
refresh: EventEmitter<FormioRefreshValue>;
|
|
24
|
+
resourceLoading?: Promise<any>;
|
|
25
|
+
resourceLoaded?: Promise<any>;
|
|
26
|
+
resourceId?: string;
|
|
27
|
+
resources: any;
|
|
28
|
+
formLoading?: Promise<any>;
|
|
29
|
+
formLoaded: Promise<any>;
|
|
30
|
+
formResolve: any;
|
|
31
|
+
formReject: any;
|
|
32
|
+
isLoading: boolean;
|
|
33
|
+
constructor(appConfig: FormioAppConfig, config: FormioResourceConfig, resourcesService: FormioResources, appRef: ApplicationRef);
|
|
34
|
+
initialize(): void;
|
|
35
|
+
init(): any;
|
|
36
|
+
onError(error: any): void;
|
|
37
|
+
onFormError(err: any): void;
|
|
38
|
+
setContext(route: ActivatedRoute): void;
|
|
39
|
+
loadForm(): any;
|
|
40
|
+
loadParents(): any;
|
|
41
|
+
onSubmissionError(err: any): void;
|
|
42
|
+
loadResource(route: ActivatedRoute): any;
|
|
43
|
+
save(resource: any): Promise<any>;
|
|
44
|
+
remove(): Promise<void>;
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=resource.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resource.service.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/resource/src/resource.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAwB,MAAM,eAAe,CAAC;AACnF,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,OAAO,MAAM,qBAAqB,CAAC;AAI1C,qBACa,qBAAqB;IAuBvB,SAAS,EAAE,eAAe;IAC1B,MAAM,EAAE,oBAAoB;IAChB,gBAAgB,EAAE,eAAe;IAC7C,MAAM,EAAE,cAAc;IAzBxB,WAAW,UAAS;IACpB,IAAI,EAAE,GAAG,CAAC;IACV,MAAM,EAAE,YAAY,CAAC;IACrB,QAAQ,EAAE,GAAG,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,oBAAoB,CAAC;IACjC,MAAM,EAAE,oBAAoB,CAAC;IAC7B,OAAO,EAAE,YAAY,CAAC,kBAAkB,CAAC,CAAC;IAE1C,eAAe,CAAC,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;IAC/B,cAAc,CAAC,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,GAAG,CAAC;IAEf,WAAW,CAAC,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;IAC3B,UAAU,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;IACzB,WAAW,EAAE,GAAG,CAAC;IACjB,UAAU,EAAE,GAAG,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;gBAGjB,SAAS,EAAE,eAAe,EAC1B,MAAM,EAAE,oBAAoB,EAChB,gBAAgB,EAAE,eAAe,EAC7C,MAAM,EAAE,cAAc;IAY/B,UAAU;IAIV,IAAI;IA0BJ,OAAO,CAAC,KAAK,EAAE,GAAG;IAWlB,WAAW,CAAC,GAAG,EAAE,GAAG;IAKpB,UAAU,CAAC,KAAK,EAAE,cAAc;IAchC,QAAQ;IAmBR,WAAW;IAmDX,iBAAiB,CAAC,GAAG,EAAE,GAAG;IAI1B,YAAY,CAAC,KAAK,EAAE,cAAc;IAqBlC,IAAI,CAAC,QAAQ,EAAE,GAAG;IAclB,MAAM;CAWP"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormioAuthService } from '@formio/angular/auth';
|
|
3
|
+
export interface FormioResourceMap {
|
|
4
|
+
[name: string]: any;
|
|
5
|
+
}
|
|
6
|
+
export declare class FormioResources {
|
|
7
|
+
auth?: FormioAuthService;
|
|
8
|
+
resources: FormioResourceMap;
|
|
9
|
+
error: EventEmitter<any>;
|
|
10
|
+
onError: EventEmitter<any>;
|
|
11
|
+
constructor(auth?: FormioAuthService);
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=resources.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resources.service.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/resource/src/resources.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,YAAY,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD,MAAM,WAAW,iBAAiB;IAChC,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CAAC;CACrB;AAED,qBACa,eAAe;IAKjB,IAAI,CAAC,EAAE,iBAAiB;IAJjC,SAAS,EAAE,iBAAiB,CAAM;IAClC,KAAK,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC;IACzB,OAAO,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC;gBAElB,IAAI,CAAC,EAAE,iBAAiB;CAUlC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { FormioResourceService } from '../resource.service';
|
|
3
|
+
import { FormioResourceConfig } from '../resource.config';
|
|
4
|
+
export declare class FormioResourceViewComponent implements OnDestroy {
|
|
5
|
+
service: FormioResourceService;
|
|
6
|
+
config: FormioResourceConfig;
|
|
7
|
+
constructor(service: FormioResourceService, config: FormioResourceConfig);
|
|
8
|
+
submission: {
|
|
9
|
+
data: {};
|
|
10
|
+
};
|
|
11
|
+
ngOnDestroy(): void;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=view.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"view.component.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/resource/src/view/view.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,SAAS,EAAC,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAG1D,qBAGa,2BAA4B,YAAW,SAAS;IAElD,OAAO,EAAE,qBAAqB;IAC9B,MAAM,EAAE,oBAAoB;gBAD5B,OAAO,EAAE,qBAAqB,EAC9B,MAAM,EAAE,oBAAoB;IAE9B,UAAU;;MAAc;IAE/B,WAAW;CAGZ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alerts-position.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/src/types/alerts-position.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IACxB,IAAI,IAAA;IACJ,GAAG,IAAA;IACH,MAAM,IAAA;IACN,IAAI,IAAA;CACL"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export default interface FormioMetadata {
|
|
2
|
+
timezone?: string;
|
|
3
|
+
offset?: number;
|
|
4
|
+
origin?: string;
|
|
5
|
+
referrer?: string;
|
|
6
|
+
browserName?: string;
|
|
7
|
+
userAgent?: string;
|
|
8
|
+
pathName?: string;
|
|
9
|
+
onLine?: boolean;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=formio-metadata.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formio-metadata.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/src/types/formio-metadata.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,WAAW,cAAc;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import FormioMetadata from './formio-metadata';
|
|
2
|
+
export default interface FormioSubmission<T = any, stateType = FormioSubmissionState> {
|
|
3
|
+
_id?: string;
|
|
4
|
+
created?: string;
|
|
5
|
+
data?: T;
|
|
6
|
+
form?: string;
|
|
7
|
+
metadata?: FormioMetadata;
|
|
8
|
+
modified?: string;
|
|
9
|
+
owner?: string;
|
|
10
|
+
project?: string;
|
|
11
|
+
state?: stateType;
|
|
12
|
+
_fvid?: number;
|
|
13
|
+
_vid?: number;
|
|
14
|
+
}
|
|
15
|
+
export declare enum FormioSubmissionState {
|
|
16
|
+
draft = "draft",
|
|
17
|
+
submitted = "submitted"
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=formio-submission.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formio-submission.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/src/types/formio-submission.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAE/C,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC,CAAC,GAAG,GAAG,EAAE,SAAS,GAAE,qBAAqB;IACjF,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,CAAC,CAAC;IACT,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,oBAAY,qBAAqB;IAC/B,KAAK,UAAU;IACf,SAAS,cAAc;CACxB"}
|