@reusa/ngx-reusa-app-lib 0.0.732 → 0.1.731
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/{esm2020 → esm2022}/lib/annimations/app-animations.mjs +36 -36
- package/esm2022/lib/components/add-employer/add-employer.component.mjs +3027 -0
- package/esm2022/lib/components/add-participant/add-participant.component.mjs +394 -0
- package/esm2022/lib/components/add-payment/add-payment.component.mjs +187 -0
- package/esm2022/lib/components/address/address.component.mjs +487 -0
- package/esm2022/lib/components/bank-details/bank-details.component.mjs +276 -0
- package/esm2022/lib/components/captcha/captcha.component.mjs +181 -0
- package/esm2022/lib/components/card/card.component.mjs +55 -0
- package/esm2022/lib/components/contact-us/contact-us.component.mjs +970 -0
- package/esm2022/lib/components/content/content.component.mjs +61 -0
- package/esm2022/lib/components/correspondence-download/correspondence-download.component.mjs +83 -0
- package/esm2022/lib/components/dashboard-card/dashboard-card.component.mjs +223 -0
- package/esm2022/lib/components/dependent-grid/dependent-grid.component.mjs +292 -0
- package/esm2022/lib/components/disclosure/disclosure.component.mjs +60 -0
- package/esm2022/lib/components/dropdown/dropdown.component.mjs +1974 -0
- package/esm2022/lib/components/dropdown/dropdown.interface.mjs +2 -0
- package/esm2022/lib/components/email-update/email-update.component.mjs +283 -0
- package/esm2022/lib/components/employer-grid/employer-grid.component.mjs +794 -0
- package/esm2022/lib/components/error/error.component.mjs +86 -0
- package/esm2022/lib/components/fav-menu/fav-menu.component.mjs +163 -0
- package/{esm2020 → esm2022}/lib/components/file-download/file-download.component.mjs +104 -104
- package/esm2022/lib/components/file-uploader/file-uploader.component.mjs +315 -0
- package/esm2022/lib/components/footer/footer.component.mjs +332 -0
- package/esm2022/lib/components/header/header.component.mjs +558 -0
- package/esm2022/lib/components/help/help.component.mjs +49 -0
- package/esm2022/lib/components/idle-detector/idle-detector.component.mjs +65 -0
- package/{esm2020 → esm2022}/lib/components/info/info.component.mjs +187 -188
- package/esm2022/lib/components/job-search-result-page/job-search-result-page.component.mjs +206 -0
- package/esm2022/lib/components/legal-disclaimar/legal-disclaimar.component.mjs +193 -0
- package/esm2022/lib/components/maintenance-detector/maintenance-detector.component.mjs +43 -0
- package/esm2022/lib/components/mask/mask.component.mjs +48 -0
- package/esm2022/lib/components/menu/menu.component.mjs +423 -0
- package/esm2022/lib/components/mfa/mfa.component.mjs +444 -0
- package/esm2022/lib/components/mfa-popup/mfa-popup.component.mjs +50 -0
- package/esm2022/lib/components/money-expect/money-expect.component.mjs +90 -0
- package/esm2022/lib/components/msg/msg.component.mjs +48 -0
- package/esm2022/lib/components/news/news.component.mjs +90 -0
- package/esm2022/lib/components/overlay-info/overlay-info.component.mjs +213 -0
- package/esm2022/lib/components/page/page.component.mjs +136 -0
- package/esm2022/lib/components/profile/profile.component.mjs +177 -0
- package/esm2022/lib/components/profile-redirect/profile-redirect.component.mjs +63 -0
- package/esm2022/lib/components/questionnaire/AppValidators.mjs +487 -0
- package/{esm2020 → esm2022}/lib/components/questionnaire/FbConstants.mjs +7 -7
- package/{esm2020 → esm2022}/lib/components/questionnaire/SelectItem.mjs +1 -1
- package/esm2022/lib/components/questionnaire/account-success/account-success.page.mjs +256 -0
- package/esm2022/lib/components/questionnaire/common-success/common-success.page.mjs +475 -0
- package/esm2022/lib/components/questionnaire/dynamic-form-panel.component.mjs +1094 -0
- package/esm2022/lib/components/questionnaire/dynamic-form-question.component.mjs +1882 -0
- package/esm2022/lib/components/questionnaire/dynamic-form.component.mjs +1263 -0
- package/esm2022/lib/components/questionnaire/form-builder/form-builder.page.mjs +244 -0
- package/{esm2020 → esm2022}/lib/components/questionnaire/input-focus.directive.mjs +44 -44
- package/esm2022/lib/components/questionnaire/multi-questionnaire/multi-questionnaire.component.mjs +256 -0
- package/{esm2020 → esm2022}/lib/components/questionnaire/question-base.mjs +2 -2
- package/{esm2020 → esm2022}/lib/components/questionnaire/question-control.service.mjs +420 -419
- package/{esm2020 → esm2022}/lib/components/questionnaire/question.service.mjs +33 -33
- package/esm2022/lib/components/questionnaire/render-questionnaire/render-questionnaire.page.mjs +262 -0
- package/{esm2020 → esm2022}/lib/components/read-more/read-more.component.mjs +67 -67
- package/esm2022/lib/components/requalify-lift-previous-issues/requalify-lift-previous-issues.component.mjs +690 -0
- package/esm2022/lib/components/search-employer/search-employer.component.mjs +142 -0
- package/esm2022/lib/components/select/select.component.mjs +154 -0
- package/esm2022/lib/components/ssn/ssn.component.mjs +44 -0
- package/esm2022/lib/components/ssn-reverify/ssn-reverify.component.mjs +151 -0
- package/esm2022/lib/components/test/test.component.mjs +19 -0
- package/esm2022/lib/components/user-login/user-login.component.mjs +398 -0
- package/esm2022/lib/components/weekly-cert-employer/weekly-cert-employer.component.mjs +442 -0
- package/esm2022/lib/components/weekly-cert-employer-grid/weekly-cert-employer-grid.component.mjs +307 -0
- package/{esm2020 → esm2022}/lib/directives/auto-focus/auto-focus.directive.mjs +31 -31
- package/{esm2020 → esm2022}/lib/directives/caps-lock.directive.mjs +38 -38
- package/{esm2020 → esm2022}/lib/directives/required-roles/required-roles.directive.mjs +30 -30
- package/{esm2020 → esm2022}/lib/enums/EmailStatusEnum.mjs +8 -8
- package/{esm2020 → esm2022}/lib/guards/auth.guard.mjs +138 -138
- package/esm2022/lib/guards/no-login/no-login.guard.mjs +21 -0
- package/{esm2020 → esm2022}/lib/interceptors/error-interceptor/http-error-interceptor.mjs +107 -107
- package/{esm2020 → esm2022}/lib/interceptors/header-interceptor/http-header.interceptor.mjs +99 -99
- package/{esm2020 → esm2022}/lib/models/AddressComponentModel.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/BankDetailsComponentModel.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/BankDetailsModel.mjs +3 -3
- package/{esm2020 → esm2022}/lib/models/CinRequalificationCriteriaModel.mjs +3 -3
- package/{esm2020 → esm2022}/lib/models/EmployerDetailSearchResult.mjs +5 -5
- package/{esm2020 → esm2022}/lib/models/ErrorModel.mjs +5 -5
- package/{esm2020 → esm2022}/lib/models/FileModel.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/LibConstants.mjs +119 -119
- package/{esm2020 → esm2022}/lib/models/NewsAndAnnouncementModel.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/NotificationModel.mjs +5 -5
- package/{esm2020 → esm2022}/lib/models/OtpAuthModel.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/PaymentComponentModel.mjs +2 -2
- package/esm2022/lib/models/RequalifyLiftPageModel.mjs +11 -0
- package/{esm2020 → esm2022}/lib/models/SsaVerificationModel.mjs +3 -3
- package/{esm2020 → esm2022}/lib/models/TrendModel.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/UserDetailsModel.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/UserModel.mjs +5 -5
- package/{esm2020 → esm2022}/lib/models/case/CaseAttachmentModel.mjs +3 -3
- package/{esm2020 → esm2022}/lib/models/claimant/ClaimantModel.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/claimant/JobResultsData.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/claimant/MatchingJobs.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/claimant/ResetPasswordModel.mjs +2 -2
- package/esm2022/lib/models/cmp/CaseCoreModel.mjs +3 -0
- package/{esm2020 → esm2022}/lib/models/cmp/ComplaintCategoryModel.mjs +3 -3
- package/{esm2020 → esm2022}/lib/models/cmp/ComplaintCategoryOutputModel.mjs +5 -5
- package/esm2022/lib/models/cmp/ContactUsModel.mjs +3 -0
- package/{esm2020 → esm2022}/lib/models/cmp/EmailTemplateModel.mjs +3 -3
- package/esm2022/lib/models/cmp/contactUsInqueryModel.mjs +7 -0
- package/{esm2020 → esm2022}/lib/models/cmp/messageRourceModel.mjs +3 -3
- package/esm2022/lib/models/dashboard-model.mjs +3 -0
- package/esm2022/lib/models/dependent.model.mjs +8 -0
- package/{esm2020 → esm2022}/lib/models/questionnaire/ClaimAppEmpRequestModel.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/questionnaire/ClaimAppEmpResponseModel.mjs +7 -7
- package/{esm2020 → esm2022}/lib/models/questionnaire/ClaimAppEmployerDetailsModel.mjs +5 -5
- package/{esm2020 → esm2022}/lib/models/questionnaire/ClaimOnlyEmployerDataModel.mjs +2 -2
- package/esm2022/lib/models/questionnaire/ComboModel.mjs +337 -0
- package/{esm2020 → esm2022}/lib/models/questionnaire/ElementsModel.mjs +7 -7
- package/{esm2020 → esm2022}/lib/models/questionnaire/EmployerDetailSearchResult.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/questionnaire/EmployerWagesModel.mjs +3 -3
- package/{esm2020 → esm2022}/lib/models/questionnaire/FBConfigModel.mjs +5 -5
- package/{esm2020 → esm2022}/lib/models/questionnaire/KeyValueModel.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/questionnaire/LegalDiscaimarModel.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/questionnaire/LoaderModel.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/questionnaire/PollingStatusModel.mjs +3 -3
- package/{esm2020 → esm2022}/lib/models/questionnaire/QtrYearEmployerWageModel.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/questionnaire/QuestionnaireQueryModel.mjs +7 -7
- package/{esm2020 → esm2022}/lib/models/questionnaire/QuestionnaireReturnModel.mjs +10 -10
- package/{esm2020 → esm2022}/lib/models/questionnaire/QuestionnaireSaveModel.mjs +2 -2
- package/esm2022/lib/models/questionnaire/RequalifyLiftIssuesModel.mjs +3 -0
- package/{esm2020 → esm2022}/lib/models/questionnaire/ServiceActionResponseModel.mjs +3 -3
- package/esm2022/lib/models/questionnaire/StatusModel.mjs +6 -0
- package/{esm2020 → esm2022}/lib/models/questionnaire/SuccessPageElement.mjs +2 -2
- package/esm2022/lib/models/questionnaire/UI512AResponseModel.mjs +3 -0
- package/{esm2020 → esm2022}/lib/models/questionnaire/ValidationModel.mjs +2 -2
- package/esm2022/lib/ngx-reusa-app-lib.component.mjs +23 -0
- package/esm2022/lib/ngx-reusa-app-lib.module.mjs +402 -0
- package/{esm2020 → esm2022}/lib/ngx-reusa-app-lib.service.mjs +14 -14
- package/{esm2020 → esm2022}/lib/pages/BasePage.mjs +76 -76
- package/esm2022/lib/pages/common/accessibility-policy/accessibility-policy.page.mjs +81 -0
- package/esm2022/lib/pages/common/change-password/change-password.page.mjs +463 -0
- package/esm2022/lib/pages/common/landing/landing.component.mjs +208 -0
- package/esm2022/lib/pages/common/landing2/landing2.component.mjs +244 -0
- package/esm2022/lib/pages/common/login/login.component.mjs +526 -0
- package/esm2022/lib/pages/common/not-found/not-found.page.mjs +24 -0
- package/esm2022/lib/pages/common/privacy-disclaimer/privacy-disclaimer.page.mjs +306 -0
- package/esm2022/lib/pages/common/security-policy/security-policy.page.mjs +61 -0
- package/esm2022/lib/pages/common/unauthorized/unauthorized.page.mjs +24 -0
- package/esm2022/lib/pages/popovers/language/language.page.mjs +61 -0
- package/esm2022/lib/pages/popovers/my-notifications/my-notifications.page.mjs +204 -0
- package/esm2022/lib/pages/popovers/my-profile/my-profile.page.mjs +129 -0
- package/esm2022/lib/pages/popovers/user-search/user-search.component.mjs +251 -0
- package/{esm2020 → esm2022}/lib/pipes/filter.pipe.mjs +30 -30
- package/{esm2020 → esm2022}/lib/pipes/mask/mask.email.pipe.mjs +23 -23
- package/{esm2020 → esm2022}/lib/pipes/proper-case/proper-case.pipe.mjs +27 -27
- package/{esm2020 → esm2022}/lib/pipes/translate/dynamic-translate.pipe.mjs +44 -44
- package/{esm2020 → esm2022}/lib/pipes/trust-html/trust-html.pipe.mjs +20 -20
- package/{esm2020 → esm2022}/lib/services/base-service.mjs +49 -49
- package/{esm2020 → esm2022}/lib/services/captcha/captcha.service.mjs +46 -46
- package/{esm2020 → esm2022}/lib/services/case-service/case.service.mjs +47 -47
- package/{esm2020 → esm2022}/lib/services/chatbot/chatbot.service.mjs +257 -257
- package/esm2022/lib/services/chatbot/script.const.mjs +42 -0
- package/{esm2020 → esm2022}/lib/services/claimant/claimant.service.mjs +31 -31
- package/esm2022/lib/services/claimant-context/claimant-context.service.mjs +48 -0
- package/{esm2020 → esm2022}/lib/services/claimant-service/claimant.service.mjs +47 -47
- package/{esm2020 → esm2022}/lib/services/claims/claims.service.mjs +99 -99
- package/{esm2020 → esm2022}/lib/services/cmp-service/cmp.service.mjs +84 -84
- package/{esm2020 → esm2022}/lib/services/dms-service/dms.service.mjs +60 -60
- package/{esm2020 → esm2022}/lib/services/fpjs/fingerprint.service.mjs +70 -70
- package/{esm2020 → esm2022}/lib/services/google-analytics/google-analytics.service.mjs +29 -29
- package/{esm2020 → esm2022}/lib/services/help/help.service.mjs +63 -63
- package/{esm2020 → esm2022}/lib/services/idle/idle.service.mjs +159 -159
- package/{esm2020 → esm2022}/lib/services/logger/logger.service.mjs +67 -67
- package/esm2022/lib/services/login/login.service.mjs +330 -0
- package/{esm2020 → esm2022}/lib/services/maintenance/maintenance.service.mjs +21 -21
- package/{esm2020 → esm2022}/lib/services/notification/notification.service.mjs +113 -113
- package/{esm2020 → esm2022}/lib/services/questionnaire/questionnaire.service.mjs +69 -69
- package/{esm2020 → esm2022}/lib/services/questionnaire/validation.service.mjs +59 -59
- package/{esm2020 → esm2022}/lib/services/security-service/security.service.mjs +35 -35
- package/{esm2020 → esm2022}/lib/services/tour/tour.service.mjs +60 -60
- package/{esm2020 → esm2022}/lib/services/util/util.service.mjs +424 -424
- package/esm2022/lib/validations/AppRegex.mjs +45 -0
- package/{esm2020 → esm2022}/lib/validations/AppValidators.mjs +165 -165
- package/{esm2020 → esm2022}/public-api.mjs +131 -131
- package/{esm2020 → esm2022}/reusa-ngx-reusa-app-lib.mjs +4 -4
- package/{fesm2020 → fesm2022}/reusa-ngx-reusa-app-lib.mjs +27966 -27877
- package/fesm2022/reusa-ngx-reusa-app-lib.mjs.map +1 -0
- package/index.d.ts +5 -5
- package/lib/annimations/app-animations.d.ts +3 -3
- package/lib/components/add-employer/add-employer.component.d.ts +276 -276
- package/lib/components/add-participant/add-participant.component.d.ts +45 -45
- package/lib/components/add-payment/add-payment.component.d.ts +33 -33
- package/lib/components/address/address.component.d.ts +68 -68
- package/lib/components/address/address.component.d.ts.map +1 -1
- package/lib/components/bank-details/bank-details.component.d.ts +39 -39
- package/lib/components/captcha/captcha.component.d.ts +44 -44
- package/lib/components/card/card.component.d.ts +11 -11
- package/lib/components/contact-us/contact-us.component.d.ts +105 -107
- package/lib/components/contact-us/contact-us.component.d.ts.map +1 -1
- package/lib/components/content/content.component.d.ts +13 -13
- package/lib/components/correspondence-download/correspondence-download.component.d.ts +21 -21
- package/lib/components/dashboard-card/dashboard-card.component.d.ts +25 -25
- package/lib/components/dashboard-card/dashboard-card.component.d.ts.map +1 -1
- package/lib/components/dependent-grid/dependent-grid.component.d.ts +35 -35
- package/lib/components/disclosure/disclosure.component.d.ts +12 -12
- package/lib/components/dropdown/dropdown.component.d.ts +581 -207
- package/lib/components/dropdown/dropdown.component.d.ts.map +1 -1
- package/lib/components/dropdown/dropdown.interface.d.ts +155 -0
- package/lib/components/dropdown/dropdown.interface.d.ts.map +1 -0
- package/lib/components/email-update/email-update.component.d.ts +31 -31
- package/lib/components/employer-grid/employer-grid.component.d.ts +95 -94
- package/lib/components/employer-grid/employer-grid.component.d.ts.map +1 -1
- package/lib/components/error/error.component.d.ts +17 -17
- package/lib/components/fav-menu/fav-menu.component.d.ts +21 -21
- package/lib/components/file-download/file-download.component.d.ts +22 -22
- package/lib/components/file-uploader/file-uploader.component.d.ts +47 -47
- package/lib/components/footer/footer.component.d.ts +36 -36
- package/lib/components/header/header.component.d.ts +59 -58
- package/lib/components/header/header.component.d.ts.map +1 -1
- package/lib/components/help/help.component.d.ts +10 -10
- package/lib/components/idle-detector/idle-detector.component.d.ts +15 -15
- package/lib/components/info/info.component.d.ts +22 -22
- package/lib/components/job-search-result-page/job-search-result-page.component.d.ts +21 -21
- package/lib/components/legal-disclaimar/legal-disclaimar.component.d.ts +33 -33
- package/lib/components/maintenance-detector/maintenance-detector.component.d.ts +15 -15
- package/lib/components/mask/mask.component.d.ts +11 -11
- package/lib/components/menu/menu.component.d.ts +43 -43
- package/lib/components/mfa/mfa.component.d.ts +59 -59
- package/lib/components/mfa-popup/mfa-popup.component.d.ts +16 -16
- package/lib/components/money-expect/money-expect.component.d.ts +18 -18
- package/lib/components/msg/msg.component.d.ts +10 -10
- package/lib/components/news/news.component.d.ts +14 -14
- package/lib/components/overlay-info/overlay-info.component.d.ts +34 -34
- package/lib/components/page/page.component.d.ts +23 -23
- package/lib/components/profile/profile.component.d.ts +28 -28
- package/lib/components/profile-redirect/profile-redirect.component.d.ts +13 -13
- package/lib/components/questionnaire/AppValidators.d.ts +14 -14
- package/lib/components/questionnaire/AppValidators.d.ts.map +1 -1
- package/lib/components/questionnaire/FbConstants.d.ts +7 -7
- package/lib/components/questionnaire/SelectItem.d.ts +4 -4
- package/lib/components/questionnaire/account-success/account-success.page.d.ts +53 -53
- package/lib/components/questionnaire/common-success/common-success.page.d.ts +75 -75
- package/lib/components/questionnaire/common-success/common-success.page.d.ts.map +1 -1
- package/lib/components/questionnaire/dynamic-form-panel.component.d.ts +46 -46
- package/lib/components/questionnaire/dynamic-form-question.component.d.ts +82 -82
- package/lib/components/questionnaire/dynamic-form-question.component.d.ts.map +1 -1
- package/lib/components/questionnaire/dynamic-form.component.d.ts +130 -130
- package/lib/components/questionnaire/dynamic-form.component.d.ts.map +1 -1
- package/lib/components/questionnaire/form-builder/form-builder.page.d.ts +66 -64
- package/lib/components/questionnaire/form-builder/form-builder.page.d.ts.map +1 -1
- package/lib/components/questionnaire/input-focus.directive.d.ts +11 -11
- package/lib/components/questionnaire/multi-questionnaire/multi-questionnaire.component.d.ts +38 -38
- package/lib/components/questionnaire/multi-questionnaire/multi-questionnaire.component.d.ts.map +1 -1
- package/lib/components/questionnaire/question-base.d.ts +16 -16
- package/lib/components/questionnaire/question-control.service.d.ts +19 -19
- package/lib/components/questionnaire/question-control.service.d.ts.map +1 -1
- package/lib/components/questionnaire/question.service.d.ts +18 -18
- package/lib/components/questionnaire/render-questionnaire/render-questionnaire.page.d.ts +75 -74
- package/lib/components/questionnaire/render-questionnaire/render-questionnaire.page.d.ts.map +1 -1
- package/lib/components/read-more/read-more.component.d.ts +14 -14
- package/lib/components/requalify-lift-previous-issues/requalify-lift-previous-issues.component.d.ts +67 -67
- package/lib/components/search-employer/search-employer.component.d.ts +37 -36
- package/lib/components/search-employer/search-employer.component.d.ts.map +1 -1
- package/lib/components/select/select.component.d.ts +55 -55
- package/lib/components/ssn/ssn.component.d.ts +11 -11
- package/lib/components/ssn-reverify/ssn-reverify.component.d.ts +22 -22
- package/lib/components/test/test.component.d.ts +8 -8
- package/lib/components/user-login/user-login.component.d.ts +48 -48
- package/lib/components/weekly-cert-employer/weekly-cert-employer.component.d.ts +59 -59
- package/lib/components/weekly-cert-employer-grid/weekly-cert-employer-grid.component.d.ts +45 -45
- package/lib/directives/auto-focus/auto-focus.directive.d.ts +12 -12
- package/lib/directives/caps-lock.directive.d.ts +11 -11
- package/lib/directives/required-roles/required-roles.directive.d.ts +14 -14
- package/lib/enums/EmailStatusEnum.d.ts +7 -7
- package/lib/guards/auth.guard.d.ts +28 -28
- package/lib/guards/auth.guard.d.ts.map +1 -1
- package/lib/guards/no-login/no-login.guard.d.ts +11 -11
- package/lib/guards/no-login/no-login.guard.d.ts.map +1 -1
- package/lib/interceptors/error-interceptor/http-error-interceptor.d.ts +22 -22
- package/lib/interceptors/header-interceptor/http-header.interceptor.d.ts +21 -21
- package/lib/interceptors/header-interceptor/http-header.interceptor.d.ts.map +1 -1
- package/lib/models/AddressComponentModel.d.ts +12 -12
- package/lib/models/BankDetailsComponentModel.d.ts +11 -11
- package/lib/models/BankDetailsModel.d.ts +4 -4
- package/lib/models/CinRequalificationCriteriaModel.d.ts +10 -10
- package/lib/models/EmployerDetailSearchResult.d.ts +47 -47
- package/lib/models/ErrorModel.d.ts +6 -6
- package/lib/models/FileModel.d.ts +4 -4
- package/lib/models/LibConstants.d.ts +112 -112
- package/lib/models/NewsAndAnnouncementModel.d.ts +5 -5
- package/lib/models/NotificationModel.d.ts +10 -10
- package/lib/models/OtpAuthModel.d.ts +6 -6
- package/lib/models/PaymentComponentModel.d.ts +7 -7
- package/lib/models/RequalifyLiftPageModel.d.ts +11 -11
- package/lib/models/SsaVerificationModel.d.ts +8 -8
- package/lib/models/TrendModel.d.ts +13 -13
- package/lib/models/UserDetailsModel.d.ts +9 -9
- package/lib/models/UserModel.d.ts +46 -46
- package/lib/models/case/CaseAttachmentModel.d.ts +5 -5
- package/lib/models/claimant/ClaimantModel.d.ts +22 -22
- package/lib/models/claimant/JobResultsData.d.ts +7 -7
- package/lib/models/claimant/MatchingJobs.d.ts +12 -12
- package/lib/models/claimant/ResetPasswordModel.d.ts +8 -8
- package/lib/models/cmp/CaseCoreModel.d.ts +20 -20
- package/lib/models/cmp/ComplaintCategoryModel.d.ts +8 -8
- package/lib/models/cmp/ComplaintCategoryOutputModel.d.ts +5 -5
- package/lib/models/cmp/ContactUsModel.d.ts +22 -22
- package/lib/models/cmp/EmailTemplateModel.d.ts +6 -6
- package/lib/models/cmp/contactUsInqueryModel.d.ts +46 -46
- package/lib/models/cmp/messageRourceModel.d.ts +5 -5
- package/lib/models/dashboard-model.d.ts +43 -43
- package/lib/models/dependent.model.d.ts +11 -18
- package/lib/models/dependent.model.d.ts.map +1 -1
- package/lib/models/questionnaire/ClaimAppEmpRequestModel.d.ts +8 -8
- package/lib/models/questionnaire/ClaimAppEmpResponseModel.d.ts +16 -16
- package/lib/models/questionnaire/ClaimAppEmployerDetailsModel.d.ts +151 -151
- package/lib/models/questionnaire/ClaimOnlyEmployerDataModel.d.ts +16 -16
- package/lib/models/questionnaire/ComboModel.d.ts +85 -85
- package/lib/models/questionnaire/ElementsModel.d.ts +68 -68
- package/lib/models/questionnaire/EmployerDetailSearchResult.d.ts +17 -17
- package/lib/models/questionnaire/EmployerWagesModel.d.ts +4 -4
- package/lib/models/questionnaire/FBConfigModel.d.ts +11 -11
- package/lib/models/questionnaire/KeyValueModel.d.ts +10 -10
- package/lib/models/questionnaire/LegalDiscaimarModel.d.ts +10 -10
- package/lib/models/questionnaire/LoaderModel.d.ts +4 -4
- package/lib/models/questionnaire/PollingStatusModel.d.ts +6 -6
- package/lib/models/questionnaire/QtrYearEmployerWageModel.d.ts +8 -8
- package/lib/models/questionnaire/QuestionnaireQueryModel.d.ts +23 -23
- package/lib/models/questionnaire/QuestionnaireReturnModel.d.ts +20 -20
- package/lib/models/questionnaire/QuestionnaireSaveModel.d.ts +24 -24
- package/lib/models/questionnaire/RequalifyLiftIssuesModel.d.ts +13 -13
- package/lib/models/questionnaire/ServiceActionResponseModel.d.ts +6 -6
- package/lib/models/questionnaire/StatusModel.d.ts +15 -15
- package/lib/models/questionnaire/SuccessPageElement.d.ts +8 -8
- package/lib/models/questionnaire/UI512AResponseModel.d.ts +12 -12
- package/lib/models/questionnaire/ValidationModel.d.ts +17 -17
- package/lib/ngx-reusa-app-lib.component.d.ts +8 -8
- package/lib/ngx-reusa-app-lib.module.d.ts +148 -145
- package/lib/ngx-reusa-app-lib.module.d.ts.map +1 -1
- package/lib/ngx-reusa-app-lib.service.d.ts +6 -6
- package/lib/pages/BasePage.d.ts +26 -26
- package/lib/pages/common/accessibility-policy/accessibility-policy.page.d.ts +11 -11
- package/lib/pages/common/change-password/change-password.page.d.ts +40 -40
- package/lib/pages/common/landing/landing.component.d.ts +24 -24
- package/lib/pages/common/landing2/landing2.component.d.ts +30 -30
- package/lib/pages/common/login/login.component.d.ts +64 -64
- package/lib/pages/common/not-found/not-found.page.d.ts +8 -8
- package/lib/pages/common/privacy-disclaimer/privacy-disclaimer.page.d.ts +11 -11
- package/lib/pages/common/security-policy/security-policy.page.d.ts +11 -11
- package/lib/pages/common/unauthorized/unauthorized.page.d.ts +8 -8
- package/lib/pages/popovers/language/language.page.d.ts +16 -16
- package/lib/pages/popovers/my-notifications/my-notifications.page.d.ts +21 -21
- package/lib/pages/popovers/my-profile/my-profile.page.d.ts +20 -20
- package/lib/pages/popovers/user-search/user-search.component.d.ts +31 -31
- package/lib/pipes/filter.pipe.d.ts +7 -7
- package/lib/pipes/mask/mask.email.pipe.d.ts +10 -10
- package/lib/pipes/proper-case/proper-case.pipe.d.ts +8 -8
- package/lib/pipes/translate/dynamic-translate.pipe.d.ts +10 -10
- package/lib/pipes/trust-html/trust-html.pipe.d.ts +10 -10
- package/lib/services/base-service.d.ts +92 -92
- package/lib/services/captcha/captcha.service.d.ts +15 -15
- package/lib/services/case-service/case.service.d.ts +19 -19
- package/lib/services/chatbot/chatbot.service.d.ts +60 -60
- package/lib/services/chatbot/script.const.d.ts +15 -15
- package/lib/services/claimant/claimant.service.d.ts +17 -17
- package/lib/services/claimant-context/claimant-context.service.d.ts +18 -18
- package/lib/services/claimant-context/claimant-context.service.d.ts.map +1 -1
- package/lib/services/claimant-service/claimant.service.d.ts +19 -19
- package/lib/services/claims/claims.service.d.ts +39 -39
- package/lib/services/cmp-service/cmp.service.d.ts +33 -33
- package/lib/services/dms-service/dms.service.d.ts +23 -23
- package/lib/services/fpjs/fingerprint.service.d.ts +18 -18
- package/lib/services/google-analytics/google-analytics.service.d.ts +8 -8
- package/lib/services/help/help.service.d.ts +25 -25
- package/lib/services/help/help.service.d.ts.map +1 -1
- package/lib/services/idle/idle.service.d.ts +43 -43
- package/lib/services/logger/logger.service.d.ts +31 -31
- package/lib/services/logger/logger.service.d.ts.map +1 -1
- package/lib/services/login/login.service.d.ts +75 -75
- package/lib/services/login/login.service.d.ts.map +1 -1
- package/lib/services/maintenance/maintenance.service.d.ts +15 -15
- package/lib/services/notification/notification.service.d.ts +38 -38
- package/lib/services/questionnaire/questionnaire.service.d.ts +35 -35
- package/lib/services/questionnaire/validation.service.d.ts +81 -81
- package/lib/services/security-service/security.service.d.ts +14 -14
- package/lib/services/tour/tour.service.d.ts +24 -24
- package/lib/services/util/util.service.d.ts +190 -190
- package/lib/validations/AppRegex.d.ts +43 -43
- package/lib/validations/AppValidators.d.ts +53 -53
- package/package.json +6 -11
- package/public-api.d.ts +121 -121
- package/esm2020/lib/components/add-employer/add-employer.component.mjs +0 -3099
- package/esm2020/lib/components/add-participant/add-participant.component.mjs +0 -396
- package/esm2020/lib/components/add-payment/add-payment.component.mjs +0 -186
- package/esm2020/lib/components/address/address.component.mjs +0 -480
- package/esm2020/lib/components/bank-details/bank-details.component.mjs +0 -275
- package/esm2020/lib/components/captcha/captcha.component.mjs +0 -180
- package/esm2020/lib/components/card/card.component.mjs +0 -54
- package/esm2020/lib/components/contact-us/contact-us.component.mjs +0 -1004
- package/esm2020/lib/components/content/content.component.mjs +0 -60
- package/esm2020/lib/components/correspondence-download/correspondence-download.component.mjs +0 -82
- package/esm2020/lib/components/dashboard-card/dashboard-card.component.mjs +0 -219
- package/esm2020/lib/components/dependent-grid/dependent-grid.component.mjs +0 -297
- package/esm2020/lib/components/disclosure/disclosure.component.mjs +0 -59
- package/esm2020/lib/components/dropdown/dropdown.component.mjs +0 -1552
- package/esm2020/lib/components/email-update/email-update.component.mjs +0 -287
- package/esm2020/lib/components/employer-grid/employer-grid.component.mjs +0 -800
- package/esm2020/lib/components/error/error.component.mjs +0 -85
- package/esm2020/lib/components/fav-menu/fav-menu.component.mjs +0 -163
- package/esm2020/lib/components/file-uploader/file-uploader.component.mjs +0 -317
- package/esm2020/lib/components/footer/footer.component.mjs +0 -337
- package/esm2020/lib/components/header/header.component.mjs +0 -566
- package/esm2020/lib/components/help/help.component.mjs +0 -48
- package/esm2020/lib/components/idle-detector/idle-detector.component.mjs +0 -64
- package/esm2020/lib/components/job-search-result-page/job-search-result-page.component.mjs +0 -209
- package/esm2020/lib/components/legal-disclaimar/legal-disclaimar.component.mjs +0 -192
- package/esm2020/lib/components/maintenance-detector/maintenance-detector.component.mjs +0 -42
- package/esm2020/lib/components/mask/mask.component.mjs +0 -48
- package/esm2020/lib/components/menu/menu.component.mjs +0 -430
- package/esm2020/lib/components/mfa/mfa.component.mjs +0 -451
- package/esm2020/lib/components/mfa-popup/mfa-popup.component.mjs +0 -49
- package/esm2020/lib/components/money-expect/money-expect.component.mjs +0 -89
- package/esm2020/lib/components/msg/msg.component.mjs +0 -48
- package/esm2020/lib/components/news/news.component.mjs +0 -89
- package/esm2020/lib/components/overlay-info/overlay-info.component.mjs +0 -235
- package/esm2020/lib/components/page/page.component.mjs +0 -138
- package/esm2020/lib/components/profile/profile.component.mjs +0 -182
- package/esm2020/lib/components/profile-redirect/profile-redirect.component.mjs +0 -62
- package/esm2020/lib/components/questionnaire/AppValidators.mjs +0 -523
- package/esm2020/lib/components/questionnaire/account-success/account-success.page.mjs +0 -259
- package/esm2020/lib/components/questionnaire/common-success/common-success.page.mjs +0 -483
- package/esm2020/lib/components/questionnaire/dynamic-form-panel.component.mjs +0 -1137
- package/esm2020/lib/components/questionnaire/dynamic-form-question.component.mjs +0 -1948
- package/esm2020/lib/components/questionnaire/dynamic-form.component.mjs +0 -1257
- package/esm2020/lib/components/questionnaire/form-builder/form-builder.page.mjs +0 -240
- package/esm2020/lib/components/questionnaire/multi-questionnaire/multi-questionnaire.component.mjs +0 -259
- package/esm2020/lib/components/questionnaire/render-questionnaire/render-questionnaire.page.mjs +0 -260
- package/esm2020/lib/components/requalify-lift-previous-issues/requalify-lift-previous-issues.component.mjs +0 -703
- package/esm2020/lib/components/search-employer/search-employer.component.mjs +0 -142
- package/esm2020/lib/components/select/select.component.mjs +0 -153
- package/esm2020/lib/components/ssn/ssn.component.mjs +0 -43
- package/esm2020/lib/components/ssn-reverify/ssn-reverify.component.mjs +0 -150
- package/esm2020/lib/components/test/test.component.mjs +0 -18
- package/esm2020/lib/components/user-login/user-login.component.mjs +0 -401
- package/esm2020/lib/components/weekly-cert-employer/weekly-cert-employer.component.mjs +0 -445
- package/esm2020/lib/components/weekly-cert-employer-grid/weekly-cert-employer-grid.component.mjs +0 -308
- package/esm2020/lib/guards/no-login/no-login.guard.mjs +0 -21
- package/esm2020/lib/models/RequalifyLiftPageModel.mjs +0 -11
- package/esm2020/lib/models/cmp/CaseCoreModel.mjs +0 -3
- package/esm2020/lib/models/cmp/ContactUsModel.mjs +0 -3
- package/esm2020/lib/models/cmp/contactUsInqueryModel.mjs +0 -7
- package/esm2020/lib/models/dashboard-model.mjs +0 -3
- package/esm2020/lib/models/dependent.model.mjs +0 -8
- package/esm2020/lib/models/questionnaire/ComboModel.mjs +0 -337
- package/esm2020/lib/models/questionnaire/RequalifyLiftIssuesModel.mjs +0 -3
- package/esm2020/lib/models/questionnaire/StatusModel.mjs +0 -6
- package/esm2020/lib/models/questionnaire/UI512AResponseModel.mjs +0 -3
- package/esm2020/lib/ngx-reusa-app-lib.component.mjs +0 -22
- package/esm2020/lib/ngx-reusa-app-lib.module.mjs +0 -390
- package/esm2020/lib/pages/common/accessibility-policy/accessibility-policy.page.mjs +0 -80
- package/esm2020/lib/pages/common/change-password/change-password.page.mjs +0 -477
- package/esm2020/lib/pages/common/landing/landing.component.mjs +0 -207
- package/esm2020/lib/pages/common/landing2/landing2.component.mjs +0 -244
- package/esm2020/lib/pages/common/login/login.component.mjs +0 -542
- package/esm2020/lib/pages/common/not-found/not-found.page.mjs +0 -23
- package/esm2020/lib/pages/common/privacy-disclaimer/privacy-disclaimer.page.mjs +0 -305
- package/esm2020/lib/pages/common/security-policy/security-policy.page.mjs +0 -60
- package/esm2020/lib/pages/common/unauthorized/unauthorized.page.mjs +0 -23
- package/esm2020/lib/pages/popovers/language/language.page.mjs +0 -60
- package/esm2020/lib/pages/popovers/my-notifications/my-notifications.page.mjs +0 -205
- package/esm2020/lib/pages/popovers/my-profile/my-profile.page.mjs +0 -129
- package/esm2020/lib/pages/popovers/user-search/user-search.component.mjs +0 -253
- package/esm2020/lib/services/chatbot/script.const.mjs +0 -42
- package/esm2020/lib/services/claimant-context/claimant-context.service.mjs +0 -47
- package/esm2020/lib/services/login/login.service.mjs +0 -330
- package/esm2020/lib/validations/AppRegex.mjs +0 -45
- package/fesm2015/reusa-ngx-reusa-app-lib.mjs +0 -30728
- package/fesm2015/reusa-ngx-reusa-app-lib.mjs.map +0 -1
- package/fesm2020/reusa-ngx-reusa-app-lib.mjs.map +0 -1
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, Output, ViewChild } from '@angular/core';
|
|
2
|
+
import { first } from 'rxjs/operators';
|
|
3
|
+
import { BasePage } from '../../../pages/BasePage';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../../../services/util/util.service";
|
|
6
|
+
import * as i2 from "../../../services/logger/logger.service";
|
|
7
|
+
import * as i3 from "../../questionnaire/question.service";
|
|
8
|
+
import * as i4 from "@angular/router";
|
|
9
|
+
import * as i5 from "@ionic/angular";
|
|
10
|
+
import * as i6 from "@angular/platform-browser";
|
|
11
|
+
import * as i7 from "../../../services/login/login.service";
|
|
12
|
+
const _c0 = ["questionnaire"];
|
|
13
|
+
function FormBuilderPage_ion_header_0_Template(rf, ctx) { if (rf & 1) {
|
|
14
|
+
i0.ɵɵelementStart(0, "ion-header");
|
|
15
|
+
i0.ɵɵelement(1, "app-header", 3);
|
|
16
|
+
i0.ɵɵelementEnd();
|
|
17
|
+
} if (rf & 2) {
|
|
18
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
19
|
+
i0.ɵɵadvance(1);
|
|
20
|
+
i0.ɵɵproperty("secondToolbar", false)("displayLogo", !ctx_r0.loginService.getUser());
|
|
21
|
+
} }
|
|
22
|
+
function FormBuilderPage_ion_content_1_app_questionnaire_2_Template(rf, ctx) { if (rf & 1) {
|
|
23
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
24
|
+
i0.ɵɵelementStart(0, "app-questionnaire", 6, 7);
|
|
25
|
+
i0.ɵɵlistener("modelCancel", function FormBuilderPage_ion_content_1_app_questionnaire_2_Template_app_questionnaire_modelCancel_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r6 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r6.onModelCancel($event)); })("onComplete", function FormBuilderPage_ion_content_1_app_questionnaire_2_Template_app_questionnaire_onComplete_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r8 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r8.complete($event)); })("onError", function FormBuilderPage_ion_content_1_app_questionnaire_2_Template_app_questionnaire_onError_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r9 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r9.handleError($event)); })("onLoadComplete", function FormBuilderPage_ion_content_1_app_questionnaire_2_Template_app_questionnaire_onLoadComplete_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r10 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r10.loadComplete($event)); });
|
|
26
|
+
i0.ɵɵelementEnd();
|
|
27
|
+
} if (rf & 2) {
|
|
28
|
+
const ctx_r4 = i0.ɵɵnextContext(2);
|
|
29
|
+
i0.ɵɵproperty("backButtonPage", ctx_r4.backButtonPage)("nextButtonPage", ctx_r4.nextButtonPage)("loaderService", ctx_r4.loaderService)("pageType", ctx_r4.pageType)("queryModel", ctx_r4.queryModel)("data", ctx_r4.data)("hideHeader", ctx_r4.hideHeader)("autoSave", ctx_r4.autoSave)("hideFooter", ctx_r4.hideFooter)("sizeXs", ctx_r4.sizeXs)("sizeSm", ctx_r4.sizeSm)("sizeMd", ctx_r4.sizeMd)("sizeLg", ctx_r4.sizeLg)("sizeXl", ctx_r4.sizeXl)("offsetXs", ctx_r4.offsetXs)("offsetSm", ctx_r4.offsetSm)("offsetMd", ctx_r4.offsetMd)("offsetLg", ctx_r4.offsetLg)("offsetXl", ctx_r4.offsetXl)("dynamicParam", ctx_r4.dynamicParam)("mfaRequired", ctx_r4.model.isMfaRequired)("readonly", ctx_r4.readonly)("multiMode", ctx_r4.multiMode)("readOnlyFields", ctx_r4.readOnlyFields);
|
|
30
|
+
} }
|
|
31
|
+
function FormBuilderPage_ion_content_1_Template(rf, ctx) { if (rf & 1) {
|
|
32
|
+
i0.ɵɵelementStart(0, "ion-content")(1, "app-content", 4);
|
|
33
|
+
i0.ɵɵtemplate(2, FormBuilderPage_ion_content_1_app_questionnaire_2_Template, 2, 24, "app-questionnaire", 5);
|
|
34
|
+
i0.ɵɵelementEnd()();
|
|
35
|
+
} if (rf & 2) {
|
|
36
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
37
|
+
i0.ɵɵadvance(1);
|
|
38
|
+
i0.ɵɵproperty("showHelp", false)("hideFooter", true);
|
|
39
|
+
i0.ɵɵadvance(1);
|
|
40
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.showLoaderTheme12);
|
|
41
|
+
} }
|
|
42
|
+
function FormBuilderPage_app_questionnaire_2_Template(rf, ctx) { if (rf & 1) {
|
|
43
|
+
const _r13 = i0.ɵɵgetCurrentView();
|
|
44
|
+
i0.ɵɵelementStart(0, "app-questionnaire", 8, 7);
|
|
45
|
+
i0.ɵɵlistener("modelCancel", function FormBuilderPage_app_questionnaire_2_Template_app_questionnaire_modelCancel_0_listener($event) { i0.ɵɵrestoreView(_r13); const ctx_r12 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r12.onModelCancel($event)); })("onComplete", function FormBuilderPage_app_questionnaire_2_Template_app_questionnaire_onComplete_0_listener($event) { i0.ɵɵrestoreView(_r13); const ctx_r14 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r14.complete($event)); })("onError", function FormBuilderPage_app_questionnaire_2_Template_app_questionnaire_onError_0_listener($event) { i0.ɵɵrestoreView(_r13); const ctx_r15 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r15.handleError($event)); })("onLoadComplete", function FormBuilderPage_app_questionnaire_2_Template_app_questionnaire_onLoadComplete_0_listener($event) { i0.ɵɵrestoreView(_r13); const ctx_r16 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r16.loadComplete($event)); });
|
|
46
|
+
i0.ɵɵelementEnd();
|
|
47
|
+
} if (rf & 2) {
|
|
48
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
49
|
+
i0.ɵɵproperty("backButtonPage", ctx_r2.backButtonPage)("nextButtonPage", ctx_r2.nextButtonPage)("loaderService", ctx_r2.loaderService)("pageType", ctx_r2.pageType)("queryModel", ctx_r2.queryModel)("formData", ctx_r2.data)("hideHeader", ctx_r2.hideHeader)("autoSave", ctx_r2.autoSave)("hideFooter", ctx_r2.hideFooter)("sizeXs", ctx_r2.sizeXs)("sizeSm", ctx_r2.sizeSm)("sizeMd", ctx_r2.sizeMd)("sizeLg", ctx_r2.sizeLg)("sizeXl", ctx_r2.sizeXl)("offsetXs", ctx_r2.offsetXs)("offsetSm", ctx_r2.offsetSm)("offsetMd", ctx_r2.offsetMd)("offsetLg", ctx_r2.offsetLg)("offsetXl", ctx_r2.offsetXl)("dynamicParam", ctx_r2.dynamicParam)("mfaRequired", ctx_r2.model.isMfaRequired)("readonly", ctx_r2.readonly)("multiMode", ctx_r2.multiMode)("readOnlyFields", ctx_r2.readOnlyFields);
|
|
50
|
+
} }
|
|
51
|
+
function FormBuilderPage_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
52
|
+
i0.ɵɵelementStart(0, "div", 9);
|
|
53
|
+
i0.ɵɵelement(1, "ion-spinner", 10);
|
|
54
|
+
i0.ɵɵelementEnd();
|
|
55
|
+
} }
|
|
56
|
+
export class FormBuilderPage extends BasePage {
|
|
57
|
+
constructor(util, logger, service, activatedRoute, nav, titleService, loginService) {
|
|
58
|
+
super();
|
|
59
|
+
this.util = util;
|
|
60
|
+
this.logger = logger;
|
|
61
|
+
this.service = service;
|
|
62
|
+
this.activatedRoute = activatedRoute;
|
|
63
|
+
this.nav = nav;
|
|
64
|
+
this.titleService = titleService;
|
|
65
|
+
this.loginService = loginService;
|
|
66
|
+
this.showLoaderTheme12 = true;
|
|
67
|
+
this.autoSave = true;
|
|
68
|
+
this.hideHeader = false;
|
|
69
|
+
this.hideFooter = false;
|
|
70
|
+
this.showOnlyQuestion = false;
|
|
71
|
+
this.modelCancel = new EventEmitter();
|
|
72
|
+
this.onComplete = new EventEmitter();
|
|
73
|
+
this.onError = new EventEmitter();
|
|
74
|
+
this.showError = true;
|
|
75
|
+
this.readonly = false;
|
|
76
|
+
this.multiMode = false;
|
|
77
|
+
this.onLoadComplete = new EventEmitter();
|
|
78
|
+
}
|
|
79
|
+
submitQuestionnaire() {
|
|
80
|
+
this.questionnaire.submit();
|
|
81
|
+
}
|
|
82
|
+
loadComplete(event) {
|
|
83
|
+
this.onLoadComplete.emit(event);
|
|
84
|
+
}
|
|
85
|
+
complete(event) {
|
|
86
|
+
this.onComplete.emit(event);
|
|
87
|
+
}
|
|
88
|
+
ngOnInit() {
|
|
89
|
+
let data = this.activatedRoute.snapshot.queryParamMap.get('data');
|
|
90
|
+
if (data) {
|
|
91
|
+
this.dynamicParam = JSON.parse(atob(data));
|
|
92
|
+
}
|
|
93
|
+
if (this.flowKey) {
|
|
94
|
+
this.getFlowData(this.flowKey);
|
|
95
|
+
}
|
|
96
|
+
else {
|
|
97
|
+
this.activatedRoute
|
|
98
|
+
.params
|
|
99
|
+
.pipe(first())
|
|
100
|
+
.subscribe(params => {
|
|
101
|
+
let key = params['key'];
|
|
102
|
+
this.getFlowData(key);
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
getFlowData(key) {
|
|
107
|
+
this.service.getFlowData(key).subscribe(res => {
|
|
108
|
+
if (!res || !res.flowId) {
|
|
109
|
+
this.nav.navigateRoot('not-found');
|
|
110
|
+
}
|
|
111
|
+
this.model = res;
|
|
112
|
+
if (this.model.authenticationRequired === 'Y' && !this.loginService.isLoggedIn()) {
|
|
113
|
+
this.nav.navigateRoot('login').then(() => {
|
|
114
|
+
this.util.showError("User not logged in.");
|
|
115
|
+
});
|
|
116
|
+
return;
|
|
117
|
+
}
|
|
118
|
+
this.queryModel = JSON.parse(this.model.flowId);
|
|
119
|
+
this.queryModel.isScreenQuestionnaire = true;
|
|
120
|
+
this.model.isMfaRequired = this.queryModel.isMfaRequired ? this.queryModel.isMfaRequired : false;
|
|
121
|
+
this.nextButtonPage = this.model.nextPage;
|
|
122
|
+
this.titleService.setTitle(this.model.pageTitle);
|
|
123
|
+
this.backButtonPage = this.model.backPage;
|
|
124
|
+
if (this.model.type) {
|
|
125
|
+
this.pageType = this.model.type;
|
|
126
|
+
}
|
|
127
|
+
this.setSizes();
|
|
128
|
+
this.loaderService = this.model.loaderService;
|
|
129
|
+
this.showLoaderTheme12 = false;
|
|
130
|
+
}, err => {
|
|
131
|
+
this.util.hideLoader();
|
|
132
|
+
this.util.errorHandler(err);
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
setSizes() {
|
|
136
|
+
if (!this.sizeXs) {
|
|
137
|
+
this.sizeXs = 12;
|
|
138
|
+
this.offsetXs = 0;
|
|
139
|
+
}
|
|
140
|
+
if (!this.sizeSm) {
|
|
141
|
+
this.sizeSm = 12;
|
|
142
|
+
this.offsetSm = 0;
|
|
143
|
+
}
|
|
144
|
+
if (!this.sizeMd) {
|
|
145
|
+
this.sizeMd = 12;
|
|
146
|
+
this.offsetMd = 0;
|
|
147
|
+
}
|
|
148
|
+
if (!this.sizeLg) {
|
|
149
|
+
this.sizeLg = 10;
|
|
150
|
+
this.offsetLg = 1;
|
|
151
|
+
}
|
|
152
|
+
if (!this.sizeXl) {
|
|
153
|
+
this.sizeXl = 8;
|
|
154
|
+
this.offsetXl = 2;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
onModelCancel(cancel) {
|
|
158
|
+
this.modelCancel.emit(cancel);
|
|
159
|
+
}
|
|
160
|
+
handleError(error) {
|
|
161
|
+
if (this.showError) {
|
|
162
|
+
this.util.errorHandler(error);
|
|
163
|
+
}
|
|
164
|
+
this.onError.emit(error);
|
|
165
|
+
}
|
|
166
|
+
static { this.ɵfac = function FormBuilderPage_Factory(t) { return new (t || FormBuilderPage)(i0.ɵɵdirectiveInject(i1.UtilService), i0.ɵɵdirectiveInject(i2.LoggerService), i0.ɵɵdirectiveInject(i3.QuestionService), i0.ɵɵdirectiveInject(i4.ActivatedRoute), i0.ɵɵdirectiveInject(i5.NavController), i0.ɵɵdirectiveInject(i6.Title), i0.ɵɵdirectiveInject(i7.LoginService)); }; }
|
|
167
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormBuilderPage, selectors: [["app-form-builder"]], viewQuery: function FormBuilderPage_Query(rf, ctx) { if (rf & 1) {
|
|
168
|
+
i0.ɵɵviewQuery(_c0, 5);
|
|
169
|
+
} if (rf & 2) {
|
|
170
|
+
let _t;
|
|
171
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.questionnaire = _t.first);
|
|
172
|
+
} }, inputs: { autoSave: "autoSave", pageType: "pageType", hideHeader: "hideHeader", hideFooter: "hideFooter", flowKey: "flowKey", showOnlyQuestion: "showOnlyQuestion", dynamicParam: "dynamicParam", sizeXs: "sizeXs", sizeSm: "sizeSm", sizeMd: "sizeMd", sizeLg: "sizeLg", sizeXl: "sizeXl", offsetXs: "offsetXs", offsetSm: "offsetSm", offsetMd: "offsetMd", offsetLg: "offsetLg", offsetXl: "offsetXl", data: "data", showError: "showError", readonly: "readonly", multiMode: "multiMode", readOnlyFields: "readOnlyFields" }, outputs: { modelCancel: "modelCancel", onComplete: "onComplete", onError: "onError", onLoadComplete: "onLoadComplete" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 4, consts: [[4, "ngIf"], ["style", "display: contents;", 3, "backButtonPage", "nextButtonPage", "loaderService", "pageType", "queryModel", "formData", "hideHeader", "autoSave", "hideFooter", "sizeXs", "sizeSm", "sizeMd", "sizeLg", "sizeXl", "offsetXs", "offsetSm", "offsetMd", "offsetLg", "offsetXl", "dynamicParam", "mfaRequired", "readonly", "multiMode", "readOnlyFields", "modelCancel", "onComplete", "onError", "onLoadComplete", 4, "ngIf"], ["class", "ion-text-center ion-padding", 4, "ngIf"], [3, "secondToolbar", "displayLogo"], [3, "showHelp", "hideFooter"], ["style", "display: contents;", 3, "backButtonPage", "nextButtonPage", "loaderService", "pageType", "queryModel", "data", "hideHeader", "autoSave", "hideFooter", "sizeXs", "sizeSm", "sizeMd", "sizeLg", "sizeXl", "offsetXs", "offsetSm", "offsetMd", "offsetLg", "offsetXl", "dynamicParam", "mfaRequired", "readonly", "multiMode", "readOnlyFields", "modelCancel", "onComplete", "onError", "onLoadComplete", 4, "ngIf"], [2, "display", "contents", 3, "backButtonPage", "nextButtonPage", "loaderService", "pageType", "queryModel", "data", "hideHeader", "autoSave", "hideFooter", "sizeXs", "sizeSm", "sizeMd", "sizeLg", "sizeXl", "offsetXs", "offsetSm", "offsetMd", "offsetLg", "offsetXl", "dynamicParam", "mfaRequired", "readonly", "multiMode", "readOnlyFields", "modelCancel", "onComplete", "onError", "onLoadComplete"], ["questionnaire", ""], [2, "display", "contents", 3, "backButtonPage", "nextButtonPage", "loaderService", "pageType", "queryModel", "formData", "hideHeader", "autoSave", "hideFooter", "sizeXs", "sizeSm", "sizeMd", "sizeLg", "sizeXl", "offsetXs", "offsetSm", "offsetMd", "offsetLg", "offsetXl", "dynamicParam", "mfaRequired", "readonly", "multiMode", "readOnlyFields", "modelCancel", "onComplete", "onError", "onLoadComplete"], [1, "ion-text-center", "ion-padding"], ["name", "dots"]], template: function FormBuilderPage_Template(rf, ctx) { if (rf & 1) {
|
|
173
|
+
i0.ɵɵtemplate(0, FormBuilderPage_ion_header_0_Template, 2, 2, "ion-header", 0)(1, FormBuilderPage_ion_content_1_Template, 3, 3, "ion-content", 0)(2, FormBuilderPage_app_questionnaire_2_Template, 2, 24, "app-questionnaire", 1)(3, FormBuilderPage_div_3_Template, 2, 0, "div", 2);
|
|
174
|
+
} if (rf & 2) {
|
|
175
|
+
i0.ɵɵproperty("ngIf", ctx.pageType != "POPUP" && !ctx.hideHeader);
|
|
176
|
+
i0.ɵɵadvance(1);
|
|
177
|
+
i0.ɵɵproperty("ngIf", !ctx.showOnlyQuestion);
|
|
178
|
+
i0.ɵɵadvance(1);
|
|
179
|
+
i0.ɵɵproperty("ngIf", !ctx.showLoaderTheme12 && ctx.showOnlyQuestion);
|
|
180
|
+
i0.ɵɵadvance(1);
|
|
181
|
+
i0.ɵɵproperty("ngIf", ctx.showLoaderTheme12);
|
|
182
|
+
} }, styles: ["[_nghost-%COMP%] .p-dialog-header{display:none}"] }); }
|
|
183
|
+
}
|
|
184
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormBuilderPage, [{
|
|
185
|
+
type: Component,
|
|
186
|
+
args: [{ selector: 'app-form-builder', template: "<ion-header *ngIf=\"pageType!='POPUP' && !hideHeader\">\n <app-header [secondToolbar]=\"false\" [displayLogo]=\"!loginService.getUser()\"></app-header>\n</ion-header>\n<ion-content *ngIf=\"!showOnlyQuestion\">\n <app-content [showHelp]=\"false\" [hideFooter]=\"true\">\n <app-questionnaire #questionnaire style=\"display: contents;\" [backButtonPage]=\"backButtonPage\" \n [nextButtonPage]=\"nextButtonPage\" [loaderService]=\"loaderService\" [pageType]=\"pageType\" *ngIf=\"!showLoaderTheme12\" (modelCancel)=\"onModelCancel($event)\"\n [queryModel]=\"queryModel\" [data]=\"data\" (onComplete)=\"complete($event)\" [hideHeader]=\"hideHeader\" [autoSave]=\"autoSave\" [hideFooter]=\"hideFooter\"\n [sizeXs]=\"sizeXs\" [sizeSm]=\"sizeSm\" [sizeMd]=\"sizeMd\" [sizeLg]=\"sizeLg\" [sizeXl]=\"sizeXl\" \n [offsetXs]=\"offsetXs\" [offsetSm]=\"offsetSm\" [offsetMd]=\"offsetMd\" [offsetLg]=\"offsetLg\" [offsetXl]=\"offsetXl\"\n (onError)=\"handleError($event)\" [dynamicParam]=\"dynamicParam\" [mfaRequired]=\"model.isMfaRequired\" [readonly]=\"readonly\" [multiMode]=\"multiMode\"\n [readOnlyFields]=\"readOnlyFields\" (onLoadComplete)=\"loadComplete($event)\"></app-questionnaire>\n </app-content>\n</ion-content>\n<app-questionnaire #questionnaire style=\"display: contents;\" [backButtonPage]=\"backButtonPage\" \n [nextButtonPage]=\"nextButtonPage\" [loaderService]=\"loaderService\" [pageType]=\"pageType\" *ngIf=\"!showLoaderTheme12 && showOnlyQuestion\" (modelCancel)=\"onModelCancel($event)\"\n [queryModel]=\"queryModel\" [formData]=\"data\" (onComplete)=\"complete($event)\" [hideHeader]=\"hideHeader\" [autoSave]=\"autoSave\" [hideFooter]=\"hideFooter\"\n [sizeXs]=\"sizeXs\" [sizeSm]=\"sizeSm\" [sizeMd]=\"sizeMd\" [sizeLg]=\"sizeLg\" [sizeXl]=\"sizeXl\" \n [offsetXs]=\"offsetXs\" [offsetSm]=\"offsetSm\" [offsetMd]=\"offsetMd\" [offsetLg]=\"offsetLg\" [offsetXl]=\"offsetXl\" (onError)=\"handleError($event)\"\n [dynamicParam]=\"dynamicParam\" [mfaRequired]=\"model.isMfaRequired\" [readonly]=\"readonly\" [multiMode]=\"multiMode\" [readOnlyFields]=\"readOnlyFields\"\n (onLoadComplete)=\"loadComplete($event)\"></app-questionnaire>\n\n<div class=\"ion-text-center ion-padding\" *ngIf=\"showLoaderTheme12\">\n <ion-spinner name=\"dots\"></ion-spinner>\n</div>\n", styles: [":host ::ng-deep .p-dialog-header{display:none}\n"] }]
|
|
187
|
+
}], () => [{ type: i1.UtilService }, { type: i2.LoggerService }, { type: i3.QuestionService }, { type: i4.ActivatedRoute }, { type: i5.NavController }, { type: i6.Title }, { type: i7.LoginService }], { questionnaire: [{
|
|
188
|
+
type: ViewChild,
|
|
189
|
+
args: ['questionnaire']
|
|
190
|
+
}], autoSave: [{
|
|
191
|
+
type: Input
|
|
192
|
+
}], pageType: [{
|
|
193
|
+
type: Input
|
|
194
|
+
}], hideHeader: [{
|
|
195
|
+
type: Input
|
|
196
|
+
}], hideFooter: [{
|
|
197
|
+
type: Input
|
|
198
|
+
}], flowKey: [{
|
|
199
|
+
type: Input
|
|
200
|
+
}], showOnlyQuestion: [{
|
|
201
|
+
type: Input
|
|
202
|
+
}], dynamicParam: [{
|
|
203
|
+
type: Input
|
|
204
|
+
}], modelCancel: [{
|
|
205
|
+
type: Output
|
|
206
|
+
}], onComplete: [{
|
|
207
|
+
type: Output
|
|
208
|
+
}], onError: [{
|
|
209
|
+
type: Output
|
|
210
|
+
}], sizeXs: [{
|
|
211
|
+
type: Input
|
|
212
|
+
}], sizeSm: [{
|
|
213
|
+
type: Input
|
|
214
|
+
}], sizeMd: [{
|
|
215
|
+
type: Input
|
|
216
|
+
}], sizeLg: [{
|
|
217
|
+
type: Input
|
|
218
|
+
}], sizeXl: [{
|
|
219
|
+
type: Input
|
|
220
|
+
}], offsetXs: [{
|
|
221
|
+
type: Input
|
|
222
|
+
}], offsetSm: [{
|
|
223
|
+
type: Input
|
|
224
|
+
}], offsetMd: [{
|
|
225
|
+
type: Input
|
|
226
|
+
}], offsetLg: [{
|
|
227
|
+
type: Input
|
|
228
|
+
}], offsetXl: [{
|
|
229
|
+
type: Input
|
|
230
|
+
}], data: [{
|
|
231
|
+
type: Input
|
|
232
|
+
}], showError: [{
|
|
233
|
+
type: Input
|
|
234
|
+
}], readonly: [{
|
|
235
|
+
type: Input
|
|
236
|
+
}], multiMode: [{
|
|
237
|
+
type: Input
|
|
238
|
+
}], readOnlyFields: [{
|
|
239
|
+
type: Input
|
|
240
|
+
}], onLoadComplete: [{
|
|
241
|
+
type: Output
|
|
242
|
+
}] }); })();
|
|
243
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FormBuilderPage, { className: "FormBuilderPage" }); })();
|
|
244
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1idWlsZGVyLnBhZ2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtcmV1c2EtYXBwLWxpYi9zcmMvb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lRXJyb3IoJGV2ZW50KVwiXG4gICAgICAgIFtkeW5hbWljUGFyYW1dPVwiZHluYW1pY1BhcmFtXCIgW21mYVJlcXVpcmVkXT1cIm1vZGVsLmlzTWZhUmVxdWlyZWRcIiBbcmVhZG9ubHldPVwicmVhZG9ubHlcIiBbbXVsdGlNb2RlXT1cIm11bHRpTW9kZVwiIFtyZWFkT25seUZpZWxkc109XCJyZWFkT25seUZpZWxkc1wiXG4gICAgICAgIChvbkxvYWRDb21wbGV0ZSk9XCJsb2FkQ29tcGxldGUoJGV2ZW50KVwiPjwvYXBwLXF1ZXN0aW9ubmFpcmU+XG5cbjxkaXYgY2xhc3M9XCJpb24tdGV4dC1jZW50ZXIgaW9uLXBhZGRpbmdcIiAqbmdJZj1cInNob3dMb2FkZXJUaGVtZTEyXCI+XG4gICAgPGlvbi1zcGlubmVyIG5hbWU9XCJkb3RzXCI+PC9pb24tc3Bpbm5lcj5cbjwvZGl2PlxuIl19
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import { Directive, HostListener } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class InputFocus {
|
|
4
|
-
constructor(el, renderer) {
|
|
5
|
-
this.el = el;
|
|
6
|
-
this.renderer = renderer;
|
|
7
|
-
this.focusables = ["pinputtext", "p-inputmask", "input", "select", "textarea", "p-calendar", "radio", "p-dropdown", "p-selectButton", "p-autocomplete", "p-password", "p-checkbox", "p-inputtextarea"];
|
|
8
|
-
}
|
|
9
|
-
onFormSubmit() {
|
|
10
|
-
var element = this.el.nativeElement.querySelector(this.focusables.map(x => `${x}.ng-invalid`).join(","));
|
|
11
|
-
if (element) {
|
|
12
|
-
var primeNgComponent = element.querySelector(this.focusables.map(x => `${x}.p-component`).join(","));
|
|
13
|
-
if (primeNgComponent) {
|
|
14
|
-
primeNgComponent.focus();
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
element.focus();
|
|
18
|
-
}
|
|
19
|
-
//Block for Radio Button Start
|
|
20
|
-
var primeNgComponent1 = element.querySelector("div.p-selectbutton");
|
|
21
|
-
if (primeNgComponent1) {
|
|
22
|
-
var primeNgComponent2 = primeNgComponent1.querySelector("div.p-component");
|
|
23
|
-
if (primeNgComponent2) {
|
|
24
|
-
primeNgComponent2.focus();
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
//Block for Radio Button End
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
(
|
|
36
|
-
type: Directive,
|
|
37
|
-
args: [{
|
|
38
|
-
selector: '[focusInvalidInput]'
|
|
39
|
-
}]
|
|
40
|
-
}],
|
|
41
|
-
type: HostListener,
|
|
42
|
-
args: ['submit']
|
|
43
|
-
}] }); })();
|
|
44
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Directive, HostListener } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class InputFocus {
|
|
4
|
+
constructor(el, renderer) {
|
|
5
|
+
this.el = el;
|
|
6
|
+
this.renderer = renderer;
|
|
7
|
+
this.focusables = ["pinputtext", "p-inputmask", "input", "select", "textarea", "p-calendar", "radio", "p-dropdown", "p-selectButton", "p-autocomplete", "p-password", "p-checkbox", "p-inputtextarea"];
|
|
8
|
+
}
|
|
9
|
+
onFormSubmit() {
|
|
10
|
+
var element = this.el.nativeElement.querySelector(this.focusables.map(x => `${x}.ng-invalid`).join(","));
|
|
11
|
+
if (element) {
|
|
12
|
+
var primeNgComponent = element.querySelector(this.focusables.map(x => `${x}.p-component`).join(","));
|
|
13
|
+
if (primeNgComponent) {
|
|
14
|
+
primeNgComponent.focus();
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
element.focus();
|
|
18
|
+
}
|
|
19
|
+
//Block for Radio Button Start
|
|
20
|
+
var primeNgComponent1 = element.querySelector("div.p-selectbutton");
|
|
21
|
+
if (primeNgComponent1) {
|
|
22
|
+
var primeNgComponent2 = primeNgComponent1.querySelector("div.p-component");
|
|
23
|
+
if (primeNgComponent2) {
|
|
24
|
+
primeNgComponent2.focus();
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
//Block for Radio Button End
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
static { this.ɵfac = function InputFocus_Factory(t) { return new (t || InputFocus)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2)); }; }
|
|
31
|
+
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: InputFocus, selectors: [["", "focusInvalidInput", ""]], hostBindings: function InputFocus_HostBindings(rf, ctx) { if (rf & 1) {
|
|
32
|
+
i0.ɵɵlistener("submit", function InputFocus_submit_HostBindingHandler() { return ctx.onFormSubmit(); });
|
|
33
|
+
} } }); }
|
|
34
|
+
}
|
|
35
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputFocus, [{
|
|
36
|
+
type: Directive,
|
|
37
|
+
args: [{
|
|
38
|
+
selector: '[focusInvalidInput]'
|
|
39
|
+
}]
|
|
40
|
+
}], () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], { onFormSubmit: [{
|
|
41
|
+
type: HostListener,
|
|
42
|
+
args: ['submit']
|
|
43
|
+
}] }); })();
|
|
44
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtZm9jdXMuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXJldXNhLWFwcC1saWIvc3JjL2xpYi9jb21wb25lbnRzL3F1ZXN0aW9ubmFpcmUvaW5wdXQtZm9jdXMuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQU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