@formio/angular 7.5.0-rc.2 → 7.5.0-rc.3
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/17.3.11/ng-packagr/content-v2/sha512/05/48/d04de6c9dd6cc970174ec810b8763a7201a44f1f043eaa206a929f03661e08328175ec2130578946c68b6c428925092b68f3810c98e83ddefdd04a1e53ae +1 -0
- package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/0c/7a/916bd866cb386cc87b9ea07c40edc23df9d726d1865e6699b42dedfbfb2a8364ced191aa62680a9297d7644cdfa64753b8975cc254c7c581f28bba0acd15 +1 -0
- package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/0f/64/5529707a758edfd436e81d4f087fb08604b393418b3e62de8670320e45f6bce9f906d2049b04e253452ed3a9de294a77177d3edda706317d12a4e2e3f178 +1 -0
- package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/0f/87/cc75b2e2048387a29af168ce6ef16af778b2493edb5c300be18c00aee265046b76757ef1529035538757e8d67939641c5e6e973f8b16f15454b6388ad458 +1 -0
- package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/1d/78/8bb45acaf12d07da78505c3db11a6ddf4fcd67a02759a709602732d23c57539a455e48673c232ea7877cabaae9b5a5f36e5cc3f7d6678408d7e10755efba +1 -0
- package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/23/e0/0cef272ca5d493a181999e846b505b18ae907e32510a9ce401d6bc6840178abc845a7bad97e9fb0d316610bb5a50eae99666cb0039456256d58b4036ce49 +1 -0
- package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/2e/d1/fd1e76ed0e0ac117aa0f151a37dfa2ee1f0d20c16efd25eb2dda914a0f4851c8c9138c2ab2668875cccbe7d8dc1316fb876ed602997c3d88b38f3d69608e +1 -0
- package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/3d/64/86fe297363ae06dc259f28eb85b668db3c3d27ad69c47346c1e59a2d37b5c6f731012a3b9d01cc73ee884db76c073e99db6ee36fb6e1b5794bb0c484961e +1 -0
- package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/43/05/c86feb68c6e6f17d2b1e7d4aadfbef2f8554b42c9e0b7516b22a7c34044b513c23987b00507d17cb8f89b9b762b5499483d4ec16708519940e00cee5863a +1 -0
- package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/90/dc/6f232859c1661d7bce8d938eb857811a2a242f1af32be5471f4a7afcc79112d8fe2f1cd10733eb6ab2f4b122128c9bcb59ef79f665e8bdc822fb619cf71d +1 -0
- package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/9c/21/3b8af7b6ee09c29bf340610026191af56f9ba1cba1f5e4476424775d5e322f84d7e900c4d264d39804cebf3dcb5aaa5eb5e9d8fd143bc3a8aa76c3d5325e +1 -0
- package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/a1/c9/d53b052617ead62a7a7ed222aefa04fdf88179f1ff22757a51e02a461f14a960ddb4d4c58410193564bbc0b9b471fdf675e528650bfadffdf1f05a51fb1c +1 -0
- package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/af/5c/97d9a08342685ee95844b54aed260370df0de7c2408ec7b14f7da3972c811ee5a4cae7be4f51de07dd039c8639ec4e9008733bcf0b6a438b29a83d7fabe3 +1 -0
- package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/b9/6c/40f7b79417755e63c59cb241b5d8937ccb1e98935edaaaff140754d194464cadde591529dea2b658e6ed3683a2a1c6ab2f4b5af0b7442e205ed2a3202d12 +1 -0
- package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/ba/5d/d939f6c0890924d0234b6253e4c7baab7e285c4e9e3b838d4f223f5365ce00c421e48383fc21ecdf847e1592936f5be80b0d20ea3db471bfe39e181c091a +1 -0
- package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/c4/04/38e045ef1f5a08780250af79817fdce229ac2877ef258d020696429e97ee56400a38a10e754119a5040bd9a61a9e6c9bad2b67e1b2230cc7f6c08cee2012 +1 -0
- package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/d8/60/f8b2e8223de247915d7167a52ab1db89c1aa95b1cc2ae546ae1a3ae861f168ca7f2eacd745a5aac3bf7dab1810bab18800713a96bc2cc0d9546a42584838 +1 -0
- package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/e2/ab/084476c66de117be0fc8df1ac2ad3610491dece2f450a8d631bbae35ba9336b1fc1b1fee30bc5a224cf2e42ef97651a98787610cc9bb76a8795b01ddf844 +1 -0
- package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/e9/ca/53ff813610ae5d57a25518e6546b659a092de2c929fd43130db59358947aa9aa5797289f7ca39fe550d2e41050a69cb26e6b5dd6ebbcae0207ab08474dc8 +1 -0
- package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/eb/88/6891253bdfd039f6cff6fba9605cdd56af0ac6b6ac89f75b9c50ef9d4efab72e99b7df88a963ec1d616e515bd8492b4a7d08ce1128f6b37348cba49b31d4 +1 -0
- package/.angular/cache/17.3.11/ng-packagr/index-v5/10/3e/bfb4a4f2af67449cde67fce4c2622d0e0b0882a10117aba630be789d00cb +2 -0
- package/.angular/cache/17.3.11/ng-packagr/index-v5/14/ba/05c03e8f139db178da4552cabab3e47e607743b3f8f591b2e88d1a670668 +2 -0
- package/.angular/cache/17.3.11/ng-packagr/index-v5/15/39/e3511d5e68c4dcc26982fb854c4f4ae6067ebe79a2fea69c3c3b74b8fb8e +2 -0
- package/.angular/cache/17.3.11/ng-packagr/index-v5/22/7c/80262d5400fc47a73d4de35e8d2d1273ac92a2a0510a072834aa8700ea3a +2 -0
- package/.angular/cache/17.3.11/ng-packagr/index-v5/30/17/d10c504815c39561191351fac35a1899a5c8518773a8714413d7f4f2cfe7 +2 -0
- package/.angular/cache/17.3.11/ng-packagr/index-v5/47/6f/3ccf073a4a3e77309ec535e446b6ae48554dac2d6bdbb71d2e9a5da03e2a +2 -0
- package/.angular/cache/17.3.11/ng-packagr/index-v5/50/3f/7fa40d24c1a57e94a3440546ddec4ad5e9ea45401fa3c72e44b4d667897a +2 -0
- package/.angular/cache/17.3.11/ng-packagr/index-v5/58/f1/f5e623ce81fd5bbbd6b3f2e68c40525fc9254ea89c755af2fec60d83565b +2 -0
- package/.angular/cache/17.3.11/ng-packagr/index-v5/5d/ba/20dc4ab0920555881535690446c05d09d79ad3ec8a1184f80f4f4eb6fb15 +2 -0
- package/.angular/cache/17.3.11/ng-packagr/index-v5/60/fc/06c32c2088791e55b2b2fa3bb7f9078a23508cec2ceb5d584aa5101e686e +2 -0
- package/.angular/cache/17.3.11/ng-packagr/index-v5/7b/0b/eab56c95f2af77017e2a4ac90bf24eb33f368b47f2d30eb381fd5fb67eca +2 -0
- package/.angular/cache/17.3.11/ng-packagr/index-v5/8c/e2/44ef271b53872b9ce3939f6aa2529036add9fd99c43966917a2960f6e16d +2 -0
- package/.angular/cache/17.3.11/ng-packagr/index-v5/90/ae/4f675f5fa3ea045bea3beceb382a3c146396eec2b78e4c467881ca9201ea +2 -0
- package/.angular/cache/17.3.11/ng-packagr/index-v5/92/48/d893b8061214f8a744f666769b867db45d6de5ec76c9cd2e54acd94b3a53 +2 -0
- package/.angular/cache/17.3.11/ng-packagr/index-v5/9a/a4/a78c45687a5e227573c93d84612ebd91e426edce74f47ccf745ee902aa44 +2 -0
- package/.angular/cache/17.3.11/ng-packagr/index-v5/b6/f6/8e429f4c067378f16cc9f05894a168026d2e3e80ba7a193bdcaed4e80929 +2 -0
- package/.angular/cache/17.3.11/ng-packagr/index-v5/c0/15/2b2d30407871742bd4b6a71865b485a31f03a9ad8e7ef99b1b77433b7396 +2 -0
- package/.angular/cache/17.3.11/ng-packagr/index-v5/d7/1d/2fa87e8361aa205f0808ebc18932bcbe909ffc2d642e10744362ae8bdf98 +2 -0
- package/.angular/cache/17.3.11/ng-packagr/index-v5/e6/57/792d6a77a40d99eb3a0235f77f3bca76da031a7d43a24236205000b3e246 +2 -0
- package/.angular/cache/17.3.11/ng-packagr/index-v5/fc/48/ce2f43b95216107e0944aa38aeac10ad25105a2a7a7f1f347879611ad96e +2 -0
- package/.angular/cache/17.3.11/ng-packagr/tsbuildinfo/formio-angular-auth.tsbuildinfo +1 -0
- package/.angular/cache/17.3.11/ng-packagr/tsbuildinfo/formio-angular-embed.tsbuildinfo +1 -0
- package/.angular/cache/17.3.11/ng-packagr/tsbuildinfo/formio-angular-grid.tsbuildinfo +1 -0
- package/.angular/cache/17.3.11/ng-packagr/tsbuildinfo/formio-angular-manager.tsbuildinfo +1 -0
- package/.angular/cache/17.3.11/ng-packagr/tsbuildinfo/formio-angular-resource.tsbuildinfo +1 -0
- package/.angular/cache/17.3.11/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/.github/pull_request_template.md +35 -0
- package/.github/workflows/ci.yml +231 -0
- package/.travis.yml +4 -0
- package/.yo-rc.json +7 -0
- package/CHANGELOG.md +1195 -0
- package/Dockerfile +20 -0
- package/LICENSE +21 -0
- package/README.md +204 -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/{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/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/dist/angular-formio/esm2022/auth/auth.service.mjs +199 -0
- 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/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/dist/angular-formio/esm2022/formio.service.mjs +62 -0
- package/dist/angular-formio/esm2022/formio.utils.mjs +23 -0
- package/{esm2022 → dist/angular-formio/esm2022}/grid/GridBodyComponent.mjs +26 -20
- 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/{esm2022 → dist/angular-formio/esm2022}/grid/form/time-since.pipe.mjs +9 -9
- 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/{esm2022 → dist/angular-formio/esm2022}/manager/form-manager.service.mjs +6 -6
- package/dist/angular-formio/esm2022/manager/index/index.component.mjs +149 -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/{esm2022 → dist/angular-formio/esm2022}/resource/edit/edit.component.mjs +14 -7
- 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 +92 -59
- package/dist/angular-formio/fesm2022/formio-angular-auth.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 +1165 -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 +1323 -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/{formio.utils.d.ts.map → dist/angular-formio/formio.utils.d.ts.map} +1 -1
- 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}/index/index.component.d.ts.map +1 -1
- package/{resource → dist/angular-formio/resource}/resource.service.d.ts.map +1 -1
- package/package.json +55 -63
- 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 +73 -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 +111 -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 +98 -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/package.json +37 -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 +260 -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 +554 -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 +95 -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 +19 -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 +90 -0
- package/projects/angular-formio/src/formio.config.ts +27 -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 +25 -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 +40 -0
- package/tslint.json +140 -0
- package/embed/app.service.d.ts +0 -28
- package/embed/app.service.d.ts.map +0 -1
- package/embed/builder.component.d.ts +0 -14
- package/embed/builder.component.d.ts.map +0 -1
- package/embed/embed.module.d.ts +0 -10
- package/embed/embed.module.d.ts.map +0 -1
- package/embed/formio-angular-embed.d.ts.map +0 -1
- package/embed/formio.component.d.ts +0 -17
- package/embed/formio.component.d.ts.map +0 -1
- package/embed/index.d.ts +0 -7
- package/embed/index.d.ts.map +0 -1
- package/esm2022/FormioBaseComponent.mjs +0 -580
- package/esm2022/auth/auth.component.mjs +0 -12
- package/esm2022/auth/auth.config.mjs +0 -21
- package/esm2022/auth/auth.module.mjs +0 -46
- package/esm2022/auth/auth.service.mjs +0 -199
- package/esm2022/auth/login/login.component.mjs +0 -20
- package/esm2022/auth/register/register.component.mjs +0 -20
- package/esm2022/auth/resetpass/resetpass.component.mjs +0 -17
- package/esm2022/components/alerts/formio.alerts.component.mjs +0 -28
- package/esm2022/components/alerts/parse-html-content.pipe.mjs +0 -19
- 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 -89
- package/esm2022/components/loader/formio.loader.component.mjs +0 -15
- package/esm2022/core.mjs +0 -18
- package/esm2022/custom-tags.service.mjs +0 -14
- package/esm2022/embed/app.service.mjs +0 -58
- package/esm2022/embed/builder.component.mjs +0 -36
- package/esm2022/embed/embed.module.mjs +0 -35
- package/esm2022/embed/formio-angular-embed.mjs +0 -5
- package/esm2022/embed/formio.component.mjs +0 -50
- package/esm2022/embed/index.mjs +0 -7
- package/esm2022/formio.common.mjs +0 -11
- package/esm2022/formio.config.mjs +0 -29
- package/esm2022/formio.module.mjs +0 -59
- package/esm2022/formio.service.mjs +0 -62
- package/esm2022/formio.utils.mjs +0 -21
- package/esm2022/grid/GridFooterComponent.mjs +0 -44
- package/esm2022/grid/GridHeaderComponent.mjs +0 -34
- package/esm2022/grid/form/FormGridBody.component.mjs +0 -63
- package/esm2022/grid/form/FormGridFooter.component.mjs +0 -26
- package/esm2022/grid/form/FormGridHeader.component.mjs +0 -27
- package/esm2022/grid/grid.component.mjs +0 -257
- package/esm2022/grid/grid.module.mjs +0 -79
- package/esm2022/grid/grid.service.mjs +0 -18
- package/esm2022/grid/submission/SubmissionGridBody.component.mjs +0 -43
- package/esm2022/grid/submission/SubmissionGridFooter.component.mjs +0 -23
- package/esm2022/grid/submission/SubmissionGridHeader.component.mjs +0 -63
- package/esm2022/manager/create/create.component.mjs +0 -18
- package/esm2022/manager/delete/delete.component.mjs +0 -42
- package/esm2022/manager/edit/edit.component.mjs +0 -125
- package/esm2022/manager/form/form.component.mjs +0 -80
- package/esm2022/manager/form-manager.config.mjs +0 -18
- package/esm2022/manager/form-manager.module.mjs +0 -83
- package/esm2022/manager/index/index.component.mjs +0 -108
- package/esm2022/manager/submission/delete/delete.component.mjs +0 -32
- package/esm2022/manager/submission/edit/edit.component.mjs +0 -25
- package/esm2022/manager/submission/index/index.component.mjs +0 -25
- package/esm2022/manager/submission/submission/submission.component.mjs +0 -29
- package/esm2022/manager/submission/view/view.component.mjs +0 -17
- package/esm2022/manager/view/view.component.mjs +0 -52
- package/esm2022/resource/create/create.component.mjs +0 -43
- package/esm2022/resource/delete/delete.component.mjs +0 -29
- package/esm2022/resource/index/index.component.mjs +0 -69
- package/esm2022/resource/resource.component.mjs +0 -46
- package/esm2022/resource/resource.config.mjs +0 -13
- package/esm2022/resource/resource.module.mjs +0 -62
- package/esm2022/resource/resource.service.mjs +0 -229
- package/esm2022/resource/resources.service.mjs +0 -25
- package/esm2022/resource/view/view.component.mjs +0 -25
- 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 -822
- 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 -1187
- 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/{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}/formioreport/formioreport.component.d.ts +0 -0
- /package/{components → dist/angular-formio/components}/formioreport/formioreport.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/{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}/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/{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.config.d.ts +0 -0
- /package/{manager → dist/angular-formio/manager}/form-manager.config.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}/form-manager.service.d.ts.map +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.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 @@
|
|
|
1
|
+
{"modules":[{"ast":{"type":"Program","start":0,"end":3580,"body":[{"type":"ImportDeclaration","start":0,"end":43,"specifiers":[{"type":"ImportSpecifier","start":9,"end":19,"imported":{"type":"Identifier","start":9,"end":19,"name":"Injectable"},"local":{"type":"Identifier","start":9,"end":19,"name":"Injectable"}}],"source":{"type":"Literal","start":27,"end":42,"value":"@angular/core","raw":"'@angular/core'"},"attributes":[]},{"type":"ImportDeclaration","start":44,"end":80,"specifiers":[{"type":"ImportNamespaceSpecifier","start":51,"end":58,"local":{"type":"Identifier","start":56,"end":58,"name":"i0"}}],"source":{"type":"Literal","start":64,"end":79,"value":"@angular/core","raw":"\"@angular/core\""},"attributes":[]},{"type":"ExportNamedDeclaration","start":81,"end":410,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"ClassDeclaration","start":88,"end":410,"decorators":[],"id":{"type":"Identifier","start":94,"end":110,"name":"FormioAuthConfig"},"superClass":null,"body":{"type":"ClassBody","start":111,"end":410,"body":[{"type":"PropertyDefinition","start":117,"end":127,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":117,"end":126,"name":"component"},"value":null},{"type":"PropertyDefinition","start":132,"end":142,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":132,"end":141,"name":"delayAuth"},"value":null},{"type":"PropertyDefinition","start":147,"end":153,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":147,"end":152,"name":"login"},"value":null},{"type":"PropertyDefinition","start":158,"end":167,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":158,"end":166,"name":"register"},"value":null},{"type":"PropertyDefinition","start":172,"end":182,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":172,"end":181,"name":"resetpass"},"value":null},{"type":"PropertyDefinition","start":187,"end":193,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":187,"end":192,"name":"oauth"},"value":null},{"type":"PropertyDefinition","start":198,"end":291,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":205,"end":209,"name":"ɵfac"},"value":{"type":"FunctionExpression","start":212,"end":290,"async":false,"generator":false,"id":{"type":"Identifier","start":221,"end":245,"name":"FormioAuthConfig_Factory"},"params":[{"type":"Identifier","start":246,"end":247,"name":"t"}],"body":{"type":"BlockStatement","start":249,"end":290,"body":[{"type":"ReturnStatement","start":251,"end":288,"argument":{"type":"NewExpression","start":258,"end":287,"callee":{"type":"LogicalExpression","start":263,"end":284,"operator":"||","left":{"type":"Identifier","start":263,"end":264,"name":"t"},"right":{"type":"Identifier","start":268,"end":284,"name":"FormioAuthConfig"}},"arguments":[]}}]},"expression":false}},{"type":"PropertyDefinition","start":296,"end":408,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":303,"end":308,"name":"ɵprov"},"value":{"type":"CallExpression","start":325,"end":407,"optional":false,"_rollupAnnotations":[{"end":324,"start":311,"type":"pure"}],"callee":{"type":"MemberExpression","start":325,"end":346,"computed":false,"optional":false,"object":{"type":"Identifier","start":325,"end":327,"name":"i0"},"property":{"type":"Identifier","start":328,"end":346,"name":"ɵɵdefineInjectable"}},"arguments":[{"type":"ObjectExpression","start":347,"end":406,"properties":[{"type":"Property","start":349,"end":372,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":349,"end":354,"name":"token"},"value":{"type":"Identifier","start":356,"end":372,"name":"FormioAuthConfig"},"kind":"init"},{"type":"Property","start":374,"end":404,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":374,"end":381,"name":"factory"},"value":{"type":"MemberExpression","start":383,"end":404,"computed":false,"optional":false,"object":{"type":"Identifier","start":383,"end":399,"name":"FormioAuthConfig"},"property":{"type":"Identifier","start":400,"end":404,"name":"ɵfac"}},"kind":"init"}]}]}}]}}},{"type":"ExpressionStatement","start":411,"end":564,"expression":{"type":"CallExpression","start":411,"end":563,"optional":false,"callee":{"type":"ArrowFunctionExpression","start":412,"end":560,"async":false,"expression":false,"generator":false,"params":[],"body":{"type":"BlockStatement","start":418,"end":560,"body":[{"type":"ExpressionStatement","start":420,"end":558,"expression":{"type":"LogicalExpression","start":420,"end":557,"operator":"&&","left":{"type":"LogicalExpression","start":421,"end":466,"operator":"||","left":{"type":"BinaryExpression","start":421,"end":453,"operator":"===","left":{"type":"UnaryExpression","start":421,"end":437,"operator":"typeof","argument":{"type":"Identifier","start":428,"end":437,"name":"ngDevMode"},"prefix":true},"right":{"type":"Literal","start":442,"end":453,"value":"undefined","raw":"\"undefined\""}},"right":{"type":"Identifier","start":457,"end":466,"name":"ngDevMode"}},"right":{"type":"CallExpression","start":471,"end":557,"optional":false,"callee":{"type":"MemberExpression","start":471,"end":491,"computed":false,"optional":false,"object":{"type":"Identifier","start":471,"end":473,"name":"i0"},"property":{"type":"Identifier","start":474,"end":491,"name":"ɵsetClassMetadata"}},"arguments":[{"type":"Identifier","start":492,"end":508,"name":"FormioAuthConfig"},{"type":"ArrayExpression","start":510,"end":544,"elements":[{"type":"ObjectExpression","start":511,"end":543,"properties":[{"type":"Property","start":521,"end":537,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":521,"end":525,"name":"type"},"value":{"type":"Identifier","start":527,"end":537,"name":"Injectable"},"kind":"init"}]}]},{"type":"Literal","start":546,"end":550,"raw":"null","value":null},{"type":"Literal","start":552,"end":556,"raw":"null","value":null}]}}}]},"id":null},"arguments":[]}},{"type":"ExportNamedDeclaration","start":565,"end":592,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"VariableDeclaration","start":572,"end":592,"kind":"var","declarations":[{"type":"VariableDeclarator","start":576,"end":591,"id":{"type":"Identifier","start":576,"end":591,"name":"FormioOauthType"},"init":null}]}},{"type":"ExpressionStatement","start":593,"end":745,"expression":{"type":"CallExpression","start":593,"end":744,"optional":false,"callee":{"type":"FunctionExpression","start":594,"end":700,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":604,"end":619,"name":"FormioOauthType"}],"body":{"type":"BlockStatement","start":621,"end":700,"body":[{"type":"ExpressionStatement","start":627,"end":660,"expression":{"type":"AssignmentExpression","start":627,"end":659,"operator":"=","left":{"type":"MemberExpression","start":627,"end":650,"computed":true,"optional":false,"object":{"type":"Identifier","start":627,"end":642,"name":"FormioOauthType"},"property":{"type":"Literal","start":643,"end":649,"value":"okta","raw":"\"okta\""}},"right":{"type":"Literal","start":653,"end":659,"value":"okta","raw":"\"okta\""}}},{"type":"ExpressionStatement","start":665,"end":698,"expression":{"type":"AssignmentExpression","start":665,"end":697,"operator":"=","left":{"type":"MemberExpression","start":665,"end":688,"computed":true,"optional":false,"object":{"type":"Identifier","start":665,"end":680,"name":"FormioOauthType"},"property":{"type":"Literal","start":681,"end":687,"value":"saml","raw":"\"saml\""}},"right":{"type":"Literal","start":691,"end":697,"value":"saml","raw":"\"saml\""}}}]},"expression":false},"arguments":[{"type":"LogicalExpression","start":702,"end":743,"operator":"||","left":{"type":"Identifier","start":702,"end":717,"name":"FormioOauthType"},"right":{"type":"AssignmentExpression","start":722,"end":742,"operator":"=","left":{"type":"Identifier","start":722,"end":737,"name":"FormioOauthType"},"right":{"type":"ObjectExpression","start":740,"end":742,"properties":[]}}}]}}],"_rollupRemoved":[{"end":3580,"start":746,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"import { Injectable } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nexport class FormioAuthConfig {\n component;\n delayAuth;\n login;\n register;\n resetpass;\n oauth;\n static ɵfac = function FormioAuthConfig_Factory(t) { return new (t || FormioAuthConfig)(); };\n static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FormioAuthConfig, factory: FormioAuthConfig.ɵfac });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormioAuthConfig, [{\n type: Injectable\n }], null, null); })();\nexport var FormioOauthType;\n(function (FormioOauthType) {\n FormioOauthType[\"okta\"] = \"okta\";\n FormioOauthType[\"saml\"] = \"saml\";\n})(FormioOauthType || (FormioOauthType = {}));\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC5jb25maWcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9hdXRoL3NyYy9hdXRoLmNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQWdCM0MsTUFBTSxPQUFPLGdCQUFnQjtJQUMzQixTQUFTLENBQU87SUFDaEIsU0FBUyxDQUFPO0lBQ2hCLEtBQUssQ0FBd0I7SUFDN0IsUUFBUSxDQUF3QjtJQUNoQyxTQUFTLENBQXdCO0lBQ2pDLEtBQUssQ0FBcUI7MEVBTmY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AgICBzZXRJdGVtPzogRnVuY3Rpb247XG4gIH07XG4gIHNlY3VyZT86IGJvb2xlYW47XG4gIGF1dG9SZW5ldz86IGJvb2xlYW47XG4gIGV4cGlyZUVhcmx5U2Vjb25kcz86IG51bWJlcjtcbiAgc3RvcmFnZUtleT86IHN0cmluZztcbn1cbiJdfQ==","customTransformCache":false,"dependencies":["@angular/core"],"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/auth.config.mjs","meta":{},"moduleSideEffects":false,"originalCode":"import { Injectable } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nexport class FormioAuthConfig {\n component;\n delayAuth;\n login;\n register;\n resetpass;\n oauth;\n static ɵfac = function FormioAuthConfig_Factory(t) { return new (t || FormioAuthConfig)(); };\n static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FormioAuthConfig, factory: FormioAuthConfig.ɵfac });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormioAuthConfig, [{\n type: Injectable\n }], null, null); })();\nexport var FormioOauthType;\n(function (FormioOauthType) {\n FormioOauthType[\"okta\"] = \"okta\";\n FormioOauthType[\"saml\"] = \"saml\";\n})(FormioOauthType || (FormioOauthType = {}));\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC5jb25maWcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9hdXRoL3NyYy9hdXRoLmNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQWdCM0MsTUFBTSxPQUFPLGdCQUFnQjtJQUMzQixTQUFTLENBQU87SUFDaEIsU0FBUyxDQUFPO0lBQ2hCLEtBQUssQ0FBd0I7SUFDN0IsUUFBUSxD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dG9yYWdlPzogc3RyaW5nIHwge1xuICAgIGdldEl0ZW0/OiBGdW5jdGlvbjtcbiAgICBzZXRJdGVtPzogRnVuY3Rpb247XG4gIH07XG4gIHNlY3VyZT86IGJvb2xlYW47XG4gIGF1dG9SZW5ldz86IGJvb2xlYW47XG4gIGV4cGlyZUVhcmx5U2Vjb25kcz86IG51bWJlcjtcbiAgc3RvcmFnZUtleT86IHN0cmluZztcbn1cbiJdfQ==","originalSourcemap":{"version":3,"file":"auth.config.js","sourceRoot":"","sources":["../../../../projects/angular-formio/auth/src/auth.config.ts"],"names":[],"mappings":[[[0,0,0,0],[7,0,0,7],[9,0,0,9],[19,0,0,19],[21,0,0,21],[27,0,0,27],[42,0,0,42],[43,0,0,43]],[],[[0,0,16,0],[6,0,16,6],[13,0,16,13],[29,0,16,29]],[[4,0,17,2],[13,0,17,11],[14,0,17,18]],[[4,0,18,2],[13,0,18,11],[14,0,18,18]],[[4,0,19,2],[9,0,19,7],[10,0,19,31]],[[4,0,20,2],[12,0,20,10],[13,0,20,34]],[[4,0,21,2],[13,0,21,11],[14,0,21,35]],[[4,0,22,2],[9,0,22,7],[10,0,22,28]],[[74,0,16,13],[90,0,16,29]],[[64,0,16,13],[80,0,16,29],[91,0,16,13],[107,0,16,29]],[],[[81,0,16,13],[97,0,16,29]],[[14,0,15,1],[24,0,15,11]],[],[[0,0,31,0],[6,0,31,6],[7,0,31,0],[11,0,31,12],[26,0,34,1]],[[0,0,31,0],[11,0,31,12],[26,0,31,27]],[[4,0,32,2],[36,0,32,15],[37,0,32,15]],[[4,0,33,2],[36,0,33,15],[37,0,33,15]],[[0,0,34,0],[1,0,34,1],[3,0,31,12],[18,0,31,27],[23,0,31,12],[38,0,31,27],[46,0,34,1]]],"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"]},"resolvedIds":{"@angular/core":{"attributes":{},"external":true,"id":"@angular/core","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":25269,"body":[{"type":"ImportDeclaration","start":0,"end":57,"specifiers":[{"type":"ImportSpecifier","start":9,"end":21,"imported":{"type":"Identifier","start":9,"end":21,"name":"EventEmitter"},"local":{"type":"Identifier","start":9,"end":21,"name":"EventEmitter"}},{"type":"ImportSpecifier","start":23,"end":33,"imported":{"type":"Identifier","start":23,"end":33,"name":"Injectable"},"local":{"type":"Identifier","start":23,"end":33,"name":"Injectable"}}],"source":{"type":"Literal","start":41,"end":56,"value":"@angular/core","raw":"'@angular/core'"},"attributes":[]},{"type":"ImportDeclaration","start":58,"end":93,"specifiers":[{"type":"ImportSpecifier","start":67,"end":70,"imported":{"type":"Identifier","start":67,"end":70,"name":"get"},"local":{"type":"Identifier","start":67,"end":70,"name":"get"}},{"type":"ImportSpecifier","start":72,"end":76,"imported":{"type":"Identifier","start":72,"end":76,"name":"each"},"local":{"type":"Identifier","start":72,"end":76,"name":"each"}}],"source":{"type":"Literal","start":84,"end":92,"value":"lodash","raw":"'lodash'"},"attributes":[]},{"type":"ImportDeclaration","start":94,"end":130,"specifiers":[{"type":"ImportSpecifier","start":103,"end":109,"imported":{"type":"Identifier","start":103,"end":109,"name":"Formio"},"local":{"type":"Identifier","start":103,"end":109,"name":"Formio"}}],"source":{"type":"Literal","start":117,"end":129,"value":"@formio/js","raw":"'@formio/js'"},"attributes":[]},{"type":"ImportDeclaration","start":131,"end":167,"specifiers":[{"type":"ImportNamespaceSpecifier","start":138,"end":145,"local":{"type":"Identifier","start":143,"end":145,"name":"i0"}}],"source":{"type":"Literal","start":151,"end":166,"value":"@angular/core","raw":"\"@angular/core\""},"attributes":[]},{"type":"ImportDeclaration","start":168,"end":206,"specifiers":[{"type":"ImportNamespaceSpecifier","start":175,"end":182,"local":{"type":"Identifier","start":180,"end":182,"name":"i1"}}],"source":{"type":"Literal","start":188,"end":205,"value":"@formio/angular","raw":"\"@formio/angular\""},"attributes":[]},{"type":"ImportDeclaration","start":207,"end":243,"specifiers":[{"type":"ImportNamespaceSpecifier","start":214,"end":221,"local":{"type":"Identifier","start":219,"end":221,"name":"i2"}}],"source":{"type":"Literal","start":227,"end":242,"value":"./auth.config","raw":"\"./auth.config\""},"attributes":[]},{"type":"ExportNamedDeclaration","start":244,"end":6948,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"ClassDeclaration","start":251,"end":6948,"decorators":[],"id":{"type":"Identifier","start":257,"end":274,"name":"FormioAuthService"},"superClass":null,"body":{"type":"ClassBody","start":275,"end":6948,"body":[{"type":"PropertyDefinition","start":281,"end":291,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":281,"end":290,"name":"appConfig"},"value":null},{"type":"PropertyDefinition","start":296,"end":303,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":296,"end":302,"name":"config"},"value":null},{"type":"PropertyDefinition","start":308,"end":313,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":308,"end":312,"name":"user"},"value":null},{"type":"PropertyDefinition","start":318,"end":340,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":318,"end":331,"name":"authenticated"},"value":{"type":"Literal","start":334,"end":339,"value":false,"raw":"false"}},{"type":"PropertyDefinition","start":345,"end":355,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":345,"end":354,"name":"loginForm"},"value":null},{"type":"PropertyDefinition","start":360,"end":368,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":360,"end":367,"name":"onLogin"},"value":null},{"type":"PropertyDefinition","start":373,"end":382,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":373,"end":381,"name":"onLogout"},"value":null},{"type":"PropertyDefinition","start":387,"end":400,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":387,"end":399,"name":"registerForm"},"value":null},{"type":"PropertyDefinition","start":405,"end":416,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":405,"end":415,"name":"onRegister"},"value":null},{"type":"PropertyDefinition","start":421,"end":428,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":421,"end":427,"name":"onUser"},"value":null},{"type":"PropertyDefinition","start":433,"end":441,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":433,"end":440,"name":"onError"},"value":null},{"type":"PropertyDefinition","start":446,"end":460,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":446,"end":459,"name":"resetPassForm"},"value":null},{"type":"PropertyDefinition","start":465,"end":477,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":465,"end":476,"name":"onResetPass"},"value":null},{"type":"PropertyDefinition","start":482,"end":488,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":482,"end":487,"name":"ready"},"value":null},{"type":"PropertyDefinition","start":493,"end":506,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":493,"end":505,"name":"readyResolve"},"value":null},{"type":"PropertyDefinition","start":511,"end":523,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":511,"end":522,"name":"readyReject"},"value":null},{"type":"PropertyDefinition","start":528,"end":541,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":528,"end":540,"name":"projectReady"},"value":null},{"type":"PropertyDefinition","start":546,"end":558,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":546,"end":557,"name":"accessReady"},"value":null},{"type":"PropertyDefinition","start":563,"end":573,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":563,"end":572,"name":"userReady"},"value":null},{"type":"PropertyDefinition","start":578,"end":594,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":578,"end":588,"name":"formAccess"},"value":{"type":"ObjectExpression","start":591,"end":593,"properties":[]}},{"type":"PropertyDefinition","start":599,"end":621,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":599,"end":615,"name":"submissionAccess"},"value":{"type":"ObjectExpression","start":618,"end":620,"properties":[]}},{"type":"PropertyDefinition","start":626,"end":632,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":626,"end":631,"name":"roles"},"value":null},{"type":"PropertyDefinition","start":637,"end":645,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":637,"end":639,"name":"is"},"value":{"type":"ObjectExpression","start":642,"end":644,"properties":[]}},{"type":"MethodDefinition","start":650,"end":2202,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":650,"end":661,"name":"constructor"},"value":{"type":"FunctionExpression","start":661,"end":2202,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":662,"end":671,"name":"appConfig"},{"type":"Identifier","start":673,"end":679,"name":"config"}],"body":{"type":"BlockStatement","start":681,"end":2202,"body":[{"type":"ExpressionStatement","start":691,"end":718,"expression":{"type":"AssignmentExpression","start":691,"end":717,"operator":"=","left":{"type":"MemberExpression","start":691,"end":705,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":691,"end":695},"property":{"type":"Identifier","start":696,"end":705,"name":"appConfig"}},"right":{"type":"Identifier","start":708,"end":717,"name":"appConfig"}}},{"type":"ExpressionStatement","start":727,"end":748,"expression":{"type":"AssignmentExpression","start":727,"end":747,"operator":"=","left":{"type":"MemberExpression","start":727,"end":738,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":727,"end":731},"property":{"type":"Identifier","start":732,"end":738,"name":"config"}},"right":{"type":"Identifier","start":741,"end":747,"name":"config"}}},{"type":"ExpressionStatement","start":757,"end":774,"expression":{"type":"AssignmentExpression","start":757,"end":773,"operator":"=","left":{"type":"MemberExpression","start":757,"end":766,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":757,"end":761},"property":{"type":"Identifier","start":762,"end":766,"name":"user"}},"right":{"type":"Literal","start":769,"end":773,"raw":"null","value":null}}},{"type":"IfStatement","start":783,"end":1117,"test":{"type":"LogicalExpression","start":787,"end":826,"operator":"&&","left":{"type":"MemberExpression","start":787,"end":801,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":787,"end":791},"property":{"type":"Identifier","start":792,"end":801,"name":"appConfig"}},"right":{"type":"MemberExpression","start":805,"end":826,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":805,"end":819,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":805,"end":809},"property":{"type":"Identifier","start":810,"end":819,"name":"appConfig"}},"property":{"type":"Identifier","start":820,"end":826,"name":"appUrl"}}},"consequent":{"type":"BlockStatement","start":828,"end":1007,"body":[{"type":"ExpressionStatement","start":842,"end":883,"expression":{"type":"CallExpression","start":842,"end":882,"optional":false,"callee":{"type":"MemberExpression","start":842,"end":859,"computed":false,"optional":false,"object":{"type":"Identifier","start":842,"end":848,"name":"Formio"},"property":{"type":"Identifier","start":849,"end":859,"name":"setBaseUrl"}},"arguments":[{"type":"MemberExpression","start":860,"end":881,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":860,"end":874,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":860,"end":864},"property":{"type":"Identifier","start":865,"end":874,"name":"appConfig"}},"property":{"type":"Identifier","start":875,"end":881,"name":"apiUrl"}}]}},{"type":"ExpressionStatement","start":896,"end":940,"expression":{"type":"CallExpression","start":896,"end":939,"optional":false,"callee":{"type":"MemberExpression","start":896,"end":916,"computed":false,"optional":false,"object":{"type":"Identifier","start":896,"end":902,"name":"Formio"},"property":{"type":"Identifier","start":903,"end":916,"name":"setProjectUrl"}},"arguments":[{"type":"MemberExpression","start":917,"end":938,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":917,"end":931,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":917,"end":921},"property":{"type":"Identifier","start":922,"end":931,"name":"appConfig"}},"property":{"type":"Identifier","start":932,"end":938,"name":"appUrl"}}]}},{"type":"ExpressionStatement","start":953,"end":997,"expression":{"type":"AssignmentExpression","start":953,"end":996,"operator":"=","left":{"type":"MemberExpression","start":953,"end":968,"computed":false,"optional":false,"object":{"type":"Identifier","start":953,"end":959,"name":"Formio"},"property":{"type":"Identifier","start":960,"end":968,"name":"formOnly"}},"right":{"type":"UnaryExpression","start":971,"end":996,"operator":"!","argument":{"type":"UnaryExpression","start":972,"end":996,"operator":"!","argument":{"type":"MemberExpression","start":973,"end":996,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":973,"end":987,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":973,"end":977},"property":{"type":"Identifier","start":978,"end":987,"name":"appConfig"}},"property":{"type":"Identifier","start":988,"end":996,"name":"formOnly"}},"prefix":true},"prefix":true}}}]},"alternate":{"type":"BlockStatement","start":1021,"end":1117,"body":[{"type":"ExpressionStatement","start":1035,"end":1107,"expression":{"type":"CallExpression","start":1035,"end":1106,"optional":false,"callee":{"type":"MemberExpression","start":1035,"end":1048,"computed":false,"optional":false,"object":{"type":"Identifier","start":1035,"end":1042,"name":"console"},"property":{"type":"Identifier","start":1043,"end":1048,"name":"error"}},"arguments":[{"type":"Literal","start":1049,"end":1105,"value":"You must provide an AppConfig within your application!","raw":"'You must provide an AppConfig within your application!'"}]}}]}},{"type":"ExpressionStatement","start":1126,"end":1262,"expression":{"type":"AssignmentExpression","start":1126,"end":1261,"operator":"=","left":{"type":"MemberExpression","start":1126,"end":1140,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1126,"end":1130},"property":{"type":"Identifier","start":1131,"end":1140,"name":"loginForm"}},"right":{"type":"BinaryExpression","start":1155,"end":1261,"operator":"+","left":{"type":"BinaryExpression","start":1155,"end":1198,"operator":"+","left":{"type":"MemberExpression","start":1155,"end":1176,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":1155,"end":1169,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1155,"end":1159},"property":{"type":"Identifier","start":1160,"end":1169,"name":"appConfig"}},"property":{"type":"Identifier","start":1170,"end":1176,"name":"appUrl"}},"right":{"type":"Literal","start":1195,"end":1198,"value":"/","raw":"'/'"}},"right":{"type":"CallExpression","start":1217,"end":1261,"optional":false,"callee":{"type":"Identifier","start":1217,"end":1220,"name":"get"},"arguments":[{"type":"MemberExpression","start":1221,"end":1232,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1221,"end":1225},"property":{"type":"Identifier","start":1226,"end":1232,"name":"config"}},{"type":"Literal","start":1234,"end":1246,"value":"login.form","raw":"'login.form'"},{"type":"Literal","start":1248,"end":1260,"value":"user/login","raw":"'user/login'"}]}}}},{"type":"ExpressionStatement","start":1271,"end":1416,"expression":{"type":"AssignmentExpression","start":1271,"end":1415,"operator":"=","left":{"type":"MemberExpression","start":1271,"end":1288,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1271,"end":1275},"property":{"type":"Identifier","start":1276,"end":1288,"name":"registerForm"}},"right":{"type":"BinaryExpression","start":1303,"end":1415,"operator":"+","left":{"type":"BinaryExpression","start":1303,"end":1346,"operator":"+","left":{"type":"MemberExpression","start":1303,"end":1324,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":1303,"end":1317,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1303,"end":1307},"property":{"type":"Identifier","start":1308,"end":1317,"name":"appConfig"}},"property":{"type":"Identifier","start":1318,"end":1324,"name":"appUrl"}},"right":{"type":"Literal","start":1343,"end":1346,"value":"/","raw":"'/'"}},"right":{"type":"CallExpression","start":1365,"end":1415,"optional":false,"callee":{"type":"Identifier","start":1365,"end":1368,"name":"get"},"arguments":[{"type":"MemberExpression","start":1369,"end":1380,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1369,"end":1373},"property":{"type":"Identifier","start":1374,"end":1380,"name":"config"}},{"type":"Literal","start":1382,"end":1397,"value":"register.form","raw":"'register.form'"},{"type":"Literal","start":1399,"end":1414,"value":"user/register","raw":"'user/register'"}]}}}},{"type":"ExpressionStatement","start":1425,"end":1568,"expression":{"type":"AssignmentExpression","start":1425,"end":1567,"operator":"=","left":{"type":"MemberExpression","start":1425,"end":1443,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1425,"end":1429},"property":{"type":"Identifier","start":1430,"end":1443,"name":"resetPassForm"}},"right":{"type":"BinaryExpression","start":1458,"end":1567,"operator":"+","left":{"type":"BinaryExpression","start":1458,"end":1501,"operator":"+","left":{"type":"MemberExpression","start":1458,"end":1479,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":1458,"end":1472,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1458,"end":1462},"property":{"type":"Identifier","start":1463,"end":1472,"name":"appConfig"}},"property":{"type":"Identifier","start":1473,"end":1479,"name":"appUrl"}},"right":{"type":"Literal","start":1498,"end":1501,"value":"/","raw":"'/'"}},"right":{"type":"CallExpression","start":1520,"end":1567,"optional":false,"callee":{"type":"Identifier","start":1520,"end":1523,"name":"get"},"arguments":[{"type":"MemberExpression","start":1524,"end":1535,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1524,"end":1528},"property":{"type":"Identifier","start":1529,"end":1535,"name":"config"}},{"type":"Literal","start":1537,"end":1553,"value":"resetpass.form","raw":"'resetpass.form'"},{"type":"Literal","start":1555,"end":1566,"value":"resetpass","raw":"'resetpass'"}]}}}},{"type":"ExpressionStatement","start":1577,"end":1611,"expression":{"type":"AssignmentExpression","start":1577,"end":1610,"operator":"=","left":{"type":"MemberExpression","start":1577,"end":1589,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1577,"end":1581},"property":{"type":"Identifier","start":1582,"end":1589,"name":"onLogin"}},"right":{"type":"NewExpression","start":1592,"end":1610,"callee":{"type":"Identifier","start":1596,"end":1608,"name":"EventEmitter"},"arguments":[]}}},{"type":"ExpressionStatement","start":1620,"end":1655,"expression":{"type":"AssignmentExpression","start":1620,"end":1654,"operator":"=","left":{"type":"MemberExpression","start":1620,"end":1633,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1620,"end":1624},"property":{"type":"Identifier","start":1625,"end":1633,"name":"onLogout"}},"right":{"type":"NewExpression","start":1636,"end":1654,"callee":{"type":"Identifier","start":1640,"end":1652,"name":"EventEmitter"},"arguments":[]}}},{"type":"ExpressionStatement","start":1664,"end":1701,"expression":{"type":"AssignmentExpression","start":1664,"end":1700,"operator":"=","left":{"type":"MemberExpression","start":1664,"end":1679,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1664,"end":1668},"property":{"type":"Identifier","start":1669,"end":1679,"name":"onRegister"}},"right":{"type":"NewExpression","start":1682,"end":1700,"callee":{"type":"Identifier","start":1686,"end":1698,"name":"EventEmitter"},"arguments":[]}}},{"type":"ExpressionStatement","start":1710,"end":1743,"expression":{"type":"AssignmentExpression","start":1710,"end":1742,"operator":"=","left":{"type":"MemberExpression","start":1710,"end":1721,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1710,"end":1714},"property":{"type":"Identifier","start":1715,"end":1721,"name":"onUser"}},"right":{"type":"NewExpression","start":1724,"end":1742,"callee":{"type":"Identifier","start":1728,"end":1740,"name":"EventEmitter"},"arguments":[]}}},{"type":"ExpressionStatement","start":1752,"end":1786,"expression":{"type":"AssignmentExpression","start":1752,"end":1785,"operator":"=","left":{"type":"MemberExpression","start":1752,"end":1764,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1752,"end":1756},"property":{"type":"Identifier","start":1757,"end":1764,"name":"onError"}},"right":{"type":"NewExpression","start":1767,"end":1785,"callee":{"type":"Identifier","start":1771,"end":1783,"name":"EventEmitter"},"arguments":[]}}},{"type":"ExpressionStatement","start":1795,"end":1934,"expression":{"type":"AssignmentExpression","start":1795,"end":1933,"operator":"=","left":{"type":"MemberExpression","start":1795,"end":1805,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1795,"end":1799},"property":{"type":"Identifier","start":1800,"end":1805,"name":"ready"}},"right":{"type":"NewExpression","start":1808,"end":1933,"callee":{"type":"Identifier","start":1812,"end":1819,"name":"Promise"},"arguments":[{"type":"ArrowFunctionExpression","start":1820,"end":1932,"async":false,"expression":false,"generator":false,"params":[{"type":"Identifier","start":1821,"end":1828,"name":"resolve"},{"type":"Identifier","start":1830,"end":1836,"name":"reject"}],"body":{"type":"BlockStatement","start":1841,"end":1932,"body":[{"type":"ExpressionStatement","start":1855,"end":1883,"expression":{"type":"AssignmentExpression","start":1855,"end":1882,"operator":"=","left":{"type":"MemberExpression","start":1855,"end":1872,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1855,"end":1859},"property":{"type":"Identifier","start":1860,"end":1872,"name":"readyResolve"}},"right":{"type":"Identifier","start":1875,"end":1882,"name":"resolve"}}},{"type":"ExpressionStatement","start":1896,"end":1922,"expression":{"type":"AssignmentExpression","start":1896,"end":1921,"operator":"=","left":{"type":"MemberExpression","start":1896,"end":1912,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1896,"end":1900},"property":{"type":"Identifier","start":1901,"end":1912,"name":"readyReject"}},"right":{"type":"Identifier","start":1915,"end":1921,"name":"reject"}}}]},"id":null}]}}},{"type":"ExpressionStatement","start":1984,"end":2046,"expression":{"type":"CallExpression","start":1984,"end":2045,"optional":false,"callee":{"type":"MemberExpression","start":1984,"end":2000,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":1984,"end":1997,"computed":false,"optional":false,"object":{"type":"Identifier","start":1984,"end":1990,"name":"Formio"},"property":{"type":"Identifier","start":1991,"end":1997,"name":"events"}},"property":{"type":"Identifier","start":1998,"end":2000,"name":"on"}},"arguments":[{"type":"Literal","start":2001,"end":2018,"value":"formio.badToken","raw":"'formio.badToken'"},{"type":"ArrowFunctionExpression","start":2020,"end":2044,"async":false,"expression":true,"generator":false,"params":[],"body":{"type":"CallExpression","start":2026,"end":2044,"optional":false,"callee":{"type":"MemberExpression","start":2026,"end":2042,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2026,"end":2030},"property":{"type":"Identifier","start":2031,"end":2042,"name":"logoutError"}},"arguments":[]},"id":null}]}},{"type":"ExpressionStatement","start":2055,"end":2123,"expression":{"type":"CallExpression","start":2055,"end":2122,"optional":false,"callee":{"type":"MemberExpression","start":2055,"end":2071,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":2055,"end":2068,"computed":false,"optional":false,"object":{"type":"Identifier","start":2055,"end":2061,"name":"Formio"},"property":{"type":"Identifier","start":2062,"end":2068,"name":"events"}},"property":{"type":"Identifier","start":2069,"end":2071,"name":"on"}},"arguments":[{"type":"Literal","start":2072,"end":2095,"value":"formio.sessionExpired","raw":"'formio.sessionExpired'"},{"type":"ArrowFunctionExpression","start":2097,"end":2121,"async":false,"expression":true,"generator":false,"params":[],"body":{"type":"CallExpression","start":2103,"end":2121,"optional":false,"callee":{"type":"MemberExpression","start":2103,"end":2119,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2103,"end":2107},"property":{"type":"Identifier","start":2108,"end":2119,"name":"logoutError"}},"arguments":[]},"id":null}]}},{"type":"IfStatement","start":2132,"end":2196,"test":{"type":"UnaryExpression","start":2136,"end":2158,"operator":"!","argument":{"type":"MemberExpression","start":2137,"end":2158,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":2137,"end":2148,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2137,"end":2141},"property":{"type":"Identifier","start":2142,"end":2148,"name":"config"}},"property":{"type":"Identifier","start":2149,"end":2158,"name":"delayAuth"}},"prefix":true},"consequent":{"type":"BlockStatement","start":2160,"end":2196,"body":[{"type":"ExpressionStatement","start":2174,"end":2186,"expression":{"type":"CallExpression","start":2174,"end":2185,"optional":false,"callee":{"type":"MemberExpression","start":2174,"end":2183,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2174,"end":2178},"property":{"type":"Identifier","start":2179,"end":2183,"name":"init"}},"arguments":[]}}]},"alternate":null}]},"expression":false},"kind":"constructor"},{"type":"MethodDefinition","start":2207,"end":2313,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":2207,"end":2220,"name":"onLoginSubmit"},"value":{"type":"FunctionExpression","start":2220,"end":2313,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":2221,"end":2231,"name":"submission"}],"body":{"type":"BlockStatement","start":2233,"end":2313,"body":[{"type":"ExpressionStatement","start":2243,"end":2268,"expression":{"type":"CallExpression","start":2243,"end":2267,"optional":false,"callee":{"type":"MemberExpression","start":2243,"end":2255,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2243,"end":2247},"property":{"type":"Identifier","start":2248,"end":2255,"name":"setUser"}},"arguments":[{"type":"Identifier","start":2256,"end":2266,"name":"submission"}]}},{"type":"ExpressionStatement","start":2277,"end":2307,"expression":{"type":"CallExpression","start":2277,"end":2306,"optional":false,"callee":{"type":"MemberExpression","start":2277,"end":2294,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":2277,"end":2289,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2277,"end":2281},"property":{"type":"Identifier","start":2282,"end":2289,"name":"onLogin"}},"property":{"type":"Identifier","start":2290,"end":2294,"name":"emit"}},"arguments":[{"type":"Identifier","start":2295,"end":2305,"name":"submission"}]}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":2318,"end":2430,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":2318,"end":2334,"name":"onRegisterSubmit"},"value":{"type":"FunctionExpression","start":2334,"end":2430,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":2335,"end":2345,"name":"submission"}],"body":{"type":"BlockStatement","start":2347,"end":2430,"body":[{"type":"ExpressionStatement","start":2357,"end":2382,"expression":{"type":"CallExpression","start":2357,"end":2381,"optional":false,"callee":{"type":"MemberExpression","start":2357,"end":2369,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2357,"end":2361},"property":{"type":"Identifier","start":2362,"end":2369,"name":"setUser"}},"arguments":[{"type":"Identifier","start":2370,"end":2380,"name":"submission"}]}},{"type":"ExpressionStatement","start":2391,"end":2424,"expression":{"type":"CallExpression","start":2391,"end":2423,"optional":false,"callee":{"type":"MemberExpression","start":2391,"end":2411,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":2391,"end":2406,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2391,"end":2395},"property":{"type":"Identifier","start":2396,"end":2406,"name":"onRegister"}},"property":{"type":"Identifier","start":2407,"end":2411,"name":"emit"}},"arguments":[{"type":"Identifier","start":2412,"end":2422,"name":"submission"}]}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":2435,"end":2515,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":2435,"end":2452,"name":"onResetPassSubmit"},"value":{"type":"FunctionExpression","start":2452,"end":2515,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":2453,"end":2463,"name":"submission"}],"body":{"type":"BlockStatement","start":2465,"end":2515,"body":[{"type":"ExpressionStatement","start":2475,"end":2509,"expression":{"type":"CallExpression","start":2475,"end":2508,"optional":false,"callee":{"type":"MemberExpression","start":2475,"end":2496,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":2475,"end":2491,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2475,"end":2479},"property":{"type":"Identifier","start":2480,"end":2491,"name":"onResetPass"}},"property":{"type":"Identifier","start":2492,"end":2496,"name":"emit"}},"arguments":[{"type":"Identifier","start":2497,"end":2507,"name":"submission"}]}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":2520,"end":4812,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":2520,"end":2524,"name":"init"},"value":{"type":"FunctionExpression","start":2524,"end":4812,"async":false,"generator":false,"id":null,"params":[],"body":{"type":"BlockStatement","start":2527,"end":4812,"body":[{"type":"ExpressionStatement","start":2537,"end":2838,"expression":{"type":"AssignmentExpression","start":2537,"end":2837,"operator":"=","left":{"type":"MemberExpression","start":2537,"end":2554,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2537,"end":2541},"property":{"type":"Identifier","start":2542,"end":2554,"name":"projectReady"}},"right":{"type":"CallExpression","start":2557,"end":2837,"optional":false,"callee":{"type":"MemberExpression","start":2557,"end":2609,"computed":false,"optional":false,"object":{"type":"CallExpression","start":2557,"end":2604,"optional":false,"callee":{"type":"MemberExpression","start":2557,"end":2581,"computed":false,"optional":false,"object":{"type":"Identifier","start":2557,"end":2563,"name":"Formio"},"property":{"type":"Identifier","start":2564,"end":2581,"name":"makeStaticRequest"}},"arguments":[{"type":"MemberExpression","start":2582,"end":2603,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":2582,"end":2596,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2582,"end":2586},"property":{"type":"Identifier","start":2587,"end":2596,"name":"appConfig"}},"property":{"type":"Identifier","start":2597,"end":2603,"name":"appUrl"}}]},"property":{"type":"Identifier","start":2605,"end":2609,"name":"then"}},"arguments":[{"type":"ArrowFunctionExpression","start":2610,"end":2758,"async":false,"expression":false,"generator":false,"params":[{"type":"Identifier","start":2611,"end":2618,"name":"project"}],"body":{"type":"BlockStatement","start":2623,"end":2758,"body":[{"type":"ExpressionStatement","start":2637,"end":2748,"expression":{"type":"CallExpression","start":2637,"end":2747,"optional":false,"callee":{"type":"Identifier","start":2637,"end":2641,"name":"each"},"arguments":[{"type":"MemberExpression","start":2642,"end":2656,"computed":false,"optional":false,"object":{"type":"Identifier","start":2642,"end":2649,"name":"project"},"property":{"type":"Identifier","start":2650,"end":2656,"name":"access"}},{"type":"ArrowFunctionExpression","start":2658,"end":2746,"async":false,"expression":false,"generator":false,"params":[{"type":"Identifier","start":2659,"end":2665,"name":"access"}],"body":{"type":"BlockStatement","start":2670,"end":2746,"body":[{"type":"ExpressionStatement","start":2688,"end":2732,"expression":{"type":"AssignmentExpression","start":2688,"end":2731,"operator":"=","left":{"type":"MemberExpression","start":2688,"end":2716,"computed":true,"optional":false,"object":{"type":"MemberExpression","start":2688,"end":2703,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2688,"end":2692},"property":{"type":"Identifier","start":2693,"end":2703,"name":"formAccess"}},"property":{"type":"MemberExpression","start":2704,"end":2715,"computed":false,"optional":false,"object":{"type":"Identifier","start":2704,"end":2710,"name":"access"},"property":{"type":"Identifier","start":2711,"end":2715,"name":"type"}}},"right":{"type":"MemberExpression","start":2719,"end":2731,"computed":false,"optional":false,"object":{"type":"Identifier","start":2719,"end":2725,"name":"access"},"property":{"type":"Identifier","start":2726,"end":2731,"name":"roles"}}}}]},"id":null}]}}]},"id":null},{"type":"ArrowFunctionExpression","start":2760,"end":2836,"async":false,"expression":false,"generator":false,"params":[],"body":{"type":"BlockStatement","start":2766,"end":2836,"body":[{"type":"ExpressionStatement","start":2780,"end":2801,"expression":{"type":"AssignmentExpression","start":2780,"end":2800,"operator":"=","left":{"type":"MemberExpression","start":2780,"end":2795,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2780,"end":2784},"property":{"type":"Identifier","start":2785,"end":2795,"name":"formAccess"}},"right":{"type":"ObjectExpression","start":2798,"end":2800,"properties":[]}}},{"type":"ReturnStatement","start":2814,"end":2826,"argument":{"type":"Literal","start":2821,"end":2825,"raw":"null","value":null}}]},"id":null}]}}},{"type":"ExpressionStatement","start":2891,"end":3575,"expression":{"type":"AssignmentExpression","start":2891,"end":3574,"operator":"=","left":{"type":"MemberExpression","start":2891,"end":2907,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2891,"end":2895},"property":{"type":"Identifier","start":2896,"end":2907,"name":"accessReady"}},"right":{"type":"CallExpression","start":2910,"end":3574,"optional":false,"callee":{"type":"MemberExpression","start":2910,"end":3382,"computed":false,"optional":false,"object":{"type":"CallExpression","start":2910,"end":3363,"optional":false,"callee":{"type":"MemberExpression","start":2910,"end":2987,"computed":false,"optional":false,"object":{"type":"CallExpression","start":2910,"end":2969,"optional":false,"callee":{"type":"MemberExpression","start":2910,"end":2934,"computed":false,"optional":false,"object":{"type":"Identifier","start":2910,"end":2916,"name":"Formio"},"property":{"type":"Identifier","start":2917,"end":2934,"name":"makeStaticRequest"}},"arguments":[{"type":"BinaryExpression","start":2935,"end":2968,"operator":"+","left":{"type":"MemberExpression","start":2935,"end":2956,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":2935,"end":2949,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2935,"end":2939},"property":{"type":"Identifier","start":2940,"end":2949,"name":"appConfig"}},"property":{"type":"Identifier","start":2950,"end":2956,"name":"appUrl"}},"right":{"type":"Literal","start":2959,"end":2968,"value":"/access","raw":"'/access'"}}]},"property":{"type":"Identifier","start":2983,"end":2987,"name":"then"}},"arguments":[{"type":"ArrowFunctionExpression","start":2988,"end":3362,"async":false,"expression":false,"generator":false,"params":[{"type":"Identifier","start":2989,"end":2995,"name":"access"}],"body":{"type":"BlockStatement","start":3000,"end":3362,"body":[{"type":"ExpressionStatement","start":3014,"end":3286,"expression":{"type":"CallExpression","start":3014,"end":3285,"optional":false,"callee":{"type":"Identifier","start":3014,"end":3018,"name":"each"},"arguments":[{"type":"MemberExpression","start":3019,"end":3031,"computed":false,"optional":false,"object":{"type":"Identifier","start":3019,"end":3025,"name":"access"},"property":{"type":"Identifier","start":3026,"end":3031,"name":"forms"}},{"type":"ArrowFunctionExpression","start":3033,"end":3284,"async":false,"expression":false,"generator":false,"params":[{"type":"Identifier","start":3034,"end":3038,"name":"form"}],"body":{"type":"BlockStatement","start":3043,"end":3284,"body":[{"type":"ExpressionStatement","start":3061,"end":3099,"expression":{"type":"AssignmentExpression","start":3061,"end":3098,"operator":"=","left":{"type":"MemberExpression","start":3061,"end":3093,"computed":true,"optional":false,"object":{"type":"MemberExpression","start":3061,"end":3082,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":3061,"end":3065},"property":{"type":"Identifier","start":3066,"end":3082,"name":"submissionAccess"}},"property":{"type":"MemberExpression","start":3083,"end":3092,"computed":false,"optional":false,"object":{"type":"Identifier","start":3083,"end":3087,"name":"form"},"property":{"type":"Identifier","start":3088,"end":3092,"name":"name"}}},"right":{"type":"ObjectExpression","start":3096,"end":3098,"properties":[]}}},{"type":"ExpressionStatement","start":3116,"end":3270,"expression":{"type":"CallExpression","start":3116,"end":3269,"optional":false,"callee":{"type":"MemberExpression","start":3116,"end":3145,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":3116,"end":3137,"computed":false,"optional":false,"object":{"type":"Identifier","start":3116,"end":3120,"name":"form"},"property":{"type":"Identifier","start":3121,"end":3137,"name":"submissionAccess"}},"property":{"type":"Identifier","start":3138,"end":3145,"name":"forEach"}},"arguments":[{"type":"ArrowFunctionExpression","start":3146,"end":3268,"async":false,"expression":false,"generator":false,"params":[{"type":"Identifier","start":3147,"end":3156,"name":"subAccess"}],"body":{"type":"BlockStatement","start":3161,"end":3268,"body":[{"type":"ExpressionStatement","start":3183,"end":3250,"expression":{"type":"AssignmentExpression","start":3183,"end":3249,"operator":"=","left":{"type":"MemberExpression","start":3183,"end":3231,"computed":true,"optional":false,"object":{"type":"MemberExpression","start":3183,"end":3215,"computed":true,"optional":false,"object":{"type":"MemberExpression","start":3183,"end":3204,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":3183,"end":3187},"property":{"type":"Identifier","start":3188,"end":3204,"name":"submissionAccess"}},"property":{"type":"MemberExpression","start":3205,"end":3214,"computed":false,"optional":false,"object":{"type":"Identifier","start":3205,"end":3209,"name":"form"},"property":{"type":"Identifier","start":3210,"end":3214,"name":"name"}}},"property":{"type":"MemberExpression","start":3216,"end":3230,"computed":false,"optional":false,"object":{"type":"Identifier","start":3216,"end":3225,"name":"subAccess"},"property":{"type":"Identifier","start":3226,"end":3230,"name":"type"}}},"right":{"type":"MemberExpression","start":3234,"end":3249,"computed":false,"optional":false,"object":{"type":"Identifier","start":3234,"end":3243,"name":"subAccess"},"property":{"type":"Identifier","start":3244,"end":3249,"name":"roles"}}}}]},"id":null}]}}]},"id":null}]}},{"type":"ExpressionStatement","start":3299,"end":3325,"expression":{"type":"AssignmentExpression","start":3299,"end":3324,"operator":"=","left":{"type":"MemberExpression","start":3299,"end":3309,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":3299,"end":3303},"property":{"type":"Identifier","start":3304,"end":3309,"name":"roles"}},"right":{"type":"MemberExpression","start":3312,"end":3324,"computed":false,"optional":false,"object":{"type":"Identifier","start":3312,"end":3318,"name":"access"},"property":{"type":"Identifier","start":3319,"end":3324,"name":"roles"}}}},{"type":"ReturnStatement","start":3338,"end":3352,"argument":{"type":"Identifier","start":3345,"end":3351,"name":"access"}}]},"id":null}]},"property":{"type":"Identifier","start":3377,"end":3382,"name":"catch"}},"arguments":[{"type":"ArrowFunctionExpression","start":3383,"end":3573,"async":false,"expression":false,"generator":false,"params":[{"type":"Identifier","start":3384,"end":3387,"name":"err"}],"body":{"type":"BlockStatement","start":3392,"end":3573,"body":[{"type":"IfStatement","start":3406,"end":3509,"test":{"type":"LogicalExpression","start":3410,"end":3456,"operator":"||","left":{"type":"BinaryExpression","start":3410,"end":3433,"operator":"===","left":{"type":"Identifier","start":3410,"end":3413,"name":"err"},"right":{"type":"Literal","start":3418,"end":3433,"value":"Token Expired","raw":"'Token Expired'"}},"right":{"type":"BinaryExpression","start":3437,"end":3456,"operator":"===","left":{"type":"Identifier","start":3437,"end":3440,"name":"err"},"right":{"type":"Literal","start":3445,"end":3456,"value":"Bad Token","raw":"'Bad Token'"}}},"consequent":{"type":"BlockStatement","start":3458,"end":3509,"body":[{"type":"ExpressionStatement","start":3476,"end":3495,"expression":{"type":"CallExpression","start":3476,"end":3494,"optional":false,"callee":{"type":"MemberExpression","start":3476,"end":3488,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":3476,"end":3480},"property":{"type":"Identifier","start":3481,"end":3488,"name":"setUser"}},"arguments":[{"type":"Literal","start":3489,"end":3493,"raw":"null","value":null}]}}]},"alternate":null},{"type":"ExpressionStatement","start":3522,"end":3538,"expression":{"type":"AssignmentExpression","start":3522,"end":3537,"operator":"=","left":{"type":"MemberExpression","start":3522,"end":3532,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":3522,"end":3526},"property":{"type":"Identifier","start":3527,"end":3532,"name":"roles"}},"right":{"type":"ObjectExpression","start":3535,"end":3537,"properties":[]}}},{"type":"ReturnStatement","start":3551,"end":3563,"argument":{"type":"Literal","start":3558,"end":3562,"raw":"null","value":null}}]},"id":null}]}}},{"type":"VariableDeclaration","start":3584,"end":3607,"kind":"let","declarations":[{"type":"VariableDeclarator","start":3588,"end":3606,"id":{"type":"Identifier","start":3588,"end":3606,"name":"currentUserPromise"},"init":null}]},{"type":"IfStatement","start":3616,"end":4258,"test":{"type":"MemberExpression","start":3620,"end":3637,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":3620,"end":3631,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":3620,"end":3624},"property":{"type":"Identifier","start":3625,"end":3631,"name":"config"}},"property":{"type":"Identifier","start":3632,"end":3637,"name":"oauth"}},"consequent":{"type":"BlockStatement","start":3639,"end":4123,"body":[{"type":"IfStatement","start":3744,"end":3949,"test":{"type":"LogicalExpression","start":3748,"end":3818,"operator":"&&","left":{"type":"MemberExpression","start":3748,"end":3768,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":3748,"end":3763,"computed":false,"optional":false,"object":{"type":"Identifier","start":3748,"end":3754,"name":"window"},"property":{"type":"Identifier","start":3755,"end":3763,"name":"location"}},"property":{"type":"Identifier","start":3764,"end":3768,"name":"hash"}},"right":{"type":"CallExpression","start":3772,"end":3818,"optional":false,"callee":{"type":"MemberExpression","start":3772,"end":3798,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":3772,"end":3792,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":3772,"end":3787,"computed":false,"optional":false,"object":{"type":"Identifier","start":3772,"end":3778,"name":"window"},"property":{"type":"Identifier","start":3779,"end":3787,"name":"location"}},"property":{"type":"Identifier","start":3788,"end":3792,"name":"hash"}},"property":{"type":"Identifier","start":3793,"end":3798,"name":"match"}},"arguments":[{"type":"Literal","start":3799,"end":3817,"raw":"/^#\\/access_token/","regex":{"flags":"","pattern":"^#\\/access_token"},"value":{}}]}},"consequent":{"type":"BlockStatement","start":3820,"end":3949,"body":[{"type":"ExpressionStatement","start":3838,"end":3935,"expression":{"type":"CallExpression","start":3838,"end":3934,"optional":false,"callee":{"type":"MemberExpression","start":3838,"end":3855,"computed":false,"optional":false,"object":{"type":"Identifier","start":3838,"end":3845,"name":"history"},"property":{"type":"Identifier","start":3846,"end":3855,"name":"pushState"}},"arguments":[{"type":"Literal","start":3856,"end":3860,"raw":"null","value":null},{"type":"Literal","start":3862,"end":3866,"raw":"null","value":null},{"type":"CallExpression","start":3868,"end":3933,"optional":false,"callee":{"type":"MemberExpression","start":3868,"end":3896,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":3868,"end":3888,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":3868,"end":3883,"computed":false,"optional":false,"object":{"type":"Identifier","start":3868,"end":3874,"name":"window"},"property":{"type":"Identifier","start":3875,"end":3883,"name":"location"}},"property":{"type":"Identifier","start":3884,"end":3888,"name":"hash"}},"property":{"type":"Identifier","start":3889,"end":3896,"name":"replace"}},"arguments":[{"type":"Literal","start":3897,"end":3915,"raw":"/^#\\/access_token/","regex":{"flags":"","pattern":"^#\\/access_token"},"value":{}},{"type":"Literal","start":3917,"end":3932,"value":"#access_token","raw":"'#access_token'"}]}]}}]},"alternate":null},{"type":"ExpressionStatement","start":4026,"end":4113,"expression":{"type":"AssignmentExpression","start":4026,"end":4112,"operator":"=","left":{"type":"Identifier","start":4026,"end":4044,"name":"currentUserPromise"},"right":{"type":"CallExpression","start":4047,"end":4112,"optional":false,"callee":{"type":"MemberExpression","start":4047,"end":4061,"computed":false,"optional":false,"object":{"type":"Identifier","start":4047,"end":4053,"name":"Formio"},"property":{"type":"Identifier","start":4054,"end":4061,"name":"ssoInit"}},"arguments":[{"type":"MemberExpression","start":4062,"end":4084,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":4062,"end":4079,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":4062,"end":4073,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4062,"end":4066},"property":{"type":"Identifier","start":4067,"end":4073,"name":"config"}},"property":{"type":"Identifier","start":4074,"end":4079,"name":"oauth"}},"property":{"type":"Identifier","start":4080,"end":4084,"name":"type"}},{"type":"MemberExpression","start":4086,"end":4111,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":4086,"end":4103,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":4086,"end":4097,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4086,"end":4090},"property":{"type":"Identifier","start":4091,"end":4097,"name":"config"}},"property":{"type":"Identifier","start":4098,"end":4103,"name":"oauth"}},"property":{"type":"Identifier","start":4104,"end":4111,"name":"options"}}]}}}]},"alternate":{"type":"BlockStatement","start":4137,"end":4258,"body":[{"type":"ExpressionStatement","start":4151,"end":4248,"expression":{"type":"AssignmentExpression","start":4151,"end":4247,"operator":"=","left":{"type":"Identifier","start":4151,"end":4169,"name":"currentUserPromise"},"right":{"type":"CallExpression","start":4172,"end":4247,"optional":false,"callee":{"type":"MemberExpression","start":4172,"end":4190,"computed":false,"optional":false,"object":{"type":"Identifier","start":4172,"end":4178,"name":"Formio"},"property":{"type":"Identifier","start":4179,"end":4190,"name":"currentUser"}},"arguments":[{"type":"Literal","start":4191,"end":4195,"raw":"null","value":null},{"type":"ObjectExpression","start":4197,"end":4246,"properties":[{"type":"Property","start":4215,"end":4232,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":4215,"end":4226,"name":"ignoreCache"},"value":{"type":"Literal","start":4228,"end":4232,"value":true,"raw":"true"},"kind":"init"}]}]}}}]}},{"type":"ExpressionStatement","start":4267,"end":4471,"expression":{"type":"AssignmentExpression","start":4267,"end":4470,"operator":"=","left":{"type":"MemberExpression","start":4267,"end":4281,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4267,"end":4271},"property":{"type":"Identifier","start":4272,"end":4281,"name":"userReady"}},"right":{"type":"CallExpression","start":4284,"end":4470,"optional":false,"callee":{"type":"MemberExpression","start":4284,"end":4393,"computed":false,"optional":false,"object":{"type":"CallExpression","start":4284,"end":4387,"optional":false,"callee":{"type":"MemberExpression","start":4284,"end":4307,"computed":false,"optional":false,"object":{"type":"Identifier","start":4284,"end":4302,"name":"currentUserPromise"},"property":{"type":"Identifier","start":4303,"end":4307,"name":"then"}},"arguments":[{"type":"ArrowFunctionExpression","start":4308,"end":4386,"async":false,"expression":false,"generator":false,"params":[{"type":"Identifier","start":4309,"end":4313,"name":"user"}],"body":{"type":"BlockStatement","start":4318,"end":4386,"body":[{"type":"ExpressionStatement","start":4332,"end":4351,"expression":{"type":"CallExpression","start":4332,"end":4350,"optional":false,"callee":{"type":"MemberExpression","start":4332,"end":4344,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4332,"end":4336},"property":{"type":"Identifier","start":4337,"end":4344,"name":"setUser"}},"arguments":[{"type":"Identifier","start":4345,"end":4349,"name":"user"}]}},{"type":"ReturnStatement","start":4364,"end":4376,"argument":{"type":"Identifier","start":4371,"end":4375,"name":"user"}}]},"id":null}]},"property":{"type":"Identifier","start":4388,"end":4393,"name":"catch"}},"arguments":[{"type":"ArrowFunctionExpression","start":4394,"end":4469,"async":false,"expression":false,"generator":false,"params":[{"type":"Identifier","start":4395,"end":4398,"name":"err"}],"body":{"type":"BlockStatement","start":4403,"end":4469,"body":[{"type":"ExpressionStatement","start":4417,"end":4436,"expression":{"type":"CallExpression","start":4417,"end":4435,"optional":false,"callee":{"type":"MemberExpression","start":4417,"end":4429,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4417,"end":4421},"property":{"type":"Identifier","start":4422,"end":4429,"name":"setUser"}},"arguments":[{"type":"Literal","start":4430,"end":4434,"raw":"null","value":null}]}},{"type":"ThrowStatement","start":4449,"end":4459,"argument":{"type":"Identifier","start":4455,"end":4458,"name":"err"}}]},"id":null}]}}},{"type":"IfStatement","start":4544,"end":4806,"test":{"type":"MemberExpression","start":4548,"end":4564,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4548,"end":4552},"property":{"type":"Identifier","start":4553,"end":4564,"name":"accessReady"}},"consequent":{"type":"BlockStatement","start":4566,"end":4806,"body":[{"type":"ExpressionStatement","start":4580,"end":4796,"expression":{"type":"CallExpression","start":4580,"end":4795,"optional":false,"callee":{"type":"MemberExpression","start":4580,"end":4763,"computed":false,"optional":false,"object":{"type":"CallExpression","start":4580,"end":4740,"optional":false,"callee":{"type":"MemberExpression","start":4580,"end":4709,"computed":false,"optional":false,"object":{"type":"CallExpression","start":4580,"end":4687,"optional":false,"callee":{"type":"MemberExpression","start":4580,"end":4665,"computed":false,"optional":false,"object":{"type":"CallExpression","start":4580,"end":4643,"optional":false,"callee":{"type":"MemberExpression","start":4580,"end":4618,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":4580,"end":4596,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4580,"end":4584},"property":{"type":"Identifier","start":4585,"end":4596,"name":"accessReady"}},"property":{"type":"Identifier","start":4614,"end":4618,"name":"then"}},"arguments":[{"type":"ArrowFunctionExpression","start":4619,"end":4642,"async":false,"expression":true,"generator":false,"params":[],"body":{"type":"MemberExpression","start":4625,"end":4642,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4625,"end":4629},"property":{"type":"Identifier","start":4630,"end":4642,"name":"projectReady"}},"id":null}]},"property":{"type":"Identifier","start":4661,"end":4665,"name":"then"}},"arguments":[{"type":"ArrowFunctionExpression","start":4666,"end":4686,"async":false,"expression":true,"generator":false,"params":[],"body":{"type":"MemberExpression","start":4672,"end":4686,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4672,"end":4676},"property":{"type":"Identifier","start":4677,"end":4686,"name":"userReady"}},"id":null}]},"property":{"type":"Identifier","start":4705,"end":4709,"name":"then"}},"arguments":[{"type":"ArrowFunctionExpression","start":4710,"end":4739,"async":false,"expression":true,"generator":false,"params":[],"body":{"type":"CallExpression","start":4716,"end":4739,"optional":false,"callee":{"type":"MemberExpression","start":4716,"end":4733,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4716,"end":4720},"property":{"type":"Identifier","start":4721,"end":4733,"name":"readyResolve"}},"arguments":[{"type":"Literal","start":4734,"end":4738,"value":true,"raw":"true"}]},"id":null}]},"property":{"type":"Identifier","start":4758,"end":4763,"name":"catch"}},"arguments":[{"type":"ArrowFunctionExpression","start":4764,"end":4794,"async":false,"expression":true,"generator":false,"params":[{"type":"Identifier","start":4765,"end":4768,"name":"err"}],"body":{"type":"CallExpression","start":4773,"end":4794,"optional":false,"callee":{"type":"MemberExpression","start":4773,"end":4789,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4773,"end":4777},"property":{"type":"Identifier","start":4778,"end":4789,"name":"readyReject"}},"arguments":[{"type":"Identifier","start":4790,"end":4793,"name":"err"}]},"id":null}]}}]},"alternate":null}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":4817,"end":5395,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":4817,"end":4824,"name":"setUser"},"value":{"type":"FunctionExpression","start":4824,"end":5395,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":4825,"end":4829,"name":"user"}],"body":{"type":"BlockStatement","start":4831,"end":5395,"body":[{"type":"VariableDeclaration","start":4841,"end":4888,"kind":"const","declarations":[{"type":"VariableDeclarator","start":4847,"end":4887,"id":{"type":"Identifier","start":4847,"end":4856,"name":"namespace"},"init":{"type":"LogicalExpression","start":4859,"end":4887,"operator":"||","left":{"type":"MemberExpression","start":4859,"end":4875,"computed":false,"optional":false,"object":{"type":"Identifier","start":4859,"end":4865,"name":"Formio"},"property":{"type":"Identifier","start":4866,"end":4875,"name":"namespace"}},"right":{"type":"Literal","start":4879,"end":4887,"value":"formio","raw":"'formio'"}}}]},{"type":"IfStatement","start":4897,"end":5302,"test":{"type":"Identifier","start":4901,"end":4905,"name":"user"},"consequent":{"type":"BlockStatement","start":4907,"end":5094,"body":[{"type":"ExpressionStatement","start":4921,"end":4938,"expression":{"type":"AssignmentExpression","start":4921,"end":4937,"operator":"=","left":{"type":"MemberExpression","start":4921,"end":4930,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4921,"end":4925},"property":{"type":"Identifier","start":4926,"end":4930,"name":"user"}},"right":{"type":"Identifier","start":4933,"end":4937,"name":"user"}}},{"type":"ExpressionStatement","start":4951,"end":5017,"expression":{"type":"CallExpression","start":4951,"end":5016,"optional":false,"callee":{"type":"MemberExpression","start":4951,"end":4971,"computed":false,"optional":false,"object":{"type":"Identifier","start":4951,"end":4963,"name":"localStorage"},"property":{"type":"Identifier","start":4964,"end":4971,"name":"setItem"}},"arguments":[{"type":"TemplateLiteral","start":4972,"end":4993,"quasis":[{"type":"TemplateElement","start":4973,"end":4973,"tail":false,"value":{"cooked":"","raw":""}},{"type":"TemplateElement","start":4985,"end":4992,"tail":true,"value":{"cooked":"AppUser","raw":"AppUser"}}],"expressions":[{"type":"Identifier","start":4975,"end":4984,"name":"namespace"}]},{"type":"CallExpression","start":4995,"end":5015,"optional":false,"callee":{"type":"MemberExpression","start":4995,"end":5009,"computed":false,"optional":false,"object":{"type":"Identifier","start":4995,"end":4999,"name":"JSON"},"property":{"type":"Identifier","start":5000,"end":5009,"name":"stringify"}},"arguments":[{"type":"Identifier","start":5010,"end":5014,"name":"user"}]}]}},{"type":"ExpressionStatement","start":5030,"end":5050,"expression":{"type":"CallExpression","start":5030,"end":5049,"optional":false,"callee":{"type":"MemberExpression","start":5030,"end":5047,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5030,"end":5034},"property":{"type":"Identifier","start":5035,"end":5047,"name":"setUserRoles"}},"arguments":[]}},{"type":"ExpressionStatement","start":5063,"end":5084,"expression":{"type":"CallExpression","start":5063,"end":5083,"optional":false,"callee":{"type":"MemberExpression","start":5063,"end":5077,"computed":false,"optional":false,"object":{"type":"Identifier","start":5063,"end":5069,"name":"Formio"},"property":{"type":"Identifier","start":5070,"end":5077,"name":"setUser"}},"arguments":[{"type":"Identifier","start":5078,"end":5082,"name":"user"}]}}]},"alternate":{"type":"BlockStatement","start":5108,"end":5302,"body":[{"type":"ExpressionStatement","start":5122,"end":5139,"expression":{"type":"AssignmentExpression","start":5122,"end":5138,"operator":"=","left":{"type":"MemberExpression","start":5122,"end":5131,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5122,"end":5126},"property":{"type":"Identifier","start":5127,"end":5131,"name":"user"}},"right":{"type":"Literal","start":5134,"end":5138,"raw":"null","value":null}}},{"type":"ExpressionStatement","start":5152,"end":5165,"expression":{"type":"AssignmentExpression","start":5152,"end":5164,"operator":"=","left":{"type":"MemberExpression","start":5152,"end":5159,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5152,"end":5156},"property":{"type":"Identifier","start":5157,"end":5159,"name":"is"}},"right":{"type":"ObjectExpression","start":5162,"end":5164,"properties":[]}}},{"type":"ExpressionStatement","start":5178,"end":5225,"expression":{"type":"CallExpression","start":5178,"end":5224,"optional":false,"callee":{"type":"MemberExpression","start":5178,"end":5201,"computed":false,"optional":false,"object":{"type":"Identifier","start":5178,"end":5190,"name":"localStorage"},"property":{"type":"Identifier","start":5191,"end":5201,"name":"removeItem"}},"arguments":[{"type":"TemplateLiteral","start":5202,"end":5223,"quasis":[{"type":"TemplateElement","start":5203,"end":5203,"tail":false,"value":{"cooked":"","raw":""}},{"type":"TemplateElement","start":5215,"end":5222,"tail":true,"value":{"cooked":"AppUser","raw":"AppUser"}}],"expressions":[{"type":"Identifier","start":5205,"end":5214,"name":"namespace"}]}]}},{"type":"ExpressionStatement","start":5238,"end":5258,"expression":{"type":"CallExpression","start":5238,"end":5257,"optional":false,"callee":{"type":"MemberExpression","start":5238,"end":5255,"computed":false,"optional":false,"object":{"type":"Identifier","start":5238,"end":5244,"name":"Formio"},"property":{"type":"Identifier","start":5245,"end":5255,"name":"clearCache"}},"arguments":[]}},{"type":"ExpressionStatement","start":5271,"end":5292,"expression":{"type":"CallExpression","start":5271,"end":5291,"optional":false,"callee":{"type":"MemberExpression","start":5271,"end":5285,"computed":false,"optional":false,"object":{"type":"Identifier","start":5271,"end":5277,"name":"Formio"},"property":{"type":"Identifier","start":5278,"end":5285,"name":"setUser"}},"arguments":[{"type":"Literal","start":5286,"end":5290,"raw":"null","value":null}]}}]}},{"type":"ExpressionStatement","start":5311,"end":5352,"expression":{"type":"AssignmentExpression","start":5311,"end":5351,"operator":"=","left":{"type":"MemberExpression","start":5311,"end":5329,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5311,"end":5315},"property":{"type":"Identifier","start":5316,"end":5329,"name":"authenticated"}},"right":{"type":"UnaryExpression","start":5332,"end":5351,"operator":"!","argument":{"type":"UnaryExpression","start":5333,"end":5351,"operator":"!","argument":{"type":"CallExpression","start":5334,"end":5351,"optional":false,"callee":{"type":"MemberExpression","start":5334,"end":5349,"computed":false,"optional":false,"object":{"type":"Identifier","start":5334,"end":5340,"name":"Formio"},"property":{"type":"Identifier","start":5341,"end":5349,"name":"getToken"}},"arguments":[]},"prefix":true},"prefix":true}}},{"type":"ExpressionStatement","start":5361,"end":5389,"expression":{"type":"CallExpression","start":5361,"end":5388,"optional":false,"callee":{"type":"MemberExpression","start":5361,"end":5377,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":5361,"end":5372,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5361,"end":5365},"property":{"type":"Identifier","start":5366,"end":5372,"name":"onUser"}},"property":{"type":"Identifier","start":5373,"end":5377,"name":"emit"}},"arguments":[{"type":"MemberExpression","start":5378,"end":5387,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5378,"end":5382},"property":{"type":"Identifier","start":5383,"end":5387,"name":"user"}}]}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":5400,"end":5737,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":5400,"end":5412,"name":"setUserRoles"},"value":{"type":"FunctionExpression","start":5412,"end":5737,"async":false,"generator":false,"id":null,"params":[],"body":{"type":"BlockStatement","start":5415,"end":5737,"body":[{"type":"IfStatement","start":5425,"end":5731,"test":{"type":"MemberExpression","start":5429,"end":5445,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5429,"end":5433},"property":{"type":"Identifier","start":5434,"end":5445,"name":"accessReady"}},"consequent":{"type":"BlockStatement","start":5447,"end":5731,"body":[{"type":"ExpressionStatement","start":5461,"end":5721,"expression":{"type":"CallExpression","start":5461,"end":5720,"optional":false,"callee":{"type":"MemberExpression","start":5461,"end":5482,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":5461,"end":5477,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5461,"end":5465},"property":{"type":"Identifier","start":5466,"end":5477,"name":"accessReady"}},"property":{"type":"Identifier","start":5478,"end":5482,"name":"then"}},"arguments":[{"type":"ArrowFunctionExpression","start":5483,"end":5719,"async":false,"expression":false,"generator":false,"params":[],"body":{"type":"BlockStatement","start":5489,"end":5719,"body":[{"type":"ExpressionStatement","start":5507,"end":5705,"expression":{"type":"CallExpression","start":5507,"end":5704,"optional":false,"callee":{"type":"Identifier","start":5507,"end":5511,"name":"each"},"arguments":[{"type":"MemberExpression","start":5512,"end":5522,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5512,"end":5516},"property":{"type":"Identifier","start":5517,"end":5522,"name":"roles"}},{"type":"ArrowFunctionExpression","start":5524,"end":5703,"async":false,"expression":false,"generator":false,"params":[{"type":"Identifier","start":5525,"end":5529,"name":"role"},{"type":"Identifier","start":5531,"end":5539,"name":"roleName"}],"body":{"type":"BlockStatement","start":5544,"end":5703,"body":[{"type":"IfStatement","start":5566,"end":5685,"test":{"type":"BinaryExpression","start":5570,"end":5610,"operator":"!==","left":{"type":"CallExpression","start":5570,"end":5603,"optional":false,"callee":{"type":"MemberExpression","start":5570,"end":5593,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":5570,"end":5585,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":5570,"end":5579,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5570,"end":5574},"property":{"type":"Identifier","start":5575,"end":5579,"name":"user"}},"property":{"type":"Identifier","start":5580,"end":5585,"name":"roles"}},"property":{"type":"Identifier","start":5586,"end":5593,"name":"indexOf"}},"arguments":[{"type":"MemberExpression","start":5594,"end":5602,"computed":false,"optional":false,"object":{"type":"Identifier","start":5594,"end":5598,"name":"role"},"property":{"type":"Identifier","start":5599,"end":5602,"name":"_id"}}]},"right":{"type":"UnaryExpression","start":5608,"end":5610,"operator":"-","argument":{"type":"Literal","start":5609,"end":5610,"raw":"1","value":1},"prefix":true}},"consequent":{"type":"BlockStatement","start":5612,"end":5685,"body":[{"type":"ExpressionStatement","start":5638,"end":5663,"expression":{"type":"AssignmentExpression","start":5638,"end":5662,"operator":"=","left":{"type":"MemberExpression","start":5638,"end":5655,"computed":true,"optional":false,"object":{"type":"MemberExpression","start":5638,"end":5645,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5638,"end":5642},"property":{"type":"Identifier","start":5643,"end":5645,"name":"is"}},"property":{"type":"Identifier","start":5646,"end":5654,"name":"roleName"}},"right":{"type":"Literal","start":5658,"end":5662,"value":true,"raw":"true"}}}]},"alternate":null}]},"id":null}]}}]},"id":null}]}}]},"alternate":null}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":5742,"end":5930,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":5742,"end":5753,"name":"logoutError"},"value":{"type":"FunctionExpression","start":5753,"end":5930,"async":false,"generator":false,"id":null,"params":[],"body":{"type":"BlockStatement","start":5756,"end":5930,"body":[{"type":"ExpressionStatement","start":5766,"end":5785,"expression":{"type":"CallExpression","start":5766,"end":5784,"optional":false,"callee":{"type":"MemberExpression","start":5766,"end":5778,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5766,"end":5770},"property":{"type":"Identifier","start":5771,"end":5778,"name":"setUser"}},"arguments":[{"type":"Literal","start":5779,"end":5783,"raw":"null","value":null}]}},{"type":"VariableDeclaration","start":5794,"end":5841,"kind":"const","declarations":[{"type":"VariableDeclarator","start":5800,"end":5840,"id":{"type":"Identifier","start":5800,"end":5809,"name":"namespace"},"init":{"type":"LogicalExpression","start":5812,"end":5840,"operator":"||","left":{"type":"MemberExpression","start":5812,"end":5828,"computed":false,"optional":false,"object":{"type":"Identifier","start":5812,"end":5818,"name":"Formio"},"property":{"type":"Identifier","start":5819,"end":5828,"name":"namespace"}},"right":{"type":"Literal","start":5832,"end":5840,"value":"formio","raw":"'formio'"}}}]},{"type":"ExpressionStatement","start":5850,"end":5895,"expression":{"type":"CallExpression","start":5850,"end":5894,"optional":false,"callee":{"type":"MemberExpression","start":5850,"end":5873,"computed":false,"optional":false,"object":{"type":"Identifier","start":5850,"end":5862,"name":"localStorage"},"property":{"type":"Identifier","start":5863,"end":5873,"name":"removeItem"}},"arguments":[{"type":"TemplateLiteral","start":5874,"end":5893,"quasis":[{"type":"TemplateElement","start":5875,"end":5875,"tail":false,"value":{"cooked":"","raw":""}},{"type":"TemplateElement","start":5887,"end":5892,"tail":true,"value":{"cooked":"Token","raw":"Token"}}],"expressions":[{"type":"Identifier","start":5877,"end":5886,"name":"namespace"}]}]}},{"type":"ExpressionStatement","start":5904,"end":5924,"expression":{"type":"CallExpression","start":5904,"end":5923,"optional":false,"callee":{"type":"MemberExpression","start":5904,"end":5921,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":5904,"end":5916,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5904,"end":5908},"property":{"type":"Identifier","start":5909,"end":5916,"name":"onError"}},"property":{"type":"Identifier","start":5917,"end":5921,"name":"emit"}},"arguments":[]}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":5935,"end":6662,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":5935,"end":5941,"name":"logout"},"value":{"type":"FunctionExpression","start":5941,"end":6662,"async":false,"generator":false,"id":null,"params":[],"body":{"type":"BlockStatement","start":5944,"end":6662,"body":[{"type":"VariableDeclaration","start":5954,"end":6001,"kind":"const","declarations":[{"type":"VariableDeclarator","start":5960,"end":6000,"id":{"type":"Identifier","start":5960,"end":5969,"name":"namespace"},"init":{"type":"LogicalExpression","start":5972,"end":6000,"operator":"||","left":{"type":"MemberExpression","start":5972,"end":5988,"computed":false,"optional":false,"object":{"type":"Identifier","start":5972,"end":5978,"name":"Formio"},"property":{"type":"Identifier","start":5979,"end":5988,"name":"namespace"}},"right":{"type":"Literal","start":5992,"end":6000,"value":"formio","raw":"'formio'"}}}]},{"type":"VariableDeclaration","start":6010,"end":6048,"kind":"const","declarations":[{"type":"VariableDeclarator","start":6016,"end":6047,"id":{"type":"Identifier","start":6016,"end":6025,"name":"tokenName"},"init":{"type":"TemplateLiteral","start":6028,"end":6047,"quasis":[{"type":"TemplateElement","start":6029,"end":6029,"tail":false,"value":{"cooked":"","raw":""}},{"type":"TemplateElement","start":6041,"end":6046,"tail":true,"value":{"cooked":"Token","raw":"Token"}}],"expressions":[{"type":"Identifier","start":6031,"end":6040,"name":"namespace"}]}}]},{"type":"ExpressionStatement","start":6057,"end":6092,"expression":{"type":"CallExpression","start":6057,"end":6091,"optional":false,"callee":{"type":"MemberExpression","start":6057,"end":6080,"computed":false,"optional":false,"object":{"type":"Identifier","start":6057,"end":6069,"name":"localStorage"},"property":{"type":"Identifier","start":6070,"end":6080,"name":"removeItem"}},"arguments":[{"type":"Identifier","start":6081,"end":6090,"name":"tokenName"}]}},{"type":"IfStatement","start":6101,"end":6219,"test":{"type":"LogicalExpression","start":6105,"end":6161,"operator":"&&","left":{"type":"MemberExpression","start":6105,"end":6118,"computed":false,"optional":false,"object":{"type":"Identifier","start":6105,"end":6111,"name":"Formio"},"property":{"type":"Identifier","start":6112,"end":6118,"name":"tokens"}},"right":{"type":"CallExpression","start":6122,"end":6161,"optional":false,"callee":{"type":"MemberExpression","start":6122,"end":6150,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":6122,"end":6135,"computed":false,"optional":false,"object":{"type":"Identifier","start":6122,"end":6128,"name":"Formio"},"property":{"type":"Identifier","start":6129,"end":6135,"name":"tokens"}},"property":{"type":"Identifier","start":6136,"end":6150,"name":"hasOwnProperty"}},"arguments":[{"type":"Identifier","start":6151,"end":6160,"name":"tokenName"}]}},"consequent":{"type":"BlockStatement","start":6163,"end":6219,"body":[{"type":"ExpressionStatement","start":6177,"end":6209,"expression":{"type":"UnaryExpression","start":6177,"end":6208,"operator":"delete","argument":{"type":"MemberExpression","start":6184,"end":6208,"computed":true,"optional":false,"object":{"type":"MemberExpression","start":6184,"end":6197,"computed":false,"optional":false,"object":{"type":"Identifier","start":6184,"end":6190,"name":"Formio"},"property":{"type":"Identifier","start":6191,"end":6197,"name":"tokens"}},"property":{"type":"Identifier","start":6198,"end":6207,"name":"tokenName"}},"prefix":true}}]},"alternate":null},{"type":"ExpressionStatement","start":6228,"end":6656,"expression":{"type":"CallExpression","start":6228,"end":6655,"optional":false,"callee":{"type":"MemberExpression","start":6228,"end":6629,"computed":false,"optional":false,"object":{"type":"CallExpression","start":6228,"end":6610,"optional":false,"callee":{"type":"MemberExpression","start":6228,"end":6261,"computed":false,"optional":false,"object":{"type":"CallExpression","start":6228,"end":6243,"optional":false,"callee":{"type":"MemberExpression","start":6228,"end":6241,"computed":false,"optional":false,"object":{"type":"Identifier","start":6228,"end":6234,"name":"Formio"},"property":{"type":"Identifier","start":6235,"end":6241,"name":"logout"}},"arguments":[]},"property":{"type":"Identifier","start":6257,"end":6261,"name":"then"}},"arguments":[{"type":"ArrowFunctionExpression","start":6262,"end":6609,"async":false,"expression":false,"generator":false,"params":[],"body":{"type":"BlockStatement","start":6268,"end":6609,"body":[{"type":"ExpressionStatement","start":6282,"end":6301,"expression":{"type":"CallExpression","start":6282,"end":6300,"optional":false,"callee":{"type":"MemberExpression","start":6282,"end":6294,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":6282,"end":6286},"property":{"type":"Identifier","start":6287,"end":6294,"name":"setUser"}},"arguments":[{"type":"Literal","start":6295,"end":6299,"raw":"null","value":null}]}},{"type":"IfStatement","start":6314,"end":6565,"test":{"type":"CallExpression","start":6318,"end":6367,"optional":false,"callee":{"type":"MemberExpression","start":6318,"end":6338,"computed":false,"optional":false,"object":{"type":"Identifier","start":6318,"end":6330,"name":"localStorage"},"property":{"type":"Identifier","start":6331,"end":6338,"name":"getItem"}},"arguments":[{"type":"TemplateLiteral","start":6339,"end":6366,"quasis":[{"type":"TemplateElement","start":6340,"end":6340,"tail":false,"value":{"cooked":"","raw":""}},{"type":"TemplateElement","start":6352,"end":6365,"tail":true,"value":{"cooked":"LogoutAuthUrl","raw":"LogoutAuthUrl"}}],"expressions":[{"type":"Identifier","start":6342,"end":6351,"name":"namespace"}]}]},"consequent":{"type":"BlockStatement","start":6369,"end":6565,"body":[{"type":"ExpressionStatement","start":6387,"end":6481,"expression":{"type":"CallExpression","start":6387,"end":6480,"optional":false,"callee":{"type":"MemberExpression","start":6387,"end":6398,"computed":false,"optional":false,"object":{"type":"Identifier","start":6387,"end":6393,"name":"window"},"property":{"type":"Identifier","start":6394,"end":6398,"name":"open"}},"arguments":[{"type":"CallExpression","start":6399,"end":6448,"optional":false,"callee":{"type":"MemberExpression","start":6399,"end":6419,"computed":false,"optional":false,"object":{"type":"Identifier","start":6399,"end":6411,"name":"localStorage"},"property":{"type":"Identifier","start":6412,"end":6419,"name":"getItem"}},"arguments":[{"type":"TemplateLiteral","start":6420,"end":6447,"quasis":[{"type":"TemplateElement","start":6421,"end":6421,"tail":false,"value":{"cooked":"","raw":""}},{"type":"TemplateElement","start":6433,"end":6446,"tail":true,"value":{"cooked":"LogoutAuthUrl","raw":"LogoutAuthUrl"}}],"expressions":[{"type":"Identifier","start":6423,"end":6432,"name":"namespace"}]}]},{"type":"Literal","start":6450,"end":6454,"raw":"null","value":null},{"type":"Literal","start":6456,"end":6479,"value":"width=1020,height=618","raw":"'width=1020,height=618'"}]}},{"type":"ExpressionStatement","start":6498,"end":6551,"expression":{"type":"CallExpression","start":6498,"end":6550,"optional":false,"callee":{"type":"MemberExpression","start":6498,"end":6521,"computed":false,"optional":false,"object":{"type":"Identifier","start":6498,"end":6510,"name":"localStorage"},"property":{"type":"Identifier","start":6511,"end":6521,"name":"removeItem"}},"arguments":[{"type":"TemplateLiteral","start":6522,"end":6549,"quasis":[{"type":"TemplateElement","start":6523,"end":6523,"tail":false,"value":{"cooked":"","raw":""}},{"type":"TemplateElement","start":6535,"end":6548,"tail":true,"value":{"cooked":"LogoutAuthUrl","raw":"LogoutAuthUrl"}}],"expressions":[{"type":"Identifier","start":6525,"end":6534,"name":"namespace"}]}]}}]},"alternate":null},{"type":"ExpressionStatement","start":6578,"end":6599,"expression":{"type":"CallExpression","start":6578,"end":6598,"optional":false,"callee":{"type":"MemberExpression","start":6578,"end":6596,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":6578,"end":6591,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":6578,"end":6582},"property":{"type":"Identifier","start":6583,"end":6591,"name":"onLogout"}},"property":{"type":"Identifier","start":6592,"end":6596,"name":"emit"}},"arguments":[]}}]},"id":null}]},"property":{"type":"Identifier","start":6624,"end":6629,"name":"catch"}},"arguments":[{"type":"ArrowFunctionExpression","start":6630,"end":6654,"async":false,"expression":true,"generator":false,"params":[],"body":{"type":"CallExpression","start":6636,"end":6654,"optional":false,"callee":{"type":"MemberExpression","start":6636,"end":6652,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":6636,"end":6640},"property":{"type":"Identifier","start":6641,"end":6652,"name":"logoutError"}},"arguments":[]},"id":null}]}}]},"expression":false},"kind":"method"},{"type":"PropertyDefinition","start":6667,"end":6827,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":6674,"end":6678,"name":"ɵfac"},"value":{"type":"FunctionExpression","start":6681,"end":6826,"async":false,"generator":false,"id":{"type":"Identifier","start":6690,"end":6715,"name":"FormioAuthService_Factory"},"params":[{"type":"Identifier","start":6716,"end":6717,"name":"t"}],"body":{"type":"BlockStatement","start":6719,"end":6826,"body":[{"type":"ReturnStatement","start":6721,"end":6824,"argument":{"type":"NewExpression","start":6728,"end":6823,"callee":{"type":"LogicalExpression","start":6733,"end":6755,"operator":"||","left":{"type":"Identifier","start":6733,"end":6734,"name":"t"},"right":{"type":"Identifier","start":6738,"end":6755,"name":"FormioAuthService"}},"arguments":[{"type":"CallExpression","start":6757,"end":6788,"optional":false,"callee":{"type":"MemberExpression","start":6757,"end":6768,"computed":false,"optional":false,"object":{"type":"Identifier","start":6757,"end":6759,"name":"i0"},"property":{"type":"Identifier","start":6760,"end":6768,"name":"ɵɵinject"}},"arguments":[{"type":"MemberExpression","start":6769,"end":6787,"computed":false,"optional":false,"object":{"type":"Identifier","start":6769,"end":6771,"name":"i1"},"property":{"type":"Identifier","start":6772,"end":6787,"name":"FormioAppConfig"}}]},{"type":"CallExpression","start":6790,"end":6822,"optional":false,"callee":{"type":"MemberExpression","start":6790,"end":6801,"computed":false,"optional":false,"object":{"type":"Identifier","start":6790,"end":6792,"name":"i0"},"property":{"type":"Identifier","start":6793,"end":6801,"name":"ɵɵinject"}},"arguments":[{"type":"MemberExpression","start":6802,"end":6821,"computed":false,"optional":false,"object":{"type":"Identifier","start":6802,"end":6804,"name":"i2"},"property":{"type":"Identifier","start":6805,"end":6821,"name":"FormioAuthConfig"}}]}]}}]},"expression":false}},{"type":"PropertyDefinition","start":6832,"end":6946,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":6839,"end":6844,"name":"ɵprov"},"value":{"type":"CallExpression","start":6861,"end":6945,"optional":false,"_rollupAnnotations":[{"end":6860,"start":6847,"type":"pure"}],"callee":{"type":"MemberExpression","start":6861,"end":6882,"computed":false,"optional":false,"object":{"type":"Identifier","start":6861,"end":6863,"name":"i0"},"property":{"type":"Identifier","start":6864,"end":6882,"name":"ɵɵdefineInjectable"}},"arguments":[{"type":"ObjectExpression","start":6883,"end":6944,"properties":[{"type":"Property","start":6885,"end":6909,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":6885,"end":6890,"name":"token"},"value":{"type":"Identifier","start":6892,"end":6909,"name":"FormioAuthService"},"kind":"init"},{"type":"Property","start":6911,"end":6942,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":6911,"end":6918,"name":"factory"},"value":{"type":"MemberExpression","start":6920,"end":6942,"computed":false,"optional":false,"object":{"type":"Identifier","start":6920,"end":6937,"name":"FormioAuthService"},"property":{"type":"Identifier","start":6938,"end":6942,"name":"ɵfac"}},"kind":"init"}]}]}}]}}},{"type":"ExpressionStatement","start":6949,"end":7166,"expression":{"type":"CallExpression","start":6949,"end":7165,"optional":false,"callee":{"type":"ArrowFunctionExpression","start":6950,"end":7162,"async":false,"expression":false,"generator":false,"params":[],"body":{"type":"BlockStatement","start":6956,"end":7162,"body":[{"type":"ExpressionStatement","start":6958,"end":7160,"expression":{"type":"LogicalExpression","start":6958,"end":7159,"operator":"&&","left":{"type":"LogicalExpression","start":6959,"end":7004,"operator":"||","left":{"type":"BinaryExpression","start":6959,"end":6991,"operator":"===","left":{"type":"UnaryExpression","start":6959,"end":6975,"operator":"typeof","argument":{"type":"Identifier","start":6966,"end":6975,"name":"ngDevMode"},"prefix":true},"right":{"type":"Literal","start":6980,"end":6991,"value":"undefined","raw":"\"undefined\""}},"right":{"type":"Identifier","start":6995,"end":7004,"name":"ngDevMode"}},"right":{"type":"CallExpression","start":7009,"end":7159,"optional":false,"callee":{"type":"MemberExpression","start":7009,"end":7029,"computed":false,"optional":false,"object":{"type":"Identifier","start":7009,"end":7011,"name":"i0"},"property":{"type":"Identifier","start":7012,"end":7029,"name":"ɵsetClassMetadata"}},"arguments":[{"type":"Identifier","start":7030,"end":7047,"name":"FormioAuthService"},{"type":"ArrayExpression","start":7049,"end":7083,"elements":[{"type":"ObjectExpression","start":7050,"end":7082,"properties":[{"type":"Property","start":7060,"end":7076,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7060,"end":7064,"name":"type"},"value":{"type":"Identifier","start":7066,"end":7076,"name":"Injectable"},"kind":"init"}]}]},{"type":"ArrowFunctionExpression","start":7085,"end":7152,"async":false,"expression":true,"generator":false,"params":[],"body":{"type":"ArrayExpression","start":7091,"end":7152,"elements":[{"type":"ObjectExpression","start":7092,"end":7120,"properties":[{"type":"Property","start":7094,"end":7118,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7094,"end":7098,"name":"type"},"value":{"type":"MemberExpression","start":7100,"end":7118,"computed":false,"optional":false,"object":{"type":"Identifier","start":7100,"end":7102,"name":"i1"},"property":{"type":"Identifier","start":7103,"end":7118,"name":"FormioAppConfig"}},"kind":"init"}]},{"type":"ObjectExpression","start":7122,"end":7151,"properties":[{"type":"Property","start":7124,"end":7149,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7124,"end":7128,"name":"type"},"value":{"type":"MemberExpression","start":7130,"end":7149,"computed":false,"optional":false,"object":{"type":"Identifier","start":7130,"end":7132,"name":"i2"},"property":{"type":"Identifier","start":7133,"end":7149,"name":"FormioAuthConfig"}},"kind":"init"}]}]},"id":null},{"type":"Literal","start":7154,"end":7158,"raw":"null","value":null}]}}}]},"id":null},"arguments":[]}}],"_rollupRemoved":[{"end":25269,"start":7167,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"import { EventEmitter, Injectable } from '@angular/core';\nimport { get, each } from 'lodash';\nimport { Formio } from '@formio/js';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@formio/angular\";\nimport * as i2 from \"./auth.config\";\nexport class FormioAuthService {\n appConfig;\n config;\n user;\n authenticated = false;\n loginForm;\n onLogin;\n onLogout;\n registerForm;\n onRegister;\n onUser;\n onError;\n resetPassForm;\n onResetPass;\n ready;\n readyResolve;\n readyReject;\n projectReady;\n accessReady;\n userReady;\n formAccess = {};\n submissionAccess = {};\n roles;\n is = {};\n constructor(appConfig, config) {\n this.appConfig = appConfig;\n this.config = config;\n this.user = null;\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 }\n else {\n console.error('You must provide an AppConfig within your application!');\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, 'resetpass.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 this.ready = new Promise((resolve, reject) => {\n this.readyResolve = resolve;\n this.readyReject = reject;\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 onLoginSubmit(submission) {\n this.setUser(submission);\n this.onLogin.emit(submission);\n }\n onRegisterSubmit(submission) {\n this.setUser(submission);\n this.onRegister.emit(submission);\n }\n onResetPassSubmit(submission) {\n this.onResetPass.emit(submission);\n }\n init() {\n this.projectReady = Formio.makeStaticRequest(this.appConfig.appUrl).then((project) => {\n each(project.access, (access) => {\n this.formAccess[access.type] = access.roles;\n });\n }, () => {\n this.formAccess = {};\n return null;\n });\n // Get the access for this project.\n this.accessReady = Formio.makeStaticRequest(this.appConfig.appUrl + '/access')\n .then((access) => {\n each(access.forms, (form) => {\n this.submissionAccess[form.name] = {};\n form.submissionAccess.forEach((subAccess) => {\n this.submissionAccess[form.name][subAccess.type] = subAccess.roles;\n });\n });\n this.roles = access.roles;\n return access;\n })\n .catch((err) => {\n if (err === 'Token Expired' || err === 'Bad Token') {\n this.setUser(null);\n }\n this.roles = {};\n return null;\n });\n let currentUserPromise;\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 // Initiate the SSO if they provide oauth settings.\n currentUserPromise = Formio.ssoInit(this.config.oauth.type, this.config.oauth.options);\n }\n else {\n currentUserPromise = Formio.currentUser(null, {\n ignoreCache: true\n });\n }\n this.userReady = currentUserPromise.then((user) => {\n this.setUser(user);\n return user;\n }).catch((err) => {\n this.setUser(null);\n throw err;\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) => this.readyReject(err));\n }\n }\n setUser(user) {\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 }\n else {\n this.user = null;\n this.is = {};\n localStorage.removeItem(`${namespace}AppUser`);\n Formio.clearCache();\n Formio.setUser(null);\n }\n this.authenticated = !!Formio.getToken();\n this.onUser.emit(this.user);\n }\n setUserRoles() {\n if (this.accessReady) {\n this.accessReady.then(() => {\n each(this.roles, (role, roleName) => {\n if (this.user.roles.indexOf(role._id) !== -1) {\n this.is[roleName] = true;\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 logout() {\n const namespace = Formio.namespace || 'formio';\n const tokenName = `${namespace}Token`;\n localStorage.removeItem(tokenName);\n if (Formio.tokens && Formio.tokens.hasOwnProperty(tokenName)) {\n delete Formio.tokens[tokenName];\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 static ɵfac = function FormioAuthService_Factory(t) { return new (t || FormioAuthService)(i0.ɵɵinject(i1.FormioAppConfig), i0.ɵɵinject(i2.FormioAuthConfig)); };\n static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FormioAuthService, factory: FormioAuthService.ɵfac });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormioAuthService, [{\n type: Injectable\n }], () => [{ type: i1.FormioAppConfig }, { type: i2.FormioAuthConfig }], null); })();\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vYXV0aC9zcmMvYXV0aC5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsVUFBVSxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBR2pFLE9BQU8sRUFBRSxHQUFHLE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25Qcm9wZXJ0eSh0b2tlbk5hbWUpKSB7XG4gICAgICBkZWxldGUgKEZvcm1pbyBhcyBhbnkpLnRva2Vuc1t0b2tlbk5hbWVdO1xuICAgIH1cblxuICAgIEZvcm1pby5sb2dvdXQoKVxuICAgICAgLnRoZW4oKCkgPT4ge1xuICAgICAgICB0aGlzLnNldFVzZXIobnVsbCk7XG4gICAgICAgIGlmIChsb2NhbFN0b3JhZ2UuZ2V0SXRlbShgJHtuYW1lc3BhY2V9TG9nb3V0QXV0aFVybGApKSB7XG4gICAgICAgICAgd2luZG93Lm9wZW4obG9jYWxTdG9yYWdlLmdldEl0ZW0oYCR7bmFtZXNwYWNlfUxvZ291dEF1dGhVcmxgKSwgbnVsbCwgJ3dpZHRoPTEwMjAsaGVpZ2h0PTYxOCcpO1xuICAgICAgICAgIGxvY2FsU3RvcmFnZS5yZW1vdmVJdGVtKGAke25hbWVzcGFjZX1Mb2dvdXRBdXRoVXJsYCk7XG4gICAgICAgIH1cbiAgICAgICAgdGhpcy5vbkxvZ291dC5lbWl0KCk7XG4gICAgICB9KVxuICAgICAgLmNhdGNoKCgpID0+IHRoaXMubG9nb3V0RXJyb3IoKSk7XG4gIH1cbn1cbiJdfQ==","customTransformCache":false,"dependencies":["@angular/core","lodash","@formio/js","@formio/angular","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/auth.config.mjs"],"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/auth.service.mjs","meta":{},"moduleSideEffects":false,"originalCode":"import { EventEmitter, Injectable } from '@angular/core';\nimport { get, each } from 'lodash';\nimport { Formio } from '@formio/js';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@formio/angular\";\nimport * as i2 from \"./auth.config\";\nexport class FormioAuthService {\n appConfig;\n config;\n user;\n authenticated = false;\n loginForm;\n onLogin;\n onLogout;\n registerForm;\n onRegister;\n onUser;\n onError;\n resetPassForm;\n onResetPass;\n ready;\n readyResolve;\n readyReject;\n projectReady;\n accessReady;\n userReady;\n formAccess = {};\n submissionAccess = {};\n roles;\n is = {};\n constructor(appConfig, config) {\n this.appConfig = appConfig;\n this.config = config;\n this.user = null;\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 }\n else {\n console.error('You must provide an AppConfig within your application!');\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, 'resetpass.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 this.ready = new Promise((resolve, reject) => {\n this.readyResolve = resolve;\n this.readyReject = reject;\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 onLoginSubmit(submission) {\n this.setUser(submission);\n this.onLogin.emit(submission);\n }\n onRegisterSubmit(submission) {\n this.setUser(submission);\n this.onRegister.emit(submission);\n }\n onResetPassSubmit(submission) {\n this.onResetPass.emit(submission);\n }\n init() {\n this.projectReady = Formio.makeStaticRequest(this.appConfig.appUrl).then((project) => {\n each(project.access, (access) => {\n this.formAccess[access.type] = access.roles;\n });\n }, () => {\n this.formAccess = {};\n return null;\n });\n // Get the access for this project.\n this.accessReady = Formio.makeStaticRequest(this.appConfig.appUrl + '/access')\n .then((access) => {\n each(access.forms, (form) => {\n this.submissionAccess[form.name] = {};\n form.submissionAccess.forEach((subAccess) => {\n this.submissionAccess[form.name][subAccess.type] = subAccess.roles;\n });\n });\n this.roles = access.roles;\n return access;\n })\n .catch((err) => {\n if (err === 'Token Expired' || err === 'Bad Token') {\n this.setUser(null);\n }\n this.roles = {};\n return null;\n });\n let currentUserPromise;\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 // Initiate the SSO if they provide oauth settings.\n currentUserPromise = Formio.ssoInit(this.config.oauth.type, this.config.oauth.options);\n }\n else {\n currentUserPromise = Formio.currentUser(null, {\n ignoreCache: true\n });\n }\n this.userReady = currentUserPromise.then((user) => {\n this.setUser(user);\n return user;\n }).catch((err) => {\n this.setUser(null);\n throw err;\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) => this.readyReject(err));\n }\n }\n setUser(user) {\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 }\n else {\n this.user = null;\n this.is = {};\n localStorage.removeItem(`${namespace}AppUser`);\n Formio.clearCache();\n Formio.setUser(null);\n }\n this.authenticated = !!Formio.getToken();\n this.onUser.emit(this.user);\n }\n setUserRoles() {\n if (this.accessReady) {\n this.accessReady.then(() => {\n each(this.roles, (role, roleName) => {\n if (this.user.roles.indexOf(role._id) !== -1) {\n this.is[roleName] = true;\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 logout() {\n const namespace = Formio.namespace || 'formio';\n const tokenName = `${namespace}Token`;\n localStorage.removeItem(tokenName);\n if (Formio.tokens && Formio.tokens.hasOwnProperty(tokenName)) {\n delete Formio.tokens[tokenName];\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 static ɵfac = function FormioAuthService_Factory(t) { return new (t || FormioAuthService)(i0.ɵɵinject(i1.FormioAppConfig), i0.ɵɵinject(i2.FormioAuthConfig)); };\n static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FormioAuthService, factory: FormioAuthService.ɵfac });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormioAuthService, [{\n type: Injectable\n }], () => [{ type: i1.FormioAppConfig }, { type: i2.FormioAuthConfig }], null); })();\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vYXV0aC9zcmMvYXV0aC5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsVUFBVSxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBR2pFLE9BQU8sRUFBRSxHQUFHLEVBQUUsSUFBSSxFQUFFLE1BQU0sUUFBUSxDQUFDO0FBQ25DLE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSxZQUFZLENBQUM7Ozs7QUFHcEMsTUFBTSxPQUFPLGlCQUFpQjtJQTZCbkI7SUFDQTtJQTdCRixJQUFJLENBQU07SUFDVixhQUFhLEdBQUcsS0FBSyxDQUFDO0lBRXRCLFNBQVMsQ0FBUztJQUNsQixPQUFPLENBQXVCO0lBQzlCLFFBQVEsQ0FBdUI7SUFFL0IsWUFBWSxDQUFTO0lBQ3JCLFVBQVUsQ0FBdUI7SUFDakMsTUFBTSxDQUF1Qj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oYCR7bmFtZXNwYWNlfUxvZ291dEF1dGhVcmxgKSwgbnVsbCwgJ3dpZHRoPTEwMjAsaGVpZ2h0PTYxOCcpO1xuICAgICAgICAgIGxvY2FsU3RvcmFnZS5yZW1vdmVJdGVtKGAke25hbWVzcGFjZX1Mb2dvdXRBdXRoVXJsYCk7XG4gICAgICAgIH1cbiAgICAgICAgdGhpcy5vbkxvZ291dC5lbWl0KCk7XG4gICAgICB9KVxuICAgICAgLmNhdGNoKCgpID0+IHRoaXMubG9nb3V0RXJyb3IoKSk7XG4gIH1cbn1cbiJdfQ==","originalSourcemap":{"version":3,"file":"auth.service.js","sourceRoot":"","sources":["../../../../projects/angular-formio/auth/src/auth.service.ts"],"names":[],"mappings":[[[0,0,0,0],[7,0,0,7],[9,0,0,9],[21,0,0,21],[23,0,0,23],[33,0,0,33],[35,0,0,43],[41,0,0,49],[56,0,0,64],[57,0,0,65]],[[0,0,3,0],[7,0,3,7],[9,0,3,9],[12,0,3,12],[14,0,3,14],[18,0,3,18],[20,0,3,20],[26,0,3,26],[34,0,3,34],[35,0,3,35]],[[0,0,4,0],[7,0,4,7],[9,0,4,9],[15,0,4,15],[17,0,4,17],[23,0,4,23],[35,0,4,35],[36,0,4,36]],[],[],[],[[0,0,7,0],[6,0,7,6],[13,0,7,13],[30,0,7,30]],[[4,0,36,11]],[[4,0,37,11]],[[4,0,8,9],[8,0,8,13],[9,0,8,19]],[[4,0,9,9],[17,0,9,22],[20,0,9,25],[25,0,9,30],[26,0,9,31]],[[4,0,11,9],[13,0,11,18],[14,0,11,27]],[[4,0,12,9],[11,0,12,16],[12,0,12,39]],[[4,0,13,9],[12,0,13,17],[13,0,13,40]],[[4,0,15,9],[16,0,15,21],[17,0,15,30]],[[4,0,16,9],[14,0,16,19],[15,0,16,42]],[[4,0,17,9],[10,0,17,15],[11,0,17,38]],[[4,0,18,9],[11,0,18,16],[12,0,18,36]],[[4,0,20,9],[17,0,20,22],[18,0,20,31]],[[4,0,21,9],[15,0,21,20],[16,0,21,43]],[[4,0,23,9],[9,0,23,14],[10,0,23,33]],[[4,0,24,9],[16,0,24,21],[17,0,24,27]],[[4,0,25,9],[15,0,25,20],[16,0,25,26]],[[4,0,27,9],[16,0,27,21],[17,0,27,37]],[[4,0,28,9],[15,0,28,20],[16,0,28,36]],[[4,0,29,9],[13,0,29,18],[14,0,29,34]],[[4,0,30,9],[14,0,30,19],[17,0,30,27],[19,0,30,29],[20,0,30,30]],[[4,0,31,9],[20,0,31,25],[23,0,31,33],[25,0,31,35],[26,0,31,36]],[[4,0,32,9],[9,0,32,14],[10,0,32,20]],[[4,0,33,9],[6,0,33,11],[9,0,33,19],[11,0,33,21],[12,0,33,22]],[[4,0,35,2],[16,0,36,11],[25,0,36,37],[27,0,37,11],[33,0,37,35]],[[8,0,36,11],[22,0,36,20],[25,0,36,11],[34,0,36,20],[35,0,36,37]],[[8,0,37,11],[19,0,37,17],[22,0,37,11],[28,0,37,17],[29,0,37,35]],[[8,0,39,4],[12,0,39,8],[13,0,39,9],[17,0,39,13],[20,0,39,16],[24,0,39,20],[25,0,39,21]],[[8,0,41,4],[12,0,41,8],[16,0,41,12],[17,0,41,13],[26,0,41,22],[30,0,41,26],[34,0,41,30],[35,0,41,31],[44,0,41,40],[45,0,41,41],[51,0,41,47],[53,0,41,49],[54,0,41,50]],[[12,0,42,6],[18,0,42,12],[19,0,42,13],[29,0,42,23],[30,0,42,24],[34,0,42,28],[35,0,42,29],[44,0,42,38],[45,0,42,39],[51,0,42,45],[52,0,42,46],[53,0,42,47]],[[12,0,43,6],[18,0,43,12],[19,0,43,13],[32,0,43,26],[33,0,43,27],[37,0,43,31],[38,0,43,32],[47,0,43,41],[48,0,43,42],[54,0,43,48],[55,0,43,49],[56,0,43,50]],[[12,0,44,6],[18,0,44,12],[19,0,44,13],[27,0,44,21],[30,0,44,24],[31,0,44,25],[32,0,44,26],[36,0,44,30],[37,0,44,31],[46,0,44,40],[47,0,44,41],[55,0,44,49],[56,0,44,50]],[[8,0,45,4],[9,0,45,5]],[[13,0,45,11],[14,0,45,12]],[[12,0,46,6],[19,0,46,13],[20,0,46,14],[25,0,46,19],[26,0,46,20],[82,0,46,76],[83,0,46,77],[84,0,46,78]],[[8,0,47,4],[9,0,47,5]],[[8,0,49,4],[12,0,49,8],[13,0,49,9],[22,0,49,18]],[[12,0,50,6],[16,0,50,10],[17,0,50,11],[26,0,50,20],[27,0,50,21],[33,0,50,27]],[[16,0,51,6],[19,0,51,9]],[[16,0,52,6],[19,0,52,9],[20,0,52,10],[24,0,52,14],[25,0,52,15],[31,0,52,21],[33,0,52,23],[45,0,52,35],[47,0,52,37],[59,0,52,49],[60,0,52,50],[61,0,52,51]],[[8,0,53,4],[12,0,53,8],[13,0,53,9],[25,0,53,21]],[[12,0,54,6],[16,0,54,10],[17,0,54,11],[26,0,54,20],[27,0,54,21],[33,0,54,27]],[[16,0,55,6],[19,0,55,9]],[[16,0,56,6],[19,0,56,9],[20,0,56,10],[24,0,56,14],[25,0,56,15],[31,0,56,21],[33,0,56,23],[48,0,56,38],[50,0,56,40],[65,0,56,55],[66,0,56,56],[67,0,56,57]],[[8,0,57,4],[12,0,57,8],[13,0,57,9],[26,0,57,22]],[[12,0,58,6],[16,0,58,10],[17,0,58,11],[26,0,58,20],[27,0,58,21],[33,0,58,27]],[[16,0,59,6],[19,0,59,9]],[[16,0,60,6],[19,0,60,9],[20,0,60,10],[24,0,60,14],[25,0,60,15],[31,0,60,21],[33,0,60,23],[49,0,60,39],[51,0,60,41],[62,0,60,52],[63,0,60,53],[64,0,60,54]],[[8,0,61,4],[12,0,61,8],[13,0,61,9],[20,0,61,16],[23,0,61,19],[27,0,61,23],[39,0,61,35],[41,0,61,37],[42,0,61,38]],[[8,0,62,4],[12,0,62,8],[13,0,62,9],[21,0,62,17],[24,0,62,20],[28,0,62,24],[40,0,62,36],[42,0,62,38],[43,0,62,39]],[[8,0,63,4],[12,0,63,8],[13,0,63,9],[23,0,63,19],[26,0,63,22],[30,0,63,26],[42,0,63,38],[44,0,63,40],[45,0,63,41]],[[8,0,64,4],[12,0,64,8],[13,0,64,9],[19,0,64,15],[22,0,64,18],[26,0,64,22],[38,0,64,34],[40,0,64,36],[41,0,64,37]],[[8,0,65,4],[12,0,65,8],[13,0,65,9],[20,0,65,16],[23,0,65,19],[27,0,65,23],[39,0,65,35],[41,0,65,37],[42,0,65,38]],[[8,0,67,4],[12,0,67,8],[13,0,67,9],[18,0,67,14],[21,0,67,17],[25,0,67,21],[32,0,67,28],[33,0,67,29],[34,0,67,30],[41,0,67,42],[43,0,67,44],[49,0,67,55],[51,0,67,57],[53,0,67,59]],[[12,0,68,6],[16,0,68,10],[17,0,68,11],[29,0,68,23],[32,0,68,26],[39,0,68,33],[40,0,68,34]],[[12,0,69,6],[16,0,69,10],[17,0,69,11],[28,0,69,22],[31,0,69,25],[37,0,69,31],[38,0,69,32]],[[8,0,70,4],[9,0,70,5],[10,0,70,6],[11,0,70,7]],[[8,0,72,4],[40,0,72,36]],[[8,0,73,4],[14,0,73,10],[15,0,73,11],[21,0,73,17],[22,0,73,18],[24,0,73,20],[25,0,73,21],[42,0,73,38],[44,0,73,40],[47,0,73,43],[49,0,73,45],[50,0,73,46],[54,0,73,50],[55,0,73,51],[66,0,73,62],[68,0,73,64],[69,0,73,65],[70,0,73,66]],[[8,0,74,4],[14,0,74,10],[15,0,74,11],[21,0,74,17],[22,0,74,18],[24,0,74,20],[25,0,74,21],[48,0,74,44],[50,0,74,46],[53,0,74,49],[55,0,74,51],[56,0,74,52],[60,0,74,56],[61,0,74,57],[72,0,74,68],[74,0,74,70],[75,0,74,71],[76,0,74,72]],[[8,0,75,4],[12,0,75,8],[13,0,75,9],[17,0,75,13],[18,0,75,14],[24,0,75,20],[25,0,75,21],[34,0,75,30],[36,0,75,32],[37,0,75,33]],[[12,0,76,6],[16,0,76,10],[17,0,76,11],[21,0,76,15],[23,0,76,17],[24,0,76,18]],[[8,0,77,4],[9,0,77,5]],[[4,0,78,2],[5,0,78,3]],[[4,0,80,2],[17,0,80,15],[18,0,80,16],[28,0,80,34]],[[8,0,81,4],[12,0,81,8],[13,0,81,9],[20,0,81,16],[21,0,81,17],[31,0,81,27],[32,0,81,28],[33,0,81,29]],[[8,0,82,4],[12,0,82,8],[13,0,82,9],[20,0,82,16],[21,0,82,17],[25,0,82,21],[26,0,82,22],[36,0,82,32],[37,0,82,33],[38,0,82,34]],[[4,0,83,2],[5,0,83,3]],[[4,0,85,2],[20,0,85,18],[21,0,85,19],[31,0,85,37]],[[8,0,86,4],[12,0,86,8],[13,0,86,9],[20,0,86,16],[21,0,86,17],[31,0,86,27],[32,0,86,28],[33,0,86,29]],[[8,0,87,4],[12,0,87,8],[13,0,87,9],[23,0,87,19],[24,0,87,20],[28,0,87,24],[29,0,87,25],[39,0,87,35],[40,0,87,36],[41,0,87,37]],[[4,0,88,2],[5,0,88,3]],[[4,0,90,2],[21,0,90,19],[22,0,90,20],[32,0,90,38]],[[8,0,91,4],[12,0,91,8],[13,0,91,9],[24,0,91,20],[25,0,91,21],[29,0,91,25],[30,0,91,26],[40,0,91,36],[41,0,91,37],[42,0,91,38]],[[4,0,92,2],[5,0,92,3]],[[4,0,94,2],[8,0,94,6]],[[8,0,95,4],[12,0,95,8],[13,0,95,9],[25,0,95,21],[28,0,95,24],[34,0,95,30],[35,0,95,31],[52,0,95,48],[53,0,95,49],[57,0,95,53],[58,0,95,54],[67,0,95,63],[68,0,95,64],[74,0,95,70],[75,0,95,71],[76,0,95,72],[80,0,95,76],[81,0,96,6],[82,0,96,7],[89,0,96,19],[91,0,96,21],[93,0,96,23]],[[12,0,97,8],[16,0,97,12],[17,0,97,13],[24,0,97,20],[25,0,97,21],[31,0,97,27],[33,0,97,29],[34,0,97,30],[40,0,97,41],[42,0,97,43],[44,0,97,45]],[[16,0,98,10],[20,0,98,14],[21,0,98,15],[31,0,98,25],[32,0,98,26],[38,0,98,32],[39,0,98,33],[43,0,98,37],[44,0,98,38],[47,0,98,41],[53,0,98,47],[54,0,98,48],[59,0,98,53],[60,0,98,54]],[[12,0,99,8],[13,0,99,9],[14,0,99,10],[15,0,99,11]],[[8,0,100,6],[9,0,100,7],[11,0,101,6],[14,0,101,14],[16,0,101,16]],[[12,0,102,8],[16,0,102,12],[17,0,102,13],[27,0,102,23],[30,0,102,26],[32,0,102,28],[33,0,102,29]],[[12,0,103,8],[19,0,103,15],[23,0,103,19],[24,0,103,20]],[[8,0,104,6],[9,0,104,7],[10,0,105,5],[11,0,105,6]],[[8,0,107,4],[43,0,107,39]],[[8,0,108,4],[12,0,108,8],[13,0,108,9],[24,0,108,20],[27,0,108,23],[33,0,108,29],[34,0,108,30],[51,0,108,47],[52,0,109,6],[56,0,109,10],[57,0,109,11],[66,0,109,20],[67,0,109,21],[73,0,109,27],[76,0,109,30],[85,0,109,39],[86,0,110,5]],[[13,0,111,7],[17,0,111,11],[18,0,111,12],[19,0,111,13],[25,0,111,24],[27,0,111,26],[29,0,111,28]],[[12,0,112,8],[16,0,112,12],[17,0,112,13],[23,0,112,19],[24,0,112,20],[29,0,112,25],[31,0,112,27],[32,0,112,28],[36,0,112,37],[38,0,112,39],[40,0,112,41]],[[16,0,113,10],[20,0,113,14],[21,0,113,15],[37,0,113,31],[38,0,113,32],[42,0,113,36],[43,0,113,37],[47,0,113,41],[48,0,113,42],[51,0,113,45],[53,0,113,47],[54,0,113,48]],[[16,0,114,10],[20,0,114,14],[21,0,114,15],[37,0,114,31],[38,0,114,32],[45,0,114,39],[46,0,114,40],[47,0,114,41],[56,0,114,55],[58,0,114,57],[60,0,114,59]],[[20,0,115,12],[24,0,115,16],[25,0,115,17],[41,0,115,33],[42,0,115,34],[46,0,115,38],[47,0,115,39],[51,0,115,43],[52,0,115,44],[53,0,115,45],[62,0,115,54],[63,0,115,55],[67,0,115,59],[68,0,115,60],[71,0,115,63],[80,0,115,72],[81,0,115,73],[86,0,115,78],[87,0,115,79]],[[16,0,116,10],[17,0,116,11],[18,0,116,12],[19,0,116,13]],[[12,0,117,8],[13,0,117,9],[14,0,117,10],[15,0,117,11]],[[12,0,118,8],[16,0,118,12],[17,0,118,13],[22,0,118,18],[25,0,118,21],[31,0,118,27],[32,0,118,28],[37,0,118,33],[38,0,118,34]],[[12,0,119,8],[19,0,119,15],[25,0,119,21],[26,0,119,22]],[[8,0,120,6],[9,0,120,7],[10,0,120,8]],[[13,0,121,7],[18,0,121,12],[19,0,121,13],[20,0,121,14],[23,0,121,17],[25,0,121,24],[27,0,121,26]],[[12,0,122,8],[16,0,122,12],[19,0,122,15],[24,0,122,20],[39,0,122,35],[43,0,122,39],[46,0,122,42],[51,0,122,47],[62,0,122,58],[64,0,122,60],[65,0,122,61]],[[16,0,123,10],[20,0,123,14],[21,0,123,15],[28,0,123,22],[29,0,123,23],[33,0,123,27],[34,0,123,28],[35,0,123,29]],[[12,0,124,8],[13,0,124,9]],[[12,0,125,8],[16,0,125,12],[17,0,125,13],[22,0,125,18],[25,0,125,21],[27,0,125,23],[28,0,125,24]],[[12,0,126,8],[19,0,126,15],[23,0,126,19],[24,0,126,20]],[[8,0,127,6],[9,0,127,7],[10,0,127,8],[11,0,127,8]],[[8,0,129,4],[12,0,129,8],[30,0,129,40],[31,0,129,41]],[[8,0,130,4],[12,0,130,8],[16,0,130,12],[17,0,130,13],[23,0,130,19],[24,0,130,20],[29,0,130,25],[31,0,130,27],[32,0,130,28]],[[12,0,131,6],[90,0,131,84]],[[12,0,132,6],[16,0,132,10],[22,0,132,16],[23,0,132,17],[31,0,132,25],[32,0,132,26],[36,0,132,30],[40,0,132,34],[46,0,132,40],[47,0,132,41],[55,0,132,49],[56,0,132,50],[60,0,132,54],[61,0,132,55],[66,0,132,60],[67,0,132,61],[85,0,132,79],[86,0,132,80],[88,0,132,82],[89,0,132,83]],[[16,0,133,8],[23,0,133,15],[24,0,133,16],[33,0,133,25],[34,0,133,26],[38,0,133,30],[40,0,133,32],[44,0,133,36],[46,0,133,38],[52,0,133,44],[53,0,133,45],[61,0,133,53],[62,0,133,54],[66,0,133,58],[67,0,133,59],[74,0,133,66],[75,0,133,67],[93,0,133,85],[95,0,133,87],[110,0,133,102],[111,0,133,103],[112,0,133,104],[113,0,133,105]],[[12,0,134,6],[13,0,134,7]],[[12,0,136,6],[63,0,136,57]],[[12,0,137,6],[30,0,137,24],[33,0,137,27],[39,0,137,33],[40,0,137,34],[47,0,137,41],[48,0,137,42],[52,0,137,46],[53,0,137,47],[59,0,137,53],[60,0,137,54],[65,0,137,59],[66,0,137,60],[70,0,137,64],[72,0,137,66],[76,0,137,70],[77,0,137,71],[83,0,137,77],[84,0,137,78],[89,0,137,83],[90,0,137,84],[97,0,137,91],[98,0,137,92],[99,0,137,93]],[[8,0,138,4],[9,0,138,5]],[[13,0,138,11],[14,0,138,12]],[[12,0,139,6],[30,0,139,24],[33,0,139,27],[39,0,139,33],[40,0,139,34],[51,0,139,45],[52,0,139,46],[56,0,139,50],[58,0,139,52]],[[16,0,140,8],[27,0,140,19],[29,0,140,21],[33,0,140,25]],[[13,0,141,7],[14,0,141,8],[15,0,141,9]],[[8,0,142,4],[9,0,142,5]],[[8,0,144,4],[12,0,144,8],[13,0,144,9],[22,0,144,18],[25,0,144,21],[43,0,144,39],[44,0,144,40],[48,0,144,44],[49,0,144,45],[50,0,144,46],[54,0,144,55],[56,0,144,57],[58,0,144,59]],[[12,0,145,6],[16,0,145,10],[17,0,145,11],[24,0,145,18],[25,0,145,19],[29,0,145,23],[30,0,145,24],[31,0,145,25]],[[12,0,146,6],[19,0,146,13],[23,0,146,17],[24,0,146,18]],[[8,0,147,4],[9,0,147,5],[10,0,147,6],[11,0,147,7],[16,0,147,12],[17,0,147,13],[18,0,147,14],[21,0,147,17],[23,0,147,19],[25,0,147,21]],[[12,0,148,6],[16,0,148,10],[17,0,148,11],[24,0,148,18],[25,0,148,19],[29,0,148,23],[30,0,148,24],[31,0,148,25]],[[12,0,149,6],[18,0,149,12],[21,0,149,15],[22,0,149,16]],[[8,0,150,4],[9,0,150,5],[10,0,150,6],[11,0,150,7]],[[8,0,152,4],[63,0,152,59]],[[8,0,153,4],[12,0,153,8],[16,0,153,12],[17,0,153,13],[28,0,153,24],[30,0,153,26],[31,0,153,27]],[[12,0,154,6],[16,0,154,10],[17,0,154,11],[28,0,154,22]],[[17,0,155,9],[21,0,155,13],[22,0,155,14],[25,0,155,17],[27,0,155,19],[28,0,155,20],[32,0,155,24],[33,0,155,25],[45,0,155,37],[46,0,155,38]],[[17,0,156,9],[21,0,156,13],[22,0,156,14],[25,0,156,17],[27,0,156,19],[28,0,156,20],[32,0,156,24],[33,0,156,25],[42,0,156,34],[43,0,156,35]],[[17,0,157,9],[21,0,157,13],[22,0,157,14],[25,0,157,17],[27,0,157,19],[28,0,157,20],[32,0,157,24],[33,0,157,25],[45,0,157,37],[46,0,157,38],[50,0,157,42],[51,0,157,43],[52,0,157,44]],[[17,0,158,9],[22,0,158,14],[23,0,158,15],[24,0,158,16],[27,0,158,24],[29,0,158,26],[31,0,158,28],[32,0,158,29],[36,0,158,33],[37,0,158,34],[48,0,158,45],[49,0,158,46],[52,0,158,49],[53,0,158,50],[54,0,158,51],[55,0,158,52]],[[8,0,159,4],[9,0,159,5]],[[4,0,160,2],[5,0,160,3]],[[4,0,162,2],[11,0,162,9],[12,0,162,10],[16,0,162,19]],[[8,0,163,4],[14,0,163,10],[23,0,163,19],[26,0,163,22],[32,0,163,28],[33,0,163,29],[42,0,163,38],[46,0,163,42],[54,0,163,50],[55,0,163,51]],[[8,0,164,4],[12,0,164,8],[16,0,164,12],[18,0,164,14],[19,0,164,15]],[[12,0,165,6],[16,0,165,10],[17,0,165,11],[21,0,165,15],[24,0,165,18],[28,0,165,22],[29,0,165,23]],[[12,0,166,6],[24,0,166,18],[25,0,166,19],[32,0,166,26],[33,0,166,27],[36,0,166,30],[45,0,166,39],[54,0,166,48],[56,0,166,50],[60,0,166,54],[61,0,166,55],[70,0,166,64],[71,0,166,65],[75,0,166,69],[76,0,166,70],[77,0,166,71],[78,0,166,72]],[[12,0,167,6],[16,0,167,10],[17,0,167,11],[29,0,167,23],[31,0,167,25],[32,0,167,26]],[[12,0,168,6],[18,0,168,12],[19,0,168,13],[26,0,168,20],[27,0,168,21],[31,0,168,25],[32,0,168,26],[33,0,168,27]],[[8,0,169,4],[9,0,169,5]],[[13,0,169,11],[14,0,169,12]],[[12,0,170,6],[16,0,170,10],[17,0,170,11],[21,0,170,15],[24,0,170,18],[28,0,170,22],[29,0,170,23]],[[12,0,171,6],[16,0,171,10],[17,0,171,11],[19,0,171,13],[22,0,171,16],[24,0,171,18],[25,0,171,19]],[[12,0,172,6],[24,0,172,18],[25,0,172,19],[35,0,172,29],[36,0,172,30],[39,0,172,33],[48,0,172,42],[57,0,172,51],[58,0,172,52],[59,0,172,53]],[[12,0,173,6],[18,0,173,12],[19,0,173,13],[29,0,173,23],[31,0,173,25],[32,0,173,26]],[[12,0,174,6],[18,0,174,12],[19,0,174,13],[26,0,174,20],[27,0,174,21],[31,0,174,25],[32,0,174,26],[33,0,174,27]],[[8,0,175,4],[9,0,175,5]],[[8,0,177,4],[12,0,177,8],[13,0,177,9],[26,0,177,22],[29,0,177,25],[30,0,177,26],[31,0,177,27],[37,0,177,33],[38,0,177,34],[46,0,177,42],[48,0,177,44],[49,0,177,45]],[[8,0,178,4],[12,0,178,8],[13,0,178,9],[19,0,178,15],[20,0,178,16],[24,0,178,20],[25,0,178,21],[29,0,178,25],[30,0,178,26],[34,0,178,30],[35,0,178,31],[36,0,178,32]],[[4,0,179,2],[5,0,179,3]],[[4,0,181,2],[16,0,181,14]],[[8,0,182,4],[12,0,182,8],[16,0,182,12],[17,0,182,13],[28,0,182,24],[30,0,182,26],[31,0,182,27]],[[12,0,183,6],[16,0,183,10],[17,0,183,11],[28,0,183,22],[29,0,183,23],[33,0,183,27],[34,0,183,28],[37,0,183,31],[39,0,183,33]],[[16,0,184,8],[20,0,184,12],[21,0,184,13],[25,0,184,17],[26,0,184,18],[31,0,184,23],[33,0,184,25],[34,0,184,26],[38,0,184,35],[40,0,184,37],[48,0,184,53],[50,0,184,55],[52,0,184,57]],[[20,0,185,10],[24,0,185,14],[28,0,185,18],[29,0,185,19],[33,0,185,23],[34,0,185,24],[39,0,185,29],[40,0,185,30],[47,0,185,37],[48,0,185,38],[52,0,185,42],[53,0,185,43],[56,0,185,46],[57,0,185,47],[62,0,185,52],[63,0,185,53],[64,0,185,54],[66,0,185,56],[67,0,185,57]],[[24,0,186,12],[28,0,186,16],[29,0,186,17],[31,0,186,19],[32,0,186,20],[40,0,186,28],[41,0,186,29],[44,0,186,32],[48,0,186,36],[49,0,186,37]],[[20,0,187,10],[21,0,187,11]],[[16,0,188,8],[17,0,188,9],[18,0,188,10],[19,0,188,11]],[[12,0,189,6],[13,0,189,7],[14,0,189,8],[15,0,189,9]],[[8,0,190,4],[9,0,190,5]],[[4,0,191,2],[5,0,191,3]],[[4,0,193,2],[15,0,193,13]],[[8,0,194,4],[12,0,194,8],[13,0,194,9],[20,0,194,16],[21,0,194,17],[25,0,194,21],[26,0,194,22],[27,0,194,23]],[[8,0,195,4],[14,0,195,10],[23,0,195,19],[26,0,195,22],[32,0,195,28],[33,0,195,29],[42,0,195,38],[46,0,195,42],[54,0,195,50],[55,0,195,51]],[[8,0,196,4],[20,0,196,16],[21,0,196,17],[31,0,196,27],[32,0,196,28],[35,0,196,31],[44,0,196,40],[51,0,196,47],[52,0,196,48],[53,0,196,49]],[[8,0,197,4],[12,0,197,8],[13,0,197,9],[20,0,197,16],[21,0,197,17],[25,0,197,21],[27,0,197,23],[28,0,197,24]],[[4,0,198,2],[5,0,198,3]],[[4,0,200,2],[10,0,200,8]],[[8,0,201,4],[14,0,201,10],[23,0,201,19],[26,0,201,22],[32,0,201,28],[33,0,201,29],[42,0,201,38],[46,0,201,42],[54,0,201,50],[55,0,201,51]],[[8,0,202,4],[14,0,202,10],[23,0,202,19],[26,0,202,22],[29,0,202,25],[38,0,202,34],[45,0,202,41],[46,0,202,42]],[[8,0,204,4],[20,0,204,16],[21,0,204,17],[31,0,204,27],[32,0,204,28],[41,0,204,37],[42,0,204,38],[43,0,204,39]],[[8,0,205,4],[12,0,205,9],[18,0,205,23],[19,0,205,24],[25,0,205,30],[29,0,205,35],[35,0,205,49],[36,0,205,50],[42,0,205,56],[43,0,205,57],[57,0,205,71],[58,0,205,72],[67,0,205,81],[68,0,205,82],[70,0,205,84],[71,0,205,85]],[[12,0,206,6],[19,0,206,14],[25,0,206,28],[26,0,206,29],[32,0,206,35],[33,0,206,36],[42,0,206,45],[43,0,206,46],[44,0,206,47]],[[8,0,207,4],[9,0,207,5]],[[8,0,209,4],[14,0,209,10],[15,0,209,11],[21,0,209,17],[23,0,209,19]],[[13,0,210,7],[17,0,210,11],[18,0,210,12],[21,0,210,15],[23,0,210,17]],[[12,0,211,8],[16,0,211,12],[17,0,211,13],[24,0,211,20],[25,0,211,21],[29,0,211,25],[30,0,211,26],[31,0,211,27]],[[12,0,212,8],[16,0,212,12],[28,0,212,24],[29,0,212,25],[36,0,212,32],[37,0,212,33],[40,0,212,36],[49,0,212,45],[64,0,212,60],[65,0,212,61],[67,0,212,63],[68,0,212,64]],[[16,0,213,10],[22,0,213,16],[23,0,213,17],[27,0,213,21],[28,0,213,22],[40,0,213,34],[41,0,213,35],[48,0,213,42],[49,0,213,43],[52,0,213,46],[61,0,213,55],[76,0,213,70],[77,0,213,71],[79,0,213,73],[83,0,213,77],[85,0,213,79],[108,0,213,102],[109,0,213,103],[110,0,213,104]],[[16,0,214,10],[28,0,214,22],[29,0,214,23],[39,0,214,33],[40,0,214,34],[43,0,214,37],[52,0,214,46],[67,0,214,61],[68,0,214,62],[69,0,214,63]],[[12,0,215,8],[13,0,215,9]],[[12,0,216,8],[16,0,216,12],[17,0,216,13],[25,0,216,21],[26,0,216,22],[30,0,216,26],[32,0,216,28],[33,0,216,29]],[[8,0,217,6],[9,0,217,7],[10,0,217,8]],[[13,0,218,7],[18,0,218,12],[19,0,218,13],[22,0,218,16],[24,0,218,18],[25,0,218,19],[29,0,218,23],[30,0,218,24],[41,0,218,35],[43,0,218,37],[44,0,218,38],[45,0,218,39]],[[4,0,219,2],[5,0,219,3]],[[75,0,7,13],[92,0,7,30]],[[64,0,7,13],[81,0,7,30],[92,0,7,13],[109,0,7,30]],[],[[81,0,7,13],[98,0,7,30]],[[14,0,6,1],[24,0,6,11]]],"sourcesContent":["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, 'resetpass.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"]},"resolvedIds":{"@angular/core":{"attributes":{},"external":true,"id":"@angular/core","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"lodash":{"attributes":{},"external":true,"id":"lodash","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"@formio/js":{"attributes":{},"external":true,"id":"@formio/js","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"@formio/angular":{"attributes":{},"external":true,"id":"@formio/angular","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"./auth.config":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/auth.config.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":4154,"body":[{"type":"ImportDeclaration","start":0,"end":42,"specifiers":[{"type":"ImportSpecifier","start":9,"end":18,"imported":{"type":"Identifier","start":9,"end":18,"name":"Component"},"local":{"type":"Identifier","start":9,"end":18,"name":"Component"}}],"source":{"type":"Literal","start":26,"end":41,"value":"@angular/core","raw":"'@angular/core'"},"attributes":[]},{"type":"ImportDeclaration","start":43,"end":79,"specifiers":[{"type":"ImportNamespaceSpecifier","start":50,"end":57,"local":{"type":"Identifier","start":55,"end":57,"name":"i0"}}],"source":{"type":"Literal","start":63,"end":78,"value":"@angular/core","raw":"\"@angular/core\""},"attributes":[]},{"type":"ImportDeclaration","start":80,"end":118,"specifiers":[{"type":"ImportNamespaceSpecifier","start":87,"end":94,"local":{"type":"Identifier","start":92,"end":94,"name":"i1"}}],"source":{"type":"Literal","start":100,"end":117,"value":"@angular/router","raw":"\"@angular/router\""},"attributes":[]},{"type":"ExportNamedDeclaration","start":119,"end":1373,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"ClassDeclaration","start":126,"end":1373,"decorators":[],"id":{"type":"Identifier","start":132,"end":151,"name":"FormioAuthComponent"},"superClass":null,"body":{"type":"ClassBody","start":152,"end":1373,"body":[{"type":"PropertyDefinition","start":158,"end":257,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":165,"end":169,"name":"ɵfac"},"value":{"type":"FunctionExpression","start":172,"end":256,"async":false,"generator":false,"id":{"type":"Identifier","start":181,"end":208,"name":"FormioAuthComponent_Factory"},"params":[{"type":"Identifier","start":209,"end":210,"name":"t"}],"body":{"type":"BlockStatement","start":212,"end":256,"body":[{"type":"ReturnStatement","start":214,"end":254,"argument":{"type":"NewExpression","start":221,"end":253,"callee":{"type":"LogicalExpression","start":226,"end":250,"operator":"||","left":{"type":"Identifier","start":226,"end":227,"name":"t"},"right":{"type":"Identifier","start":231,"end":250,"name":"FormioAuthComponent"}},"arguments":[]}}]},"expression":false}},{"type":"PropertyDefinition","start":262,"end":1371,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":269,"end":273,"name":"ɵcmp"},"value":{"type":"CallExpression","start":290,"end":1370,"optional":false,"_rollupAnnotations":[{"end":289,"start":276,"type":"pure"}],"callee":{"type":"MemberExpression","start":290,"end":310,"computed":false,"optional":false,"object":{"type":"Identifier","start":290,"end":292,"name":"i0"},"property":{"type":"Identifier","start":293,"end":310,"name":"ɵɵdefineComponent"}},"arguments":[{"type":"ObjectExpression","start":311,"end":1369,"properties":[{"type":"Property","start":313,"end":338,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":313,"end":317,"name":"type"},"value":{"type":"Identifier","start":319,"end":338,"name":"FormioAuthComponent"},"kind":"init"},{"type":"Property","start":340,"end":369,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":340,"end":349,"name":"selectors"},"value":{"type":"ArrayExpression","start":351,"end":369,"elements":[{"type":"ArrayExpression","start":352,"end":368,"elements":[{"type":"Literal","start":353,"end":367,"value":"ng-component","raw":"\"ng-component\""}]}]},"kind":"init"},{"type":"Property","start":371,"end":380,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":371,"end":376,"name":"decls"},"value":{"type":"Literal","start":378,"end":380,"raw":"11","value":11},"kind":"init"},{"type":"Property","start":382,"end":389,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":382,"end":386,"name":"vars"},"value":{"type":"Literal","start":388,"end":389,"raw":"0","value":0},"kind":"init"},{"type":"Property","start":391,"end":781,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":391,"end":397,"name":"consts"},"value":{"type":"ArrayExpression","start":399,"end":781,"elements":[{"type":"ArrayExpression","start":400,"end":453,"elements":[{"type":"Literal","start":401,"end":402,"raw":"1","value":1},{"type":"Literal","start":404,"end":410,"value":"card","raw":"\"card\""},{"type":"Literal","start":412,"end":426,"value":"card-primary","raw":"\"card-primary\""},{"type":"Literal","start":428,"end":435,"value":"panel","raw":"\"panel\""},{"type":"Literal","start":437,"end":452,"value":"panel-default","raw":"\"panel-default\""}]},{"type":"ArrayExpression","start":455,"end":490,"elements":[{"type":"Literal","start":456,"end":457,"raw":"1","value":1},{"type":"Literal","start":459,"end":472,"value":"card-header","raw":"\"card-header\""},{"type":"Literal","start":474,"end":489,"value":"panel-heading","raw":"\"panel-heading\""}]},{"type":"ArrayExpression","start":492,"end":534,"elements":[{"type":"Literal","start":493,"end":494,"raw":"1","value":1},{"type":"Literal","start":496,"end":501,"value":"nav","raw":"\"nav\""},{"type":"Literal","start":503,"end":513,"value":"nav-tabs","raw":"\"nav-tabs\""},{"type":"Literal","start":515,"end":533,"value":"card-header-tabs","raw":"\"card-header-tabs\""}]},{"type":"ArrayExpression","start":536,"end":605,"elements":[{"type":"Literal","start":537,"end":543,"value":"role","raw":"\"role\""},{"type":"Literal","start":545,"end":559,"value":"presentation","raw":"\"presentation\""},{"type":"Literal","start":561,"end":579,"value":"routerLinkActive","raw":"\"routerLinkActive\""},{"type":"Literal","start":581,"end":589,"value":"active","raw":"\"active\""},{"type":"Literal","start":591,"end":592,"raw":"1","value":1},{"type":"Literal","start":594,"end":604,"value":"nav-item","raw":"\"nav-item\""}]},{"type":"ArrayExpression","start":607,"end":675,"elements":[{"type":"Literal","start":608,"end":620,"value":"routerLink","raw":"\"routerLink\""},{"type":"Literal","start":622,"end":629,"value":"login","raw":"\"login\""},{"type":"Literal","start":631,"end":649,"value":"routerLinkActive","raw":"\"routerLinkActive\""},{"type":"Literal","start":651,"end":659,"value":"active","raw":"\"active\""},{"type":"Literal","start":661,"end":662,"raw":"1","value":1},{"type":"Literal","start":664,"end":674,"value":"nav-link","raw":"\"nav-link\""}]},{"type":"ArrayExpression","start":677,"end":748,"elements":[{"type":"Literal","start":678,"end":690,"value":"routerLink","raw":"\"routerLink\""},{"type":"Literal","start":692,"end":702,"value":"register","raw":"\"register\""},{"type":"Literal","start":704,"end":722,"value":"routerLinkActive","raw":"\"routerLinkActive\""},{"type":"Literal","start":724,"end":732,"value":"active","raw":"\"active\""},{"type":"Literal","start":734,"end":735,"raw":"1","value":1},{"type":"Literal","start":737,"end":747,"value":"nav-link","raw":"\"nav-link\""}]},{"type":"ArrayExpression","start":750,"end":780,"elements":[{"type":"Literal","start":751,"end":752,"raw":"1","value":1},{"type":"Literal","start":754,"end":765,"value":"card-body","raw":"\"card-body\""},{"type":"Literal","start":767,"end":779,"value":"panel-body","raw":"\"panel-body\""}]}]},"kind":"init"},{"type":"Property","start":783,"end":1280,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":783,"end":791,"name":"template"},"value":{"type":"FunctionExpression","start":793,"end":1280,"async":false,"generator":false,"id":{"type":"Identifier","start":802,"end":830,"name":"FormioAuthComponent_Template"},"params":[{"type":"Identifier","start":831,"end":833,"name":"rf"},{"type":"Identifier","start":835,"end":838,"name":"ctx"}],"body":{"type":"BlockStatement","start":840,"end":1280,"body":[{"type":"IfStatement","start":842,"end":1278,"test":{"type":"BinaryExpression","start":846,"end":852,"operator":"&","left":{"type":"Identifier","start":846,"end":848,"name":"rf"},"right":{"type":"Literal","start":851,"end":852,"raw":"1","value":1}},"consequent":{"type":"BlockStatement","start":854,"end":1278,"body":[{"type":"ExpressionStatement","start":868,"end":947,"expression":{"type":"CallExpression","start":868,"end":946,"optional":false,"callee":{"type":"CallExpression","start":868,"end":935,"optional":false,"callee":{"type":"CallExpression","start":868,"end":923,"optional":false,"callee":{"type":"CallExpression","start":868,"end":911,"optional":false,"callee":{"type":"CallExpression","start":868,"end":898,"optional":false,"callee":{"type":"MemberExpression","start":868,"end":885,"computed":false,"optional":false,"object":{"type":"Identifier","start":868,"end":870,"name":"i0"},"property":{"type":"Identifier","start":871,"end":885,"name":"ɵɵelementStart"}},"arguments":[{"type":"Literal","start":886,"end":887,"raw":"0","value":0},{"type":"Literal","start":889,"end":894,"value":"div","raw":"\"div\""},{"type":"Literal","start":896,"end":897,"raw":"0","value":0}]},"arguments":[{"type":"Literal","start":899,"end":900,"raw":"1","value":1},{"type":"Literal","start":902,"end":907,"value":"div","raw":"\"div\""},{"type":"Literal","start":909,"end":910,"raw":"1","value":1}]},"arguments":[{"type":"Literal","start":912,"end":913,"raw":"2","value":2},{"type":"Literal","start":915,"end":919,"value":"ul","raw":"\"ul\""},{"type":"Literal","start":921,"end":922,"raw":"2","value":2}]},"arguments":[{"type":"Literal","start":924,"end":925,"raw":"3","value":3},{"type":"Literal","start":927,"end":931,"value":"li","raw":"\"li\""},{"type":"Literal","start":933,"end":934,"raw":"3","value":3}]},"arguments":[{"type":"Literal","start":936,"end":937,"raw":"4","value":4},{"type":"Literal","start":939,"end":942,"value":"a","raw":"\"a\""},{"type":"Literal","start":944,"end":945,"raw":"4","value":4}]}},{"type":"ExpressionStatement","start":960,"end":982,"expression":{"type":"CallExpression","start":960,"end":981,"optional":false,"callee":{"type":"MemberExpression","start":960,"end":969,"computed":false,"optional":false,"object":{"type":"Identifier","start":960,"end":962,"name":"i0"},"property":{"type":"Identifier","start":963,"end":969,"name":"ɵɵtext"}},"arguments":[{"type":"Literal","start":970,"end":971,"raw":"5","value":5},{"type":"Literal","start":973,"end":980,"value":"Login","raw":"\"Login\""}]}},{"type":"ExpressionStatement","start":995,"end":1015,"expression":{"type":"CallExpression","start":995,"end":1014,"optional":false,"callee":{"type":"CallExpression","start":995,"end":1012,"optional":false,"callee":{"type":"MemberExpression","start":995,"end":1010,"computed":false,"optional":false,"object":{"type":"Identifier","start":995,"end":997,"name":"i0"},"property":{"type":"Identifier","start":998,"end":1010,"name":"ɵɵelementEnd"}},"arguments":[]},"arguments":[]}},{"type":"ExpressionStatement","start":1028,"end":1069,"expression":{"type":"CallExpression","start":1028,"end":1068,"optional":false,"callee":{"type":"CallExpression","start":1028,"end":1057,"optional":false,"callee":{"type":"MemberExpression","start":1028,"end":1045,"computed":false,"optional":false,"object":{"type":"Identifier","start":1028,"end":1030,"name":"i0"},"property":{"type":"Identifier","start":1031,"end":1045,"name":"ɵɵelementStart"}},"arguments":[{"type":"Literal","start":1046,"end":1047,"raw":"6","value":6},{"type":"Literal","start":1049,"end":1053,"value":"li","raw":"\"li\""},{"type":"Literal","start":1055,"end":1056,"raw":"3","value":3}]},"arguments":[{"type":"Literal","start":1058,"end":1059,"raw":"7","value":7},{"type":"Literal","start":1061,"end":1064,"value":"a","raw":"\"a\""},{"type":"Literal","start":1066,"end":1067,"raw":"5","value":5}]}},{"type":"ExpressionStatement","start":1082,"end":1107,"expression":{"type":"CallExpression","start":1082,"end":1106,"optional":false,"callee":{"type":"MemberExpression","start":1082,"end":1091,"computed":false,"optional":false,"object":{"type":"Identifier","start":1082,"end":1084,"name":"i0"},"property":{"type":"Identifier","start":1085,"end":1091,"name":"ɵɵtext"}},"arguments":[{"type":"Literal","start":1092,"end":1093,"raw":"8","value":8},{"type":"Literal","start":1095,"end":1105,"value":"Register","raw":"\"Register\""}]}},{"type":"ExpressionStatement","start":1120,"end":1144,"expression":{"type":"CallExpression","start":1120,"end":1143,"optional":false,"callee":{"type":"CallExpression","start":1120,"end":1141,"optional":false,"callee":{"type":"CallExpression","start":1120,"end":1139,"optional":false,"callee":{"type":"CallExpression","start":1120,"end":1137,"optional":false,"callee":{"type":"MemberExpression","start":1120,"end":1135,"computed":false,"optional":false,"object":{"type":"Identifier","start":1120,"end":1122,"name":"i0"},"property":{"type":"Identifier","start":1123,"end":1135,"name":"ɵɵelementEnd"}},"arguments":[]},"arguments":[]},"arguments":[]},"arguments":[]}},{"type":"ExpressionStatement","start":1157,"end":1188,"expression":{"type":"CallExpression","start":1157,"end":1187,"optional":false,"callee":{"type":"MemberExpression","start":1157,"end":1174,"computed":false,"optional":false,"object":{"type":"Identifier","start":1157,"end":1159,"name":"i0"},"property":{"type":"Identifier","start":1160,"end":1174,"name":"ɵɵelementStart"}},"arguments":[{"type":"Literal","start":1175,"end":1176,"raw":"9","value":9},{"type":"Literal","start":1178,"end":1183,"value":"div","raw":"\"div\""},{"type":"Literal","start":1185,"end":1186,"raw":"6","value":6}]}},{"type":"ExpressionStatement","start":1201,"end":1235,"expression":{"type":"CallExpression","start":1201,"end":1234,"optional":false,"callee":{"type":"MemberExpression","start":1201,"end":1213,"computed":false,"optional":false,"object":{"type":"Identifier","start":1201,"end":1203,"name":"i0"},"property":{"type":"Identifier","start":1204,"end":1213,"name":"ɵɵelement"}},"arguments":[{"type":"Literal","start":1214,"end":1216,"raw":"10","value":10},{"type":"Literal","start":1218,"end":1233,"value":"router-outlet","raw":"\"router-outlet\""}]}},{"type":"ExpressionStatement","start":1248,"end":1268,"expression":{"type":"CallExpression","start":1248,"end":1267,"optional":false,"callee":{"type":"CallExpression","start":1248,"end":1265,"optional":false,"callee":{"type":"MemberExpression","start":1248,"end":1263,"computed":false,"optional":false,"object":{"type":"Identifier","start":1248,"end":1250,"name":"i0"},"property":{"type":"Identifier","start":1251,"end":1263,"name":"ɵɵelementEnd"}},"arguments":[]},"arguments":[]}}]},"alternate":null}]},"expression":false},"kind":"init"},{"type":"Property","start":1282,"end":1349,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1282,"end":1294,"name":"dependencies"},"value":{"type":"ArrayExpression","start":1296,"end":1349,"elements":[{"type":"MemberExpression","start":1297,"end":1312,"computed":false,"optional":false,"object":{"type":"Identifier","start":1297,"end":1299,"name":"i1"},"property":{"type":"Identifier","start":1300,"end":1312,"name":"RouterOutlet"}},{"type":"MemberExpression","start":1314,"end":1327,"computed":false,"optional":false,"object":{"type":"Identifier","start":1314,"end":1316,"name":"i1"},"property":{"type":"Identifier","start":1317,"end":1327,"name":"RouterLink"}},{"type":"MemberExpression","start":1329,"end":1348,"computed":false,"optional":false,"object":{"type":"Identifier","start":1329,"end":1331,"name":"i1"},"property":{"type":"Identifier","start":1332,"end":1348,"name":"RouterLinkActive"}}]},"kind":"init"},{"type":"Property","start":1351,"end":1367,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1351,"end":1364,"name":"encapsulation"},"value":{"type":"Literal","start":1366,"end":1367,"raw":"2","value":2},"kind":"init"}]}]}}]}}},{"type":"ExpressionStatement","start":1374,"end":2167,"expression":{"type":"CallExpression","start":1374,"end":2166,"optional":false,"callee":{"type":"ArrowFunctionExpression","start":1375,"end":2163,"async":false,"expression":false,"generator":false,"params":[],"body":{"type":"BlockStatement","start":1381,"end":2163,"body":[{"type":"ExpressionStatement","start":1383,"end":2161,"expression":{"type":"LogicalExpression","start":1383,"end":2160,"operator":"&&","left":{"type":"LogicalExpression","start":1384,"end":1429,"operator":"||","left":{"type":"BinaryExpression","start":1384,"end":1416,"operator":"===","left":{"type":"UnaryExpression","start":1384,"end":1400,"operator":"typeof","argument":{"type":"Identifier","start":1391,"end":1400,"name":"ngDevMode"},"prefix":true},"right":{"type":"Literal","start":1405,"end":1416,"value":"undefined","raw":"\"undefined\""}},"right":{"type":"Identifier","start":1420,"end":1429,"name":"ngDevMode"}},"right":{"type":"CallExpression","start":1434,"end":2160,"optional":false,"callee":{"type":"MemberExpression","start":1434,"end":1454,"computed":false,"optional":false,"object":{"type":"Identifier","start":1434,"end":1436,"name":"i0"},"property":{"type":"Identifier","start":1437,"end":1454,"name":"ɵsetClassMetadata"}},"arguments":[{"type":"Identifier","start":1455,"end":1474,"name":"FormioAuthComponent"},{"type":"ArrayExpression","start":1476,"end":2147,"elements":[{"type":"ObjectExpression","start":1477,"end":2146,"properties":[{"type":"Property","start":1487,"end":1502,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1487,"end":1491,"name":"type"},"value":{"type":"Identifier","start":1493,"end":1502,"name":"Component"},"kind":"init"},{"type":"Property","start":1512,"end":2140,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1512,"end":1516,"name":"args"},"value":{"type":"ArrayExpression","start":1518,"end":2140,"elements":[{"type":"ObjectExpression","start":1519,"end":2139,"properties":[{"type":"Property","start":1521,"end":2137,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1521,"end":1529,"name":"template"},"value":{"type":"Literal","start":1531,"end":2137,"value":"<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","raw":"\"<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\""},"kind":"init"}]}]},"kind":"init"}]}]},{"type":"Literal","start":2149,"end":2153,"raw":"null","value":null},{"type":"Literal","start":2155,"end":2159,"raw":"null","value":null}]}}}]},"id":null},"arguments":[]}},{"type":"ExpressionStatement","start":2168,"end":2315,"expression":{"type":"CallExpression","start":2168,"end":2314,"optional":false,"callee":{"type":"ArrowFunctionExpression","start":2169,"end":2311,"async":false,"expression":false,"generator":false,"params":[],"body":{"type":"BlockStatement","start":2175,"end":2311,"body":[{"type":"ExpressionStatement","start":2177,"end":2309,"expression":{"type":"LogicalExpression","start":2177,"end":2308,"operator":"&&","left":{"type":"LogicalExpression","start":2178,"end":2223,"operator":"||","left":{"type":"BinaryExpression","start":2178,"end":2210,"operator":"===","left":{"type":"UnaryExpression","start":2178,"end":2194,"operator":"typeof","argument":{"type":"Identifier","start":2185,"end":2194,"name":"ngDevMode"},"prefix":true},"right":{"type":"Literal","start":2199,"end":2210,"value":"undefined","raw":"\"undefined\""}},"right":{"type":"Identifier","start":2214,"end":2223,"name":"ngDevMode"}},"right":{"type":"CallExpression","start":2228,"end":2308,"optional":false,"callee":{"type":"MemberExpression","start":2228,"end":2249,"computed":false,"optional":false,"object":{"type":"Identifier","start":2228,"end":2230,"name":"i0"},"property":{"type":"Identifier","start":2231,"end":2249,"name":"ɵsetClassDebugInfo"}},"arguments":[{"type":"Identifier","start":2250,"end":2269,"name":"FormioAuthComponent"},{"type":"ObjectExpression","start":2271,"end":2307,"properties":[{"type":"Property","start":2273,"end":2305,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2273,"end":2282,"name":"className"},"value":{"type":"Literal","start":2284,"end":2305,"value":"FormioAuthComponent","raw":"\"FormioAuthComponent\""},"kind":"init"}]}]}}}]},"id":null},"arguments":[]}}],"_rollupRemoved":[{"end":4154,"start":2316,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"import { Component } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/router\";\nexport class FormioAuthComponent {\n static ɵfac = function FormioAuthComponent_Factory(t) { return new (t || FormioAuthComponent)(); };\n 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) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"ul\", 2)(3, \"li\", 3)(4, \"a\", 4);\n i0.ɵɵtext(5, \"Login\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(6, \"li\", 3)(7, \"a\", 5);\n i0.ɵɵtext(8, \"Register\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(9, \"div\", 6);\n i0.ɵɵelement(10, \"router-outlet\");\n i0.ɵɵelementEnd()();\n } }, dependencies: [i1.RouterOutlet, i1.RouterLink, i1.RouterLinkActive], encapsulation: 2 });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormioAuthComponent, [{\n type: Component,\n 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\" }]\n }], null, null); })();\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassDebugInfo(FormioAuthComponent, { className: \"FormioAuthComponent\" }); })();\n//# sourceMapp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xuICA8ZGl2IGNsYXNzPVwiY2FyZC1oZWFkZXIgcGFuZWwtaGVhZGluZ1wiPlxuICAgIDx1bCBjbGFzcz1cIm5hdiBuYXYtdGFicyBjYXJkLWhlYWRlci10YWJzXCI+XG4gICAgICA8bGkgY2xhc3M9XCJuYXYtaXRlbVwiIHJvbGU9XCJwcmVzZW50YXRpb25cIiByb3V0ZXJMaW5rQWN0aXZlPVwiYWN0aXZlXCI+PGEgY2xhc3M9XCJuYXYtbGlua1wiIHJvdXRlckxpbms9XCJsb2dpblwiIHJvdXRlckxpbmtBY3RpdmU9XCJhY3RpdmVcIj5Mb2dpbjwvYT48L2xpPlxuICAgICAgPGxpIGNsYXNzPVwibmF2LWl0ZW1cIiByb2xlPVwicHJlc2VudGF0aW9uXCIgcm91dGVyTGlua0FjdGl2ZT1cImFjdGl2ZVwiPjxhIGNsYXNzPVwibmF2LWxpbmtcIiByb3V0ZXJMaW5rPVwicmVnaXN0ZXJcIiByb3V0ZXJMaW5rQWN0aXZlPVwiYWN0aXZlXCI+UmVnaXN0ZXI8L2E+PC9saT5cbiAgICA8L3VsPlxuICA8L2Rpdj5cbiAgPGRpdiBjbGFzcz1cImNhcmQtYm9keSBwYW5lbC1ib2R5XCI+XG4gICAgPHJvdXRlci1vdXRsZXQ+PC9yb3V0ZXItb3V0bGV0PlxuICA8L2Rpdj5cbjwvZGl2PlxuIl19","customTransformCache":false,"dependencies":["@angular/core","@angular/router"],"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/auth.component.mjs","meta":{},"moduleSideEffects":false,"originalCode":"import { Component } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/router\";\nexport class FormioAuthComponent {\n static ɵfac = function FormioAuthComponent_Factory(t) { return new (t || FormioAuthComponent)(); };\n 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) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"ul\", 2)(3, \"li\", 3)(4, \"a\", 4);\n i0.ɵɵtext(5, \"Login\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(6, \"li\", 3)(7, \"a\", 5);\n i0.ɵɵtext(8, \"Register\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(9, \"div\", 6);\n i0.ɵɵelement(10, \"router-outlet\");\n i0.ɵɵelementEnd()();\n } }, dependencies: [i1.RouterOutlet, i1.RouterLink, i1.RouterLinkActive], encapsulation: 2 });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormioAuthComponent, [{\n type: Component,\n 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\" }]\n }], null, null); })();\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassDebugInfo(FormioAuthComponent, { className: \"FormioAuthComponent\" }); })();\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9hdXRoL3NyYy9hdXRoLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2F1dGgvc3JjL2F1dGguY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7O0FBSTFDLE1BQU0sT0FBTyxtQkFBbUI7NkVBQW5CLG1CQUFtQjs2REFBbkIsbUJBQW1CO1lDRHlDLEFBQW5FLEFBREYsQUFERixBQURGLDhCQUFtRCxhQUNWLFlBQ0ssWUFDMkIsV0FBaUU7WUFBQSxxQkFBSztZQUFJLEFBQUosaUJBQUksRUFBSztZQUMvRSxBQUFuRSw2QkFBbUUsV0FBb0U7WUFBQSx3QkFBUTtZQUVuSixBQURFLEFBRHFKLEFBQUosaUJBQUksRUFBSyxFQUNySixFQUNEO1lBQ04sOEJBQWtDO1lBQ2hDLGlDQUErQjtZQUVuQyxBQURFLGlCQUFNLEVBQ0Y7OztpRkROTyxtQkFBbUI7Y0FIL0IsU0FBUzs7O2tGQUdHLG1CQUFtQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuQENvbXBvbmVudCh7XG4gIHRlbXBsYXRlVXJsOiAnLi9hdXRoLmNvbXBvbmVudC5odG1sJ1xufSlcbmV4cG9ydCBjbGFzcyBGb3JtaW9BdXRoQ29tcG9uZW50IHt9XG4iLCI8ZGl2IGNsYXNzPVwiY2FyZCBjYXJkLXByaW1hcnkgcGFuZWwgcGFuZWwtZGVmYXVsdFwiPlxuICA8ZGl2IGNsYXNzPVwiY2FyZC1oZWFkZXIgcGFuZWwtaGVhZGluZ1wiPlxuICAgIDx1bCBjbGFzcz1cIm5hdiBuYXYtdGFicyBjYXJkLWhlYWRlci10YWJzXCI+XG4gICAgICA8bGkgY2xhc3M9XCJuYXYtaXRlbVwiIHJvbGU9XCJwcmVzZW50YXRpb25cIiByb3V0ZXJMaW5rQWN0aXZlPVwiYWN0aXZlXCI+PGEgY2xhc3M9XCJuYXYtbGlua1wiIHJvdXRlckxpbms9XCJsb2dpblwiIHJvdXRlckxpbmtBY3RpdmU9XCJhY3RpdmVcIj5Mb2dpbjwvYT48L2xpPlxuICAgICAgPGxpIGNsYXNzPVwibmF2LWl0ZW1cIiByb2xlPVwicHJlc2VudGF0aW9uXCIgcm91dGVyTGlua0FjdGl2ZT1cImFjdGl2ZVwiPjxhIGNsYXNzPVwibmF2LWxpbmtcIiByb3V0ZXJMaW5rPVwicmVnaXN0ZXJcIiByb3V0ZXJMaW5rQWN0aXZlPVwiYWN0aXZlXCI+UmVnaXN0ZXI8L2E+PC9saT5cbiAgICA8L3VsPlxuICA8L2Rpdj5cbiAgPGRpdiBjbGFzcz1cImNhcmQtYm9keSBwYW5lbC1ib2R5XCI+XG4gICAgPHJvdXRlci1vdXRsZXQ+PC9yb3V0ZXItb3V0bGV0PlxuICA8L2Rpdj5cbjwvZGl2PlxuIl19","originalSourcemap":{"version":3,"file":"auth.component.js","sourceRoot":"","sources":["../../../../projects/angular-formio/auth/src/auth.component.ts","../../../../projects/angular-formio/auth/src/auth.component.html"],"names":[],"mappings":[[[0,0,0,0],[7,0,0,7],[9,0,0,9],[18,0,0,18],[20,0,0,20],[26,0,0,26],[41,0,0,41],[42,0,0,42]],[],[],[[0,0,4,0],[6,0,4,6],[13,0,4,13],[32,0,4,32]],[[77,0,4,13],[96,0,4,32]],[[61,0,4,13],[80,0,4,32]],[[12,1,3,73],[12,1,3,6],[12,1,2,4],[12,1,1,2],[12,1,0,0],[42,1,0,51],[55,1,1,41],[67,1,2,46],[79,1,3,73],[90,1,3,138]],[[12,1,3,138],[33,1,3,143]],[[12,1,3,147],[12,1,3,143],[29,1,3,147],[31,1,3,152]],[[12,1,4,73],[12,1,4,6],[41,1,4,73],[52,1,4,141]],[[12,1,4,141],[36,1,4,149]],[[12,1,6,2],[12,1,5,4],[12,1,4,153],[12,1,4,149],[29,1,4,153],[31,1,4,158],[33,1,5,9],[35,1,6,8]],[[12,1,7,2],[42,1,7,36]],[[12,1,8,4],[45,1,8,35]],[[12,1,10,0],[12,1,9,2],[29,1,9,8],[31,1,10,6]],[],[],[[81,0,4,13],[100,0,4,32]],[[14,0,1,1],[23,0,1,10]],[],[],[[82,0,4,13],[101,0,4,32]]],"sourcesContent":["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"]},"resolvedIds":{"@angular/core":{"attributes":{},"external":true,"id":"@angular/core","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"@angular/router":{"attributes":{},"external":true,"id":"@angular/router","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":3117,"body":[{"type":"ImportDeclaration","start":0,"end":42,"specifiers":[{"type":"ImportSpecifier","start":9,"end":18,"imported":{"type":"Identifier","start":9,"end":18,"name":"Component"},"local":{"type":"Identifier","start":9,"end":18,"name":"Component"}}],"source":{"type":"Literal","start":26,"end":41,"value":"@angular/core","raw":"'@angular/core'"},"attributes":[]},{"type":"ImportDeclaration","start":43,"end":79,"specifiers":[{"type":"ImportNamespaceSpecifier","start":50,"end":57,"local":{"type":"Identifier","start":55,"end":57,"name":"i0"}}],"source":{"type":"Literal","start":63,"end":78,"value":"@angular/core","raw":"\"@angular/core\""},"attributes":[]},{"type":"ImportDeclaration","start":80,"end":118,"specifiers":[{"type":"ImportNamespaceSpecifier","start":87,"end":94,"local":{"type":"Identifier","start":92,"end":94,"name":"i1"}}],"source":{"type":"Literal","start":100,"end":117,"value":"../auth.service","raw":"\"../auth.service\""},"attributes":[]},{"type":"ImportDeclaration","start":119,"end":157,"specifiers":[{"type":"ImportNamespaceSpecifier","start":126,"end":133,"local":{"type":"Identifier","start":131,"end":133,"name":"i2"}}],"source":{"type":"Literal","start":139,"end":156,"value":"@formio/angular","raw":"\"@formio/angular\""},"attributes":[]},{"type":"ExportNamedDeclaration","start":158,"end":1179,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"ClassDeclaration","start":165,"end":1179,"decorators":[],"id":{"type":"Identifier","start":171,"end":195,"name":"FormioAuthLoginComponent"},"superClass":null,"body":{"type":"ClassBody","start":196,"end":1179,"body":[{"type":"PropertyDefinition","start":202,"end":210,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":202,"end":209,"name":"service"},"value":null},{"type":"PropertyDefinition","start":215,"end":267,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":215,"end":228,"name":"renderOptions"},"value":{"type":"ObjectExpression","start":231,"end":266,"properties":[{"type":"Property","start":241,"end":260,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":241,"end":254,"name":"submitOnEnter"},"value":{"type":"Literal","start":256,"end":260,"value":true,"raw":"true"},"kind":"init"}]}},{"type":"MethodDefinition","start":272,"end":332,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":272,"end":283,"name":"constructor"},"value":{"type":"FunctionExpression","start":283,"end":332,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":284,"end":291,"name":"service"}],"body":{"type":"BlockStatement","start":293,"end":332,"body":[{"type":"ExpressionStatement","start":303,"end":326,"expression":{"type":"AssignmentExpression","start":303,"end":325,"operator":"=","left":{"type":"MemberExpression","start":303,"end":315,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":303,"end":307},"property":{"type":"Identifier","start":308,"end":315,"name":"service"}},"right":{"type":"Identifier","start":318,"end":325,"name":"service"}}}]},"expression":false},"kind":"constructor"},{"type":"PropertyDefinition","start":337,"end":488,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":344,"end":348,"name":"ɵfac"},"value":{"type":"FunctionExpression","start":351,"end":487,"async":false,"generator":false,"id":{"type":"Identifier","start":360,"end":392,"name":"FormioAuthLoginComponent_Factory"},"params":[{"type":"Identifier","start":393,"end":394,"name":"t"}],"body":{"type":"BlockStatement","start":396,"end":487,"body":[{"type":"ReturnStatement","start":398,"end":485,"argument":{"type":"NewExpression","start":405,"end":484,"callee":{"type":"LogicalExpression","start":410,"end":439,"operator":"||","left":{"type":"Identifier","start":410,"end":411,"name":"t"},"right":{"type":"Identifier","start":415,"end":439,"name":"FormioAuthLoginComponent"}},"arguments":[{"type":"CallExpression","start":441,"end":483,"optional":false,"callee":{"type":"MemberExpression","start":441,"end":461,"computed":false,"optional":false,"object":{"type":"Identifier","start":441,"end":443,"name":"i0"},"property":{"type":"Identifier","start":444,"end":461,"name":"ɵɵdirectiveInject"}},"arguments":[{"type":"MemberExpression","start":462,"end":482,"computed":false,"optional":false,"object":{"type":"Identifier","start":462,"end":464,"name":"i1"},"property":{"type":"Identifier","start":465,"end":482,"name":"FormioAuthService"}}]}]}}]},"expression":false}},{"type":"PropertyDefinition","start":493,"end":1177,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":500,"end":504,"name":"ɵcmp"},"value":{"type":"CallExpression","start":521,"end":1176,"optional":false,"_rollupAnnotations":[{"end":520,"start":507,"type":"pure"}],"callee":{"type":"MemberExpression","start":521,"end":541,"computed":false,"optional":false,"object":{"type":"Identifier","start":521,"end":523,"name":"i0"},"property":{"type":"Identifier","start":524,"end":541,"name":"ɵɵdefineComponent"}},"arguments":[{"type":"ObjectExpression","start":542,"end":1175,"properties":[{"type":"Property","start":544,"end":574,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":544,"end":548,"name":"type"},"value":{"type":"Identifier","start":550,"end":574,"name":"FormioAuthLoginComponent"},"kind":"init"},{"type":"Property","start":576,"end":605,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":576,"end":585,"name":"selectors"},"value":{"type":"ArrayExpression","start":587,"end":605,"elements":[{"type":"ArrayExpression","start":588,"end":604,"elements":[{"type":"Literal","start":589,"end":603,"value":"ng-component","raw":"\"ng-component\""}]}]},"kind":"init"},{"type":"Property","start":607,"end":615,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":607,"end":612,"name":"decls"},"value":{"type":"Literal","start":614,"end":615,"raw":"1","value":1},"kind":"init"},{"type":"Property","start":617,"end":624,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":617,"end":621,"name":"vars"},"value":{"type":"Literal","start":623,"end":624,"raw":"2","value":2},"kind":"init"},{"type":"Property","start":626,"end":673,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":626,"end":632,"name":"consts"},"value":{"type":"ArrayExpression","start":634,"end":673,"elements":[{"type":"ArrayExpression","start":635,"end":672,"elements":[{"type":"Literal","start":636,"end":637,"raw":"3","value":3},{"type":"Literal","start":639,"end":647,"value":"submit","raw":"\"submit\""},{"type":"Literal","start":649,"end":654,"value":"src","raw":"\"src\""},{"type":"Literal","start":656,"end":671,"value":"renderOptions","raw":"\"renderOptions\""}]}]},"kind":"init"},{"type":"Property","start":675,"end":1119,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":675,"end":683,"name":"template"},"value":{"type":"FunctionExpression","start":685,"end":1119,"async":false,"generator":false,"id":{"type":"Identifier","start":694,"end":727,"name":"FormioAuthLoginComponent_Template"},"params":[{"type":"Identifier","start":728,"end":730,"name":"rf"},{"type":"Identifier","start":732,"end":735,"name":"ctx"}],"body":{"type":"BlockStatement","start":737,"end":1119,"body":[{"type":"IfStatement","start":739,"end":1000,"test":{"type":"BinaryExpression","start":743,"end":749,"operator":"&","left":{"type":"Identifier","start":743,"end":745,"name":"rf"},"right":{"type":"Literal","start":748,"end":749,"raw":"1","value":1}},"consequent":{"type":"BlockStatement","start":751,"end":1000,"body":[{"type":"ExpressionStatement","start":765,"end":799,"expression":{"type":"CallExpression","start":765,"end":798,"optional":false,"callee":{"type":"MemberExpression","start":765,"end":782,"computed":false,"optional":false,"object":{"type":"Identifier","start":765,"end":767,"name":"i0"},"property":{"type":"Identifier","start":768,"end":782,"name":"ɵɵelementStart"}},"arguments":[{"type":"Literal","start":783,"end":784,"raw":"0","value":0},{"type":"Literal","start":786,"end":794,"value":"formio","raw":"\"formio\""},{"type":"Literal","start":796,"end":797,"raw":"0","value":0}]}},{"type":"ExpressionStatement","start":812,"end":959,"expression":{"type":"CallExpression","start":812,"end":958,"optional":false,"callee":{"type":"MemberExpression","start":812,"end":825,"computed":false,"optional":false,"object":{"type":"Identifier","start":812,"end":814,"name":"i0"},"property":{"type":"Identifier","start":815,"end":825,"name":"ɵɵlistener"}},"arguments":[{"type":"Literal","start":826,"end":834,"value":"submit","raw":"\"submit\""},{"type":"FunctionExpression","start":836,"end":957,"async":false,"generator":false,"id":{"type":"Identifier","start":845,"end":903,"name":"FormioAuthLoginComponent_Template_formio_submit_0_listener"},"params":[{"type":"Identifier","start":904,"end":910,"name":"$event"}],"body":{"type":"BlockStatement","start":912,"end":957,"body":[{"type":"ReturnStatement","start":914,"end":955,"argument":{"type":"CallExpression","start":921,"end":954,"optional":false,"callee":{"type":"MemberExpression","start":921,"end":946,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":921,"end":932,"computed":false,"optional":false,"object":{"type":"Identifier","start":921,"end":924,"name":"ctx"},"property":{"type":"Identifier","start":925,"end":932,"name":"service"}},"property":{"type":"Identifier","start":933,"end":946,"name":"onLoginSubmit"}},"arguments":[{"type":"Identifier","start":947,"end":953,"name":"$event"}]}}]},"expression":false}]}},{"type":"ExpressionStatement","start":972,"end":990,"expression":{"type":"CallExpression","start":972,"end":989,"optional":false,"callee":{"type":"MemberExpression","start":972,"end":987,"computed":false,"optional":false,"object":{"type":"Identifier","start":972,"end":974,"name":"i0"},"property":{"type":"Identifier","start":975,"end":987,"name":"ɵɵelementEnd"}},"arguments":[]}}]},"alternate":null},{"type":"IfStatement","start":1001,"end":1117,"test":{"type":"BinaryExpression","start":1005,"end":1011,"operator":"&","left":{"type":"Identifier","start":1005,"end":1007,"name":"rf"},"right":{"type":"Literal","start":1010,"end":1011,"raw":"2","value":2}},"consequent":{"type":"BlockStatement","start":1013,"end":1117,"body":[{"type":"ExpressionStatement","start":1027,"end":1107,"expression":{"type":"CallExpression","start":1027,"end":1106,"optional":false,"callee":{"type":"CallExpression","start":1027,"end":1070,"optional":false,"callee":{"type":"MemberExpression","start":1027,"end":1040,"computed":false,"optional":false,"object":{"type":"Identifier","start":1027,"end":1029,"name":"i0"},"property":{"type":"Identifier","start":1030,"end":1040,"name":"ɵɵproperty"}},"arguments":[{"type":"Literal","start":1041,"end":1046,"value":"src","raw":"\"src\""},{"type":"MemberExpression","start":1048,"end":1069,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":1048,"end":1059,"computed":false,"optional":false,"object":{"type":"Identifier","start":1048,"end":1051,"name":"ctx"},"property":{"type":"Identifier","start":1052,"end":1059,"name":"service"}},"property":{"type":"Identifier","start":1060,"end":1069,"name":"loginForm"}}]},"arguments":[{"type":"Literal","start":1071,"end":1086,"value":"renderOptions","raw":"\"renderOptions\""},{"type":"MemberExpression","start":1088,"end":1105,"computed":false,"optional":false,"object":{"type":"Identifier","start":1088,"end":1091,"name":"ctx"},"property":{"type":"Identifier","start":1092,"end":1105,"name":"renderOptions"}}]}}]},"alternate":null}]},"expression":false},"kind":"init"},{"type":"Property","start":1121,"end":1155,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1121,"end":1133,"name":"dependencies"},"value":{"type":"ArrayExpression","start":1135,"end":1155,"elements":[{"type":"MemberExpression","start":1136,"end":1154,"computed":false,"optional":false,"object":{"type":"Identifier","start":1136,"end":1138,"name":"i2"},"property":{"type":"Identifier","start":1139,"end":1154,"name":"FormioComponent"}}]},"kind":"init"},{"type":"Property","start":1157,"end":1173,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1157,"end":1170,"name":"encapsulation"},"value":{"type":"Literal","start":1172,"end":1173,"raw":"2","value":2},"kind":"init"}]}]}}]}}},{"type":"ExpressionStatement","start":1180,"end":1532,"expression":{"type":"CallExpression","start":1180,"end":1531,"optional":false,"callee":{"type":"ArrowFunctionExpression","start":1181,"end":1528,"async":false,"expression":false,"generator":false,"params":[],"body":{"type":"BlockStatement","start":1187,"end":1528,"body":[{"type":"ExpressionStatement","start":1189,"end":1526,"expression":{"type":"LogicalExpression","start":1189,"end":1525,"operator":"&&","left":{"type":"LogicalExpression","start":1190,"end":1235,"operator":"||","left":{"type":"BinaryExpression","start":1190,"end":1222,"operator":"===","left":{"type":"UnaryExpression","start":1190,"end":1206,"operator":"typeof","argument":{"type":"Identifier","start":1197,"end":1206,"name":"ngDevMode"},"prefix":true},"right":{"type":"Literal","start":1211,"end":1222,"value":"undefined","raw":"\"undefined\""}},"right":{"type":"Identifier","start":1226,"end":1235,"name":"ngDevMode"}},"right":{"type":"CallExpression","start":1240,"end":1525,"optional":false,"callee":{"type":"MemberExpression","start":1240,"end":1260,"computed":false,"optional":false,"object":{"type":"Identifier","start":1240,"end":1242,"name":"i0"},"property":{"type":"Identifier","start":1243,"end":1260,"name":"ɵsetClassMetadata"}},"arguments":[{"type":"Identifier","start":1261,"end":1285,"name":"FormioAuthLoginComponent"},{"type":"ArrayExpression","start":1287,"end":1478,"elements":[{"type":"ObjectExpression","start":1288,"end":1477,"properties":[{"type":"Property","start":1298,"end":1313,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1298,"end":1302,"name":"type"},"value":{"type":"Identifier","start":1304,"end":1313,"name":"Component"},"kind":"init"},{"type":"Property","start":1323,"end":1471,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1323,"end":1327,"name":"args"},"value":{"type":"ArrayExpression","start":1329,"end":1471,"elements":[{"type":"ObjectExpression","start":1330,"end":1470,"properties":[{"type":"Property","start":1332,"end":1468,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1332,"end":1340,"name":"template"},"value":{"type":"Literal","start":1342,"end":1468,"value":"<formio [src]=\"service.loginForm\" [renderOptions]=\"renderOptions\" (submit)=\"service.onLoginSubmit($event)\"></formio>\n","raw":"\"<formio [src]=\\\"service.loginForm\\\" [renderOptions]=\\\"renderOptions\\\" (submit)=\\\"service.onLoginSubmit($event)\\\"></formio>\\n\""},"kind":"init"}]}]},"kind":"init"}]}]},{"type":"ArrowFunctionExpression","start":1480,"end":1518,"async":false,"expression":true,"generator":false,"params":[],"body":{"type":"ArrayExpression","start":1486,"end":1518,"elements":[{"type":"ObjectExpression","start":1487,"end":1517,"properties":[{"type":"Property","start":1489,"end":1515,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1489,"end":1493,"name":"type"},"value":{"type":"MemberExpression","start":1495,"end":1515,"computed":false,"optional":false,"object":{"type":"Identifier","start":1495,"end":1497,"name":"i1"},"property":{"type":"Identifier","start":1498,"end":1515,"name":"FormioAuthService"}},"kind":"init"}]}]},"id":null},{"type":"Literal","start":1520,"end":1524,"raw":"null","value":null}]}}}]},"id":null},"arguments":[]}},{"type":"ExpressionStatement","start":1533,"end":1690,"expression":{"type":"CallExpression","start":1533,"end":1689,"optional":false,"callee":{"type":"ArrowFunctionExpression","start":1534,"end":1686,"async":false,"expression":false,"generator":false,"params":[],"body":{"type":"BlockStatement","start":1540,"end":1686,"body":[{"type":"ExpressionStatement","start":1542,"end":1684,"expression":{"type":"LogicalExpression","start":1542,"end":1683,"operator":"&&","left":{"type":"LogicalExpression","start":1543,"end":1588,"operator":"||","left":{"type":"BinaryExpression","start":1543,"end":1575,"operator":"===","left":{"type":"UnaryExpression","start":1543,"end":1559,"operator":"typeof","argument":{"type":"Identifier","start":1550,"end":1559,"name":"ngDevMode"},"prefix":true},"right":{"type":"Literal","start":1564,"end":1575,"value":"undefined","raw":"\"undefined\""}},"right":{"type":"Identifier","start":1579,"end":1588,"name":"ngDevMode"}},"right":{"type":"CallExpression","start":1593,"end":1683,"optional":false,"callee":{"type":"MemberExpression","start":1593,"end":1614,"computed":false,"optional":false,"object":{"type":"Identifier","start":1593,"end":1595,"name":"i0"},"property":{"type":"Identifier","start":1596,"end":1614,"name":"ɵsetClassDebugInfo"}},"arguments":[{"type":"Identifier","start":1615,"end":1639,"name":"FormioAuthLoginComponent"},{"type":"ObjectExpression","start":1641,"end":1682,"properties":[{"type":"Property","start":1643,"end":1680,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1643,"end":1652,"name":"className"},"value":{"type":"Literal","start":1654,"end":1680,"value":"FormioAuthLoginComponent","raw":"\"FormioAuthLoginComponent\""},"kind":"init"}]}]}}}]},"id":null},"arguments":[]}}],"_rollupRemoved":[{"end":3117,"start":1691,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"import { Component } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"../auth.service\";\nimport * as i2 from \"@formio/angular\";\nexport class FormioAuthLoginComponent {\n service;\n renderOptions = {\n submitOnEnter: true\n };\n constructor(service) {\n this.service = service;\n }\n static ɵfac = function FormioAuthLoginComponent_Factory(t) { return new (t || FormioAuthLoginComponent)(i0.ɵɵdirectiveInject(i1.FormioAuthService)); };\n 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) {\n i0.ɵɵelementStart(0, \"formio\", 0);\n i0.ɵɵlistener(\"submit\", function FormioAuthLoginComponent_Template_formio_submit_0_listener($event) { return ctx.service.onLoginSubmit($event); });\n i0.ɵɵelementEnd();\n } if (rf & 2) {\n i0.ɵɵproperty(\"src\", ctx.service.loginForm)(\"renderOptions\", ctx.renderOptions);\n } }, dependencies: [i2.FormioComponent], encapsulation: 2 });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormioAuthLoginComponent, [{\n type: Component,\n args: [{ template: \"<formio [src]=\\\"service.loginForm\\\" [renderOptions]=\\\"renderOptions\\\" (submit)=\\\"service.onLoginSubmit($event)\\\"></formio>\\n\" }]\n }], () => [{ type: i1.FormioAuthService }], null); })();\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassDebugInfo(FormioAuthLoginComponent, { className: \"FormioAuthLoginComponent\" }); })();\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9naW4uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vYXV0aC9zcmMvbG9naW4vbG9naW4uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vYXV0aC9zcmMvbG9naW4vbG9naW4uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7OztBQUsxQyxNQUFNLE9BQU8sd0JBQXdCO0lBSWhCO0lBSFosYUFBYSxHQUFRO1FBQzFCLGFBQWEsRUFBRSxJQUFJO0tBQ3BCLENBQUM7SUFDRixZQUFtQixPQUEwQjtRQUExQixZQUFPLEdBQVAsT0FBTyxDQUFtQjtJQUFHLENBQUM7a0ZBSnRDLHdCQUF3Qjs2REFBeEIsd0JBQXdCO1lDTHJDLGlDQUEyRztZQUF6Qyw2R0FBVSxpQ0FBNkIsSUFBQztZQUFDLGlCQUFTOztZQUFsRixBQUExQiwyQ0FBeUIsb0NBQWdDOzs7aUZES3BELHdCQUF3QjtjQUhwQyxTQUFTOzs7a0ZBR0csd0JBQXdCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBGb3JtaW9BdXRoU2VydmljZSB9IGZyb20gJy4uL2F1dGguc2VydmljZSc7XG5AQ29tcG9uZW50KHtcbiAgdGVtcGxhdGVVcmw6ICcuL2xvZ2luLmNvbXBvbmVudC5odG1sJ1xufSlcbmV4cG9ydCBjbGFzcyBGb3JtaW9BdXRoTG9naW5Db21wb25lbnQge1xuICBwdWJsaWMgcmVuZGVyT3B0aW9uczogYW55ID0ge1xuICAgIHN1Ym1pdE9uRW50ZXI6IHRydWVcbiAgfTtcbiAgY29uc3RydWN0b3IocHVibGljIHNlcnZpY2U6IEZvcm1pb0F1dGhTZXJ2aWNlKSB7fVxufVxuIiwiPGZvcm1pbyBbc3JjXT1cInNlcnZpY2UubG9naW5Gb3JtXCIgW3JlbmRlck9wdGlvbnNdPVwicmVuZGVyT3B0aW9uc1wiIChzdWJtaXQpPVwic2VydmljZS5vbkxvZ2luU3VibWl0KCRldmVudClcIj48L2Zvcm1pbz5cbiJdfQ==","customTransformCache":false,"dependencies":["@angular/core","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/auth.service.mjs","@formio/angular"],"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/login/login.component.mjs","meta":{},"moduleSideEffects":false,"originalCode":"import { Component } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"../auth.service\";\nimport * as i2 from \"@formio/angular\";\nexport class FormioAuthLoginComponent {\n service;\n renderOptions = {\n submitOnEnter: true\n };\n constructor(service) {\n this.service = service;\n }\n static ɵfac = function FormioAuthLoginComponent_Factory(t) { return new (t || FormioAuthLoginComponent)(i0.ɵɵdirectiveInject(i1.FormioAuthService)); };\n 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) {\n i0.ɵɵelementStart(0, \"formio\", 0);\n i0.ɵɵlistener(\"submit\", function FormioAuthLoginComponent_Template_formio_submit_0_listener($event) { return ctx.service.onLoginSubmit($event); });\n i0.ɵɵelementEnd();\n } if (rf & 2) {\n i0.ɵɵproperty(\"src\", ctx.service.loginForm)(\"renderOptions\", ctx.renderOptions);\n } }, dependencies: [i2.FormioComponent], encapsulation: 2 });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormioAuthLoginComponent, [{\n type: Component,\n args: [{ template: \"<formio [src]=\\\"service.loginForm\\\" [renderOptions]=\\\"renderOptions\\\" (submit)=\\\"service.onLoginSubmit($event)\\\"></formio>\\n\" }]\n }], () => [{ type: i1.FormioAuthService }], null); })();\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassDebugInfo(FormioAuthLoginComponent, { className: \"FormioAuthLoginComponent\" }); })();\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9naW4uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiO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U6IEZvcm1pb0F1dGhTZXJ2aWNlKSB7fVxufVxuIiwiPGZvcm1pbyBbc3JjXT1cInNlcnZpY2UubG9naW5Gb3JtXCIgW3JlbmRlck9wdGlvbnNdPVwicmVuZGVyT3B0aW9uc1wiIChzdWJtaXQpPVwic2VydmljZS5vbkxvZ2luU3VibWl0KCRldmVudClcIj48L2Zvcm1pbz5cbiJdfQ==","originalSourcemap":{"version":3,"file":"login.component.js","sourceRoot":"","sources":["../../../../../projects/angular-formio/auth/src/login/login.component.ts","../../../../../projects/angular-formio/auth/src/login/login.component.html"],"names":[],"mappings":[[[0,0,0,0],[7,0,0,7],[9,0,0,9],[18,0,0,18],[20,0,0,20],[26,0,0,26],[41,0,0,41],[42,0,0,42]],[],[],[],[[0,0,5,0],[6,0,5,6],[13,0,5,13],[37,0,5,37]],[[4,0,9,21]],[[4,0,6,9],[17,0,6,22],[20,0,6,30]],[[8,0,7,4],[21,0,7,17],[23,0,7,19],[27,0,7,23]],[[5,0,8,3],[6,0,8,4]],[[4,0,9,2],[16,0,9,21],[23,0,9,47]],[[8,0,9,21],[20,0,9,28],[23,0,9,21],[30,0,9,28],[31,0,9,47]],[[4,0,9,50],[5,0,9,51]],[[82,0,5,13],[106,0,5,37]],[[61,0,5,13],[85,0,5,37]],[[12,1,0,0],[45,1,0,107]],[[12,1,0,66],[121,1,0,76],[154,1,0,105],[158,1,0,106]],[[12,1,0,107],[29,1,0,116]],[],[[12,1,0,34],[12,1,0,8],[55,1,0,33],[91,1,0,65]],[],[],[[81,0,5,13],[105,0,5,37]],[[14,0,2,1],[23,0,2,10]],[],[],[[82,0,5,13],[106,0,5,37]]],"sourcesContent":["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"]},"resolvedIds":{"@angular/core":{"attributes":{},"external":true,"id":"@angular/core","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"@formio/angular":{"attributes":{},"external":true,"id":"@formio/angular","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"../auth.service":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/auth.service.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":3192,"body":[{"type":"ImportDeclaration","start":0,"end":42,"specifiers":[{"type":"ImportSpecifier","start":9,"end":18,"imported":{"type":"Identifier","start":9,"end":18,"name":"Component"},"local":{"type":"Identifier","start":9,"end":18,"name":"Component"}}],"source":{"type":"Literal","start":26,"end":41,"value":"@angular/core","raw":"'@angular/core'"},"attributes":[]},{"type":"ImportDeclaration","start":43,"end":79,"specifiers":[{"type":"ImportNamespaceSpecifier","start":50,"end":57,"local":{"type":"Identifier","start":55,"end":57,"name":"i0"}}],"source":{"type":"Literal","start":63,"end":78,"value":"@angular/core","raw":"\"@angular/core\""},"attributes":[]},{"type":"ImportDeclaration","start":80,"end":118,"specifiers":[{"type":"ImportNamespaceSpecifier","start":87,"end":94,"local":{"type":"Identifier","start":92,"end":94,"name":"i1"}}],"source":{"type":"Literal","start":100,"end":117,"value":"../auth.service","raw":"\"../auth.service\""},"attributes":[]},{"type":"ImportDeclaration","start":119,"end":157,"specifiers":[{"type":"ImportNamespaceSpecifier","start":126,"end":133,"local":{"type":"Identifier","start":131,"end":133,"name":"i2"}}],"source":{"type":"Literal","start":139,"end":156,"value":"@formio/angular","raw":"\"@formio/angular\""},"attributes":[]},{"type":"ExportNamedDeclaration","start":158,"end":1203,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"ClassDeclaration","start":165,"end":1203,"decorators":[],"id":{"type":"Identifier","start":171,"end":198,"name":"FormioAuthRegisterComponent"},"superClass":null,"body":{"type":"ClassBody","start":199,"end":1203,"body":[{"type":"PropertyDefinition","start":205,"end":213,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":205,"end":212,"name":"service"},"value":null},{"type":"PropertyDefinition","start":218,"end":270,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":218,"end":231,"name":"renderOptions"},"value":{"type":"ObjectExpression","start":234,"end":269,"properties":[{"type":"Property","start":244,"end":263,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":244,"end":257,"name":"submitOnEnter"},"value":{"type":"Literal","start":259,"end":263,"value":true,"raw":"true"},"kind":"init"}]}},{"type":"MethodDefinition","start":275,"end":335,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":275,"end":286,"name":"constructor"},"value":{"type":"FunctionExpression","start":286,"end":335,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":287,"end":294,"name":"service"}],"body":{"type":"BlockStatement","start":296,"end":335,"body":[{"type":"ExpressionStatement","start":306,"end":329,"expression":{"type":"AssignmentExpression","start":306,"end":328,"operator":"=","left":{"type":"MemberExpression","start":306,"end":318,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":306,"end":310},"property":{"type":"Identifier","start":311,"end":318,"name":"service"}},"right":{"type":"Identifier","start":321,"end":328,"name":"service"}}}]},"expression":false},"kind":"constructor"},{"type":"PropertyDefinition","start":340,"end":497,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":347,"end":351,"name":"ɵfac"},"value":{"type":"FunctionExpression","start":354,"end":496,"async":false,"generator":false,"id":{"type":"Identifier","start":363,"end":398,"name":"FormioAuthRegisterComponent_Factory"},"params":[{"type":"Identifier","start":399,"end":400,"name":"t"}],"body":{"type":"BlockStatement","start":402,"end":496,"body":[{"type":"ReturnStatement","start":404,"end":494,"argument":{"type":"NewExpression","start":411,"end":493,"callee":{"type":"LogicalExpression","start":416,"end":448,"operator":"||","left":{"type":"Identifier","start":416,"end":417,"name":"t"},"right":{"type":"Identifier","start":421,"end":448,"name":"FormioAuthRegisterComponent"}},"arguments":[{"type":"CallExpression","start":450,"end":492,"optional":false,"callee":{"type":"MemberExpression","start":450,"end":470,"computed":false,"optional":false,"object":{"type":"Identifier","start":450,"end":452,"name":"i0"},"property":{"type":"Identifier","start":453,"end":470,"name":"ɵɵdirectiveInject"}},"arguments":[{"type":"MemberExpression","start":471,"end":491,"computed":false,"optional":false,"object":{"type":"Identifier","start":471,"end":473,"name":"i1"},"property":{"type":"Identifier","start":474,"end":491,"name":"FormioAuthService"}}]}]}}]},"expression":false}},{"type":"PropertyDefinition","start":502,"end":1201,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":509,"end":513,"name":"ɵcmp"},"value":{"type":"CallExpression","start":530,"end":1200,"optional":false,"_rollupAnnotations":[{"end":529,"start":516,"type":"pure"}],"callee":{"type":"MemberExpression","start":530,"end":550,"computed":false,"optional":false,"object":{"type":"Identifier","start":530,"end":532,"name":"i0"},"property":{"type":"Identifier","start":533,"end":550,"name":"ɵɵdefineComponent"}},"arguments":[{"type":"ObjectExpression","start":551,"end":1199,"properties":[{"type":"Property","start":553,"end":586,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":553,"end":557,"name":"type"},"value":{"type":"Identifier","start":559,"end":586,"name":"FormioAuthRegisterComponent"},"kind":"init"},{"type":"Property","start":588,"end":617,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":588,"end":597,"name":"selectors"},"value":{"type":"ArrayExpression","start":599,"end":617,"elements":[{"type":"ArrayExpression","start":600,"end":616,"elements":[{"type":"Literal","start":601,"end":615,"value":"ng-component","raw":"\"ng-component\""}]}]},"kind":"init"},{"type":"Property","start":619,"end":627,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":619,"end":624,"name":"decls"},"value":{"type":"Literal","start":626,"end":627,"raw":"1","value":1},"kind":"init"},{"type":"Property","start":629,"end":636,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":629,"end":633,"name":"vars"},"value":{"type":"Literal","start":635,"end":636,"raw":"2","value":2},"kind":"init"},{"type":"Property","start":638,"end":685,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":638,"end":644,"name":"consts"},"value":{"type":"ArrayExpression","start":646,"end":685,"elements":[{"type":"ArrayExpression","start":647,"end":684,"elements":[{"type":"Literal","start":648,"end":649,"raw":"3","value":3},{"type":"Literal","start":651,"end":659,"value":"submit","raw":"\"submit\""},{"type":"Literal","start":661,"end":666,"value":"src","raw":"\"src\""},{"type":"Literal","start":668,"end":683,"value":"renderOptions","raw":"\"renderOptions\""}]}]},"kind":"init"},{"type":"Property","start":687,"end":1143,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":687,"end":695,"name":"template"},"value":{"type":"FunctionExpression","start":697,"end":1143,"async":false,"generator":false,"id":{"type":"Identifier","start":706,"end":742,"name":"FormioAuthRegisterComponent_Template"},"params":[{"type":"Identifier","start":743,"end":745,"name":"rf"},{"type":"Identifier","start":747,"end":750,"name":"ctx"}],"body":{"type":"BlockStatement","start":752,"end":1143,"body":[{"type":"IfStatement","start":754,"end":1021,"test":{"type":"BinaryExpression","start":758,"end":764,"operator":"&","left":{"type":"Identifier","start":758,"end":760,"name":"rf"},"right":{"type":"Literal","start":763,"end":764,"raw":"1","value":1}},"consequent":{"type":"BlockStatement","start":766,"end":1021,"body":[{"type":"ExpressionStatement","start":780,"end":814,"expression":{"type":"CallExpression","start":780,"end":813,"optional":false,"callee":{"type":"MemberExpression","start":780,"end":797,"computed":false,"optional":false,"object":{"type":"Identifier","start":780,"end":782,"name":"i0"},"property":{"type":"Identifier","start":783,"end":797,"name":"ɵɵelementStart"}},"arguments":[{"type":"Literal","start":798,"end":799,"raw":"0","value":0},{"type":"Literal","start":801,"end":809,"value":"formio","raw":"\"formio\""},{"type":"Literal","start":811,"end":812,"raw":"0","value":0}]}},{"type":"ExpressionStatement","start":827,"end":980,"expression":{"type":"CallExpression","start":827,"end":979,"optional":false,"callee":{"type":"MemberExpression","start":827,"end":840,"computed":false,"optional":false,"object":{"type":"Identifier","start":827,"end":829,"name":"i0"},"property":{"type":"Identifier","start":830,"end":840,"name":"ɵɵlistener"}},"arguments":[{"type":"Literal","start":841,"end":849,"value":"submit","raw":"\"submit\""},{"type":"FunctionExpression","start":851,"end":978,"async":false,"generator":false,"id":{"type":"Identifier","start":860,"end":921,"name":"FormioAuthRegisterComponent_Template_formio_submit_0_listener"},"params":[{"type":"Identifier","start":922,"end":928,"name":"$event"}],"body":{"type":"BlockStatement","start":930,"end":978,"body":[{"type":"ReturnStatement","start":932,"end":976,"argument":{"type":"CallExpression","start":939,"end":975,"optional":false,"callee":{"type":"MemberExpression","start":939,"end":967,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":939,"end":950,"computed":false,"optional":false,"object":{"type":"Identifier","start":939,"end":942,"name":"ctx"},"property":{"type":"Identifier","start":943,"end":950,"name":"service"}},"property":{"type":"Identifier","start":951,"end":967,"name":"onRegisterSubmit"}},"arguments":[{"type":"Identifier","start":968,"end":974,"name":"$event"}]}}]},"expression":false}]}},{"type":"ExpressionStatement","start":993,"end":1011,"expression":{"type":"CallExpression","start":993,"end":1010,"optional":false,"callee":{"type":"MemberExpression","start":993,"end":1008,"computed":false,"optional":false,"object":{"type":"Identifier","start":993,"end":995,"name":"i0"},"property":{"type":"Identifier","start":996,"end":1008,"name":"ɵɵelementEnd"}},"arguments":[]}}]},"alternate":null},{"type":"IfStatement","start":1022,"end":1141,"test":{"type":"BinaryExpression","start":1026,"end":1032,"operator":"&","left":{"type":"Identifier","start":1026,"end":1028,"name":"rf"},"right":{"type":"Literal","start":1031,"end":1032,"raw":"2","value":2}},"consequent":{"type":"BlockStatement","start":1034,"end":1141,"body":[{"type":"ExpressionStatement","start":1048,"end":1131,"expression":{"type":"CallExpression","start":1048,"end":1130,"optional":false,"callee":{"type":"CallExpression","start":1048,"end":1094,"optional":false,"callee":{"type":"MemberExpression","start":1048,"end":1061,"computed":false,"optional":false,"object":{"type":"Identifier","start":1048,"end":1050,"name":"i0"},"property":{"type":"Identifier","start":1051,"end":1061,"name":"ɵɵproperty"}},"arguments":[{"type":"Literal","start":1062,"end":1067,"value":"src","raw":"\"src\""},{"type":"MemberExpression","start":1069,"end":1093,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":1069,"end":1080,"computed":false,"optional":false,"object":{"type":"Identifier","start":1069,"end":1072,"name":"ctx"},"property":{"type":"Identifier","start":1073,"end":1080,"name":"service"}},"property":{"type":"Identifier","start":1081,"end":1093,"name":"registerForm"}}]},"arguments":[{"type":"Literal","start":1095,"end":1110,"value":"renderOptions","raw":"\"renderOptions\""},{"type":"MemberExpression","start":1112,"end":1129,"computed":false,"optional":false,"object":{"type":"Identifier","start":1112,"end":1115,"name":"ctx"},"property":{"type":"Identifier","start":1116,"end":1129,"name":"renderOptions"}}]}}]},"alternate":null}]},"expression":false},"kind":"init"},{"type":"Property","start":1145,"end":1179,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1145,"end":1157,"name":"dependencies"},"value":{"type":"ArrayExpression","start":1159,"end":1179,"elements":[{"type":"MemberExpression","start":1160,"end":1178,"computed":false,"optional":false,"object":{"type":"Identifier","start":1160,"end":1162,"name":"i2"},"property":{"type":"Identifier","start":1163,"end":1178,"name":"FormioComponent"}}]},"kind":"init"},{"type":"Property","start":1181,"end":1197,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1181,"end":1194,"name":"encapsulation"},"value":{"type":"Literal","start":1196,"end":1197,"raw":"2","value":2},"kind":"init"}]}]}}]}}},{"type":"ExpressionStatement","start":1204,"end":1565,"expression":{"type":"CallExpression","start":1204,"end":1564,"optional":false,"callee":{"type":"ArrowFunctionExpression","start":1205,"end":1561,"async":false,"expression":false,"generator":false,"params":[],"body":{"type":"BlockStatement","start":1211,"end":1561,"body":[{"type":"ExpressionStatement","start":1213,"end":1559,"expression":{"type":"LogicalExpression","start":1213,"end":1558,"operator":"&&","left":{"type":"LogicalExpression","start":1214,"end":1259,"operator":"||","left":{"type":"BinaryExpression","start":1214,"end":1246,"operator":"===","left":{"type":"UnaryExpression","start":1214,"end":1230,"operator":"typeof","argument":{"type":"Identifier","start":1221,"end":1230,"name":"ngDevMode"},"prefix":true},"right":{"type":"Literal","start":1235,"end":1246,"value":"undefined","raw":"\"undefined\""}},"right":{"type":"Identifier","start":1250,"end":1259,"name":"ngDevMode"}},"right":{"type":"CallExpression","start":1264,"end":1558,"optional":false,"callee":{"type":"MemberExpression","start":1264,"end":1284,"computed":false,"optional":false,"object":{"type":"Identifier","start":1264,"end":1266,"name":"i0"},"property":{"type":"Identifier","start":1267,"end":1284,"name":"ɵsetClassMetadata"}},"arguments":[{"type":"Identifier","start":1285,"end":1312,"name":"FormioAuthRegisterComponent"},{"type":"ArrayExpression","start":1314,"end":1511,"elements":[{"type":"ObjectExpression","start":1315,"end":1510,"properties":[{"type":"Property","start":1325,"end":1340,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1325,"end":1329,"name":"type"},"value":{"type":"Identifier","start":1331,"end":1340,"name":"Component"},"kind":"init"},{"type":"Property","start":1350,"end":1504,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1350,"end":1354,"name":"args"},"value":{"type":"ArrayExpression","start":1356,"end":1504,"elements":[{"type":"ObjectExpression","start":1357,"end":1503,"properties":[{"type":"Property","start":1359,"end":1501,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1359,"end":1367,"name":"template"},"value":{"type":"Literal","start":1369,"end":1501,"value":"<formio [src]=\"service.registerForm\" [renderOptions]=\"renderOptions\" (submit)=\"service.onRegisterSubmit($event)\"></formio>\n","raw":"\"<formio [src]=\\\"service.registerForm\\\" [renderOptions]=\\\"renderOptions\\\" (submit)=\\\"service.onRegisterSubmit($event)\\\"></formio>\\n\""},"kind":"init"}]}]},"kind":"init"}]}]},{"type":"ArrowFunctionExpression","start":1513,"end":1551,"async":false,"expression":true,"generator":false,"params":[],"body":{"type":"ArrayExpression","start":1519,"end":1551,"elements":[{"type":"ObjectExpression","start":1520,"end":1550,"properties":[{"type":"Property","start":1522,"end":1548,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1522,"end":1526,"name":"type"},"value":{"type":"MemberExpression","start":1528,"end":1548,"computed":false,"optional":false,"object":{"type":"Identifier","start":1528,"end":1530,"name":"i1"},"property":{"type":"Identifier","start":1531,"end":1548,"name":"FormioAuthService"}},"kind":"init"}]}]},"id":null},{"type":"Literal","start":1553,"end":1557,"raw":"null","value":null}]}}}]},"id":null},"arguments":[]}},{"type":"ExpressionStatement","start":1566,"end":1729,"expression":{"type":"CallExpression","start":1566,"end":1728,"optional":false,"callee":{"type":"ArrowFunctionExpression","start":1567,"end":1725,"async":false,"expression":false,"generator":false,"params":[],"body":{"type":"BlockStatement","start":1573,"end":1725,"body":[{"type":"ExpressionStatement","start":1575,"end":1723,"expression":{"type":"LogicalExpression","start":1575,"end":1722,"operator":"&&","left":{"type":"LogicalExpression","start":1576,"end":1621,"operator":"||","left":{"type":"BinaryExpression","start":1576,"end":1608,"operator":"===","left":{"type":"UnaryExpression","start":1576,"end":1592,"operator":"typeof","argument":{"type":"Identifier","start":1583,"end":1592,"name":"ngDevMode"},"prefix":true},"right":{"type":"Literal","start":1597,"end":1608,"value":"undefined","raw":"\"undefined\""}},"right":{"type":"Identifier","start":1612,"end":1621,"name":"ngDevMode"}},"right":{"type":"CallExpression","start":1626,"end":1722,"optional":false,"callee":{"type":"MemberExpression","start":1626,"end":1647,"computed":false,"optional":false,"object":{"type":"Identifier","start":1626,"end":1628,"name":"i0"},"property":{"type":"Identifier","start":1629,"end":1647,"name":"ɵsetClassDebugInfo"}},"arguments":[{"type":"Identifier","start":1648,"end":1675,"name":"FormioAuthRegisterComponent"},{"type":"ObjectExpression","start":1677,"end":1721,"properties":[{"type":"Property","start":1679,"end":1719,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1679,"end":1688,"name":"className"},"value":{"type":"Literal","start":1690,"end":1719,"value":"FormioAuthRegisterComponent","raw":"\"FormioAuthRegisterComponent\""},"kind":"init"}]}]}}}]},"id":null},"arguments":[]}}],"_rollupRemoved":[{"end":3192,"start":1730,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"import { Component } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"../auth.service\";\nimport * as i2 from \"@formio/angular\";\nexport class FormioAuthRegisterComponent {\n service;\n renderOptions = {\n submitOnEnter: true\n };\n constructor(service) {\n this.service = service;\n }\n static ɵfac = function FormioAuthRegisterComponent_Factory(t) { return new (t || FormioAuthRegisterComponent)(i0.ɵɵdirectiveInject(i1.FormioAuthService)); };\n 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) {\n i0.ɵɵelementStart(0, \"formio\", 0);\n i0.ɵɵlistener(\"submit\", function FormioAuthRegisterComponent_Template_formio_submit_0_listener($event) { return ctx.service.onRegisterSubmit($event); });\n i0.ɵɵelementEnd();\n } if (rf & 2) {\n i0.ɵɵproperty(\"src\", ctx.service.registerForm)(\"renderOptions\", ctx.renderOptions);\n } }, dependencies: [i2.FormioComponent], encapsulation: 2 });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormioAuthRegisterComponent, [{\n type: Component,\n args: [{ template: \"<formio [src]=\\\"service.registerForm\\\" [renderOptions]=\\\"renderOptions\\\" (submit)=\\\"service.onRegisterSubmit($event)\\\"></formio>\\n\" }]\n }], () => [{ type: i1.FormioAuthService }], null); })();\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassDebugInfo(FormioAu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1sJ1xufSlcbmV4cG9ydCBjbGFzcyBGb3JtaW9BdXRoUmVnaXN0ZXJDb21wb25lbnQge1xuICBwdWJsaWMgcmVuZGVyT3B0aW9uczogYW55ID0ge1xuICAgIHN1Ym1pdE9uRW50ZXI6IHRydWVcbiAgfTtcbiAgY29uc3RydWN0b3IocHVibGljIHNlcnZpY2U6IEZvcm1pb0F1dGhTZXJ2aWNlKSB7fVxufVxuIiwiPGZvcm1pbyBbc3JjXT1cInNlcnZpY2UucmVnaXN0ZXJGb3JtXCIgW3JlbmRlck9wdGlvbnNdPVwicmVuZGVyT3B0aW9uc1wiIChzdWJtaXQpPVwic2VydmljZS5vblJlZ2lzdGVyU3VibWl0KCRldmVudClcIj48L2Zvcm1pbz5cbiJdfQ==","customTransformCache":false,"dependencies":["@angular/core","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/auth.service.mjs","@formio/angular"],"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/register/register.component.mjs","meta":{},"moduleSideEffects":false,"originalCode":"import { Component } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"../auth.service\";\nimport * as i2 from \"@formio/angular\";\nexport class FormioAuthRegisterComponent {\n service;\n renderOptions = {\n submitOnEnter: true\n };\n constructor(service) {\n this.service = service;\n }\n static ɵfac = function FormioAuthRegisterComponent_Factory(t) { return new (t || FormioAuthRegisterComponent)(i0.ɵɵdirectiveInject(i1.FormioAuthService)); };\n 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) {\n i0.ɵɵelementStart(0, \"formio\", 0);\n i0.ɵɵlistener(\"submit\", function FormioAuthRegisterComponent_Template_formio_submit_0_listener($event) { return ctx.service.onRegisterSubmit($event); });\n i0.ɵɵelementEnd();\n } if (rf & 2) {\n i0.ɵɵproperty(\"src\", ctx.service.registerForm)(\"renderOptions\", ctx.renderOptions);\n } }, dependencies: [i2.FormioComponent], encapsulation: 2 });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormioAuthRegisterComponent, [{\n type: Component,\n args: [{ template: \"<formio [src]=\\\"service.registerForm\\\" [renderOptions]=\\\"renderOptions\\\" (submit)=\\\"service.onRegisterSubmit($event)\\\"></formio>\\n\" }]\n }], () => [{ type: i1.FormioAuthService }], null); })();\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassDebugInfo(FormioAuthRegisterComponent, { className: \"FormioAuthRegisterComponent\" }); })();\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVnaXN0ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vYXV0aC9zcmMvcmVnaXN0ZXIvcmVnaXN0ZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vYXV0aC9zcmMvcmVnaXN0ZXIvcmVnaXN0ZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7OztBQUsxQyxNQUFNLE9BQU8sMkJBQTJCO0lBSW5CO0lBSFosYUFBYSxHQUFRO1FBQzFCLGFBQWEsRUFBRSxJQUFJO0tBQ3BCLENBQUM7SUFDRixZQUFtQixPQUEwQjtRQUExQixZQUFPLEdBQVAsT0FBTyxDQUFtQjtJQUFHLENBQUM7cUZBSnRDLDJCQUEyQjs2REFBM0IsMkJBQTJCO1lDTHhDLGlDQUFpSDtZQUE1QyxnSEFBVSxvQ0FBZ0MsSUFBQztZQUFDLGlCQUFTOztZQUFyRixBQUE3Qiw4Q0FBNEIsb0NBQWdDOzs7aUZES3ZELDJCQUEyQjtjQUh2QyxTQUFTOzs7a0ZBR0csMkJBQTJCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBGb3JtaW9BdXRoU2VydmljZSB9IGZyb20gJy4uL2F1dGguc2VydmljZSc7XG5AQ29tcG9uZW50KHtcbiAgdGVtcGxhdGVVcmw6ICcuL3JlZ2lzdGVyLmNvbXBvbmVudC5odG1sJ1xufSlcbmV4cG9ydCBjbGFzcyBGb3JtaW9BdXRoUmVnaXN0ZXJDb21wb25lbnQge1xuICBwdWJsaWMgcmVuZGVyT3B0aW9uczogYW55ID0ge1xuICAgIHN1Ym1pdE9uRW50ZXI6IHRydWVcbiAgfTtcbiAgY29uc3RydWN0b3IocHVibGljIHNlcnZpY2U6IEZvcm1pb0F1dGhTZXJ2aWNlKSB7fVxufVxuIiwiPGZvcm1pbyBbc3JjXT1cInNlcnZpY2UucmVnaXN0ZXJGb3JtXCIgW3JlbmRlck9wdGlvbnNdPVwicmVuZGVyT3B0aW9uc1wiIChzdWJtaXQpPVwic2VydmljZS5vblJlZ2lzdGVyU3VibWl0KCRldmVudClcIj48L2Zvcm1pbz5cbiJdfQ==","originalSourcemap":{"version":3,"file":"register.component.js","sourceRoot":"","sources":["../../../../../projects/angular-formio/auth/src/register/register.component.ts","../../../../../projects/angular-formio/auth/src/register/register.component.html"],"names":[],"mappings":[[[0,0,0,0],[7,0,0,7],[9,0,0,9],[18,0,0,18],[20,0,0,20],[26,0,0,26],[41,0,0,41],[42,0,0,42]],[],[],[],[[0,0,5,0],[6,0,5,6],[13,0,5,13],[40,0,5,40]],[[4,0,9,21]],[[4,0,6,9],[17,0,6,22],[20,0,6,30]],[[8,0,7,4],[21,0,7,17],[23,0,7,19],[27,0,7,23]],[[5,0,8,3],[6,0,8,4]],[[4,0,9,2],[16,0,9,21],[23,0,9,47]],[[8,0,9,21],[20,0,9,28],[23,0,9,21],[30,0,9,28],[31,0,9,47]],[[4,0,9,50],[5,0,9,51]],[[85,0,5,13],[112,0,5,40]],[[61,0,5,13],[88,0,5,40]],[[12,1,0,0],[45,1,0,113]],[[12,1,0,69],[124,1,0,79],[160,1,0,111],[164,1,0,112]],[[12,1,0,113],[29,1,0,122]],[],[[12,1,0,37],[12,1,0,8],[58,1,0,36],[94,1,0,68]],[],[],[[81,0,5,13],[108,0,5,40]],[[14,0,2,1],[23,0,2,10]],[],[],[[82,0,5,13],[109,0,5,40]]],"sourcesContent":["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"]},"resolvedIds":{"@angular/core":{"attributes":{},"external":true,"id":"@angular/core","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"@formio/angular":{"attributes":{},"external":true,"id":"@formio/angular","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"../auth.service":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/auth.service.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":2821,"body":[{"type":"ImportDeclaration","start":0,"end":42,"specifiers":[{"type":"ImportSpecifier","start":9,"end":18,"imported":{"type":"Identifier","start":9,"end":18,"name":"Component"},"local":{"type":"Identifier","start":9,"end":18,"name":"Component"}}],"source":{"type":"Literal","start":26,"end":41,"value":"@angular/core","raw":"'@angular/core'"},"attributes":[]},{"type":"ImportDeclaration","start":43,"end":79,"specifiers":[{"type":"ImportNamespaceSpecifier","start":50,"end":57,"local":{"type":"Identifier","start":55,"end":57,"name":"i0"}}],"source":{"type":"Literal","start":63,"end":78,"value":"@angular/core","raw":"\"@angular/core\""},"attributes":[]},{"type":"ImportDeclaration","start":80,"end":118,"specifiers":[{"type":"ImportNamespaceSpecifier","start":87,"end":94,"local":{"type":"Identifier","start":92,"end":94,"name":"i1"}}],"source":{"type":"Literal","start":100,"end":117,"value":"../auth.service","raw":"\"../auth.service\""},"attributes":[]},{"type":"ImportDeclaration","start":119,"end":157,"specifiers":[{"type":"ImportNamespaceSpecifier","start":126,"end":133,"local":{"type":"Identifier","start":131,"end":133,"name":"i2"}}],"source":{"type":"Literal","start":139,"end":156,"value":"@formio/angular","raw":"\"@formio/angular\""},"attributes":[]},{"type":"ExportNamedDeclaration","start":158,"end":1077,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"ClassDeclaration","start":165,"end":1077,"decorators":[],"id":{"type":"Identifier","start":171,"end":195,"name":"FormioResetPassComponent"},"superClass":null,"body":{"type":"ClassBody","start":196,"end":1077,"body":[{"type":"PropertyDefinition","start":202,"end":210,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":202,"end":209,"name":"service"},"value":null},{"type":"MethodDefinition","start":215,"end":275,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":215,"end":226,"name":"constructor"},"value":{"type":"FunctionExpression","start":226,"end":275,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":227,"end":234,"name":"service"}],"body":{"type":"BlockStatement","start":236,"end":275,"body":[{"type":"ExpressionStatement","start":246,"end":269,"expression":{"type":"AssignmentExpression","start":246,"end":268,"operator":"=","left":{"type":"MemberExpression","start":246,"end":258,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":246,"end":250},"property":{"type":"Identifier","start":251,"end":258,"name":"service"}},"right":{"type":"Identifier","start":261,"end":268,"name":"service"}}}]},"expression":false},"kind":"constructor"},{"type":"PropertyDefinition","start":280,"end":431,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":287,"end":291,"name":"ɵfac"},"value":{"type":"FunctionExpression","start":294,"end":430,"async":false,"generator":false,"id":{"type":"Identifier","start":303,"end":335,"name":"FormioResetPassComponent_Factory"},"params":[{"type":"Identifier","start":336,"end":337,"name":"t"}],"body":{"type":"BlockStatement","start":339,"end":430,"body":[{"type":"ReturnStatement","start":341,"end":428,"argument":{"type":"NewExpression","start":348,"end":427,"callee":{"type":"LogicalExpression","start":353,"end":382,"operator":"||","left":{"type":"Identifier","start":353,"end":354,"name":"t"},"right":{"type":"Identifier","start":358,"end":382,"name":"FormioResetPassComponent"}},"arguments":[{"type":"CallExpression","start":384,"end":426,"optional":false,"callee":{"type":"MemberExpression","start":384,"end":404,"computed":false,"optional":false,"object":{"type":"Identifier","start":384,"end":386,"name":"i0"},"property":{"type":"Identifier","start":387,"end":404,"name":"ɵɵdirectiveInject"}},"arguments":[{"type":"MemberExpression","start":405,"end":425,"computed":false,"optional":false,"object":{"type":"Identifier","start":405,"end":407,"name":"i1"},"property":{"type":"Identifier","start":408,"end":425,"name":"FormioAuthService"}}]}]}}]},"expression":false}},{"type":"PropertyDefinition","start":436,"end":1075,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":443,"end":447,"name":"ɵcmp"},"value":{"type":"CallExpression","start":464,"end":1074,"optional":false,"_rollupAnnotations":[{"end":463,"start":450,"type":"pure"}],"callee":{"type":"MemberExpression","start":464,"end":484,"computed":false,"optional":false,"object":{"type":"Identifier","start":464,"end":466,"name":"i0"},"property":{"type":"Identifier","start":467,"end":484,"name":"ɵɵdefineComponent"}},"arguments":[{"type":"ObjectExpression","start":485,"end":1073,"properties":[{"type":"Property","start":487,"end":517,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":487,"end":491,"name":"type"},"value":{"type":"Identifier","start":493,"end":517,"name":"FormioResetPassComponent"},"kind":"init"},{"type":"Property","start":519,"end":548,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":519,"end":528,"name":"selectors"},"value":{"type":"ArrayExpression","start":530,"end":548,"elements":[{"type":"ArrayExpression","start":531,"end":547,"elements":[{"type":"Literal","start":532,"end":546,"value":"ng-component","raw":"\"ng-component\""}]}]},"kind":"init"},{"type":"Property","start":550,"end":558,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":550,"end":555,"name":"decls"},"value":{"type":"Literal","start":557,"end":558,"raw":"1","value":1},"kind":"init"},{"type":"Property","start":560,"end":567,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":560,"end":564,"name":"vars"},"value":{"type":"Literal","start":566,"end":567,"raw":"1","value":1},"kind":"init"},{"type":"Property","start":569,"end":599,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":569,"end":575,"name":"consts"},"value":{"type":"ArrayExpression","start":577,"end":599,"elements":[{"type":"ArrayExpression","start":578,"end":598,"elements":[{"type":"Literal","start":579,"end":580,"raw":"3","value":3},{"type":"Literal","start":582,"end":590,"value":"submit","raw":"\"submit\""},{"type":"Literal","start":592,"end":597,"value":"src","raw":"\"src\""}]}]},"kind":"init"},{"type":"Property","start":601,"end":1017,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":601,"end":609,"name":"template"},"value":{"type":"FunctionExpression","start":611,"end":1017,"async":false,"generator":false,"id":{"type":"Identifier","start":620,"end":653,"name":"FormioResetPassComponent_Template"},"params":[{"type":"Identifier","start":654,"end":656,"name":"rf"},{"type":"Identifier","start":658,"end":661,"name":"ctx"}],"body":{"type":"BlockStatement","start":663,"end":1017,"body":[{"type":"IfStatement","start":665,"end":930,"test":{"type":"BinaryExpression","start":669,"end":675,"operator":"&","left":{"type":"Identifier","start":669,"end":671,"name":"rf"},"right":{"type":"Literal","start":674,"end":675,"raw":"1","value":1}},"consequent":{"type":"BlockStatement","start":677,"end":930,"body":[{"type":"ExpressionStatement","start":691,"end":725,"expression":{"type":"CallExpression","start":691,"end":724,"optional":false,"callee":{"type":"MemberExpression","start":691,"end":708,"computed":false,"optional":false,"object":{"type":"Identifier","start":691,"end":693,"name":"i0"},"property":{"type":"Identifier","start":694,"end":708,"name":"ɵɵelementStart"}},"arguments":[{"type":"Literal","start":709,"end":710,"raw":"0","value":0},{"type":"Literal","start":712,"end":720,"value":"formio","raw":"\"formio\""},{"type":"Literal","start":722,"end":723,"raw":"0","value":0}]}},{"type":"ExpressionStatement","start":738,"end":889,"expression":{"type":"CallExpression","start":738,"end":888,"optional":false,"callee":{"type":"MemberExpression","start":738,"end":751,"computed":false,"optional":false,"object":{"type":"Identifier","start":738,"end":740,"name":"i0"},"property":{"type":"Identifier","start":741,"end":751,"name":"ɵɵlistener"}},"arguments":[{"type":"Literal","start":752,"end":760,"value":"submit","raw":"\"submit\""},{"type":"FunctionExpression","start":762,"end":887,"async":false,"generator":false,"id":{"type":"Identifier","start":771,"end":829,"name":"FormioResetPassComponent_Template_formio_submit_0_listener"},"params":[{"type":"Identifier","start":830,"end":836,"name":"$event"}],"body":{"type":"BlockStatement","start":838,"end":887,"body":[{"type":"ReturnStatement","start":840,"end":885,"argument":{"type":"CallExpression","start":847,"end":884,"optional":false,"callee":{"type":"MemberExpression","start":847,"end":876,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":847,"end":858,"computed":false,"optional":false,"object":{"type":"Identifier","start":847,"end":850,"name":"ctx"},"property":{"type":"Identifier","start":851,"end":858,"name":"service"}},"property":{"type":"Identifier","start":859,"end":876,"name":"onResetPassSubmit"}},"arguments":[{"type":"Identifier","start":877,"end":883,"name":"$event"}]}}]},"expression":false}]}},{"type":"ExpressionStatement","start":902,"end":920,"expression":{"type":"CallExpression","start":902,"end":919,"optional":false,"callee":{"type":"MemberExpression","start":902,"end":917,"computed":false,"optional":false,"object":{"type":"Identifier","start":902,"end":904,"name":"i0"},"property":{"type":"Identifier","start":905,"end":917,"name":"ɵɵelementEnd"}},"arguments":[]}}]},"alternate":null},{"type":"IfStatement","start":931,"end":1015,"test":{"type":"BinaryExpression","start":935,"end":941,"operator":"&","left":{"type":"Identifier","start":935,"end":937,"name":"rf"},"right":{"type":"Literal","start":940,"end":941,"raw":"2","value":2}},"consequent":{"type":"BlockStatement","start":943,"end":1015,"body":[{"type":"ExpressionStatement","start":957,"end":1005,"expression":{"type":"CallExpression","start":957,"end":1004,"optional":false,"callee":{"type":"MemberExpression","start":957,"end":970,"computed":false,"optional":false,"object":{"type":"Identifier","start":957,"end":959,"name":"i0"},"property":{"type":"Identifier","start":960,"end":970,"name":"ɵɵproperty"}},"arguments":[{"type":"Literal","start":971,"end":976,"value":"src","raw":"\"src\""},{"type":"MemberExpression","start":978,"end":1003,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":978,"end":989,"computed":false,"optional":false,"object":{"type":"Identifier","start":978,"end":981,"name":"ctx"},"property":{"type":"Identifier","start":982,"end":989,"name":"service"}},"property":{"type":"Identifier","start":990,"end":1003,"name":"resetPassForm"}}]}}]},"alternate":null}]},"expression":false},"kind":"init"},{"type":"Property","start":1019,"end":1053,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1019,"end":1031,"name":"dependencies"},"value":{"type":"ArrayExpression","start":1033,"end":1053,"elements":[{"type":"MemberExpression","start":1034,"end":1052,"computed":false,"optional":false,"object":{"type":"Identifier","start":1034,"end":1036,"name":"i2"},"property":{"type":"Identifier","start":1037,"end":1052,"name":"FormioComponent"}}]},"kind":"init"},{"type":"Property","start":1055,"end":1071,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1055,"end":1068,"name":"encapsulation"},"value":{"type":"Literal","start":1070,"end":1071,"raw":"2","value":2},"kind":"init"}]}]}}]}}},{"type":"ExpressionStatement","start":1078,"end":1404,"expression":{"type":"CallExpression","start":1078,"end":1403,"optional":false,"callee":{"type":"ArrowFunctionExpression","start":1079,"end":1400,"async":false,"expression":false,"generator":false,"params":[],"body":{"type":"BlockStatement","start":1085,"end":1400,"body":[{"type":"ExpressionStatement","start":1087,"end":1398,"expression":{"type":"LogicalExpression","start":1087,"end":1397,"operator":"&&","left":{"type":"LogicalExpression","start":1088,"end":1133,"operator":"||","left":{"type":"BinaryExpression","start":1088,"end":1120,"operator":"===","left":{"type":"UnaryExpression","start":1088,"end":1104,"operator":"typeof","argument":{"type":"Identifier","start":1095,"end":1104,"name":"ngDevMode"},"prefix":true},"right":{"type":"Literal","start":1109,"end":1120,"value":"undefined","raw":"\"undefined\""}},"right":{"type":"Identifier","start":1124,"end":1133,"name":"ngDevMode"}},"right":{"type":"CallExpression","start":1138,"end":1397,"optional":false,"callee":{"type":"MemberExpression","start":1138,"end":1158,"computed":false,"optional":false,"object":{"type":"Identifier","start":1138,"end":1140,"name":"i0"},"property":{"type":"Identifier","start":1141,"end":1158,"name":"ɵsetClassMetadata"}},"arguments":[{"type":"Identifier","start":1159,"end":1183,"name":"FormioResetPassComponent"},{"type":"ArrayExpression","start":1185,"end":1350,"elements":[{"type":"ObjectExpression","start":1186,"end":1349,"properties":[{"type":"Property","start":1196,"end":1211,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1196,"end":1200,"name":"type"},"value":{"type":"Identifier","start":1202,"end":1211,"name":"Component"},"kind":"init"},{"type":"Property","start":1221,"end":1343,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1221,"end":1225,"name":"args"},"value":{"type":"ArrayExpression","start":1227,"end":1343,"elements":[{"type":"ObjectExpression","start":1228,"end":1342,"properties":[{"type":"Property","start":1230,"end":1340,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1230,"end":1238,"name":"template"},"value":{"type":"Literal","start":1240,"end":1340,"value":"<formio [src]=\"service.resetPassForm\" (submit)=\"service.onResetPassSubmit($event)\"></formio>\n","raw":"\"<formio [src]=\\\"service.resetPassForm\\\" (submit)=\\\"service.onResetPassSubmit($event)\\\"></formio>\\n\""},"kind":"init"}]}]},"kind":"init"}]}]},{"type":"ArrowFunctionExpression","start":1352,"end":1390,"async":false,"expression":true,"generator":false,"params":[],"body":{"type":"ArrayExpression","start":1358,"end":1390,"elements":[{"type":"ObjectExpression","start":1359,"end":1389,"properties":[{"type":"Property","start":1361,"end":1387,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1361,"end":1365,"name":"type"},"value":{"type":"MemberExpression","start":1367,"end":1387,"computed":false,"optional":false,"object":{"type":"Identifier","start":1367,"end":1369,"name":"i1"},"property":{"type":"Identifier","start":1370,"end":1387,"name":"FormioAuthService"}},"kind":"init"}]}]},"id":null},{"type":"Literal","start":1392,"end":1396,"raw":"null","value":null}]}}}]},"id":null},"arguments":[]}},{"type":"ExpressionStatement","start":1405,"end":1562,"expression":{"type":"CallExpression","start":1405,"end":1561,"optional":false,"callee":{"type":"ArrowFunctionExpression","start":1406,"end":1558,"async":false,"expression":false,"generator":false,"params":[],"body":{"type":"BlockStatement","start":1412,"end":1558,"body":[{"type":"ExpressionStatement","start":1414,"end":1556,"expression":{"type":"LogicalExpression","start":1414,"end":1555,"operator":"&&","left":{"type":"LogicalExpression","start":1415,"end":1460,"operator":"||","left":{"type":"BinaryExpression","start":1415,"end":1447,"operator":"===","left":{"type":"UnaryExpression","start":1415,"end":1431,"operator":"typeof","argument":{"type":"Identifier","start":1422,"end":1431,"name":"ngDevMode"},"prefix":true},"right":{"type":"Literal","start":1436,"end":1447,"value":"undefined","raw":"\"undefined\""}},"right":{"type":"Identifier","start":1451,"end":1460,"name":"ngDevMode"}},"right":{"type":"CallExpression","start":1465,"end":1555,"optional":false,"callee":{"type":"MemberExpression","start":1465,"end":1486,"computed":false,"optional":false,"object":{"type":"Identifier","start":1465,"end":1467,"name":"i0"},"property":{"type":"Identifier","start":1468,"end":1486,"name":"ɵsetClassDebugInfo"}},"arguments":[{"type":"Identifier","start":1487,"end":1511,"name":"FormioResetPassComponent"},{"type":"ObjectExpression","start":1513,"end":1554,"properties":[{"type":"Property","start":1515,"end":1552,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1515,"end":1524,"name":"className"},"value":{"type":"Literal","start":1526,"end":1552,"value":"FormioResetPassComponent","raw":"\"FormioResetPassComponent\""},"kind":"init"}]}]}}}]},"id":null},"arguments":[]}}],"_rollupRemoved":[{"end":2821,"start":1563,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"import { Component } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"../auth.service\";\nimport * as i2 from \"@formio/angular\";\nexport class FormioResetPassComponent {\n service;\n constructor(service) {\n this.service = service;\n }\n static ɵfac = function FormioResetPassComponent_Factory(t) { return new (t || FormioResetPassComponent)(i0.ɵɵdirectiveInject(i1.FormioAuthService)); };\n 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) {\n i0.ɵɵelementStart(0, \"formio\", 0);\n i0.ɵɵlistener(\"submit\", function FormioResetPassComponent_Template_formio_submit_0_listener($event) { return ctx.service.onResetPassSubmit($event); });\n i0.ɵɵelementEnd();\n } if (rf & 2) {\n i0.ɵɵproperty(\"src\", ctx.service.resetPassForm);\n } }, dependencies: [i2.FormioComponent], encapsulation: 2 });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormioResetPassComponent, [{\n type: Component,\n args: [{ template: \"<formio [src]=\\\"service.resetPassForm\\\" (submit)=\\\"service.onResetPassSubmit($event)\\\"></formio>\\n\" }]\n }], () => [{ type: i1.FormioAuthService }], null); })();\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassDebugInfo(FormioResetPassComponent, { className: \"FormioResetPassComponent\" }); })();\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzZXRwYXNzLmNvbXBvbmVudC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VzZXRQYXNzRm9ybVwiIChzdWJtaXQpPVwic2VydmljZS5vblJlc2V0UGFzc1N1Ym1pdCgkZXZlbnQpXCI+PC9mb3JtaW8+XG4iXX0=","customTransformCache":false,"dependencies":["@angular/core","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/auth.service.mjs","@formio/angular"],"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/resetpass/resetpass.component.mjs","meta":{},"moduleSideEffects":false,"originalCode":"import { Component } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"../auth.service\";\nimport * as i2 from \"@formio/angular\";\nexport class FormioResetPassComponent {\n service;\n constructor(service) {\n this.service = service;\n }\n static ɵfac = function FormioResetPassComponent_Factory(t) { return new (t || FormioResetPassComponent)(i0.ɵɵdirectiveInject(i1.FormioAuthService)); };\n 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) {\n i0.ɵɵelementStart(0, \"formio\", 0);\n i0.ɵɵlistener(\"submit\", function FormioResetPassComponent_Template_formio_submit_0_listener($event) { return ctx.service.onResetPassSubmit($event); });\n i0.ɵɵelementEnd();\n } if (rf & 2) {\n i0.ɵɵproperty(\"src\", ctx.service.resetPassForm);\n } }, dependencies: [i2.FormioComponent], encapsulation: 2 });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormioResetPassComponent, [{\n type: Component,\n args: [{ template: \"<formio [src]=\\\"service.resetPassForm\\\" (submit)=\\\"service.onResetPassSubmit($event)\\\"></formio>\\n\" }]\n }], () => [{ type: i1.FormioAuthService }], null); })();\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassDebugInfo(FormioResetPassComponent, { className: \"FormioResetPassComponent\" }); })();\n//# sourceMapp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1pb0F1dGhTZXJ2aWNlKSB7fVxufVxuIiwiPGZvcm1pbyBbc3JjXT1cInNlcnZpY2UucmVzZXRQYXNzRm9ybVwiIChzdWJtaXQpPVwic2VydmljZS5vblJlc2V0UGFzc1N1Ym1pdCgkZXZlbnQpXCI+PC9mb3JtaW8+XG4iXX0=","originalSourcemap":{"version":3,"file":"resetpass.component.js","sourceRoot":"","sources":["../../../../../projects/angular-formio/auth/src/resetpass/resetpass.component.ts","../../../../../projects/angular-formio/auth/src/resetpass/resetpass.component.html"],"names":[],"mappings":[[[0,0,0,0],[7,0,0,7],[9,0,0,9],[18,0,0,18],[20,0,0,20],[26,0,0,26],[41,0,0,41],[42,0,0,42]],[],[],[],[[0,0,5,0],[6,0,5,6],[13,0,5,13],[37,0,5,37]],[[4,0,6,21]],[[4,0,6,2],[16,0,6,21],[23,0,6,47]],[[8,0,6,21],[20,0,6,28],[23,0,6,21],[30,0,6,28],[31,0,6,47]],[[4,0,6,50],[5,0,6,51]],[[82,0,5,13],[106,0,5,37]],[[61,0,5,13],[85,0,5,37]],[[12,1,0,0],[45,1,0,83]],[[12,1,0,38],[121,1,0,48],[158,1,0,81],[162,1,0,82]],[[12,1,0,83],[29,1,0,92]],[],[[12,1,0,8],[59,1,0,37]],[],[],[[81,0,5,13],[105,0,5,37]],[[14,0,2,1],[23,0,2,10]],[],[],[[82,0,5,13],[106,0,5,37]]],"sourcesContent":["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"]},"resolvedIds":{"@angular/core":{"attributes":{},"external":true,"id":"@angular/core","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"@formio/angular":{"attributes":{},"external":true,"id":"@formio/angular","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"../auth.service":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/auth.service.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":4123,"body":[{"type":"ImportDeclaration","start":0,"end":55,"specifiers":[{"type":"ImportSpecifier","start":9,"end":28,"imported":{"type":"Identifier","start":9,"end":28,"name":"FormioAuthComponent"},"local":{"type":"Identifier","start":9,"end":28,"name":"FormioAuthComponent"}}],"source":{"type":"Literal","start":36,"end":54,"value":"./auth.component","raw":"'./auth.component'"},"attributes":[]},{"type":"ImportDeclaration","start":56,"end":123,"specifiers":[{"type":"ImportSpecifier","start":65,"end":89,"imported":{"type":"Identifier","start":65,"end":89,"name":"FormioAuthLoginComponent"},"local":{"type":"Identifier","start":65,"end":89,"name":"FormioAuthLoginComponent"}}],"source":{"type":"Literal","start":97,"end":122,"value":"./login/login.component","raw":"'./login/login.component'"},"attributes":[]},{"type":"ImportDeclaration","start":124,"end":200,"specifiers":[{"type":"ImportSpecifier","start":133,"end":160,"imported":{"type":"Identifier","start":133,"end":160,"name":"FormioAuthRegisterComponent"},"local":{"type":"Identifier","start":133,"end":160,"name":"FormioAuthRegisterComponent"}}],"source":{"type":"Literal","start":168,"end":199,"value":"./register/register.component","raw":"'./register/register.component'"},"attributes":[]},{"type":"ImportDeclaration","start":201,"end":276,"specifiers":[{"type":"ImportSpecifier","start":210,"end":234,"imported":{"type":"Identifier","start":210,"end":234,"name":"FormioResetPassComponent"},"local":{"type":"Identifier","start":210,"end":234,"name":"FormioResetPassComponent"}}],"source":{"type":"Literal","start":242,"end":275,"value":"./resetpass/resetpass.component","raw":"'./resetpass/resetpass.component'"},"attributes":[]},{"type":"ExportNamedDeclaration","start":277,"end":1176,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"FunctionDeclaration","start":284,"end":1176,"async":false,"generator":false,"id":{"type":"Identifier","start":293,"end":309,"name":"FormioAuthRoutes"},"params":[{"type":"Identifier","start":310,"end":316,"name":"config"}],"body":{"type":"BlockStatement","start":318,"end":1176,"body":[{"type":"ReturnStatement","start":324,"end":1174,"argument":{"type":"ArrayExpression","start":331,"end":1173,"elements":[{"type":"ObjectExpression","start":341,"end":1167,"properties":[{"type":"Property","start":355,"end":363,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":355,"end":359,"name":"path"},"value":{"type":"Literal","start":361,"end":363,"value":"","raw":"''"},"kind":"init"},{"type":"Property","start":377,"end":445,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":377,"end":386,"name":"component"},"value":{"type":"ConditionalExpression","start":388,"end":445,"test":{"type":"LogicalExpression","start":388,"end":409,"operator":"&&","left":{"type":"Identifier","start":388,"end":394,"name":"config"},"right":{"type":"MemberExpression","start":398,"end":409,"computed":false,"optional":false,"object":{"type":"Identifier","start":398,"end":404,"name":"config"},"property":{"type":"Identifier","start":405,"end":409,"name":"auth"}}},"consequent":{"type":"MemberExpression","start":412,"end":423,"computed":false,"optional":false,"object":{"type":"Identifier","start":412,"end":418,"name":"config"},"property":{"type":"Identifier","start":419,"end":423,"name":"auth"}},"alternate":{"type":"Identifier","start":426,"end":445,"name":"FormioAuthComponent"}},"kind":"init"},{"type":"Property","start":459,"end":1157,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":459,"end":467,"name":"children"},"value":{"type":"ArrayExpression","start":469,"end":1157,"elements":[{"type":"ObjectExpression","start":487,"end":615,"properties":[{"type":"Property","start":509,"end":517,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":509,"end":513,"name":"path"},"value":{"type":"Literal","start":515,"end":517,"value":"","raw":"''"},"kind":"init"},{"type":"Property","start":539,"end":558,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":539,"end":549,"name":"redirectTo"},"value":{"type":"Literal","start":551,"end":558,"value":"login","raw":"'login'"},"kind":"init"},{"type":"Property","start":580,"end":597,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":580,"end":589,"name":"pathMatch"},"value":{"type":"Literal","start":591,"end":597,"value":"full","raw":"'full'"},"kind":"init"}]},{"type":"ObjectExpression","start":633,"end":783,"properties":[{"type":"Property","start":655,"end":668,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":655,"end":659,"name":"path"},"value":{"type":"Literal","start":661,"end":668,"value":"login","raw":"'login'"},"kind":"init"},{"type":"Property","start":690,"end":765,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":690,"end":699,"name":"component"},"value":{"type":"ConditionalExpression","start":701,"end":765,"test":{"type":"LogicalExpression","start":701,"end":723,"operator":"&&","left":{"type":"Identifier","start":701,"end":707,"name":"config"},"right":{"type":"MemberExpression","start":711,"end":723,"computed":false,"optional":false,"object":{"type":"Identifier","start":711,"end":717,"name":"config"},"property":{"type":"Identifier","start":718,"end":723,"name":"login"}}},"consequent":{"type":"MemberExpression","start":726,"end":738,"computed":false,"optional":false,"object":{"type":"Identifier","start":726,"end":732,"name":"config"},"property":{"type":"Identifier","start":733,"end":738,"name":"login"}},"alternate":{"type":"Identifier","start":741,"end":765,"name":"FormioAuthLoginComponent"}},"kind":"init"}]},{"type":"ObjectExpression","start":801,"end":963,"properties":[{"type":"Property","start":823,"end":839,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":823,"end":827,"name":"path"},"value":{"type":"Literal","start":829,"end":839,"value":"register","raw":"'register'"},"kind":"init"},{"type":"Property","start":861,"end":945,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":861,"end":870,"name":"component"},"value":{"type":"ConditionalExpression","start":872,"end":945,"test":{"type":"LogicalExpression","start":872,"end":897,"operator":"&&","left":{"type":"Identifier","start":872,"end":878,"name":"config"},"right":{"type":"MemberExpression","start":882,"end":897,"computed":false,"optional":false,"object":{"type":"Identifier","start":882,"end":888,"name":"config"},"property":{"type":"Identifier","start":889,"end":897,"name":"register"}}},"consequent":{"type":"MemberExpression","start":900,"end":915,"computed":false,"optional":false,"object":{"type":"Identifier","start":900,"end":906,"name":"config"},"property":{"type":"Identifier","start":907,"end":915,"name":"register"}},"alternate":{"type":"Identifier","start":918,"end":945,"name":"FormioAuthRegisterComponent"}},"kind":"init"}]},{"type":"ObjectExpression","start":981,"end":1143,"properties":[{"type":"Property","start":1003,"end":1020,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1003,"end":1007,"name":"path"},"value":{"type":"Literal","start":1009,"end":1020,"value":"resetpass","raw":"'resetpass'"},"kind":"init"},{"type":"Property","start":1042,"end":1125,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1042,"end":1051,"name":"component"},"value":{"type":"ConditionalExpression","start":1053,"end":1125,"test":{"type":"LogicalExpression","start":1053,"end":1079,"operator":"&&","left":{"type":"Identifier","start":1053,"end":1059,"name":"config"},"right":{"type":"MemberExpression","start":1063,"end":1079,"computed":false,"optional":false,"object":{"type":"Identifier","start":1063,"end":1069,"name":"config"},"property":{"type":"Identifier","start":1070,"end":1079,"name":"resetpass"}}},"consequent":{"type":"MemberExpression","start":1082,"end":1098,"computed":false,"optional":false,"object":{"type":"Identifier","start":1082,"end":1088,"name":"config"},"property":{"type":"Identifier","start":1089,"end":1098,"name":"resetpass"}},"alternate":{"type":"Identifier","start":1101,"end":1125,"name":"FormioResetPassComponent"}},"kind":"init"}]}]},"kind":"init"}]}]}}]},"expression":false}}],"_rollupRemoved":[{"end":4123,"start":1177,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"import { FormioAuthComponent } from './auth.component';\nimport { FormioAuthLoginComponent } from './login/login.component';\nimport { FormioAuthRegisterComponent } from './register/register.component';\nimport { FormioResetPassComponent } from './resetpass/resetpass.component';\nexport function FormioAuthRoutes(config) {\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//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC5yb3V0ZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9hdXRoL3NyYy9hdXRoLnJvdXRlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUN2RCxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUNuRSxPQUFPLEVBQUUsMkJBQTJCLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUM1RSxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQztBQUUzRSxNQUFNLFVBQVUsZ0JBQWdCLENBQUMsTUFBOEI7SUFDN0QsT0FBTztRQUNMO1lBQ0UsSUFBSSxFQUFFLEVBQUU7WUFDUixTQUFTLEVBQUUsTUFBTSxJQUFJLE1BQU0sQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDLG1CQUFtQjtZQUNwRSxRQUFRLEVBQUU7Z0JBQ1I7b0JBQ0UsSUFBSSxFQUFFLEVBQUU7b0JBQ1IsVUFBVSxFQUFFLE9BQU87b0JBQ25CLFNBQVMsRUFBRSxNQUFNO2lCQUNsQjtnQkFDRDtvQkFDRSxJQUFJLEVBQUUsT0FBTztvQkFDYixTQUFTLEVBQUUsTUFBTSxJQUFJL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W9BdXRoUm91dGVzKGNvbmZpZz86IEZvcm1pb0F1dGhSb3V0ZUNvbmZpZyk6IFJvdXRlcyB7XG4gIHJldHVybiBbXG4gICAge1xuICAgICAgcGF0aDogJycsXG4gICAgICBjb21wb25lbnQ6IGNvbmZpZyAmJiBjb25maWcuYXV0aCA/IGNvbmZpZy5hdXRoIDogRm9ybWlvQXV0aENvbXBvbmVudCxcbiAgICAgIGNoaWxkcmVuOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBwYXRoOiAnJyxcbiAgICAgICAgICByZWRpcmVjdFRvOiAnbG9naW4nLFxuICAgICAgICAgIHBhdGhNYXRjaDogJ2Z1bGwnXG4gICAgICAgIH0sXG4gICAgICAgIHtcbiAgICAgICAgICBwYXRoOiAnbG9naW4nLFxuICAgICAgICAgIGNvbXBvbmVudDogY29uZmlnICYmIGNvbmZpZy5sb2dpbiA/IGNvbmZpZy5sb2dpbiA6IEZvcm1pb0F1dGhMb2dpbkNvbXBvbmVudFxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgcGF0aDogJ3JlZ2lzdGVyJyxcbiAgICAgICAgICBjb21wb25lbnQ6IGNvbmZpZyAmJiBjb25maWcucmVnaXN0ZXIgPyBjb25maWcucmVnaXN0ZXIgOiBGb3JtaW9BdXRoUmVnaXN0ZXJDb21wb25lbnRcbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIHBhdGg6ICdyZXNldHBhc3MnLFxuICAgICAgICAgIGNvbXBvbmVudDogY29uZmlnICYmIGNvbmZpZy5yZXNldHBhc3MgPyBjb25maWcucmVzZXRwYXNzIDogRm9ybWlvUmVzZXRQYXNzQ29tcG9uZW50XG4gICAgICAgIH1cbiAgICAgIF1cbiAgICB9XG4gIF07XG59XG4iXX0=","customTransformCache":false,"dependencies":["/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/auth.component.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/login/login.component.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/register/register.component.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/resetpass/resetpass.component.mjs"],"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/auth.routes.mjs","meta":{},"moduleSideEffects":false,"originalCode":"import { FormioAuthComponent } from './auth.component';\nimport { FormioAuthLoginComponent } from './login/login.component';\nimport { FormioAuthRegisterComponent } from './register/register.component';\nimport { FormioResetPassComponent } from './resetpass/resetpass.component';\nexport function FormioAuthRoutes(config) {\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//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC5yb3V0ZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9hdXRoL3NyYy9hdXRoLnJvdXRlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUN2RCxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUNuRSxPQUFPLEVBQUUsMkJBQTJCLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUM1RSxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQztBQUUzRSxNQUFNLFVBQVUsZ0JBQWdCLENBQUMsT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iBGb3JtaW9BdXRoUmVnaXN0ZXJDb21wb25lbnRcbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIHBhdGg6ICdyZXNldHBhc3MnLFxuICAgICAgICAgIGNvbXBvbmVudDogY29uZmlnICYmIGNvbmZpZy5yZXNldHBhc3MgPyBjb25maWcucmVzZXRwYXNzIDogRm9ybWlvUmVzZXRQYXNzQ29tcG9uZW50XG4gICAgICAgIH1cbiAgICAgIF1cbiAgICB9XG4gIF07XG59XG4iXX0=","originalSourcemap":{"version":3,"file":"auth.routes.js","sourceRoot":"","sources":["../../../../projects/angular-formio/auth/src/auth.routes.ts"],"names":[],"mappings":[[[0,0,2,0],[7,0,2,7],[9,0,2,9],[28,0,2,28],[30,0,2,30],[36,0,2,36],[54,0,2,54],[55,0,2,55]],[[0,0,3,0],[7,0,3,7],[9,0,3,9],[33,0,3,33],[35,0,3,35],[41,0,3,41],[66,0,3,66],[67,0,3,67]],[[0,0,4,0],[7,0,4,7],[9,0,4,9],[36,0,4,36],[38,0,4,38],[44,0,4,44],[75,0,4,75],[76,0,4,76]],[[0,0,5,0],[7,0,5,7],[9,0,5,9],[33,0,5,33],[35,0,5,35],[41,0,5,41],[74,0,5,74],[75,0,5,75]],[[0,0,7,0],[6,0,7,6],[16,0,7,16],[32,0,7,32],[33,0,7,33],[39,0,7,63]],[[4,0,8,2],[11,0,8,9]],[[8,0,9,4]],[[12,0,10,6],[16,0,10,10],[18,0,10,12],[20,0,10,14]],[[12,0,11,6],[21,0,11,15],[23,0,11,17],[29,0,11,23],[33,0,11,27],[39,0,11,33],[40,0,11,34],[44,0,11,38],[45,0,11,39],[46,0,11,40],[47,0,11,41],[53,0,11,47],[54,0,11,48],[58,0,11,52],[59,0,11,53],[60,0,11,54],[61,0,11,55],[80,0,11,74]],[[12,0,12,6],[20,0,12,14],[22,0,12,16]],[[16,0,13,8]],[[20,0,14,10],[24,0,14,14],[26,0,14,16],[28,0,14,18]],[[20,0,15,10],[30,0,15,20],[32,0,15,22],[39,0,15,29]],[[20,0,16,10],[29,0,16,19],[31,0,16,21],[37,0,16,27]],[[17,0,17,9]],[[16,0,18,8]],[[20,0,19,10],[24,0,19,14],[26,0,19,16],[33,0,19,23]],[[20,0,20,10],[29,0,20,19],[31,0,20,21],[37,0,20,27],[41,0,20,31],[47,0,20,37],[48,0,20,38],[53,0,20,43],[54,0,20,44],[55,0,20,45],[56,0,20,46],[62,0,20,52],[63,0,20,53],[68,0,20,58],[69,0,20,59],[70,0,20,60],[71,0,20,61],[95,0,20,85]],[[17,0,21,9]],[[16,0,22,8]],[[20,0,23,10],[24,0,23,14],[26,0,23,16],[36,0,23,26]],[[20,0,24,10],[29,0,24,19],[31,0,24,21],[37,0,24,27],[41,0,24,31],[47,0,24,37],[48,0,24,38],[56,0,24,46],[57,0,24,47],[58,0,24,48],[59,0,24,49],[65,0,24,55],[66,0,24,56],[74,0,24,64],[75,0,24,65],[76,0,24,66],[77,0,24,67],[104,0,24,94]],[[17,0,25,9]],[[16,0,26,8]],[[20,0,27,10],[24,0,27,14],[26,0,27,16],[37,0,27,27]],[[20,0,28,10],[29,0,28,19],[31,0,28,21],[37,0,28,27],[41,0,28,31],[47,0,28,37],[48,0,28,38],[57,0,28,47],[58,0,28,48],[59,0,28,49],[60,0,28,50],[66,0,28,56],[67,0,28,57],[76,0,28,66],[77,0,28,67],[78,0,28,68],[79,0,28,69],[103,0,28,93]],[[17,0,29,9]],[[13,0,30,7]],[[9,0,31,5]],[[5,0,32,3],[6,0,32,4]],[[0,0,33,0],[1,0,33,1]]],"sourcesContent":["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"]},"resolvedIds":{"./auth.component":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/auth.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./login/login.component":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/login/login.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./register/register.component":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/register/register.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./resetpass/resetpass.component":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/resetpass/resetpass.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":5119,"body":[{"type":"ImportDeclaration","start":0,"end":41,"specifiers":[{"type":"ImportSpecifier","start":9,"end":17,"imported":{"type":"Identifier","start":9,"end":17,"name":"NgModule"},"local":{"type":"Identifier","start":9,"end":17,"name":"NgModule"}}],"source":{"type":"Literal","start":25,"end":40,"value":"@angular/core","raw":"'@angular/core'"},"attributes":[]},{"type":"ImportDeclaration","start":42,"end":89,"specifiers":[{"type":"ImportSpecifier","start":51,"end":63,"imported":{"type":"Identifier","start":51,"end":63,"name":"CommonModule"},"local":{"type":"Identifier","start":51,"end":63,"name":"CommonModule"}}],"source":{"type":"Literal","start":71,"end":88,"value":"@angular/common","raw":"'@angular/common'"},"attributes":[]},{"type":"ImportDeclaration","start":90,"end":137,"specifiers":[{"type":"ImportSpecifier","start":99,"end":111,"imported":{"type":"Identifier","start":99,"end":111,"name":"RouterModule"},"local":{"type":"Identifier","start":99,"end":111,"name":"RouterModule"}}],"source":{"type":"Literal","start":119,"end":136,"value":"@angular/router","raw":"'@angular/router'"},"attributes":[]},{"type":"ImportDeclaration","start":138,"end":185,"specifiers":[{"type":"ImportSpecifier","start":147,"end":159,"imported":{"type":"Identifier","start":147,"end":159,"name":"FormioModule"},"local":{"type":"Identifier","start":147,"end":159,"name":"FormioModule"}}],"source":{"type":"Literal","start":167,"end":184,"value":"@formio/angular","raw":"'@formio/angular'"},"attributes":[]},{"type":"ImportDeclaration","start":186,"end":241,"specifiers":[{"type":"ImportSpecifier","start":195,"end":214,"imported":{"type":"Identifier","start":195,"end":214,"name":"FormioAuthComponent"},"local":{"type":"Identifier","start":195,"end":214,"name":"FormioAuthComponent"}}],"source":{"type":"Literal","start":222,"end":240,"value":"./auth.component","raw":"'./auth.component'"},"attributes":[]},{"type":"ImportDeclaration","start":242,"end":309,"specifiers":[{"type":"ImportSpecifier","start":251,"end":275,"imported":{"type":"Identifier","start":251,"end":275,"name":"FormioAuthLoginComponent"},"local":{"type":"Identifier","start":251,"end":275,"name":"FormioAuthLoginComponent"}}],"source":{"type":"Literal","start":283,"end":308,"value":"./login/login.component","raw":"'./login/login.component'"},"attributes":[]},{"type":"ImportDeclaration","start":310,"end":386,"specifiers":[{"type":"ImportSpecifier","start":319,"end":346,"imported":{"type":"Identifier","start":319,"end":346,"name":"FormioAuthRegisterComponent"},"local":{"type":"Identifier","start":319,"end":346,"name":"FormioAuthRegisterComponent"}}],"source":{"type":"Literal","start":354,"end":385,"value":"./register/register.component","raw":"'./register/register.component'"},"attributes":[]},{"type":"ImportDeclaration","start":387,"end":462,"specifiers":[{"type":"ImportSpecifier","start":396,"end":420,"imported":{"type":"Identifier","start":396,"end":420,"name":"FormioResetPassComponent"},"local":{"type":"Identifier","start":396,"end":420,"name":"FormioResetPassComponent"}}],"source":{"type":"Literal","start":428,"end":461,"value":"./resetpass/resetpass.component","raw":"'./resetpass/resetpass.component'"},"attributes":[]},{"type":"ImportDeclaration","start":463,"end":512,"specifiers":[{"type":"ImportSpecifier","start":472,"end":488,"imported":{"type":"Identifier","start":472,"end":488,"name":"FormioAuthRoutes"},"local":{"type":"Identifier","start":472,"end":488,"name":"FormioAuthRoutes"}}],"source":{"type":"Literal","start":496,"end":511,"value":"./auth.routes","raw":"'./auth.routes'"},"attributes":[]},{"type":"ImportDeclaration","start":513,"end":560,"specifiers":[{"type":"ImportSpecifier","start":522,"end":534,"imported":{"type":"Identifier","start":522,"end":534,"name":"extendRouter"},"local":{"type":"Identifier","start":522,"end":534,"name":"extendRouter"}}],"source":{"type":"Literal","start":542,"end":559,"value":"@formio/angular","raw":"'@formio/angular'"},"attributes":[]},{"type":"ImportDeclaration","start":561,"end":597,"specifiers":[{"type":"ImportNamespaceSpecifier","start":568,"end":575,"local":{"type":"Identifier","start":573,"end":575,"name":"i0"}}],"source":{"type":"Literal","start":581,"end":596,"value":"@angular/core","raw":"\"@angular/core\""},"attributes":[]},{"type":"ExportNamedDeclaration","start":598,"end":1125,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"ClassDeclaration","start":605,"end":1125,"decorators":[],"id":{"type":"Identifier","start":611,"end":621,"name":"FormioAuth"},"superClass":null,"body":{"type":"ClassBody","start":622,"end":1125,"body":[{"type":"MethodDefinition","start":628,"end":725,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":635,"end":642,"name":"forRoot"},"value":{"type":"FunctionExpression","start":642,"end":725,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":643,"end":649,"name":"config"}],"body":{"type":"BlockStatement","start":651,"end":725,"body":[{"type":"ReturnStatement","start":661,"end":719,"argument":{"type":"CallExpression","start":668,"end":718,"optional":false,"callee":{"type":"Identifier","start":668,"end":680,"name":"extendRouter"},"arguments":[{"type":"Identifier","start":681,"end":691,"name":"FormioAuth"},{"type":"Identifier","start":693,"end":699,"name":"config"},{"type":"Identifier","start":701,"end":717,"name":"FormioAuthRoutes"}]}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":730,"end":828,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":737,"end":745,"name":"forChild"},"value":{"type":"FunctionExpression","start":745,"end":828,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":746,"end":752,"name":"config"}],"body":{"type":"BlockStatement","start":754,"end":828,"body":[{"type":"ReturnStatement","start":764,"end":822,"argument":{"type":"CallExpression","start":771,"end":821,"optional":false,"callee":{"type":"Identifier","start":771,"end":783,"name":"extendRouter"},"arguments":[{"type":"Identifier","start":784,"end":794,"name":"FormioAuth"},{"type":"Identifier","start":796,"end":802,"name":"config"},{"type":"Identifier","start":804,"end":820,"name":"FormioAuthRoutes"}]}}]},"expression":false},"kind":"method"},{"type":"PropertyDefinition","start":833,"end":914,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":840,"end":844,"name":"ɵfac"},"value":{"type":"FunctionExpression","start":847,"end":913,"async":false,"generator":false,"id":{"type":"Identifier","start":856,"end":874,"name":"FormioAuth_Factory"},"params":[{"type":"Identifier","start":875,"end":876,"name":"t"}],"body":{"type":"BlockStatement","start":878,"end":913,"body":[{"type":"ReturnStatement","start":880,"end":911,"argument":{"type":"NewExpression","start":887,"end":910,"callee":{"type":"LogicalExpression","start":892,"end":907,"operator":"||","left":{"type":"Identifier","start":892,"end":893,"name":"t"},"right":{"type":"Identifier","start":897,"end":907,"name":"FormioAuth"}},"arguments":[]}}]},"expression":false}},{"type":"PropertyDefinition","start":919,"end":989,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":926,"end":930,"name":"ɵmod"},"value":{"type":"CallExpression","start":947,"end":988,"optional":false,"_rollupAnnotations":[{"end":946,"start":933,"type":"pure"}],"callee":{"type":"MemberExpression","start":947,"end":966,"computed":false,"optional":false,"object":{"type":"Identifier","start":947,"end":949,"name":"i0"},"property":{"type":"Identifier","start":950,"end":966,"name":"ɵɵdefineNgModule"}},"arguments":[{"type":"ObjectExpression","start":967,"end":987,"properties":[{"type":"Property","start":969,"end":985,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":969,"end":973,"name":"type"},"value":{"type":"Identifier","start":975,"end":985,"name":"FormioAuth"},"kind":"init"}]}]}},{"type":"PropertyDefinition","start":994,"end":1123,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":1001,"end":1005,"name":"ɵinj"},"value":{"type":"CallExpression","start":1022,"end":1122,"optional":false,"_rollupAnnotations":[{"end":1021,"start":1008,"type":"pure"}],"callee":{"type":"MemberExpression","start":1022,"end":1041,"computed":false,"optional":false,"object":{"type":"Identifier","start":1022,"end":1024,"name":"i0"},"property":{"type":"Identifier","start":1025,"end":1041,"name":"ɵɵdefineInjector"}},"arguments":[{"type":"ObjectExpression","start":1042,"end":1121,"properties":[{"type":"Property","start":1044,"end":1119,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1044,"end":1051,"name":"imports"},"value":{"type":"ArrayExpression","start":1053,"end":1119,"elements":[{"type":"Identifier","start":1054,"end":1066,"name":"CommonModule"},{"type":"Identifier","start":1080,"end":1092,"name":"FormioModule"},{"type":"Identifier","start":1106,"end":1118,"name":"RouterModule"}]},"kind":"init"}]}]}}]}}},{"type":"ExpressionStatement","start":1126,"end":1682,"expression":{"type":"CallExpression","start":1126,"end":1681,"optional":false,"callee":{"type":"ArrowFunctionExpression","start":1127,"end":1678,"async":false,"expression":false,"generator":false,"params":[],"body":{"type":"BlockStatement","start":1133,"end":1678,"body":[{"type":"ExpressionStatement","start":1135,"end":1676,"expression":{"type":"LogicalExpression","start":1135,"end":1675,"operator":"&&","left":{"type":"LogicalExpression","start":1136,"end":1181,"operator":"||","left":{"type":"BinaryExpression","start":1136,"end":1168,"operator":"===","left":{"type":"UnaryExpression","start":1136,"end":1152,"operator":"typeof","argument":{"type":"Identifier","start":1143,"end":1152,"name":"ngDevMode"},"prefix":true},"right":{"type":"Literal","start":1157,"end":1168,"value":"undefined","raw":"\"undefined\""}},"right":{"type":"Identifier","start":1172,"end":1181,"name":"ngDevMode"}},"right":{"type":"CallExpression","start":1186,"end":1675,"optional":false,"callee":{"type":"MemberExpression","start":1186,"end":1206,"computed":false,"optional":false,"object":{"type":"Identifier","start":1186,"end":1188,"name":"i0"},"property":{"type":"Identifier","start":1189,"end":1206,"name":"ɵsetClassMetadata"}},"arguments":[{"type":"Identifier","start":1207,"end":1217,"name":"FormioAuth"},{"type":"ArrayExpression","start":1219,"end":1662,"elements":[{"type":"ObjectExpression","start":1220,"end":1661,"properties":[{"type":"Property","start":1230,"end":1244,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1230,"end":1234,"name":"type"},"value":{"type":"Identifier","start":1236,"end":1244,"name":"NgModule"},"kind":"init"},{"type":"Property","start":1254,"end":1655,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1254,"end":1258,"name":"args"},"value":{"type":"ArrayExpression","start":1260,"end":1655,"elements":[{"type":"ObjectExpression","start":1261,"end":1654,"properties":[{"type":"Property","start":1279,"end":1408,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1279,"end":1286,"name":"imports"},"value":{"type":"ArrayExpression","start":1288,"end":1408,"elements":[{"type":"Identifier","start":1310,"end":1322,"name":"CommonModule"},{"type":"Identifier","start":1344,"end":1356,"name":"FormioModule"},{"type":"Identifier","start":1378,"end":1390,"name":"RouterModule"}]},"kind":"init"},{"type":"Property","start":1426,"end":1640,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1426,"end":1438,"name":"declarations"},"value":{"type":"ArrayExpression","start":1440,"end":1640,"elements":[{"type":"Identifier","start":1462,"end":1481,"name":"FormioAuthComponent"},{"type":"Identifier","start":1503,"end":1527,"name":"FormioAuthLoginComponent"},{"type":"Identifier","start":1549,"end":1576,"name":"FormioAuthRegisterComponent"},{"type":"Identifier","start":1598,"end":1622,"name":"FormioResetPassComponent"}]},"kind":"init"}]}]},"kind":"init"}]}]},{"type":"Literal","start":1664,"end":1668,"raw":"null","value":null},{"type":"Literal","start":1670,"end":1674,"raw":"null","value":null}]}}}]},"id":null},"arguments":[]}},{"type":"ExpressionStatement","start":1683,"end":2004,"expression":{"type":"CallExpression","start":1683,"end":2003,"optional":false,"callee":{"type":"FunctionExpression","start":1684,"end":2000,"async":false,"generator":false,"id":null,"params":[],"body":{"type":"BlockStatement","start":1696,"end":2000,"body":[{"type":"ExpressionStatement","start":1698,"end":1998,"expression":{"type":"LogicalExpression","start":1698,"end":1997,"operator":"&&","left":{"type":"LogicalExpression","start":1699,"end":1744,"operator":"||","left":{"type":"BinaryExpression","start":1699,"end":1731,"operator":"===","left":{"type":"UnaryExpression","start":1699,"end":1715,"operator":"typeof","argument":{"type":"Identifier","start":1706,"end":1715,"name":"ngJitMode"},"prefix":true},"right":{"type":"Literal","start":1720,"end":1731,"value":"undefined","raw":"\"undefined\""}},"right":{"type":"Identifier","start":1735,"end":1744,"name":"ngJitMode"}},"right":{"type":"CallExpression","start":1749,"end":1997,"optional":false,"callee":{"type":"MemberExpression","start":1749,"end":1770,"computed":false,"optional":false,"object":{"type":"Identifier","start":1749,"end":1751,"name":"i0"},"property":{"type":"Identifier","start":1752,"end":1770,"name":"ɵɵsetNgModuleScope"}},"arguments":[{"type":"Identifier","start":1771,"end":1781,"name":"FormioAuth"},{"type":"ObjectExpression","start":1783,"end":1996,"properties":[{"type":"Property","start":1785,"end":1925,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1785,"end":1797,"name":"declarations"},"value":{"type":"ArrayExpression","start":1799,"end":1925,"elements":[{"type":"Identifier","start":1800,"end":1819,"name":"FormioAuthComponent"},{"type":"Identifier","start":1829,"end":1853,"name":"FormioAuthLoginComponent"},{"type":"Identifier","start":1863,"end":1890,"name":"FormioAuthRegisterComponent"},{"type":"Identifier","start":1900,"end":1924,"name":"FormioResetPassComponent"}]},"kind":"init"},{"type":"Property","start":1927,"end":1994,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1927,"end":1934,"name":"imports"},"value":{"type":"ArrayExpression","start":1936,"end":1994,"elements":[{"type":"Identifier","start":1937,"end":1949,"name":"CommonModule"},{"type":"Identifier","start":1959,"end":1971,"name":"FormioModule"},{"type":"Identifier","start":1981,"end":1993,"name":"RouterModule"}]},"kind":"init"}]}]}}}]},"expression":false},"arguments":[]}}],"_rollupRemoved":[{"end":5119,"start":2005,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"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 { FormioAuthRoutes } from './auth.routes';\nimport { extendRouter } from '@formio/angular';\nimport * as i0 from \"@angular/core\";\nexport class FormioAuth {\n static forRoot(config) {\n return extendRouter(FormioAuth, config, FormioAuthRoutes);\n }\n static forChild(config) {\n return extendRouter(FormioAuth, config, FormioAuthRoutes);\n }\n static ɵfac = function FormioAuth_Factory(t) { return new (t || FormioAuth)(); };\n static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: FormioAuth });\n static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,\n FormioModule,\n RouterModule] });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormioAuth, [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule,\n FormioModule,\n RouterModule\n ],\n declarations: [\n FormioAuthComponent,\n FormioAuthLoginComponent,\n FormioAuthRegisterComponent,\n FormioResetPassComponent\n ]\n }]\n }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && i0.ɵɵsetNgModuleScope(FormioAuth, { declarations: [FormioAuthComponent,\n FormioAuthLoginComponent,\n FormioAuthRegisterComponent,\n FormioResetPassComponent], imports: [CommonModule,\n FormioModule,\n RouterModule] }); })();\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9hdXRoL3NyYy9hdXRoLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBQ3ZELE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBQ25FLE9BQU8sRUFBRSwyQkFBMkIsRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQzVFLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLGlDQUFpQyxDQUFDO0FBRTNFLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNqRCxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7O0FBZS9DLE1BQU0sT0FBTyxVQUFVO0lBQ3JCLE1BQU0sQ0FBQyxPQU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G4gICAgcmV0dXJuIGV4dGVuZFJvdXRlcihGb3JtaW9BdXRoLCBjb25maWcsIEZvcm1pb0F1dGhSb3V0ZXMpO1xuICB9XG59XG4iXX0=","customTransformCache":false,"dependencies":["@angular/core","@angular/common","@angular/router","@formio/angular","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/auth.component.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/login/login.component.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/register/register.component.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/resetpass/resetpass.component.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/auth.routes.mjs"],"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/auth.module.mjs","meta":{},"moduleSideEffects":false,"originalCode":"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 { FormioAuthRoutes } from './auth.routes';\nimport { extendRouter } from '@formio/angular';\nimport * as i0 from \"@angular/core\";\nexport class FormioAuth {\n static forRoot(config) {\n return extendRouter(FormioAuth, config, FormioAuthRoutes);\n }\n static forChild(config) {\n return extendRouter(FormioAuth, config, FormioAuthRoutes);\n }\n static ɵfac = function FormioAuth_Factory(t) { return new (t || FormioAuth)(); };\n static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: FormioAuth });\n static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,\n FormioModule,\n RouterModule] });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormioAuth, [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule,\n FormioModule,\n RouterModule\n ],\n declarations: [\n FormioAuthComponent,\n FormioAuthLoginComponent,\n FormioAuthRegisterComponent,\n FormioResetPassComponent\n ]\n }]\n }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && i0.ɵɵsetNgModuleScope(FormioAuth, { declarations: [FormioAuthComponent,\n FormioAuthLoginComponent,\n FormioAuthRegisterComponent,\n FormioResetPassComponent], imports: [CommonModule,\n FormioModule,\n RouterModule] }); })();\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9hdXRoL3NyYy9hdXRoLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBQ3ZELE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBQ25FLE9BQU8sRUFBRSwyQkFBMkIsRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQzVFLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLGlDQUFpQyxDQUFDO0FBRTNFLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNqRCxPQUFPLEVBQUUsWUFBWS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k7XG4gIH1cbiAgc3RhdGljIGZvckNoaWxkKGNvbmZpZz86IEZvcm1pb0F1dGhSb3V0ZUNvbmZpZyk6IGFueSB7XG4gICAgcmV0dXJuIGV4dGVuZFJvdXRlcihGb3JtaW9BdXRoLCBjb25maWcsIEZvcm1pb0F1dGhSb3V0ZXMpO1xuICB9XG59XG4iXX0=","originalSourcemap":{"version":3,"file":"auth.module.js","sourceRoot":"","sources":["../../../../projects/angular-formio/auth/src/auth.module.ts"],"names":[],"mappings":[[[0,0,0,0],[7,0,0,7],[9,0,0,9],[17,0,0,17],[19,0,0,19],[25,0,0,25],[40,0,0,40],[41,0,0,41]],[[0,0,1,0],[7,0,1,7],[9,0,1,9],[21,0,1,21],[23,0,1,23],[29,0,1,29],[46,0,1,46],[47,0,1,47]],[[0,0,2,0],[7,0,2,7],[9,0,2,9],[21,0,2,21],[23,0,2,23],[29,0,2,29],[46,0,2,46],[47,0,2,47]],[[0,0,3,0],[7,0,3,7],[9,0,3,9],[21,0,3,21],[23,0,3,23],[29,0,3,29],[46,0,3,46],[47,0,3,47]],[[0,0,4,0],[7,0,4,7],[9,0,4,9],[28,0,4,28],[30,0,4,30],[36,0,4,36],[54,0,4,54],[55,0,4,55]],[[0,0,5,0],[7,0,5,7],[9,0,5,9],[33,0,5,33],[35,0,5,35],[41,0,5,41],[66,0,5,66],[67,0,5,67]],[[0,0,6,0],[7,0,6,7],[9,0,6,9],[36,0,6,36],[38,0,6,38],[44,0,6,44],[75,0,6,75],[76,0,6,76]],[[0,0,7,0],[7,0,7,7],[9,0,7,9],[33,0,7,33],[35,0,7,35],[41,0,7,41],[74,0,7,74],[75,0,7,75]],[[0,0,9,0],[7,0,9,7],[9,0,9,9],[25,0,9,25],[27,0,9,27],[33,0,9,33],[48,0,9,48],[49,0,9,49]],[[0,0,10,0],[7,0,10,7],[9,0,10,9],[21,0,10,21],[23,0,10,23],[29,0,10,29],[46,0,10,46],[47,0,10,47]],[],[[0,0,25,0],[6,0,25,6],[13,0,25,13],[23,0,25,23]],[[4,0,26,2],[10,0,26,8],[11,0,26,9],[18,0,26,16],[19,0,26,17],[25,0,26,47]],[[8,0,27,4],[15,0,27,11],[27,0,27,23],[28,0,27,24],[38,0,27,34],[40,0,27,36],[46,0,27,42],[48,0,27,44],[64,0,27,60],[65,0,27,61],[66,0,27,62]],[[4,0,28,2],[5,0,28,3]],[[4,0,29,2],[10,0,29,8],[11,0,29,9],[19,0,29,17],[20,0,29,18],[26,0,29,48]],[[8,0,30,4],[15,0,30,11],[27,0,30,23],[28,0,30,24],[38,0,30,34],[40,0,30,36],[46,0,30,42],[48,0,30,44],[64,0,30,60],[65,0,30,61],[66,0,30,62]],[[4,0,31,2],[5,0,31,3]],[[68,0,25,13],[78,0,25,23]],[[60,0,25,13],[70,0,25,23]],[[64,0,14,4],[76,0,14,16]],[[12,0,15,4],[24,0,15,16]],[[12,0,16,4],[24,0,16,16]],[],[[81,0,25,13],[91,0,25,23]],[[14,0,12,1],[22,0,12,9]],[[15,0,12,10]],[[16,0,13,2],[23,0,13,9],[25,0,13,11]],[[20,0,14,4],[32,0,14,16]],[[20,0,15,4],[32,0,15,16]],[[20,0,16,4],[32,0,16,16]],[[17,0,17,3]],[[16,0,18,2],[28,0,18,14],[30,0,18,16]],[[20,0,19,4],[39,0,19,23]],[[20,0,20,4],[44,0,20,28]],[[20,0,21,4],[47,0,21,31]],[[20,0,22,4],[44,0,22,28]],[[17,0,23,3]],[[13,0,24,1]],[],[[88,0,25,13],[98,0,25,23],[117,0,19,4],[136,0,19,23]],[[8,0,20,4],[32,0,20,28]],[[8,0,21,4],[35,0,21,31]],[[8,0,22,4],[32,0,22,28],[45,0,14,4],[57,0,14,16]],[[8,0,15,4],[20,0,15,16]],[[8,0,16,4],[20,0,16,16]]],"sourcesContent":["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"]},"resolvedIds":{"@angular/core":{"attributes":{},"external":true,"id":"@angular/core","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"@angular/common":{"attributes":{},"external":true,"id":"@angular/common","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"@angular/router":{"attributes":{},"external":true,"id":"@angular/router","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"@formio/angular":{"attributes":{},"external":true,"id":"@formio/angular","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"./auth.component":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/auth.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./auth.routes":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/auth.routes.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./login/login.component":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/login/login.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./register/register.component":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/register/register.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./resetpass/resetpass.component":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/resetpass/resetpass.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":1851,"body":[{"type":"ExportNamedDeclaration","start":0,"end":49,"specifiers":[{"type":"ExportSpecifier","start":9,"end":25,"local":{"type":"Identifier","start":9,"end":25,"name":"FormioAuthConfig"},"exported":{"type":"Identifier","start":9,"end":25,"name":"FormioAuthConfig"}}],"source":{"type":"Literal","start":33,"end":48,"value":"./auth.config","raw":"'./auth.config'"},"attributes":[],"declaration":null},{"type":"ExportNamedDeclaration","start":50,"end":101,"specifiers":[{"type":"ExportSpecifier","start":59,"end":76,"local":{"type":"Identifier","start":59,"end":76,"name":"FormioAuthService"},"exported":{"type":"Identifier","start":59,"end":76,"name":"FormioAuthService"}}],"source":{"type":"Literal","start":84,"end":100,"value":"./auth.service","raw":"'./auth.service'"},"attributes":[],"declaration":null},{"type":"ExportNamedDeclaration","start":102,"end":157,"specifiers":[{"type":"ExportSpecifier","start":111,"end":130,"local":{"type":"Identifier","start":111,"end":130,"name":"FormioAuthComponent"},"exported":{"type":"Identifier","start":111,"end":130,"name":"FormioAuthComponent"}}],"source":{"type":"Literal","start":138,"end":156,"value":"./auth.component","raw":"'./auth.component'"},"attributes":[],"declaration":null},{"type":"ExportNamedDeclaration","start":158,"end":225,"specifiers":[{"type":"ExportSpecifier","start":167,"end":191,"local":{"type":"Identifier","start":167,"end":191,"name":"FormioAuthLoginComponent"},"exported":{"type":"Identifier","start":167,"end":191,"name":"FormioAuthLoginComponent"}}],"source":{"type":"Literal","start":199,"end":224,"value":"./login/login.component","raw":"'./login/login.component'"},"attributes":[],"declaration":null},{"type":"ExportNamedDeclaration","start":226,"end":302,"specifiers":[{"type":"ExportSpecifier","start":235,"end":262,"local":{"type":"Identifier","start":235,"end":262,"name":"FormioAuthRegisterComponent"},"exported":{"type":"Identifier","start":235,"end":262,"name":"FormioAuthRegisterComponent"}}],"source":{"type":"Literal","start":270,"end":301,"value":"./register/register.component","raw":"'./register/register.component'"},"attributes":[],"declaration":null},{"type":"ExportNamedDeclaration","start":303,"end":378,"specifiers":[{"type":"ExportSpecifier","start":312,"end":336,"local":{"type":"Identifier","start":312,"end":336,"name":"FormioResetPassComponent"},"exported":{"type":"Identifier","start":312,"end":336,"name":"FormioResetPassComponent"}}],"source":{"type":"Literal","start":344,"end":377,"value":"./resetpass/resetpass.component","raw":"'./resetpass/resetpass.component'"},"attributes":[],"declaration":null},{"type":"ExportNamedDeclaration","start":379,"end":428,"specifiers":[{"type":"ExportSpecifier","start":388,"end":404,"local":{"type":"Identifier","start":388,"end":404,"name":"FormioAuthRoutes"},"exported":{"type":"Identifier","start":388,"end":404,"name":"FormioAuthRoutes"}}],"source":{"type":"Literal","start":412,"end":427,"value":"./auth.routes","raw":"'./auth.routes'"},"attributes":[],"declaration":null},{"type":"ExportNamedDeclaration","start":429,"end":472,"specifiers":[{"type":"ExportSpecifier","start":438,"end":448,"local":{"type":"Identifier","start":438,"end":448,"name":"FormioAuth"},"exported":{"type":"Identifier","start":438,"end":448,"name":"FormioAuth"}}],"source":{"type":"Literal","start":456,"end":471,"value":"./auth.module","raw":"'./auth.module'"},"attributes":[],"declaration":null}],"_rollupRemoved":[{"end":1851,"start":473,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"export { FormioAuthConfig } from './auth.config';\nexport { FormioAuthService } from './auth.service';\nexport { FormioAuthComponent } from './auth.component';\nexport { FormioAuthLoginComponent } from './login/login.component';\nexport { FormioAuthRegisterComponent } from './register/register.component';\nexport { FormioResetPassComponent } from './resetpass/resetpass.component';\nexport { FormioAuthRoutes } from './auth.routes';\nexport { FormioAuth } from './auth.module';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9hdXRoL3NyYy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDakQsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDbkQsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU8sa0JBQWtCLENBQUM7QUFDeEQsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDbkUsT0FBTyxFQUFFLDJCQUEyQixFQUFFLE1BQU0sK0JBQStCLENBQUM7QUFDNUUsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0saUNBQWlDLENBQUM7QUFDM0UsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2pELE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBGb3JtaW9BdXRoQ29uZmlnIH0gZnJvbSAnLi9hdXRoLmNvbmZpZyc7XG5leHBvcnQgeyBGb3JtaW9BdXRoU2VydmljZSB9IGZyb20gJy4vYXV0aC5zZXJ2aWNlJztcbmV4cG9ydCB7IEZvcm1pb0F1dGhDb21wb25lbnQgfSAgZnJvbSAnLi9hdXRoLmNvbXBvbmVudCc7XG5leHBvcnQgeyBGb3JtaW9BdXRoTG9naW5Db21wb25lbnQgfSBmcm9tICcuL2xvZ2luL2xvZ2luLmNvbXBvbmVudCc7XG5leHBvcnQgeyBGb3JtaW9BdXRoUmVnaXN0ZXJDb21wb25lbnQgfSBmcm9tICcuL3JlZ2lzdGVyL3JlZ2lzdGVyLmNvbXBvbmVudCc7XG5leHBvcnQgeyBGb3JtaW9SZXNldFBhc3NDb21wb25lbnQgfSBmcm9tICcuL3Jlc2V0cGFzcy9yZXNldHBhc3MuY29tcG9uZW50JztcbmV4cG9ydCB7IEZvcm1pb0F1dGhSb3V0ZXMgfSBmcm9tICcuL2F1dGgucm91dGVzJztcbmV4cG9ydCB7IEZvcm1pb0F1dGggfSBmcm9tICcuL2F1dGgubW9kdWxlJztcbiJdfQ==","customTransformCache":false,"dependencies":["/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/auth.config.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/auth.service.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/auth.component.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/login/login.component.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/register/register.component.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/resetpass/resetpass.component.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/auth.routes.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/auth.module.mjs"],"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/index.mjs","meta":{},"moduleSideEffects":false,"originalCode":"export { FormioAuthConfig } from './auth.config';\nexport { FormioAuthService } from './auth.service';\nexport { FormioAuthComponent } from './auth.component';\nexport { FormioAuthLoginComponent } from './login/login.component';\nexport { FormioAuthRegisterComponent } from './register/register.component';\nexport { FormioResetPassComponent } from './resetpass/resetpass.component';\nexport { FormioAuthRoutes } from './auth.routes';\nexport { FormioAuth } from './auth.module';\n//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3JlZ2lzdGVyL3JlZ2lzdGVyLmNvbXBvbmVudCc7XG5leHBvcnQgeyBGb3JtaW9SZXNldFBhc3NDb21wb25lbnQgfSBmcm9tICcuL3Jlc2V0cGFzcy9yZXNldHBhc3MuY29tcG9uZW50JztcbmV4cG9ydCB7IEZvcm1pb0F1dGhSb3V0ZXMgfSBmcm9tICcuL2F1dGgucm91dGVzJztcbmV4cG9ydCB7IEZvcm1pb0F1dGggfSBmcm9tICcuL2F1dGgubW9kdWxlJztcbiJdfQ==","originalSourcemap":{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../projects/angular-formio/auth/src/index.ts"],"names":[],"mappings":[[[0,0,0,0],[7,0,0,7],[9,0,0,9],[25,0,0,25],[27,0,0,27],[33,0,0,33],[48,0,0,48],[49,0,0,49]],[[0,0,1,0],[7,0,1,7],[9,0,1,9],[26,0,1,26],[28,0,1,28],[34,0,1,34],[50,0,1,50],[51,0,1,51]],[[0,0,2,0],[7,0,2,7],[9,0,2,9],[28,0,2,28],[30,0,2,30],[36,0,2,37],[54,0,2,55],[55,0,2,56]],[[0,0,3,0],[7,0,3,7],[9,0,3,9],[33,0,3,33],[35,0,3,35],[41,0,3,41],[66,0,3,66],[67,0,3,67]],[[0,0,4,0],[7,0,4,7],[9,0,4,9],[36,0,4,36],[38,0,4,38],[44,0,4,44],[75,0,4,75],[76,0,4,76]],[[0,0,5,0],[7,0,5,7],[9,0,5,9],[33,0,5,33],[35,0,5,35],[41,0,5,41],[74,0,5,74],[75,0,5,75]],[[0,0,6,0],[7,0,6,7],[9,0,6,9],[25,0,6,25],[27,0,6,27],[33,0,6,33],[48,0,6,48],[49,0,6,49]],[[0,0,7,0],[7,0,7,7],[9,0,7,9],[19,0,7,19],[21,0,7,21],[27,0,7,27],[42,0,7,42],[43,0,7,43]]],"sourcesContent":["export { FormioAuthConfig } from './auth.config';\nexport { FormioAuthService } from './auth.service';\nexport { FormioAuthComponent } from './auth.component';\nexport { FormioAuthLoginComponent } from './login/login.component';\nexport { FormioAuthRegisterComponent } from './register/register.component';\nexport { FormioResetPassComponent } from './resetpass/resetpass.component';\nexport { FormioAuthRoutes } from './auth.routes';\nexport { FormioAuth } from './auth.module';\n"]},"resolvedIds":{"./auth.config":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/auth.config.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./auth.service":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/auth.service.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./auth.component":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/auth.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./auth.routes":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/auth.routes.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./auth.module":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/auth.module.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./login/login.component":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/login/login.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./register/register.component":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/register/register.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./resetpass/resetpass.component":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/resetpass/resetpass.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":523,"body":[{"type":"ExportAllDeclaration","start":48,"end":72,"exported":null,"source":{"type":"Literal","start":62,"end":71,"value":"./index","raw":"'./index'"},"attributes":[]}],"_rollupRemoved":[{"end":523,"start":73,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWlvLWFuZ3VsYXItYXV0aC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2F1dGgvc3JjL2Zvcm1pby1hbmd1bGFyLWF1dGgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0=","customTransformCache":false,"dependencies":["/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/index.mjs"],"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/formio-angular-auth.mjs","meta":{},"moduleSideEffects":false,"originalCode":"/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWlvLWFuZ3VsYXItYXV0aC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2F1dGgvc3JjL2Zvcm1pby1hbmd1bGFyLWF1dGgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0=","originalSourcemap":{"version":3,"file":"formio-angular-auth.js","sourceRoot":"","sources":["../../../../projects/angular-formio/auth/src/formio-angular-auth.ts"],"names":[],"mappings":[[[0,0,0,0]],[],[[3,0,2,3]],[[0,0,4,0],[14,0,4,14],[23,0,4,23],[24,0,4,24]]],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]},"resolvedIds":{"./index":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/auth/index.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]}],"plugins":{"node-resolve":{},"json":{},"file-loader":{}}}
|