@formio/angular 5.2.1-rc.2 → 5.3.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{dist/angular-formio/FormioBaseComponent.d.ts → FormioBaseComponent.d.ts} +0 -0
- package/{dist/angular-formio/FormioBaseComponent.d.ts.map → FormioBaseComponent.d.ts.map} +0 -0
- package/README.md +13 -170
- package/{dist/angular-formio/auth → auth}/auth.component.d.ts +0 -0
- package/{dist/angular-formio/auth → auth}/auth.component.d.ts.map +0 -0
- package/{dist/angular-formio/auth → auth}/auth.config.d.ts +0 -0
- package/{dist/angular-formio/auth → auth}/auth.config.d.ts.map +0 -0
- package/{dist/angular-formio/auth → auth}/auth.module.d.ts +0 -0
- package/{dist/angular-formio/auth → auth}/auth.module.d.ts.map +0 -0
- package/{dist/angular-formio/auth → auth}/auth.routes.d.ts +0 -0
- package/{dist/angular-formio/auth → auth}/auth.routes.d.ts.map +0 -0
- package/{dist/angular-formio/auth → auth}/auth.service.d.ts +0 -0
- package/{dist/angular-formio/auth → auth}/auth.service.d.ts.map +0 -0
- package/{dist/angular-formio/auth → auth}/formio-angular-auth.d.ts +0 -0
- package/{dist/angular-formio/auth → auth}/formio-angular-auth.d.ts.map +0 -0
- package/{dist/angular-formio/auth → auth}/index.d.ts +0 -0
- package/{dist/angular-formio/auth → auth}/index.d.ts.map +0 -0
- package/{dist/angular-formio/auth → auth}/login/login.component.d.ts +0 -0
- package/{dist/angular-formio/auth → auth}/login/login.component.d.ts.map +0 -0
- package/auth/package.json +10 -0
- package/{dist/angular-formio/auth → auth}/public_api.d.ts +0 -0
- package/{dist/angular-formio/auth → auth}/public_api.d.ts.map +0 -0
- package/{dist/angular-formio/auth → auth}/register/register.component.d.ts +0 -0
- package/{dist/angular-formio/auth → auth}/register/register.component.d.ts.map +0 -0
- package/{dist/angular-formio/auth → auth}/resetpass/resetpass.component.d.ts +0 -0
- package/{dist/angular-formio/auth → auth}/resetpass/resetpass.component.d.ts.map +0 -0
- package/{dist/angular-formio/components → components}/alerts/formio.alerts.component.d.ts +0 -0
- package/{dist/angular-formio/components → components}/alerts/formio.alerts.component.d.ts.map +0 -0
- package/{dist/angular-formio/components → components}/alerts/formio.alerts.d.ts +0 -0
- package/{dist/angular-formio/components → components}/alerts/formio.alerts.d.ts.map +0 -0
- package/{dist/angular-formio/components → components}/alerts/parse-html-content.pipe.d.ts +0 -0
- package/{dist/angular-formio/components → components}/alerts/parse-html-content.pipe.d.ts.map +0 -0
- package/{dist/angular-formio/components → components}/formbuilder/formbuilder.component.d.ts +0 -0
- package/{dist/angular-formio/components → components}/formbuilder/formbuilder.component.d.ts.map +0 -0
- package/{dist/angular-formio/components → components}/formio/formio.component.d.ts +0 -0
- package/{dist/angular-formio/components → components}/formio/formio.component.d.ts.map +0 -0
- package/{dist/angular-formio/components → components}/loader/formio.loader.component.d.ts +0 -0
- package/{dist/angular-formio/components → components}/loader/formio.loader.component.d.ts.map +0 -0
- package/{dist/angular-formio/core.d.ts → core.d.ts} +0 -0
- package/{dist/angular-formio/core.d.ts.map → core.d.ts.map} +0 -0
- package/{dist/angular-formio/custom-component → custom-component}/create-custom-component.d.ts +0 -0
- package/{dist/angular-formio/custom-component → custom-component}/create-custom-component.d.ts.map +0 -0
- package/{dist/angular-formio/custom-component → custom-component}/custom-tags.service.d.ts +0 -0
- package/{dist/angular-formio/custom-component → custom-component}/custom-tags.service.d.ts.map +0 -0
- package/{dist/angular-formio/custom-component → custom-component}/register-custom-component.d.ts +0 -0
- package/{dist/angular-formio/custom-component → custom-component}/register-custom-component.d.ts.map +0 -0
- package/{dist/angular-formio/elements.common.d.ts → elements.common.d.ts} +0 -0
- package/{dist/angular-formio/elements.common.d.ts.map → elements.common.d.ts.map} +0 -0
- package/esm2020/FormioBaseComponent.mjs +491 -0
- package/esm2020/auth/auth.component.mjs +12 -0
- package/esm2020/auth/auth.config.mjs +15 -0
- package/esm2020/auth/auth.module.mjs +48 -0
- package/{dist/angular-formio/esm2015/auth/auth.routes.js → esm2020/auth/auth.routes.mjs} +0 -0
- package/{dist/angular-formio/esm2015/auth/auth.service.js → esm2020/auth/auth.service.mjs} +6 -6
- package/{dist/angular-formio/esm2015/auth/formio-angular-auth.js → esm2020/auth/formio-angular-auth.mjs} +0 -0
- package/{dist/angular-formio/esm2015/auth/index.js → esm2020/auth/index.mjs} +0 -0
- package/esm2020/auth/login/login.component.mjs +16 -0
- package/{dist/angular-formio/esm2015/auth/public_api.js → esm2020/auth/public_api.mjs} +0 -0
- package/esm2020/auth/register/register.component.mjs +16 -0
- package/esm2020/auth/resetpass/resetpass.component.mjs +16 -0
- package/esm2020/components/alerts/formio.alerts.component.mjs +29 -0
- package/{dist/angular-formio/esm2015/components/alerts/formio.alerts.js → esm2020/components/alerts/formio.alerts.mjs} +0 -0
- package/esm2020/components/alerts/parse-html-content.pipe.mjs +19 -0
- package/esm2020/components/formbuilder/formbuilder.component.mjs +190 -0
- package/esm2020/components/formio/formio.component.mjs +40 -0
- package/esm2020/components/loader/formio.loader.component.mjs +14 -0
- package/{dist/angular-formio/esm2015/core.js → esm2020/core.mjs} +0 -0
- package/esm2020/custom-component/create-custom-component.mjs +144 -0
- package/esm2020/custom-component/custom-tags.service.mjs +16 -0
- package/{dist/angular-formio/esm2015/custom-component/register-custom-component.js → esm2020/custom-component/register-custom-component.mjs} +0 -0
- package/{dist/angular-formio/esm2015/elements.common.js → esm2020/elements.common.mjs} +0 -0
- package/{dist/angular-formio/esm2015/formio-angular.js → esm2020/formio-angular.mjs} +0 -0
- package/{dist/angular-formio/esm2015/formio-promise.service.js → esm2020/formio-promise.service.mjs} +0 -0
- package/{dist/angular-formio/esm2015/formio.common.js → esm2020/formio.common.mjs} +0 -0
- package/esm2020/formio.config.mjs +14 -0
- package/esm2020/formio.module.mjs +60 -0
- package/{dist/angular-formio/esm2015/formio.service.js → esm2020/formio.service.mjs} +0 -0
- package/{dist/angular-formio/esm2015/formio.utils.js → esm2020/formio.utils.mjs} +0 -0
- package/esm2020/grid/GridBodyComponent.mjs +81 -0
- package/esm2020/grid/GridFooterComponent.mjs +36 -0
- package/esm2020/grid/GridHeaderComponent.mjs +30 -0
- package/esm2020/grid/form/FormGridBody.component.mjs +19 -0
- package/esm2020/grid/form/FormGridFooter.component.mjs +26 -0
- package/esm2020/grid/form/FormGridHeader.component.mjs +26 -0
- package/{dist/angular-formio/esm2015/grid/form/index.js → esm2020/grid/form/index.mjs} +0 -0
- package/{dist/angular-formio/esm2015/grid/form/time-since.pipe.js → esm2020/grid/form/time-since.pipe.mjs} +9 -9
- package/{dist/angular-formio/esm2015/grid/formio-angular-grid.js → esm2020/grid/formio-angular-grid.mjs} +0 -0
- package/esm2020/grid/grid.component.mjs +230 -0
- package/esm2020/grid/grid.module.mjs +89 -0
- package/esm2020/grid/grid.service.mjs +17 -0
- package/{dist/angular-formio/esm2015/grid/index.js → esm2020/grid/index.mjs} +0 -0
- package/{dist/angular-formio/esm2015/grid/public_api.js → esm2020/grid/public_api.mjs} +0 -0
- package/esm2020/grid/submission/SubmissionGridBody.component.mjs +43 -0
- package/esm2020/grid/submission/SubmissionGridFooter.component.mjs +23 -0
- package/esm2020/grid/submission/SubmissionGridHeader.component.mjs +61 -0
- package/{dist/angular-formio/esm2015/grid/submission/index.js → esm2020/grid/submission/index.mjs} +0 -0
- package/{dist/angular-formio/esm2015/grid/types/grid-column.js → esm2020/grid/types/grid-column.mjs} +0 -0
- package/{dist/angular-formio/esm2015/grid/types/grid-footer-positions.js → esm2020/grid/types/grid-footer-positions.mjs} +0 -0
- package/{dist/angular-formio/esm2015/grid/types/grid-header.js → esm2020/grid/types/grid-header.mjs} +0 -0
- package/{dist/angular-formio/esm2015/index.js → esm2020/index.mjs} +0 -0
- package/esm2020/manager/create/create.component.mjs +18 -0
- package/esm2020/manager/delete/delete.component.mjs +37 -0
- package/esm2020/manager/edit/edit.component.mjs +109 -0
- package/esm2020/manager/form/form.component.mjs +70 -0
- package/esm2020/manager/form-manager.config.mjs +15 -0
- package/esm2020/manager/form-manager.module.mjs +85 -0
- package/{dist/angular-formio/esm2015/manager/form-manager.routes.js → esm2020/manager/form-manager.routes.mjs} +0 -0
- package/{dist/angular-formio/esm2015/manager/form-manager.service.js → esm2020/manager/form-manager.service.mjs} +6 -6
- package/{dist/angular-formio/esm2015/manager/formio-angular-manager.js → esm2020/manager/formio-angular-manager.mjs} +0 -0
- package/esm2020/manager/index/index.component.mjs +84 -0
- package/{dist/angular-formio/esm2015/manager/index.js → esm2020/manager/index.mjs} +0 -0
- package/{dist/angular-formio/esm2015/manager/public_api.js → esm2020/manager/public_api.mjs} +0 -0
- package/esm2020/manager/submission/delete/delete.component.mjs +28 -0
- package/esm2020/manager/submission/edit/edit.component.mjs +22 -0
- package/esm2020/manager/submission/index/index.component.mjs +22 -0
- package/esm2020/manager/submission/submission/submission.component.mjs +26 -0
- package/esm2020/manager/submission/view/view.component.mjs +16 -0
- package/esm2020/manager/view/view.component.mjs +42 -0
- package/{dist/angular-formio/esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
- package/esm2020/resource/create/create.component.mjs +37 -0
- package/esm2020/resource/delete/delete.component.mjs +26 -0
- package/esm2020/resource/edit/edit.component.mjs +36 -0
- package/{dist/angular-formio/esm2015/resource/formio-angular-resource.js → esm2020/resource/formio-angular-resource.mjs} +0 -0
- package/esm2020/resource/index/index.component.mjs +61 -0
- package/{dist/angular-formio/esm2015/resource/index.js → esm2020/resource/index.mjs} +0 -0
- package/{dist/angular-formio/esm2015/resource/public_api.js → esm2020/resource/public_api.mjs} +0 -0
- package/esm2020/resource/resource.component.mjs +46 -0
- package/esm2020/resource/resource.config.mjs +15 -0
- package/esm2020/resource/resource.module.mjs +64 -0
- package/{dist/angular-formio/esm2015/resource/resource.routes.js → esm2020/resource/resource.routes.mjs} +0 -0
- package/{dist/angular-formio/esm2015/resource/resource.service.js → esm2020/resource/resource.service.mjs} +8 -8
- package/esm2020/resource/resources.service.mjs +22 -0
- package/esm2020/resource/view/view.component.mjs +23 -0
- package/{dist/angular-formio/esm2015/types/alerts-position.js → esm2020/types/alerts-position.mjs} +0 -0
- package/{dist/angular-formio/esm2015/types/formio-metadata.js → esm2020/types/formio-metadata.mjs} +0 -0
- package/{dist/angular-formio/esm2015/types/formio-submission.js → esm2020/types/formio-submission.mjs} +0 -0
- package/{dist/angular-formio/fesm2015/formio-angular-auth.js → fesm2015/formio-angular-auth.mjs} +59 -111
- package/fesm2015/formio-angular-auth.mjs.map +1 -0
- package/fesm2015/formio-angular-grid.mjs +691 -0
- package/fesm2015/formio-angular-grid.mjs.map +1 -0
- package/fesm2015/formio-angular-manager.mjs +739 -0
- package/fesm2015/formio-angular-manager.mjs.map +1 -0
- package/fesm2015/formio-angular-resource.mjs +511 -0
- package/fesm2015/formio-angular-resource.mjs.map +1 -0
- package/fesm2015/formio-angular.mjs +1138 -0
- package/fesm2015/formio-angular.mjs.map +1 -0
- package/fesm2020/formio-angular-auth.mjs +296 -0
- package/fesm2020/formio-angular-auth.mjs.map +1 -0
- package/fesm2020/formio-angular-grid.mjs +690 -0
- package/fesm2020/formio-angular-grid.mjs.map +1 -0
- package/fesm2020/formio-angular-manager.mjs +739 -0
- package/fesm2020/formio-angular-manager.mjs.map +1 -0
- package/fesm2020/formio-angular-resource.mjs +509 -0
- package/fesm2020/formio-angular-resource.mjs.map +1 -0
- package/fesm2020/formio-angular.mjs +1146 -0
- package/fesm2020/formio-angular.mjs.map +1 -0
- package/{dist/angular-formio/formio-angular.d.ts → formio-angular.d.ts} +0 -0
- package/{dist/angular-formio/formio-angular.d.ts.map → formio-angular.d.ts.map} +0 -0
- package/{dist/angular-formio/formio-promise.service.d.ts → formio-promise.service.d.ts} +0 -0
- package/{dist/angular-formio/formio-promise.service.d.ts.map → formio-promise.service.d.ts.map} +0 -0
- package/{dist/angular-formio/formio.common.d.ts → formio.common.d.ts} +0 -0
- package/{dist/angular-formio/formio.common.d.ts.map → formio.common.d.ts.map} +0 -0
- package/{dist/angular-formio/formio.config.d.ts → formio.config.d.ts} +0 -0
- package/{dist/angular-formio/formio.config.d.ts.map → formio.config.d.ts.map} +0 -0
- package/{dist/angular-formio/formio.module.d.ts → formio.module.d.ts} +0 -0
- package/{dist/angular-formio/formio.module.d.ts.map → formio.module.d.ts.map} +0 -0
- package/{dist/angular-formio/formio.service.d.ts → formio.service.d.ts} +0 -0
- package/{dist/angular-formio/formio.service.d.ts.map → formio.service.d.ts.map} +0 -0
- package/{dist/angular-formio/formio.utils.d.ts → formio.utils.d.ts} +0 -0
- package/{dist/angular-formio/formio.utils.d.ts.map → formio.utils.d.ts.map} +0 -0
- package/{dist/angular-formio/grid → grid}/GridBodyComponent.d.ts +0 -0
- package/{dist/angular-formio/grid → grid}/GridBodyComponent.d.ts.map +0 -0
- package/{dist/angular-formio/grid → grid}/GridFooterComponent.d.ts +0 -0
- package/{dist/angular-formio/grid → grid}/GridFooterComponent.d.ts.map +0 -0
- package/{dist/angular-formio/grid → grid}/GridHeaderComponent.d.ts +0 -0
- package/{dist/angular-formio/grid → grid}/GridHeaderComponent.d.ts.map +0 -0
- package/{dist/angular-formio/grid → grid}/form/FormGridBody.component.d.ts +0 -0
- package/{dist/angular-formio/grid → grid}/form/FormGridBody.component.d.ts.map +0 -0
- package/{dist/angular-formio/grid → grid}/form/FormGridFooter.component.d.ts +0 -0
- package/{dist/angular-formio/grid → grid}/form/FormGridFooter.component.d.ts.map +0 -0
- package/{dist/angular-formio/grid → grid}/form/FormGridHeader.component.d.ts +0 -0
- package/{dist/angular-formio/grid → grid}/form/FormGridHeader.component.d.ts.map +0 -0
- package/{dist/angular-formio/grid → grid}/form/index.d.ts +0 -0
- package/{dist/angular-formio/grid → grid}/form/index.d.ts.map +0 -0
- package/{dist/angular-formio/grid → grid}/form/time-since.pipe.d.ts +0 -0
- package/{dist/angular-formio/grid → grid}/form/time-since.pipe.d.ts.map +0 -0
- package/{dist/angular-formio/grid → grid}/formio-angular-grid.d.ts +0 -0
- package/{dist/angular-formio/grid → grid}/formio-angular-grid.d.ts.map +0 -0
- package/{dist/angular-formio/grid → grid}/grid.component.d.ts +0 -0
- package/{dist/angular-formio/grid → grid}/grid.component.d.ts.map +0 -0
- package/{dist/angular-formio/grid → grid}/grid.module.d.ts +0 -0
- package/{dist/angular-formio/grid → grid}/grid.module.d.ts.map +0 -0
- package/{dist/angular-formio/grid → grid}/grid.service.d.ts +0 -0
- package/{dist/angular-formio/grid → grid}/grid.service.d.ts.map +0 -0
- package/{dist/angular-formio/grid → grid}/index.d.ts +0 -0
- package/{dist/angular-formio/grid → grid}/index.d.ts.map +0 -0
- package/grid/package.json +10 -0
- package/{dist/angular-formio/grid → grid}/public_api.d.ts +0 -0
- package/{dist/angular-formio/grid → grid}/public_api.d.ts.map +0 -0
- package/{dist/angular-formio/grid → grid}/submission/SubmissionGridBody.component.d.ts +0 -0
- package/{dist/angular-formio/grid → grid}/submission/SubmissionGridBody.component.d.ts.map +0 -0
- package/{dist/angular-formio/grid → grid}/submission/SubmissionGridFooter.component.d.ts +0 -0
- package/{dist/angular-formio/grid → grid}/submission/SubmissionGridFooter.component.d.ts.map +0 -0
- package/{dist/angular-formio/grid → grid}/submission/SubmissionGridHeader.component.d.ts +0 -0
- package/{dist/angular-formio/grid → grid}/submission/SubmissionGridHeader.component.d.ts.map +0 -0
- package/{dist/angular-formio/grid → grid}/submission/index.d.ts +0 -0
- package/{dist/angular-formio/grid → grid}/submission/index.d.ts.map +0 -0
- package/{dist/angular-formio/grid → grid}/types/grid-column.d.ts +0 -0
- package/{dist/angular-formio/grid → grid}/types/grid-column.d.ts.map +0 -0
- package/{dist/angular-formio/grid → grid}/types/grid-footer-positions.d.ts +0 -0
- package/{dist/angular-formio/grid → grid}/types/grid-footer-positions.d.ts.map +0 -0
- package/{dist/angular-formio/grid → grid}/types/grid-header.d.ts +0 -0
- package/{dist/angular-formio/grid → grid}/types/grid-header.d.ts.map +0 -0
- package/{dist/angular-formio/index.d.ts → index.d.ts} +0 -0
- package/{dist/angular-formio/index.d.ts.map → index.d.ts.map} +0 -0
- package/{dist/angular-formio/manager → manager}/create/create.component.d.ts +0 -0
- package/{dist/angular-formio/manager → manager}/create/create.component.d.ts.map +0 -0
- package/{dist/angular-formio/manager → manager}/delete/delete.component.d.ts +0 -0
- package/{dist/angular-formio/manager → manager}/delete/delete.component.d.ts.map +0 -0
- package/{dist/angular-formio/manager → manager}/edit/edit.component.d.ts +0 -0
- package/{dist/angular-formio/manager → manager}/edit/edit.component.d.ts.map +0 -0
- package/{dist/angular-formio/manager → manager}/form/form.component.d.ts +0 -0
- package/{dist/angular-formio/manager → manager}/form/form.component.d.ts.map +0 -0
- package/{dist/angular-formio/manager → manager}/form-manager.config.d.ts +0 -0
- package/{dist/angular-formio/manager → manager}/form-manager.config.d.ts.map +0 -0
- package/{dist/angular-formio/manager → manager}/form-manager.module.d.ts +0 -0
- package/{dist/angular-formio/manager → manager}/form-manager.module.d.ts.map +0 -0
- package/{dist/angular-formio/manager → manager}/form-manager.routes.d.ts +0 -0
- package/{dist/angular-formio/manager → manager}/form-manager.routes.d.ts.map +0 -0
- package/{dist/angular-formio/manager → manager}/form-manager.service.d.ts +0 -0
- package/{dist/angular-formio/manager → manager}/form-manager.service.d.ts.map +0 -0
- package/{dist/angular-formio/manager → manager}/formio-angular-manager.d.ts +0 -0
- package/{dist/angular-formio/manager → manager}/formio-angular-manager.d.ts.map +0 -0
- package/{dist/angular-formio/manager → manager}/index/index.component.d.ts +0 -0
- package/{dist/angular-formio/manager → manager}/index/index.component.d.ts.map +0 -0
- package/{dist/angular-formio/manager → manager}/index.d.ts +0 -0
- package/{dist/angular-formio/manager → manager}/index.d.ts.map +0 -0
- package/manager/package.json +10 -0
- package/{dist/angular-formio/manager → manager}/public_api.d.ts +0 -0
- package/{dist/angular-formio/manager → manager}/public_api.d.ts.map +0 -0
- package/{dist/angular-formio/manager → manager}/submission/delete/delete.component.d.ts +0 -0
- package/{dist/angular-formio/manager → manager}/submission/delete/delete.component.d.ts.map +0 -0
- package/{dist/angular-formio/manager → manager}/submission/edit/edit.component.d.ts +0 -0
- package/{dist/angular-formio/manager → manager}/submission/edit/edit.component.d.ts.map +0 -0
- package/{dist/angular-formio/manager → manager}/submission/index/index.component.d.ts +0 -0
- package/{dist/angular-formio/manager → manager}/submission/index/index.component.d.ts.map +0 -0
- package/{dist/angular-formio/manager → manager}/submission/submission/submission.component.d.ts +0 -0
- package/{dist/angular-formio/manager → manager}/submission/submission/submission.component.d.ts.map +0 -0
- package/{dist/angular-formio/manager → manager}/submission/view/view.component.d.ts +0 -0
- package/{dist/angular-formio/manager → manager}/submission/view/view.component.d.ts.map +0 -0
- package/{dist/angular-formio/manager → manager}/view/view.component.d.ts +0 -0
- package/{dist/angular-formio/manager → manager}/view/view.component.d.ts.map +0 -0
- package/package.json +71 -51
- package/{dist/angular-formio/public-api.d.ts → public-api.d.ts} +0 -0
- package/{dist/angular-formio/public-api.d.ts.map → public-api.d.ts.map} +0 -0
- package/{dist/angular-formio/resource → resource}/create/create.component.d.ts +0 -0
- package/{dist/angular-formio/resource → resource}/create/create.component.d.ts.map +0 -0
- package/{dist/angular-formio/resource → resource}/delete/delete.component.d.ts +0 -0
- package/{dist/angular-formio/resource → resource}/delete/delete.component.d.ts.map +0 -0
- package/{dist/angular-formio/resource → resource}/edit/edit.component.d.ts +0 -0
- package/{dist/angular-formio/resource → resource}/edit/edit.component.d.ts.map +0 -0
- package/{dist/angular-formio/resource → resource}/formio-angular-resource.d.ts +0 -0
- package/{dist/angular-formio/resource → resource}/formio-angular-resource.d.ts.map +0 -0
- package/{dist/angular-formio/resource → resource}/index/index.component.d.ts +0 -0
- package/{dist/angular-formio/resource → resource}/index/index.component.d.ts.map +0 -0
- package/{dist/angular-formio/resource → resource}/index.d.ts +0 -0
- package/{dist/angular-formio/resource → resource}/index.d.ts.map +0 -0
- package/resource/package.json +10 -0
- package/{dist/angular-formio/resource → resource}/public_api.d.ts +0 -0
- package/{dist/angular-formio/resource → resource}/public_api.d.ts.map +0 -0
- package/{dist/angular-formio/resource → resource}/resource.component.d.ts +0 -0
- package/{dist/angular-formio/resource → resource}/resource.component.d.ts.map +0 -0
- package/{dist/angular-formio/resource → resource}/resource.config.d.ts +0 -0
- package/{dist/angular-formio/resource → resource}/resource.config.d.ts.map +0 -0
- package/{dist/angular-formio/resource → resource}/resource.module.d.ts +0 -0
- package/{dist/angular-formio/resource → resource}/resource.module.d.ts.map +0 -0
- package/{dist/angular-formio/resource → resource}/resource.routes.d.ts +0 -0
- package/{dist/angular-formio/resource → resource}/resource.routes.d.ts.map +0 -0
- package/{dist/angular-formio/resource → resource}/resource.service.d.ts +0 -0
- package/{dist/angular-formio/resource → resource}/resource.service.d.ts.map +0 -0
- package/{dist/angular-formio/resource → resource}/resources.service.d.ts +0 -0
- package/{dist/angular-formio/resource → resource}/resources.service.d.ts.map +0 -0
- package/{dist/angular-formio/resource → resource}/view/view.component.d.ts +0 -0
- package/{dist/angular-formio/resource → resource}/view/view.component.d.ts.map +0 -0
- package/{dist/angular-formio/types → types}/alerts-position.d.ts +0 -0
- package/{dist/angular-formio/types → types}/alerts-position.d.ts.map +0 -0
- package/{dist/angular-formio/types → types}/formio-metadata.d.ts +0 -0
- package/{dist/angular-formio/types → types}/formio-metadata.d.ts.map +0 -0
- package/{dist/angular-formio/types → types}/formio-submission.d.ts +0 -0
- package/{dist/angular-formio/types → types}/formio-submission.d.ts.map +0 -0
- package/.dockerignore +0 -5
- package/.editorconfig +0 -13
- package/.github/ISSUE_TEMPLATE/bug_report.md +0 -38
- package/.github/ISSUE_TEMPLATE/custom-components-support-request.md +0 -15
- package/.github/ISSUE_TEMPLATE/question.md +0 -8
- package/.travis.yml +0 -4
- package/.yo-rc.json +0 -7
- package/CHANGELOG.md +0 -1008
- package/Dockerfile +0 -20
- package/LICENSE +0 -21
- package/angular.json +0 -51
- package/bs-config.json +0 -11
- package/dist/angular-formio/README.md +0 -24
- package/dist/angular-formio/auth/package.json +0 -10
- package/dist/angular-formio/bundles/formio-angular-auth.umd.js +0 -421
- package/dist/angular-formio/bundles/formio-angular-auth.umd.js.map +0 -1
- package/dist/angular-formio/bundles/formio-angular-grid.umd.js +0 -1725
- package/dist/angular-formio/bundles/formio-angular-grid.umd.js.map +0 -1
- package/dist/angular-formio/bundles/formio-angular-manager.umd.js +0 -1648
- package/dist/angular-formio/bundles/formio-angular-manager.umd.js.map +0 -1
- package/dist/angular-formio/bundles/formio-angular-resource.umd.js +0 -720
- package/dist/angular-formio/bundles/formio-angular-resource.umd.js.map +0 -1
- package/dist/angular-formio/bundles/formio-angular.umd.js +0 -1729
- package/dist/angular-formio/bundles/formio-angular.umd.js.map +0 -1
- package/dist/angular-formio/esm2015/FormioBaseComponent.js +0 -497
- package/dist/angular-formio/esm2015/auth/auth.component.js +0 -39
- package/dist/angular-formio/esm2015/auth/auth.config.js +0 -15
- package/dist/angular-formio/esm2015/auth/auth.module.js +0 -49
- package/dist/angular-formio/esm2015/auth/login/login.component.js +0 -24
- package/dist/angular-formio/esm2015/auth/register/register.component.js +0 -24
- package/dist/angular-formio/esm2015/auth/resetpass/resetpass.component.js +0 -24
- package/dist/angular-formio/esm2015/components/alerts/formio.alerts.component.js +0 -49
- package/dist/angular-formio/esm2015/components/alerts/parse-html-content.pipe.js +0 -19
- package/dist/angular-formio/esm2015/components/formbuilder/formbuilder.component.js +0 -203
- package/dist/angular-formio/esm2015/components/formio/formio.component.js +0 -87
- package/dist/angular-formio/esm2015/components/loader/formio.loader.component.js +0 -27
- package/dist/angular-formio/esm2015/custom-component/create-custom-component.js +0 -130
- package/dist/angular-formio/esm2015/custom-component/custom-tags.service.js +0 -16
- package/dist/angular-formio/esm2015/formio.config.js +0 -14
- package/dist/angular-formio/esm2015/formio.module.js +0 -61
- package/dist/angular-formio/esm2015/grid/GridBodyComponent.js +0 -86
- package/dist/angular-formio/esm2015/grid/GridFooterComponent.js +0 -41
- package/dist/angular-formio/esm2015/grid/GridHeaderComponent.js +0 -35
- package/dist/angular-formio/esm2015/grid/form/FormGridBody.component.js +0 -130
- package/dist/angular-formio/esm2015/grid/form/FormGridFooter.component.js +0 -118
- package/dist/angular-formio/esm2015/grid/form/FormGridHeader.component.js +0 -65
- package/dist/angular-formio/esm2015/grid/grid.component.js +0 -302
- package/dist/angular-formio/esm2015/grid/grid.module.js +0 -90
- package/dist/angular-formio/esm2015/grid/grid.service.js +0 -18
- package/dist/angular-formio/esm2015/grid/submission/SubmissionGridBody.component.js +0 -75
- package/dist/angular-formio/esm2015/grid/submission/SubmissionGridFooter.component.js +0 -107
- package/dist/angular-formio/esm2015/grid/submission/SubmissionGridHeader.component.js +0 -99
- package/dist/angular-formio/esm2015/manager/create/create.component.js +0 -68
- package/dist/angular-formio/esm2015/manager/delete/delete.component.js +0 -56
- package/dist/angular-formio/esm2015/manager/edit/edit.component.js +0 -170
- package/dist/angular-formio/esm2015/manager/form/form.component.js +0 -192
- package/dist/angular-formio/esm2015/manager/form-manager.config.js +0 -15
- package/dist/angular-formio/esm2015/manager/form-manager.module.js +0 -86
- package/dist/angular-formio/esm2015/manager/index/index.component.js +0 -130
- package/dist/angular-formio/esm2015/manager/submission/delete/delete.component.js +0 -47
- package/dist/angular-formio/esm2015/manager/submission/edit/edit.component.js +0 -30
- package/dist/angular-formio/esm2015/manager/submission/index/index.component.js +0 -30
- package/dist/angular-formio/esm2015/manager/submission/submission/submission.component.js +0 -75
- package/dist/angular-formio/esm2015/manager/submission/view/view.component.js +0 -24
- package/dist/angular-formio/esm2015/manager/view/view.component.js +0 -57
- package/dist/angular-formio/esm2015/resource/create/create.component.js +0 -61
- package/dist/angular-formio/esm2015/resource/delete/delete.component.js +0 -42
- package/dist/angular-formio/esm2015/resource/edit/edit.component.js +0 -44
- package/dist/angular-formio/esm2015/resource/index/index.component.js +0 -72
- package/dist/angular-formio/esm2015/resource/resource.component.js +0 -83
- package/dist/angular-formio/esm2015/resource/resource.config.js +0 -15
- package/dist/angular-formio/esm2015/resource/resource.module.js +0 -65
- package/dist/angular-formio/esm2015/resource/resources.service.js +0 -22
- package/dist/angular-formio/esm2015/resource/view/view.component.js +0 -29
- package/dist/angular-formio/fesm2015/formio-angular-auth.js.map +0 -1
- package/dist/angular-formio/fesm2015/formio-angular-grid.js +0 -1175
- package/dist/angular-formio/fesm2015/formio-angular-grid.js.map +0 -1
- package/dist/angular-formio/fesm2015/formio-angular-manager.js +0 -1145
- package/dist/angular-formio/fesm2015/formio-angular-manager.js.map +0 -1
- package/dist/angular-formio/fesm2015/formio-angular-resource.js +0 -612
- package/dist/angular-formio/fesm2015/formio-angular-resource.js.map +0 -1
- package/dist/angular-formio/fesm2015/formio-angular.js +0 -1232
- package/dist/angular-formio/fesm2015/formio-angular.js.map +0 -1
- package/dist/angular-formio/grid/package.json +0 -10
- package/dist/angular-formio/manager/package.json +0 -10
- package/dist/angular-formio/package.json +0 -49
- package/dist/angular-formio/resource/package.json +0 -10
- package/projects/angular-formio/README.md +0 -24
- package/projects/angular-formio/auth/package.json +0 -10
- package/projects/angular-formio/auth/src/auth.component.html +0 -12
- package/projects/angular-formio/auth/src/auth.component.ts +0 -5
- package/projects/angular-formio/auth/src/auth.config.ts +0 -72
- package/projects/angular-formio/auth/src/auth.module.ts +0 -33
- package/projects/angular-formio/auth/src/auth.routes.ts +0 -34
- package/projects/angular-formio/auth/src/auth.service.ts +0 -201
- package/projects/angular-formio/auth/src/index.ts +0 -8
- package/projects/angular-formio/auth/src/login/login.component.html +0 -1
- package/projects/angular-formio/auth/src/login/login.component.ts +0 -8
- package/projects/angular-formio/auth/src/public_api.ts +0 -5
- package/projects/angular-formio/auth/src/register/register.component.html +0 -1
- package/projects/angular-formio/auth/src/register/register.component.ts +0 -8
- package/projects/angular-formio/auth/src/resetpass/resetpass.component.html +0 -1
- package/projects/angular-formio/auth/src/resetpass/resetpass.component.ts +0 -8
- package/projects/angular-formio/grid/package.json +0 -11
- package/projects/angular-formio/grid/src/GridBodyComponent.ts +0 -80
- package/projects/angular-formio/grid/src/GridFooterComponent.ts +0 -25
- package/projects/angular-formio/grid/src/GridHeaderComponent.ts +0 -25
- package/projects/angular-formio/grid/src/form/FormGridBody.component.html +0 -23
- package/projects/angular-formio/grid/src/form/FormGridBody.component.scss +0 -4
- package/projects/angular-formio/grid/src/form/FormGridBody.component.ts +0 -15
- package/projects/angular-formio/grid/src/form/FormGridFooter.component.html +0 -21
- package/projects/angular-formio/grid/src/form/FormGridFooter.component.ts +0 -23
- package/projects/angular-formio/grid/src/form/FormGridHeader.component.html +0 -18
- package/projects/angular-formio/grid/src/form/FormGridHeader.component.ts +0 -24
- package/projects/angular-formio/grid/src/form/index.ts +0 -8
- package/projects/angular-formio/grid/src/form/time-since.pipe.ts +0 -31
- package/projects/angular-formio/grid/src/grid.component.html +0 -18
- package/projects/angular-formio/grid/src/grid.component.scss +0 -9
- package/projects/angular-formio/grid/src/grid.component.ts +0 -242
- package/projects/angular-formio/grid/src/grid.footer.scss +0 -14
- package/projects/angular-formio/grid/src/grid.module.ts +0 -57
- package/projects/angular-formio/grid/src/grid.service.ts +0 -16
- package/projects/angular-formio/grid/src/index.ts +0 -12
- package/projects/angular-formio/grid/src/public_api.ts +0 -5
- package/projects/angular-formio/grid/src/submission/SubmissionGridBody.component.html +0 -7
- package/projects/angular-formio/grid/src/submission/SubmissionGridBody.component.ts +0 -39
- package/projects/angular-formio/grid/src/submission/SubmissionGridFooter.component.html +0 -18
- package/projects/angular-formio/grid/src/submission/SubmissionGridFooter.component.ts +0 -20
- package/projects/angular-formio/grid/src/submission/SubmissionGridHeader.component.html +0 -11
- package/projects/angular-formio/grid/src/submission/SubmissionGridHeader.component.ts +0 -72
- package/projects/angular-formio/grid/src/submission/index.ts +0 -8
- package/projects/angular-formio/grid/src/types/grid-column.ts +0 -7
- package/projects/angular-formio/grid/src/types/grid-footer-positions.ts +0 -5
- package/projects/angular-formio/grid/src/types/grid-header.ts +0 -14
- package/projects/angular-formio/karma.conf.js +0 -32
- package/projects/angular-formio/manager/package.json +0 -15
- package/projects/angular-formio/manager/src/create/create.component.ts +0 -11
- package/projects/angular-formio/manager/src/delete/delete.component.html +0 -6
- package/projects/angular-formio/manager/src/delete/delete.component.ts +0 -37
- package/projects/angular-formio/manager/src/edit/edit.component.html +0 -19
- package/projects/angular-formio/manager/src/edit/edit.component.ts +0 -107
- package/projects/angular-formio/manager/src/form/form.component.html +0 -32
- package/projects/angular-formio/manager/src/form/form.component.ts +0 -73
- package/projects/angular-formio/manager/src/form-manager.config.ts +0 -26
- package/projects/angular-formio/manager/src/form-manager.module.ts +0 -54
- package/projects/angular-formio/manager/src/form-manager.routes.ts +0 -75
- package/projects/angular-formio/manager/src/form-manager.service.ts +0 -195
- package/projects/angular-formio/manager/src/index/index.component.html +0 -14
- package/projects/angular-formio/manager/src/index/index.component.scss +0 -22
- package/projects/angular-formio/manager/src/index/index.component.ts +0 -84
- package/projects/angular-formio/manager/src/index.ts +0 -16
- package/projects/angular-formio/manager/src/public_api.ts +0 -5
- package/projects/angular-formio/manager/src/submission/delete/delete.component.html +0 -6
- package/projects/angular-formio/manager/src/submission/delete/delete.component.ts +0 -26
- package/projects/angular-formio/manager/src/submission/edit/edit.component.html +0 -7
- package/projects/angular-formio/manager/src/submission/edit/edit.component.ts +0 -18
- package/projects/angular-formio/manager/src/submission/index/index.component.html +0 -1
- package/projects/angular-formio/manager/src/submission/index/index.component.ts +0 -18
- package/projects/angular-formio/manager/src/submission/submission/submission.component.html +0 -8
- package/projects/angular-formio/manager/src/submission/submission/submission.component.ts +0 -24
- package/projects/angular-formio/manager/src/submission/view/view.component.html +0 -7
- package/projects/angular-formio/manager/src/submission/view/view.component.ts +0 -9
- package/projects/angular-formio/manager/src/view/view.component.html +0 -10
- package/projects/angular-formio/manager/src/view/view.component.ts +0 -41
- package/projects/angular-formio/ng-package.json +0 -14
- package/projects/angular-formio/package.json +0 -39
- package/projects/angular-formio/resource/package.json +0 -11
- package/projects/angular-formio/resource/src/create/create.component.html +0 -13
- package/projects/angular-formio/resource/src/create/create.component.scss +0 -3
- package/projects/angular-formio/resource/src/create/create.component.ts +0 -37
- package/projects/angular-formio/resource/src/delete/delete.component.html +0 -5
- package/projects/angular-formio/resource/src/delete/delete.component.ts +0 -24
- package/projects/angular-formio/resource/src/edit/edit.component.html +0 -6
- package/projects/angular-formio/resource/src/edit/edit.component.ts +0 -33
- package/projects/angular-formio/resource/src/index/index.component.html +0 -10
- package/projects/angular-formio/resource/src/index/index.component.ts +0 -66
- package/projects/angular-formio/resource/src/index.js +0 -24
- package/projects/angular-formio/resource/src/index.ts +0 -11
- package/projects/angular-formio/resource/src/public_api.ts +0 -5
- package/projects/angular-formio/resource/src/resource.component.html +0 -7
- package/projects/angular-formio/resource/src/resource.component.ts +0 -48
- package/projects/angular-formio/resource/src/resource.config.ts +0 -17
- package/projects/angular-formio/resource/src/resource.module.ts +0 -43
- package/projects/angular-formio/resource/src/resource.routes.ts +0 -43
- package/projects/angular-formio/resource/src/resource.service.ts +0 -232
- package/projects/angular-formio/resource/src/resources.service.ts +0 -24
- package/projects/angular-formio/resource/src/view/view.component.html +0 -6
- package/projects/angular-formio/resource/src/view/view.component.ts +0 -19
- package/projects/angular-formio/src/FormioBaseComponent.ts +0 -507
- package/projects/angular-formio/src/components/alerts/formio.alerts.component.html +0 -3
- package/projects/angular-formio/src/components/alerts/formio.alerts.component.ts +0 -19
- package/projects/angular-formio/src/components/alerts/formio.alerts.ts +0 -21
- package/projects/angular-formio/src/components/alerts/parse-html-content.pipe.ts +0 -15
- package/projects/angular-formio/src/components/formbuilder/formbuilder.component.html +0 -1
- package/projects/angular-formio/src/components/formbuilder/formbuilder.component.ts +0 -216
- package/projects/angular-formio/src/components/formio/formio.component.html +0 -8
- package/projects/angular-formio/src/components/formio/formio.component.ts +0 -33
- package/projects/angular-formio/src/components/loader/formio.loader.component.html +0 -3
- package/projects/angular-formio/src/components/loader/formio.loader.component.scss +0 -26
- package/projects/angular-formio/src/components/loader/formio.loader.component.ts +0 -10
- package/projects/angular-formio/src/core.ts +0 -21
- package/projects/angular-formio/src/custom-component/create-custom-component.ts +0 -173
- package/projects/angular-formio/src/custom-component/custom-tags.service.ts +0 -10
- package/projects/angular-formio/src/custom-component/register-custom-component.ts +0 -41
- package/projects/angular-formio/src/elements.common.ts +0 -31
- package/projects/angular-formio/src/formio-promise.service.ts +0 -36
- package/projects/angular-formio/src/formio.common.ts +0 -81
- package/projects/angular-formio/src/formio.config.ts +0 -9
- package/projects/angular-formio/src/formio.module.ts +0 -39
- package/projects/angular-formio/src/formio.service.ts +0 -57
- package/projects/angular-formio/src/formio.utils.ts +0 -23
- package/projects/angular-formio/src/index.ts +0 -5
- package/projects/angular-formio/src/public-api.ts +0 -5
- package/projects/angular-formio/src/test.ts +0 -26
- package/projects/angular-formio/src/types/alerts-position.ts +0 -6
- package/projects/angular-formio/src/types/formio-metadata.ts +0 -10
- package/projects/angular-formio/src/types/formio-submission.ts +0 -20
- package/projects/angular-formio/tsconfig.lib.json +0 -27
- package/projects/angular-formio/tsconfig.lib.prod.json +0 -8
- package/projects/angular-formio/tsconfig.spec.json +0 -17
- package/projects/angular-formio/tslint.json +0 -17
- package/tsconfig.json +0 -28
- package/tslint.json +0 -140
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { Output, EventEmitter, ViewChild, TemplateRef, Input, Component } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class GridHeaderComponent {
|
|
4
|
-
constructor() {
|
|
5
|
-
this.headers = [];
|
|
6
|
-
this.sort = new EventEmitter();
|
|
7
|
-
}
|
|
8
|
-
get numHeaders() {
|
|
9
|
-
return this.headers.length;
|
|
10
|
-
}
|
|
11
|
-
load(formio, query, columns) {
|
|
12
|
-
return Promise.resolve([]);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
GridHeaderComponent.ɵfac = function GridHeaderComponent_Factory(t) { return new (t || GridHeaderComponent)(); };
|
|
16
|
-
GridHeaderComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: GridHeaderComponent, selectors: [["ng-component"]], viewQuery: function GridHeaderComponent_Query(rf, ctx) { if (rf & 1) {
|
|
17
|
-
i0.ɵɵviewQuery(TemplateRef, 7);
|
|
18
|
-
} if (rf & 2) {
|
|
19
|
-
let _t;
|
|
20
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.template = _t.first);
|
|
21
|
-
} }, inputs: { actionAllowed: "actionAllowed" }, outputs: { sort: "sort" }, decls: 0, vars: 0, template: function GridHeaderComponent_Template(rf, ctx) { }, encapsulation: 2 });
|
|
22
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GridHeaderComponent, [{
|
|
23
|
-
type: Component,
|
|
24
|
-
args: [{
|
|
25
|
-
template: ''
|
|
26
|
-
}]
|
|
27
|
-
}], function () { return []; }, { actionAllowed: [{
|
|
28
|
-
type: Input
|
|
29
|
-
}], sort: [{
|
|
30
|
-
type: Output
|
|
31
|
-
}], template: [{
|
|
32
|
-
type: ViewChild,
|
|
33
|
-
args: [TemplateRef, { static: true }]
|
|
34
|
-
}] }); })();
|
|
35
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiR3JpZEhlYWRlckNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2dyaWQvc3JjL0dyaWRIZWFkZXJDb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxZQUFZLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxLQUFLLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQU8vRixNQUFNLE9BQU8sbUJBQW1CO0lBSzlCO1FBQ0UsSUFBSSxDQUFDLE9BQU8sR0FBRyxFQUFFLENBQUM7UUFDbEIsSUF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G4gIEBWaWV3Q2hpbGQoVGVtcGxhdGVSZWYsIHtzdGF0aWM6IHRydWV9KSB0ZW1wbGF0ZTogVGVtcGxhdGVSZWY8YW55PjtcbiAgcHVibGljIGhlYWRlcnM6IEFycmF5PEdyaWRIZWFkZXI+O1xuICBjb25zdHJ1Y3RvcigpIHtcbiAgICB0aGlzLmhlYWRlcnMgPSBbXTtcbiAgICB0aGlzLnNvcnQgPSBuZXcgRXZlbnRFbWl0dGVyKCk7XG4gIH1cblxuICBnZXQgbnVtSGVhZGVycygpIHtcbiAgICByZXR1cm4gdGhpcy5oZWFkZXJzLmxlbmd0aDtcbiAgfVxuXG4gIGxvYWQoZm9ybWlvOiBGb3JtaW9Qcm9taXNlU2VydmljZSwgcXVlcnk/OiBhbnksIGNvbHVtbnM/OiBBcnJheTxhbnk+KTogUHJvbWlzZTxhbnk+IHtcbiAgICByZXR1cm4gUHJvbWlzZS5yZXNvbHZlKFtdKTtcbiAgfVxufVxuIl19
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { GridBodyComponent } from '../GridBodyComponent';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/common";
|
|
5
|
-
import * as i2 from "@angular/router";
|
|
6
|
-
import * as i3 from "./time-since.pipe";
|
|
7
|
-
function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_11_Template(rf, ctx) { if (rf & 1) {
|
|
8
|
-
const _r11 = i0.ɵɵgetCurrentView();
|
|
9
|
-
i0.ɵɵelementStart(0, "button", 10);
|
|
10
|
-
i0.ɵɵlistener("click", function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_11_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r11); const form_r3 = i0.ɵɵnextContext().$implicit; const ctx_r9 = i0.ɵɵnextContext(3); return ctx_r9.onRowAction($event, form_r3, "view"); });
|
|
11
|
-
i0.ɵɵelement(1, "span", 11);
|
|
12
|
-
i0.ɵɵtext(2, " Enter Data");
|
|
13
|
-
i0.ɵɵelementEnd();
|
|
14
|
-
} }
|
|
15
|
-
function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_13_Template(rf, ctx) { if (rf & 1) {
|
|
16
|
-
const _r14 = i0.ɵɵgetCurrentView();
|
|
17
|
-
i0.ɵɵelementStart(0, "button", 12);
|
|
18
|
-
i0.ɵɵlistener("click", function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_13_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r14); const form_r3 = i0.ɵɵnextContext().$implicit; const ctx_r12 = i0.ɵɵnextContext(3); return ctx_r12.onRowAction($event, form_r3, "submission"); });
|
|
19
|
-
i0.ɵɵelement(1, "span", 13);
|
|
20
|
-
i0.ɵɵtext(2, " View Data");
|
|
21
|
-
i0.ɵɵelementEnd();
|
|
22
|
-
} }
|
|
23
|
-
function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_15_Template(rf, ctx) { if (rf & 1) {
|
|
24
|
-
const _r17 = i0.ɵɵgetCurrentView();
|
|
25
|
-
i0.ɵɵelementStart(0, "button", 12);
|
|
26
|
-
i0.ɵɵlistener("click", function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_15_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r17); const form_r3 = i0.ɵɵnextContext().$implicit; const ctx_r15 = i0.ɵɵnextContext(3); return ctx_r15.onRowAction($event, form_r3, "edit"); });
|
|
27
|
-
i0.ɵɵelement(1, "span", 14);
|
|
28
|
-
i0.ɵɵtext(2, " Edit Form");
|
|
29
|
-
i0.ɵɵelementEnd();
|
|
30
|
-
} }
|
|
31
|
-
function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_17_Template(rf, ctx) { if (rf & 1) {
|
|
32
|
-
const _r20 = i0.ɵɵgetCurrentView();
|
|
33
|
-
i0.ɵɵelementStart(0, "button", 12);
|
|
34
|
-
i0.ɵɵlistener("click", function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_17_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r20); const form_r3 = i0.ɵɵnextContext().$implicit; const ctx_r18 = i0.ɵɵnextContext(3); return ctx_r18.onRowAction($event, form_r3, "permissions"); });
|
|
35
|
-
i0.ɵɵelement(1, "span", 15);
|
|
36
|
-
i0.ɵɵtext(2, " Permissions");
|
|
37
|
-
i0.ɵɵelementEnd();
|
|
38
|
-
} }
|
|
39
|
-
function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_19_Template(rf, ctx) { if (rf & 1) {
|
|
40
|
-
const _r23 = i0.ɵɵgetCurrentView();
|
|
41
|
-
i0.ɵɵelementStart(0, "button", 16);
|
|
42
|
-
i0.ɵɵlistener("click", function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_19_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r23); const form_r3 = i0.ɵɵnextContext().$implicit; const ctx_r21 = i0.ɵɵnextContext(3); return ctx_r21.onRowAction($event, form_r3, "delete"); });
|
|
43
|
-
i0.ɵɵelement(1, "span", 17);
|
|
44
|
-
i0.ɵɵelementEnd();
|
|
45
|
-
} }
|
|
46
|
-
function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
47
|
-
const _r25 = i0.ɵɵgetCurrentView();
|
|
48
|
-
i0.ɵɵelementStart(0, "tr");
|
|
49
|
-
i0.ɵɵelementStart(1, "td");
|
|
50
|
-
i0.ɵɵelementStart(2, "div", 2);
|
|
51
|
-
i0.ɵɵelementStart(3, "div", 3);
|
|
52
|
-
i0.ɵɵelementStart(4, "a", 4);
|
|
53
|
-
i0.ɵɵlistener("click", function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_Template_a_click_4_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r25); const form_r3 = restoredCtx.$implicit; const ctx_r24 = i0.ɵɵnextContext(3); return ctx_r24.onRowSelect($event, form_r3); });
|
|
54
|
-
i0.ɵɵelementStart(5, "h5");
|
|
55
|
-
i0.ɵɵtext(6);
|
|
56
|
-
i0.ɵɵelementEnd();
|
|
57
|
-
i0.ɵɵelementEnd();
|
|
58
|
-
i0.ɵɵelementStart(7, "div", 5);
|
|
59
|
-
i0.ɵɵtext(8);
|
|
60
|
-
i0.ɵɵpipe(9, "timeSince");
|
|
61
|
-
i0.ɵɵelementEnd();
|
|
62
|
-
i0.ɵɵelementEnd();
|
|
63
|
-
i0.ɵɵelementStart(10, "div", 6);
|
|
64
|
-
i0.ɵɵtemplate(11, FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_11_Template, 3, 0, "button", 7);
|
|
65
|
-
i0.ɵɵtext(12, "\u00A0 ");
|
|
66
|
-
i0.ɵɵtemplate(13, FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_13_Template, 3, 0, "button", 8);
|
|
67
|
-
i0.ɵɵtext(14, "\u00A0 ");
|
|
68
|
-
i0.ɵɵtemplate(15, FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_15_Template, 3, 0, "button", 8);
|
|
69
|
-
i0.ɵɵtext(16, "\u00A0 ");
|
|
70
|
-
i0.ɵɵtemplate(17, FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_17_Template, 3, 0, "button", 8);
|
|
71
|
-
i0.ɵɵtext(18, "\u00A0 ");
|
|
72
|
-
i0.ɵɵtemplate(19, FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_19_Template, 2, 0, "button", 9);
|
|
73
|
-
i0.ɵɵelementEnd();
|
|
74
|
-
i0.ɵɵelementEnd();
|
|
75
|
-
i0.ɵɵelementEnd();
|
|
76
|
-
i0.ɵɵelementEnd();
|
|
77
|
-
} if (rf & 2) {
|
|
78
|
-
const form_r3 = ctx.$implicit;
|
|
79
|
-
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
80
|
-
i0.ɵɵadvance(4);
|
|
81
|
-
i0.ɵɵpropertyInterpolate1("routerLink", "", form_r3._id, "/view");
|
|
82
|
-
i0.ɵɵadvance(2);
|
|
83
|
-
i0.ɵɵtextInterpolate(form_r3.title);
|
|
84
|
-
i0.ɵɵadvance(2);
|
|
85
|
-
i0.ɵɵtextInterpolate1(" Updated ", i0.ɵɵpipeBind1(9, 8, form_r3.modified), " ago ");
|
|
86
|
-
i0.ɵɵadvance(3);
|
|
87
|
-
i0.ɵɵproperty("ngIf", ctx_r2.actionAllowed("formView"));
|
|
88
|
-
i0.ɵɵadvance(2);
|
|
89
|
-
i0.ɵɵproperty("ngIf", ctx_r2.actionAllowed("formSubmission"));
|
|
90
|
-
i0.ɵɵadvance(2);
|
|
91
|
-
i0.ɵɵproperty("ngIf", ctx_r2.actionAllowed("formEdit"));
|
|
92
|
-
i0.ɵɵadvance(2);
|
|
93
|
-
i0.ɵɵproperty("ngIf", ctx_r2.actionAllowed("formPermission"));
|
|
94
|
-
i0.ɵɵadvance(2);
|
|
95
|
-
i0.ɵɵproperty("ngIf", ctx_r2.actionAllowed("formDelete"));
|
|
96
|
-
} }
|
|
97
|
-
function FormGridBodyComponent_ng_template_0_tbody_0_Template(rf, ctx) { if (rf & 1) {
|
|
98
|
-
i0.ɵɵelementStart(0, "tbody");
|
|
99
|
-
i0.ɵɵtemplate(1, FormGridBodyComponent_ng_template_0_tbody_0_tr_1_Template, 20, 10, "tr", 1);
|
|
100
|
-
i0.ɵɵelementEnd();
|
|
101
|
-
} if (rf & 2) {
|
|
102
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
103
|
-
i0.ɵɵadvance(1);
|
|
104
|
-
i0.ɵɵproperty("ngForOf", ctx_r1.rows);
|
|
105
|
-
} }
|
|
106
|
-
function FormGridBodyComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
107
|
-
i0.ɵɵtemplate(0, FormGridBodyComponent_ng_template_0_tbody_0_Template, 2, 1, "tbody", 0);
|
|
108
|
-
} if (rf & 2) {
|
|
109
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
110
|
-
i0.ɵɵproperty("ngIf", ctx_r0.rows);
|
|
111
|
-
} }
|
|
112
|
-
export class FormGridBodyComponent extends GridBodyComponent {
|
|
113
|
-
load(formio, query) {
|
|
114
|
-
query = query || {};
|
|
115
|
-
return formio.loadForms({ params: query }).then((forms) => this.setRows(query, forms));
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
FormGridBodyComponent.ɵfac = /*@__PURE__*/ function () { let ɵFormGridBodyComponent_BaseFactory; return function FormGridBodyComponent_Factory(t) { return (ɵFormGridBodyComponent_BaseFactory || (ɵFormGridBodyComponent_BaseFactory = i0.ɵɵgetInheritedFactory(FormGridBodyComponent)))(t || FormGridBodyComponent); }; }();
|
|
119
|
-
FormGridBodyComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormGridBodyComponent, selectors: [["form-grid-body"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 0, consts: [[4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "row"], [1, "col-sm-8"], [3, "routerLink", "click"], [1, "form-updated", "small", "text-muted"], [1, "col-sm-4"], ["class", "btn btn-outline-secondary btn-sm form-btn form-btn-use", 3, "click", 4, "ngIf"], ["class", "btn btn-outline-secondary btn-sm form-btn", 3, "click", 4, "ngIf"], ["class", "btn btn-danger btn-sm form-btn form-btn-delete", "title", "Delete form", 3, "click", 4, "ngIf"], [1, "btn", "btn-outline-secondary", "btn-sm", "form-btn", "form-btn-use", 3, "click"], [1, "fa", "fa-pencil"], [1, "btn", "btn-outline-secondary", "btn-sm", "form-btn", 3, "click"], [1, "fa", "fa-list-alt"], [1, "fa", "fa-edit"], [1, "fa", "fa-lock"], ["title", "Delete form", 1, "btn", "btn-danger", "btn-sm", "form-btn", "form-btn-delete", 3, "click"], [1, "fa", "fa-trash"]], template: function FormGridBodyComponent_Template(rf, ctx) { if (rf & 1) {
|
|
120
|
-
i0.ɵɵtemplate(0, FormGridBodyComponent_ng_template_0_Template, 1, 1, "ng-template");
|
|
121
|
-
} }, directives: [i1.NgIf, i1.NgForOf, i2.RouterLinkWithHref], pipes: [i3.TimeSince], styles: [".form-btn[_ngcontent-%COMP%]{font-size:.75rem;margin:2px 0}"] });
|
|
122
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormGridBodyComponent, [{
|
|
123
|
-
type: Component,
|
|
124
|
-
args: [{
|
|
125
|
-
selector: 'form-grid-body',
|
|
126
|
-
styleUrls: ['./FormGridBody.component.scss'],
|
|
127
|
-
templateUrl: './FormGridBody.component.html'
|
|
128
|
-
}]
|
|
129
|
-
}], null, null); })();
|
|
130
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRm9ybUdyaWRCb2R5LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2dyaWQvc3JjL2Zvcm0vRm9ybUdyaWRCb2R5LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2dyaWQvc3JjL2Zvcm0vRm9ybUdyaWRCb2R5LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDMUMsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sc0JBQXNCLENBQUM7Ozs7Ozs7SUNXN0Msa0NBQXFKO0lBQTVDLDJSQUFtQyxNQUFNLEtBQUU7SUFBQywyQkFBa0M7SUFBQywyQkFBVTtJQUFBLGlCQUFTOzs7O0lBQzNNLGtDQUFvSjtJQUFsRCw2UkFBbUMsWUFBWSxLQUFFO0lBQUMsMkJBQW9DO0lBQUMsMEJBQVM7SUFBQSxpQkFBUzs7OztJQUMzTSxrQ0FBd0k7SUFBNUMsNlJBQW1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ICAgPGJ1dHRvbiAqbmdJZj1cImFjdGlvbkFsbG93ZWQoJ2Zvcm1EZWxldGUnKVwiIGNsYXNzPVwiYnRuIGJ0bi1kYW5nZXIgYnRuLXNtIGZvcm0tYnRuIGZvcm0tYnRuLWRlbGV0ZVwiIChjbGljayk9XCJvblJvd0FjdGlvbigkZXZlbnQsIGZvcm0sICdkZWxldGUnKVwiIHRpdGxlPVwiRGVsZXRlIGZvcm1cIj48c3BhbiBjbGFzcz1cImZhIGZhLXRyYXNoXCI+PC9zcGFuPjwvYnV0dG9uPlxuICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L2Rpdj5cbiAgICAgIDwvdGQ+XG4gICAgPC90cj5cbiAgPC90Ym9keT5cbjwvbmctdGVtcGxhdGU+XG4iXX0=
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
import { Component, ViewEncapsulation } from '@angular/core';
|
|
2
|
-
import { GridFooterComponent } from '../GridFooterComponent';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/common";
|
|
5
|
-
import * as i2 from "ngx-bootstrap/pagination";
|
|
6
|
-
import * as i3 from "@angular/forms";
|
|
7
|
-
const _c0 = function (a0) { return { label: a0 }; };
|
|
8
|
-
function FormGridFooterComponent_ng_template_0_thead_0_Template(rf, ctx) { if (rf & 1) {
|
|
9
|
-
i0.ɵɵelementStart(0, "thead", 3);
|
|
10
|
-
i0.ɵɵelementContainer(1, 4);
|
|
11
|
-
i0.ɵɵelementEnd();
|
|
12
|
-
} if (rf & 2) {
|
|
13
|
-
const label_r5 = i0.ɵɵnextContext().label;
|
|
14
|
-
i0.ɵɵnextContext();
|
|
15
|
-
const _r2 = i0.ɵɵreference(3);
|
|
16
|
-
i0.ɵɵadvance(1);
|
|
17
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r2)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0, label_r5));
|
|
18
|
-
} }
|
|
19
|
-
function FormGridFooterComponent_ng_template_0_tfoot_1_Template(rf, ctx) { if (rf & 1) {
|
|
20
|
-
i0.ɵɵelementStart(0, "tfoot", 3);
|
|
21
|
-
i0.ɵɵelementContainer(1, 4);
|
|
22
|
-
i0.ɵɵelementEnd();
|
|
23
|
-
} if (rf & 2) {
|
|
24
|
-
const label_r5 = i0.ɵɵnextContext().label;
|
|
25
|
-
i0.ɵɵnextContext();
|
|
26
|
-
const _r2 = i0.ɵɵreference(3);
|
|
27
|
-
i0.ɵɵadvance(1);
|
|
28
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r2)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0, label_r5));
|
|
29
|
-
} }
|
|
30
|
-
function FormGridFooterComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
31
|
-
i0.ɵɵtemplate(0, FormGridFooterComponent_ng_template_0_thead_0_Template, 2, 4, "thead", 2);
|
|
32
|
-
i0.ɵɵtemplate(1, FormGridFooterComponent_ng_template_0_tfoot_1_Template, 2, 4, "tfoot", 2);
|
|
33
|
-
} if (rf & 2) {
|
|
34
|
-
const position_r4 = ctx.position;
|
|
35
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
36
|
-
i0.ɵɵproperty("ngIf", position_r4 === ctx_r1.footerPositions.top);
|
|
37
|
-
i0.ɵɵadvance(1);
|
|
38
|
-
i0.ɵɵproperty("ngIf", position_r4 === ctx_r1.footerPositions.bottom);
|
|
39
|
-
} }
|
|
40
|
-
function FormGridFooterComponent_ng_template_2_td_1_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
41
|
-
const _r14 = i0.ɵɵgetCurrentView();
|
|
42
|
-
i0.ɵɵelementStart(0, "button", 12);
|
|
43
|
-
i0.ɵɵlistener("click", function FormGridFooterComponent_ng_template_2_td_1_button_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r14); const ctx_r13 = i0.ɵɵnextContext(3); return ctx_r13.createItem.emit("form"); });
|
|
44
|
-
i0.ɵɵelement(1, "i", 13);
|
|
45
|
-
i0.ɵɵtext(2);
|
|
46
|
-
i0.ɵɵelementEnd();
|
|
47
|
-
} if (rf & 2) {
|
|
48
|
-
const ctx_r12 = i0.ɵɵnextContext(3);
|
|
49
|
-
i0.ɵɵadvance(2);
|
|
50
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r12.createText, "");
|
|
51
|
-
} }
|
|
52
|
-
function FormGridFooterComponent_ng_template_2_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
53
|
-
const _r16 = i0.ɵɵgetCurrentView();
|
|
54
|
-
i0.ɵɵelementStart(0, "td", 6);
|
|
55
|
-
i0.ɵɵtemplate(1, FormGridFooterComponent_ng_template_2_td_1_button_1_Template, 3, 1, "button", 7);
|
|
56
|
-
i0.ɵɵelementStart(2, "span", 8);
|
|
57
|
-
i0.ɵɵelementStart(3, "span", 9);
|
|
58
|
-
i0.ɵɵtext(4);
|
|
59
|
-
i0.ɵɵelementEnd();
|
|
60
|
-
i0.ɵɵtext(5);
|
|
61
|
-
i0.ɵɵelementEnd();
|
|
62
|
-
i0.ɵɵelementStart(6, "span", 10);
|
|
63
|
-
i0.ɵɵelementStart(7, "pagination", 11);
|
|
64
|
-
i0.ɵɵlistener("ngModelChange", function FormGridFooterComponent_ng_template_2_td_1_Template_pagination_ngModelChange_7_listener($event) { i0.ɵɵrestoreView(_r16); const ctx_r15 = i0.ɵɵnextContext(2); return ctx_r15.body.skip = $event; })("pageChanged", function FormGridFooterComponent_ng_template_2_td_1_Template_pagination_pageChanged_7_listener($event) { i0.ɵɵrestoreView(_r16); const ctx_r17 = i0.ɵɵnextContext(2); return ctx_r17.pageChanged.emit($event); });
|
|
65
|
-
i0.ɵɵelementEnd();
|
|
66
|
-
i0.ɵɵelementEnd();
|
|
67
|
-
i0.ɵɵelementEnd();
|
|
68
|
-
} if (rf & 2) {
|
|
69
|
-
const label_r10 = i0.ɵɵnextContext().label;
|
|
70
|
-
const ctx_r11 = i0.ɵɵnextContext();
|
|
71
|
-
i0.ɵɵproperty("colSpan", ctx_r11.header.numHeaders);
|
|
72
|
-
i0.ɵɵadvance(1);
|
|
73
|
-
i0.ɵɵproperty("ngIf", ctx_r11.actionAllowed("formCreate"));
|
|
74
|
-
i0.ɵɵadvance(3);
|
|
75
|
-
i0.ɵɵtextInterpolate2("", ctx_r11.body.firstItem, " - ", ctx_r11.body.lastItem, "");
|
|
76
|
-
i0.ɵɵadvance(1);
|
|
77
|
-
i0.ɵɵtextInterpolate1(" / ", ctx_r11.body.total, " total");
|
|
78
|
-
i0.ɵɵadvance(1);
|
|
79
|
-
i0.ɵɵattribute("aria-label", label_r10);
|
|
80
|
-
i0.ɵɵadvance(1);
|
|
81
|
-
i0.ɵɵproperty("totalItems", ctx_r11.body.total)("itemsPerPage", ctx_r11.body.limit)("ngModel", ctx_r11.body.skip)("maxSize", ctx_r11.size);
|
|
82
|
-
} }
|
|
83
|
-
function FormGridFooterComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
84
|
-
i0.ɵɵelementStart(0, "tr");
|
|
85
|
-
i0.ɵɵtemplate(1, FormGridFooterComponent_ng_template_2_td_1_Template, 8, 10, "td", 5);
|
|
86
|
-
i0.ɵɵelementEnd();
|
|
87
|
-
} if (rf & 2) {
|
|
88
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
|
89
|
-
i0.ɵɵadvance(1);
|
|
90
|
-
i0.ɵɵproperty("ngIf", ctx_r3.header);
|
|
91
|
-
} }
|
|
92
|
-
export class FormGridFooterComponent extends GridFooterComponent {
|
|
93
|
-
constructor() {
|
|
94
|
-
super();
|
|
95
|
-
}
|
|
96
|
-
ngOnInit() {
|
|
97
|
-
if (!this.createText) {
|
|
98
|
-
this.createText = 'Create Form';
|
|
99
|
-
}
|
|
100
|
-
if (!this.size) {
|
|
101
|
-
this.size = 7;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
FormGridFooterComponent.ɵfac = function FormGridFooterComponent_Factory(t) { return new (t || FormGridFooterComponent)(); };
|
|
106
|
-
FormGridFooterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormGridFooterComponent, selectors: [["ng-component"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 0, consts: [["footer", ""], ["defaultFooterTemplate", ""], ["class", "formio-grid-footer", 4, "ngIf"], [1, "formio-grid-footer"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "colSpan", 4, "ngIf"], [3, "colSpan"], ["class", "btn btn-primary form-btn-use pull-left float-left", 3, "click", 4, "ngIf"], [1, "pull-right", "float-right", "item-counter"], [1, "page-num"], ["role", "navigation"], [1, "justify-content-center", "pagination-sm", 3, "totalItems", "itemsPerPage", "ngModel", "maxSize", "ngModelChange", "pageChanged"], [1, "btn", "btn-primary", "form-btn-use", "pull-left", "float-left", 3, "click"], [1, "glyphicon", "glyphicon-plus", "fa", "fa-plus"]], template: function FormGridFooterComponent_Template(rf, ctx) { if (rf & 1) {
|
|
107
|
-
i0.ɵɵtemplate(0, FormGridFooterComponent_ng_template_0_Template, 2, 2, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
108
|
-
i0.ɵɵtemplate(2, FormGridFooterComponent_ng_template_2_Template, 2, 1, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
109
|
-
} }, directives: [i1.NgIf, i1.NgTemplateOutlet, i2.PaginationComponent, i3.NgControlStatus, i3.NgModel], 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"], encapsulation: 2 });
|
|
110
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormGridFooterComponent, [{
|
|
111
|
-
type: Component,
|
|
112
|
-
args: [{
|
|
113
|
-
templateUrl: './FormGridFooter.component.html',
|
|
114
|
-
styleUrls: ['../grid.footer.scss'],
|
|
115
|
-
encapsulation: View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gYm9keS5sYXN0SXRlbSB9fTwvc3Bhbj4gLyB7eyBib2R5LnRvdGFsIH19IHRvdGFsPC9zcGFuPlxuICAgICAgPHNwYW4gW2F0dHIuYXJpYS1sYWJlbF09XCJsYWJlbFwiIHJvbGU9XCJuYXZpZ2F0aW9uXCI+XG4gICAgICAgIDxwYWdpbmF0aW9uIFt0b3RhbEl0ZW1zXT1cImJvZHkudG90YWxcIiBbaXRlbXNQZXJQYWdlXT1cImJvZHkubGltaXRcIiBbKG5nTW9kZWwpXT1cImJvZHkuc2tpcFwiIChwYWdlQ2hhbmdlZCk9XCJwYWdlQ2hhbmdlZC5lbWl0KCRldmVudClcIiBbbWF4U2l6ZV09XCJzaXplXCIgY2xhc3M9XCJqdXN0aWZ5LWNvbnRlbnQtY2VudGVyIHBhZ2luYXRpb24tc21cIj5cbiAgICAgICAgPC9wYWdpbmF0aW9uPlxuICAgICAgPC9zcGFuPlxuICAgIDwvdGQ+XG4gIDwvdHI+XG48L25nLXRlbXBsYXRlPlxuIl19
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { GridHeaderComponent } from '../GridHeaderComponent';
|
|
3
|
-
import { SortType } from '../types/grid-header';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@angular/common";
|
|
6
|
-
const _c0 = function (a0, a1) { return { "glyphicon-triangle-top fa-caret-up": a0, "glyphicon-triangle-bottom fa-caret-down": a1 }; };
|
|
7
|
-
function FormGridHeaderComponent_ng_template_0_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
8
|
-
i0.ɵɵelement(0, "span", 5);
|
|
9
|
-
} if (rf & 2) {
|
|
10
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
11
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(1, _c0, ctx_r1.header.sort === "asc", ctx_r1.header.sort === "desc"));
|
|
12
|
-
} }
|
|
13
|
-
function FormGridHeaderComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
14
|
-
const _r3 = i0.ɵɵgetCurrentView();
|
|
15
|
-
i0.ɵɵelementStart(0, "thead");
|
|
16
|
-
i0.ɵɵelementStart(1, "tr");
|
|
17
|
-
i0.ɵɵelementStart(2, "th");
|
|
18
|
-
i0.ɵɵelementStart(3, "div", 0);
|
|
19
|
-
i0.ɵɵelementStart(4, "div", 1);
|
|
20
|
-
i0.ɵɵelementStart(5, "a", 2);
|
|
21
|
-
i0.ɵɵlistener("click", function FormGridHeaderComponent_ng_template_0_Template_a_click_5_listener() { i0.ɵɵrestoreView(_r3); const ctx_r2 = i0.ɵɵnextContext(); return ctx_r2.sort.emit(ctx_r2.header); });
|
|
22
|
-
i0.ɵɵtext(6);
|
|
23
|
-
i0.ɵɵtemplate(7, FormGridHeaderComponent_ng_template_0_span_7_Template, 1, 4, "span", 3);
|
|
24
|
-
i0.ɵɵelementEnd();
|
|
25
|
-
i0.ɵɵelementEnd();
|
|
26
|
-
i0.ɵɵelementStart(8, "div", 4);
|
|
27
|
-
i0.ɵɵtext(9, " Operations ");
|
|
28
|
-
i0.ɵɵelementEnd();
|
|
29
|
-
i0.ɵɵelementEnd();
|
|
30
|
-
i0.ɵɵelementEnd();
|
|
31
|
-
i0.ɵɵelementEnd();
|
|
32
|
-
i0.ɵɵelementEnd();
|
|
33
|
-
} if (rf & 2) {
|
|
34
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
35
|
-
i0.ɵɵadvance(6);
|
|
36
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r0.header.label, "\u00A0");
|
|
37
|
-
i0.ɵɵadvance(1);
|
|
38
|
-
i0.ɵɵproperty("ngIf", ctx_r0.header.sort);
|
|
39
|
-
} }
|
|
40
|
-
export class FormGridHeaderComponent extends GridHeaderComponent {
|
|
41
|
-
load(formio) {
|
|
42
|
-
this.header = {
|
|
43
|
-
label: 'Title',
|
|
44
|
-
key: 'title',
|
|
45
|
-
sort: SortType.ASC
|
|
46
|
-
};
|
|
47
|
-
this.headers = [this.header];
|
|
48
|
-
return Promise.resolve(this.headers);
|
|
49
|
-
}
|
|
50
|
-
get numHeaders() {
|
|
51
|
-
return 2;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
FormGridHeaderComponent.ɵfac = /*@__PURE__*/ function () { let ɵFormGridHeaderComponent_BaseFactory; return function FormGridHeaderComponent_Factory(t) { return (ɵFormGridHeaderComponent_BaseFactory || (ɵFormGridHeaderComponent_BaseFactory = i0.ɵɵgetInheritedFactory(FormGridHeaderComponent)))(t || FormGridHeaderComponent); }; }();
|
|
55
|
-
FormGridHeaderComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormGridHeaderComponent, selectors: [["form-grid-header"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 0, consts: [[1, "row"], [1, "col-sm-8"], [3, "click"], ["class", "glyphicon fa", 3, "ngClass", 4, "ngIf"], [1, "col-sm-4"], [1, "glyphicon", "fa", 3, "ngClass"]], template: function FormGridHeaderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
56
|
-
i0.ɵɵtemplate(0, FormGridHeaderComponent_ng_template_0_Template, 10, 2, "ng-template");
|
|
57
|
-
} }, directives: [i1.NgIf, i1.NgClass], encapsulation: 2 });
|
|
58
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormGridHeaderComponent, [{
|
|
59
|
-
type: Component,
|
|
60
|
-
args: [{
|
|
61
|
-
selector: 'form-grid-header',
|
|
62
|
-
templateUrl: './FormGridHeader.component.html'
|
|
63
|
-
}]
|
|
64
|
-
}], null, null); })();
|
|
65
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRm9ybUdyaWRIZWFkZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxh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