@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
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../../services/questionnaire/questionnaire.service";
|
|
5
|
-
export class QuestionService {
|
|
6
|
-
constructor(questionnaireService) {
|
|
7
|
-
this.questionnaireService = questionnaireService;
|
|
8
|
-
this.searchModel = [];
|
|
9
|
-
this.searchBs = new BehaviorSubject(null);
|
|
10
|
-
this.employeeBs = new BehaviorSubject(null);
|
|
11
|
-
}
|
|
12
|
-
setSearchModel(searchModel) {
|
|
13
|
-
this.searchModel = searchModel;
|
|
14
|
-
}
|
|
15
|
-
getQuestions(search) {
|
|
16
|
-
return this.questionnaireService.getQuestionnaire(search);
|
|
17
|
-
}
|
|
18
|
-
getScreenQuestions(search) {
|
|
19
|
-
return this.questionnaireService.getScreenQuestions(search);
|
|
20
|
-
}
|
|
21
|
-
getFlowData(key) {
|
|
22
|
-
return this.questionnaireService.getFlowData(key);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
(
|
|
28
|
-
type: Injectable,
|
|
29
|
-
args: [{
|
|
30
|
-
providedIn: 'root'
|
|
31
|
-
}]
|
|
32
|
-
}],
|
|
33
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../../services/questionnaire/questionnaire.service";
|
|
5
|
+
export class QuestionService {
|
|
6
|
+
constructor(questionnaireService) {
|
|
7
|
+
this.questionnaireService = questionnaireService;
|
|
8
|
+
this.searchModel = [];
|
|
9
|
+
this.searchBs = new BehaviorSubject(null);
|
|
10
|
+
this.employeeBs = new BehaviorSubject(null);
|
|
11
|
+
}
|
|
12
|
+
setSearchModel(searchModel) {
|
|
13
|
+
this.searchModel = searchModel;
|
|
14
|
+
}
|
|
15
|
+
getQuestions(search) {
|
|
16
|
+
return this.questionnaireService.getQuestionnaire(search);
|
|
17
|
+
}
|
|
18
|
+
getScreenQuestions(search) {
|
|
19
|
+
return this.questionnaireService.getScreenQuestions(search);
|
|
20
|
+
}
|
|
21
|
+
getFlowData(key) {
|
|
22
|
+
return this.questionnaireService.getFlowData(key);
|
|
23
|
+
}
|
|
24
|
+
static { this.ɵfac = function QuestionService_Factory(t) { return new (t || QuestionService)(i0.ɵɵinject(i1.QuestionnaireService)); }; }
|
|
25
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: QuestionService, factory: QuestionService.ɵfac, providedIn: 'root' }); }
|
|
26
|
+
}
|
|
27
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QuestionService, [{
|
|
28
|
+
type: Injectable,
|
|
29
|
+
args: [{
|
|
30
|
+
providedIn: 'root'
|
|
31
|
+
}]
|
|
32
|
+
}], () => [{ type: i1.QuestionnaireService }], null); })();
|
|
33
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVlc3Rpb24uc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1yZXVzYS1hcHAtbGliL3NyYy9saWIvY29tcG9uZW50cy9xdWVzdGlvbm5haXJlL3F1ZXN0aW9uLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQUUsZUFBZSxFQUFJLE1BQU0sTUFBTSxDQUFDOzs7QUFRekMsTU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wgPSBzZWFyY2hNb2RlbDtcblxuICB9XG5cbiAgICBnZXRRdWVzdGlvbnMoc2VhcmNoOiBRdWVzdGlvbm5haXJlUXVlcnlNb2RlbCkge1xuICAgICAgICByZXR1cm4gdGhpcy5xdWVzdGlvbm5haXJlU2VydmljZS5nZXRRdWVzdGlvbm5haXJlKHNlYXJjaClcbiAgICB9XG5cblxuICAgIGdldFNjcmVlblF1ZXN0aW9ucyhzZWFyY2g6IFF1ZXN0aW9ubmFpcmVRdWVyeU1vZGVsKSB7XG4gICAgICAgIHJldHVybiB0aGlzLnF1ZXN0aW9ubmFpcmVTZXJ2aWNlLmdldFNjcmVlblF1ZXN0aW9ucyhzZWFyY2gpXG4gICAgfVxuXG4gICAgZ2V0Rmxvd0RhdGEoa2V5OnN0cmluZyl7XG4gICAgICByZXR1cm4gdGhpcy5xdWVzdGlvbm5haXJlU2VydmljZS5nZXRGbG93RGF0YShrZXkpXG4gICAgfVxuXG59XG4iXX0=
|
package/esm2022/lib/components/questionnaire/render-questionnaire/render-questionnaire.page.mjs
ADDED
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, Output, ViewChild, ViewEncapsulation } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import { BasePage } from '../../../pages/BasePage';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "./../question.service";
|
|
6
|
+
import * as i2 from "../../../services/util/util.service";
|
|
7
|
+
import * as i3 from "../../../services/logger/logger.service";
|
|
8
|
+
import * as i4 from "../../../services/questionnaire/questionnaire.service";
|
|
9
|
+
import * as i5 from "../../../services/login/login.service";
|
|
10
|
+
import * as i6 from "../../../services/questionnaire/validation.service";
|
|
11
|
+
import * as i7 from "@angular/router";
|
|
12
|
+
import * as i8 from "@ionic/angular";
|
|
13
|
+
import * as i9 from "@angular/common";
|
|
14
|
+
import * as i10 from "primeng/dialog";
|
|
15
|
+
import * as i11 from "primeng/blockui";
|
|
16
|
+
import * as i12 from "../dynamic-form.component";
|
|
17
|
+
const _c0 = ["questionnaire"];
|
|
18
|
+
function RenderQuestionnairePage_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
19
|
+
i0.ɵɵelementStart(0, "div", 4);
|
|
20
|
+
i0.ɵɵelement(1, "ion-spinner", 5);
|
|
21
|
+
i0.ɵɵelementEnd();
|
|
22
|
+
} }
|
|
23
|
+
function RenderQuestionnairePage_ng_container_4_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
24
|
+
i0.ɵɵelementStart(0, "div", 4);
|
|
25
|
+
i0.ɵɵelement(1, "ion-spinner", 5);
|
|
26
|
+
i0.ɵɵelementEnd();
|
|
27
|
+
} }
|
|
28
|
+
function RenderQuestionnairePage_ng_container_4_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
29
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
|
30
|
+
i0.ɵɵelementStart(0, "div")(1, "app-dynamic-form", 7);
|
|
31
|
+
i0.ɵɵlistener("modelCancel", function RenderQuestionnairePage_ng_container_4_div_3_Template_app_dynamic_form_modelCancel_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r5 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r5.onModelCancel($event)); })("onComplete", function RenderQuestionnairePage_ng_container_4_div_3_Template_app_dynamic_form_onComplete_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r7 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r7.complete($event)); })("onError", function RenderQuestionnairePage_ng_container_4_div_3_Template_app_dynamic_form_onError_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r8 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r8.handleError($event)); });
|
|
32
|
+
i0.ɵɵpipe(2, "async");
|
|
33
|
+
i0.ɵɵpipe(3, "async");
|
|
34
|
+
i0.ɵɵelementEnd()();
|
|
35
|
+
} if (rf & 2) {
|
|
36
|
+
const ctx_r4 = i0.ɵɵnextContext(2);
|
|
37
|
+
i0.ɵɵadvance(1);
|
|
38
|
+
i0.ɵɵproperty("questions", i0.ɵɵpipeBind1(2, 14, ctx_r4.questions$))("forScreenQuestionnaire", i0.ɵɵpipeBind1(3, 16, ctx_r4.forScreenQuestionnaireBs))("backButtonPage", ctx_r4.backButtonPage)("pageType", ctx_r4.pageType)("nextButtonPage", ctx_r4.nextButtonPage)("data", ctx_r4.data)("autoSave", ctx_r4.autoSave)("queryModel", ctx_r4.queryModel)("hideFooter", ctx_r4.hideFooter)("dynamicParam", ctx_r4.dynamicParam)("formData", ctx_r4.formData)("formReadOnly", ctx_r4.readonly)("multiMode", ctx_r4.multiMode)("questionNumber", ctx_r4.questionNumber);
|
|
39
|
+
} }
|
|
40
|
+
function RenderQuestionnairePage_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
41
|
+
i0.ɵɵelementContainerStart(0);
|
|
42
|
+
i0.ɵɵelementStart(1, "p-dialog", 6);
|
|
43
|
+
i0.ɵɵtemplate(2, RenderQuestionnairePage_ng_container_4_div_2_Template, 2, 0, "div", 2)(3, RenderQuestionnairePage_ng_container_4_div_3_Template, 4, 18, "div", 3);
|
|
44
|
+
i0.ɵɵelementEnd();
|
|
45
|
+
i0.ɵɵelementContainerEnd();
|
|
46
|
+
} if (rf & 2) {
|
|
47
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
48
|
+
i0.ɵɵadvance(1);
|
|
49
|
+
i0.ɵɵproperty("showHeader", false);
|
|
50
|
+
i0.ɵɵadvance(1);
|
|
51
|
+
i0.ɵɵproperty("ngIf", ctx_r1.showLoaderTheme);
|
|
52
|
+
i0.ɵɵadvance(1);
|
|
53
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.showLoaderTheme && ctx_r1.questions$.getValue());
|
|
54
|
+
} }
|
|
55
|
+
function RenderQuestionnairePage_ng_container_5_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
56
|
+
const _r12 = i0.ɵɵgetCurrentView();
|
|
57
|
+
i0.ɵɵelementStart(0, "div")(1, "app-dynamic-form", 8, 9);
|
|
58
|
+
i0.ɵɵlistener("modelCancel", function RenderQuestionnairePage_ng_container_5_div_1_Template_app_dynamic_form_modelCancel_1_listener($event) { i0.ɵɵrestoreView(_r12); const ctx_r11 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r11.onModelCancel($event)); })("onComplete", function RenderQuestionnairePage_ng_container_5_div_1_Template_app_dynamic_form_onComplete_1_listener($event) { i0.ɵɵrestoreView(_r12); const ctx_r13 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r13.complete($event)); })("onError", function RenderQuestionnairePage_ng_container_5_div_1_Template_app_dynamic_form_onError_1_listener($event) { i0.ɵɵrestoreView(_r12); const ctx_r14 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r14.handleError($event)); });
|
|
59
|
+
i0.ɵɵpipe(3, "async");
|
|
60
|
+
i0.ɵɵpipe(4, "async");
|
|
61
|
+
i0.ɵɵpipe(5, "async");
|
|
62
|
+
i0.ɵɵelementEnd()();
|
|
63
|
+
} if (rf & 2) {
|
|
64
|
+
const ctx_r9 = i0.ɵɵnextContext(2);
|
|
65
|
+
i0.ɵɵadvance(1);
|
|
66
|
+
i0.ɵɵproperty("questions", i0.ɵɵpipeBind1(3, 27, ctx_r9.questions$))("forScreenQuestionnaire", i0.ɵɵpipeBind1(4, 29, ctx_r9.forScreenQuestionnaireBs))("backButtonPage", ctx_r9.backButtonPage)("pageType", ctx_r9.pageType)("nextButtonPage", ctx_r9.nextButtonPage)("formData", ctx_r9.loaderModel ? ctx_r9.loaderModel.data : ctx_r9.formData)("readOnlyFields", ctx_r9.loaderModel ? ctx_r9.loaderModel.disableControlNames : ctx_r9.readOnlyFields)("autoSave", ctx_r9.autoSave)("queryModel", ctx_r9.queryModel)("hideFooter", ctx_r9.hideFooter)("dynamicParam", ctx_r9.dynamicParam)("sizeXs", ctx_r9.sizeXs)("sizeSm", ctx_r9.sizeSm)("sizeMd", ctx_r9.sizeMd)("sizeLg", ctx_r9.sizeLg)("sizeXl", ctx_r9.sizeXl)("offsetXs", ctx_r9.offsetXs)("offsetSm", ctx_r9.offsetSm)("offsetMd", ctx_r9.offsetMd)("offsetLg", ctx_r9.offsetLg)("offsetXl", ctx_r9.offsetXl)("mfaRequired", ctx_r9.mfaRequired)("formReadOnly", ctx_r9.readonly)("multiMode", ctx_r9.multiMode)("questionNumber", ctx_r9.questionNumber)("loaderService", ctx_r9.loaderService)("isEnableBackButton", i0.ɵɵpipeBind1(5, 31, ctx_r9.enableBackButtonBs));
|
|
67
|
+
} }
|
|
68
|
+
function RenderQuestionnairePage_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
69
|
+
i0.ɵɵelementContainerStart(0);
|
|
70
|
+
i0.ɵɵtemplate(1, RenderQuestionnairePage_ng_container_5_div_1_Template, 6, 33, "div", 3);
|
|
71
|
+
i0.ɵɵelementContainerEnd();
|
|
72
|
+
} if (rf & 2) {
|
|
73
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
74
|
+
i0.ɵɵadvance(1);
|
|
75
|
+
i0.ɵɵproperty("ngIf", !ctx_r2.showLoaderTheme && ctx_r2.questions$.getValue());
|
|
76
|
+
} }
|
|
77
|
+
export class RenderQuestionnairePage extends BasePage {
|
|
78
|
+
constructor(service, util, logger, questionnaireService, ls, validationService, activatedRoute) {
|
|
79
|
+
super();
|
|
80
|
+
this.service = service;
|
|
81
|
+
this.util = util;
|
|
82
|
+
this.logger = logger;
|
|
83
|
+
this.questionnaireService = questionnaireService;
|
|
84
|
+
this.ls = ls;
|
|
85
|
+
this.validationService = validationService;
|
|
86
|
+
this.activatedRoute = activatedRoute;
|
|
87
|
+
this.questions$ = new BehaviorSubject(null);
|
|
88
|
+
this.forScreenQuestionnaireBs = new BehaviorSubject(null);
|
|
89
|
+
this.enableBackButtonBs = new BehaviorSubject(null);
|
|
90
|
+
this.showLoaderTheme = false;
|
|
91
|
+
this.calledLoaderService = false;
|
|
92
|
+
this.blockUi = false;
|
|
93
|
+
this.autoSave = true;
|
|
94
|
+
this.mfaRequired = false;
|
|
95
|
+
this.modelCancel = new EventEmitter();
|
|
96
|
+
this.onComplete = new EventEmitter();
|
|
97
|
+
this.onError = new EventEmitter();
|
|
98
|
+
this.onLoadComplete = new EventEmitter();
|
|
99
|
+
this.hideHeader = false;
|
|
100
|
+
this.hideFooter = false;
|
|
101
|
+
this.questionNumber = null;
|
|
102
|
+
this.readonly = false;
|
|
103
|
+
this.multiMode = false;
|
|
104
|
+
this.identifier = "";
|
|
105
|
+
this.ssn = "";
|
|
106
|
+
}
|
|
107
|
+
ngOnChanges(changes) {
|
|
108
|
+
if (changes.readOnlyFields?.currentValue) {
|
|
109
|
+
this.readOnlyFields = changes.readOnlyFields.currentValue;
|
|
110
|
+
}
|
|
111
|
+
else if (changes.readOnlyFields?.previousValue && changes.readOnlyFields.currentValue == null) {
|
|
112
|
+
this.readOnlyFields = changes.readOnlyFields.currentValue;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
complete(event) {
|
|
116
|
+
this.onComplete.emit(event);
|
|
117
|
+
}
|
|
118
|
+
ngOnInit() {
|
|
119
|
+
let strKey = [];
|
|
120
|
+
this.activatedRoute.queryParamMap.subscribe(params => {
|
|
121
|
+
strKey = [] = params.keys;
|
|
122
|
+
this.identifier = params.get('identifier');
|
|
123
|
+
});
|
|
124
|
+
this.setupQeLoader();
|
|
125
|
+
}
|
|
126
|
+
setupQeLoader() {
|
|
127
|
+
if (this.queryModel && this.pageType == 'POPUP') {
|
|
128
|
+
this.loadQuestionnaire(this.queryModel);
|
|
129
|
+
}
|
|
130
|
+
else if (this.queryModel && !this.autoSave) {
|
|
131
|
+
this.loadQuestionnaire(this.queryModel);
|
|
132
|
+
}
|
|
133
|
+
else {
|
|
134
|
+
this.service.searchBs.next(this.queryModel);
|
|
135
|
+
this.loadQuestionnaire(this.queryModel);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
loadQuestionnaire(queryModel) {
|
|
139
|
+
this.showLoaderTheme = true;
|
|
140
|
+
if (queryModel.isScreenQuestionnaire) {
|
|
141
|
+
queryModel.uuid = this.identifier;
|
|
142
|
+
}
|
|
143
|
+
let subscription = queryModel.isScreenQuestionnaire
|
|
144
|
+
? this.service.getScreenQuestions(queryModel)
|
|
145
|
+
: this.service.getQuestions(queryModel);
|
|
146
|
+
subscription.subscribe(res => {
|
|
147
|
+
if (res['responseJson'] && Object.keys(res['responseJson']).length > 0) {
|
|
148
|
+
this.formData = res['responseJson'];
|
|
149
|
+
}
|
|
150
|
+
this.questions$.next([res['questionnaireJson']]);
|
|
151
|
+
this.forScreenQuestionnaireBs.next(queryModel.isScreenQuestionnaire);
|
|
152
|
+
this.enableBackButtonBs.next(res['enableBackButton']);
|
|
153
|
+
this.logger.debug(' Render Questionnaire Page ', res['questionnaireJson']);
|
|
154
|
+
this.showLoaderTheme = false;
|
|
155
|
+
this.onLoadComplete.emit(true);
|
|
156
|
+
}, err => {
|
|
157
|
+
this.showLoaderTheme = false;
|
|
158
|
+
this.util.errorHandler(err);
|
|
159
|
+
this.logger.error('Render Questionnaire Page Error', err);
|
|
160
|
+
this.onLoadComplete.emit(false);
|
|
161
|
+
});
|
|
162
|
+
}
|
|
163
|
+
onModelCancel(cancel) {
|
|
164
|
+
this.modelCancel.emit(cancel);
|
|
165
|
+
}
|
|
166
|
+
submit() {
|
|
167
|
+
this.questionnaire.complete();
|
|
168
|
+
}
|
|
169
|
+
handleError(error) {
|
|
170
|
+
this.onError.emit(error);
|
|
171
|
+
}
|
|
172
|
+
static { this.ɵfac = function RenderQuestionnairePage_Factory(t) { return new (t || RenderQuestionnairePage)(i0.ɵɵdirectiveInject(i1.QuestionService), i0.ɵɵdirectiveInject(i2.UtilService), i0.ɵɵdirectiveInject(i3.LoggerService), i0.ɵɵdirectiveInject(i4.QuestionnaireService), i0.ɵɵdirectiveInject(i5.LoginService), i0.ɵɵdirectiveInject(i6.ValidationService), i0.ɵɵdirectiveInject(i7.ActivatedRoute)); }; }
|
|
173
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RenderQuestionnairePage, selectors: [["app-questionnaire"]], viewQuery: function RenderQuestionnairePage_Query(rf, ctx) { if (rf & 1) {
|
|
174
|
+
i0.ɵɵviewQuery(_c0, 5);
|
|
175
|
+
} if (rf & 2) {
|
|
176
|
+
let _t;
|
|
177
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.questionnaire = _t.first);
|
|
178
|
+
} }, inputs: { autoSave: "autoSave", mfaRequired: "mfaRequired", backButtonPage: "backButtonPage", nextButtonPage: "nextButtonPage", pageType: "pageType", queryModel: "queryModel", loaderService: "loaderService", data: "data", formData: "formData", dynamicParam: "dynamicParam", hideHeader: "hideHeader", hideFooter: "hideFooter", questionNumber: "questionNumber", sizeXs: "sizeXs", sizeSm: "sizeSm", sizeMd: "sizeMd", sizeLg: "sizeLg", sizeXl: "sizeXl", offsetXs: "offsetXs", offsetSm: "offsetSm", offsetMd: "offsetMd", offsetLg: "offsetLg", offsetXl: "offsetXl", readonly: "readonly", multiMode: "multiMode", readOnlyFields: "readOnlyFields" }, outputs: { modelCancel: "modelCancel", onComplete: "onComplete", onError: "onError", onLoadComplete: "onLoadComplete" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 6, vars: 4, consts: [[3, "blocked"], ["name", "crescent"], ["class", "ion-text-center", 4, "ngIf"], [4, "ngIf"], [1, "ion-text-center"], ["name", "dots"], ["visible", "true", "appendTo", "body", "modal", "true", 3, "showHeader"], [3, "questions", "forScreenQuestionnaire", "backButtonPage", "pageType", "nextButtonPage", "data", "autoSave", "queryModel", "hideFooter", "dynamicParam", "formData", "formReadOnly", "multiMode", "questionNumber", "modelCancel", "onComplete", "onError"], [3, "questions", "forScreenQuestionnaire", "backButtonPage", "pageType", "nextButtonPage", "formData", "readOnlyFields", "autoSave", "queryModel", "hideFooter", "dynamicParam", "sizeXs", "sizeSm", "sizeMd", "sizeLg", "sizeXl", "offsetXs", "offsetSm", "offsetMd", "offsetLg", "offsetXl", "mfaRequired", "formReadOnly", "multiMode", "questionNumber", "loaderService", "isEnableBackButton", "modelCancel", "onComplete", "onError"], ["questionnaire", ""]], template: function RenderQuestionnairePage_Template(rf, ctx) { if (rf & 1) {
|
|
179
|
+
i0.ɵɵelementStart(0, "p-blockUI", 0);
|
|
180
|
+
i0.ɵɵelement(1, "ion-spinner", 1);
|
|
181
|
+
i0.ɵɵtext(2, " Loading...\n");
|
|
182
|
+
i0.ɵɵelementEnd();
|
|
183
|
+
i0.ɵɵtemplate(3, RenderQuestionnairePage_div_3_Template, 2, 0, "div", 2)(4, RenderQuestionnairePage_ng_container_4_Template, 4, 3, "ng-container", 3)(5, RenderQuestionnairePage_ng_container_5_Template, 2, 1, "ng-container", 3);
|
|
184
|
+
} if (rf & 2) {
|
|
185
|
+
i0.ɵɵproperty("blocked", ctx.blockUi);
|
|
186
|
+
i0.ɵɵadvance(3);
|
|
187
|
+
i0.ɵɵproperty("ngIf", ctx.showLoaderTheme);
|
|
188
|
+
i0.ɵɵadvance(1);
|
|
189
|
+
i0.ɵɵproperty("ngIf", ctx.pageType === "POPUP");
|
|
190
|
+
i0.ɵɵadvance(1);
|
|
191
|
+
i0.ɵɵproperty("ngIf", ctx.pageType != "POPUP");
|
|
192
|
+
} }, dependencies: [i8.IonSpinner, i9.NgIf, i10.Dialog, i11.BlockUI, i12.DynamicFormComponent, i9.AsyncPipe], styles: [":host ::ng-deep form{counter-reset:section 0}:host ::ng-deep label:before{counter-increment:section 1;content:counter(section) \". \"}:host ::ng-deep .p-col{flex-grow:1;flex-basis:0;padding:0rem}:host ::ng-deep .p-button.p-button-icon-only{width:3rem;padding:0rem}:host ::ng-deep .p-grid{margin-right:1em;margin-left:0;margin-top:0;grid-gap:10px;flex-wrap:nowrap}:host ::ng-deep .field{margin-bottom:1px;margin-top:0}:host ::ng-deep .p-md-offset-1{margin-left:3.333333%}:host ::ng-deep .p-autocomplete-panel{width:400px!important}:host ::ng-deep ion-button{text-transform:none}:host ::ng-deep .flex-container{display:inline-flex;width:-moz-fit-content;width:fit-content}:host ::ng-deep .flex-child:first-child{margin-top:3px}:host ::ng-deep .p-button.p-button-icon-only.p-button-rounded{border-radius:50%;height:2rem}:host ::ng-deep .p-autocomplete-dd .p-autocomplete-input{flex:1 1 auto}:host ::ng-deep p-selectbutton.ng-dirty.ng-invalid>.p-selectbutton>.p-button{border:.5px solid red!important}:host ::ng-deep .p-calendar .p-inputtext{width:100%!important}.p-autocomplete-panel{width:-moz-fit-content!important;width:fit-content!important}ion-button{text-transform:none}h5{font-size:22px!important}.mat-error{color:#b00020!important}\n"], encapsulation: 2 }); }
|
|
193
|
+
}
|
|
194
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RenderQuestionnairePage, [{
|
|
195
|
+
type: Component,
|
|
196
|
+
args: [{ encapsulation: ViewEncapsulation.None, selector: 'app-questionnaire', template: "<p-blockUI [blocked]=\"blockUi\">\n <ion-spinner name=\"crescent\"></ion-spinner>\n Loading...\n</p-blockUI>\n<div *ngIf=\"showLoaderTheme\" class=\"ion-text-center\">\n <ion-spinner name=\"dots\"></ion-spinner>\n</div>\n<ng-container *ngIf=\"pageType==='POPUP'\">\n\n <p-dialog visible=\"true\" appendTo=\"body\" modal=\"true\" [showHeader]=\"false\">\n <div *ngIf=\"showLoaderTheme\" class=\"ion-text-center\">\n <ion-spinner name=\"dots\"></ion-spinner>\n </div>\n <div *ngIf=\"!showLoaderTheme && questions$.getValue()\">\n <app-dynamic-form [questions]=\"questions$ | async\"\n [forScreenQuestionnaire]=\"forScreenQuestionnaireBs | async\" [backButtonPage]=\"backButtonPage\"\n [pageType]=\"pageType\" [nextButtonPage]=\"nextButtonPage\" (modelCancel)=\"onModelCancel($event)\"\n (onComplete)=\"complete($event)\" [data]=\"data\" [autoSave]=\"autoSave\" [queryModel]=\"queryModel\"\n [hideFooter]=\"hideFooter\" [dynamicParam]=\"dynamicParam\" [formData]=\"formData\"\n (onError)=\"handleError($event)\" [formReadOnly]=\"readonly\" [multiMode]=\"multiMode\" \n [questionNumber]=\"questionNumber\">\n </app-dynamic-form>\n </div>\n\n </p-dialog>\n</ng-container>\n\n<ng-container *ngIf=\"pageType!='POPUP'\">\n <div *ngIf=\"!showLoaderTheme && questions$.getValue()\">\n <app-dynamic-form #questionnaire [questions]=\"questions$ | async\" (modelCancel)=\"onModelCancel($event)\"\n [forScreenQuestionnaire]=\"forScreenQuestionnaireBs | async\" [backButtonPage]=\"backButtonPage\"\n [pageType]=\"pageType\" [nextButtonPage]=\"nextButtonPage\" [formData]=\"loaderModel ? loaderModel.data : formData\"\n [readOnlyFields]=\"loaderModel ? loaderModel.disableControlNames : readOnlyFields\" (onComplete)=\"complete($event)\" [autoSave]=\"autoSave\" \n [queryModel]=\"queryModel\" [hideFooter]=\"hideFooter\" [dynamicParam]=\"dynamicParam\"\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)\" [mfaRequired]=\"mfaRequired\" [formReadOnly]=\"readonly\" [multiMode]=\"multiMode\" \n [questionNumber]=\"questionNumber\" [loaderService]=\"loaderService\" [isEnableBackButton]=\"enableBackButtonBs | async\">\n </app-dynamic-form>\n </div>\n</ng-container>", styles: [":host ::ng-deep form{counter-reset:section 0}:host ::ng-deep label:before{counter-increment:section 1;content:counter(section) \". \"}:host ::ng-deep .p-col{flex-grow:1;flex-basis:0;padding:0rem}:host ::ng-deep .p-button.p-button-icon-only{width:3rem;padding:0rem}:host ::ng-deep .p-grid{margin-right:1em;margin-left:0;margin-top:0;grid-gap:10px;flex-wrap:nowrap}:host ::ng-deep .field{margin-bottom:1px;margin-top:0}:host ::ng-deep .p-md-offset-1{margin-left:3.333333%}:host ::ng-deep .p-autocomplete-panel{width:400px!important}:host ::ng-deep ion-button{text-transform:none}:host ::ng-deep .flex-container{display:inline-flex;width:-moz-fit-content;width:fit-content}:host ::ng-deep .flex-child:first-child{margin-top:3px}:host ::ng-deep .p-button.p-button-icon-only.p-button-rounded{border-radius:50%;height:2rem}:host ::ng-deep .p-autocomplete-dd .p-autocomplete-input{flex:1 1 auto}:host ::ng-deep p-selectbutton.ng-dirty.ng-invalid>.p-selectbutton>.p-button{border:.5px solid red!important}:host ::ng-deep .p-calendar .p-inputtext{width:100%!important}.p-autocomplete-panel{width:-moz-fit-content!important;width:fit-content!important}ion-button{text-transform:none}h5{font-size:22px!important}.mat-error{color:#b00020!important}\n"] }]
|
|
197
|
+
}], () => [{ type: i1.QuestionService }, { type: i2.UtilService }, { type: i3.LoggerService }, { type: i4.QuestionnaireService }, { type: i5.LoginService }, { type: i6.ValidationService }, { type: i7.ActivatedRoute }], { questionnaire: [{
|
|
198
|
+
type: ViewChild,
|
|
199
|
+
args: ['questionnaire']
|
|
200
|
+
}], autoSave: [{
|
|
201
|
+
type: Input
|
|
202
|
+
}], mfaRequired: [{
|
|
203
|
+
type: Input
|
|
204
|
+
}], backButtonPage: [{
|
|
205
|
+
type: Input
|
|
206
|
+
}], nextButtonPage: [{
|
|
207
|
+
type: Input
|
|
208
|
+
}], pageType: [{
|
|
209
|
+
type: Input
|
|
210
|
+
}], queryModel: [{
|
|
211
|
+
type: Input
|
|
212
|
+
}], loaderService: [{
|
|
213
|
+
type: Input
|
|
214
|
+
}], modelCancel: [{
|
|
215
|
+
type: Output
|
|
216
|
+
}], onComplete: [{
|
|
217
|
+
type: Output
|
|
218
|
+
}], onError: [{
|
|
219
|
+
type: Output
|
|
220
|
+
}], onLoadComplete: [{
|
|
221
|
+
type: Output
|
|
222
|
+
}], data: [{
|
|
223
|
+
type: Input
|
|
224
|
+
}], formData: [{
|
|
225
|
+
type: Input
|
|
226
|
+
}], dynamicParam: [{
|
|
227
|
+
type: Input
|
|
228
|
+
}], hideHeader: [{
|
|
229
|
+
type: Input
|
|
230
|
+
}], hideFooter: [{
|
|
231
|
+
type: Input
|
|
232
|
+
}], questionNumber: [{
|
|
233
|
+
type: Input
|
|
234
|
+
}], sizeXs: [{
|
|
235
|
+
type: Input
|
|
236
|
+
}], sizeSm: [{
|
|
237
|
+
type: Input
|
|
238
|
+
}], sizeMd: [{
|
|
239
|
+
type: Input
|
|
240
|
+
}], sizeLg: [{
|
|
241
|
+
type: Input
|
|
242
|
+
}], sizeXl: [{
|
|
243
|
+
type: Input
|
|
244
|
+
}], offsetXs: [{
|
|
245
|
+
type: Input
|
|
246
|
+
}], offsetSm: [{
|
|
247
|
+
type: Input
|
|
248
|
+
}], offsetMd: [{
|
|
249
|
+
type: Input
|
|
250
|
+
}], offsetLg: [{
|
|
251
|
+
type: Input
|
|
252
|
+
}], offsetXl: [{
|
|
253
|
+
type: Input
|
|
254
|
+
}], readonly: [{
|
|
255
|
+
type: Input
|
|
256
|
+
}], multiMode: [{
|
|
257
|
+
type: Input
|
|
258
|
+
}], readOnlyFields: [{
|
|
259
|
+
type: Input
|
|
260
|
+
}] }); })();
|
|
261
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RenderQuestionnairePage, { className: "RenderQuestionnairePage" }); })();
|
|
262
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVuZGVyLXF1ZXN0aW9ubmFpcmUucGFnZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1yZXVzYS1hcHAtbGliL3NyYy9saWIvY29tcG9uZW50cy9xdWVzdGlvbm5haXJlL3JlbmRlci1xdWVzdGlvbm5haXJ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wicmVhZG9ubHlcIiBbbXVsdGlNb2RlXT1cIm11bHRpTW9kZVwiIFxuICAgICAgICAgICAgW3F1ZXN0aW9uTnVtYmVyXT1cInF1ZXN0aW9uTnVtYmVyXCIgW2xvYWRlclNlcnZpY2VdPVwibG9hZGVyU2VydmljZVwiIFtpc0VuYWJsZUJhY2tCdXR0b25dPVwiZW5hYmxlQmFja0J1dHRvbkJzIHwgYXN5bmNcIj5cbiAgICAgICAgPC9hcHAtZHluYW1pYy1mb3JtPlxuICAgIDwvZGl2PlxuPC9uZy1jb250YWluZXI+Il19
|
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
import * as i2 from "../../pipes/trust-html/trust-html.pipe";
|
|
5
|
-
function ReadMoreComponent_a_2_Template(rf, ctx) { if (rf & 1) {
|
|
6
|
-
const _r3 = i0.ɵɵgetCurrentView();
|
|
7
|
-
i0.ɵɵelementStart(0, "a", 2);
|
|
8
|
-
i0.ɵɵlistener("click", function ReadMoreComponent_a_2_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.readMore(false)); });
|
|
9
|
-
i0.ɵɵtext(1, "...read more");
|
|
10
|
-
i0.ɵɵelementEnd();
|
|
11
|
-
} }
|
|
12
|
-
function ReadMoreComponent_a_3_Template(rf, ctx) { if (rf & 1) {
|
|
13
|
-
const _r5 = i0.ɵɵgetCurrentView();
|
|
14
|
-
i0.ɵɵelementStart(0, "a", 2);
|
|
15
|
-
i0.ɵɵlistener("click", function ReadMoreComponent_a_3_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.readMore(true)); });
|
|
16
|
-
i0.ɵɵtext(1, "...read less");
|
|
17
|
-
i0.ɵɵelementEnd();
|
|
18
|
-
} }
|
|
19
|
-
export class ReadMoreComponent {
|
|
20
|
-
constructor() {
|
|
21
|
-
this.isCollapsed = true;
|
|
22
|
-
this.text = '';
|
|
23
|
-
this.hideAfter = 150;
|
|
24
|
-
this.hideReadMore = false;
|
|
25
|
-
}
|
|
26
|
-
ngOnInit() {
|
|
27
|
-
console.log('ngOnInit');
|
|
28
|
-
this.readMore(true);
|
|
29
|
-
}
|
|
30
|
-
readMore(more) {
|
|
31
|
-
if (this.text?.length <= this.hideAfter) {
|
|
32
|
-
this.hideReadMore = true;
|
|
33
|
-
}
|
|
34
|
-
if (this.text?.length > this.hideAfter && more) {
|
|
35
|
-
this.value = this.text.substring(0, this.hideAfter);
|
|
36
|
-
this.isCollapsed = false;
|
|
37
|
-
}
|
|
38
|
-
else {
|
|
39
|
-
this.value = this.text;
|
|
40
|
-
this.isCollapsed = true;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
type: Component,
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
import * as i2 from "../../pipes/trust-html/trust-html.pipe";
|
|
5
|
+
function ReadMoreComponent_a_2_Template(rf, ctx) { if (rf & 1) {
|
|
6
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
7
|
+
i0.ɵɵelementStart(0, "a", 2);
|
|
8
|
+
i0.ɵɵlistener("click", function ReadMoreComponent_a_2_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.readMore(false)); });
|
|
9
|
+
i0.ɵɵtext(1, "...read more");
|
|
10
|
+
i0.ɵɵelementEnd();
|
|
11
|
+
} }
|
|
12
|
+
function ReadMoreComponent_a_3_Template(rf, ctx) { if (rf & 1) {
|
|
13
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
14
|
+
i0.ɵɵelementStart(0, "a", 2);
|
|
15
|
+
i0.ɵɵlistener("click", function ReadMoreComponent_a_3_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.readMore(true)); });
|
|
16
|
+
i0.ɵɵtext(1, "...read less");
|
|
17
|
+
i0.ɵɵelementEnd();
|
|
18
|
+
} }
|
|
19
|
+
export class ReadMoreComponent {
|
|
20
|
+
constructor() {
|
|
21
|
+
this.isCollapsed = true;
|
|
22
|
+
this.text = '';
|
|
23
|
+
this.hideAfter = 150;
|
|
24
|
+
this.hideReadMore = false;
|
|
25
|
+
}
|
|
26
|
+
ngOnInit() {
|
|
27
|
+
console.log('ngOnInit');
|
|
28
|
+
this.readMore(true);
|
|
29
|
+
}
|
|
30
|
+
readMore(more) {
|
|
31
|
+
if (this.text?.length <= this.hideAfter) {
|
|
32
|
+
this.hideReadMore = true;
|
|
33
|
+
}
|
|
34
|
+
if (this.text?.length > this.hideAfter && more) {
|
|
35
|
+
this.value = this.text.substring(0, this.hideAfter);
|
|
36
|
+
this.isCollapsed = false;
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
this.value = this.text;
|
|
40
|
+
this.isCollapsed = true;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
static { this.ɵfac = function ReadMoreComponent_Factory(t) { return new (t || ReadMoreComponent)(); }; }
|
|
44
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadMoreComponent, selectors: [["app-read-more"]], inputs: { isCollapsed: "isCollapsed", text: "text", hideAfter: "hideAfter" }, decls: 4, vars: 5, consts: [[3, "innerHtml"], ["class", "link", 3, "click", 4, "ngIf"], [1, "link", 3, "click"]], template: function ReadMoreComponent_Template(rf, ctx) { if (rf & 1) {
|
|
45
|
+
i0.ɵɵelement(0, "span", 0);
|
|
46
|
+
i0.ɵɵpipe(1, "trustHtml");
|
|
47
|
+
i0.ɵɵtemplate(2, ReadMoreComponent_a_2_Template, 2, 0, "a", 1)(3, ReadMoreComponent_a_3_Template, 2, 0, "a", 1);
|
|
48
|
+
} if (rf & 2) {
|
|
49
|
+
i0.ɵɵproperty("innerHtml", i0.ɵɵpipeBind1(1, 3, ctx.value), i0.ɵɵsanitizeHtml);
|
|
50
|
+
i0.ɵɵadvance(2);
|
|
51
|
+
i0.ɵɵproperty("ngIf", !ctx.isCollapsed && !ctx.hideReadMore);
|
|
52
|
+
i0.ɵɵadvance(1);
|
|
53
|
+
i0.ɵɵproperty("ngIf", ctx.isCollapsed && !ctx.hideReadMore);
|
|
54
|
+
} }, dependencies: [i1.NgIf, i2.TrustHtmlPipe], styles: ["div.collapsed[_ngcontent-%COMP%]{height:250px;overflow:hidden}"] }); }
|
|
55
|
+
}
|
|
56
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadMoreComponent, [{
|
|
57
|
+
type: Component,
|
|
59
58
|
args: [{ selector: 'app-read-more', template: `
|
|
60
59
|
<span [innerHtml]="value | trustHtml">
|
|
61
60
|
</span>
|
|
62
61
|
<a (click)="readMore(false)" class="link" *ngIf="!isCollapsed && !hideReadMore">...read more</a>
|
|
63
62
|
<a (click)="readMore(true)" class="link" *ngIf="isCollapsed && !hideReadMore">...read less</a>
|
|
64
|
-
`, styles: ["div.collapsed{height:250px;overflow:hidden}\n"] }]
|
|
65
|
-
}],
|
|
66
|
-
type: Input
|
|
67
|
-
}], text: [{
|
|
68
|
-
type: Input
|
|
69
|
-
}], hideAfter: [{
|
|
70
|
-
type: Input
|
|
71
|
-
}] }); })();
|
|
72
|
-
|
|
63
|
+
`, styles: ["div.collapsed{height:250px;overflow:hidden}\n"] }]
|
|
64
|
+
}], () => [], { isCollapsed: [{
|
|
65
|
+
type: Input
|
|
66
|
+
}], text: [{
|
|
67
|
+
type: Input
|
|
68
|
+
}], hideAfter: [{
|
|
69
|
+
type: Input
|
|
70
|
+
}] }); })();
|
|
71
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadMoreComponent, { className: "ReadMoreComponent" }); })();
|
|
72
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhZC1tb3JlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1yZXVzYS1hcHAtbGliL3NyYy9saWIvY29tcG9uZW50cy9yZWFkLW1vcmUvcmVhZC1tb3JlLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBVSxNQUFNLGVBQWUsQ0FBQzs7Ozs7O0lBT3JELDRCQUFnRjtJQUE3RSx1SkFBUyxlQUFBLGdCQUFTLEtBQUssQ0FBQyxDQUFBLElBQUM7SUFBb0QsNEJBQVk7SUFBQSxpQkFBSTs7OztJQUNoRyw0QkFBOEU7SUFBM0UsdUpBQVMsZUFBQSxnQkFBUyxJQUFJLENBQUMsQ0FBQSxJQUFDO0lBQW1ELDRCQUFZO0lBQUEsaUJBQUk7O0FBSWxHLE1BQU0sT0FBTyxpQkFBaUI7SUFlNUI7UUFaQSxnQkFBVyxHQUFhLElBQUksQ0FBQztRQUc3QixTQUFJLEdBQVksRUFBRSxDQUFDO1FBR25CLGNBQVMsR0FBWSxHQUFHLENBQUM7UUFJekIsaUJBQVksR0FBRyxLQUFLLENBQUM7SUFFTCxDQUFDO0lBRWpCLFFBQVE7UUFDTixPQUFPLENBQUMsR0FBRyxDQUFDLFVBQVUsQ0FBQyxDQUFDO1FBQ3h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