@formio/angular 5.2.0-rc.1 → 5.2.1-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/.dockerignore +5 -0
- package/.editorconfig +13 -0
- package/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
- package/.github/ISSUE_TEMPLATE/custom-components-support-request.md +15 -0
- package/.github/ISSUE_TEMPLATE/question.md +8 -0
- package/.travis.yml +4 -0
- package/.yo-rc.json +7 -0
- package/CHANGELOG.md +1008 -0
- package/Dockerfile +20 -0
- package/LICENSE +21 -0
- package/README.md +170 -13
- package/angular.json +51 -0
- package/bs-config.json +11 -0
- package/{FormioBaseComponent.d.ts → dist/angular-formio/FormioBaseComponent.d.ts} +4 -1
- package/dist/angular-formio/FormioBaseComponent.d.ts.map +1 -0
- package/dist/angular-formio/README.md +24 -0
- package/dist/angular-formio/auth/auth.component.d.ts +6 -0
- package/{auth → dist/angular-formio/auth}/auth.component.d.ts.map +1 -1
- package/{auth → dist/angular-formio/auth}/auth.config.d.ts +3 -0
- package/dist/angular-formio/auth/auth.config.d.ts.map +1 -0
- package/dist/angular-formio/auth/auth.module.d.ts +17 -0
- package/dist/angular-formio/auth/auth.module.d.ts.map +1 -0
- package/{auth → dist/angular-formio/auth}/auth.routes.d.ts +0 -0
- package/{auth → dist/angular-formio/auth}/auth.routes.d.ts.map +0 -0
- package/{auth → dist/angular-formio/auth}/auth.service.d.ts +3 -0
- package/dist/angular-formio/auth/auth.service.d.ts.map +1 -0
- package/dist/angular-formio/auth/formio-angular-auth.d.ts +6 -0
- package/{auth → dist/angular-formio/auth}/formio-angular-auth.d.ts.map +1 -1
- package/{auth → dist/angular-formio/auth}/index.d.ts +0 -0
- package/{auth → dist/angular-formio/auth}/index.d.ts.map +0 -0
- package/dist/angular-formio/auth/login/login.component.d.ts +9 -0
- package/{auth → dist/angular-formio/auth}/login/login.component.d.ts.map +1 -1
- package/{auth → dist/angular-formio/auth}/package.json +0 -1
- package/{auth → dist/angular-formio/auth}/public_api.d.ts +0 -0
- package/{auth → dist/angular-formio/auth}/public_api.d.ts.map +0 -0
- package/dist/angular-formio/auth/register/register.component.d.ts +9 -0
- package/{auth → dist/angular-formio/auth}/register/register.component.d.ts.map +1 -1
- package/dist/angular-formio/auth/resetpass/resetpass.component.d.ts +9 -0
- package/{auth → dist/angular-formio/auth}/resetpass/resetpass.component.d.ts.map +1 -1
- package/dist/angular-formio/bundles/formio-angular-auth.umd.js +421 -0
- package/dist/angular-formio/bundles/formio-angular-auth.umd.js.map +1 -0
- package/dist/angular-formio/bundles/formio-angular-grid.umd.js +1725 -0
- package/dist/angular-formio/bundles/formio-angular-grid.umd.js.map +1 -0
- package/dist/angular-formio/bundles/formio-angular-manager.umd.js +1648 -0
- package/dist/angular-formio/bundles/formio-angular-manager.umd.js.map +1 -0
- package/dist/angular-formio/bundles/formio-angular-resource.umd.js +720 -0
- package/dist/angular-formio/bundles/formio-angular-resource.umd.js.map +1 -0
- package/dist/angular-formio/bundles/formio-angular.umd.js +1729 -0
- package/dist/angular-formio/bundles/formio-angular.umd.js.map +1 -0
- package/dist/angular-formio/components/alerts/formio.alerts.component.d.ts +12 -0
- package/{components → dist/angular-formio/components}/alerts/formio.alerts.component.d.ts.map +1 -1
- package/{components → dist/angular-formio/components}/alerts/formio.alerts.d.ts +0 -0
- package/{components → dist/angular-formio/components}/alerts/formio.alerts.d.ts.map +0 -0
- package/dist/angular-formio/components/alerts/parse-html-content.pipe.d.ts +8 -0
- package/{components → dist/angular-formio/components}/alerts/parse-html-content.pipe.d.ts.map +1 -1
- package/{components → dist/angular-formio/components}/formbuilder/formbuilder.component.d.ts +3 -0
- package/dist/angular-formio/components/formbuilder/formbuilder.component.d.ts.map +1 -0
- package/{components → dist/angular-formio/components}/formio/formio.component.d.ts +3 -0
- package/{components → dist/angular-formio/components}/formio/formio.component.d.ts.map +1 -1
- package/dist/angular-formio/components/loader/formio.loader.component.d.ts +7 -0
- package/dist/angular-formio/components/loader/formio.loader.component.d.ts.map +1 -0
- package/{core.d.ts → dist/angular-formio/core.d.ts} +0 -0
- package/{core.d.ts.map → dist/angular-formio/core.d.ts.map} +0 -0
- package/{custom-component → dist/angular-formio/custom-component}/create-custom-component.d.ts +0 -0
- package/{custom-component → dist/angular-formio/custom-component}/create-custom-component.d.ts.map +0 -0
- package/dist/angular-formio/custom-component/custom-tags.service.d.ts +8 -0
- package/dist/angular-formio/custom-component/custom-tags.service.d.ts.map +1 -0
- package/{custom-component → dist/angular-formio/custom-component}/register-custom-component.d.ts +0 -0
- package/{custom-component → dist/angular-formio/custom-component}/register-custom-component.d.ts.map +0 -0
- package/{elements.common.d.ts → dist/angular-formio/elements.common.d.ts} +0 -0
- package/{elements.common.d.ts.map → dist/angular-formio/elements.common.d.ts.map} +0 -0
- package/dist/angular-formio/esm2015/FormioBaseComponent.js +497 -0
- package/dist/angular-formio/esm2015/auth/auth.component.js +39 -0
- package/dist/angular-formio/esm2015/auth/auth.config.js +15 -0
- package/dist/angular-formio/esm2015/auth/auth.module.js +49 -0
- package/{esm2015 → dist/angular-formio/esm2015}/auth/auth.routes.js +0 -0
- package/dist/angular-formio/esm2015/auth/auth.service.js +159 -0
- package/{esm2015 → dist/angular-formio/esm2015}/auth/formio-angular-auth.js +0 -0
- package/{esm2015 → dist/angular-formio/esm2015}/auth/index.js +0 -0
- package/dist/angular-formio/esm2015/auth/login/login.component.js +24 -0
- package/{esm2015 → dist/angular-formio/esm2015}/auth/public_api.js +0 -0
- package/dist/angular-formio/esm2015/auth/register/register.component.js +24 -0
- package/dist/angular-formio/esm2015/auth/resetpass/resetpass.component.js +24 -0
- package/dist/angular-formio/esm2015/components/alerts/formio.alerts.component.js +49 -0
- package/{esm2015 → dist/angular-formio/esm2015}/components/alerts/formio.alerts.js +0 -0
- package/dist/angular-formio/esm2015/components/alerts/parse-html-content.pipe.js +19 -0
- package/dist/angular-formio/esm2015/components/formbuilder/formbuilder.component.js +203 -0
- package/dist/angular-formio/esm2015/components/formio/formio.component.js +87 -0
- package/dist/angular-formio/esm2015/components/loader/formio.loader.component.js +27 -0
- package/{esm2015 → dist/angular-formio/esm2015}/core.js +0 -0
- package/{esm2015 → dist/angular-formio/esm2015}/custom-component/create-custom-component.js +0 -0
- package/dist/angular-formio/esm2015/custom-component/custom-tags.service.js +16 -0
- package/{esm2015 → dist/angular-formio/esm2015}/custom-component/register-custom-component.js +0 -0
- package/{esm2015 → dist/angular-formio/esm2015}/elements.common.js +0 -0
- package/dist/angular-formio/esm2015/formio-angular.js +5 -0
- package/{esm2015 → dist/angular-formio/esm2015}/formio-promise.service.js +0 -0
- package/{esm2015 → dist/angular-formio/esm2015}/formio.common.js +0 -0
- package/dist/angular-formio/esm2015/formio.config.js +14 -0
- package/dist/angular-formio/esm2015/formio.module.js +61 -0
- package/{esm2015 → dist/angular-formio/esm2015}/formio.service.js +0 -0
- package/{esm2015 → dist/angular-formio/esm2015}/formio.utils.js +0 -0
- package/dist/angular-formio/esm2015/grid/GridBodyComponent.js +86 -0
- package/dist/angular-formio/esm2015/grid/GridFooterComponent.js +41 -0
- package/dist/angular-formio/esm2015/grid/GridHeaderComponent.js +35 -0
- package/dist/angular-formio/esm2015/grid/form/FormGridBody.component.js +130 -0
- package/dist/angular-formio/esm2015/grid/form/FormGridFooter.component.js +118 -0
- package/dist/angular-formio/esm2015/grid/form/FormGridHeader.component.js +65 -0
- package/{esm2015 → dist/angular-formio/esm2015}/grid/form/index.js +0 -0
- package/dist/angular-formio/esm2015/grid/form/time-since.pipe.js +37 -0
- package/dist/angular-formio/esm2015/grid/formio-angular-grid.js +5 -0
- package/dist/angular-formio/esm2015/grid/grid.component.js +302 -0
- package/dist/angular-formio/esm2015/grid/grid.module.js +90 -0
- package/dist/angular-formio/esm2015/grid/grid.service.js +18 -0
- package/{esm2015 → dist/angular-formio/esm2015}/grid/index.js +0 -0
- package/{esm2015 → dist/angular-formio/esm2015}/grid/public_api.js +0 -0
- package/dist/angular-formio/esm2015/grid/submission/SubmissionGridBody.component.js +75 -0
- package/dist/angular-formio/esm2015/grid/submission/SubmissionGridFooter.component.js +107 -0
- package/dist/angular-formio/esm2015/grid/submission/SubmissionGridHeader.component.js +99 -0
- package/{esm2015 → dist/angular-formio/esm2015}/grid/submission/index.js +0 -0
- package/{esm2015 → dist/angular-formio/esm2015}/grid/types/grid-column.js +0 -0
- package/{esm2015 → dist/angular-formio/esm2015}/grid/types/grid-footer-positions.js +0 -0
- package/{esm2015 → dist/angular-formio/esm2015}/grid/types/grid-header.js +0 -0
- package/{esm2015 → dist/angular-formio/esm2015}/index.js +0 -0
- package/dist/angular-formio/esm2015/manager/create/create.component.js +68 -0
- package/dist/angular-formio/esm2015/manager/delete/delete.component.js +56 -0
- package/dist/angular-formio/esm2015/manager/edit/edit.component.js +170 -0
- package/dist/angular-formio/esm2015/manager/form/form.component.js +192 -0
- package/dist/angular-formio/esm2015/manager/form-manager.config.js +15 -0
- package/dist/angular-formio/esm2015/manager/form-manager.module.js +86 -0
- package/{esm2015 → dist/angular-formio/esm2015}/manager/form-manager.routes.js +0 -0
- package/dist/angular-formio/esm2015/manager/form-manager.service.js +178 -0
- package/{esm2015 → dist/angular-formio/esm2015}/manager/formio-angular-manager.js +0 -0
- package/dist/angular-formio/esm2015/manager/index/index.component.js +130 -0
- package/{esm2015 → dist/angular-formio/esm2015}/manager/index.js +0 -0
- package/{esm2015 → dist/angular-formio/esm2015}/manager/public_api.js +0 -0
- package/dist/angular-formio/esm2015/manager/submission/delete/delete.component.js +47 -0
- package/dist/angular-formio/esm2015/manager/submission/edit/edit.component.js +30 -0
- package/dist/angular-formio/esm2015/manager/submission/index/index.component.js +30 -0
- package/dist/angular-formio/esm2015/manager/submission/submission/submission.component.js +75 -0
- package/dist/angular-formio/esm2015/manager/submission/view/view.component.js +24 -0
- package/dist/angular-formio/esm2015/manager/view/view.component.js +57 -0
- package/{esm2015 → dist/angular-formio/esm2015}/public-api.js +0 -0
- package/dist/angular-formio/esm2015/resource/create/create.component.js +61 -0
- package/dist/angular-formio/esm2015/resource/delete/delete.component.js +42 -0
- package/dist/angular-formio/esm2015/resource/edit/edit.component.js +44 -0
- package/{esm2015 → dist/angular-formio/esm2015}/resource/formio-angular-resource.js +0 -0
- package/dist/angular-formio/esm2015/resource/index/index.component.js +72 -0
- package/{esm2015 → dist/angular-formio/esm2015}/resource/index.js +0 -0
- package/{esm2015 → dist/angular-formio/esm2015}/resource/public_api.js +0 -0
- package/dist/angular-formio/esm2015/resource/resource.component.js +83 -0
- package/dist/angular-formio/esm2015/resource/resource.config.js +15 -0
- package/dist/angular-formio/esm2015/resource/resource.module.js +65 -0
- package/{esm2015 → dist/angular-formio/esm2015}/resource/resource.routes.js +0 -0
- package/dist/angular-formio/esm2015/resource/resource.service.js +186 -0
- package/dist/angular-formio/esm2015/resource/resources.service.js +22 -0
- package/dist/angular-formio/esm2015/resource/view/view.component.js +29 -0
- package/{esm2015 → dist/angular-formio/esm2015}/types/alerts-position.js +0 -0
- package/{esm2015 → dist/angular-formio/esm2015}/types/formio-metadata.js +0 -0
- package/{esm2015 → dist/angular-formio/esm2015}/types/formio-submission.js +0 -0
- package/{fesm2015 → dist/angular-formio/fesm2015}/formio-angular-auth.js +108 -45
- package/dist/angular-formio/fesm2015/formio-angular-auth.js.map +1 -0
- package/dist/angular-formio/fesm2015/formio-angular-grid.js +1175 -0
- package/dist/angular-formio/fesm2015/formio-angular-grid.js.map +1 -0
- package/dist/angular-formio/fesm2015/formio-angular-manager.js +1145 -0
- package/dist/angular-formio/fesm2015/formio-angular-manager.js.map +1 -0
- package/dist/angular-formio/fesm2015/formio-angular-resource.js +612 -0
- package/dist/angular-formio/fesm2015/formio-angular-resource.js.map +1 -0
- package/dist/angular-formio/fesm2015/formio-angular.js +1232 -0
- package/dist/angular-formio/fesm2015/formio-angular.js.map +1 -0
- package/dist/angular-formio/formio-angular.d.ts +6 -0
- package/dist/angular-formio/formio-angular.d.ts.map +1 -0
- package/{formio-promise.service.d.ts → dist/angular-formio/formio-promise.service.d.ts} +0 -0
- package/{formio-promise.service.d.ts.map → dist/angular-formio/formio-promise.service.d.ts.map} +0 -0
- package/{formio.common.d.ts → dist/angular-formio/formio.common.d.ts} +0 -0
- package/{formio.common.d.ts.map → dist/angular-formio/formio.common.d.ts.map} +0 -0
- package/dist/angular-formio/formio.config.d.ts +10 -0
- package/dist/angular-formio/formio.config.d.ts.map +1 -0
- package/dist/angular-formio/formio.module.d.ts +14 -0
- package/{formio.module.d.ts.map → dist/angular-formio/formio.module.d.ts.map} +1 -1
- package/{formio.service.d.ts → dist/angular-formio/formio.service.d.ts} +0 -0
- package/{formio.service.d.ts.map → dist/angular-formio/formio.service.d.ts.map} +0 -0
- package/{formio.utils.d.ts → dist/angular-formio/formio.utils.d.ts} +0 -0
- package/{formio.utils.d.ts.map → dist/angular-formio/formio.utils.d.ts.map} +0 -0
- package/{grid → dist/angular-formio/grid}/GridBodyComponent.d.ts +3 -0
- package/dist/angular-formio/grid/GridBodyComponent.d.ts.map +1 -0
- package/{grid → dist/angular-formio/grid}/GridFooterComponent.d.ts +3 -0
- package/dist/angular-formio/grid/GridFooterComponent.d.ts.map +1 -0
- package/{grid → dist/angular-formio/grid}/GridHeaderComponent.d.ts +3 -0
- package/dist/angular-formio/grid/GridHeaderComponent.d.ts.map +1 -0
- package/dist/angular-formio/grid/form/FormGridBody.component.d.ts +9 -0
- package/{grid → dist/angular-formio/grid}/form/FormGridBody.component.d.ts.map +1 -1
- package/dist/angular-formio/grid/form/FormGridFooter.component.d.ts +10 -0
- package/{grid → dist/angular-formio/grid}/form/FormGridFooter.component.d.ts.map +1 -1
- package/{grid → dist/angular-formio/grid}/form/FormGridHeader.component.d.ts +3 -0
- package/{grid → dist/angular-formio/grid}/form/FormGridHeader.component.d.ts.map +1 -1
- package/{grid → dist/angular-formio/grid}/form/index.d.ts +0 -0
- package/{grid → dist/angular-formio/grid}/form/index.d.ts.map +0 -0
- package/dist/angular-formio/grid/form/time-since.pipe.d.ts +8 -0
- package/{grid → dist/angular-formio/grid}/form/time-since.pipe.d.ts.map +1 -1
- package/dist/angular-formio/grid/formio-angular-grid.d.ts +6 -0
- package/{grid → dist/angular-formio/grid}/formio-angular-grid.d.ts.map +1 -1
- package/{grid → dist/angular-formio/grid}/grid.component.d.ts +3 -0
- package/dist/angular-formio/grid/grid.component.d.ts.map +1 -0
- package/dist/angular-formio/grid/grid.module.d.ts +23 -0
- package/{grid → dist/angular-formio/grid}/grid.module.d.ts.map +1 -1
- package/dist/angular-formio/grid/grid.service.d.ts +10 -0
- package/dist/angular-formio/grid/grid.service.d.ts.map +1 -0
- package/{grid → dist/angular-formio/grid}/index.d.ts +0 -0
- package/{grid → dist/angular-formio/grid}/index.d.ts.map +0 -0
- package/{grid → dist/angular-formio/grid}/package.json +0 -1
- package/{grid → dist/angular-formio/grid}/public_api.d.ts +0 -0
- package/{grid → dist/angular-formio/grid}/public_api.d.ts.map +0 -0
- package/{grid → dist/angular-formio/grid}/submission/SubmissionGridBody.component.d.ts +3 -0
- package/{grid → dist/angular-formio/grid}/submission/SubmissionGridBody.component.d.ts.map +1 -1
- package/dist/angular-formio/grid/submission/SubmissionGridFooter.component.d.ts +10 -0
- package/{grid → dist/angular-formio/grid}/submission/SubmissionGridFooter.component.d.ts.map +1 -1
- package/{grid → dist/angular-formio/grid}/submission/SubmissionGridHeader.component.d.ts +3 -0
- package/dist/angular-formio/grid/submission/SubmissionGridHeader.component.d.ts.map +1 -0
- package/{grid → dist/angular-formio/grid}/submission/index.d.ts +0 -0
- package/{grid → dist/angular-formio/grid}/submission/index.d.ts.map +0 -0
- package/{grid → dist/angular-formio/grid}/types/grid-column.d.ts +0 -0
- package/{grid → dist/angular-formio/grid}/types/grid-column.d.ts.map +0 -0
- package/{grid → dist/angular-formio/grid}/types/grid-footer-positions.d.ts +0 -0
- package/{grid → dist/angular-formio/grid}/types/grid-footer-positions.d.ts.map +0 -0
- package/{grid → dist/angular-formio/grid}/types/grid-header.d.ts +0 -0
- package/{grid → dist/angular-formio/grid}/types/grid-header.d.ts.map +0 -0
- package/{index.d.ts → dist/angular-formio/index.d.ts} +0 -0
- package/{index.d.ts.map → dist/angular-formio/index.d.ts.map} +0 -0
- package/dist/angular-formio/manager/create/create.component.d.ts +9 -0
- package/{manager → dist/angular-formio/manager}/create/create.component.d.ts.map +1 -1
- package/{manager → dist/angular-formio/manager}/delete/delete.component.d.ts +3 -0
- package/dist/angular-formio/manager/delete/delete.component.d.ts.map +1 -0
- package/{manager → dist/angular-formio/manager}/edit/edit.component.d.ts +3 -0
- package/dist/angular-formio/manager/edit/edit.component.d.ts.map +1 -0
- package/{manager → dist/angular-formio/manager}/form/form.component.d.ts +3 -0
- package/dist/angular-formio/manager/form/form.component.d.ts.map +1 -0
- package/{manager → dist/angular-formio/manager}/form-manager.config.d.ts +3 -0
- package/dist/angular-formio/manager/form-manager.config.d.ts.map +1 -0
- package/dist/angular-formio/manager/form-manager.module.d.ts +28 -0
- package/dist/angular-formio/manager/form-manager.module.d.ts.map +1 -0
- package/{manager → dist/angular-formio/manager}/form-manager.routes.d.ts +0 -0
- package/{manager → dist/angular-formio/manager}/form-manager.routes.d.ts.map +0 -0
- package/{manager → dist/angular-formio/manager}/form-manager.service.d.ts +3 -0
- package/dist/angular-formio/manager/form-manager.service.d.ts.map +1 -0
- package/dist/angular-formio/manager/formio-angular-manager.d.ts +6 -0
- package/{manager → dist/angular-formio/manager}/formio-angular-manager.d.ts.map +1 -1
- package/{manager → dist/angular-formio/manager}/index/index.component.d.ts +3 -0
- package/dist/angular-formio/manager/index/index.component.d.ts.map +1 -0
- package/{manager → dist/angular-formio/manager}/index.d.ts +0 -0
- package/{manager → dist/angular-formio/manager}/index.d.ts.map +0 -0
- package/{manager → dist/angular-formio/manager}/package.json +0 -1
- package/{manager → dist/angular-formio/manager}/public_api.d.ts +0 -0
- package/{manager → dist/angular-formio/manager}/public_api.d.ts.map +0 -0
- package/{manager → dist/angular-formio/manager}/submission/delete/delete.component.d.ts +3 -0
- package/{manager → dist/angular-formio/manager}/submission/delete/delete.component.d.ts.map +1 -1
- package/{manager → dist/angular-formio/manager}/submission/edit/edit.component.d.ts +3 -0
- package/{manager → dist/angular-formio/manager}/submission/edit/edit.component.d.ts.map +1 -1
- package/{manager → dist/angular-formio/manager}/submission/index/index.component.d.ts +3 -0
- package/{manager → dist/angular-formio/manager}/submission/index/index.component.d.ts.map +1 -1
- package/{manager → dist/angular-formio/manager}/submission/submission/submission.component.d.ts +3 -0
- package/{manager → dist/angular-formio/manager}/submission/submission/submission.component.d.ts.map +1 -1
- package/dist/angular-formio/manager/submission/view/view.component.d.ts +9 -0
- package/{manager → dist/angular-formio/manager}/submission/view/view.component.d.ts.map +1 -1
- package/{manager → dist/angular-formio/manager}/view/view.component.d.ts +3 -0
- package/dist/angular-formio/manager/view/view.component.d.ts.map +1 -0
- package/dist/angular-formio/package.json +49 -0
- package/{public-api.d.ts → dist/angular-formio/public-api.d.ts} +0 -0
- package/{public-api.d.ts.map → dist/angular-formio/public-api.d.ts.map} +0 -0
- package/{resource → dist/angular-formio/resource}/create/create.component.d.ts +3 -0
- package/dist/angular-formio/resource/create/create.component.d.ts.map +1 -0
- package/{resource → dist/angular-formio/resource}/delete/delete.component.d.ts +3 -0
- package/{resource → dist/angular-formio/resource}/delete/delete.component.d.ts.map +1 -1
- package/{resource → dist/angular-formio/resource}/edit/edit.component.d.ts +9 -2
- package/dist/angular-formio/resource/edit/edit.component.d.ts.map +1 -0
- package/dist/angular-formio/resource/formio-angular-resource.d.ts +6 -0
- package/{resource → dist/angular-formio/resource}/formio-angular-resource.d.ts.map +1 -1
- package/{resource → dist/angular-formio/resource}/index/index.component.d.ts +3 -0
- package/dist/angular-formio/resource/index/index.component.d.ts.map +1 -0
- package/{resource → dist/angular-formio/resource}/index.d.ts +0 -0
- package/{resource → dist/angular-formio/resource}/index.d.ts.map +0 -0
- package/{resource → dist/angular-formio/resource}/package.json +0 -1
- package/{resource → dist/angular-formio/resource}/public_api.d.ts +0 -0
- package/{resource → dist/angular-formio/resource}/public_api.d.ts.map +0 -0
- package/{resource → dist/angular-formio/resource}/resource.component.d.ts +3 -0
- package/{resource → dist/angular-formio/resource}/resource.component.d.ts.map +1 -1
- package/{resource → dist/angular-formio/resource}/resource.config.d.ts +3 -0
- package/dist/angular-formio/resource/resource.config.d.ts.map +1 -0
- package/dist/angular-formio/resource/resource.module.d.ts +20 -0
- package/dist/angular-formio/resource/resource.module.d.ts.map +1 -0
- package/{resource → dist/angular-formio/resource}/resource.routes.d.ts +0 -0
- package/{resource → dist/angular-formio/resource}/resource.routes.d.ts.map +0 -0
- package/{resource → dist/angular-formio/resource}/resource.service.d.ts +3 -0
- package/dist/angular-formio/resource/resource.service.d.ts.map +1 -0
- package/{resource → dist/angular-formio/resource}/resources.service.d.ts +3 -0
- package/dist/angular-formio/resource/resources.service.d.ts.map +1 -0
- package/dist/angular-formio/resource/view/view.component.d.ts +16 -0
- package/dist/angular-formio/resource/view/view.component.d.ts.map +1 -0
- package/{types → dist/angular-formio/types}/alerts-position.d.ts +0 -0
- package/{types → dist/angular-formio/types}/alerts-position.d.ts.map +0 -0
- package/{types → dist/angular-formio/types}/formio-metadata.d.ts +0 -0
- package/{types → dist/angular-formio/types}/formio-metadata.d.ts.map +0 -0
- package/{types → dist/angular-formio/types}/formio-submission.d.ts +0 -0
- package/{types → dist/angular-formio/types}/formio-submission.d.ts.map +0 -0
- package/package.json +52 -28
- package/projects/angular-formio/README.md +24 -0
- package/projects/angular-formio/auth/package.json +10 -0
- package/projects/angular-formio/auth/src/auth.component.html +12 -0
- package/projects/angular-formio/auth/src/auth.component.ts +5 -0
- package/projects/angular-formio/auth/src/auth.config.ts +72 -0
- package/projects/angular-formio/auth/src/auth.module.ts +33 -0
- package/projects/angular-formio/auth/src/auth.routes.ts +34 -0
- package/projects/angular-formio/auth/src/auth.service.ts +201 -0
- package/projects/angular-formio/auth/src/index.ts +8 -0
- package/projects/angular-formio/auth/src/login/login.component.html +1 -0
- package/projects/angular-formio/auth/src/login/login.component.ts +8 -0
- package/projects/angular-formio/auth/src/public_api.ts +5 -0
- package/projects/angular-formio/auth/src/register/register.component.html +1 -0
- package/projects/angular-formio/auth/src/register/register.component.ts +8 -0
- package/projects/angular-formio/auth/src/resetpass/resetpass.component.html +1 -0
- package/projects/angular-formio/auth/src/resetpass/resetpass.component.ts +8 -0
- package/projects/angular-formio/grid/package.json +11 -0
- package/projects/angular-formio/grid/src/GridBodyComponent.ts +80 -0
- package/projects/angular-formio/grid/src/GridFooterComponent.ts +25 -0
- package/projects/angular-formio/grid/src/GridHeaderComponent.ts +25 -0
- package/projects/angular-formio/grid/src/form/FormGridBody.component.html +23 -0
- package/projects/angular-formio/grid/src/form/FormGridBody.component.scss +4 -0
- package/projects/angular-formio/grid/src/form/FormGridBody.component.ts +15 -0
- package/projects/angular-formio/grid/src/form/FormGridFooter.component.html +21 -0
- package/projects/angular-formio/grid/src/form/FormGridFooter.component.ts +23 -0
- package/projects/angular-formio/grid/src/form/FormGridHeader.component.html +18 -0
- package/projects/angular-formio/grid/src/form/FormGridHeader.component.ts +24 -0
- package/projects/angular-formio/grid/src/form/index.ts +8 -0
- package/projects/angular-formio/grid/src/form/time-since.pipe.ts +31 -0
- package/projects/angular-formio/grid/src/grid.component.html +18 -0
- package/projects/angular-formio/grid/src/grid.component.scss +9 -0
- package/projects/angular-formio/grid/src/grid.component.ts +242 -0
- package/projects/angular-formio/grid/src/grid.footer.scss +14 -0
- package/projects/angular-formio/grid/src/grid.module.ts +57 -0
- package/projects/angular-formio/grid/src/grid.service.ts +16 -0
- package/projects/angular-formio/grid/src/index.ts +12 -0
- package/projects/angular-formio/grid/src/public_api.ts +5 -0
- package/projects/angular-formio/grid/src/submission/SubmissionGridBody.component.html +7 -0
- package/projects/angular-formio/grid/src/submission/SubmissionGridBody.component.ts +39 -0
- package/projects/angular-formio/grid/src/submission/SubmissionGridFooter.component.html +18 -0
- package/projects/angular-formio/grid/src/submission/SubmissionGridFooter.component.ts +20 -0
- package/projects/angular-formio/grid/src/submission/SubmissionGridHeader.component.html +11 -0
- package/projects/angular-formio/grid/src/submission/SubmissionGridHeader.component.ts +72 -0
- package/projects/angular-formio/grid/src/submission/index.ts +8 -0
- package/projects/angular-formio/grid/src/types/grid-column.ts +7 -0
- package/projects/angular-formio/grid/src/types/grid-footer-positions.ts +5 -0
- package/projects/angular-formio/grid/src/types/grid-header.ts +14 -0
- package/projects/angular-formio/karma.conf.js +32 -0
- package/projects/angular-formio/manager/package.json +15 -0
- package/projects/angular-formio/manager/src/create/create.component.ts +11 -0
- package/projects/angular-formio/manager/src/delete/delete.component.html +6 -0
- package/projects/angular-formio/manager/src/delete/delete.component.ts +37 -0
- package/projects/angular-formio/manager/src/edit/edit.component.html +19 -0
- package/projects/angular-formio/manager/src/edit/edit.component.ts +107 -0
- package/projects/angular-formio/manager/src/form/form.component.html +32 -0
- package/projects/angular-formio/manager/src/form/form.component.ts +73 -0
- package/projects/angular-formio/manager/src/form-manager.config.ts +26 -0
- package/projects/angular-formio/manager/src/form-manager.module.ts +54 -0
- package/projects/angular-formio/manager/src/form-manager.routes.ts +75 -0
- package/projects/angular-formio/manager/src/form-manager.service.ts +195 -0
- package/projects/angular-formio/manager/src/index/index.component.html +14 -0
- package/projects/angular-formio/manager/src/index/index.component.scss +22 -0
- package/projects/angular-formio/manager/src/index/index.component.ts +84 -0
- package/projects/angular-formio/manager/src/index.ts +16 -0
- package/projects/angular-formio/manager/src/public_api.ts +5 -0
- package/projects/angular-formio/manager/src/submission/delete/delete.component.html +6 -0
- package/projects/angular-formio/manager/src/submission/delete/delete.component.ts +26 -0
- package/projects/angular-formio/manager/src/submission/edit/edit.component.html +7 -0
- package/projects/angular-formio/manager/src/submission/edit/edit.component.ts +18 -0
- package/projects/angular-formio/manager/src/submission/index/index.component.html +1 -0
- package/projects/angular-formio/manager/src/submission/index/index.component.ts +18 -0
- package/projects/angular-formio/manager/src/submission/submission/submission.component.html +8 -0
- package/projects/angular-formio/manager/src/submission/submission/submission.component.ts +24 -0
- package/projects/angular-formio/manager/src/submission/view/view.component.html +7 -0
- package/projects/angular-formio/manager/src/submission/view/view.component.ts +9 -0
- package/projects/angular-formio/manager/src/view/view.component.html +10 -0
- package/projects/angular-formio/manager/src/view/view.component.ts +41 -0
- package/projects/angular-formio/ng-package.json +14 -0
- package/projects/angular-formio/package.json +39 -0
- package/projects/angular-formio/resource/package.json +11 -0
- package/projects/angular-formio/resource/src/create/create.component.html +13 -0
- package/projects/angular-formio/resource/src/create/create.component.scss +3 -0
- package/projects/angular-formio/resource/src/create/create.component.ts +37 -0
- package/projects/angular-formio/resource/src/delete/delete.component.html +5 -0
- package/projects/angular-formio/resource/src/delete/delete.component.ts +24 -0
- package/projects/angular-formio/resource/src/edit/edit.component.html +6 -0
- package/projects/angular-formio/resource/src/edit/edit.component.ts +33 -0
- package/projects/angular-formio/resource/src/index/index.component.html +10 -0
- package/projects/angular-formio/resource/src/index/index.component.ts +66 -0
- package/projects/angular-formio/resource/src/index.js +24 -0
- package/projects/angular-formio/resource/src/index.ts +11 -0
- package/projects/angular-formio/resource/src/public_api.ts +5 -0
- package/projects/angular-formio/resource/src/resource.component.html +7 -0
- package/projects/angular-formio/resource/src/resource.component.ts +48 -0
- package/projects/angular-formio/resource/src/resource.config.ts +17 -0
- package/projects/angular-formio/resource/src/resource.module.ts +43 -0
- package/projects/angular-formio/resource/src/resource.routes.ts +43 -0
- package/projects/angular-formio/resource/src/resource.service.ts +232 -0
- package/projects/angular-formio/resource/src/resources.service.ts +24 -0
- package/projects/angular-formio/resource/src/view/view.component.html +6 -0
- package/projects/angular-formio/resource/src/view/view.component.ts +19 -0
- package/projects/angular-formio/src/FormioBaseComponent.ts +507 -0
- package/projects/angular-formio/src/components/alerts/formio.alerts.component.html +3 -0
- package/projects/angular-formio/src/components/alerts/formio.alerts.component.ts +19 -0
- package/projects/angular-formio/src/components/alerts/formio.alerts.ts +21 -0
- package/projects/angular-formio/src/components/alerts/parse-html-content.pipe.ts +15 -0
- package/projects/angular-formio/src/components/formbuilder/formbuilder.component.html +1 -0
- package/projects/angular-formio/src/components/formbuilder/formbuilder.component.ts +216 -0
- package/projects/angular-formio/src/components/formio/formio.component.html +8 -0
- package/projects/angular-formio/src/components/formio/formio.component.ts +33 -0
- package/projects/angular-formio/src/components/loader/formio.loader.component.html +3 -0
- package/projects/angular-formio/src/components/loader/formio.loader.component.scss +26 -0
- package/projects/angular-formio/src/components/loader/formio.loader.component.ts +10 -0
- package/projects/angular-formio/src/core.ts +21 -0
- package/projects/angular-formio/src/custom-component/create-custom-component.ts +173 -0
- package/projects/angular-formio/src/custom-component/custom-tags.service.ts +10 -0
- package/projects/angular-formio/src/custom-component/register-custom-component.ts +41 -0
- package/projects/angular-formio/src/elements.common.ts +31 -0
- package/projects/angular-formio/src/formio-promise.service.ts +36 -0
- package/projects/angular-formio/src/formio.common.ts +81 -0
- package/projects/angular-formio/src/formio.config.ts +9 -0
- package/projects/angular-formio/src/formio.module.ts +39 -0
- package/projects/angular-formio/src/formio.service.ts +57 -0
- package/projects/angular-formio/src/formio.utils.ts +23 -0
- package/projects/angular-formio/src/index.ts +5 -0
- package/projects/angular-formio/src/public-api.ts +5 -0
- package/projects/angular-formio/src/test.ts +26 -0
- package/projects/angular-formio/src/types/alerts-position.ts +6 -0
- package/projects/angular-formio/src/types/formio-metadata.ts +10 -0
- package/projects/angular-formio/src/types/formio-submission.ts +20 -0
- package/projects/angular-formio/tsconfig.lib.json +27 -0
- package/projects/angular-formio/tsconfig.lib.prod.json +8 -0
- package/projects/angular-formio/tsconfig.spec.json +17 -0
- package/projects/angular-formio/tslint.json +17 -0
- package/tsconfig.json +28 -0
- package/tslint.json +140 -0
- package/FormioBaseComponent.d.ts.map +0 -1
- package/FormioBaseComponent.ngfactory.d.ts.map +0 -1
- package/auth/auth.component.d.ts +0 -3
- package/auth/auth.config.d.ts.map +0 -1
- package/auth/auth.module.d.ts +0 -6
- package/auth/auth.module.d.ts.map +0 -1
- package/auth/auth.service.d.ts.map +0 -1
- package/auth/formio-angular-auth.d.ts +0 -5
- package/auth/formio-angular-auth.metadata.json +0 -1
- package/auth/login/login.component.d.ts +0 -6
- package/auth/register/register.component.d.ts +0 -6
- package/auth/resetpass/resetpass.component.d.ts +0 -6
- package/bundles/formio-angular-auth.umd.js +0 -312
- package/bundles/formio-angular-auth.umd.js.map +0 -1
- package/bundles/formio-angular-grid.umd.js +0 -1004
- package/bundles/formio-angular-grid.umd.js.map +0 -1
- package/bundles/formio-angular-manager.umd.js +0 -1116
- package/bundles/formio-angular-manager.umd.js.map +0 -1
- package/bundles/formio-angular-resource.umd.js +0 -548
- package/bundles/formio-angular-resource.umd.js.map +0 -1
- package/bundles/formio-angular.umd.js +0 -1499
- package/bundles/formio-angular.umd.js.map +0 -1
- package/components/alerts/formio.alerts.component.d.ts +0 -9
- package/components/alerts/formio.alerts.component.ngfactory.d.ts.map +0 -1
- package/components/alerts/parse-html-content.pipe.d.ts +0 -5
- package/components/alerts/parse-html-content.pipe.ngfactory.d.ts.map +0 -1
- package/components/formbuilder/formbuilder.component.d.ts.map +0 -1
- package/components/formbuilder/formbuilder.component.ngfactory.d.ts.map +0 -1
- package/components/formio/formio.component.ngfactory.d.ts.map +0 -1
- package/components/loader/formio.loader.component.d.ts +0 -4
- package/components/loader/formio.loader.component.d.ts.map +0 -1
- package/components/loader/formio.loader.component.ngfactory.d.ts.map +0 -1
- package/components/loader/formio.loader.component.scss.shim.ngstyle.d.ts.map +0 -1
- package/custom-component/custom-tags.service.d.ts +0 -5
- package/custom-component/custom-tags.service.d.ts.map +0 -1
- package/custom-component/custom-tags.service.ngfactory.d.ts.map +0 -1
- package/esm2015/FormioBaseComponent.js +0 -456
- package/esm2015/auth/auth.component.js +0 -9
- package/esm2015/auth/auth.config.js +0 -12
- package/esm2015/auth/auth.module.js +0 -34
- package/esm2015/auth/auth.service.js +0 -160
- package/esm2015/auth/login/login.component.js +0 -16
- package/esm2015/auth/register/register.component.js +0 -16
- package/esm2015/auth/resetpass/resetpass.component.js +0 -16
- package/esm2015/components/alerts/formio.alerts.component.js +0 -26
- package/esm2015/components/alerts/parse-html-content.pipe.js +0 -15
- package/esm2015/components/formbuilder/formbuilder.component.js +0 -185
- package/esm2015/components/formio/formio.component.js +0 -39
- package/esm2015/components/loader/formio.loader.component.js +0 -14
- package/esm2015/custom-component/custom-tags.service.js +0 -13
- package/esm2015/formio-angular.js +0 -7
- package/esm2015/formio.config.js +0 -11
- package/esm2015/formio.module.js +0 -42
- package/esm2015/grid/GridBodyComponent.js +0 -76
- package/esm2015/grid/GridFooterComponent.js +0 -26
- package/esm2015/grid/GridHeaderComponent.js +0 -25
- package/esm2015/grid/form/FormGridBody.component.js +0 -16
- package/esm2015/grid/form/FormGridFooter.component.js +0 -24
- package/esm2015/grid/form/FormGridHeader.component.js +0 -24
- package/esm2015/grid/form/time-since.pipe.js +0 -33
- package/esm2015/grid/formio-angular-grid.js +0 -6
- package/esm2015/grid/grid.component.js +0 -211
- package/esm2015/grid/grid.module.js +0 -61
- package/esm2015/grid/grid.service.js +0 -16
- package/esm2015/grid/submission/SubmissionGridBody.component.js +0 -40
- package/esm2015/grid/submission/SubmissionGridFooter.component.js +0 -21
- package/esm2015/grid/submission/SubmissionGridHeader.component.js +0 -58
- package/esm2015/manager/create/create.component.js +0 -13
- package/esm2015/manager/delete/delete.component.js +0 -42
- package/esm2015/manager/edit/edit.component.js +0 -109
- package/esm2015/manager/form/form.component.js +0 -73
- package/esm2015/manager/form-manager.config.js +0 -12
- package/esm2015/manager/form-manager.module.js +0 -56
- package/esm2015/manager/form-manager.service.js +0 -180
- package/esm2015/manager/index/index.component.js +0 -86
- package/esm2015/manager/submission/delete/delete.component.js +0 -32
- package/esm2015/manager/submission/edit/edit.component.js +0 -24
- package/esm2015/manager/submission/index/index.component.js +0 -24
- package/esm2015/manager/submission/submission/submission.component.js +0 -27
- package/esm2015/manager/submission/view/view.component.js +0 -16
- package/esm2015/manager/view/view.component.js +0 -45
- package/esm2015/resource/create/create.component.js +0 -40
- package/esm2015/resource/delete/delete.component.js +0 -29
- package/esm2015/resource/edit/edit.component.js +0 -34
- package/esm2015/resource/index/index.component.js +0 -65
- package/esm2015/resource/resource.component.js +0 -48
- package/esm2015/resource/resource.config.js +0 -12
- package/esm2015/resource/resource.module.js +0 -44
- package/esm2015/resource/resource.service.js +0 -187
- package/esm2015/resource/resources.service.js +0 -22
- package/esm2015/resource/view/view.component.js +0 -19
- package/fesm2015/formio-angular-auth.js.map +0 -1
- package/fesm2015/formio-angular-grid.js +0 -624
- package/fesm2015/formio-angular-grid.js.map +0 -1
- package/fesm2015/formio-angular-manager.js +0 -750
- package/fesm2015/formio-angular-manager.js.map +0 -1
- package/fesm2015/formio-angular-resource.js +0 -507
- package/fesm2015/formio-angular-resource.js.map +0 -1
- package/fesm2015/formio-angular.js +0 -1073
- package/fesm2015/formio-angular.js.map +0 -1
- package/formio-angular.d.ts +0 -7
- package/formio-angular.d.ts.map +0 -1
- package/formio-angular.metadata.json +0 -1
- package/formio.config.d.ts +0 -7
- package/formio.config.d.ts.map +0 -1
- package/formio.config.ngfactory.d.ts.map +0 -1
- package/formio.module.d.ts +0 -3
- package/formio.module.ngfactory.d.ts.map +0 -1
- package/grid/GridBodyComponent.d.ts.map +0 -1
- package/grid/GridBodyComponent.ngfactory.d.ts.map +0 -1
- package/grid/GridFooterComponent.d.ts.map +0 -1
- package/grid/GridFooterComponent.ngfactory.d.ts.map +0 -1
- package/grid/GridHeaderComponent.d.ts.map +0 -1
- package/grid/GridHeaderComponent.ngfactory.d.ts.map +0 -1
- package/grid/form/FormGridBody.component.d.ts +0 -6
- package/grid/form/FormGridBody.component.ngfactory.d.ts.map +0 -1
- package/grid/form/FormGridBody.component.scss.shim.ngstyle.d.ts.map +0 -1
- package/grid/form/FormGridFooter.component.d.ts +0 -7
- package/grid/form/FormGridFooter.component.ngfactory.d.ts.map +0 -1
- package/grid/form/FormGridHeader.component.ngfactory.d.ts.map +0 -1
- package/grid/form/time-since.pipe.d.ts +0 -5
- package/grid/form/time-since.pipe.ngfactory.d.ts.map +0 -1
- package/grid/formio-angular-grid.d.ts +0 -6
- package/grid/formio-angular-grid.metadata.json +0 -1
- package/grid/grid.component.d.ts.map +0 -1
- package/grid/grid.component.ngfactory.d.ts.map +0 -1
- package/grid/grid.component.scss.shim.ngstyle.d.ts.map +0 -1
- package/grid/grid.footer.scss.ngstyle.d.ts.map +0 -1
- package/grid/grid.module.d.ts +0 -3
- package/grid/grid.module.ngfactory.d.ts.map +0 -1
- package/grid/grid.service.d.ts +0 -7
- package/grid/grid.service.d.ts.map +0 -1
- package/grid/grid.service.ngfactory.d.ts.map +0 -1
- package/grid/submission/SubmissionGridBody.component.ngfactory.d.ts.map +0 -1
- package/grid/submission/SubmissionGridFooter.component.d.ts +0 -7
- package/grid/submission/SubmissionGridFooter.component.ngfactory.d.ts.map +0 -1
- package/grid/submission/SubmissionGridHeader.component.d.ts.map +0 -1
- package/grid/submission/SubmissionGridHeader.component.ngfactory.d.ts.map +0 -1
- package/manager/create/create.component.d.ts +0 -6
- package/manager/delete/delete.component.d.ts.map +0 -1
- package/manager/edit/edit.component.d.ts.map +0 -1
- package/manager/form/form.component.d.ts.map +0 -1
- package/manager/form-manager.config.d.ts.map +0 -1
- package/manager/form-manager.module.d.ts +0 -6
- package/manager/form-manager.module.d.ts.map +0 -1
- package/manager/form-manager.service.d.ts.map +0 -1
- package/manager/formio-angular-manager.d.ts +0 -5
- package/manager/formio-angular-manager.metadata.json +0 -1
- package/manager/index/index.component.d.ts.map +0 -1
- package/manager/submission/view/view.component.d.ts +0 -6
- package/manager/view/view.component.d.ts.map +0 -1
- package/resource/create/create.component.d.ts.map +0 -1
- package/resource/edit/edit.component.d.ts.map +0 -1
- package/resource/formio-angular-resource.d.ts +0 -5
- package/resource/formio-angular-resource.metadata.json +0 -1
- package/resource/index/index.component.d.ts.map +0 -1
- package/resource/resource.config.d.ts.map +0 -1
- package/resource/resource.module.d.ts +0 -6
- package/resource/resource.module.d.ts.map +0 -1
- package/resource/resource.service.d.ts.map +0 -1
- package/resource/resources.service.d.ts.map +0 -1
- package/resource/view/view.component.d.ts +0 -8
- package/resource/view/view.component.d.ts.map +0 -1
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { ExtendedComponentSchema, ValidateOptions } from 'formiojs';
|
|
2
|
+
import { AlertsPosition } from './types/alerts-position';
|
|
3
|
+
export { ConditionalOptions, ValidateOptions } from 'formiojs';
|
|
4
|
+
|
|
5
|
+
export interface ComponentOptions<T = any, V = ValidateOptions> extends ExtendedComponentSchema<T> {
|
|
6
|
+
validate?: V;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export interface FormioRefreshValue {
|
|
10
|
+
property?: string;
|
|
11
|
+
value?: object;
|
|
12
|
+
form?: object;
|
|
13
|
+
submission?: object;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface AccessSetting {
|
|
17
|
+
type: string;
|
|
18
|
+
roles: string[];
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export interface FormioForm {
|
|
22
|
+
title?: string;
|
|
23
|
+
display?: string;
|
|
24
|
+
name?: string;
|
|
25
|
+
path?: string;
|
|
26
|
+
type?: string;
|
|
27
|
+
project?: string;
|
|
28
|
+
template?: string;
|
|
29
|
+
components?: ExtendedComponentSchema[];
|
|
30
|
+
tags?: string[];
|
|
31
|
+
access?: AccessSetting[];
|
|
32
|
+
submissionAccess?: AccessSetting[];
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export interface ComponentInstance {
|
|
36
|
+
component: ExtendedComponentSchema;
|
|
37
|
+
id: string;
|
|
38
|
+
type: string;
|
|
39
|
+
asString?(value: any): string;
|
|
40
|
+
getView(value: any): string;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export interface AlertsOptions {
|
|
44
|
+
submitMessage: string;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export interface ErrorsOptions {
|
|
48
|
+
message: string;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export class FormioError {
|
|
52
|
+
constructor(
|
|
53
|
+
public message: string,
|
|
54
|
+
public component: ExtendedComponentSchema,
|
|
55
|
+
public silent?: boolean,
|
|
56
|
+
) {}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export type FormioSubmissionCallback = (
|
|
60
|
+
error: FormioError,
|
|
61
|
+
submission: object
|
|
62
|
+
) => void;
|
|
63
|
+
export type FormioBeforeSubmit = (
|
|
64
|
+
submission: object,
|
|
65
|
+
callback: FormioSubmissionCallback
|
|
66
|
+
) => void;
|
|
67
|
+
|
|
68
|
+
export interface FormioHookOptions {
|
|
69
|
+
beforeSubmit: FormioBeforeSubmit;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export interface FormioOptions {
|
|
73
|
+
errors?: ErrorsOptions;
|
|
74
|
+
alerts?: AlertsOptions;
|
|
75
|
+
alertsPosition?: AlertsPosition;
|
|
76
|
+
disableAlerts?: boolean;
|
|
77
|
+
i18n?: object;
|
|
78
|
+
fileService?: object;
|
|
79
|
+
hooks?: FormioHookOptions;
|
|
80
|
+
sanitizeConfig?: any;
|
|
81
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { FormioComponent } from './components/formio/formio.component';
|
|
4
|
+
import { FormBuilderComponent } from './components/formbuilder/formbuilder.component';
|
|
5
|
+
import { FormioAlerts } from './components/alerts/formio.alerts';
|
|
6
|
+
import { ParseHtmlContentPipe } from './components/alerts/parse-html-content.pipe';
|
|
7
|
+
import { FormioAlertsComponent } from './components/alerts/formio.alerts.component';
|
|
8
|
+
import { FormioLoaderComponent } from './components/loader/formio.loader.component';
|
|
9
|
+
import { CustomTagsService } from './custom-component/custom-tags.service';
|
|
10
|
+
import { FormioBaseComponent } from './FormioBaseComponent';
|
|
11
|
+
|
|
12
|
+
@NgModule({
|
|
13
|
+
declarations: [
|
|
14
|
+
FormioComponent,
|
|
15
|
+
FormioBaseComponent,
|
|
16
|
+
FormBuilderComponent,
|
|
17
|
+
FormioLoaderComponent,
|
|
18
|
+
FormioAlertsComponent,
|
|
19
|
+
ParseHtmlContentPipe
|
|
20
|
+
],
|
|
21
|
+
imports: [
|
|
22
|
+
CommonModule
|
|
23
|
+
],
|
|
24
|
+
exports: [
|
|
25
|
+
FormioComponent,
|
|
26
|
+
FormBuilderComponent,
|
|
27
|
+
FormioLoaderComponent,
|
|
28
|
+
FormioAlertsComponent
|
|
29
|
+
],
|
|
30
|
+
providers: [
|
|
31
|
+
FormioAlerts,
|
|
32
|
+
CustomTagsService
|
|
33
|
+
],
|
|
34
|
+
entryComponents: [
|
|
35
|
+
FormioComponent,
|
|
36
|
+
FormBuilderComponent
|
|
37
|
+
]
|
|
38
|
+
})
|
|
39
|
+
export class FormioModule {}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { Observable, Observer } from 'rxjs';
|
|
2
|
+
import { FormioForm } from './formio.common';
|
|
3
|
+
import { Formio } from 'formiojs';
|
|
4
|
+
|
|
5
|
+
export class FormioService {
|
|
6
|
+
public formio: any;
|
|
7
|
+
constructor(public url: string, public options?: object) {
|
|
8
|
+
this.formio = new Formio(this.url, this.options);
|
|
9
|
+
}
|
|
10
|
+
requestWrapper(fn: any) {
|
|
11
|
+
let record: any;
|
|
12
|
+
let called = false;
|
|
13
|
+
return Observable.create((observer: Observer<any>) => {
|
|
14
|
+
try {
|
|
15
|
+
if (!called) {
|
|
16
|
+
called = true;
|
|
17
|
+
fn()
|
|
18
|
+
.then((_record: any) => {
|
|
19
|
+
record = _record;
|
|
20
|
+
observer.next(record);
|
|
21
|
+
observer.complete();
|
|
22
|
+
})
|
|
23
|
+
.catch((err: any) => observer.error(err));
|
|
24
|
+
} else if (record) {
|
|
25
|
+
observer.next(record);
|
|
26
|
+
observer.complete();
|
|
27
|
+
}
|
|
28
|
+
} catch (err) {
|
|
29
|
+
observer.error(err);
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
saveForm(form: FormioForm, options?: any): Observable<FormioForm> {
|
|
34
|
+
return this.requestWrapper(() => this.formio.saveForm(form, options));
|
|
35
|
+
}
|
|
36
|
+
loadForm(query?: any, options?: any): Observable<FormioForm> {
|
|
37
|
+
return this.requestWrapper(() => this.formio.loadForm(query, options));
|
|
38
|
+
}
|
|
39
|
+
loadForms(query: any, options?: any): Observable<FormioForm> {
|
|
40
|
+
return this.requestWrapper(() => this.formio.loadForms(query, options));
|
|
41
|
+
}
|
|
42
|
+
loadSubmission(query?: any, options?: any): Observable<{}> {
|
|
43
|
+
return this.requestWrapper(() => this.formio.loadSubmission(query, options));
|
|
44
|
+
}
|
|
45
|
+
userPermissions(user: any, form: any, submission: any): Observable<{}> {
|
|
46
|
+
return this.requestWrapper(() => this.formio.userPermissions(user, form, submission));
|
|
47
|
+
}
|
|
48
|
+
deleteSubmission(data?: any, options?: any): Observable<{}> {
|
|
49
|
+
return this.requestWrapper(() => this.formio.deleteSubmission(data, options));
|
|
50
|
+
}
|
|
51
|
+
saveSubmission(submission: {}, options?: any): Observable<{}> {
|
|
52
|
+
return this.requestWrapper(() => this.formio.saveSubmission(submission, options));
|
|
53
|
+
}
|
|
54
|
+
loadSubmissions(query?: any, options?: any): Observable<{}> {
|
|
55
|
+
return this.requestWrapper(() => this.formio.loadSubmissions(query, options));
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { RouterModule } from '@angular/router';
|
|
2
|
+
import { find, trim, each, intersection } from 'lodash';
|
|
3
|
+
|
|
4
|
+
export function extendRouter(Class: any, config: any, ClassRoutes: any) {
|
|
5
|
+
each(Class.decorators, decorator => {
|
|
6
|
+
each(decorator.args, arg => {
|
|
7
|
+
if (arg.declarations) {
|
|
8
|
+
each(config, component => arg.declarations.push(component));
|
|
9
|
+
}
|
|
10
|
+
if (arg.imports) {
|
|
11
|
+
each(arg.imports, (_import, index) => {
|
|
12
|
+
if (
|
|
13
|
+
(_import.ngModule && (_import.ngModule.name === 'RouterModule')) ||
|
|
14
|
+
(_import.name === 'RouterModule')
|
|
15
|
+
) {
|
|
16
|
+
arg.imports[index] = RouterModule.forChild(ClassRoutes(config));
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
});
|
|
22
|
+
return Class;
|
|
23
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// This file is required by karma.conf.js and loads recursively all the .spec and framework files
|
|
2
|
+
|
|
3
|
+
import 'zone.js';
|
|
4
|
+
import 'zone.js/testing';
|
|
5
|
+
import { getTestBed } from '@angular/core/testing';
|
|
6
|
+
import {
|
|
7
|
+
BrowserDynamicTestingModule,
|
|
8
|
+
platformBrowserDynamicTesting
|
|
9
|
+
} from '@angular/platform-browser-dynamic/testing';
|
|
10
|
+
|
|
11
|
+
declare const require: {
|
|
12
|
+
context(path: string, deep?: boolean, filter?: RegExp): {
|
|
13
|
+
keys(): string[];
|
|
14
|
+
<T>(id: string): T;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
// First, initialize the Angular testing environment.
|
|
19
|
+
getTestBed().initTestEnvironment(
|
|
20
|
+
BrowserDynamicTestingModule,
|
|
21
|
+
platformBrowserDynamicTesting()
|
|
22
|
+
);
|
|
23
|
+
// Then we find all the tests.
|
|
24
|
+
const context = require.context('./', true, /\.spec\.ts$/);
|
|
25
|
+
// And load the modules.
|
|
26
|
+
context.keys().map(context);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import FormioMetadata from './formio-metadata';
|
|
2
|
+
|
|
3
|
+
export default interface FormioSubmission<T = any, stateType= FormioSubmissionState > {
|
|
4
|
+
_id?: string;
|
|
5
|
+
created?: string;
|
|
6
|
+
data?: T;
|
|
7
|
+
form?: string;
|
|
8
|
+
metadata?: FormioMetadata;
|
|
9
|
+
modified?: string;
|
|
10
|
+
owner?: string;
|
|
11
|
+
project?: string;
|
|
12
|
+
state?: stateType;
|
|
13
|
+
_fvid?: number;
|
|
14
|
+
_vid?: number;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export enum FormioSubmissionState {
|
|
18
|
+
draft = 'draft',
|
|
19
|
+
submitted = 'submitted'
|
|
20
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
+
{
|
|
3
|
+
"extends": "../../tsconfig.json",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"outDir": "../../out-tsc/lib",
|
|
6
|
+
"module": "es2015",
|
|
7
|
+
"target": "es2015",
|
|
8
|
+
"declaration": true,
|
|
9
|
+
"declarationMap": true,
|
|
10
|
+
"inlineSources": true,
|
|
11
|
+
"types": [],
|
|
12
|
+
"lib": [
|
|
13
|
+
"dom",
|
|
14
|
+
"es2018"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
"angularCompilerOptions": {
|
|
18
|
+
"enableIvy": true,
|
|
19
|
+
"skipTemplateCodegen": true,
|
|
20
|
+
"strictMetadataEmit": true,
|
|
21
|
+
"enableResourceInlining": true
|
|
22
|
+
},
|
|
23
|
+
"exclude": [
|
|
24
|
+
"src/test.ts",
|
|
25
|
+
"**/*.spec.ts"
|
|
26
|
+
]
|
|
27
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
+
{
|
|
3
|
+
"extends": "../../tsconfig.json",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"outDir": "../../out-tsc/spec",
|
|
6
|
+
"types": [
|
|
7
|
+
"jasmine"
|
|
8
|
+
]
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"src/test.ts"
|
|
12
|
+
],
|
|
13
|
+
"include": [
|
|
14
|
+
"**/*.spec.ts",
|
|
15
|
+
"**/*.d.ts"
|
|
16
|
+
]
|
|
17
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compileOnSave": false,
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"baseUrl": "./",
|
|
5
|
+
"outDir": "./dist/out-tsc",
|
|
6
|
+
"sourceMap": true,
|
|
7
|
+
"declaration": false,
|
|
8
|
+
"downlevelIteration": true,
|
|
9
|
+
"experimentalDecorators": true,
|
|
10
|
+
"moduleResolution": "node",
|
|
11
|
+
"importHelpers": true,
|
|
12
|
+
"target": "es2015",
|
|
13
|
+
"module": "es2020",
|
|
14
|
+
"lib": [
|
|
15
|
+
"es2018",
|
|
16
|
+
"dom"
|
|
17
|
+
],
|
|
18
|
+
"paths": {
|
|
19
|
+
"angular-formio": [
|
|
20
|
+
"dist/angular-formio/angular-formio",
|
|
21
|
+
"dist/angular-formio"
|
|
22
|
+
],
|
|
23
|
+
"angular-formio/*": [
|
|
24
|
+
"dist/angular-formio/*"
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
package/tslint.json
ADDED
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "tslint:recommended",
|
|
3
|
+
"rulesDirectory": [
|
|
4
|
+
"codelyzer"
|
|
5
|
+
],
|
|
6
|
+
"rules": {
|
|
7
|
+
"align": {
|
|
8
|
+
"options": [
|
|
9
|
+
"parameters",
|
|
10
|
+
"statements"
|
|
11
|
+
]
|
|
12
|
+
},
|
|
13
|
+
"array-type": false,
|
|
14
|
+
"arrow-return-shorthand": true,
|
|
15
|
+
"curly": true,
|
|
16
|
+
"deprecation": {
|
|
17
|
+
"severity": "warning"
|
|
18
|
+
},
|
|
19
|
+
"eofline": true,
|
|
20
|
+
"import-blacklist": [
|
|
21
|
+
true,
|
|
22
|
+
"rxjs/Rx"
|
|
23
|
+
],
|
|
24
|
+
"import-spacing": true,
|
|
25
|
+
"indent": {
|
|
26
|
+
"options": [
|
|
27
|
+
"spaces"
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
"max-classes-per-file": false,
|
|
31
|
+
"max-line-length": [
|
|
32
|
+
true,
|
|
33
|
+
140
|
|
34
|
+
],
|
|
35
|
+
"member-ordering": [
|
|
36
|
+
true,
|
|
37
|
+
{
|
|
38
|
+
"order": [
|
|
39
|
+
"static-field",
|
|
40
|
+
"instance-field",
|
|
41
|
+
"static-method",
|
|
42
|
+
"instance-method"
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"no-console": [
|
|
47
|
+
true,
|
|
48
|
+
"debug",
|
|
49
|
+
"info",
|
|
50
|
+
"time",
|
|
51
|
+
"timeEnd",
|
|
52
|
+
"trace"
|
|
53
|
+
],
|
|
54
|
+
"no-empty": false,
|
|
55
|
+
"no-inferrable-types": [
|
|
56
|
+
true,
|
|
57
|
+
"ignore-params"
|
|
58
|
+
],
|
|
59
|
+
"no-non-null-assertion": true,
|
|
60
|
+
"no-redundant-jsdoc": true,
|
|
61
|
+
"no-switch-case-fall-through": true,
|
|
62
|
+
"no-var-requires": false,
|
|
63
|
+
"object-literal-key-quotes": [
|
|
64
|
+
true,
|
|
65
|
+
"as-needed"
|
|
66
|
+
],
|
|
67
|
+
"quotemark": [
|
|
68
|
+
true,
|
|
69
|
+
"single"
|
|
70
|
+
],
|
|
71
|
+
"semicolon": {
|
|
72
|
+
"options": [
|
|
73
|
+
"always"
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
"space-before-function-paren": {
|
|
77
|
+
"options": {
|
|
78
|
+
"anonymous": "never",
|
|
79
|
+
"asyncArrow": "always",
|
|
80
|
+
"constructor": "never",
|
|
81
|
+
"method": "never",
|
|
82
|
+
"named": "never"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"typedef": [
|
|
86
|
+
true,
|
|
87
|
+
"call-signature"
|
|
88
|
+
],
|
|
89
|
+
"typedef-whitespace": {
|
|
90
|
+
"options": [
|
|
91
|
+
{
|
|
92
|
+
"call-signature": "nospace",
|
|
93
|
+
"index-signature": "nospace",
|
|
94
|
+
"parameter": "nospace",
|
|
95
|
+
"property-declaration": "nospace",
|
|
96
|
+
"variable-declaration": "nospace"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"call-signature": "onespace",
|
|
100
|
+
"index-signature": "onespace",
|
|
101
|
+
"parameter": "onespace",
|
|
102
|
+
"property-declaration": "onespace",
|
|
103
|
+
"variable-declaration": "onespace"
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
},
|
|
107
|
+
"variable-name": {
|
|
108
|
+
"options": [
|
|
109
|
+
"ban-keywords",
|
|
110
|
+
"check-format",
|
|
111
|
+
"allow-pascal-case"
|
|
112
|
+
]
|
|
113
|
+
},
|
|
114
|
+
"whitespace": {
|
|
115
|
+
"options": [
|
|
116
|
+
"check-branch",
|
|
117
|
+
"check-decl",
|
|
118
|
+
"check-operator",
|
|
119
|
+
"check-separator",
|
|
120
|
+
"check-type",
|
|
121
|
+
"check-typecast"
|
|
122
|
+
]
|
|
123
|
+
},
|
|
124
|
+
"component-class-suffix": true,
|
|
125
|
+
"contextual-lifecycle": true,
|
|
126
|
+
"directive-class-suffix": true,
|
|
127
|
+
"no-conflicting-lifecycle": true,
|
|
128
|
+
"no-host-metadata-property": true,
|
|
129
|
+
"no-input-rename": true,
|
|
130
|
+
"no-inputs-metadata-property": true,
|
|
131
|
+
"no-output-native": true,
|
|
132
|
+
"no-output-on-prefix": true,
|
|
133
|
+
"no-output-rename": true,
|
|
134
|
+
"no-outputs-metadata-property": true,
|
|
135
|
+
"template-banana-in-box": true,
|
|
136
|
+
"template-no-negated-async": true,
|
|
137
|
+
"use-lifecycle-interface": true,
|
|
138
|
+
"use-pipe-transform-interface": true
|
|
139
|
+
}
|
|
140
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormioBaseComponent.d.ts","sourceRoot":"","sources":["../../projects/angular-formio/src/FormioBaseComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,YAAY,EAAS,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,EAA+B,MAAM,eAAe,CAAC;AAC9I,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAe,UAAU,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE7F,OAAO,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAG3E,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAEzD,qBAGa,mBAAoB,YAAW,MAAM,EAAE,SAAS,EAAE,SAAS;IAiD7D,MAAM,EAAE,MAAM;IACF,MAAM,EAAE,eAAe;IACvB,UAAU,CAAC,EAAE,iBAAiB;IAlD1C,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,UAAU,CAAC,EAAE,GAAG,CAAM;IACtB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,MAAO,CAAC,UAAS;IACjB,aAAa,CAAC,EAAE,GAAG,CAAC;IACpB,aAAa,CAAC,EAAE,GAAG,CAAC;IACpB,QAAS,CAAC,UAAS;IACnB,QAAS,CAAC,UAAS;IACnB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,OAAO,CAAC,EAAE,YAAY,CAAC,kBAAkB,CAAC,CAAC;IAC3C,KAAK,CAAC,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC;IAC1B,OAAO,CAAC,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAC/B,QAAQ,CAAC,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAChC,KAAK,CAAC,EAAE,GAAG,CAAM;IACjB,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,qBAAsB,CAAC,UAAS;IAC/B,MAAM,uBAA8B;IACpC,WAAW,uBAA8B;IACzC,mBAAmB,uBAA8B;IACjD,MAAM,uBAA8B;IACpC,QAAQ,uBAA8B;IACtC,QAAQ,uBAA8B;IACtC,YAAY,uBAA8B;IAC1C,MAAM,uBAA8B;IACpC,OAAO,wBAA+B;IACtC,WAAW,oBAA2B;IACtC,QAAQ,oBAA2B;IACnC,cAAc,oBAA2B;IACzC,KAAK,oCAA2C;IACnB,aAAa,CAAC,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC;IAEhE,cAAc,wBAAkB;IAChC,MAAM,EAAE,GAAG,CAAC;IACZ,WAAW,UAAS;IACpB,MAAM,eAAsB;IAC5B,WAAW,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;IAEjC,OAAO,CAAC,kBAAkB,CAAM;IAChC,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,iBAAiB,CAAS;IAC3B,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;gBAGZ,MAAM,EAAE,MAAM,EACF,MAAM,EAAE,eAAe,EACvB,UAAU,CAAC,EAAE,iBAAiB;IAQnD,WAAW;IAIX,kBAAkB;IAgBlB,cAAc;IAUd,OAAO,CAAC,IAAI,EAAE,UAAU;IAqExB,UAAU;IA6BV,QAAQ;IAuER,WAAW;IAMX,SAAS,CAAC,OAAO,EAAE,kBAAkB;IAuBrC,WAAW,CAAC,OAAO,EAAE,GAAG;IA8BxB,UAAU,CAAC,IAAI,EAAE,GAAG;IAKpB,UAAU,CAAC,IAAI,EAAE,GAAG;IAKpB,QAAQ,CAAC,UAAU,EAAE,GAAG,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO;IAuB1D,OAAO,CAAC,GAAG,EAAE,GAAG;IAsFhB,eAAe,CAAC,GAAG,EAAE,GAAG;IAMxB,aAAa,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,UAAQ;IAa/C,UAAU,CAAC,UAAU,EAAE,GAAG,EAAE,KAAK,UAAQ;IA0BzC,QAAQ,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,OAAO;CAWrD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormioBaseComponent.ngfactory.d.ts","sourceRoot":"","sources":["../../projects/angular-formio/src/FormioBaseComponent.ngfactory.ts"],"names":[],"mappings":""}
|
package/auth/auth.component.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth.config.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/auth/src/auth.config.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,oBAAoB;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,GAAG,CAAC;CACjB;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,SAAS,CAAC,EAAE,GAAG,CAAC;CACjB;AAED,qBACa,gBAAgB;IAC3B,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,KAAK,CAAC,EAAE,oBAAoB,CAAC;IAC7B,QAAQ,CAAC,EAAE,oBAAoB,CAAC;IAChC,SAAS,CAAC,EAAE,oBAAoB,CAAC;IACjC,KAAK,CAAC,EAAE,iBAAiB,CAAC;CAC3B;AAGD,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,eAAe,CAAC;IACtB,OAAO,EAAE,gBAAgB,GAAG,gBAAgB,CAAC;CAC9C;AAED,oBAAY,eAAe;IACzB,IAAI,SAAS;IACb,IAAI,SAAS;CACd;AAED,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IAClD,MAAM,CAAC,EAAE,GAAG,CAAC;CACd;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;CACf;AAGD,MAAM,WAAW,UAAU;IACzB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,sBAAsB,CAAC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,iBAAiB,CAAC,EAAE,QAAQ,CAAC;CAC9B;AAED,MAAM,WAAW,sBAAsB;IACrC,OAAO,CAAC,EAAE,MAAM,GAAG;QACjB,OAAO,CAAC,EAAE,QAAQ,CAAC;QACnB,OAAO,CAAC,EAAE,QAAQ,CAAC;KACpB,CAAC;IACF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
|
package/auth/auth.module.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth.module.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/auth/src/auth.module.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAItD,qBAaa,UAAU;IACrB,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,qBAAqB,GAAG,GAAG;IAGnD,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,qBAAqB,GAAG,GAAG;CAGrD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth.service.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/auth/src/auth.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAsB,MAAM,eAAe,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAIlD,qBACa,iBAAiB;IA6BnB,SAAS,EAAE,eAAe;IAC1B,MAAM,EAAE,gBAAgB;IA7B1B,IAAI,EAAE,GAAG,CAAC;IACV,aAAa,UAAS;IAEtB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAC9B,QAAQ,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAE/B,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IACjC,MAAM,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAC7B,OAAO,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC;IAE3B,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAElC,KAAK,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;IACxB,YAAY,EAAE,GAAG,CAAC;IAClB,WAAW,EAAE,GAAG,CAAC;IAEjB,YAAY,CAAC,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;IAC5B,WAAW,CAAC,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;IAC3B,SAAS,CAAC,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;IACzB,UAAU,EAAE,GAAG,CAAM;IACrB,gBAAgB,EAAE,GAAG,CAAM;IAC3B,KAAK,EAAE,GAAG,CAAC;IACX,EAAE,EAAE,GAAG,CAAM;gBAGX,SAAS,EAAE,eAAe,EAC1B,MAAM,EAAE,gBAAgB;IA2CjC,aAAa,CAAC,UAAU,EAAE,MAAM;IAKhC,gBAAgB,CAAC,UAAU,EAAE,MAAM;IAKnC,iBAAiB,CAAC,UAAU,EAAE,MAAM;IAIpC,IAAI;IA6DJ,OAAO,CAAC,IAAI,EAAE,GAAG;IAkBjB,YAAY;IAYZ,WAAW;IAOX,MAAM;CAQP"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"FormioAuthConfig":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":15,"character":1}}],"members":{}},"FormioAuthService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":6,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@formio/angular","name":"FormioAppConfig","line":36,"character":22},{"__symbolic":"reference","name":"FormioAuthConfig"}]}],"onLoginSubmit":[{"__symbolic":"method"}],"onRegisterSubmit":[{"__symbolic":"method"}],"onResetPassSubmit":[{"__symbolic":"method"}],"init":[{"__symbolic":"method"}],"setUser":[{"__symbolic":"method"}],"setUserRoles":[{"__symbolic":"method"}],"logoutError":[{"__symbolic":"method"}],"logout":[{"__symbolic":"method"}]}},"FormioAuthComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":1,"character":1},"arguments":[{"template":"<div class=\"card card-primary panel panel-default\">\n <div class=\"card-header panel-heading\">\n <ul class=\"nav nav-tabs card-header-tabs\">\n <li class=\"nav-item\" role=\"presentation\" routerLinkActive=\"active\"><a class=\"nav-link\" routerLink=\"login\" routerLinkActive=\"active\">Login</a></li>\n <li class=\"nav-item\" role=\"presentation\" routerLinkActive=\"active\"><a class=\"nav-link\" routerLink=\"register\" routerLinkActive=\"active\">Register</a></li>\n <li class=\"nav-item\" role=\"presentation\" routerLinkActive=\"active\"><a class=\"nav-link\" routerLink=\"resetpass\" routerLinkActive=\"active\">Reset Password</a></li>\n </ul>\n </div>\n <div class=\"card-body panel-body\">\n <router-outlet></router-outlet>\n </div>\n</div>\n"}]}],"members":{}},"FormioAuthLoginComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"template":"<formio [src]=\"service.loginForm\" (submit)=\"service.onLoginSubmit($event)\"></formio>\n"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"FormioAuthService"}]}]}},"FormioAuthRegisterComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"template":"<formio [src]=\"service.registerForm\" (submit)=\"service.onRegisterSubmit($event)\"></formio>\n"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"FormioAuthService"}]}]}},"FormioResetPassComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"template":"<formio [src]=\"service.resetPassForm\" (submit)=\"service.onResetPassSubmit($event)\"></formio>\n"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"FormioAuthService"}]}]}},"FormioAuthRoutes":{"__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":"auth"}},"thenExpression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"auth"},"elseExpression":{"__symbolic":"reference","name":"FormioAuthComponent"}},"children":[{"path":"","redirectTo":"login","pathMatch":"full"},{"path":"login","component":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"reference","name":"config"},"right":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"login"}},"thenExpression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"login"},"elseExpression":{"__symbolic":"reference","name":"FormioAuthLoginComponent"}}},{"path":"register","component":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"reference","name":"config"},"right":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"register"}},"thenExpression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"register"},"elseExpression":{"__symbolic":"reference","name":"FormioAuthRegisterComponent"}}},{"path":"resetpass","component":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"reference","name":"config"},"right":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"resetpass"}},"thenExpression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"resetpass"},"elseExpression":{"__symbolic":"reference","name":"FormioResetPassComponent"}}}]}]},"FormioAuth":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":12,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":14,"character":4},{"__symbolic":"reference","module":"@formio/angular","name":"FormioModule","line":15,"character":4},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":16,"character":4}],"declarations":[{"__symbolic":"reference","name":"FormioAuthComponent"},{"__symbolic":"reference","name":"FormioAuthLoginComponent"},{"__symbolic":"reference","name":"FormioAuthRegisterComponent"},{"__symbolic":"reference","name":"FormioResetPassComponent"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["config"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@formio/angular","name":"extendRouter","line":27,"character":11},"arguments":[{"__symbolic":"reference","name":"FormioAuth"},{"__symbolic":"reference","name":"config"},{"__symbolic":"reference","name":"FormioAuthRoutes"}]}},"forChild":{"__symbolic":"function","parameters":["config"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@formio/angular","name":"extendRouter","line":30,"character":11},"arguments":[{"__symbolic":"reference","name":"FormioAuth"},{"__symbolic":"reference","name":"config"},{"__symbolic":"reference","name":"FormioAuthRoutes"}]}}}}},"origins":{"FormioAuthConfig":"./auth.config","FormioAuthService":"./auth.service","FormioAuthComponent":"./auth.component","FormioAuthLoginComponent":"./login/login.component","FormioAuthRegisterComponent":"./register/register.component","FormioResetPassComponent":"./resetpass/resetpass.component","FormioAuthRoutes":"./auth.routes","FormioAuth":"./auth.module"},"importAs":"@formio/angular/auth"}
|