@reusa/ngx-reusa-app-lib 0.0.731 → 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
|
@@ -1,240 +0,0 @@
|
|
|
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)); });
|
|
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 _r12 = 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(_r12); const ctx_r11 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r11.onModelCancel($event)); })("onComplete", function FormBuilderPage_app_questionnaire_2_Template_app_questionnaire_onComplete_0_listener($event) { i0.ɵɵrestoreView(_r12); const ctx_r13 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r13.complete($event)); })("onError", function FormBuilderPage_app_questionnaire_2_Template_app_questionnaire_onError_0_listener($event) { i0.ɵɵrestoreView(_r12); const ctx_r14 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r14.handleError($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
|
-
}
|
|
78
|
-
submitQuestionnaire() {
|
|
79
|
-
this.questionnaire.submit();
|
|
80
|
-
}
|
|
81
|
-
complete(event) {
|
|
82
|
-
this.onComplete.emit(event);
|
|
83
|
-
}
|
|
84
|
-
ngOnInit() {
|
|
85
|
-
let data = this.activatedRoute.snapshot.queryParamMap.get('data');
|
|
86
|
-
if (data) {
|
|
87
|
-
this.dynamicParam = JSON.parse(atob(data));
|
|
88
|
-
}
|
|
89
|
-
if (this.flowKey) {
|
|
90
|
-
this.getFlowData(this.flowKey);
|
|
91
|
-
}
|
|
92
|
-
else {
|
|
93
|
-
this.activatedRoute
|
|
94
|
-
.params
|
|
95
|
-
.pipe(first())
|
|
96
|
-
.subscribe(params => {
|
|
97
|
-
let key = params['key'];
|
|
98
|
-
this.getFlowData(key);
|
|
99
|
-
});
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
getFlowData(key) {
|
|
103
|
-
this.service.getFlowData(key).subscribe(res => {
|
|
104
|
-
if (!res || !res.flowId) {
|
|
105
|
-
this.nav.navigateRoot('not-found');
|
|
106
|
-
}
|
|
107
|
-
this.model = res;
|
|
108
|
-
if (this.model.authenticationRequired === 'Y' && !this.loginService.isLoggedIn()) {
|
|
109
|
-
this.nav.navigateRoot('login').then(() => {
|
|
110
|
-
this.util.showError("User not logged in.");
|
|
111
|
-
});
|
|
112
|
-
return;
|
|
113
|
-
}
|
|
114
|
-
this.queryModel = JSON.parse(this.model.flowId);
|
|
115
|
-
this.queryModel.isScreenQuestionnaire = true;
|
|
116
|
-
this.model.isMfaRequired = this.queryModel.isMfaRequired ? this.queryModel.isMfaRequired : false;
|
|
117
|
-
this.nextButtonPage = this.model.nextPage;
|
|
118
|
-
this.titleService.setTitle(this.model.pageTitle);
|
|
119
|
-
this.backButtonPage = this.model.backPage;
|
|
120
|
-
if (this.model.type) {
|
|
121
|
-
this.pageType = this.model.type;
|
|
122
|
-
}
|
|
123
|
-
this.setSizes();
|
|
124
|
-
this.loaderService = this.model.loaderService;
|
|
125
|
-
this.showLoaderTheme12 = false;
|
|
126
|
-
}, err => {
|
|
127
|
-
this.util.hideLoader();
|
|
128
|
-
this.util.errorHandler(err);
|
|
129
|
-
});
|
|
130
|
-
}
|
|
131
|
-
setSizes() {
|
|
132
|
-
if (!this.sizeXs) {
|
|
133
|
-
this.sizeXs = 12;
|
|
134
|
-
this.offsetXs = 0;
|
|
135
|
-
}
|
|
136
|
-
if (!this.sizeSm) {
|
|
137
|
-
this.sizeSm = 12;
|
|
138
|
-
this.offsetSm = 0;
|
|
139
|
-
}
|
|
140
|
-
if (!this.sizeMd) {
|
|
141
|
-
this.sizeMd = 12;
|
|
142
|
-
this.offsetMd = 0;
|
|
143
|
-
}
|
|
144
|
-
if (!this.sizeLg) {
|
|
145
|
-
this.sizeLg = 10;
|
|
146
|
-
this.offsetLg = 1;
|
|
147
|
-
}
|
|
148
|
-
if (!this.sizeXl) {
|
|
149
|
-
this.sizeXl = 8;
|
|
150
|
-
this.offsetXl = 2;
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
onModelCancel(cancel) {
|
|
154
|
-
this.modelCancel.emit(cancel);
|
|
155
|
-
}
|
|
156
|
-
handleError(error) {
|
|
157
|
-
if (this.showError) {
|
|
158
|
-
this.util.errorHandler(error);
|
|
159
|
-
}
|
|
160
|
-
this.onError.emit(error);
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
FormBuilderPage.ɵ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)); };
|
|
164
|
-
FormBuilderPage.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormBuilderPage, selectors: [["app-form-builder"]], viewQuery: function FormBuilderPage_Query(rf, ctx) { if (rf & 1) {
|
|
165
|
-
i0.ɵɵviewQuery(_c0, 5);
|
|
166
|
-
} if (rf & 2) {
|
|
167
|
-
let _t;
|
|
168
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.questionnaire = _t.first);
|
|
169
|
-
} }, 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" }, 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", 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", 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"], ["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"], [1, "ion-text-center", "ion-padding"], ["name", "dots"]], template: function FormBuilderPage_Template(rf, ctx) { if (rf & 1) {
|
|
170
|
-
i0.ɵɵtemplate(0, FormBuilderPage_ion_header_0_Template, 2, 2, "ion-header", 0);
|
|
171
|
-
i0.ɵɵtemplate(1, FormBuilderPage_ion_content_1_Template, 3, 3, "ion-content", 0);
|
|
172
|
-
i0.ɵɵtemplate(2, FormBuilderPage_app_questionnaire_2_Template, 2, 24, "app-questionnaire", 1);
|
|
173
|
-
i0.ɵɵtemplate(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
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormBuilderPage, [{
|
|
184
|
-
type: Component,
|
|
185
|
-
args: [{ selector: 'app-form-builder', template: "<ion-header *ngIf=\"pageType!='POPUP' && !hideHeader\">\r\n <app-header [secondToolbar]=\"false\" [displayLogo]=\"!loginService.getUser()\"></app-header>\r\n</ion-header>\r\n<ion-content *ngIf=\"!showOnlyQuestion\">\r\n <app-content [showHelp]=\"false\" [hideFooter]=\"true\">\r\n <app-questionnaire #questionnaire style=\"display: contents;\" [backButtonPage]=\"backButtonPage\" \r\n [nextButtonPage]=\"nextButtonPage\" [loaderService]=\"loaderService\" [pageType]=\"pageType\" *ngIf=\"!showLoaderTheme12\" (modelCancel)=\"onModelCancel($event)\"\r\n [queryModel]=\"queryModel\" [data]=\"data\" (onComplete)=\"complete($event)\" [hideHeader]=\"hideHeader\" [autoSave]=\"autoSave\" [hideFooter]=\"hideFooter\"\r\n [sizeXs]=\"sizeXs\" [sizeSm]=\"sizeSm\" [sizeMd]=\"sizeMd\" [sizeLg]=\"sizeLg\" [sizeXl]=\"sizeXl\" \r\n [offsetXs]=\"offsetXs\" [offsetSm]=\"offsetSm\" [offsetMd]=\"offsetMd\" [offsetLg]=\"offsetLg\" [offsetXl]=\"offsetXl\"\r\n (onError)=\"handleError($event)\" [dynamicParam]=\"dynamicParam\" [mfaRequired]=\"model.isMfaRequired\" [readonly]=\"readonly\" [multiMode]=\"multiMode\"\r\n [readOnlyFields]=\"readOnlyFields\"></app-questionnaire>\r\n </app-content>\r\n</ion-content>\r\n<app-questionnaire #questionnaire style=\"display: contents;\" [backButtonPage]=\"backButtonPage\" \r\n [nextButtonPage]=\"nextButtonPage\" [loaderService]=\"loaderService\" [pageType]=\"pageType\" *ngIf=\"!showLoaderTheme12 && showOnlyQuestion\" (modelCancel)=\"onModelCancel($event)\"\r\n [queryModel]=\"queryModel\" [formData]=\"data\" (onComplete)=\"complete($event)\" [hideHeader]=\"hideHeader\" [autoSave]=\"autoSave\" [hideFooter]=\"hideFooter\"\r\n [sizeXs]=\"sizeXs\" [sizeSm]=\"sizeSm\" [sizeMd]=\"sizeMd\" [sizeLg]=\"sizeLg\" [sizeXl]=\"sizeXl\" \r\n [offsetXs]=\"offsetXs\" [offsetSm]=\"offsetSm\" [offsetMd]=\"offsetMd\" [offsetLg]=\"offsetLg\" [offsetXl]=\"offsetXl\" (onError)=\"handleError($event)\"\r\n [dynamicParam]=\"dynamicParam\" [mfaRequired]=\"model.isMfaRequired\" [readonly]=\"readonly\" [multiMode]=\"multiMode\" [readOnlyFields]=\"readOnlyFields\"></app-questionnaire>\r\n\r\n<div class=\"ion-text-center ion-padding\" *ngIf=\"showLoaderTheme12\">\r\n <ion-spinner name=\"dots\"></ion-spinner>\r\n</div>\r\n", styles: [":host ::ng-deep .p-dialog-header{display:none}\n"] }]
|
|
186
|
-
}], function () { return [{ type: i1.UtilService }, { type: i2.LoggerService }, { type: i3.QuestionService }, { type: i4.ActivatedRoute }, { type: i5.NavController }, { type: i6.Title }, { type: i7.LoginService }]; }, { questionnaire: [{
|
|
187
|
-
type: ViewChild,
|
|
188
|
-
args: ['questionnaire']
|
|
189
|
-
}], autoSave: [{
|
|
190
|
-
type: Input
|
|
191
|
-
}], pageType: [{
|
|
192
|
-
type: Input
|
|
193
|
-
}], hideHeader: [{
|
|
194
|
-
type: Input
|
|
195
|
-
}], hideFooter: [{
|
|
196
|
-
type: Input
|
|
197
|
-
}], flowKey: [{
|
|
198
|
-
type: Input
|
|
199
|
-
}], showOnlyQuestion: [{
|
|
200
|
-
type: Input
|
|
201
|
-
}], dynamicParam: [{
|
|
202
|
-
type: Input
|
|
203
|
-
}], modelCancel: [{
|
|
204
|
-
type: Output
|
|
205
|
-
}], onComplete: [{
|
|
206
|
-
type: Output
|
|
207
|
-
}], onError: [{
|
|
208
|
-
type: Output
|
|
209
|
-
}], sizeXs: [{
|
|
210
|
-
type: Input
|
|
211
|
-
}], sizeSm: [{
|
|
212
|
-
type: Input
|
|
213
|
-
}], sizeMd: [{
|
|
214
|
-
type: Input
|
|
215
|
-
}], sizeLg: [{
|
|
216
|
-
type: Input
|
|
217
|
-
}], sizeXl: [{
|
|
218
|
-
type: Input
|
|
219
|
-
}], offsetXs: [{
|
|
220
|
-
type: Input
|
|
221
|
-
}], offsetSm: [{
|
|
222
|
-
type: Input
|
|
223
|
-
}], offsetMd: [{
|
|
224
|
-
type: Input
|
|
225
|
-
}], offsetLg: [{
|
|
226
|
-
type: Input
|
|
227
|
-
}], offsetXl: [{
|
|
228
|
-
type: Input
|
|
229
|
-
}], data: [{
|
|
230
|
-
type: Input
|
|
231
|
-
}], showError: [{
|
|
232
|
-
type: Input
|
|
233
|
-
}], readonly: [{
|
|
234
|
-
type: Input
|
|
235
|
-
}], multiMode: [{
|
|
236
|
-
type: Input
|
|
237
|
-
}], readOnlyFields: [{
|
|
238
|
-
type: Input
|
|
239
|
-
}] }); })();
|
|
240
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1idWlsZGVyLnBhZ2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtcmV1c2EtYXBwLWxpYi9zcmMvbGliL2NvbXBvbmVudHMvcXVlc3Rpb25uYWlyZS9mb3JtLWJ1aWxkZXIvZm9ybS1idWlsZGVyLnBhZ2UudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtcmV1c2EtYXBwLWxpYi9zcmMvbGliL2NvbXBvbmVudHMvcXVlc3Rpb25uYWlyZS9mb3JtLWJ1aWxkZXIvZm9ybS1idWlsZGVyLnBhZ2UuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQVUsTUFBTSxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUsxRixPQUFPLEVBQUUsS0FBSyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFHdkM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HNcIiBbb2Zmc2V0U21dPVwib2Zmc2V0U21cIiBbb2Zmc2V0TWRdPVwib2Zmc2V0TWRcIiBbb2Zmc2V0TGddPVwib2Zmc2V0TGdcIiBbb2Zmc2V0WGxdPVwib2Zmc2V0WGxcIiAob25FcnJvcik9XCJoYW5kbGVFcnJvcigkZXZlbnQpXCJcclxuICAgICAgICBbZHluYW1pY1BhcmFtXT1cImR5bmFtaWNQYXJhbVwiIFttZmFSZXF1aXJlZF09XCJtb2RlbC5pc01mYVJlcXVpcmVkXCIgW3JlYWRvbmx5XT1cInJlYWRvbmx5XCIgW211bHRpTW9kZV09XCJtdWx0aU1vZGVcIiBbcmVhZE9ubHlGaWVsZHNdPVwicmVhZE9ubHlGaWVsZHNcIj48L2FwcC1xdWVzdGlvbm5haXJlPlxyXG5cclxuPGRpdiBjbGFzcz1cImlvbi10ZXh0LWNlbnRlciBpb24tcGFkZGluZ1wiICpuZ0lmPVwic2hvd0xvYWRlclRoZW1lMTJcIj5cclxuICAgIDxpb24tc3Bpbm5lciBuYW1lPVwiZG90c1wiPjwvaW9uLXNwaW5uZXI+XHJcbjwvZGl2PlxyXG4iXX0=
|
package/esm2020/lib/components/questionnaire/multi-questionnaire/multi-questionnaire.component.mjs
DELETED
|
@@ -1,259 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output, ViewChildren } from "@angular/core";
|
|
2
|
-
import { combineLatest } from "rxjs";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../../../services/questionnaire/questionnaire.service";
|
|
5
|
-
import * as i2 from "@ionic/angular";
|
|
6
|
-
import * as i3 from "@angular/common";
|
|
7
|
-
import * as i4 from "primeng/api";
|
|
8
|
-
import * as i5 from "primeng/dialog";
|
|
9
|
-
import * as i6 from "../render-questionnaire/render-questionnaire.page";
|
|
10
|
-
import * as i7 from "@ngx-translate/core";
|
|
11
|
-
const _c0 = ["fbs"];
|
|
12
|
-
function MultiQuestionnaireComponent_1_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
13
|
-
i0.ɵɵelementStart(0, "span", 3);
|
|
14
|
-
i0.ɵɵtext(1);
|
|
15
|
-
i0.ɵɵelementEnd();
|
|
16
|
-
} if (rf & 2) {
|
|
17
|
-
const ctx_r5 = i0.ɵɵnextContext(2);
|
|
18
|
-
i0.ɵɵadvance(1);
|
|
19
|
-
i0.ɵɵtextInterpolate(ctx_r5.header);
|
|
20
|
-
} }
|
|
21
|
-
function MultiQuestionnaireComponent_1_Template(rf, ctx) { if (rf & 1) {
|
|
22
|
-
i0.ɵɵtemplate(0, MultiQuestionnaireComponent_1_ng_template_0_Template, 2, 1, "ng-template", 2);
|
|
23
|
-
} }
|
|
24
|
-
function MultiQuestionnaireComponent_div_2_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
25
|
-
const _r12 = i0.ɵɵgetCurrentView();
|
|
26
|
-
i0.ɵɵelementStart(0, "div")(1, "app-questionnaire", 5, 6);
|
|
27
|
-
i0.ɵɵlistener("modelCancel", function MultiQuestionnaireComponent_div_2_div_1_Template_app_questionnaire_modelCancel_1_listener() { i0.ɵɵrestoreView(_r12); const ctx_r11 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r11.close()); })("onComplete", function MultiQuestionnaireComponent_div_2_div_1_Template_app_questionnaire_onComplete_1_listener($event) { i0.ɵɵrestoreView(_r12); const ctx_r13 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r13.complete($event)); });
|
|
28
|
-
i0.ɵɵelementEnd()();
|
|
29
|
-
} if (rf & 2) {
|
|
30
|
-
const model_r7 = ctx.$implicit;
|
|
31
|
-
const i_r9 = ctx.index;
|
|
32
|
-
const ctx_r6 = i0.ɵɵnextContext(2);
|
|
33
|
-
i0.ɵɵadvance(1);
|
|
34
|
-
i0.ɵɵproperty("queryModel", model_r7)("hideHeader", true)("autoSave", ctx_r6.autoSave ? model_r7.autoSave == true ? true : false : model_r7.autoSave == true ? true : false)("pageType", null)("hideFooter", true)("dynamicParam", model_r7.dynamicParam)("formData", ctx_r6.formData ? ctx_r6.formData : model_r7.data)("readonly", ctx_r6.readonly)("multiMode", true)("questionNumber", ctx_r6.showQuestionNumber ? i_r9 + 1 : null);
|
|
35
|
-
} }
|
|
36
|
-
function MultiQuestionnaireComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
37
|
-
i0.ɵɵelementStart(0, "div");
|
|
38
|
-
i0.ɵɵtemplate(1, MultiQuestionnaireComponent_div_2_div_1_Template, 3, 10, "div", 4);
|
|
39
|
-
i0.ɵɵelementEnd();
|
|
40
|
-
} if (rf & 2) {
|
|
41
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
42
|
-
i0.ɵɵadvance(1);
|
|
43
|
-
i0.ɵɵproperty("ngForOf", ctx_r1.qeQueryModels);
|
|
44
|
-
} }
|
|
45
|
-
function MultiQuestionnaireComponent_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
46
|
-
const _r15 = i0.ɵɵgetCurrentView();
|
|
47
|
-
i0.ɵɵelementStart(0, "div")(1, "div", 7);
|
|
48
|
-
i0.ɵɵelement(2, "ion-icon", 8);
|
|
49
|
-
i0.ɵɵelementStart(3, "h1");
|
|
50
|
-
i0.ɵɵtext(4);
|
|
51
|
-
i0.ɵɵpipe(5, "translate");
|
|
52
|
-
i0.ɵɵelementEnd()();
|
|
53
|
-
i0.ɵɵelementStart(6, "ion-row", 9)(7, "ion-col", 10)(8, "ion-button", 11);
|
|
54
|
-
i0.ɵɵlistener("click", function MultiQuestionnaireComponent_div_3_Template_ion_button_click_8_listener() { i0.ɵɵrestoreView(_r15); const ctx_r14 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r14.close()); });
|
|
55
|
-
i0.ɵɵtext(9);
|
|
56
|
-
i0.ɵɵpipe(10, "translate");
|
|
57
|
-
i0.ɵɵelementEnd()()()();
|
|
58
|
-
} if (rf & 2) {
|
|
59
|
-
i0.ɵɵadvance(4);
|
|
60
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 2, "Response saved successfully."));
|
|
61
|
-
i0.ɵɵadvance(5);
|
|
62
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 4, "Close"));
|
|
63
|
-
} }
|
|
64
|
-
function MultiQuestionnaireComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
65
|
-
const _r17 = i0.ɵɵgetCurrentView();
|
|
66
|
-
i0.ɵɵelementStart(0, "div")(1, "div", 7);
|
|
67
|
-
i0.ɵɵelement(2, "ion-icon", 12);
|
|
68
|
-
i0.ɵɵelementStart(3, "h1");
|
|
69
|
-
i0.ɵɵtext(4);
|
|
70
|
-
i0.ɵɵpipe(5, "translate");
|
|
71
|
-
i0.ɵɵelementEnd()();
|
|
72
|
-
i0.ɵɵelementStart(6, "ion-row", 9)(7, "ion-col", 10)(8, "ion-button", 11);
|
|
73
|
-
i0.ɵɵlistener("click", function MultiQuestionnaireComponent_div_4_Template_ion_button_click_8_listener() { i0.ɵɵrestoreView(_r17); const ctx_r16 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r16.close()); });
|
|
74
|
-
i0.ɵɵtext(9);
|
|
75
|
-
i0.ɵɵpipe(10, "translate");
|
|
76
|
-
i0.ɵɵelementEnd()()()();
|
|
77
|
-
} if (rf & 2) {
|
|
78
|
-
i0.ɵɵadvance(4);
|
|
79
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 2, "Could not save response. Please try again."));
|
|
80
|
-
i0.ɵɵadvance(5);
|
|
81
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 4, "Close"));
|
|
82
|
-
} }
|
|
83
|
-
function MultiQuestionnaireComponent_p_footer_5_ion_button_3_Template(rf, ctx) { if (rf & 1) {
|
|
84
|
-
const _r20 = i0.ɵɵgetCurrentView();
|
|
85
|
-
i0.ɵɵelementStart(0, "ion-button", 11);
|
|
86
|
-
i0.ɵɵlistener("click", function MultiQuestionnaireComponent_p_footer_5_ion_button_3_Template_ion_button_click_0_listener() { i0.ɵɵrestoreView(_r20); const ctx_r19 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r19.close()); });
|
|
87
|
-
i0.ɵɵtext(1);
|
|
88
|
-
i0.ɵɵpipe(2, "translate");
|
|
89
|
-
i0.ɵɵelementEnd();
|
|
90
|
-
} if (rf & 2) {
|
|
91
|
-
i0.ɵɵadvance(1);
|
|
92
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Close"));
|
|
93
|
-
} }
|
|
94
|
-
function MultiQuestionnaireComponent_p_footer_5_Template(rf, ctx) { if (rf & 1) {
|
|
95
|
-
const _r22 = i0.ɵɵgetCurrentView();
|
|
96
|
-
i0.ɵɵelementStart(0, "p-footer")(1, "ion-row")(2, "ion-col", 10);
|
|
97
|
-
i0.ɵɵtemplate(3, MultiQuestionnaireComponent_p_footer_5_ion_button_3_Template, 3, 3, "ion-button", 13);
|
|
98
|
-
i0.ɵɵelementStart(4, "ion-button", 14);
|
|
99
|
-
i0.ɵɵlistener("click", function MultiQuestionnaireComponent_p_footer_5_Template_ion_button_click_4_listener() { i0.ɵɵrestoreView(_r22); const ctx_r21 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r21.submit()); });
|
|
100
|
-
i0.ɵɵtext(5);
|
|
101
|
-
i0.ɵɵpipe(6, "translate");
|
|
102
|
-
i0.ɵɵelementEnd()()()();
|
|
103
|
-
} if (rf & 2) {
|
|
104
|
-
const ctx_r4 = i0.ɵɵnextContext();
|
|
105
|
-
i0.ɵɵadvance(3);
|
|
106
|
-
i0.ɵɵproperty("ngIf", ctx_r4.showClose);
|
|
107
|
-
i0.ɵɵadvance(2);
|
|
108
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 2, "Submit"));
|
|
109
|
-
} }
|
|
110
|
-
const _c1 = function () { return { width: "45vw", height: "inherit" }; };
|
|
111
|
-
const _c2 = function () { return { "1200px": "660px", "992px": "660px", "768px": "660px", "576px": "100vw" }; };
|
|
112
|
-
export class MultiQuestionnaireComponent {
|
|
113
|
-
constructor(questionnaireService) {
|
|
114
|
-
this.questionnaireService = questionnaireService;
|
|
115
|
-
this.showClose = true;
|
|
116
|
-
this.autoSave = false;
|
|
117
|
-
this.modelCancel = new EventEmitter();
|
|
118
|
-
this.onComplete = new EventEmitter();
|
|
119
|
-
this.readonly = false;
|
|
120
|
-
this.showQuestionNumber = false;
|
|
121
|
-
this.qeDatas = [];
|
|
122
|
-
this.isVisible = true;
|
|
123
|
-
this.showResponse = false;
|
|
124
|
-
this.showError = false;
|
|
125
|
-
this.qeResponse = new Map();
|
|
126
|
-
this.qeResponseSaveModel = new Map();
|
|
127
|
-
}
|
|
128
|
-
ngOnInit() {
|
|
129
|
-
}
|
|
130
|
-
submit() {
|
|
131
|
-
this.fbs.forEach(fb => {
|
|
132
|
-
fb.submit();
|
|
133
|
-
});
|
|
134
|
-
}
|
|
135
|
-
complete(event) {
|
|
136
|
-
let qId = event.potentialIssueId || event.questionnaireId || event.questionnaireIds[0];
|
|
137
|
-
this.qeResponseSaveModel.set(qId, event);
|
|
138
|
-
console.log('complete on multi : ', event);
|
|
139
|
-
if (event.isScreenQuestionnaire) {
|
|
140
|
-
this.qeResponse.set(qId, JSON.parse(event.screenQuestionnaireData[0]));
|
|
141
|
-
}
|
|
142
|
-
else {
|
|
143
|
-
this.qeResponse.set(qId, JSON.parse(event.data));
|
|
144
|
-
}
|
|
145
|
-
if (this.qeResponseSaveModel.size == this.fbs.length) {
|
|
146
|
-
this.qeDatas = [];
|
|
147
|
-
this.qeResponseSaveModel.forEach(r => this.qeDatas.push(r));
|
|
148
|
-
let screenQuestionnaire = this.qeDatas.filter(q => q.isScreenQuestionnaire === true);
|
|
149
|
-
let questionnaire = this.qeDatas.filter(q => q.isScreenQuestionnaire != true);
|
|
150
|
-
let hasScreenQuestionnaire = screenQuestionnaire.length > 0;
|
|
151
|
-
let hasQuestionnaire = questionnaire.length > 0;
|
|
152
|
-
if (hasScreenQuestionnaire && hasQuestionnaire) {
|
|
153
|
-
combineLatest(this.saveQuestionnaires(questionnaire))
|
|
154
|
-
.subscribe(res => {
|
|
155
|
-
this.showResponse = true;
|
|
156
|
-
this.closeAfterSuccess();
|
|
157
|
-
}, err => {
|
|
158
|
-
this.showError = true;
|
|
159
|
-
});
|
|
160
|
-
}
|
|
161
|
-
else if (hasScreenQuestionnaire) {
|
|
162
|
-
screenQuestionnaire.forEach(q => this.saveScreenQuestionnaire(q));
|
|
163
|
-
if (this.autoSave == false) {
|
|
164
|
-
this.closeAfterSuccess();
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
else if (hasQuestionnaire) {
|
|
168
|
-
combineLatest(this.saveQuestionnaires(questionnaire))
|
|
169
|
-
.subscribe(res => {
|
|
170
|
-
this.showResponse = true;
|
|
171
|
-
this.closeAfterSuccess();
|
|
172
|
-
}, err => {
|
|
173
|
-
this.showError = true;
|
|
174
|
-
});
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
saveScreenQuestionnaire(qeScreenData) {
|
|
179
|
-
if (this.autoSave) {
|
|
180
|
-
this.questionnaireService.saveScreenQuestionnaire(qeScreenData)
|
|
181
|
-
.subscribe(res => {
|
|
182
|
-
this.showResponse = true;
|
|
183
|
-
}, err => {
|
|
184
|
-
this.showError = true;
|
|
185
|
-
});
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
handleError(error) {
|
|
189
|
-
this.showError = true;
|
|
190
|
-
}
|
|
191
|
-
close() {
|
|
192
|
-
this.modelCancel.emit();
|
|
193
|
-
}
|
|
194
|
-
saveQuestionnaires(questionnaires) {
|
|
195
|
-
let subscriptions = [];
|
|
196
|
-
questionnaires.forEach(q => {
|
|
197
|
-
this.qeResponse.set(this.qId, JSON.parse(q.data));
|
|
198
|
-
subscriptions.push(this.questionnaireService.saveQuestionnaire(q));
|
|
199
|
-
});
|
|
200
|
-
return subscriptions;
|
|
201
|
-
}
|
|
202
|
-
closeAfterSuccess() {
|
|
203
|
-
this.onComplete.emit(this.qeResponse);
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
MultiQuestionnaireComponent.ɵfac = function MultiQuestionnaireComponent_Factory(t) { return new (t || MultiQuestionnaireComponent)(i0.ɵɵdirectiveInject(i1.QuestionnaireService)); };
|
|
207
|
-
MultiQuestionnaireComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MultiQuestionnaireComponent, selectors: [["app-multi-questionnaire"]], viewQuery: function MultiQuestionnaireComponent_Query(rf, ctx) { if (rf & 1) {
|
|
208
|
-
i0.ɵɵviewQuery(_c0, 5);
|
|
209
|
-
} if (rf & 2) {
|
|
210
|
-
let _t;
|
|
211
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fbs = _t);
|
|
212
|
-
} }, inputs: { qeQueryModels: "qeQueryModels", showClose: "showClose", autoSave: "autoSave", formData: "formData", readonly: "readonly", header: "header", showQuestionNumber: "showQuestionNumber" }, outputs: { modelCancel: "modelCancel", onComplete: "onComplete" }, decls: 6, vars: 12, consts: [["appendTo", "body", "modal", "true", 3, "visible", "breakpoints", "showHeader"], [4, "ngIf"], ["pTemplate", "header"], [1, "fb-heading"], [4, "ngFor", "ngForOf"], [2, "display", "contents", 3, "queryModel", "hideHeader", "autoSave", "pageType", "hideFooter", "dynamicParam", "formData", "readonly", "multiMode", "questionNumber", "modelCancel", "onComplete"], ["fbs", ""], [1, "ion-text-center", "ion-padding-top"], ["name", "checkmark-circle", 2, "font-size", "80px", "color", "var(--ion-color-green)"], [1, "ion-padding"], [1, "ion-text-right"], ["shape", "round", "fill", "outline", "type", "reset", 3, "click"], ["name", "close-circle-outline", 2, "font-size", "80px", "color", "var(--ion-color-danger)"], ["shape", "round", "fill", "outline", "type", "reset", 3, "click", 4, "ngIf"], ["shape", "round", "fill", "solid", "type", "submit", 3, "click"]], template: function MultiQuestionnaireComponent_Template(rf, ctx) { if (rf & 1) {
|
|
213
|
-
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
214
|
-
i0.ɵɵtemplate(1, MultiQuestionnaireComponent_1_Template, 1, 0, null, 1);
|
|
215
|
-
i0.ɵɵtemplate(2, MultiQuestionnaireComponent_div_2_Template, 2, 1, "div", 1);
|
|
216
|
-
i0.ɵɵtemplate(3, MultiQuestionnaireComponent_div_3_Template, 11, 6, "div", 1);
|
|
217
|
-
i0.ɵɵtemplate(4, MultiQuestionnaireComponent_div_4_Template, 11, 6, "div", 1);
|
|
218
|
-
i0.ɵɵtemplate(5, MultiQuestionnaireComponent_p_footer_5_Template, 7, 4, "p-footer", 1);
|
|
219
|
-
i0.ɵɵelementEnd();
|
|
220
|
-
} if (rf & 2) {
|
|
221
|
-
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(10, _c1));
|
|
222
|
-
i0.ɵɵproperty("visible", ctx.isVisible)("breakpoints", i0.ɵɵpureFunction0(11, _c2))("showHeader", ctx.header != null && ctx.header != undefined);
|
|
223
|
-
i0.ɵɵadvance(1);
|
|
224
|
-
i0.ɵɵproperty("ngIf", ctx.header);
|
|
225
|
-
i0.ɵɵadvance(1);
|
|
226
|
-
i0.ɵɵproperty("ngIf", !ctx.showResponse);
|
|
227
|
-
i0.ɵɵadvance(1);
|
|
228
|
-
i0.ɵɵproperty("ngIf", ctx.showResponse);
|
|
229
|
-
i0.ɵɵadvance(1);
|
|
230
|
-
i0.ɵɵproperty("ngIf", ctx.showError);
|
|
231
|
-
i0.ɵɵadvance(1);
|
|
232
|
-
i0.ɵɵproperty("ngIf", !ctx.showResponse);
|
|
233
|
-
} }, dependencies: [i2.IonButton, i2.IonCol, i2.IonIcon, i2.IonRow, i3.NgForOf, i3.NgIf, i4.Footer, i4.PrimeTemplate, i5.Dialog, i6.RenderQuestionnairePage, i7.TranslatePipe], styles: [".fb-heading[_ngcontent-%COMP%]{font-family:var(--app-font-light);color:var(--ion-color-medium-gray);font-size:36px;padding:10px 33px}"] });
|
|
234
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MultiQuestionnaireComponent, [{
|
|
235
|
-
type: Component,
|
|
236
|
-
args: [{ selector: 'app-multi-questionnaire', template: "<p-dialog [visible]=\"isVisible\" appendTo=\"body\" [breakpoints]=\"{'1200px': '660px', '992px': '660px', '768px': '660px', '576px': '100vw'}\"\r\n [style]=\"{width: '45vw', height : 'inherit'}\" modal=\"true\" [showHeader]=\"header != null && header != undefined\">\r\n \r\n <ng-template pTemplate=\"header\" *ngIf=\"header\">\r\n <span class=\"fb-heading\">{{header}}</span>\r\n </ng-template>\r\n \r\n <div *ngIf=\"!showResponse\">\r\n <div *ngFor=\"let model of qeQueryModels; let isLast = last; index as i\">\r\n <app-questionnaire #fbs style=\"display: contents;\" (modelCancel)=\"close()\" \r\n [queryModel]=\"model\" (onComplete)=\"complete($event)\" [hideHeader]=\"true\" [autoSave]=\"autoSave ? (model.autoSave == true ? true : false) : (model.autoSave == true ? true : false)\" [pageType]=\"null\"\r\n [hideFooter]=\"true\" [dynamicParam]=\"model.dynamicParam\" [formData]=\"formData ? formData : model.data\" [readonly]=\"readonly\" [multiMode]=\"true\" [questionNumber]=\"showQuestionNumber ? (i+1) : null\"></app-questionnaire>\r\n </div>\r\n </div>\r\n\r\n <div *ngIf=\"showResponse\">\r\n <div class=\"ion-text-center ion-padding-top\">\r\n <ion-icon name=\"checkmark-circle\" style=\"font-size: 80px; color: var(--ion-color-green);\"></ion-icon>\r\n <h1>{{'Response saved successfully.' | translate}}</h1>\r\n </div>\r\n <ion-row class=\"ion-padding\">\r\n <ion-col class=\"ion-text-right\">\r\n <ion-button shape=\"round\" fill=\"outline\" (click)=\"close()\" type=\"reset\">{{'Close' | translate}}</ion-button>\r\n </ion-col>\r\n </ion-row>\r\n </div>\r\n\r\n <div *ngIf=\"showError\">\r\n <div class=\"ion-text-center ion-padding-top\">\r\n <ion-icon name=\"close-circle-outline\" style=\"font-size: 80px; color: var(--ion-color-danger);\"></ion-icon>\r\n <h1>{{'Could not save response. Please try again.' | translate}}</h1>\r\n </div>\r\n <ion-row class=\"ion-padding\">\r\n <ion-col class=\"ion-text-right\">\r\n <ion-button shape=\"round\" fill=\"outline\" (click)=\"close()\" type=\"reset\">{{'Close' | translate}}</ion-button>\r\n </ion-col>\r\n </ion-row>\r\n </div>\r\n <p-footer *ngIf=\"!showResponse\">\r\n <ion-row>\r\n <ion-col class=\"ion-text-right\">\r\n <ion-button shape=\"round\" fill=\"outline\" (click)=\"close()\" type=\"reset\" *ngIf=\"showClose\">{{'Close' | translate}}</ion-button>\r\n <ion-button shape=\"round\" fill=\"solid\" type=\"submit\" (click)=\"submit()\">{{'Submit' | translate}}</ion-button>\r\n </ion-col>\r\n </ion-row>\r\n </p-footer>\r\n</p-dialog>", styles: [".fb-heading{font-family:var(--app-font-light);color:var(--ion-color-medium-gray);font-size:36px;padding:10px 33px}\n"] }]
|
|
237
|
-
}], function () { return [{ type: i1.QuestionnaireService }]; }, { fbs: [{
|
|
238
|
-
type: ViewChildren,
|
|
239
|
-
args: ['fbs']
|
|
240
|
-
}], qeQueryModels: [{
|
|
241
|
-
type: Input
|
|
242
|
-
}], showClose: [{
|
|
243
|
-
type: Input
|
|
244
|
-
}], autoSave: [{
|
|
245
|
-
type: Input
|
|
246
|
-
}], formData: [{
|
|
247
|
-
type: Input
|
|
248
|
-
}], modelCancel: [{
|
|
249
|
-
type: Output
|
|
250
|
-
}], onComplete: [{
|
|
251
|
-
type: Output
|
|
252
|
-
}], readonly: [{
|
|
253
|
-
type: Input
|
|
254
|
-
}], header: [{
|
|
255
|
-
type: Input
|
|
256
|
-
}], showQuestionNumber: [{
|
|
257
|
-
type: Input
|
|
258
|
-
}] }); })();
|
|
259
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXVsdGktcXVlc3Rpb25uYWlyZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIi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