@reusa/ngx-reusa-app-lib 0.0.1374 → 0.0.1375
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/esm2022/lib/components/add-employer/add-employer.component.mjs +2392 -1322
- package/esm2022/lib/components/add-participant/add-participant.component.mjs +159 -105
- package/esm2022/lib/components/add-payment/add-payment.component.mjs +59 -53
- package/esm2022/lib/components/add-wage/add-wage.component.mjs +161 -0
- package/esm2022/lib/components/address/address.component.mjs +287 -152
- package/esm2022/lib/components/address-popup/address-popup.component.mjs +97 -0
- package/esm2022/lib/components/address-suggestion/address-suggestion.component.mjs +289 -0
- package/esm2022/lib/components/appointment-self-scheduler/appointment-self-scheduler.component.mjs +245 -0
- package/esm2022/lib/components/associate-ssn/associate-ssn.component.mjs +203 -0
- package/esm2022/lib/components/bank-details/bank-details.component.mjs +79 -219
- package/esm2022/lib/components/claim-info/claim-info.component.mjs +408 -0
- package/esm2022/lib/components/contact-us/contact-us.component.mjs +17 -43
- package/esm2022/lib/components/correspondence-download/correspondence-download.component.mjs +3 -9
- package/esm2022/lib/components/dashboard-card/dashboard-card.component.mjs +32 -4
- package/esm2022/lib/components/dependent-grid/dependent-grid.component.mjs +30 -15
- package/esm2022/lib/components/disclosure/disclosure.component.mjs +1 -1
- package/esm2022/lib/components/dropdown/dropdown.component.mjs +4 -4
- package/esm2022/lib/components/dropdown/dropdown.interface.mjs +1 -1
- package/esm2022/lib/components/dua-request-page/dua-request-page.component.mjs +596 -0
- package/esm2022/lib/components/dua-request-popup/dua-request-popup.component.mjs +356 -0
- package/esm2022/lib/components/email-update/email-update.component.mjs +63 -140
- package/esm2022/lib/components/employer-grid/employer-grid.component.mjs +422 -574
- package/esm2022/lib/components/employer-info/employer-info.component.mjs +319 -0
- package/esm2022/lib/components/employer-pay/employer-pay.component.mjs +238 -0
- package/esm2022/lib/components/employer-pay-grid/employer-pay-grid.component.mjs +302 -0
- package/esm2022/lib/components/error/error.component.mjs +22 -5
- package/esm2022/lib/components/farm-usage/farm-usage.component.mjs +172 -0
- package/esm2022/lib/components/fav-menu/fav-menu.component.mjs +1 -1
- package/esm2022/lib/components/file-uploader/file-uploader.component.mjs +178 -49
- package/esm2022/lib/components/footer/footer.component.mjs +112 -101
- package/esm2022/lib/components/gross-earnings/gross-earnings.component.mjs +201 -0
- package/esm2022/lib/components/header/header.component.mjs +440 -174
- package/esm2022/lib/components/history-page/history-page.component.mjs +571 -0
- package/esm2022/lib/components/idle-detector/idle-detector.component.mjs +25 -36
- package/esm2022/lib/components/idme/idme.component.mjs +84 -0
- package/esm2022/lib/components/info/info.component.mjs +4 -12
- package/esm2022/lib/components/job-search-result-page/job-search-result-page.component.mjs +16 -22
- package/esm2022/lib/components/job-title/job-title.component.mjs +92 -97
- package/esm2022/lib/components/legal-disclaimar/legal-disclaimar.component.mjs +143 -513
- package/esm2022/lib/components/link/link.component.mjs +1 -1
- package/esm2022/lib/components/menu/menu.component.mjs +68 -100
- package/esm2022/lib/components/mfa/mfa.component.mjs +158 -288
- package/esm2022/lib/components/mfa-popup/mfa-popup.component.mjs +11 -18
- package/esm2022/lib/components/money-expect/money-expect.component.mjs +158 -54
- package/esm2022/lib/components/offline-add-employer/offline-add-employer.component.mjs +3661 -0
- package/esm2022/lib/components/offline-bank-details/offline-bank-details.component.mjs +258 -0
- package/esm2022/lib/components/offline-employer-grid/offline-employer-grid.component.mjs +853 -0
- package/esm2022/lib/components/offline-legal-disclaimar/offline-legal-disclaimar.component.mjs +251 -0
- package/esm2022/lib/components/profile/profile.component.mjs +749 -353
- package/esm2022/lib/components/profile-redirect/profile-redirect.component.mjs +108 -38
- package/esm2022/lib/components/proof-of-anything/proof-of-anything.component.mjs +261 -0
- package/esm2022/lib/components/proof-of-document-upload/proof-of-document-upload.component.mjs +560 -0
- package/esm2022/lib/components/questionnaire/AppValidators.mjs +296 -47
- package/esm2022/lib/components/questionnaire/account-success/account-success.page.mjs +110 -65
- package/esm2022/lib/components/questionnaire/common-success/common-success.page.mjs +377 -173
- package/esm2022/lib/components/questionnaire/dynamic-form-panel.component.mjs +76 -95
- package/esm2022/lib/components/questionnaire/dynamic-form-question.component.mjs +877 -1153
- package/esm2022/lib/components/questionnaire/dynamic-form.component.mjs +208 -699
- package/esm2022/lib/components/questionnaire/form-builder/form-builder.page.mjs +28 -22
- package/esm2022/lib/components/questionnaire/multi-questionnaire/multi-questionnaire.component.mjs +128 -41
- package/esm2022/lib/components/questionnaire/question-control.service.mjs +2 -1
- package/esm2022/lib/components/questionnaire/question.service.mjs +5 -7
- package/esm2022/lib/components/questionnaire/render-questionnaire/render-questionnaire.page.mjs +15 -29
- package/esm2022/lib/components/requalify-lift-previous-issues/requalify-lift-previous-issues.component.mjs +497 -237
- package/esm2022/lib/components/scrollable-text/scrollable-text.component.mjs +25 -0
- package/esm2022/lib/components/search-employer/search-employer.component.mjs +155 -30
- package/esm2022/lib/components/select/select.component.mjs +5 -10
- package/esm2022/lib/components/sign-ssn/sign-ssn.component.mjs +3 -3
- package/esm2022/lib/components/sms/sms.component.mjs +336 -0
- package/esm2022/lib/components/ssn-reverify/ssn-reverify.component.mjs +52 -72
- package/esm2022/lib/components/user-login/user-login.component.mjs +139 -360
- package/esm2022/lib/components/wage-calculator/wage-calculator.component.mjs +527 -0
- package/esm2022/lib/components/wage-grid/wage-grid.component.mjs +274 -0
- package/esm2022/lib/components/weekly-acknowledgement-ms/acknowledgement-ms.component.mjs +147 -0
- package/esm2022/lib/components/weekly-acknowledgement-v2/acknowledgement.component-v2.mjs +167 -0
- package/esm2022/lib/components/weekly-cert-employer/weekly-cert-employer.component.mjs +655 -387
- package/esm2022/lib/components/weekly-cert-employer-grid/weekly-cert-employer-grid.component.mjs +125 -61
- package/esm2022/lib/components/weekly-certification/weekly-certification.component.mjs +828 -0
- package/esm2022/lib/components/weekly-confirmation/confirmation.component.mjs +129 -0
- package/esm2022/lib/components/weekly-interim-confirmation/interim-confirmation.component.mjs +136 -0
- package/esm2022/lib/components/weekly-summary-v2/summary.component-v2.mjs +72 -0
- package/esm2022/lib/components/weekly-work-performed-popup/weekly-work-performed-popup.component.mjs +50 -0
- package/esm2022/lib/components/weekly-work-search-counter/work-search-counter.component.mjs +92 -0
- package/esm2022/lib/components/weekly-work-search-employer-me/work-search-employer.component-me.mjs +1190 -0
- package/esm2022/lib/components/weekly-work-search-employer-ms/work-search-employer-ms.component.mjs +690 -0
- package/esm2022/lib/components/weekly-work-search-employer-v2/work-search-employer.component-v2.mjs +524 -0
- package/esm2022/lib/components/weekly-work-search-journal/weekly-work-search-journal.component.mjs +394 -0
- package/esm2022/lib/components/weekly-work-search-question-v2/work-search-question.component-v2.mjs +640 -0
- package/esm2022/lib/directives/strip-invisible-characters/strip-invisible-characters.directive.mjs +33 -0
- package/esm2022/lib/enums/AddressValidationResponseEnum.mjs +9 -0
- package/esm2022/lib/enums/AddressValidationSourceFunctionEnum.mjs +5 -0
- package/esm2022/lib/guards/auth.guard.mjs +50 -2
- package/esm2022/lib/guards/no-login/no-login.guard.mjs +1 -1
- package/esm2022/lib/interceptors/error-interceptor/http-error-interceptor.mjs +51 -3
- package/esm2022/lib/interceptors/header-interceptor/http-header.interceptor.mjs +1 -1
- package/esm2022/lib/models/ActiveClaimModel.mjs +3 -0
- package/esm2022/lib/models/CountyModel.mjs +3 -0
- package/esm2022/lib/models/DuaAppDataModel.mjs +3 -0
- package/esm2022/lib/models/DuaRequestModel.mjs +3 -0
- package/esm2022/lib/models/DuaRetroWeeksComponentModel.mjs +6 -0
- package/esm2022/lib/models/EmployerDetailSearchResult.mjs +1 -1
- package/esm2022/lib/models/EmployerInfoComponentModel.mjs +4 -0
- package/esm2022/lib/models/EmployerPayInfoModel.mjs +6 -0
- package/esm2022/lib/models/FarmUsageComponentModel.mjs +2 -0
- package/esm2022/lib/models/GrossEarningsModel.mjs +3 -0
- package/esm2022/lib/models/HelpConstants.mjs +5 -0
- package/esm2022/lib/models/LexisNexisOtpDetailsResponseModel.mjs +3 -0
- package/esm2022/lib/models/LibConstants.mjs +45 -6
- package/esm2022/lib/models/OtpAuthModel.mjs +1 -1
- package/esm2022/lib/models/PaymentComponentModel.mjs +1 -1
- package/esm2022/lib/models/ReasonSeparationRequestModel.mjs +3 -0
- package/esm2022/lib/models/RetroWeeksModel.mjs +3 -0
- package/esm2022/lib/models/SecurityQuestionAnswerModel.mjs +3 -0
- package/esm2022/lib/models/SendOtpRequestModel.mjs +3 -0
- package/esm2022/lib/models/UserModel.mjs +1 -1
- package/esm2022/lib/models/VerifyOtpRequestModel.mjs +3 -0
- package/esm2022/lib/models/WageCalculatorModel.mjs +3 -0
- package/esm2022/lib/models/WageInfoModel.mjs +4 -0
- package/esm2022/lib/models/addressValidation/AddressRecommendationModel.mjs +3 -0
- package/esm2022/lib/models/addressValidation/AddressValidationRequestComponentModel.mjs +3 -0
- package/esm2022/lib/models/addressValidation/AddressValidationResponseComponentModel.mjs +3 -0
- package/esm2022/lib/models/addressValidation/AddressValidationReturnComponentModel.mjs +3 -0
- package/esm2022/lib/models/combo-model.mjs +343 -0
- package/esm2022/lib/models/dashboard-model.mjs +1 -1
- package/esm2022/lib/models/dependent.model.mjs +1 -1
- package/esm2022/lib/models/fileupload/DocUploadModel.mjs +7 -0
- package/esm2022/lib/models/fileupload/EmployerDataModel.mjs +3 -0
- package/esm2022/lib/models/fileupload/FileObject.mjs +3 -0
- package/esm2022/lib/models/fileupload/FileObjectArray.mjs +7 -0
- package/esm2022/lib/models/questionnaire/AppealParticipantModel.mjs +8 -0
- package/esm2022/lib/models/questionnaire/ClaimAppEmpResponseModel.mjs +1 -1
- package/esm2022/lib/models/questionnaire/ClaimAppEmployerDetailsModel.mjs +2 -1
- package/esm2022/lib/models/questionnaire/ClaimOnlyEmployerDataModel.mjs +1 -1
- package/esm2022/lib/models/questionnaire/ComboModel.mjs +96 -653
- package/esm2022/lib/models/questionnaire/ElementsModel.mjs +1 -1
- package/esm2022/lib/models/questionnaire/LegalDiscaimarModel.mjs +1 -1
- package/esm2022/lib/models/questionnaire/QuestionnaireSaveModel.mjs +1 -1
- package/esm2022/lib/models/questionnaire/ScrollableTextModel.mjs +3 -0
- package/esm2022/lib/models/questionnaire/StatusModel.mjs +1 -1
- package/esm2022/lib/models/questionnaire/WbaHelperTextModel.mjs +3 -0
- package/esm2022/lib/models/weekly-cert/WorkSearchWaiverModel.mjs +3 -0
- package/esm2022/lib/models/weekly-cert/address-detail-model.mjs +2 -0
- package/esm2022/lib/models/weekly-cert/admin-leave-details-model.mjs +7 -0
- package/esm2022/lib/models/weekly-cert/employer-info-v2-model.mjs +7 -0
- package/esm2022/lib/models/weekly-cert/weekly-cert-eligibility-v2-model.mjs +6 -0
- package/esm2022/lib/models/weekly-cert/weekly-certification-v2-model.mjs +34 -0
- package/esm2022/lib/models/weekly-cert/work-search-record-v2-model.mjs +15 -0
- package/esm2022/lib/models/weekly-cert/work-search-v2-model.mjs +11 -0
- package/esm2022/lib/ngx-reusa-app-lib.module.mjs +135 -23
- package/esm2022/lib/pages/BasePage.mjs +4 -23
- package/esm2022/lib/pages/common/accessibility-policy/accessibility-policy.page.mjs +22 -18
- package/esm2022/lib/pages/common/change-password/change-password.page.mjs +142 -124
- package/esm2022/lib/pages/common/landing/landing.component.mjs +7 -8
- package/esm2022/lib/pages/common/landing2/landing2.component.mjs +4 -4
- package/esm2022/lib/pages/common/login/login.component.mjs +7 -13
- package/esm2022/lib/pages/common/privacy-disclaimer/privacy-disclaimer.page.mjs +14 -14
- package/esm2022/lib/pages/common/security-policy/security-policy.page.mjs +5 -5
- package/esm2022/lib/pages/popovers/language/language.page.mjs +1 -2
- package/esm2022/lib/pages/popovers/my-notifications/my-notifications.page.mjs +4 -4
- package/esm2022/lib/pages/popovers/my-profile/my-profile.page.mjs +7 -2
- package/esm2022/lib/pipes/format-worksearch/format-worksearch.pipe.mjs +101 -0
- package/esm2022/lib/pipes/translate/dynamic-translate.pipe.mjs +2 -2
- package/esm2022/lib/services/address-validation-service/address-validation.service.mjs +151 -0
- package/esm2022/lib/services/appeal/appeal.service.mjs +37 -0
- package/esm2022/lib/services/base-service.mjs +4 -1
- package/esm2022/lib/services/birt-service/birt.service.mjs +57 -0
- package/esm2022/lib/services/chatbot/chatbot.service.mjs +1 -2
- package/esm2022/lib/services/claimant-service/claimant.service.mjs +7 -13
- package/esm2022/lib/services/claims/claims.service.mjs +105 -14
- package/esm2022/lib/services/employer/employer-service.mjs +35 -0
- package/esm2022/lib/services/event-service/event-service.mjs +44 -0
- package/esm2022/lib/services/help/help.service.mjs +1 -1
- package/esm2022/lib/services/logger/logger.service.mjs +1 -1
- package/esm2022/lib/services/login/login.service.mjs +29 -14
- package/esm2022/lib/services/offline-claims/offline-claims.service.mjs +327 -0
- package/esm2022/lib/services/questionnaire/questionnaire.service.mjs +4 -1
- package/esm2022/lib/services/questionnaire/validation.service.mjs +4 -1
- package/esm2022/lib/services/security-service/security.service.mjs +23 -6
- package/esm2022/lib/services/util/util.service.mjs +61 -5
- package/esm2022/lib/services/weekly-cert/review.service.mjs +101 -0
- package/esm2022/lib/services/weekly-cert/weekly-cert-v2.service.mjs +186 -14
- package/esm2022/lib/services/weekly-cert/weekly-cert.service.mjs +37 -0
- package/esm2022/lib/services/weekly-cert/work-search.service.mjs +58 -0
- package/esm2022/lib/validations/AppRegex.mjs +1 -3
- package/esm2022/lib/validations/AppValidators.mjs +78 -62
- package/esm2022/public-api.mjs +47 -5
- package/fesm2022/reusa-ngx-reusa-app-lib.mjs +41277 -23401
- package/fesm2022/reusa-ngx-reusa-app-lib.mjs.map +1 -1
- package/lib/components/add-employer/add-employer.component.d.ts +137 -53
- package/lib/components/add-employer/add-employer.component.d.ts.map +1 -1
- package/lib/components/add-participant/add-participant.component.d.ts +11 -5
- package/lib/components/add-participant/add-participant.component.d.ts.map +1 -1
- package/lib/components/add-payment/add-payment.component.d.ts +9 -3
- package/lib/components/add-payment/add-payment.component.d.ts.map +1 -1
- package/lib/components/add-wage/add-wage.component.d.ts +30 -0
- package/lib/components/add-wage/add-wage.component.d.ts.map +1 -0
- package/lib/components/address/address.component.d.ts +42 -15
- package/lib/components/address/address.component.d.ts.map +1 -1
- package/lib/components/address-popup/address-popup.component.d.ts +16 -0
- package/lib/components/address-popup/address-popup.component.d.ts.map +1 -0
- package/lib/components/address-suggestion/address-suggestion.component.d.ts +43 -0
- package/lib/components/address-suggestion/address-suggestion.component.d.ts.map +1 -0
- package/lib/components/appointment-self-scheduler/appointment-self-scheduler.component.d.ts +37 -0
- package/lib/components/appointment-self-scheduler/appointment-self-scheduler.component.d.ts.map +1 -0
- package/lib/components/associate-ssn/associate-ssn.component.d.ts +33 -0
- package/lib/components/associate-ssn/associate-ssn.component.d.ts.map +1 -0
- package/lib/components/bank-details/bank-details.component.d.ts +1 -23
- package/lib/components/bank-details/bank-details.component.d.ts.map +1 -1
- package/lib/components/claim-info/claim-info.component.d.ts +49 -0
- package/lib/components/claim-info/claim-info.component.d.ts.map +1 -0
- package/lib/components/contact-us/contact-us.component.d.ts +1 -4
- package/lib/components/contact-us/contact-us.component.d.ts.map +1 -1
- package/lib/components/correspondence-download/correspondence-download.component.d.ts.map +1 -1
- package/lib/components/dashboard-card/dashboard-card.component.d.ts.map +1 -1
- package/lib/components/dua-request-page/dua-request-page.component.d.ts +74 -0
- package/lib/components/dua-request-page/dua-request-page.component.d.ts.map +1 -0
- package/lib/components/dua-request-popup/dua-request-popup.component.d.ts +61 -0
- package/lib/components/dua-request-popup/dua-request-popup.component.d.ts.map +1 -0
- package/lib/components/email-update/email-update.component.d.ts +1 -12
- package/lib/components/email-update/email-update.component.d.ts.map +1 -1
- package/lib/components/employer-grid/employer-grid.component.d.ts +25 -15
- package/lib/components/employer-grid/employer-grid.component.d.ts.map +1 -1
- package/lib/components/employer-info/employer-info.component.d.ts +50 -0
- package/lib/components/employer-info/employer-info.component.d.ts.map +1 -0
- package/lib/components/employer-pay/employer-pay.component.d.ts +51 -0
- package/lib/components/employer-pay/employer-pay.component.d.ts.map +1 -0
- package/lib/components/employer-pay-grid/employer-pay-grid.component.d.ts +43 -0
- package/lib/components/employer-pay-grid/employer-pay-grid.component.d.ts.map +1 -0
- package/lib/components/error/error.component.d.ts +3 -2
- package/lib/components/error/error.component.d.ts.map +1 -1
- package/lib/components/farm-usage/farm-usage.component.d.ts +33 -0
- package/lib/components/farm-usage/farm-usage.component.d.ts.map +1 -0
- package/lib/components/file-uploader/file-uploader.component.d.ts +5 -1
- package/lib/components/file-uploader/file-uploader.component.d.ts.map +1 -1
- package/lib/components/footer/footer.component.d.ts.map +1 -1
- package/lib/components/gross-earnings/gross-earnings.component.d.ts +42 -0
- package/lib/components/gross-earnings/gross-earnings.component.d.ts.map +1 -0
- package/lib/components/header/header.component.d.ts +17 -5
- package/lib/components/header/header.component.d.ts.map +1 -1
- package/lib/components/history-page/history-page.component.d.ts +80 -0
- package/lib/components/history-page/history-page.component.d.ts.map +1 -0
- package/lib/components/idme/idme.component.d.ts +19 -0
- package/lib/components/idme/idme.component.d.ts.map +1 -0
- package/lib/components/job-search-result-page/job-search-result-page.component.d.ts +1 -3
- package/lib/components/job-search-result-page/job-search-result-page.component.d.ts.map +1 -1
- package/lib/components/job-title/job-title.component.d.ts +22 -23
- package/lib/components/job-title/job-title.component.d.ts.map +1 -1
- package/lib/components/legal-disclaimar/legal-disclaimar.component.d.ts +5 -6
- package/lib/components/legal-disclaimar/legal-disclaimar.component.d.ts.map +1 -1
- package/lib/components/menu/menu.component.d.ts +3 -12
- package/lib/components/menu/menu.component.d.ts.map +1 -1
- package/lib/components/mfa/mfa.component.d.ts +7 -19
- package/lib/components/mfa/mfa.component.d.ts.map +1 -1
- package/lib/components/mfa-popup/mfa-popup.component.d.ts +6 -8
- package/lib/components/mfa-popup/mfa-popup.component.d.ts.map +1 -1
- package/lib/components/money-expect/money-expect.component.d.ts +15 -4
- package/lib/components/money-expect/money-expect.component.d.ts.map +1 -1
- package/lib/components/offline-add-employer/offline-add-employer.component.d.ts +311 -0
- package/lib/components/offline-add-employer/offline-add-employer.component.d.ts.map +1 -0
- package/lib/components/offline-bank-details/offline-bank-details.component.d.ts +33 -0
- package/lib/components/offline-bank-details/offline-bank-details.component.d.ts.map +1 -0
- package/lib/components/offline-employer-grid/offline-employer-grid.component.d.ts +97 -0
- package/lib/components/offline-employer-grid/offline-employer-grid.component.d.ts.map +1 -0
- package/lib/components/offline-legal-disclaimar/offline-legal-disclaimar.component.d.ts +33 -0
- package/lib/components/offline-legal-disclaimar/offline-legal-disclaimar.component.d.ts.map +1 -0
- package/lib/components/profile/profile.component.d.ts +82 -49
- package/lib/components/profile/profile.component.d.ts.map +1 -1
- package/lib/components/profile-redirect/profile-redirect.component.d.ts +9 -2
- package/lib/components/profile-redirect/profile-redirect.component.d.ts.map +1 -1
- package/lib/components/proof-of-anything/proof-of-anything.component.d.ts +54 -0
- package/lib/components/proof-of-anything/proof-of-anything.component.d.ts.map +1 -0
- package/lib/components/proof-of-document-upload/proof-of-document-upload.component.d.ts +74 -0
- package/lib/components/proof-of-document-upload/proof-of-document-upload.component.d.ts.map +1 -0
- package/lib/components/questionnaire/AppValidators.d.ts +1 -0
- package/lib/components/questionnaire/AppValidators.d.ts.map +1 -1
- package/lib/components/questionnaire/account-success/account-success.page.d.ts +13 -10
- package/lib/components/questionnaire/account-success/account-success.page.d.ts.map +1 -1
- package/lib/components/questionnaire/common-success/common-success.page.d.ts +7 -1
- package/lib/components/questionnaire/common-success/common-success.page.d.ts.map +1 -1
- package/lib/components/questionnaire/dynamic-form-panel.component.d.ts +3 -1
- package/lib/components/questionnaire/dynamic-form-panel.component.d.ts.map +1 -1
- package/lib/components/questionnaire/dynamic-form-question.component.d.ts +33 -35
- package/lib/components/questionnaire/dynamic-form-question.component.d.ts.map +1 -1
- package/lib/components/questionnaire/dynamic-form.component.d.ts +10 -34
- package/lib/components/questionnaire/dynamic-form.component.d.ts.map +1 -1
- package/lib/components/questionnaire/form-builder/form-builder.page.d.ts +0 -7
- package/lib/components/questionnaire/form-builder/form-builder.page.d.ts.map +1 -1
- package/lib/components/questionnaire/multi-questionnaire/multi-questionnaire.component.d.ts +7 -1
- package/lib/components/questionnaire/multi-questionnaire/multi-questionnaire.component.d.ts.map +1 -1
- package/lib/components/questionnaire/question-control.service.d.ts.map +1 -1
- package/lib/components/questionnaire/question.service.d.ts +0 -1
- package/lib/components/questionnaire/question.service.d.ts.map +1 -1
- package/lib/components/questionnaire/render-questionnaire/render-questionnaire.page.d.ts +1 -7
- package/lib/components/questionnaire/render-questionnaire/render-questionnaire.page.d.ts.map +1 -1
- package/lib/components/requalify-lift-previous-issues/requalify-lift-previous-issues.component.d.ts +11 -3
- package/lib/components/requalify-lift-previous-issues/requalify-lift-previous-issues.component.d.ts.map +1 -1
- package/lib/components/scrollable-text/scrollable-text.component.d.ts +11 -0
- package/lib/components/scrollable-text/scrollable-text.component.d.ts.map +1 -0
- package/lib/components/search-employer/search-employer.component.d.ts +5 -4
- package/lib/components/search-employer/search-employer.component.d.ts.map +1 -1
- package/lib/components/sms/sms.component.d.ts +63 -0
- package/lib/components/sms/sms.component.d.ts.map +1 -0
- package/lib/components/ssn-reverify/ssn-reverify.component.d.ts +1 -5
- package/lib/components/ssn-reverify/ssn-reverify.component.d.ts.map +1 -1
- package/lib/components/user-login/user-login.component.d.ts +5 -38
- package/lib/components/user-login/user-login.component.d.ts.map +1 -1
- package/lib/components/wage-calculator/wage-calculator.component.d.ts +44 -0
- package/lib/components/wage-calculator/wage-calculator.component.d.ts.map +1 -0
- package/lib/components/wage-grid/wage-grid.component.d.ts +43 -0
- package/lib/components/wage-grid/wage-grid.component.d.ts.map +1 -0
- package/lib/components/weekly-acknowledgement-ms/acknowledgement-ms.component.d.ts +28 -0
- package/lib/components/weekly-acknowledgement-ms/acknowledgement-ms.component.d.ts.map +1 -0
- package/lib/components/weekly-acknowledgement-v2/acknowledgement.component-v2.d.ts +28 -0
- package/lib/components/weekly-acknowledgement-v2/acknowledgement.component-v2.d.ts.map +1 -0
- package/lib/components/weekly-cert-employer/weekly-cert-employer.component.d.ts +27 -10
- package/lib/components/weekly-cert-employer/weekly-cert-employer.component.d.ts.map +1 -1
- package/lib/components/weekly-cert-employer-grid/weekly-cert-employer-grid.component.d.ts +9 -3
- package/lib/components/weekly-cert-employer-grid/weekly-cert-employer-grid.component.d.ts.map +1 -1
- package/lib/components/weekly-certification/weekly-certification.component.d.ts +101 -0
- package/lib/components/weekly-certification/weekly-certification.component.d.ts.map +1 -0
- package/lib/components/weekly-confirmation/confirmation.component.d.ts +21 -0
- package/lib/components/weekly-confirmation/confirmation.component.d.ts.map +1 -0
- package/lib/components/weekly-interim-confirmation/interim-confirmation.component.d.ts +34 -0
- package/lib/components/weekly-interim-confirmation/interim-confirmation.component.d.ts.map +1 -0
- package/lib/components/weekly-summary-v2/summary.component-v2.d.ts +17 -0
- package/lib/components/weekly-summary-v2/summary.component-v2.d.ts.map +1 -0
- package/lib/components/weekly-work-performed-popup/weekly-work-performed-popup.component.d.ts +10 -0
- package/lib/components/weekly-work-performed-popup/weekly-work-performed-popup.component.d.ts.map +1 -0
- package/lib/components/weekly-work-search-counter/work-search-counter.component.d.ts +17 -0
- package/lib/components/weekly-work-search-counter/work-search-counter.component.d.ts.map +1 -0
- package/lib/components/weekly-work-search-employer-me/work-search-employer.component-me.d.ts +105 -0
- package/lib/components/weekly-work-search-employer-me/work-search-employer.component-me.d.ts.map +1 -0
- package/lib/components/weekly-work-search-employer-ms/work-search-employer-ms.component.d.ts +71 -0
- package/lib/components/weekly-work-search-employer-ms/work-search-employer-ms.component.d.ts.map +1 -0
- package/lib/components/weekly-work-search-employer-v2/work-search-employer.component-v2.d.ts +59 -0
- package/lib/components/weekly-work-search-employer-v2/work-search-employer.component-v2.d.ts.map +1 -0
- package/lib/components/weekly-work-search-journal/weekly-work-search-journal.component.d.ts +47 -0
- package/lib/components/weekly-work-search-journal/weekly-work-search-journal.component.d.ts.map +1 -0
- package/lib/components/weekly-work-search-question-v2/work-search-question.component-v2.d.ts +78 -0
- package/lib/components/weekly-work-search-question-v2/work-search-question.component-v2.d.ts.map +1 -0
- package/lib/directives/strip-invisible-characters/strip-invisible-characters.directive.d.ts +8 -0
- package/lib/directives/strip-invisible-characters/strip-invisible-characters.directive.d.ts.map +1 -0
- package/lib/enums/AddressValidationResponseEnum.d.ts +8 -0
- package/lib/enums/AddressValidationResponseEnum.d.ts.map +1 -0
- package/lib/enums/AddressValidationSourceFunctionEnum.d.ts +4 -0
- package/lib/enums/AddressValidationSourceFunctionEnum.d.ts.map +1 -0
- package/lib/guards/auth.guard.d.ts.map +1 -1
- package/lib/interceptors/error-interceptor/http-error-interceptor.d.ts.map +1 -1
- package/lib/models/ActiveClaimModel.d.ts +8 -0
- package/lib/models/ActiveClaimModel.d.ts.map +1 -0
- package/lib/models/CountyModel.d.ts +8 -0
- package/lib/models/CountyModel.d.ts.map +1 -0
- package/lib/models/DuaAppDataModel.d.ts +5 -0
- package/lib/models/DuaAppDataModel.d.ts.map +1 -0
- package/lib/models/DuaRequestModel.d.ts +10 -0
- package/lib/models/DuaRequestModel.d.ts.map +1 -0
- package/lib/models/DuaRetroWeeksComponentModel.d.ts +5 -0
- package/lib/models/DuaRetroWeeksComponentModel.d.ts.map +1 -0
- package/lib/models/EmployerDetailSearchResult.d.ts +4 -1
- package/lib/models/EmployerDetailSearchResult.d.ts.map +1 -1
- package/lib/models/EmployerInfoComponentModel.d.ts +9 -0
- package/lib/models/EmployerInfoComponentModel.d.ts.map +1 -0
- package/lib/models/EmployerPayInfoModel.d.ts +20 -0
- package/lib/models/EmployerPayInfoModel.d.ts.map +1 -0
- package/lib/models/FarmUsageComponentModel.d.ts +10 -0
- package/lib/models/FarmUsageComponentModel.d.ts.map +1 -0
- package/lib/models/GrossEarningsModel.d.ts +6 -0
- package/lib/models/GrossEarningsModel.d.ts.map +1 -0
- package/lib/models/HelpConstants.d.ts +5 -0
- package/lib/models/HelpConstants.d.ts.map +1 -0
- package/lib/models/LexisNexisOtpDetailsResponseModel.d.ts +7 -0
- package/lib/models/LexisNexisOtpDetailsResponseModel.d.ts.map +1 -0
- package/lib/models/LibConstants.d.ts +40 -1
- package/lib/models/LibConstants.d.ts.map +1 -1
- package/lib/models/OtpAuthModel.d.ts +0 -1
- package/lib/models/OtpAuthModel.d.ts.map +1 -1
- package/lib/models/PaymentComponentModel.d.ts +1 -1
- package/lib/models/PaymentComponentModel.d.ts.map +1 -1
- package/lib/models/ReasonSeparationRequestModel.d.ts +7 -0
- package/lib/models/ReasonSeparationRequestModel.d.ts.map +1 -0
- package/lib/models/RetroWeeksModel.d.ts +11 -0
- package/lib/models/RetroWeeksModel.d.ts.map +1 -0
- package/lib/models/SecurityQuestionAnswerModel.d.ts +7 -0
- package/lib/models/SecurityQuestionAnswerModel.d.ts.map +1 -0
- package/lib/models/SendOtpRequestModel.d.ts +12 -0
- package/lib/models/SendOtpRequestModel.d.ts.map +1 -0
- package/lib/models/UserModel.d.ts +0 -1
- package/lib/models/UserModel.d.ts.map +1 -1
- package/lib/models/VerifyOtpRequestModel.d.ts +8 -0
- package/lib/models/VerifyOtpRequestModel.d.ts.map +1 -0
- package/lib/models/WageCalculatorModel.d.ts +15 -0
- package/lib/models/WageCalculatorModel.d.ts.map +1 -0
- package/lib/models/WageInfoModel.d.ts +9 -0
- package/lib/models/WageInfoModel.d.ts.map +1 -0
- package/lib/models/addressValidation/AddressRecommendationModel.d.ts +12 -0
- package/lib/models/addressValidation/AddressRecommendationModel.d.ts.map +1 -0
- package/lib/models/addressValidation/AddressValidationRequestComponentModel.d.ts +11 -0
- package/lib/models/addressValidation/AddressValidationRequestComponentModel.d.ts.map +1 -0
- package/lib/models/addressValidation/AddressValidationResponseComponentModel.d.ts +6 -0
- package/lib/models/addressValidation/AddressValidationResponseComponentModel.d.ts.map +1 -0
- package/lib/models/addressValidation/AddressValidationReturnComponentModel.d.ts +16 -0
- package/lib/models/addressValidation/AddressValidationReturnComponentModel.d.ts.map +1 -0
- package/lib/models/combo-model.d.ts +42 -0
- package/lib/models/combo-model.d.ts.map +1 -0
- package/lib/models/dashboard-model.d.ts +22 -0
- package/lib/models/dashboard-model.d.ts.map +1 -1
- package/lib/models/fileupload/DocUploadModel.d.ts +22 -0
- package/lib/models/fileupload/DocUploadModel.d.ts.map +1 -0
- package/lib/models/fileupload/EmployerDataModel.d.ts +6 -0
- package/lib/models/fileupload/EmployerDataModel.d.ts.map +1 -0
- package/lib/models/fileupload/FileObject.d.ts +8 -0
- package/lib/models/fileupload/FileObject.d.ts.map +1 -0
- package/lib/models/fileupload/FileObjectArray.d.ts +8 -0
- package/lib/models/fileupload/FileObjectArray.d.ts.map +1 -0
- package/lib/models/questionnaire/AppealParticipantModel.d.ts +17 -0
- package/lib/models/questionnaire/AppealParticipantModel.d.ts.map +1 -0
- package/lib/models/questionnaire/ClaimAppEmpResponseModel.d.ts +3 -0
- package/lib/models/questionnaire/ClaimAppEmpResponseModel.d.ts.map +1 -1
- package/lib/models/questionnaire/ClaimAppEmployerDetailsModel.d.ts +15 -4
- package/lib/models/questionnaire/ClaimAppEmployerDetailsModel.d.ts.map +1 -1
- package/lib/models/questionnaire/ClaimOnlyEmployerDataModel.d.ts +4 -1
- package/lib/models/questionnaire/ClaimOnlyEmployerDataModel.d.ts.map +1 -1
- package/lib/models/questionnaire/ComboModel.d.ts +14 -82
- package/lib/models/questionnaire/ComboModel.d.ts.map +1 -1
- package/lib/models/questionnaire/ElementsModel.d.ts +0 -1
- package/lib/models/questionnaire/ElementsModel.d.ts.map +1 -1
- package/lib/models/questionnaire/LegalDiscaimarModel.d.ts +2 -0
- package/lib/models/questionnaire/LegalDiscaimarModel.d.ts.map +1 -1
- package/lib/models/questionnaire/QuestionnaireSaveModel.d.ts +0 -1
- package/lib/models/questionnaire/QuestionnaireSaveModel.d.ts.map +1 -1
- package/lib/models/questionnaire/ScrollableTextModel.d.ts +4 -0
- package/lib/models/questionnaire/ScrollableTextModel.d.ts.map +1 -0
- package/lib/models/questionnaire/StatusModel.d.ts +1 -0
- package/lib/models/questionnaire/StatusModel.d.ts.map +1 -1
- package/lib/models/questionnaire/WbaHelperTextModel.d.ts +4 -0
- package/lib/models/questionnaire/WbaHelperTextModel.d.ts.map +1 -0
- package/lib/models/weekly-cert/WorkSearchWaiverModel.d.ts +9 -0
- package/lib/models/weekly-cert/WorkSearchWaiverModel.d.ts.map +1 -0
- package/lib/models/weekly-cert/address-detail-model.d.ts +14 -0
- package/lib/models/weekly-cert/address-detail-model.d.ts.map +1 -0
- package/lib/models/weekly-cert/admin-leave-details-model.d.ts +15 -0
- package/lib/models/weekly-cert/admin-leave-details-model.d.ts.map +1 -0
- package/lib/models/weekly-cert/employer-info-v2-model.d.ts +27 -0
- package/lib/models/weekly-cert/employer-info-v2-model.d.ts.map +1 -0
- package/lib/models/weekly-cert/weekly-cert-eligibility-v2-model.d.ts +57 -0
- package/lib/models/weekly-cert/weekly-cert-eligibility-v2-model.d.ts.map +1 -0
- package/lib/models/weekly-cert/weekly-certification-v2-model.d.ts +59 -0
- package/lib/models/weekly-cert/weekly-certification-v2-model.d.ts.map +1 -0
- package/lib/models/weekly-cert/work-search-record-v2-model.d.ts +66 -0
- package/lib/models/weekly-cert/work-search-record-v2-model.d.ts.map +1 -0
- package/lib/models/weekly-cert/work-search-v2-model.d.ts +18 -0
- package/lib/models/weekly-cert/work-search-v2-model.d.ts.map +1 -0
- package/lib/ngx-reusa-app-lib.module.d.ts +124 -86
- package/lib/ngx-reusa-app-lib.module.d.ts.map +1 -1
- package/lib/pages/BasePage.d.ts +3 -6
- package/lib/pages/BasePage.d.ts.map +1 -1
- package/lib/pages/common/change-password/change-password.page.d.ts +3 -0
- package/lib/pages/common/change-password/change-password.page.d.ts.map +1 -1
- package/lib/pages/common/login/login.component.d.ts.map +1 -1
- package/lib/pages/popovers/language/language.page.d.ts.map +1 -1
- package/lib/pages/popovers/my-profile/my-profile.page.d.ts.map +1 -1
- package/lib/pipes/format-worksearch/format-worksearch.pipe.d.ts +14 -0
- package/lib/pipes/format-worksearch/format-worksearch.pipe.d.ts.map +1 -0
- package/lib/services/address-validation-service/address-validation.service.d.ts +44 -0
- package/lib/services/address-validation-service/address-validation.service.d.ts.map +1 -0
- package/lib/services/appeal/appeal.service.d.ts +16 -0
- package/lib/services/appeal/appeal.service.d.ts.map +1 -0
- package/lib/services/base-service.d.ts +12 -0
- package/lib/services/base-service.d.ts.map +1 -1
- package/lib/services/birt-service/birt.service.d.ts +17 -0
- package/lib/services/birt-service/birt.service.d.ts.map +1 -0
- package/lib/services/claimant-service/claimant.service.d.ts +5 -6
- package/lib/services/claimant-service/claimant.service.d.ts.map +1 -1
- package/lib/services/claims/claims.service.d.ts +39 -5
- package/lib/services/claims/claims.service.d.ts.map +1 -1
- package/lib/services/employer/employer-service.d.ts +16 -0
- package/lib/services/employer/employer-service.d.ts.map +1 -0
- package/lib/services/event-service/event-service.d.ts +20 -0
- package/lib/services/event-service/event-service.d.ts.map +1 -0
- package/lib/services/login/login.service.d.ts +5 -3
- package/lib/services/login/login.service.d.ts.map +1 -1
- package/lib/services/offline-claims/offline-claims.service.d.ts +64 -0
- package/lib/services/offline-claims/offline-claims.service.d.ts.map +1 -0
- package/lib/services/questionnaire/questionnaire.service.d.ts +1 -0
- package/lib/services/questionnaire/questionnaire.service.d.ts.map +1 -1
- package/lib/services/questionnaire/validation.service.d.ts +3 -0
- package/lib/services/questionnaire/validation.service.d.ts.map +1 -1
- package/lib/services/security-service/security.service.d.ts +12 -4
- package/lib/services/security-service/security.service.d.ts.map +1 -1
- package/lib/services/util/util.service.d.ts +6 -0
- package/lib/services/util/util.service.d.ts.map +1 -1
- package/lib/services/weekly-cert/review.service.d.ts +23 -0
- package/lib/services/weekly-cert/review.service.d.ts.map +1 -0
- package/lib/services/weekly-cert/weekly-cert-v2.service.d.ts +47 -5
- package/lib/services/weekly-cert/weekly-cert-v2.service.d.ts.map +1 -1
- package/lib/services/weekly-cert/weekly-cert.service.d.ts +17 -0
- package/lib/services/weekly-cert/weekly-cert.service.d.ts.map +1 -0
- package/lib/services/weekly-cert/work-search.service.d.ts +26 -0
- package/lib/services/weekly-cert/work-search.service.d.ts.map +1 -0
- package/lib/validations/AppRegex.d.ts +0 -2
- package/lib/validations/AppRegex.d.ts.map +1 -1
- package/lib/validations/AppValidators.d.ts +20 -24
- package/lib/validations/AppValidators.d.ts.map +1 -1
- package/package.json +2 -2
- package/public-api.d.ts +46 -4
- package/public-api.d.ts.map +1 -1
- package/esm2022/lib/components/lexis-nexis/lexis-nexis.component.mjs +0 -402
- package/esm2022/lib/components/mfa2/mfa2.component.mjs +0 -285
- package/esm2022/lib/components/security-question/security-question.component.mjs +0 -199
- package/esm2022/lib/models/LexisNexisAccountCreationModel.mjs +0 -2
- package/esm2022/lib/models/LexisNexisAuthSelectionRequestModel.mjs +0 -2
- package/esm2022/lib/models/LexisNexisAuthSelectionResponseModel.mjs +0 -2
- package/esm2022/lib/models/LexisNexisEnabledResponseModel.mjs +0 -2
- package/esm2022/lib/models/LexisNexisResponseModel.mjs +0 -3
- package/esm2022/lib/models/PartialEmploymentModel.mjs +0 -3
- package/esm2022/lib/models/SecurityQuestionModel.mjs +0 -3
- package/esm2022/lib/services/claimant-service/claimant-usps-redirect.service.mjs +0 -36
- package/esm2022/lib/services/lexis-nexis/lexis.nexis.service.mjs +0 -60
- package/esm2022/lib/services/ovp/ovp.service.mjs +0 -43
- package/lib/components/lexis-nexis/lexis-nexis.component.d.ts +0 -59
- package/lib/components/lexis-nexis/lexis-nexis.component.d.ts.map +0 -1
- package/lib/components/mfa2/mfa2.component.d.ts +0 -48
- package/lib/components/mfa2/mfa2.component.d.ts.map +0 -1
- package/lib/components/security-question/security-question.component.d.ts +0 -37
- package/lib/components/security-question/security-question.component.d.ts.map +0 -1
- package/lib/models/LexisNexisAccountCreationModel.d.ts +0 -15
- package/lib/models/LexisNexisAccountCreationModel.d.ts.map +0 -1
- package/lib/models/LexisNexisAuthSelectionRequestModel.d.ts +0 -16
- package/lib/models/LexisNexisAuthSelectionRequestModel.d.ts.map +0 -1
- package/lib/models/LexisNexisAuthSelectionResponseModel.d.ts +0 -39
- package/lib/models/LexisNexisAuthSelectionResponseModel.d.ts.map +0 -1
- package/lib/models/LexisNexisEnabledResponseModel.d.ts +0 -5
- package/lib/models/LexisNexisEnabledResponseModel.d.ts.map +0 -1
- package/lib/models/LexisNexisResponseModel.d.ts +0 -7
- package/lib/models/LexisNexisResponseModel.d.ts.map +0 -1
- package/lib/models/PartialEmploymentModel.d.ts +0 -6
- package/lib/models/PartialEmploymentModel.d.ts.map +0 -1
- package/lib/models/SecurityQuestionModel.d.ts +0 -7
- package/lib/models/SecurityQuestionModel.d.ts.map +0 -1
- package/lib/services/claimant-service/claimant-usps-redirect.service.d.ts +0 -16
- package/lib/services/claimant-service/claimant-usps-redirect.service.d.ts.map +0 -1
- package/lib/services/lexis-nexis/lexis.nexis.service.d.ts +0 -26
- package/lib/services/lexis-nexis/lexis.nexis.service.d.ts.map +0 -1
- package/lib/services/ovp/ovp.service.d.ts +0 -17
- package/lib/services/ovp/ovp.service.d.ts.map +0 -1
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
import { Component, EventEmitter, Output, Input, ChangeDetectionStrategy } from '@angular/core';
|
|
2
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../../services/logger/logger.service";
|
|
5
|
+
import * as i2 from "../../services/questionnaire/validation.service";
|
|
6
|
+
import * as i3 from "@ionic/angular";
|
|
7
|
+
import * as i4 from "@angular/common";
|
|
8
|
+
import * as i5 from "primeng/api";
|
|
9
|
+
import * as i6 from "primeng/dialog";
|
|
10
|
+
import * as i7 from "primeng/table";
|
|
11
|
+
import * as i8 from "@fortawesome/angular-fontawesome";
|
|
12
|
+
import * as i9 from "../employer-pay/employer-pay.component";
|
|
13
|
+
import * as i10 from "@ngx-translate/core";
|
|
14
|
+
function EmployerPayGridComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
15
|
+
i0.ɵɵelementStart(0, "tr", 11)(1, "th", 12);
|
|
16
|
+
i0.ɵɵtext(2);
|
|
17
|
+
i0.ɵɵpipe(3, "translate");
|
|
18
|
+
i0.ɵɵelementEnd();
|
|
19
|
+
i0.ɵɵelementStart(4, "th");
|
|
20
|
+
i0.ɵɵtext(5);
|
|
21
|
+
i0.ɵɵpipe(6, "translate");
|
|
22
|
+
i0.ɵɵelementEnd();
|
|
23
|
+
i0.ɵɵelement(7, "th");
|
|
24
|
+
i0.ɵɵelementEnd();
|
|
25
|
+
} if (rf & 2) {
|
|
26
|
+
i0.ɵɵadvance(2);
|
|
27
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "employer.pay.grid.header.employer"), " ");
|
|
28
|
+
i0.ɵɵadvance(3);
|
|
29
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 4, "employer.pay.grid.header.payType"), " ");
|
|
30
|
+
} }
|
|
31
|
+
function EmployerPayGridComponent_ng_template_8_ng_container_9_span_1_br_8_Template(rf, ctx) { if (rf & 1) {
|
|
32
|
+
i0.ɵɵelement(0, "br");
|
|
33
|
+
} }
|
|
34
|
+
function EmployerPayGridComponent_ng_template_8_ng_container_9_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
35
|
+
i0.ɵɵelementStart(0, "span")(1, "tr")(2, "td", 20);
|
|
36
|
+
i0.ɵɵtext(3);
|
|
37
|
+
i0.ɵɵelementEnd();
|
|
38
|
+
i0.ɵɵelementStart(4, "td")(5, "b");
|
|
39
|
+
i0.ɵɵtext(6);
|
|
40
|
+
i0.ɵɵpipe(7, "currency");
|
|
41
|
+
i0.ɵɵelementEnd()()();
|
|
42
|
+
i0.ɵɵtemplate(8, EmployerPayGridComponent_ng_template_8_ng_container_9_span_1_br_8_Template, 1, 0, "br", 19);
|
|
43
|
+
i0.ɵɵelementEnd();
|
|
44
|
+
} if (rf & 2) {
|
|
45
|
+
const ctx_r14 = i0.ɵɵnextContext();
|
|
46
|
+
const payType_r10 = ctx_r14.$implicit;
|
|
47
|
+
const last_r11 = ctx_r14.last;
|
|
48
|
+
i0.ɵɵadvance(3);
|
|
49
|
+
i0.ɵɵtextInterpolate1(" ", payType_r10.payType.text, " ");
|
|
50
|
+
i0.ɵɵadvance(3);
|
|
51
|
+
i0.ɵɵtextInterpolate1(": ", i0.ɵɵpipeBind1(7, 3, payType_r10.amount), "");
|
|
52
|
+
i0.ɵɵadvance(2);
|
|
53
|
+
i0.ɵɵproperty("ngIf", !last_r11);
|
|
54
|
+
} }
|
|
55
|
+
function EmployerPayGridComponent_ng_template_8_ng_container_9_Template(rf, ctx) { if (rf & 1) {
|
|
56
|
+
i0.ɵɵelementContainerStart(0);
|
|
57
|
+
i0.ɵɵtemplate(1, EmployerPayGridComponent_ng_template_8_ng_container_9_span_1_Template, 9, 5, "span", 19);
|
|
58
|
+
i0.ɵɵelementContainerEnd();
|
|
59
|
+
} if (rf & 2) {
|
|
60
|
+
const payType_r10 = ctx.$implicit;
|
|
61
|
+
i0.ɵɵadvance(1);
|
|
62
|
+
i0.ɵɵproperty("ngIf", payType_r10.isChecked);
|
|
63
|
+
} }
|
|
64
|
+
const _c0 = () => ["fal", "edit"];
|
|
65
|
+
const _c1 = () => ["fal", "trash-alt"];
|
|
66
|
+
function EmployerPayGridComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
67
|
+
const _r16 = i0.ɵɵgetCurrentView();
|
|
68
|
+
i0.ɵɵelementStart(0, "tr", 11)(1, "td", 12)(2, "span", 13);
|
|
69
|
+
i0.ɵɵtext(3, "Employer");
|
|
70
|
+
i0.ɵɵelementEnd();
|
|
71
|
+
i0.ɵɵelementStart(4, "span");
|
|
72
|
+
i0.ɵɵtext(5);
|
|
73
|
+
i0.ɵɵelementEnd()();
|
|
74
|
+
i0.ɵɵelementStart(6, "td")(7, "span", 13);
|
|
75
|
+
i0.ɵɵtext(8, "Pay Type");
|
|
76
|
+
i0.ɵɵelementEnd();
|
|
77
|
+
i0.ɵɵtemplate(9, EmployerPayGridComponent_ng_template_8_ng_container_9_Template, 2, 1, "ng-container", 14);
|
|
78
|
+
i0.ɵɵelementEnd();
|
|
79
|
+
i0.ɵɵelementStart(10, "td", 15)(11, "ion-button", 16);
|
|
80
|
+
i0.ɵɵlistener("click", function EmployerPayGridComponent_ng_template_8_Template_ion_button_click_11_listener() { const restoredCtx = i0.ɵɵrestoreView(_r16); const employer_r7 = restoredCtx.$implicit; const ctx_r15 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r15.editEmployerPayment(employer_r7)); });
|
|
81
|
+
i0.ɵɵelement(12, "fa-icon", 17);
|
|
82
|
+
i0.ɵɵelementEnd();
|
|
83
|
+
i0.ɵɵelementStart(13, "ion-button", 18);
|
|
84
|
+
i0.ɵɵlistener("click", function EmployerPayGridComponent_ng_template_8_Template_ion_button_click_13_listener() { const restoredCtx = i0.ɵɵrestoreView(_r16); const rowIndex_r8 = restoredCtx.rowIndex; const ctx_r17 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r17.deleteEmployerPayment(rowIndex_r8)); });
|
|
85
|
+
i0.ɵɵelement(14, "fa-icon", 17);
|
|
86
|
+
i0.ɵɵelementEnd()()();
|
|
87
|
+
} if (rf & 2) {
|
|
88
|
+
const employer_r7 = ctx.$implicit;
|
|
89
|
+
const rowIndex_r8 = ctx.rowIndex;
|
|
90
|
+
i0.ɵɵadvance(5);
|
|
91
|
+
i0.ɵɵtextInterpolate1(" ", employer_r7.employerName, "");
|
|
92
|
+
i0.ɵɵadvance(4);
|
|
93
|
+
i0.ɵɵproperty("ngForOf", employer_r7.payTypes);
|
|
94
|
+
i0.ɵɵadvance(2);
|
|
95
|
+
i0.ɵɵproperty("id", "btnEditEmployerPayment-" + rowIndex_r8);
|
|
96
|
+
i0.ɵɵadvance(1);
|
|
97
|
+
i0.ɵɵproperty("icon", i0.ɵɵpureFunction0(6, _c0));
|
|
98
|
+
i0.ɵɵadvance(1);
|
|
99
|
+
i0.ɵɵproperty("id", "btnDeleteEmployerPayment-" + rowIndex_r8);
|
|
100
|
+
i0.ɵɵadvance(1);
|
|
101
|
+
i0.ɵɵproperty("icon", i0.ɵɵpureFunction0(7, _c1));
|
|
102
|
+
} }
|
|
103
|
+
const _c2 = () => ["fal", "plus"];
|
|
104
|
+
function EmployerPayGridComponent_ng_template_9_table_0_Template(rf, ctx) { if (rf & 1) {
|
|
105
|
+
const _r21 = i0.ɵɵgetCurrentView();
|
|
106
|
+
i0.ɵɵelementStart(0, "table")(1, "tr")(2, "td", 21)(3, "div")(4, "b");
|
|
107
|
+
i0.ɵɵtext(5, "+ Add");
|
|
108
|
+
i0.ɵɵelementEnd();
|
|
109
|
+
i0.ɵɵtext(6, " Payment");
|
|
110
|
+
i0.ɵɵelementEnd()();
|
|
111
|
+
i0.ɵɵelementStart(7, "td", 22)(8, "ion-button", 23);
|
|
112
|
+
i0.ɵɵlistener("click", function EmployerPayGridComponent_ng_template_9_table_0_Template_ion_button_click_8_listener() { i0.ɵɵrestoreView(_r21); const ctx_r20 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r20.addEmployerPay()); });
|
|
113
|
+
i0.ɵɵelement(9, "fa-icon", 17);
|
|
114
|
+
i0.ɵɵelementEnd()()()();
|
|
115
|
+
} if (rf & 2) {
|
|
116
|
+
i0.ɵɵadvance(2);
|
|
117
|
+
i0.ɵɵattribute("colspan", 4);
|
|
118
|
+
i0.ɵɵadvance(7);
|
|
119
|
+
i0.ɵɵproperty("icon", i0.ɵɵpureFunction0(2, _c2));
|
|
120
|
+
} }
|
|
121
|
+
function EmployerPayGridComponent_ng_template_9_Template(rf, ctx) { if (rf & 1) {
|
|
122
|
+
i0.ɵɵtemplate(0, EmployerPayGridComponent_ng_template_9_table_0_Template, 10, 3, "table", 19);
|
|
123
|
+
} if (rf & 2) {
|
|
124
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
125
|
+
i0.ɵɵproperty("ngIf", !ctx_r3.selected);
|
|
126
|
+
} }
|
|
127
|
+
function EmployerPayGridComponent_app_employer_pay_10_Template(rf, ctx) { if (rf & 1) {
|
|
128
|
+
const _r23 = i0.ɵɵgetCurrentView();
|
|
129
|
+
i0.ɵɵelementStart(0, "app-employer-pay", 24);
|
|
130
|
+
i0.ɵɵlistener("success", function EmployerPayGridComponent_app_employer_pay_10_Template_app_employer_pay_success_0_listener($event) { i0.ɵɵrestoreView(_r23); const ctx_r22 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r22.addEmployerPayment($event)); })("onClose", function EmployerPayGridComponent_app_employer_pay_10_Template_app_employer_pay_onClose_0_listener() { i0.ɵɵrestoreView(_r23); const ctx_r24 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r24.close()); });
|
|
131
|
+
i0.ɵɵelementEnd();
|
|
132
|
+
} if (rf & 2) {
|
|
133
|
+
const ctx_r4 = i0.ɵɵnextContext();
|
|
134
|
+
i0.ɵɵproperty("empToEdit", ctx_r4.selectedEmployer);
|
|
135
|
+
} }
|
|
136
|
+
function EmployerPayGridComponent_ng_template_16_Template(rf, ctx) { if (rf & 1) {
|
|
137
|
+
const _r26 = i0.ɵɵgetCurrentView();
|
|
138
|
+
i0.ɵɵelementStart(0, "ion-button", 25);
|
|
139
|
+
i0.ɵɵlistener("click", function EmployerPayGridComponent_ng_template_16_Template_ion_button_click_0_listener() { i0.ɵɵrestoreView(_r26); const ctx_r25 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r25.close()); });
|
|
140
|
+
i0.ɵɵtext(1, " Close ");
|
|
141
|
+
i0.ɵɵelementEnd();
|
|
142
|
+
i0.ɵɵelementStart(2, "ion-button", 26);
|
|
143
|
+
i0.ɵɵlistener("click", function EmployerPayGridComponent_ng_template_16_Template_ion_button_click_2_listener() { i0.ɵɵrestoreView(_r26); const ctx_r27 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r27.editDuplicateEmployer()); });
|
|
144
|
+
i0.ɵɵtext(3, " Edit ");
|
|
145
|
+
i0.ɵɵelementEnd();
|
|
146
|
+
} }
|
|
147
|
+
const _c3 = () => ({ width: "45vw" });
|
|
148
|
+
const _c4 = () => ({ "1200px": "660px", "992px": "660px", "768px": "660px", "576px": "100vw" });
|
|
149
|
+
export class EmployerPayGridComponent {
|
|
150
|
+
constructor(logger, vs) {
|
|
151
|
+
this.logger = logger;
|
|
152
|
+
this.vs = vs;
|
|
153
|
+
this.selected = false;
|
|
154
|
+
this.indexToEdit = null;
|
|
155
|
+
this.activeIndex = null;
|
|
156
|
+
this.showDuplicatePopup = false;
|
|
157
|
+
this.employerPay = [];
|
|
158
|
+
this.modelDisplay = new EventEmitter();
|
|
159
|
+
this.onChange = (value) => { };
|
|
160
|
+
this.onTouch = () => { };
|
|
161
|
+
this.onChangeSubs = [];
|
|
162
|
+
this.isDisabled = false;
|
|
163
|
+
}
|
|
164
|
+
ngOnInit() {
|
|
165
|
+
this.employerPay = this.vs.employerPayDetails.getValue() || [];
|
|
166
|
+
}
|
|
167
|
+
ngOnDestroy() {
|
|
168
|
+
for (let sub of this.onChangeSubs) {
|
|
169
|
+
sub.unsubscribe();
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
writeValue(value) {
|
|
173
|
+
if (value) {
|
|
174
|
+
this.employerPay = value;
|
|
175
|
+
this.publishEmployer();
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
registerOnChange(fn) {
|
|
179
|
+
let sub = this.vs.employerPayDetails.subscribe(fn);
|
|
180
|
+
this.onChangeSubs.push(sub);
|
|
181
|
+
}
|
|
182
|
+
registerOnTouched(onTouch) {
|
|
183
|
+
this.onTouch = onTouch;
|
|
184
|
+
}
|
|
185
|
+
setDisabledState(isDisabled) {
|
|
186
|
+
this.isDisabled = isDisabled;
|
|
187
|
+
}
|
|
188
|
+
deleteEmployerPayment(employer) {
|
|
189
|
+
let index = this.employerPay.indexOf(employer);
|
|
190
|
+
this.employerPay.splice(index, 1);
|
|
191
|
+
this.publishEmployer();
|
|
192
|
+
}
|
|
193
|
+
editDuplicateEmployer() {
|
|
194
|
+
this.showDuplicatePopup = false;
|
|
195
|
+
this.display = true;
|
|
196
|
+
this.selected = true;
|
|
197
|
+
this.activeIndex = 0;
|
|
198
|
+
}
|
|
199
|
+
editEmployerPayment(employer) {
|
|
200
|
+
this.selectedEmployer = employer;
|
|
201
|
+
this.indexToEdit = this.employerPay.indexOf(employer);
|
|
202
|
+
this.display = true;
|
|
203
|
+
this.selected = true;
|
|
204
|
+
this.activeIndex = 0;
|
|
205
|
+
}
|
|
206
|
+
async addEmployerPay() {
|
|
207
|
+
this.selected = true;
|
|
208
|
+
this.modelDisplay.emit(true);
|
|
209
|
+
}
|
|
210
|
+
close() {
|
|
211
|
+
this.display = false;
|
|
212
|
+
this.indexToEdit = null;
|
|
213
|
+
this.selectedEmployer = null;
|
|
214
|
+
this.showDuplicatePopup = false;
|
|
215
|
+
this.selected = false;
|
|
216
|
+
this.activeIndex = -1;
|
|
217
|
+
}
|
|
218
|
+
checkForDuplicate(employer) {
|
|
219
|
+
if (this.employerPay) {
|
|
220
|
+
let employerPay = this.employerPay.filter(e => {
|
|
221
|
+
if (this.indexToEdit == this.employerPay.indexOf(e)) {
|
|
222
|
+
return false;
|
|
223
|
+
}
|
|
224
|
+
let result = (employer.employerName == e.employerName && employer.address.state.text == e.address.state.text && employer.address.city == e.address.city);
|
|
225
|
+
return result;
|
|
226
|
+
});
|
|
227
|
+
return employerPay.length > 0;
|
|
228
|
+
}
|
|
229
|
+
else {
|
|
230
|
+
return false;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
addEmployerPayment(employer) {
|
|
234
|
+
if (this.checkForDuplicate(employer)) {
|
|
235
|
+
this.selectedEmployer = employer;
|
|
236
|
+
this.display = false;
|
|
237
|
+
this.showDuplicatePopup = true;
|
|
238
|
+
return;
|
|
239
|
+
}
|
|
240
|
+
if (this.indexToEdit != null) {
|
|
241
|
+
this.employerPay[this.indexToEdit] = employer;
|
|
242
|
+
}
|
|
243
|
+
else {
|
|
244
|
+
this.employerPay.push(employer);
|
|
245
|
+
}
|
|
246
|
+
this.display = false;
|
|
247
|
+
this.selectedEmployer = null;
|
|
248
|
+
this.indexToEdit = null;
|
|
249
|
+
this.publishEmployer();
|
|
250
|
+
this.selected = false;
|
|
251
|
+
this.activeIndex = -1;
|
|
252
|
+
}
|
|
253
|
+
publishEmployer() {
|
|
254
|
+
this.vs.employerPayDetails.next(this.employerPay.length > 0 ? this.employerPay : null);
|
|
255
|
+
}
|
|
256
|
+
static { this.ɵfac = function EmployerPayGridComponent_Factory(t) { return new (t || EmployerPayGridComponent)(i0.ɵɵdirectiveInject(i1.LoggerService), i0.ɵɵdirectiveInject(i2.ValidationService)); }; }
|
|
257
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EmployerPayGridComponent, selectors: [["app-employer-pay-grid"]], inputs: { dynamicParam: "dynamicParam" }, outputs: { modelDisplay: "modelDisplay" }, features: [i0.ɵɵProvidersFeature([{
|
|
258
|
+
provide: NG_VALUE_ACCESSOR,
|
|
259
|
+
useExisting: EmployerPayGridComponent,
|
|
260
|
+
multi: true
|
|
261
|
+
}])], decls: 17, vars: 13, consts: [[2, "margin-left", "-5px"], [2, "margin-left", "8px"], ["styleClass", "p-datatable-striped app-datatable ion-padding-top", 3, "rowHover", "value"], ["dt", ""], ["pTemplate", "header"], ["pTemplate", "body"], ["pTemplate", "summary"], [3, "empToEdit", "success", "onClose", 4, "ngIf"], ["appendTo", "body", "position", "top", "appendTo", "body", "closeOnEscape", "false", 3, "visible", "modal", "breakpoints", "baseZIndex", "draggable", "resizable"], [1, "heading"], ["pTemplate", "footer"], [1, "ion-padding-top", "ion-padding-bottom"], [2, "padding-left", "15px"], [1, "p-column-title"], [4, "ngFor", "ngForOf"], [2, "text-align", "center"], ["size", "small", "color", "success", "fill", "outline", "aria-label", "Edit employer payment", 1, "action-button", 3, "id", "click"], [1, "action-icon", 3, "icon"], ["size", "small", "color", "success", "fill", "outline", "aria-label", "Remove employer payment", 1, "action-button", 3, "id", "click"], [4, "ngIf"], [2, "width", "275px", "white-space", "wrap"], [1, "ion-padding-top", 2, "width", "90%"], [1, "ion-padding-top"], ["id", "addEmployerPaymentDetails", "aria-label", "Add Payment Details", "fill", "outline", "size", "small", 1, "action-button", 3, "click"], [3, "empToEdit", "success", "onClose"], ["shape", "round", "size", "small", "type", "submit", "fill", "outline", 3, "click"], ["shape", "round", "size", "small", "type", "submit", "fill", "solid", 3, "click"]], template: function EmployerPayGridComponent_Template(rf, ctx) { if (rf & 1) {
|
|
262
|
+
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "b");
|
|
263
|
+
i0.ɵɵtext(3, "+ Add");
|
|
264
|
+
i0.ɵɵelementEnd();
|
|
265
|
+
i0.ɵɵtext(4, " payments from your former employers");
|
|
266
|
+
i0.ɵɵelementEnd();
|
|
267
|
+
i0.ɵɵelementStart(5, "p-table", 2, 3);
|
|
268
|
+
i0.ɵɵtemplate(7, EmployerPayGridComponent_ng_template_7_Template, 8, 6, "ng-template", 4)(8, EmployerPayGridComponent_ng_template_8_Template, 15, 8, "ng-template", 5)(9, EmployerPayGridComponent_ng_template_9_Template, 1, 1, "ng-template", 6);
|
|
269
|
+
i0.ɵɵelementEnd();
|
|
270
|
+
i0.ɵɵtemplate(10, EmployerPayGridComponent_app_employer_pay_10_Template, 1, 1, "app-employer-pay", 7);
|
|
271
|
+
i0.ɵɵelementStart(11, "p-dialog", 8)(12, "h4", 9);
|
|
272
|
+
i0.ɵɵtext(13, "Duplicate employer not allowed");
|
|
273
|
+
i0.ɵɵelementEnd();
|
|
274
|
+
i0.ɵɵelementStart(14, "ion-label");
|
|
275
|
+
i0.ɵɵtext(15, "It seems like you have added a employer that has been added already. Please check details and try adding employer again.");
|
|
276
|
+
i0.ɵɵelementEnd();
|
|
277
|
+
i0.ɵɵtemplate(16, EmployerPayGridComponent_ng_template_16_Template, 4, 0, "ng-template", 10);
|
|
278
|
+
i0.ɵɵelementEnd()();
|
|
279
|
+
} if (rf & 2) {
|
|
280
|
+
i0.ɵɵadvance(5);
|
|
281
|
+
i0.ɵɵproperty("rowHover", true)("value", ctx.employerPay);
|
|
282
|
+
i0.ɵɵadvance(5);
|
|
283
|
+
i0.ɵɵproperty("ngIf", ctx.selected);
|
|
284
|
+
i0.ɵɵadvance(1);
|
|
285
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(11, _c3));
|
|
286
|
+
i0.ɵɵproperty("visible", ctx.showDuplicatePopup)("modal", true)("breakpoints", i0.ɵɵpureFunction0(12, _c4))("baseZIndex", 5000)("draggable", false)("resizable", false);
|
|
287
|
+
} }, dependencies: [i3.IonButton, i3.IonLabel, i4.NgForOf, i4.NgIf, i5.PrimeTemplate, i6.Dialog, i7.Table, i8.FaIconComponent, i9.EmployerPayComponent, i4.CurrencyPipe, i10.TranslatePipe] }); }
|
|
288
|
+
}
|
|
289
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EmployerPayGridComponent, [{
|
|
290
|
+
type: Component,
|
|
291
|
+
args: [{ selector: 'app-employer-pay-grid', providers: [{
|
|
292
|
+
provide: NG_VALUE_ACCESSOR,
|
|
293
|
+
useExisting: EmployerPayGridComponent,
|
|
294
|
+
multi: true
|
|
295
|
+
}], changeDetection: ChangeDetectionStrategy.Default, template: "<div style=\"margin-left: -5px;\">\r\n <div style=\"margin-left: 8px\"><b>+ Add</b> payments from your former employers</div>\r\n <p-table #dt [rowHover]=\"true\" styleClass=\"p-datatable-striped app-datatable ion-padding-top\" [value]=\"employerPay\">\r\n <ng-template pTemplate=\"header\" let-columns>\r\n <tr class=\"ion-padding-top ion-padding-bottom\">\r\n <th style=\"padding-left: 15px\">\r\n {{\"employer.pay.grid.header.employer\"|translate}}\r\n </th>\r\n <th>\r\n {{\"employer.pay.grid.header.payType\"|translate}}\r\n </th>\r\n <th></th>\r\n </tr>\r\n </ng-template>\r\n\r\n <ng-template pTemplate=\"body\" let-employer let-rowIndex=\"rowIndex\">\r\n <tr class=\"ion-padding-top ion-padding-bottom\">\r\n <td style=\"padding-left: 15px\"><span class=\"p-column-title\">Employer</span><span>\r\n {{employer.employerName}}</span>\r\n </td>\r\n <td>\r\n <span class=\"p-column-title\">Pay Type</span>\r\n <ng-container *ngFor=\"let payType of employer.payTypes; let last=last\">\r\n <span *ngIf = \"payType.isChecked\">\r\n <tr>\r\n <td style=\"width: 275px; white-space: wrap;\">\r\n {{payType.payType.text}}\r\n </td>\r\n <td>\r\n <b>: {{payType.amount | currency}}</b>\r\n </td>\r\n </tr>\r\n <br *ngIf=\"!last\">\r\n </span>\r\n </ng-container>\r\n </td>\r\n <td style=\"text-align: center;\">\r\n <ion-button [id]=\"'btnEditEmployerPayment-' + rowIndex\" size=\"small\" color=\"success\" fill=\"outline\"\r\n (click)=\"editEmployerPayment(employer);\" class=\"action-button\"\r\n aria-label=\"Edit employer payment\">\r\n <fa-icon [icon]=\"['fal', 'edit']\" class=\"action-icon\"></fa-icon>\r\n </ion-button>\r\n\r\n <ion-button [id]=\"'btnDeleteEmployerPayment-' + rowIndex\" size=\"small\" color=\"success\"\r\n fill=\"outline\" (click)=\"deleteEmployerPayment(rowIndex);\" class=\"action-button\"\r\n aria-label=\"Remove employer payment\">\r\n <fa-icon [icon]=\"['fal', 'trash-alt']\" class=\"action-icon\"></fa-icon>\r\n </ion-button>\r\n </td>\r\n </tr>\r\n </ng-template>\r\n\r\n <ng-template pTemplate=\"summary\" let-columns>\r\n <table *ngIf=\"!selected\">\r\n <tr>\r\n <td [attr.colspan]=\"4\" style=\"width: 90%;\" class=\"ion-padding-top\">\r\n <div><b>+ Add</b> Payment</div>\r\n </td>\r\n <td class=\"ion-padding-top\">\r\n <ion-button id=\"addEmployerPaymentDetails\" aria-label=\"Add Payment Details\"\r\n (click)=\"addEmployerPay()\" fill=\"outline\" size=\"small\" class=\"action-button\">\r\n <fa-icon [icon]=\"['fal', 'plus']\" class=\"action-icon\"></fa-icon>\r\n </ion-button>\r\n </td>\r\n </tr>\r\n </table>\r\n </ng-template>\r\n </p-table>\r\n <app-employer-pay (success)=\"addEmployerPayment($event)\" (onClose)=\"close()\" [empToEdit]=\"selectedEmployer\"\r\n *ngIf=\"selected\">\r\n </app-employer-pay>\r\n\r\n <p-dialog [visible]=\"showDuplicatePopup\" [modal]=\"true\" appendTo=\"body\" position=\"top\"\r\n [breakpoints]=\"{'1200px': '660px', '992px': '660px', '768px': '660px', '576px': '100vw'}\"\r\n [style]=\"{width: '45vw'}\" [baseZIndex]=\"5000\" [draggable]=\"false\" [resizable]=\"false\" appendTo=\"body\"\r\n closeOnEscape=\"false\">\r\n <h4 class=\"heading\">Duplicate employer not allowed</h4>\r\n <ion-label>It seems like you have added a employer that has been added already. Please check details and try\r\n adding employer again.</ion-label>\r\n <ng-template pTemplate=\"footer\">\r\n <ion-button shape=\"round\" size=\"small\" type=\"submit\" fill=\"outline\" (click)=\"close()\">\r\n Close\r\n </ion-button>\r\n <ion-button shape=\"round\" size=\"small\" type=\"submit\" fill=\"solid\" (click)=\"editDuplicateEmployer()\">\r\n Edit\r\n </ion-button>\r\n </ng-template>\r\n </p-dialog>\r\n\r\n</div>" }]
|
|
296
|
+
}], () => [{ type: i1.LoggerService }, { type: i2.ValidationService }], { dynamicParam: [{
|
|
297
|
+
type: Input
|
|
298
|
+
}], modelDisplay: [{
|
|
299
|
+
type: Output
|
|
300
|
+
}] }); })();
|
|
301
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EmployerPayGridComponent, { className: "EmployerPayGridComponent", filePath: "lib\\components\\employer-pay-grid\\employer-pay-grid.component.ts", lineNumber: 21 }); })();
|
|
302
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW1wbG95ZXItcGF5LWdyaWQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vL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zlcl09XCJ0cnVlXCIgc3R5bGVDbGFzcz1cInAtZGF0YXRhYmxlLXN0cmlwZWQgYXBwLWRhdGF0YWJsZSBpb24tcGFkZGluZy10b3BcIiBbdmFsdWVdPVwiZW1wbG95ZXJQYXlcIj5cclxuICAgICAgICA8bmctdGVtcGxhdGUgcFRlbXBsYXRlPVwiaGVhZGVyXCIgbGV0LWNvbHVtbnM+XHJcbiAgICAgICAgICAgIDx0ciBjbGFzcz1cImlvbi1wYWRkaW5nLXRvcCBpb24tcGFkZGluZy1ib3R0b21cIj5cclxuICAgICAgICAgICAgICAgIDx0aCBzdHlsZT1cInBhZGRpbmctbGVmdDogMTVweFwiPlxyXG4gICAgICAgICAgICAgICAgICAgIHt7XCJlbXBsb3llci5wYXkuZ3JpZC5oZWFkZXIuZW1wbG95ZXJcInx0cmFuc2xhdGV9fVxyXG4gICAgICAgICAgICAgICAgPC90aD5cclxuICAgICAgICAgICAgICAgIDx0aD5cclxuICAgICAgICAgICAgICAgICAgICB7e1wiZW1wbG95ZXIucGF5LmdyaWQuaGVhZGVyLnBheVR5cGVcInx0cmFuc2xhdGV9fVxyXG4gICAgICAgICAgICAgICAgPC90aD5cclxuICAgICAgICAgICAgICAgIDx0aD48L3RoPlxyXG4gICAgICAgICAgICA8L3RyPlxyXG4gICAgICAgIDwvbmctdGVtcGxhdGU+XHJcblxyXG4gICAgICAgIDxuZy10ZW1wbGF0ZSBwVGVtcGxhdGU9XCJib2R5XCIgbGV0LWVtcGxveWVyIGxldC1yb3dJbmRleD1cInJvd0luZGV4XCI+XHJcbiAgICAgICAgICAgIDx0ciBjbGFzcz1cImlvbi1wYWRkaW5nLXRvcCBpb24tcGFkZGluZy1ib3R0b21cIj5cclxuICAgICAgICAgICAgICAgIDx0ZCBzdHlsZT1cInBhZGRpbmctbGVmdDogMTVweFwiPjxzcGFuIGNsYXNzPVwicC1jb2x1bW4tdGl0bGVcIj5FbXBsb3llcjwvc3Bhbj48c3Bhbj5cclxuICAgICAgICAgICAgICAgICAgICAgICAge3tlbXBsb3llci5lbXBsb3llck5hbWV9fTwvc3Bhbj5cclxuICAgICAgICAgICAgICAgIDwvdGQ+XHJcbiAgICAgICAgICAgICAgICA8dGQ+XHJcbiAgICAgICAgICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJwLWNvbHVtbi10aXRsZVwiPlBheSBUeXBlPC9zcGFuPlxyXG4gICAgICAgICAgICAgICAgICAgIDxuZy1jb250YWluZXIgKm5nRm9yPVwibGV0IHBheVR5cGUgb2YgZW1wbG95ZXIucGF5VHlwZXM7IGxldCBsYXN0PWxhc3RcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPHNwYW4gKm5nSWYgPSBcInBheVR5cGUuaXNDaGVja2VkXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dHI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRkIHN0eWxlPVwid2lkdGg6IDI3NXB4OyB3aGl0ZS1zcGFjZTogd3JhcDtcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge3twYXlUeXBlLnBheVR5cGUudGV4dH19XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90ZD5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dGQ+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxiPjoge3twYXlUeXBlLmFtb3VudCB8IGN1cnJlbmN5fX08L2I+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90ZD5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvdHI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8YnIgKm5nSWY9XCIhbGFzdFwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8L3NwYW4+XHJcbiAgICAgICAgICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XHJcbiAgICAgICAgICAgICAgICA8L3RkPlxyXG4gICAgICAgICAgICAgICAgPHRkIHN0eWxlPVwidGV4dC1hbGlnbjogY2VudGVyO1wiPlxyXG4gICAgICAgICAgICAgICAgICAgIDxpb24tYnV0dG9uIFtpZF09XCInYnRuRWRpdEVtcGxveWVyUGF5bWVudC0nICsgcm93SW5kZXhcIiBzaXplPVwic21hbGxcIiBjb2xvcj1cInN1Y2Nlc3NcIiBmaWxsPVwib3V0bGluZVwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIChjbGljayk9XCJlZGl0RW1wbG95ZXJQYXltZW50KGVtcGxveWVyKTtcIiBjbGFzcz1cImFjdGlvbi1idXR0b25cIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICBhcmlhLWxhYmVsPVwiRWRpdCBlbXBsb3llciBwYXltZW50XCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDxmYS1pY29uIFtpY29uXT1cIlsnZmFsJywgJ2VkaXQnXVwiIGNsYXNzPVwiYWN0aW9uLWljb25cIj48L2ZhLWljb24+XHJcbiAgICAgICAgICAgICAgICAgICAgPC9pb24tYnV0dG9uPlxyXG5cclxuICAgICAgICAgICAgICAgICAgICA8aW9uLWJ1dHRvbiBbaWRdPVwiJ2J0bkRlbGV0ZUVtcGxveWVyUGF5bWVudC0nICsgcm93SW5kZXhcIiBzaXplPVwic21hbGxcIiBjb2xvcj1cInN1Y2Nlc3NcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICBmaWxsPVwib3V0bGluZVwiIChjbGljayk9XCJkZWxldGVFbXBsb3llclBheW1lbnQocm93SW5kZXgpO1wiIGNsYXNzPVwiYWN0aW9uLWJ1dHRvblwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGFyaWEtbGFiZWw9XCJSZW1vdmUgZW1wbG95ZXIgcGF5bWVudFwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8ZmEtaWNvbiBbaWNvbl09XCJbJ2ZhbCcsICd0cmFzaC1hbHQnXVwiIGNsYXNzPVwiYWN0aW9uLWljb25cIj48L2ZhLWljb24+XHJcbiAgICAgICAgICAgICAgICAgICAgPC9pb24tYnV0dG9uPlxyXG4gICAgICAgICAgICAgICAgPC90ZD5cclxuICAgICAgICAgICAgPC90cj5cclxuICAgICAgICA8L25nLXRlbXBsYXRlPlxyXG5cclxuICAgICAgICA8bmctdGVtcGxhdGUgcFRlbXBsYXRlPVwic3VtbWFyeVwiIGxldC1jb2x1bW5zPlxyXG4gICAgICAgICAgICA8dGFibGUgKm5nSWY9XCIhc2VsZWN0ZWRcIj5cclxuICAgICAgICAgICAgICAgIDx0cj5cclxuICAgICAgICAgICAgICAgICAgICA8dGQgW2F0dHIuY29sc3Bhbl09XCI0XCIgc3R5bGU9XCJ3aWR0aDogOTAlO1wiIGNsYXNzPVwiaW9uLXBhZGRpbmctdG9wXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDxkaXY+PGI+KyBBZGQ8L2I+IFBheW1lbnQ8L2Rpdj5cclxuICAgICAgICAgICAgICAgICAgICA8L3RkPlxyXG4gICAgICAgICAgICAgICAgICAgIDx0ZCBjbGFzcz1cImlvbi1wYWRkaW5nLXRvcFwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8aW9uLWJ1dHRvbiBpZD1cImFkZEVtcGxveWVyUGF5bWVudERldGFpbHNcIiBhcmlhLWxhYmVsPVwiQWRkIFBheW1lbnQgRGV0YWlsc1wiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwiYWRkRW1wbG95ZXJQYXkoKVwiIGZpbGw9XCJvdXRsaW5lXCIgc2l6ZT1cInNtYWxsXCIgY2xhc3M9XCJhY3Rpb24tYnV0dG9uXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZmEtaWNvbiBbaWNvbl09XCJbJ2ZhbCcsICdwbHVzJ11cIiBjbGFzcz1cImFjdGlvbi1pY29uXCI+PC9mYS1pY29uPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8L2lvb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YXMgYmVlbiBhZGRlZCBhbHJlYWR5LiBQbGVhc2UgY2hlY2sgZGV0YWlscyBhbmQgdHJ5XHJcbiAgICAgICAgICAgIGFkZGluZyBlbXBsb3llciBhZ2Fpbi48L2lvbi1sYWJlbD5cclxuICAgICAgICA8bmctdGVtcGxhdGUgcFRlbXBsYXRlPVwiZm9vdGVyXCI+XHJcbiAgICAgICAgICAgIDxpb24tYnV0dG9uIHNoYXBlPVwicm91bmRcIiBzaXplPVwic21hbGxcIiB0eXBlPVwic3VibWl0XCIgZmlsbD1cIm91dGxpbmVcIiAoY2xpY2spPVwiY2xvc2UoKVwiPlxyXG4gICAgICAgICAgICAgICAgQ2xvc2VcclxuICAgICAgICAgICAgPC9pb24tYnV0dG9uPlxyXG4gICAgICAgICAgICA8aW9uLWJ1dHRvbiBzaGFwZT1cInJvdW5kXCIgc2l6ZT1cInNtYWxsXCIgdHlwZT1cInN1Ym1pdFwiIGZpbGw9XCJzb2xpZFwiIChjbGljayk9XCJlZGl0RHVwbGljYXRlRW1wbG95ZXIoKVwiPlxyXG4gICAgICAgICAgICAgICAgRWRpdFxyXG4gICAgICAgICAgICA8L2lvbi1idXR0b24+XHJcbiAgICAgICAgPC9uZy10ZW1wbGF0ZT5cclxuICAgIDwvcC1kaWFsb2c+XHJcblxyXG48L2Rpdj4iXX0=
|
|
@@ -33,8 +33,14 @@ export class ErrorComponent {
|
|
|
33
33
|
isError() {
|
|
34
34
|
this.buildErrors();
|
|
35
35
|
const isSubmitted = this.ngForm && this.ngForm.submitted;
|
|
36
|
-
|
|
37
|
-
if (
|
|
36
|
+
let hasError = false;
|
|
37
|
+
if (this.formControl) {
|
|
38
|
+
hasError = !!(this.formControl && this.formControl.invalid && (this.formControl.dirty || this.formControl.touched || isSubmitted));
|
|
39
|
+
}
|
|
40
|
+
else if (this.formArray) {
|
|
41
|
+
hasError = this.formArray && !!(this.formArray && this.formArray.invalid && (this.formArray.dirty || this.formArray.touched || isSubmitted));
|
|
42
|
+
}
|
|
43
|
+
if (hasError && this.formControl) {
|
|
38
44
|
this.formControl.markAsTouched({ onlySelf: true });
|
|
39
45
|
this.formControl.markAsDirty({ onlySelf: true });
|
|
40
46
|
}
|
|
@@ -45,12 +51,20 @@ export class ErrorComponent {
|
|
|
45
51
|
this.errorMessage = '';
|
|
46
52
|
if (this.errDef && (this.formControl?.errors)) {
|
|
47
53
|
Object.keys(this.errDef).some(key => {
|
|
48
|
-
if (this.formControl
|
|
54
|
+
if (this.formControl?.errors && this.formControl?.errors[key]) {
|
|
49
55
|
this.errorMessages.push(this.errDef[key]);
|
|
50
56
|
}
|
|
51
57
|
return false;
|
|
52
58
|
});
|
|
53
59
|
}
|
|
60
|
+
if (this.errDef && (this.formArray?.errors)) {
|
|
61
|
+
Object.keys(this.errDef).some(key => {
|
|
62
|
+
if (this.formArray?.errors && this.formArray?.errors[key]) {
|
|
63
|
+
this.errorMessages.push(this.errDef[key]);
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
return false;
|
|
67
|
+
}
|
|
54
68
|
for (const m of this.errorMessages) {
|
|
55
69
|
if (this.errorMessage.length > 0) {
|
|
56
70
|
this.errorMessage = this.errorMessage + '. ';
|
|
@@ -60,7 +74,7 @@ export class ErrorComponent {
|
|
|
60
74
|
return this.errorMessages.length > 0 && this.formControl.dirty;
|
|
61
75
|
}
|
|
62
76
|
static { this.ɵfac = function ErrorComponent_Factory(t) { return new (t || ErrorComponent)(); }; }
|
|
63
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ErrorComponent, selectors: [["app-error"]], inputs: { formControl: ["field", "formControl"], ngForm: ["form", "ngForm"], errDef: "errDef", class: "class" }, decls: 1, vars: 1, consts: [[3, "ngClass", 4, "ngIf"], [3, "ngClass"], [4, "ngFor", "ngForOf"]], template: function ErrorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
77
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ErrorComponent, selectors: [["app-error"]], inputs: { formControl: ["field", "formControl"], formArray: "formArray", ngForm: ["form", "ngForm"], errDef: "errDef", class: "class" }, decls: 1, vars: 1, consts: [[3, "ngClass", 4, "ngIf"], [3, "ngClass"], [4, "ngFor", "ngForOf"]], template: function ErrorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
64
78
|
i0.ɵɵtemplate(0, ErrorComponent_div_0_Template, 2, 3, "div", 0);
|
|
65
79
|
} if (rf & 2) {
|
|
66
80
|
i0.ɵɵproperty("ngIf", ctx.isError());
|
|
@@ -72,6 +86,9 @@ export class ErrorComponent {
|
|
|
72
86
|
}], () => [], { formControl: [{
|
|
73
87
|
type: Input,
|
|
74
88
|
args: ["field"]
|
|
89
|
+
}], formArray: [{
|
|
90
|
+
type: Input,
|
|
91
|
+
args: ["formArray"]
|
|
75
92
|
}], ngForm: [{
|
|
76
93
|
type: Input,
|
|
77
94
|
args: ["form"]
|
|
@@ -83,4 +100,4 @@ export class ErrorComponent {
|
|
|
83
100
|
args: ["class"]
|
|
84
101
|
}] }); })();
|
|
85
102
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ErrorComponent, { className: "ErrorComponent", filePath: "lib\\components\\error\\error.component.ts", lineNumber: 11 }); })();
|
|
86
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
103
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3IuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXJldXNhLWFwcC1saWIvc3JjL2xpYi9jb21wb25lbnRzL2Vycm9yL2Vycm9yLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1yZXVzYS1hcHAtbGliL3NyYy9saWIvY29tcG9uZW50cy9lcnJvci9lcnJvci5jb21wb25lbnQuaHRtbC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