@formio/angular 5.2.0-rc.1 → 5.2.1-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.dockerignore +5 -0
- package/.editorconfig +13 -0
- package/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
- package/.github/ISSUE_TEMPLATE/custom-components-support-request.md +15 -0
- package/.github/ISSUE_TEMPLATE/question.md +8 -0
- package/.travis.yml +4 -0
- package/.yo-rc.json +7 -0
- package/CHANGELOG.md +1008 -0
- package/Dockerfile +20 -0
- package/LICENSE +21 -0
- package/README.md +170 -13
- package/angular.json +51 -0
- package/bs-config.json +11 -0
- package/{FormioBaseComponent.d.ts → dist/angular-formio/FormioBaseComponent.d.ts} +4 -1
- package/dist/angular-formio/FormioBaseComponent.d.ts.map +1 -0
- package/dist/angular-formio/README.md +24 -0
- package/dist/angular-formio/auth/auth.component.d.ts +6 -0
- package/{auth → dist/angular-formio/auth}/auth.component.d.ts.map +1 -1
- package/{auth → dist/angular-formio/auth}/auth.config.d.ts +3 -0
- package/dist/angular-formio/auth/auth.config.d.ts.map +1 -0
- package/dist/angular-formio/auth/auth.module.d.ts +17 -0
- package/dist/angular-formio/auth/auth.module.d.ts.map +1 -0
- package/{auth → dist/angular-formio/auth}/auth.routes.d.ts +0 -0
- package/{auth → dist/angular-formio/auth}/auth.routes.d.ts.map +0 -0
- package/{auth → dist/angular-formio/auth}/auth.service.d.ts +3 -0
- package/dist/angular-formio/auth/auth.service.d.ts.map +1 -0
- package/dist/angular-formio/auth/formio-angular-auth.d.ts +6 -0
- package/{auth → dist/angular-formio/auth}/formio-angular-auth.d.ts.map +1 -1
- package/{auth → dist/angular-formio/auth}/index.d.ts +0 -0
- package/{auth → dist/angular-formio/auth}/index.d.ts.map +0 -0
- package/dist/angular-formio/auth/login/login.component.d.ts +9 -0
- package/{auth → dist/angular-formio/auth}/login/login.component.d.ts.map +1 -1
- package/{auth → dist/angular-formio/auth}/package.json +0 -1
- package/{auth → dist/angular-formio/auth}/public_api.d.ts +0 -0
- package/{auth → dist/angular-formio/auth}/public_api.d.ts.map +0 -0
- package/dist/angular-formio/auth/register/register.component.d.ts +9 -0
- package/{auth → dist/angular-formio/auth}/register/register.component.d.ts.map +1 -1
- package/dist/angular-formio/auth/resetpass/resetpass.component.d.ts +9 -0
- package/{auth → dist/angular-formio/auth}/resetpass/resetpass.component.d.ts.map +1 -1
- package/dist/angular-formio/bundles/formio-angular-auth.umd.js +421 -0
- package/dist/angular-formio/bundles/formio-angular-auth.umd.js.map +1 -0
- package/dist/angular-formio/bundles/formio-angular-grid.umd.js +1725 -0
- package/dist/angular-formio/bundles/formio-angular-grid.umd.js.map +1 -0
- package/dist/angular-formio/bundles/formio-angular-manager.umd.js +1648 -0
- package/dist/angular-formio/bundles/formio-angular-manager.umd.js.map +1 -0
- package/dist/angular-formio/bundles/formio-angular-resource.umd.js +720 -0
- package/dist/angular-formio/bundles/formio-angular-resource.umd.js.map +1 -0
- package/dist/angular-formio/bundles/formio-angular.umd.js +1729 -0
- package/dist/angular-formio/bundles/formio-angular.umd.js.map +1 -0
- package/dist/angular-formio/components/alerts/formio.alerts.component.d.ts +12 -0
- package/{components → dist/angular-formio/components}/alerts/formio.alerts.component.d.ts.map +1 -1
- package/{components → dist/angular-formio/components}/alerts/formio.alerts.d.ts +0 -0
- package/{components → dist/angular-formio/components}/alerts/formio.alerts.d.ts.map +0 -0
- package/dist/angular-formio/components/alerts/parse-html-content.pipe.d.ts +8 -0
- package/{components → dist/angular-formio/components}/alerts/parse-html-content.pipe.d.ts.map +1 -1
- package/{components → dist/angular-formio/components}/formbuilder/formbuilder.component.d.ts +3 -0
- package/dist/angular-formio/components/formbuilder/formbuilder.component.d.ts.map +1 -0
- package/{components → dist/angular-formio/components}/formio/formio.component.d.ts +3 -0
- package/{components → dist/angular-formio/components}/formio/formio.component.d.ts.map +1 -1
- package/dist/angular-formio/components/loader/formio.loader.component.d.ts +7 -0
- package/dist/angular-formio/components/loader/formio.loader.component.d.ts.map +1 -0
- package/{core.d.ts → dist/angular-formio/core.d.ts} +0 -0
- package/{core.d.ts.map → dist/angular-formio/core.d.ts.map} +0 -0
- package/{custom-component → dist/angular-formio/custom-component}/create-custom-component.d.ts +0 -0
- package/{custom-component → dist/angular-formio/custom-component}/create-custom-component.d.ts.map +0 -0
- package/dist/angular-formio/custom-component/custom-tags.service.d.ts +8 -0
- package/dist/angular-formio/custom-component/custom-tags.service.d.ts.map +1 -0
- package/{custom-component → dist/angular-formio/custom-component}/register-custom-component.d.ts +0 -0
- package/{custom-component → dist/angular-formio/custom-component}/register-custom-component.d.ts.map +0 -0
- package/{elements.common.d.ts → dist/angular-formio/elements.common.d.ts} +0 -0
- package/{elements.common.d.ts.map → dist/angular-formio/elements.common.d.ts.map} +0 -0
- package/dist/angular-formio/esm2015/FormioBaseComponent.js +497 -0
- package/dist/angular-formio/esm2015/auth/auth.component.js +39 -0
- package/dist/angular-formio/esm2015/auth/auth.config.js +15 -0
- package/dist/angular-formio/esm2015/auth/auth.module.js +49 -0
- package/{esm2015 → dist/angular-formio/esm2015}/auth/auth.routes.js +0 -0
- package/dist/angular-formio/esm2015/auth/auth.service.js +159 -0
- package/{esm2015 → dist/angular-formio/esm2015}/auth/formio-angular-auth.js +0 -0
- package/{esm2015 → dist/angular-formio/esm2015}/auth/index.js +0 -0
- package/dist/angular-formio/esm2015/auth/login/login.component.js +24 -0
- package/{esm2015 → dist/angular-formio/esm2015}/auth/public_api.js +0 -0
- package/dist/angular-formio/esm2015/auth/register/register.component.js +24 -0
- package/dist/angular-formio/esm2015/auth/resetpass/resetpass.component.js +24 -0
- package/dist/angular-formio/esm2015/components/alerts/formio.alerts.component.js +49 -0
- package/{esm2015 → dist/angular-formio/esm2015}/components/alerts/formio.alerts.js +0 -0
- package/dist/angular-formio/esm2015/components/alerts/parse-html-content.pipe.js +19 -0
- package/dist/angular-formio/esm2015/components/formbuilder/formbuilder.component.js +203 -0
- package/dist/angular-formio/esm2015/components/formio/formio.component.js +87 -0
- package/dist/angular-formio/esm2015/components/loader/formio.loader.component.js +27 -0
- package/{esm2015 → dist/angular-formio/esm2015}/core.js +0 -0
- package/{esm2015 → dist/angular-formio/esm2015}/custom-component/create-custom-component.js +0 -0
- package/dist/angular-formio/esm2015/custom-component/custom-tags.service.js +16 -0
- package/{esm2015 → dist/angular-formio/esm2015}/custom-component/register-custom-component.js +0 -0
- package/{esm2015 → dist/angular-formio/esm2015}/elements.common.js +0 -0
- package/dist/angular-formio/esm2015/formio-angular.js +5 -0
- package/{esm2015 → dist/angular-formio/esm2015}/formio-promise.service.js +0 -0
- package/{esm2015 → dist/angular-formio/esm2015}/formio.common.js +0 -0
- package/dist/angular-formio/esm2015/formio.config.js +14 -0
- package/dist/angular-formio/esm2015/formio.module.js +61 -0
- package/{esm2015 → dist/angular-formio/esm2015}/formio.service.js +0 -0
- package/{esm2015 → dist/angular-formio/esm2015}/formio.utils.js +0 -0
- package/dist/angular-formio/esm2015/grid/GridBodyComponent.js +86 -0
- package/dist/angular-formio/esm2015/grid/GridFooterComponent.js +41 -0
- package/dist/angular-formio/esm2015/grid/GridHeaderComponent.js +35 -0
- package/dist/angular-formio/esm2015/grid/form/FormGridBody.component.js +130 -0
- package/dist/angular-formio/esm2015/grid/form/FormGridFooter.component.js +118 -0
- package/dist/angular-formio/esm2015/grid/form/FormGridHeader.component.js +65 -0
- package/{esm2015 → dist/angular-formio/esm2015}/grid/form/index.js +0 -0
- package/dist/angular-formio/esm2015/grid/form/time-since.pipe.js +37 -0
- package/dist/angular-formio/esm2015/grid/formio-angular-grid.js +5 -0
- package/dist/angular-formio/esm2015/grid/grid.component.js +302 -0
- package/dist/angular-formio/esm2015/grid/grid.module.js +90 -0
- package/dist/angular-formio/esm2015/grid/grid.service.js +18 -0
- package/{esm2015 → dist/angular-formio/esm2015}/grid/index.js +0 -0
- package/{esm2015 → dist/angular-formio/esm2015}/grid/public_api.js +0 -0
- package/dist/angular-formio/esm2015/grid/submission/SubmissionGridBody.component.js +75 -0
- package/dist/angular-formio/esm2015/grid/submission/SubmissionGridFooter.component.js +107 -0
- package/dist/angular-formio/esm2015/grid/submission/SubmissionGridHeader.component.js +99 -0
- package/{esm2015 → dist/angular-formio/esm2015}/grid/submission/index.js +0 -0
- package/{esm2015 → dist/angular-formio/esm2015}/grid/types/grid-column.js +0 -0
- package/{esm2015 → dist/angular-formio/esm2015}/grid/types/grid-footer-positions.js +0 -0
- package/{esm2015 → dist/angular-formio/esm2015}/grid/types/grid-header.js +0 -0
- package/{esm2015 → dist/angular-formio/esm2015}/index.js +0 -0
- package/dist/angular-formio/esm2015/manager/create/create.component.js +68 -0
- package/dist/angular-formio/esm2015/manager/delete/delete.component.js +56 -0
- package/dist/angular-formio/esm2015/manager/edit/edit.component.js +170 -0
- package/dist/angular-formio/esm2015/manager/form/form.component.js +192 -0
- package/dist/angular-formio/esm2015/manager/form-manager.config.js +15 -0
- package/dist/angular-formio/esm2015/manager/form-manager.module.js +86 -0
- package/{esm2015 → dist/angular-formio/esm2015}/manager/form-manager.routes.js +0 -0
- package/dist/angular-formio/esm2015/manager/form-manager.service.js +178 -0
- package/{esm2015 → dist/angular-formio/esm2015}/manager/formio-angular-manager.js +0 -0
- package/dist/angular-formio/esm2015/manager/index/index.component.js +130 -0
- package/{esm2015 → dist/angular-formio/esm2015}/manager/index.js +0 -0
- package/{esm2015 → dist/angular-formio/esm2015}/manager/public_api.js +0 -0
- package/dist/angular-formio/esm2015/manager/submission/delete/delete.component.js +47 -0
- package/dist/angular-formio/esm2015/manager/submission/edit/edit.component.js +30 -0
- package/dist/angular-formio/esm2015/manager/submission/index/index.component.js +30 -0
- package/dist/angular-formio/esm2015/manager/submission/submission/submission.component.js +75 -0
- package/dist/angular-formio/esm2015/manager/submission/view/view.component.js +24 -0
- package/dist/angular-formio/esm2015/manager/view/view.component.js +57 -0
- package/{esm2015 → dist/angular-formio/esm2015}/public-api.js +0 -0
- package/dist/angular-formio/esm2015/resource/create/create.component.js +61 -0
- package/dist/angular-formio/esm2015/resource/delete/delete.component.js +42 -0
- package/dist/angular-formio/esm2015/resource/edit/edit.component.js +44 -0
- package/{esm2015 → dist/angular-formio/esm2015}/resource/formio-angular-resource.js +0 -0
- package/dist/angular-formio/esm2015/resource/index/index.component.js +72 -0
- package/{esm2015 → dist/angular-formio/esm2015}/resource/index.js +0 -0
- package/{esm2015 → dist/angular-formio/esm2015}/resource/public_api.js +0 -0
- package/dist/angular-formio/esm2015/resource/resource.component.js +83 -0
- package/dist/angular-formio/esm2015/resource/resource.config.js +15 -0
- package/dist/angular-formio/esm2015/resource/resource.module.js +65 -0
- package/{esm2015 → dist/angular-formio/esm2015}/resource/resource.routes.js +0 -0
- package/dist/angular-formio/esm2015/resource/resource.service.js +186 -0
- package/dist/angular-formio/esm2015/resource/resources.service.js +22 -0
- package/dist/angular-formio/esm2015/resource/view/view.component.js +29 -0
- package/{esm2015 → dist/angular-formio/esm2015}/types/alerts-position.js +0 -0
- package/{esm2015 → dist/angular-formio/esm2015}/types/formio-metadata.js +0 -0
- package/{esm2015 → dist/angular-formio/esm2015}/types/formio-submission.js +0 -0
- package/{fesm2015 → dist/angular-formio/fesm2015}/formio-angular-auth.js +108 -45
- package/dist/angular-formio/fesm2015/formio-angular-auth.js.map +1 -0
- package/dist/angular-formio/fesm2015/formio-angular-grid.js +1175 -0
- package/dist/angular-formio/fesm2015/formio-angular-grid.js.map +1 -0
- package/dist/angular-formio/fesm2015/formio-angular-manager.js +1145 -0
- package/dist/angular-formio/fesm2015/formio-angular-manager.js.map +1 -0
- package/dist/angular-formio/fesm2015/formio-angular-resource.js +612 -0
- package/dist/angular-formio/fesm2015/formio-angular-resource.js.map +1 -0
- package/dist/angular-formio/fesm2015/formio-angular.js +1232 -0
- package/dist/angular-formio/fesm2015/formio-angular.js.map +1 -0
- package/dist/angular-formio/formio-angular.d.ts +6 -0
- package/dist/angular-formio/formio-angular.d.ts.map +1 -0
- package/{formio-promise.service.d.ts → dist/angular-formio/formio-promise.service.d.ts} +0 -0
- package/{formio-promise.service.d.ts.map → dist/angular-formio/formio-promise.service.d.ts.map} +0 -0
- package/{formio.common.d.ts → dist/angular-formio/formio.common.d.ts} +0 -0
- package/{formio.common.d.ts.map → dist/angular-formio/formio.common.d.ts.map} +0 -0
- package/dist/angular-formio/formio.config.d.ts +10 -0
- package/dist/angular-formio/formio.config.d.ts.map +1 -0
- package/dist/angular-formio/formio.module.d.ts +14 -0
- package/{formio.module.d.ts.map → dist/angular-formio/formio.module.d.ts.map} +1 -1
- package/{formio.service.d.ts → dist/angular-formio/formio.service.d.ts} +0 -0
- package/{formio.service.d.ts.map → dist/angular-formio/formio.service.d.ts.map} +0 -0
- package/{formio.utils.d.ts → dist/angular-formio/formio.utils.d.ts} +0 -0
- package/{formio.utils.d.ts.map → dist/angular-formio/formio.utils.d.ts.map} +0 -0
- package/{grid → dist/angular-formio/grid}/GridBodyComponent.d.ts +3 -0
- package/dist/angular-formio/grid/GridBodyComponent.d.ts.map +1 -0
- package/{grid → dist/angular-formio/grid}/GridFooterComponent.d.ts +3 -0
- package/dist/angular-formio/grid/GridFooterComponent.d.ts.map +1 -0
- package/{grid → dist/angular-formio/grid}/GridHeaderComponent.d.ts +3 -0
- package/dist/angular-formio/grid/GridHeaderComponent.d.ts.map +1 -0
- package/dist/angular-formio/grid/form/FormGridBody.component.d.ts +9 -0
- package/{grid → dist/angular-formio/grid}/form/FormGridBody.component.d.ts.map +1 -1
- package/dist/angular-formio/grid/form/FormGridFooter.component.d.ts +10 -0
- package/{grid → dist/angular-formio/grid}/form/FormGridFooter.component.d.ts.map +1 -1
- package/{grid → dist/angular-formio/grid}/form/FormGridHeader.component.d.ts +3 -0
- package/{grid → dist/angular-formio/grid}/form/FormGridHeader.component.d.ts.map +1 -1
- package/{grid → dist/angular-formio/grid}/form/index.d.ts +0 -0
- package/{grid → dist/angular-formio/grid}/form/index.d.ts.map +0 -0
- package/dist/angular-formio/grid/form/time-since.pipe.d.ts +8 -0
- package/{grid → dist/angular-formio/grid}/form/time-since.pipe.d.ts.map +1 -1
- package/dist/angular-formio/grid/formio-angular-grid.d.ts +6 -0
- package/{grid → dist/angular-formio/grid}/formio-angular-grid.d.ts.map +1 -1
- package/{grid → dist/angular-formio/grid}/grid.component.d.ts +3 -0
- package/dist/angular-formio/grid/grid.component.d.ts.map +1 -0
- package/dist/angular-formio/grid/grid.module.d.ts +23 -0
- package/{grid → dist/angular-formio/grid}/grid.module.d.ts.map +1 -1
- package/dist/angular-formio/grid/grid.service.d.ts +10 -0
- package/dist/angular-formio/grid/grid.service.d.ts.map +1 -0
- package/{grid → dist/angular-formio/grid}/index.d.ts +0 -0
- package/{grid → dist/angular-formio/grid}/index.d.ts.map +0 -0
- package/{grid → dist/angular-formio/grid}/package.json +0 -1
- package/{grid → dist/angular-formio/grid}/public_api.d.ts +0 -0
- package/{grid → dist/angular-formio/grid}/public_api.d.ts.map +0 -0
- package/{grid → dist/angular-formio/grid}/submission/SubmissionGridBody.component.d.ts +3 -0
- package/{grid → dist/angular-formio/grid}/submission/SubmissionGridBody.component.d.ts.map +1 -1
- package/dist/angular-formio/grid/submission/SubmissionGridFooter.component.d.ts +10 -0
- package/{grid → dist/angular-formio/grid}/submission/SubmissionGridFooter.component.d.ts.map +1 -1
- package/{grid → dist/angular-formio/grid}/submission/SubmissionGridHeader.component.d.ts +3 -0
- package/dist/angular-formio/grid/submission/SubmissionGridHeader.component.d.ts.map +1 -0
- package/{grid → dist/angular-formio/grid}/submission/index.d.ts +0 -0
- package/{grid → dist/angular-formio/grid}/submission/index.d.ts.map +0 -0
- package/{grid → dist/angular-formio/grid}/types/grid-column.d.ts +0 -0
- package/{grid → dist/angular-formio/grid}/types/grid-column.d.ts.map +0 -0
- package/{grid → dist/angular-formio/grid}/types/grid-footer-positions.d.ts +0 -0
- package/{grid → dist/angular-formio/grid}/types/grid-footer-positions.d.ts.map +0 -0
- package/{grid → dist/angular-formio/grid}/types/grid-header.d.ts +0 -0
- package/{grid → dist/angular-formio/grid}/types/grid-header.d.ts.map +0 -0
- package/{index.d.ts → dist/angular-formio/index.d.ts} +0 -0
- package/{index.d.ts.map → dist/angular-formio/index.d.ts.map} +0 -0
- package/dist/angular-formio/manager/create/create.component.d.ts +9 -0
- package/{manager → dist/angular-formio/manager}/create/create.component.d.ts.map +1 -1
- package/{manager → dist/angular-formio/manager}/delete/delete.component.d.ts +3 -0
- package/dist/angular-formio/manager/delete/delete.component.d.ts.map +1 -0
- package/{manager → dist/angular-formio/manager}/edit/edit.component.d.ts +3 -0
- package/dist/angular-formio/manager/edit/edit.component.d.ts.map +1 -0
- package/{manager → dist/angular-formio/manager}/form/form.component.d.ts +3 -0
- package/dist/angular-formio/manager/form/form.component.d.ts.map +1 -0
- package/{manager → dist/angular-formio/manager}/form-manager.config.d.ts +3 -0
- package/dist/angular-formio/manager/form-manager.config.d.ts.map +1 -0
- package/dist/angular-formio/manager/form-manager.module.d.ts +28 -0
- package/dist/angular-formio/manager/form-manager.module.d.ts.map +1 -0
- package/{manager → dist/angular-formio/manager}/form-manager.routes.d.ts +0 -0
- package/{manager → dist/angular-formio/manager}/form-manager.routes.d.ts.map +0 -0
- package/{manager → dist/angular-formio/manager}/form-manager.service.d.ts +3 -0
- package/dist/angular-formio/manager/form-manager.service.d.ts.map +1 -0
- package/dist/angular-formio/manager/formio-angular-manager.d.ts +6 -0
- package/{manager → dist/angular-formio/manager}/formio-angular-manager.d.ts.map +1 -1
- package/{manager → dist/angular-formio/manager}/index/index.component.d.ts +3 -0
- package/dist/angular-formio/manager/index/index.component.d.ts.map +1 -0
- package/{manager → dist/angular-formio/manager}/index.d.ts +0 -0
- package/{manager → dist/angular-formio/manager}/index.d.ts.map +0 -0
- package/{manager → dist/angular-formio/manager}/package.json +0 -1
- package/{manager → dist/angular-formio/manager}/public_api.d.ts +0 -0
- package/{manager → dist/angular-formio/manager}/public_api.d.ts.map +0 -0
- package/{manager → dist/angular-formio/manager}/submission/delete/delete.component.d.ts +3 -0
- package/{manager → dist/angular-formio/manager}/submission/delete/delete.component.d.ts.map +1 -1
- package/{manager → dist/angular-formio/manager}/submission/edit/edit.component.d.ts +3 -0
- package/{manager → dist/angular-formio/manager}/submission/edit/edit.component.d.ts.map +1 -1
- package/{manager → dist/angular-formio/manager}/submission/index/index.component.d.ts +3 -0
- package/{manager → dist/angular-formio/manager}/submission/index/index.component.d.ts.map +1 -1
- package/{manager → dist/angular-formio/manager}/submission/submission/submission.component.d.ts +3 -0
- package/{manager → dist/angular-formio/manager}/submission/submission/submission.component.d.ts.map +1 -1
- package/dist/angular-formio/manager/submission/view/view.component.d.ts +9 -0
- package/{manager → dist/angular-formio/manager}/submission/view/view.component.d.ts.map +1 -1
- package/{manager → dist/angular-formio/manager}/view/view.component.d.ts +3 -0
- package/dist/angular-formio/manager/view/view.component.d.ts.map +1 -0
- package/dist/angular-formio/package.json +49 -0
- package/{public-api.d.ts → dist/angular-formio/public-api.d.ts} +0 -0
- package/{public-api.d.ts.map → dist/angular-formio/public-api.d.ts.map} +0 -0
- package/{resource → dist/angular-formio/resource}/create/create.component.d.ts +3 -0
- package/dist/angular-formio/resource/create/create.component.d.ts.map +1 -0
- package/{resource → dist/angular-formio/resource}/delete/delete.component.d.ts +3 -0
- package/{resource → dist/angular-formio/resource}/delete/delete.component.d.ts.map +1 -1
- package/{resource → dist/angular-formio/resource}/edit/edit.component.d.ts +9 -2
- package/dist/angular-formio/resource/edit/edit.component.d.ts.map +1 -0
- package/dist/angular-formio/resource/formio-angular-resource.d.ts +6 -0
- package/{resource → dist/angular-formio/resource}/formio-angular-resource.d.ts.map +1 -1
- package/{resource → dist/angular-formio/resource}/index/index.component.d.ts +3 -0
- package/dist/angular-formio/resource/index/index.component.d.ts.map +1 -0
- package/{resource → dist/angular-formio/resource}/index.d.ts +0 -0
- package/{resource → dist/angular-formio/resource}/index.d.ts.map +0 -0
- package/{resource → dist/angular-formio/resource}/package.json +0 -1
- package/{resource → dist/angular-formio/resource}/public_api.d.ts +0 -0
- package/{resource → dist/angular-formio/resource}/public_api.d.ts.map +0 -0
- package/{resource → dist/angular-formio/resource}/resource.component.d.ts +3 -0
- package/{resource → dist/angular-formio/resource}/resource.component.d.ts.map +1 -1
- package/{resource → dist/angular-formio/resource}/resource.config.d.ts +3 -0
- package/dist/angular-formio/resource/resource.config.d.ts.map +1 -0
- package/dist/angular-formio/resource/resource.module.d.ts +20 -0
- package/dist/angular-formio/resource/resource.module.d.ts.map +1 -0
- package/{resource → dist/angular-formio/resource}/resource.routes.d.ts +0 -0
- package/{resource → dist/angular-formio/resource}/resource.routes.d.ts.map +0 -0
- package/{resource → dist/angular-formio/resource}/resource.service.d.ts +3 -0
- package/dist/angular-formio/resource/resource.service.d.ts.map +1 -0
- package/{resource → dist/angular-formio/resource}/resources.service.d.ts +3 -0
- package/dist/angular-formio/resource/resources.service.d.ts.map +1 -0
- package/dist/angular-formio/resource/view/view.component.d.ts +16 -0
- package/dist/angular-formio/resource/view/view.component.d.ts.map +1 -0
- package/{types → dist/angular-formio/types}/alerts-position.d.ts +0 -0
- package/{types → dist/angular-formio/types}/alerts-position.d.ts.map +0 -0
- package/{types → dist/angular-formio/types}/formio-metadata.d.ts +0 -0
- package/{types → dist/angular-formio/types}/formio-metadata.d.ts.map +0 -0
- package/{types → dist/angular-formio/types}/formio-submission.d.ts +0 -0
- package/{types → dist/angular-formio/types}/formio-submission.d.ts.map +0 -0
- package/package.json +52 -28
- package/projects/angular-formio/README.md +24 -0
- package/projects/angular-formio/auth/package.json +10 -0
- package/projects/angular-formio/auth/src/auth.component.html +12 -0
- package/projects/angular-formio/auth/src/auth.component.ts +5 -0
- package/projects/angular-formio/auth/src/auth.config.ts +72 -0
- package/projects/angular-formio/auth/src/auth.module.ts +33 -0
- package/projects/angular-formio/auth/src/auth.routes.ts +34 -0
- package/projects/angular-formio/auth/src/auth.service.ts +201 -0
- package/projects/angular-formio/auth/src/index.ts +8 -0
- package/projects/angular-formio/auth/src/login/login.component.html +1 -0
- package/projects/angular-formio/auth/src/login/login.component.ts +8 -0
- package/projects/angular-formio/auth/src/public_api.ts +5 -0
- package/projects/angular-formio/auth/src/register/register.component.html +1 -0
- package/projects/angular-formio/auth/src/register/register.component.ts +8 -0
- package/projects/angular-formio/auth/src/resetpass/resetpass.component.html +1 -0
- package/projects/angular-formio/auth/src/resetpass/resetpass.component.ts +8 -0
- package/projects/angular-formio/grid/package.json +11 -0
- package/projects/angular-formio/grid/src/GridBodyComponent.ts +80 -0
- package/projects/angular-formio/grid/src/GridFooterComponent.ts +25 -0
- package/projects/angular-formio/grid/src/GridHeaderComponent.ts +25 -0
- package/projects/angular-formio/grid/src/form/FormGridBody.component.html +23 -0
- package/projects/angular-formio/grid/src/form/FormGridBody.component.scss +4 -0
- package/projects/angular-formio/grid/src/form/FormGridBody.component.ts +15 -0
- package/projects/angular-formio/grid/src/form/FormGridFooter.component.html +21 -0
- package/projects/angular-formio/grid/src/form/FormGridFooter.component.ts +23 -0
- package/projects/angular-formio/grid/src/form/FormGridHeader.component.html +18 -0
- package/projects/angular-formio/grid/src/form/FormGridHeader.component.ts +24 -0
- package/projects/angular-formio/grid/src/form/index.ts +8 -0
- package/projects/angular-formio/grid/src/form/time-since.pipe.ts +31 -0
- package/projects/angular-formio/grid/src/grid.component.html +18 -0
- package/projects/angular-formio/grid/src/grid.component.scss +9 -0
- package/projects/angular-formio/grid/src/grid.component.ts +242 -0
- package/projects/angular-formio/grid/src/grid.footer.scss +14 -0
- package/projects/angular-formio/grid/src/grid.module.ts +57 -0
- package/projects/angular-formio/grid/src/grid.service.ts +16 -0
- package/projects/angular-formio/grid/src/index.ts +12 -0
- package/projects/angular-formio/grid/src/public_api.ts +5 -0
- package/projects/angular-formio/grid/src/submission/SubmissionGridBody.component.html +7 -0
- package/projects/angular-formio/grid/src/submission/SubmissionGridBody.component.ts +39 -0
- package/projects/angular-formio/grid/src/submission/SubmissionGridFooter.component.html +18 -0
- package/projects/angular-formio/grid/src/submission/SubmissionGridFooter.component.ts +20 -0
- package/projects/angular-formio/grid/src/submission/SubmissionGridHeader.component.html +11 -0
- package/projects/angular-formio/grid/src/submission/SubmissionGridHeader.component.ts +72 -0
- package/projects/angular-formio/grid/src/submission/index.ts +8 -0
- package/projects/angular-formio/grid/src/types/grid-column.ts +7 -0
- package/projects/angular-formio/grid/src/types/grid-footer-positions.ts +5 -0
- package/projects/angular-formio/grid/src/types/grid-header.ts +14 -0
- package/projects/angular-formio/karma.conf.js +32 -0
- package/projects/angular-formio/manager/package.json +15 -0
- package/projects/angular-formio/manager/src/create/create.component.ts +11 -0
- package/projects/angular-formio/manager/src/delete/delete.component.html +6 -0
- package/projects/angular-formio/manager/src/delete/delete.component.ts +37 -0
- package/projects/angular-formio/manager/src/edit/edit.component.html +19 -0
- package/projects/angular-formio/manager/src/edit/edit.component.ts +107 -0
- package/projects/angular-formio/manager/src/form/form.component.html +32 -0
- package/projects/angular-formio/manager/src/form/form.component.ts +73 -0
- package/projects/angular-formio/manager/src/form-manager.config.ts +26 -0
- package/projects/angular-formio/manager/src/form-manager.module.ts +54 -0
- package/projects/angular-formio/manager/src/form-manager.routes.ts +75 -0
- package/projects/angular-formio/manager/src/form-manager.service.ts +195 -0
- package/projects/angular-formio/manager/src/index/index.component.html +14 -0
- package/projects/angular-formio/manager/src/index/index.component.scss +22 -0
- package/projects/angular-formio/manager/src/index/index.component.ts +84 -0
- package/projects/angular-formio/manager/src/index.ts +16 -0
- package/projects/angular-formio/manager/src/public_api.ts +5 -0
- package/projects/angular-formio/manager/src/submission/delete/delete.component.html +6 -0
- package/projects/angular-formio/manager/src/submission/delete/delete.component.ts +26 -0
- package/projects/angular-formio/manager/src/submission/edit/edit.component.html +7 -0
- package/projects/angular-formio/manager/src/submission/edit/edit.component.ts +18 -0
- package/projects/angular-formio/manager/src/submission/index/index.component.html +1 -0
- package/projects/angular-formio/manager/src/submission/index/index.component.ts +18 -0
- package/projects/angular-formio/manager/src/submission/submission/submission.component.html +8 -0
- package/projects/angular-formio/manager/src/submission/submission/submission.component.ts +24 -0
- package/projects/angular-formio/manager/src/submission/view/view.component.html +7 -0
- package/projects/angular-formio/manager/src/submission/view/view.component.ts +9 -0
- package/projects/angular-formio/manager/src/view/view.component.html +10 -0
- package/projects/angular-formio/manager/src/view/view.component.ts +41 -0
- package/projects/angular-formio/ng-package.json +14 -0
- package/projects/angular-formio/package.json +39 -0
- package/projects/angular-formio/resource/package.json +11 -0
- package/projects/angular-formio/resource/src/create/create.component.html +13 -0
- package/projects/angular-formio/resource/src/create/create.component.scss +3 -0
- package/projects/angular-formio/resource/src/create/create.component.ts +37 -0
- package/projects/angular-formio/resource/src/delete/delete.component.html +5 -0
- package/projects/angular-formio/resource/src/delete/delete.component.ts +24 -0
- package/projects/angular-formio/resource/src/edit/edit.component.html +6 -0
- package/projects/angular-formio/resource/src/edit/edit.component.ts +33 -0
- package/projects/angular-formio/resource/src/index/index.component.html +10 -0
- package/projects/angular-formio/resource/src/index/index.component.ts +66 -0
- package/projects/angular-formio/resource/src/index.js +24 -0
- package/projects/angular-formio/resource/src/index.ts +11 -0
- package/projects/angular-formio/resource/src/public_api.ts +5 -0
- package/projects/angular-formio/resource/src/resource.component.html +7 -0
- package/projects/angular-formio/resource/src/resource.component.ts +48 -0
- package/projects/angular-formio/resource/src/resource.config.ts +17 -0
- package/projects/angular-formio/resource/src/resource.module.ts +43 -0
- package/projects/angular-formio/resource/src/resource.routes.ts +43 -0
- package/projects/angular-formio/resource/src/resource.service.ts +232 -0
- package/projects/angular-formio/resource/src/resources.service.ts +24 -0
- package/projects/angular-formio/resource/src/view/view.component.html +6 -0
- package/projects/angular-formio/resource/src/view/view.component.ts +19 -0
- package/projects/angular-formio/src/FormioBaseComponent.ts +507 -0
- package/projects/angular-formio/src/components/alerts/formio.alerts.component.html +3 -0
- package/projects/angular-formio/src/components/alerts/formio.alerts.component.ts +19 -0
- package/projects/angular-formio/src/components/alerts/formio.alerts.ts +21 -0
- package/projects/angular-formio/src/components/alerts/parse-html-content.pipe.ts +15 -0
- package/projects/angular-formio/src/components/formbuilder/formbuilder.component.html +1 -0
- package/projects/angular-formio/src/components/formbuilder/formbuilder.component.ts +216 -0
- package/projects/angular-formio/src/components/formio/formio.component.html +8 -0
- package/projects/angular-formio/src/components/formio/formio.component.ts +33 -0
- package/projects/angular-formio/src/components/loader/formio.loader.component.html +3 -0
- package/projects/angular-formio/src/components/loader/formio.loader.component.scss +26 -0
- package/projects/angular-formio/src/components/loader/formio.loader.component.ts +10 -0
- package/projects/angular-formio/src/core.ts +21 -0
- package/projects/angular-formio/src/custom-component/create-custom-component.ts +173 -0
- package/projects/angular-formio/src/custom-component/custom-tags.service.ts +10 -0
- package/projects/angular-formio/src/custom-component/register-custom-component.ts +41 -0
- package/projects/angular-formio/src/elements.common.ts +31 -0
- package/projects/angular-formio/src/formio-promise.service.ts +36 -0
- package/projects/angular-formio/src/formio.common.ts +81 -0
- package/projects/angular-formio/src/formio.config.ts +9 -0
- package/projects/angular-formio/src/formio.module.ts +39 -0
- package/projects/angular-formio/src/formio.service.ts +57 -0
- package/projects/angular-formio/src/formio.utils.ts +23 -0
- package/projects/angular-formio/src/index.ts +5 -0
- package/projects/angular-formio/src/public-api.ts +5 -0
- package/projects/angular-formio/src/test.ts +26 -0
- package/projects/angular-formio/src/types/alerts-position.ts +6 -0
- package/projects/angular-formio/src/types/formio-metadata.ts +10 -0
- package/projects/angular-formio/src/types/formio-submission.ts +20 -0
- package/projects/angular-formio/tsconfig.lib.json +27 -0
- package/projects/angular-formio/tsconfig.lib.prod.json +8 -0
- package/projects/angular-formio/tsconfig.spec.json +17 -0
- package/projects/angular-formio/tslint.json +17 -0
- package/tsconfig.json +28 -0
- package/tslint.json +140 -0
- package/FormioBaseComponent.d.ts.map +0 -1
- package/FormioBaseComponent.ngfactory.d.ts.map +0 -1
- package/auth/auth.component.d.ts +0 -3
- package/auth/auth.config.d.ts.map +0 -1
- package/auth/auth.module.d.ts +0 -6
- package/auth/auth.module.d.ts.map +0 -1
- package/auth/auth.service.d.ts.map +0 -1
- package/auth/formio-angular-auth.d.ts +0 -5
- package/auth/formio-angular-auth.metadata.json +0 -1
- package/auth/login/login.component.d.ts +0 -6
- package/auth/register/register.component.d.ts +0 -6
- package/auth/resetpass/resetpass.component.d.ts +0 -6
- package/bundles/formio-angular-auth.umd.js +0 -312
- package/bundles/formio-angular-auth.umd.js.map +0 -1
- package/bundles/formio-angular-grid.umd.js +0 -1004
- package/bundles/formio-angular-grid.umd.js.map +0 -1
- package/bundles/formio-angular-manager.umd.js +0 -1116
- package/bundles/formio-angular-manager.umd.js.map +0 -1
- package/bundles/formio-angular-resource.umd.js +0 -548
- package/bundles/formio-angular-resource.umd.js.map +0 -1
- package/bundles/formio-angular.umd.js +0 -1499
- package/bundles/formio-angular.umd.js.map +0 -1
- package/components/alerts/formio.alerts.component.d.ts +0 -9
- package/components/alerts/formio.alerts.component.ngfactory.d.ts.map +0 -1
- package/components/alerts/parse-html-content.pipe.d.ts +0 -5
- package/components/alerts/parse-html-content.pipe.ngfactory.d.ts.map +0 -1
- package/components/formbuilder/formbuilder.component.d.ts.map +0 -1
- package/components/formbuilder/formbuilder.component.ngfactory.d.ts.map +0 -1
- package/components/formio/formio.component.ngfactory.d.ts.map +0 -1
- package/components/loader/formio.loader.component.d.ts +0 -4
- package/components/loader/formio.loader.component.d.ts.map +0 -1
- package/components/loader/formio.loader.component.ngfactory.d.ts.map +0 -1
- package/components/loader/formio.loader.component.scss.shim.ngstyle.d.ts.map +0 -1
- package/custom-component/custom-tags.service.d.ts +0 -5
- package/custom-component/custom-tags.service.d.ts.map +0 -1
- package/custom-component/custom-tags.service.ngfactory.d.ts.map +0 -1
- package/esm2015/FormioBaseComponent.js +0 -456
- package/esm2015/auth/auth.component.js +0 -9
- package/esm2015/auth/auth.config.js +0 -12
- package/esm2015/auth/auth.module.js +0 -34
- package/esm2015/auth/auth.service.js +0 -160
- package/esm2015/auth/login/login.component.js +0 -16
- package/esm2015/auth/register/register.component.js +0 -16
- package/esm2015/auth/resetpass/resetpass.component.js +0 -16
- package/esm2015/components/alerts/formio.alerts.component.js +0 -26
- package/esm2015/components/alerts/parse-html-content.pipe.js +0 -15
- package/esm2015/components/formbuilder/formbuilder.component.js +0 -185
- package/esm2015/components/formio/formio.component.js +0 -39
- package/esm2015/components/loader/formio.loader.component.js +0 -14
- package/esm2015/custom-component/custom-tags.service.js +0 -13
- package/esm2015/formio-angular.js +0 -7
- package/esm2015/formio.config.js +0 -11
- package/esm2015/formio.module.js +0 -42
- package/esm2015/grid/GridBodyComponent.js +0 -76
- package/esm2015/grid/GridFooterComponent.js +0 -26
- package/esm2015/grid/GridHeaderComponent.js +0 -25
- package/esm2015/grid/form/FormGridBody.component.js +0 -16
- package/esm2015/grid/form/FormGridFooter.component.js +0 -24
- package/esm2015/grid/form/FormGridHeader.component.js +0 -24
- package/esm2015/grid/form/time-since.pipe.js +0 -33
- package/esm2015/grid/formio-angular-grid.js +0 -6
- package/esm2015/grid/grid.component.js +0 -211
- package/esm2015/grid/grid.module.js +0 -61
- package/esm2015/grid/grid.service.js +0 -16
- package/esm2015/grid/submission/SubmissionGridBody.component.js +0 -40
- package/esm2015/grid/submission/SubmissionGridFooter.component.js +0 -21
- package/esm2015/grid/submission/SubmissionGridHeader.component.js +0 -58
- package/esm2015/manager/create/create.component.js +0 -13
- package/esm2015/manager/delete/delete.component.js +0 -42
- package/esm2015/manager/edit/edit.component.js +0 -109
- package/esm2015/manager/form/form.component.js +0 -73
- package/esm2015/manager/form-manager.config.js +0 -12
- package/esm2015/manager/form-manager.module.js +0 -56
- package/esm2015/manager/form-manager.service.js +0 -180
- package/esm2015/manager/index/index.component.js +0 -86
- package/esm2015/manager/submission/delete/delete.component.js +0 -32
- package/esm2015/manager/submission/edit/edit.component.js +0 -24
- package/esm2015/manager/submission/index/index.component.js +0 -24
- package/esm2015/manager/submission/submission/submission.component.js +0 -27
- package/esm2015/manager/submission/view/view.component.js +0 -16
- package/esm2015/manager/view/view.component.js +0 -45
- package/esm2015/resource/create/create.component.js +0 -40
- package/esm2015/resource/delete/delete.component.js +0 -29
- package/esm2015/resource/edit/edit.component.js +0 -34
- package/esm2015/resource/index/index.component.js +0 -65
- package/esm2015/resource/resource.component.js +0 -48
- package/esm2015/resource/resource.config.js +0 -12
- package/esm2015/resource/resource.module.js +0 -44
- package/esm2015/resource/resource.service.js +0 -187
- package/esm2015/resource/resources.service.js +0 -22
- package/esm2015/resource/view/view.component.js +0 -19
- package/fesm2015/formio-angular-auth.js.map +0 -1
- package/fesm2015/formio-angular-grid.js +0 -624
- package/fesm2015/formio-angular-grid.js.map +0 -1
- package/fesm2015/formio-angular-manager.js +0 -750
- package/fesm2015/formio-angular-manager.js.map +0 -1
- package/fesm2015/formio-angular-resource.js +0 -507
- package/fesm2015/formio-angular-resource.js.map +0 -1
- package/fesm2015/formio-angular.js +0 -1073
- package/fesm2015/formio-angular.js.map +0 -1
- package/formio-angular.d.ts +0 -7
- package/formio-angular.d.ts.map +0 -1
- package/formio-angular.metadata.json +0 -1
- package/formio.config.d.ts +0 -7
- package/formio.config.d.ts.map +0 -1
- package/formio.config.ngfactory.d.ts.map +0 -1
- package/formio.module.d.ts +0 -3
- package/formio.module.ngfactory.d.ts.map +0 -1
- package/grid/GridBodyComponent.d.ts.map +0 -1
- package/grid/GridBodyComponent.ngfactory.d.ts.map +0 -1
- package/grid/GridFooterComponent.d.ts.map +0 -1
- package/grid/GridFooterComponent.ngfactory.d.ts.map +0 -1
- package/grid/GridHeaderComponent.d.ts.map +0 -1
- package/grid/GridHeaderComponent.ngfactory.d.ts.map +0 -1
- package/grid/form/FormGridBody.component.d.ts +0 -6
- package/grid/form/FormGridBody.component.ngfactory.d.ts.map +0 -1
- package/grid/form/FormGridBody.component.scss.shim.ngstyle.d.ts.map +0 -1
- package/grid/form/FormGridFooter.component.d.ts +0 -7
- package/grid/form/FormGridFooter.component.ngfactory.d.ts.map +0 -1
- package/grid/form/FormGridHeader.component.ngfactory.d.ts.map +0 -1
- package/grid/form/time-since.pipe.d.ts +0 -5
- package/grid/form/time-since.pipe.ngfactory.d.ts.map +0 -1
- package/grid/formio-angular-grid.d.ts +0 -6
- package/grid/formio-angular-grid.metadata.json +0 -1
- package/grid/grid.component.d.ts.map +0 -1
- package/grid/grid.component.ngfactory.d.ts.map +0 -1
- package/grid/grid.component.scss.shim.ngstyle.d.ts.map +0 -1
- package/grid/grid.footer.scss.ngstyle.d.ts.map +0 -1
- package/grid/grid.module.d.ts +0 -3
- package/grid/grid.module.ngfactory.d.ts.map +0 -1
- package/grid/grid.service.d.ts +0 -7
- package/grid/grid.service.d.ts.map +0 -1
- package/grid/grid.service.ngfactory.d.ts.map +0 -1
- package/grid/submission/SubmissionGridBody.component.ngfactory.d.ts.map +0 -1
- package/grid/submission/SubmissionGridFooter.component.d.ts +0 -7
- package/grid/submission/SubmissionGridFooter.component.ngfactory.d.ts.map +0 -1
- package/grid/submission/SubmissionGridHeader.component.d.ts.map +0 -1
- package/grid/submission/SubmissionGridHeader.component.ngfactory.d.ts.map +0 -1
- package/manager/create/create.component.d.ts +0 -6
- package/manager/delete/delete.component.d.ts.map +0 -1
- package/manager/edit/edit.component.d.ts.map +0 -1
- package/manager/form/form.component.d.ts.map +0 -1
- package/manager/form-manager.config.d.ts.map +0 -1
- package/manager/form-manager.module.d.ts +0 -6
- package/manager/form-manager.module.d.ts.map +0 -1
- package/manager/form-manager.service.d.ts.map +0 -1
- package/manager/formio-angular-manager.d.ts +0 -5
- package/manager/formio-angular-manager.metadata.json +0 -1
- package/manager/index/index.component.d.ts.map +0 -1
- package/manager/submission/view/view.component.d.ts +0 -6
- package/manager/view/view.component.d.ts.map +0 -1
- package/resource/create/create.component.d.ts.map +0 -1
- package/resource/edit/edit.component.d.ts.map +0 -1
- package/resource/formio-angular-resource.d.ts +0 -5
- package/resource/formio-angular-resource.metadata.json +0 -1
- package/resource/index/index.component.d.ts.map +0 -1
- package/resource/resource.config.d.ts.map +0 -1
- package/resource/resource.module.d.ts +0 -6
- package/resource/resource.module.d.ts.map +0 -1
- package/resource/resource.service.d.ts.map +0 -1
- package/resource/resources.service.d.ts.map +0 -1
- package/resource/view/view.component.d.ts +0 -8
- package/resource/view/view.component.d.ts.map +0 -1
package/Dockerfile
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
FROM node:8
|
|
2
|
+
|
|
3
|
+
RUN node --version
|
|
4
|
+
RUN npm --version
|
|
5
|
+
RUN apt-get update && apt-get install -y build-essential && apt-get -y install sudo
|
|
6
|
+
RUN sudo apt-get -y update && sudo apt-get -y install pdftk && sudo apt-get -y install imagemagick ghostscript poppler-utils && sudo apt-get -y install -y default-jdk
|
|
7
|
+
|
|
8
|
+
# Create app directory
|
|
9
|
+
RUN mkdir -p /usr/src/app
|
|
10
|
+
WORKDIR /usr/src/app
|
|
11
|
+
|
|
12
|
+
# Install app dependencies
|
|
13
|
+
COPY package.json /usr/src/app/
|
|
14
|
+
RUN npm install
|
|
15
|
+
|
|
16
|
+
# Bundle app source
|
|
17
|
+
COPY . /usr/src/app
|
|
18
|
+
|
|
19
|
+
EXPOSE 8000
|
|
20
|
+
CMD [ "npm", "run", "demo" ]
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2017 Form.io
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,24 +1,181 @@
|
|
|
1
|
-
|
|
1
|
+
Form.io Angular JSON Form Renderer
|
|
2
|
+
==========================
|
|
3
|
+
This library serves as a Dynamic JSON Powered Form rendering library for [Angular](https://angular.io). This works by
|
|
4
|
+
providing a JSON schema to a ```<formio>``` Angular component, where that form is dynamically rendered within the front
|
|
5
|
+
end application. This allows forms to be dynamically built using JSON schemas.
|
|
2
6
|
|
|
3
|
-
|
|
7
|
+
Angular Material
|
|
8
|
+
--------------------------
|
|
9
|
+
If you are looking for [Angular Material](https://material.angular.io/) support, then this is within a separate library @ https://github.com/formio/angular-material-formio
|
|
4
10
|
|
|
5
|
-
|
|
11
|
+
Running Demo
|
|
12
|
+
--------------------------
|
|
13
|
+
To run a demo of the Form.io Angular renderer, please follow these steps.
|
|
14
|
+
|
|
15
|
+
1. Make sure you have the [Angular CLI](https://angular.io) installed on your machine.
|
|
16
|
+
2. Download the [Angular Demo Application](https://github.com/formio/angular-demo) to your computer.
|
|
17
|
+
3. With your terminal, type ```npm install```
|
|
18
|
+
4. Now type ```ng serve```
|
|
19
|
+
|
|
20
|
+
This will startup an example application where you can see all the features provided by this module.
|
|
6
21
|
|
|
7
|
-
|
|
8
|
-
> Note: Don't forget to add `--project angular-formio` or else it will be added to the default project in your `angular.json` file.
|
|
22
|
+
Here is the hosted demo application [https://formio.github.io/angular-demo/](https://formio.github.io/angular-demo)
|
|
9
23
|
|
|
10
|
-
|
|
24
|
+
Using within your application
|
|
25
|
+
---------------------------
|
|
26
|
+
You can easily render a form within your Angular 4 application by referencing the URL of that form as follows.
|
|
11
27
|
|
|
12
|
-
|
|
28
|
+
```html
|
|
29
|
+
<formio src='https://examples.form.io/example'></formio>
|
|
30
|
+
```
|
|
13
31
|
|
|
14
|
-
|
|
32
|
+
You can also pass the JSON form directly to the renderer as follows.
|
|
15
33
|
|
|
16
|
-
|
|
34
|
+
```html
|
|
35
|
+
<formio [form]='{
|
|
36
|
+
"title": "My Test Form",
|
|
37
|
+
"components": [
|
|
38
|
+
{
|
|
39
|
+
"type": "textfield",
|
|
40
|
+
"input": true,
|
|
41
|
+
"tableView": true,
|
|
42
|
+
"inputType": "text",
|
|
43
|
+
"inputMask": "",
|
|
44
|
+
"label": "First Name",
|
|
45
|
+
"key": "firstName",
|
|
46
|
+
"placeholder": "Enter your first name",
|
|
47
|
+
"prefix": "",
|
|
48
|
+
"suffix": "",
|
|
49
|
+
"multiple": false,
|
|
50
|
+
"defaultValue": "",
|
|
51
|
+
"protected": false,
|
|
52
|
+
"unique": false,
|
|
53
|
+
"persistent": true,
|
|
54
|
+
"validate": {
|
|
55
|
+
"required": true,
|
|
56
|
+
"minLength": 2,
|
|
57
|
+
"maxLength": 10,
|
|
58
|
+
"pattern": "",
|
|
59
|
+
"custom": "",
|
|
60
|
+
"customPrivate": false
|
|
61
|
+
},
|
|
62
|
+
"conditional": {
|
|
63
|
+
"show": "",
|
|
64
|
+
"when": null,
|
|
65
|
+
"eq": ""
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"type": "textfield",
|
|
70
|
+
"input": true,
|
|
71
|
+
"tableView": true,
|
|
72
|
+
"inputType": "text",
|
|
73
|
+
"inputMask": "",
|
|
74
|
+
"label": "Last Name",
|
|
75
|
+
"key": "lastName",
|
|
76
|
+
"placeholder": "Enter your last name",
|
|
77
|
+
"prefix": "",
|
|
78
|
+
"suffix": "",
|
|
79
|
+
"multiple": false,
|
|
80
|
+
"defaultValue": "",
|
|
81
|
+
"protected": false,
|
|
82
|
+
"unique": false,
|
|
83
|
+
"persistent": true,
|
|
84
|
+
"validate": {
|
|
85
|
+
"required": true,
|
|
86
|
+
"minLength": 2,
|
|
87
|
+
"maxLength": 10,
|
|
88
|
+
"pattern": "",
|
|
89
|
+
"custom": "",
|
|
90
|
+
"customPrivate": false
|
|
91
|
+
},
|
|
92
|
+
"conditional": {
|
|
93
|
+
"show": "",
|
|
94
|
+
"when": null,
|
|
95
|
+
"eq": ""
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"input": true,
|
|
100
|
+
"label": "Submit",
|
|
101
|
+
"tableView": false,
|
|
102
|
+
"key": "submit",
|
|
103
|
+
"size": "md",
|
|
104
|
+
"leftIcon": "",
|
|
105
|
+
"rightIcon": "",
|
|
106
|
+
"block": false,
|
|
107
|
+
"action": "submit",
|
|
108
|
+
"disableOnInvalid": true,
|
|
109
|
+
"theme": "primary",
|
|
110
|
+
"type": "button"
|
|
111
|
+
}
|
|
112
|
+
]
|
|
113
|
+
}'></formio>
|
|
114
|
+
```
|
|
17
115
|
|
|
18
|
-
|
|
116
|
+
This is a very simple example. This library is capable of building very complex forms which include e-signatures, columns,
|
|
117
|
+
panels, field conditionals, validation requirements, and the list goes on and on.
|
|
19
118
|
|
|
20
|
-
|
|
119
|
+
Usage
|
|
120
|
+
----------------
|
|
121
|
+
To use this library within your project, you will first need to install it as a dependency.
|
|
21
122
|
|
|
22
|
-
|
|
123
|
+
```
|
|
124
|
+
npm install --save @formio/angular formiojs
|
|
125
|
+
```
|
|
23
126
|
|
|
24
|
-
|
|
127
|
+
You can now include the module in your Angular application like so.
|
|
128
|
+
|
|
129
|
+
```js
|
|
130
|
+
import { FormioModule } from '@formio/angular';
|
|
131
|
+
@NgModule({
|
|
132
|
+
imports: [ BrowserModule, CommonModule, FormioModule ],
|
|
133
|
+
declarations: [ AppComponent ],
|
|
134
|
+
bootstrap: [ AppComponent ]
|
|
135
|
+
})
|
|
136
|
+
export class AppModule { }
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
Included Libraries
|
|
140
|
+
-----------------
|
|
141
|
+
This library is a combination of multiple libraries that enable rapid Serverless application development using Form.io. These libraries are as follows.
|
|
142
|
+
|
|
143
|
+
1. [Form Renderer](https://github.com/formio/angular-formio/wiki/Form-Renderer) - The form renderer in Angular
|
|
144
|
+
2. [Form Builder](https://github.com/formio/angular-formio/wiki/Form-Builder) - The form builder in Angular
|
|
145
|
+
3. [Form Manager](https://github.com/formio/angular-formio/wiki/Form-Mananger) - The form management application used to manage forms.
|
|
146
|
+
4. [Authentication](https://github.com/formio/angular-formio/wiki/User-Authentication) - Allows an easy way to provide Form.io authentication into your application.
|
|
147
|
+
5. [Resource](https://github.com/formio/angular-formio/wiki/Resource-Management) - A way to include the Resources within your application with full CRUDI support (Create, Read, Update, Delete, Index)
|
|
148
|
+
6. [Data Table (Grid)](https://github.com/formio/angular-formio/wiki/Data-Table) - A way to render data within a Table format, which includes pagination, sorting, etc.
|
|
149
|
+
|
|
150
|
+
Click on each of those links to read more about how they work and how to utilize them to their fullest potential.
|
|
151
|
+
|
|
152
|
+
Demo Application
|
|
153
|
+
----------
|
|
154
|
+
If you would like to run a demonstration of all the features of this module, then you can check out the [Angular Demo Application](https://github.com/formio/angular-demo), which is the code behind the following hosted application @ [https://formio.github.io/angular-demo](https://formio.github.io/angular-demo)
|
|
155
|
+
|
|
156
|
+
Application Starter Kit
|
|
157
|
+
----------
|
|
158
|
+
For help in getting started using this library, we created the [angular-app-starterkit](https://github.com/formio/angular-app-starterkit) repository to help you get started with best practices with using Form.io within an Angular application. You can try this applicatoin by downloading that application and then doing the following.
|
|
159
|
+
|
|
160
|
+
```
|
|
161
|
+
npm install
|
|
162
|
+
npm start
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
Full Documentation
|
|
166
|
+
------------------
|
|
167
|
+
To read up on the full documentation of this library, please check out the [Wiki Page](https://github.com/formio/angular-formio/wiki)
|
|
168
|
+
|
|
169
|
+
About Form.io
|
|
170
|
+
-----------------
|
|
171
|
+
<a href="https://form.io" target="_blank">Form.io</a> is a combined form and data management API platform created for developers who are building "Serverless" form-based applications. Form.io provides an easy drag-and-drop form builder workflow allowing you to build complex forms for enterprise applications quickly and easily. These forms are then embedded directly into your application with a single line of code that dynamically renders the form (using Angular or React) in your app while at the very same time generating the RESTful API to support those forms. The Form.io platform also offers numerous 3rd-party services that are fully integrated into the form building process allowing you to extend the power and capability of your apps while saving time and effort.
|
|
172
|
+
|
|
173
|
+
You can use this renderer with Form.io by simply pointing the ```src``` parameter to the URL of the form. For example, the following URL points to the JSON schema of a form built on Form.io.
|
|
174
|
+
|
|
175
|
+
https://pjmfogrfqptslvi.form.io/test
|
|
176
|
+
|
|
177
|
+
To render this form, you simply provide that URL to the ```<formio>``` directive like so.
|
|
178
|
+
|
|
179
|
+
```<formio src="https://pjmfogrfqptslvi.form.io/test"></formio>```
|
|
180
|
+
|
|
181
|
+
Not only will this render the form, but it will also submit that form to the provided API endpoint.
|
package/angular.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
3
|
+
"version": 1,
|
|
4
|
+
"newProjectRoot": "projects",
|
|
5
|
+
"projects": {
|
|
6
|
+
"angular-formio": {
|
|
7
|
+
"projectType": "library",
|
|
8
|
+
"root": "projects/angular-formio",
|
|
9
|
+
"sourceRoot": "projects/angular-formio/src",
|
|
10
|
+
"prefix": "lib",
|
|
11
|
+
"architect": {
|
|
12
|
+
"build": {
|
|
13
|
+
"builder": "@angular-devkit/build-angular:ng-packagr",
|
|
14
|
+
"options": {
|
|
15
|
+
"tsConfig": "projects/angular-formio/tsconfig.lib.json",
|
|
16
|
+
"project": "projects/angular-formio/ng-package.json"
|
|
17
|
+
},
|
|
18
|
+
"configurations": {
|
|
19
|
+
"production": {
|
|
20
|
+
"tsConfig": "projects/angular-formio/tsconfig.lib.prod.json"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"test": {
|
|
25
|
+
"builder": "@angular-devkit/build-angular:karma",
|
|
26
|
+
"options": {
|
|
27
|
+
"main": "projects/angular-formio/src/test.ts",
|
|
28
|
+
"tsConfig": "projects/angular-formio/tsconfig.spec.json",
|
|
29
|
+
"karmaConfig": "projects/angular-formio/karma.conf.js"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"lint": {
|
|
33
|
+
"builder": "@angular-devkit/build-angular:tslint",
|
|
34
|
+
"options": {
|
|
35
|
+
"tsConfig": [
|
|
36
|
+
"projects/angular-formio/tsconfig.lib.json",
|
|
37
|
+
"projects/angular-formio/tsconfig.spec.json"
|
|
38
|
+
],
|
|
39
|
+
"exclude": [
|
|
40
|
+
"**/node_modules/**"
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"defaultProject": "angular-formio",
|
|
48
|
+
"cli": {
|
|
49
|
+
"analytics": false
|
|
50
|
+
}
|
|
51
|
+
}
|
package/bs-config.json
ADDED
|
@@ -5,6 +5,7 @@ import { FormioAppConfig } from './formio.config';
|
|
|
5
5
|
import { FormioForm, FormioOptions, FormioRefreshValue } from './formio.common';
|
|
6
6
|
import { CustomTagsService } from './custom-component/custom-tags.service';
|
|
7
7
|
import { AlertsPosition } from './types/alerts-position';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class FormioBaseComponent implements OnInit, OnChanges, OnDestroy {
|
|
9
10
|
ngZone: NgZone;
|
|
10
11
|
config: FormioAppConfig;
|
|
@@ -15,7 +16,7 @@ export declare class FormioBaseComponent implements OnInit, OnChanges, OnDestroy
|
|
|
15
16
|
url?: string;
|
|
16
17
|
service?: FormioService;
|
|
17
18
|
options?: FormioOptions;
|
|
18
|
-
noeval?:
|
|
19
|
+
noeval?: any;
|
|
19
20
|
formioOptions?: any;
|
|
20
21
|
renderOptions?: any;
|
|
21
22
|
readOnly?: boolean;
|
|
@@ -71,5 +72,7 @@ export declare class FormioBaseComponent implements OnInit, OnChanges, OnDestroy
|
|
|
71
72
|
submitExecute(submission: object, saved?: boolean): void;
|
|
72
73
|
submitForm(submission: any, saved?: boolean): void;
|
|
73
74
|
onChange(value: any, flags: any, isModified: boolean): void;
|
|
75
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormioBaseComponent, [null, { optional: true; }, { optional: true; }]>;
|
|
76
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormioBaseComponent, "ng-component", never, { "form": "form"; "submission": "submission"; "src": "src"; "url": "url"; "service": "service"; "options": "options"; "noeval": "noeval"; "formioOptions": "formioOptions"; "renderOptions": "renderOptions"; "readOnly": "readOnly"; "viewOnly": "viewOnly"; "hideComponents": "hideComponents"; "refresh": "refresh"; "error": "error"; "success": "success"; "language": "language"; "hooks": "hooks"; "renderer": "renderer"; "watchSubmissionErrors": "watchSubmissionErrors"; }, { "render": "render"; "customEvent": "customEvent"; "fileUploadingStatus": "fileUploadingStatus"; "submit": "submit"; "prevPage": "prevPage"; "nextPage": "nextPage"; "beforeSubmit": "beforeSubmit"; "change": "change"; "invalid": "invalid"; "errorChange": "errorChange"; "formLoad": "formLoad"; "submissionLoad": "submissionLoad"; "ready": "ready"; }, never, never>;
|
|
74
77
|
}
|
|
75
78
|
//# sourceMappingURL=FormioBaseComponent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormioBaseComponent.d.ts","sourceRoot":"","sources":["../../projects/angular-formio/src/FormioBaseComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,YAAY,EAAS,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,EAA+B,MAAM,eAAe,CAAC;AAC9I,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAe,UAAU,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE7F,OAAO,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAG3E,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;;AAEzD,qBAGa,mBAAoB,YAAW,MAAM,EAAE,SAAS,EAAE,SAAS;IAiD7D,MAAM,EAAE,MAAM;IACF,MAAM,EAAE,eAAe;IACvB,UAAU,CAAC,EAAE,iBAAiB;IAlD1C,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,UAAU,CAAC,EAAE,GAAG,CAAM;IACtB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,MAAO,CAAC,MAAoB;IAC5B,aAAa,CAAC,EAAE,GAAG,CAAC;IACpB,aAAa,CAAC,EAAE,GAAG,CAAC;IACpB,QAAS,CAAC,UAAS;IACnB,QAAS,CAAC,UAAS;IACnB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,OAAO,CAAC,EAAE,YAAY,CAAC,kBAAkB,CAAC,CAAC;IAC3C,KAAK,CAAC,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC;IAC1B,OAAO,CAAC,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAC/B,QAAQ,CAAC,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAChC,KAAK,CAAC,EAAE,GAAG,CAAM;IACjB,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,qBAAsB,CAAC,UAAS;IAC/B,MAAM,uBAA8B;IACpC,WAAW,uBAA8B;IACzC,mBAAmB,uBAA8B;IACjD,MAAM,uBAA8B;IACpC,QAAQ,uBAA8B;IACtC,QAAQ,uBAA8B;IACtC,YAAY,uBAA8B;IAC1C,MAAM,uBAA8B;IACpC,OAAO,wBAA+B;IACtC,WAAW,oBAA2B;IACtC,QAAQ,oBAA2B;IACnC,cAAc,oBAA2B;IACzC,KAAK,oCAA2C;IACnB,aAAa,CAAC,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC;IAEhE,cAAc,wBAAkB;IAChC,MAAM,EAAE,GAAG,CAAC;IACZ,WAAW,UAAS;IACpB,MAAM,eAAsB;IAC5B,WAAW,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;IAEjC,OAAO,CAAC,kBAAkB,CAAM;IAChC,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,iBAAiB,CAAS;IAC3B,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;gBAGZ,MAAM,EAAE,MAAM,EACF,MAAM,EAAE,eAAe,EACvB,UAAU,CAAC,EAAE,iBAAiB;IAQnD,WAAW;IAIX,kBAAkB;IAgBlB,cAAc;IAUd,OAAO,CAAC,IAAI,EAAE,UAAU;IAqExB,UAAU;IA6BV,QAAQ;IAuER,WAAW;IAMX,SAAS,CAAC,OAAO,EAAE,kBAAkB;IAuBrC,WAAW,CAAC,OAAO,EAAE,GAAG;IA8BxB,UAAU,CAAC,IAAI,EAAE,GAAG;IAKpB,UAAU,CAAC,IAAI,EAAE,GAAG;IAKpB,QAAQ,CAAC,UAAU,EAAE,GAAG,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO;IAuB1D,OAAO,CAAC,GAAG,EAAE,GAAG;IAsFhB,eAAe,CAAC,GAAG,EAAE,GAAG;IAMxB,aAAa,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,UAAQ;IAa/C,UAAU,CAAC,UAAU,EAAE,GAAG,EAAE,KAAK,UAAQ;IA0BzC,QAAQ,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,OAAO;yCAjezC,mBAAmB;2CAAnB,mBAAmB;CA4e/B"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# AngularFormio
|
|
2
|
+
|
|
3
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 10.1.4.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Run `ng generate component component-name --project angular-formio` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project angular-formio`.
|
|
8
|
+
> Note: Don't forget to add `--project angular-formio` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
+
|
|
10
|
+
## Build
|
|
11
|
+
|
|
12
|
+
Run `ng build angular-formio` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
+
|
|
14
|
+
## Publishing
|
|
15
|
+
|
|
16
|
+
After building your library with `ng build angular-formio`, go to the dist folder `cd dist/angular-formio` and run `npm publish`.
|
|
17
|
+
|
|
18
|
+
## Running unit tests
|
|
19
|
+
|
|
20
|
+
Run `ng test angular-formio` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
+
|
|
22
|
+
## Further help
|
|
23
|
+
|
|
24
|
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class FormioAuthComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormioAuthComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormioAuthComponent, "ng-component", never, {}, {}, never, never>;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=auth.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.component.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/auth/src/auth.component.ts"],"names":[],"mappings":"AACA,qBAGa,mBAAmB;CAAG"}
|
|
1
|
+
{"version":3,"file":"auth.component.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/auth/src/auth.component.ts"],"names":[],"mappings":";AACA,qBAGa,mBAAmB;yCAAnB,mBAAmB;2CAAnB,mBAAmB;CAAG"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
export interface FormioAuthFormConfig {
|
|
2
3
|
path?: string;
|
|
3
4
|
form?: string;
|
|
@@ -16,6 +17,8 @@ export declare class FormioAuthConfig {
|
|
|
16
17
|
register?: FormioAuthFormConfig;
|
|
17
18
|
resetpass?: FormioAuthFormConfig;
|
|
18
19
|
oauth?: FormioOAuthConfig;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormioAuthConfig, never>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FormioAuthConfig>;
|
|
19
22
|
}
|
|
20
23
|
export interface FormioOAuthConfig {
|
|
21
24
|
type: FormioOauthType;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.config.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/auth/src/auth.config.ts"],"names":[],"mappings":";AAEA,MAAM,WAAW,oBAAoB;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,GAAG,CAAC;CACjB;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,SAAS,CAAC,EAAE,GAAG,CAAC;CACjB;AAED,qBACa,gBAAgB;IAC3B,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,KAAK,CAAC,EAAE,oBAAoB,CAAC;IAC7B,QAAQ,CAAC,EAAE,oBAAoB,CAAC;IAChC,SAAS,CAAC,EAAE,oBAAoB,CAAC;IACjC,KAAK,CAAC,EAAE,iBAAiB,CAAC;yCANf,gBAAgB;6CAAhB,gBAAgB;CAO5B;AAGD,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,eAAe,CAAC;IACtB,OAAO,EAAE,gBAAgB,GAAG,gBAAgB,CAAC;CAC9C;AAED,oBAAY,eAAe;IACzB,IAAI,SAAS;IACb,IAAI,SAAS;CACd;AAED,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IAClD,MAAM,CAAC,EAAE,GAAG,CAAC;CACd;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;CACf;AAGD,MAAM,WAAW,UAAU;IACzB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,sBAAsB,CAAC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,iBAAiB,CAAC,EAAE,QAAQ,CAAC;CAC9B;AAED,MAAM,WAAW,sBAAsB;IACrC,OAAO,CAAC,EAAE,MAAM,GAAG;QACjB,OAAO,CAAC,EAAE,QAAQ,CAAC;QACnB,OAAO,CAAC,EAAE,QAAQ,CAAC;KACpB,CAAC;IACF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FormioAuthRouteConfig } from './auth.config';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./auth.component";
|
|
4
|
+
import * as i2 from "./login/login.component";
|
|
5
|
+
import * as i3 from "./register/register.component";
|
|
6
|
+
import * as i4 from "./resetpass/resetpass.component";
|
|
7
|
+
import * as i5 from "@angular/common";
|
|
8
|
+
import * as i6 from "@formio/angular";
|
|
9
|
+
import * as i7 from "@angular/router";
|
|
10
|
+
export declare class FormioAuth {
|
|
11
|
+
static forRoot(config?: FormioAuthRouteConfig): any;
|
|
12
|
+
static forChild(config?: FormioAuthRouteConfig): any;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormioAuth, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormioAuth, [typeof i1.FormioAuthComponent, typeof i2.FormioAuthLoginComponent, typeof i3.FormioAuthRegisterComponent, typeof i4.FormioResetPassComponent], [typeof i5.CommonModule, typeof i6.FormioModule, typeof i7.RouterModule], never>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormioAuth>;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=auth.module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.module.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/auth/src/auth.module.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;;;;;;;;;AAItD,qBAaa,UAAU;IACrB,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,qBAAqB,GAAG,GAAG;IAGnD,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,qBAAqB,GAAG,GAAG;yCAJzC,UAAU;0CAAV,UAAU;0CAAV,UAAU;CAOtB"}
|
|
File without changes
|
|
File without changes
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { FormioAuthConfig } from './auth.config';
|
|
3
3
|
import { FormioAppConfig } from '@formio/angular';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class FormioAuthService {
|
|
5
6
|
appConfig: FormioAppConfig;
|
|
6
7
|
config: FormioAuthConfig;
|
|
@@ -34,5 +35,7 @@ export declare class FormioAuthService {
|
|
|
34
35
|
setUserRoles(): void;
|
|
35
36
|
logoutError(): void;
|
|
36
37
|
logout(): void;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormioAuthService, never>;
|
|
39
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FormioAuthService>;
|
|
37
40
|
}
|
|
38
41
|
//# sourceMappingURL=auth.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.service.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/auth/src/auth.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAsB,MAAM,eAAe,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;;AAIlD,qBACa,iBAAiB;IA6BnB,SAAS,EAAE,eAAe;IAC1B,MAAM,EAAE,gBAAgB;IA7B1B,IAAI,EAAE,GAAG,CAAC;IACV,aAAa,UAAS;IAEtB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAC9B,QAAQ,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAE/B,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IACjC,MAAM,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAC7B,OAAO,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC;IAE3B,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAElC,KAAK,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;IACxB,YAAY,EAAE,GAAG,CAAC;IAClB,WAAW,EAAE,GAAG,CAAC;IAEjB,YAAY,CAAC,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;IAC5B,WAAW,CAAC,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;IAC3B,SAAS,CAAC,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;IACzB,UAAU,EAAE,GAAG,CAAM;IACrB,gBAAgB,EAAE,GAAG,CAAM;IAC3B,KAAK,EAAE,GAAG,CAAC;IACX,EAAE,EAAE,GAAG,CAAM;gBAGX,SAAS,EAAE,eAAe,EAC1B,MAAM,EAAE,gBAAgB;IA2CjC,aAAa,CAAC,UAAU,EAAE,MAAM;IAKhC,gBAAgB,CAAC,UAAU,EAAE,MAAM;IAKnC,iBAAiB,CAAC,UAAU,EAAE,MAAM;IAIpC,IAAI;IA6DJ,OAAO,CAAC,IAAI,EAAE,GAAG;IAkBjB,YAAY;IAYZ,WAAW;IAOX,MAAM;yCAzLK,iBAAiB;6CAAjB,iBAAiB;CAiM7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formio-angular-auth.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/auth/src/formio-angular-auth.ts"],"names":[],"mappings":"AAAA;;GAEG
|
|
1
|
+
{"version":3,"file":"formio-angular-auth.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/auth/src/formio-angular-auth.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,cAAc,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FormioAuthService } from '../auth.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FormioAuthLoginComponent {
|
|
4
|
+
service: FormioAuthService;
|
|
5
|
+
constructor(service: FormioAuthService);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormioAuthLoginComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormioAuthLoginComponent, "ng-component", never, {}, {}, never, never>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=login.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login.component.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/auth/src/login/login.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC
|
|
1
|
+
{"version":3,"file":"login.component.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/auth/src/login/login.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;;AACpD,qBAGa,wBAAwB;IAChB,OAAO,EAAE,iBAAiB;gBAA1B,OAAO,EAAE,iBAAiB;yCADlC,wBAAwB;2CAAxB,wBAAwB;CAEpC"}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FormioAuthService } from '../auth.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FormioAuthRegisterComponent {
|
|
4
|
+
service: FormioAuthService;
|
|
5
|
+
constructor(service: FormioAuthService);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormioAuthRegisterComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormioAuthRegisterComponent, "ng-component", never, {}, {}, never, never>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=register.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register.component.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/auth/src/register/register.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC
|
|
1
|
+
{"version":3,"file":"register.component.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/auth/src/register/register.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;;AACpD,qBAGa,2BAA2B;IACnB,OAAO,EAAE,iBAAiB;gBAA1B,OAAO,EAAE,iBAAiB;yCADlC,2BAA2B;2CAA3B,2BAA2B;CAEvC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FormioAuthService } from '../auth.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FormioResetPassComponent {
|
|
4
|
+
service: FormioAuthService;
|
|
5
|
+
constructor(service: FormioAuthService);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormioResetPassComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormioResetPassComponent, "ng-component", never, {}, {}, never, never>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=resetpass.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resetpass.component.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/auth/src/resetpass/resetpass.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC
|
|
1
|
+
{"version":3,"file":"resetpass.component.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/auth/src/resetpass/resetpass.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;;AACpD,qBAGa,wBAAwB;IAChB,OAAO,EAAE,iBAAiB;gBAA1B,OAAO,EAAE,iBAAiB;yCADlC,wBAAwB;2CAAxB,wBAAwB;CAEpC"}
|