@ksremp/ngx-ksremp-app-lib 1.0.0
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/README.md +46 -0
- package/esm2022/ksremp-ngx-ksremp-app-lib.mjs +5 -0
- package/esm2022/lib/annimations/app-animations.mjs +37 -0
- package/esm2022/lib/components/add-employer/add-employer.component.mjs +2655 -0
- package/esm2022/lib/components/add-participant/add-participant.component.mjs +399 -0
- package/esm2022/lib/components/add-payment/add-payment.component.mjs +201 -0
- package/esm2022/lib/components/address/address.component.mjs +565 -0
- package/esm2022/lib/components/bank-details/bank-details.component.mjs +416 -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 +984 -0
- package/esm2022/lib/components/content/content.component.mjs +61 -0
- package/esm2022/lib/components/correspondence-download/correspondence-download.component.mjs +89 -0
- package/esm2022/lib/components/dashboard-card/dashboard-card.component.mjs +223 -0
- package/esm2022/lib/components/dependent-grid/dependent-grid.component.mjs +301 -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 +376 -0
- package/esm2022/lib/components/employer-grid/employer-grid.component.mjs +1102 -0
- package/esm2022/lib/components/error/error.component.mjs +86 -0
- package/esm2022/lib/components/fav-menu/fav-menu.component.mjs +163 -0
- package/esm2022/lib/components/file-download/file-download.component.mjs +104 -0
- package/esm2022/lib/components/file-uploader/file-uploader.component.mjs +315 -0
- package/esm2022/lib/components/footer/footer.component.mjs +350 -0
- package/esm2022/lib/components/header/header.component.mjs +535 -0
- package/esm2022/lib/components/help/help.component.mjs +49 -0
- package/esm2022/lib/components/idle-detector/idle-detector.component.mjs +76 -0
- package/esm2022/lib/components/info/info.component.mjs +187 -0
- package/esm2022/lib/components/job-search-result-page/job-search-result-page.component.mjs +212 -0
- package/esm2022/lib/components/job-title/job-title.component.mjs +162 -0
- package/esm2022/lib/components/legal-disclaimar/legal-disclaimar.component.mjs +617 -0
- package/esm2022/lib/components/lexis-nexis/lexis-nexis.component.mjs +402 -0
- package/esm2022/lib/components/link/link.component.mjs +131 -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 +452 -0
- package/esm2022/lib/components/mfa/mfa.component.mjs +574 -0
- package/esm2022/lib/components/mfa-popup/mfa-popup.component.mjs +57 -0
- package/esm2022/lib/components/mfa2/mfa2.component.mjs +285 -0
- package/esm2022/lib/components/money-expect/money-expect.component.mjs +98 -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 +505 -0
- package/esm2022/lib/components/profile-redirect/profile-redirect.component.mjs +70 -0
- package/esm2022/lib/components/questionnaire/AppValidators.mjs +541 -0
- package/esm2022/lib/components/questionnaire/FbConstants.mjs +8 -0
- package/esm2022/lib/components/questionnaire/SelectItem.mjs +2 -0
- package/esm2022/lib/components/questionnaire/account-success/account-success.page.mjs +310 -0
- package/esm2022/lib/components/questionnaire/common-success/common-success.page.mjs +528 -0
- package/esm2022/lib/components/questionnaire/dynamic-form-panel.component.mjs +1115 -0
- package/esm2022/lib/components/questionnaire/dynamic-form-question.component.mjs +2521 -0
- package/esm2022/lib/components/questionnaire/dynamic-form.component.mjs +1788 -0
- package/esm2022/lib/components/questionnaire/form-builder/form-builder.page.mjs +256 -0
- package/esm2022/lib/components/questionnaire/input-focus.directive.mjs +44 -0
- package/esm2022/lib/components/questionnaire/multi-questionnaire/multi-questionnaire.component.mjs +255 -0
- package/esm2022/lib/components/questionnaire/question-base.mjs +3 -0
- package/esm2022/lib/components/questionnaire/question-control.service.mjs +408 -0
- package/esm2022/lib/components/questionnaire/question.service.mjs +33 -0
- package/esm2022/lib/components/questionnaire/render-questionnaire/render-questionnaire.page.mjs +282 -0
- package/esm2022/lib/components/read-more/read-more.component.mjs +72 -0
- 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 +132 -0
- package/esm2022/lib/components/security-question/security-question.component.mjs +199 -0
- package/esm2022/lib/components/select/select.component.mjs +159 -0
- package/esm2022/lib/components/sign-ssn/sign-ssn.component.mjs +141 -0
- package/esm2022/lib/components/ssn/ssn.component.mjs +44 -0
- package/esm2022/lib/components/ssn-reverify/ssn-reverify.component.mjs +171 -0
- package/esm2022/lib/components/test/test.component.mjs +19 -0
- package/esm2022/lib/components/user-login/user-login.component.mjs +619 -0
- package/esm2022/lib/components/weekly-cert-employer/weekly-cert-employer.component.mjs +772 -0
- package/esm2022/lib/components/weekly-cert-employer-grid/weekly-cert-employer-grid.component.mjs +356 -0
- package/esm2022/lib/directives/auto-focus/auto-focus.directive.mjs +31 -0
- package/esm2022/lib/directives/caps-lock.directive.mjs +38 -0
- package/esm2022/lib/directives/required-roles/required-roles.directive.mjs +30 -0
- package/esm2022/lib/enums/EmailStatusEnum.mjs +9 -0
- package/esm2022/lib/guards/auth.guard.mjs +138 -0
- package/esm2022/lib/guards/no-login/no-login.guard.mjs +21 -0
- package/esm2022/lib/interceptors/error-interceptor/http-error-interceptor.mjs +107 -0
- package/esm2022/lib/interceptors/header-interceptor/http-header.interceptor.mjs +99 -0
- package/esm2022/lib/models/AddressComponentModel.mjs +3 -0
- package/esm2022/lib/models/BankDetailsComponentModel.mjs +3 -0
- package/esm2022/lib/models/BankDetailsModel.mjs +3 -0
- package/esm2022/lib/models/CinRequalificationCriteriaModel.mjs +3 -0
- package/esm2022/lib/models/EmployerDetailSearchResult.mjs +6 -0
- package/esm2022/lib/models/ErrorModel.mjs +6 -0
- package/esm2022/lib/models/FileModel.mjs +2 -0
- package/esm2022/lib/models/LexisNexisAccountCreationModel.mjs +2 -0
- package/esm2022/lib/models/LexisNexisAuthSelectionRequestModel.mjs +2 -0
- package/esm2022/lib/models/LexisNexisAuthSelectionResponseModel.mjs +2 -0
- package/esm2022/lib/models/LexisNexisEnabledResponseModel.mjs +2 -0
- package/esm2022/lib/models/LexisNexisResponseModel.mjs +3 -0
- package/esm2022/lib/models/LibConstants.mjs +132 -0
- package/esm2022/lib/models/NewsAndAnnouncementModel.mjs +3 -0
- package/esm2022/lib/models/NotificationModel.mjs +6 -0
- package/esm2022/lib/models/OtpAuthModel.mjs +3 -0
- package/esm2022/lib/models/PartialEmploymentModel.mjs +3 -0
- package/esm2022/lib/models/PaymentComponentModel.mjs +2 -0
- package/esm2022/lib/models/RequalifyLiftPageModel.mjs +11 -0
- package/esm2022/lib/models/SecurityQuestionModel.mjs +3 -0
- package/esm2022/lib/models/SsaVerificationModel.mjs +3 -0
- package/esm2022/lib/models/TrendModel.mjs +3 -0
- package/esm2022/lib/models/UserDetailsModel.mjs +3 -0
- package/esm2022/lib/models/UserModel.mjs +6 -0
- package/esm2022/lib/models/case/CaseAttachmentModel.mjs +3 -0
- package/esm2022/lib/models/claimant/ClaimantModel.mjs +3 -0
- package/esm2022/lib/models/claimant/JobResultsData.mjs +3 -0
- package/esm2022/lib/models/claimant/MatchingJobs.mjs +3 -0
- package/esm2022/lib/models/claimant/ResetPasswordModel.mjs +3 -0
- package/esm2022/lib/models/cmp/CaseCoreModel.mjs +3 -0
- package/esm2022/lib/models/cmp/ComplaintCategoryModel.mjs +3 -0
- package/esm2022/lib/models/cmp/ComplaintCategoryOutputModel.mjs +5 -0
- package/esm2022/lib/models/cmp/ContactUsModel.mjs +3 -0
- package/esm2022/lib/models/cmp/EmailTemplateModel.mjs +3 -0
- package/esm2022/lib/models/cmp/contactUsInqueryModel.mjs +7 -0
- package/esm2022/lib/models/cmp/messageRourceModel.mjs +3 -0
- package/esm2022/lib/models/dashboard-model.mjs +3 -0
- package/esm2022/lib/models/dependent.model.mjs +8 -0
- package/esm2022/lib/models/questionnaire/AutocoderModel.mjs +3 -0
- package/esm2022/lib/models/questionnaire/ClaimAppEmpRequestModel.mjs +3 -0
- package/esm2022/lib/models/questionnaire/ClaimAppEmpResponseModel.mjs +8 -0
- package/esm2022/lib/models/questionnaire/ClaimAppEmployerDetailsModel.mjs +6 -0
- package/esm2022/lib/models/questionnaire/ClaimOnlyEmployerDataModel.mjs +3 -0
- package/esm2022/lib/models/questionnaire/ComboModel.mjs +1010 -0
- package/esm2022/lib/models/questionnaire/ElementsModel.mjs +8 -0
- package/esm2022/lib/models/questionnaire/EmployerDetailSearchResult.mjs +3 -0
- package/esm2022/lib/models/questionnaire/EmployerWagesModel.mjs +3 -0
- package/esm2022/lib/models/questionnaire/FBConfigModel.mjs +6 -0
- package/esm2022/lib/models/questionnaire/KeyValueModel.mjs +3 -0
- package/esm2022/lib/models/questionnaire/LegalDiscaimarModel.mjs +3 -0
- package/esm2022/lib/models/questionnaire/LoaderModel.mjs +3 -0
- package/esm2022/lib/models/questionnaire/PollingStatusModel.mjs +3 -0
- package/esm2022/lib/models/questionnaire/QtrYearEmployerWageModel.mjs +3 -0
- package/esm2022/lib/models/questionnaire/QuestionnaireQueryModel.mjs +8 -0
- package/esm2022/lib/models/questionnaire/QuestionnaireReturnModel.mjs +11 -0
- package/esm2022/lib/models/questionnaire/QuestionnaireSaveModel.mjs +3 -0
- package/esm2022/lib/models/questionnaire/RequalifyLiftIssuesModel.mjs +3 -0
- package/esm2022/lib/models/questionnaire/ServiceActionResponseModel.mjs +3 -0
- package/esm2022/lib/models/questionnaire/StatusModel.mjs +6 -0
- package/esm2022/lib/models/questionnaire/SuccessPageElement.mjs +3 -0
- package/esm2022/lib/models/questionnaire/UI512AResponseModel.mjs +3 -0
- package/esm2022/lib/models/questionnaire/ValidationModel.mjs +3 -0
- package/esm2022/lib/ngx-reusa-app-lib.component.mjs +23 -0
- package/esm2022/lib/ngx-reusa-app-lib.module.mjs +410 -0
- package/esm2022/lib/ngx-reusa-app-lib.service.mjs +14 -0
- package/esm2022/lib/pages/BasePage.mjs +98 -0
- package/esm2022/lib/pages/common/accessibility-policy/accessibility-policy.page.mjs +77 -0
- package/esm2022/lib/pages/common/change-password/change-password.page.mjs +471 -0
- package/esm2022/lib/pages/common/landing/landing.component.mjs +209 -0
- package/esm2022/lib/pages/common/landing2/landing2.component.mjs +244 -0
- package/esm2022/lib/pages/common/login/login.component.mjs +533 -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 +62 -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/esm2022/lib/pipes/filter.pipe.mjs +30 -0
- package/esm2022/lib/pipes/mask/mask.email.pipe.mjs +23 -0
- package/esm2022/lib/pipes/proper-case/proper-case.pipe.mjs +27 -0
- package/esm2022/lib/pipes/translate/dynamic-translate.pipe.mjs +44 -0
- package/esm2022/lib/pipes/trust-html/trust-html.pipe.mjs +20 -0
- package/esm2022/lib/services/base-service.mjs +50 -0
- package/esm2022/lib/services/captcha/captcha.service.mjs +46 -0
- package/esm2022/lib/services/case-service/case.service.mjs +47 -0
- package/esm2022/lib/services/chatbot/chatbot.service.mjs +258 -0
- package/esm2022/lib/services/chatbot/script.const.mjs +42 -0
- package/esm2022/lib/services/claimant/claimant.service.mjs +31 -0
- package/esm2022/lib/services/claimant-context/claimant-context.service.mjs +48 -0
- package/esm2022/lib/services/claimant-service/claimant-usps-redirect.service.mjs +36 -0
- package/esm2022/lib/services/claimant-service/claimant.service.mjs +62 -0
- package/esm2022/lib/services/claims/claims.service.mjs +102 -0
- package/esm2022/lib/services/cmp-service/cmp.service.mjs +84 -0
- package/esm2022/lib/services/dms-service/dms.service.mjs +60 -0
- package/esm2022/lib/services/fpjs/fingerprint.service.mjs +70 -0
- package/esm2022/lib/services/google-analytics/google-analytics.service.mjs +29 -0
- package/esm2022/lib/services/help/help.service.mjs +63 -0
- package/esm2022/lib/services/idle/idle.service.mjs +159 -0
- package/esm2022/lib/services/lexis-nexis/lexis.nexis.service.mjs +60 -0
- package/esm2022/lib/services/logger/logger.service.mjs +67 -0
- package/esm2022/lib/services/login/login.service.mjs +343 -0
- package/esm2022/lib/services/maintenance/maintenance.service.mjs +21 -0
- package/esm2022/lib/services/notification/notification.service.mjs +113 -0
- package/esm2022/lib/services/ovp/ovp.service.mjs +43 -0
- package/esm2022/lib/services/questionnaire/questionnaire.service.mjs +69 -0
- package/esm2022/lib/services/questionnaire/validation.service.mjs +59 -0
- package/esm2022/lib/services/security-service/security.service.mjs +42 -0
- package/esm2022/lib/services/tour/tour.service.mjs +60 -0
- package/esm2022/lib/services/util/util.service.mjs +450 -0
- package/esm2022/lib/services/weekly-cert/weekly-cert-v2.service.mjs +42 -0
- package/esm2022/lib/validations/AppRegex.mjs +51 -0
- package/esm2022/lib/validations/AppValidators.mjs +253 -0
- package/esm2022/public-api.mjs +138 -0
- package/fesm2022/ksremp-ngx-ksremp-app-lib.mjs +33786 -0
- package/fesm2022/ksremp-ngx-ksremp-app-lib.mjs.map +1 -0
- package/index.d.ts +6 -0
- package/ksremp-ngx-ksremp-app-lib.d.ts.map +1 -0
- package/lib/annimations/app-animations.d.ts +4 -0
- package/lib/annimations/app-animations.d.ts.map +1 -0
- package/lib/components/add-employer/add-employer.component.d.ts +234 -0
- package/lib/components/add-employer/add-employer.component.d.ts.map +1 -0
- package/lib/components/add-participant/add-participant.component.d.ts +49 -0
- package/lib/components/add-participant/add-participant.component.d.ts.map +1 -0
- package/lib/components/add-payment/add-payment.component.d.ts +33 -0
- package/lib/components/add-payment/add-payment.component.d.ts.map +1 -0
- package/lib/components/address/address.component.d.ts +81 -0
- package/lib/components/address/address.component.d.ts.map +1 -0
- package/lib/components/bank-details/bank-details.component.d.ts +62 -0
- package/lib/components/bank-details/bank-details.component.d.ts.map +1 -0
- package/lib/components/captcha/captcha.component.d.ts +45 -0
- package/lib/components/captcha/captcha.component.d.ts.map +1 -0
- package/lib/components/card/card.component.d.ts +12 -0
- package/lib/components/card/card.component.d.ts.map +1 -0
- package/lib/components/contact-us/contact-us.component.d.ts +109 -0
- package/lib/components/contact-us/contact-us.component.d.ts.map +1 -0
- package/lib/components/content/content.component.d.ts +14 -0
- package/lib/components/content/content.component.d.ts.map +1 -0
- package/lib/components/correspondence-download/correspondence-download.component.d.ts +22 -0
- package/lib/components/correspondence-download/correspondence-download.component.d.ts.map +1 -0
- package/lib/components/dashboard-card/dashboard-card.component.d.ts +26 -0
- package/lib/components/dashboard-card/dashboard-card.component.d.ts.map +1 -0
- package/lib/components/dependent-grid/dependent-grid.component.d.ts +36 -0
- package/lib/components/dependent-grid/dependent-grid.component.d.ts.map +1 -0
- package/lib/components/disclosure/disclosure.component.d.ts +13 -0
- package/lib/components/disclosure/disclosure.component.d.ts.map +1 -0
- package/lib/components/dropdown/dropdown.component.d.ts +582 -0
- package/lib/components/dropdown/dropdown.component.d.ts.map +1 -0
- 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 +43 -0
- package/lib/components/email-update/email-update.component.d.ts.map +1 -0
- package/lib/components/employer-grid/employer-grid.component.d.ts +90 -0
- package/lib/components/employer-grid/employer-grid.component.d.ts.map +1 -0
- package/lib/components/error/error.component.d.ts +18 -0
- package/lib/components/error/error.component.d.ts.map +1 -0
- package/lib/components/fav-menu/fav-menu.component.d.ts +22 -0
- package/lib/components/fav-menu/fav-menu.component.d.ts.map +1 -0
- package/lib/components/file-download/file-download.component.d.ts +23 -0
- package/lib/components/file-download/file-download.component.d.ts.map +1 -0
- package/lib/components/file-uploader/file-uploader.component.d.ts +48 -0
- package/lib/components/file-uploader/file-uploader.component.d.ts.map +1 -0
- package/lib/components/footer/footer.component.d.ts +37 -0
- package/lib/components/footer/footer.component.d.ts.map +1 -0
- package/lib/components/header/header.component.d.ts +64 -0
- package/lib/components/header/header.component.d.ts.map +1 -0
- package/lib/components/help/help.component.d.ts +11 -0
- package/lib/components/help/help.component.d.ts.map +1 -0
- package/lib/components/idle-detector/idle-detector.component.d.ts +16 -0
- package/lib/components/idle-detector/idle-detector.component.d.ts.map +1 -0
- package/lib/components/info/info.component.d.ts +23 -0
- package/lib/components/info/info.component.d.ts.map +1 -0
- package/lib/components/job-search-result-page/job-search-result-page.component.d.ts +24 -0
- package/lib/components/job-search-result-page/job-search-result-page.component.d.ts.map +1 -0
- package/lib/components/job-title/job-title.component.d.ts +38 -0
- package/lib/components/job-title/job-title.component.d.ts.map +1 -0
- package/lib/components/legal-disclaimar/legal-disclaimar.component.d.ts +39 -0
- package/lib/components/legal-disclaimar/legal-disclaimar.component.d.ts.map +1 -0
- package/lib/components/lexis-nexis/lexis-nexis.component.d.ts +59 -0
- package/lib/components/lexis-nexis/lexis-nexis.component.d.ts.map +1 -0
- package/lib/components/link/link.component.d.ts +35 -0
- package/lib/components/link/link.component.d.ts.map +1 -0
- package/lib/components/maintenance-detector/maintenance-detector.component.d.ts +16 -0
- package/lib/components/maintenance-detector/maintenance-detector.component.d.ts.map +1 -0
- package/lib/components/mask/mask.component.d.ts +12 -0
- package/lib/components/mask/mask.component.d.ts.map +1 -0
- package/lib/components/menu/menu.component.d.ts +54 -0
- package/lib/components/menu/menu.component.d.ts.map +1 -0
- package/lib/components/mfa/mfa.component.d.ts +72 -0
- package/lib/components/mfa/mfa.component.d.ts.map +1 -0
- package/lib/components/mfa-popup/mfa-popup.component.d.ts +19 -0
- package/lib/components/mfa-popup/mfa-popup.component.d.ts.map +1 -0
- package/lib/components/mfa2/mfa2.component.d.ts +48 -0
- package/lib/components/mfa2/mfa2.component.d.ts.map +1 -0
- package/lib/components/money-expect/money-expect.component.d.ts +19 -0
- package/lib/components/money-expect/money-expect.component.d.ts.map +1 -0
- package/lib/components/msg/msg.component.d.ts +11 -0
- package/lib/components/msg/msg.component.d.ts.map +1 -0
- package/lib/components/news/news.component.d.ts +15 -0
- package/lib/components/news/news.component.d.ts.map +1 -0
- package/lib/components/overlay-info/overlay-info.component.d.ts +35 -0
- package/lib/components/overlay-info/overlay-info.component.d.ts.map +1 -0
- package/lib/components/page/page.component.d.ts +24 -0
- package/lib/components/page/page.component.d.ts.map +1 -0
- package/lib/components/profile/profile.component.d.ts +74 -0
- package/lib/components/profile/profile.component.d.ts.map +1 -0
- package/lib/components/profile-redirect/profile-redirect.component.d.ts +14 -0
- package/lib/components/profile-redirect/profile-redirect.component.d.ts.map +1 -0
- package/lib/components/questionnaire/AppValidators.d.ts +16 -0
- package/lib/components/questionnaire/AppValidators.d.ts.map +1 -0
- package/lib/components/questionnaire/FbConstants.d.ts +8 -0
- package/lib/components/questionnaire/FbConstants.d.ts.map +1 -0
- package/lib/components/questionnaire/SelectItem.d.ts +5 -0
- package/lib/components/questionnaire/SelectItem.d.ts.map +1 -0
- package/lib/components/questionnaire/account-success/account-success.page.d.ts +61 -0
- package/lib/components/questionnaire/account-success/account-success.page.d.ts.map +1 -0
- package/lib/components/questionnaire/common-success/common-success.page.d.ts +77 -0
- package/lib/components/questionnaire/common-success/common-success.page.d.ts.map +1 -0
- package/lib/components/questionnaire/dynamic-form-panel.component.d.ts +47 -0
- package/lib/components/questionnaire/dynamic-form-panel.component.d.ts.map +1 -0
- package/lib/components/questionnaire/dynamic-form-question.component.d.ts +128 -0
- package/lib/components/questionnaire/dynamic-form-question.component.d.ts.map +1 -0
- package/lib/components/questionnaire/dynamic-form.component.d.ts +161 -0
- package/lib/components/questionnaire/dynamic-form.component.d.ts.map +1 -0
- package/lib/components/questionnaire/form-builder/form-builder.page.d.ts +74 -0
- package/lib/components/questionnaire/form-builder/form-builder.page.d.ts.map +1 -0
- package/lib/components/questionnaire/input-focus.directive.d.ts +12 -0
- package/lib/components/questionnaire/input-focus.directive.d.ts.map +1 -0
- package/lib/components/questionnaire/multi-questionnaire/multi-questionnaire.component.d.ts +39 -0
- package/lib/components/questionnaire/multi-questionnaire/multi-questionnaire.component.d.ts.map +1 -0
- package/lib/components/questionnaire/question-base.d.ts +17 -0
- package/lib/components/questionnaire/question-base.d.ts.map +1 -0
- package/lib/components/questionnaire/question-control.service.d.ts +21 -0
- package/lib/components/questionnaire/question-control.service.d.ts.map +1 -0
- package/lib/components/questionnaire/question.service.d.ts +19 -0
- package/lib/components/questionnaire/question.service.d.ts.map +1 -0
- package/lib/components/questionnaire/render-questionnaire/render-questionnaire.page.d.ts +83 -0
- package/lib/components/questionnaire/render-questionnaire/render-questionnaire.page.d.ts.map +1 -0
- package/lib/components/read-more/read-more.component.d.ts +15 -0
- package/lib/components/read-more/read-more.component.d.ts.map +1 -0
- package/lib/components/requalify-lift-previous-issues/requalify-lift-previous-issues.component.d.ts +68 -0
- package/lib/components/requalify-lift-previous-issues/requalify-lift-previous-issues.component.d.ts.map +1 -0
- package/lib/components/search-employer/search-employer.component.d.ts +40 -0
- package/lib/components/search-employer/search-employer.component.d.ts.map +1 -0
- package/lib/components/security-question/security-question.component.d.ts +37 -0
- package/lib/components/security-question/security-question.component.d.ts.map +1 -0
- package/lib/components/select/select.component.d.ts +56 -0
- package/lib/components/select/select.component.d.ts.map +1 -0
- package/lib/components/sign-ssn/sign-ssn.component.d.ts +34 -0
- package/lib/components/sign-ssn/sign-ssn.component.d.ts.map +1 -0
- package/lib/components/ssn/ssn.component.d.ts +12 -0
- package/lib/components/ssn/ssn.component.d.ts.map +1 -0
- package/lib/components/ssn-reverify/ssn-reverify.component.d.ts +27 -0
- package/lib/components/ssn-reverify/ssn-reverify.component.d.ts.map +1 -0
- package/lib/components/test/test.component.d.ts +9 -0
- package/lib/components/test/test.component.d.ts.map +1 -0
- package/lib/components/user-login/user-login.component.d.ts +82 -0
- package/lib/components/user-login/user-login.component.d.ts.map +1 -0
- package/lib/components/weekly-cert-employer/weekly-cert-employer.component.d.ts +67 -0
- package/lib/components/weekly-cert-employer/weekly-cert-employer.component.d.ts.map +1 -0
- package/lib/components/weekly-cert-employer-grid/weekly-cert-employer-grid.component.d.ts +47 -0
- package/lib/components/weekly-cert-employer-grid/weekly-cert-employer-grid.component.d.ts.map +1 -0
- package/lib/directives/auto-focus/auto-focus.directive.d.ts +13 -0
- package/lib/directives/auto-focus/auto-focus.directive.d.ts.map +1 -0
- package/lib/directives/caps-lock.directive.d.ts +12 -0
- package/lib/directives/caps-lock.directive.d.ts.map +1 -0
- package/lib/directives/required-roles/required-roles.directive.d.ts +15 -0
- package/lib/directives/required-roles/required-roles.directive.d.ts.map +1 -0
- package/lib/enums/EmailStatusEnum.d.ts +8 -0
- package/lib/enums/EmailStatusEnum.d.ts.map +1 -0
- package/lib/guards/auth.guard.d.ts +29 -0
- package/lib/guards/auth.guard.d.ts.map +1 -0
- package/lib/guards/no-login/no-login.guard.d.ts +12 -0
- package/lib/guards/no-login/no-login.guard.d.ts.map +1 -0
- package/lib/interceptors/error-interceptor/http-error-interceptor.d.ts +23 -0
- package/lib/interceptors/error-interceptor/http-error-interceptor.d.ts.map +1 -0
- package/lib/interceptors/header-interceptor/http-header.interceptor.d.ts +22 -0
- package/lib/interceptors/header-interceptor/http-header.interceptor.d.ts.map +1 -0
- package/lib/models/AddressComponentModel.d.ts +14 -0
- package/lib/models/AddressComponentModel.d.ts.map +1 -0
- package/lib/models/BankDetailsComponentModel.d.ts +12 -0
- package/lib/models/BankDetailsComponentModel.d.ts.map +1 -0
- package/lib/models/BankDetailsModel.d.ts +5 -0
- package/lib/models/BankDetailsModel.d.ts.map +1 -0
- package/lib/models/CinRequalificationCriteriaModel.d.ts +11 -0
- package/lib/models/CinRequalificationCriteriaModel.d.ts.map +1 -0
- package/lib/models/EmployerDetailSearchResult.d.ts +51 -0
- package/lib/models/EmployerDetailSearchResult.d.ts.map +1 -0
- package/lib/models/ErrorModel.d.ts +7 -0
- package/lib/models/ErrorModel.d.ts.map +1 -0
- package/lib/models/FileModel.d.ts +5 -0
- package/lib/models/FileModel.d.ts.map +1 -0
- package/lib/models/LexisNexisAccountCreationModel.d.ts +15 -0
- package/lib/models/LexisNexisAccountCreationModel.d.ts.map +1 -0
- package/lib/models/LexisNexisAuthSelectionRequestModel.d.ts +16 -0
- package/lib/models/LexisNexisAuthSelectionRequestModel.d.ts.map +1 -0
- package/lib/models/LexisNexisAuthSelectionResponseModel.d.ts +39 -0
- package/lib/models/LexisNexisAuthSelectionResponseModel.d.ts.map +1 -0
- package/lib/models/LexisNexisEnabledResponseModel.d.ts +5 -0
- package/lib/models/LexisNexisEnabledResponseModel.d.ts.map +1 -0
- package/lib/models/LexisNexisResponseModel.d.ts +7 -0
- package/lib/models/LexisNexisResponseModel.d.ts.map +1 -0
- package/lib/models/LibConstants.d.ts +125 -0
- package/lib/models/LibConstants.d.ts.map +1 -0
- package/lib/models/NewsAndAnnouncementModel.d.ts +6 -0
- package/lib/models/NewsAndAnnouncementModel.d.ts.map +1 -0
- package/lib/models/NotificationModel.d.ts +11 -0
- package/lib/models/NotificationModel.d.ts.map +1 -0
- package/lib/models/OtpAuthModel.d.ts +8 -0
- package/lib/models/OtpAuthModel.d.ts.map +1 -0
- package/lib/models/PartialEmploymentModel.d.ts +6 -0
- package/lib/models/PartialEmploymentModel.d.ts.map +1 -0
- package/lib/models/PaymentComponentModel.d.ts +8 -0
- package/lib/models/PaymentComponentModel.d.ts.map +1 -0
- package/lib/models/RequalifyLiftPageModel.d.ts +12 -0
- package/lib/models/RequalifyLiftPageModel.d.ts.map +1 -0
- package/lib/models/SecurityQuestionModel.d.ts +7 -0
- package/lib/models/SecurityQuestionModel.d.ts.map +1 -0
- package/lib/models/SsaVerificationModel.d.ts +9 -0
- package/lib/models/SsaVerificationModel.d.ts.map +1 -0
- package/lib/models/TrendModel.d.ts +14 -0
- package/lib/models/TrendModel.d.ts.map +1 -0
- package/lib/models/UserDetailsModel.d.ts +10 -0
- package/lib/models/UserDetailsModel.d.ts.map +1 -0
- package/lib/models/UserModel.d.ts +48 -0
- package/lib/models/UserModel.d.ts.map +1 -0
- package/lib/models/case/CaseAttachmentModel.d.ts +6 -0
- package/lib/models/case/CaseAttachmentModel.d.ts.map +1 -0
- package/lib/models/claimant/ClaimantModel.d.ts +23 -0
- package/lib/models/claimant/ClaimantModel.d.ts.map +1 -0
- package/lib/models/claimant/JobResultsData.d.ts +8 -0
- package/lib/models/claimant/JobResultsData.d.ts.map +1 -0
- package/lib/models/claimant/MatchingJobs.d.ts +13 -0
- package/lib/models/claimant/MatchingJobs.d.ts.map +1 -0
- package/lib/models/claimant/ResetPasswordModel.d.ts +9 -0
- package/lib/models/claimant/ResetPasswordModel.d.ts.map +1 -0
- package/lib/models/cmp/CaseCoreModel.d.ts +21 -0
- package/lib/models/cmp/CaseCoreModel.d.ts.map +1 -0
- package/lib/models/cmp/ComplaintCategoryModel.d.ts +9 -0
- package/lib/models/cmp/ComplaintCategoryModel.d.ts.map +1 -0
- package/lib/models/cmp/ComplaintCategoryOutputModel.d.ts +6 -0
- package/lib/models/cmp/ComplaintCategoryOutputModel.d.ts.map +1 -0
- package/lib/models/cmp/ContactUsModel.d.ts +23 -0
- package/lib/models/cmp/ContactUsModel.d.ts.map +1 -0
- package/lib/models/cmp/EmailTemplateModel.d.ts +7 -0
- package/lib/models/cmp/EmailTemplateModel.d.ts.map +1 -0
- package/lib/models/cmp/contactUsInqueryModel.d.ts +47 -0
- package/lib/models/cmp/contactUsInqueryModel.d.ts.map +1 -0
- package/lib/models/cmp/messageRourceModel.d.ts +6 -0
- package/lib/models/cmp/messageRourceModel.d.ts.map +1 -0
- package/lib/models/dashboard-model.d.ts +44 -0
- package/lib/models/dashboard-model.d.ts.map +1 -0
- package/lib/models/dependent.model.d.ts +20 -0
- package/lib/models/dependent.model.d.ts.map +1 -0
- package/lib/models/questionnaire/AutocoderModel.d.ts +9 -0
- package/lib/models/questionnaire/AutocoderModel.d.ts.map +1 -0
- package/lib/models/questionnaire/ClaimAppEmpRequestModel.d.ts +9 -0
- package/lib/models/questionnaire/ClaimAppEmpRequestModel.d.ts.map +1 -0
- package/lib/models/questionnaire/ClaimAppEmpResponseModel.d.ts +18 -0
- package/lib/models/questionnaire/ClaimAppEmpResponseModel.d.ts.map +1 -0
- package/lib/models/questionnaire/ClaimAppEmployerDetailsModel.d.ts +156 -0
- package/lib/models/questionnaire/ClaimAppEmployerDetailsModel.d.ts.map +1 -0
- package/lib/models/questionnaire/ClaimOnlyEmployerDataModel.d.ts +18 -0
- package/lib/models/questionnaire/ClaimOnlyEmployerDataModel.d.ts.map +1 -0
- package/lib/models/questionnaire/ComboModel.d.ts +178 -0
- package/lib/models/questionnaire/ComboModel.d.ts.map +1 -0
- package/lib/models/questionnaire/ElementsModel.d.ts +71 -0
- package/lib/models/questionnaire/ElementsModel.d.ts.map +1 -0
- package/lib/models/questionnaire/EmployerDetailSearchResult.d.ts +18 -0
- package/lib/models/questionnaire/EmployerDetailSearchResult.d.ts.map +1 -0
- package/lib/models/questionnaire/EmployerWagesModel.d.ts +5 -0
- package/lib/models/questionnaire/EmployerWagesModel.d.ts.map +1 -0
- package/lib/models/questionnaire/FBConfigModel.d.ts +12 -0
- package/lib/models/questionnaire/FBConfigModel.d.ts.map +1 -0
- package/lib/models/questionnaire/KeyValueModel.d.ts +11 -0
- package/lib/models/questionnaire/KeyValueModel.d.ts.map +1 -0
- package/lib/models/questionnaire/LegalDiscaimarModel.d.ts +11 -0
- package/lib/models/questionnaire/LegalDiscaimarModel.d.ts.map +1 -0
- package/lib/models/questionnaire/LoaderModel.d.ts +5 -0
- package/lib/models/questionnaire/LoaderModel.d.ts.map +1 -0
- package/lib/models/questionnaire/PollingStatusModel.d.ts +7 -0
- package/lib/models/questionnaire/PollingStatusModel.d.ts.map +1 -0
- package/lib/models/questionnaire/QtrYearEmployerWageModel.d.ts +9 -0
- package/lib/models/questionnaire/QtrYearEmployerWageModel.d.ts.map +1 -0
- package/lib/models/questionnaire/QuestionnaireQueryModel.d.ts +24 -0
- package/lib/models/questionnaire/QuestionnaireQueryModel.d.ts.map +1 -0
- package/lib/models/questionnaire/QuestionnaireReturnModel.d.ts +21 -0
- package/lib/models/questionnaire/QuestionnaireReturnModel.d.ts.map +1 -0
- package/lib/models/questionnaire/QuestionnaireSaveModel.d.ts +26 -0
- package/lib/models/questionnaire/QuestionnaireSaveModel.d.ts.map +1 -0
- package/lib/models/questionnaire/RequalifyLiftIssuesModel.d.ts +14 -0
- package/lib/models/questionnaire/RequalifyLiftIssuesModel.d.ts.map +1 -0
- package/lib/models/questionnaire/ServiceActionResponseModel.d.ts +7 -0
- package/lib/models/questionnaire/ServiceActionResponseModel.d.ts.map +1 -0
- package/lib/models/questionnaire/StatusModel.d.ts +16 -0
- package/lib/models/questionnaire/StatusModel.d.ts.map +1 -0
- package/lib/models/questionnaire/SuccessPageElement.d.ts +9 -0
- package/lib/models/questionnaire/SuccessPageElement.d.ts.map +1 -0
- package/lib/models/questionnaire/UI512AResponseModel.d.ts +13 -0
- package/lib/models/questionnaire/UI512AResponseModel.d.ts.map +1 -0
- package/lib/models/questionnaire/ValidationModel.d.ts +18 -0
- package/lib/models/questionnaire/ValidationModel.d.ts.map +1 -0
- package/lib/ngx-reusa-app-lib.component.d.ts +9 -0
- package/lib/ngx-reusa-app-lib.component.d.ts.map +1 -0
- package/lib/ngx-reusa-app-lib.module.d.ts +155 -0
- package/lib/ngx-reusa-app-lib.module.d.ts.map +1 -0
- package/lib/ngx-reusa-app-lib.service.d.ts +7 -0
- package/lib/ngx-reusa-app-lib.service.d.ts.map +1 -0
- package/lib/pages/BasePage.d.ts +32 -0
- package/lib/pages/BasePage.d.ts.map +1 -0
- package/lib/pages/common/accessibility-policy/accessibility-policy.page.d.ts +12 -0
- package/lib/pages/common/accessibility-policy/accessibility-policy.page.d.ts.map +1 -0
- package/lib/pages/common/change-password/change-password.page.d.ts +41 -0
- package/lib/pages/common/change-password/change-password.page.d.ts.map +1 -0
- package/lib/pages/common/landing/landing.component.d.ts +25 -0
- package/lib/pages/common/landing/landing.component.d.ts.map +1 -0
- package/lib/pages/common/landing2/landing2.component.d.ts +31 -0
- package/lib/pages/common/landing2/landing2.component.d.ts.map +1 -0
- package/lib/pages/common/login/login.component.d.ts +65 -0
- package/lib/pages/common/login/login.component.d.ts.map +1 -0
- package/lib/pages/common/not-found/not-found.page.d.ts +9 -0
- package/lib/pages/common/not-found/not-found.page.d.ts.map +1 -0
- package/lib/pages/common/privacy-disclaimer/privacy-disclaimer.page.d.ts +12 -0
- package/lib/pages/common/privacy-disclaimer/privacy-disclaimer.page.d.ts.map +1 -0
- package/lib/pages/common/security-policy/security-policy.page.d.ts +12 -0
- package/lib/pages/common/security-policy/security-policy.page.d.ts.map +1 -0
- package/lib/pages/common/unauthorized/unauthorized.page.d.ts +9 -0
- package/lib/pages/common/unauthorized/unauthorized.page.d.ts.map +1 -0
- package/lib/pages/popovers/language/language.page.d.ts +17 -0
- package/lib/pages/popovers/language/language.page.d.ts.map +1 -0
- package/lib/pages/popovers/my-notifications/my-notifications.page.d.ts +22 -0
- package/lib/pages/popovers/my-notifications/my-notifications.page.d.ts.map +1 -0
- package/lib/pages/popovers/my-profile/my-profile.page.d.ts +21 -0
- package/lib/pages/popovers/my-profile/my-profile.page.d.ts.map +1 -0
- package/lib/pages/popovers/user-search/user-search.component.d.ts +32 -0
- package/lib/pages/popovers/user-search/user-search.component.d.ts.map +1 -0
- package/lib/pipes/filter.pipe.d.ts +8 -0
- package/lib/pipes/filter.pipe.d.ts.map +1 -0
- package/lib/pipes/mask/mask.email.pipe.d.ts +11 -0
- package/lib/pipes/mask/mask.email.pipe.d.ts.map +1 -0
- package/lib/pipes/proper-case/proper-case.pipe.d.ts +9 -0
- package/lib/pipes/proper-case/proper-case.pipe.d.ts.map +1 -0
- package/lib/pipes/translate/dynamic-translate.pipe.d.ts +11 -0
- package/lib/pipes/translate/dynamic-translate.pipe.d.ts.map +1 -0
- package/lib/pipes/trust-html/trust-html.pipe.d.ts +11 -0
- package/lib/pipes/trust-html/trust-html.pipe.d.ts.map +1 -0
- package/lib/services/base-service.d.ts +93 -0
- package/lib/services/base-service.d.ts.map +1 -0
- package/lib/services/captcha/captcha.service.d.ts +16 -0
- package/lib/services/captcha/captcha.service.d.ts.map +1 -0
- package/lib/services/case-service/case.service.d.ts +20 -0
- package/lib/services/case-service/case.service.d.ts.map +1 -0
- package/lib/services/chatbot/chatbot.service.d.ts +61 -0
- package/lib/services/chatbot/chatbot.service.d.ts.map +1 -0
- package/lib/services/chatbot/script.const.d.ts +16 -0
- package/lib/services/chatbot/script.const.d.ts.map +1 -0
- package/lib/services/claimant/claimant.service.d.ts +18 -0
- package/lib/services/claimant/claimant.service.d.ts.map +1 -0
- package/lib/services/claimant-context/claimant-context.service.d.ts +19 -0
- package/lib/services/claimant-context/claimant-context.service.d.ts.map +1 -0
- package/lib/services/claimant-service/claimant-usps-redirect.service.d.ts +16 -0
- package/lib/services/claimant-service/claimant-usps-redirect.service.d.ts.map +1 -0
- package/lib/services/claimant-service/claimant.service.d.ts +26 -0
- package/lib/services/claimant-service/claimant.service.d.ts.map +1 -0
- package/lib/services/claims/claims.service.d.ts +42 -0
- package/lib/services/claims/claims.service.d.ts.map +1 -0
- package/lib/services/cmp-service/cmp.service.d.ts +34 -0
- package/lib/services/cmp-service/cmp.service.d.ts.map +1 -0
- package/lib/services/dms-service/dms.service.d.ts +24 -0
- package/lib/services/dms-service/dms.service.d.ts.map +1 -0
- package/lib/services/fpjs/fingerprint.service.d.ts +19 -0
- package/lib/services/fpjs/fingerprint.service.d.ts.map +1 -0
- package/lib/services/google-analytics/google-analytics.service.d.ts +9 -0
- package/lib/services/google-analytics/google-analytics.service.d.ts.map +1 -0
- package/lib/services/help/help.service.d.ts +26 -0
- package/lib/services/help/help.service.d.ts.map +1 -0
- package/lib/services/idle/idle.service.d.ts +44 -0
- package/lib/services/idle/idle.service.d.ts.map +1 -0
- package/lib/services/lexis-nexis/lexis.nexis.service.d.ts +26 -0
- package/lib/services/lexis-nexis/lexis.nexis.service.d.ts.map +1 -0
- package/lib/services/logger/logger.service.d.ts +32 -0
- package/lib/services/logger/logger.service.d.ts.map +1 -0
- package/lib/services/login/login.service.d.ts +79 -0
- package/lib/services/login/login.service.d.ts.map +1 -0
- package/lib/services/maintenance/maintenance.service.d.ts +16 -0
- package/lib/services/maintenance/maintenance.service.d.ts.map +1 -0
- package/lib/services/notification/notification.service.d.ts +39 -0
- package/lib/services/notification/notification.service.d.ts.map +1 -0
- package/lib/services/ovp/ovp.service.d.ts +17 -0
- package/lib/services/ovp/ovp.service.d.ts.map +1 -0
- package/lib/services/questionnaire/questionnaire.service.d.ts +36 -0
- package/lib/services/questionnaire/questionnaire.service.d.ts.map +1 -0
- package/lib/services/questionnaire/validation.service.d.ts +82 -0
- package/lib/services/questionnaire/validation.service.d.ts.map +1 -0
- package/lib/services/security-service/security.service.d.ts +18 -0
- package/lib/services/security-service/security.service.d.ts.map +1 -0
- package/lib/services/tour/tour.service.d.ts +25 -0
- package/lib/services/tour/tour.service.d.ts.map +1 -0
- package/lib/services/util/util.service.d.ts +194 -0
- package/lib/services/util/util.service.d.ts.map +1 -0
- package/lib/services/weekly-cert/weekly-cert-v2.service.d.ts +17 -0
- package/lib/services/weekly-cert/weekly-cert-v2.service.d.ts.map +1 -0
- package/lib/validations/AppRegex.d.ts +50 -0
- package/lib/validations/AppRegex.d.ts.map +1 -0
- package/lib/validations/AppValidators.d.ts +82 -0
- package/lib/validations/AppValidators.d.ts.map +1 -0
- package/package.json +28 -0
- package/public-api.d.ts +128 -0
- package/public-api.d.ts.map +1 -0
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
|
+
import { BehaviorSubject } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../../services/questionnaire/validation.service";
|
|
6
|
+
import * as i2 from "primeng/api";
|
|
7
|
+
import * as i3 from "@angular/forms";
|
|
8
|
+
import * as i4 from "primeng/autocomplete";
|
|
9
|
+
import * as i5 from "@angular/common";
|
|
10
|
+
import * as i6 from "@ngx-translate/core";
|
|
11
|
+
function SearchEmployerComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
12
|
+
i0.ɵɵelementStart(0, "div")(1, "div");
|
|
13
|
+
i0.ɵɵtext(2);
|
|
14
|
+
i0.ɵɵelementEnd();
|
|
15
|
+
i0.ɵɵelementStart(3, "div");
|
|
16
|
+
i0.ɵɵtext(4);
|
|
17
|
+
i0.ɵɵelementEnd();
|
|
18
|
+
i0.ɵɵelementStart(5, "div");
|
|
19
|
+
i0.ɵɵtext(6);
|
|
20
|
+
i0.ɵɵelementEnd()();
|
|
21
|
+
} if (rf & 2) {
|
|
22
|
+
const employer_r1 = ctx.$implicit;
|
|
23
|
+
i0.ɵɵadvance(2);
|
|
24
|
+
i0.ɵɵtextInterpolate(employer_r1.employerName);
|
|
25
|
+
i0.ɵɵadvance(2);
|
|
26
|
+
i0.ɵɵtextInterpolate(employer_r1.addressDisplayVal);
|
|
27
|
+
i0.ɵɵadvance(2);
|
|
28
|
+
i0.ɵɵtextInterpolate2("", employer_r1.city, ", ", employer_r1.state.value, "");
|
|
29
|
+
} }
|
|
30
|
+
const _c0 = () => ({ standalone: true });
|
|
31
|
+
export class SearchEmployerComponent {
|
|
32
|
+
constructor(validationService) {
|
|
33
|
+
this.validationService = validationService;
|
|
34
|
+
this.onFound = new EventEmitter();
|
|
35
|
+
this.onEmpty = new EventEmitter();
|
|
36
|
+
this.onChange = (value) => {
|
|
37
|
+
};
|
|
38
|
+
this.onTouch = () => {
|
|
39
|
+
};
|
|
40
|
+
this.employersBs = new BehaviorSubject(null);
|
|
41
|
+
this.choice = [];
|
|
42
|
+
this.radioOptions = [];
|
|
43
|
+
}
|
|
44
|
+
ngOnInit() {
|
|
45
|
+
this.onChange(this.empName);
|
|
46
|
+
}
|
|
47
|
+
writeValue(obj) {
|
|
48
|
+
this.empName = obj;
|
|
49
|
+
}
|
|
50
|
+
registerOnChange(fn) {
|
|
51
|
+
this.onChange = fn;
|
|
52
|
+
}
|
|
53
|
+
registerOnTouched(fn) {
|
|
54
|
+
this.onTouch = fn;
|
|
55
|
+
}
|
|
56
|
+
setDisabledState(isDisabled) {
|
|
57
|
+
}
|
|
58
|
+
ngOnChanges(changes) {
|
|
59
|
+
}
|
|
60
|
+
// searchForEmployer(event) {
|
|
61
|
+
// this.empService.getEmployersList(event.query)
|
|
62
|
+
// .subscribe(response => {
|
|
63
|
+
// this.employersBs.next(response);
|
|
64
|
+
// });
|
|
65
|
+
// }
|
|
66
|
+
searchForEmployer(event) {
|
|
67
|
+
if (this.empType === 'REG') {
|
|
68
|
+
this.validationService.get(`/dms-service/employer/reg/search/` + `${event.query}`)
|
|
69
|
+
.subscribe(response => {
|
|
70
|
+
this.employersBs.next(response);
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
this.validationService.get(`/dms-service/employer/fed/search/` + `${event.query}`)
|
|
75
|
+
.subscribe(response => {
|
|
76
|
+
this.employersBs.next(response);
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
onSelectAction(event) {
|
|
81
|
+
this.employersBs.next(null);
|
|
82
|
+
this.onFound.emit(event.value);
|
|
83
|
+
}
|
|
84
|
+
onClearAction(event) {
|
|
85
|
+
this.onChange(null);
|
|
86
|
+
this.onEmpty.emit();
|
|
87
|
+
}
|
|
88
|
+
manualEnterEmployer() {
|
|
89
|
+
this.onEmpty.emit();
|
|
90
|
+
}
|
|
91
|
+
setEmployerName() {
|
|
92
|
+
this.onChange(this.empName);
|
|
93
|
+
}
|
|
94
|
+
static { this.ɵfac = function SearchEmployerComponent_Factory(t) { return new (t || SearchEmployerComponent)(i0.ɵɵdirectiveInject(i1.ValidationService)); }; }
|
|
95
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SearchEmployerComponent, selectors: [["app-search-employer"]], inputs: { empType: "empType", prevEmpState: "prevEmpState", formControl: "formControl" }, outputs: { onFound: "onFound", onEmpty: "onEmpty" }, features: [i0.ɵɵProvidersFeature([{
|
|
96
|
+
provide: NG_VALUE_ACCESSOR,
|
|
97
|
+
useExisting: SearchEmployerComponent,
|
|
98
|
+
multi: true
|
|
99
|
+
}]), i0.ɵɵNgOnChangesFeature], decls: 4, vars: 9, consts: [["appendTo", "body", "minLength", "3", "emptyMessage", "No Employer(s) Found.", "styleClass", "search-panel", "optionLabel", "employerName", 3, "formControl", "suggestions", "placeholder", "ngModelOptions", "completeMethod", "onClear", "onSelect"], ["pTemplate", "item"]], template: function SearchEmployerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
100
|
+
i0.ɵɵelementStart(0, "p-autoComplete", 0);
|
|
101
|
+
i0.ɵɵlistener("completeMethod", function SearchEmployerComponent_Template_p_autoComplete_completeMethod_0_listener($event) { return ctx.searchForEmployer($event); })("onClear", function SearchEmployerComponent_Template_p_autoComplete_onClear_0_listener($event) { return ctx.onClearAction($event); })("onSelect", function SearchEmployerComponent_Template_p_autoComplete_onSelect_0_listener($event) { return ctx.onSelectAction($event); });
|
|
102
|
+
i0.ɵɵpipe(1, "async");
|
|
103
|
+
i0.ɵɵpipe(2, "translate");
|
|
104
|
+
i0.ɵɵtemplate(3, SearchEmployerComponent_ng_template_3_Template, 7, 4, "ng-template", 1);
|
|
105
|
+
i0.ɵɵelementEnd();
|
|
106
|
+
} if (rf & 2) {
|
|
107
|
+
i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(2, 6, "access.qe.cin.abtyrsituation.add.emp.placeholder"));
|
|
108
|
+
i0.ɵɵproperty("formControl", ctx.formControl)("suggestions", i0.ɵɵpipeBind1(1, 4, ctx.employersBs))("ngModelOptions", i0.ɵɵpureFunction0(8, _c0));
|
|
109
|
+
} }, dependencies: [i2.PrimeTemplate, i3.NgControlStatus, i3.FormControlDirective, i4.AutoComplete, i5.AsyncPipe, i6.TranslatePipe], styles: ["[_nghost-%COMP%] .p-autocomplete{display:block!important;position:relative!important}[_nghost-%COMP%] .p-autocomplete-input{width:100%}[_nghost-%COMP%] .app-text{font-size:14px}div.ng-star-inserted[_ngcontent-%COMP%]{font-size:14px}"] }); }
|
|
110
|
+
}
|
|
111
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchEmployerComponent, [{
|
|
112
|
+
type: Component,
|
|
113
|
+
args: [{ selector: 'app-search-employer', providers: [{
|
|
114
|
+
provide: NG_VALUE_ACCESSOR,
|
|
115
|
+
useExisting: SearchEmployerComponent,
|
|
116
|
+
multi: true
|
|
117
|
+
}], template: "<p-autoComplete appendTo=\"body\" [formControl]=\"formControl\" [suggestions]=\"employersBs | async\" placeholder='{{\"access.qe.cin.abtyrsituation.add.emp.placeholder\" | translate}}'\r\n (completeMethod)=\"searchForEmployer($event)\" minLength=3 emptyMessage=\"No Employer(s) Found.\"\r\n (onClear)=\"onClearAction($event)\" (onSelect)=\"onSelectAction($event)\" styleClass=\"search-panel\"\r\n [ngModelOptions]=\"{standalone: true}\" optionLabel=\"employerName\">\r\n <ng-template let-employer pTemplate=\"item\">\r\n <div>\r\n <div>{{employer.employerName}}</div>\r\n <div>{{employer.addressDisplayVal}}</div>\r\n <div>{{employer.city}}, {{employer.state.value}}</div>\r\n </div>\r\n </ng-template>\r\n</p-autoComplete>", styles: [":host ::ng-deep .p-autocomplete{display:block!important;position:relative!important}:host ::ng-deep .p-autocomplete-input{width:100%}:host ::ng-deep .app-text{font-size:14px}div.ng-star-inserted{font-size:14px}\n"] }]
|
|
118
|
+
}], () => [{ type: i1.ValidationService }], { onFound: [{
|
|
119
|
+
type: Output
|
|
120
|
+
}], onEmpty: [{
|
|
121
|
+
type: Output
|
|
122
|
+
}], empType: [{
|
|
123
|
+
type: Input
|
|
124
|
+
}], prevEmpState: [{
|
|
125
|
+
type: Input
|
|
126
|
+
}], formControl: [{
|
|
127
|
+
type: Input
|
|
128
|
+
}] }); })();
|
|
129
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SearchEmployerComponent, { className: "SearchEmployerComponent", filePath: "lib\\components\\search-employer\\search-employer.component.ts", lineNumber: 20 }); })();
|
|
130
|
+
export class Choices {
|
|
131
|
+
}
|
|
132
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoLWVtcGxveWVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1yZXVzYS1hcHAtbGliL3NyYy9saWIvY29tcG9uZW50cy9zZWFyY2gtZW1wbG95ZXIvc2VhcmNoLWVtcGxveWVyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1yZXVzYS1hcHAtbGliL3NyYy9saWIvY29tcG9uZW50cy9zZWFyY2gtZW1wbG95ZXIvc2VhcmNoLWVtcGxveWVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBcUIsTUFBTSxFQUFpQixNQUFNLGVBQWUsQ0FBQztBQUN6RyxPQUFPLEVBQXlDLGlCQUFpQixFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDMUYsT0FBTyxFQU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ybUNvbnRyb2xdPVwiZm9ybUNvbnRyb2xcIiBbc3VnZ2VzdGlvbnNdPVwiZW1wbG95ZXJzQnMgfCBhc3luY1wiIHBsYWNlaG9sZGVyPSd7e1wiYWNjZXNzLnFlLmNpbi5hYnR5cnNpdHVhdGlvbi5hZGQuZW1wLnBsYWNlaG9sZGVyXCIgfCB0cmFuc2xhdGV9fSdcclxuICAoY29tcGxldGVNZXRob2QpPVwic2VhcmNoRm9yRW1wbG95ZXIoJGV2ZW50KVwiIG1pbkxlbmd0aD0zIGVtcHR5TWVzc2FnZT1cIk5vIEVtcGxveWVyKHMpIEZvdW5kLlwiXHJcbiAgKG9uQ2xlYXIpPVwib25DbGVhckFjdGlvbigkZXZlbnQpXCIgIChvblNlbGVjdCk9XCJvblNlbGVjdEFjdGlvbigkZXZlbnQpXCIgc3R5bGVDbGFzcz1cInNlYXJjaC1wYW5lbFwiXHJcbiAgW25nTW9kZWxPcHRpb25zXT1cIntzdGFuZGFsb25lOiB0cnVlfVwiIG9wdGlvbkxhYmVsPVwiZW1wbG95ZXJOYW1lXCI+XHJcbiAgPG5nLXRlbXBsYXRlIGxldC1lbXBsb3llciBwVGVtcGxhdGU9XCJpdGVtXCI+XHJcbiAgICA8ZGl2PlxyXG4gICAgICA8ZGl2Pnt7ZW1wbG95ZXIuZW1wbG95ZXJOYW1lfX08L2Rpdj5cclxuICAgICAgPGRpdj57e2VtcGxveWVyLmFkZHJlc3NEaXNwbGF5VmFsfX08L2Rpdj5cclxuICAgICAgPGRpdj57e2VtcGxveWVyLmNpdHl9fSwge3tlbXBsb3llci5zdGF0ZS52YWx1ZX19PC9kaXY+XHJcbiAgICA8L2Rpdj5cclxuICA8L25nLXRlbXBsYXRlPlxyXG48L3AtYXV0b0NvbXBsZXRlPiJdfQ==
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../../services/util/util.service";
|
|
4
|
+
import * as i2 from "../../services/login/login.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 "@angular/forms";
|
|
9
|
+
import * as i7 from "primeng/dialog";
|
|
10
|
+
import * as i8 from "@ngx-translate/core";
|
|
11
|
+
function SecurityQuestionComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
12
|
+
i0.ɵɵelementStart(0, "ion-grid")(1, "ion-row")(2, "ion-col", 6);
|
|
13
|
+
i0.ɵɵtext(3);
|
|
14
|
+
i0.ɵɵpipe(4, "translate");
|
|
15
|
+
i0.ɵɵelementEnd()()();
|
|
16
|
+
} if (rf & 2) {
|
|
17
|
+
i0.ɵɵadvance(3);
|
|
18
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 1, "security.verify.identity.desc"), " ");
|
|
19
|
+
} }
|
|
20
|
+
function SecurityQuestionComponent_div_2_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
21
|
+
const _r8 = i0.ɵɵgetCurrentView();
|
|
22
|
+
i0.ɵɵelementStart(0, "div")(1, "p");
|
|
23
|
+
i0.ɵɵtext(2);
|
|
24
|
+
i0.ɵɵelementEnd();
|
|
25
|
+
i0.ɵɵelementStart(3, "input", 8);
|
|
26
|
+
i0.ɵɵlistener("ngModelChange", function SecurityQuestionComponent_div_2_div_1_Template_input_ngModelChange_3_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r7 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r7.selectedQuestion.answer = $event); });
|
|
27
|
+
i0.ɵɵpipe(4, "translate");
|
|
28
|
+
i0.ɵɵelementEnd()();
|
|
29
|
+
} if (rf & 2) {
|
|
30
|
+
const ctx_r6 = i0.ɵɵnextContext(2);
|
|
31
|
+
i0.ɵɵadvance(2);
|
|
32
|
+
i0.ɵɵtextInterpolate(ctx_r6.selectedQuestion.question);
|
|
33
|
+
i0.ɵɵadvance(1);
|
|
34
|
+
i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(4, 3, "security.question.type.answer"));
|
|
35
|
+
i0.ɵɵproperty("ngModel", ctx_r6.selectedQuestion.answer);
|
|
36
|
+
} }
|
|
37
|
+
function SecurityQuestionComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
38
|
+
i0.ɵɵelementStart(0, "div", 7);
|
|
39
|
+
i0.ɵɵtemplate(1, SecurityQuestionComponent_div_2_div_1_Template, 5, 5, "div", 4);
|
|
40
|
+
i0.ɵɵelementEnd();
|
|
41
|
+
} if (rf & 2) {
|
|
42
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
43
|
+
i0.ɵɵadvance(1);
|
|
44
|
+
i0.ɵɵproperty("ngIf", ctx_r1.selectedQuestion);
|
|
45
|
+
} }
|
|
46
|
+
function SecurityQuestionComponent_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
47
|
+
i0.ɵɵelementStart(0, "div", 9);
|
|
48
|
+
i0.ɵɵtext(1);
|
|
49
|
+
i0.ɵɵpipe(2, "translate");
|
|
50
|
+
i0.ɵɵelementEnd();
|
|
51
|
+
} if (rf & 2) {
|
|
52
|
+
i0.ɵɵadvance(1);
|
|
53
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "security.incorrect.answer"), " ");
|
|
54
|
+
} }
|
|
55
|
+
function SecurityQuestionComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
56
|
+
i0.ɵɵelementStart(0, "div");
|
|
57
|
+
i0.ɵɵelement(1, "div", 10);
|
|
58
|
+
i0.ɵɵelementEnd();
|
|
59
|
+
} }
|
|
60
|
+
function SecurityQuestionComponent_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
61
|
+
i0.ɵɵelementStart(0, "div");
|
|
62
|
+
i0.ɵɵelement(1, "div", 10);
|
|
63
|
+
i0.ɵɵelementEnd();
|
|
64
|
+
} }
|
|
65
|
+
function SecurityQuestionComponent_ng_template_6_ion_button_3_Template(rf, ctx) { if (rf & 1) {
|
|
66
|
+
const _r11 = i0.ɵɵgetCurrentView();
|
|
67
|
+
i0.ɵɵelementStart(0, "ion-button", 13);
|
|
68
|
+
i0.ɵɵlistener("click", function SecurityQuestionComponent_ng_template_6_ion_button_3_Template_ion_button_click_0_listener() { i0.ɵɵrestoreView(_r11); const ctx_r10 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r10.verifyAnswer()); });
|
|
69
|
+
i0.ɵɵtext(1);
|
|
70
|
+
i0.ɵɵpipe(2, "translate");
|
|
71
|
+
i0.ɵɵelementEnd();
|
|
72
|
+
} if (rf & 2) {
|
|
73
|
+
i0.ɵɵadvance(1);
|
|
74
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "security.verify.answer"));
|
|
75
|
+
} }
|
|
76
|
+
function SecurityQuestionComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
77
|
+
i0.ɵɵelementStart(0, "ion-grid")(1, "ion-row")(2, "ion-col", 11);
|
|
78
|
+
i0.ɵɵtemplate(3, SecurityQuestionComponent_ng_template_6_ion_button_3_Template, 3, 3, "ion-button", 12);
|
|
79
|
+
i0.ɵɵelementEnd()()();
|
|
80
|
+
} if (rf & 2) {
|
|
81
|
+
const ctx_r5 = i0.ɵɵnextContext();
|
|
82
|
+
i0.ɵɵadvance(3);
|
|
83
|
+
i0.ɵɵproperty("ngIf", !(ctx_r5.showSuccess || ctx_r5.showError));
|
|
84
|
+
} }
|
|
85
|
+
const _c0 = () => ({ width: "60vw" });
|
|
86
|
+
const _c1 = () => ({ "1024px": "75vw", "768px": "85vw", "640px": "100vw" });
|
|
87
|
+
export class SecurityQuestionComponent {
|
|
88
|
+
constructor(util, ls, nav) {
|
|
89
|
+
this.util = util;
|
|
90
|
+
this.ls = ls;
|
|
91
|
+
this.nav = nav;
|
|
92
|
+
this.showSuccess = false;
|
|
93
|
+
this.showError = false;
|
|
94
|
+
this.display = false;
|
|
95
|
+
this.clear = new EventEmitter();
|
|
96
|
+
this.success = new EventEmitter();
|
|
97
|
+
this.error = new EventEmitter();
|
|
98
|
+
this.selected = 'personal-details';
|
|
99
|
+
this.selectedQuestion = null;
|
|
100
|
+
this.incorrectGuess = false;
|
|
101
|
+
}
|
|
102
|
+
ngOnInit() {
|
|
103
|
+
this.questions = this.questionsAndKeysOfUser;
|
|
104
|
+
if (this.questionsAndKeysOfUser.length > 0) {
|
|
105
|
+
this.selectRandomQuestion(this.questionsAndKeysOfUser);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
selectRandomQuestion(questions) {
|
|
109
|
+
const randomIndex = Math.floor(Math.random() * questions.length);
|
|
110
|
+
this.selectedQuestion = { ...questions[randomIndex], answer: '' };
|
|
111
|
+
}
|
|
112
|
+
verifyAnswer() {
|
|
113
|
+
if (this.selectedQuestion) {
|
|
114
|
+
const correctAnswer = this.getAnswerForAskedQuestion();
|
|
115
|
+
console.log(correctAnswer);
|
|
116
|
+
const index = this.questions.findIndex(q => q.questionKey === this.selectedQuestion.questionKey);
|
|
117
|
+
this.questions.splice(index, 1);
|
|
118
|
+
if (correctAnswer != undefined && correctAnswer.toLowerCase() === this.selectedQuestion.answer.toLocaleLowerCase()) {
|
|
119
|
+
this.success.emit();
|
|
120
|
+
}
|
|
121
|
+
else {
|
|
122
|
+
if (this.questions.length > 1) {
|
|
123
|
+
this.incorrectGuess = true;
|
|
124
|
+
if (index !== -1) {
|
|
125
|
+
this.questions.splice(index, 1);
|
|
126
|
+
this.selectRandomQuestion(this.questions);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
else {
|
|
130
|
+
this.display = false;
|
|
131
|
+
// Lexis-Nexis Questions
|
|
132
|
+
console.log("display lexis nexis questions");
|
|
133
|
+
this.clear.emit();
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
getAnswerForAskedQuestion() {
|
|
139
|
+
for (const key of ['securityQuestion', 'securityQuestion2', 'securityQuestion3']) {
|
|
140
|
+
if (this.questionsAndAnswers[key] === this.selectedQuestion.questionKey) {
|
|
141
|
+
switch (key) {
|
|
142
|
+
case 'securityQuestion':
|
|
143
|
+
return this.questionsAndAnswers?.securityAnswer;
|
|
144
|
+
case 'securityQuestion2':
|
|
145
|
+
return this.questionsAndAnswers?.securityAnswer2;
|
|
146
|
+
case 'securityQuestion3':
|
|
147
|
+
return this.questionsAndAnswers?.securityAnswer3;
|
|
148
|
+
default:
|
|
149
|
+
return undefined;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
onValueChange(event) {
|
|
155
|
+
this.showError = false;
|
|
156
|
+
this.showSuccess = false;
|
|
157
|
+
}
|
|
158
|
+
handleError(error) {
|
|
159
|
+
if (error?.errorCode == '422') {
|
|
160
|
+
this.errorText = error.msg[0];
|
|
161
|
+
}
|
|
162
|
+
this.showError = true;
|
|
163
|
+
}
|
|
164
|
+
static { this.ɵfac = function SecurityQuestionComponent_Factory(t) { return new (t || SecurityQuestionComponent)(i0.ɵɵdirectiveInject(i1.UtilService), i0.ɵɵdirectiveInject(i2.LoginService), i0.ɵɵdirectiveInject(i3.NavController)); }; }
|
|
165
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SecurityQuestionComponent, selectors: [["app-security-question"]], inputs: { questionsAndKeysOfUser: "questionsAndKeysOfUser", questionsAndAnswers: "questionsAndAnswers", display: "display" }, outputs: { clear: "clear", success: "success", error: "error" }, decls: 7, vars: 9, consts: [["visible", "true", "modal", "true", "appendTo", "body", "position", "top", 3, "breakpoints"], ["pTemplate", "header"], ["style", "margin-left: 8px;", 4, "ngIf"], ["class", "errorText", 4, "ngIf"], [4, "ngIf"], ["pTemplate", "footer"], [1, "ion-text-left", "heading", 2, "padding-left", "24px"], [2, "margin-left", "8px"], ["type", "text", 3, "ngModel", "placeholder", "ngModelChange"], [1, "errorText"], [1, "ion-text-center", "ion-padding-top"], ["size", "12", "sizeXl", "8", "sizeLg", "8", "sizeMd", "7", 1, "ion-text-right"], ["shape", "round", "type", "submit", 3, "click", 4, "ngIf"], ["shape", "round", "type", "submit", 3, "click"]], template: function SecurityQuestionComponent_Template(rf, ctx) { if (rf & 1) {
|
|
166
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
167
|
+
i0.ɵɵtemplate(1, SecurityQuestionComponent_ng_template_1_Template, 5, 3, "ng-template", 1)(2, SecurityQuestionComponent_div_2_Template, 2, 1, "div", 2)(3, SecurityQuestionComponent_div_3_Template, 3, 3, "div", 3)(4, SecurityQuestionComponent_div_4_Template, 2, 0, "div", 4)(5, SecurityQuestionComponent_div_5_Template, 2, 0, "div", 4)(6, SecurityQuestionComponent_ng_template_6_Template, 4, 1, "ng-template", 5);
|
|
168
|
+
i0.ɵɵelementEnd();
|
|
169
|
+
} if (rf & 2) {
|
|
170
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(7, _c0));
|
|
171
|
+
i0.ɵɵproperty("breakpoints", i0.ɵɵpureFunction0(8, _c1));
|
|
172
|
+
i0.ɵɵadvance(2);
|
|
173
|
+
i0.ɵɵproperty("ngIf", !(ctx.showSuccess || ctx.showError));
|
|
174
|
+
i0.ɵɵadvance(1);
|
|
175
|
+
i0.ɵɵproperty("ngIf", ctx.incorrectGuess);
|
|
176
|
+
i0.ɵɵadvance(1);
|
|
177
|
+
i0.ɵɵproperty("ngIf", ctx.showSuccess);
|
|
178
|
+
i0.ɵɵadvance(1);
|
|
179
|
+
i0.ɵɵproperty("ngIf", ctx.showError);
|
|
180
|
+
} }, dependencies: [i3.IonButton, i3.IonCol, i3.IonGrid, i3.IonRow, i4.NgIf, i5.PrimeTemplate, i6.DefaultValueAccessor, i6.NgControlStatus, i6.NgModel, i7.Dialog, i8.TranslatePipe], styles: ["ion-col[_ngcontent-%COMP%]{margin-left:0!important}.errorText[_ngcontent-%COMP%]{color:red}"] }); }
|
|
181
|
+
}
|
|
182
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SecurityQuestionComponent, [{
|
|
183
|
+
type: Component,
|
|
184
|
+
args: [{ selector: 'app-security-question', template: "<p-dialog visible=\"true\" modal=\"true\" appendTo=\"body\" [breakpoints]=\"{'1024px': '75vw', '768px': '85vw', '640px': '100vw'}\"\r\n [style]=\"{width: '60vw'}\" position=\"top\">\r\n <ng-template pTemplate=\"header\">\r\n <ion-grid>\r\n <ion-row>\r\n <ion-col class=\"ion-text-left heading\" style=\"padding-left: 24px;\">\r\n {{\"security.verify.identity.desc\"|translate}}\r\n </ion-col>\r\n </ion-row>\r\n </ion-grid>\r\n </ng-template>\r\n <div *ngIf=\"!(showSuccess || showError)\" style=\"margin-left: 8px;\">\r\n <div *ngIf=\"selectedQuestion\">\r\n <p>{{ selectedQuestion.question }}</p>\r\n <input type=\"text\" [(ngModel)]=\"selectedQuestion.answer\" placeholder='{{\"security.question.type.answer\"|translate}}' />\r\n </div>\r\n </div>\r\n <div *ngIf=\"incorrectGuess\" class=\"errorText\">\r\n {{\"security.incorrect.answer\"|translate}}\r\n </div>\r\n <div *ngIf=\"showSuccess\">\r\n <div class=\"ion-text-center ion-padding-top\">\r\n \r\n </div>\r\n </div>\r\n\r\n <div *ngIf=\"showError\">\r\n <div class=\"ion-text-center ion-padding-top\">\r\n \r\n </div>\r\n </div>\r\n <ng-template pTemplate=\"footer\">\r\n <ion-grid>\r\n <ion-row>\r\n <ion-col class=\"ion-text-right\" size=\"12\" sizeXl=\"8\" sizeLg=\"8\" sizeMd=\"7\">\r\n <!-- <ion-button shape=\"round\" fill=\"outline\" type=\"reset\" (click)=\"cancel()\">Close</ion-button> -->\r\n <ion-button shape=\"round\" type=\"submit\" (click)=\"verifyAnswer()\" *ngIf=\"!(showSuccess || showError)\">{{\"security.verify.answer\"|translate}}</ion-button>\r\n </ion-col>\r\n </ion-row>\r\n </ion-grid>\r\n </ng-template>\r\n</p-dialog>", styles: ["ion-col{margin-left:0!important}.errorText{color:red}\n"] }]
|
|
185
|
+
}], () => [{ type: i1.UtilService }, { type: i2.LoginService }, { type: i3.NavController }], { questionsAndKeysOfUser: [{
|
|
186
|
+
type: Input
|
|
187
|
+
}], questionsAndAnswers: [{
|
|
188
|
+
type: Input
|
|
189
|
+
}], display: [{
|
|
190
|
+
type: Input
|
|
191
|
+
}], clear: [{
|
|
192
|
+
type: Output
|
|
193
|
+
}], success: [{
|
|
194
|
+
type: Output
|
|
195
|
+
}], error: [{
|
|
196
|
+
type: Output
|
|
197
|
+
}] }); })();
|
|
198
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SecurityQuestionComponent, { className: "SecurityQuestionComponent", filePath: "lib\\components\\security-question\\security-question.component.ts", lineNumber: 11 }); })();
|
|
199
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VjdXJpdHktcXVlc3Rpb24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXJldXNhLWFwcC1saWIvc3JjL2xpYi9jb21wb25lbnRzL3NlY3VyaXR5LXF1ZXN0aW9uL3NlY3VyaXR5LXF1ZXN0aW9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1yZXVzYS1hcHAtbGliL3NyYy9saWIvY29tcG9uZW50cy9zZWN1cml0eS1xdWVzdGlvbi9zZWN1cml0eS1xdWVzdGlvbi5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBVSxLQUFLLEVBQVUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7Ozs7Oz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KHNob3dTdWNjZXNzIHx8IHNob3dFcnJvcilcIj57e1wic2VjdXJpdHkudmVyaWZ5LmFuc3dlclwifHRyYW5zbGF0ZX19PC9pb24tYnV0dG9uPlxyXG4gICAgICAgICAgICAgICAgPC9pb24tY29sPlxyXG4gICAgICAgICAgICA8L2lvbi1yb3c+XHJcbiAgICAgICAgPC9pb24tZ3JpZD5cclxuICAgIDwvbmctdGVtcGxhdGU+XHJcbjwvcC1kaWFsb2c+Il19
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import { NG_VALUE_ACCESSOR, UntypedFormControl } from '@angular/forms';
|
|
3
|
+
import { BehaviorSubject } from 'rxjs';
|
|
4
|
+
import { startWith, map } from 'rxjs/operators';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "../../pipes/filter.pipe";
|
|
7
|
+
import * as i2 from "@angular/common";
|
|
8
|
+
import * as i3 from "@angular/material/form-field";
|
|
9
|
+
import * as i4 from "ngx-mat-select-search";
|
|
10
|
+
import * as i5 from "@angular/material/select";
|
|
11
|
+
import * as i6 from "@angular/material/core";
|
|
12
|
+
import * as i7 from "@angular/forms";
|
|
13
|
+
import * as i8 from "@angular/material/icon";
|
|
14
|
+
import * as i9 from "@angular/material/button";
|
|
15
|
+
import * as i10 from "@ngx-translate/core";
|
|
16
|
+
function SelectComponent_mat_option_6_Template(rf, ctx) { if (rf & 1) {
|
|
17
|
+
i0.ɵɵelementStart(0, "mat-option", 5);
|
|
18
|
+
i0.ɵɵtext(1);
|
|
19
|
+
i0.ɵɵelementEnd();
|
|
20
|
+
} if (rf & 2) {
|
|
21
|
+
const v_r2 = ctx.$implicit;
|
|
22
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
23
|
+
i0.ɵɵproperty("value", v_r2[ctx_r0.key]);
|
|
24
|
+
i0.ɵɵadvance(1);
|
|
25
|
+
i0.ɵɵtextInterpolate(ctx_r0.getDesc(v_r2, ctx_r0.value));
|
|
26
|
+
} }
|
|
27
|
+
function SelectComponent_button_8_Template(rf, ctx) { if (rf & 1) {
|
|
28
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
29
|
+
i0.ɵɵelementStart(0, "button", 6);
|
|
30
|
+
i0.ɵɵlistener("click", function SelectComponent_button_8_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(); ctx_r3.dropDown.reset(); return i0.ɵɵresetView($event.stopPropagation()); });
|
|
31
|
+
i0.ɵɵelementStart(1, "mat-icon");
|
|
32
|
+
i0.ɵɵtext(2);
|
|
33
|
+
i0.ɵɵpipe(3, "translate");
|
|
34
|
+
i0.ɵɵelementEnd()();
|
|
35
|
+
} if (rf & 2) {
|
|
36
|
+
i0.ɵɵadvance(2);
|
|
37
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, "common.close"));
|
|
38
|
+
} }
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @description A wrapper component build on top of mat-select and ngx-mat-select-search to give search functionality to the the dropdown along with close button.
|
|
42
|
+
* This component can be used with Angular Forms and supports 2 way data binding using ngModel.
|
|
43
|
+
*
|
|
44
|
+
* @author Prerak Tiwari
|
|
45
|
+
*/
|
|
46
|
+
export class SelectComponent {
|
|
47
|
+
constructor(filter) {
|
|
48
|
+
this.filter = filter;
|
|
49
|
+
/**
|
|
50
|
+
* @description set true if select box is required
|
|
51
|
+
*/
|
|
52
|
+
this.required = false;
|
|
53
|
+
/**
|
|
54
|
+
* @description set true if multiple values can be selected
|
|
55
|
+
*/
|
|
56
|
+
this.multiple = false;
|
|
57
|
+
this.valuesBs = new BehaviorSubject([]);
|
|
58
|
+
this.searchCtrl = new UntypedFormControl();
|
|
59
|
+
this.dropDown = new UntypedFormControl();
|
|
60
|
+
this.onChange = (value) => {
|
|
61
|
+
};
|
|
62
|
+
this.onTouch = () => {
|
|
63
|
+
};
|
|
64
|
+
this.dropDown.valueChanges.subscribe(value => this.onChange(value));
|
|
65
|
+
}
|
|
66
|
+
ngOnChanges(changes) {
|
|
67
|
+
if (changes.values && changes.values.currentValue) {
|
|
68
|
+
this.values = changes.values.currentValue;
|
|
69
|
+
this.valuesBs.next(this.values);
|
|
70
|
+
}
|
|
71
|
+
this.filteredValues = this.searchCtrl
|
|
72
|
+
.valueChanges
|
|
73
|
+
.pipe(startWith(''), map(element => element ? this.filter.transform(this.valuesBs.getValue(), element, this.value) : this.valuesBs.getValue().slice()));
|
|
74
|
+
}
|
|
75
|
+
writeValue(obj) {
|
|
76
|
+
this.dropDown.setValue(obj);
|
|
77
|
+
}
|
|
78
|
+
registerOnChange(fn) {
|
|
79
|
+
this.onChange = fn;
|
|
80
|
+
}
|
|
81
|
+
registerOnTouched(fn) {
|
|
82
|
+
this.onTouch = fn;
|
|
83
|
+
}
|
|
84
|
+
setDisabledState(isDisabled) {
|
|
85
|
+
}
|
|
86
|
+
ngOnInit() {
|
|
87
|
+
}
|
|
88
|
+
getDesc(object, arg) {
|
|
89
|
+
if (object) {
|
|
90
|
+
if (typeof arg === 'string') {
|
|
91
|
+
return object[arg] ? object[arg] : object[this.key];
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
let values = [];
|
|
95
|
+
arg.forEach(v => {
|
|
96
|
+
values.push(object[v] ? object[v] : '');
|
|
97
|
+
});
|
|
98
|
+
return values.join(" ");
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
static { this.ɵfac = function SelectComponent_Factory(t) { return new (t || SelectComponent)(i0.ɵɵdirectiveInject(i1.FilterPipe)); }; }
|
|
103
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SelectComponent, selectors: [["app-select"]], inputs: { values: "values", key: "key", value: "value", label: "label", required: "required", multiple: "multiple" }, features: [i0.ɵɵProvidersFeature([{
|
|
104
|
+
provide: NG_VALUE_ACCESSOR,
|
|
105
|
+
useExisting: SelectComponent,
|
|
106
|
+
multi: true
|
|
107
|
+
}]), i0.ɵɵNgOnChangesFeature], decls: 9, vars: 11, consts: [["appearance", "outline"], [3, "formControl", "required", "multiple"], [3, "formControl", "placeholderLabel", "noEntriesFoundLabel"], [3, "value", 4, "ngFor", "ngForOf"], ["mat-button", "", "matSuffix", "", "mat-icon-button", "", "aria-label", "Clear", 3, "click", 4, "ngIf"], [3, "value"], ["mat-button", "", "matSuffix", "", "mat-icon-button", "", "aria-label", "Clear", 3, "click"]], template: function SelectComponent_Template(rf, ctx) { if (rf & 1) {
|
|
108
|
+
i0.ɵɵelementStart(0, "mat-form-field", 0)(1, "mat-label");
|
|
109
|
+
i0.ɵɵtext(2);
|
|
110
|
+
i0.ɵɵelementEnd();
|
|
111
|
+
i0.ɵɵelementStart(3, "mat-select", 1)(4, "mat-option");
|
|
112
|
+
i0.ɵɵelement(5, "ngx-mat-select-search", 2);
|
|
113
|
+
i0.ɵɵelementEnd();
|
|
114
|
+
i0.ɵɵtemplate(6, SelectComponent_mat_option_6_Template, 2, 2, "mat-option", 3);
|
|
115
|
+
i0.ɵɵpipe(7, "async");
|
|
116
|
+
i0.ɵɵelementEnd();
|
|
117
|
+
i0.ɵɵtemplate(8, SelectComponent_button_8_Template, 4, 3, "button", 4);
|
|
118
|
+
i0.ɵɵelementEnd();
|
|
119
|
+
} if (rf & 2) {
|
|
120
|
+
i0.ɵɵadvance(2);
|
|
121
|
+
i0.ɵɵtextInterpolate(ctx.label ? ctx.label : "Select");
|
|
122
|
+
i0.ɵɵadvance(1);
|
|
123
|
+
i0.ɵɵproperty("formControl", ctx.dropDown)("required", ctx.required)("multiple", ctx.multiple);
|
|
124
|
+
i0.ɵɵadvance(2);
|
|
125
|
+
i0.ɵɵproperty("formControl", ctx.searchCtrl)("placeholderLabel", "Search...")("noEntriesFoundLabel", "Not found");
|
|
126
|
+
i0.ɵɵadvance(1);
|
|
127
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(7, 9, ctx.filteredValues));
|
|
128
|
+
i0.ɵɵadvance(2);
|
|
129
|
+
i0.ɵɵproperty("ngIf", ctx.dropDown.value);
|
|
130
|
+
} }, dependencies: [i2.NgForOf, i2.NgIf, i3.MatFormField, i3.MatLabel, i3.MatSuffix, i4.MatSelectSearchComponent, i5.MatSelect, i6.MatOption, i7.NgControlStatus, i7.RequiredValidator, i7.FormControlDirective, i8.MatIcon, i9.MatButton, i9.MatIconButton, i2.AsyncPipe, i10.TranslatePipe] }); }
|
|
131
|
+
}
|
|
132
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectComponent, [{
|
|
133
|
+
type: Component,
|
|
134
|
+
args: [{ selector: 'app-select', providers: [{
|
|
135
|
+
provide: NG_VALUE_ACCESSOR,
|
|
136
|
+
useExisting: SelectComponent,
|
|
137
|
+
multi: true
|
|
138
|
+
}], template: "<mat-form-field appearance=\"outline\">\r\n <mat-label>{{label ? label : 'Select'}}</mat-label>\r\n <mat-select [formControl]=\"dropDown\" [required]=\"required\" [multiple]='multiple'>\r\n <mat-option>\r\n <ngx-mat-select-search [formControl]=\"searchCtrl\" [placeholderLabel]=\"'Search...'\"\r\n [noEntriesFoundLabel]=\"'Not found'\"></ngx-mat-select-search>\r\n </mat-option>\r\n <mat-option *ngFor=\"let v of filteredValues | async\" [value]=\"v[key]\">{{getDesc(v,value)}}</mat-option>\r\n </mat-select>\r\n <button mat-button *ngIf=\"dropDown.value\" matSuffix mat-icon-button aria-label=\"Clear\"\r\n (click)=\"dropDown.reset(); $event.stopPropagation()\">\r\n <mat-icon>{{'common.close'| translate}}</mat-icon>\r\n </button>\r\n </mat-form-field>" }]
|
|
139
|
+
}], () => [{ type: i1.FilterPipe }], { values: [{
|
|
140
|
+
type: Input,
|
|
141
|
+
args: ['values']
|
|
142
|
+
}], key: [{
|
|
143
|
+
type: Input,
|
|
144
|
+
args: ['key']
|
|
145
|
+
}], value: [{
|
|
146
|
+
type: Input,
|
|
147
|
+
args: ['value']
|
|
148
|
+
}], label: [{
|
|
149
|
+
type: Input,
|
|
150
|
+
args: ['label']
|
|
151
|
+
}], required: [{
|
|
152
|
+
type: Input,
|
|
153
|
+
args: ['required']
|
|
154
|
+
}], multiple: [{
|
|
155
|
+
type: Input,
|
|
156
|
+
args: ['multiple']
|
|
157
|
+
}] }); })();
|
|
158
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SelectComponent, { className: "SelectComponent", filePath: "lib\\components\\select\\select.component.ts", lineNumber: 25 }); })();
|
|
159
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1yZXVzYS1hcHAtbGliL3NyYy9saWIvY29tcG9uZW50cy9zZWxlY3Qvc2VsZWN0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1yZXVzYS1hcHAtbGliL3NyYy9saWIvY29tcG9uZW50cy9zZWxlY3Qvc2VsZWN0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsS0FBSyxFQUE0QixNQUFNLGVBQWUsQ0FBQztBQUNuRixPQUFPLEVBQUUsaUJBQWlCLEVBQXdCLGtCQUFrQixFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDN0YsT0FBTyxFQUFjLGVBQWUsRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUNuRCxPQUFPLEVBQUUsU0FBUyxFQUFFLEdBQUcsRUFBRSxNQUFNLGdCQUFnQixDQUFDOzs7Ozs7Ozs7Ozs7O0lDSTFDLHFDQUFzRTtJQUFBLFlBQW9CO0lBQUEsaUJBQWE7Ozs7SUFBbEQsd0NBQWdC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