@formio/angular 5.5.0-rc.1 → 5.5.0-rc.10
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} +2 -1
- package/FormioBaseComponent.d.ts.map +1 -0
- package/README.md +13 -170
- package/{dist/angular-formio/elements.common.d.ts → elements.common.d.ts} +1 -1
- package/{dist/angular-formio/elements.common.d.ts.map → elements.common.d.ts.map} +1 -1
- package/esm2020/FormioBaseComponent.mjs +536 -0
- package/esm2020/auth/auth.component.mjs +12 -0
- package/esm2020/auth/auth.config.mjs +15 -0
- package/esm2020/auth/auth.module.mjs +46 -0
- package/{dist/angular-formio/esm2020 → esm2020}/auth/auth.service.mjs +6 -6
- package/esm2020/auth/login/login.component.mjs +16 -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/esm2020/components/alerts/parse-html-content.pipe.mjs +19 -0
- package/esm2020/components/formbuilder/formbuilder.component.mjs +187 -0
- package/esm2020/components/formio/formio.component.mjs +40 -0
- package/esm2020/components/loader/formio.loader.component.mjs +14 -0
- package/esm2020/custom-component/create-custom-component.mjs +144 -0
- package/esm2020/custom-component/custom-tags.service.mjs +16 -0
- package/esm2020/formio.common.mjs +8 -0
- package/esm2020/formio.config.mjs +14 -0
- package/esm2020/formio.module.mjs +54 -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/esm2020 → esm2020}/grid/form/time-since.pipe.mjs +9 -9
- package/esm2020/grid/grid.component.mjs +230 -0
- package/esm2020/grid/grid.module.mjs +79 -0
- package/esm2020/grid/grid.service.mjs +17 -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/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 +17 -0
- package/esm2020/manager/form-manager.module.mjs +83 -0
- package/{dist/angular-formio/esm2020 → esm2020}/manager/form-manager.service.mjs +6 -6
- package/esm2020/manager/index/index.component.mjs +95 -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 +44 -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 +38 -0
- package/esm2020/resource/index/index.component.mjs +61 -0
- package/esm2020/resource/resource.component.mjs +46 -0
- package/esm2020/resource/resource.config.mjs +15 -0
- package/esm2020/resource/resource.module.mjs +62 -0
- package/{dist/angular-formio/esm2020 → 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/fesm2015 → fesm2015}/formio-angular-auth.mjs +35 -95
- package/fesm2015/formio-angular-auth.mjs.map +1 -0
- package/fesm2015/formio-angular-grid.mjs +677 -0
- package/fesm2015/formio-angular-grid.mjs.map +1 -0
- package/fesm2015/formio-angular-manager.mjs +747 -0
- package/fesm2015/formio-angular-manager.mjs.map +1 -0
- package/{dist/angular-formio/fesm2015 → fesm2015}/formio-angular-resource.mjs +55 -178
- package/fesm2015/formio-angular-resource.mjs.map +1 -0
- package/fesm2015/formio-angular.mjs +1159 -0
- package/fesm2015/formio-angular.mjs.map +1 -0
- package/{dist/angular-formio/fesm2020 → fesm2020}/formio-angular-auth.mjs +56 -89
- package/fesm2020/formio-angular-auth.mjs.map +1 -0
- package/fesm2020/formio-angular-grid.mjs +676 -0
- package/fesm2020/formio-angular-grid.mjs.map +1 -0
- package/fesm2020/formio-angular-manager.mjs +747 -0
- package/fesm2020/formio-angular-manager.mjs.map +1 -0
- package/fesm2020/formio-angular-resource.mjs +505 -0
- package/fesm2020/formio-angular-resource.mjs.map +1 -0
- package/fesm2020/formio-angular.mjs +1178 -0
- package/fesm2020/formio-angular.mjs.map +1 -0
- package/{dist/angular-formio/formio.common.d.ts → formio.common.d.ts} +3 -3
- package/formio.common.d.ts.map +1 -0
- package/{dist/angular-formio/manager → manager}/form-manager.config.d.ts +2 -0
- package/{dist/angular-formio/manager → manager}/form-manager.config.d.ts.map +1 -1
- package/manager/index/index.component.d.ts.map +1 -0
- package/{dist/angular-formio/manager → manager}/view/view.component.d.ts +1 -0
- package/{dist/angular-formio/manager → manager}/view/view.component.d.ts.map +1 -1
- package/package.json +72 -56
- package/{dist/angular-formio/resource → resource}/edit/edit.component.d.ts +1 -0
- package/{dist/angular-formio/resource → resource}/edit/edit.component.d.ts.map +1 -1
- package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/01/e5/e23b89936960de6ad3508f850be720524a6231b49e8520d80bd5f9468e9404dd6ee313e5127d0648608ef8fa2b469c2c0f7c49f89162b05bbcce80461e9c +0 -1
- package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/03/23/c769271f9bbd8eda9edbc085d8f53d3bb02909ee0a22a3de1c89b7df544beced4e74167af785a6bf25e0c981807e78868d1032267e98cd714e7779902ff9 +0 -1
- package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/0c/7a/916bd866cb386cc87b9ea07c40edc23df9d726d1865e6699b42dedfbfb2a8364ced191aa62680a9297d7644cdfa64753b8975cc254c7c581f28bba0acd15 +0 -1
- package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/15/a9/1d68fcff615e0cffcaad777402e5642b8a3bd360ad0af813af9691e0b7309038151eac43ae8e67d6b3be5a00cfaea2667e654c24ea55ff4cd2f8b58dc2a7 +0 -1
- package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/22/f0/5cfa42afa778fe6e8c9d64a24c1a0c66e766ea8737f3336df95c535613589b840b5d7d45cfc0548bb91e69d1ec3acc0055e0d56b19fb05d7de846d1b8b43 +0 -1
- package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/43/05/c86feb68c6e6f17d2b1e7d4aadfbef2f8554b42c9e0b7516b22a7c34044b513c23987b00507d17cb8f89b9b762b5499483d4ec16708519940e00cee5863a +0 -1
- package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/52/5a/4fa0f73bf834435defcfd550b63ea9924b0f0af5d8cbfe2c79ee2a3efd8b4c50c47a048c8daf54afceec58ad38159c690afe1224832ecd8e724ff4030068 +0 -1
- package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/5f/1e/aef8c84037440da9067e57fe4fb8d14c4226a97e0d41a321755d9068d490b7c37504fd2e4345ca98b2c824b940fe036e499998be3343a89e6845767dc806 +0 -1
- package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/69/49/5bcde08bb3541360e80c857e93c622592b2605f53500ec939f264908603a030c9e3da2f7ec05883f3f8ccb19f158d4e249a665f5d6a46c6c8aae7ecb7ff2 +0 -1
- package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/81/f7/21b01b64900856c9f64f17129a8865cd92a471eb4c6dd452e870d5f3d685b57bc7a48759458d345cb081523d23b4f8ff7f3e6d133fcea11f971be8d7b396 +0 -1
- package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/94/37/128b088664cddaff6cbdcabc604d8f559d8b8f7c3655c1e42d86e9d91c3e51483fff7e27be62ca9790fc43d271fd4c87d2246c5423f9e681793832bd3b4e +0 -1
- package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/9c/21/3b8af7b6ee09c29bf340610026191af56f9ba1cba1f5e4476424775d5e322f84d7e900c4d264d39804cebf3dcb5aaa5eb5e9d8fd143bc3a8aa76c3d5325e +0 -1
- package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/a2/a1/90177481ee6a42670513d750763246aef60819ab74d0835ca92f243cd8970edc9c6e2d63a576e9edb1f702810a8632512b623550c454d16596aa29f6553a +0 -1
- package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/ab/fd/668e4582483cadf906c6b8199541af6c4c843761aa3d2372088613a1b17498c302709580ea641920b5c1e67265bf88e6e3901a210be18a8f24bc58743200 +0 -1
- package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/af/5c/97d9a08342685ee95844b54aed260370df0de7c2408ec7b14f7da3972c811ee5a4cae7be4f51de07dd039c8639ec4e9008733bcf0b6a438b29a83d7fabe3 +0 -1
- package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/b9/9d/f7b80ff9e7ab8eb61b27b29fa5b2790f18fda8b2d23d4e821ede655c7f981c37d90094cf772ec02b8fc1730b94bd8154534a39191b9a9fc7de88974d57f4 +0 -1
- package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/ba/5d/d939f6c0890924d0234b6253e4c7baab7e285c4e9e3b838d4f223f5365ce00c421e48383fc21ecdf847e1592936f5be80b0d20ea3db471bfe39e181c091a +0 -1
- package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/c3/a1/25be872308b2510aa4e49fee9fb3708fe45d0526c4094a8b1af3bf8edd7e3c5cfb58a1c15523673b91a4c02bd4ec7baa1b88ec8ab73c7e3dde53898fe98a +0 -1
- package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/c7/4b/efaebbbabff0924b290dafa529aee821d250fc178047868b7f63c849de6af1f9557825b665fd50a87cf363e2967a7913e60a9860cac818737c43f088a0b6 +0 -1
- package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/e8/bf/a382f2ee2851df30c90d614c8104b97c8352c9d894966fe19f3c5ae632bc3fdf2c4879c1f9ec67fb28afdf19cd1683e9305c193d6e82835b688e3474447e +0 -1
- package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/e9/87/edf15f2af87d650e35a6dd3675d7e6910c0ee3f095e95542c581d3b89e3cfde325714bf4a93e1c7665bc33adbbfe4cc49c073ac122ee697681d01d041eba +0 -1
- package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/e9/ca/53ff813610ae5d57a25518e6546b659a092de2c929fd43130db59358947aa9aa5797289f7ca39fe550d2e41050a69cb26e6b5dd6ebbcae0207ab08474dc8 +0 -1
- package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/ff/c7/bd261ba278c31a35ab220845891f83c1a18a7cf5f398b7a4332a32e1644dd6c07d5895d3cdfc546b48c66757613d53238d475eb2ce78d9fdf5e917b917f7 +0 -1
- package/.angular/cache/15.0.1/ng-packagr/index-v5/15/37/6487aecd2b887fd9938044ee0b6b002f232abb4c6aec11e76060169b9e17 +0 -2
- package/.angular/cache/15.0.1/ng-packagr/index-v5/16/6d/027642a28349d275131e5f0b4ad89dd3195a2f18a3f50faa97040e54a6ed +0 -2
- package/.angular/cache/15.0.1/ng-packagr/index-v5/20/1f/18abae6c79ef08c9450a94eb2437726e500da0b14300d33930df97307cb0 +0 -2
- package/.angular/cache/15.0.1/ng-packagr/index-v5/2c/fe/611a98b5c956bb3f524e1f272f4b9774f7fc218f52aba3dc2cab06fcf387 +0 -2
- package/.angular/cache/15.0.1/ng-packagr/index-v5/3d/b3/64dc80c6357f1a2b2c91aa11aa6ecb61f21e75fa0bbbc24e6c943d6ec9c4 +0 -2
- package/.angular/cache/15.0.1/ng-packagr/index-v5/45/ac/c73386e65ccdcdd759a1005f9529b60e5f62b952e99c3ff44fdf91ca3597 +0 -2
- package/.angular/cache/15.0.1/ng-packagr/index-v5/4d/17/ade79a816bd9ec1fe3ed0094c6663e36d494fb60dc2fd5b9152ef6a92154 +0 -2
- package/.angular/cache/15.0.1/ng-packagr/index-v5/5a/5a/2ea76a4fa29eeba07bf099c32987d2c0e772b5550ae461c48f330004eb13 +0 -2
- package/.angular/cache/15.0.1/ng-packagr/index-v5/69/a1/d2c99d238cd15fce83d764481d6ecd5aba0f315b2013cc786399af5bba7e +0 -2
- package/.angular/cache/15.0.1/ng-packagr/index-v5/6e/0f/2a2f6d0f5e763edefe274f04be01a682b7ff3b273317529d0811e7fff34d +0 -2
- package/.angular/cache/15.0.1/ng-packagr/index-v5/81/90/4cdd95a8c37245adad95077bb618adab90df01de114668e4ebf3f2a1e743 +0 -2
- package/.angular/cache/15.0.1/ng-packagr/index-v5/88/38/558f66bfdbac1cf6bb7af18752df87101e04586813c23311b30277327000 +0 -2
- package/.angular/cache/15.0.1/ng-packagr/index-v5/90/12/9dab17b6ac5409fb5088b46f01d7fc9fa2ae6f497b210ad215149856deac +0 -2
- package/.angular/cache/15.0.1/ng-packagr/index-v5/9a/be/450f4f44251c1ada84de327410e3cd1122c019774eeeb19a32e25257c00b +0 -2
- package/.angular/cache/15.0.1/ng-packagr/index-v5/9d/fc/b6889318df1cc51a1588cacb4017e725777e9c218239d49c9f81eb2fb5a0 +0 -2
- package/.angular/cache/15.0.1/ng-packagr/index-v5/ae/7e/c1b7a3d4262ee1e7602bffa167279a4f87c28fb896a6ced429b70103b7df +0 -2
- package/.angular/cache/15.0.1/ng-packagr/index-v5/bc/3e/9599aa4a23f1e642f1c9e194c6ab52c84468a90b96b7e736f9bd5a607a19 +0 -2
- package/.angular/cache/15.0.1/ng-packagr/index-v5/c6/36/d327400b7b6399d718fc68d5cac0cbd87552b456c2c2d5ce5b614ee10009 +0 -2
- package/.angular/cache/15.0.1/ng-packagr/index-v5/cc/ed/ffba3de0599f554db4d2b4a12e7099247521660f7cfcd92971593e98eaf1 +0 -2
- package/.angular/cache/15.0.1/ng-packagr/index-v5/cf/0c/9b4c301350d8bcec537c0c04a268f1710fea9e9635a6c5015799d7c77c41 +0 -2
- package/.angular/cache/15.0.1/ng-packagr/index-v5/de/45/beac4cd852a628afa272062823137beb64fea6591b775133caf55358d021 +0 -2
- package/.angular/cache/15.0.1/ng-packagr/index-v5/e1/de/7105702be767c43ff63b8192a07fc2a6685d997867cd0b39c09599acf769 +0 -2
- package/.angular/cache/15.0.1/ng-packagr/index-v5/f6/d8/e94a21d22f73e0e1744e3509373c84104e0267b44be10ef1597a9bce2dd0 +0 -2
- package/.dccache +0 -1
- 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 -1045
- package/Dockerfile +0 -20
- package/LICENSE +0 -21
- package/angular.json +0 -38
- package/bs-config.json +0 -11
- package/dist/angular-formio/FormioBaseComponent.d.ts.map +0 -1
- package/dist/angular-formio/README.md +0 -24
- package/dist/angular-formio/esm2020/FormioBaseComponent.mjs +0 -533
- package/dist/angular-formio/esm2020/auth/auth.component.mjs +0 -25
- package/dist/angular-formio/esm2020/auth/auth.config.mjs +0 -15
- package/dist/angular-formio/esm2020/auth/auth.module.mjs +0 -47
- package/dist/angular-formio/esm2020/auth/login/login.component.mjs +0 -22
- package/dist/angular-formio/esm2020/auth/register/register.component.mjs +0 -22
- package/dist/angular-formio/esm2020/auth/resetpass/resetpass.component.mjs +0 -22
- package/dist/angular-formio/esm2020/components/alerts/formio.alerts.component.mjs +0 -46
- package/dist/angular-formio/esm2020/components/alerts/parse-html-content.pipe.mjs +0 -19
- package/dist/angular-formio/esm2020/components/formbuilder/formbuilder.component.mjs +0 -195
- package/dist/angular-formio/esm2020/components/formio/formio.component.mjs +0 -82
- package/dist/angular-formio/esm2020/components/loader/formio.loader.component.mjs +0 -23
- package/dist/angular-formio/esm2020/custom-component/create-custom-component.mjs +0 -144
- package/dist/angular-formio/esm2020/custom-component/custom-tags.service.mjs +0 -16
- package/dist/angular-formio/esm2020/formio.common.mjs +0 -8
- package/dist/angular-formio/esm2020/formio.config.mjs +0 -14
- package/dist/angular-formio/esm2020/formio.module.mjs +0 -55
- package/dist/angular-formio/esm2020/grid/GridBodyComponent.mjs +0 -86
- package/dist/angular-formio/esm2020/grid/GridFooterComponent.mjs +0 -41
- package/dist/angular-formio/esm2020/grid/GridHeaderComponent.mjs +0 -35
- package/dist/angular-formio/esm2020/grid/form/FormGridBody.component.mjs +0 -117
- package/dist/angular-formio/esm2020/grid/form/FormGridFooter.component.mjs +0 -110
- package/dist/angular-formio/esm2020/grid/form/FormGridHeader.component.mjs +0 -52
- package/dist/angular-formio/esm2020/grid/grid.component.mjs +0 -297
- package/dist/angular-formio/esm2020/grid/grid.module.mjs +0 -80
- package/dist/angular-formio/esm2020/grid/grid.service.mjs +0 -17
- package/dist/angular-formio/esm2020/grid/submission/SubmissionGridBody.component.mjs +0 -73
- package/dist/angular-formio/esm2020/grid/submission/SubmissionGridFooter.component.mjs +0 -101
- package/dist/angular-formio/esm2020/grid/submission/SubmissionGridHeader.component.mjs +0 -93
- package/dist/angular-formio/esm2020/manager/create/create.component.mjs +0 -59
- package/dist/angular-formio/esm2020/manager/delete/delete.component.mjs +0 -52
- package/dist/angular-formio/esm2020/manager/edit/edit.component.mjs +0 -161
- package/dist/angular-formio/esm2020/manager/form/form.component.mjs +0 -167
- package/dist/angular-formio/esm2020/manager/form-manager.config.mjs +0 -15
- package/dist/angular-formio/esm2020/manager/form-manager.module.mjs +0 -84
- package/dist/angular-formio/esm2020/manager/index/index.component.mjs +0 -126
- package/dist/angular-formio/esm2020/manager/submission/delete/delete.component.mjs +0 -43
- package/dist/angular-formio/esm2020/manager/submission/edit/edit.component.mjs +0 -28
- package/dist/angular-formio/esm2020/manager/submission/index/index.component.mjs +0 -28
- package/dist/angular-formio/esm2020/manager/submission/submission/submission.component.mjs +0 -64
- package/dist/angular-formio/esm2020/manager/submission/view/view.component.mjs +0 -22
- package/dist/angular-formio/esm2020/manager/view/view.component.mjs +0 -55
- package/dist/angular-formio/esm2020/resource/create/create.component.mjs +0 -57
- package/dist/angular-formio/esm2020/resource/delete/delete.component.mjs +0 -38
- package/dist/angular-formio/esm2020/resource/edit/edit.component.mjs +0 -42
- package/dist/angular-formio/esm2020/resource/index/index.component.mjs +0 -70
- package/dist/angular-formio/esm2020/resource/resource.component.mjs +0 -72
- package/dist/angular-formio/esm2020/resource/resource.config.mjs +0 -15
- package/dist/angular-formio/esm2020/resource/resource.module.mjs +0 -63
- package/dist/angular-formio/esm2020/resource/resources.service.mjs +0 -22
- package/dist/angular-formio/esm2020/resource/view/view.component.mjs +0 -27
- package/dist/angular-formio/fesm2015/formio-angular-auth.mjs.map +0 -1
- package/dist/angular-formio/fesm2015/formio-angular-grid.mjs +0 -1255
- package/dist/angular-formio/fesm2015/formio-angular-grid.mjs.map +0 -1
- package/dist/angular-formio/fesm2015/formio-angular-manager.mjs +0 -1178
- package/dist/angular-formio/fesm2015/formio-angular-manager.mjs.map +0 -1
- package/dist/angular-formio/fesm2015/formio-angular-resource.mjs.map +0 -1
- package/dist/angular-formio/fesm2015/formio-angular.mjs +0 -1285
- package/dist/angular-formio/fesm2015/formio-angular.mjs.map +0 -1
- package/dist/angular-formio/fesm2020/formio-angular-auth.mjs.map +0 -1
- package/dist/angular-formio/fesm2020/formio-angular-grid.mjs +0 -1108
- package/dist/angular-formio/fesm2020/formio-angular-grid.mjs.map +0 -1
- package/dist/angular-formio/fesm2020/formio-angular-manager.mjs +0 -1066
- package/dist/angular-formio/fesm2020/formio-angular-manager.mjs.map +0 -1
- package/dist/angular-formio/fesm2020/formio-angular-resource.mjs +0 -582
- package/dist/angular-formio/fesm2020/formio-angular-resource.mjs.map +0 -1
- package/dist/angular-formio/fesm2020/formio-angular.mjs +0 -1253
- package/dist/angular-formio/fesm2020/formio-angular.mjs.map +0 -1
- package/dist/angular-formio/formio.common.d.ts.map +0 -1
- package/dist/angular-formio/manager/index/index.component.d.ts.map +0 -1
- package/dist/angular-formio/package.json +0 -94
- package/projects/angular-formio/README.md +0 -24
- package/projects/angular-formio/auth/ng-package.json +0 -5
- 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 -209
- 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/ng-package.json +0 -5
- 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 -49
- 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/ng-package.json +0 -5
- 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 -7
- package/projects/angular-formio/package.json +0 -39
- package/projects/angular-formio/resource/ng-package.json +0 -5
- 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 -525
- 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 -213
- 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 -35
- 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 -6
- package/projects/angular-formio/src/public-api.ts +0 -5
- package/projects/angular-formio/src/test.ts +0 -28
- 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
- /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.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/{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/esm2020 → esm2020}/auth/auth.routes.mjs +0 -0
- /package/{dist/angular-formio/esm2020 → esm2020}/auth/formio-angular-auth.mjs +0 -0
- /package/{dist/angular-formio/esm2020 → esm2020}/auth/index.mjs +0 -0
- /package/{dist/angular-formio/esm2020 → esm2020}/components/alerts/formio.alerts.mjs +0 -0
- /package/{dist/angular-formio/esm2020 → esm2020}/core.mjs +0 -0
- /package/{dist/angular-formio/esm2020 → esm2020}/custom-component/register-custom-component.mjs +0 -0
- /package/{dist/angular-formio/esm2020 → esm2020}/elements.common.mjs +0 -0
- /package/{dist/angular-formio/esm2020 → esm2020}/formio-angular.mjs +0 -0
- /package/{dist/angular-formio/esm2020 → esm2020}/formio-promise.service.mjs +0 -0
- /package/{dist/angular-formio/esm2020 → esm2020}/formio.service.mjs +0 -0
- /package/{dist/angular-formio/esm2020 → esm2020}/formio.utils.mjs +0 -0
- /package/{dist/angular-formio/esm2020 → esm2020}/grid/form/index.mjs +0 -0
- /package/{dist/angular-formio/esm2020 → esm2020}/grid/formio-angular-grid.mjs +0 -0
- /package/{dist/angular-formio/esm2020 → esm2020}/grid/index.mjs +0 -0
- /package/{dist/angular-formio/esm2020 → esm2020}/grid/submission/index.mjs +0 -0
- /package/{dist/angular-formio/esm2020 → esm2020}/grid/types/grid-column.mjs +0 -0
- /package/{dist/angular-formio/esm2020 → esm2020}/grid/types/grid-footer-positions.mjs +0 -0
- /package/{dist/angular-formio/esm2020 → esm2020}/grid/types/grid-header.mjs +0 -0
- /package/{dist/angular-formio/esm2020 → esm2020}/index.mjs +0 -0
- /package/{dist/angular-formio/esm2020 → esm2020}/manager/form-manager.routes.mjs +0 -0
- /package/{dist/angular-formio/esm2020 → esm2020}/manager/formio-angular-manager.mjs +0 -0
- /package/{dist/angular-formio/esm2020 → esm2020}/manager/index.mjs +0 -0
- /package/{dist/angular-formio/esm2020 → esm2020}/resource/formio-angular-resource.mjs +0 -0
- /package/{dist/angular-formio/esm2020 → esm2020}/resource/index.mjs +0 -0
- /package/{dist/angular-formio/esm2020 → esm2020}/resource/resource.routes.mjs +0 -0
- /package/{dist/angular-formio/esm2020 → esm2020}/types/alerts-position.mjs +0 -0
- /package/{dist/angular-formio/esm2020 → esm2020}/types/formio-metadata.mjs +0 -0
- /package/{dist/angular-formio/esm2020 → esm2020}/types/formio-submission.mjs +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.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.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/{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.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.map +0 -0
- /package/{dist/angular-formio/manager → manager}/index/index.component.d.ts +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/{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/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}/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/{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
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { Input, Output, EventEmitter, ViewChild, TemplateRef, Component } from '@angular/core';
|
|
2
|
-
import { each, clone } from 'lodash';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "./grid.service";
|
|
5
|
-
export class GridBodyComponent {
|
|
6
|
-
constructor(service) {
|
|
7
|
-
this.service = service;
|
|
8
|
-
this.firstItem = 0;
|
|
9
|
-
this.lastItem = 0;
|
|
10
|
-
this.skip = 0;
|
|
11
|
-
this.limit = 0;
|
|
12
|
-
this.total = 0;
|
|
13
|
-
this.rowSelect = new EventEmitter();
|
|
14
|
-
this.rowAction = new EventEmitter();
|
|
15
|
-
this.loading = true;
|
|
16
|
-
}
|
|
17
|
-
load(formio, query) {
|
|
18
|
-
return formio.loadForm(query);
|
|
19
|
-
}
|
|
20
|
-
onRowSelect(event, row) {
|
|
21
|
-
event.preventDefault();
|
|
22
|
-
this.rowSelect.emit(row);
|
|
23
|
-
}
|
|
24
|
-
onRowAction(event, row, action) {
|
|
25
|
-
event.preventDefault();
|
|
26
|
-
this.rowAction.emit({ row, action });
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Set the rows for this Grid body.
|
|
30
|
-
*
|
|
31
|
-
* @param query
|
|
32
|
-
* @param items
|
|
33
|
-
* @return any
|
|
34
|
-
*/
|
|
35
|
-
setRows(query, items) {
|
|
36
|
-
this.rows = [];
|
|
37
|
-
if (typeof items !== 'object') {
|
|
38
|
-
this.firstItem = 0;
|
|
39
|
-
this.lastItem = 0;
|
|
40
|
-
this.total = 0;
|
|
41
|
-
this.skip = 0;
|
|
42
|
-
this.loading = false;
|
|
43
|
-
this.service.setRows(this.rows);
|
|
44
|
-
return this.rows;
|
|
45
|
-
}
|
|
46
|
-
this.firstItem = query.skip + 1;
|
|
47
|
-
this.lastItem = this.firstItem + items.length - 1;
|
|
48
|
-
if (this.lastItem === 0) {
|
|
49
|
-
this.firstItem = 0;
|
|
50
|
-
}
|
|
51
|
-
this.total = items.serverCount;
|
|
52
|
-
this.limit = query.limit;
|
|
53
|
-
this.skip = Math.floor(items.skip / query.limit) + 1;
|
|
54
|
-
this.loading = false;
|
|
55
|
-
each(items, (item) => {
|
|
56
|
-
this.rows.push(clone(item));
|
|
57
|
-
});
|
|
58
|
-
this.service.setRows(this.rows);
|
|
59
|
-
return this.rows;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
GridBodyComponent.ɵfac = function GridBodyComponent_Factory(t) { return new (t || GridBodyComponent)(i0.ɵɵdirectiveInject(i1.GridService)); };
|
|
63
|
-
GridBodyComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: GridBodyComponent, selectors: [["ng-component"]], viewQuery: function GridBodyComponent_Query(rf, ctx) { if (rf & 1) {
|
|
64
|
-
i0.ɵɵviewQuery(TemplateRef, 7);
|
|
65
|
-
} if (rf & 2) {
|
|
66
|
-
let _t;
|
|
67
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.template = _t.first);
|
|
68
|
-
} }, inputs: { header: "header", actionAllowed: "actionAllowed" }, outputs: { rowSelect: "rowSelect", rowAction: "rowAction" }, decls: 0, vars: 0, template: function GridBodyComponent_Template(rf, ctx) { }, encapsulation: 2 });
|
|
69
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GridBodyComponent, [{
|
|
70
|
-
type: Component,
|
|
71
|
-
args: [{
|
|
72
|
-
template: ''
|
|
73
|
-
}]
|
|
74
|
-
}], function () { return [{ type: i1.GridService }]; }, { header: [{
|
|
75
|
-
type: Input
|
|
76
|
-
}], actionAllowed: [{
|
|
77
|
-
type: Input
|
|
78
|
-
}], rowSelect: [{
|
|
79
|
-
type: Output
|
|
80
|
-
}], rowAction: [{
|
|
81
|
-
type: Output
|
|
82
|
-
}], template: [{
|
|
83
|
-
type: ViewChild,
|
|
84
|
-
args: [TemplateRef, { static: true }]
|
|
85
|
-
}] }); })();
|
|
86
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiR3JpZEJvZHlDb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9ncmlkL3NyYy9HcmlkQm9keUNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxZQUFZLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDL0YsT0FBTyxFQUFFLElBQUksRUFBRSxLQUFLLEVBQUUsTUFBTSxRQUFRLENBQUM7OztBQVFyQyxNQUFNLE9BQU8saUJBQWlCO0lBYTVCLFlBQW1CLE9BQW9CO1FBQXBCLFlBQU8sR0FBUCxPQUFPLENBQWE7UUFMaEMsY0FBUyxHQUFHLENBQUMsQ0FBQztRQUNkLGFBQVEsR0FBRyxDQUFDLENBQUM7UUFDYixTQUFJLEdBQUcsQ0FBQyxDQUFDO1FBQ1QsVUFBSyxHQUFHLENBQUMsQ0FBQztRQUNWLFVBQUssR0FBRyxDQUFDLENBQUM7UUFFZixJQUFJLENBQUMsU0FBUyxHQUFHLElBQUksWUFBWSxFQUFFLENBQUM7UUFDcEMsSUFBSSxDQUFDLFNBQVMsR0FBRyxJQUFJLFlBQVksRU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h0eXBlb2YgaXRlbXMgIT09ICdvYmplY3QnKSB7XG4gICAgICB0aGlzLmZpcnN0SXRlbSA9IDA7XG4gICAgICB0aGlzLmxhc3RJdGVtID0gMDtcbiAgICAgIHRoaXMudG90YWwgPSAwO1xuICAgICAgdGhpcy5za2lwID0gMDtcbiAgICAgIHRoaXMubG9hZGluZyA9IGZhbHNlO1xuICAgICAgdGhpcy5zZXJ2aWNlLnNldFJvd3ModGhpcy5yb3dzKTtcbiAgICAgIFxuICAgICAgcmV0dXJuIHRoaXMucm93cztcbiAgICB9XG5cbiAgICB0aGlzLmZpcnN0SXRlbSA9IHF1ZXJ5LnNraXAgKyAxO1xuICAgIHRoaXMubGFzdEl0ZW0gPSB0aGlzLmZpcnN0SXRlbSArIGl0ZW1zLmxlbmd0aCAtIDE7XG4gICAgaWYgKHRoaXMubGFzdEl0ZW0gPT09IDApIHtcbiAgICAgIHRoaXMuZmlyc3RJdGVtID0gMDtcbiAgICB9XG4gICAgdGhpcy50b3RhbCA9IGl0ZW1zLnNlcnZlckNvdW50O1xuICAgIHRoaXMubGltaXQgPSBxdWVyeS5saW1pdDtcbiAgICB0aGlzLnNraXAgPSBNYXRoLmZsb29yKGl0ZW1zLnNraXAgLyBxdWVyeS5saW1pdCkgKyAxO1xuICAgIHRoaXMubG9hZGluZyA9IGZhbHNlO1xuICAgIGVhY2goaXRlbXMsIChpdGVtOiBhbnkpID0+IHtcbiAgICAgIHRoaXMucm93cy5wdXNoKGNsb25lKGl0ZW0pKTtcbiAgICB9KTtcbiAgICB0aGlzLnNlcnZpY2Uuc2V0Um93cyh0aGlzLnJvd3MpO1xuXG4gICAgcmV0dXJuIHRoaXMucm93cztcbiAgfVxufVxuIl19
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { GridFooterPositions } from './types/grid-footer-positions';
|
|
2
|
-
import { Input, Output, ViewChild, TemplateRef, EventEmitter, Component } from '@angular/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class GridFooterComponent {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.footerPositions = GridFooterPositions;
|
|
7
|
-
this.pageChanged = new EventEmitter();
|
|
8
|
-
this.createItem = new EventEmitter();
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
GridFooterComponent.ɵfac = function GridFooterComponent_Factory(t) { return new (t || GridFooterComponent)(); };
|
|
12
|
-
GridFooterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: GridFooterComponent, selectors: [["ng-component"]], viewQuery: function GridFooterComponent_Query(rf, ctx) { if (rf & 1) {
|
|
13
|
-
i0.ɵɵviewQuery(TemplateRef, 7);
|
|
14
|
-
} if (rf & 2) {
|
|
15
|
-
let _t;
|
|
16
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.template = _t.first);
|
|
17
|
-
} }, inputs: { header: "header", body: "body", createText: "createText", size: "size", actionAllowed: "actionAllowed" }, outputs: { pageChanged: "pageChanged", createItem: "createItem" }, decls: 0, vars: 0, template: function GridFooterComponent_Template(rf, ctx) { }, encapsulation: 2 });
|
|
18
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GridFooterComponent, [{
|
|
19
|
-
type: Component,
|
|
20
|
-
args: [{
|
|
21
|
-
template: ''
|
|
22
|
-
}]
|
|
23
|
-
}], function () { return []; }, { header: [{
|
|
24
|
-
type: Input
|
|
25
|
-
}], body: [{
|
|
26
|
-
type: Input
|
|
27
|
-
}], createText: [{
|
|
28
|
-
type: Input
|
|
29
|
-
}], size: [{
|
|
30
|
-
type: Input
|
|
31
|
-
}], actionAllowed: [{
|
|
32
|
-
type: Input
|
|
33
|
-
}], pageChanged: [{
|
|
34
|
-
type: Output
|
|
35
|
-
}], createItem: [{
|
|
36
|
-
type: Output
|
|
37
|
-
}], template: [{
|
|
38
|
-
type: ViewChild,
|
|
39
|
-
args: [TemplateRef, { static: true }]
|
|
40
|
-
}] }); })();
|
|
41
|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9IG5ldyBFdmVudEVtaXR0ZXIoKTtcbiAgICB0aGlzLmNyZWF0ZUl0ZW0gPSBuZXcgRXZlbnRFbWl0dGVyKCk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiR3JpZEhlYWRlckNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2dyaWQvc3JjL0dyaWRIZWFkZXJDb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxZQUFZLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxLQUFLLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQU8vRixNQUFNLE9BQU8sbUJBQW1CO0lBSzlCO1FBQ0UsSUFBSSxDQUFDLE9BQU8sR0FBRyxFQUFFLENBQUM7UUFDbEIsSUFBSSxDQUFDLElBQUksR0FBRyxJQUFJLFlBQVksRUFBRSxDQUFDO0lBQ2pDLENBQUM7SUFFRCxJQUFJLFVBQVU7UUFDWixPQUFPLElBQUksQ0FBQyxPQUFPLENBQUMsTUFBTSxDQUFDO0lBQzdCLENBQUM7SUFFRCxJQUFJLENBQUMsTUFBNEIsRUFBRSxLQUFXLEVBQUUsT0FBb0I7UUFDbEUsT0FBTyxPQUFPLENBQUMsT0FBTyxDQUFDLEVBQUUsQ0FBQyxDQUFDO0lBQzdCLENBQUM7O3NGQWhCVSxtQkFBbUI7c0VBQW5CLG1CQUFtQjt1QkFHbkIsV0FBVzs7Ozs7dUZBSFgsbUJBQW1CO2NBSC9CLFNBQVM7ZUFBQztnQkFDVCxRQUFRLEVBQUUsRUFBRTthQUNiO3NDQUVVLGFBQWE7a0JBQXJCLEtBQUs7WUFDSSxJQUFJO2tCQUFiLE1BQU07WUFDaUMsUUFBUTt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tdKTtcbiAgfVxufVxuIl19
|
|
@@ -1,117 +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 i0.ɵɵresetView(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 i0.ɵɵresetView(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 i0.ɵɵresetView(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 i0.ɵɵresetView(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 i0.ɵɵresetView(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")(1, "td")(2, "div", 2)(3, "div", 3)(4, "a", 4);
|
|
49
|
-
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 i0.ɵɵresetView(ctx_r24.onRowSelect($event, form_r3)); });
|
|
50
|
-
i0.ɵɵelementStart(5, "h5");
|
|
51
|
-
i0.ɵɵtext(6);
|
|
52
|
-
i0.ɵɵelementEnd()();
|
|
53
|
-
i0.ɵɵelementStart(7, "div", 5);
|
|
54
|
-
i0.ɵɵtext(8);
|
|
55
|
-
i0.ɵɵpipe(9, "timeSince");
|
|
56
|
-
i0.ɵɵelementEnd()();
|
|
57
|
-
i0.ɵɵelementStart(10, "div", 6);
|
|
58
|
-
i0.ɵɵtemplate(11, FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_11_Template, 3, 0, "button", 7);
|
|
59
|
-
i0.ɵɵtext(12, "\u00A0 ");
|
|
60
|
-
i0.ɵɵtemplate(13, FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_13_Template, 3, 0, "button", 8);
|
|
61
|
-
i0.ɵɵtext(14, "\u00A0 ");
|
|
62
|
-
i0.ɵɵtemplate(15, FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_15_Template, 3, 0, "button", 8);
|
|
63
|
-
i0.ɵɵtext(16, "\u00A0 ");
|
|
64
|
-
i0.ɵɵtemplate(17, FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_17_Template, 3, 0, "button", 8);
|
|
65
|
-
i0.ɵɵtext(18, "\u00A0 ");
|
|
66
|
-
i0.ɵɵtemplate(19, FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_19_Template, 2, 0, "button", 9);
|
|
67
|
-
i0.ɵɵelementEnd()()()();
|
|
68
|
-
} if (rf & 2) {
|
|
69
|
-
const form_r3 = ctx.$implicit;
|
|
70
|
-
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
71
|
-
i0.ɵɵadvance(4);
|
|
72
|
-
i0.ɵɵpropertyInterpolate1("routerLink", "", form_r3._id, "/view");
|
|
73
|
-
i0.ɵɵadvance(2);
|
|
74
|
-
i0.ɵɵtextInterpolate(form_r3.title);
|
|
75
|
-
i0.ɵɵadvance(2);
|
|
76
|
-
i0.ɵɵtextInterpolate1(" Updated ", i0.ɵɵpipeBind1(9, 8, form_r3.modified), " ago ");
|
|
77
|
-
i0.ɵɵadvance(3);
|
|
78
|
-
i0.ɵɵproperty("ngIf", ctx_r2.actionAllowed("formView"));
|
|
79
|
-
i0.ɵɵadvance(2);
|
|
80
|
-
i0.ɵɵproperty("ngIf", ctx_r2.actionAllowed("formSubmission"));
|
|
81
|
-
i0.ɵɵadvance(2);
|
|
82
|
-
i0.ɵɵproperty("ngIf", ctx_r2.actionAllowed("formEdit"));
|
|
83
|
-
i0.ɵɵadvance(2);
|
|
84
|
-
i0.ɵɵproperty("ngIf", ctx_r2.actionAllowed("formPermission"));
|
|
85
|
-
i0.ɵɵadvance(2);
|
|
86
|
-
i0.ɵɵproperty("ngIf", ctx_r2.actionAllowed("formDelete"));
|
|
87
|
-
} }
|
|
88
|
-
function FormGridBodyComponent_ng_template_0_tbody_0_Template(rf, ctx) { if (rf & 1) {
|
|
89
|
-
i0.ɵɵelementStart(0, "tbody");
|
|
90
|
-
i0.ɵɵtemplate(1, FormGridBodyComponent_ng_template_0_tbody_0_tr_1_Template, 20, 10, "tr", 1);
|
|
91
|
-
i0.ɵɵelementEnd();
|
|
92
|
-
} if (rf & 2) {
|
|
93
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
94
|
-
i0.ɵɵadvance(1);
|
|
95
|
-
i0.ɵɵproperty("ngForOf", ctx_r1.rows);
|
|
96
|
-
} }
|
|
97
|
-
function FormGridBodyComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
98
|
-
i0.ɵɵtemplate(0, FormGridBodyComponent_ng_template_0_tbody_0_Template, 2, 1, "tbody", 0);
|
|
99
|
-
} if (rf & 2) {
|
|
100
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
101
|
-
i0.ɵɵproperty("ngIf", ctx_r0.rows);
|
|
102
|
-
} }
|
|
103
|
-
export class FormGridBodyComponent extends GridBodyComponent {
|
|
104
|
-
load(formio, query) {
|
|
105
|
-
query = query || {};
|
|
106
|
-
return formio.loadForms({ params: query }).then((forms) => this.setRows(query, forms));
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
FormGridBodyComponent.ɵfac = /*@__PURE__*/ function () { let ɵFormGridBodyComponent_BaseFactory; return function FormGridBodyComponent_Factory(t) { return (ɵFormGridBodyComponent_BaseFactory || (ɵFormGridBodyComponent_BaseFactory = i0.ɵɵgetInheritedFactory(FormGridBodyComponent)))(t || FormGridBodyComponent); }; }();
|
|
110
|
-
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) {
|
|
111
|
-
i0.ɵɵtemplate(0, FormGridBodyComponent_ng_template_0_Template, 1, 1, "ng-template");
|
|
112
|
-
} }, dependencies: [i1.NgForOf, i1.NgIf, i2.RouterLink, i3.TimeSince], styles: [".form-btn[_ngcontent-%COMP%]{font-size:.75rem;margin:2px 0}"] });
|
|
113
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormGridBodyComponent, [{
|
|
114
|
-
type: Component,
|
|
115
|
-
args: [{ selector: 'form-grid-body', 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", styles: [".form-btn{font-size:.75rem;margin:2px 0}\n"] }]
|
|
116
|
-
}], null, null); })();
|
|
117
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRm9ybUdyaWRCb2R5LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2dyaWQvc3JjL2Zvcm0vRm9ybUdyaWRCb2R5LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2dyaWQvc3JjL2Zvcm0vRm9ybUdyaWRCb2R5LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDMUMsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sc0JBQXNCLENBQUM7Ozs7Ozs7SUNXN0Msa0NBQXFKO0lBQTVDLHVQQUFTLGVBQUEsb0NBQTBCLE1BQU0sQ0FBQyxDQUFBLElBQUM7SUFBQywyQkFBa0M7SUFBQywyQkFBVTtJQUFBLGlCQUFTOzs7O0lBQzNNLGtDQUFvSjtJQUFs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2tcIj48L3NwYW4+IFBlcm1pc3Npb25zPC9idXR0b24+Jm5ic3A7XG4gICAgICAgICAgICA8YnV0dG9uICpuZ0lmPVwiYWN0aW9uQWxsb3dlZCgnZm9ybURlbGV0ZScpXCIgY2xhc3M9XCJidG4gYnRuLWRhbmdlciBidG4tc20gZm9ybS1idG4gZm9ybS1idG4tZGVsZXRlXCIgKGNsaWNrKT1cIm9uUm93QWN0aW9uKCRldmVudCwgZm9ybSwgJ2RlbGV0ZScpXCIgdGl0bGU9XCJEZWxldGUgZm9ybVwiPjxzcGFuIGNsYXNzPVwiZmEgZmEtdHJhc2hcIj48L3NwYW4+PC9idXR0b24+XG4gICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvZGl2PlxuICAgICAgPC90ZD5cbiAgICA8L3RyPlxuICA8L3Rib2R5PlxuPC9uZy10ZW1wbGF0ZT5cbiJdfQ==
|
|
@@ -1,110 +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 "@angular/forms";
|
|
6
|
-
import * as i3 from "ngx-bootstrap/pagination";
|
|
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 i0.ɵɵresetView(ctx_r13.createItem.emit("form")); });
|
|
44
|
-
i0.ɵɵelement(1, "em", 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)(3, "span", 9);
|
|
57
|
-
i0.ɵɵtext(4);
|
|
58
|
-
i0.ɵɵelementEnd();
|
|
59
|
-
i0.ɵɵtext(5);
|
|
60
|
-
i0.ɵɵelementEnd();
|
|
61
|
-
i0.ɵɵelementStart(6, "span", 10)(7, "pagination", 11);
|
|
62
|
-
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 i0.ɵɵresetView(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 i0.ɵɵresetView(ctx_r17.pageChanged.emit($event)); });
|
|
63
|
-
i0.ɵɵelementEnd()()();
|
|
64
|
-
} if (rf & 2) {
|
|
65
|
-
const label_r10 = i0.ɵɵnextContext().label;
|
|
66
|
-
const ctx_r11 = i0.ɵɵnextContext();
|
|
67
|
-
i0.ɵɵproperty("colSpan", ctx_r11.header.numHeaders);
|
|
68
|
-
i0.ɵɵadvance(1);
|
|
69
|
-
i0.ɵɵproperty("ngIf", ctx_r11.actionAllowed("formCreate"));
|
|
70
|
-
i0.ɵɵadvance(3);
|
|
71
|
-
i0.ɵɵtextInterpolate2("", ctx_r11.body.firstItem, " - ", ctx_r11.body.lastItem, "");
|
|
72
|
-
i0.ɵɵadvance(1);
|
|
73
|
-
i0.ɵɵtextInterpolate1(" / ", ctx_r11.body.total, " total");
|
|
74
|
-
i0.ɵɵadvance(1);
|
|
75
|
-
i0.ɵɵattribute("aria-label", label_r10);
|
|
76
|
-
i0.ɵɵadvance(1);
|
|
77
|
-
i0.ɵɵproperty("totalItems", ctx_r11.body.total)("itemsPerPage", ctx_r11.body.limit)("ngModel", ctx_r11.body.skip)("maxSize", ctx_r11.size);
|
|
78
|
-
} }
|
|
79
|
-
function FormGridFooterComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
80
|
-
i0.ɵɵelementStart(0, "tr");
|
|
81
|
-
i0.ɵɵtemplate(1, FormGridFooterComponent_ng_template_2_td_1_Template, 8, 10, "td", 5);
|
|
82
|
-
i0.ɵɵelementEnd();
|
|
83
|
-
} if (rf & 2) {
|
|
84
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
|
85
|
-
i0.ɵɵadvance(1);
|
|
86
|
-
i0.ɵɵproperty("ngIf", ctx_r3.header);
|
|
87
|
-
} }
|
|
88
|
-
export class FormGridFooterComponent extends GridFooterComponent {
|
|
89
|
-
constructor() {
|
|
90
|
-
super();
|
|
91
|
-
}
|
|
92
|
-
ngOnInit() {
|
|
93
|
-
if (!this.createText) {
|
|
94
|
-
this.createText = 'Create Form';
|
|
95
|
-
}
|
|
96
|
-
if (!this.size) {
|
|
97
|
-
this.size = 7;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
FormGridFooterComponent.ɵfac = function FormGridFooterComponent_Factory(t) { return new (t || FormGridFooterComponent)(); };
|
|
102
|
-
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) {
|
|
103
|
-
i0.ɵɵtemplate(0, FormGridFooterComponent_ng_template_0_Template, 2, 2, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
104
|
-
i0.ɵɵtemplate(2, FormGridFooterComponent_ng_template_2_Template, 2, 1, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
105
|
-
} }, dependencies: [i1.NgIf, i1.NgTemplateOutlet, i2.NgControlStatus, i2.NgModel, i3.PaginationComponent], 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 });
|
|
106
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormGridFooterComponent, [{
|
|
107
|
-
type: Component,
|
|
108
|
-
args: [{ encapsulation: ViewEncapsulation.None, 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')\"><em class=\"glyphicon glyphicon-plus fa fa-plus\"></em> {{ 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", 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"] }]
|
|
109
|
-
}], function () { return []; }, null); })();
|
|
110
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRm9ybUdyaWRGb290ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vZ3JpZC9zcmMvZm9ybS9Gb3JtR3JpZEZvb3Rlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvc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4gICAgICAgIDwvcGFnaW5hdGlvbj5cbiAgICAgIDwvc3Bhbj5cbiAgICA8L3RkPlxuICA8L3RyPlxuPC9uZy10ZW1wbGF0ZT5cbiJdfQ==
|
|
@@ -1,52 +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")(1, "tr")(2, "th")(3, "div", 0)(4, "div", 1)(5, "a", 2);
|
|
16
|
-
i0.ɵɵlistener("click", function FormGridHeaderComponent_ng_template_0_Template_a_click_5_listener() { i0.ɵɵrestoreView(_r3); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.sort.emit(ctx_r2.header)); });
|
|
17
|
-
i0.ɵɵtext(6);
|
|
18
|
-
i0.ɵɵtemplate(7, FormGridHeaderComponent_ng_template_0_span_7_Template, 1, 4, "span", 3);
|
|
19
|
-
i0.ɵɵelementEnd()();
|
|
20
|
-
i0.ɵɵelementStart(8, "div", 4);
|
|
21
|
-
i0.ɵɵtext(9, " Operations ");
|
|
22
|
-
i0.ɵɵelementEnd()()()()();
|
|
23
|
-
} if (rf & 2) {
|
|
24
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
25
|
-
i0.ɵɵadvance(6);
|
|
26
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r0.header.label, "\u00A0");
|
|
27
|
-
i0.ɵɵadvance(1);
|
|
28
|
-
i0.ɵɵproperty("ngIf", ctx_r0.header.sort);
|
|
29
|
-
} }
|
|
30
|
-
export class FormGridHeaderComponent extends GridHeaderComponent {
|
|
31
|
-
load(formio) {
|
|
32
|
-
this.header = {
|
|
33
|
-
label: 'Title',
|
|
34
|
-
key: 'title',
|
|
35
|
-
sort: SortType.ASC
|
|
36
|
-
};
|
|
37
|
-
this.headers = [this.header];
|
|
38
|
-
return Promise.resolve(this.headers);
|
|
39
|
-
}
|
|
40
|
-
get numHeaders() {
|
|
41
|
-
return 2;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
FormGridHeaderComponent.ɵfac = /*@__PURE__*/ function () { let ɵFormGridHeaderComponent_BaseFactory; return function FormGridHeaderComponent_Factory(t) { return (ɵFormGridHeaderComponent_BaseFactory || (ɵFormGridHeaderComponent_BaseFactory = i0.ɵɵgetInheritedFactory(FormGridHeaderComponent)))(t || FormGridHeaderComponent); }; }();
|
|
45
|
-
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) {
|
|
46
|
-
i0.ɵɵtemplate(0, FormGridHeaderComponent_ng_template_0_Template, 10, 2, "ng-template");
|
|
47
|
-
} }, dependencies: [i1.NgClass, i1.NgIf], encapsulation: 2 });
|
|
48
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormGridHeaderComponent, [{
|
|
49
|
-
type: Component,
|
|
50
|
-
args: [{ selector: 'form-grid-header', 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" }]
|
|
51
|
-
}], null, null); })();
|
|
52
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRm9ybUdyaWRIZWFkZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vZ3JpZC9zcmMvZm9ybS9Gb3JtR3JpZEhlYWRlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9ncmlkL3NyYy9mb3JtL0Zvcm1HcmlkSGVhZGVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDeEMsT0FBTyxFQUFDLG1CQUFtQixFQUFDLE1BQU0sd0JBQXdCLENBQUM7QUFDM0QsT0FBTyxFQUFhLFFBQVEsRUFBQyxNQUFNLHNCQUFzQixDQUFDOzs7OztJQ0twQiwwQkFBdU07OztJQUFqTSxpSEFBZ0o7Ozs7SUFOMUwsN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