@formio/angular 5.1.1 → 5.2.1-rc.1
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 +1004 -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 +5 -2
- 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 +1 -1
- 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 +109 -46
- 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/{manager → dist/angular-formio/manager}/index/index.component.d.ts.map +1 -1
- 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-auth.umd.min.js +0 -2
- package/bundles/formio-angular-auth.umd.min.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-grid.umd.min.js +0 -17
- package/bundles/formio-angular-grid.umd.min.js.map +0 -1
- package/bundles/formio-angular-manager.umd.js +0 -1109
- package/bundles/formio-angular-manager.umd.js.map +0 -1
- package/bundles/formio-angular-manager.umd.min.js +0 -17
- package/bundles/formio-angular-manager.umd.min.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-resource.umd.min.js +0 -2
- package/bundles/formio-angular-resource.umd.min.js.map +0 -1
- package/bundles/formio-angular.umd.js +0 -1494
- package/bundles/formio-angular.umd.js.map +0 -1
- package/bundles/formio-angular.umd.min.js +0 -17
- package/bundles/formio-angular.umd.min.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 -180
- 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 -173
- 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 -743
- 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 -1068
- 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/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
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../projects/angular-formio/src/formio.config.ts","../../../projects/angular-formio/src/formio.common.ts","../../../projects/angular-formio/src/formio.service.ts","../../../projects/angular-formio/src/formio-promise.service.ts","../../../projects/angular-formio/src/types/alerts-position.ts","../../../projects/angular-formio/src/components/alerts/formio.alerts.ts","../../../projects/angular-formio/src/custom-component/custom-tags.service.ts","../../../projects/angular-formio/src/FormioBaseComponent.ts","../../../node_modules/tslib/tslib.es6.js","../../../projects/angular-formio/src/components/formio/formio.component.ts","../../../projects/angular-formio/src/components/formbuilder/formbuilder.component.ts","../../../projects/angular-formio/src/components/loader/formio.loader.component.ts","../../../projects/angular-formio/src/components/alerts/formio.alerts.component.ts","../../../projects/angular-formio/src/components/alerts/parse-html-content.pipe.ts","../../../projects/angular-formio/src/formio.module.ts","../../../projects/angular-formio/src/custom-component/create-custom-component.ts","../../../projects/angular-formio/src/custom-component/register-custom-component.ts","../../../projects/angular-formio/src/formio.utils.ts"],"names":["this","appUrl","apiUrl","Injectable","message","component","silent","FormioService","url","options","formio","Formio","prototype","requestWrapper","fn","record","called","Observable","create","observer","next","complete","then","_record","catch","err","error","saveForm","form","_this","loadForm","query","loadForms","loadSubmission","userPermissions","user","submission","deleteSubmission","data","saveSubmission","loadSubmissions","FormioPromiseService","formioService","toPromise","AlertsPosition","FormioAlerts","alerts","setAlert","alert","addAlert","push","setAlerts","CustomTagsService","tags","addCustomTag","tag","FormioBaseComponent","ngZone","config","customTags","noeval","readOnly","viewOnly","hooks","watchSubmissionErrors","render","EventEmitter","customEvent","fileUploadingStatus","submit","prevPage","nextPage","beforeSubmit","change","invalid","errorChange","formLoad","submissionLoad","ready","initialized","submitting","submissionSuccess","isLoading","formioReady","Promise","formioReadyResolve","getRenderer","renderer","getRendererOptions","extraTags","assign","icons","get","noAlerts","viewAsHtml","i18n","fileService","sanitizeConfig","addTags","renderOptions","createRenderer","formioElement","nativeElement","instance","setForm","destroy","title","label","components","innerHTML","validateOnInit","setValue","setUrl","formioOptions","src","nosubmit","on","run","onPrevPage","onNextPage","value","flags","isModified","onChange","event","emit","forEach","eventName","index","status","saved","submitForm","onError","loadedForm","submissionReady","initialize","defaultOptions","errors","submitMessage","disableAlerts","alertsPosition","top","Object","none","ngOnInit","Evaluator","language","subscribe","lang","refresh","onRefresh","success","type","service","params","live","runOutsideAngular","isEmpty","submissionId","ngOnDestroy","setSubmission","property","ngOnChanges","changes","currentValue","fromSubmission","hideComponents","hiddenComponents_1","hide","everyComponent","includes","key","visible","onSubmit","noemit","fastCloneDeep","noValidate","noCheck","Array","isArray","length","_a","details","map","detail","paths","path","toString","shouldErrorDisplay","getComponent","messageText_1","comp","setCustomValidity","window","VPAT_ENABLED","showErrors","focusOnComponet","focusOnComponent","submitExecute","sub","setMetadata","Component","args","template","NgZone","FormioAppConfig","decorators","Optional","Input","Output","ViewChild","static","extendStatics","d","b","setPrototypeOf","__proto__","p","hasOwnProperty","call","__extends","TypeError","String","__","constructor","FormioComponent","_super","setBaseUrl","setProjectUrl","console","warn","Form","selector","encapsulation","ViewEncapsulation","None","FormBuilderComponent","componentAdding","resolve","readyResolve","Utils","refreshSubscription","buildForm","rebuild","rebuildForm","setInstance","off","parent","isNew","builder","schema","original","originalComponent","setDisplay","display","builderElement","Builder","formbuilder","FormBuilder","unsubscribe","FormioAlertsComponent","focusComponent","ParseHtmlContentPipe","transform","content","parsedContent","DOMParser","parseFromString","body","childNodes","textContent","Pipe","name","pure","NgModule","declarations","FormioLoaderComponent","imports","CommonModule","exports","providers","entryComponents","BaseInputComponent","Components","input","TextfieldComponent","textfield","createCustomFormioComponent","customComponentOptions","CustomComponent","id","FormioUtils","getRandomComponentId","extraValidators","validators","concat","defineProperty","emptyValue","group","icon","weight","documentation","elementInfo","info","changeEvent","attr","class","replace","renderElement","inputInfo","renderTemplate","attach","element","superAttach","_customAngularElement","querySelector","getAttribute","removeAttribute","newCustomElement_1","document","createElement","setAttribute","keys","appendChild","customOptions","validate","fieldOptions","addEventListener","disableMultiValueWrapper","restoreValue","useWrapper","multiple","defaultValue","isNil","customDefaultValue","preview","evaluate","clone","editForm","registerCustomTag","injector","Class","ClassRoutes","each","decorator","arg","_import","ngModule","RouterModule","forChild","angularComponent","complexCustomComponent","createCustomElement","customElements","define","setComponent","formioClass"],"mappings":"41BAEA,WAEEA,KAAAC,OAAS,GACTD,KAAAE,OAAS,wBAHVC,EAAAA,mBCiDC,SACSC,EACAC,EACAC,GAFAN,KAAAI,QAAAA,EACAJ,KAAAK,UAAAA,EACAL,KAAAM,OAAAA,gBChDT,SAAAC,EAAmBC,EAAoBC,GAApBT,KAAAQ,IAAAA,EAAoBR,KAAAS,QAAAA,EACrCT,KAAKU,OAAS,IAAIC,EAAAA,OAAOX,KAAKQ,IAAKR,KAAKS,gBAE1CF,EAAAK,UAAAC,eAAA,SAAeC,GACb,IAAIC,EACAC,GAAS,EACb,OAAOC,EAAAA,WAAWC,QAAO,SAACC,GACxB,IACOH,EASMD,IACTI,EAASC,KAAKL,GACdI,EAASE,aAVTL,GAAS,EACTF,IACGQ,MAAK,SAACC,GACLR,EAASQ,EACTJ,EAASC,KAAKL,GACdI,EAASE,cAEVG,OAAM,SAACC,GAAa,OAAAN,EAASO,MAAMD,O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A,WAAWwE,aAAa1V,EAAQ+I,KAAMuI,EAA4BtR,uDAIlEA,EACAqV,EACAM,EACAhB,GAEAD,EAAkB1U,EAAQ+N,SAAU4G,GAEpC,IAAMW,EAAyBC,EAAAA,oBAAoBF,EAAkB,CAAEV,SAAQA,IAC/Ea,eAAeC,OAAOzV,EAAQ+N,SAAUuH,GAExCpE,EAAAA,WAAWwE,aAAa1V,EAAQ+I,KAAM4M,wDA5BL/S,EAAgB+R,GACjD/R,EAAKyE,SAAQ,SAAAvE,GAAO,OAAA4R,EAAkB5R,EAAK6R","sourcesContent":["import { Injectable } from '@angular/core';\n\n@Injectable()\nexport class FormioAppConfig {\n appUrl = '';\n apiUrl = '';\n icons?: string;\n formOnly?: boolean;\n}\n","import { ExtendedComponentSchema, ValidateOptions } from 'formiojs';\nimport { AlertsPosition } from './types/alerts-position';\nexport { ConditionalOptions, ValidateOptions } from 'formiojs';\n\nexport interface ComponentOptions<T = any, V = ValidateOptions> extends ExtendedComponentSchema<T> {\n validate?: V;\n}\n\nexport interface FormioRefreshValue {\n property?: string;\n value?: object;\n form?: object;\n submission?: object;\n}\n\nexport interface AccessSetting {\n type: string;\n roles: string[];\n}\n\nexport interface FormioForm {\n title?: string;\n display?: string;\n name?: string;\n path?: string;\n type?: string;\n project?: string;\n template?: string;\n components?: ExtendedComponentSchema[];\n tags?: string[];\n access?: AccessSetting[];\n submissionAccess?: AccessSetting[];\n}\n\nexport interface ComponentInstance {\n component: ExtendedComponentSchema;\n id: string;\n type: string;\n asString?(value: any): string;\n getView(value: any): string;\n}\n\nexport interface AlertsOptions {\n submitMessage: string;\n}\n\nexport interface ErrorsOptions {\n message: string;\n}\n\nexport class FormioError {\n constructor(\n public message: string,\n public component: ExtendedComponentSchema,\n public silent?: boolean,\n ) {}\n}\n\nexport type FormioSubmissionCallback = (\n error: FormioError,\n submission: object\n) => void;\nexport type FormioBeforeSubmit = (\n submission: object,\n callback: FormioSubmissionCallback\n) => void;\n\nexport interface FormioHookOptions {\n beforeSubmit: FormioBeforeSubmit;\n}\n\nexport interface FormioOptions {\n errors?: ErrorsOptions;\n alerts?: AlertsOptions;\n alertsPosition?: AlertsPosition;\n disableAlerts?: boolean;\n i18n?: object;\n fileService?: object;\n hooks?: FormioHookOptions;\n sanitizeConfig?: any;\n}\n","import { Observable, Observer } from 'rxjs';\nimport { FormioForm } from './formio.common';\nimport { Formio } from 'formiojs';\n\nexport class FormioService {\n public formio: any;\n constructor(public url: string, public options?: object) {\n this.formio = new Formio(this.url, this.options);\n }\n requestWrapper(fn: any) {\n let record: any;\n let called = false;\n return Observable.create((observer: Observer<any>) => {\n try {\n if (!called) {\n called = true;\n fn()\n .then((_record: any) => {\n record = _record;\n observer.next(record);\n observer.complete();\n })\n .catch((err: any) => observer.error(err));\n } else if (record) {\n observer.next(record);\n observer.complete();\n }\n } catch (err) {\n observer.error(err);\n }\n });\n }\n saveForm(form: FormioForm, options?: any): Observable<FormioForm> {\n return this.requestWrapper(() => this.formio.saveForm(form, options));\n }\n loadForm(query?: any, options?: any): Observable<FormioForm> {\n return this.requestWrapper(() => this.formio.loadForm(query, options));\n }\n loadForms(query: any, options?: any): Observable<FormioForm> {\n return this.requestWrapper(() => this.formio.loadForms(query, options));\n }\n loadSubmission(query?: any, options?: any): Observable<{}> {\n return this.requestWrapper(() => this.formio.loadSubmission(query, options));\n }\n userPermissions(user: any, form: any, submission: any): Observable<{}> {\n return this.requestWrapper(() => this.formio.userPermissions(user, form, submission));\n }\n deleteSubmission(data?: any, options?: any): Observable<{}> {\n return this.requestWrapper(() => this.formio.deleteSubmission(data, options));\n }\n saveSubmission(submission: {}, options?: any): Observable<{}> {\n return this.requestWrapper(() => this.formio.saveSubmission(submission, options));\n }\n loadSubmissions(query?: any, options?: any): Observable<{}> {\n return this.requestWrapper(() => this.formio.loadSubmissions(query, options));\n }\n}\n","import { from } from 'rxjs';\nimport { FormioService } from './formio.service';\nimport { FormioForm } from './formio.common';\n\nexport class FormioPromiseService {\n private formioService: FormioService;\n\n constructor(public url: string, public options?: object) {\n this.formioService = new FormioService(url, options);\n }\n\n saveForm(form: FormioForm, options?: any): Promise<any> {\n return this.formioService.saveForm(form, options).toPromise();\n }\n loadForm(query?: any, options?: any): Promise<any> {\n return this.formioService.loadForm(query, options).toPromise();\n }\n loadSubmission(query?: any, options?: any): Promise<any> {\n return this.formioService.loadSubmission(query, options).toPromise();\n }\n userPermissions(user: any, form: any, submission: any): Promise<any> {\n return this.formioService.userPermissions(user, form, submission).toPromise();\n }\n deleteSubmission(data?: any, options?: any): Promise<any> {\n return this.formioService.deleteSubmission(data, options).toPromise();\n }\n loadForms(query: any, options?: any): Promise<any> {\n return this.formioService.loadForms(query, options).toPromise();\n }\n saveSubmission(submission: {}, options?: any): Promise<any> {\n return this.formioService.saveSubmission(submission, options).toPromise();\n }\n loadSubmissions(query?: any, options?: any): Promise<any> {\n return this.formioService.loadSubmissions(query, options).toPromise();\n }\n}\n","export enum AlertsPosition {\n none,\n top,\n bottom,\n both\n}\n","export interface FormioAlert {\n type: string;\n message: string;\n component?: any;\n}\n\nexport class FormioAlerts {\n public alerts: FormioAlert[] = [];\n\n setAlert(alert: FormioAlert) {\n this.alerts = [alert];\n }\n\n addAlert(alert: FormioAlert) {\n this.alerts.push(alert);\n }\n\n setAlerts(alerts: FormioAlert[]) {\n this.alerts = alerts;\n }\n}\n","import { Injectable } from '@angular/core';\n\n@Injectable()\nexport class CustomTagsService {\n tags: string[] = [];\n\n addCustomTag(tag: string) {\n this.tags.push(tag);\n }\n}\n","import { Component, ElementRef, EventEmitter, Input, NgZone, OnChanges, OnDestroy, OnInit, Optional, Output, ViewChild } from '@angular/core';\nimport { FormioService } from './formio.service';\nimport { FormioAlerts } from './components/alerts/formio.alerts';\nimport { FormioAppConfig } from './formio.config';\nimport { FormioError, FormioForm, FormioOptions, FormioRefreshValue } from './formio.common';\nimport { assign, get, isEmpty } from 'lodash';\nimport { CustomTagsService } from './custom-component/custom-tags.service';\nimport Evaluator from 'formiojs/utils/Evaluator';\nimport { fastCloneDeep } from 'formiojs/utils/utils';\nimport { AlertsPosition } from './types/alerts-position';\n\n@Component({\n template: ''\n})\nexport class FormioBaseComponent implements OnInit, OnChanges, OnDestroy {\n @Input() form?: FormioForm;\n @Input() submission?: any = {};\n @Input() src?: string;\n @Input() url?: string;\n @Input() service?: FormioService;\n @Input() options?: FormioOptions;\n @Input() noeval ? = false;\n @Input() formioOptions?: any;\n @Input() renderOptions?: any;\n @Input() readOnly ? = false;\n @Input() viewOnly ? = false;\n @Input() hideComponents?: string[];\n @Input() refresh?: EventEmitter<FormioRefreshValue>;\n @Input() error?: EventEmitter<any>;\n @Input() success?: EventEmitter<object>;\n @Input() language?: EventEmitter<string>;\n @Input() hooks?: any = {};\n @Input() renderer?: any;\n @Input() watchSubmissionErrors ? = false;\n @Output() render = new EventEmitter<object>();\n @Output() customEvent = new EventEmitter<object>();\n @Output() fileUploadingStatus = new EventEmitter<string>();\n @Output() submit = new EventEmitter<object>();\n @Output() prevPage = new EventEmitter<object>();\n @Output() nextPage = new EventEmitter<object>();\n @Output() beforeSubmit = new EventEmitter<object>();\n @Output() change = new EventEmitter<object>();\n @Output() invalid = new EventEmitter<boolean>();\n @Output() errorChange = new EventEmitter<any>();\n @Output() formLoad = new EventEmitter<any>();\n @Output() submissionLoad = new EventEmitter<any>();\n @Output() ready = new EventEmitter<FormioBaseComponent>();\n @ViewChild('formio', { static: true }) formioElement?: ElementRef<any>;\n\n public AlertsPosition = AlertsPosition;\n public formio: any;\n public initialized = false;\n public alerts = new FormioAlerts();\n public formioReady: Promise<any>;\n\n private formioReadyResolve: any;\n private submitting = false;\n private submissionSuccess = false;\n public isLoading: boolean;\n public noAlerts: boolean;\n public label: string;\n\n constructor(\n public ngZone: NgZone,\n @Optional() public config: FormioAppConfig,\n @Optional() public customTags?: CustomTagsService,\n ) {\n this.isLoading = true;\n this.formioReady = new Promise((ready) => {\n this.formioReadyResolve = ready;\n });\n }\n\n getRenderer() {\n return this.renderer;\n }\n\n getRendererOptions() {\n const extraTags = this.customTags ? this.customTags.tags : [];\n return assign({}, {\n icons: get(this.config, 'icons', 'fontawesome'),\n noAlerts: get(this.options, 'noAlerts', true),\n readOnly: this.readOnly,\n viewAsHtml: this.viewOnly,\n i18n: get(this.options, 'i18n', null),\n fileService: get(this.options, 'fileService', null),\n hooks: this.hooks,\n sanitizeConfig: {\n addTags: extraTags\n }\n }, this.renderOptions || {});\n }\n\n createRenderer() {\n const Renderer = this.getRenderer();\n const form = (new Renderer(\n this.formioElement ? this.formioElement.nativeElement : null,\n this.form,\n this.getRendererOptions()\n ));\n return form.instance;\n }\n\n setForm(form: FormioForm) {\n this.form = form;\n if (this.formio) {\n this.formio.destroy();\n }\n\n if (this.form.title) {\n this.label = this.form.title;\n } else if (this.form.components && this.form.components[0]) {\n this.label = this.form.components[0].label;\n }\n\n // Clear out the element to render the new form.\n if (this.formioElement && this.formioElement.nativeElement) {\n this.formioElement.nativeElement.innerHTML = '';\n }\n this.formio = this.createRenderer();\n this.formio.submission = this.submission;\n if (this.renderOptions && this.renderOptions.validateOnInit) {\n this.formio.setValue(this.submission, {validateOnInit: true});\n }\n if (this.url) {\n this.formio.setUrl(this.url, this.formioOptions || {});\n }\n if (this.src) {\n this.formio.setUrl(this.src, this.formioOptions || {});\n }\n this.formio.nosubmit = true;\n this.formio.on('prevPage', (data: any) => this.ngZone.run(() => this.onPrevPage(data)));\n this.formio.on('nextPage', (data: any) => this.ngZone.run(() => this.onNextPage(data)));\n this.formio.on('change', (value: any, flags: any, isModified: boolean) => this.ngZone.run(() => this.onChange(value, flags, isModified)));\n this.formio.on('customEvent', (event: any) =>\n this.ngZone.run(() => this.customEvent.emit(event))\n );\n\n ['fileUploadingStart', 'fileUploadingEnd'].forEach((eventName, index) => {\n const status = !!index ? 'end' : 'start';\n this.formio.on(eventName, () =>\n this.ngZone.run(() => this.fileUploadingStatus.emit(status))\n );\n });\n\n this.formio.on('submit', (submission: any, saved: boolean) =>\n this.ngZone.run(() => this.submitForm(submission, saved))\n );\n this.formio.on('error', (err: any) => this.ngZone.run(() => {\n this.submissionSuccess = false;\n return this.onError(err);\n }));\n this.formio.on('render', () => this.ngZone.run(() => this.render.emit()));\n this.formio.on('formLoad', (loadedForm: any) =>\n this.ngZone.run(() => this.formLoad.emit(loadedForm))\n );\n\n return this.formio.ready.then(() => {\n this.ngZone.run(() => {\n this.isLoading = false;\n this.ready.emit(this);\n this.formioReadyResolve(this.formio);\n if (this.formio.submissionReady) {\n this.formio.submissionReady.then((submission) => {\n this.submissionLoad.emit(submission);\n });\n }\n });\n return this.formio;\n });\n }\n\n initialize() {\n if (this.initialized) {\n return;\n }\n\n const extraTags = this.customTags ? this.customTags.tags : [];\n const defaultOptions: FormioOptions = {\n errors: {\n message: 'Please fix the following errors before submitting.'\n },\n alerts: {\n submitMessage: 'Submission Complete.'\n },\n disableAlerts: false,\n hooks: {\n beforeSubmit: null\n },\n sanitizeConfig: {\n addTags: extraTags\n },\n alertsPosition: AlertsPosition.top,\n };\n this.options = Object.assign(defaultOptions, this.options);\n if (this.options.disableAlerts) {\n this.options.alertsPosition = AlertsPosition.none;\n }\n this.initialized = true;\n }\n\n ngOnInit() {\n Evaluator.noeval = this.noeval;\n this.initialize();\n\n if (this.language) {\n if (typeof this.language === 'string') {\n this.formio.language = this.language;\n } else {\n this.language.subscribe((lang: string) => {\n this.formio.language = lang;\n });\n }\n }\n\n if (this.refresh) {\n this.refresh.subscribe((refresh: FormioRefreshValue) =>\n this.onRefresh(refresh)\n );\n }\n\n if (this.error) {\n this.error.subscribe((err: any) => this.onError(err));\n }\n\n if (this.success) {\n this.success.subscribe((message: string) => {\n this.alerts.setAlert({\n type: 'success',\n message: message || get(this.options, 'alerts.submitMessage')\n });\n });\n }\n\n if (this.src) {\n if (!this.service) {\n this.service = new FormioService(this.src);\n }\n this.isLoading = true;\n this.service.loadForm({ params: { live: 1 } }).subscribe(\n (form: FormioForm) => {\n if (form && form.components) {\n this.ngZone.runOutsideAngular(() => {\n this.setForm(form);\n });\n }\n\n // if a submission is also provided.\n if (\n isEmpty(this.submission) &&\n this.service &&\n this.service.formio.submissionId\n ) {\n this.service.loadSubmission().subscribe(\n (submission: any) => {\n if (this.readOnly) {\n this.formio.options.readOnly = true;\n }\n this.submission = this.formio.submission = submission;\n },\n err => this.onError(err)\n );\n }\n },\n err => this.onError(err)\n );\n }\n if (this.url && !this.service) {\n this.service = new FormioService(this.url);\n }\n }\n\n ngOnDestroy() {\n if (this.formio) {\n this.formio.destroy();\n }\n }\n\n onRefresh(refresh: FormioRefreshValue) {\n this.formioReady.then(() => {\n if (refresh.form) {\n this.formio.setForm(refresh.form).then(() => {\n if (refresh.submission) {\n this.formio.setSubmission(refresh.submission);\n }\n });\n } else if (refresh.submission) {\n this.formio.setSubmission(refresh.submission);\n } else {\n switch (refresh.property) {\n case 'submission':\n this.formio.submission = refresh.value;\n break;\n case 'form':\n this.formio.form = refresh.value;\n break;\n }\n }\n });\n }\n\n ngOnChanges(changes: any) {\n Evaluator.noeval = this.noeval;\n this.initialize();\n\n if (changes.form && changes.form.currentValue) {\n this.ngZone.runOutsideAngular(() => {\n this.setForm(changes.form.currentValue);\n });\n }\n\n this.formioReady.then(() => {\n if (changes.submission && changes.submission.currentValue) {\n this.formio.setSubmission(changes.submission.currentValue, {\n fromSubmission: false,\n });\n }\n\n if (changes.hideComponents && changes.hideComponents.currentValue) {\n const hiddenComponents = changes.hideComponents.currentValue;\n this.formio.options.hide = hiddenComponents;\n this.formio.everyComponent((component) => {\n component.options.hide = hiddenComponents;\n if (hiddenComponents.includes(component.component.key)) {\n component.visible = false;\n }\n });\n }\n });\n }\n\n onPrevPage(data: any) {\n this.alerts.setAlerts([]);\n this.prevPage.emit(data);\n }\n\n onNextPage(data: any) {\n this.alerts.setAlerts([]);\n this.nextPage.emit(data);\n }\n\n onSubmit(submission: any, saved: boolean, noemit?: boolean) {\n this.submitting = false;\n this.submissionSuccess = true;\n\n this.formio.setValue(fastCloneDeep(submission), {\n noValidate: true,\n noCheck: true\n });\n\n if (saved) {\n this.formio.emit('submitDone', submission);\n }\n if (!noemit) {\n this.submit.emit(submission);\n }\n if (!this.success) {\n this.alerts.setAlert({\n type: 'success',\n message: get(this.options, 'alerts.submitMessage')\n });\n }\n }\n\n onError(err: any) {\n this.alerts.setAlerts([]);\n this.submitting = false;\n this.isLoading = false;\n\n if (!err) {\n return;\n }\n\n // Make sure it is an array.\n const errors = Array.isArray(err) ? err : [err];\n\n // Emit these errors again.\n this.errorChange.emit(errors);\n\n if (err.silent) {\n return;\n }\n\n if (this.formio && errors.length) {\n this.formio.emit('submitError', errors);\n }\n\n // Iterate through each one and set the alerts array.\n errors.forEach((error: any) => {\n const {\n message,\n paths,\n } = error\n ? error.details\n ? {\n message: error.details.map((detail) => detail.message),\n paths: error.details.map((detail) => detail.path),\n }\n : {\n message: error.message || error.toString(),\n paths: error.path ? [error.path] : [],\n }\n : {\n message: '',\n paths: [],\n };\n\n let shouldErrorDisplay = true;\n\n if (this.formio) {\n paths.forEach((path, index) => {\n const component = this.formio.getComponent(path);\n if (component) {\n const components = Array.isArray(component) ? component : [component];\n const messageText = Array.isArray(message) ? message[index] : message;\n components.forEach((comp) => comp.setCustomValidity(messageText, true));\n this.alerts.addAlert({\n type: 'danger',\n message: message[index],\n component,\n });\n shouldErrorDisplay = false;\n }\n });\n\n if ((window as any).VPAT_ENABLED) {\n if (typeof error ==='string' && this.formio.components) {\n this.formio.components.forEach((comp) => {\n if (comp && comp.type !== 'button') {\n comp.setCustomValidity(message, true);\n }\n });\n }\n }\n\n if (!this.noAlerts) {\n this.formio.showErrors();\n }\n }\n\n if (shouldErrorDisplay) {\n this.alerts.addAlert({\n type: 'danger',\n message,\n component: error.component,\n });\n }\n });\n }\n\n focusOnComponet(key: any) {\n if (this.formio) {\n this.formio.focusOnComponent(key);\n }\n }\n\n submitExecute(submission: object, saved = false) {\n if (this.service && !this.url && !saved) {\n this.service\n .saveSubmission(submission)\n .subscribe(\n (sub: {}) => this.onSubmit(sub, true),\n err => this.onError(err)\n );\n } else {\n this.onSubmit(submission, false);\n }\n }\n\n submitForm(submission: any, saved = false) {\n // Keep double submits from occurring...\n if (this.submitting) {\n return;\n }\n this.formio.setMetadata(submission);\n this.submissionSuccess = false;\n this.submitting = true;\n this.beforeSubmit.emit(submission);\n\n // if they provide a beforeSubmit hook, then allow them to alter the submission asynchronously\n // or even provide a custom Error method.\n const beforeSubmit = get(this.options, 'hooks.beforeSubmit');\n if (beforeSubmit) {\n beforeSubmit(submission, (err: FormioError, sub: object) => {\n if (err) {\n this.onError(err);\n return;\n }\n this.submitExecute(sub, saved);\n });\n } else {\n this.submitExecute(submission, saved);\n }\n }\n\n onChange(value: any, flags: any, isModified: boolean) {\n if (this.watchSubmissionErrors && !this.submissionSuccess) {\n const errors = get(this, 'formio.errors', []);\n const alerts = get(this, 'alerts.alerts', []);\n const submitted = get(this, 'formio.submitted', false);\n if (submitted && (errors.length || alerts.length)) {\n this.onError(errors);\n }\n }\n return this.change.emit({...value, flags, isModified});\n }\n}\n","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from) {\r\n for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)\r\n to[j] = from[i];\r\n return to;\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n","import { Component, OnInit, Optional, ViewEncapsulation, Input, NgZone, OnChanges } from '@angular/core';\nimport { FormioAppConfig } from '../../formio.config';\nimport { Formio, Form } from 'formiojs';\nimport { FormioBaseComponent } from '../../FormioBaseComponent';\nimport { CustomTagsService } from '../../custom-component/custom-tags.service';\n\n/* tslint:disable */\n@Component({\n selector: 'formio',\n templateUrl: './formio.component.html',\n styleUrls: ['../../../../../node_modules/formiojs/dist/formio.form.min.css'],\n encapsulation: ViewEncapsulation.None,\n})\n/* tslint:enable */\nexport class FormioComponent extends FormioBaseComponent implements OnInit, OnChanges {\n constructor(\n public ngZone: NgZone,\n @Optional() public config: FormioAppConfig,\n @Optional() public customTags?: CustomTagsService,\n ) {\n super(ngZone, config, customTags);\n if (this.config) {\n Formio.setBaseUrl(this.config.apiUrl);\n Formio.setProjectUrl(this.config.appUrl);\n } else {\n console.warn('You must provide an AppConfig within your application!');\n }\n }\n\n getRenderer() {\n return this.renderer || Form;\n }\n}\n","import {\n Component,\n Input,\n OnInit,\n OnChanges,\n OnDestroy,\n ViewEncapsulation,\n Optional,\n ElementRef,\n ViewChild,\n EventEmitter,\n Output,\n NgZone\n} from '@angular/core';\nimport { FormioAppConfig } from '../../formio.config';\nimport {\n FormioForm,\n FormioOptions\n} from '../../formio.common';\nimport { Formio, FormBuilder, Utils } from 'formiojs';\nimport { assign } from 'lodash';\nimport { Observable, Subscription } from 'rxjs';\nimport { CustomTagsService } from '../../custom-component/custom-tags.service';\n\n/* tslint:disable */\n@Component({\n selector: 'form-builder',\n templateUrl: './formbuilder.component.html',\n styleUrls: ['../../../../../node_modules/formiojs/dist/formio.builder.min.css'],\n encapsulation: ViewEncapsulation.None\n})\n/* tslint:enable */\nexport class FormBuilderComponent implements OnInit, OnChanges, OnDestroy {\n public ready: Promise<object>;\n public readyResolve: any;\n public formio: any;\n public builder: FormBuilder;\n public componentAdding = false;\n private refreshSubscription: Subscription;\n @Input() form?: FormioForm;\n @Input() options?: FormioOptions;\n @Input() formbuilder?: any;\n @Input() noeval ? = false;\n @Input() refresh?: Observable<void>;\n @Input() rebuild?: Observable<object>;\n @Output() change?: EventEmitter<object>;\n @ViewChild('builder', { static: true }) builderElement?: ElementRef<any>;\n\n constructor(\n private ngZone: NgZone,\n @Optional() private config: FormioAppConfig,\n @Optional() private customTags?: CustomTagsService\n ) {\n if (this.config) {\n Formio.setBaseUrl(this.config.apiUrl);\n Formio.setProjectUrl(this.config.appUrl);\n } else {\n console.warn('You must provide an AppConfig within your application!');\n }\n\n this.change = new EventEmitter();\n this.ready = new Promise((resolve: any) => {\n this.readyResolve = resolve;\n });\n }\n\n ngOnInit() {\n Utils.Evaluator.noeval = this.noeval;\n\n if (this.refresh) {\n this.refreshSubscription = this.refresh.subscribe(() => {\n this.ngZone.runOutsideAngular(() => {\n this.buildForm(this.form);\n });\n });\n }\n\n if (this.rebuild) {\n this.rebuild.subscribe((options) => {\n this.ngZone.runOutsideAngular(() => {\n this.rebuildForm(this.form, options);\n });\n });\n }\n }\n\n setInstance(instance: any) {\n this.formio = instance;\n instance.off('addComponent');\n instance.off('saveComponent');\n instance.off('updateComponent');\n instance.off('removeComponent');\n instance.on('addComponent', (component, parent, path, index, isNew) => {\n this.ngZone.run(() => {\n if (isNew) {\n this.componentAdding = true;\n } else {\n this.change.emit({\n type: 'addComponent',\n builder: instance,\n form: instance.schema,\n component: component,\n parent: parent,\n path: path,\n index: index\n });\n this.componentAdding = false;\n }\n });\n });\n instance.on('saveComponent', (component, original, parent, path, index, isNew) => {\n this.ngZone.run(() => {\n this.change.emit({\n type: this.componentAdding ? 'addComponent' : 'saveComponent',\n builder: instance,\n form: instance.schema,\n component: component,\n originalComponent: original,\n parent: parent,\n path: path,\n index: index,\n isNew: isNew || false\n });\n this.componentAdding = false;\n });\n });\n instance.on('updateComponent', (component) => {\n this.ngZone.run(() => {\n this.change.emit({\n type: 'updateComponent',\n builder: instance,\n form: instance.schema,\n component: component\n });\n });\n });\n instance.on('removeComponent', (component, parent, path, index) => {\n this.ngZone.run(() => {\n this.change.emit({\n type: 'deleteComponent',\n builder: instance,\n form: instance.schema,\n component: component,\n parent: parent,\n path: path,\n index: index\n });\n });\n });\n this.ngZone.run(() => {\n this.readyResolve(instance);\n });\n return instance;\n }\n\n setDisplay(display: String) {\n return this.builder.setDisplay(display).then(instance => this.setInstance(instance));\n }\n\n buildForm(form: any) {\n if (!form || !this.builderElement || !this.builderElement.nativeElement) {\n return;\n }\n\n if (this.builder) {\n return this.setDisplay(form.display).then(() => {\n this.builder.form = form;\n this.builder.instance.form = form;\n return this.builder.instance;\n });\n }\n\n return this.rebuildForm(form);\n }\n\n rebuildForm(form: any, options?: object) {\n const Builder = this.formbuilder || FormBuilder;\n const extraTags = this.customTags ? this.customTags.tags : [];\n this.builder = new Builder(\n this.builderElement.nativeElement,\n form,\n assign({\n icons: 'fontawesome',\n sanitizeConfig: {\n addTags: extraTags\n }\n }, options || this.options || {})\n );\n return this.builder.ready.then(instance => this.setInstance(instance));\n }\n\n ngOnChanges(changes: any) {\n Utils.Evaluator.noeval = this.noeval;\n\n if (changes.form && changes.form.currentValue) {\n this.ngZone.runOutsideAngular(() => {\n this.buildForm(changes.form.currentValue || {components: []});\n });\n }\n }\n\n ngOnDestroy() {\n if (this.refreshSubscription) {\n this.refreshSubscription.unsubscribe();\n }\n\n if (this.formio) {\n this.formio.destroy();\n }\n }\n}\n","import {Component, Input} from '@angular/core';\n\n@Component({\n selector: 'formio-loader',\n styleUrls: ['./formio.loader.component.scss'],\n templateUrl: './formio.loader.component.html'\n})\nexport class FormioLoaderComponent {\n @Input() isLoading: boolean;\n}\n","import {Component, EventEmitter, Input, OnInit, Output} from '@angular/core';\nimport { FormioAlerts } from './formio.alerts';\n\n@Component({\n selector: 'formio-alerts',\n templateUrl: './formio.alerts.component.html'\n})\nexport class FormioAlertsComponent implements OnInit {\n @Input() alerts: FormioAlerts;\n @Output() focusComponent = new EventEmitter<object>();\n ngOnInit() {\n if (!this.alerts) {\n this.alerts = new FormioAlerts();\n }\n }\n getComponent (event, alert) {\n this.focusComponent.emit(alert.component.key);\n }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({ name: 'parseHtmlContent', pure: false })\nexport class ParseHtmlContentPipe implements PipeTransform {\n\n /*\n Some messages that are come from formiojs have hex codes. So the main aim of this pipe is transform this messages to html.\n And then render in template.\n */\n transform(content) {\n const parsedContent = new DOMParser().parseFromString(content, 'text/html').body.childNodes[0];\n\n return parsedContent?.textContent;\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormioComponent } from './components/formio/formio.component';\nimport { FormBuilderComponent } from './components/formbuilder/formbuilder.component';\nimport { FormioAlerts } from './components/alerts/formio.alerts';\nimport { ParseHtmlContentPipe } from './components/alerts/parse-html-content.pipe';\nimport { FormioAlertsComponent } from './components/alerts/formio.alerts.component';\nimport { FormioLoaderComponent } from './components/loader/formio.loader.component';\nimport { CustomTagsService } from './custom-component/custom-tags.service';\nimport { FormioBaseComponent } from './FormioBaseComponent';\n\n@NgModule({\n declarations: [\n FormioComponent,\n FormioBaseComponent,\n FormBuilderComponent,\n FormioLoaderComponent,\n FormioAlertsComponent,\n ParseHtmlContentPipe\n ],\n imports: [\n CommonModule\n ],\n exports: [\n FormioComponent,\n FormBuilderComponent,\n FormioLoaderComponent,\n FormioAlertsComponent\n ],\n providers: [\n FormioAlerts,\n CustomTagsService\n ],\n entryComponents: [\n FormioComponent,\n FormBuilderComponent\n ]\n})\nexport class FormioModule {}\n","// @ts-nocheck\nimport { BuilderInfo, Components, ExtendedComponentSchema, Utils as FormioUtils } from 'formiojs';\nimport { FormioCustomComponentInfo, FormioCustomElement, FormioEvent } from '../elements.common';\nimport { clone, isNil, isArray } from 'lodash';\n\nconst BaseInputComponent = Components.components.input;\nconst TextfieldComponent = Components.components.textfield;\n\nexport function createCustomFormioComponent(customComponentOptions: FormioCustomComponentInfo) {\n return class CustomComponent extends BaseInputComponent {\n static editForm = customComponentOptions.editForm || TextfieldComponent.editForm;\n id = FormioUtils.getRandomComponentId();\n type = customComponentOptions.type;\n _customAngularElement: FormioCustomElement;\n\n static schema() {\n return BaseInputComponent.schema({\n ...customComponentOptions.schema,\n type: customComponentOptions.type,\n });\n }\n\n get defaultSchema() {\n return CustomComponent.schema();\n }\n\n get emptyValue() {\n return customComponentOptions.emptyValue || null;\n }\n\n static get builderInfo(): BuilderInfo {\n return {\n title: customComponentOptions.title,\n group: customComponentOptions.group,\n icon: customComponentOptions.icon,\n weight: customComponentOptions.weight,\n documentation: customComponentOptions.documentation,\n schema: CustomComponent.schema(),\n };\n }\n\n constructor(public component: ExtendedComponentSchema, options: any, data: any) {\n super(component, {\n ...options,\n sanitizeConfig: {\n addTags: [customComponentOptions.selector],\n },\n }, data);\n\n if (customComponentOptions.extraValidators) {\n this.validators = this.validators.concat(customComponentOptions.extraValidators);\n }\n }\n\n elementInfo() {\n const info = super.elementInfo();\n info.type = customComponentOptions.selector;\n info.changeEvent = customComponentOptions.changeEvent || 'valueChange';\n info.attr = {\n ...info.attr,\n class: info.attr.class.replace('form-control', 'form-control-custom-field') // remove the form-control class as the custom angular component may look different\n };\n return info;\n }\n\n get inputInfo() {\n const info = {\n id: this.key,\n ...this.elementInfo()\n }\n return info;\n }\n\n renderElement(value: any, index: number) {\n const info = this.inputInfo;\n return this.renderTemplate(customComponentOptions.template || 'input', {\n input: info,\n value,\n index\n });\n }\n\n attach(element: HTMLElement) {\n let superAttach = super.attach(element);\n\n this._customAngularElement = element.querySelector(customComponentOptions.selector);\n\n // Bind the custom options and the validations to the Angular component's inputs (flattened)\n if (this._customAngularElement) {\n // To make sure we have working input in IE...\n // IE doesn't render it properly if it's not visible on the screen\n // due to the whole structure applied via innerHTML to the parent\n // so we need to use appendChild\n if (!this._customAngularElement.getAttribute('ng-version')) {\n this._customAngularElement.removeAttribute('ref');\n\n const newCustomElement = document.createElement(customComponentOptions.selector) as FormioCustomElement;\n\n newCustomElement.setAttribute('ref', 'input');\n Object.keys(this.inputInfo.attr).forEach((attr: string) => {\n newCustomElement.setAttribute(attr, this.inputInfo.attr[attr]);\n });\n\n this._customAngularElement.appendChild(newCustomElement);\n this._customAngularElement = newCustomElement;\n\n superAttach = super.attach(element);\n }\n\n // Bind customOptions\n for (const key in this.component.customOptions) {\n if (this.component.customOptions.hasOwnProperty(key)) {\n this._customAngularElement[key] = this.component.customOptions[key];\n }\n }\n // Bind validate options\n for (const key in this.component.validate) {\n if (this.component.validate.hasOwnProperty(key)) {\n this._customAngularElement[key] = this.component.validate[key];\n }\n }\n // Bind options explicitly set\n const fieldOptions = customComponentOptions.fieldOptions;\n if (isArray(fieldOptions) && fieldOptions.length > 0) {\n for (const key in fieldOptions) {\n if (fieldOptions.hasOwnProperty(key)) {\n this._customAngularElement[fieldOptions[key]] = this.component[fieldOptions[key]];\n }\n }\n }\n\n // Attach event listener for emit event\n this._customAngularElement.addEventListener('formioEvent', (event: CustomEvent<FormioEvent>) => {\n this.emit(event.detail.eventName, {\n ...event.detail.data,\n component: this.component\n });\n });\n\n // Ensure we bind the value (if it isn't a multiple-value component with no wrapper)\n if (!this._customAngularElement.value && !this.component.disableMultiValueWrapper) {\n this.restoreValue();\n }\n\n }\n return superAttach;\n }\n\n // Add extra option to support multiple value (e.g. datagrid) with single angular component (disableMultiValueWrapper)\n useWrapper() {\n return this.component.hasOwnProperty('multiple') && this.component.multiple && !this.component.disableMultiValueWrapper;\n }\n\n get defaultValue() {\n let defaultValue = this.emptyValue;\n\n // handle falsy default value\n if (!isNil(this.component.defaultValue)) {\n defaultValue = this.component.defaultValue;\n }\n\n if (this.component.customDefaultValue && !this.options.preview) {\n defaultValue = this.evaluate(\n this.component.customDefaultValue,\n { value: '' },\n 'value'\n );\n }\n\n return clone(defaultValue);\n }\n };\n}\n","import { Injector, Type } from '@angular/core';\nimport { createCustomElement } from '@angular/elements';\nimport { Components } from 'formiojs';\nimport { FormioCustomComponentInfo } from '../elements.common';\nimport { createCustomFormioComponent } from './create-custom-component';\nimport { CustomTagsService } from './custom-tags.service';\n\nexport function registerCustomTag(tag: string, injector: Injector): void {\n injector.get(CustomTagsService).addCustomTag(tag);\n}\n\nexport function registerCustomTags(tags: string[], injector: Injector): void {\n tags.forEach(tag => registerCustomTag(tag, injector));\n}\n\nexport function registerCustomFormioComponent(\n options: FormioCustomComponentInfo,\n angularComponent: Type<any>,\n injector: Injector,\n): void {\n registerCustomTag(options.selector, injector);\n\n const complexCustomComponent = createCustomElement(angularComponent, { injector });\n customElements.define(options.selector, complexCustomComponent);\n\n Components.setComponent(options.type, createCustomFormioComponent(options));\n}\n\nexport function registerCustomFormioComponentWithClass(\n options: FormioCustomComponentInfo,\n angularComponent: Type<any>,\n formioClass: any,\n injector: Injector,\n): void {\n registerCustomTag(options.selector, injector);\n\n const complexCustomComponent = createCustomElement(angularComponent, { injector });\n customElements.define(options.selector, complexCustomComponent);\n\n Components.setComponent(options.type, formioClass);\n}\n","import { RouterModule } from '@angular/router';\nimport { find, trim, each, intersection } from 'lodash';\n\nexport function extendRouter(Class: any, config: any, ClassRoutes: any) {\n each(Class.decorators, decorator => {\n each(decorator.args, arg => {\n if (arg.declarations) {\n each(config, component => arg.declarations.push(component));\n }\n if (arg.imports) {\n each(arg.imports, (_import, index) => {\n if (\n (_import.ngModule && (_import.ngModule.name === 'RouterModule')) ||\n (_import.name === 'RouterModule')\n ) {\n arg.imports[index] = RouterModule.forChild(ClassRoutes(config));\n }\n });\n }\n });\n });\n return Class;\n}\n"]}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { FormioAlerts } from './formio.alerts';
|
|
3
|
-
export declare class FormioAlertsComponent implements OnInit {
|
|
4
|
-
alerts: FormioAlerts;
|
|
5
|
-
focusComponent: EventEmitter<object>;
|
|
6
|
-
ngOnInit(): void;
|
|
7
|
-
getComponent(event: any, alert: any): void;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=formio.alerts.component.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"formio.alerts.component.ngfactory.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/src/components/alerts/formio.alerts.component.ngfactory.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parse-html-content.pipe.ngfactory.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/src/components/alerts/parse-html-content.pipe.ngfactory.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"formbuilder.component.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/src/components/formbuilder/formbuilder.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,MAAM,EACN,SAAS,EACT,SAAS,EAGT,UAAU,EAEV,YAAY,EAEZ,MAAM,EACP,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EACL,UAAU,EACV,aAAa,EACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAU,WAAW,EAAS,MAAM,UAAU,CAAC;AAEtD,OAAO,EAAE,UAAU,EAAgB,MAAM,MAAM,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,4CAA4C,CAAC;AAG/E,qBAOa,oBAAqB,YAAW,MAAM,EAAE,SAAS,EAAE,SAAS;IAiBrE,OAAO,CAAC,MAAM;IACF,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,UAAU,CAAC;IAlB1B,KAAK,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;IACvB,YAAY,EAAE,GAAG,CAAC;IAClB,MAAM,EAAE,GAAG,CAAC;IACZ,OAAO,EAAE,WAAW,CAAC;IACrB,eAAe,UAAS;IAC/B,OAAO,CAAC,mBAAmB,CAAe;IACjC,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB,MAAO,CAAC,UAAS;IACjB,OAAO,CAAC,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;IAC3B,OAAO,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;IAC5B,MAAM,CAAC,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IACA,cAAc,CAAC,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC;gBAG/D,MAAM,EAAE,MAAM,EACF,MAAM,EAAE,eAAe,EACvB,UAAU,CAAC,EAAE,iBAAiB;IAepD,QAAQ;IAoBR,WAAW,CAAC,QAAQ,EAAE,GAAG;IAqEzB,UAAU,CAAC,OAAO,EAAE,MAAM;IAI1B,SAAS,CAAC,IAAI,EAAE,GAAG;IAgBnB,WAAW,CAAC,IAAI,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,MAAM;IAgBvC,WAAW,CAAC,OAAO,EAAE,GAAG;IAUxB,WAAW;CASZ"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"formbuilder.component.ngfactory.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/src/components/formbuilder/formbuilder.component.ngfactory.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"formio.component.ngfactory.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/src/components/formio/formio.component.ngfactory.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"formio.loader.component.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/src/components/loader/formio.loader.component.ts"],"names":[],"mappings":"AAEA,qBAKa,qBAAqB;IACvB,SAAS,EAAE,OAAO,CAAC;CAC7B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"formio.loader.component.ngfactory.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/src/components/loader/formio.loader.component.ngfactory.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"formio.loader.component.scss.shim.ngstyle.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/src/components/loader/formio.loader.component.scss.shim.ngstyle.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"custom-tags.service.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/src/custom-component/custom-tags.service.ts"],"names":[],"mappings":"AAEA,qBACa,iBAAiB;IAC5B,IAAI,EAAE,MAAM,EAAE,CAAM;IAEpB,YAAY,CAAC,GAAG,EAAE,MAAM;CAGzB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"custom-tags.service.ngfactory.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/src/custom-component/custom-tags.service.ngfactory.ts"],"names":[],"mappings":""}
|