@formio/angular 6.0.0-rc.8 → 6.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/03/c3/57d706b57a9bb2202b4c3f58dc4c59bd1fae8dc1d330b416b5c069a4217a2457f6c7cfef2f6d0dc5378bb43c95f62533a75cb34d09cfef47dc40e5756725 +1 -0
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/0c/7a/916bd866cb386cc87b9ea07c40edc23df9d726d1865e6699b42dedfbfb2a8364ced191aa62680a9297d7644cdfa64753b8975cc254c7c581f28bba0acd15 +1 -0
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/17/1b/bc3996ef483c464312f7c1acf66b2ce37039601d01d5faf114e615de6ae5001d009aa0a1410c1b4682dda0866d78d5f9c709ab4f6c8ba986a7936ab9f6ef +1 -0
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/1e/04/481e2f3a5c2e9aed176acbf87c09f0320892cb02bbf8a95019c30ea33f77af28e8280057e4720a90506cb25c59ed33c0d60655446b75c3e25dfb4330ed43 +1 -0
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/28/48/0149b4006ab8d4a2a7b42e75c125f3adab48568f4d85ee48176367ae60965807a3a72f81550645fe5a2ba83c16b33196f85c46107d859175847763b9bba7 +1 -0
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/42/8d/7954e44606cfeaf1246358216f7f53bdccafbdbf7b99700ea6002d6e0dbe1c33f015d0cf59b833e5b4a36767cd94f29b9d77f86645e872bdc3013b403845 +1 -0
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/43/05/c86feb68c6e6f17d2b1e7d4aadfbef2f8554b42c9e0b7516b22a7c34044b513c23987b00507d17cb8f89b9b762b5499483d4ec16708519940e00cee5863a +1 -0
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/4c/77/763f1bb202f7b0d54e7b79b0a23fe956cf0827a5e988bceb7c59621c9ec07c8e7863531e5731dc334e90cf1d735a6e64dafa6d5bae486ab3b7b90dea3fe5 +1 -0
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/5e/df/0706d1dfb3ed5b0c5a65b7b5e40996105b18800c157e8fb273040145aa011d9e60e28eb2112e2867a70052784727400f86d082d90d2c5841ec3abcbb6840 +1 -0
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/6f/86/7209df36e306d669d7347d7ddb464798ace457218aa5f3be5b17145cdfd1385bbd48d133381fc31c082b5025575865b351f9bb0265508359fda378962d60 +1 -0
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/71/55/241de4ea057eae7171b73fac62de144f35df7c4ec9be4fca9b08fa02f24f281e79717c76086a90b578d52963cd7cc78fc391ec813576d667ac3ad043e67d +1 -0
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/89/26/e1b6ab1ce4c15c9175974d262c9baead1eea23bb80c6da1926a36513e9777f8d1be0948ec0cb33e875e41926682599a92ede1900400004ad1856529822bc +1 -0
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/9c/21/3b8af7b6ee09c29bf340610026191af56f9ba1cba1f5e4476424775d5e322f84d7e900c4d264d39804cebf3dcb5aaa5eb5e9d8fd143bc3a8aa76c3d5325e +1 -0
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/9e/bc/eb0b9b19e56d5161114be0b4aa51d5e29527ddd9e8954a9977fdb80b1640d5ee535de8c5c7cc1348f12423d5c9ece8e6525290eed6d4259303c5e0dd9e54 +1 -0
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/af/5c/97d9a08342685ee95844b54aed260370df0de7c2408ec7b14f7da3972c811ee5a4cae7be4f51de07dd039c8639ec4e9008733bcf0b6a438b29a83d7fabe3 +1 -0
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/b3/9a/0f0721f954468df14c05be1e1ecf80808948d80accc676b22b2f42594e36fd848d7b6f3a494888778ced38819d64ac01619dadef02f5d064a07e422dc6e3 +1 -0
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/ba/5d/d939f6c0890924d0234b6253e4c7baab7e285c4e9e3b838d4f223f5365ce00c421e48383fc21ecdf847e1592936f5be80b0d20ea3db471bfe39e181c091a +1 -0
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/c2/ed/fa9f957c177066eb85345c4a12a5b966d0a8c9b13723ef0b97b9e97fd12d94dce317239ca3b04a085e837ac1254883fe308f6914c845b3ab905aee71104c +1 -0
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/e5/02/dea9a92e3e7a840bde12d10d7b4d9c19c7be587e568019a9aacd2f3be7a6a968ec214e3c6671def4874ff7e14de90b2b7f4742d40932e5772e85ed9e2e5c +1 -0
- package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/e9/ca/53ff813610ae5d57a25518e6546b659a092de2c929fd43130db59358947aa9aa5797289f7ca39fe550d2e41050a69cb26e6b5dd6ebbcae0207ab08474dc8 +1 -0
- package/.angular/cache/18.1.2/ng-packagr/index-v5/25/d3/52d51d20f0068267704af92a4b131f29e9318f247d503eb0ec23c1ed7188 +2 -0
- package/.angular/cache/18.1.2/ng-packagr/index-v5/32/2f/d5c320e973844b017f9df834dcf5f8a70b27c1c3b625602647fbe166617c +2 -0
- package/.angular/cache/18.1.2/ng-packagr/index-v5/38/53/3bd61bb2f286821c9ec46774147eb97de202bd306657efa7e8fb0a4343e8 +2 -0
- package/.angular/cache/18.1.2/ng-packagr/index-v5/4e/53/3b7731ca8fad27e6eaeb4c36c45bd95e9f08ffb7d050da8e33aa0c67f420 +2 -0
- package/.angular/cache/18.1.2/ng-packagr/index-v5/4f/b5/b4881a5f5a49b3873273918459bc33f4faa34e974e629f48a07d7a97c39c +2 -0
- package/.angular/cache/18.1.2/ng-packagr/index-v5/5b/e4/f6ef130cc3bbbf5aa958ce481e0b714d430a6a04f61381bc829296cde9a5 +2 -0
- package/.angular/cache/18.1.2/ng-packagr/index-v5/69/8c/55ebedfbeee3a23e43db1e5576ea5a06710fab809fc667ba3ce8583b8eea +2 -0
- package/.angular/cache/18.1.2/ng-packagr/index-v5/8a/38/489a51c20c3a372344dd5510758e23c1caffd6dfe1525c17dc3fbc231b76 +2 -0
- package/.angular/cache/18.1.2/ng-packagr/index-v5/8d/5d/26f10d893644ba75ac602bed8276ef0b4e1866d085754e032ee3833e95ab +2 -0
- package/.angular/cache/18.1.2/ng-packagr/index-v5/9a/0d/0056d732cfdfa97dfef099aa2189dcac3fae2f7c3c3560cd77a7c9567e74 +2 -0
- package/.angular/cache/18.1.2/ng-packagr/index-v5/9c/f5/9c5f48481303af30935226f6337a1e033ad35f0462f95da8a973b69aafb5 +2 -0
- package/.angular/cache/18.1.2/ng-packagr/index-v5/a3/17/80d2a0bcaac6af902db5f128a8f8ec58ec220b9d00d6825205749c2f418a +2 -0
- package/.angular/cache/18.1.2/ng-packagr/index-v5/aa/80/466e9b161643951f9a077066a20cd2d7ef6903a1fdcaadedcef9c0177747 +2 -0
- package/.angular/cache/18.1.2/ng-packagr/index-v5/b7/72/d9f00a872849a611fa73cb9ec575401ee6c838795bb102753b24d7d53ee3 +2 -0
- package/.angular/cache/18.1.2/ng-packagr/index-v5/c7/dd/eca0dfb0e1190fa828b47955c8f97ac1e7a5b24871fb9d8342cd7256e5f9 +2 -0
- package/.angular/cache/18.1.2/ng-packagr/index-v5/d9/03/3fd9ec2d0c37e7b3824ec5e7936928c4f6debbb6899a120a52cdba472f38 +2 -0
- package/.angular/cache/18.1.2/ng-packagr/index-v5/da/4e/570182d1f569903d2554c87334c0f7751dafcb6b683ddfbe4213614fd5be +2 -0
- package/.angular/cache/18.1.2/ng-packagr/index-v5/dc/4f/1a8db8af7d1e3f37160992ae5545e63460ab6e54a4d3981f234eb089d435 +2 -0
- package/.angular/cache/18.1.2/ng-packagr/index-v5/e8/e9/47b0d4126bcfabc2df9a4c4be0d197a805526dd04e2a48278501d62a85fd +2 -0
- package/.angular/cache/18.1.2/ng-packagr/index-v5/ed/de/db04689deebb1db3d7610a2bbca795b1180084d7985db7a993d4787f6d0e +2 -0
- package/.angular/cache/18.1.2/ng-packagr/tsbuildinfo/formio-angular-auth.tsbuildinfo +1 -0
- package/.angular/cache/18.1.2/ng-packagr/tsbuildinfo/formio-angular-embed.tsbuildinfo +1 -0
- package/.angular/cache/18.1.2/ng-packagr/tsbuildinfo/formio-angular-grid.tsbuildinfo +1 -0
- package/.angular/cache/18.1.2/ng-packagr/tsbuildinfo/formio-angular-manager.tsbuildinfo +1 -0
- package/.angular/cache/18.1.2/ng-packagr/tsbuildinfo/formio-angular-resource.tsbuildinfo +1 -0
- package/.angular/cache/18.1.2/ng-packagr/tsbuildinfo/formio-angular.tsbuildinfo +1 -0
- package/.dockerignore +5 -0
- package/.editorconfig +13 -0
- package/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
- package/.github/ISSUE_TEMPLATE/custom-components-support-request.md +15 -0
- package/.github/ISSUE_TEMPLATE/question.md +8 -0
- package/.travis.yml +4 -0
- package/.yo-rc.json +7 -0
- package/CHANGELOG.md +1095 -0
- package/Dockerfile +20 -0
- package/LICENSE +21 -0
- package/README.md +182 -13
- package/angular.json +38 -0
- package/bs-config.json +11 -0
- package/{FormioBaseComponent.d.ts → dist/angular-formio/FormioBaseComponent.d.ts} +1 -1
- package/{FormioBaseComponent.d.ts.map → dist/angular-formio/FormioBaseComponent.d.ts.map} +1 -1
- package/dist/angular-formio/README.md +24 -0
- package/{components → dist/angular-formio/components}/formioreport/formioreport.component.d.ts +1 -0
- package/{components → dist/angular-formio/components}/formioreport/formioreport.component.d.ts.map +1 -1
- package/{core.d.ts → dist/angular-formio/core.d.ts} +3 -1
- package/{core.d.ts.map → dist/angular-formio/core.d.ts.map} +1 -1
- package/{embed → dist/angular-formio/embed}/app.service.d.ts +1 -1
- package/dist/angular-formio/embed/app.service.d.ts.map +1 -0
- package/{embed → dist/angular-formio/embed}/builder.component.d.ts +0 -1
- package/dist/angular-formio/embed/builder.component.d.ts.map +1 -0
- package/{embed → dist/angular-formio/embed}/formio.component.d.ts +0 -1
- package/dist/angular-formio/embed/formio.component.d.ts.map +1 -0
- package/{embed → dist/angular-formio/embed}/index.d.ts +1 -1
- package/dist/angular-formio/embed/index.d.ts.map +1 -0
- package/dist/angular-formio/esm2022/FormioBaseComponent.mjs +587 -0
- package/dist/angular-formio/esm2022/auth/auth.component.mjs +23 -0
- package/dist/angular-formio/esm2022/auth/auth.config.mjs +21 -0
- package/dist/angular-formio/esm2022/auth/auth.module.mjs +47 -0
- package/{esm2022 → dist/angular-formio/esm2022}/auth/auth.service.mjs +7 -8
- package/dist/angular-formio/esm2022/auth/login/login.component.mjs +27 -0
- package/dist/angular-formio/esm2022/auth/register/register.component.mjs +27 -0
- package/dist/angular-formio/esm2022/auth/resetpass/resetpass.component.mjs +24 -0
- package/dist/angular-formio/esm2022/components/alerts/formio.alerts.component.mjs +46 -0
- package/dist/angular-formio/esm2022/components/alerts/parse-html-content.pipe.mjs +19 -0
- package/dist/angular-formio/esm2022/components/formbuilder/formbuilder.component.mjs +211 -0
- package/dist/angular-formio/esm2022/components/formio/formio.component.mjs +85 -0
- package/dist/angular-formio/esm2022/components/formioreport/formioreport.component.mjs +137 -0
- package/dist/angular-formio/esm2022/components/loader/formio.loader.component.mjs +25 -0
- package/dist/angular-formio/esm2022/core.mjs +19 -0
- package/dist/angular-formio/esm2022/custom-tags.service.mjs +14 -0
- package/dist/angular-formio/esm2022/embed/app.service.mjs +58 -0
- package/dist/angular-formio/esm2022/embed/builder.component.mjs +45 -0
- package/dist/angular-formio/esm2022/embed/embed.module.mjs +36 -0
- package/dist/angular-formio/esm2022/embed/formio.component.mjs +59 -0
- package/dist/angular-formio/esm2022/embed/index.mjs +7 -0
- package/dist/angular-formio/esm2022/formio.common.mjs +11 -0
- package/dist/angular-formio/esm2022/formio.config.mjs +29 -0
- package/dist/angular-formio/esm2022/formio.module.mjs +60 -0
- package/{esm2022 → dist/angular-formio/esm2022}/formio.service.mjs +2 -2
- package/dist/angular-formio/esm2022/formio.utils.mjs +21 -0
- package/dist/angular-formio/esm2022/grid/GridBodyComponent.mjs +95 -0
- package/dist/angular-formio/esm2022/grid/GridFooterComponent.mjs +50 -0
- package/dist/angular-formio/esm2022/grid/GridHeaderComponent.mjs +40 -0
- package/dist/angular-formio/esm2022/grid/form/FormGridBody.component.mjs +165 -0
- package/dist/angular-formio/esm2022/grid/form/FormGridFooter.component.mjs +112 -0
- package/dist/angular-formio/esm2022/grid/form/FormGridHeader.component.mjs +54 -0
- package/dist/angular-formio/esm2022/grid/form/time-since.pipe.mjs +37 -0
- package/dist/angular-formio/esm2022/grid/grid.component.mjs +321 -0
- package/dist/angular-formio/esm2022/grid/grid.module.mjs +80 -0
- package/dist/angular-formio/esm2022/grid/grid.service.mjs +18 -0
- package/dist/angular-formio/esm2022/grid/submission/SubmissionGridBody.component.mjs +74 -0
- package/dist/angular-formio/esm2022/grid/submission/SubmissionGridFooter.component.mjs +103 -0
- package/dist/angular-formio/esm2022/grid/submission/SubmissionGridHeader.component.mjs +96 -0
- package/dist/angular-formio/esm2022/manager/create/create.component.mjs +62 -0
- package/dist/angular-formio/esm2022/manager/delete/delete.component.mjs +58 -0
- package/dist/angular-formio/esm2022/manager/edit/edit.component.mjs +181 -0
- package/dist/angular-formio/esm2022/manager/form/form.component.mjs +176 -0
- package/dist/angular-formio/esm2022/manager/form-manager.config.mjs +18 -0
- package/dist/angular-formio/esm2022/manager/form-manager.module.mjs +84 -0
- package/dist/angular-formio/esm2022/manager/form-manager.service.mjs +185 -0
- package/dist/angular-formio/esm2022/manager/index/index.component.mjs +151 -0
- package/dist/angular-formio/esm2022/manager/submission/delete/delete.component.mjs +48 -0
- package/dist/angular-formio/esm2022/manager/submission/edit/edit.component.mjs +32 -0
- package/dist/angular-formio/esm2022/manager/submission/index/index.component.mjs +32 -0
- package/dist/angular-formio/esm2022/manager/submission/submission/submission.component.mjs +67 -0
- package/dist/angular-formio/esm2022/manager/submission/view/view.component.mjs +24 -0
- package/dist/angular-formio/esm2022/manager/view/view.component.mjs +66 -0
- package/dist/angular-formio/esm2022/resource/create/create.component.mjs +64 -0
- package/dist/angular-formio/esm2022/resource/delete/delete.component.mjs +42 -0
- package/dist/angular-formio/esm2022/resource/edit/edit.component.mjs +49 -0
- package/dist/angular-formio/esm2022/resource/index/index.component.mjs +79 -0
- package/dist/angular-formio/esm2022/resource/resource.component.mjs +72 -0
- package/dist/angular-formio/esm2022/resource/resource.config.mjs +13 -0
- package/dist/angular-formio/esm2022/resource/resource.module.mjs +63 -0
- package/dist/angular-formio/esm2022/resource/resource.service.mjs +231 -0
- package/dist/angular-formio/esm2022/resource/resources.service.mjs +25 -0
- package/dist/angular-formio/esm2022/resource/view/view.component.mjs +30 -0
- package/{fesm2022 → dist/angular-formio/fesm2022}/formio-angular-auth.mjs +91 -58
- package/dist/angular-formio/fesm2022/formio-angular-auth.mjs.map +1 -0
- package/dist/angular-formio/fesm2022/formio-angular-embed.mjs +195 -0
- package/dist/angular-formio/fesm2022/formio-angular-embed.mjs.map +1 -0
- package/dist/angular-formio/fesm2022/formio-angular-grid.mjs +1213 -0
- package/dist/angular-formio/fesm2022/formio-angular-grid.mjs.map +1 -0
- package/dist/angular-formio/fesm2022/formio-angular-manager.mjs +1167 -0
- package/dist/angular-formio/fesm2022/formio-angular-manager.mjs.map +1 -0
- package/dist/angular-formio/fesm2022/formio-angular-resource.mjs +656 -0
- package/dist/angular-formio/fesm2022/formio-angular-resource.mjs.map +1 -0
- package/dist/angular-formio/fesm2022/formio-angular.mjs +1321 -0
- package/dist/angular-formio/fesm2022/formio-angular.mjs.map +1 -0
- package/{formio.common.d.ts → dist/angular-formio/formio.common.d.ts} +1 -2
- package/dist/angular-formio/formio.common.d.ts.map +1 -0
- package/{formio.config.d.ts → dist/angular-formio/formio.config.d.ts} +1 -0
- package/dist/angular-formio/formio.config.d.ts.map +1 -0
- package/{grid → dist/angular-formio/grid}/submission/SubmissionGridHeader.component.d.ts +1 -1
- package/dist/angular-formio/grid/submission/SubmissionGridHeader.component.d.ts.map +1 -0
- package/{manager → dist/angular-formio/manager}/edit/edit.component.d.ts.map +1 -1
- package/{manager → dist/angular-formio/manager}/form-manager.config.d.ts +3 -1
- package/dist/angular-formio/manager/form-manager.config.d.ts.map +1 -0
- package/{manager → dist/angular-formio/manager}/form-manager.service.d.ts.map +1 -1
- package/{resource → dist/angular-formio/resource}/resource.service.d.ts.map +1 -1
- package/package.json +55 -64
- package/projects/angular-formio/README.md +24 -0
- package/projects/angular-formio/auth/ng-package.json +5 -0
- package/projects/angular-formio/auth/src/auth.component.html +11 -0
- package/projects/angular-formio/auth/src/auth.component.ts +5 -0
- package/projects/angular-formio/auth/src/auth.config.ts +72 -0
- package/projects/angular-formio/auth/src/auth.module.ts +33 -0
- package/projects/angular-formio/auth/src/auth.routes.ts +34 -0
- package/projects/angular-formio/auth/src/auth.service.ts +221 -0
- package/projects/angular-formio/auth/src/index.ts +8 -0
- package/projects/angular-formio/auth/src/login/login.component.html +1 -0
- package/projects/angular-formio/auth/src/login/login.component.ts +11 -0
- package/projects/angular-formio/auth/src/public_api.ts +5 -0
- package/projects/angular-formio/auth/src/register/register.component.html +1 -0
- package/projects/angular-formio/auth/src/register/register.component.ts +11 -0
- package/projects/angular-formio/auth/src/resetpass/resetpass.component.html +1 -0
- package/projects/angular-formio/auth/src/resetpass/resetpass.component.ts +8 -0
- package/projects/angular-formio/grid/ng-package.json +5 -0
- package/projects/angular-formio/grid/src/GridBodyComponent.ts +80 -0
- package/projects/angular-formio/grid/src/GridFooterComponent.ts +25 -0
- package/projects/angular-formio/grid/src/GridHeaderComponent.ts +25 -0
- package/projects/angular-formio/grid/src/form/FormGridBody.component.html +22 -0
- package/projects/angular-formio/grid/src/form/FormGridBody.component.scss +4 -0
- package/projects/angular-formio/grid/src/form/FormGridBody.component.ts +46 -0
- package/projects/angular-formio/grid/src/form/FormGridFooter.component.html +21 -0
- package/projects/angular-formio/grid/src/form/FormGridFooter.component.ts +23 -0
- package/projects/angular-formio/grid/src/form/FormGridHeader.component.html +18 -0
- package/projects/angular-formio/grid/src/form/FormGridHeader.component.ts +24 -0
- package/projects/angular-formio/grid/src/form/index.ts +8 -0
- package/projects/angular-formio/grid/src/form/time-since.pipe.ts +31 -0
- package/projects/angular-formio/grid/src/grid.component.html +18 -0
- package/projects/angular-formio/grid/src/grid.component.scss +9 -0
- package/projects/angular-formio/grid/src/grid.component.ts +242 -0
- package/projects/angular-formio/grid/src/grid.footer.scss +14 -0
- package/projects/angular-formio/grid/src/grid.module.ts +49 -0
- package/projects/angular-formio/grid/src/grid.service.ts +16 -0
- package/projects/angular-formio/grid/src/index.ts +12 -0
- package/projects/angular-formio/grid/src/public_api.ts +5 -0
- package/projects/angular-formio/grid/src/submission/SubmissionGridBody.component.html +7 -0
- package/projects/angular-formio/grid/src/submission/SubmissionGridBody.component.ts +39 -0
- package/projects/angular-formio/grid/src/submission/SubmissionGridFooter.component.html +18 -0
- package/projects/angular-formio/grid/src/submission/SubmissionGridFooter.component.ts +20 -0
- package/projects/angular-formio/grid/src/submission/SubmissionGridHeader.component.html +11 -0
- package/projects/angular-formio/grid/src/submission/SubmissionGridHeader.component.ts +72 -0
- package/projects/angular-formio/grid/src/submission/index.ts +8 -0
- package/projects/angular-formio/grid/src/types/grid-column.ts +7 -0
- package/projects/angular-formio/grid/src/types/grid-footer-positions.ts +5 -0
- package/projects/angular-formio/grid/src/types/grid-header.ts +14 -0
- package/projects/angular-formio/karma.conf.js +32 -0
- package/projects/angular-formio/manager/ng-package.json +5 -0
- package/projects/angular-formio/manager/src/create/create.component.ts +11 -0
- package/projects/angular-formio/manager/src/delete/delete.component.html +6 -0
- package/projects/angular-formio/manager/src/delete/delete.component.ts +37 -0
- package/projects/angular-formio/manager/src/edit/edit.component.html +19 -0
- package/projects/angular-formio/manager/src/edit/edit.component.ts +110 -0
- package/projects/angular-formio/manager/src/form/form.component.html +32 -0
- package/projects/angular-formio/manager/src/form/form.component.ts +73 -0
- package/projects/angular-formio/manager/src/form-manager.config.ts +31 -0
- package/projects/angular-formio/manager/src/form-manager.module.ts +54 -0
- package/projects/angular-formio/manager/src/form-manager.routes.ts +75 -0
- package/projects/angular-formio/manager/src/form-manager.service.ts +190 -0
- package/projects/angular-formio/manager/src/index/index.component.html +14 -0
- package/projects/angular-formio/manager/src/index/index.component.scss +22 -0
- package/projects/angular-formio/manager/src/index/index.component.ts +100 -0
- package/projects/angular-formio/manager/src/index.ts +16 -0
- package/projects/angular-formio/manager/src/public_api.ts +5 -0
- package/projects/angular-formio/manager/src/submission/delete/delete.component.html +6 -0
- package/projects/angular-formio/manager/src/submission/delete/delete.component.ts +26 -0
- package/projects/angular-formio/manager/src/submission/edit/edit.component.html +7 -0
- package/projects/angular-formio/manager/src/submission/edit/edit.component.ts +18 -0
- package/projects/angular-formio/manager/src/submission/index/index.component.html +1 -0
- package/projects/angular-formio/manager/src/submission/index/index.component.ts +18 -0
- package/projects/angular-formio/manager/src/submission/submission/submission.component.html +8 -0
- package/projects/angular-formio/manager/src/submission/submission/submission.component.ts +24 -0
- package/projects/angular-formio/manager/src/submission/view/view.component.html +7 -0
- package/projects/angular-formio/manager/src/submission/view/view.component.ts +9 -0
- package/projects/angular-formio/manager/src/view/view.component.html +11 -0
- package/projects/angular-formio/manager/src/view/view.component.ts +44 -0
- package/projects/angular-formio/ng-package.json +7 -0
- package/projects/angular-formio/node_modules/tslib/CopyrightNotice.txt +15 -0
- package/projects/angular-formio/node_modules/tslib/LICENSE.txt +12 -0
- package/projects/angular-formio/node_modules/tslib/README.md +164 -0
- package/projects/angular-formio/node_modules/tslib/SECURITY.md +41 -0
- package/projects/angular-formio/node_modules/tslib/modules/index.d.ts +35 -0
- package/projects/angular-formio/node_modules/tslib/modules/index.js +64 -0
- package/projects/angular-formio/node_modules/tslib/modules/package.json +3 -0
- package/projects/angular-formio/node_modules/tslib/package.json +47 -0
- package/projects/angular-formio/node_modules/tslib/tslib.d.ts +430 -0
- package/projects/angular-formio/node_modules/tslib/tslib.es6.html +1 -0
- package/projects/angular-formio/node_modules/tslib/tslib.es6.js +321 -0
- package/projects/angular-formio/node_modules/tslib/tslib.es6.mjs +321 -0
- package/projects/angular-formio/node_modules/tslib/tslib.html +1 -0
- package/projects/angular-formio/node_modules/tslib/tslib.js +370 -0
- package/projects/angular-formio/package.json +39 -0
- package/projects/angular-formio/resource/ng-package.json +5 -0
- package/projects/angular-formio/resource/src/create/create.component.html +13 -0
- package/projects/angular-formio/resource/src/create/create.component.scss +3 -0
- package/projects/angular-formio/resource/src/create/create.component.ts +37 -0
- package/projects/angular-formio/resource/src/delete/delete.component.html +5 -0
- package/projects/angular-formio/resource/src/delete/delete.component.ts +24 -0
- package/projects/angular-formio/resource/src/edit/edit.component.html +7 -0
- package/projects/angular-formio/resource/src/edit/edit.component.ts +35 -0
- package/projects/angular-formio/resource/src/index/index.component.html +10 -0
- package/projects/angular-formio/resource/src/index/index.component.ts +64 -0
- package/projects/angular-formio/resource/src/index.js +24 -0
- package/projects/angular-formio/resource/src/index.ts +11 -0
- package/projects/angular-formio/resource/src/public_api.ts +5 -0
- package/projects/angular-formio/resource/src/resource.component.html +7 -0
- package/projects/angular-formio/resource/src/resource.component.ts +48 -0
- package/projects/angular-formio/resource/src/resource.config.ts +17 -0
- package/projects/angular-formio/resource/src/resource.module.ts +43 -0
- package/projects/angular-formio/resource/src/resource.routes.ts +43 -0
- package/projects/angular-formio/resource/src/resource.service.ts +258 -0
- package/projects/angular-formio/resource/src/resources.service.ts +24 -0
- package/projects/angular-formio/resource/src/view/view.component.html +6 -0
- package/projects/angular-formio/resource/src/view/view.component.ts +19 -0
- package/projects/angular-formio/src/FormioBaseComponent.ts +557 -0
- package/projects/angular-formio/src/components/alerts/formio.alerts.component.html +3 -0
- package/projects/angular-formio/src/components/alerts/formio.alerts.component.ts +19 -0
- package/projects/angular-formio/src/components/alerts/formio.alerts.ts +21 -0
- package/projects/angular-formio/src/components/alerts/parse-html-content.pipe.ts +15 -0
- package/projects/angular-formio/src/components/formbuilder/formbuilder.component.html +1 -0
- package/projects/angular-formio/src/components/formbuilder/formbuilder.component.ts +213 -0
- package/projects/angular-formio/src/components/formio/formio.component.html +8 -0
- package/projects/angular-formio/src/components/formio/formio.component.ts +33 -0
- package/projects/angular-formio/src/components/formioreport/formioreport.component.html +8 -0
- package/projects/angular-formio/src/components/formioreport/formioreport.component.ts +91 -0
- package/projects/angular-formio/src/components/loader/formio.loader.component.html +3 -0
- package/projects/angular-formio/src/components/loader/formio.loader.component.scss +26 -0
- package/projects/angular-formio/src/components/loader/formio.loader.component.ts +10 -0
- package/projects/angular-formio/src/core.ts +25 -0
- package/projects/angular-formio/src/custom-tags.service.ts +9 -0
- package/projects/angular-formio/src/formio-promise.service.ts +36 -0
- package/projects/angular-formio/src/formio.common.ts +91 -0
- package/projects/angular-formio/src/formio.config.ts +26 -0
- package/projects/angular-formio/src/formio.module.ts +38 -0
- package/projects/angular-formio/src/formio.service.ts +57 -0
- package/projects/angular-formio/src/formio.utils.ts +23 -0
- package/projects/angular-formio/src/index.ts +3 -0
- package/projects/angular-formio/src/public-api.ts +5 -0
- package/projects/angular-formio/src/test.ts +28 -0
- package/projects/angular-formio/src/types/alerts-position.ts +6 -0
- package/projects/angular-formio/src/types/formio-metadata.ts +10 -0
- package/projects/angular-formio/src/types/formio-submission.ts +20 -0
- package/projects/angular-formio/tsconfig.lib.json +27 -0
- package/projects/angular-formio/tsconfig.lib.prod.json +8 -0
- package/projects/angular-formio/tsconfig.spec.json +17 -0
- package/projects/angular-formio/tslint.json +17 -0
- package/tsconfig.json +39 -0
- package/tslint.json +140 -0
- package/embed/app.service.d.ts.map +0 -1
- package/embed/builder.component.d.ts.map +0 -1
- package/embed/formio.component.d.ts.map +0 -1
- package/embed/index.d.ts.map +0 -1
- package/esm2022/FormioBaseComponent.mjs +0 -581
- package/esm2022/auth/auth.component.mjs +0 -13
- package/esm2022/auth/auth.config.mjs +0 -22
- package/esm2022/auth/auth.module.mjs +0 -47
- package/esm2022/auth/login/login.component.mjs +0 -21
- package/esm2022/auth/register/register.component.mjs +0 -21
- package/esm2022/auth/resetpass/resetpass.component.mjs +0 -18
- package/esm2022/components/alerts/formio.alerts.component.mjs +0 -29
- package/esm2022/components/alerts/parse-html-content.pipe.mjs +0 -20
- package/esm2022/components/formbuilder/formbuilder.component.mjs +0 -202
- package/esm2022/components/formio/formio.component.mjs +0 -43
- package/esm2022/components/formioreport/formioreport.component.mjs +0 -86
- package/esm2022/components/loader/formio.loader.component.mjs +0 -16
- package/esm2022/core.mjs +0 -18
- package/esm2022/custom-tags.service.mjs +0 -15
- package/esm2022/embed/app.service.mjs +0 -59
- package/esm2022/embed/builder.component.mjs +0 -37
- package/esm2022/embed/embed.module.mjs +0 -36
- package/esm2022/embed/formio.component.mjs +0 -51
- package/esm2022/embed/index.mjs +0 -7
- package/esm2022/formio.common.mjs +0 -11
- package/esm2022/formio.config.mjs +0 -30
- package/esm2022/formio.module.mjs +0 -60
- package/esm2022/formio.utils.mjs +0 -21
- package/esm2022/grid/GridBodyComponent.mjs +0 -90
- package/esm2022/grid/GridFooterComponent.mjs +0 -45
- package/esm2022/grid/GridHeaderComponent.mjs +0 -35
- package/esm2022/grid/form/FormGridBody.component.mjs +0 -64
- package/esm2022/grid/form/FormGridFooter.component.mjs +0 -27
- package/esm2022/grid/form/FormGridHeader.component.mjs +0 -28
- package/esm2022/grid/form/time-since.pipe.mjs +0 -38
- package/esm2022/grid/grid.component.mjs +0 -258
- package/esm2022/grid/grid.module.mjs +0 -80
- package/esm2022/grid/grid.service.mjs +0 -19
- package/esm2022/grid/submission/SubmissionGridBody.component.mjs +0 -44
- package/esm2022/grid/submission/SubmissionGridFooter.component.mjs +0 -24
- package/esm2022/grid/submission/SubmissionGridHeader.component.mjs +0 -64
- package/esm2022/manager/create/create.component.mjs +0 -19
- package/esm2022/manager/delete/delete.component.mjs +0 -43
- package/esm2022/manager/edit/edit.component.mjs +0 -123
- package/esm2022/manager/form/form.component.mjs +0 -81
- package/esm2022/manager/form-manager.config.mjs +0 -19
- package/esm2022/manager/form-manager.module.mjs +0 -84
- package/esm2022/manager/form-manager.service.mjs +0 -186
- package/esm2022/manager/index/index.component.mjs +0 -109
- package/esm2022/manager/submission/delete/delete.component.mjs +0 -33
- package/esm2022/manager/submission/edit/edit.component.mjs +0 -26
- package/esm2022/manager/submission/index/index.component.mjs +0 -26
- package/esm2022/manager/submission/submission/submission.component.mjs +0 -30
- package/esm2022/manager/submission/view/view.component.mjs +0 -18
- package/esm2022/manager/view/view.component.mjs +0 -53
- package/esm2022/resource/create/create.component.mjs +0 -44
- package/esm2022/resource/delete/delete.component.mjs +0 -30
- package/esm2022/resource/edit/edit.component.mjs +0 -43
- package/esm2022/resource/index/index.component.mjs +0 -70
- package/esm2022/resource/resource.component.mjs +0 -47
- package/esm2022/resource/resource.config.mjs +0 -14
- package/esm2022/resource/resource.module.mjs +0 -63
- package/esm2022/resource/resource.service.mjs +0 -230
- package/esm2022/resource/resources.service.mjs +0 -26
- package/esm2022/resource/view/view.component.mjs +0 -26
- package/fesm2022/formio-angular-auth.mjs.map +0 -1
- package/fesm2022/formio-angular-embed.mjs +0 -176
- package/fesm2022/formio-angular-embed.mjs.map +0 -1
- package/fesm2022/formio-angular-grid.mjs +0 -772
- package/fesm2022/formio-angular-grid.mjs.map +0 -1
- package/fesm2022/formio-angular-manager.mjs +0 -819
- package/fesm2022/formio-angular-manager.mjs.map +0 -1
- package/fesm2022/formio-angular-resource.mjs +0 -571
- package/fesm2022/formio-angular-resource.mjs.map +0 -1
- package/fesm2022/formio-angular.mjs +0 -1181
- package/fesm2022/formio-angular.mjs.map +0 -1
- package/formio.common.d.ts.map +0 -1
- package/formio.config.d.ts.map +0 -1
- package/grid/submission/SubmissionGridHeader.component.d.ts.map +0 -1
- package/manager/form-manager.config.d.ts.map +0 -1
- /package/{auth → dist/angular-formio/auth}/auth.component.d.ts +0 -0
- /package/{auth → dist/angular-formio/auth}/auth.component.d.ts.map +0 -0
- /package/{auth → dist/angular-formio/auth}/auth.config.d.ts +0 -0
- /package/{auth → dist/angular-formio/auth}/auth.config.d.ts.map +0 -0
- /package/{auth → dist/angular-formio/auth}/auth.module.d.ts +0 -0
- /package/{auth → dist/angular-formio/auth}/auth.module.d.ts.map +0 -0
- /package/{auth → dist/angular-formio/auth}/auth.routes.d.ts +0 -0
- /package/{auth → dist/angular-formio/auth}/auth.routes.d.ts.map +0 -0
- /package/{auth → dist/angular-formio/auth}/auth.service.d.ts +0 -0
- /package/{auth → dist/angular-formio/auth}/auth.service.d.ts.map +0 -0
- /package/{auth → dist/angular-formio/auth}/formio-angular-auth.d.ts.map +0 -0
- /package/{auth → dist/angular-formio/auth}/index.d.ts +0 -0
- /package/{auth → dist/angular-formio/auth}/index.d.ts.map +0 -0
- /package/{auth → dist/angular-formio/auth}/login/login.component.d.ts +0 -0
- /package/{auth → dist/angular-formio/auth}/login/login.component.d.ts.map +0 -0
- /package/{auth → dist/angular-formio/auth}/register/register.component.d.ts +0 -0
- /package/{auth → dist/angular-formio/auth}/register/register.component.d.ts.map +0 -0
- /package/{auth → dist/angular-formio/auth}/resetpass/resetpass.component.d.ts +0 -0
- /package/{auth → dist/angular-formio/auth}/resetpass/resetpass.component.d.ts.map +0 -0
- /package/{components → dist/angular-formio/components}/alerts/formio.alerts.component.d.ts +0 -0
- /package/{components → dist/angular-formio/components}/alerts/formio.alerts.component.d.ts.map +0 -0
- /package/{components → dist/angular-formio/components}/alerts/formio.alerts.d.ts +0 -0
- /package/{components → dist/angular-formio/components}/alerts/formio.alerts.d.ts.map +0 -0
- /package/{components → dist/angular-formio/components}/alerts/parse-html-content.pipe.d.ts +0 -0
- /package/{components → dist/angular-formio/components}/alerts/parse-html-content.pipe.d.ts.map +0 -0
- /package/{components → dist/angular-formio/components}/formbuilder/formbuilder.component.d.ts +0 -0
- /package/{components → dist/angular-formio/components}/formbuilder/formbuilder.component.d.ts.map +0 -0
- /package/{components → dist/angular-formio/components}/formio/formio.component.d.ts +0 -0
- /package/{components → dist/angular-formio/components}/formio/formio.component.d.ts.map +0 -0
- /package/{components → dist/angular-formio/components}/loader/formio.loader.component.d.ts +0 -0
- /package/{components → dist/angular-formio/components}/loader/formio.loader.component.d.ts.map +0 -0
- /package/{custom-tags.service.d.ts → dist/angular-formio/custom-tags.service.d.ts} +0 -0
- /package/{custom-tags.service.d.ts.map → dist/angular-formio/custom-tags.service.d.ts.map} +0 -0
- /package/{embed → dist/angular-formio/embed}/embed.module.d.ts +0 -0
- /package/{embed → dist/angular-formio/embed}/embed.module.d.ts.map +0 -0
- /package/{embed → dist/angular-formio/embed}/formio-angular-embed.d.ts.map +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/auth/auth.routes.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/auth/formio-angular-auth.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/auth/index.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/components/alerts/formio.alerts.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/embed/formio-angular-embed.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/formio-angular.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/formio-promise.service.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/grid/form/index.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/grid/formio-angular-grid.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/grid/index.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/grid/submission/index.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/grid/types/grid-column.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/grid/types/grid-footer-positions.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/grid/types/grid-header.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/index.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/manager/form-manager.routes.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/manager/formio-angular-manager.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/manager/index.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/resource/formio-angular-resource.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/resource/index.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/resource/resource.routes.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/types/alerts-position.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/types/formio-metadata.mjs +0 -0
- /package/{esm2022 → dist/angular-formio/esm2022}/types/formio-submission.mjs +0 -0
- /package/{formio-angular.d.ts.map → dist/angular-formio/formio-angular.d.ts.map} +0 -0
- /package/{formio-promise.service.d.ts → dist/angular-formio/formio-promise.service.d.ts} +0 -0
- /package/{formio-promise.service.d.ts.map → dist/angular-formio/formio-promise.service.d.ts.map} +0 -0
- /package/{formio.module.d.ts → dist/angular-formio/formio.module.d.ts} +0 -0
- /package/{formio.module.d.ts.map → dist/angular-formio/formio.module.d.ts.map} +0 -0
- /package/{formio.service.d.ts → dist/angular-formio/formio.service.d.ts} +0 -0
- /package/{formio.service.d.ts.map → dist/angular-formio/formio.service.d.ts.map} +0 -0
- /package/{formio.utils.d.ts → dist/angular-formio/formio.utils.d.ts} +0 -0
- /package/{formio.utils.d.ts.map → dist/angular-formio/formio.utils.d.ts.map} +0 -0
- /package/{grid → dist/angular-formio/grid}/GridBodyComponent.d.ts +0 -0
- /package/{grid → dist/angular-formio/grid}/GridBodyComponent.d.ts.map +0 -0
- /package/{grid → dist/angular-formio/grid}/GridFooterComponent.d.ts +0 -0
- /package/{grid → dist/angular-formio/grid}/GridFooterComponent.d.ts.map +0 -0
- /package/{grid → dist/angular-formio/grid}/GridHeaderComponent.d.ts +0 -0
- /package/{grid → dist/angular-formio/grid}/GridHeaderComponent.d.ts.map +0 -0
- /package/{grid → dist/angular-formio/grid}/form/FormGridBody.component.d.ts +0 -0
- /package/{grid → dist/angular-formio/grid}/form/FormGridBody.component.d.ts.map +0 -0
- /package/{grid → dist/angular-formio/grid}/form/FormGridFooter.component.d.ts +0 -0
- /package/{grid → dist/angular-formio/grid}/form/FormGridFooter.component.d.ts.map +0 -0
- /package/{grid → dist/angular-formio/grid}/form/FormGridHeader.component.d.ts +0 -0
- /package/{grid → dist/angular-formio/grid}/form/FormGridHeader.component.d.ts.map +0 -0
- /package/{grid → dist/angular-formio/grid}/form/index.d.ts +0 -0
- /package/{grid → dist/angular-formio/grid}/form/index.d.ts.map +0 -0
- /package/{grid → dist/angular-formio/grid}/form/time-since.pipe.d.ts +0 -0
- /package/{grid → dist/angular-formio/grid}/form/time-since.pipe.d.ts.map +0 -0
- /package/{grid → dist/angular-formio/grid}/formio-angular-grid.d.ts.map +0 -0
- /package/{grid → dist/angular-formio/grid}/grid.component.d.ts +0 -0
- /package/{grid → dist/angular-formio/grid}/grid.component.d.ts.map +0 -0
- /package/{grid → dist/angular-formio/grid}/grid.module.d.ts +0 -0
- /package/{grid → dist/angular-formio/grid}/grid.module.d.ts.map +0 -0
- /package/{grid → dist/angular-formio/grid}/grid.service.d.ts +0 -0
- /package/{grid → dist/angular-formio/grid}/grid.service.d.ts.map +0 -0
- /package/{grid → dist/angular-formio/grid}/index.d.ts +0 -0
- /package/{grid → dist/angular-formio/grid}/index.d.ts.map +0 -0
- /package/{grid → dist/angular-formio/grid}/submission/SubmissionGridBody.component.d.ts +0 -0
- /package/{grid → dist/angular-formio/grid}/submission/SubmissionGridBody.component.d.ts.map +0 -0
- /package/{grid → dist/angular-formio/grid}/submission/SubmissionGridFooter.component.d.ts +0 -0
- /package/{grid → dist/angular-formio/grid}/submission/SubmissionGridFooter.component.d.ts.map +0 -0
- /package/{grid → dist/angular-formio/grid}/submission/index.d.ts +0 -0
- /package/{grid → dist/angular-formio/grid}/submission/index.d.ts.map +0 -0
- /package/{grid → dist/angular-formio/grid}/types/grid-column.d.ts +0 -0
- /package/{grid → dist/angular-formio/grid}/types/grid-column.d.ts.map +0 -0
- /package/{grid → dist/angular-formio/grid}/types/grid-footer-positions.d.ts +0 -0
- /package/{grid → dist/angular-formio/grid}/types/grid-footer-positions.d.ts.map +0 -0
- /package/{grid → dist/angular-formio/grid}/types/grid-header.d.ts +0 -0
- /package/{grid → dist/angular-formio/grid}/types/grid-header.d.ts.map +0 -0
- /package/{index.d.ts → dist/angular-formio/index.d.ts} +0 -0
- /package/{index.d.ts.map → dist/angular-formio/index.d.ts.map} +0 -0
- /package/{manager → dist/angular-formio/manager}/create/create.component.d.ts +0 -0
- /package/{manager → dist/angular-formio/manager}/create/create.component.d.ts.map +0 -0
- /package/{manager → dist/angular-formio/manager}/delete/delete.component.d.ts +0 -0
- /package/{manager → dist/angular-formio/manager}/delete/delete.component.d.ts.map +0 -0
- /package/{manager → dist/angular-formio/manager}/edit/edit.component.d.ts +0 -0
- /package/{manager → dist/angular-formio/manager}/form/form.component.d.ts +0 -0
- /package/{manager → dist/angular-formio/manager}/form/form.component.d.ts.map +0 -0
- /package/{manager → dist/angular-formio/manager}/form-manager.module.d.ts +0 -0
- /package/{manager → dist/angular-formio/manager}/form-manager.module.d.ts.map +0 -0
- /package/{manager → dist/angular-formio/manager}/form-manager.routes.d.ts +0 -0
- /package/{manager → dist/angular-formio/manager}/form-manager.routes.d.ts.map +0 -0
- /package/{manager → dist/angular-formio/manager}/form-manager.service.d.ts +0 -0
- /package/{manager → dist/angular-formio/manager}/formio-angular-manager.d.ts.map +0 -0
- /package/{manager → dist/angular-formio/manager}/index/index.component.d.ts +0 -0
- /package/{manager → dist/angular-formio/manager}/index/index.component.d.ts.map +0 -0
- /package/{manager → dist/angular-formio/manager}/index.d.ts +0 -0
- /package/{manager → dist/angular-formio/manager}/index.d.ts.map +0 -0
- /package/{manager → dist/angular-formio/manager}/submission/delete/delete.component.d.ts +0 -0
- /package/{manager → dist/angular-formio/manager}/submission/delete/delete.component.d.ts.map +0 -0
- /package/{manager → dist/angular-formio/manager}/submission/edit/edit.component.d.ts +0 -0
- /package/{manager → dist/angular-formio/manager}/submission/edit/edit.component.d.ts.map +0 -0
- /package/{manager → dist/angular-formio/manager}/submission/index/index.component.d.ts +0 -0
- /package/{manager → dist/angular-formio/manager}/submission/index/index.component.d.ts.map +0 -0
- /package/{manager → dist/angular-formio/manager}/submission/submission/submission.component.d.ts +0 -0
- /package/{manager → dist/angular-formio/manager}/submission/submission/submission.component.d.ts.map +0 -0
- /package/{manager → dist/angular-formio/manager}/submission/view/view.component.d.ts +0 -0
- /package/{manager → dist/angular-formio/manager}/submission/view/view.component.d.ts.map +0 -0
- /package/{manager → dist/angular-formio/manager}/view/view.component.d.ts +0 -0
- /package/{manager → dist/angular-formio/manager}/view/view.component.d.ts.map +0 -0
- /package/{resource → dist/angular-formio/resource}/create/create.component.d.ts +0 -0
- /package/{resource → dist/angular-formio/resource}/create/create.component.d.ts.map +0 -0
- /package/{resource → dist/angular-formio/resource}/delete/delete.component.d.ts +0 -0
- /package/{resource → dist/angular-formio/resource}/delete/delete.component.d.ts.map +0 -0
- /package/{resource → dist/angular-formio/resource}/edit/edit.component.d.ts +0 -0
- /package/{resource → dist/angular-formio/resource}/edit/edit.component.d.ts.map +0 -0
- /package/{resource → dist/angular-formio/resource}/formio-angular-resource.d.ts.map +0 -0
- /package/{resource → dist/angular-formio/resource}/index/index.component.d.ts +0 -0
- /package/{resource → dist/angular-formio/resource}/index/index.component.d.ts.map +0 -0
- /package/{resource → dist/angular-formio/resource}/index.d.ts +0 -0
- /package/{resource → dist/angular-formio/resource}/index.d.ts.map +0 -0
- /package/{resource → dist/angular-formio/resource}/resource.component.d.ts +0 -0
- /package/{resource → dist/angular-formio/resource}/resource.component.d.ts.map +0 -0
- /package/{resource → dist/angular-formio/resource}/resource.config.d.ts +0 -0
- /package/{resource → dist/angular-formio/resource}/resource.config.d.ts.map +0 -0
- /package/{resource → dist/angular-formio/resource}/resource.module.d.ts +0 -0
- /package/{resource → dist/angular-formio/resource}/resource.module.d.ts.map +0 -0
- /package/{resource → dist/angular-formio/resource}/resource.routes.d.ts +0 -0
- /package/{resource → dist/angular-formio/resource}/resource.routes.d.ts.map +0 -0
- /package/{resource → dist/angular-formio/resource}/resource.service.d.ts +0 -0
- /package/{resource → dist/angular-formio/resource}/resources.service.d.ts +0 -0
- /package/{resource → dist/angular-formio/resource}/resources.service.d.ts.map +0 -0
- /package/{resource → dist/angular-formio/resource}/view/view.component.d.ts +0 -0
- /package/{resource → dist/angular-formio/resource}/view/view.component.d.ts.map +0 -0
- /package/{types → dist/angular-formio/types}/alerts-position.d.ts +0 -0
- /package/{types → dist/angular-formio/types}/alerts-position.d.ts.map +0 -0
- /package/{types → dist/angular-formio/types}/formio-metadata.d.ts +0 -0
- /package/{types → dist/angular-formio/types}/formio-metadata.d.ts.map +0 -0
- /package/{types → dist/angular-formio/types}/formio-submission.d.ts +0 -0
- /package/{types → dist/angular-formio/types}/formio-submission.d.ts.map +0 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { Formio } from '@formio/js';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../resource.service";
|
|
5
|
+
import * as i2 from "../resource.config";
|
|
6
|
+
import * as i3 from "@formio/angular";
|
|
7
|
+
export class FormioResourceViewComponent {
|
|
8
|
+
service;
|
|
9
|
+
config;
|
|
10
|
+
constructor(service, config) {
|
|
11
|
+
this.service = service;
|
|
12
|
+
this.config = config;
|
|
13
|
+
}
|
|
14
|
+
submission = { data: {} };
|
|
15
|
+
ngOnDestroy() {
|
|
16
|
+
Formio.clearCache();
|
|
17
|
+
}
|
|
18
|
+
static ɵfac = function FormioResourceViewComponent_Factory(t) { return new (t || FormioResourceViewComponent)(i0.ɵɵdirectiveInject(i1.FormioResourceService), i0.ɵɵdirectiveInject(i2.FormioResourceConfig)); };
|
|
19
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormioResourceViewComponent, selectors: [["ng-component"]], decls: 1, vars: 4, consts: [[3, "form", "submission", "hideComponents", "readOnly"]], template: function FormioResourceViewComponent_Template(rf, ctx) { if (rf & 1) {
|
|
20
|
+
i0.ɵɵelement(0, "formio", 0);
|
|
21
|
+
} if (rf & 2) {
|
|
22
|
+
i0.ɵɵproperty("form", ctx.service.form)("submission", ctx.service.resource)("hideComponents", ctx.config.parents)("readOnly", true);
|
|
23
|
+
} }, dependencies: [i3.FormioComponent], encapsulation: 2 });
|
|
24
|
+
}
|
|
25
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormioResourceViewComponent, [{
|
|
26
|
+
type: Component,
|
|
27
|
+
args: [{ template: "<formio\n [form]=\"service.form\"\n [submission]=\"service.resource\"\n [hideComponents]=\"config.parents\"\n [readOnly]=\"true\"\n></formio>\n" }]
|
|
28
|
+
}], () => [{ type: i1.FormioResourceService }, { type: i2.FormioResourceConfig }], null); })();
|
|
29
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FormioResourceViewComponent, { className: "FormioResourceViewComponent", filePath: "view/view.component.ts", lineNumber: 9 }); })();
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlldy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9yZXNvdXJjZS9zcmMvdmlldy92aWV3LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL3Jlc291cmNlL3NyYy92aWV3L3ZpZXcuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFD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iAgICBwdWJsaWMgc2VydmljZTogRm9ybWlvUmVzb3VyY2VTZXJ2aWNlLFxuICAgIHB1YmxpYyBjb25maWc6IEZvcm1pb1Jlc291cmNlQ29uZmlnXG4gICkge31cbiAgcHVibGljIHN1Ym1pc3Npb24gPSB7ZGF0YToge319O1xuXG4gIG5nT25EZXN0cm95KCkge1xuICAgIEZvcm1pby5jbGVhckNhY2hlKCk7XG4gIH1cbn1cbiIsIjxmb3JtaW9cbiAgW2Zvcm1dPVwic2VydmljZS5mb3JtXCJcbiAgW3N1Ym1pc3Npb25dPVwic2VydmljZS5yZXNvdXJjZVwiXG4gIFtoaWRlQ29tcG9uZW50c109XCJjb25maWcucGFyZW50c1wiXG4gIFtyZWFkT25seV09XCJ0cnVlXCJcbj48L2Zvcm1pbz5cbiJdfQ==
|
|
@@ -15,12 +15,12 @@ class FormioAuthConfig {
|
|
|
15
15
|
register;
|
|
16
16
|
resetpass;
|
|
17
17
|
oauth;
|
|
18
|
-
static ɵfac =
|
|
19
|
-
static ɵprov = i0.ɵɵ
|
|
18
|
+
static ɵfac = function FormioAuthConfig_Factory(t) { return new (t || FormioAuthConfig)(); };
|
|
19
|
+
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FormioAuthConfig, factory: FormioAuthConfig.ɵfac });
|
|
20
20
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormioAuthConfig, [{
|
|
22
|
+
type: Injectable
|
|
23
|
+
}], null, null); })();
|
|
24
24
|
var FormioOauthType;
|
|
25
25
|
(function (FormioOauthType) {
|
|
26
26
|
FormioOauthType["okta"] = "okta";
|
|
@@ -213,21 +213,32 @@ class FormioAuthService {
|
|
|
213
213
|
})
|
|
214
214
|
.catch(() => this.logoutError());
|
|
215
215
|
}
|
|
216
|
-
static ɵfac =
|
|
217
|
-
static ɵprov = i0.ɵɵ
|
|
216
|
+
static ɵfac = function FormioAuthService_Factory(t) { return new (t || FormioAuthService)(i0.ɵɵinject(i2.FormioAppConfig), i0.ɵɵinject(FormioAuthConfig)); };
|
|
217
|
+
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FormioAuthService, factory: FormioAuthService.ɵfac });
|
|
218
218
|
}
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
219
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormioAuthService, [{
|
|
220
|
+
type: Injectable
|
|
221
|
+
}], () => [{ type: i2.FormioAppConfig }, { type: FormioAuthConfig }], null); })();
|
|
222
222
|
|
|
223
223
|
class FormioAuthComponent {
|
|
224
|
-
static ɵfac =
|
|
225
|
-
static ɵcmp = i0.ɵɵ
|
|
224
|
+
static ɵfac = function FormioAuthComponent_Factory(t) { return new (t || FormioAuthComponent)(); };
|
|
225
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormioAuthComponent, selectors: [["ng-component"]], decls: 11, vars: 0, consts: [[1, "card", "card-primary", "panel", "panel-default"], [1, "card-header", "panel-heading"], [1, "nav", "nav-tabs", "card-header-tabs"], ["role", "presentation", "routerLinkActive", "active", 1, "nav-item"], ["routerLink", "login", "routerLinkActive", "active", 1, "nav-link"], ["routerLink", "register", "routerLinkActive", "active", 1, "nav-link"], [1, "card-body", "panel-body"]], template: function FormioAuthComponent_Template(rf, ctx) { if (rf & 1) {
|
|
226
|
+
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "ul", 2)(3, "li", 3)(4, "a", 4);
|
|
227
|
+
i0.ɵɵtext(5, "Login");
|
|
228
|
+
i0.ɵɵelementEnd()();
|
|
229
|
+
i0.ɵɵelementStart(6, "li", 3)(7, "a", 5);
|
|
230
|
+
i0.ɵɵtext(8, "Register");
|
|
231
|
+
i0.ɵɵelementEnd()()()();
|
|
232
|
+
i0.ɵɵelementStart(9, "div", 6);
|
|
233
|
+
i0.ɵɵelement(10, "router-outlet");
|
|
234
|
+
i0.ɵɵelementEnd()();
|
|
235
|
+
} }, dependencies: [i1.RouterOutlet, i1.RouterLink, i1.RouterLinkActive], encapsulation: 2 });
|
|
226
236
|
}
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
237
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormioAuthComponent, [{
|
|
238
|
+
type: Component,
|
|
239
|
+
args: [{ template: "<div class=\"card card-primary panel panel-default\">\n <div class=\"card-header panel-heading\">\n <ul class=\"nav nav-tabs card-header-tabs\">\n <li class=\"nav-item\" role=\"presentation\" routerLinkActive=\"active\"><a class=\"nav-link\" routerLink=\"login\" routerLinkActive=\"active\">Login</a></li>\n <li class=\"nav-item\" role=\"presentation\" routerLinkActive=\"active\"><a class=\"nav-link\" routerLink=\"register\" routerLinkActive=\"active\">Register</a></li>\n </ul>\n </div>\n <div class=\"card-body panel-body\">\n <router-outlet></router-outlet>\n </div>\n</div>\n" }]
|
|
240
|
+
}], null, null); })();
|
|
241
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FormioAuthComponent, { className: "FormioAuthComponent", filePath: "auth.component.ts", lineNumber: 5 }); })();
|
|
231
242
|
|
|
232
243
|
class FormioAuthLoginComponent {
|
|
233
244
|
service;
|
|
@@ -237,13 +248,20 @@ class FormioAuthLoginComponent {
|
|
|
237
248
|
constructor(service) {
|
|
238
249
|
this.service = service;
|
|
239
250
|
}
|
|
240
|
-
static ɵfac =
|
|
241
|
-
static ɵcmp = i0.ɵɵ
|
|
251
|
+
static ɵfac = function FormioAuthLoginComponent_Factory(t) { return new (t || FormioAuthLoginComponent)(i0.ɵɵdirectiveInject(FormioAuthService)); };
|
|
252
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormioAuthLoginComponent, selectors: [["ng-component"]], decls: 1, vars: 2, consts: [[3, "submit", "src", "renderOptions"]], template: function FormioAuthLoginComponent_Template(rf, ctx) { if (rf & 1) {
|
|
253
|
+
i0.ɵɵelementStart(0, "formio", 0);
|
|
254
|
+
i0.ɵɵlistener("submit", function FormioAuthLoginComponent_Template_formio_submit_0_listener($event) { return ctx.service.onLoginSubmit($event); });
|
|
255
|
+
i0.ɵɵelementEnd();
|
|
256
|
+
} if (rf & 2) {
|
|
257
|
+
i0.ɵɵproperty("src", ctx.service.loginForm)("renderOptions", ctx.renderOptions);
|
|
258
|
+
} }, dependencies: [i2.FormioComponent], encapsulation: 2 });
|
|
242
259
|
}
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
260
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormioAuthLoginComponent, [{
|
|
261
|
+
type: Component,
|
|
262
|
+
args: [{ template: "<formio [src]=\"service.loginForm\" [renderOptions]=\"renderOptions\" (submit)=\"service.onLoginSubmit($event)\"></formio>\n" }]
|
|
263
|
+
}], () => [{ type: FormioAuthService }], null); })();
|
|
264
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FormioAuthLoginComponent, { className: "FormioAuthLoginComponent", filePath: "login/login.component.ts", lineNumber: 6 }); })();
|
|
247
265
|
|
|
248
266
|
class FormioAuthRegisterComponent {
|
|
249
267
|
service;
|
|
@@ -253,26 +271,40 @@ class FormioAuthRegisterComponent {
|
|
|
253
271
|
constructor(service) {
|
|
254
272
|
this.service = service;
|
|
255
273
|
}
|
|
256
|
-
static ɵfac =
|
|
257
|
-
static ɵcmp = i0.ɵɵ
|
|
274
|
+
static ɵfac = function FormioAuthRegisterComponent_Factory(t) { return new (t || FormioAuthRegisterComponent)(i0.ɵɵdirectiveInject(FormioAuthService)); };
|
|
275
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormioAuthRegisterComponent, selectors: [["ng-component"]], decls: 1, vars: 2, consts: [[3, "submit", "src", "renderOptions"]], template: function FormioAuthRegisterComponent_Template(rf, ctx) { if (rf & 1) {
|
|
276
|
+
i0.ɵɵelementStart(0, "formio", 0);
|
|
277
|
+
i0.ɵɵlistener("submit", function FormioAuthRegisterComponent_Template_formio_submit_0_listener($event) { return ctx.service.onRegisterSubmit($event); });
|
|
278
|
+
i0.ɵɵelementEnd();
|
|
279
|
+
} if (rf & 2) {
|
|
280
|
+
i0.ɵɵproperty("src", ctx.service.registerForm)("renderOptions", ctx.renderOptions);
|
|
281
|
+
} }, dependencies: [i2.FormioComponent], encapsulation: 2 });
|
|
258
282
|
}
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
283
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormioAuthRegisterComponent, [{
|
|
284
|
+
type: Component,
|
|
285
|
+
args: [{ template: "<formio [src]=\"service.registerForm\" [renderOptions]=\"renderOptions\" (submit)=\"service.onRegisterSubmit($event)\"></formio>\n" }]
|
|
286
|
+
}], () => [{ type: FormioAuthService }], null); })();
|
|
287
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FormioAuthRegisterComponent, { className: "FormioAuthRegisterComponent", filePath: "register/register.component.ts", lineNumber: 6 }); })();
|
|
263
288
|
|
|
264
289
|
class FormioResetPassComponent {
|
|
265
290
|
service;
|
|
266
291
|
constructor(service) {
|
|
267
292
|
this.service = service;
|
|
268
293
|
}
|
|
269
|
-
static ɵfac =
|
|
270
|
-
static ɵcmp = i0.ɵɵ
|
|
294
|
+
static ɵfac = function FormioResetPassComponent_Factory(t) { return new (t || FormioResetPassComponent)(i0.ɵɵdirectiveInject(FormioAuthService)); };
|
|
295
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormioResetPassComponent, selectors: [["ng-component"]], decls: 1, vars: 1, consts: [[3, "submit", "src"]], template: function FormioResetPassComponent_Template(rf, ctx) { if (rf & 1) {
|
|
296
|
+
i0.ɵɵelementStart(0, "formio", 0);
|
|
297
|
+
i0.ɵɵlistener("submit", function FormioResetPassComponent_Template_formio_submit_0_listener($event) { return ctx.service.onResetPassSubmit($event); });
|
|
298
|
+
i0.ɵɵelementEnd();
|
|
299
|
+
} if (rf & 2) {
|
|
300
|
+
i0.ɵɵproperty("src", ctx.service.resetPassForm);
|
|
301
|
+
} }, dependencies: [i2.FormioComponent], encapsulation: 2 });
|
|
271
302
|
}
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
303
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormioResetPassComponent, [{
|
|
304
|
+
type: Component,
|
|
305
|
+
args: [{ template: "<formio [src]=\"service.resetPassForm\" (submit)=\"service.onResetPassSubmit($event)\"></formio>\n" }]
|
|
306
|
+
}], () => [{ type: FormioAuthService }], null); })();
|
|
307
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FormioResetPassComponent, { className: "FormioResetPassComponent", filePath: "resetpass/resetpass.component.ts", lineNumber: 6 }); })();
|
|
276
308
|
|
|
277
309
|
function FormioAuthRoutes(config) {
|
|
278
310
|
return [
|
|
@@ -309,33 +341,34 @@ class FormioAuth {
|
|
|
309
341
|
static forChild(config) {
|
|
310
342
|
return extendRouter(FormioAuth, config, FormioAuthRoutes);
|
|
311
343
|
}
|
|
312
|
-
static ɵfac =
|
|
313
|
-
static ɵmod = i0.ɵɵ
|
|
314
|
-
|
|
315
|
-
FormioAuthRegisterComponent,
|
|
316
|
-
FormioResetPassComponent], imports: [CommonModule,
|
|
317
|
-
FormioModule,
|
|
318
|
-
RouterModule] });
|
|
319
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormioAuth, imports: [CommonModule,
|
|
344
|
+
static ɵfac = function FormioAuth_Factory(t) { return new (t || FormioAuth)(); };
|
|
345
|
+
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: FormioAuth });
|
|
346
|
+
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
320
347
|
FormioModule,
|
|
321
348
|
RouterModule] });
|
|
322
349
|
}
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
350
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormioAuth, [{
|
|
351
|
+
type: NgModule,
|
|
352
|
+
args: [{
|
|
353
|
+
imports: [
|
|
354
|
+
CommonModule,
|
|
355
|
+
FormioModule,
|
|
356
|
+
RouterModule
|
|
357
|
+
],
|
|
358
|
+
declarations: [
|
|
359
|
+
FormioAuthComponent,
|
|
360
|
+
FormioAuthLoginComponent,
|
|
361
|
+
FormioAuthRegisterComponent,
|
|
362
|
+
FormioResetPassComponent
|
|
363
|
+
]
|
|
364
|
+
}]
|
|
365
|
+
}], null, null); })();
|
|
366
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(FormioAuth, { declarations: [FormioAuthComponent,
|
|
367
|
+
FormioAuthLoginComponent,
|
|
368
|
+
FormioAuthRegisterComponent,
|
|
369
|
+
FormioResetPassComponent], imports: [CommonModule,
|
|
370
|
+
FormioModule,
|
|
371
|
+
RouterModule] }); })();
|
|
339
372
|
|
|
340
373
|
/**
|
|
341
374
|
* Generated bundle index. Do not edit.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formio-angular-auth.mjs","sources":["../../../projects/angular-formio/auth/src/auth.config.ts","../../../projects/angular-formio/auth/src/auth.service.ts","../../../projects/angular-formio/auth/src/auth.component.ts","../../../projects/angular-formio/auth/src/auth.component.html","../../../projects/angular-formio/auth/src/login/login.component.ts","../../../projects/angular-formio/auth/src/login/login.component.html","../../../projects/angular-formio/auth/src/register/register.component.ts","../../../projects/angular-formio/auth/src/register/register.component.html","../../../projects/angular-formio/auth/src/resetpass/resetpass.component.ts","../../../projects/angular-formio/auth/src/resetpass/resetpass.component.html","../../../projects/angular-formio/auth/src/auth.routes.ts","../../../projects/angular-formio/auth/src/auth.module.ts","../../../projects/angular-formio/auth/src/formio-angular-auth.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\nexport interface FormioAuthFormConfig {\n path?: string;\n form?: string;\n component?: any;\n}\n\nexport interface FormioAuthRouteConfig {\n auth?: any;\n login?: any;\n register?: any;\n resetpass?: any;\n}\n\n@Injectable()\nexport class FormioAuthConfig {\n component?: any;\n delayAuth?: any;\n login?: FormioAuthFormConfig;\n register?: FormioAuthFormConfig;\n resetpass?: FormioAuthFormConfig;\n oauth?: FormioOAuthConfig;\n}\n\n\nexport interface FormioOAuthConfig {\n type: FormioOauthType;\n options: FormioOktaConfig | FormioSamlConfig;\n}\n\nexport enum FormioOauthType {\n okta = 'okta',\n saml = 'saml',\n}\n\nexport interface FormioOktaConfig extends OktaConfig {\n formio?: any;\n}\n\nexport interface FormioSamlConfig {\n relay: string;\n}\n\n// for more details about Okta configuration options see https://github.com/okta/okta-auth-js#configuration-reference\nexport interface OktaConfig {\n url?: string;\n tokenManager?: OktaTokenManagerConfig;\n issuer?: string;\n clientId?: string;\n redirectUri?: string;\n postLogoutRedirectUri?: string;\n pkce?: boolean;\n authorizeUrl?: string;\n userinfoUrl?: string;\n tokenUrl?: string;\n ignoreSignature?: boolean;\n maxClockSkew?: number;\n scopes?: string[];\n httpRequestClient?: Function;\n}\n\nexport interface OktaTokenManagerConfig {\n storage?: string | {\n getItem?: Function;\n setItem?: Function;\n };\n secure?: boolean;\n autoRenew?: boolean;\n expireEarlySeconds?: number;\n storageKey?: string;\n}\n","import { EventEmitter, Injectable, Inject } from '@angular/core';\nimport { FormioAuthConfig } from './auth.config';\nimport { FormioAppConfig } from '@formio/angular';\nimport { get, each } from 'lodash';\nimport { Formio } from '@formio/js';\n\n@Injectable()\nexport class FormioAuthService {\n public user: any;\n public authenticated = false;\n\n public loginForm: string;\n public onLogin: EventEmitter<object>;\n public onLogout: EventEmitter<object>;\n\n public registerForm: string;\n public onRegister: EventEmitter<object>;\n public onUser: EventEmitter<object>;\n public onError: EventEmitter<any>;\n\n public resetPassForm: string;\n public onResetPass: EventEmitter<object>;\n\n public ready: Promise<boolean>;\n public readyResolve: any;\n public readyReject: any;\n\n public projectReady?: Promise<any>;\n public accessReady?: Promise<any>;\n public userReady?: Promise<any>;\n public formAccess: any = {};\n public submissionAccess: any = {};\n public roles: any;\n public is: any = {};\n\n constructor(\n public appConfig: FormioAppConfig,\n public config: FormioAuthConfig\n ) {\n this.user = null;\n\n if (this.appConfig && this.appConfig.appUrl) {\n Formio.setBaseUrl(this.appConfig.apiUrl);\n Formio.setProjectUrl(this.appConfig.appUrl);\n Formio.formOnly = !!this.appConfig.formOnly;\n } else {\n console.error('You must provide an AppConfig within your application!');\n }\n\n this.loginForm =\n this.appConfig.appUrl +\n '/' +\n get(this.config, 'login.form', 'user/login');\n this.registerForm =\n this.appConfig.appUrl +\n '/' +\n get(this.config, 'register.form', 'user/register');\n this.resetPassForm =\n this.appConfig.appUrl +\n '/' +\n get(this.config, 'register.form', 'resetpass');\n this.onLogin = new EventEmitter();\n this.onLogout = new EventEmitter();\n this.onRegister = new EventEmitter();\n this.onUser = new EventEmitter();\n this.onError = new EventEmitter();\n\n this.ready = new Promise((resolve: any, reject: any) => {\n this.readyResolve = resolve;\n this.readyReject = reject;\n });\n\n // Register for the core events.\n Formio.events.on('formio.badToken', () => this.logoutError());\n Formio.events.on('formio.sessionExpired', () => this.logoutError());\n if (!this.config.delayAuth) {\n this.init();\n }\n }\n\n onLoginSubmit(submission: object) {\n this.setUser(submission);\n this.onLogin.emit(submission);\n }\n\n onRegisterSubmit(submission: object) {\n this.setUser(submission);\n this.onRegister.emit(submission);\n }\n\n onResetPassSubmit(submission: object) {\n this.onResetPass.emit(submission);\n }\n\n init() {\n this.projectReady = Formio.makeStaticRequest(this.appConfig.appUrl).then(\n (project: any) => {\n each(project.access, (access: any) => {\n this.formAccess[access.type] = access.roles;\n });\n },\n (): any => {\n this.formAccess = {};\n return null;\n }\n );\n\n // Get the access for this project.\n this.accessReady = Formio.makeStaticRequest(\n this.appConfig.appUrl + '/access'\n )\n .then((access: any) => {\n each(access.forms, (form: any) => {\n this.submissionAccess[form.name] = {};\n form.submissionAccess.forEach((subAccess: any) => {\n this.submissionAccess[form.name][subAccess.type] = subAccess.roles;\n });\n });\n this.roles = access.roles;\n return access;\n })\n .catch((err): any => {\n if (err === 'Token Expired' || err === 'Bad Token') {\n this.setUser(null);\n }\n this.roles = {};\n return null;\n })\n\n let currentUserPromise: Promise<any>;\n if (this.config.oauth) {\n // Make a fix to the hash to remove starting \"/\" that angular might put there.\n if (window.location.hash && window.location.hash.match(/^#\\/access_token/)) {\n history.pushState(null, null, window.location.hash.replace(/^#\\/access_token/, '#access_token'));\n }\n\n // Initiate the SSO if they provide oauth settings.\n currentUserPromise = Formio.ssoInit(this.config.oauth.type, this.config.oauth.options);\n } else {\n currentUserPromise = Formio.currentUser(null, {\n ignoreCache: true\n });\n }\n\n this.userReady = currentUserPromise.then((user: any) => {\n this.setUser(user);\n return user;\n }).catch((err) => {\n this.setUser(null);\n throw err;\n });\n\n // Trigger we are redy when all promises have resolved.\n if (this.accessReady) {\n this.accessReady\n .then(() => this.projectReady)\n .then(() => this.userReady)\n .then(() => this.readyResolve(true))\n .catch((err: any) => this.readyReject(err));\n }\n }\n\n setUser(user: any) {\n const namespace = Formio.namespace || 'formio';\n if (user) {\n this.user = user;\n localStorage.setItem(`${namespace}AppUser`, JSON.stringify(user));\n this.setUserRoles();\n Formio.setUser(user);\n } else {\n this.user = null;\n this.is = {};\n localStorage.removeItem(`${namespace}AppUser`);\n Formio.clearCache();\n Formio.setUser(null);\n }\n\n this.authenticated = !!Formio.getToken();\n this.onUser.emit(this.user);\n }\n\n setUserRoles() {\n if (this.accessReady) {\n this.accessReady.then(() => {\n each(this.roles, (role: any, roleName: string) => {\n if (this.user.roles.indexOf(role._id) !== -1) {\n this.is[roleName] = true;\n }\n });\n });\n }\n }\n\n logoutError() {\n this.setUser(null);\n const namespace = Formio.namespace || 'formio';\n localStorage.removeItem(`${namespace}Token`);\n this.onError.emit();\n }\n\n logout() {\n const namespace = Formio.namespace || 'formio';\n const tokenName = `${namespace}Token`;\n\n localStorage.removeItem(tokenName);\n if ((Formio as any).tokens && (Formio as any).tokens.hasOwnProperty(tokenName)) {\n delete (Formio as any).tokens[tokenName];\n }\n\n Formio.logout()\n .then(() => {\n this.setUser(null);\n if (localStorage.getItem(`${namespace}LogoutAuthUrl`)) {\n window.open(localStorage.getItem(`${namespace}LogoutAuthUrl`), null, 'width=1020,height=618');\n localStorage.removeItem(`${namespace}LogoutAuthUrl`);\n }\n this.onLogout.emit();\n })\n .catch(() => this.logoutError());\n }\n}\n","import { Component } from '@angular/core';\n@Component({\n templateUrl: './auth.component.html'\n})\nexport class FormioAuthComponent {}\n","<div class=\"card card-primary panel panel-default\">\n <div class=\"card-header panel-heading\">\n <ul class=\"nav nav-tabs card-header-tabs\">\n <li class=\"nav-item\" role=\"presentation\" routerLinkActive=\"active\"><a class=\"nav-link\" routerLink=\"login\" routerLinkActive=\"active\">Login</a></li>\n <li class=\"nav-item\" role=\"presentation\" routerLinkActive=\"active\"><a class=\"nav-link\" routerLink=\"register\" routerLinkActive=\"active\">Register</a></li>\n </ul>\n </div>\n <div class=\"card-body panel-body\">\n <router-outlet></router-outlet>\n </div>\n</div>\n","import { Component } from '@angular/core';\nimport { FormioAuthService } from '../auth.service';\n@Component({\n templateUrl: './login.component.html'\n})\nexport class FormioAuthLoginComponent {\n public renderOptions: any = {\n submitOnEnter: true\n };\n constructor(public service: FormioAuthService) {}\n}\n","<formio [src]=\"service.loginForm\" [renderOptions]=\"renderOptions\" (submit)=\"service.onLoginSubmit($event)\"></formio>\n","import { Component } from '@angular/core';\nimport { FormioAuthService } from '../auth.service';\n@Component({\n templateUrl: './register.component.html'\n})\nexport class FormioAuthRegisterComponent {\n public renderOptions: any = {\n submitOnEnter: true\n };\n constructor(public service: FormioAuthService) {}\n}\n","<formio [src]=\"service.registerForm\" [renderOptions]=\"renderOptions\" (submit)=\"service.onRegisterSubmit($event)\"></formio>\n","import { Component } from '@angular/core';\nimport { FormioAuthService } from '../auth.service';\n@Component({\n templateUrl: './resetpass.component.html'\n})\nexport class FormioResetPassComponent {\n constructor(public service: FormioAuthService) {}\n}\n","<formio [src]=\"service.resetPassForm\" (submit)=\"service.onResetPassSubmit($event)\"></formio>\n","import { Routes } from '@angular/router';\nimport { FormioAuthRouteConfig } from './auth.config';\nimport { FormioAuthComponent } from './auth.component';\nimport { FormioAuthLoginComponent } from './login/login.component';\nimport { FormioAuthRegisterComponent } from './register/register.component';\nimport { FormioResetPassComponent } from './resetpass/resetpass.component';\n\nexport function FormioAuthRoutes(config?: FormioAuthRouteConfig): Routes {\n return [\n {\n path: '',\n component: config && config.auth ? config.auth : FormioAuthComponent,\n children: [\n {\n path: '',\n redirectTo: 'login',\n pathMatch: 'full'\n },\n {\n path: 'login',\n component: config && config.login ? config.login : FormioAuthLoginComponent\n },\n {\n path: 'register',\n component: config && config.register ? config.register : FormioAuthRegisterComponent\n },\n {\n path: 'resetpass',\n component: config && config.resetpass ? config.resetpass : FormioResetPassComponent\n }\n ]\n }\n ];\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { RouterModule } from '@angular/router';\nimport { FormioModule } from '@formio/angular';\nimport { FormioAuthComponent } from './auth.component';\nimport { FormioAuthLoginComponent } from './login/login.component';\nimport { FormioAuthRegisterComponent } from './register/register.component';\nimport { FormioResetPassComponent } from './resetpass/resetpass.component';\nimport { FormioAuthRouteConfig } from './auth.config';\nimport { FormioAuthRoutes } from './auth.routes';\nimport { extendRouter } from '@formio/angular';\n\n@NgModule({\n imports: [\n CommonModule,\n FormioModule,\n RouterModule\n ],\n declarations: [\n FormioAuthComponent,\n FormioAuthLoginComponent,\n FormioAuthRegisterComponent,\n FormioResetPassComponent\n ]\n})\nexport class FormioAuth {\n static forRoot(config?: FormioAuthRouteConfig): any {\n return extendRouter(FormioAuth, config, FormioAuthRoutes);\n }\n static forChild(config?: FormioAuthRouteConfig): any {\n return extendRouter(FormioAuth, config, FormioAuthRoutes);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i2.FormioAuthConfig","i1.FormioAuthService"],"mappings":";;;;;;;;;;MAgBa,gBAAgB,CAAA;AAC3B,IAAA,SAAS,CAAO;AAChB,IAAA,SAAS,CAAO;AAChB,IAAA,KAAK,CAAwB;AAC7B,IAAA,QAAQ,CAAwB;AAChC,IAAA,SAAS,CAAwB;AACjC,IAAA,KAAK,CAAqB;0EANf,gBAAgB,GAAA,CAAA,EAAA,CAAA;AAAhB,IAAA,OAAA,KAAA,iBAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,KAAA,EAAA,gBAAgB,WAAhB,gBAAgB,CAAA,IAAA,EAAA,CAAA,CAAA;;iFAAhB,gBAAgB,EAAA,CAAA;cAD5B,UAAU;;AAgBX,IAAY,eAGX,CAAA;AAHD,CAAA,UAAY,eAAe,EAAA;AACzB,IAAA,eAAA,CAAA,MAAA,CAAA,GAAA,MAAa,CAAA;AACb,IAAA,eAAA,CAAA,MAAA,CAAA,GAAA,MAAa,CAAA;AACf,CAAC,EAHW,eAAe,KAAf,eAAe,GAG1B,EAAA,CAAA,CAAA;;MC3BY,iBAAiB,CAAA;AA6BnB,IAAA,SAAA,CAAA;AACA,IAAA,MAAA,CAAA;AA7BF,IAAA,IAAI,CAAM;IACV,aAAa,GAAG,KAAK,CAAC;AAEtB,IAAA,SAAS,CAAS;AAClB,IAAA,OAAO,CAA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AAS,EAAE,MAAM,IAAI,MAAM,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,GAAG,wBAAwB;AACpF,iBAAA;AACF,aAAA;AACF,SAAA;KACF,CAAC;AACJ;;MCRa,UAAU,CAAA;IACrB,OAAO,OAAO,CAAC,MAA8B,EAAA;QAC3C,OAAO,YAAY,CAAC,UAAU,EAAE,MAAM,EAAE,gBAAgB,CAAC,CAAC;KAC3D;IACD,OAAO,QAAQ,CAAC,MAA8B,EAAA;QAC5C,OAAO,YAAY,CAAC,UAAU,EAAE,MAAM,EAAE,gBAAgB,CAAC,CAAC;KAC3D;oEANU,UAAU,GAAA,CAAA,EAAA,CAAA;4DAAV,UAAU,EAAA,CAAA,CAAA;gEAXnB,YAAY;YACZ,YAAY;YACZ,YAAY,CAAA,EAAA,CAAA,CAAA;;iFASH,UAAU,EAAA,CAAA;cAbtB,QAAQ;AAAC,QAAA,IAAA,EAAA,CAAA;AACR,gBAAA,OAAO,EAAE;oBACP,YAAY;oBACZ,YAAY;oBACZ,YAAY;AACb,iBAAA;AACD,gBAAA,YAAY,EAAE;oBACZ,mBAAmB;oBACnB,wBAAwB;oBACxB,2BAA2B;oBAC3B,wBAAwB;AACzB,iBAAA;AACF,aAAA,CAAA;;AACY,CAAA,YAAA,EAAA,CAAA,OAAA,SAAA,KAAA,WAAA,IAAA,SAAA,KAAA,EAAA,CAAA,kBAAA,CAAA,UAAU,mBANnB,mBAAmB;QACnB,wBAAwB;QACxB,2BAA2B;AAC3B,QAAA,wBAAwB,aARxB,YAAY;QACZ,YAAY;QACZ,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;AChBhB;;AAEG;;;;"}
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
import { FormioCore } from '@formio/js';
|
|
2
|
+
export { FormioCore as Formio } from '@formio/js';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { EventEmitter, Component, Input, Output, ViewChild, InjectionToken, Injectable, Inject, NgModule } from '@angular/core';
|
|
5
|
+
import { CommonModule } from '@angular/common';
|
|
6
|
+
|
|
7
|
+
const _c0$1 = ["formio"];
|
|
8
|
+
class FormioComponent {
|
|
9
|
+
src;
|
|
10
|
+
form;
|
|
11
|
+
submission;
|
|
12
|
+
options = {};
|
|
13
|
+
ready = new EventEmitter();
|
|
14
|
+
submit = new EventEmitter();
|
|
15
|
+
error = new EventEmitter();
|
|
16
|
+
element;
|
|
17
|
+
ngAfterViewInit() {
|
|
18
|
+
FormioCore.createForm(this.element.nativeElement, this.src || this.form, this.options).then((form) => {
|
|
19
|
+
if (this.submission) {
|
|
20
|
+
form.submission = this.submission;
|
|
21
|
+
}
|
|
22
|
+
this.ready.emit(form);
|
|
23
|
+
form.on('submit', (submission) => this.submit.emit(submission));
|
|
24
|
+
form.on('error', (err) => this.error.emit(err));
|
|
25
|
+
}).catch((err) => this.error.emit(err));
|
|
26
|
+
}
|
|
27
|
+
static ɵfac = function FormioComponent_Factory(t) { return new (t || FormioComponent)(); };
|
|
28
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormioComponent, selectors: [["formio"]], viewQuery: function FormioComponent_Query(rf, ctx) { if (rf & 1) {
|
|
29
|
+
i0.ɵɵviewQuery(_c0$1, 5);
|
|
30
|
+
} if (rf & 2) {
|
|
31
|
+
let _t;
|
|
32
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.element = _t.first);
|
|
33
|
+
} }, inputs: { src: "src", form: "form", submission: "submission", options: "options" }, outputs: { ready: "ready", submit: "submit", error: "error" }, decls: 2, vars: 0, consts: [["formio", ""]], template: function FormioComponent_Template(rf, ctx) { if (rf & 1) {
|
|
34
|
+
i0.ɵɵelement(0, "div", null, 0);
|
|
35
|
+
} }, encapsulation: 2 });
|
|
36
|
+
}
|
|
37
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormioComponent, [{
|
|
38
|
+
type: Component,
|
|
39
|
+
args: [{
|
|
40
|
+
selector: 'formio',
|
|
41
|
+
template: '<div #formio></div>'
|
|
42
|
+
}]
|
|
43
|
+
}], null, { src: [{
|
|
44
|
+
type: Input
|
|
45
|
+
}], form: [{
|
|
46
|
+
type: Input
|
|
47
|
+
}], submission: [{
|
|
48
|
+
type: Input
|
|
49
|
+
}], options: [{
|
|
50
|
+
type: Input
|
|
51
|
+
}], ready: [{
|
|
52
|
+
type: Output
|
|
53
|
+
}], submit: [{
|
|
54
|
+
type: Output
|
|
55
|
+
}], error: [{
|
|
56
|
+
type: Output
|
|
57
|
+
}], element: [{
|
|
58
|
+
type: ViewChild,
|
|
59
|
+
args: ['formio']
|
|
60
|
+
}] }); })();
|
|
61
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FormioComponent, { className: "FormioComponent", filePath: "formio.component.ts", lineNumber: 8 }); })();
|
|
62
|
+
|
|
63
|
+
const _c0 = ["formio"];
|
|
64
|
+
class FormioBuilder {
|
|
65
|
+
element;
|
|
66
|
+
form;
|
|
67
|
+
options = {};
|
|
68
|
+
ready = new EventEmitter();
|
|
69
|
+
error = new EventEmitter();
|
|
70
|
+
ngAfterViewInit() {
|
|
71
|
+
FormioCore.builder(this.element.nativeElement, this.form, this.options).then((builder) => {
|
|
72
|
+
this.ready.emit(builder);
|
|
73
|
+
}).catch((err) => this.error.emit(err));
|
|
74
|
+
}
|
|
75
|
+
static ɵfac = function FormioBuilder_Factory(t) { return new (t || FormioBuilder)(); };
|
|
76
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormioBuilder, selectors: [["formio-builder"]], viewQuery: function FormioBuilder_Query(rf, ctx) { if (rf & 1) {
|
|
77
|
+
i0.ɵɵviewQuery(_c0, 5);
|
|
78
|
+
} if (rf & 2) {
|
|
79
|
+
let _t;
|
|
80
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.element = _t.first);
|
|
81
|
+
} }, inputs: { form: "form", options: "options" }, outputs: { ready: "ready", error: "error" }, decls: 2, vars: 0, consts: [["formio", ""]], template: function FormioBuilder_Template(rf, ctx) { if (rf & 1) {
|
|
82
|
+
i0.ɵɵelement(0, "div", null, 0);
|
|
83
|
+
} }, encapsulation: 2 });
|
|
84
|
+
}
|
|
85
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormioBuilder, [{
|
|
86
|
+
type: Component,
|
|
87
|
+
args: [{
|
|
88
|
+
selector: 'formio-builder',
|
|
89
|
+
template: '<div #formio></div>'
|
|
90
|
+
}]
|
|
91
|
+
}], null, { element: [{
|
|
92
|
+
type: ViewChild,
|
|
93
|
+
args: ['formio']
|
|
94
|
+
}], form: [{
|
|
95
|
+
type: Input
|
|
96
|
+
}], options: [{
|
|
97
|
+
type: Input
|
|
98
|
+
}], ready: [{
|
|
99
|
+
type: Output
|
|
100
|
+
}], error: [{
|
|
101
|
+
type: Output
|
|
102
|
+
}] }); })();
|
|
103
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FormioBuilder, { className: "FormioBuilder", filePath: "builder.component.ts", lineNumber: 8 }); })();
|
|
104
|
+
|
|
105
|
+
const FormioAppConfig = new InjectionToken('formio-config');
|
|
106
|
+
class FormioAppService {
|
|
107
|
+
baseUrl;
|
|
108
|
+
apiUrl;
|
|
109
|
+
projectUrl;
|
|
110
|
+
appUrl;
|
|
111
|
+
icons;
|
|
112
|
+
formio;
|
|
113
|
+
user;
|
|
114
|
+
onUser = new EventEmitter();
|
|
115
|
+
constructor(config = {}) {
|
|
116
|
+
this.baseUrl = this.apiUrl = config.apiUrl || config.baseUrl;
|
|
117
|
+
this.projectUrl = this.appUrl = config.appUrl || config.projectUrl;
|
|
118
|
+
if (this.baseUrl) {
|
|
119
|
+
FormioCore.setBaseUrl(this.baseUrl);
|
|
120
|
+
FormioCore.setProjectUrl(this.projectUrl);
|
|
121
|
+
if (config.icons) {
|
|
122
|
+
FormioCore.icons = config.icons;
|
|
123
|
+
}
|
|
124
|
+
if (config.config) {
|
|
125
|
+
for (let key in config.config) {
|
|
126
|
+
FormioCore.config[key] = config.config[key];
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
FormioCore.events.on('formio.user', (user) => this.setUser(user));
|
|
130
|
+
this.formio = new FormioCore(this.projectUrl);
|
|
131
|
+
this.authenticate();
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
setUser(user) {
|
|
135
|
+
this.user = user;
|
|
136
|
+
this.onUser.emit(user);
|
|
137
|
+
}
|
|
138
|
+
logout() {
|
|
139
|
+
return FormioCore.logout().then(() => {
|
|
140
|
+
this.setUser(null);
|
|
141
|
+
FormioCore.clearCache();
|
|
142
|
+
}).catch(() => {
|
|
143
|
+
this.setUser(null);
|
|
144
|
+
FormioCore.clearCache();
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
authenticate() {
|
|
148
|
+
return this.formio.currentUser().then((user) => this.setUser(user)).catch(() => this.setUser(null));
|
|
149
|
+
}
|
|
150
|
+
static ɵfac = function FormioAppService_Factory(t) { return new (t || FormioAppService)(i0.ɵɵinject(FormioAppConfig)); };
|
|
151
|
+
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FormioAppService, factory: FormioAppService.ɵfac });
|
|
152
|
+
}
|
|
153
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormioAppService, [{
|
|
154
|
+
type: Injectable
|
|
155
|
+
}], () => [{ type: undefined, decorators: [{
|
|
156
|
+
type: Inject,
|
|
157
|
+
args: [FormioAppConfig]
|
|
158
|
+
}] }], null); })();
|
|
159
|
+
|
|
160
|
+
class FormioEmbedModule {
|
|
161
|
+
static ɵfac = function FormioEmbedModule_Factory(t) { return new (t || FormioEmbedModule)(); };
|
|
162
|
+
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: FormioEmbedModule });
|
|
163
|
+
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
164
|
+
FormioAppService
|
|
165
|
+
], imports: [CommonModule] });
|
|
166
|
+
}
|
|
167
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormioEmbedModule, [{
|
|
168
|
+
type: NgModule,
|
|
169
|
+
args: [{
|
|
170
|
+
imports: [
|
|
171
|
+
CommonModule
|
|
172
|
+
],
|
|
173
|
+
declarations: [
|
|
174
|
+
FormioComponent,
|
|
175
|
+
FormioBuilder
|
|
176
|
+
],
|
|
177
|
+
exports: [
|
|
178
|
+
FormioComponent,
|
|
179
|
+
FormioBuilder
|
|
180
|
+
],
|
|
181
|
+
providers: [
|
|
182
|
+
FormioAppService
|
|
183
|
+
]
|
|
184
|
+
}]
|
|
185
|
+
}], null, null); })();
|
|
186
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(FormioEmbedModule, { declarations: [FormioComponent,
|
|
187
|
+
FormioBuilder], imports: [CommonModule], exports: [FormioComponent,
|
|
188
|
+
FormioBuilder] }); })();
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Generated bundle index. Do not edit.
|
|
192
|
+
*/
|
|
193
|
+
|
|
194
|
+
export { FormioAppConfig, FormioAppService, FormioBuilder, FormioComponent, FormioEmbedModule };
|
|
195
|
+
//# sourceMappingURL=formio-angular-embed.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formio-angular-embed.mjs","sources":["../../../projects/angular-formio/embed/src/formio.component.ts","../../../projects/angular-formio/embed/src/builder.component.ts","../../../projects/angular-formio/embed/src/app.service.ts","../../../projects/angular-formio/embed/src/embed.module.ts","../../../projects/angular-formio/embed/src/formio-angular-embed.ts"],"sourcesContent":["import { Component, ViewChild, ElementRef, Input, Output, EventEmitter, OnChanges, AfterViewInit } from '@angular/core';\nimport { FormioCore as Formio } from '@formio/js';\n\n@Component({\n selector: 'formio',\n template: '<div #formio></div>'\n})\nexport class FormioComponent implements AfterViewInit {\n @Input() src?: string;\n @Input() form?: Object | null;\n @Input() submission?: Object | null;\n @Input() options?: Object = {};\n @Output() ready = new EventEmitter<Formio>();\n @Output() submit = new EventEmitter<object>();\n @Output() error = new EventEmitter<any>();\n @ViewChild('formio') element: ElementRef;\n ngAfterViewInit(): void {\n Formio.createForm(this.element.nativeElement, this.src || this.form, this.options).then((form) => {\n if (this.submission) {\n form.submission = this.submission;\n }\n this.ready.emit(form);\n form.on('submit', (submission) => this.submit.emit(submission));\n form.on('error', (err) => this.error.emit(err));\n }).catch((err) => this.error.emit(err));\n }\n}","import { Component, ElementRef, Input, ViewChild, Output, EventEmitter, AfterViewInit } from '@angular/core';\nimport { FormioCore as Formio } from '@formio/js';\n\n@Component({\n selector: 'formio-builder',\n template: '<div #formio></div>'\n})\nexport class FormioBuilder implements AfterViewInit {\n @ViewChild('formio') element: ElementRef;\n @Input() form?: Object | null;\n @Input() options?: Object = {};\n @Output() ready = new EventEmitter<Formio>();\n @Output() error = new EventEmitter<any>();\n ngAfterViewInit(): void {\n Formio.builder(this.element.nativeElement, this.form, this.options).then((builder) => {\n this.ready.emit(builder);\n }).catch((err) => this.error.emit(err));\n }\n}","import { Inject, Injectable, InjectionToken, EventEmitter } from '@angular/core';\nexport const FormioAppConfig = new InjectionToken('formio-config');\nimport { FormioCore as Formio } from '@formio/js';\n@Injectable()\nexport class FormioAppService {\n baseUrl;\n apiUrl;\n projectUrl;\n appUrl;\n icons?: string;\n formio: Formio;\n user?: any;\n onUser: EventEmitter<object> = new EventEmitter<object>();\n constructor(@Inject(FormioAppConfig) config: {\n apiUrl?: string,\n baseUrl?: string,\n appUrl?: string,\n projectUrl?: string,\n icons?: string,\n config?: any\n } = {}) {\n this.baseUrl = this.apiUrl = config.apiUrl || config.baseUrl;\n this.projectUrl = this.appUrl = config.appUrl || config.projectUrl;\n if (this.baseUrl) {\n Formio.setBaseUrl(this.baseUrl);\n Formio.setProjectUrl(this.projectUrl);\n if (config.icons) {\n Formio.icons = config.icons;\n }\n if (config.config) {\n for (let key in config.config) {\n Formio.config[key] = config.config[key];\n }\n }\n Formio.events.on('formio.user', (user) => this.setUser(user));\n this.formio = new Formio(this.projectUrl);\n this.authenticate();\n }\n }\n\n setUser(user) {\n this.user = user;\n this.onUser.emit(user);\n }\n\n logout() {\n return Formio.logout().then(() => {\n this.setUser(null);\n Formio.clearCache();\n }).catch(() => {\n this.setUser(null);\n Formio.clearCache();\n });\n }\n\n authenticate() {\n return this.formio.currentUser().then((user) => this.setUser(user)).catch(() => this.setUser(null));\n }\n}","import { NgModule } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\nimport { FormioComponent } from \"./formio.component\";\nimport { FormioBuilder } from \"./builder.component\";\nimport { FormioAppService } from \"./app.service\";\n\n@NgModule({\n imports: [\n CommonModule\n ],\n declarations: [\n FormioComponent,\n FormioBuilder\n ],\n exports: [\n FormioComponent,\n FormioBuilder\n ],\n providers: [\n FormioAppService\n ]\n})\nexport class FormioEmbedModule {}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["Formio"],"mappings":";;;;;;;MAOa,eAAe,CAAA;AACf,IAAA,GAAG,CAAU;AACb,IAAA,IAAI,CAAiB;AACrB,IAAA,UAAU,CAAiB;IAC3B,OAAO,GAAY,EAAE,CAAC;AACrB,IAAA,KAAK,GAAG,IAAI,YAAY,EAAU,CAAC;AACnC,IAAA,MAAM,GAAG,IAAI,YAAY,EAAU,CAAC;AACpC,IAAA,KAAK,GAAG,IAAI,YAAY,EAAO,CAAC;AACrB,IAAA,OAAO,CAAa;IACzC,eAAe,GAAA;QACXA,UAAM,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,EAAE,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,KAAI;AAC7F,YAA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