@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
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import { Component, EventEmitter, Output } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../../services/claimant-service/claimant.service";
|
|
4
|
+
import * as i2 from "../../services/logger/logger.service";
|
|
5
|
+
import * as i3 from "@ionic/angular";
|
|
6
|
+
import * as i4 from "@angular/common";
|
|
7
|
+
import * as i5 from "primeng/api";
|
|
8
|
+
import * as i6 from "primeng/dialog";
|
|
9
|
+
import * as i7 from "primeng/table";
|
|
10
|
+
import * as i8 from "@fortawesome/angular-fontawesome";
|
|
11
|
+
import * as i9 from "@ngx-translate/core";
|
|
12
|
+
function JobSearchResultPageComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
13
|
+
i0.ɵɵelementStart(0, "ion-grid");
|
|
14
|
+
i0.ɵɵelement(1, "ion-row");
|
|
15
|
+
i0.ɵɵelementStart(2, "ion-row");
|
|
16
|
+
i0.ɵɵelement(3, "ion-col");
|
|
17
|
+
i0.ɵɵelementEnd()();
|
|
18
|
+
} }
|
|
19
|
+
function JobSearchResultPageComponent_h3_5_Template(rf, ctx) { if (rf & 1) {
|
|
20
|
+
i0.ɵɵelementStart(0, "h3");
|
|
21
|
+
i0.ɵɵtext(1);
|
|
22
|
+
i0.ɵɵpipe(2, "translate");
|
|
23
|
+
i0.ɵɵelementEnd();
|
|
24
|
+
} if (rf & 2) {
|
|
25
|
+
i0.ɵɵadvance(1);
|
|
26
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "job.search.results.popup.messages.noJobs"));
|
|
27
|
+
} }
|
|
28
|
+
function JobSearchResultPageComponent_h3_6_Template(rf, ctx) { if (rf & 1) {
|
|
29
|
+
i0.ɵɵelementStart(0, "h3");
|
|
30
|
+
i0.ɵɵtext(1);
|
|
31
|
+
i0.ɵɵpipe(2, "translate");
|
|
32
|
+
i0.ɵɵelementEnd();
|
|
33
|
+
} if (rf & 2) {
|
|
34
|
+
i0.ɵɵadvance(1);
|
|
35
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "job.search.results.popup.messages.title"));
|
|
36
|
+
} }
|
|
37
|
+
function JobSearchResultPageComponent_p_7_Template(rf, ctx) { if (rf & 1) {
|
|
38
|
+
i0.ɵɵelementStart(0, "p");
|
|
39
|
+
i0.ɵɵtext(1);
|
|
40
|
+
i0.ɵɵpipe(2, "translate");
|
|
41
|
+
i0.ɵɵelementStart(3, "b");
|
|
42
|
+
i0.ɵɵtext(4);
|
|
43
|
+
i0.ɵɵelementEnd();
|
|
44
|
+
i0.ɵɵtext(5);
|
|
45
|
+
i0.ɵɵpipe(6, "translate");
|
|
46
|
+
i0.ɵɵelementStart(7, "b");
|
|
47
|
+
i0.ɵɵtext(8);
|
|
48
|
+
i0.ɵɵelementEnd();
|
|
49
|
+
i0.ɵɵtext(9);
|
|
50
|
+
i0.ɵɵpipe(10, "translate");
|
|
51
|
+
i0.ɵɵelementStart(11, "b");
|
|
52
|
+
i0.ɵɵtext(12);
|
|
53
|
+
i0.ɵɵelementEnd()();
|
|
54
|
+
} if (rf & 2) {
|
|
55
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
56
|
+
i0.ɵɵadvance(1);
|
|
57
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 6, "job.search.results.popup.messages.search.criteria"));
|
|
58
|
+
i0.ɵɵadvance(3);
|
|
59
|
+
i0.ɵɵtextInterpolate(ctx_r3.jobResultsData == null ? null : ctx_r3.jobResultsData.zipCode);
|
|
60
|
+
i0.ɵɵadvance(1);
|
|
61
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(6, 8, "job.search.results.popup.messages.radius"), " ");
|
|
62
|
+
i0.ɵɵadvance(3);
|
|
63
|
+
i0.ɵɵtextInterpolate1("", ctx_r3.jobResultsData == null ? null : ctx_r3.jobResultsData.geographicalRange, " ");
|
|
64
|
+
i0.ɵɵadvance(1);
|
|
65
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 10, "job.search.results.popup.messages.keywords"));
|
|
66
|
+
i0.ɵɵadvance(3);
|
|
67
|
+
i0.ɵɵtextInterpolate(ctx_r3.jobResultsData == null ? null : ctx_r3.jobResultsData.keyWord);
|
|
68
|
+
} }
|
|
69
|
+
function JobSearchResultPageComponent_p_table_8_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
70
|
+
i0.ɵɵelementStart(0, "tr")(1, "th", 7);
|
|
71
|
+
i0.ɵɵtext(2);
|
|
72
|
+
i0.ɵɵpipe(3, "translate");
|
|
73
|
+
i0.ɵɵelementEnd();
|
|
74
|
+
i0.ɵɵelementStart(4, "th", 7);
|
|
75
|
+
i0.ɵɵtext(5);
|
|
76
|
+
i0.ɵɵpipe(6, "translate");
|
|
77
|
+
i0.ɵɵelementEnd();
|
|
78
|
+
i0.ɵɵelementStart(7, "th", 7);
|
|
79
|
+
i0.ɵɵtext(8);
|
|
80
|
+
i0.ɵɵpipe(9, "translate");
|
|
81
|
+
i0.ɵɵelementEnd();
|
|
82
|
+
i0.ɵɵelementStart(10, "th", 7);
|
|
83
|
+
i0.ɵɵtext(11);
|
|
84
|
+
i0.ɵɵpipe(12, "translate");
|
|
85
|
+
i0.ɵɵelementEnd();
|
|
86
|
+
i0.ɵɵelementStart(13, "th", 7);
|
|
87
|
+
i0.ɵɵtext(14);
|
|
88
|
+
i0.ɵɵpipe(15, "translate");
|
|
89
|
+
i0.ɵɵelementEnd()();
|
|
90
|
+
} if (rf & 2) {
|
|
91
|
+
i0.ɵɵadvance(2);
|
|
92
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 5, "job.search.results.table.header.Posted"));
|
|
93
|
+
i0.ɵɵadvance(3);
|
|
94
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 7, "job.search.results.table.header.Position"));
|
|
95
|
+
i0.ɵɵadvance(3);
|
|
96
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(9, 9, "job.search.results.table.header.Employer"));
|
|
97
|
+
i0.ɵɵadvance(3);
|
|
98
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(12, 11, "job.search.results.table.header.ZipCode"));
|
|
99
|
+
i0.ɵɵadvance(3);
|
|
100
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(15, 13, "job.search.results.table.header.View"));
|
|
101
|
+
} }
|
|
102
|
+
const _c0 = () => ["far", "angle-right"];
|
|
103
|
+
function JobSearchResultPageComponent_p_table_8_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
104
|
+
i0.ɵɵelementStart(0, "tr", 8)(1, "td", 7);
|
|
105
|
+
i0.ɵɵtext(2);
|
|
106
|
+
i0.ɵɵelementEnd();
|
|
107
|
+
i0.ɵɵelementStart(3, "td", 7);
|
|
108
|
+
i0.ɵɵtext(4);
|
|
109
|
+
i0.ɵɵelementEnd();
|
|
110
|
+
i0.ɵɵelementStart(5, "td", 7);
|
|
111
|
+
i0.ɵɵtext(6);
|
|
112
|
+
i0.ɵɵelementEnd();
|
|
113
|
+
i0.ɵɵelementStart(7, "td", 7);
|
|
114
|
+
i0.ɵɵtext(8);
|
|
115
|
+
i0.ɵɵelementEnd();
|
|
116
|
+
i0.ɵɵelementStart(9, "td", 7)(10, "ion-button", 9);
|
|
117
|
+
i0.ɵɵelement(11, "fa-icon", 10);
|
|
118
|
+
i0.ɵɵelementEnd()()();
|
|
119
|
+
} if (rf & 2) {
|
|
120
|
+
const matchingJobs_r9 = ctx.$implicit;
|
|
121
|
+
i0.ɵɵadvance(2);
|
|
122
|
+
i0.ɵɵtextInterpolate1(" ", matchingJobs_r9.jobOrderCreateDate ? matchingJobs_r9.jobOrderCreateDate : "N/A", " ");
|
|
123
|
+
i0.ɵɵadvance(2);
|
|
124
|
+
i0.ɵɵtextInterpolate1(" ", matchingJobs_r9.jobTitle ? matchingJobs_r9.jobTitle : "N/A", " ");
|
|
125
|
+
i0.ɵɵadvance(2);
|
|
126
|
+
i0.ɵɵtextInterpolate1(" ", matchingJobs_r9.employerName ? matchingJobs_r9.employerName : "N/A", " ");
|
|
127
|
+
i0.ɵɵadvance(2);
|
|
128
|
+
i0.ɵɵtextInterpolate1(" ", matchingJobs_r9.zipCode ? matchingJobs_r9.zipCode : "N/A", " ");
|
|
129
|
+
i0.ɵɵadvance(2);
|
|
130
|
+
i0.ɵɵpropertyInterpolate("href", matchingJobs_r9.jobOrderURL ? matchingJobs_r9.jobOrderURL : "N/A");
|
|
131
|
+
i0.ɵɵadvance(1);
|
|
132
|
+
i0.ɵɵproperty("icon", i0.ɵɵpureFunction0(6, _c0));
|
|
133
|
+
} }
|
|
134
|
+
function JobSearchResultPageComponent_p_table_8_Template(rf, ctx) { if (rf & 1) {
|
|
135
|
+
i0.ɵɵelementStart(0, "p-table", 5);
|
|
136
|
+
i0.ɵɵtemplate(1, JobSearchResultPageComponent_p_table_8_ng_template_1_Template, 16, 15, "ng-template", 1)(2, JobSearchResultPageComponent_p_table_8_ng_template_2_Template, 12, 7, "ng-template", 6);
|
|
137
|
+
i0.ɵɵelementEnd();
|
|
138
|
+
} if (rf & 2) {
|
|
139
|
+
const ctx_r4 = i0.ɵɵnextContext();
|
|
140
|
+
i0.ɵɵproperty("value", ctx_r4.matchingJobs)("rowHover", true);
|
|
141
|
+
} }
|
|
142
|
+
function JobSearchResultPageComponent_ng_template_9_Template(rf, ctx) { if (rf & 1) {
|
|
143
|
+
const _r11 = i0.ɵɵgetCurrentView();
|
|
144
|
+
i0.ɵɵelementStart(0, "ion-grid")(1, "ion-row");
|
|
145
|
+
i0.ɵɵelement(2, "ion-col", 11);
|
|
146
|
+
i0.ɵɵelementStart(3, "ion-col", 12)(4, "ion-button", 13);
|
|
147
|
+
i0.ɵɵlistener("click", function JobSearchResultPageComponent_ng_template_9_Template_ion_button_click_4_listener() { i0.ɵɵrestoreView(_r11); const ctx_r10 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r10.cancel()); });
|
|
148
|
+
i0.ɵɵtext(5, "Close");
|
|
149
|
+
i0.ɵɵelementEnd()()()();
|
|
150
|
+
} }
|
|
151
|
+
const _c1 = () => ({ width: "60vw" });
|
|
152
|
+
const _c2 = () => ({ "1024px": "75vw", "768px": "85vw", "640px": "100vw" });
|
|
153
|
+
export class JobSearchResultPageComponent {
|
|
154
|
+
constructor(cs, loggerService) {
|
|
155
|
+
this.cs = cs;
|
|
156
|
+
this.loggerService = loggerService;
|
|
157
|
+
this.areJobsFetched = true;
|
|
158
|
+
this.onCancel = new EventEmitter();
|
|
159
|
+
}
|
|
160
|
+
ngOnInit() {
|
|
161
|
+
this.getClaimantJobResults();
|
|
162
|
+
}
|
|
163
|
+
getClaimantJobResults() {
|
|
164
|
+
this.cs.getJobResults()
|
|
165
|
+
.subscribe(res => {
|
|
166
|
+
this.jobResultsData = res;
|
|
167
|
+
this.loggerService.info(res);
|
|
168
|
+
this.matchingJobs = res.availableJobModel;
|
|
169
|
+
}, err => {
|
|
170
|
+
this.areJobsFetched = false;
|
|
171
|
+
this.loggerService.info('error while calling job result', err);
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
cancel() {
|
|
175
|
+
this.onCancel.emit();
|
|
176
|
+
}
|
|
177
|
+
static { this.ɵfac = function JobSearchResultPageComponent_Factory(t) { return new (t || JobSearchResultPageComponent)(i0.ɵɵdirectiveInject(i1.ClaimantService), i0.ɵɵdirectiveInject(i2.LoggerService)); }; }
|
|
178
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: JobSearchResultPageComponent, selectors: [["app-job-search-result-page"]], outputs: { onCancel: "onCancel" }, decls: 10, vars: 9, consts: [["visible", "true", "modal", "true", "appendTo", "body", "position", "top", 3, "breakpoints"], ["pTemplate", "header"], [4, "ngIf"], ["styleClass", "p-datatable-striped p-datatable-worksearch ion-padding-top", 3, "value", "rowHover", 4, "ngIf"], ["pTemplate", "footer"], ["styleClass", "p-datatable-striped p-datatable-worksearch ion-padding-top", 3, "value", "rowHover"], ["pTemplate", "body"], ["colspan", "2"], [1, "ui-selectable-row"], ["fill", "outline", "shape", "round", "size", "small", "target", "blank", 1, "small-button", 2, "--border-color", "#4478AA", "--border-width", "2px", "--color", "#4478AA", 3, "href"], [1, "button-icon", 3, "icon"], [1, "ion-text-left"], [1, "ion-text-right"], ["shape", "round", "fill", "outline", "type", "reset", 3, "click"]], template: function JobSearchResultPageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
179
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
180
|
+
i0.ɵɵtemplate(1, JobSearchResultPageComponent_ng_template_1_Template, 4, 0, "ng-template", 1);
|
|
181
|
+
i0.ɵɵelementStart(2, "ion-grid")(3, "ion-row")(4, "ion-col");
|
|
182
|
+
i0.ɵɵtemplate(5, JobSearchResultPageComponent_h3_5_Template, 3, 3, "h3", 2)(6, JobSearchResultPageComponent_h3_6_Template, 3, 3, "h3", 2)(7, JobSearchResultPageComponent_p_7_Template, 13, 12, "p", 2)(8, JobSearchResultPageComponent_p_table_8_Template, 3, 2, "p-table", 3);
|
|
183
|
+
i0.ɵɵelementEnd()()();
|
|
184
|
+
i0.ɵɵtemplate(9, JobSearchResultPageComponent_ng_template_9_Template, 6, 0, "ng-template", 4);
|
|
185
|
+
i0.ɵɵelementEnd();
|
|
186
|
+
} if (rf & 2) {
|
|
187
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(7, _c1));
|
|
188
|
+
i0.ɵɵproperty("breakpoints", i0.ɵɵpureFunction0(8, _c2));
|
|
189
|
+
i0.ɵɵadvance(5);
|
|
190
|
+
i0.ɵɵproperty("ngIf", ctx.matchingJobs == null && ctx.areJobsFetched == false);
|
|
191
|
+
i0.ɵɵadvance(1);
|
|
192
|
+
i0.ɵɵproperty("ngIf", ctx.matchingJobs != null);
|
|
193
|
+
i0.ɵɵadvance(1);
|
|
194
|
+
i0.ɵɵproperty("ngIf", ctx.matchingJobs != null);
|
|
195
|
+
i0.ɵɵadvance(1);
|
|
196
|
+
i0.ɵɵproperty("ngIf", ctx.matchingJobs != null);
|
|
197
|
+
} }, dependencies: [i3.IonButton, i3.IonCol, i3.IonGrid, i3.IonRow, i4.NgIf, i5.PrimeTemplate, i6.Dialog, i7.Table, i8.FaIconComponent, i9.TranslatePipe], styles: ["ion-col[_ngcontent-%COMP%]{margin-left:0!important}.button-icon[_ngcontent-%COMP%]{font-size:18px;color:var(--ion-color-primary)}"] }); }
|
|
198
|
+
}
|
|
199
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(JobSearchResultPageComponent, [{
|
|
200
|
+
type: Component,
|
|
201
|
+
args: [{ selector: 'app-job-search-result-page', template: "<p-dialog visible=\"true\" modal=\"true\" appendTo=\"body\"\n [breakpoints]=\"{'1024px': '75vw', '768px': '85vw', '640px': '100vw'}\" [style]=\"{width: '60vw'}\" position=\"top\">\n <ng-template pTemplate=\"header\">\n <ion-grid>\n <ion-row>\n\n </ion-row>\n <ion-row>\n <ion-col>\n\n </ion-col>\n </ion-row>\n </ion-grid>\n </ng-template>\n <ion-grid>\n <ion-row>\n <ion-col>\n <h3 *ngIf=\"matchingJobs == null && areJobsFetched== false\">{{'job.search.results.popup.messages.noJobs' | translate}}</h3>\n <h3 *ngIf=\"matchingJobs != null\">{{'job.search.results.popup.messages.title' | translate}}</h3>\n <p *ngIf=\"matchingJobs != null\">{{'job.search.results.popup.messages.search.criteria' | translate}}<b>{{jobResultsData?.zipCode}}</b>{{'job.search.results.popup.messages.radius' | translate}} <b>{{jobResultsData?.geographicalRange}} </b>{{'job.search.results.popup.messages.keywords' | translate}}<b>{{jobResultsData?.keyWord}}</b></p>\n \n <p-table [value]=\"matchingJobs\" [rowHover]=\"true\" *ngIf=\"matchingJobs != null\"\n styleClass=\"p-datatable-striped p-datatable-worksearch ion-padding-top\">\n <ng-template pTemplate=\"header\" let-columns>\n <tr>\n <th colspan=\"2\">{{'job.search.results.table.header.Posted' | translate}}</th>\n <th colspan=\"2\">{{'job.search.results.table.header.Position' | translate}}</th>\n <th colspan=\"2\">{{'job.search.results.table.header.Employer' | translate}}</th>\n <th colspan=\"2\">{{'job.search.results.table.header.ZipCode' | translate}}</th>\n <th colspan=\"2\">{{'job.search.results.table.header.View' | translate}}</th>\n </tr>\n </ng-template>\n \n <ng-template pTemplate=\"body\" let-matchingJobs >\n <tr class=\"ui-selectable-row\">\n <td colspan=\"2\">\n {{matchingJobs.jobOrderCreateDate?matchingJobs.jobOrderCreateDate:'N/A' }}\n </td>\n <td colspan=\"2\">\n {{matchingJobs.jobTitle?matchingJobs.jobTitle:'N/A'}}\n </td>\n <td colspan=\"2\">\n {{matchingJobs.employerName?matchingJobs.employerName:'N/A'}}\n </td>\n <td colspan=\"2\">\n {{matchingJobs.zipCode?matchingJobs.zipCode:'N/A'}}\n </td>\n <td colspan=\"2\">\n <ion-button href=\"{{matchingJobs.jobOrderURL?matchingJobs.jobOrderURL:'N/A'}}\" fill=\"outline\" shape=\"round\" \n class=\"small-button\" size=\"small\" target=\"blank\"\n style=\"--border-color:#4478AA; --border-width:2px; --color:#4478AA;\">\n \n <fa-icon [icon]=\"['far', 'angle-right']\" class=\"button-icon\"></fa-icon>\n </ion-button>\n </td>\n </tr>\n </ng-template>\n </p-table>\n </ion-col>\n </ion-row>\n </ion-grid>\n\n\n\n <ng-template pTemplate=\"footer\">\n <ion-grid>\n <ion-row>\n <ion-col class=\"ion-text-left\">\n\n </ion-col>\n <ion-col class=\"ion-text-right\">\n <ion-button shape=\"round\" fill=\"outline\" type=\"reset\" (click)=\"cancel()\">Close</ion-button>\n </ion-col>\n </ion-row>\n </ion-grid>\n </ng-template>\n</p-dialog>", styles: ["ion-col{margin-left:0!important}.button-icon{font-size:18px;color:var(--ion-color-primary)}\n"] }]
|
|
202
|
+
}], () => [{ type: i1.ClaimantService }, { type: i2.LoggerService }], { onCancel: [{
|
|
203
|
+
type: Output
|
|
204
|
+
}] }); })();
|
|
205
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(JobSearchResultPageComponent, { className: "JobSearchResultPageComponent" }); })();
|
|
206
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiam9iLXNlYXJjaC1yZXN1bHQtcGFnZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtcmV1c2EtYXBwLWxpYi9zcmMvbGliL2NvbXBvbmVudHMvam9iLXNlYXJjaC1yZXN1bHQtcGFnZS9qb2Itc2VhcmNoLXJlc3VsdC1wYWdlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1yZXVzYS1hcHAtbGliL3NyYy9saWIvY29tcG9uZW50cy9qb2Itc2VhcmNoLXJlc3VsdC1wYWdlL2pvYi1zZWFyY2gtcmVzdWx0LXBhZ2UuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxZQUFZLEVBQUUsTUFBTSxFQUFnQyxNQUFNLGVBQWUsQ0FBQzs7Ozs7Ozs7Ozs7O0lDRzlGLGdDQUFVO0lBQ04sMEJBRVU7SUFDViwrQkFBUztJQUNMLDBCQUVVO0lBQ2QsaUJBQVUsRUFBQTs7O0lBTU4sMEJBQTJEO0lBQUEsWUFBMEQ7O0lBQUEsaUJBQUs7O0lBQS9ELGVBQTBEO0lBQTFELHNGQUEwRDs7O0lBQ3JILDBCQUFpQztJQUFBLFlBQXlEOztJQUFBLGlCQUFLOztJQUE5RCxlQUF5RDtJQUF6RCxxRkFBeUQ7OztJQUMxRix5QkFBZ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PlxuICAgICAgICAgICAgICAgICAgICAgICAgPC90cj5cbiAgICAgICAgICAgICAgICAgICAgPC9uZy10ZW1wbGF0ZT5cbiAgICAgICAgICAgICAgICAgICAgXG4gICAgICAgICAgICAgICAgICAgIDxuZy10ZW1wbGF0ZSBwVGVtcGxhdGU9XCJib2R5XCIgbGV0LW1hdGNoaW5nSm9icyAgPlxuICAgICAgICAgICAgICAgICAgICAgICAgPHRyIGNsYXNzPVwidWktc2VsZWN0YWJsZS1yb3dcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dGQgY29sc3Bhbj1cIjJcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge3ttYXRjaGluZ0pvYnMuam9iT3JkZXJDcmVhdGVEYXRlP21hdGNoaW5nSm9icy5qb2JPcmRlckNyZWF0ZURhdGU6J04vQScgfX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3RkPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx0ZCBjb2xzcGFuPVwiMlwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7e21hdGNoaW5nSm9icy5qb2JUaXRsZT9tYXRjaGluZ0pvYnMuam9iVGl0bGU6J04vQSd9fVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvdGQ+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRkIGNvbHNwYW49XCIyXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHt7bWF0Y2hpbmdKb2JzLmVtcGxveWVyTmFtZT9tYXRjaGluZ0pvYnMuZW1wbG95ZXJOYW1lOidOL0EnfX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3RkPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx0ZCBjb2xzcGFuPVwiMlwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7e21hdGNoaW5nSm9icy56aXBDb2RlP21hdGNoaW5nSm9icy56aXBDb2RlOidOL0EnfX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3RkPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx0ZCBjb2xzcGFuPVwiMlwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8aW9uLWJ1dHRvbiBocmVmPVwie3ttYXRjaGluZ0pvYnMuam9iT3JkZXJVUkw/bWF0Y2hpbmdKb2JzLmpvYk9yZGVyVVJMOidOL0EnfX1cIiAgZmlsbD1cIm91dGxpbmVcIiAgc2hhcGU9XCJyb3VuZFwiIFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzcz1cInNtYWxsLWJ1dHRvblwiIHNpemU9XCJzbWFsbFwiIHRhcmdldD1cImJsYW5rXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc3R5bGU9XCItLWJvcmRlci1jb2xvcjojNDQ3OEFBOyAtLWJvcmRlci13aWR0aDoycHg7IC0tY29sb3I6IzQ0NzhBQTtcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGZhLWljb24gW2ljb25dPVwiWydmYXInLCAnYW5nbGUtcmlnaHQnXVwiIGNsYXNzPVwiYnV0dG9uLWljb25cIj48L2ZhLWljb24+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvaW9uLWJ1dHRvbj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3RkPlxuICAgICAgICAgICAgICAgICAgICAgICAgPC90cj5cbiAgICAgICAgICAgICAgICAgICAgPC9uZy10ZW1wbGF0ZT5cbiAgICAgICAgICAgICAgICA8L3AtdGFibGU+XG4gICAgICAgICAgICA8L2lvbi1jb2w+XG4gICAgICAgIDwvaW9uLXJvdz5cbiAgICA8L2lvbi1ncmlkPlxuXG5cblxuICAgIDxuZy10ZW1wbGF0ZSBwVGVtcGxhdGU9XCJmb290ZXJcIj5cbiAgICAgICAgPGlvbi1ncmlkPlxuICAgICAgICAgICAgPGlvbi1yb3c+XG4gICAgICAgICAgICAgICAgPGlvbi1jb2wgY2xhc3M9XCJpb24tdGV4dC1sZWZ0XCI+XG5cbiAgICAgICAgICAgICAgICA8L2lvbi1jb2w+XG4gICAgICAgICAgICAgICAgPGlvbi1jb2wgY2xhc3M9XCJpb24tdGV4dC1yaWdodFwiPlxuICAgICAgICAgICAgICAgICAgICA8aW9uLWJ1dHRvbiBzaGFwZT1cInJvdW5kXCIgZmlsbD1cIm91dGxpbmVcIiB0eXBlPVwicmVzZXRcIiAoY2xpY2spPVwiY2FuY2VsKClcIj5DbG9zZTwvaW9uLWJ1dHRvbj5cbiAgICAgICAgICAgICAgICA8L2lvbi1jb2w+XG4gICAgICAgICAgICA8L2lvbi1yb3c+XG4gICAgICAgIDwvaW9uLWdyaWQ+XG4gICAgPC9uZy10ZW1wbGF0ZT5cbjwvcC1kaWFsb2c+Il19
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import { Component, Input, Output, EventEmitter, ViewChild } from '@angular/core';
|
|
2
|
+
import { UntypedFormControl, Validators } from '@angular/forms';
|
|
3
|
+
import { AppValidators } from '../questionnaire/AppValidators';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../../services/logger/logger.service";
|
|
6
|
+
import * as i2 from "@angular/forms";
|
|
7
|
+
import * as i3 from "../../services/login/login.service";
|
|
8
|
+
import * as i4 from "@angular/router";
|
|
9
|
+
import * as i5 from "@ionic/angular";
|
|
10
|
+
import * as i6 from "@angular/common";
|
|
11
|
+
import * as i7 from "primeng/api";
|
|
12
|
+
import * as i8 from "primeng/dialog";
|
|
13
|
+
import * as i9 from "primeng/inputtext";
|
|
14
|
+
import * as i10 from "../error/error.component";
|
|
15
|
+
const _c0 = ["qeFormDirective"];
|
|
16
|
+
const _c1 = "Last 4 number of entered SSN doesn't match with your SSN's last 4 number.";
|
|
17
|
+
const _c2 = () => ({ required: "Required.", notEqual: _c1 });
|
|
18
|
+
function LegalDisclaimarComponent_div_2_ng_template_8_app_error_8_Template(rf, ctx) { if (rf & 1) {
|
|
19
|
+
i0.ɵɵelement(0, "app-error", 12);
|
|
20
|
+
} if (rf & 2) {
|
|
21
|
+
const ctx_r3 = i0.ɵɵnextContext(3);
|
|
22
|
+
const _r0 = i0.ɵɵreference(1);
|
|
23
|
+
i0.ɵɵclassMap("app-grid");
|
|
24
|
+
i0.ɵɵproperty("field", ctx_r3.lastfourssn)("form", _r0)("errDef", i0.ɵɵpureFunction0(5, _c2));
|
|
25
|
+
} }
|
|
26
|
+
function LegalDisclaimarComponent_div_2_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
27
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
28
|
+
i0.ɵɵelementStart(0, "ion-row")(1, "ion-col", 13);
|
|
29
|
+
i0.ɵɵtext(2, " I have read and understand the above statements. Sign with the last four digits of your social security number.");
|
|
30
|
+
i0.ɵɵelement(3, "br");
|
|
31
|
+
i0.ɵɵelementEnd()();
|
|
32
|
+
i0.ɵɵelementStart(4, "ion-row")(5, "ion-col", 14);
|
|
33
|
+
i0.ɵɵelement(6, "input", 15)(7, "br");
|
|
34
|
+
i0.ɵɵtemplate(8, LegalDisclaimarComponent_div_2_ng_template_8_app_error_8_Template, 1, 6, "app-error", 16);
|
|
35
|
+
i0.ɵɵelementEnd();
|
|
36
|
+
i0.ɵɵelementStart(9, "ion-col", 17)(10, "ion-button", 18);
|
|
37
|
+
i0.ɵɵlistener("click", function LegalDisclaimarComponent_div_2_ng_template_8_Template_ion_button_click_10_listener() { i0.ɵɵrestoreView(_r5); const ctx_r4 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r4.cancelDisclaimar()); });
|
|
38
|
+
i0.ɵɵtext(11);
|
|
39
|
+
i0.ɵɵelementEnd();
|
|
40
|
+
i0.ɵɵelementStart(12, "ion-button", 19);
|
|
41
|
+
i0.ɵɵlistener("click", function LegalDisclaimarComponent_div_2_ng_template_8_Template_ion_button_click_12_listener() { i0.ɵɵrestoreView(_r5); const ctx_r6 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r6.acceptDisclaimar()); });
|
|
42
|
+
i0.ɵɵtext(13);
|
|
43
|
+
i0.ɵɵelementEnd()()();
|
|
44
|
+
} if (rf & 2) {
|
|
45
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
46
|
+
const _r0 = i0.ɵɵreference(1);
|
|
47
|
+
i0.ɵɵadvance(6);
|
|
48
|
+
i0.ɵɵproperty("formControl", ctx_r2.lastfourssn);
|
|
49
|
+
i0.ɵɵadvance(2);
|
|
50
|
+
i0.ɵɵproperty("ngIf", _r0.touched || ctx_r2.isSubmitted);
|
|
51
|
+
i0.ɵɵadvance(3);
|
|
52
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r2.legalDisclaimar.cancelButton, " ");
|
|
53
|
+
i0.ɵɵadvance(2);
|
|
54
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r2.legalDisclaimar.acceptButton, " ");
|
|
55
|
+
} }
|
|
56
|
+
const _c3 = () => ({ width: "60vw" });
|
|
57
|
+
const _c4 = () => ({ "960px": "80vw", "640px": "100vw" });
|
|
58
|
+
const _c5 = () => ({ required: "required." });
|
|
59
|
+
function LegalDisclaimarComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
60
|
+
const _r8 = i0.ɵɵgetCurrentView();
|
|
61
|
+
i0.ɵɵelementStart(0, "div")(1, "p-dialog", 3);
|
|
62
|
+
i0.ɵɵlistener("visibleChange", function LegalDisclaimarComponent_div_2_Template_p_dialog_visibleChange_1_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r7 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r7.displayPosition = $event); });
|
|
63
|
+
i0.ɵɵelementStart(2, "h1");
|
|
64
|
+
i0.ɵɵtext(3);
|
|
65
|
+
i0.ɵɵelementEnd();
|
|
66
|
+
i0.ɵɵelement(4, "div", 4);
|
|
67
|
+
i0.ɵɵelementStart(5, "h1");
|
|
68
|
+
i0.ɵɵtext(6);
|
|
69
|
+
i0.ɵɵelementEnd();
|
|
70
|
+
i0.ɵɵelement(7, "div", 4);
|
|
71
|
+
i0.ɵɵtemplate(8, LegalDisclaimarComponent_div_2_ng_template_8_Template, 14, 4, "ng-template", 5);
|
|
72
|
+
i0.ɵɵelementEnd();
|
|
73
|
+
i0.ɵɵelementStart(9, "p", 6);
|
|
74
|
+
i0.ɵɵtext(10);
|
|
75
|
+
i0.ɵɵelementEnd();
|
|
76
|
+
i0.ɵɵelementStart(11, "div", 7)(12, "div", 8);
|
|
77
|
+
i0.ɵɵelement(13, "input", 9);
|
|
78
|
+
i0.ɵɵelementStart(14, "ion-button", 10);
|
|
79
|
+
i0.ɵɵlistener("click", function LegalDisclaimarComponent_div_2_Template_ion_button_click_14_listener() { i0.ɵɵrestoreView(_r8); const ctx_r9 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r9.showPositionDialog("top")); });
|
|
80
|
+
i0.ɵɵelement(15, "ion-icon", 11);
|
|
81
|
+
i0.ɵɵtext(16, " Disclaimers ");
|
|
82
|
+
i0.ɵɵelementEnd();
|
|
83
|
+
i0.ɵɵelement(17, "app-error", 12);
|
|
84
|
+
i0.ɵɵelementEnd()()();
|
|
85
|
+
} if (rf & 2) {
|
|
86
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
87
|
+
const _r0 = i0.ɵɵreference(1);
|
|
88
|
+
i0.ɵɵadvance(1);
|
|
89
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(15, _c3));
|
|
90
|
+
i0.ɵɵproperty("visible", ctx_r1.displayPosition)("position", ctx_r1.position)("showHeader", false)("breakpoints", i0.ɵɵpureFunction0(16, _c4));
|
|
91
|
+
i0.ɵɵadvance(2);
|
|
92
|
+
i0.ɵɵtextInterpolate(ctx_r1.legalDisclaimar.privacyStatementTitle);
|
|
93
|
+
i0.ɵɵadvance(1);
|
|
94
|
+
i0.ɵɵproperty("innerHTML", ctx_r1.legalDisclaimar.privacyStatement, i0.ɵɵsanitizeHtml);
|
|
95
|
+
i0.ɵɵadvance(2);
|
|
96
|
+
i0.ɵɵtextInterpolate(ctx_r1.legalDisclaimar.benefitRightsTitle);
|
|
97
|
+
i0.ɵɵadvance(1);
|
|
98
|
+
i0.ɵɵproperty("innerHTML", ctx_r1.legalDisclaimar.benefitRights, i0.ɵɵsanitizeHtml);
|
|
99
|
+
i0.ɵɵadvance(3);
|
|
100
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r1.legalDisclaimar.plsRead, "");
|
|
101
|
+
i0.ɵɵadvance(5);
|
|
102
|
+
i0.ɵɵproperty("name", ctx_r1.displayCheckBox ? "checkmark-circle-outline" : "ellipse-outline");
|
|
103
|
+
i0.ɵɵadvance(2);
|
|
104
|
+
i0.ɵɵproperty("field", ctx_r1.legalHidden)("form", _r0)("errDef", i0.ɵɵpureFunction0(17, _c5));
|
|
105
|
+
} }
|
|
106
|
+
export class LegalDisclaimarComponent {
|
|
107
|
+
constructor(logger, fb, ls, activatedRoute) {
|
|
108
|
+
this.logger = logger;
|
|
109
|
+
this.fb = fb;
|
|
110
|
+
this.ls = ls;
|
|
111
|
+
this.activatedRoute = activatedRoute;
|
|
112
|
+
this.displayCheckBox = false;
|
|
113
|
+
this.accepted = new EventEmitter();
|
|
114
|
+
this.isSubmitted = false;
|
|
115
|
+
}
|
|
116
|
+
showPositionDialog(position) {
|
|
117
|
+
this.position = position;
|
|
118
|
+
this.displayPosition = true;
|
|
119
|
+
}
|
|
120
|
+
acceptDisclaimar() {
|
|
121
|
+
this.isSubmitted = true;
|
|
122
|
+
if (this.lastfourssn.valid) {
|
|
123
|
+
this.displayCheckBox = true;
|
|
124
|
+
this.accepted.emit(true);
|
|
125
|
+
this.displayPosition = false;
|
|
126
|
+
this.legalHidden.setValue(true);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
cancelDisclaimar() {
|
|
130
|
+
this.isSubmitted = false;
|
|
131
|
+
this.displayCheckBox = false;
|
|
132
|
+
this.accepted.emit(false);
|
|
133
|
+
this.legalHidden.setValue(null);
|
|
134
|
+
this.displayPosition = false;
|
|
135
|
+
}
|
|
136
|
+
get legalHidden() {
|
|
137
|
+
return this.form.get('legalHidden');
|
|
138
|
+
}
|
|
139
|
+
get lastfourssn() {
|
|
140
|
+
return this.form.get('lastfourssn');
|
|
141
|
+
}
|
|
142
|
+
ngOnInit() {
|
|
143
|
+
let ssnLastFourFromDb;
|
|
144
|
+
if (this.ls.isClaimant() === true) {
|
|
145
|
+
ssnLastFourFromDb = this.ls.getUser().ssn.substring(5, 9);
|
|
146
|
+
}
|
|
147
|
+
else {
|
|
148
|
+
let data = this.activatedRoute.snapshot.queryParamMap.get('key');
|
|
149
|
+
if (data) {
|
|
150
|
+
let ssnForCSR;
|
|
151
|
+
ssnForCSR = atob(data);
|
|
152
|
+
ssnLastFourFromDb = ssnForCSR.substring(5, 9);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
this.form.addControl('legalHidden', new UntypedFormControl(null, [Validators.requiredTrue, Validators.required]));
|
|
156
|
+
this.form.addControl('lastfourssn', new UntypedFormControl(null, [Validators.compose([Validators.required, AppValidators.isEqual(ssnLastFourFromDb)])]));
|
|
157
|
+
this.question.name = "legalHidden";
|
|
158
|
+
const obj = JSON.parse(this.componentData);
|
|
159
|
+
this.legalDisclaimar = obj;
|
|
160
|
+
}
|
|
161
|
+
static { this.ɵfac = function LegalDisclaimarComponent_Factory(t) { return new (t || LegalDisclaimarComponent)(i0.ɵɵdirectiveInject(i1.LoggerService), i0.ɵɵdirectiveInject(i2.UntypedFormBuilder), i0.ɵɵdirectiveInject(i3.LoginService), i0.ɵɵdirectiveInject(i4.ActivatedRoute)); }; }
|
|
162
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LegalDisclaimarComponent, selectors: [["app-legal-disclaimar"]], viewQuery: function LegalDisclaimarComponent_Query(rf, ctx) { if (rf & 1) {
|
|
163
|
+
i0.ɵɵviewQuery(_c0, 5);
|
|
164
|
+
} if (rf & 2) {
|
|
165
|
+
let _t;
|
|
166
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.qeFormDirective = _t.first);
|
|
167
|
+
} }, inputs: { form: "form", question: "question", componentData: "componentData" }, outputs: { accepted: "accepted" }, decls: 3, vars: 2, consts: [[3, "formGroup"], ["qeFormDirective", "ngForm"], [4, "ngIf"], ["modal", "true", "appendTo", "body", 3, "visible", "position", "showHeader", "breakpoints", "visibleChange"], [3, "innerHTML"], ["pTemplate", "footer"], [1, "form-label"], [1, "grid", "p-nogutter"], [1, "col-12"], ["type", "text", "id", "legalHidden", "pInputText", "", "formControlName", "legalHidden", "hidden", ""], ["shape", "round", "type", "submit", "fill", "outline", 3, "click"], ["slot", "start", 2, "font-size", "25px", "font-weight", "bold", 3, "name"], [3, "field", "form", "errDef"], [1, "ion-text-left", "ion-padding-top"], [1, "ion-text-left"], ["id", "ssn", "type", "input", "pInputText", "", "size", "5", "maxlength", "4", "minlength", "4", 3, "formControl"], [3, "class", "field", "form", "errDef", 4, "ngIf"], [1, "ion-text-right"], ["shape", "round", "type", "reset", "fill", "outline", 3, "click"], ["shape", "round", "type", "submit", "fill", "solid", 3, "click"]], template: function LegalDisclaimarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
168
|
+
i0.ɵɵelementStart(0, "form", 0, 1);
|
|
169
|
+
i0.ɵɵtemplate(2, LegalDisclaimarComponent_div_2_Template, 18, 18, "div", 2);
|
|
170
|
+
i0.ɵɵelementEnd();
|
|
171
|
+
} if (rf & 2) {
|
|
172
|
+
i0.ɵɵproperty("formGroup", ctx.form);
|
|
173
|
+
i0.ɵɵadvance(2);
|
|
174
|
+
i0.ɵɵproperty("ngIf", ctx.legalDisclaimar);
|
|
175
|
+
} }, dependencies: [i5.IonButton, i5.IonCol, i5.IonIcon, i5.IonRow, i6.NgIf, i7.PrimeTemplate, i2.ɵNgNoValidate, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.MinLengthValidator, i2.MaxLengthValidator, i2.FormControlDirective, i2.FormGroupDirective, i2.FormControlName, i8.Dialog, i9.InputText, i10.ErrorComponent], styles: [".form-label[_ngcontent-%COMP%]{display:inline-block;margin-bottom:6px;margin-top:20px}"] }); }
|
|
176
|
+
}
|
|
177
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LegalDisclaimarComponent, [{
|
|
178
|
+
type: Component,
|
|
179
|
+
args: [{ selector: 'app-legal-disclaimar', template: "<form [formGroup]=\"form\" #qeFormDirective=\"ngForm\">\n <div *ngIf=\"legalDisclaimar\">\n <p-dialog [(visible)]=\"displayPosition\" [position]=\"position\" modal=\"true\" [showHeader]=\"false\" appendTo=\"body\" [breakpoints]=\"{'960px': '80vw', '640px': '100vw'}\" [style]=\"{width: '60vw'}\">\n <h1>{{legalDisclaimar.privacyStatementTitle}}</h1>\n <div [innerHTML]=\"legalDisclaimar.privacyStatement\">\n \n </div>\n <h1>{{legalDisclaimar.benefitRightsTitle}}</h1>\n <div [innerHTML]=\"legalDisclaimar.benefitRights\"></div>\n <ng-template pTemplate=\"footer\">\n <ion-row>\n <ion-col class=\"ion-text-left ion-padding-top\" >\n I have read and understand the above statements. Sign with the last four digits of your social security number.<br/>\n </ion-col>\n </ion-row>\n <ion-row>\n <ion-col class=\"ion-text-left\">\n <input id=\"ssn\" type=\"input\" pInputText size=\"5\" [formControl]=\"lastfourssn\" maxlength=\"4\"\n minlength=\"4\"/>\n <br/>\n <app-error [class]=\"'app-grid'\" [field]='lastfourssn' [form]=\"qeFormDirective\" [errDef]=\"{\n required: 'Required.',\n notEqual: 'Last 4 number of entered SSN doesn\\'t match with your SSN\\'s last 4 number.'\n }\" *ngIf=\"this.qeFormDirective.touched || isSubmitted\"></app-error>\n </ion-col>\n <ion-col class=\"ion-text-right\">\n <ion-button shape=\"round\" (click)=\"cancelDisclaimar()\" type=\"reset\" fill=\"outline\">\n {{legalDisclaimar.cancelButton}}\n </ion-button>\n <ion-button shape=\"round\" type=\"submit\" (click)=\"acceptDisclaimar()\" fill=\"solid\">\n {{legalDisclaimar.acceptButton}}\n </ion-button>\n </ion-col>\n </ion-row>\n </ng-template>\n </p-dialog>\n <p class=\"form-label\"> {{legalDisclaimar.plsRead}}</p>\n <div class=\"grid p-nogutter\">\n <div class=\"col-12\">\n <input type=\"text\" id=\"legalHidden\" pInputText formControlName=\"legalHidden\" hidden />\n <ion-button shape=\"round\" (click)=\"showPositionDialog('top')\" type=\"submit\" fill=\"outline\">\n <ion-icon slot=\"start\" [name]=\"displayCheckBox ? 'checkmark-circle-outline' : 'ellipse-outline'\"\n style=\"font-size: 25px; font-weight: bold;\"></ion-icon>\n Disclaimers\n </ion-button>\n <app-error [field]='legalHidden' [form]=\"qeFormDirective\" [errDef]=\"{\n required: 'required.'\n }\"></app-error>\n </div>\n </div>\n </div>\n</form>\n", styles: [".form-label{display:inline-block;margin-bottom:6px;margin-top:20px}\n"] }]
|
|
180
|
+
}], () => [{ type: i1.LoggerService }, { type: i2.UntypedFormBuilder }, { type: i3.LoginService }, { type: i4.ActivatedRoute }], { qeFormDirective: [{
|
|
181
|
+
type: ViewChild,
|
|
182
|
+
args: ['qeFormDirective', { static: false }]
|
|
183
|
+
}], accepted: [{
|
|
184
|
+
type: Output
|
|
185
|
+
}], form: [{
|
|
186
|
+
type: Input
|
|
187
|
+
}], question: [{
|
|
188
|
+
type: Input
|
|
189
|
+
}], componentData: [{
|
|
190
|
+
type: Input
|
|
191
|
+
}] }); })();
|
|
192
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LegalDisclaimarComponent, { className: "LegalDisclaimarComponent" }); })();
|
|
193
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGVnYWwtZGlzY2xhaW1hci5j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GNsYXNzPVwiY29sLTEyXCI+XG4gICAgICAgIDxpbnB1dCB0eXBlPVwidGV4dFwiIGlkPVwibGVnYWxIaWRkZW5cIiBwSW5wdXRUZXh0IGZvcm1Db250cm9sTmFtZT1cImxlZ2FsSGlkZGVuXCIgaGlkZGVuIC8+XG4gICAgICAgIDxpb24tYnV0dG9uIHNoYXBlPVwicm91bmRcIiAoY2xpY2spPVwic2hvd1Bvc2l0aW9uRGlhbG9nKCd0b3AnKVwiIHR5cGU9XCJzdWJtaXRcIiBmaWxsPVwib3V0bGluZVwiPlxuICAgICAgICAgIDxpb24taWNvbiBzbG90PVwic3RhcnRcIiBbbmFtZV09XCJkaXNwbGF5Q2hlY2tCb3ggPyAnY2hlY2ttYXJrLWNpcmNsZS1vdXRsaW5lJyA6ICdlbGxpcHNlLW91dGxpbmUnXCJcbiAgICAgICAgICAgIHN0eWxlPVwiZm9udC1zaXplOiAyNXB4OyBmb250LXdlaWdodDogYm9sZDtcIj48L2lvbi1pY29uPlxuICAgICAgICAgIERpc2NsYWltZXJzXG4gICAgICAgIDwvaW9uLWJ1dHRvbj5cbiAgICAgICAgPGFwcC1lcnJvciBbZmllbGRdPSdsZWdhbEhpZGRlbicgW2Zvcm1dPVwicWVGb3JtRGlyZWN0aXZlXCIgW2VyckRlZl09XCJ7XG4gICAgICAgICAgcmVxdWlyZWQ6ICdyZXF1aXJlZC4nXG4gICAgICAgIH1cIj48L2FwcC1lcnJvcj5cbiAgICAgIDwvZGl2PlxuICAgIDwvZGl2PlxuICA8L2Rpdj5cbjwvZm9ybT5cbiJdfQ==
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../../services/maintenance/maintenance.service";
|
|
4
|
+
import * as i2 from "@ionic/angular";
|
|
5
|
+
import * as i3 from "primeng/blockui";
|
|
6
|
+
export class MaintenanceDetectorComponent {
|
|
7
|
+
constructor(ms, nav) {
|
|
8
|
+
this.ms = ms;
|
|
9
|
+
this.nav = nav;
|
|
10
|
+
this.blockUi = true;
|
|
11
|
+
}
|
|
12
|
+
ngOnInit() {
|
|
13
|
+
this.checkForMaintenance();
|
|
14
|
+
}
|
|
15
|
+
checkForMaintenance() {
|
|
16
|
+
this.ms.checkforMaintenance()
|
|
17
|
+
.subscribe(res => {
|
|
18
|
+
this.blockUi = false;
|
|
19
|
+
if (res.isAppUnderMaintenance) {
|
|
20
|
+
this.nav.navigateRoot('maintenance');
|
|
21
|
+
}
|
|
22
|
+
}, err => {
|
|
23
|
+
this.blockUi = false;
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
ionViewDidEnter() {
|
|
27
|
+
this.checkForMaintenance();
|
|
28
|
+
}
|
|
29
|
+
static { this.ɵfac = function MaintenanceDetectorComponent_Factory(t) { return new (t || MaintenanceDetectorComponent)(i0.ɵɵdirectiveInject(i1.MaintenanceService), i0.ɵɵdirectiveInject(i2.NavController)); }; }
|
|
30
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MaintenanceDetectorComponent, selectors: [["app-maintenance-detector"]], decls: 2, vars: 1, consts: [[3, "blocked"], ["name", "crescent"]], template: function MaintenanceDetectorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
31
|
+
i0.ɵɵelementStart(0, "p-blockUI", 0);
|
|
32
|
+
i0.ɵɵelement(1, "ion-spinner", 1);
|
|
33
|
+
i0.ɵɵelementEnd();
|
|
34
|
+
} if (rf & 2) {
|
|
35
|
+
i0.ɵɵproperty("blocked", ctx.blockUi);
|
|
36
|
+
} }, dependencies: [i2.IonSpinner, i3.BlockUI] }); }
|
|
37
|
+
}
|
|
38
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MaintenanceDetectorComponent, [{
|
|
39
|
+
type: Component,
|
|
40
|
+
args: [{ selector: 'app-maintenance-detector', template: "<p-blockUI [blocked]=\"blockUi\">\n <ion-spinner name=\"crescent\"></ion-spinner>\n</p-blockUI>\n" }]
|
|
41
|
+
}], () => [{ type: i1.MaintenanceService }, { type: i2.NavController }], null); })();
|
|
42
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MaintenanceDetectorComponent, { className: "MaintenanceDetectorComponent" }); })();
|
|
43
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFpbnRlbmFuY2UtZGV0ZWN0b3IuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXJldXNhLWFwcC1saWIvc3JjL2xpYi9jb21wb25lbnRzL21haW50ZW5hbmNlLWRldGVjdG9yL21haW50ZW5hbmNlLWRldGVjdG9yLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1yZXVzYS1hcHAtbGliL3NyYy9saWIvY29tcG9uZW50cy9tYWludGVuYW5jZS1kZXRlY3Rvci9tYWludGVuYW5jZS1kZXRlY3Rvci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFTLE1BQU0sZUFBZSxDQUFDOzs7OztBQVdqRCxNQUFNLE9BQU8sNEJBQTRCO0lBR3ZDLFlBQW1CLEVBQXVCLEVBQVMsR0FBbUI7UUFBbkQsT0FBRSxHQUFGLEVBQUUsQ0FBcUI7UUFBUyxRQUFHLEdBQUgsR0FBRyxDQUFnQjtRQUQvRCxZQUFPLEdBQWEsSUFBSSxDQUFDO0lBQzBDLENBQUM7SUFFM0UsUUFBUTtRQUNOLElBQUksQ0FBQyxtQkFBbUIsRUFBRSxDQUFDO0lBQzdCLENBQUM7SUFFRCxtQkFBbUI7UUFDakIsSUFBSSxDQUFDLEVBQUUsQ0FBQyxtQkFBbUIsRUFBRTth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XIgbmFtZT1cImNyZXNjZW50XCI+PC9pb24tc3Bpbm5lcj5cbjwvcC1ibG9ja1VJPlxuIl19
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../../services/util/util.service";
|
|
4
|
+
import * as i2 from "@angular/common";
|
|
5
|
+
import * as i3 from "primeng/inplace";
|
|
6
|
+
import * as i4 from "primeng/button";
|
|
7
|
+
import * as i5 from "primeng/api";
|
|
8
|
+
function MaskComponent_1_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
9
|
+
i0.ɵɵtext(0);
|
|
10
|
+
i0.ɵɵelement(1, "button", 4);
|
|
11
|
+
} if (rf & 2) {
|
|
12
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
13
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r2.util.mask(ctx_r2.value, ctx_r2.value.length / 2), " ");
|
|
14
|
+
} }
|
|
15
|
+
function MaskComponent_1_Template(rf, ctx) { if (rf & 1) {
|
|
16
|
+
i0.ɵɵtemplate(0, MaskComponent_1_ng_template_0_Template, 2, 1, "ng-template", 3);
|
|
17
|
+
} }
|
|
18
|
+
function MaskComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
19
|
+
i0.ɵɵtext(0);
|
|
20
|
+
} if (rf & 2) {
|
|
21
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
22
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r1.value, " ");
|
|
23
|
+
} }
|
|
24
|
+
export class MaskComponent {
|
|
25
|
+
constructor(util) {
|
|
26
|
+
this.util = util;
|
|
27
|
+
}
|
|
28
|
+
ngOnInit() {
|
|
29
|
+
}
|
|
30
|
+
static { this.ɵfac = function MaskComponent_Factory(t) { return new (t || MaskComponent)(i0.ɵɵdirectiveInject(i1.UtilService)); }; }
|
|
31
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MaskComponent, selectors: [["app-mask"]], inputs: { value: "value" }, decls: 3, vars: 1, consts: [["closable", "true", "closeIcon", "pi pi-eye-slash"], [4, "ngIf"], ["pTemplate", "content"], ["pTemplate", "display"], ["pButton", "", "type", "button", "icon", "pi pi-eye"]], template: function MaskComponent_Template(rf, ctx) { if (rf & 1) {
|
|
32
|
+
i0.ɵɵelementStart(0, "p-inplace", 0);
|
|
33
|
+
i0.ɵɵtemplate(1, MaskComponent_1_Template, 1, 0, null, 1)(2, MaskComponent_ng_template_2_Template, 1, 1, "ng-template", 2);
|
|
34
|
+
i0.ɵɵelementEnd();
|
|
35
|
+
} if (rf & 2) {
|
|
36
|
+
i0.ɵɵadvance(1);
|
|
37
|
+
i0.ɵɵproperty("ngIf", ctx.value);
|
|
38
|
+
} }, dependencies: [i2.NgIf, i3.Inplace, i4.ButtonDirective, i5.PrimeTemplate], styles: ["button.ui-button[_ngcontent-%COMP%]{background-color:var(--ion-color-medium)!important;border:1px solid white!important;font-size:x-small}[_nghost-%COMP%] p-inplace .p-button.p-button-icon-only{height:1.75rem!important;width:1.75rem!important}[_nghost-%COMP%] p-inplace .p-button{background-color:var(--ion-color-medium)!important;border:1px solid white!important;font-size:x-small}[_nghost-%COMP%] p-inplace .pi{font-size:1rem!important}"] }); }
|
|
39
|
+
}
|
|
40
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MaskComponent, [{
|
|
41
|
+
type: Component,
|
|
42
|
+
args: [{ selector: 'app-mask', template: "<p-inplace closable=\"true\" closeIcon=\"pi pi-eye-slash\">\n <ng-template pTemplate=\"display\" *ngIf=\"value\">\n {{util.mask(value, value.length/2)}}\n <button pButton type=\"button\" icon=\"pi pi-eye\" ></button>\n </ng-template>\n <ng-template pTemplate=\"content\">\n {{value}}\n </ng-template>\n</p-inplace>", styles: ["button.ui-button{background-color:var(--ion-color-medium)!important;border:1px solid white!important;font-size:x-small}:host ::ng-deep p-inplace .p-button.p-button-icon-only{height:1.75rem!important;width:1.75rem!important}:host ::ng-deep p-inplace .p-button{background-color:var(--ion-color-medium)!important;border:1px solid white!important;font-size:x-small}:host ::ng-deep p-inplace .pi{font-size:1rem!important}\n"] }]
|
|
43
|
+
}], () => [{ type: i1.UtilService }], { value: [{
|
|
44
|
+
type: Input,
|
|
45
|
+
args: ['value']
|
|
46
|
+
}] }); })();
|
|
47
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MaskComponent, { className: "MaskComponent" }); })();
|
|
48
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFzay5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtcmV1c2EtYXBwLWxpYi9zcmMvbGliL2NvbXBvbmVudHMvbWFzay9tYXNrLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1yZXVzYS1hcHAtbGliL3NyYy9saWIvY29tcG9uZW50cy9tYXNrL21hc2suY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQVUsTUFBTSxlQUFlLENBQUM7Ozs7Ozs7O0lDRXJELFlBQ0E7SUFBQSw0QkFBeUQ7OztJQUR6RCx3RkFDQTs7O0lBRkYsZ0ZBR2M7OztJQUVaLFlBQ0Y7OztJQURFLDZDQUNGOztBRENGLE1BQU0sT0FBTyxhQUFhO0lBSXhCLFlBQW1CLElBQWtCO1FBQWxCLFNBQUksR0FBSixJQUFJLENBQWM7SUFBSSxDQUFDO0lBRTFDLFFBQVE7SUFDUixDQUFDOzhFQVBVLGFBQWE7b0VBQWIsYUFBYTtZQ1IxQixvQ0FBdUQ7WUFDckQseURBR2MsaUVBQUE7WUFJaEIsaU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