@formio/angular 7.0.0 → 7.5.0-dev.1060.b272e25
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/.github/pull_request_template.md +35 -0
- package/.github/workflows/ci.yml +171 -0
- package/.travis.yml +4 -0
- package/.yo-rc.json +7 -0
- package/CHANGELOG.md +1154 -0
- package/Dockerfile +20 -0
- package/LICENSE +21 -0
- package/README.md +204 -13
- package/angular.json +38 -0
- package/bs-config.json +11 -0
- package/{FormioBaseComponent.d.ts.map → dist/angular-formio/FormioBaseComponent.d.ts.map} +1 -1
- package/dist/angular-formio/README.md +24 -0
- package/{components → dist/angular-formio/components}/formbuilder/formbuilder.component.d.ts +1 -1
- package/{components → dist/angular-formio/components}/formbuilder/formbuilder.component.d.ts.map +1 -1
- package/{components → dist/angular-formio/components}/formioreport/formioreport.component.d.ts.map +1 -1
- package/{core.d.ts → dist/angular-formio/core.d.ts} +1 -1
- package/{core.d.ts.map → dist/angular-formio/core.d.ts.map} +1 -1
- package/dist/angular-formio/embed/app.service.d.ts +28 -0
- package/dist/angular-formio/embed/app.service.d.ts.map +1 -0
- package/dist/angular-formio/embed/builder.component.d.ts +14 -0
- package/dist/angular-formio/embed/builder.component.d.ts.map +1 -0
- package/dist/angular-formio/embed/embed.module.d.ts +10 -0
- package/dist/angular-formio/embed/embed.module.d.ts.map +1 -0
- package/dist/angular-formio/embed/formio-angular-embed.d.ts.map +1 -0
- package/dist/angular-formio/embed/formio.component.d.ts +17 -0
- package/dist/angular-formio/embed/formio.component.d.ts.map +1 -0
- package/dist/angular-formio/embed/index.d.ts +7 -0
- package/dist/angular-formio/embed/index.d.ts.map +1 -0
- package/dist/angular-formio/esm2022/FormioBaseComponent.mjs +580 -0
- package/{esm2022 → dist/angular-formio/esm2022}/auth/auth.service.mjs +2 -2
- package/dist/angular-formio/esm2022/components/formbuilder/formbuilder.component.mjs +202 -0
- package/dist/angular-formio/esm2022/components/formio/formio.component.mjs +43 -0
- package/dist/angular-formio/esm2022/components/formioreport/formioreport.component.mjs +89 -0
- package/{esm2022 → dist/angular-formio/esm2022}/core.mjs +2 -2
- package/dist/angular-formio/esm2022/embed/app.service.mjs +58 -0
- package/dist/angular-formio/esm2022/embed/builder.component.mjs +36 -0
- package/dist/angular-formio/esm2022/embed/embed.module.mjs +35 -0
- package/dist/angular-formio/esm2022/embed/formio-angular-embed.mjs +5 -0
- package/dist/angular-formio/esm2022/embed/formio.component.mjs +50 -0
- package/dist/angular-formio/esm2022/embed/index.mjs +7 -0
- package/dist/angular-formio/esm2022/formio.common.mjs +11 -0
- package/{esm2022 → dist/angular-formio/esm2022}/formio.config.mjs +2 -2
- package/dist/angular-formio/esm2022/formio.service.mjs +62 -0
- package/dist/angular-formio/esm2022/grid/grid.component.mjs +257 -0
- package/{esm2022 → dist/angular-formio/esm2022}/grid/submission/SubmissionGridHeader.component.mjs +2 -2
- package/{esm2022 → dist/angular-formio/esm2022}/manager/form-manager.service.mjs +2 -2
- package/{esm2022 → dist/angular-formio/esm2022}/manager/view/view.component.mjs +2 -2
- package/{esm2022 → dist/angular-formio/esm2022}/resource/edit/edit.component.mjs +2 -2
- package/{esm2022 → dist/angular-formio/esm2022}/resource/resource.service.mjs +2 -2
- package/{esm2022 → dist/angular-formio/esm2022}/resource/view/view.component.mjs +2 -2
- package/{fesm2022 → dist/angular-formio/fesm2022}/formio-angular-auth.mjs +1 -1
- package/dist/angular-formio/fesm2022/formio-angular-auth.mjs.map +1 -0
- package/dist/angular-formio/fesm2022/formio-angular-embed.mjs +176 -0
- package/dist/angular-formio/fesm2022/formio-angular-embed.mjs.map +1 -0
- package/{fesm2022 → dist/angular-formio/fesm2022}/formio-angular-grid.mjs +2 -1
- package/dist/angular-formio/fesm2022/formio-angular-grid.mjs.map +1 -0
- package/{fesm2022 → dist/angular-formio/fesm2022}/formio-angular-manager.mjs +1 -1
- package/dist/angular-formio/fesm2022/formio-angular-manager.mjs.map +1 -0
- package/{fesm2022 → dist/angular-formio/fesm2022}/formio-angular-resource.mjs +1 -1
- package/dist/angular-formio/fesm2022/formio-angular-resource.mjs.map +1 -0
- package/dist/angular-formio/fesm2022/formio-angular.mjs +1187 -0
- package/dist/angular-formio/fesm2022/formio-angular.mjs.map +1 -0
- package/{formio.common.d.ts → dist/angular-formio/formio.common.d.ts} +2 -2
- package/dist/angular-formio/formio.common.d.ts.map +1 -0
- package/{formio.config.d.ts → dist/angular-formio/formio.config.d.ts} +1 -1
- package/{formio.config.d.ts.map → dist/angular-formio/formio.config.d.ts.map} +1 -1
- package/{grid → dist/angular-formio/grid}/submission/SubmissionGridHeader.component.d.ts +1 -1
- package/{grid → dist/angular-formio/grid}/submission/SubmissionGridHeader.component.d.ts.map +1 -1
- package/{manager → dist/angular-formio/manager}/form-manager.service.d.ts +1 -1
- package/{manager → dist/angular-formio/manager}/form-manager.service.d.ts.map +1 -1
- package/package.json +54 -57
- package/projects/angular-formio/README.md +24 -0
- package/projects/angular-formio/auth/ng-package.json +5 -0
- package/projects/angular-formio/auth/src/auth.component.html +11 -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 +221 -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 +11 -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 +11 -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/embed/ng-package.json +5 -0
- package/projects/angular-formio/embed/src/app.service.ts +59 -0
- package/projects/angular-formio/embed/src/builder.component.ts +19 -0
- package/projects/angular-formio/embed/src/embed.module.ts +23 -0
- package/projects/angular-formio/embed/src/formio.component.ts +27 -0
- package/projects/angular-formio/embed/src/index.ts +6 -0
- package/projects/angular-formio/grid/ng-package.json +5 -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 +22 -0
- package/projects/angular-formio/grid/src/form/FormGridBody.component.scss +4 -0
- package/projects/angular-formio/grid/src/form/FormGridBody.component.ts +46 -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 +49 -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/ng-package.json +5 -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 +110 -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 +31 -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 +190 -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 +100 -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 +11 -0
- package/projects/angular-formio/manager/src/view/view.component.ts +44 -0
- package/projects/angular-formio/ng-package.json +7 -0
- package/projects/angular-formio/package.json +37 -0
- package/projects/angular-formio/resource/ng-package.json +5 -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 +7 -0
- package/projects/angular-formio/resource/src/edit/edit.component.ts +35 -0
- package/projects/angular-formio/resource/src/index/index.component.html +10 -0
- package/projects/angular-formio/resource/src/index/index.component.ts +64 -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 +258 -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 +554 -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 +213 -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/formioreport/formioreport.component.html +8 -0
- package/projects/angular-formio/src/components/formioreport/formioreport.component.ts +95 -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 +25 -0
- package/projects/angular-formio/src/custom-tags.service.ts +9 -0
- package/projects/angular-formio/src/formio-promise.service.ts +36 -0
- package/projects/angular-formio/src/formio.common.ts +91 -0
- package/projects/angular-formio/src/formio.config.ts +26 -0
- package/projects/angular-formio/src/formio.module.ts +38 -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 +3 -0
- package/projects/angular-formio/src/public-api.ts +5 -0
- package/projects/angular-formio/src/test.ts +28 -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 +39 -0
- package/tslint.json +140 -0
- package/esm2022/FormioBaseComponent.mjs +0 -583
- package/esm2022/components/formbuilder/formbuilder.component.mjs +0 -202
- package/esm2022/components/formio/formio.component.mjs +0 -43
- package/esm2022/components/formioreport/formioreport.component.mjs +0 -86
- package/esm2022/formio.common.mjs +0 -11
- package/esm2022/formio.service.mjs +0 -62
- package/esm2022/grid/grid.component.mjs +0 -257
- package/fesm2022/formio-angular-auth.mjs.map +0 -1
- package/fesm2022/formio-angular-grid.mjs.map +0 -1
- package/fesm2022/formio-angular-manager.mjs.map +0 -1
- package/fesm2022/formio-angular-resource.mjs.map +0 -1
- package/fesm2022/formio-angular.mjs +0 -1186
- package/fesm2022/formio-angular.mjs.map +0 -1
- package/formio.common.d.ts.map +0 -1
- /package/{FormioBaseComponent.d.ts → dist/angular-formio/FormioBaseComponent.d.ts} +0 -0
- /package/{auth → dist/angular-formio/auth}/auth.component.d.ts +0 -0
- /package/{auth → dist/angular-formio/auth}/auth.component.d.ts.map +0 -0
- /package/{auth → dist/angular-formio/auth}/auth.config.d.ts +0 -0
- /package/{auth → dist/angular-formio/auth}/auth.config.d.ts.map +0 -0
- /package/{auth → dist/angular-formio/auth}/auth.module.d.ts +0 -0
- /package/{auth → dist/angular-formio/auth}/auth.module.d.ts.map +0 -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 +0 -0
- /package/{auth → dist/angular-formio/auth}/auth.service.d.ts.map +0 -0
- /package/{auth → dist/angular-formio/auth}/formio-angular-auth.d.ts.map +0 -0
- /package/{auth → dist/angular-formio/auth}/index.d.ts +0 -0
- /package/{auth → dist/angular-formio/auth}/index.d.ts.map +0 -0
- /package/{auth → dist/angular-formio/auth}/login/login.component.d.ts +0 -0
- /package/{auth → dist/angular-formio/auth}/login/login.component.d.ts.map +0 -0
- /package/{auth → dist/angular-formio/auth}/register/register.component.d.ts +0 -0
- /package/{auth → dist/angular-formio/auth}/register/register.component.d.ts.map +0 -0
- /package/{auth → dist/angular-formio/auth}/resetpass/resetpass.component.d.ts +0 -0
- /package/{auth → dist/angular-formio/auth}/resetpass/resetpass.component.d.ts.map +0 -0
- /package/{components → dist/angular-formio/components}/alerts/formio.alerts.component.d.ts +0 -0
- /package/{components → dist/angular-formio/components}/alerts/formio.alerts.component.d.ts.map +0 -0
- /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/{components → dist/angular-formio/components}/alerts/parse-html-content.pipe.d.ts +0 -0
- /package/{components → dist/angular-formio/components}/alerts/parse-html-content.pipe.d.ts.map +0 -0
- /package/{components → dist/angular-formio/components}/formio/formio.component.d.ts +0 -0
- /package/{components → dist/angular-formio/components}/formio/formio.component.d.ts.map +0 -0
- /package/{components → dist/angular-formio/components}/formioreport/formioreport.component.d.ts +0 -0
- /package/{components → dist/angular-formio/components}/loader/formio.loader.component.d.ts +0 -0
- /package/{components → dist/angular-formio/components}/loader/formio.loader.component.d.ts.map +0 -0
- /package/{custom-tags.service.d.ts → dist/angular-formio/custom-tags.service.d.ts} +0 -0
- /package/{custom-tags.service.d.ts.map → dist/angular-formio/custom-tags.service.d.ts.map} +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/auth/auth.component.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/auth/auth.config.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/auth/auth.module.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/auth/auth.routes.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/auth/formio-angular-auth.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/auth/index.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/auth/login/login.component.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/auth/register/register.component.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/auth/resetpass/resetpass.component.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/components/alerts/formio.alerts.component.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/components/alerts/formio.alerts.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/components/alerts/parse-html-content.pipe.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/components/loader/formio.loader.component.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/custom-tags.service.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/formio-angular.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/formio-promise.service.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/formio.module.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/formio.utils.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/grid/GridBodyComponent.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/grid/GridFooterComponent.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/grid/GridHeaderComponent.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/grid/form/FormGridBody.component.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/grid/form/FormGridFooter.component.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/grid/form/FormGridHeader.component.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/grid/form/index.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/grid/form/time-since.pipe.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/grid/formio-angular-grid.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/grid/grid.module.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/grid/grid.service.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/grid/index.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/grid/submission/SubmissionGridBody.component.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/grid/submission/SubmissionGridFooter.component.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/grid/submission/index.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/grid/types/grid-column.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/grid/types/grid-footer-positions.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/grid/types/grid-header.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/index.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/manager/create/create.component.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/manager/delete/delete.component.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/manager/edit/edit.component.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/manager/form/form.component.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/manager/form-manager.config.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/manager/form-manager.module.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/manager/form-manager.routes.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/manager/formio-angular-manager.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/manager/index/index.component.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/manager/index.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/manager/submission/delete/delete.component.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/manager/submission/edit/edit.component.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/manager/submission/index/index.component.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/manager/submission/submission/submission.component.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/manager/submission/view/view.component.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/resource/create/create.component.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/resource/delete/delete.component.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/resource/formio-angular-resource.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/resource/index/index.component.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/resource/index.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/resource/resource.component.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/resource/resource.config.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/resource/resource.module.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/resource/resource.routes.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/resource/resources.service.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/types/alerts-position.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/types/formio-metadata.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/types/formio-submission.mjs +0 -0
- /package/{formio-angular.d.ts.map → dist/angular-formio/formio-angular.d.ts.map} +0 -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.module.d.ts → dist/angular-formio/formio.module.d.ts} +0 -0
- /package/{formio.module.d.ts.map → dist/angular-formio/formio.module.d.ts.map} +0 -0
- /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 +0 -0
- /package/{grid → dist/angular-formio/grid}/GridBodyComponent.d.ts.map +0 -0
- /package/{grid → dist/angular-formio/grid}/GridFooterComponent.d.ts +0 -0
- /package/{grid → dist/angular-formio/grid}/GridFooterComponent.d.ts.map +0 -0
- /package/{grid → dist/angular-formio/grid}/GridHeaderComponent.d.ts +0 -0
- /package/{grid → dist/angular-formio/grid}/GridHeaderComponent.d.ts.map +0 -0
- /package/{grid → dist/angular-formio/grid}/form/FormGridBody.component.d.ts +0 -0
- /package/{grid → dist/angular-formio/grid}/form/FormGridBody.component.d.ts.map +0 -0
- /package/{grid → dist/angular-formio/grid}/form/FormGridFooter.component.d.ts +0 -0
- /package/{grid → dist/angular-formio/grid}/form/FormGridFooter.component.d.ts.map +0 -0
- /package/{grid → dist/angular-formio/grid}/form/FormGridHeader.component.d.ts +0 -0
- /package/{grid → dist/angular-formio/grid}/form/FormGridHeader.component.d.ts.map +0 -0
- /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/{grid → dist/angular-formio/grid}/form/time-since.pipe.d.ts +0 -0
- /package/{grid → dist/angular-formio/grid}/form/time-since.pipe.d.ts.map +0 -0
- /package/{grid → dist/angular-formio/grid}/formio-angular-grid.d.ts.map +0 -0
- /package/{grid → dist/angular-formio/grid}/grid.component.d.ts +0 -0
- /package/{grid → dist/angular-formio/grid}/grid.component.d.ts.map +0 -0
- /package/{grid → dist/angular-formio/grid}/grid.module.d.ts +0 -0
- /package/{grid → dist/angular-formio/grid}/grid.module.d.ts.map +0 -0
- /package/{grid → dist/angular-formio/grid}/grid.service.d.ts +0 -0
- /package/{grid → dist/angular-formio/grid}/grid.service.d.ts.map +0 -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}/submission/SubmissionGridBody.component.d.ts +0 -0
- /package/{grid → dist/angular-formio/grid}/submission/SubmissionGridBody.component.d.ts.map +0 -0
- /package/{grid → dist/angular-formio/grid}/submission/SubmissionGridFooter.component.d.ts +0 -0
- /package/{grid → dist/angular-formio/grid}/submission/SubmissionGridFooter.component.d.ts.map +0 -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/{manager → dist/angular-formio/manager}/create/create.component.d.ts +0 -0
- /package/{manager → dist/angular-formio/manager}/create/create.component.d.ts.map +0 -0
- /package/{manager → dist/angular-formio/manager}/delete/delete.component.d.ts +0 -0
- /package/{manager → dist/angular-formio/manager}/delete/delete.component.d.ts.map +0 -0
- /package/{manager → dist/angular-formio/manager}/edit/edit.component.d.ts +0 -0
- /package/{manager → dist/angular-formio/manager}/edit/edit.component.d.ts.map +0 -0
- /package/{manager → dist/angular-formio/manager}/form/form.component.d.ts +0 -0
- /package/{manager → dist/angular-formio/manager}/form/form.component.d.ts.map +0 -0
- /package/{manager → dist/angular-formio/manager}/form-manager.config.d.ts +0 -0
- /package/{manager → dist/angular-formio/manager}/form-manager.config.d.ts.map +0 -0
- /package/{manager → dist/angular-formio/manager}/form-manager.module.d.ts +0 -0
- /package/{manager → dist/angular-formio/manager}/form-manager.module.d.ts.map +0 -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}/formio-angular-manager.d.ts.map +0 -0
- /package/{manager → dist/angular-formio/manager}/index/index.component.d.ts +0 -0
- /package/{manager → dist/angular-formio/manager}/index/index.component.d.ts.map +0 -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}/submission/delete/delete.component.d.ts +0 -0
- /package/{manager → dist/angular-formio/manager}/submission/delete/delete.component.d.ts.map +0 -0
- /package/{manager → dist/angular-formio/manager}/submission/edit/edit.component.d.ts +0 -0
- /package/{manager → dist/angular-formio/manager}/submission/edit/edit.component.d.ts.map +0 -0
- /package/{manager → dist/angular-formio/manager}/submission/index/index.component.d.ts +0 -0
- /package/{manager → dist/angular-formio/manager}/submission/index/index.component.d.ts.map +0 -0
- /package/{manager → dist/angular-formio/manager}/submission/submission/submission.component.d.ts +0 -0
- /package/{manager → dist/angular-formio/manager}/submission/submission/submission.component.d.ts.map +0 -0
- /package/{manager → dist/angular-formio/manager}/submission/view/view.component.d.ts +0 -0
- /package/{manager → dist/angular-formio/manager}/submission/view/view.component.d.ts.map +0 -0
- /package/{manager → dist/angular-formio/manager}/view/view.component.d.ts +0 -0
- /package/{manager → dist/angular-formio/manager}/view/view.component.d.ts.map +0 -0
- /package/{resource → dist/angular-formio/resource}/create/create.component.d.ts +0 -0
- /package/{resource → dist/angular-formio/resource}/create/create.component.d.ts.map +0 -0
- /package/{resource → dist/angular-formio/resource}/delete/delete.component.d.ts +0 -0
- /package/{resource → dist/angular-formio/resource}/delete/delete.component.d.ts.map +0 -0
- /package/{resource → dist/angular-formio/resource}/edit/edit.component.d.ts +0 -0
- /package/{resource → dist/angular-formio/resource}/edit/edit.component.d.ts.map +0 -0
- /package/{resource → dist/angular-formio/resource}/formio-angular-resource.d.ts.map +0 -0
- /package/{resource → dist/angular-formio/resource}/index/index.component.d.ts +0 -0
- /package/{resource → dist/angular-formio/resource}/index/index.component.d.ts.map +0 -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}/resource.component.d.ts +0 -0
- /package/{resource → dist/angular-formio/resource}/resource.component.d.ts.map +0 -0
- /package/{resource → dist/angular-formio/resource}/resource.config.d.ts +0 -0
- /package/{resource → dist/angular-formio/resource}/resource.config.d.ts.map +0 -0
- /package/{resource → dist/angular-formio/resource}/resource.module.d.ts +0 -0
- /package/{resource → dist/angular-formio/resource}/resource.module.d.ts.map +0 -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 +0 -0
- /package/{resource → dist/angular-formio/resource}/resource.service.d.ts.map +0 -0
- /package/{resource → dist/angular-formio/resource}/resources.service.d.ts +0 -0
- /package/{resource → dist/angular-formio/resource}/resources.service.d.ts.map +0 -0
- /package/{resource → dist/angular-formio/resource}/view/view.component.d.ts +0 -0
- /package/{resource → dist/angular-formio/resource}/view/view.component.d.ts.map +0 -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/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,215 @@
|
|
|
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 Versions
|
|
8
|
+
-------------------------
|
|
9
|
+
This library supports many different Angular Versions. If you wish to use this library with your specific version of Angular, then you will need to install the following versions.
|
|
4
10
|
|
|
5
|
-
##
|
|
11
|
+
## Angular 17
|
|
12
|
+
Angular 17 versions are currently released as "latest" so you can install with Angular 17 with the following commands.
|
|
6
13
|
|
|
7
|
-
|
|
8
|
-
|
|
14
|
+
### NPM
|
|
15
|
+
npm install --save @formio/angular
|
|
9
16
|
|
|
10
|
-
|
|
17
|
+
### Yarn
|
|
18
|
+
yarn add --save @formio/angular
|
|
11
19
|
|
|
12
|
-
|
|
20
|
+
## Angular 16
|
|
21
|
+
### NPM
|
|
22
|
+
npm install --save @formio/angular@a16
|
|
13
23
|
|
|
14
|
-
|
|
24
|
+
### Yarn
|
|
25
|
+
yarn add --save @formio/angular@a16
|
|
15
26
|
|
|
16
|
-
|
|
27
|
+
Running Demo
|
|
28
|
+
--------------------------
|
|
29
|
+
To run a demo of the Form.io Angular renderer, please follow these steps.
|
|
30
|
+
|
|
31
|
+
1. Make sure you have the [Angular CLI](https://angular.io) installed on your machine.
|
|
32
|
+
2. Download the [Angular Demo Application](https://github.com/formio/angular-demo) to your computer.
|
|
33
|
+
3. With your terminal, type ```npm install```
|
|
34
|
+
4. Now type ```ng serve```
|
|
35
|
+
|
|
36
|
+
This will startup an example application where you can see all the features provided by this module.
|
|
17
37
|
|
|
18
|
-
|
|
38
|
+
Here is the hosted demo application [https://formio.github.io/angular-demo/](https://formio.github.io/angular-demo)
|
|
19
39
|
|
|
20
|
-
|
|
40
|
+
### Note: If you wish to see the Angular Demo for Angular 16, then use the 6.0.x branch of this repo.
|
|
21
41
|
|
|
22
|
-
|
|
42
|
+
Using within your application
|
|
43
|
+
---------------------------
|
|
44
|
+
You can easily render a form within your Angular application by referencing the URL of that form as follows.
|
|
23
45
|
|
|
24
|
-
|
|
46
|
+
```html
|
|
47
|
+
<formio src='https://examples.form.io/example'></formio>
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
You can also pass the JSON form directly to the renderer as follows.
|
|
51
|
+
|
|
52
|
+
```html
|
|
53
|
+
<formio [form]='{
|
|
54
|
+
"title": "My Test Form",
|
|
55
|
+
"components": [
|
|
56
|
+
{
|
|
57
|
+
"type": "textfield",
|
|
58
|
+
"input": true,
|
|
59
|
+
"tableView": true,
|
|
60
|
+
"inputType": "text",
|
|
61
|
+
"inputMask": "",
|
|
62
|
+
"label": "First Name",
|
|
63
|
+
"key": "firstName",
|
|
64
|
+
"placeholder": "Enter your first name",
|
|
65
|
+
"prefix": "",
|
|
66
|
+
"suffix": "",
|
|
67
|
+
"multiple": false,
|
|
68
|
+
"defaultValue": "",
|
|
69
|
+
"protected": false,
|
|
70
|
+
"unique": false,
|
|
71
|
+
"persistent": true,
|
|
72
|
+
"validate": {
|
|
73
|
+
"required": true,
|
|
74
|
+
"minLength": 2,
|
|
75
|
+
"maxLength": 10,
|
|
76
|
+
"pattern": "",
|
|
77
|
+
"custom": "",
|
|
78
|
+
"customPrivate": false
|
|
79
|
+
},
|
|
80
|
+
"conditional": {
|
|
81
|
+
"show": "",
|
|
82
|
+
"when": null,
|
|
83
|
+
"eq": ""
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"type": "textfield",
|
|
88
|
+
"input": true,
|
|
89
|
+
"tableView": true,
|
|
90
|
+
"inputType": "text",
|
|
91
|
+
"inputMask": "",
|
|
92
|
+
"label": "Last Name",
|
|
93
|
+
"key": "lastName",
|
|
94
|
+
"placeholder": "Enter your last name",
|
|
95
|
+
"prefix": "",
|
|
96
|
+
"suffix": "",
|
|
97
|
+
"multiple": false,
|
|
98
|
+
"defaultValue": "",
|
|
99
|
+
"protected": false,
|
|
100
|
+
"unique": false,
|
|
101
|
+
"persistent": true,
|
|
102
|
+
"validate": {
|
|
103
|
+
"required": true,
|
|
104
|
+
"minLength": 2,
|
|
105
|
+
"maxLength": 10,
|
|
106
|
+
"pattern": "",
|
|
107
|
+
"custom": "",
|
|
108
|
+
"customPrivate": false
|
|
109
|
+
},
|
|
110
|
+
"conditional": {
|
|
111
|
+
"show": "",
|
|
112
|
+
"when": null,
|
|
113
|
+
"eq": ""
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"input": true,
|
|
118
|
+
"label": "Submit",
|
|
119
|
+
"tableView": false,
|
|
120
|
+
"key": "submit",
|
|
121
|
+
"size": "md",
|
|
122
|
+
"leftIcon": "",
|
|
123
|
+
"rightIcon": "",
|
|
124
|
+
"block": false,
|
|
125
|
+
"action": "submit",
|
|
126
|
+
"disableOnInvalid": true,
|
|
127
|
+
"theme": "primary",
|
|
128
|
+
"type": "button"
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
}'></formio>
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
This is a very simple example. This library is capable of building very complex forms which include e-signatures, columns,
|
|
135
|
+
panels, field conditionals, validation requirements, and the list goes on and on.
|
|
136
|
+
|
|
137
|
+
Usage
|
|
138
|
+
----------------
|
|
139
|
+
To use this library within your project, you will first need to install it as a dependency.
|
|
140
|
+
|
|
141
|
+
```
|
|
142
|
+
npm install --save @formio/angular@rc @formio/js
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
You can now include the module in your Angular application like so.
|
|
146
|
+
|
|
147
|
+
```js
|
|
148
|
+
import { FormioModule } from '@formio/angular';
|
|
149
|
+
@NgModule({
|
|
150
|
+
imports: [ BrowserModule, CommonModule, FormioModule ],
|
|
151
|
+
declarations: [ AppComponent ],
|
|
152
|
+
bootstrap: [ AppComponent ]
|
|
153
|
+
})
|
|
154
|
+
export class AppModule { }
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
Bootstrap Versions
|
|
158
|
+
-----------------
|
|
159
|
+
By default, this library will use Bootstrap 5 as the template and rendering CSS framework. This, however, can be changed by adding different templates into your application and using them like the following.
|
|
160
|
+
|
|
161
|
+
```
|
|
162
|
+
npm install --save @formio/bootstrap@rc
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
Then perform the following in your application.
|
|
166
|
+
|
|
167
|
+
```
|
|
168
|
+
import { Formio } from '@formio/angular';
|
|
169
|
+
import bootstrap4 from '@formio/bootstrap/bootstrap4';
|
|
170
|
+
(Formio as any).use(bootstrap4);
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
Included Libraries
|
|
174
|
+
-----------------
|
|
175
|
+
This library is a combination of multiple libraries that enable rapid Serverless application development using Form.io. These libraries are as follows.
|
|
176
|
+
|
|
177
|
+
1. [Form Renderer](https://github.com/formio/angular-formio/wiki/Form-Renderer) - The form renderer in Angular
|
|
178
|
+
2. [Form Builder](https://github.com/formio/angular-formio/wiki/Form-Builder) - The form builder in Angular
|
|
179
|
+
3. [Form Manager](https://github.com/formio/angular-formio/wiki/Form-Mananger) - The form management application used to manage forms.
|
|
180
|
+
4. [Authentication](https://github.com/formio/angular-formio/wiki/User-Authentication) - Allows an easy way to provide Form.io authentication into your application.
|
|
181
|
+
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)
|
|
182
|
+
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.
|
|
183
|
+
|
|
184
|
+
Click on each of those links to read more about how they work and how to utilize them to their fullest potential.
|
|
185
|
+
|
|
186
|
+
Demo Application
|
|
187
|
+
----------
|
|
188
|
+
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)
|
|
189
|
+
|
|
190
|
+
Application Starter Kit
|
|
191
|
+
----------
|
|
192
|
+
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.
|
|
193
|
+
|
|
194
|
+
```
|
|
195
|
+
npm install
|
|
196
|
+
npm start
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
Full Documentation
|
|
200
|
+
------------------
|
|
201
|
+
To read up on the full documentation of this library, please check out the [Wiki Page](https://github.com/formio/angular-formio/wiki)
|
|
202
|
+
|
|
203
|
+
About Form.io
|
|
204
|
+
-----------------
|
|
205
|
+
<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.
|
|
206
|
+
|
|
207
|
+
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.
|
|
208
|
+
|
|
209
|
+
https://pjmfogrfqptslvi.form.io/test
|
|
210
|
+
|
|
211
|
+
To render this form, you simply provide that URL to the ```<formio>``` directive like so.
|
|
212
|
+
|
|
213
|
+
```<formio src="https://pjmfogrfqptslvi.form.io/test"></formio>```
|
|
214
|
+
|
|
215
|
+
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,38 @@
|
|
|
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
|
+
}
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"cli": {
|
|
36
|
+
"analytics": false
|
|
37
|
+
}
|
|
38
|
+
}
|
package/bs-config.json
ADDED
|
@@ -1 +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,uBAAuB,CAAC;AAE1D,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;;
|
|
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,uBAAuB,CAAC;AAE1D,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;;AAGzD,qBAGa,mBAAoB,YAAW,MAAM,EAAE,SAAS,EAAE,SAAS;IA6D7D,MAAM,EAAE,MAAM;IACF,MAAM,EAAE,eAAe;IACvB,UAAU,CAAC,EAAE,iBAAiB;IA9D1C,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,WAAY,CAAC,UAAS;IACtB,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,UAAU,CAAC,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAClC,QAAQ,CAAC,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAChC,KAAK,CAAC,EAAE,GAAG,CAAM;IACjB,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,qBAAsB,CAAC,UAAS;IAChC,gBAAgB,CAAC,EAAG,GAAG,CAAK;IAC3B,MAAM,uBAA8B;IACpC,WAAW,uBAA8B;IACzC,mBAAmB,uBAA8B;IACjD,MAAM,uBAA8B;IACpC,QAAQ,uBAA8B;IACtC,QAAQ,uBAA8B;IACtC,YAAY,uBAA8B;IAC1C,MAAM,oBAA2B;IACjC,QAAQ,oBAA2B;IACnC,OAAO,oBAA2B;IAClC,SAAS,oBAA2B;IACpC,SAAS,oBAA2B;IACpC,QAAQ,oBAA2B;IACnC,eAAe,oBAA2B;IAC1C,IAAI,oBAA2B;IAC/B,kBAAkB,oBAA2B;IAC7C,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;IAkBlB,cAAc;IAUd,UAAU,CAAC,GAAG,KAAA;IAId,OAAO,CAAC,IAAI,EAAE,UAAU;IAmDxB,gBAAgB;IAqChB,UAAU;IA6BV,QAAQ;IAmDR,cAAc;IA8Bd,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;yCAhhBzC,mBAAmB;2CAAnB,mBAAmB;CA2hB/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).
|
package/{components → dist/angular-formio/components}/formbuilder/formbuilder.component.d.ts
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnInit, OnChanges, OnDestroy, ElementRef, EventEmitter, NgZone } from '@angular/core';
|
|
2
2
|
import { FormioAppConfig } from '../../formio.config';
|
|
3
3
|
import { FormioForm, FormioOptions } from '../../formio.common';
|
|
4
|
-
import { FormBuilder } from '
|
|
4
|
+
import { FormBuilder } from '@formio/js';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
6
|
import { CustomTagsService } from '../../custom-tags.service';
|
|
7
7
|
import * as i0 from "@angular/core";
|
package/{components → dist/angular-formio/components}/formbuilder/formbuilder.component.d.ts.map
RENAMED
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,YAAY,CAAC;AAExD,OAAO,EAAE,UAAU,EAAgB,MAAM,MAAM,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;;AAG9D,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,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IACC,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,EAAE,WAAW,CAAC,EAAE,MAAM;IAMhD,SAAS,CAAC,IAAI,EAAE,GAAG,EAAE,QAAQ,CAAC,EAAE,GAAG;IAgBnC,WAAW,CAAC,IAAI,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,MAAM;IAgBvC,WAAW,CAAC,OAAO,EAAE,GAAG;IAUxB,WAAW;yCA3KA,oBAAoB;2CAApB,oBAAoB;CAoLhC"}
|
package/{components → dist/angular-formio/components}/formioreport/formioreport.component.d.ts.map
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formioreport.component.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/src/components/formioreport/formioreport.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAA4B,SAAS,EAAa,UAAU,EAAE,YAAY,EAAU,MAAM,eAAe,CAAC;AAEpI,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;;AAGnD,qBAOa,qBAAsB,SAAQ,eAAgB,YAAW,MAAM,EAAE,SAAS;IAC5E,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,oBAA2B;IACJ,aAAa,CAAC,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"formioreport.component.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/src/components/formioreport/formioreport.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAA4B,SAAS,EAAa,UAAU,EAAE,YAAY,EAAU,MAAM,eAAe,CAAC;AAEpI,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;;AAGnD,qBAOa,qBAAsB,SAAQ,eAAgB,YAAW,MAAM,EAAE,SAAS;IAC5E,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,oBAA2B;IACJ,aAAa,CAAC,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC;IAI/E,cAAc;IAed,UAAU,CAAC,GAAG,KAAA;IAId,WAAW,CAAC,OAAO,EAAE,GAAG;IAWxB,kBAAkB;IAWlB,cAAc;IAcd,gBAAgB;IAUhB,WAAW;yCAzEA,qBAAqB;2CAArB,qBAAqB;CAiFjC"}
|
|
@@ -11,5 +11,5 @@ export * from './components/loader/formio.loader.component';
|
|
|
11
11
|
export * from './components/alerts/formio.alerts';
|
|
12
12
|
export * from './components/alerts/formio.alerts.component';
|
|
13
13
|
export { FormioModule } from './formio.module';
|
|
14
|
-
export { Formio, Utils as FormioUtils, Templates, Components, ComponentSchema, ExtendedComponentSchema, ElementInfo } from '
|
|
14
|
+
export { Formio, Utils as FormioUtils, Templates, Components, ComponentSchema, ExtendedComponentSchema, ElementInfo } from '@formio/js';
|
|
15
15
|
//# sourceMappingURL=core.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../projects/angular-formio/src/core.ts"],"names":[],"mappings":"AAGA,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,sCAAsC,CAAC;AACrD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,kDAAkD,CAAC;AACjE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,mCAAmC,CAAC;AAClD,cAAc,6CAA6C,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EACL,MAAM,EACN,KAAK,IAAI,WAAW,EACpB,SAAS,EACT,UAAU,EACV,eAAe,EACf,uBAAuB,EACvB,WAAW,EACZ,MAAM,
|
|
1
|
+
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../projects/angular-formio/src/core.ts"],"names":[],"mappings":"AAGA,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,sCAAsC,CAAC;AACrD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,kDAAkD,CAAC;AACjE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,mCAAmC,CAAC;AAClD,cAAc,6CAA6C,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EACL,MAAM,EACN,KAAK,IAAI,WAAW,EACpB,SAAS,EACT,UAAU,EACV,eAAe,EACf,uBAAuB,EACvB,WAAW,EACZ,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { InjectionToken, EventEmitter } from '@angular/core';
|
|
2
|
+
import { Formio } from '@formio/js/sdk';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare const FormioAppConfig: InjectionToken<unknown>;
|
|
5
|
+
export declare class FormioAppService {
|
|
6
|
+
baseUrl: any;
|
|
7
|
+
apiUrl: any;
|
|
8
|
+
projectUrl: any;
|
|
9
|
+
appUrl: any;
|
|
10
|
+
icons?: string;
|
|
11
|
+
formio: Formio;
|
|
12
|
+
user?: any;
|
|
13
|
+
onUser: EventEmitter<object>;
|
|
14
|
+
constructor(config?: {
|
|
15
|
+
apiUrl?: string;
|
|
16
|
+
baseUrl?: string;
|
|
17
|
+
appUrl?: string;
|
|
18
|
+
projectUrl?: string;
|
|
19
|
+
icons?: string;
|
|
20
|
+
config?: any;
|
|
21
|
+
});
|
|
22
|
+
setUser(user: any): void;
|
|
23
|
+
logout(): any;
|
|
24
|
+
authenticate(): any;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormioAppService, never>;
|
|
26
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FormioAppService>;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=app.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.service.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/embed/src/app.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,cAAc,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAEjF,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;;AADxC,eAAO,MAAM,eAAe,yBAAsC,CAAC;AAEnE,qBACa,gBAAgB;IACzB,OAAO,MAAC;IACR,MAAM,MAAC;IACP,UAAU,MAAC;IACX,MAAM,MAAC;IACP,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,MAAM,EAAE,YAAY,CAAC,MAAM,CAAC,CAA8B;gBACrB,MAAM,GAAE;QACzC,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,GAAG,CAAA;KACV;IAoBN,OAAO,CAAC,IAAI,KAAA;IAKZ,MAAM;IAUN,YAAY;yCAnDH,gBAAgB;6CAAhB,gBAAgB;CAsD5B"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, AfterViewInit } from '@angular/core';
|
|
2
|
+
import { Formio } from '@formio/js/sdk';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FormioBuilder implements AfterViewInit {
|
|
5
|
+
element: ElementRef;
|
|
6
|
+
form?: Object | null;
|
|
7
|
+
options?: Object;
|
|
8
|
+
ready: EventEmitter<Formio>;
|
|
9
|
+
error: EventEmitter<any>;
|
|
10
|
+
ngAfterViewInit(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormioBuilder, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormioBuilder, "formio-builder", never, { "form": { "alias": "form"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "ready": "ready"; "error": "error"; }, never, never, false, never>;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=builder.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"builder.component.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/embed/src/builder.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAuC,YAAY,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACxH,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;;AAExC,qBAIa,aAAc,YAAW,aAAa;IAC1B,OAAO,EAAE,UAAU,CAAC;IAChC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAM;IACrB,KAAK,uBAA8B;IACnC,KAAK,oBAA2B;IAC1C,eAAe,IAAI,IAAI;yCANd,aAAa;2CAAb,aAAa;CAWzB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./formio.component";
|
|
3
|
+
import * as i2 from "./builder.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
export declare class FormioEmbedModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormioEmbedModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormioEmbedModule, [typeof i1.FormioComponent, typeof i2.FormioBuilder], [typeof i3.CommonModule], [typeof i1.FormioComponent, typeof i2.FormioBuilder]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormioEmbedModule>;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=embed.module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"embed.module.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/embed/src/embed.module.ts"],"names":[],"mappings":";;;;AAMA,qBAgBa,iBAAiB;yCAAjB,iBAAiB;0CAAjB,iBAAiB;0CAAjB,iBAAiB;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formio-angular-embed.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/embed/src/formio-angular-embed.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, AfterViewInit } from '@angular/core';
|
|
2
|
+
import { Formio } from '@formio/js/sdk';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FormioComponent implements AfterViewInit {
|
|
5
|
+
src?: string;
|
|
6
|
+
form?: Object | null;
|
|
7
|
+
submission?: Object | null;
|
|
8
|
+
options?: Object;
|
|
9
|
+
ready: EventEmitter<Formio>;
|
|
10
|
+
submit: EventEmitter<object>;
|
|
11
|
+
error: EventEmitter<any>;
|
|
12
|
+
element: ElementRef;
|
|
13
|
+
ngAfterViewInit(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormioComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormioComponent, "formio", never, { "src": { "alias": "src"; "required": false; }; "form": { "alias": "form"; "required": false; }; "submission": { "alias": "submission"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "ready": "ready"; "submit": "submit"; "error": "error"; }, never, never, false, never>;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=formio.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formio.component.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/embed/src/formio.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,UAAU,EAAiB,YAAY,EAAa,aAAa,EAAE,MAAM,eAAe,CAAC;AACxH,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;;AAExC,qBAIa,eAAgB,YAAW,aAAa;IACxC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAM;IACrB,KAAK,uBAA8B;IACnC,MAAM,uBAA8B;IACpC,KAAK,oBAA2B;IACrB,OAAO,EAAE,UAAU,CAAC;IACzC,eAAe,IAAI,IAAI;yCATd,eAAe;2CAAf,eAAe;CAmB3B"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Formio } from '@formio/js/sdk';
|
|
2
|
+
export { FormioComponent } from './formio.component';
|
|
3
|
+
export { FormioBuilder } from './builder.component';
|
|
4
|
+
export { FormioEmbedModule } from './embed.module';
|
|
5
|
+
export { FormioAppService, FormioAppConfig } from './app.service';
|
|
6
|
+
export { Formio };
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/embed/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAClE,OAAO,EAAE,MAAM,EAAE,CAAC"}
|