@formio/angular 5.2.1-rc.3 → 5.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.dockerignore +5 -0
- package/.editorconfig +13 -0
- package/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
- package/.github/ISSUE_TEMPLATE/custom-components-support-request.md +15 -0
- package/.github/ISSUE_TEMPLATE/question.md +8 -0
- package/.travis.yml +4 -0
- package/.yo-rc.json +7 -0
- package/CHANGELOG.md +1012 -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} +3 -0
- 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 +3 -0
- 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/{resource → dist/angular-formio/resource}/view/view.component.d.ts +3 -0
- package/{resource → dist/angular-formio/resource}/view/view.component.d.ts.map +1 -1
- 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 +51 -27
- 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 -1010
- package/bundles/formio-angular-grid.umd.js.map +0 -1
- package/bundles/formio-angular-manager.umd.js +0 -1122
- package/bundles/formio-angular-manager.umd.js.map +0 -1
- package/bundles/formio-angular-resource.umd.js +0 -556
- package/bundles/formio-angular-resource.umd.js.map +0 -1
- package/bundles/formio-angular.umd.js +0 -1497
- 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 -39
- 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 -24
- 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 -515
- 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
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { Component, Optional, ViewEncapsulation, NgZone } from '@angular/core';
|
|
2
|
-
import { FormioAppConfig } from '../../formio.config';
|
|
3
|
-
import { Formio, Form } from 'formiojs';
|
|
4
|
-
import { FormioBaseComponent } from '../../FormioBaseComponent';
|
|
5
|
-
import { CustomTagsService } from '../../custom-component/custom-tags.service';
|
|
6
|
-
/* tslint:disable */
|
|
7
|
-
/* tslint:enable */
|
|
8
|
-
export class FormioComponent extends FormioBaseComponent {
|
|
9
|
-
constructor(ngZone, config, customTags) {
|
|
10
|
-
super(ngZone, config, customTags);
|
|
11
|
-
this.ngZone = ngZone;
|
|
12
|
-
this.config = config;
|
|
13
|
-
this.customTags = customTags;
|
|
14
|
-
if (this.config) {
|
|
15
|
-
Formio.setBaseUrl(this.config.apiUrl);
|
|
16
|
-
Formio.setProjectUrl(this.config.appUrl);
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
console.warn('You must provide an AppConfig within your application!');
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
getRenderer() {
|
|
23
|
-
return this.renderer || Form;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
FormioComponent.decorators = [
|
|
27
|
-
{ type: Component, args: [{
|
|
28
|
-
selector: 'formio',
|
|
29
|
-
template: "<div role=\"form\" [attr.aria-label]=\"label\">\n <div *ngIf=\"isLoading\" style=\"position:relative;height:200px\">\n <formio-loader [isLoading]=\"isLoading\"></formio-loader>\n </div>\n <formio-alerts *ngIf=\"this.options.alertsPosition === AlertsPosition.top || this.options.alertsPosition === AlertsPosition.both\" (focusComponent)=\"focusOnComponet($event)\" [alerts]=\"alerts\"></formio-alerts>\n <div #formio></div>\n <formio-alerts *ngIf=\"this.options.alertsPosition === AlertsPosition.bottom || this.options.alertsPosition === AlertsPosition.both\" (focusComponent)=\"focusOnComponet($event)\" [alerts]=\"alerts\"></formio-alerts>\n</div>\n",
|
|
30
|
-
encapsulation: ViewEncapsulation.None,
|
|
31
|
-
styles: ["@charset \"UTF-8\";.choices{position:relative;margin-bottom:24px;font-size:16px}.choices:focus{outline:0}.choices:last-child{margin-bottom:0}.choices.is-disabled .choices__inner,.choices.is-disabled .choices__input{background-color:#eaeaea;cursor:not-allowed;-webkit-user-select:none;-ms-user-select:none;-moz-user-select:none;user-select:none}.choices.is-disabled .choices__item{cursor:not-allowed}.choices [hidden]{display:none!important}.choices[data-type*=select-one]{cursor:pointer}.choices[data-type*=select-one] .choices__inner{padding-bottom:7.5px}.choices[data-type*=select-one] .choices__input{display:block;width:100%;padding:10px;border-bottom:1px solid #ddd;background-color:#fff;margin:0}.choices[data-type*=select-one] .choices__button{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjMDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==);padding:0;background-size:8px;position:absolute;top:50%;right:0;margin-top:-10px;margin-right:25px;height:20px;width:20px;border-radius:10em;opacity:.5}.choices[data-type*=select-one] .choices__button:focus,.choices[data-type*=select-one] .choices__button:hover{opacity:1}.choices[data-type*=select-one] .choices__button:focus{box-shadow:0 0 0 2px #00bcd4}.choices[data-type*=select-one] .choices__item[data-value=\"\"] .choices__button{display:none}.choices[data-type*=select-one]:after{content:\"\";height:0;width:0;border-style:solid;border-color:#333 transparent transparent;border-width:5px;position:absolute;right:11.5px;top:50%;margin-top:-2.5px;pointer-events:none}.choices[data-type*=select-one].is-open:after{border-color:transparent transparent #333;margin-top:-7.5px}.choices[data-type*=select-one][dir=rtl]:after{left:11.5px;right:auto}.choices[data-type*=select-one][dir=rtl] .choices__button{right:auto;left:0;margin-left:25px;margin-right:0}.choices[data-type*=select-multiple] .choices__inner,.choices[data-type*=text] .choices__inner{cursor:text}.choices[data-type*=select-multiple] .choices__button,.choices[data-type*=text] .choices__button{position:relative;display:inline-block;margin:0 -4px 0 8px;padding-left:16px;border-left:1px solid #008fa1;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==);background-size:8px;width:8px;line-height:1;opacity:.75;border-radius:0}.choices[data-type*=select-multiple] .choices__button:focus,.choices[data-type*=select-multiple] .choices__button:hover,.choices[data-type*=text] .choices__button:focus,.choices[data-type*=text] .choices__button:hover{opacity:1}.choices__inner{display:inline-block;vertical-align:top;width:100%;background-color:#f9f9f9;padding:7.5px 7.5px 3.75px;border:1px solid #ddd;border-radius:2.5px;font-size:14px;min-height:44px;overflow:hidden}.is-focused .choices__inner,.is-open .choices__inner{border-color:#b7b7b7}.is-open .choices__inner{border-radius:2.5px 2.5px 0 0}.is-flipped.is-open .choices__inner{border-radius:0 0 2.5px 2.5px}.choices__list{margin:0;padding-left:0;list-style:none}.choices__list--single{display:inline-block;padding:4px 16px 4px 4px;width:100%}[dir=rtl] .choices__list--single{padding-right:4px;padding-left:16px}.choices__list--single .choices__item{width:100%}.choices__list--multiple{display:inline}.choices__list--multiple .choices__item{display:inline-block;vertical-align:middle;border-radius:20px;padding:4px 10px;font-size:12px;font-weight:500;margin-right:3.75px;margin-bottom:3.75px;background-color:#00bcd4;border:1px solid #00a5bb;color:#fff;word-break:break-all;box-sizing:border-box}.choices__list--multiple .choices__item[data-deletable]{padding-right:5px}[dir=rtl] .choices__list--multiple .choices__item{margin-right:0;margin-left:3.75px}.choices__list--multiple .choices__item.is-highlighted{background-color:#00a5bb;border:1px solid #008fa1}.is-disabled .choices__list--multiple .choices__item{background-color:#aaa;border:1px solid #919191}.choices__list--dropdown{visibility:hidden;z-index:1;position:absolute;width:100%;background-color:#fff;border:1px solid #ddd;top:100%;margin-top:-1px;border-bottom-left-radius:2.5px;border-bottom-right-radius:2.5px;overflow:hidden;word-break:break-all;will-change:visibility}.choices__list--dropdown.is-active{visibility:visible}.is-open .choices__list--dropdown{border-color:#b7b7b7}.is-flipped .choices__list--dropdown{top:auto;bottom:100%;margin-top:0;margin-bottom:-1px;border-radius:.25rem .25rem 0 0}.choices__list--dropdown .choices__list{position:relative;max-height:300px;overflow:auto;-webkit-overflow-scrolling:touch;will-change:scroll-position}.choices__list--dropdown .choices__item{position:relative;padding:10px;font-size:14px}[dir=rtl] .choices__list--dropdown .choices__item{text-align:right}@media (min-width:640px){.choices__list--dropdown .choices__item--selectable{padding-right:100px}.choices__list--dropdown .choices__item--selectable:after{content:attr(data-select-text);font-size:12px;opacity:0;position:absolute;right:10px;top:50%;transform:translateY(-50%)}[dir=rtl] .choices__list--dropdown .choices__item--selectable{text-align:right;padding-left:100px;padding-right:10px}[dir=rtl] .choices__list--dropdown .choices__item--selectable:after{right:auto;left:10px}}.choices__list--dropdown .choices__item--selectable.is-highlighted{background-color:#f2f2f2}.choices__list--dropdown .choices__item--selectable.is-highlighted:after{opacity:.5}.choices__item{cursor:default}.choices__item--selectable{cursor:pointer}.choices__item--disabled{cursor:not-allowed;-webkit-user-select:none;-ms-user-select:none;-moz-user-select:none;user-select:none;opacity:.5}.choices__heading{font-weight:600;font-size:12px;padding:10px;border-bottom:1px solid #f7f7f7;color:gray}.choices__button{text-indent:-9999px;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background-color:transparent;background-repeat:no-repeat;background-position:center;cursor:pointer}.choices__button:focus,.choices__input:focus{outline:0}.choices__input{display:inline-block;vertical-align:baseline;background-color:#f9f9f9;font-size:14px;margin-bottom:5px;border:0;border-radius:0;max-width:100%;padding:4px 0 4px 2px}[dir=rtl] .choices__input{padding-right:2px;padding-left:0}.choices__placeholder{opacity:.5}dialog{position:absolute;left:0;right:0;width:-moz-fit-content;width:-webkit-fit-content;width:fit-content;height:-moz-fit-content;height:-webkit-fit-content;height:fit-content;margin:auto;border:solid;padding:1em;background:#fff;color:#000;display:block}dialog:not([open]){display:none}dialog+.backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.1)}._dialog_overlay{position:fixed;top:0;right:0;bottom:0;left:0}dialog.fixed{position:fixed;top:50%;transform:translateY(-50%)}.formio-loader{position:relative;min-height:60px}.loader-wrapper{z-index:1000;position:absolute;top:0;left:0;bottom:0;right:0;height:120px;background-color:#0000}.loader{position:absolute;left:50%;top:50%;margin-left:-30px;margin-top:-30px;z-index:10000;display:inline-block;border:6px solid #f3f3f3;border-top:6px solid #3498db;border-radius:50%;width:60px;height:60px;-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}@-webkit-keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.formio-form{position:relative;min-height:80px}.formio-error-wrapper,.formio-warning-wrapper{padding:1em}.formio-error-wrapper{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.formio-warning-wrapper{color:#856404;background-color:#fff3cd;border-color:#ffeeba}.formio-disabled-input .form-control.flatpickr-input{background-color:#eee}.builder-component.has-error .invalid-feedback,.formio-component.alert-danger .invalid-feedback,.formio-component.has-error .invalid-feedback,.formio-component.has-message .invalid-feedback{display:block;color:inherit;margin-top:4px}.formio-errors .error{color:#dc3545}.formio-errors .warning{color:#856404}.formio-errors .info{color:#004085}.formio-wysiwyg-editor{min-height:200px;background-color:#fff}.has-feedback .form-control{padding-right:10px}.has-feedback .form-control[type=hidden]{padding-right:0}.has-error.bg-danger{padding:4px}.ql-source:after{content:\"[source]\";white-space:nowrap}.quill-source-code{width:100%;margin:0;background:#1d1d1d;box-sizing:border-box;color:#ccc;font-size:15px;outline:0;padding:20px;line-height:24px;font-family:Consolas,Menlo,Monaco,\"Courier New\",monospace;position:absolute;top:0;bottom:0;border:none;display:none}.formio-component-tags tags{background-color:#fff}.field-required:after,.tab-error:after{content:\" *\";color:red}.field-required:after{position:relative;z-index:10}.glyphicon-spin{-webkit-animation:formio-spin 1s infinite linear;animation:formio-spin 1s infinite linear}@-webkit-keyframes formio-spin{0%{-webkit-transform:rotate(0)}to{-webkit-transform:rotate(360deg)}}@keyframes formio-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.button-icon-right{margin-left:5px}.formio-component-submit .submit-success:after{content:\"\\2713\";position:relative;right:-4px;top:1px;line-height:1}.formio-component-submit .submit-fail:after{content:\"\\2717\";position:relative;right:-4px;top:1px;line-height:1}.formio-component-submit .submit-fail[disabled]{opacity:1}.form-control.flatpickr-input{background-color:#fff}td>.form-group{margin-bottom:0}.signature-pad-body{overflow:hidden;position:relative}.signature-pad-canvas{border-radius:4px;box-shadow:0 0 5px #00000005 inset;border:1px solid #f4f4f4}.btn.signature-pad-refresh{position:absolute;left:0;top:0;z-index:1000;padding:3px;line-height:0}[dir=rtl] .btn.signature-pad-refresh{left:unset;right:0}.formio-component-multiple .choices__input{width:100%}.choices__list--dropdown .choices__item--selectable{padding-right:0}.signature-pad-refresh img{height:1.2em}.signature-pad-footer{text-align:center;color:#c3c3c3}.choices__list--dropdown{z-index:100}.choices__list--multiple .choices__item{border-radius:0;padding:2px 8px;line-height:1em;margin-bottom:6px}.choices__list--single{padding:0}.choices__item.choices__item--selectable{white-space:nowrap;overflow:hidden;padding-right:25px;text-overflow:ellipsis}.choices__input{padding:2px}.choices[dir=rtl]>*{text-align:right}.choices[dir=rtl] .choices__list--multiple .choices__item[data-deletable]{padding-left:5px;float:right}.choices[dir=rtl] .choices__list--multiple .choices__item[data-deletable] .choices__button{float:left;margin:0 8px 0 -4px;padding-left:unset;padding-right:16px;border-left:unset;border-right:1px solid #008fa1;overflow:hidden}.formio-component-file .fileSelector{position:relative;padding:15px;border:2px dashed #ddd;text-align:center}.formio-component-file .fileSelector .loader-wrapper{display:none;width:100%;height:100%;background-color:#0000001a}.formio-component-file .fileSelector .loader-wrapper .loader{height:45px;width:45px;margin-top:-23px;margin-left:-23px}.formio-component-file .fileSelector.fileDragOver{border-color:#127abe}.formio-component-file .fileSelector .fa,.formio-component-file .fileSelector .glyphicon{font-size:20px;margin-right:5px}[dir=rtl] .formio-component-file .fileSelector .fa,[dir=rtl] .formio-component-file .fileSelector .glyphicon{margin-right:unset;margin-left:5px}.formio-component-file .fileSelector .browse{cursor:pointer}@-webkit-keyframes formio-dialog-fadeout{0%{opacity:1}to{opacity:0}}@keyframes formio-dialog-fadeout{0%{opacity:1}to{opacity:0}}@-webkit-keyframes formio-dialog-fadein{0%{opacity:0}to{opacity:1}}@keyframes formio-dialog-fadein{0%{opacity:0}to{opacity:1}}.formio-dialog{box-sizing:border-box;font-size:.8em;color:#666}.formio-dialog.formio-modaledit-dialog{font-size:inherit}.formio-dialog *,.formio-dialog :after,.formio-dialog :before{box-sizing:inherit}.formio-dialog{position:fixed;overflow:auto;-webkit-overflow-scrolling:touch;z-index:10000;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.4);-webkit-animation:formio-dialog-fadein .5s;animation:formio-dialog-fadein .5s}.formio-dialog.formio-dialog-disabled-animation,.formio-dialog.formio-dialog-disabled-animation .formio-dialog-content,.formio-dialog.formio-dialog-disabled-animation .formio-dialog-overlay{-webkit-animation:none!important;animation:none!important}.formio-dialog-overlay{position:fixed;top:0;right:0;bottom:0;left:0;-webkit-backface-visibility:hidden;-webkit-animation:formio-dialog-fadein .5s;animation:formio-dialog-fadein .5s;margin-right:15px;background:0 0}.formio-dialog-no-overlay{pointer-events:none}.formio-dialog.formio-dialog-closing .formio-dialog-overlay{-webkit-backface-visibility:hidden;-webkit-animation:formio-dialog-fadeout .5s;animation:formio-dialog-fadeout .5s}.formio-dialog-content{background:#fff;-webkit-backface-visibility:hidden;-webkit-animation:formio-dialog-fadein .5s;animation:formio-dialog-fadein .5s;pointer-events:all;overflow:auto}.formio-component-modal-wrapper-select .formio-dialog-content{overflow:visible;overflow:initial}.formio-dialog.formio-dialog-closing .formio-dialog-content{-webkit-backface-visibility:hidden;-webkit-animation:formio-dialog-fadeout .5s;animation:formio-dialog-fadeout .5s}.formio-dialog-close:before{font-family:Helvetica,Arial,sans-serif;content:\"\\d7\";cursor:pointer}body.formio-dialog-open,html.formio-dialog-open{overflow:hidden}.formio-dialog .tab-content{padding-top:12px}.formio-dialog-close{z-index:1000}@-webkit-keyframes formio-dialog-flyin{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translateY(0)}}@keyframes formio-dialog-flyin{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translateY(0)}}@-webkit-keyframes formio-dialog-flyout{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-40px)}}@keyframes formio-dialog-flyout{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-40px)}}.formio-dialog.formio-dialog-theme-default{padding-bottom:160px;padding-top:160px}.formio-dialog.formio-dialog-theme-default.formio-dialog-closing .formio-dialog-content{-webkit-animation:formio-dialog-flyout .5s;animation:formio-dialog-flyout .5s}.formio-dialog.formio-dialog-theme-default .formio-dialog-content{-webkit-animation:formio-dialog-flyin .5s;animation:formio-dialog-flyin .5s;background:#f0f0f0;border-radius:5px;font-family:Helvetica,sans-serif;font-size:1.1em;line-height:1.5em;margin:0 auto;max-width:100%;padding:1em;position:relative;width:80%}.formio-dialog.formio-dialog-theme-default .formio-dialog-close{border:none;background:0 0;cursor:pointer;position:absolute;right:0;top:0;z-index:100}.formio-clickable{cursor:pointer}.component-settings .nav>li>a{padding:8px 10px}.formio-dialog.formio-dialog-theme-default .formio-dialog-close:before{display:block;padding:3px;background:0 0;color:#bbb;content:\"\\d7\";font-size:26px;font-weight:400;line-height:26px;text-align:center}.formio-dialog.formio-dialog-theme-default .formio-dialog-close:active:before,.formio-dialog.formio-dialog-theme-default .formio-dialog-close:hover:before{color:#777}.formio-dialog.formio-dialog-theme-default .formio-dialog-message{margin-bottom:.5em}.formio-dialog.formio-dialog-theme-default .formio-dialog-input{margin-bottom:1em}.formio-dialog.formio-dialog-theme-default .formio-dialog-input input[type=email],.formio-dialog.formio-dialog-theme-default .formio-dialog-input input[type=password],.formio-dialog.formio-dialog-theme-default .formio-dialog-input input[type=text],.formio-dialog.formio-dialog-theme-default .formio-dialog-input input[type=url],.formio-dialog.formio-dialog-theme-default .formio-dialog-input textarea{background:#fff;border:0;border-radius:3px;font-family:inherit;font-size:inherit;font-weight:inherit;margin:0 0 .25em;min-height:2.5em;padding:.25em .67em;width:100%}.formio-dialog.formio-dialog-theme-default .formio-dialog-input input[type=email]:focus,.formio-dialog.formio-dialog-theme-default .formio-dialog-input input[type=password]:focus,.formio-dialog.formio-dialog-theme-default .formio-dialog-input input[type=text]:focus,.formio-dialog.formio-dialog-theme-default .formio-dialog-input input[type=url]:focus,.formio-dialog.formio-dialog-theme-default .formio-dialog-input textarea:focus{box-shadow:inset 0 0 0 2px #8dbdf1;outline:0}.formio-dialog.formio-dialog-theme-default .formio-dialog-buttons{*zoom:1}.formio-dialog.formio-dialog-theme-default .formio-dialog-buttons:after{content:\"\";display:table;clear:both}.formio-dialog.formio-dialog-theme-default .formio-dialog-button{border:0;border-radius:3px;cursor:pointer;float:right;font-family:inherit;font-size:.8em;letter-spacing:.1em;line-height:1em;margin:0 0 0 .5em;padding:.75em 2em;text-transform:uppercase}.formio-dialog.formio-dialog-theme-default .formio-dialog-button:focus{-webkit-animation:formio-dialog-pulse 1.1s infinite;animation:formio-dialog-pulse 1.1s infinite;outline:0}@media (max-width:568px){.formio-dialog.formio-dialog-theme-default .formio-dialog-button:focus{-webkit-animation:none;animation:none}}.formio-dialog.formio-dialog-theme-default .formio-dialog-button.formio-dialog-button-primary{background:#3288e6;color:#fff}.formio-dialog.formio-dialog-theme-default .formio-dialog-button.formio-dialog-button-secondary{background:#e0e0e0;color:#777}.formio-dialog-content .panel{margin:0}.formio-placeholder{position:absolute;color:#999}.formio-dialog .formio-dialog-close{cursor:pointer}.formio-iframe{border:none;width:100%;height:1000px}.inline-form-button{margin-right:10px}.tooltip{opacity:1}.tooltip[x-placement=right] .tooltip-arrow{border-right:5px solid #000}.tooltip[x-placement=right] .tooltip-inner{margin-left:8px}.control-label--bottom{margin-bottom:0;margin-top:5px}.formio-component-label-hidden{position:relative}.formio-hidden{margin:0}.control-label--hidden{position:absolute;top:6px;right:5px;font-size:1.5em}.formio-component-datetime .control-label--hidden.field-required{right:45px;z-index:3}.formio-component-selectboxes .control-label--hidden.field-required,.formio-component-survey .control-label--hidden.field-required{top:0}.formio-component-resource .control-label--hidden.field-required,.formio-component-select .control-label--hidden.field-required{right:40px;z-index:2}.formio-component-datasource,.formio-component-hidden:not(.formio-component-checkbox){margin-bottom:0}.checkbox-inline label,.radio-inline label{font-weight:400;cursor:pointer}.editgrid-listgroup{margin-bottom:10px}.tree-listgroup{flex-direction:row}.formio-component-submit button[disabled]+.has-error{display:block}.formio-choices.form-group{margin-bottom:0}.formio-choices[data-type=select-multiple] .form-control{height:auto}.form-control.formio-multiple-mask-select{width:15%;z-index:4}.form-control.formio-multiple-mask-input{width:85%}.input-group.formio-multiple-mask-container{width:100%}.formio-component .table{margin-bottom:0}.formio-hide-label-panel-tooltip{margin-top:-10px;margin-left:-10px}.is-disabled .choices__list--multiple .choices__item{padding:5px 10px}.is-disabled .choices__list--multiple .choices__item .choices__button{display:none}.formio-collapse-icon{cursor:pointer;margin-right:4px}[dir=rtl] .formio-collapse-icon{margin-right:unset;margin-left:4px}.formio-component-dateTime .form-control[type=datetime-local]~.input-group-addon,.formio-component-datetime .form-control[type=datetime-local]~.input-group-addon{width:auto}.formio-component-datagrid .formio-datagrid-remove{position:absolute;top:0;right:0;visibility:hidden;opacity:0;transition:opacity .2s linear,visibility 0s .2s}.formio-component-datagrid .datagrid-table>tbody>tr>td:last-child{position:relative}.formio-component-datagrid .datagrid-table>tbody>tr:hover>td:last-child .formio-datagrid-remove{visibility:visible;opacity:1;transition:visibility 0s,opacity .2s linear}.formio-component-modaledit .formio-modaledit-view-container{position:relative;border:1px solid #ddd;min-height:34px;padding:6px 12px;cursor:text}td .formio-component-modaledit .formio-modaledit-view-container{padding:0;border-style:none}.formio-component-modaledit .formio-modaledit-edit{position:absolute;top:0;left:0;visibility:hidden;opacity:0;transition:opacity .2s linear,visibility 0s .2s}.formio-component-modaledit .formio-modaledit-view-container:hover .formio-modaledit-edit{visibility:visible;opacity:1;transition:visibility 0s,opacity .2s linear}.formio-modaledit-dialog .formio-modaledit-close{position:absolute;top:100%;right:0;border-radius:0}.reset-margins a,.reset-margins abbr,.reset-margins acronym,.reset-margins address,.reset-margins applet,.reset-margins article,.reset-margins aside,.reset-margins audio,.reset-margins b,.reset-margins big,.reset-margins blockquote,.reset-margins body,.reset-margins canvas,.reset-margins caption,.reset-margins center,.reset-margins cite,.reset-margins code,.reset-margins dd,.reset-margins del,.reset-margins details,.reset-margins dfn,.reset-margins div,.reset-margins dl,.reset-margins dt,.reset-margins em,.reset-margins embed,.reset-margins fieldset,.reset-margins figcaption,.reset-margins figure,.reset-margins footer,.reset-margins form,.reset-margins h1,.reset-margins h2,.reset-margins h3,.reset-margins h4,.reset-margins h5,.reset-margins h6,.reset-margins header,.reset-margins hgroup,.reset-margins html,.reset-margins i,.reset-margins iframe,.reset-margins img,.reset-margins ins,.reset-margins kbd,.reset-margins label,.reset-margins legend,.reset-margins li,.reset-margins mark,.reset-margins menu,.reset-margins nav,.reset-margins object,.reset-margins ol,.reset-margins output,.reset-margins p,.reset-margins pre,.reset-margins q,.reset-margins ruby,.reset-margins s,.reset-margins samp,.reset-margins section,.reset-margins small,.reset-margins span,.reset-margins strike,.reset-margins strong,.reset-margins sub,.reset-margins summary,.reset-margins sup,.reset-margins table,.reset-margins tbody,.reset-margins td,.reset-margins tfoot,.reset-margins th,.reset-margins thead,.reset-margins time,.reset-margins tr,.reset-margins tt,.reset-margins u,.reset-margins ul,.reset-margins var,.reset-margins video{margin:0}.ck-body .ck.ck-balloon-panel{z-index:101000}.formio-component-select select[disabled=disabled]{-webkit-appearance:none;-moz-appearance:none;text-indent:1px;text-overflow:\"\"}.formio-component-select .choices.is-disabled[data-type*=select-one]:after,.formio-component-select div[disabled=disabled] button{display:none}.datagrid-group-label.collapsed>td{display:none}.datagrid-group-header.clickable{cursor:pointer}.datagrid-group-header.clickable .datagrid-group-label:before{display:inline-block;vertical-align:middle;content:\"\\25be\";margin:0 5px}.datagrid-group-header.clickable.collapsed .datagrid-group-label:before{content:\"\\25b8\"}.formio-component.alert-danger .help-block,.formio-component.alert-warning .help-block{color:inherit}.tree__level_even{background-color:#f6f6f6}.tree__node-content{margin-bottom:10px}.tree__node-children{margin:0}.formio-select-autocomplete-input{opacity:0;position:absolute;z-index:-1}.has-error>.help-block{margin-top:5px;margin-bottom:10px}.no-top-border-table>.table>tbody>tr:first-child>td{border-top:none}.table>tbody>tr>td.cell-align-left{text-align:left}.table>tbody>tr>td.cell-align-center{text-align:center}.table>tbody>tr>td.cell-align-center>div{margin-left:auto;margin-right:auto}.table>tbody>tr>td.cell-align-right{text-align:right}.table>tbody>tr>td.cell-align-right>div{margin-left:auto}.table-responsive[ref=component]{overflow-x:visible}.formio-component-textarea .alert .ck-editor__editable{color:inherit}.formio-component-textarea .ck.ck-editor__editable .image .ck-progress-bar{height:4px}div[data-oembed-url]{width:100%}.checkbox label.label-position-bottom,.checkbox label.label-position-left,.checkbox label.label-position-top,.radio label.label-position-bottom,.radio label.label-position-left,.radio label.label-position-top{padding-left:0}.checkbox label.label-position-bottom span,.checkbox label.label-position-top span,.radio label.label-position-bottom span,.radio label.label-position-top span{display:block}.checkbox label.label-position-bottom input[type=checkbox],.checkbox label.label-position-top input[type=checkbox],.radio label.label-position-bottom input[type=radio],.radio label.label-position-top input[type=radio]{position:relative;margin-left:0}.checkbox label.label-position-top input[type=checkbox],.radio label.label-position-top input[type=radio]{margin-top:4px}.checkbox label.label-position-bottom input[type=checkbox],.radio label.label-position-bottom input[type=radio]{margin-bottom:8px}.checkbox label.label-position-left input[type=checkbox],.radio label.label-position-left input[type=radio]{margin-left:10px}.open-modal-button{width:100%;text-align:left;white-space:normal;height:auto}.formio-component-modal-wrapper-signature .open-modal-button{text-align:center;height:100%;font-size:1.4em;padding:0;margin:0}.formio-component-content .image{display:table;clear:both;text-align:center;margin:1em auto}.formio-component-content .image>img{display:block;margin:0 auto;max-width:100%;min-width:50px}.formio-component-content .image>figcaption{display:table-caption;caption-side:bottom;word-break:break-word;color:#333;background-color:#f7f7f7;padding:.6em;font-size:.75em;outline-offset:-1px}.formio-component-content .image.image_resized{max-width:100%;display:block;box-sizing:border-box}.formio-component-content .image.image_resized img{width:100%}.formio-component-content .image.image_resized>figcaption{display:block}.formio-component-content .media{clear:both;margin:1em 0;display:block;min-width:15em}.formio-component-content .image-style-align-center:not(.image_resized),.formio-component-content .image-style-align-left:not(.image_resized),.formio-component-content .image-style-align-right:not(.image_resized),.formio-component-content .image-style-side:not(.image_resized){max-width:50%}.formio-component-content .image-style-side{float:right;margin-left:var(--ck-image-style-spacing)}.formio-component-content .image-style-align-left{float:left;margin-right:var(--ck-image-style-spacing)}.formio-component-content .image-style-align-center{margin-left:auto;margin-right:auto}.formio-component-content .image-style-align-right{float:right;margin-left:var(--ck-image-style-spacing)}.formio-component-content blockquote{overflow:hidden;padding-right:1.5em;padding-left:1.5em;margin-left:0;margin-right:0;font-style:italic;border-left:solid 5px #ccc}.formio-component-content[dir=rtl] blockquote{border-left:0;border-right:solid 5px #ccc}.formio-component-content .text-tiny{font-size:.7em}.formio-component-content .text-small{font-size:.85em}.formio-component-content .text-big{font-size:1.4em}.formio-component-content .text-huge{font-size:1.8em}.formio-component-address.formio-component-label-hidden>label.field-required{z-index:1}.formio-component-address.formio-component-label-hidden>label.field-required~.address-autocomplete-container .address-autocomplete-remove-value-icon{right:20px}.address-autocomplete-container{position:relative}.address-autocomplete-container .address-autocomplete-remove-value-icon{cursor:pointer;position:absolute;margin-top:-9px;right:10px;top:50%}.address-autocomplete-container .address-autocomplete-remove-value-icon--hidden{display:none}.autocomplete{background:#fff;font:14px/22px \"-apple-system\",BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,sans-serif;overflow:auto;box-sizing:border-box;border:1px solid rgba(50,50,50,.6);z-index:11000}.autocomplete>div{cursor:pointer;padding:6px 10px}.autocomplete>div.selected,.autocomplete>div:hover:not(.group){background:#1e90ff;color:#fff}.field-wrapper{display:flex}.field-wrapper--reverse{flex-direction:row-reverse}.field-wrapper .field-label--right{text-align:right}.formio-component-modal-wrapper{margin-bottom:10px}.formio-component-modal-wrapper .open-modal-button{height:auto}.formio-component-modal-wrapper .component-rendering-hidden{visibility:hidden}.formio-component-textarea div.formio-editor-read-only-content[ref=input]{white-space:pre-wrap}.formio-editor-read-only-content img{max-width:100%}.formio-editor-read-only-content li[data-list=bullet]{list-style-type:none}.formio-editor-read-only-content li[data-list=bullet] .ql-ui{padding-right:.5rem}.formio-editor-read-only-content li[data-list=bullet] .ql-ui:before{content:\"\\2022\"}.formio-editor-read-only-content li[data-list=ordered]{list-style-type:none;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.formio-editor-read-only-content li[data-list=ordered] .ql-ui{padding-right:.5rem}.formio-editor-read-only-content li[data-list=ordered] .ql-ui:before{content:counter(list-0,decimal) \". \"}.formio-editor-read-only-content figure.table table{border-collapse:collapse;border-spacing:0;width:100%;height:100%;border:1px double #b3b3b3}.formio-editor-read-only-content figure.table table td,.formio-editor-read-only-content figure.table table th{min-width:2em;padding:.4em;border:1px solid #bfbfbf}.formio-component-password .pull-right:not(:last-child),.formio-component-textarea .pull-right:not(:last-child),.formio-component-textfield .pull-right:not(:last-child){padding-left:12px}.formio-form>div>nav>ul.pagination{flex-flow:wrap row}.formio-form>div>nav>ul.pagination .page-link{cursor:pointer}.pac-container{z-index:11000}[ref=buttonMessageContainer].has-error{cursor:pointer}.formio-component-textarea .formio-editor-read-only-content .text-big{font-size:1.4em}.formio-component-textarea .formio-editor-read-only-content .text-huge{font-size:1.8em}.formio-component-textarea .formio-editor-read-only-content .text-small{font-size:.85em}.formio-component-textarea .formio-editor-read-only-content .text-tiny{font-size:.7em}\n"]
|
|
32
|
-
},] }
|
|
33
|
-
];
|
|
34
|
-
FormioComponent.ctorParameters = () => [
|
|
35
|
-
{ type: NgZone },
|
|
36
|
-
{ type: FormioAppConfig, decorators: [{ type: Optional }] },
|
|
37
|
-
{ type: CustomTagsService, decorators: [{ type: Optional }] }
|
|
38
|
-
];
|
|
39
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWlvLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL3NyYy9jb21wb25lbnRzL2Zvcm1pby9mb3JtaW8uY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsUUFBUSxFQUFFLGlCQUFpQixFQUFTLE1BQU0sRUFBYSxNQUFNLGVBQWU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dWJsaWMgbmdab25lOiBOZ1pvbmUsXG4gICAgQE9wdGlvbmFsKCkgcHVibGljIGNvbmZpZzogRm9ybWlvQXBwQ29uZmlnLFxuICAgIEBPcHRpb25hbCgpIHB1YmxpYyBjdXN0b21UYWdzPzogQ3VzdG9tVGFnc1NlcnZpY2UsXG4gICkge1xuICAgIHN1cGVyKG5nWm9uZSwgY29uZmlnLCBjdXN0b21UYWdzKTtcbiAgICBpZiAodGhpcy5jb25maWcpIHtcbiAgICAgIEZvcm1pby5zZXRCYXNlVXJsKHRoaXMuY29uZmlnLmFwaVVybCk7XG4gICAgICBGb3JtaW8uc2V0UHJvamVjdFVybCh0aGlzLmNvbmZpZy5hcHBVcmwpO1xuICAgIH0gZWxzZSB7XG4gICAgICBjb25zb2xlLndhcm4oJ1lvdSBtdXN0IHByb3ZpZGUgYW4gQXBwQ29uZmlnIHdpdGhpbiB5b3VyIGFwcGxpY2F0aW9uIScpO1xuICAgIH1cbiAgfVxuXG4gIGdldFJlbmRlcmVyKCkge1xuICAgIHJldHVybiB0aGlzLnJlbmRlcmVyIHx8IEZvcm07XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
export class FormioLoaderComponent {
|
|
3
|
-
}
|
|
4
|
-
FormioLoaderComponent.decorators = [
|
|
5
|
-
{ type: Component, args: [{
|
|
6
|
-
selector: 'formio-loader',
|
|
7
|
-
template: "<div class=\"formio-loader-wrapper\" *ngIf=\"isLoading\">\n <div class=\"formio-loader\"></div>\n</div>\n",
|
|
8
|
-
styles: [".formio-loader-wrapper{position:absolute;top:0px;bottom:0px;left:0px;right:0px;z-index:1000}.formio-loader{position:absolute;left:50%;top:50%;margin-left:-30px;margin-top:-30px;z-index:10000;display:inline-block;border:6px solid #f3f3f3;border-top:6px solid #3498db;border-radius:50%;width:60px;height:60px;-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}@-webkit-keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"]
|
|
9
|
-
},] }
|
|
10
|
-
];
|
|
11
|
-
FormioLoaderComponent.propDecorators = {
|
|
12
|
-
isLoading: [{ type: Input }]
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWlvLmxvYWRlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9zcmMvY29tcG9uZW50cy9sb2FkZXIvZm9ybWlvLmxvYWRlci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxLQUFLLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFPL0MsTUFBTSxPQUFPLHFCQUFxQjs7O1lBTGpDLFNBQVMsU0FBQztnQkFDVCxRQUFRLEVBQUUsZUFBZTtnQkFFekIsc0hBQTZDOzthQUM5Qzs7O3dCQUVFLEtBQUsiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge0NvbXBvbmVudCwgSW5wdXR9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICdmb3JtaW8tbG9hZGVyJyxcbiAgc3R5bGVVcmxzOiBbJy4vZm9ybWlvLmxvYWRlci5jb21wb25lbnQuc2NzcyddLFxuICB0ZW1wbGF0ZVVybDogJy4vZm9ybWlvLmxvYWRlci5jb21wb25lbnQuaHRtbCdcbn0pXG5leHBvcnQgY2xhc3MgRm9ybWlvTG9hZGVyQ29tcG9uZW50IHtcbiAgQElucHV0KCkgaXNMb2FkaW5nOiBib29sZWFuO1xufVxuIl19
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
export class CustomTagsService {
|
|
3
|
-
constructor() {
|
|
4
|
-
this.tags = [];
|
|
5
|
-
}
|
|
6
|
-
addCustomTag(tag) {
|
|
7
|
-
this.tags.push(tag);
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
CustomTagsService.decorators = [
|
|
11
|
-
{ type: Injectable }
|
|
12
|
-
];
|
|
13
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VzdG9tLXRhZ3Muc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL3NyYy9jdXN0b20tY29tcG9uZW50L2N1c3RvbS10YWdzLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUczQyxNQUFNLE9BQU8saUJBQWlCO0lBRDlCO1FBRUUsU0FBSSxHQUFhLEVBQUUsQ0FBQztJQUt0QixDQUFDO0lBSEMsWUFBWSxDQUFDLEdBQVc7UUFDdEIsSUFBSSxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLENBQUM7SUFDdEIsQ0FBQzs7O1lBTkYsVUFBVSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluamVjdGFibGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQEluamVjdGFibGUoKVxuZXhwb3J0IGNsYXNzIEN1c3RvbVRhZ3NTZXJ2aWNlIHtcbiAgdGFnczogc3RyaW5nW10gPSBbXTtcblxuICBhZGRDdXN0b21UYWcodGFnOiBzdHJpbmcpIHtcbiAgICB0aGlzLnRhZ3MucHVzaCh0YWcpO1xuICB9XG59XG4iXX0=
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public-api';
|
|
5
|
-
export { ParseHtmlContentPipe as ɵb } from './components/alerts/parse-html-content.pipe';
|
|
6
|
-
export { CustomTagsService as ɵa } from './custom-component/custom-tags.service';
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWlvLWFuZ3VsYXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9zcmMvZm9ybWlvLWFuZ3VsYXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQztBQUU3QixPQUFPLEVBQUMsb0JBQW9CLElBQUksRUFBRSxFQUFDLE1BQU0sNkNBQTZDLENBQUM7QUFDdkYsT0FBTyxFQUFDLGlCQUFpQixJQUFJLEVBQUUsRUFBQyxNQUFNLHdDQUF3QyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuXG5leHBvcnQge1BhcnNlSHRtbENvbnRlbnRQaXBlIGFzIMm1Yn0gZnJvbSAnLi9jb21wb25lbnRzL2FsZXJ0cy9wYXJzZS1odG1sLWNvbnRlbnQucGlwZSc7XG5leHBvcnQge0N1c3RvbVRhZ3NTZXJ2aWNlIGFzIMm1YX0gZnJvbSAnLi9jdXN0b20tY29tcG9uZW50L2N1c3RvbS10YWdzLnNlcnZpY2UnOyJdfQ==
|
package/esm2015/formio.config.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
export class FormioAppConfig {
|
|
3
|
-
constructor() {
|
|
4
|
-
this.appUrl = '';
|
|
5
|
-
this.apiUrl = '';
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
FormioAppConfig.decorators = [
|
|
9
|
-
{ type: Injectable }
|
|
10
|
-
];
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWlvLmNvbmZpZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL3NyYy9mb3JtaW8uY29uZmlnLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFHM0MsTUFBTSxPQUFPLGVBQWU7SUFENUI7UUFFRSxXQUFNLEdBQUcsRUFBRSxDQUFDO1FBQ1osV0FBTSxHQUFHLEVBQUUsQ0FBQztJQUdkLENBQUM7OztZQU5BLFVBQVUiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3RhYmxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBJbmplY3RhYmxlKClcbmV4cG9ydCBjbGFzcyBGb3JtaW9BcHBDb25maWcge1xuICBhcHBVcmwgPSAnJztcbiAgYXBpVXJsID0gJyc7XG4gIGljb25zPzogc3RyaW5nO1xuICBmb3JtT25seT86IGJvb2xlYW47XG59XG4iXX0=
|
package/esm2015/formio.module.js
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { FormioComponent } from './components/formio/formio.component';
|
|
4
|
-
import { FormBuilderComponent } from './components/formbuilder/formbuilder.component';
|
|
5
|
-
import { FormioAlerts } from './components/alerts/formio.alerts';
|
|
6
|
-
import { ParseHtmlContentPipe } from './components/alerts/parse-html-content.pipe';
|
|
7
|
-
import { FormioAlertsComponent } from './components/alerts/formio.alerts.component';
|
|
8
|
-
import { FormioLoaderComponent } from './components/loader/formio.loader.component';
|
|
9
|
-
import { CustomTagsService } from './custom-component/custom-tags.service';
|
|
10
|
-
import { FormioBaseComponent } from './FormioBaseComponent';
|
|
11
|
-
export class FormioModule {
|
|
12
|
-
}
|
|
13
|
-
FormioModule.decorators = [
|
|
14
|
-
{ type: NgModule, args: [{
|
|
15
|
-
declarations: [
|
|
16
|
-
FormioComponent,
|
|
17
|
-
FormioBaseComponent,
|
|
18
|
-
FormBuilderComponent,
|
|
19
|
-
FormioLoaderComponent,
|
|
20
|
-
FormioAlertsComponent,
|
|
21
|
-
ParseHtmlContentPipe
|
|
22
|
-
],
|
|
23
|
-
imports: [
|
|
24
|
-
CommonModule
|
|
25
|
-
],
|
|
26
|
-
exports: [
|
|
27
|
-
FormioComponent,
|
|
28
|
-
FormBuilderComponent,
|
|
29
|
-
FormioLoaderComponent,
|
|
30
|
-
FormioAlertsComponent
|
|
31
|
-
],
|
|
32
|
-
providers: [
|
|
33
|
-
FormioAlerts,
|
|
34
|
-
CustomTagsService
|
|
35
|
-
],
|
|
36
|
-
entryComponents: [
|
|
37
|
-
FormioComponent,
|
|
38
|
-
FormBuilderComponent
|
|
39
|
-
]
|
|
40
|
-
},] }
|
|
41
|
-
];
|
|
42
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWlvLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL3NyYy9mb3JtaW8ubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxlQU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iAgICBQYXJzZUh0bWxDb250ZW50UGlwZVxuICBdLFxuICBpbXBvcnRzOiBbXG4gICAgQ29tbW9uTW9kdWxlXG4gIF0sXG4gIGV4cG9ydHM6IFtcbiAgICBGb3JtaW9Db21wb25lbnQsXG4gICAgRm9ybUJ1aWxkZXJDb21wb25lbnQsXG4gICAgRm9ybWlvTG9hZGVyQ29tcG9uZW50LFxuICAgIEZvcm1pb0FsZXJ0c0NvbXBvbmVudFxuICBdLFxuICBwcm92aWRlcnM6IFtcbiAgICBGb3JtaW9BbGVydHMsXG4gICAgQ3VzdG9tVGFnc1NlcnZpY2VcbiAgXSxcbiAgZW50cnlDb21wb25lbnRzOiBbXG4gICAgRm9ybWlvQ29tcG9uZW50LFxuICAgIEZvcm1CdWlsZGVyQ29tcG9uZW50XG4gIF1cbn0pXG5leHBvcnQgY2xhc3MgRm9ybWlvTW9kdWxlIHt9XG4iXX0=
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { Input, Output, EventEmitter, ViewChild, TemplateRef, Component } from '@angular/core';
|
|
2
|
-
import { each, clone } from 'lodash';
|
|
3
|
-
import { GridService } from './grid.service';
|
|
4
|
-
export class GridBodyComponent {
|
|
5
|
-
constructor(service) {
|
|
6
|
-
this.service = service;
|
|
7
|
-
this.firstItem = 0;
|
|
8
|
-
this.lastItem = 0;
|
|
9
|
-
this.skip = 0;
|
|
10
|
-
this.limit = 0;
|
|
11
|
-
this.total = 0;
|
|
12
|
-
this.rowSelect = new EventEmitter();
|
|
13
|
-
this.rowAction = new EventEmitter();
|
|
14
|
-
this.loading = true;
|
|
15
|
-
}
|
|
16
|
-
load(formio, query) {
|
|
17
|
-
return formio.loadForm(query);
|
|
18
|
-
}
|
|
19
|
-
onRowSelect(event, row) {
|
|
20
|
-
event.preventDefault();
|
|
21
|
-
this.rowSelect.emit(row);
|
|
22
|
-
}
|
|
23
|
-
onRowAction(event, row, action) {
|
|
24
|
-
event.preventDefault();
|
|
25
|
-
this.rowAction.emit({ row, action });
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Set the rows for this Grid body.
|
|
29
|
-
*
|
|
30
|
-
* @param query
|
|
31
|
-
* @param items
|
|
32
|
-
* @return any
|
|
33
|
-
*/
|
|
34
|
-
setRows(query, items) {
|
|
35
|
-
this.rows = [];
|
|
36
|
-
if (typeof items !== 'object') {
|
|
37
|
-
this.firstItem = 0;
|
|
38
|
-
this.lastItem = 0;
|
|
39
|
-
this.total = 0;
|
|
40
|
-
this.skip = 0;
|
|
41
|
-
this.loading = false;
|
|
42
|
-
this.service.setRows(this.rows);
|
|
43
|
-
return this.rows;
|
|
44
|
-
}
|
|
45
|
-
this.firstItem = query.skip + 1;
|
|
46
|
-
this.lastItem = this.firstItem + items.length - 1;
|
|
47
|
-
if (this.lastItem === 0) {
|
|
48
|
-
this.firstItem = 0;
|
|
49
|
-
}
|
|
50
|
-
this.total = items.serverCount;
|
|
51
|
-
this.limit = query.limit;
|
|
52
|
-
this.skip = Math.floor(items.skip / query.limit) + 1;
|
|
53
|
-
this.loading = false;
|
|
54
|
-
each(items, (item) => {
|
|
55
|
-
this.rows.push(clone(item));
|
|
56
|
-
});
|
|
57
|
-
this.service.setRows(this.rows);
|
|
58
|
-
return this.rows;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
GridBodyComponent.decorators = [
|
|
62
|
-
{ type: Component, args: [{
|
|
63
|
-
template: ''
|
|
64
|
-
},] }
|
|
65
|
-
];
|
|
66
|
-
GridBodyComponent.ctorParameters = () => [
|
|
67
|
-
{ type: GridService }
|
|
68
|
-
];
|
|
69
|
-
GridBodyComponent.propDecorators = {
|
|
70
|
-
header: [{ type: Input }],
|
|
71
|
-
actionAllowed: [{ type: Input }],
|
|
72
|
-
rowSelect: [{ type: Output }],
|
|
73
|
-
rowAction: [{ type: Output }],
|
|
74
|
-
template: [{ type: ViewChild, args: [TemplateRef, { static: true },] }]
|
|
75
|
-
};
|
|
76
|
-
//# sourceMappingURL=data:application/json;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oaXMubGFzdEl0ZW0gPSB0aGlzLmZpcnN0SXRlbSArIGl0ZW1zLmxlbmd0aCAtIDE7XG4gICAgaWYgKHRoaXMubGFzdEl0ZW0gPT09IDApIHtcbiAgICAgIHRoaXMuZmlyc3RJdGVtID0gMDtcbiAgICB9XG4gICAgdGhpcy50b3RhbCA9IGl0ZW1zLnNlcnZlckNvdW50O1xuICAgIHRoaXMubGltaXQgPSBxdWVyeS5saW1pdDtcbiAgICB0aGlzLnNraXAgPSBNYXRoLmZsb29yKGl0ZW1zLnNraXAgLyBxdWVyeS5saW1pdCkgKyAxO1xuICAgIHRoaXMubG9hZGluZyA9IGZhbHNlO1xuICAgIGVhY2goaXRlbXMsIChpdGVtOiBhbnkpID0+IHtcbiAgICAgIHRoaXMucm93cy5wdXNoKGNsb25lKGl0ZW0pKTtcbiAgICB9KTtcbiAgICB0aGlzLnNlcnZpY2Uuc2V0Um93cyh0aGlzLnJvd3MpO1xuXG4gICAgcmV0dXJuIHRoaXMucm93cztcbiAgfVxufVxuIl19
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { GridFooterPositions } from './types/grid-footer-positions';
|
|
2
|
-
import { Input, Output, ViewChild, TemplateRef, EventEmitter, Component } from '@angular/core';
|
|
3
|
-
export class GridFooterComponent {
|
|
4
|
-
constructor() {
|
|
5
|
-
this.footerPositions = GridFooterPositions;
|
|
6
|
-
this.pageChanged = new EventEmitter();
|
|
7
|
-
this.createItem = new EventEmitter();
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
GridFooterComponent.decorators = [
|
|
11
|
-
{ type: Component, args: [{
|
|
12
|
-
template: ''
|
|
13
|
-
},] }
|
|
14
|
-
];
|
|
15
|
-
GridFooterComponent.ctorParameters = () => [];
|
|
16
|
-
GridFooterComponent.propDecorators = {
|
|
17
|
-
header: [{ type: Input }],
|
|
18
|
-
body: [{ type: Input }],
|
|
19
|
-
createText: [{ type: Input }],
|
|
20
|
-
size: [{ type: Input }],
|
|
21
|
-
actionAllowed: [{ type: Input }],
|
|
22
|
-
pageChanged: [{ type: Output }],
|
|
23
|
-
createItem: [{ type: Output }],
|
|
24
|
-
template: [{ type: ViewChild, args: [TemplateRef, { static: true },] }]
|
|
25
|
-
};
|
|
26
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiR3JpZEZvb3RlckNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2dyaWQvc3JjL0dyaWRGb290ZXJDb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sK0JBQStCLENBQUM7QUFDcEUsT0FBTyxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxZQUFZLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBTy9GLE1BQU0sT0FBTyxtQkFBbUI7SUFZOUI7UUFGTyxvQkFBZSxHQUFHLG1CQUFtQixDQUFDO1FBRzNDLElBQUksQ0FBQyxXQUFXLEdBQUcsSUFBSSxZQUFZLEVBQUUsQ0FBQztRQUN0QyxJQUFJLENBQUMsVUFBVSxHQUFHLElBQUksWUFBWSxFQUFFLENBQUM7SUFDdkMsQ0FBQzs7O1lBbEJGLFNBQVMsU0FBQztnQkFDVCxRQUFRLEVBQUUsRUFBRTthQUNiOzs7O3FCQUVFLEtBQUs7bUJBQ0wsS0FBSzt5QkFDTCxLQUFLO21CQUNMLEtBQUs7NEJBQ0wsS0FBSzswQkFDTCxNQUFNO3lCQUNOLE1BQU07dUJBQ04sU0FBUyxTQUFDLFdBQVcsRUFBRSxFQUFDLE1BQU0sRUFBRSxJQUFJLEVBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBHcmlkRm9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ZW0gPSBuZXcgRXZlbnRFbWl0dGVyKCk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Output, EventEmitter, ViewChild, TemplateRef, Input, Component } from '@angular/core';
|
|
2
|
-
export class GridHeaderComponent {
|
|
3
|
-
constructor() {
|
|
4
|
-
this.headers = [];
|
|
5
|
-
this.sort = new EventEmitter();
|
|
6
|
-
}
|
|
7
|
-
get numHeaders() {
|
|
8
|
-
return this.headers.length;
|
|
9
|
-
}
|
|
10
|
-
load(formio, query, columns) {
|
|
11
|
-
return Promise.resolve([]);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
GridHeaderComponent.decorators = [
|
|
15
|
-
{ type: Component, args: [{
|
|
16
|
-
template: ''
|
|
17
|
-
},] }
|
|
18
|
-
];
|
|
19
|
-
GridHeaderComponent.ctorParameters = () => [];
|
|
20
|
-
GridHeaderComponent.propDecorators = {
|
|
21
|
-
actionAllowed: [{ type: Input }],
|
|
22
|
-
sort: [{ type: Output }],
|
|
23
|
-
template: [{ type: ViewChild, args: [TemplateRef, { static: true },] }]
|
|
24
|
-
};
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiR3JpZEhlYWRlckNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2dyaWQvc3JjL0dyaWRIZWFkZXJDb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxZQUFZLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxLQUFLLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBTy9GLE1BQU0sT0FBTyxtQkFBbUI7SUFLOUI7UUFDRSxJQUFJLENBQUMsT0FBTyxHQUFHL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xpYyBoZWFkZXJzOiBBcnJheTxHcmlkSGVhZGVyPjtcbiAgY29uc3RydWN0b3IoKSB7XG4gICAgdGhpcy5oZWFkZXJzID0gW107XG4gICAgdGhpcy5zb3J0ID0gbmV3IEV2ZW50RW1pdHRlcigpO1xuICB9XG5cbiAgZ2V0IG51bUhlYWRlcnMoKSB7XG4gICAgcmV0dXJuIHRoaXMuaGVhZGVycy5sZW5ndGg7XG4gIH1cblxuICBsb2FkKGZvcm1pbzogRm9ybWlvUHJvbWlzZVNlcnZpY2UsIHF1ZXJ5PzogYW55LCBjb2x1bW5zPzogQXJyYXk8YW55Pik6IFByb21pc2U8YW55PiB7XG4gICAgcmV0dXJuIFByb21pc2UucmVzb2x2ZShbXSk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { GridBodyComponent } from '../GridBodyComponent';
|
|
3
|
-
export class FormGridBodyComponent extends GridBodyComponent {
|
|
4
|
-
load(formio, query) {
|
|
5
|
-
query = query || {};
|
|
6
|
-
return formio.loadForms({ params: query }).then((forms) => this.setRows(query, forms));
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
FormGridBodyComponent.decorators = [
|
|
10
|
-
{ type: Component, args: [{
|
|
11
|
-
selector: 'form-grid-body',
|
|
12
|
-
template: "<ng-template>\n <tbody *ngIf=\"rows\">\n <tr *ngFor=\"let form of rows\">\n <td>\n <div class=\"row\">\n <div class=\"col-sm-8\">\n <a routerLink=\"{{form._id}}/view\" (click)=\"onRowSelect($event, form)\"><h5>{{ form.title }}</h5></a>\n <div class=\"form-updated small text-muted\">\n Updated {{ form.modified | timeSince }} ago\n </div>\n </div>\n <div class=\"col-sm-4\">\n <button *ngIf=\"actionAllowed('formView')\" class=\"btn btn-outline-secondary btn-sm form-btn form-btn-use\" (click)=\"onRowAction($event, form, 'view')\"><span class=\"fa fa-pencil\"></span> Enter Data</button> \n <button *ngIf=\"actionAllowed('formSubmission')\" class=\"btn btn-outline-secondary btn-sm form-btn\" (click)=\"onRowAction($event, form, 'submission')\"><span class=\"fa fa-list-alt\"></span> View Data</button> \n <button *ngIf=\"actionAllowed('formEdit')\" class=\"btn btn-outline-secondary btn-sm form-btn\" (click)=\"onRowAction($event, form, 'edit')\"><span class=\"fa fa-edit\"></span> Edit Form</button> \n <button *ngIf=\"actionAllowed('formPermission')\" class=\"btn btn-outline-secondary btn-sm form-btn\" (click)=\"onRowAction($event, form, 'permissions')\"><span class=\"fa fa-lock\"></span> Permissions</button> \n <button *ngIf=\"actionAllowed('formDelete')\" class=\"btn btn-danger btn-sm form-btn form-btn-delete\" (click)=\"onRowAction($event, form, 'delete')\" title=\"Delete form\"><span class=\"fa fa-trash\"></span></button>\n </div>\n </div>\n </td>\n </tr>\n </tbody>\n</ng-template>\n",
|
|
13
|
-
styles: [".form-btn{font-size:.75rem;margin:2px 0}\n"]
|
|
14
|
-
},] }
|
|
15
|
-
];
|
|
16
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRm9ybUdyaWRCb2R5LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2dyaWQvc3JjL2Zvcm0vRm9ybUdyaWRCb2R5LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFDLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBUXpELE1BQU0sT0FBTyxxQkFBc0IsU0FBUSxpQkFBaUI7SUFDMUQsSUFBSSxDQUFDLE1BQTRCLEVBQUUsS0FBVztRQUM1QyxLQUFLLEdBQUcsS0FBSyxJQUFJLEVBQUUsQ0FBQztRQUNwQix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X0=
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Component, ViewEncapsulation } from '@angular/core';
|
|
2
|
-
import { GridFooterComponent } from '../GridFooterComponent';
|
|
3
|
-
export class FormGridFooterComponent extends GridFooterComponent {
|
|
4
|
-
constructor() {
|
|
5
|
-
super();
|
|
6
|
-
}
|
|
7
|
-
ngOnInit() {
|
|
8
|
-
if (!this.createText) {
|
|
9
|
-
this.createText = 'Create Form';
|
|
10
|
-
}
|
|
11
|
-
if (!this.size) {
|
|
12
|
-
this.size = 7;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
FormGridFooterComponent.decorators = [
|
|
17
|
-
{ type: Component, args: [{
|
|
18
|
-
template: "<ng-template #footer let-position=\"position\" let-label=\"label\">\n <thead class=\"formio-grid-footer\" *ngIf=\"position === footerPositions.top\">\n <ng-container [ngTemplateOutlet]=\"defaultFooterTemplate\" [ngTemplateOutletContext]=\"{ label: label }\"></ng-container>\n </thead>\n <tfoot class=\"formio-grid-footer\" *ngIf=\"position === footerPositions.bottom\">\n <ng-container [ngTemplateOutlet]=\"defaultFooterTemplate\" [ngTemplateOutletContext]=\"{ label: label }\"></ng-container>\n </tfoot>\n</ng-template>\n\n<ng-template let-label=\"label\" #defaultFooterTemplate>\n <tr>\n <td *ngIf=\"header\" [colSpan]=\"header.numHeaders\">\n <button *ngIf=\"actionAllowed('formCreate')\" class=\"btn btn-primary form-btn-use pull-left float-left\" (click)=\"createItem.emit('form')\"><i class=\"glyphicon glyphicon-plus fa fa-plus\"></i> {{ createText }}</button>\n <span class=\"pull-right float-right item-counter\"><span class=\"page-num\">{{ body.firstItem }} - {{ body.lastItem }}</span> / {{ body.total }} total</span>\n <span [attr.aria-label]=\"label\" role=\"navigation\">\n <pagination [totalItems]=\"body.total\" [itemsPerPage]=\"body.limit\" [(ngModel)]=\"body.skip\" (pageChanged)=\"pageChanged.emit($event)\" [maxSize]=\"size\" class=\"justify-content-center pagination-sm\">\n </pagination>\n </span>\n </td>\n </tr>\n</ng-template>\n",
|
|
19
|
-
encapsulation: ViewEncapsulation.None,
|
|
20
|
-
styles: ["tfoot.formio-grid-footer td{padding:.3rem}tfoot.formio-grid-footer .page-num{font-size:1.4em}tfoot.formio-grid-footer ul.pagination{margin-top:5px;margin-bottom:0}\n"]
|
|
21
|
-
},] }
|
|
22
|
-
];
|
|
23
|
-
FormGridFooterComponent.ctorParameters = () => [];
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRm9ybUdyaWRGb290ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vZ3JpZC9zcmMvZm9ybS9Gb3JtR3JpZEZvb3Rlci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxpQkFBaUIsRUFBVSxNQUFNLGVBQWUsQ0FBQztBQUNwRSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQU83RCxNQUFNLE9BQU8sdUJBQXdCLFNBQVEsbUJBQW1CO0lBRTlEO1FBQ0UsS0FBSyxFQUFFLENBQUM7SUFDVixDQUFDO0lBRUQsUUFBUTtRQUNOLElBQUksQ0FBQyxJQUFJLENBQUMsVUFBVSxFQUFFO1lBQ3BCLElBQUksQ0FBQyxVQUFVLEdBQUcsYUFBYSxDQUFDO1NBQ2pDO1FBQ0QsSUFBSSxDQUFDLElBQUksQ0FBQyxJQUFJLEVBQUU7WUFDZCxJQUFJLENBQUMsSUFBSSxHQUFHLENBQUMsQ0FBQztTQUNmO0lBQ0gsQ0FBQzs7O1lBbEJGLFNBQVMsU0FBQztnQkFDVCx5NENBQThDO2dCQUU5QyxhQUFhLEVBQUUsaUJBQWlCLENBQUMsSUFBSTs7YUFDdEMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge0NvbXBvbmVudCwgVmlld0VuY2Fwc3VsYXRpb24sIE9uSW5pdCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgR3JpZEZvb3RlckNvbXBvbmVudCB9IGZyb20gJy4uL0dyaWRGb290ZXJDb21wb25lbnQnO1xuXG5AQ29tcG9uZW50KHtcbiAgdGVtcGxhdGVVcmw6ICcuL0Zvcm1HcmlkRm9vdGVyLmNvbXBvbmVudC5odG1sJyxcbiAgc3R5bGVVcmxzOiBbJy4uL2dyaWQuZm9vdGVyLnNjc3MnXSxcbiAgZW5jYXBzdWxhdGlvbjogVmlld0VuY2Fwc3VsYXRpb24uTm9uZVxufSlcbmV4cG9ydCBjbGFzcyBGb3JtR3JpZEZvb3RlckNvbXBvbmVudCBleHRlbmRzIEdyaWRGb290ZXJDb21wb25lbnQgaW1wbGVtZW50cyBPbkluaXQge1xuXG4gIGNvbnN0cnVjdG9yKCkge1xuICAgIHN1cGVyKCk7XG4gIH1cblxuICBuZ09uSW5pdCgpIHtcbiAgICBpZiAoIXRoaXMuY3JlYXRlVGV4dCkge1xuICAgICAgdGhpcy5jcmVhdGVUZXh0ID0gJ0NyZWF0ZSBGb3JtJztcbiAgICB9XG4gICAgaWYgKCF0aGlzLnNpemUpIHtcbiAgICAgIHRoaXMuc2l6ZSA9IDc7XG4gICAgfVxuICB9XG59XG4iXX0=
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { GridHeaderComponent } from '../GridHeaderComponent';
|
|
3
|
-
import { SortType } from '../types/grid-header';
|
|
4
|
-
export class FormGridHeaderComponent extends GridHeaderComponent {
|
|
5
|
-
load(formio) {
|
|
6
|
-
this.header = {
|
|
7
|
-
label: 'Title',
|
|
8
|
-
key: 'title',
|
|
9
|
-
sort: SortType.ASC
|
|
10
|
-
};
|
|
11
|
-
this.headers = [this.header];
|
|
12
|
-
return Promise.resolve(this.headers);
|
|
13
|
-
}
|
|
14
|
-
get numHeaders() {
|
|
15
|
-
return 2;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
FormGridHeaderComponent.decorators = [
|
|
19
|
-
{ type: Component, args: [{
|
|
20
|
-
selector: 'form-grid-header',
|
|
21
|
-
template: "<ng-template>\n <thead>\n <tr>\n <th>\n <div class=\"row\">\n <div class=\"col-sm-8\">\n <a (click)=\"sort.emit(header)\">\n {{ header.label }} <span [ngClass]=\"{'glyphicon-triangle-top fa-caret-up': (header.sort === 'asc'), 'glyphicon-triangle-bottom fa-caret-down': (header.sort === 'desc')}\" class=\"glyphicon fa\" *ngIf=\"header.sort\"></span>\n </a>\n </div>\n <div class=\"col-sm-4\">\n Operations\n </div>\n </div>\n </th>\n </tr>\n </thead>\n</ng-template>\n"
|
|
22
|
-
},] }
|
|
23
|
-
];
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRm9ybUdyaWRIZWFkZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vZ3JpZC9zcmMvZm9ybS9Gb3JtR3JpZEhlYWRlci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN4QyxPQUFPLEVBQUMsbUJBQW1CLEVBQUMsTUFBTSx3QkFBd0IsQ0FBQztBQUMzRCxPQUFPLEVBQWEsUUFBUSxFQUFDLE1BQU0sc0JBQXNCLENBQUM7QUFNMUQsTUFBTSxPQUFPLHVCQUF3QixTQUFRLG1CQUFtQjtJQUU5RCxJQUFJLENBQUMsTUFBWTtRQUNmLElBQUksQ0FBQyxNQUFNLEdBQUc7WUFDWixLQUFLLEVBQ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tcbiAgICB0aGlzLmhlYWRlcnMgPSBbdGhpcy5oZWFkZXJdO1xuICAgIHJldHVybiBQcm9taXNlLnJlc29sdmUodGhpcy5oZWFkZXJzKTtcbiAgfVxuXG4gIGdldCBudW1IZWFkZXJzKCkge1xuICAgIHJldHVybiAyO1xuICB9XG59XG4iXX0=
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Pipe } from '@angular/core';
|
|
2
|
-
export class TimeSince {
|
|
3
|
-
transform(date) {
|
|
4
|
-
const elapsed = (new Date().getTime() - new Date(date).getTime()) / 1000;
|
|
5
|
-
let interval;
|
|
6
|
-
if (interval >= 1) {
|
|
7
|
-
return interval + ' year' + (interval > 1 ? 's' : '');
|
|
8
|
-
}
|
|
9
|
-
interval = Math.floor(elapsed / 2592000);
|
|
10
|
-
if (interval >= 1) {
|
|
11
|
-
return interval + ' month' + (interval > 1 ? 's' : '');
|
|
12
|
-
}
|
|
13
|
-
interval = Math.floor(elapsed / 86400);
|
|
14
|
-
if (interval >= 1) {
|
|
15
|
-
return interval + ' day' + (interval > 1 ? 's' : '');
|
|
16
|
-
}
|
|
17
|
-
interval = Math.floor(elapsed / 3600);
|
|
18
|
-
if (interval >= 1) {
|
|
19
|
-
return interval + ' hour' + (interval > 1 ? 's' : '');
|
|
20
|
-
}
|
|
21
|
-
interval = Math.floor(elapsed / 60);
|
|
22
|
-
if (interval >= 1) {
|
|
23
|
-
return interval + ' minute' + (interval > 1 ? 's' : '');
|
|
24
|
-
}
|
|
25
|
-
return Math.floor(elapsed) + ' second' + (elapsed > 1 ? 's' : '');
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
TimeSince.decorators = [
|
|
29
|
-
{ type: Pipe, args: [{
|
|
30
|
-
name: 'timeSince'
|
|
31
|
-
},] }
|
|
32
|
-
];
|
|
33
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGltZS1zaW5jZS5waXBlLmpzIiwic291cmNlUm9vd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pO1xuICAgIH1cbiAgICByZXR1cm4gTWF0aC5mbG9vcihlbGFwc2VkKSArICcgc2Vjb25kJyArIChlbGFwc2VkID4gMSA/ICdzJyA6ICcnKTtcbiAgfVxufSJdfQ==
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public_api';
|
|
5
|
-
export { TimeSince as ɵa } from './form/time-since.pipe';
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWlvLWFuZ3VsYXItZ3JpZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2dyaWQvc3JjL2Zvcm1pby1hbmd1bGFyLWdyaWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQztBQUU3QixPQUFPLEVBQUMsU0FBUyxJQUFJLEVBQUUsRUFBQyxNQUFNLHdCQUF3QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpY19hcGknO1xuXG5leHBvcnQge1RpbWVTaW5jZSBhcyDJtWF9IGZyb20gJy4vZm9ybS90aW1lLXNpbmNlLnBpcGUnOyJdfQ==
|