@reusa/ngx-reusa-app-lib 0.0.732 → 0.1.731
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{esm2020 → esm2022}/lib/annimations/app-animations.mjs +36 -36
- package/esm2022/lib/components/add-employer/add-employer.component.mjs +3027 -0
- package/esm2022/lib/components/add-participant/add-participant.component.mjs +394 -0
- package/esm2022/lib/components/add-payment/add-payment.component.mjs +187 -0
- package/esm2022/lib/components/address/address.component.mjs +487 -0
- package/esm2022/lib/components/bank-details/bank-details.component.mjs +276 -0
- package/esm2022/lib/components/captcha/captcha.component.mjs +181 -0
- package/esm2022/lib/components/card/card.component.mjs +55 -0
- package/esm2022/lib/components/contact-us/contact-us.component.mjs +970 -0
- package/esm2022/lib/components/content/content.component.mjs +61 -0
- package/esm2022/lib/components/correspondence-download/correspondence-download.component.mjs +83 -0
- package/esm2022/lib/components/dashboard-card/dashboard-card.component.mjs +223 -0
- package/esm2022/lib/components/dependent-grid/dependent-grid.component.mjs +292 -0
- package/esm2022/lib/components/disclosure/disclosure.component.mjs +60 -0
- package/esm2022/lib/components/dropdown/dropdown.component.mjs +1974 -0
- package/esm2022/lib/components/dropdown/dropdown.interface.mjs +2 -0
- package/esm2022/lib/components/email-update/email-update.component.mjs +283 -0
- package/esm2022/lib/components/employer-grid/employer-grid.component.mjs +794 -0
- package/esm2022/lib/components/error/error.component.mjs +86 -0
- package/esm2022/lib/components/fav-menu/fav-menu.component.mjs +163 -0
- package/{esm2020 → esm2022}/lib/components/file-download/file-download.component.mjs +104 -104
- package/esm2022/lib/components/file-uploader/file-uploader.component.mjs +315 -0
- package/esm2022/lib/components/footer/footer.component.mjs +332 -0
- package/esm2022/lib/components/header/header.component.mjs +558 -0
- package/esm2022/lib/components/help/help.component.mjs +49 -0
- package/esm2022/lib/components/idle-detector/idle-detector.component.mjs +65 -0
- package/{esm2020 → esm2022}/lib/components/info/info.component.mjs +187 -188
- package/esm2022/lib/components/job-search-result-page/job-search-result-page.component.mjs +206 -0
- package/esm2022/lib/components/legal-disclaimar/legal-disclaimar.component.mjs +193 -0
- package/esm2022/lib/components/maintenance-detector/maintenance-detector.component.mjs +43 -0
- package/esm2022/lib/components/mask/mask.component.mjs +48 -0
- package/esm2022/lib/components/menu/menu.component.mjs +423 -0
- package/esm2022/lib/components/mfa/mfa.component.mjs +444 -0
- package/esm2022/lib/components/mfa-popup/mfa-popup.component.mjs +50 -0
- package/esm2022/lib/components/money-expect/money-expect.component.mjs +90 -0
- package/esm2022/lib/components/msg/msg.component.mjs +48 -0
- package/esm2022/lib/components/news/news.component.mjs +90 -0
- package/esm2022/lib/components/overlay-info/overlay-info.component.mjs +213 -0
- package/esm2022/lib/components/page/page.component.mjs +136 -0
- package/esm2022/lib/components/profile/profile.component.mjs +177 -0
- package/esm2022/lib/components/profile-redirect/profile-redirect.component.mjs +63 -0
- package/esm2022/lib/components/questionnaire/AppValidators.mjs +487 -0
- package/{esm2020 → esm2022}/lib/components/questionnaire/FbConstants.mjs +7 -7
- package/{esm2020 → esm2022}/lib/components/questionnaire/SelectItem.mjs +1 -1
- package/esm2022/lib/components/questionnaire/account-success/account-success.page.mjs +256 -0
- package/esm2022/lib/components/questionnaire/common-success/common-success.page.mjs +475 -0
- package/esm2022/lib/components/questionnaire/dynamic-form-panel.component.mjs +1094 -0
- package/esm2022/lib/components/questionnaire/dynamic-form-question.component.mjs +1882 -0
- package/esm2022/lib/components/questionnaire/dynamic-form.component.mjs +1263 -0
- package/esm2022/lib/components/questionnaire/form-builder/form-builder.page.mjs +244 -0
- package/{esm2020 → esm2022}/lib/components/questionnaire/input-focus.directive.mjs +44 -44
- package/esm2022/lib/components/questionnaire/multi-questionnaire/multi-questionnaire.component.mjs +256 -0
- package/{esm2020 → esm2022}/lib/components/questionnaire/question-base.mjs +2 -2
- package/{esm2020 → esm2022}/lib/components/questionnaire/question-control.service.mjs +420 -419
- package/{esm2020 → esm2022}/lib/components/questionnaire/question.service.mjs +33 -33
- package/esm2022/lib/components/questionnaire/render-questionnaire/render-questionnaire.page.mjs +262 -0
- package/{esm2020 → esm2022}/lib/components/read-more/read-more.component.mjs +67 -67
- package/esm2022/lib/components/requalify-lift-previous-issues/requalify-lift-previous-issues.component.mjs +690 -0
- package/esm2022/lib/components/search-employer/search-employer.component.mjs +142 -0
- package/esm2022/lib/components/select/select.component.mjs +154 -0
- package/esm2022/lib/components/ssn/ssn.component.mjs +44 -0
- package/esm2022/lib/components/ssn-reverify/ssn-reverify.component.mjs +151 -0
- package/esm2022/lib/components/test/test.component.mjs +19 -0
- package/esm2022/lib/components/user-login/user-login.component.mjs +398 -0
- package/esm2022/lib/components/weekly-cert-employer/weekly-cert-employer.component.mjs +442 -0
- package/esm2022/lib/components/weekly-cert-employer-grid/weekly-cert-employer-grid.component.mjs +307 -0
- package/{esm2020 → esm2022}/lib/directives/auto-focus/auto-focus.directive.mjs +31 -31
- package/{esm2020 → esm2022}/lib/directives/caps-lock.directive.mjs +38 -38
- package/{esm2020 → esm2022}/lib/directives/required-roles/required-roles.directive.mjs +30 -30
- package/{esm2020 → esm2022}/lib/enums/EmailStatusEnum.mjs +8 -8
- package/{esm2020 → esm2022}/lib/guards/auth.guard.mjs +138 -138
- package/esm2022/lib/guards/no-login/no-login.guard.mjs +21 -0
- package/{esm2020 → esm2022}/lib/interceptors/error-interceptor/http-error-interceptor.mjs +107 -107
- package/{esm2020 → esm2022}/lib/interceptors/header-interceptor/http-header.interceptor.mjs +99 -99
- package/{esm2020 → esm2022}/lib/models/AddressComponentModel.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/BankDetailsComponentModel.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/BankDetailsModel.mjs +3 -3
- package/{esm2020 → esm2022}/lib/models/CinRequalificationCriteriaModel.mjs +3 -3
- package/{esm2020 → esm2022}/lib/models/EmployerDetailSearchResult.mjs +5 -5
- package/{esm2020 → esm2022}/lib/models/ErrorModel.mjs +5 -5
- package/{esm2020 → esm2022}/lib/models/FileModel.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/LibConstants.mjs +119 -119
- package/{esm2020 → esm2022}/lib/models/NewsAndAnnouncementModel.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/NotificationModel.mjs +5 -5
- package/{esm2020 → esm2022}/lib/models/OtpAuthModel.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/PaymentComponentModel.mjs +2 -2
- package/esm2022/lib/models/RequalifyLiftPageModel.mjs +11 -0
- package/{esm2020 → esm2022}/lib/models/SsaVerificationModel.mjs +3 -3
- package/{esm2020 → esm2022}/lib/models/TrendModel.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/UserDetailsModel.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/UserModel.mjs +5 -5
- package/{esm2020 → esm2022}/lib/models/case/CaseAttachmentModel.mjs +3 -3
- package/{esm2020 → esm2022}/lib/models/claimant/ClaimantModel.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/claimant/JobResultsData.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/claimant/MatchingJobs.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/claimant/ResetPasswordModel.mjs +2 -2
- package/esm2022/lib/models/cmp/CaseCoreModel.mjs +3 -0
- package/{esm2020 → esm2022}/lib/models/cmp/ComplaintCategoryModel.mjs +3 -3
- package/{esm2020 → esm2022}/lib/models/cmp/ComplaintCategoryOutputModel.mjs +5 -5
- package/esm2022/lib/models/cmp/ContactUsModel.mjs +3 -0
- package/{esm2020 → esm2022}/lib/models/cmp/EmailTemplateModel.mjs +3 -3
- package/esm2022/lib/models/cmp/contactUsInqueryModel.mjs +7 -0
- package/{esm2020 → esm2022}/lib/models/cmp/messageRourceModel.mjs +3 -3
- package/esm2022/lib/models/dashboard-model.mjs +3 -0
- package/esm2022/lib/models/dependent.model.mjs +8 -0
- package/{esm2020 → esm2022}/lib/models/questionnaire/ClaimAppEmpRequestModel.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/questionnaire/ClaimAppEmpResponseModel.mjs +7 -7
- package/{esm2020 → esm2022}/lib/models/questionnaire/ClaimAppEmployerDetailsModel.mjs +5 -5
- package/{esm2020 → esm2022}/lib/models/questionnaire/ClaimOnlyEmployerDataModel.mjs +2 -2
- package/esm2022/lib/models/questionnaire/ComboModel.mjs +337 -0
- package/{esm2020 → esm2022}/lib/models/questionnaire/ElementsModel.mjs +7 -7
- package/{esm2020 → esm2022}/lib/models/questionnaire/EmployerDetailSearchResult.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/questionnaire/EmployerWagesModel.mjs +3 -3
- package/{esm2020 → esm2022}/lib/models/questionnaire/FBConfigModel.mjs +5 -5
- package/{esm2020 → esm2022}/lib/models/questionnaire/KeyValueModel.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/questionnaire/LegalDiscaimarModel.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/questionnaire/LoaderModel.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/questionnaire/PollingStatusModel.mjs +3 -3
- package/{esm2020 → esm2022}/lib/models/questionnaire/QtrYearEmployerWageModel.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/questionnaire/QuestionnaireQueryModel.mjs +7 -7
- package/{esm2020 → esm2022}/lib/models/questionnaire/QuestionnaireReturnModel.mjs +10 -10
- package/{esm2020 → esm2022}/lib/models/questionnaire/QuestionnaireSaveModel.mjs +2 -2
- package/esm2022/lib/models/questionnaire/RequalifyLiftIssuesModel.mjs +3 -0
- package/{esm2020 → esm2022}/lib/models/questionnaire/ServiceActionResponseModel.mjs +3 -3
- package/esm2022/lib/models/questionnaire/StatusModel.mjs +6 -0
- package/{esm2020 → esm2022}/lib/models/questionnaire/SuccessPageElement.mjs +2 -2
- package/esm2022/lib/models/questionnaire/UI512AResponseModel.mjs +3 -0
- package/{esm2020 → esm2022}/lib/models/questionnaire/ValidationModel.mjs +2 -2
- package/esm2022/lib/ngx-reusa-app-lib.component.mjs +23 -0
- package/esm2022/lib/ngx-reusa-app-lib.module.mjs +402 -0
- package/{esm2020 → esm2022}/lib/ngx-reusa-app-lib.service.mjs +14 -14
- package/{esm2020 → esm2022}/lib/pages/BasePage.mjs +76 -76
- package/esm2022/lib/pages/common/accessibility-policy/accessibility-policy.page.mjs +81 -0
- package/esm2022/lib/pages/common/change-password/change-password.page.mjs +463 -0
- package/esm2022/lib/pages/common/landing/landing.component.mjs +208 -0
- package/esm2022/lib/pages/common/landing2/landing2.component.mjs +244 -0
- package/esm2022/lib/pages/common/login/login.component.mjs +526 -0
- package/esm2022/lib/pages/common/not-found/not-found.page.mjs +24 -0
- package/esm2022/lib/pages/common/privacy-disclaimer/privacy-disclaimer.page.mjs +306 -0
- package/esm2022/lib/pages/common/security-policy/security-policy.page.mjs +61 -0
- package/esm2022/lib/pages/common/unauthorized/unauthorized.page.mjs +24 -0
- package/esm2022/lib/pages/popovers/language/language.page.mjs +61 -0
- package/esm2022/lib/pages/popovers/my-notifications/my-notifications.page.mjs +204 -0
- package/esm2022/lib/pages/popovers/my-profile/my-profile.page.mjs +129 -0
- package/esm2022/lib/pages/popovers/user-search/user-search.component.mjs +251 -0
- package/{esm2020 → esm2022}/lib/pipes/filter.pipe.mjs +30 -30
- package/{esm2020 → esm2022}/lib/pipes/mask/mask.email.pipe.mjs +23 -23
- package/{esm2020 → esm2022}/lib/pipes/proper-case/proper-case.pipe.mjs +27 -27
- package/{esm2020 → esm2022}/lib/pipes/translate/dynamic-translate.pipe.mjs +44 -44
- package/{esm2020 → esm2022}/lib/pipes/trust-html/trust-html.pipe.mjs +20 -20
- package/{esm2020 → esm2022}/lib/services/base-service.mjs +49 -49
- package/{esm2020 → esm2022}/lib/services/captcha/captcha.service.mjs +46 -46
- package/{esm2020 → esm2022}/lib/services/case-service/case.service.mjs +47 -47
- package/{esm2020 → esm2022}/lib/services/chatbot/chatbot.service.mjs +257 -257
- package/esm2022/lib/services/chatbot/script.const.mjs +42 -0
- package/{esm2020 → esm2022}/lib/services/claimant/claimant.service.mjs +31 -31
- package/esm2022/lib/services/claimant-context/claimant-context.service.mjs +48 -0
- package/{esm2020 → esm2022}/lib/services/claimant-service/claimant.service.mjs +47 -47
- package/{esm2020 → esm2022}/lib/services/claims/claims.service.mjs +99 -99
- package/{esm2020 → esm2022}/lib/services/cmp-service/cmp.service.mjs +84 -84
- package/{esm2020 → esm2022}/lib/services/dms-service/dms.service.mjs +60 -60
- package/{esm2020 → esm2022}/lib/services/fpjs/fingerprint.service.mjs +70 -70
- package/{esm2020 → esm2022}/lib/services/google-analytics/google-analytics.service.mjs +29 -29
- package/{esm2020 → esm2022}/lib/services/help/help.service.mjs +63 -63
- package/{esm2020 → esm2022}/lib/services/idle/idle.service.mjs +159 -159
- package/{esm2020 → esm2022}/lib/services/logger/logger.service.mjs +67 -67
- package/esm2022/lib/services/login/login.service.mjs +330 -0
- package/{esm2020 → esm2022}/lib/services/maintenance/maintenance.service.mjs +21 -21
- package/{esm2020 → esm2022}/lib/services/notification/notification.service.mjs +113 -113
- package/{esm2020 → esm2022}/lib/services/questionnaire/questionnaire.service.mjs +69 -69
- package/{esm2020 → esm2022}/lib/services/questionnaire/validation.service.mjs +59 -59
- package/{esm2020 → esm2022}/lib/services/security-service/security.service.mjs +35 -35
- package/{esm2020 → esm2022}/lib/services/tour/tour.service.mjs +60 -60
- package/{esm2020 → esm2022}/lib/services/util/util.service.mjs +424 -424
- package/esm2022/lib/validations/AppRegex.mjs +45 -0
- package/{esm2020 → esm2022}/lib/validations/AppValidators.mjs +165 -165
- package/{esm2020 → esm2022}/public-api.mjs +131 -131
- package/{esm2020 → esm2022}/reusa-ngx-reusa-app-lib.mjs +4 -4
- package/{fesm2020 → fesm2022}/reusa-ngx-reusa-app-lib.mjs +27966 -27877
- package/fesm2022/reusa-ngx-reusa-app-lib.mjs.map +1 -0
- package/index.d.ts +5 -5
- package/lib/annimations/app-animations.d.ts +3 -3
- package/lib/components/add-employer/add-employer.component.d.ts +276 -276
- package/lib/components/add-participant/add-participant.component.d.ts +45 -45
- package/lib/components/add-payment/add-payment.component.d.ts +33 -33
- package/lib/components/address/address.component.d.ts +68 -68
- package/lib/components/address/address.component.d.ts.map +1 -1
- package/lib/components/bank-details/bank-details.component.d.ts +39 -39
- package/lib/components/captcha/captcha.component.d.ts +44 -44
- package/lib/components/card/card.component.d.ts +11 -11
- package/lib/components/contact-us/contact-us.component.d.ts +105 -107
- package/lib/components/contact-us/contact-us.component.d.ts.map +1 -1
- package/lib/components/content/content.component.d.ts +13 -13
- package/lib/components/correspondence-download/correspondence-download.component.d.ts +21 -21
- package/lib/components/dashboard-card/dashboard-card.component.d.ts +25 -25
- package/lib/components/dashboard-card/dashboard-card.component.d.ts.map +1 -1
- package/lib/components/dependent-grid/dependent-grid.component.d.ts +35 -35
- package/lib/components/disclosure/disclosure.component.d.ts +12 -12
- package/lib/components/dropdown/dropdown.component.d.ts +581 -207
- package/lib/components/dropdown/dropdown.component.d.ts.map +1 -1
- package/lib/components/dropdown/dropdown.interface.d.ts +155 -0
- package/lib/components/dropdown/dropdown.interface.d.ts.map +1 -0
- package/lib/components/email-update/email-update.component.d.ts +31 -31
- package/lib/components/employer-grid/employer-grid.component.d.ts +95 -94
- package/lib/components/employer-grid/employer-grid.component.d.ts.map +1 -1
- package/lib/components/error/error.component.d.ts +17 -17
- package/lib/components/fav-menu/fav-menu.component.d.ts +21 -21
- package/lib/components/file-download/file-download.component.d.ts +22 -22
- package/lib/components/file-uploader/file-uploader.component.d.ts +47 -47
- package/lib/components/footer/footer.component.d.ts +36 -36
- package/lib/components/header/header.component.d.ts +59 -58
- package/lib/components/header/header.component.d.ts.map +1 -1
- package/lib/components/help/help.component.d.ts +10 -10
- package/lib/components/idle-detector/idle-detector.component.d.ts +15 -15
- package/lib/components/info/info.component.d.ts +22 -22
- package/lib/components/job-search-result-page/job-search-result-page.component.d.ts +21 -21
- package/lib/components/legal-disclaimar/legal-disclaimar.component.d.ts +33 -33
- package/lib/components/maintenance-detector/maintenance-detector.component.d.ts +15 -15
- package/lib/components/mask/mask.component.d.ts +11 -11
- package/lib/components/menu/menu.component.d.ts +43 -43
- package/lib/components/mfa/mfa.component.d.ts +59 -59
- package/lib/components/mfa-popup/mfa-popup.component.d.ts +16 -16
- package/lib/components/money-expect/money-expect.component.d.ts +18 -18
- package/lib/components/msg/msg.component.d.ts +10 -10
- package/lib/components/news/news.component.d.ts +14 -14
- package/lib/components/overlay-info/overlay-info.component.d.ts +34 -34
- package/lib/components/page/page.component.d.ts +23 -23
- package/lib/components/profile/profile.component.d.ts +28 -28
- package/lib/components/profile-redirect/profile-redirect.component.d.ts +13 -13
- package/lib/components/questionnaire/AppValidators.d.ts +14 -14
- package/lib/components/questionnaire/AppValidators.d.ts.map +1 -1
- package/lib/components/questionnaire/FbConstants.d.ts +7 -7
- package/lib/components/questionnaire/SelectItem.d.ts +4 -4
- package/lib/components/questionnaire/account-success/account-success.page.d.ts +53 -53
- package/lib/components/questionnaire/common-success/common-success.page.d.ts +75 -75
- package/lib/components/questionnaire/common-success/common-success.page.d.ts.map +1 -1
- package/lib/components/questionnaire/dynamic-form-panel.component.d.ts +46 -46
- package/lib/components/questionnaire/dynamic-form-question.component.d.ts +82 -82
- package/lib/components/questionnaire/dynamic-form-question.component.d.ts.map +1 -1
- package/lib/components/questionnaire/dynamic-form.component.d.ts +130 -130
- package/lib/components/questionnaire/dynamic-form.component.d.ts.map +1 -1
- package/lib/components/questionnaire/form-builder/form-builder.page.d.ts +66 -64
- package/lib/components/questionnaire/form-builder/form-builder.page.d.ts.map +1 -1
- package/lib/components/questionnaire/input-focus.directive.d.ts +11 -11
- package/lib/components/questionnaire/multi-questionnaire/multi-questionnaire.component.d.ts +38 -38
- package/lib/components/questionnaire/multi-questionnaire/multi-questionnaire.component.d.ts.map +1 -1
- package/lib/components/questionnaire/question-base.d.ts +16 -16
- package/lib/components/questionnaire/question-control.service.d.ts +19 -19
- package/lib/components/questionnaire/question-control.service.d.ts.map +1 -1
- package/lib/components/questionnaire/question.service.d.ts +18 -18
- package/lib/components/questionnaire/render-questionnaire/render-questionnaire.page.d.ts +75 -74
- package/lib/components/questionnaire/render-questionnaire/render-questionnaire.page.d.ts.map +1 -1
- package/lib/components/read-more/read-more.component.d.ts +14 -14
- package/lib/components/requalify-lift-previous-issues/requalify-lift-previous-issues.component.d.ts +67 -67
- package/lib/components/search-employer/search-employer.component.d.ts +37 -36
- package/lib/components/search-employer/search-employer.component.d.ts.map +1 -1
- package/lib/components/select/select.component.d.ts +55 -55
- package/lib/components/ssn/ssn.component.d.ts +11 -11
- package/lib/components/ssn-reverify/ssn-reverify.component.d.ts +22 -22
- package/lib/components/test/test.component.d.ts +8 -8
- package/lib/components/user-login/user-login.component.d.ts +48 -48
- package/lib/components/weekly-cert-employer/weekly-cert-employer.component.d.ts +59 -59
- package/lib/components/weekly-cert-employer-grid/weekly-cert-employer-grid.component.d.ts +45 -45
- package/lib/directives/auto-focus/auto-focus.directive.d.ts +12 -12
- package/lib/directives/caps-lock.directive.d.ts +11 -11
- package/lib/directives/required-roles/required-roles.directive.d.ts +14 -14
- package/lib/enums/EmailStatusEnum.d.ts +7 -7
- package/lib/guards/auth.guard.d.ts +28 -28
- package/lib/guards/auth.guard.d.ts.map +1 -1
- package/lib/guards/no-login/no-login.guard.d.ts +11 -11
- package/lib/guards/no-login/no-login.guard.d.ts.map +1 -1
- package/lib/interceptors/error-interceptor/http-error-interceptor.d.ts +22 -22
- package/lib/interceptors/header-interceptor/http-header.interceptor.d.ts +21 -21
- package/lib/interceptors/header-interceptor/http-header.interceptor.d.ts.map +1 -1
- package/lib/models/AddressComponentModel.d.ts +12 -12
- package/lib/models/BankDetailsComponentModel.d.ts +11 -11
- package/lib/models/BankDetailsModel.d.ts +4 -4
- package/lib/models/CinRequalificationCriteriaModel.d.ts +10 -10
- package/lib/models/EmployerDetailSearchResult.d.ts +47 -47
- package/lib/models/ErrorModel.d.ts +6 -6
- package/lib/models/FileModel.d.ts +4 -4
- package/lib/models/LibConstants.d.ts +112 -112
- package/lib/models/NewsAndAnnouncementModel.d.ts +5 -5
- package/lib/models/NotificationModel.d.ts +10 -10
- package/lib/models/OtpAuthModel.d.ts +6 -6
- package/lib/models/PaymentComponentModel.d.ts +7 -7
- package/lib/models/RequalifyLiftPageModel.d.ts +11 -11
- package/lib/models/SsaVerificationModel.d.ts +8 -8
- package/lib/models/TrendModel.d.ts +13 -13
- package/lib/models/UserDetailsModel.d.ts +9 -9
- package/lib/models/UserModel.d.ts +46 -46
- package/lib/models/case/CaseAttachmentModel.d.ts +5 -5
- package/lib/models/claimant/ClaimantModel.d.ts +22 -22
- package/lib/models/claimant/JobResultsData.d.ts +7 -7
- package/lib/models/claimant/MatchingJobs.d.ts +12 -12
- package/lib/models/claimant/ResetPasswordModel.d.ts +8 -8
- package/lib/models/cmp/CaseCoreModel.d.ts +20 -20
- package/lib/models/cmp/ComplaintCategoryModel.d.ts +8 -8
- package/lib/models/cmp/ComplaintCategoryOutputModel.d.ts +5 -5
- package/lib/models/cmp/ContactUsModel.d.ts +22 -22
- package/lib/models/cmp/EmailTemplateModel.d.ts +6 -6
- package/lib/models/cmp/contactUsInqueryModel.d.ts +46 -46
- package/lib/models/cmp/messageRourceModel.d.ts +5 -5
- package/lib/models/dashboard-model.d.ts +43 -43
- package/lib/models/dependent.model.d.ts +11 -18
- package/lib/models/dependent.model.d.ts.map +1 -1
- package/lib/models/questionnaire/ClaimAppEmpRequestModel.d.ts +8 -8
- package/lib/models/questionnaire/ClaimAppEmpResponseModel.d.ts +16 -16
- package/lib/models/questionnaire/ClaimAppEmployerDetailsModel.d.ts +151 -151
- package/lib/models/questionnaire/ClaimOnlyEmployerDataModel.d.ts +16 -16
- package/lib/models/questionnaire/ComboModel.d.ts +85 -85
- package/lib/models/questionnaire/ElementsModel.d.ts +68 -68
- package/lib/models/questionnaire/EmployerDetailSearchResult.d.ts +17 -17
- package/lib/models/questionnaire/EmployerWagesModel.d.ts +4 -4
- package/lib/models/questionnaire/FBConfigModel.d.ts +11 -11
- package/lib/models/questionnaire/KeyValueModel.d.ts +10 -10
- package/lib/models/questionnaire/LegalDiscaimarModel.d.ts +10 -10
- package/lib/models/questionnaire/LoaderModel.d.ts +4 -4
- package/lib/models/questionnaire/PollingStatusModel.d.ts +6 -6
- package/lib/models/questionnaire/QtrYearEmployerWageModel.d.ts +8 -8
- package/lib/models/questionnaire/QuestionnaireQueryModel.d.ts +23 -23
- package/lib/models/questionnaire/QuestionnaireReturnModel.d.ts +20 -20
- package/lib/models/questionnaire/QuestionnaireSaveModel.d.ts +24 -24
- package/lib/models/questionnaire/RequalifyLiftIssuesModel.d.ts +13 -13
- package/lib/models/questionnaire/ServiceActionResponseModel.d.ts +6 -6
- package/lib/models/questionnaire/StatusModel.d.ts +15 -15
- package/lib/models/questionnaire/SuccessPageElement.d.ts +8 -8
- package/lib/models/questionnaire/UI512AResponseModel.d.ts +12 -12
- package/lib/models/questionnaire/ValidationModel.d.ts +17 -17
- package/lib/ngx-reusa-app-lib.component.d.ts +8 -8
- package/lib/ngx-reusa-app-lib.module.d.ts +148 -145
- package/lib/ngx-reusa-app-lib.module.d.ts.map +1 -1
- package/lib/ngx-reusa-app-lib.service.d.ts +6 -6
- package/lib/pages/BasePage.d.ts +26 -26
- package/lib/pages/common/accessibility-policy/accessibility-policy.page.d.ts +11 -11
- package/lib/pages/common/change-password/change-password.page.d.ts +40 -40
- package/lib/pages/common/landing/landing.component.d.ts +24 -24
- package/lib/pages/common/landing2/landing2.component.d.ts +30 -30
- package/lib/pages/common/login/login.component.d.ts +64 -64
- package/lib/pages/common/not-found/not-found.page.d.ts +8 -8
- package/lib/pages/common/privacy-disclaimer/privacy-disclaimer.page.d.ts +11 -11
- package/lib/pages/common/security-policy/security-policy.page.d.ts +11 -11
- package/lib/pages/common/unauthorized/unauthorized.page.d.ts +8 -8
- package/lib/pages/popovers/language/language.page.d.ts +16 -16
- package/lib/pages/popovers/my-notifications/my-notifications.page.d.ts +21 -21
- package/lib/pages/popovers/my-profile/my-profile.page.d.ts +20 -20
- package/lib/pages/popovers/user-search/user-search.component.d.ts +31 -31
- package/lib/pipes/filter.pipe.d.ts +7 -7
- package/lib/pipes/mask/mask.email.pipe.d.ts +10 -10
- package/lib/pipes/proper-case/proper-case.pipe.d.ts +8 -8
- package/lib/pipes/translate/dynamic-translate.pipe.d.ts +10 -10
- package/lib/pipes/trust-html/trust-html.pipe.d.ts +10 -10
- package/lib/services/base-service.d.ts +92 -92
- package/lib/services/captcha/captcha.service.d.ts +15 -15
- package/lib/services/case-service/case.service.d.ts +19 -19
- package/lib/services/chatbot/chatbot.service.d.ts +60 -60
- package/lib/services/chatbot/script.const.d.ts +15 -15
- package/lib/services/claimant/claimant.service.d.ts +17 -17
- package/lib/services/claimant-context/claimant-context.service.d.ts +18 -18
- package/lib/services/claimant-context/claimant-context.service.d.ts.map +1 -1
- package/lib/services/claimant-service/claimant.service.d.ts +19 -19
- package/lib/services/claims/claims.service.d.ts +39 -39
- package/lib/services/cmp-service/cmp.service.d.ts +33 -33
- package/lib/services/dms-service/dms.service.d.ts +23 -23
- package/lib/services/fpjs/fingerprint.service.d.ts +18 -18
- package/lib/services/google-analytics/google-analytics.service.d.ts +8 -8
- package/lib/services/help/help.service.d.ts +25 -25
- package/lib/services/help/help.service.d.ts.map +1 -1
- package/lib/services/idle/idle.service.d.ts +43 -43
- package/lib/services/logger/logger.service.d.ts +31 -31
- package/lib/services/logger/logger.service.d.ts.map +1 -1
- package/lib/services/login/login.service.d.ts +75 -75
- package/lib/services/login/login.service.d.ts.map +1 -1
- package/lib/services/maintenance/maintenance.service.d.ts +15 -15
- package/lib/services/notification/notification.service.d.ts +38 -38
- package/lib/services/questionnaire/questionnaire.service.d.ts +35 -35
- package/lib/services/questionnaire/validation.service.d.ts +81 -81
- package/lib/services/security-service/security.service.d.ts +14 -14
- package/lib/services/tour/tour.service.d.ts +24 -24
- package/lib/services/util/util.service.d.ts +190 -190
- package/lib/validations/AppRegex.d.ts +43 -43
- package/lib/validations/AppValidators.d.ts +53 -53
- package/package.json +6 -11
- package/public-api.d.ts +121 -121
- package/esm2020/lib/components/add-employer/add-employer.component.mjs +0 -3099
- package/esm2020/lib/components/add-participant/add-participant.component.mjs +0 -396
- package/esm2020/lib/components/add-payment/add-payment.component.mjs +0 -186
- package/esm2020/lib/components/address/address.component.mjs +0 -480
- package/esm2020/lib/components/bank-details/bank-details.component.mjs +0 -275
- package/esm2020/lib/components/captcha/captcha.component.mjs +0 -180
- package/esm2020/lib/components/card/card.component.mjs +0 -54
- package/esm2020/lib/components/contact-us/contact-us.component.mjs +0 -1004
- package/esm2020/lib/components/content/content.component.mjs +0 -60
- package/esm2020/lib/components/correspondence-download/correspondence-download.component.mjs +0 -82
- package/esm2020/lib/components/dashboard-card/dashboard-card.component.mjs +0 -219
- package/esm2020/lib/components/dependent-grid/dependent-grid.component.mjs +0 -297
- package/esm2020/lib/components/disclosure/disclosure.component.mjs +0 -59
- package/esm2020/lib/components/dropdown/dropdown.component.mjs +0 -1552
- package/esm2020/lib/components/email-update/email-update.component.mjs +0 -287
- package/esm2020/lib/components/employer-grid/employer-grid.component.mjs +0 -800
- package/esm2020/lib/components/error/error.component.mjs +0 -85
- package/esm2020/lib/components/fav-menu/fav-menu.component.mjs +0 -163
- package/esm2020/lib/components/file-uploader/file-uploader.component.mjs +0 -317
- package/esm2020/lib/components/footer/footer.component.mjs +0 -337
- package/esm2020/lib/components/header/header.component.mjs +0 -566
- package/esm2020/lib/components/help/help.component.mjs +0 -48
- package/esm2020/lib/components/idle-detector/idle-detector.component.mjs +0 -64
- package/esm2020/lib/components/job-search-result-page/job-search-result-page.component.mjs +0 -209
- package/esm2020/lib/components/legal-disclaimar/legal-disclaimar.component.mjs +0 -192
- package/esm2020/lib/components/maintenance-detector/maintenance-detector.component.mjs +0 -42
- package/esm2020/lib/components/mask/mask.component.mjs +0 -48
- package/esm2020/lib/components/menu/menu.component.mjs +0 -430
- package/esm2020/lib/components/mfa/mfa.component.mjs +0 -451
- package/esm2020/lib/components/mfa-popup/mfa-popup.component.mjs +0 -49
- package/esm2020/lib/components/money-expect/money-expect.component.mjs +0 -89
- package/esm2020/lib/components/msg/msg.component.mjs +0 -48
- package/esm2020/lib/components/news/news.component.mjs +0 -89
- package/esm2020/lib/components/overlay-info/overlay-info.component.mjs +0 -235
- package/esm2020/lib/components/page/page.component.mjs +0 -138
- package/esm2020/lib/components/profile/profile.component.mjs +0 -182
- package/esm2020/lib/components/profile-redirect/profile-redirect.component.mjs +0 -62
- package/esm2020/lib/components/questionnaire/AppValidators.mjs +0 -523
- package/esm2020/lib/components/questionnaire/account-success/account-success.page.mjs +0 -259
- package/esm2020/lib/components/questionnaire/common-success/common-success.page.mjs +0 -483
- package/esm2020/lib/components/questionnaire/dynamic-form-panel.component.mjs +0 -1137
- package/esm2020/lib/components/questionnaire/dynamic-form-question.component.mjs +0 -1948
- package/esm2020/lib/components/questionnaire/dynamic-form.component.mjs +0 -1257
- package/esm2020/lib/components/questionnaire/form-builder/form-builder.page.mjs +0 -240
- package/esm2020/lib/components/questionnaire/multi-questionnaire/multi-questionnaire.component.mjs +0 -259
- package/esm2020/lib/components/questionnaire/render-questionnaire/render-questionnaire.page.mjs +0 -260
- package/esm2020/lib/components/requalify-lift-previous-issues/requalify-lift-previous-issues.component.mjs +0 -703
- package/esm2020/lib/components/search-employer/search-employer.component.mjs +0 -142
- package/esm2020/lib/components/select/select.component.mjs +0 -153
- package/esm2020/lib/components/ssn/ssn.component.mjs +0 -43
- package/esm2020/lib/components/ssn-reverify/ssn-reverify.component.mjs +0 -150
- package/esm2020/lib/components/test/test.component.mjs +0 -18
- package/esm2020/lib/components/user-login/user-login.component.mjs +0 -401
- package/esm2020/lib/components/weekly-cert-employer/weekly-cert-employer.component.mjs +0 -445
- package/esm2020/lib/components/weekly-cert-employer-grid/weekly-cert-employer-grid.component.mjs +0 -308
- package/esm2020/lib/guards/no-login/no-login.guard.mjs +0 -21
- package/esm2020/lib/models/RequalifyLiftPageModel.mjs +0 -11
- package/esm2020/lib/models/cmp/CaseCoreModel.mjs +0 -3
- package/esm2020/lib/models/cmp/ContactUsModel.mjs +0 -3
- package/esm2020/lib/models/cmp/contactUsInqueryModel.mjs +0 -7
- package/esm2020/lib/models/dashboard-model.mjs +0 -3
- package/esm2020/lib/models/dependent.model.mjs +0 -8
- package/esm2020/lib/models/questionnaire/ComboModel.mjs +0 -337
- package/esm2020/lib/models/questionnaire/RequalifyLiftIssuesModel.mjs +0 -3
- package/esm2020/lib/models/questionnaire/StatusModel.mjs +0 -6
- package/esm2020/lib/models/questionnaire/UI512AResponseModel.mjs +0 -3
- package/esm2020/lib/ngx-reusa-app-lib.component.mjs +0 -22
- package/esm2020/lib/ngx-reusa-app-lib.module.mjs +0 -390
- package/esm2020/lib/pages/common/accessibility-policy/accessibility-policy.page.mjs +0 -80
- package/esm2020/lib/pages/common/change-password/change-password.page.mjs +0 -477
- package/esm2020/lib/pages/common/landing/landing.component.mjs +0 -207
- package/esm2020/lib/pages/common/landing2/landing2.component.mjs +0 -244
- package/esm2020/lib/pages/common/login/login.component.mjs +0 -542
- package/esm2020/lib/pages/common/not-found/not-found.page.mjs +0 -23
- package/esm2020/lib/pages/common/privacy-disclaimer/privacy-disclaimer.page.mjs +0 -305
- package/esm2020/lib/pages/common/security-policy/security-policy.page.mjs +0 -60
- package/esm2020/lib/pages/common/unauthorized/unauthorized.page.mjs +0 -23
- package/esm2020/lib/pages/popovers/language/language.page.mjs +0 -60
- package/esm2020/lib/pages/popovers/my-notifications/my-notifications.page.mjs +0 -205
- package/esm2020/lib/pages/popovers/my-profile/my-profile.page.mjs +0 -129
- package/esm2020/lib/pages/popovers/user-search/user-search.component.mjs +0 -253
- package/esm2020/lib/services/chatbot/script.const.mjs +0 -42
- package/esm2020/lib/services/claimant-context/claimant-context.service.mjs +0 -47
- package/esm2020/lib/services/login/login.service.mjs +0 -330
- package/esm2020/lib/validations/AppRegex.mjs +0 -45
- package/fesm2015/reusa-ngx-reusa-app-lib.mjs +0 -30728
- package/fesm2015/reusa-ngx-reusa-app-lib.mjs.map +0 -1
- package/fesm2020/reusa-ngx-reusa-app-lib.mjs.map +0 -1
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { Validators } from '@angular/forms';
|
|
3
|
+
import { AppValidators } from '../../../validations/AppValidators';
|
|
4
|
+
import { BasePage } from '../../BasePage';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@angular/forms";
|
|
7
|
+
import * as i2 from "../../../services/claimant/claimant.service";
|
|
8
|
+
import * as i3 from "../../../services/util/util.service";
|
|
9
|
+
import * as i4 from "@ionic/angular";
|
|
10
|
+
import * as i5 from "@angular/common";
|
|
11
|
+
import * as i6 from "primeng/api";
|
|
12
|
+
import * as i7 from "@angular/material/form-field";
|
|
13
|
+
import * as i8 from "primeng/tabview";
|
|
14
|
+
import * as i9 from "@angular/material/input";
|
|
15
|
+
import * as i10 from "primeng/table";
|
|
16
|
+
import * as i11 from "../../../components/ssn/ssn.component";
|
|
17
|
+
function UserSearchComponent_mat_hint_5_Template(rf, ctx) { if (rf & 1) {
|
|
18
|
+
i0.ɵɵelementStart(0, "mat-hint");
|
|
19
|
+
i0.ɵɵtext(1, " At least one search criteria is required. ");
|
|
20
|
+
i0.ɵɵelementEnd();
|
|
21
|
+
} }
|
|
22
|
+
function UserSearchComponent_mat_error_23_Template(rf, ctx) { if (rf & 1) {
|
|
23
|
+
i0.ɵɵelementStart(0, "mat-error");
|
|
24
|
+
i0.ɵɵtext(1, " User ID should have minimum ");
|
|
25
|
+
i0.ɵɵelementStart(2, "strong");
|
|
26
|
+
i0.ɵɵtext(3, "5 characters");
|
|
27
|
+
i0.ɵɵelementEnd()();
|
|
28
|
+
} }
|
|
29
|
+
function UserSearchComponent_mat_error_29_Template(rf, ctx) { if (rf & 1) {
|
|
30
|
+
i0.ɵɵelementStart(0, "mat-error");
|
|
31
|
+
i0.ɵɵtext(1, " SSN should have ");
|
|
32
|
+
i0.ɵɵelementStart(2, "strong");
|
|
33
|
+
i0.ɵɵtext(3, "9 digits");
|
|
34
|
+
i0.ɵɵelementEnd()();
|
|
35
|
+
} }
|
|
36
|
+
function UserSearchComponent_div_42_Template(rf, ctx) { if (rf & 1) {
|
|
37
|
+
i0.ɵɵelementStart(0, "div", 3);
|
|
38
|
+
i0.ɵɵelement(1, "ion-spinner", 17);
|
|
39
|
+
i0.ɵɵelementEnd();
|
|
40
|
+
} }
|
|
41
|
+
function UserSearchComponent_div_43_Template(rf, ctx) { if (rf & 1) {
|
|
42
|
+
i0.ɵɵelementStart(0, "div")(1, "ion-label", 18);
|
|
43
|
+
i0.ɵɵtext(2, "No record(s) present to display.");
|
|
44
|
+
i0.ɵɵelementEnd()();
|
|
45
|
+
} }
|
|
46
|
+
function UserSearchComponent_div_44_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
47
|
+
i0.ɵɵelementStart(0, "tr")(1, "th", 23);
|
|
48
|
+
i0.ɵɵtext(2, "First Name ");
|
|
49
|
+
i0.ɵɵelement(3, "p-sortIcon", 24);
|
|
50
|
+
i0.ɵɵelementEnd();
|
|
51
|
+
i0.ɵɵelementStart(4, "th", 25);
|
|
52
|
+
i0.ɵɵtext(5, "Last Name ");
|
|
53
|
+
i0.ɵɵelement(6, "p-sortIcon", 26);
|
|
54
|
+
i0.ɵɵelementEnd();
|
|
55
|
+
i0.ɵɵelementStart(7, "th");
|
|
56
|
+
i0.ɵɵtext(8, "SSN");
|
|
57
|
+
i0.ɵɵelementEnd();
|
|
58
|
+
i0.ɵɵelementStart(9, "th", 27);
|
|
59
|
+
i0.ɵɵtext(10, "User ID ");
|
|
60
|
+
i0.ɵɵelement(11, "p-sortIcon", 28);
|
|
61
|
+
i0.ɵɵelementEnd();
|
|
62
|
+
i0.ɵɵelementStart(12, "th");
|
|
63
|
+
i0.ɵɵtext(13, "Action");
|
|
64
|
+
i0.ɵɵelementEnd()();
|
|
65
|
+
} }
|
|
66
|
+
function UserSearchComponent_div_44_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
67
|
+
const _r11 = i0.ɵɵgetCurrentView();
|
|
68
|
+
i0.ɵɵelementStart(0, "tr", 29)(1, "td");
|
|
69
|
+
i0.ɵɵtext(2);
|
|
70
|
+
i0.ɵɵelementEnd();
|
|
71
|
+
i0.ɵɵelementStart(3, "td");
|
|
72
|
+
i0.ɵɵtext(4);
|
|
73
|
+
i0.ɵɵelementEnd();
|
|
74
|
+
i0.ɵɵelementStart(5, "td", 3);
|
|
75
|
+
i0.ɵɵelement(6, "app-ssn", 30);
|
|
76
|
+
i0.ɵɵelementEnd();
|
|
77
|
+
i0.ɵɵelementStart(7, "td");
|
|
78
|
+
i0.ɵɵtext(8);
|
|
79
|
+
i0.ɵɵelementEnd();
|
|
80
|
+
i0.ɵɵelementStart(9, "td", 3)(10, "ion-button", 31);
|
|
81
|
+
i0.ɵɵlistener("click", function UserSearchComponent_div_44_ng_template_4_Template_ion_button_click_10_listener() { const restoredCtx = i0.ɵɵrestoreView(_r11); const claimant_r9 = restoredCtx.$implicit; const ctx_r10 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r10.openClaimant(claimant_r9)); });
|
|
82
|
+
i0.ɵɵelement(11, "ion-icon", 32);
|
|
83
|
+
i0.ɵɵtext(12, " View ");
|
|
84
|
+
i0.ɵɵelementEnd()()();
|
|
85
|
+
} if (rf & 2) {
|
|
86
|
+
const claimant_r9 = ctx.$implicit;
|
|
87
|
+
i0.ɵɵadvance(2);
|
|
88
|
+
i0.ɵɵtextInterpolate(claimant_r9.firstName);
|
|
89
|
+
i0.ɵɵadvance(2);
|
|
90
|
+
i0.ɵɵtextInterpolate(claimant_r9.lastName);
|
|
91
|
+
i0.ɵɵadvance(2);
|
|
92
|
+
i0.ɵɵproperty("ssn", claimant_r9.ssn);
|
|
93
|
+
i0.ɵɵadvance(2);
|
|
94
|
+
i0.ɵɵtextInterpolate(claimant_r9.userId);
|
|
95
|
+
} }
|
|
96
|
+
const _c0 = () => [5, 15, 30];
|
|
97
|
+
function UserSearchComponent_div_44_Template(rf, ctx) { if (rf & 1) {
|
|
98
|
+
i0.ɵɵelementStart(0, "div")(1, "p-table", 19, 20);
|
|
99
|
+
i0.ɵɵtemplate(3, UserSearchComponent_div_44_ng_template_3_Template, 14, 0, "ng-template", 21)(4, UserSearchComponent_div_44_ng_template_4_Template, 13, 4, "ng-template", 22);
|
|
100
|
+
i0.ɵɵelementEnd()();
|
|
101
|
+
} if (rf & 2) {
|
|
102
|
+
const ctx_r5 = i0.ɵɵnextContext();
|
|
103
|
+
i0.ɵɵadvance(1);
|
|
104
|
+
i0.ɵɵproperty("value", ctx_r5.results)("rowHover", true)("rows", 5)("showCurrentPageReport", true)("rowsPerPageOptions", i0.ɵɵpureFunction0(7, _c0))("paginator", true)("filterDelay", 0);
|
|
105
|
+
} }
|
|
106
|
+
export class UserSearchComponent extends BasePage {
|
|
107
|
+
constructor(fb, cs, util, nav, popup) {
|
|
108
|
+
super();
|
|
109
|
+
this.fb = fb;
|
|
110
|
+
this.cs = cs;
|
|
111
|
+
this.util = util;
|
|
112
|
+
this.nav = nav;
|
|
113
|
+
this.popup = popup;
|
|
114
|
+
this.index = 0;
|
|
115
|
+
this.results = [];
|
|
116
|
+
}
|
|
117
|
+
ngOnInit() {
|
|
118
|
+
this.initializeSearchForm();
|
|
119
|
+
}
|
|
120
|
+
initializeSearchForm() {
|
|
121
|
+
this.searchForm = this.fb.group({
|
|
122
|
+
'firstName': [],
|
|
123
|
+
'lastName': [],
|
|
124
|
+
'userId': [],
|
|
125
|
+
'ssn': []
|
|
126
|
+
}, {
|
|
127
|
+
validators: AppValidators.selectAtleastOne(Validators.required)
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
get firstName() {
|
|
131
|
+
return this.searchForm.get('firstName');
|
|
132
|
+
}
|
|
133
|
+
get lastName() {
|
|
134
|
+
return this.searchForm.get('lastName');
|
|
135
|
+
}
|
|
136
|
+
get userId() {
|
|
137
|
+
return this.searchForm.get('userId');
|
|
138
|
+
}
|
|
139
|
+
get ssn() {
|
|
140
|
+
return this.searchForm.get('ssn');
|
|
141
|
+
}
|
|
142
|
+
search() {
|
|
143
|
+
if (this.searchForm.invalid) {
|
|
144
|
+
return;
|
|
145
|
+
}
|
|
146
|
+
this.showLoader();
|
|
147
|
+
let searchCriteria = this.searchForm.value;
|
|
148
|
+
this.index = 3;
|
|
149
|
+
this.cs
|
|
150
|
+
.search(searchCriteria)
|
|
151
|
+
.subscribe(res => {
|
|
152
|
+
this.hideLoader();
|
|
153
|
+
this.results = res;
|
|
154
|
+
}, err => {
|
|
155
|
+
this.hideLoader();
|
|
156
|
+
this.results = [];
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
reset() {
|
|
160
|
+
this.searchForm.reset();
|
|
161
|
+
this.results = [];
|
|
162
|
+
}
|
|
163
|
+
openClaimant(value) {
|
|
164
|
+
this.cs.getClaimant().next(value);
|
|
165
|
+
this.popup.dismiss(null);
|
|
166
|
+
setTimeout(() => {
|
|
167
|
+
this.nav.navigateForward('/reset-password');
|
|
168
|
+
}, 250);
|
|
169
|
+
}
|
|
170
|
+
handleTabChange(event) {
|
|
171
|
+
this.index = event.index;
|
|
172
|
+
}
|
|
173
|
+
static { this.ɵfac = function UserSearchComponent_Factory(t) { return new (t || UserSearchComponent)(i0.ɵɵdirectiveInject(i1.UntypedFormBuilder), i0.ɵɵdirectiveInject(i2.ClaimantService), i0.ɵɵdirectiveInject(i3.UtilService), i0.ɵɵdirectiveInject(i4.NavController), i0.ɵɵdirectiveInject(i4.PopoverController)); }; }
|
|
174
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UserSearchComponent, selectors: [["app-user-search"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 45, vars: 11, consts: [[1, "app-box"], [3, "activeIndex", "onChange"], ["header", "Claimant Search"], [1, "ion-text-center"], [4, "ngIf"], ["appearance", "outline"], ["matInput", "", "maxlength", "30", 3, "formControl"], ["matInput", "", "minlength", "5", "maxlength", "30", 3, "formControl"], ["matInput", "", "minlength", "9", "maxlength", "9", 3, "formControl"], ["shape", "round", "color", "success", 3, "click"], ["name", "search-outline", "slot", "start"], ["shape", "round", "color", "medium", 3, "click"], ["name", "refresh-sharp", "slot", "start"], ["header", "Employer Search"], ["header", "Internal User Search"], ["header", "Result(s)"], ["class", "ion-text-center", 4, "ngIf"], ["name", "dots"], ["color", "danger"], ["dataKey", "claimantId", "styleClass", "app-table", "currentPageReportTemplate", "Showing {first} to {last} of {totalRecords} entries", "showLoader", "true", 1, "ion-padding", 3, "value", "rowHover", "rows", "showCurrentPageReport", "rowsPerPageOptions", "paginator", "filterDelay"], ["dt", ""], ["pTemplate", "header"], ["pTemplate", "body"], ["pSortableColumn", "firstName"], ["field", "firstName"], ["pSortableColumn", "lastName"], ["field", "lastName"], ["pSortableColumn", "userId"], ["field", "userId"], [1, "ui-selectable-row"], [3, "ssn"], ["size", "small", "shape", "round", "color", "success", 3, "click"], ["slot", "start", "name", "eye"]], template: function UserSearchComponent_Template(rf, ctx) { if (rf & 1) {
|
|
175
|
+
i0.ɵɵelementStart(0, "ion-content")(1, "div", 0)(2, "p-tabView", 1);
|
|
176
|
+
i0.ɵɵlistener("onChange", function UserSearchComponent_Template_p_tabView_onChange_2_listener($event) { return ctx.handleTabChange($event); });
|
|
177
|
+
i0.ɵɵelementStart(3, "p-tabPanel", 2)(4, "div", 3);
|
|
178
|
+
i0.ɵɵtemplate(5, UserSearchComponent_mat_hint_5_Template, 2, 0, "mat-hint", 4);
|
|
179
|
+
i0.ɵɵelementEnd();
|
|
180
|
+
i0.ɵɵelementStart(6, "ion-row")(7, "ion-col", 3)(8, "mat-form-field", 5)(9, "mat-label");
|
|
181
|
+
i0.ɵɵtext(10, "First Name");
|
|
182
|
+
i0.ɵɵelementEnd();
|
|
183
|
+
i0.ɵɵelement(11, "input", 6);
|
|
184
|
+
i0.ɵɵelementEnd()();
|
|
185
|
+
i0.ɵɵelementStart(12, "ion-col", 3)(13, "mat-form-field", 5)(14, "mat-label");
|
|
186
|
+
i0.ɵɵtext(15, "Last Name");
|
|
187
|
+
i0.ɵɵelementEnd();
|
|
188
|
+
i0.ɵɵelement(16, "input", 6);
|
|
189
|
+
i0.ɵɵelementEnd()()();
|
|
190
|
+
i0.ɵɵelementStart(17, "ion-row")(18, "ion-col", 3)(19, "mat-form-field", 5)(20, "mat-label");
|
|
191
|
+
i0.ɵɵtext(21, "User ID");
|
|
192
|
+
i0.ɵɵelementEnd();
|
|
193
|
+
i0.ɵɵelement(22, "input", 7);
|
|
194
|
+
i0.ɵɵtemplate(23, UserSearchComponent_mat_error_23_Template, 4, 0, "mat-error", 4);
|
|
195
|
+
i0.ɵɵelementEnd()();
|
|
196
|
+
i0.ɵɵelementStart(24, "ion-col", 3)(25, "mat-form-field", 5)(26, "mat-label");
|
|
197
|
+
i0.ɵɵtext(27, "SSN");
|
|
198
|
+
i0.ɵɵelementEnd();
|
|
199
|
+
i0.ɵɵelement(28, "input", 8);
|
|
200
|
+
i0.ɵɵtemplate(29, UserSearchComponent_mat_error_29_Template, 4, 0, "mat-error", 4);
|
|
201
|
+
i0.ɵɵelementEnd()()();
|
|
202
|
+
i0.ɵɵelementStart(30, "div", 3)(31, "ion-button", 9);
|
|
203
|
+
i0.ɵɵlistener("click", function UserSearchComponent_Template_ion_button_click_31_listener() { return ctx.search(); });
|
|
204
|
+
i0.ɵɵelement(32, "ion-icon", 10);
|
|
205
|
+
i0.ɵɵtext(33, " Search ");
|
|
206
|
+
i0.ɵɵelementEnd();
|
|
207
|
+
i0.ɵɵelementStart(34, "ion-button", 11);
|
|
208
|
+
i0.ɵɵlistener("click", function UserSearchComponent_Template_ion_button_click_34_listener() { return ctx.reset(); });
|
|
209
|
+
i0.ɵɵelement(35, "ion-icon", 12);
|
|
210
|
+
i0.ɵɵtext(36, " Reset ");
|
|
211
|
+
i0.ɵɵelementEnd()()();
|
|
212
|
+
i0.ɵɵelementStart(37, "p-tabPanel", 13);
|
|
213
|
+
i0.ɵɵtext(38, " Coming Soon... ");
|
|
214
|
+
i0.ɵɵelementEnd();
|
|
215
|
+
i0.ɵɵelementStart(39, "p-tabPanel", 14);
|
|
216
|
+
i0.ɵɵtext(40, " Coming Soon... ");
|
|
217
|
+
i0.ɵɵelementEnd();
|
|
218
|
+
i0.ɵɵelementStart(41, "p-tabPanel", 15);
|
|
219
|
+
i0.ɵɵtemplate(42, UserSearchComponent_div_42_Template, 2, 0, "div", 16)(43, UserSearchComponent_div_43_Template, 3, 0, "div", 4)(44, UserSearchComponent_div_44_Template, 5, 8, "div", 4);
|
|
220
|
+
i0.ɵɵelementEnd()()()();
|
|
221
|
+
} if (rf & 2) {
|
|
222
|
+
i0.ɵɵadvance(2);
|
|
223
|
+
i0.ɵɵproperty("activeIndex", ctx.index);
|
|
224
|
+
i0.ɵɵadvance(3);
|
|
225
|
+
i0.ɵɵproperty("ngIf", ctx.searchForm.hasError("selectAtleastOne"));
|
|
226
|
+
i0.ɵɵadvance(6);
|
|
227
|
+
i0.ɵɵproperty("formControl", ctx.firstName);
|
|
228
|
+
i0.ɵɵadvance(5);
|
|
229
|
+
i0.ɵɵproperty("formControl", ctx.lastName);
|
|
230
|
+
i0.ɵɵadvance(6);
|
|
231
|
+
i0.ɵɵproperty("formControl", ctx.userId);
|
|
232
|
+
i0.ɵɵadvance(1);
|
|
233
|
+
i0.ɵɵproperty("ngIf", ctx.userId.hasError("minlength"));
|
|
234
|
+
i0.ɵɵadvance(5);
|
|
235
|
+
i0.ɵɵproperty("formControl", ctx.ssn);
|
|
236
|
+
i0.ɵɵadvance(1);
|
|
237
|
+
i0.ɵɵproperty("ngIf", ctx.ssn.hasError("minlength"));
|
|
238
|
+
i0.ɵɵadvance(13);
|
|
239
|
+
i0.ɵɵproperty("ngIf", ctx.loading);
|
|
240
|
+
i0.ɵɵadvance(1);
|
|
241
|
+
i0.ɵɵproperty("ngIf", !ctx.loading && ctx.results.length < 1);
|
|
242
|
+
i0.ɵɵadvance(1);
|
|
243
|
+
i0.ɵɵproperty("ngIf", !ctx.loading && ctx.results.length > 0);
|
|
244
|
+
} }, dependencies: [i4.IonButton, i4.IonCol, i4.IonContent, i4.IonIcon, i4.IonLabel, i4.IonRow, i4.IonSpinner, i5.NgIf, i6.PrimeTemplate, i7.MatFormField, i7.MatLabel, i7.MatHint, i7.MatError, i8.TabView, i8.TabPanel, i1.DefaultValueAccessor, i1.NgControlStatus, i1.MinLengthValidator, i1.MaxLengthValidator, i1.FormControlDirective, i9.MatInput, i10.Table, i10.SortableColumn, i10.SortIcon, i11.SsnComponent] }); }
|
|
245
|
+
}
|
|
246
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UserSearchComponent, [{
|
|
247
|
+
type: Component,
|
|
248
|
+
args: [{ selector: 'app-user-search', template: "<ion-content>\n <div class=\"app-box\">\n <p-tabView [activeIndex]=\"index\" (onChange)=\"handleTabChange($event)\">\n <p-tabPanel header=\"Claimant Search\">\n <div class=\"ion-text-center\">\n <mat-hint *ngIf=\"searchForm.hasError('selectAtleastOne')\">\n At least one search criteria is required.\n </mat-hint>\n </div>\n <ion-row>\n <ion-col class=\"ion-text-center\">\n <mat-form-field appearance=\"outline\">\n <mat-label>First Name</mat-label>\n <input matInput [formControl]=\"firstName\" maxlength=\"30\">\n </mat-form-field>\n </ion-col>\n\n <ion-col class=\"ion-text-center\">\n <mat-form-field appearance=\"outline\">\n <mat-label>Last Name</mat-label>\n <input matInput [formControl]=\"lastName\" maxlength=\"30\">\n </mat-form-field>\n </ion-col>\n\n </ion-row>\n <ion-row>\n <ion-col class=\"ion-text-center\">\n <mat-form-field appearance=\"outline\">\n <mat-label>User ID</mat-label>\n <input matInput [formControl]=\"userId\" minlength=\"5\" maxlength=\"30\">\n <mat-error *ngIf=\"userId.hasError('minlength')\">\n User ID should have minimum <strong>5 characters</strong>\n </mat-error>\n </mat-form-field>\n </ion-col>\n <ion-col class=\"ion-text-center\">\n <mat-form-field appearance=\"outline\">\n <mat-label>SSN</mat-label>\n <input matInput [formControl]=\"ssn\" minlength=\"9\" maxlength=\"9\">\n <mat-error *ngIf=\"ssn.hasError('minlength')\">\n SSN should have <strong>9 digits</strong>\n </mat-error>\n </mat-form-field>\n </ion-col>\n </ion-row>\n <div class=\"ion-text-center\">\n <ion-button shape=\"round\" (click)=\"search()\" color=\"success\">\n <ion-icon name=\"search-outline\" slot=\"start\"></ion-icon>\n Search\n </ion-button>\n <ion-button shape=\"round\" (click)=\"reset()\" color=\"medium\">\n <ion-icon name=\"refresh-sharp\" slot=\"start\"></ion-icon>\n Reset\n </ion-button>\n </div>\n </p-tabPanel>\n\n <p-tabPanel header=\"Employer Search\">\n Coming Soon...\n </p-tabPanel>\n\n <p-tabPanel header=\"Internal User Search\">\n Coming Soon...\n </p-tabPanel>\n\n <p-tabPanel header=\"Result(s)\">\n <div *ngIf=\"loading\" class=\"ion-text-center\">\n <ion-spinner name=\"dots\"></ion-spinner>\n </div>\n <div *ngIf=\"!loading && results.length < 1\">\n <ion-label color=\"danger\">No record(s) present to display.</ion-label>\n </div>\n <div *ngIf=\"!loading && results.length > 0\">\n <p-table #dt [value]=\"results\" dataKey=\"claimantId\" styleClass=\"app-table\" [rowHover]=\"true\"\n [rows]=\"5\" [showCurrentPageReport]=\"true\" [rowsPerPageOptions]=\"[5,15,30]\"\n [paginator]=\"true\" currentPageReportTemplate=\"Showing {first} to {last} of {totalRecords} entries\"\n [filterDelay]=\"0\" showLoader=\"true\" class=\"ion-padding\">\n \n <ng-template pTemplate=\"header\">\n <tr>\n <th pSortableColumn=\"firstName\">First Name <p-sortIcon field=\"firstName\"></p-sortIcon></th>\n <th pSortableColumn=\"lastName\">Last Name <p-sortIcon field=\"lastName\"></p-sortIcon></th>\n <th >SSN</th>\n <th pSortableColumn=\"userId\">User ID <p-sortIcon field=\"userId\"></p-sortIcon></th>\n <th >Action</th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-claimant>\n <tr class=\"ui-selectable-row\">\n <td>{{claimant.firstName}}</td>\n <td>{{claimant.lastName}}</td>\n <td class=\"ion-text-center\">\n <app-ssn [ssn]=\"claimant.ssn\"></app-ssn>\n </td>\n <td>{{claimant.userId}}</td>\n <td class=\"ion-text-center\">\n <ion-button size=\"small\" shape=\"round\" color=\"success\" (click)=openClaimant(claimant)>\n <ion-icon slot=\"start\" name=\"eye\"></ion-icon>\n View\n </ion-button>\n </td>\n </tr>\n </ng-template>\n </p-table>\n </div>\n </p-tabPanel>\n </p-tabView>\n </div>\n</ion-content>" }]
|
|
249
|
+
}], () => [{ type: i1.UntypedFormBuilder }, { type: i2.ClaimantService }, { type: i3.UtilService }, { type: i4.NavController }, { type: i4.PopoverController }], null); })();
|
|
250
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UserSearchComponent, { className: "UserSearchComponent" }); })();
|
|
251
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1zZWFyY2guY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXJldXNhLWFwcC1saWIvc3JjL2xpYi9wYWdlcy9wb3BvdmVycy91c2VyLXNlYXJjaC91c2VyLXNlYXJjaC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtcmV1c2EtYXBwLWxpYi9zcmMvbGliL3BhZ2VzL3BvcG92ZXJzL3VzZXItc2VhcmNoL3VzZXItc2VhcmNoLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFDbEQsT0FBTyxFQUF3QyxVQUFVLEVBQUUs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0sIDI1MClcbiAgICBcbiAgfVxuXG4gIGhhbmRsZVRhYkNoYW5nZShldmVudCl7XG4gICAgdGhpcy5pbmRleCA9IGV2ZW50LmluZGV4O1xuICB9XG5cbn1cbiIsIjxpb24tY29udGVudD5cbiAgICA8ZGl2IGNsYXNzPVwiYXBwLWJveFwiPlxuICAgICAgICA8cC10YWJWaWV3IFthY3RpdmVJbmRleF09XCJpbmRleFwiIChvbkNoYW5nZSk9XCJoYW5kbGVUYWJDaGFuZ2UoJGV2ZW50KVwiPlxuICAgICAgICAgICAgPHAtdGFiUGFuZWwgaGVhZGVyPVwiQ2xhaW1hbnQgU2VhcmNoXCI+XG4gICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImlvbi10ZXh0LWNlbnRlclwiPlxuICAgICAgICAgICAgICAgICAgICA8bWF0LWhpbnQgKm5nSWY9XCJzZWFyY2hGb3JtLmhhc0Vycm9yKCdzZWxlY3RBdGxlYXN0T25lJylcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgIEF0IGxlYXN0IG9uZSBzZWFyY2ggY3JpdGVyaWEgaXMgcmVxdWlyZWQuXG4gICAgICAgICAgICAgICAgICAgIDwvbWF0LWhpbnQ+XG4gICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgPGlvbi1yb3c+XG4gICAgICAgICAgICAgICAgICAgIDxpb24tY29sIGNsYXNzPVwiaW9uLXRleHQtY2VudGVyXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8bWF0LWZvcm0tZmllbGQgYXBwZWFyYW5jZT1cIm91dGxpbmVcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bWF0LWxhYmVsPkZpcnN0IE5hbWU8L21hdC1sYWJlbD5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8aW5wdXQgbWF0SW5wdXQgW2Zvcm1Db250cm9sXT1cImZpcnN0TmFtZVwiIG1heGxlbmd0aD1cIjMwXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8L21hdC1mb3JtLWZpZWxkPlxuICAgICAgICAgICAgICAgICAgICA8L2lvbi1jb2w+XG5cbiAgICAgICAgICAgICAgICAgICAgPGlvbi1jb2wgY2xhc3M9XCJpb24tdGV4dC1jZW50ZXJcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxtYXQtZm9ybS1maWVsZCBhcHBlYXJhbmNlPVwib3V0bGluZVwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxtYXQtbGFiZWw+TGFzdCBOYW1lPC9tYXQtbGFiZWw+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPGlucHV0IG1hdElucHV0IFtmb3JtQ29udHJvbF09XCJsYXN0TmFtZVwiIG1heGxlbmd0aD1cIjMwXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8L21hdC1mb3JtLWZpZWxkPlxuICAgICAgICAgICAgICAgICAgICA8L2lvbi1jb2w+XG5cbiAgICAgICAgICAgICAgICA8L2lvbi1yb3c+XG4gICAgICAgICAgICAgICAgPGlvbi1yb3c+XG4gICAgICAgICAgICAgICAgICAgIDxpb24tY29sIGNsYXNzPVwiaW9uLXRleHQtY2VudGVyXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8bWF0LWZvcm0tZmllbGQgYXBwZWFyYW5jZT1cIm91dGxpbmVcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bWF0LWxhYmVsPlVzZXIgSUQ8L21hdC1sYWJlbD5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8aW5wdXQgbWF0SW5wdXQgW2Zvcm1Db250cm9sXT1cInVzZXJJZFwiIG1pbmxlbmd0aD1cIjVcIiBtYXhsZW5ndGg9XCIzMFwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxtYXQtZXJyb3IgKm5nSWY9XCJ1c2VySWQuaGFzRXJyb3IoJ21pbmxlbmd0aCcpXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFVzZXIgSUQgc2hvdWxkIGhhdmUgbWluaW11bSA8c3Ryb25nPjUgY2hhcmFjdGVyczwvc3Ryb25nPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvbWF0LWVycm9yPlxuICAgICAgICAgICAgICAgICAgICAgICAgPC9tYXQtZm9ybS1maWVsZD5cbiAgICAgICAgICAgICAgICAgICAgPC9pb24tY29sPlxuICAgICAgICAgICAgICAgICAgICA8aW9uLWNvbCBjbGFzcz1cImlvbi10ZXh0LWNlbnRlclwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgPG1hdC1mb3JtLWZpZWxkIGFwcGVhcmFuY2U9XCJvdXRsaW5lXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPG1hdC1sYWJlbD5TU048L21hdC1sYWJlbD5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8aW5wdXQgbWF0SW5wdXQgW2Zvcm1Db250cm9sXT1cInNzblwiIG1pbmxlbmd0aD1cIjlcIiBtYXhsZW5ndGg9XCI5XCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPG1hdC1lcnJvciAqbmdJZj1cInNzbi5oYXNFcnJvcignbWlubGVuZ3RoJylcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgU1NOIHNob3VsZCBoYXZlIDxzdHJvbmc+OSBkaWdpdHM8L3N0cm9uZz5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L21hdC1lcnJvcj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDwvbWF0LWZvcm0tZmllbGQ+XG4gICAgICAgICAgICAgICAgICAgIDwvaW9uLWNvbD5cbiAgICAgICAgICAgICAgICA8L2lvbi1yb3c+XG4gICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImlvbi10ZXh0LWNlbnRlclwiPlxuICAgICAgICAgICAgICAgICAgICA8aW9uLWJ1dHRvbiBzaGFwZT1cInJvdW5kXCIgKGNsaWNrKT1cInNlYXJjaCgpXCIgY29sb3I9XCJzdWNjZXNzXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8aW9uLWljb24gbmFtZT1cInNlYXJjaC1vdXRsaW5lXCIgc2xvdD1cInN0YXJ0XCI+PC9pb24taWNvbj5cbiAgICAgICAgICAgICAgICAgICAgICAgIFNlYXJjaFxuICAgICAgICAgICAgICAgICAgICA8L2lvbi1idXR0b24+XG4gICAgICAgICAgICAgICAgICAgIDxpb24tYnV0dG9uIHNoYXBlPVwicm91bmRcIiAoY2xpY2spPVwicmVzZXQoKVwiIGNvbG9yPVwibWVkaXVtXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8aW9uLWljb24gbmFtZT1cInJlZnJlc2gtc2hhcnBcIiBzbG90PVwic3RhcnRcIj48L2lvbi1pY29uPlxuICAgICAgICAgICAgICAgICAgICAgICAgUmVzZXRcbiAgICAgICAgICAgICAgICAgICAgPC9pb24tYnV0dG9uPlxuICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgPC9wLXRhYlBhbmVsPlxuXG4gICAgICAgICAgICA8cC10YWJQYW5lbCBoZWFkZXI9XCJFbXBsb3llciBTZWFyY2hcIj5cbiAgICAgICAgICAgICAgICBDb21pbmcgU29vbi4uLlxuICAgICAgICAgICAgPC9wLXRhYlBhbmVsPlxuXG4gICAgICAgICAgICA8cC10YWJQYW5lbCBoZWFkZXI9XCJJbnRlcm5hbCBVc2VyIFNlYXJjaFwiPlxuICAgICAgICAgICAgICAgIENvbWluZyBTb29uLi4uXG4gICAgICAgICAgICA8L3AtdGFiUGFuZWw+XG5cbiAgICAgICAgICAgIDxwLXRhYlBhbmVsIGhlYWRlcj1cIlJlc3VsdChzKVwiPlxuICAgICAgICAgICAgICAgIDxkaXYgKm5nSWY9XCJsb2FkaW5nXCIgY2xhc3M9XCJpb24tdGV4dC1jZW50ZXJcIj5cbiAgICAgICAgICAgICAgICAgICAgPGlvbi1zcGlubmVyIG5hbWU9XCJkb3RzXCI+PC9pb24tc3Bpbm5lcj5cbiAgICAgICA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gICAgICAgICAgICAgICAgIDx0cj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRoIHBTb3J0YWJsZUNvbHVtbj1cImZpcnN0TmFtZVwiPkZpcnN0IE5hbWUgPHAtc29ydEljb24gZmllbGQ9XCJmaXJzdE5hbWVcIj48L3Atc29ydEljb24+PC90aD5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRoIHBTb3J0YWJsZUNvbHVtbj1cImxhc3ROYW1lXCI+TGFzdCBOYW1lIDxwLXNvcnRJY29uIGZpZWxkPVwibGFzdE5hbWVcIj48L3Atc29ydEljb24+PC90aD5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRoID5TU048L3RoPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dGggcFNvcnRhYmxlQ29sdW1uPVwidXNlcklkXCI+VXNlciBJRCA8cC1zb3J0SWNvbiBmaWVsZD1cInVzZXJJZFwiPjwvcC1zb3J0SWNvbj48L3RoPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dGggPkFjdGlvbjwvdGg+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90cj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDwvbmctdGVtcGxhdGU+XG4gICAgICAgICAgICAgICAgICAgICAgICA8bmctdGVtcGxhdGUgcFRlbXBsYXRlPVwiYm9keVwiIGxldC1jbGFpbWFudD5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dHIgY2xhc3M9XCJ1aS1zZWxlY3RhYmxlLXJvd1wiPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dGQ+e3tjbGFpbWFudC5maXJzdE5hbWV9fTwvdGQ+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx0ZD57e2NsYWltYW50Lmxhc3ROYW1lfX08L3RkPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dGQgY2xhc3M9XCJpb24tdGV4dC1jZW50ZXJcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxhcHAtc3NuIFtzc25dPVwiY2xhaW1hbnQuc3NuXCI+PC9hcHAtc3NuPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3RkPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dGQ+e3tjbGFpbWFudC51c2VySWR9fTwvdGQ+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx0ZCBjbGFzcz1cImlvbi10ZXh0LWNlbnRlclwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGlvbi1idXR0b24gc2l6ZT1cInNtYWxsXCIgc2hhcGU9XCJyb3VuZFwiICBjb2xvcj1cInN1Y2Nlc3NcIiAoY2xpY2spPW9wZW5DbGFpbWFudChjbGFpbWFudCk+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8aW9uLWljb24gc2xvdD1cInN0YXJ0XCIgbmFtZT1cImV5ZVwiPjwvaW9uLWljb24+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBWaWV3XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2lvbi1idXR0b24+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvdGQ+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90cj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDwvbmctdGVtcGxhdGU+XG4gICAgICAgICAgICAgICAgICAgIDwvcC10YWJsZT5cbiAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgIDwvcC10YWJQYW5lbD5cbiAgICAgICAgPC9wLXRhYlZpZXc+XG4gICAgPC9kaXY+XG48L2lvbi1jb250ZW50PiJdfQ==
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { Pipe } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class FilterPipe {
|
|
4
|
-
transform(value, textToSearch, controlName) {
|
|
5
|
-
if (!value) {
|
|
6
|
-
return [];
|
|
7
|
-
}
|
|
8
|
-
if (!textToSearch) {
|
|
9
|
-
return value;
|
|
10
|
-
}
|
|
11
|
-
textToSearch = textToSearch.toLowerCase();
|
|
12
|
-
return value.filter((it) => {
|
|
13
|
-
if (typeof controlName === 'string') {
|
|
14
|
-
return it[controlName].toLowerCase().includes(textToSearch);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
return it[controlName[0]].toLowerCase().includes(textToSearch);
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
(
|
|
25
|
-
type: Pipe,
|
|
26
|
-
args: [{
|
|
27
|
-
name: 'filter'
|
|
28
|
-
}]
|
|
29
|
-
}], null, null); })();
|
|
30
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Pipe } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class FilterPipe {
|
|
4
|
+
transform(value, textToSearch, controlName) {
|
|
5
|
+
if (!value) {
|
|
6
|
+
return [];
|
|
7
|
+
}
|
|
8
|
+
if (!textToSearch) {
|
|
9
|
+
return value;
|
|
10
|
+
}
|
|
11
|
+
textToSearch = textToSearch.toLowerCase();
|
|
12
|
+
return value.filter((it) => {
|
|
13
|
+
if (typeof controlName === 'string') {
|
|
14
|
+
return it[controlName].toLowerCase().includes(textToSearch);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
return it[controlName[0]].toLowerCase().includes(textToSearch);
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
static { this.ɵfac = function FilterPipe_Factory(t) { return new (t || FilterPipe)(); }; }
|
|
22
|
+
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "filter", type: FilterPipe, pure: true }); }
|
|
23
|
+
}
|
|
24
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FilterPipe, [{
|
|
25
|
+
type: Pipe,
|
|
26
|
+
args: [{
|
|
27
|
+
name: 'filter'
|
|
28
|
+
}]
|
|
29
|
+
}], null, null); })();
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtcmV1c2EtYXBwLWxpYi9zcmMvbGliL3BpcGVzL2ZpbHRlci5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxJQUFJLEVBQWlCLE1BQU0sZUFBZSxDQUFDOztBQUtwRCxNQUFNLE9BQU8sVUFBVTtJQUVyQixTQUFTLENBQUMsS0FBVSxFQUFFLFlBQXFCLEVBQUUsV0FBK0I7UUFDMUUsSUFBSSxDQUFDLEtBQUssRUFBRTtZQUNWLE9BQU8sRUFBRSxDQUFDO1NBQ1g7UUFDRCxJQUFJLENBQUMsWUFBWSxFQUFFO1lBQ2pCLE9BQU8sS0FBSyxDQUFDO1NBQ2Q7UUFDRCxZQUFZLEdBQUcsWUFBWSxDQUFDLFdBQVcsRUFBRSxDQUFDO1FBQzFDLE9BQU8sS0FBSyxDQUFDLE1BQU0sQ0FBQyxDQUFDLEVBQU8sRUFBRSxFQUFFO1lBQzlCLElBQUcsT0FBTyxXQUFXLEtBQUssUUFBUSxFQUFDO2dCQUNqQyxPQUFPLEVBQUUsQ0FBQyxXQUFXLENBQUMsQ0FBQyxXQUFXLEVBQUUsQ0FBQyxRQUFRLENBQUMsWUFBWSxDQUFDLENBQUM7YUFDN0Q7aUJBQUk7Z0JBQ0gsT0FBTyxFQUFFLENBQUMsV0FBVyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsV0FBVyxFQUFF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B9XG5cbn1cbiJdfQ==
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { Pipe } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "../../services/util/util.service";
|
|
4
|
-
export class MaskEmailPipe {
|
|
5
|
-
constructor(util) {
|
|
6
|
-
this.util = util;
|
|
7
|
-
}
|
|
8
|
-
transform(value) {
|
|
9
|
-
if (!value) {
|
|
10
|
-
return '';
|
|
11
|
-
}
|
|
12
|
-
return this.util.maskEmail(value);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
(
|
|
18
|
-
type: Pipe,
|
|
19
|
-
args: [{
|
|
20
|
-
name: 'maskEmail'
|
|
21
|
-
}]
|
|
22
|
-
}],
|
|
23
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Pipe } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../../services/util/util.service";
|
|
4
|
+
export class MaskEmailPipe {
|
|
5
|
+
constructor(util) {
|
|
6
|
+
this.util = util;
|
|
7
|
+
}
|
|
8
|
+
transform(value) {
|
|
9
|
+
if (!value) {
|
|
10
|
+
return '';
|
|
11
|
+
}
|
|
12
|
+
return this.util.maskEmail(value);
|
|
13
|
+
}
|
|
14
|
+
static { this.ɵfac = function MaskEmailPipe_Factory(t) { return new (t || MaskEmailPipe)(i0.ɵɵdirectiveInject(i1.UtilService, 16)); }; }
|
|
15
|
+
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "maskEmail", type: MaskEmailPipe, pure: true }); }
|
|
16
|
+
}
|
|
17
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MaskEmailPipe, [{
|
|
18
|
+
type: Pipe,
|
|
19
|
+
args: [{
|
|
20
|
+
name: 'maskEmail'
|
|
21
|
+
}]
|
|
22
|
+
}], () => [{ type: i1.UtilService }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iBVdGlsU2VydmljZSl7fVxuXG4gIHRyYW5zZm9ybSh2YWx1ZTogc3RyaW5nKTogdW5rbm93biB7XG4gICAgaWYoIXZhbHVlKXtcbiAgICAgIHJldHVybiAnJztcbiAgICB9XG5cbiAgICByZXR1cm4gdGhpcy51dGlsLm1hc2tFbWFpbCh2YWx1ZSk7XG4gIH1cblxufVxuIl19
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { Pipe } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class ProperCasePipe {
|
|
4
|
-
transform(value, ...args) {
|
|
5
|
-
if (!value) {
|
|
6
|
-
return '';
|
|
7
|
-
}
|
|
8
|
-
let values = value.split(' ');
|
|
9
|
-
let returnValue = '';
|
|
10
|
-
values.forEach(val => {
|
|
11
|
-
returnValue = returnValue + ' ' + this.capitolizeFirstLetter(val);
|
|
12
|
-
});
|
|
13
|
-
return returnValue ? returnValue.trim() : '';
|
|
14
|
-
}
|
|
15
|
-
capitolizeFirstLetter(value) {
|
|
16
|
-
return value.charAt(0).toUpperCase() + value.toLowerCase().slice(1);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
(
|
|
22
|
-
type: Pipe,
|
|
23
|
-
args: [{
|
|
24
|
-
name: 'properCase'
|
|
25
|
-
}]
|
|
26
|
-
}], null, null); })();
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Pipe } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class ProperCasePipe {
|
|
4
|
+
transform(value, ...args) {
|
|
5
|
+
if (!value) {
|
|
6
|
+
return '';
|
|
7
|
+
}
|
|
8
|
+
let values = value.split(' ');
|
|
9
|
+
let returnValue = '';
|
|
10
|
+
values.forEach(val => {
|
|
11
|
+
returnValue = returnValue + ' ' + this.capitolizeFirstLetter(val);
|
|
12
|
+
});
|
|
13
|
+
return returnValue ? returnValue.trim() : '';
|
|
14
|
+
}
|
|
15
|
+
capitolizeFirstLetter(value) {
|
|
16
|
+
return value.charAt(0).toUpperCase() + value.toLowerCase().slice(1);
|
|
17
|
+
}
|
|
18
|
+
static { this.ɵfac = function ProperCasePipe_Factory(t) { return new (t || ProperCasePipe)(); }; }
|
|
19
|
+
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "properCase", type: ProperCasePipe, pure: true }); }
|
|
20
|
+
}
|
|
21
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProperCasePipe, [{
|
|
22
|
+
type: Pipe,
|
|
23
|
+
args: [{
|
|
24
|
+
name: 'properCase'
|
|
25
|
+
}]
|
|
26
|
+
}], null, null); })();
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVyLWNhc2UucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1yZXVzYS1hcHAtbGliL3NyYy9saWIvcGlwZXMvcHJvcGVyLWNhc2UvcHJvcGVyLWNhc2UucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsSUFBSSxFQUFpQixNQUFNLGVBQWUsQ0FBQzs7QUFLcEQsTUFBTSxPQUFPLGNBQWM7SUFFekIsU0FBUyxDQUFDLEtBQWEsRUFBRSxHQUFHLElBQWU7UUFDekMsSUFBRyxDQUFDLEtBQUssRUFBQztZQUNSLE9BQU8sRUFBRSxDQUFDO1NBQ1g7UUFDRCxJQUFJLE1BQU0sR0FBYSxLQUFLLENBQUMsS0FBSyxDQUFDLEdBQUcsQ0FBQyxDQUFDO1FBQ3hDLElBQUksV0FBVyxHQUFHLEVBQUUsQ0FBQztRQUNyQixNQUFNLENBQUMsT0FBTyxDQUFDLEdBQUcsQ0FBQyxFQUFFO1lBQ25C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sdWUgKyAnICcgK3RoaXMuY2FwaXRvbGl6ZUZpcnN0TGV0dGVyKHZhbCk7XG4gICAgfSk7XG4gICAgcmV0dXJuIHJldHVyblZhbHVlID8gcmV0dXJuVmFsdWUudHJpbSgpIDogJyc7XG4gIH1cblxuICBjYXBpdG9saXplRmlyc3RMZXR0ZXIodmFsdWUgOiBzdHJpbmcpe1xuICAgIHJldHVybiB2YWx1ZS5jaGFyQXQoMCkudG9VcHBlckNhc2UoKSArIHZhbHVlLnRvTG93ZXJDYXNlKCkuc2xpY2UoMSk7XG4gIH1cblxufVxuIl19
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import { Pipe } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@ngx-translate/core";
|
|
4
|
-
export class DynamicTranslatePipe {
|
|
5
|
-
constructor(translate) {
|
|
6
|
-
this.translate = translate;
|
|
7
|
-
//console.log('DynamicTranslatePipe initialized successfully');
|
|
8
|
-
}
|
|
9
|
-
transform(key, args) {
|
|
10
|
-
if (!args) {
|
|
11
|
-
return key;
|
|
12
|
-
}
|
|
13
|
-
let dynamicObj = {};
|
|
14
|
-
let param;
|
|
15
|
-
let params;
|
|
16
|
-
if (Array.isArray(args)) {
|
|
17
|
-
params = args;
|
|
18
|
-
params.forEach(prm => {
|
|
19
|
-
dynamicObj[prm.key] = prm.value;
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
else {
|
|
23
|
-
param = args;
|
|
24
|
-
dynamicObj[param.key] = param.value;
|
|
25
|
-
}
|
|
26
|
-
this.translate.use('en');
|
|
27
|
-
let translatedString = "";
|
|
28
|
-
this.translate.set(key, key);
|
|
29
|
-
translatedString = this.translate.instant(key, Object.assign(dynamicObj));
|
|
30
|
-
if (translatedString && translatedString.includes('{{') && param) {
|
|
31
|
-
translatedString = this.translate.instant(key, Object.assign(param));
|
|
32
|
-
}
|
|
33
|
-
return translatedString;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
(
|
|
39
|
-
type: Pipe,
|
|
40
|
-
args: [{
|
|
41
|
-
name: 'dynamicTranslate'
|
|
42
|
-
}]
|
|
43
|
-
}],
|
|
44
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Pipe } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@ngx-translate/core";
|
|
4
|
+
export class DynamicTranslatePipe {
|
|
5
|
+
constructor(translate) {
|
|
6
|
+
this.translate = translate;
|
|
7
|
+
//console.log('DynamicTranslatePipe initialized successfully');
|
|
8
|
+
}
|
|
9
|
+
transform(key, args) {
|
|
10
|
+
if (!args) {
|
|
11
|
+
return key;
|
|
12
|
+
}
|
|
13
|
+
let dynamicObj = {};
|
|
14
|
+
let param;
|
|
15
|
+
let params;
|
|
16
|
+
if (Array.isArray(args)) {
|
|
17
|
+
params = args;
|
|
18
|
+
params.forEach(prm => {
|
|
19
|
+
dynamicObj[prm.key] = prm.value;
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
else {
|
|
23
|
+
param = args;
|
|
24
|
+
dynamicObj[param.key] = param.value;
|
|
25
|
+
}
|
|
26
|
+
this.translate.use('en');
|
|
27
|
+
let translatedString = "";
|
|
28
|
+
this.translate.set(key, key);
|
|
29
|
+
translatedString = this.translate.instant(key, Object.assign(dynamicObj));
|
|
30
|
+
if (translatedString && translatedString.includes('{{') && param) {
|
|
31
|
+
translatedString = this.translate.instant(key, Object.assign(param));
|
|
32
|
+
}
|
|
33
|
+
return translatedString;
|
|
34
|
+
}
|
|
35
|
+
static { this.ɵfac = function DynamicTranslatePipe_Factory(t) { return new (t || DynamicTranslatePipe)(i0.ɵɵdirectiveInject(i1.TranslateService, 16)); }; }
|
|
36
|
+
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "dynamicTranslate", type: DynamicTranslatePipe, pure: true }); }
|
|
37
|
+
}
|
|
38
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DynamicTranslatePipe, [{
|
|
39
|
+
type: Pipe,
|
|
40
|
+
args: [{
|
|
41
|
+
name: 'dynamicTranslate'
|
|
42
|
+
}]
|
|
43
|
+
}], () => [{ type: i1.TranslateService }], null); })();
|
|
44
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHluYW1pYy10cmFuc2xhdGUucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1yZXVzYS1hcHAtbGliL3NyYy9saWIvcGlwZXMvdHJhbnNsYXRlL2R5bmFtaWMtdHJhbnNsYXRlLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUM7OztBQU9wRCxNQUFNLE9BQU8sb0JBQW9CO0lBRS9CLFlBQW9CLFNBQTJCO1FBQTNCLGNBQVMsR0FBVCxTQUFTLENBQWtCO1FBQzdDLCtEQUErRDtJQUNqRSxDQUFDO0lBRUQsU0FBUyxDQUFDLEdBQVcsRUFBRSxJQUFJO1FBQ3pCLElBQUksQ0FBQyxJQUFJLEVBQUU7WUFDVCxPQUFPLEdBQUcsQ0FBQztTQUNaO1FBRUQsSUFBSSxVQUFVLEdBQUcsRUFBRSxDQUFDO1FBRXBCLElBQUksS0FBb0IsQ0FBQztRQUN6QixJQUFJLE1BQXVCLENBQUM7UUFFNUIsSUFBSSxLQUFLLENBQUMsT0FBTyxDQUFDLElBQUksQ0FBQyxFQUFFO1lBQ3ZCLE1BQU0sR0FBRyxJQUFJLENBQUM7WUFDZCxNQUFNLENBQUMsT0FBTyxDQUFDLEdBQUcsQ0FBQyxFQUFFO2dCQUNuQixVQUFVLENBQUMsR0FBRyxDQUFDLEdBQUcsQ0FBQyxH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