@formio/angular 6.0.1 → 6.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{dist/angular-formio/FormioBaseComponent.d.ts → FormioBaseComponent.d.ts} +1 -1
- package/{dist/angular-formio/FormioBaseComponent.d.ts.map → FormioBaseComponent.d.ts.map} +1 -1
- package/README.md +13 -182
- package/{dist/angular-formio/components → components}/formbuilder/formbuilder.component.d.ts +1 -1
- package/{dist/angular-formio/components → components}/formbuilder/formbuilder.component.d.ts.map +1 -1
- package/{dist/angular-formio/components → components}/formioreport/formioreport.component.d.ts +0 -1
- package/{dist/angular-formio/components → components}/formioreport/formioreport.component.d.ts.map +1 -1
- package/{dist/angular-formio/core.d.ts → core.d.ts} +1 -3
- package/{dist/angular-formio/core.d.ts.map → core.d.ts.map} +1 -1
- package/esm2022/FormioBaseComponent.mjs +584 -0
- package/esm2022/auth/auth.component.mjs +13 -0
- package/esm2022/auth/auth.config.mjs +22 -0
- package/esm2022/auth/auth.module.mjs +47 -0
- package/esm2022/auth/auth.service.mjs +200 -0
- package/esm2022/auth/login/login.component.mjs +21 -0
- package/esm2022/auth/register/register.component.mjs +21 -0
- package/esm2022/auth/resetpass/resetpass.component.mjs +18 -0
- package/esm2022/components/alerts/formio.alerts.component.mjs +29 -0
- package/esm2022/components/alerts/parse-html-content.pipe.mjs +20 -0
- package/esm2022/components/formbuilder/formbuilder.component.mjs +202 -0
- package/esm2022/components/formio/formio.component.mjs +43 -0
- package/esm2022/components/formioreport/formioreport.component.mjs +86 -0
- package/esm2022/components/loader/formio.loader.component.mjs +16 -0
- package/esm2022/core.mjs +18 -0
- package/esm2022/custom-tags.service.mjs +15 -0
- package/esm2022/formio.common.mjs +11 -0
- package/esm2022/formio.config.mjs +30 -0
- package/esm2022/formio.module.mjs +60 -0
- package/esm2022/formio.service.mjs +62 -0
- package/esm2022/formio.utils.mjs +21 -0
- package/esm2022/grid/GridBodyComponent.mjs +90 -0
- package/esm2022/grid/GridFooterComponent.mjs +45 -0
- package/esm2022/grid/GridHeaderComponent.mjs +35 -0
- package/esm2022/grid/form/FormGridBody.component.mjs +64 -0
- package/esm2022/grid/form/FormGridFooter.component.mjs +27 -0
- package/esm2022/grid/form/FormGridHeader.component.mjs +28 -0
- package/esm2022/grid/form/time-since.pipe.mjs +38 -0
- package/esm2022/grid/grid.component.mjs +258 -0
- package/esm2022/grid/grid.module.mjs +80 -0
- package/esm2022/grid/grid.service.mjs +19 -0
- package/esm2022/grid/submission/SubmissionGridBody.component.mjs +44 -0
- package/esm2022/grid/submission/SubmissionGridFooter.component.mjs +24 -0
- package/esm2022/grid/submission/SubmissionGridHeader.component.mjs +64 -0
- package/esm2022/manager/create/create.component.mjs +19 -0
- package/esm2022/manager/delete/delete.component.mjs +43 -0
- package/esm2022/manager/edit/edit.component.mjs +126 -0
- package/esm2022/manager/form/form.component.mjs +81 -0
- package/esm2022/manager/form-manager.config.mjs +19 -0
- package/esm2022/manager/form-manager.module.mjs +84 -0
- package/esm2022/manager/form-manager.service.mjs +186 -0
- package/esm2022/manager/index/index.component.mjs +109 -0
- package/esm2022/manager/submission/delete/delete.component.mjs +33 -0
- package/esm2022/manager/submission/edit/edit.component.mjs +26 -0
- package/esm2022/manager/submission/index/index.component.mjs +26 -0
- package/esm2022/manager/submission/submission/submission.component.mjs +30 -0
- package/esm2022/manager/submission/view/view.component.mjs +18 -0
- package/esm2022/manager/view/view.component.mjs +53 -0
- package/esm2022/resource/create/create.component.mjs +44 -0
- package/esm2022/resource/delete/delete.component.mjs +30 -0
- package/esm2022/resource/edit/edit.component.mjs +43 -0
- package/esm2022/resource/index/index.component.mjs +70 -0
- package/esm2022/resource/resource.component.mjs +47 -0
- package/esm2022/resource/resource.config.mjs +14 -0
- package/esm2022/resource/resource.module.mjs +63 -0
- package/esm2022/resource/resource.service.mjs +230 -0
- package/esm2022/resource/resources.service.mjs +26 -0
- package/esm2022/resource/view/view.component.mjs +26 -0
- package/{dist/angular-formio/fesm2022 → fesm2022}/formio-angular-auth.mjs +59 -92
- package/fesm2022/formio-angular-auth.mjs.map +1 -0
- package/fesm2022/formio-angular-grid.mjs +771 -0
- package/fesm2022/formio-angular-grid.mjs.map +1 -0
- package/fesm2022/formio-angular-manager.mjs +822 -0
- package/fesm2022/formio-angular-manager.mjs.map +1 -0
- package/fesm2022/formio-angular-resource.mjs +571 -0
- package/fesm2022/formio-angular-resource.mjs.map +1 -0
- package/fesm2022/formio-angular.mjs +1183 -0
- package/fesm2022/formio-angular.mjs.map +1 -0
- package/{dist/angular-formio/formio.common.d.ts → formio.common.d.ts} +2 -1
- package/formio.common.d.ts.map +1 -0
- package/{dist/angular-formio/formio.config.d.ts → formio.config.d.ts} +1 -2
- package/formio.config.d.ts.map +1 -0
- package/{dist/angular-formio/grid → grid}/submission/SubmissionGridHeader.component.d.ts +1 -1
- package/grid/submission/SubmissionGridHeader.component.d.ts.map +1 -0
- package/{dist/angular-formio/manager → manager}/edit/edit.component.d.ts.map +1 -1
- package/{dist/angular-formio/manager → manager}/form-manager.service.d.ts +1 -1
- package/{dist/angular-formio/manager → manager}/form-manager.service.d.ts.map +1 -1
- package/package.json +57 -54
- package/{dist/angular-formio/resource → resource}/resource.service.d.ts.map +1 -1
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/03/c3/57d706b57a9bb2202b4c3f58dc4c59bd1fae8dc1d330b416b5c069a4217a2457f6c7cfef2f6d0dc5378bb43c95f62533a75cb34d09cfef47dc40e5756725 +0 -1
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/0c/7a/916bd866cb386cc87b9ea07c40edc23df9d726d1865e6699b42dedfbfb2a8364ced191aa62680a9297d7644cdfa64753b8975cc254c7c581f28bba0acd15 +0 -1
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/17/1b/bc3996ef483c464312f7c1acf66b2ce37039601d01d5faf114e615de6ae5001d009aa0a1410c1b4682dda0866d78d5f9c709ab4f6c8ba986a7936ab9f6ef +0 -1
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/1e/04/481e2f3a5c2e9aed176acbf87c09f0320892cb02bbf8a95019c30ea33f77af28e8280057e4720a90506cb25c59ed33c0d60655446b75c3e25dfb4330ed43 +0 -1
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/28/48/0149b4006ab8d4a2a7b42e75c125f3adab48568f4d85ee48176367ae60965807a3a72f81550645fe5a2ba83c16b33196f85c46107d859175847763b9bba7 +0 -1
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/42/8d/7954e44606cfeaf1246358216f7f53bdccafbdbf7b99700ea6002d6e0dbe1c33f015d0cf59b833e5b4a36767cd94f29b9d77f86645e872bdc3013b403845 +0 -1
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/43/05/c86feb68c6e6f17d2b1e7d4aadfbef2f8554b42c9e0b7516b22a7c34044b513c23987b00507d17cb8f89b9b762b5499483d4ec16708519940e00cee5863a +0 -1
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/4c/77/763f1bb202f7b0d54e7b79b0a23fe956cf0827a5e988bceb7c59621c9ec07c8e7863531e5731dc334e90cf1d735a6e64dafa6d5bae486ab3b7b90dea3fe5 +0 -1
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/5e/df/0706d1dfb3ed5b0c5a65b7b5e40996105b18800c157e8fb273040145aa011d9e60e28eb2112e2867a70052784727400f86d082d90d2c5841ec3abcbb6840 +0 -1
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/6f/86/7209df36e306d669d7347d7ddb464798ace457218aa5f3be5b17145cdfd1385bbd48d133381fc31c082b5025575865b351f9bb0265508359fda378962d60 +0 -1
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/71/55/241de4ea057eae7171b73fac62de144f35df7c4ec9be4fca9b08fa02f24f281e79717c76086a90b578d52963cd7cc78fc391ec813576d667ac3ad043e67d +0 -1
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/89/26/e1b6ab1ce4c15c9175974d262c9baead1eea23bb80c6da1926a36513e9777f8d1be0948ec0cb33e875e41926682599a92ede1900400004ad1856529822bc +0 -1
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/9c/21/3b8af7b6ee09c29bf340610026191af56f9ba1cba1f5e4476424775d5e322f84d7e900c4d264d39804cebf3dcb5aaa5eb5e9d8fd143bc3a8aa76c3d5325e +0 -1
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/9e/bc/eb0b9b19e56d5161114be0b4aa51d5e29527ddd9e8954a9977fdb80b1640d5ee535de8c5c7cc1348f12423d5c9ece8e6525290eed6d4259303c5e0dd9e54 +0 -1
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/af/5c/97d9a08342685ee95844b54aed260370df0de7c2408ec7b14f7da3972c811ee5a4cae7be4f51de07dd039c8639ec4e9008733bcf0b6a438b29a83d7fabe3 +0 -1
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/b3/9a/0f0721f954468df14c05be1e1ecf80808948d80accc676b22b2f42594e36fd848d7b6f3a494888778ced38819d64ac01619dadef02f5d064a07e422dc6e3 +0 -1
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/ba/5d/d939f6c0890924d0234b6253e4c7baab7e285c4e9e3b838d4f223f5365ce00c421e48383fc21ecdf847e1592936f5be80b0d20ea3db471bfe39e181c091a +0 -1
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/c2/ed/fa9f957c177066eb85345c4a12a5b966d0a8c9b13723ef0b97b9e97fd12d94dce317239ca3b04a085e837ac1254883fe308f6914c845b3ab905aee71104c +0 -1
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/e5/02/dea9a92e3e7a840bde12d10d7b4d9c19c7be587e568019a9aacd2f3be7a6a968ec214e3c6671def4874ff7e14de90b2b7f4742d40932e5772e85ed9e2e5c +0 -1
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/e9/ca/53ff813610ae5d57a25518e6546b659a092de2c929fd43130db59358947aa9aa5797289f7ca39fe550d2e41050a69cb26e6b5dd6ebbcae0207ab08474dc8 +0 -1
- package/.angular/cache/18.1.2/ng-packagr/index-v5/25/d3/52d51d20f0068267704af92a4b131f29e9318f247d503eb0ec23c1ed7188 +0 -2
- package/.angular/cache/18.1.2/ng-packagr/index-v5/32/2f/d5c320e973844b017f9df834dcf5f8a70b27c1c3b625602647fbe166617c +0 -2
- package/.angular/cache/18.1.2/ng-packagr/index-v5/38/53/3bd61bb2f286821c9ec46774147eb97de202bd306657efa7e8fb0a4343e8 +0 -2
- package/.angular/cache/18.1.2/ng-packagr/index-v5/4e/53/3b7731ca8fad27e6eaeb4c36c45bd95e9f08ffb7d050da8e33aa0c67f420 +0 -2
- package/.angular/cache/18.1.2/ng-packagr/index-v5/4f/b5/b4881a5f5a49b3873273918459bc33f4faa34e974e629f48a07d7a97c39c +0 -2
- package/.angular/cache/18.1.2/ng-packagr/index-v5/5b/e4/f6ef130cc3bbbf5aa958ce481e0b714d430a6a04f61381bc829296cde9a5 +0 -2
- package/.angular/cache/18.1.2/ng-packagr/index-v5/69/8c/55ebedfbeee3a23e43db1e5576ea5a06710fab809fc667ba3ce8583b8eea +0 -2
- package/.angular/cache/18.1.2/ng-packagr/index-v5/8a/38/489a51c20c3a372344dd5510758e23c1caffd6dfe1525c17dc3fbc231b76 +0 -2
- package/.angular/cache/18.1.2/ng-packagr/index-v5/8d/5d/26f10d893644ba75ac602bed8276ef0b4e1866d085754e032ee3833e95ab +0 -2
- package/.angular/cache/18.1.2/ng-packagr/index-v5/9a/0d/0056d732cfdfa97dfef099aa2189dcac3fae2f7c3c3560cd77a7c9567e74 +0 -2
- package/.angular/cache/18.1.2/ng-packagr/index-v5/9c/f5/9c5f48481303af30935226f6337a1e033ad35f0462f95da8a973b69aafb5 +0 -2
- package/.angular/cache/18.1.2/ng-packagr/index-v5/a3/17/80d2a0bcaac6af902db5f128a8f8ec58ec220b9d00d6825205749c2f418a +0 -2
- package/.angular/cache/18.1.2/ng-packagr/index-v5/aa/80/466e9b161643951f9a077066a20cd2d7ef6903a1fdcaadedcef9c0177747 +0 -2
- package/.angular/cache/18.1.2/ng-packagr/index-v5/b7/72/d9f00a872849a611fa73cb9ec575401ee6c838795bb102753b24d7d53ee3 +0 -2
- package/.angular/cache/18.1.2/ng-packagr/index-v5/c7/dd/eca0dfb0e1190fa828b47955c8f97ac1e7a5b24871fb9d8342cd7256e5f9 +0 -2
- package/.angular/cache/18.1.2/ng-packagr/index-v5/d9/03/3fd9ec2d0c37e7b3824ec5e7936928c4f6debbb6899a120a52cdba472f38 +0 -2
- package/.angular/cache/18.1.2/ng-packagr/index-v5/da/4e/570182d1f569903d2554c87334c0f7751dafcb6b683ddfbe4213614fd5be +0 -2
- package/.angular/cache/18.1.2/ng-packagr/index-v5/dc/4f/1a8db8af7d1e3f37160992ae5545e63460ab6e54a4d3981f234eb089d435 +0 -2
- package/.angular/cache/18.1.2/ng-packagr/index-v5/e8/e9/47b0d4126bcfabc2df9a4c4be0d197a805526dd04e2a48278501d62a85fd +0 -2
- package/.angular/cache/18.1.2/ng-packagr/index-v5/ed/de/db04689deebb1db3d7610a2bbca795b1180084d7985db7a993d4787f6d0e +0 -2
- package/.angular/cache/18.1.2/ng-packagr/tsbuildinfo/formio-angular-auth.tsbuildinfo +0 -1
- package/.angular/cache/18.1.2/ng-packagr/tsbuildinfo/formio-angular-embed.tsbuildinfo +0 -1
- package/.angular/cache/18.1.2/ng-packagr/tsbuildinfo/formio-angular-grid.tsbuildinfo +0 -1
- package/.angular/cache/18.1.2/ng-packagr/tsbuildinfo/formio-angular-manager.tsbuildinfo +0 -1
- package/.angular/cache/18.1.2/ng-packagr/tsbuildinfo/formio-angular-resource.tsbuildinfo +0 -1
- package/.angular/cache/18.1.2/ng-packagr/tsbuildinfo/formio-angular.tsbuildinfo +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 -1095
- package/Dockerfile +0 -20
- package/LICENSE +0 -21
- package/angular.json +0 -38
- package/bs-config.json +0 -11
- package/dist/angular-formio/README.md +0 -24
- package/dist/angular-formio/embed/app.service.d.ts +0 -28
- package/dist/angular-formio/embed/app.service.d.ts.map +0 -1
- package/dist/angular-formio/embed/builder.component.d.ts +0 -13
- package/dist/angular-formio/embed/builder.component.d.ts.map +0 -1
- package/dist/angular-formio/embed/embed.module.d.ts +0 -10
- package/dist/angular-formio/embed/embed.module.d.ts.map +0 -1
- package/dist/angular-formio/embed/formio-angular-embed.d.ts.map +0 -1
- package/dist/angular-formio/embed/formio.component.d.ts +0 -16
- package/dist/angular-formio/embed/formio.component.d.ts.map +0 -1
- package/dist/angular-formio/embed/index.d.ts +0 -7
- package/dist/angular-formio/embed/index.d.ts.map +0 -1
- package/dist/angular-formio/esm2022/FormioBaseComponent.mjs +0 -587
- package/dist/angular-formio/esm2022/auth/auth.component.mjs +0 -23
- package/dist/angular-formio/esm2022/auth/auth.config.mjs +0 -21
- package/dist/angular-formio/esm2022/auth/auth.module.mjs +0 -47
- package/dist/angular-formio/esm2022/auth/auth.service.mjs +0 -199
- package/dist/angular-formio/esm2022/auth/login/login.component.mjs +0 -27
- package/dist/angular-formio/esm2022/auth/register/register.component.mjs +0 -27
- package/dist/angular-formio/esm2022/auth/resetpass/resetpass.component.mjs +0 -24
- package/dist/angular-formio/esm2022/components/alerts/formio.alerts.component.mjs +0 -46
- package/dist/angular-formio/esm2022/components/alerts/parse-html-content.pipe.mjs +0 -19
- package/dist/angular-formio/esm2022/components/formbuilder/formbuilder.component.mjs +0 -211
- package/dist/angular-formio/esm2022/components/formio/formio.component.mjs +0 -85
- package/dist/angular-formio/esm2022/components/formioreport/formioreport.component.mjs +0 -137
- package/dist/angular-formio/esm2022/components/loader/formio.loader.component.mjs +0 -25
- package/dist/angular-formio/esm2022/core.mjs +0 -19
- package/dist/angular-formio/esm2022/custom-tags.service.mjs +0 -14
- package/dist/angular-formio/esm2022/embed/app.service.mjs +0 -58
- package/dist/angular-formio/esm2022/embed/builder.component.mjs +0 -45
- package/dist/angular-formio/esm2022/embed/embed.module.mjs +0 -36
- package/dist/angular-formio/esm2022/embed/formio-angular-embed.mjs +0 -5
- package/dist/angular-formio/esm2022/embed/formio.component.mjs +0 -59
- package/dist/angular-formio/esm2022/embed/index.mjs +0 -7
- package/dist/angular-formio/esm2022/formio.common.mjs +0 -11
- package/dist/angular-formio/esm2022/formio.config.mjs +0 -29
- package/dist/angular-formio/esm2022/formio.module.mjs +0 -60
- package/dist/angular-formio/esm2022/formio.service.mjs +0 -62
- package/dist/angular-formio/esm2022/formio.utils.mjs +0 -21
- package/dist/angular-formio/esm2022/grid/GridBodyComponent.mjs +0 -95
- package/dist/angular-formio/esm2022/grid/GridFooterComponent.mjs +0 -50
- package/dist/angular-formio/esm2022/grid/GridHeaderComponent.mjs +0 -40
- package/dist/angular-formio/esm2022/grid/form/FormGridBody.component.mjs +0 -165
- package/dist/angular-formio/esm2022/grid/form/FormGridFooter.component.mjs +0 -112
- package/dist/angular-formio/esm2022/grid/form/FormGridHeader.component.mjs +0 -54
- package/dist/angular-formio/esm2022/grid/form/time-since.pipe.mjs +0 -37
- package/dist/angular-formio/esm2022/grid/grid.component.mjs +0 -321
- package/dist/angular-formio/esm2022/grid/grid.module.mjs +0 -80
- package/dist/angular-formio/esm2022/grid/grid.service.mjs +0 -18
- package/dist/angular-formio/esm2022/grid/submission/SubmissionGridBody.component.mjs +0 -74
- package/dist/angular-formio/esm2022/grid/submission/SubmissionGridFooter.component.mjs +0 -103
- package/dist/angular-formio/esm2022/grid/submission/SubmissionGridHeader.component.mjs +0 -96
- package/dist/angular-formio/esm2022/manager/create/create.component.mjs +0 -62
- package/dist/angular-formio/esm2022/manager/delete/delete.component.mjs +0 -58
- package/dist/angular-formio/esm2022/manager/edit/edit.component.mjs +0 -181
- package/dist/angular-formio/esm2022/manager/form/form.component.mjs +0 -176
- package/dist/angular-formio/esm2022/manager/form-manager.config.mjs +0 -18
- package/dist/angular-formio/esm2022/manager/form-manager.module.mjs +0 -84
- package/dist/angular-formio/esm2022/manager/form-manager.service.mjs +0 -185
- package/dist/angular-formio/esm2022/manager/index/index.component.mjs +0 -151
- package/dist/angular-formio/esm2022/manager/submission/delete/delete.component.mjs +0 -48
- package/dist/angular-formio/esm2022/manager/submission/edit/edit.component.mjs +0 -32
- package/dist/angular-formio/esm2022/manager/submission/index/index.component.mjs +0 -32
- package/dist/angular-formio/esm2022/manager/submission/submission/submission.component.mjs +0 -67
- package/dist/angular-formio/esm2022/manager/submission/view/view.component.mjs +0 -24
- package/dist/angular-formio/esm2022/manager/view/view.component.mjs +0 -66
- package/dist/angular-formio/esm2022/resource/create/create.component.mjs +0 -64
- package/dist/angular-formio/esm2022/resource/delete/delete.component.mjs +0 -42
- package/dist/angular-formio/esm2022/resource/edit/edit.component.mjs +0 -49
- package/dist/angular-formio/esm2022/resource/index/index.component.mjs +0 -79
- package/dist/angular-formio/esm2022/resource/resource.component.mjs +0 -72
- package/dist/angular-formio/esm2022/resource/resource.config.mjs +0 -13
- package/dist/angular-formio/esm2022/resource/resource.module.mjs +0 -63
- package/dist/angular-formio/esm2022/resource/resource.service.mjs +0 -231
- package/dist/angular-formio/esm2022/resource/resources.service.mjs +0 -25
- package/dist/angular-formio/esm2022/resource/view/view.component.mjs +0 -30
- package/dist/angular-formio/fesm2022/formio-angular-auth.mjs.map +0 -1
- package/dist/angular-formio/fesm2022/formio-angular-embed.mjs +0 -195
- package/dist/angular-formio/fesm2022/formio-angular-embed.mjs.map +0 -1
- package/dist/angular-formio/fesm2022/formio-angular-grid.mjs +0 -1213
- package/dist/angular-formio/fesm2022/formio-angular-grid.mjs.map +0 -1
- package/dist/angular-formio/fesm2022/formio-angular-manager.mjs +0 -1167
- package/dist/angular-formio/fesm2022/formio-angular-manager.mjs.map +0 -1
- package/dist/angular-formio/fesm2022/formio-angular-resource.mjs +0 -656
- package/dist/angular-formio/fesm2022/formio-angular-resource.mjs.map +0 -1
- package/dist/angular-formio/fesm2022/formio-angular.mjs +0 -1321
- package/dist/angular-formio/fesm2022/formio-angular.mjs.map +0 -1
- package/dist/angular-formio/formio.common.d.ts.map +0 -1
- package/dist/angular-formio/formio.config.d.ts.map +0 -1
- package/dist/angular-formio/grid/submission/SubmissionGridHeader.component.d.ts.map +0 -1
- 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 -11
- 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 -221
- 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 -11
- 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 -11
- 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 -22
- package/projects/angular-formio/grid/src/form/FormGridBody.component.scss +0 -4
- package/projects/angular-formio/grid/src/form/FormGridBody.component.ts +0 -46
- 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 -110
- 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 -31
- 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 -190
- 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 -100
- 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 -11
- package/projects/angular-formio/manager/src/view/view.component.ts +0 -44
- package/projects/angular-formio/ng-package.json +0 -7
- package/projects/angular-formio/node_modules/tslib/CopyrightNotice.txt +0 -15
- package/projects/angular-formio/node_modules/tslib/LICENSE.txt +0 -12
- package/projects/angular-formio/node_modules/tslib/README.md +0 -164
- package/projects/angular-formio/node_modules/tslib/SECURITY.md +0 -41
- package/projects/angular-formio/node_modules/tslib/modules/index.d.ts +0 -35
- package/projects/angular-formio/node_modules/tslib/modules/index.js +0 -64
- package/projects/angular-formio/node_modules/tslib/modules/package.json +0 -3
- package/projects/angular-formio/node_modules/tslib/package.json +0 -47
- package/projects/angular-formio/node_modules/tslib/tslib.d.ts +0 -430
- package/projects/angular-formio/node_modules/tslib/tslib.es6.html +0 -1
- package/projects/angular-formio/node_modules/tslib/tslib.es6.js +0 -321
- package/projects/angular-formio/node_modules/tslib/tslib.es6.mjs +0 -321
- package/projects/angular-formio/node_modules/tslib/tslib.html +0 -1
- package/projects/angular-formio/node_modules/tslib/tslib.js +0 -370
- 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 -7
- package/projects/angular-formio/resource/src/edit/edit.component.ts +0 -35
- package/projects/angular-formio/resource/src/index/index.component.html +0 -10
- package/projects/angular-formio/resource/src/index/index.component.ts +0 -64
- 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 -258
- 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 -557
- 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/formioreport/formioreport.component.html +0 -8
- package/projects/angular-formio/src/components/formioreport/formioreport.component.ts +0 -91
- 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 -25
- package/projects/angular-formio/src/custom-tags.service.ts +0 -9
- package/projects/angular-formio/src/formio-promise.service.ts +0 -36
- package/projects/angular-formio/src/formio.common.ts +0 -91
- package/projects/angular-formio/src/formio.config.ts +0 -26
- package/projects/angular-formio/src/formio.module.ts +0 -38
- 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 -3
- 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 -39
- 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}/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/custom-tags.service.d.ts → custom-tags.service.d.ts} +0 -0
- /package/{dist/angular-formio/custom-tags.service.d.ts.map → custom-tags.service.d.ts.map} +0 -0
- /package/{dist/angular-formio/esm2022 → esm2022}/auth/auth.routes.mjs +0 -0
- /package/{dist/angular-formio/esm2022 → esm2022}/auth/formio-angular-auth.mjs +0 -0
- /package/{dist/angular-formio/esm2022 → esm2022}/auth/index.mjs +0 -0
- /package/{dist/angular-formio/esm2022 → esm2022}/components/alerts/formio.alerts.mjs +0 -0
- /package/{dist/angular-formio/esm2022 → esm2022}/formio-angular.mjs +0 -0
- /package/{dist/angular-formio/esm2022 → esm2022}/formio-promise.service.mjs +0 -0
- /package/{dist/angular-formio/esm2022 → esm2022}/grid/form/index.mjs +0 -0
- /package/{dist/angular-formio/esm2022 → esm2022}/grid/formio-angular-grid.mjs +0 -0
- /package/{dist/angular-formio/esm2022 → esm2022}/grid/index.mjs +0 -0
- /package/{dist/angular-formio/esm2022 → esm2022}/grid/submission/index.mjs +0 -0
- /package/{dist/angular-formio/esm2022 → esm2022}/grid/types/grid-column.mjs +0 -0
- /package/{dist/angular-formio/esm2022 → esm2022}/grid/types/grid-footer-positions.mjs +0 -0
- /package/{dist/angular-formio/esm2022 → esm2022}/grid/types/grid-header.mjs +0 -0
- /package/{dist/angular-formio/esm2022 → esm2022}/index.mjs +0 -0
- /package/{dist/angular-formio/esm2022 → esm2022}/manager/form-manager.routes.mjs +0 -0
- /package/{dist/angular-formio/esm2022 → esm2022}/manager/formio-angular-manager.mjs +0 -0
- /package/{dist/angular-formio/esm2022 → esm2022}/manager/index.mjs +0 -0
- /package/{dist/angular-formio/esm2022 → esm2022}/resource/formio-angular-resource.mjs +0 -0
- /package/{dist/angular-formio/esm2022 → esm2022}/resource/index.mjs +0 -0
- /package/{dist/angular-formio/esm2022 → esm2022}/resource/resource.routes.mjs +0 -0
- /package/{dist/angular-formio/esm2022 → esm2022}/types/alerts-position.mjs +0 -0
- /package/{dist/angular-formio/esm2022 → esm2022}/types/formio-metadata.mjs +0 -0
- /package/{dist/angular-formio/esm2022 → esm2022}/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.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/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}/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}/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/{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/{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.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}/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,165 +0,0 @@
|
|
|
1
|
-
import { Component, ViewChildren } from '@angular/core';
|
|
2
|
-
import { GridBodyComponent } from '../GridBodyComponent';
|
|
3
|
-
import { Tooltip } from 'bootstrap';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@angular/common";
|
|
6
|
-
import * as i2 from "@angular/router";
|
|
7
|
-
import * as i3 from "./time-since.pipe";
|
|
8
|
-
const _c0 = ["create"];
|
|
9
|
-
const _c1 = ["view"];
|
|
10
|
-
const _c2 = ["edit"];
|
|
11
|
-
const _c3 = ["permissions"];
|
|
12
|
-
const _c4 = ["delete"];
|
|
13
|
-
function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_11_Template(rf, ctx) { if (rf & 1) {
|
|
14
|
-
const _r4 = i0.ɵɵgetCurrentView();
|
|
15
|
-
i0.ɵɵelementStart(0, "button", 14, 0);
|
|
16
|
-
i0.ɵɵlistener("click", function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_11_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r4); const form_r2 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onRowAction($event, form_r2, "view")); });
|
|
17
|
-
i0.ɵɵelement(2, "span", 15);
|
|
18
|
-
i0.ɵɵelementEnd();
|
|
19
|
-
} }
|
|
20
|
-
function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_13_Template(rf, ctx) { if (rf & 1) {
|
|
21
|
-
const _r5 = i0.ɵɵgetCurrentView();
|
|
22
|
-
i0.ɵɵelementStart(0, "button", 16, 1);
|
|
23
|
-
i0.ɵɵlistener("click", function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_13_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r5); const form_r2 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onRowAction($event, form_r2, "submission")); });
|
|
24
|
-
i0.ɵɵelement(2, "span", 17);
|
|
25
|
-
i0.ɵɵelementEnd();
|
|
26
|
-
} }
|
|
27
|
-
function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_15_Template(rf, ctx) { if (rf & 1) {
|
|
28
|
-
const _r6 = i0.ɵɵgetCurrentView();
|
|
29
|
-
i0.ɵɵelementStart(0, "button", 16, 2);
|
|
30
|
-
i0.ɵɵlistener("click", function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_15_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r6); const form_r2 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onRowAction($event, form_r2, "edit")); });
|
|
31
|
-
i0.ɵɵelement(2, "span", 18);
|
|
32
|
-
i0.ɵɵelementEnd();
|
|
33
|
-
} }
|
|
34
|
-
function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_17_Template(rf, ctx) { if (rf & 1) {
|
|
35
|
-
const _r7 = i0.ɵɵgetCurrentView();
|
|
36
|
-
i0.ɵɵelementStart(0, "button", 19, 3);
|
|
37
|
-
i0.ɵɵlistener("click", function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_17_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r7); const form_r2 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onRowAction($event, form_r2, "delete")); });
|
|
38
|
-
i0.ɵɵelement(2, "span", 20);
|
|
39
|
-
i0.ɵɵelementEnd();
|
|
40
|
-
} }
|
|
41
|
-
function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
42
|
-
const _r1 = i0.ɵɵgetCurrentView();
|
|
43
|
-
i0.ɵɵelementStart(0, "tr")(1, "td")(2, "div", 6)(3, "div", 7)(4, "a", 8);
|
|
44
|
-
i0.ɵɵlistener("click", function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_Template_a_click_4_listener($event) { const form_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onRowSelect($event, form_r2)); });
|
|
45
|
-
i0.ɵɵelementStart(5, "h5");
|
|
46
|
-
i0.ɵɵtext(6);
|
|
47
|
-
i0.ɵɵelementEnd()();
|
|
48
|
-
i0.ɵɵelementStart(7, "div", 9);
|
|
49
|
-
i0.ɵɵtext(8);
|
|
50
|
-
i0.ɵɵpipe(9, "timeSince");
|
|
51
|
-
i0.ɵɵelementEnd()();
|
|
52
|
-
i0.ɵɵelementStart(10, "div", 10);
|
|
53
|
-
i0.ɵɵtemplate(11, FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_11_Template, 3, 0, "button", 11);
|
|
54
|
-
i0.ɵɵtext(12, "\u00A0 ");
|
|
55
|
-
i0.ɵɵtemplate(13, FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_13_Template, 3, 0, "button", 12);
|
|
56
|
-
i0.ɵɵtext(14, "\u00A0 ");
|
|
57
|
-
i0.ɵɵtemplate(15, FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_15_Template, 3, 0, "button", 12);
|
|
58
|
-
i0.ɵɵtext(16, "\u00A0 ");
|
|
59
|
-
i0.ɵɵtemplate(17, FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_17_Template, 3, 0, "button", 13);
|
|
60
|
-
i0.ɵɵelementEnd()()()();
|
|
61
|
-
} if (rf & 2) {
|
|
62
|
-
const form_r2 = ctx.$implicit;
|
|
63
|
-
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
64
|
-
i0.ɵɵadvance(4);
|
|
65
|
-
i0.ɵɵpropertyInterpolate1("routerLink", "", form_r2._id, "/view");
|
|
66
|
-
i0.ɵɵadvance(2);
|
|
67
|
-
i0.ɵɵtextInterpolate(form_r2.title);
|
|
68
|
-
i0.ɵɵadvance(2);
|
|
69
|
-
i0.ɵɵtextInterpolate1(" Updated ", i0.ɵɵpipeBind1(9, 8, form_r2.modified), " ago ");
|
|
70
|
-
i0.ɵɵadvance(3);
|
|
71
|
-
i0.ɵɵproperty("ngIf", ctx_r2.actionAllowed("formView"));
|
|
72
|
-
i0.ɵɵadvance(2);
|
|
73
|
-
i0.ɵɵproperty("ngIf", ctx_r2.actionAllowed("formSubmission"));
|
|
74
|
-
i0.ɵɵadvance(2);
|
|
75
|
-
i0.ɵɵproperty("ngIf", ctx_r2.actionAllowed("formEdit"));
|
|
76
|
-
i0.ɵɵadvance(2);
|
|
77
|
-
i0.ɵɵproperty("ngIf", ctx_r2.actionAllowed("formDelete"));
|
|
78
|
-
} }
|
|
79
|
-
function FormGridBodyComponent_ng_template_0_tbody_0_Template(rf, ctx) { if (rf & 1) {
|
|
80
|
-
i0.ɵɵelementStart(0, "tbody");
|
|
81
|
-
i0.ɵɵtemplate(1, FormGridBodyComponent_ng_template_0_tbody_0_tr_1_Template, 18, 10, "tr", 5);
|
|
82
|
-
i0.ɵɵelementEnd();
|
|
83
|
-
} if (rf & 2) {
|
|
84
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
85
|
-
i0.ɵɵadvance();
|
|
86
|
-
i0.ɵɵproperty("ngForOf", ctx_r2.rows);
|
|
87
|
-
} }
|
|
88
|
-
function FormGridBodyComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
89
|
-
i0.ɵɵtemplate(0, FormGridBodyComponent_ng_template_0_tbody_0_Template, 2, 1, "tbody", 4);
|
|
90
|
-
} if (rf & 2) {
|
|
91
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
92
|
-
i0.ɵɵproperty("ngIf", ctx_r2.rows);
|
|
93
|
-
} }
|
|
94
|
-
export class FormGridBodyComponent extends GridBodyComponent {
|
|
95
|
-
createBtns;
|
|
96
|
-
viewBtns;
|
|
97
|
-
editBtns;
|
|
98
|
-
permissionsBtns;
|
|
99
|
-
deleteBtns;
|
|
100
|
-
tooltips = [];
|
|
101
|
-
load(formio, query) {
|
|
102
|
-
query = query || {};
|
|
103
|
-
return formio.loadForms({ params: query })
|
|
104
|
-
.then((forms) => this.setRows(query, forms))
|
|
105
|
-
.then(() => this.attachTooltips());
|
|
106
|
-
}
|
|
107
|
-
attachTooltips() {
|
|
108
|
-
this.createBtns.forEach((el) => {
|
|
109
|
-
this.tooltips.push(new Tooltip(el.nativeElement, { title: 'Create' }));
|
|
110
|
-
});
|
|
111
|
-
this.editBtns.forEach((el) => {
|
|
112
|
-
this.tooltips.push(new Tooltip(el.nativeElement, { title: 'Edit' }));
|
|
113
|
-
});
|
|
114
|
-
this.viewBtns.forEach((el) => {
|
|
115
|
-
this.tooltips.push(new Tooltip(el.nativeElement, { title: 'View' }));
|
|
116
|
-
});
|
|
117
|
-
this.permissionsBtns.forEach((el) => {
|
|
118
|
-
this.tooltips.push(new Tooltip(el.nativeElement, { title: 'Permissions' }));
|
|
119
|
-
});
|
|
120
|
-
this.deleteBtns.forEach((el) => {
|
|
121
|
-
this.tooltips.push(new Tooltip(el.nativeElement, { title: 'Delete' }));
|
|
122
|
-
});
|
|
123
|
-
}
|
|
124
|
-
ngOnDestroy() {
|
|
125
|
-
this.tooltips.forEach((tootip) => tootip.dispose());
|
|
126
|
-
}
|
|
127
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵFormGridBodyComponent_BaseFactory; return function FormGridBodyComponent_Factory(t) { return (ɵFormGridBodyComponent_BaseFactory || (ɵFormGridBodyComponent_BaseFactory = i0.ɵɵgetInheritedFactory(FormGridBodyComponent)))(t || FormGridBodyComponent); }; })();
|
|
128
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormGridBodyComponent, selectors: [["form-grid-body"]], viewQuery: function FormGridBodyComponent_Query(rf, ctx) { if (rf & 1) {
|
|
129
|
-
i0.ɵɵviewQuery(_c0, 5);
|
|
130
|
-
i0.ɵɵviewQuery(_c1, 5);
|
|
131
|
-
i0.ɵɵviewQuery(_c2, 5);
|
|
132
|
-
i0.ɵɵviewQuery(_c3, 5);
|
|
133
|
-
i0.ɵɵviewQuery(_c4, 5);
|
|
134
|
-
} if (rf & 2) {
|
|
135
|
-
let _t;
|
|
136
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.createBtns = _t);
|
|
137
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.viewBtns = _t);
|
|
138
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.editBtns = _t);
|
|
139
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.permissionsBtns = _t);
|
|
140
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.deleteBtns = _t);
|
|
141
|
-
} }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 0, consts: [["create", ""], ["view", ""], ["edit", ""], ["delete", ""], [4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "row"], [1, "col-sm-9"], [1, "text-decoration-none", 3, "click", "routerLink"], [1, "form-updated", "small", "text-muted"], [1, "col-sm-3", "d-flex", "justify-content-end", "align-items-center"], ["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-secondary 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", "bi", "bi-pencil"], [1, "btn", "btn-outline-secondary", "btn-sm", "form-btn", 3, "click"], [1, "fa", "fa-list-alt", "bi", "bi-table"], [1, "fa", "fa-edit", "bi", "bi-pencil-square"], ["title", "Delete form", 1, "btn", "btn-secondary", "btn-sm", "form-btn", "form-btn-delete", 3, "click"], [1, "fa", "fa-trash", "bi", "bi-trash"]], template: function FormGridBodyComponent_Template(rf, ctx) { if (rf & 1) {
|
|
142
|
-
i0.ɵɵtemplate(0, FormGridBodyComponent_ng_template_0_Template, 1, 1, "ng-template");
|
|
143
|
-
} }, dependencies: [i1.NgForOf, i1.NgIf, i2.RouterLink, i3.TimeSince], styles: [".form-btn[_ngcontent-%COMP%]{font-size:.75rem;margin:2px 0}"] });
|
|
144
|
-
}
|
|
145
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormGridBodyComponent, [{
|
|
146
|
-
type: Component,
|
|
147
|
-
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-9\">\n <a routerLink=\"{{form._id}}/view\" (click)=\"onRowSelect($event, form)\" class=\"text-decoration-none\"><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-3 d-flex justify-content-end align-items-center\">\n <button #create *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 bi bi-pencil\"></span></button> \n <button #view *ngIf=\"actionAllowed('formSubmission')\" class=\"btn btn-outline-secondary btn-sm form-btn\" (click)=\"onRowAction($event, form, 'submission')\"><span class=\"fa fa-list-alt bi bi-table\"></span></button> \n <button #edit *ngIf=\"actionAllowed('formEdit')\" class=\"btn btn-outline-secondary btn-sm form-btn\" (click)=\"onRowAction($event, form, 'edit')\"><span class=\"fa fa-edit bi bi-pencil-square\"></span></button> \n <button #delete *ngIf=\"actionAllowed('formDelete')\" class=\"btn btn-secondary btn-sm form-btn form-btn-delete\" (click)=\"onRowAction($event, form, 'delete')\" title=\"Delete form\"><span class=\"fa fa-trash bi bi-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"] }]
|
|
148
|
-
}], null, { createBtns: [{
|
|
149
|
-
type: ViewChildren,
|
|
150
|
-
args: ['create']
|
|
151
|
-
}], viewBtns: [{
|
|
152
|
-
type: ViewChildren,
|
|
153
|
-
args: ['view']
|
|
154
|
-
}], editBtns: [{
|
|
155
|
-
type: ViewChildren,
|
|
156
|
-
args: ['edit']
|
|
157
|
-
}], permissionsBtns: [{
|
|
158
|
-
type: ViewChildren,
|
|
159
|
-
args: ['permissions']
|
|
160
|
-
}], deleteBtns: [{
|
|
161
|
-
type: ViewChildren,
|
|
162
|
-
args: ['delete']
|
|
163
|
-
}] }); })();
|
|
164
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FormGridBodyComponent, { className: "FormGridBodyComponent", filePath: "form/FormGridBody.component.ts", lineNumber: 10 }); })();
|
|
165
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRm9ybUdyaWRCb2R5LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2dyaWQvc3JjL2Zvcm0vRm9ybUdyaWRCb2R5LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2dyaWQvc3JjL2Zvcm0vRm9ybUdyaWRCb2R5LmNvb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idG4tc20gZm9ybS1idG5cIiAoY2xpY2spPVwib25Sb3dBY3Rpb24oJGV2ZW50LCBmb3JtLCAnc3VibWlzc2lvbicpXCI+PHNwYW4gY2xhc3M9XCJmYSBmYS1saXN0LWFsdCBiaSBiaS10YWJsZVwiPjwvc3Bhbj48L2J1dHRvbj4mbmJzcDtcbiAgICAgICAgICAgIDxidXR0b24gI2VkaXQgKm5nSWY9XCJhY3Rpb25BbGxvd2VkKCdmb3JtRWRpdCcpXCIgY2xhc3M9XCJidG4gYnRuLW91dGxpbmUtc2Vjb25kYXJ5IGJ0bi1zbSBmb3JtLWJ0blwiIChjbGljayk9XCJvblJvd0FjdGlvbigkZXZlbnQsIGZvcm0sICdlZGl0JylcIj48c3BhbiBjbGFzcz1cImZhIGZhLWVkaXQgYmkgYmktcGVuY2lsLXNxdWFyZVwiPjwvc3Bhbj48L2J1dHRvbj4mbmJzcDtcbiAgICAgICAgICAgIDxidXR0b24gI2RlbGV0ZSAqbmdJZj1cImFjdGlvbkFsbG93ZWQoJ2Zvcm1EZWxldGUnKVwiIGNsYXNzPVwiYnRuIGJ0bi1zZWNvbmRhcnkgYnRuLXNtIGZvcm0tYnRuIGZvcm0tYnRuLWRlbGV0ZVwiIChjbGljayk9XCJvblJvd0FjdGlvbigkZXZlbnQsIGZvcm0sICdkZWxldGUnKVwiIHRpdGxlPVwiRGVsZXRlIGZvcm1cIj48c3BhbiBjbGFzcz1cImZhIGZhLXRyYXNoIGJpIGJpLXRyYXNoXCI+PC9zcGFuPjwvYnV0dG9uPlxuICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L2Rpdj5cbiAgICAgIDwvdGQ+XG4gICAgPC90cj5cbiAgPC90Ym9keT5cbjwvbmctdGVtcGxhdGU+XG4iXX0=
|
|
@@ -1,112 +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 = a0 => ({ 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_r1 = i0.ɵɵnextContext().label;
|
|
14
|
-
i0.ɵɵnextContext();
|
|
15
|
-
const defaultFooterTemplate_r2 = i0.ɵɵreference(3);
|
|
16
|
-
i0.ɵɵadvance();
|
|
17
|
-
i0.ɵɵproperty("ngTemplateOutlet", defaultFooterTemplate_r2)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0, label_r1));
|
|
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_r1 = i0.ɵɵnextContext().label;
|
|
25
|
-
i0.ɵɵnextContext();
|
|
26
|
-
const defaultFooterTemplate_r2 = i0.ɵɵreference(3);
|
|
27
|
-
i0.ɵɵadvance();
|
|
28
|
-
i0.ɵɵproperty("ngTemplateOutlet", defaultFooterTemplate_r2)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0, label_r1));
|
|
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)(1, FormGridFooterComponent_ng_template_0_tfoot_1_Template, 2, 4, "tfoot", 2);
|
|
32
|
-
} if (rf & 2) {
|
|
33
|
-
const position_r3 = ctx.position;
|
|
34
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
|
35
|
-
i0.ɵɵproperty("ngIf", position_r3 === ctx_r3.footerPositions.top);
|
|
36
|
-
i0.ɵɵadvance();
|
|
37
|
-
i0.ɵɵproperty("ngIf", position_r3 === ctx_r3.footerPositions.bottom);
|
|
38
|
-
} }
|
|
39
|
-
function FormGridFooterComponent_ng_template_2_td_1_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
40
|
-
const _r6 = i0.ɵɵgetCurrentView();
|
|
41
|
-
i0.ɵɵelementStart(0, "button", 12);
|
|
42
|
-
i0.ɵɵlistener("click", function FormGridFooterComponent_ng_template_2_td_1_button_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r3 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r3.createItem.emit("form")); });
|
|
43
|
-
i0.ɵɵelement(1, "em", 13);
|
|
44
|
-
i0.ɵɵtext(2);
|
|
45
|
-
i0.ɵɵelementEnd();
|
|
46
|
-
} if (rf & 2) {
|
|
47
|
-
const ctx_r3 = i0.ɵɵnextContext(3);
|
|
48
|
-
i0.ɵɵadvance(2);
|
|
49
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r3.createText, "");
|
|
50
|
-
} }
|
|
51
|
-
function FormGridFooterComponent_ng_template_2_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
52
|
-
const _r5 = i0.ɵɵgetCurrentView();
|
|
53
|
-
i0.ɵɵelementStart(0, "td", 6);
|
|
54
|
-
i0.ɵɵtemplate(1, FormGridFooterComponent_ng_template_2_td_1_button_1_Template, 3, 1, "button", 7);
|
|
55
|
-
i0.ɵɵelementStart(2, "span", 8)(3, "span", 9);
|
|
56
|
-
i0.ɵɵtext(4);
|
|
57
|
-
i0.ɵɵelementEnd();
|
|
58
|
-
i0.ɵɵtext(5);
|
|
59
|
-
i0.ɵɵelementEnd();
|
|
60
|
-
i0.ɵɵelementStart(6, "span", 10)(7, "pagination", 11);
|
|
61
|
-
i0.ɵɵtwoWayListener("ngModelChange", function FormGridFooterComponent_ng_template_2_td_1_Template_pagination_ngModelChange_7_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r3 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r3.body.skip, $event) || (ctx_r3.body.skip = $event); return i0.ɵɵresetView($event); });
|
|
62
|
-
i0.ɵɵlistener("pageChanged", function FormGridFooterComponent_ng_template_2_td_1_Template_pagination_pageChanged_7_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r3 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r3.pageChanged.emit($event)); });
|
|
63
|
-
i0.ɵɵelementEnd()()();
|
|
64
|
-
} if (rf & 2) {
|
|
65
|
-
const label_r7 = i0.ɵɵnextContext().label;
|
|
66
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
|
67
|
-
i0.ɵɵproperty("colSpan", ctx_r3.header.numHeaders);
|
|
68
|
-
i0.ɵɵadvance();
|
|
69
|
-
i0.ɵɵproperty("ngIf", ctx_r3.actionAllowed("formCreate"));
|
|
70
|
-
i0.ɵɵadvance(3);
|
|
71
|
-
i0.ɵɵtextInterpolate2("", ctx_r3.body.firstItem, " - ", ctx_r3.body.lastItem, "");
|
|
72
|
-
i0.ɵɵadvance();
|
|
73
|
-
i0.ɵɵtextInterpolate1(" / ", ctx_r3.body.total, " total");
|
|
74
|
-
i0.ɵɵadvance();
|
|
75
|
-
i0.ɵɵattribute("aria-label", label_r7);
|
|
76
|
-
i0.ɵɵadvance();
|
|
77
|
-
i0.ɵɵproperty("totalItems", ctx_r3.body.total)("itemsPerPage", ctx_r3.body.limit);
|
|
78
|
-
i0.ɵɵtwoWayProperty("ngModel", ctx_r3.body.skip);
|
|
79
|
-
i0.ɵɵproperty("maxSize", ctx_r3.size);
|
|
80
|
-
} }
|
|
81
|
-
function FormGridFooterComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
82
|
-
i0.ɵɵelementStart(0, "tr");
|
|
83
|
-
i0.ɵɵtemplate(1, FormGridFooterComponent_ng_template_2_td_1_Template, 8, 10, "td", 5);
|
|
84
|
-
i0.ɵɵelementEnd();
|
|
85
|
-
} if (rf & 2) {
|
|
86
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
|
87
|
-
i0.ɵɵadvance();
|
|
88
|
-
i0.ɵɵproperty("ngIf", ctx_r3.header);
|
|
89
|
-
} }
|
|
90
|
-
export class FormGridFooterComponent extends GridFooterComponent {
|
|
91
|
-
constructor() {
|
|
92
|
-
super();
|
|
93
|
-
}
|
|
94
|
-
ngOnInit() {
|
|
95
|
-
if (!this.createText) {
|
|
96
|
-
this.createText = 'Create Form';
|
|
97
|
-
}
|
|
98
|
-
if (!this.size) {
|
|
99
|
-
this.size = 7;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
static ɵfac = function FormGridFooterComponent_Factory(t) { return new (t || FormGridFooterComponent)(); };
|
|
103
|
-
static ɵ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 float-start", 3, "click", 4, "ngIf"], [1, "pull-right", "item-counter"], [1, "page-num"], ["role", "navigation"], [1, "justify-content-center", "pagination-sm", 3, "ngModelChange", "pageChanged", "totalItems", "itemsPerPage", "ngModel", "maxSize"], [1, "btn", "btn-primary", "form-btn-use", "float-start", 3, "click"], [1, "fa", "fa-plus", "bi", "bi-plus-lg"]], template: function FormGridFooterComponent_Template(rf, ctx) { if (rf & 1) {
|
|
104
|
-
i0.ɵɵtemplate(0, FormGridFooterComponent_ng_template_0_Template, 2, 2, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor)(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
|
-
}
|
|
107
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormGridFooterComponent, [{
|
|
108
|
-
type: Component,
|
|
109
|
-
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 float-start\" (click)=\"createItem.emit('form')\"><em class=\"fa fa-plus bi bi-plus-lg\"></em> {{ createText }}</button>\n <span class=\"pull-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"] }]
|
|
110
|
-
}], () => [], null); })();
|
|
111
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FormGridFooterComponent, { className: "FormGridFooterComponent", filePath: "form/FormGridFooter.component.ts", lineNumber: 9 }); })();
|
|
112
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRm9ybUdyaWRGb290ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vZ3JpZC9zcmMvZm9ybS9Gb3JtR3JpZEZvb3Rlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9ncmlkL3NyYy9mb3JtL0Zvcm1HcmlkRm9vdGVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsaUJBQWlCLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFDcEUsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sd0JBQXdCLENBQUM7Ozs7Ozs7SUNBM0QsZ0NBQTJFO0lBQ3pFLDJCQUFxSDtJQUN2SCxpQkFBUTs7Ozs7SUFEUSxjQUEwQztJQUFDLEFBQTNDLDJEQUEwQyxpRUFBNkM7OztJQUV2RyxnQ0FBOEU7SUFDNUUsMkJBQXFIO0lBQ3ZILGlCQUFROzs7OztJQURRLGNBQTBDO0lBQUMsQUFBM0M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XBsdXMgYmkgYmktcGx1cy1sZ1wiPjwvZW0+IHt7IGNyZWF0ZVRleHQgfX08L2J1dHRvbj5cbiAgICAgIDxzcGFuIGNsYXNzPVwicHVsbC1yaWdodCBpdGVtLWNvdW50ZXJcIj48c3BhbiBjbGFzcz1cInBhZ2UtbnVtXCI+e3sgYm9keS5maXJzdEl0ZW0gfX0gLSB7eyBib2R5Lmxhc3RJdGVtIH19PC9zcGFuPiAvIHt7IGJvZHkudG90YWwgfX0gdG90YWw8L3NwYW4+XG4gICAgICA8c3BhbiBbYXR0ci5hcmlhLWxhYmVsXT1cImxhYmVsXCIgcm9sZT1cIm5hdmlnYXRpb25cIj5cbiAgICAgICAgPHBhZ2luYXRpb24gW3RvdGFsSXRlbXNdPVwiYm9keS50b3RhbFwiIFtpdGVtc1BlclBhZ2VdPVwiYm9keS5saW1pdFwiIFsobmdNb2RlbCldPVwiYm9keS5za2lwXCIgKHBhZ2VDaGFuZ2VkKT1cInBhZ2VDaGFuZ2VkLmVtaXQoJGV2ZW50KVwiIFttYXhTaXplXT1cInNpemVcIiBjbGFzcz1cImp1c3RpZnktY29udGVudC1jZW50ZXIgcGFnaW5hdGlvbi1zbVwiPlxuICAgICAgICA8L3BhZ2luYXRpb24+XG4gICAgICA8L3NwYW4+XG4gICAgPC90ZD5cbiAgPC90cj5cbjwvbmctdGVtcGxhdGU+XG4iXX0=
|
|
@@ -1,54 +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 = (a0, a1) => ({ "fa-caret-up bi-caret-up": a0, "fa-caret-down bi-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 _r1 = 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(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.sort.emit(ctx_r1.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_r1 = i0.ɵɵnextContext();
|
|
25
|
-
i0.ɵɵadvance(6);
|
|
26
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r1.header.label, "\u00A0");
|
|
27
|
-
i0.ɵɵadvance();
|
|
28
|
-
i0.ɵɵproperty("ngIf", ctx_r1.header.sort);
|
|
29
|
-
} }
|
|
30
|
-
export class FormGridHeaderComponent extends GridHeaderComponent {
|
|
31
|
-
header;
|
|
32
|
-
load(formio) {
|
|
33
|
-
this.header = {
|
|
34
|
-
label: 'Title',
|
|
35
|
-
key: 'title',
|
|
36
|
-
sort: SortType.ASC
|
|
37
|
-
};
|
|
38
|
-
this.headers = [this.header];
|
|
39
|
-
return Promise.resolve(this.headers);
|
|
40
|
-
}
|
|
41
|
-
get numHeaders() {
|
|
42
|
-
return 2;
|
|
43
|
-
}
|
|
44
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵFormGridHeaderComponent_BaseFactory; return function FormGridHeaderComponent_Factory(t) { return (ɵFormGridHeaderComponent_BaseFactory || (ɵFormGridHeaderComponent_BaseFactory = i0.ɵɵgetInheritedFactory(FormGridHeaderComponent)))(t || FormGridHeaderComponent); }; })();
|
|
45
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormGridHeaderComponent, selectors: [["form-grid-header"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 0, consts: [[1, "row"], [1, "col-sm-9"], [2, "cursor", "pointer", 3, "click"], ["class", "fa bi", 3, "ngClass", 4, "ngIf"], [1, "col-sm-3", "d-flex", "justify-content-end"], [1, "fa", "bi", 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
|
-
}
|
|
49
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormGridHeaderComponent, [{
|
|
50
|
-
type: Component,
|
|
51
|
-
args: [{ selector: 'form-grid-header', template: "<ng-template>\n <thead>\n <tr>\n <th>\n <div class=\"row\">\n <div class=\"col-sm-9\">\n <a (click)=\"sort.emit(header)\" style=\"cursor: pointer\">\n {{ header.label }} <span [ngClass]=\"{'fa-caret-up bi-caret-up': (header.sort === 'asc'), 'fa-caret-down bi-caret-down': (header.sort === 'desc')}\" class=\"fa bi\" *ngIf=\"header.sort\"></span>\n </a>\n </div>\n <div class=\"col-sm-3 d-flex justify-content-end\">\n Operations\n </div>\n </div>\n </th>\n </tr>\n </thead>\n</ng-template>\n" }]
|
|
52
|
-
}], null, null); })();
|
|
53
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FormGridHeaderComponent, { className: "FormGridHeaderComponent", filePath: "form/FormGridHeader.component.ts", lineNumber: 9 }); })();
|
|
54
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRm9ybUdyaWRIZWFkZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vZ3JpZC9zcmMvZm9ybS9Gb3JtR3JpZEhlYWRlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9ncmlkL3NyYy9mb3JtL0Zvcm1HcmlkSGVhZGVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDeEMsT0FBTyxFQUFDLG1CQUFtQixFQUFDLE1BQU0sd0JBQXdCLENBQUM7QUFDM0QsT0FBTyxFQUFhLFFBQVEsRUFBQyxNQUFNLHNCQUFzQixDQUFDOzs7OztJQ0twQiwwQkFBeUs7OztJQUFuSyxpSEFBeUg7Ozs7SUFEekosQUFERixBQURGLEFBREYsQUFERixBQURGLDZCQUFPLFNBQ0QsU0FDRSxhQUNlLGFBQ08sV0FDbUM7SUFBcEQsc0xBQVMsK0JBQWlCLEtBQUM7SUFDNUIsWUFBd0I7SUFBQSx3RkFBa0s7SUFFOUwsQUFERSxpQkFBSSxFQUNBO0lBQ04sOEJBQWlEO0lBQy9DLDRCQUNGO0lBSVIsQUFERSxBQURFLEFBREUsQUFERSxpQkFBTSxFQUNGLEVBQ0gsRUFDRixFQUNDOzs7SUFUSSxlQUF3QjtJQUF4Qix5REFBd0I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PlxuICAgICAgICAgICAgT3BlcmF0aW9uc1xuICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L2Rpdj5cbiAgICAgIDwvdGg+XG4gICAgPC90cj5cbiAgPC90aGVhZD5cbjwvbmctdGVtcGxhdGU+XG4iXX0=
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { Pipe } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class TimeSince {
|
|
4
|
-
transform(date) {
|
|
5
|
-
const elapsed = (new Date().getTime() - new Date(date).getTime()) / 1000;
|
|
6
|
-
let interval;
|
|
7
|
-
if (interval >= 1) {
|
|
8
|
-
return interval + ' year' + (interval > 1 ? 's' : '');
|
|
9
|
-
}
|
|
10
|
-
interval = Math.floor(elapsed / 2592000);
|
|
11
|
-
if (interval >= 1) {
|
|
12
|
-
return interval + ' month' + (interval > 1 ? 's' : '');
|
|
13
|
-
}
|
|
14
|
-
interval = Math.floor(elapsed / 86400);
|
|
15
|
-
if (interval >= 1) {
|
|
16
|
-
return interval + ' day' + (interval > 1 ? 's' : '');
|
|
17
|
-
}
|
|
18
|
-
interval = Math.floor(elapsed / 3600);
|
|
19
|
-
if (interval >= 1) {
|
|
20
|
-
return interval + ' hour' + (interval > 1 ? 's' : '');
|
|
21
|
-
}
|
|
22
|
-
interval = Math.floor(elapsed / 60);
|
|
23
|
-
if (interval >= 1) {
|
|
24
|
-
return interval + ' minute' + (interval > 1 ? 's' : '');
|
|
25
|
-
}
|
|
26
|
-
return Math.floor(elapsed) + ' second' + (elapsed > 1 ? 's' : '');
|
|
27
|
-
}
|
|
28
|
-
static ɵfac = function TimeSince_Factory(t) { return new (t || TimeSince)(); };
|
|
29
|
-
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "timeSince", type: TimeSince, pure: true });
|
|
30
|
-
}
|
|
31
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TimeSince, [{
|
|
32
|
-
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