@sheerid/jslib 2.317.0 → 2.318.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_mysheerid-preview.css +4 -4
- package/_mysheerid-preview.js +36 -36
- package/chunk/AddressComponent-BxavEqNN.js +4 -4
- package/chunk/AddressComponent-D2mEkfix.js +4 -4
- package/chunk/AnnouncingHeader-C3W0VQzV.js +4 -4
- package/chunk/AnnouncingHeader-OtaykXZw.js +4 -4
- package/chunk/{ApiUrls-DjPCY66L.js → ApiUrls-Bjl68fZM.js} +5 -5
- package/chunk/{ApiUrls-DjPCY66L.js.map → ApiUrls-Bjl68fZM.js.map} +1 -1
- package/chunk/{ApiUrls-BW8MkgqK.js → ApiUrls-DTAt_8rs.js} +5 -5
- package/chunk/{ApiUrls-BW8MkgqK.js.map → ApiUrls-DTAt_8rs.js.map} +1 -1
- package/chunk/{BirthDateComponent-bxdYsOrJ.js → BirthDateComponent-DCF1BrYZ.js} +5 -5
- package/chunk/{BirthDateComponent-bxdYsOrJ.js.map → BirthDateComponent-DCF1BrYZ.js.map} +1 -1
- package/chunk/{BirthDateComponent-kIkfY0Fo.js → BirthDateComponent-DN47-PWx.js} +5 -5
- package/chunk/{BirthDateComponent-kIkfY0Fo.js.map → BirthDateComponent-DN47-PWx.js.map} +1 -1
- package/chunk/{CaptchaComponent-BcQgxG0o.js → CaptchaComponent-CGzj7Yl4.js} +5 -5
- package/chunk/{CaptchaComponent-BcQgxG0o.js.map → CaptchaComponent-CGzj7Yl4.js.map} +1 -1
- package/chunk/{CaptchaComponent-CxRzUQTM.js → CaptchaComponent-Dqo1kgeK.js} +5 -5
- package/chunk/{CaptchaComponent-CxRzUQTM.js.map → CaptchaComponent-Dqo1kgeK.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-fYWBTVHc.js → ChangeLocaleComponent-WuEDLKSJ.js} +5 -5
- package/chunk/{ChangeLocaleComponent-fYWBTVHc.js.map → ChangeLocaleComponent-WuEDLKSJ.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-ry8sqUF9.js → ChangeLocaleComponent-gNfmpOea.js} +5 -5
- package/chunk/{ChangeLocaleComponent-ry8sqUF9.js.map → ChangeLocaleComponent-gNfmpOea.js.map} +1 -1
- package/chunk/City-CR2xigNn.js +4 -4
- package/chunk/City-DoccJLpM.js +4 -4
- package/chunk/{CollegeNameComponent-pSsPQBKE.js → CollegeNameComponent-BNzet1VC.js} +6 -6
- package/chunk/{CollegeNameComponent-pSsPQBKE.js.map → CollegeNameComponent-BNzet1VC.js.map} +1 -1
- package/chunk/{CollegeNameComponent-RmDbu_if.js → CollegeNameComponent-tRfamoZl.js} +6 -6
- package/chunk/{CollegeNameComponent-RmDbu_if.js.map → CollegeNameComponent-tRfamoZl.js.map} +1 -1
- package/chunk/CopyToClipboardComponent-DdLZvzfB.js +4 -4
- package/chunk/CopyToClipboardComponent-De_3_3VT.js +4 -4
- package/chunk/{CountryComponentWrapper-DC2xpwfp.js → CountryComponentWrapper-B6ekcGSw.js} +5 -5
- package/chunk/{CountryComponentWrapper-DC2xpwfp.js.map → CountryComponentWrapper-B6ekcGSw.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-CA5QjkzI.js → CountryComponentWrapper-jCA_Bqtc.js} +5 -5
- package/chunk/{CountryComponentWrapper-CA5QjkzI.js.map → CountryComponentWrapper-jCA_Bqtc.js.map} +1 -1
- package/chunk/{DischargeDateComponent-DRJdJ-cl.js → DischargeDateComponent-Bg7e8XhP.js} +7 -7
- package/chunk/{DischargeDateComponent-DRJdJ-cl.js.map → DischargeDateComponent-Bg7e8XhP.js.map} +1 -1
- package/chunk/{DischargeDateComponent-pWkyMum3.js → DischargeDateComponent-DmvM_4ww.js} +7 -7
- package/chunk/{DischargeDateComponent-pWkyMum3.js.map → DischargeDateComponent-DmvM_4ww.js.map} +1 -1
- package/chunk/DriverLicenseNumberComponent-CdRJgKXz.js +4 -4
- package/chunk/DriverLicenseNumberComponent-iE4uZhjY.js +4 -4
- package/chunk/{EmailLoopPending-jjuq_4Uo.js → EmailLoopPending-VmsBoCXx.js} +5 -5
- package/chunk/{EmailLoopPending-jjuq_4Uo.js.map → EmailLoopPending-VmsBoCXx.js.map} +1 -1
- package/chunk/{EmailLoopPending-BLMa8Lz3.js → EmailLoopPending-YoCgPmyk.js} +5 -5
- package/chunk/{EmailLoopPending-BLMa8Lz3.js.map → EmailLoopPending-YoCgPmyk.js.map} +1 -1
- package/chunk/ExtraMessage-CR5rN46Q.js +4 -4
- package/chunk/ExtraMessage-Dy5YujvI.js +4 -4
- package/chunk/{FirstResponderOrganizationComponent-CkVB_46d.js → FirstResponderOrganizationComponent-BS5Gpn9t.js} +6 -6
- package/chunk/{FirstResponderOrganizationComponent-CkVB_46d.js.map → FirstResponderOrganizationComponent-BS5Gpn9t.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-DdaFCoI4.js → FirstResponderOrganizationComponent-SBuPeSkl.js} +6 -6
- package/chunk/{FirstResponderOrganizationComponent-DdaFCoI4.js.map → FirstResponderOrganizationComponent-SBuPeSkl.js.map} +1 -1
- package/chunk/FormFieldInputSelect-DCe1fl-X.js +4 -4
- package/chunk/FormFieldInputSelect-wzL--dyG.js +4 -4
- package/chunk/FormFieldLayout-Cx2ljZnE.js +4 -4
- package/chunk/FormFieldLayout-eZlxsUFO.js +4 -4
- package/chunk/FormFieldText-BqN10-Wh.js +4 -4
- package/chunk/FormFieldText-CSfUMOnT.js +4 -4
- package/chunk/{FormFieldTypeahead-ldbp18yE.js → FormFieldTypeahead-BAJbuBg6.js} +6 -6
- package/chunk/{FormFieldTypeahead-ldbp18yE.js.map → FormFieldTypeahead-BAJbuBg6.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-CVBnJBm4.js → FormFieldTypeahead-CfqEB4jD.js} +6 -6
- package/chunk/{FormFieldTypeahead-CVBnJBm4.js.map → FormFieldTypeahead-CfqEB4jD.js.map} +1 -1
- package/chunk/{FormFooterComponent-DTMJcOBW.js → FormFooterComponent-Ci3-eCIX.js} +7 -7
- package/chunk/{FormFooterComponent-DTMJcOBW.js.map → FormFooterComponent-Ci3-eCIX.js.map} +1 -1
- package/chunk/{FormFooterComponent-DIRoNXm5.js → FormFooterComponent-Du_HeEF3.js} +7 -7
- package/chunk/{FormFooterComponent-DIRoNXm5.js.map → FormFooterComponent-Du_HeEF3.js.map} +1 -1
- package/chunk/FormSelectChoice-BtoOF4T1.js +4 -4
- package/chunk/FormSelectChoice-OvLHNUCT.js +4 -4
- package/chunk/InputText-CofmfudI.js +4 -4
- package/chunk/InputText-Dcl3FSxA.js +4 -4
- package/chunk/{LicensedProfessionalOrganizationComponent-rrBsVHE5.js → LicensedProfessionalOrganizationComponent-DE1cinB8.js} +6 -6
- package/chunk/{LicensedProfessionalOrganizationComponent-rrBsVHE5.js.map → LicensedProfessionalOrganizationComponent-DE1cinB8.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-B5ocf0y_.js → LicensedProfessionalOrganizationComponent-lQzp_eZd.js} +6 -6
- package/chunk/{LicensedProfessionalOrganizationComponent-B5ocf0y_.js.map → LicensedProfessionalOrganizationComponent-lQzp_eZd.js.map} +1 -1
- package/chunk/LogoComponent-1FE2nzPz.js +4 -4
- package/chunk/LogoComponent-Dwrer09q.js +4 -4
- package/chunk/{LowIncomeOrganizationComponent-R4Pb3Dzo.js → LowIncomeOrganizationComponent-B2tEj__S.js} +7 -7
- package/chunk/{LowIncomeOrganizationComponent-R4Pb3Dzo.js.map → LowIncomeOrganizationComponent-B2tEj__S.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-CjDP857_.js → LowIncomeOrganizationComponent-Be_nVEU9.js} +7 -7
- package/chunk/{LowIncomeOrganizationComponent-CjDP857_.js.map → LowIncomeOrganizationComponent-Be_nVEU9.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-DtU45g6N.js → MedicalProfessionalOrganizationComponent-Br9D3MFc.js} +6 -6
- package/chunk/{MedicalProfessionalOrganizationComponent-DtU45g6N.js.map → MedicalProfessionalOrganizationComponent-Br9D3MFc.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-BZ7zk4-L.js → MedicalProfessionalOrganizationComponent-Z4Km0SN4.js} +6 -6
- package/chunk/{MedicalProfessionalOrganizationComponent-BZ7zk4-L.js.map → MedicalProfessionalOrganizationComponent-Z4Km0SN4.js.map} +1 -1
- package/chunk/MemberIdComponent-Bwd8_Zby.js +4 -4
- package/chunk/MemberIdComponent-Op5eJ6S1.js +4 -4
- package/chunk/{MembershipOrganizationComponent-DjnLvZUD.js → MembershipOrganizationComponent-CBRY__Hh.js} +6 -6
- package/chunk/{MembershipOrganizationComponent-DjnLvZUD.js.map → MembershipOrganizationComponent-CBRY__Hh.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-B-1ae88w.js → MembershipOrganizationComponent-CoVqns5U.js} +6 -6
- package/chunk/{MembershipOrganizationComponent-B-1ae88w.js.map → MembershipOrganizationComponent-CoVqns5U.js.map} +1 -1
- package/chunk/Message-B40rYRnQ.js +4 -4
- package/chunk/Message-DeYfEIfJ.js +4 -4
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/PersonalInfoStepSubmitButton-CT7lguuZ.js +4 -4
- package/chunk/PersonalInfoStepSubmitButton-jF2Q-TQ1.js +4 -4
- package/chunk/{PersonalInfoStepWrapper-83-yLjnF.js → PersonalInfoStepWrapper-DMq0FLJW.js} +5 -5
- package/chunk/{PersonalInfoStepWrapper-83-yLjnF.js.map → PersonalInfoStepWrapper-DMq0FLJW.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-B6KYjnG-.js → PersonalInfoStepWrapper-ofVvlXHi.js} +6 -6
- package/chunk/{PersonalInfoStepWrapper-B6KYjnG-.js.map → PersonalInfoStepWrapper-ofVvlXHi.js.map} +1 -1
- package/chunk/PostalCodeComponent-CM7B9nbQ.js +4 -4
- package/chunk/PostalCodeComponent-DOaiP-XH.js +4 -4
- package/chunk/SSN-CLdLfiNj.js +4 -4
- package/chunk/SSN-CxrFw1Bw.js +4 -4
- package/chunk/StateSelectComponent-Bs0zMXwM.js +4 -4
- package/chunk/StateSelectComponent-CDUxaxhl.js +4 -4
- package/chunk/StatusComponent-B9xHqfyT.js +4 -4
- package/chunk/StatusComponent-wmBrTgh8.js +4 -4
- package/chunk/{StepAgePersonalInfo-BGxLAl7s.js → StepAgePersonalInfo-QkrbLc3r.js} +11 -11
- package/chunk/{StepAgePersonalInfo-BGxLAl7s.js.map → StepAgePersonalInfo-QkrbLc3r.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-B8PrGThF.js → StepAgePersonalInfo-ekSBIwNV.js} +11 -11
- package/chunk/{StepAgePersonalInfo-B8PrGThF.js.map → StepAgePersonalInfo-ekSBIwNV.js.map} +1 -1
- package/chunk/StepCard-C1asZqmo.js +4 -4
- package/chunk/StepCard-CSGX5DWE.js +4 -4
- package/chunk/{StepCollectIdentifier-CwcEqKDP.js → StepCollectIdentifier-D-R_6RRa.js} +5 -5
- package/chunk/{StepCollectIdentifier-CwcEqKDP.js.map → StepCollectIdentifier-D-R_6RRa.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-C0kP46YS.js → StepCollectIdentifier-TeZscz9m.js} +5 -5
- package/chunk/{StepCollectIdentifier-C0kP46YS.js.map → StepCollectIdentifier-TeZscz9m.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-DowmOzeP.js → StepCollectMilitaryPersonalInfoComponent-BhmXgdZf.js} +13 -13
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-DowmOzeP.js.map → StepCollectMilitaryPersonalInfoComponent-BhmXgdZf.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-D3ww_3aJ.js → StepCollectMilitaryPersonalInfoComponent-DHrbqfLL.js} +13 -13
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-D3ww_3aJ.js.map → StepCollectMilitaryPersonalInfoComponent-DHrbqfLL.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-BMljSHTw.js → StepCollectPersonalInfo-DCeljiww.js} +19 -19
- package/chunk/{StepCollectPersonalInfo-BMljSHTw.js.map → StepCollectPersonalInfo-DCeljiww.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-svrF-haJ.js → StepCollectPersonalInfo-Dk9Z7fPC.js} +19 -19
- package/chunk/{StepCollectPersonalInfo-svrF-haJ.js.map → StepCollectPersonalInfo-Dk9Z7fPC.js.map} +1 -1
- package/chunk/StepCompleteAuthentication-Bjs9HhHK.js +4 -4
- package/chunk/StepCompleteAuthentication-CK8SYf3r.js +4 -4
- package/chunk/{StepConsolation-CI7sVIqL.js → StepConsolation-BLTu2ZS0.js} +5 -5
- package/chunk/{StepConsolation-CI7sVIqL.js.map → StepConsolation-BLTu2ZS0.js.map} +1 -1
- package/chunk/{StepConsolation-BRcJHP3o.js → StepConsolation-BfxNT2DD.js} +5 -5
- package/chunk/{StepConsolation-BRcJHP3o.js.map → StepConsolation-BfxNT2DD.js.map} +1 -1
- package/chunk/{StepDocUpload-83N8pygz.js → StepDocUpload-Bd0kAmnq.js} +5 -5
- package/chunk/{StepDocUpload-83N8pygz.js.map → StepDocUpload-Bd0kAmnq.js.map} +1 -1
- package/chunk/{StepDocUpload-BMWwE_AC.js → StepDocUpload-CbMPDIPi.js} +5 -5
- package/chunk/{StepDocUpload-BMWwE_AC.js.map → StepDocUpload-CbMPDIPi.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-Bxtbt_va.js → StepDriverLicensePersonalInfoComponent-CBxl72AR.js} +8 -8
- package/chunk/{StepDriverLicensePersonalInfoComponent-Bxtbt_va.js.map → StepDriverLicensePersonalInfoComponent-CBxl72AR.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-XMehNxRD.js → StepDriverLicensePersonalInfoComponent-Cc8-xi1R.js} +8 -8
- package/chunk/{StepDriverLicensePersonalInfoComponent-XMehNxRD.js.map → StepDriverLicensePersonalInfoComponent-Cc8-xi1R.js.map} +1 -1
- package/chunk/{StepEmailLoop-BWsv5YAe.js → StepEmailLoop-Cyhmox8M.js} +6 -6
- package/chunk/{StepEmailLoop-BWsv5YAe.js.map → StepEmailLoop-Cyhmox8M.js.map} +1 -1
- package/chunk/{StepEmailLoop-Dkvzpmnv.js → StepEmailLoop-ZU1AYxgJ.js} +6 -6
- package/chunk/{StepEmailLoop-Dkvzpmnv.js.map → StepEmailLoop-ZU1AYxgJ.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-DcrTaYs9.js → StepEmploymentPersonalInfo-BsLzYGqG.js} +10 -10
- package/chunk/{StepEmploymentPersonalInfo-DcrTaYs9.js.map → StepEmploymentPersonalInfo-BsLzYGqG.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-9DtJG0OG.js → StepEmploymentPersonalInfo-fR3EaG9d.js} +10 -10
- package/chunk/{StepEmploymentPersonalInfo-9DtJG0OG.js.map → StepEmploymentPersonalInfo-fR3EaG9d.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-DJQLw5Gz.js → StepFirstResponderPersonalInfo-1YaCvPlF.js} +13 -13
- package/chunk/{StepFirstResponderPersonalInfo-DJQLw5Gz.js.map → StepFirstResponderPersonalInfo-1YaCvPlF.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-QdGZolBt.js → StepFirstResponderPersonalInfo-io6wBdNi.js} +13 -13
- package/chunk/{StepFirstResponderPersonalInfo-QdGZolBt.js.map → StepFirstResponderPersonalInfo-io6wBdNi.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Dh6BJB1t.js → StepGeneralIdentityPersonalInfoComponent-BM5vyCto.js} +9 -9
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Dh6BJB1t.js.map → StepGeneralIdentityPersonalInfoComponent-BM5vyCto.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-ZjDeJobc.js → StepGeneralIdentityPersonalInfoComponent-Bew9tS4b.js} +9 -9
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-ZjDeJobc.js.map → StepGeneralIdentityPersonalInfoComponent-Bew9tS4b.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-Bvh8lwUm.js → StepHybridIdentityPersonalInfoComponent-CkaUnpPE.js} +9 -9
- package/chunk/{StepHybridIdentityPersonalInfoComponent-Bvh8lwUm.js.map → StepHybridIdentityPersonalInfoComponent-CkaUnpPE.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-Cvt2WqE-.js → StepHybridIdentityPersonalInfoComponent-De_4SfjE.js} +9 -9
- package/chunk/{StepHybridIdentityPersonalInfoComponent-Cvt2WqE-.js.map → StepHybridIdentityPersonalInfoComponent-De_4SfjE.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-D8ZfXDBq.js → StepIDCheckLoop-DmOAgdyO.js} +5 -5
- package/chunk/{StepIDCheckLoop-D8ZfXDBq.js.map → StepIDCheckLoop-DmOAgdyO.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-CnDiyP5v.js → StepIDCheckLoop-_AGxi3GC.js} +5 -5
- package/chunk/{StepIDCheckLoop-CnDiyP5v.js.map → StepIDCheckLoop-_AGxi3GC.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-Cz_KDqce.js → StepIDCheckLoopOnfido-BpAfhFb8.js} +6 -6
- package/chunk/{StepIDCheckLoopOnfido-Cz_KDqce.js.map → StepIDCheckLoopOnfido-BpAfhFb8.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-BQTO-ZjX.js → StepIDCheckLoopOnfido-D-XL8iox.js} +6 -6
- package/chunk/{StepIDCheckLoopOnfido-BQTO-ZjX.js.map → StepIDCheckLoopOnfido-D-XL8iox.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-CqtTkiTH.js → StepIDCheckLoopRegula-CbsEGFbq.js} +5 -5
- package/chunk/{StepIDCheckLoopRegula-CqtTkiTH.js.map → StepIDCheckLoopRegula-CbsEGFbq.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-DOjIf5b1.js → StepIDCheckLoopRegula-lKBvVvCe.js} +5 -5
- package/chunk/{StepIDCheckLoopRegula-DOjIf5b1.js.map → StepIDCheckLoopRegula-lKBvVvCe.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-DfC84v9R.js → StepLicensedProfessionalPersonalInfo-BrWZJzLg.js} +13 -13
- package/chunk/{StepLicensedProfessionalPersonalInfo-DfC84v9R.js.map → StepLicensedProfessionalPersonalInfo-BrWZJzLg.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-BqOrgGC-.js → StepLicensedProfessionalPersonalInfo-yU748Wst.js} +13 -13
- package/chunk/{StepLicensedProfessionalPersonalInfo-BqOrgGC-.js.map → StepLicensedProfessionalPersonalInfo-yU748Wst.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-BnY61mtT.js → StepLowIncomePersonalInfo-CGKliGEL.js} +13 -13
- package/chunk/{StepLowIncomePersonalInfo-BnY61mtT.js.map → StepLowIncomePersonalInfo-CGKliGEL.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-aXEdCTis.js → StepLowIncomePersonalInfo-Dk4s2T13.js} +13 -13
- package/chunk/{StepLowIncomePersonalInfo-aXEdCTis.js.map → StepLowIncomePersonalInfo-Dk4s2T13.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-D-vCCbDa.js → StepMedicalProfessionalPersonalInfo-BPsyQNMI.js} +13 -13
- package/chunk/{StepMedicalProfessionalPersonalInfo-D-vCCbDa.js.map → StepMedicalProfessionalPersonalInfo-BPsyQNMI.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-BObFYNXH.js → StepMedicalProfessionalPersonalInfo-CZTvW0kE.js} +13 -13
- package/chunk/{StepMedicalProfessionalPersonalInfo-BObFYNXH.js.map → StepMedicalProfessionalPersonalInfo-CZTvW0kE.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-H6gzvuNW.js → StepMemberPersonalInfo-BIsRx_uF.js} +11 -11
- package/chunk/{StepMemberPersonalInfo-H6gzvuNW.js.map → StepMemberPersonalInfo-BIsRx_uF.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-Df2h7qx9.js → StepMemberPersonalInfo-DQG_HkVB.js} +11 -11
- package/chunk/{StepMemberPersonalInfo-Df2h7qx9.js.map → StepMemberPersonalInfo-DQG_HkVB.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-D4B7swpv.js → StepMoverPersonalInfo-CbH12Ryb.js} +8 -8
- package/chunk/{StepMoverPersonalInfo-D4B7swpv.js.map → StepMoverPersonalInfo-CbH12Ryb.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-Ctw7ccFv.js → StepMoverPersonalInfo-U4x0wEjX.js} +8 -8
- package/chunk/{StepMoverPersonalInfo-Ctw7ccFv.js.map → StepMoverPersonalInfo-U4x0wEjX.js.map} +1 -1
- package/chunk/{StepOverrideComponent-iDjPqAR2.js → StepOverrideComponent-BO5fvDYL.js} +5 -5
- package/chunk/{StepOverrideComponent-iDjPqAR2.js.map → StepOverrideComponent-BO5fvDYL.js.map} +1 -1
- package/chunk/{StepOverrideComponent-Bck1K04G.js → StepOverrideComponent-Cm8wpyht.js} +5 -5
- package/chunk/{StepOverrideComponent-Bck1K04G.js.map → StepOverrideComponent-Cm8wpyht.js.map} +1 -1
- package/chunk/{StepSMSLoop-CGtTYLbc.js → StepSMSLoop-EbBlrcb0.js} +5 -5
- package/chunk/{StepSMSLoop-CGtTYLbc.js.map → StepSMSLoop-EbBlrcb0.js.map} +1 -1
- package/chunk/{StepSMSLoop-c7kP2jy5.js → StepSMSLoop-uEIU5gnI.js} +5 -5
- package/chunk/{StepSMSLoop-c7kP2jy5.js.map → StepSMSLoop-uEIU5gnI.js.map} +1 -1
- package/chunk/StepSSO-Bx1gQq5b.js +4 -4
- package/chunk/StepSSO-Cy9ViRyN.js +4 -4
- package/chunk/{StepSocialSecurityNumber-BHv0Bt2k.js → StepSocialSecurityNumber-BhLxpxzZ.js} +6 -6
- package/chunk/{StepSocialSecurityNumber-BHv0Bt2k.js.map → StepSocialSecurityNumber-BhLxpxzZ.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-BSAtj_K2.js → StepSocialSecurityNumber-C5enUjmE.js} +6 -6
- package/chunk/{StepSocialSecurityNumber-BSAtj_K2.js.map → StepSocialSecurityNumber-C5enUjmE.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-Bag5Kgd_.js → StepStudentPersonalInfo-BEYtlF0D.js} +12 -12
- package/chunk/{StepStudentPersonalInfo-Bag5Kgd_.js.map → StepStudentPersonalInfo-BEYtlF0D.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-BntVlKi2.js → StepStudentPersonalInfo-D5SeQJwZ.js} +12 -12
- package/chunk/{StepStudentPersonalInfo-BntVlKi2.js.map → StepStudentPersonalInfo-D5SeQJwZ.js.map} +1 -1
- package/chunk/{StepSuccess-ecXvbpeb.js → StepSuccess-CN4QAYku.js} +5 -5
- package/chunk/{StepSuccess-ecXvbpeb.js.map → StepSuccess-CN4QAYku.js.map} +1 -1
- package/chunk/{StepSuccess-DR2pvLHS.js → StepSuccess-DXEe2YZh.js} +5 -5
- package/chunk/{StepSuccess-DR2pvLHS.js.map → StepSuccess-DXEe2YZh.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-FlD-0o5A.js → StepTeacherPersonalInfo-C3qXVaMk.js} +12 -12
- package/chunk/{StepTeacherPersonalInfo-FlD-0o5A.js.map → StepTeacherPersonalInfo-C3qXVaMk.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-D0lKFaXs.js → StepTeacherPersonalInfo-DXulhHh2.js} +12 -12
- package/chunk/{StepTeacherPersonalInfo-D0lKFaXs.js.map → StepTeacherPersonalInfo-DXulhHh2.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BFizJiyZ.js +4 -4
- package/chunk/StepThirdPartyLoop-C9d7QWS3.js +4 -4
- package/chunk/{TeacherSchoolComponent-l50LtXsx.js → TeacherSchoolComponent-5408MiYe.js} +6 -6
- package/chunk/{TeacherSchoolComponent-l50LtXsx.js.map → TeacherSchoolComponent-5408MiYe.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-B0s64Bhp.js → TeacherSchoolComponent-BlSi0gfn.js} +6 -6
- package/chunk/{TeacherSchoolComponent-B0s64Bhp.js.map → TeacherSchoolComponent-BlSi0gfn.js.map} +1 -1
- package/chunk/TestingRouteOverrides-Dq_tcy8v.js +4 -4
- package/chunk/TestingRouteOverrides-FmMiDhr9.js +4 -4
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/{VerificationApiClient-Cui8NrWG.js → VerificationApiClient-C0lV_8hF.js} +5 -5
- package/chunk/{VerificationApiClient-Cui8NrWG.js.map → VerificationApiClient-C0lV_8hF.js.map} +1 -1
- package/chunk/{VerificationApiClient-CHi0UX_i.js → VerificationApiClient-hFBx5Mib.js} +5 -5
- package/chunk/{VerificationApiClient-CHi0UX_i.js.map → VerificationApiClient-hFBx5Mib.js.map} +1 -1
- package/chunk/ar-D5CO913q.js +4 -4
- package/chunk/bg-1mhA5kYF.js +4 -4
- package/chunk/bn-IN-CpDqyRb_.js +4 -4
- package/chunk/clsx-DC8twM4t.js +4 -4
- package/chunk/countryUtils-B1IlO46W.js +12 -0
- package/chunk/{countryUtils-B-On7swF.js.map → countryUtils-B1IlO46W.js.map} +1 -1
- package/chunk/{countryUtils-BkkPBUCD.js → countryUtils-Ce-JCROO.js} +5 -5
- package/chunk/{countryUtils-BkkPBUCD.js.map → countryUtils-Ce-JCROO.js.map} +1 -1
- package/chunk/cs-Chh7FAGt.js +4 -4
- package/chunk/da-DwrVoxto.js +4 -4
- package/chunk/de-IWGZLhgY.js +4 -4
- package/chunk/downshift.esm-BHmrbwB5.js +4 -4
- package/chunk/downshift.esm-Bo38bpfV.js +4 -4
- package/chunk/el-DbDcvSPJ.js +4 -4
- package/chunk/empties-DtevBq9w.js +4 -4
- package/chunk/empties-xLh6FzDA.js +4 -4
- package/chunk/en-GB-CNQ8Ww2j.js +4 -4
- package/chunk/es-ES-DWimqEZ_.js +4 -4
- package/chunk/es-qhC-seq5.js +4 -4
- package/chunk/et-yF9G-Mym.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BcdSf7og.js +4 -4
- package/chunk/fi-D-IP_KHm.js +4 -4
- package/chunk/fr-BmUuYxk0.js +4 -4
- package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
- package/chunk/ga-DuZycND3.js +4 -4
- package/chunk/getInstallType-BRxisNNY.js +4 -4
- package/chunk/getInstallType-DlS_DNKt.js +4 -4
- package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
- package/chunk/hooks-D4L3tNqJ.js +4 -4
- package/chunk/hooks-df3XJbin.js +4 -4
- package/chunk/hr-BtqyDzDB.js +4 -4
- package/chunk/hu-C6syKJfb.js +4 -4
- package/chunk/id-GgI-Z2a5.js +4 -4
- package/chunk/index.es-Cir3-TDI.js +4 -4
- package/chunk/index.es-Dw43pp1V.js +4 -4
- package/chunk/is-CvmKEON9.js +4 -4
- package/chunk/it-CnmveGgC.js +4 -4
- package/chunk/iw-DFUYHkxF.js +4 -4
- package/chunk/ja-CjVb2tWW.js +4 -4
- package/chunk/jsx-runtime-DQgZVOUX.js +4 -4
- package/chunk/jsx-runtime-h9ybVYa3.js +4 -4
- package/chunk/kk-Dvz4nK6K.js +4 -4
- package/chunk/ko-DzOqBMGC.js +4 -4
- package/chunk/lo-C2WPq55d.js +4 -4
- package/chunk/lt-BSDYvjTF.js +4 -4
- package/chunk/lv-CefDPT-M.js +4 -4
- package/chunk/mockProgramBranding-C9Ysu3Mp.js +4 -4
- package/chunk/mockProgramConfiguration-BNqSCrMG.js +4 -4
- package/chunk/mockProgramI18n-CgYx_1_a.js +4 -4
- package/chunk/mockProgramTheme-Cfk2dzF3.js +4 -4
- package/chunk/mocks-D7frr82N.js +4 -4
- package/chunk/mocks-jT71x7MH.js +4 -4
- package/chunk/ms-BjestZxy.js +4 -4
- package/chunk/nl-B1FyUfCT.js +4 -4
- package/chunk/nl-BE-CbeAd3nq.js +4 -4
- package/chunk/no-Dr633Ddi.js +4 -4
- package/chunk/pl-UYTjMIq_.js +4 -4
- package/chunk/programThemeGetters-B2hrl_I4.js +4 -4
- package/chunk/programThemeGetters-BhNmQw7_.js +4 -4
- package/chunk/pt-BR-C8SYMT-J.js +4 -4
- package/chunk/pt-uH-M3GdN.js +4 -4
- package/chunk/refs-Mq0rtW9K.js +4 -4
- package/chunk/ro-CAOSXZ7h.js +4 -4
- package/chunk/ru-iwYoEydL.js +4 -4
- package/chunk/runtimeTypes-B2AGNJMT.js +4 -4
- package/chunk/sk-DYYNV3zw.js +4 -4
- package/chunk/sl-D_-eeM5N.js +4 -4
- package/chunk/sr-BTi9_anL.js +4 -4
- package/chunk/stepComponentHelpers-3SlH9niv.js +4 -4
- package/chunk/stepComponentHelpers-BcYAcI_q.js +4 -4
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-DRwY4shG.js +4 -4
- package/chunk/sw-Bvj2mYmM.js +4 -4
- package/chunk/ta-CmtaYoNe.js +4 -4
- package/chunk/th-12r2yKkJ.js +4 -4
- package/chunk/tl-BGNfO7md.js +4 -4
- package/chunk/tr-DH2ZSJhs.js +4 -4
- package/chunk/uk-CELBZlTd.js +4 -4
- package/chunk/ur-MR8DTbmd.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-Bjk1VgyF.js → useCollectFieldsEndpoint-CXRJZGXN.js} +6 -6
- package/chunk/{useCollectFieldsEndpoint-Bjk1VgyF.js.map → useCollectFieldsEndpoint-CXRJZGXN.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-Bek3y_4G.js → useCollectFieldsEndpoint-axkugAWT.js} +6 -6
- package/chunk/{useCollectFieldsEndpoint-Bek3y_4G.js.map → useCollectFieldsEndpoint-axkugAWT.js.map} +1 -1
- package/chunk/useMetrics-B96ha_3m.js +4 -4
- package/chunk/useMetrics-BV3Mnauz.js +4 -4
- package/chunk/vi-DtZ-SqD5.js +4 -4
- package/chunk/zh-DjyVyYac.js +4 -4
- package/chunk/zh-HK-CN1HarHq.js +4 -4
- package/chunk/zu-DPhgIh1z.js +4 -4
- package/package.json +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +4 -4
- package/sheerid.css +4 -4
- package/sheerid.js +36 -36
- package/chunk/countryUtils-B-On7swF.js +0 -12
|
@@ -4,32 +4,32 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE: Wed Nov 04 2026
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.318.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1793833687046
|
|
9
|
+
* BUILD_DATE: Wed Nov 04 2026 23:08:07 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: de80b03200d5bbe92c9c93c39987693a03445901
|
|
11
11
|
*/
|
|
12
12
|
import { S as e, g as t } from "./empties-DtevBq9w.js";
|
|
13
13
|
import { b as n } from "./runtimeTypes-B2AGNJMT.js";
|
|
14
14
|
import { t as r } from "./jsx-runtime-DQgZVOUX.js";
|
|
15
15
|
import { o as i } from "./programThemeGetters-B2hrl_I4.js";
|
|
16
|
-
import { m as a } from "./FormFooterComponent-
|
|
16
|
+
import { m as a } from "./FormFooterComponent-Du_HeEF3.js";
|
|
17
17
|
import { t as o } from "./index.es-Cir3-TDI.js";
|
|
18
18
|
import { t as s } from "../_mysheerid-preview.js";
|
|
19
|
-
import { t as c } from "./useCollectFieldsEndpoint-
|
|
19
|
+
import { t as c } from "./useCollectFieldsEndpoint-CXRJZGXN.js";
|
|
20
20
|
import { d as l, f as u, r as d, t as f } from "./stepComponentHelpers-3SlH9niv.js";
|
|
21
|
-
import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-
|
|
21
|
+
import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-CGzj7Yl4.js";
|
|
22
22
|
import { n as y, t as b } from "./PersonalInfoStepSubmitButton-CT7lguuZ.js";
|
|
23
23
|
import { i as x } from "./FormSelectChoice-BtoOF4T1.js";
|
|
24
|
-
import { t as S } from "./BirthDateComponent-
|
|
24
|
+
import { t as S } from "./BirthDateComponent-DN47-PWx.js";
|
|
25
25
|
import { t as C } from "./PostalCodeComponent-CM7B9nbQ.js";
|
|
26
|
-
import { t as w } from "./CountryComponentWrapper-
|
|
26
|
+
import { t as w } from "./CountryComponentWrapper-jCA_Bqtc.js";
|
|
27
27
|
import { t as T } from "./ExtraMessage-CR5rN46Q.js";
|
|
28
|
-
import { t as E } from "./ChangeLocaleComponent-
|
|
29
|
-
import { t as D } from "./PersonalInfoStepWrapper-
|
|
30
|
-
import { t as O } from "./countryUtils-
|
|
28
|
+
import { t as E } from "./ChangeLocaleComponent-gNfmpOea.js";
|
|
29
|
+
import { t as D } from "./PersonalInfoStepWrapper-ofVvlXHi.js";
|
|
30
|
+
import { t as O } from "./countryUtils-Ce-JCROO.js";
|
|
31
31
|
import { t as k } from "./StatusComponent-B9xHqfyT.js";
|
|
32
|
-
import { t as A } from "./LicensedProfessionalOrganizationComponent-
|
|
32
|
+
import { t as A } from "./LicensedProfessionalOrganizationComponent-lQzp_eZd.js";
|
|
33
33
|
//#region src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx
|
|
34
34
|
var j = r(), M = ({ verificationService: r }) => {
|
|
35
35
|
let M = i(), N = r.viewModel, { fieldValidationErrors: P } = r, F = r.verificationResponse, I = a(F), L = N.localeChoice.value, R = t(), { availableStatuses: z } = c({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepLicensedProfessionalPersonalInfo-DfC84v9R.js","names":["produce","LicensedProfessionalStatusComponent","LicensedProfessionalOrganization","FirstName","LastName","BirthDate","Email","PhoneNumber","MarketConsentWrapper","fn","getOptions","VerificationStepsEnum","require_jsx_runtime","useProgramConfiguration","hasFailedInstantMatch","FormattedHTMLMessage","PersonalInfoHeader","useCollectFieldsEndpoint","updateFieldValidationErrorsByFieldId","updateViewModelOrganization","handleEmailOnKeyDown","getFieldConfigByFieldId","FirstNameComponent","LastNameComponent","FormFieldCustom","PhoneNumberComponent","MarketConsentWrapperComponent","CaptchaComponent","EmailComponent","PersonalInfoStepSubmitButton","useFormSelectChoice","BirthDateComponent","PostalCodeComponent","CountryComponentWrapper","ExtraMessage","ChangeLocaleV2Component","PersonalInfoWrapper","isCountrySelectionNeeded","StatusComponent","LicensedProfessionalOrganizationComponent","import_jsx_runtime","StepLicensedProfessionalPersonalInfoComponent","programConfiguration","viewModel","verificationService","verificationResponse","failedInstantMatch","locale","options","dynamicStatuses","statusOptions","countryChoiceValue","needToPickCountry","updateLicensedProfessionalViewModel","nextState","key","value","option","fieldValidationErrors","updatedStatuses","status","choice","newValue","event"],"sources":["../../src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { useFormSelectChoice } from \"@/components/FormInputs/InputSelect/InputSelectComponent\";\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type LicensedProfessionalStatus,\n type CustomFormFieldConfig,\n type FormSelectChoice,\n type LicensedProfessionalPersonalInfoResponse,\n type LicensedProfessionalPersonalInfoViewModel,\n type Organization,\n type VerificationService,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { useCollectFieldsEndpoint } from \"../../lib/ServerApi/useCollectFieldsEndpoint\";\nimport { isCountrySelectionNeeded } from \"../FormFields/Country/countryUtils\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { StatusComponent as LicensedProfessionalStatusComponent } from \"../FormFields/Status/StatusComponent\";\nimport { LicensedProfessionalOrganizationComponent as LicensedProfessionalOrganization } from \"../FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepLicensedProfessionalPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nexport const StepLicensedProfessionalPersonalInfoComponent = ({\n verificationService,\n}: StepLicensedProfessionalPersonalInfoComponentProps) => {\n const programConfiguration = useProgramConfiguration();\n const viewModel = verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as LicensedProfessionalPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const { availableStatuses: dynamicStatuses } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n });\n\n const statusOptions = useFormSelectChoice(\n (dynamicStatuses ?? verificationResponse.availableStatuses) as LicensedProfessionalStatus[],\n );\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(programConfiguration, countryChoiceValue);\n\n const updateLicensedProfessionalViewModel = (\n key: keyof LicensedProfessionalPersonalInfoViewModel,\n value: any,\n ) => {\n const nextState: LicensedProfessionalPersonalInfoViewModel = produce(\n viewModel,\n (draft: LicensedProfessionalPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"licensed-professional\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <LicensedProfessionalStatusComponent\n segmentId=\"licensed-professional\"\n value={statusOptions.find((option) => option.value === viewModel.statuses[0])}\n isErrored={!!fieldValidationErrors.statuses}\n options={statusOptions}\n disabled={needToPickCountry || getFieldConfigByFieldId(\"statuses\")?.disabled}\n explanation={\n needToPickCountry ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : undefined\n }\n onChange={(status: FormSelectChoice) => {\n const updatedStatuses = status ? [status.value as string] : [];\n updateLicensedProfessionalViewModel(\"statuses\", updatedStatuses);\n updateFieldValidationErrorsByFieldId(\n \"statuses\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n <LicensedProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={\n (verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel).organization\n }\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n explanation={\n <FormattedHTMLMessage\n id=\"postalCodeExplanation\"\n defaultMessage=\"Use the location on file with your licensing body\"\n />\n }\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Needed to send you your unique code\"\n />\n }\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {programConfiguration.isSmsNotifierConfigured || programConfiguration.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!programConfiguration.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectLicensedProfessionalPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Licensed Professional Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;A,aAgDayC,KAAiD,EAC5D,6BACwD;CACxD,IAAMC,IAAuB7B,EAAwB,GAC/C8B,IAAYC,EAAoB,WAChC,EAAE,6BAA0BA,GAC5BC,IACJD,EAAoB,sBAChBE,IAAqBhC,EAAsB+B,CAAoB,GAE/DE,IAASJ,EAAU,aAAa,OAChCK,IAAUtC,EAAW,GAErB,EAAE,mBAAmBuC,MAAoBhC,EAAyB;EACtE,gBAAgB4B,EAAqB;EACrC,aAAaA,EAAqB;EAClC;CACF,CAAC,GAEKK,IAAgBpB,EACnBmB,KAAmBJ,EAAqB,iBAC3C,GAEMM,IAAqBR,EAAU,eAAe,OAC9CS,IAAoBf,EAAyBK,GAAsBS,CAAkB,GAErFE,KACJ,GACA,MACG;EACH,IAAMC,IAAuDtD,EAC3D2C,IACC,MAAqD;GACpD,EAAOY,KAAeC;EACxB,CACF;EACA,EAAoB,gBAAgBF,CAAS;CAC/C;CAEA,OACE,iBAAA,GAAAd,EAAA,KAAA,CAACJ,GAAD;EACuB;EACrB,MAAMS,EAAqB;EAF7B,UAAA;GAIE,iBAAA,GAAAL,EAAA,IAAA,CAACxB,GAAD;IACuB;IACrB,qBAAoB;GACrB,CAAA;GAED,iBAAA,GAAAwB,EAAA,IAAA,CAACL,GAAD,EAA8C,uBAAsB,CAAA;GACpE,iBAAA,GAAAK,EAAA,IAAA,CAACP,GAAD;IACuB;IACrB,UAAUZ,EAAwB,SAAS,CAAC,EAAE;GAC/C,CAAA;GAED,iBAAA,GAAAmB,EAAA,IAAA,CAACvC,GA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EAAqC,eAAe4C,GAAUlB,CAAmB;IACnF;IACA,qBAAqBD,EAAU,iBAAiBA,EAAU,cAAc;IACxE,UAAUtB,EAAwB,aAAa,CAAC,EAAE;GACnD,CAAA,IACC;GAEH2B,EAAQ,iBAAiB,KAAK,MAC7B,iBAAA,GAAAR,EAAA,IAAA,CAAChB,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAED,iBAAA,GAAAgB,EAAA,IAAA,CAAChC,GAAD;IACuB;IACrB,WAAW,CAAC,CAACkD,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJAL,EAAoC,YAAY;MAC9C,GAAGT,EAAoB,UAAU;MACjC,oBAAoBkB;KACtB,CAAC,GACD5C,EAAqC,sBAAsB4C,GAAUlB,CAAmB;IAC1F;IACW;IACX,UAAUvB,EAAwB,oBAAoB,CAAC,EAAE;GAC1D,CAAA;GAED,iBAAA,GAAAmB,EAAA,IAAA,CAACN,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAAM,EAAA,IAAA,CAACb,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC+B,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAAlB,EAAA,IAAA,CAACX,GAAD;IACE,MAAMlB,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA6B,EAAA,IAAA,CAACzB,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
|
|
1
|
+
{"version":3,"file":"StepLicensedProfessionalPersonalInfo-BrWZJzLg.js","names":["produce","LicensedProfessionalStatusComponent","LicensedProfessionalOrganization","FirstName","LastName","BirthDate","Email","PhoneNumber","MarketConsentWrapper","fn","getOptions","VerificationStepsEnum","require_jsx_runtime","useProgramConfiguration","hasFailedInstantMatch","FormattedHTMLMessage","PersonalInfoHeader","useCollectFieldsEndpoint","updateFieldValidationErrorsByFieldId","updateViewModelOrganization","handleEmailOnKeyDown","getFieldConfigByFieldId","FirstNameComponent","LastNameComponent","FormFieldCustom","PhoneNumberComponent","MarketConsentWrapperComponent","CaptchaComponent","EmailComponent","PersonalInfoStepSubmitButton","useFormSelectChoice","BirthDateComponent","PostalCodeComponent","CountryComponentWrapper","ExtraMessage","ChangeLocaleV2Component","PersonalInfoWrapper","isCountrySelectionNeeded","StatusComponent","LicensedProfessionalOrganizationComponent","import_jsx_runtime","StepLicensedProfessionalPersonalInfoComponent","programConfiguration","viewModel","verificationService","verificationResponse","failedInstantMatch","locale","options","dynamicStatuses","statusOptions","countryChoiceValue","needToPickCountry","updateLicensedProfessionalViewModel","nextState","key","value","option","fieldValidationErrors","updatedStatuses","status","choice","newValue","event"],"sources":["../../src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { useFormSelectChoice } from \"@/components/FormInputs/InputSelect/InputSelectComponent\";\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type LicensedProfessionalStatus,\n type CustomFormFieldConfig,\n type FormSelectChoice,\n type LicensedProfessionalPersonalInfoResponse,\n type LicensedProfessionalPersonalInfoViewModel,\n type Organization,\n type VerificationService,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { useCollectFieldsEndpoint } from \"../../lib/ServerApi/useCollectFieldsEndpoint\";\nimport { isCountrySelectionNeeded } from \"../FormFields/Country/countryUtils\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { StatusComponent as LicensedProfessionalStatusComponent } from \"../FormFields/Status/StatusComponent\";\nimport { LicensedProfessionalOrganizationComponent as LicensedProfessionalOrganization } from \"../FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepLicensedProfessionalPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nexport const StepLicensedProfessionalPersonalInfoComponent = ({\n verificationService,\n}: StepLicensedProfessionalPersonalInfoComponentProps) => {\n const programConfiguration = useProgramConfiguration();\n const viewModel = verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as LicensedProfessionalPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const { availableStatuses: dynamicStatuses } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n });\n\n const statusOptions = useFormSelectChoice(\n (dynamicStatuses ?? verificationResponse.availableStatuses) as LicensedProfessionalStatus[],\n );\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(programConfiguration, countryChoiceValue);\n\n const updateLicensedProfessionalViewModel = (\n key: keyof LicensedProfessionalPersonalInfoViewModel,\n value: any,\n ) => {\n const nextState: LicensedProfessionalPersonalInfoViewModel = produce(\n viewModel,\n (draft: LicensedProfessionalPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"licensed-professional\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <LicensedProfessionalStatusComponent\n segmentId=\"licensed-professional\"\n value={statusOptions.find((option) => option.value === viewModel.statuses[0])}\n isErrored={!!fieldValidationErrors.statuses}\n options={statusOptions}\n disabled={needToPickCountry || getFieldConfigByFieldId(\"statuses\")?.disabled}\n explanation={\n needToPickCountry ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : undefined\n }\n onChange={(status: FormSelectChoice) => {\n const updatedStatuses = status ? [status.value as string] : [];\n updateLicensedProfessionalViewModel(\"statuses\", updatedStatuses);\n updateFieldValidationErrorsByFieldId(\n \"statuses\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n <LicensedProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={\n (verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel).organization\n }\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n explanation={\n <FormattedHTMLMessage\n id=\"postalCodeExplanation\"\n defaultMessage=\"Use the location on file with your licensing body\"\n />\n }\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Needed to send you your unique code\"\n />\n }\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {programConfiguration.isSmsNotifierConfigured || programConfiguration.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!programConfiguration.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectLicensedProfessionalPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Licensed Professional Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;A,aAgDayC,KAAiD,EAC5D,6BACwD;CACxD,IAAMC,IAAuB7B,EAAwB,GAC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AKtB,AAJAL,EAAoC,YAAY;MAC9C,GAAGT,EAAoB,UAAU;MACjC,oBAAoBkB;KACtB,CAAC,GACD5C,EAAqC,sBAAsB4C,GAAUlB,CAAmB;IAC1F;IACW;IACX,UAAUvB,EAAwB,oBAAoB,CAAC,EAAE;GAC1D,CAAA;GAED,iBAAA,GAAAmB,EAAA,IAAA,CAACN,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAAM,EAAA,IAAA,CAACb,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC+B,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAAlB,EAAA,IAAA,CAACX,GAAD;IACE,MAAMlB,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA6B,EAAA,IAAA,CAACzB,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Wed Nov 04 2026
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.318.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1793833682219
|
|
5
|
+
* BUILD_DATE: Wed Nov 04 2026 23:08:02 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: de80b03200d5bbe92c9c93c39987693a03445901
|
|
7
7
|
*/
|
|
8
8
|
import { bt as e, y as t } from "./empties-xLh6FzDA.js";
|
|
9
9
|
import { t as n } from "./jsx-runtime-h9ybVYa3.js";
|
|
10
10
|
import { o as r } from "./programThemeGetters-BhNmQw7_.js";
|
|
11
11
|
import { b as i } from "./runtimeTypes-B2AGNJMT.js";
|
|
12
|
-
import { h as a } from "./FormFooterComponent-
|
|
12
|
+
import { h as a } from "./FormFooterComponent-Ci3-eCIX.js";
|
|
13
13
|
import { t as o } from "./index.es-Dw43pp1V.js";
|
|
14
14
|
import { n as s } from "../sheerid.js";
|
|
15
|
-
import { t as c } from "./useCollectFieldsEndpoint-
|
|
15
|
+
import { t as c } from "./useCollectFieldsEndpoint-axkugAWT.js";
|
|
16
16
|
import { d as l, f as u, r as d, t as f } from "./stepComponentHelpers-BcYAcI_q.js";
|
|
17
|
-
import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-
|
|
17
|
+
import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-Dqo1kgeK.js";
|
|
18
18
|
import { n as y, t as b } from "./PersonalInfoStepSubmitButton-jF2Q-TQ1.js";
|
|
19
19
|
import { i as x } from "./FormSelectChoice-OvLHNUCT.js";
|
|
20
|
-
import { t as S } from "./BirthDateComponent-
|
|
20
|
+
import { t as S } from "./BirthDateComponent-DCF1BrYZ.js";
|
|
21
21
|
import { t as C } from "./PostalCodeComponent-DOaiP-XH.js";
|
|
22
|
-
import { t as w } from "./CountryComponentWrapper-
|
|
22
|
+
import { t as w } from "./CountryComponentWrapper-B6ekcGSw.js";
|
|
23
23
|
import { t as T } from "./ExtraMessage-Dy5YujvI.js";
|
|
24
|
-
import { t as E } from "./ChangeLocaleComponent-
|
|
25
|
-
import { t as D } from "./PersonalInfoStepWrapper-
|
|
26
|
-
import { t as O } from "./countryUtils-
|
|
24
|
+
import { t as E } from "./ChangeLocaleComponent-WuEDLKSJ.js";
|
|
25
|
+
import { t as D } from "./PersonalInfoStepWrapper-DMq0FLJW.js";
|
|
26
|
+
import { t as O } from "./countryUtils-B1IlO46W.js";
|
|
27
27
|
import { t as k } from "./StatusComponent-wmBrTgh8.js";
|
|
28
|
-
import { t as A } from "./LicensedProfessionalOrganizationComponent-
|
|
28
|
+
import { t as A } from "./LicensedProfessionalOrganizationComponent-DE1cinB8.js";
|
|
29
29
|
//#region src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx
|
|
30
30
|
var j = n(), M = ({ verificationService: n }) => {
|
|
31
31
|
let M = r(), N = n.viewModel, { fieldValidationErrors: P } = n, F = n.verificationResponse, I = a(F), L = N.localeChoice.value, R = t(), { availableStatuses: z } = c({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepLicensedProfessionalPersonalInfo-BqOrgGC-.js","names":["produce","LicensedProfessionalStatusComponent","LicensedProfessionalOrganization","FirstName","LastName","BirthDate","Email","PhoneNumber","MarketConsentWrapper","fn","getOptions","require_jsx_runtime","useProgramConfiguration","VerificationStepsEnum","hasFailedInstantMatch","FormattedHTMLMessage","PersonalInfoHeader","useCollectFieldsEndpoint","updateFieldValidationErrorsByFieldId","updateViewModelOrganization","handleEmailOnKeyDown","getFieldConfigByFieldId","FirstNameComponent","LastNameComponent","FormFieldCustom","PhoneNumberComponent","MarketConsentWrapperComponent","CaptchaComponent","EmailComponent","PersonalInfoStepSubmitButton","useFormSelectChoice","BirthDateComponent","PostalCodeComponent","CountryComponentWrapper","ExtraMessage","ChangeLocaleV2Component","PersonalInfoWrapper","isCountrySelectionNeeded","StatusComponent","LicensedProfessionalOrganizationComponent","import_jsx_runtime","StepLicensedProfessionalPersonalInfoComponent","programConfiguration","viewModel","verificationService","verificationResponse","failedInstantMatch","locale","options","dynamicStatuses","statusOptions","countryChoiceValue","needToPickCountry","updateLicensedProfessionalViewModel","nextState","key","value","option","fieldValidationErrors","updatedStatuses","status","choice","newValue","event"],"sources":["../../src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { useFormSelectChoice } from \"@/components/FormInputs/InputSelect/InputSelectComponent\";\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type LicensedProfessionalStatus,\n type CustomFormFieldConfig,\n type FormSelectChoice,\n type LicensedProfessionalPersonalInfoResponse,\n type LicensedProfessionalPersonalInfoViewModel,\n type Organization,\n type VerificationService,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { useCollectFieldsEndpoint } from \"../../lib/ServerApi/useCollectFieldsEndpoint\";\nimport { isCountrySelectionNeeded } from \"../FormFields/Country/countryUtils\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { StatusComponent as LicensedProfessionalStatusComponent } from \"../FormFields/Status/StatusComponent\";\nimport { LicensedProfessionalOrganizationComponent as LicensedProfessionalOrganization } from \"../FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepLicensedProfessionalPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nexport const StepLicensedProfessionalPersonalInfoComponent = ({\n verificationService,\n}: StepLicensedProfessionalPersonalInfoComponentProps) => {\n const programConfiguration = useProgramConfiguration();\n const viewModel = verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as LicensedProfessionalPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const { availableStatuses: dynamicStatuses } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n });\n\n const statusOptions = useFormSelectChoice(\n (dynamicStatuses ?? verificationResponse.availableStatuses) as LicensedProfessionalStatus[],\n );\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(programConfiguration, countryChoiceValue);\n\n const updateLicensedProfessionalViewModel = (\n key: keyof LicensedProfessionalPersonalInfoViewModel,\n value: any,\n ) => {\n const nextState: LicensedProfessionalPersonalInfoViewModel = produce(\n viewModel,\n (draft: LicensedProfessionalPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"licensed-professional\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <LicensedProfessionalStatusComponent\n segmentId=\"licensed-professional\"\n value={statusOptions.find((option) => option.value === viewModel.statuses[0])}\n isErrored={!!fieldValidationErrors.statuses}\n options={statusOptions}\n disabled={needToPickCountry || getFieldConfigByFieldId(\"statuses\")?.disabled}\n explanation={\n needToPickCountry ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : undefined\n }\n onChange={(status: FormSelectChoice) => {\n const updatedStatuses = status ? [status.value as string] : [];\n updateLicensedProfessionalViewModel(\"statuses\", updatedStatuses);\n updateFieldValidationErrorsByFieldId(\n \"statuses\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n <LicensedProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={\n (verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel).organization\n }\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n explanation={\n <FormattedHTMLMessage\n id=\"postalCodeExplanation\"\n defaultMessage=\"Use the location on file with your licensing body\"\n />\n }\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Needed to send you your unique code\"\n />\n }\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {programConfiguration.isSmsNotifierConfigured || programConfiguration.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!programConfiguration.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectLicensedProfessionalPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Licensed Professional Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;A,aAgDayC,KAAiD,EAC5D,6BACwD;CACxD,IAAMC,IAAuB9B,EAAwB,GAC/C+B,IAAYC,EAAoB,WAChC,EAAE,6BAA0BA,GAC5BC,IACJD,EAAoB,sBAChBE,IAAqBhC,EAAsB+B,CAAoB,GAE/DE,IAASJ,EAAU,aAAa,OAChCK,IAAUtC,EAAW,GAErB,EAAE,mBAAmBuC,MAAoBhC,EAAyB;EACtE,gBAAgB4B,EAAqB;EACrC,aAAaA,EAAqB;EAClC;CACF,CAAC,GAEKK,IAAgBpB,EACnBmB,KAAmBJ,EAAqB,iBAC3C,GAEMM,IAAqBR,EAAU,eAAe,OAC9CS,IAAoBf,EAAyBK,GAAsBS,CAAkB,GAErFE,KACJ,GACA,MACG;EACH,IAAMC,IAAuDtD,EAC3D2C,IACC,MAAqD;GACpD,EAAOY,KAAeC;EACxB,CACF;EACA,EAAoB,gBAAgBF,CAAS;CAC/C;CAEA,OACE,iBAAA,GAAAd,EAAA,KAAA,CAACJ,GAAD;EACuB;EACrB,MAAMS,EAAqB;EAF7B,UAAA;GAIE,iBAAA,GAAAL,EAAA,IAAA,CAACxB,GAAD;IACuB;IACrB,qBAAoB;GACrB,CAAA;GAED,iBAAA,GAAAwB,EAAA,IAAA,CAACL,GAAD,EAA8C,uBAAsB,CAAA;GACpE,iBAAA,GAAAK,EAAA,IAA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B;IACnC,OAAOC,EAAU;IACjB,WAAW,CAAC,CAACe,EAAsB;IACnC,WAAW,MAAa;KAEtB,AADAL,EAAoC,eAAeS,CAAQ,GAC3D5C,EAAqC,eAAe4C,GAAUlB,CAAmB;IACnF;IACA,qBAAqBD,EAAU,iBAAiBA,EAAU,cAAc;IACxE,UAAUtB,EAAwB,aAAa,CAAC,EAAE;GACnD,CAAA,IACC;GAEH2B,EAAQ,iBAAiB,KAAK,MAC7B,iBAAA,GAAAR,EAAA,IAAA,CAAChB,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAED,iBAAA,GAAAgB,EAAA,IAAA,CAAChC,GAAD;IACuB;IACrB,WAAW,CAAC,CAACkD,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJAL,EAAoC,YAAY;MAC9C,GAAGT,EAAoB,UAAU;MACjC,oBAAoBkB;KACtB,CAAC,GACD5C,EAAqC,sBAAsB4C,GAAUlB,CAAmB;IAC1F;IACW;IACX,UAAUvB,EAAwB,oBAAoB,CAAC,EAAE;GAC1D,CAAA;GAED,iBAAA,GAAAmB,EAAA,IAAA,CAACN,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAAM,EAAA,IAAA,CAACb,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC+B,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAAlB,EAAA,IAAA,CAACX,GAAD;IACE,MAAMhB,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA2B,EAAA,IAAA,CAACzB,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
|
|
1
|
+
{"version":3,"file":"StepLicensedProfessionalPersonalInfo-yU748Wst.js","names":["produce","LicensedProfessionalStatusComponent","LicensedProfessionalOrganization","FirstName","LastName","BirthDate","Email","PhoneNumber","MarketConsentWrapper","fn","getOptions","require_jsx_runtime","useProgramConfiguration","VerificationStepsEnum","hasFailedInstantMatch","FormattedHTMLMessage","PersonalInfoHeader","useCollectFieldsEndpoint","updateFieldValidationErrorsByFieldId","updateViewModelOrganization","handleEmailOnKeyDown","getFieldConfigByFieldId","FirstNameComponent","LastNameComponent","FormFieldCustom","PhoneNumberComponent","MarketConsentWrapperComponent","CaptchaComponent","EmailComponent","PersonalInfoStepSubmitButton","useFormSelectChoice","BirthDateComponent","PostalCodeComponent","CountryComponentWrapper","ExtraMessage","ChangeLocaleV2Component","PersonalInfoWrapper","isCountrySelectionNeeded","StatusComponent","LicensedProfessionalOrganizationComponent","import_jsx_runtime","StepLicensedProfessionalPersonalInfoComponent","programConfiguration","viewModel","verificationService","verificationResponse","failedInstantMatch","locale","options","dynamicStatuses","statusOptions","countryChoiceValue","needToPickCountry","updateLicensedProfessionalViewModel","nextState","key","value","option","fieldValidationErrors","updatedStatuses","status","choice","newValue","event"],"sources":["../../src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { useFormSelectChoice } from \"@/components/FormInputs/InputSelect/InputSelectComponent\";\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type LicensedProfessionalStatus,\n type CustomFormFieldConfig,\n type FormSelectChoice,\n type LicensedProfessionalPersonalInfoResponse,\n type LicensedProfessionalPersonalInfoViewModel,\n type Organization,\n type VerificationService,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { useCollectFieldsEndpoint } from \"../../lib/ServerApi/useCollectFieldsEndpoint\";\nimport { isCountrySelectionNeeded } from \"../FormFields/Country/countryUtils\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { StatusComponent as LicensedProfessionalStatusComponent } from \"../FormFields/Status/StatusComponent\";\nimport { LicensedProfessionalOrganizationComponent as LicensedProfessionalOrganization } from \"../FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepLicensedProfessionalPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nexport const StepLicensedProfessionalPersonalInfoComponent = ({\n verificationService,\n}: StepLicensedProfessionalPersonalInfoComponentProps) => {\n const programConfiguration = useProgramConfiguration();\n const viewModel = verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as LicensedProfessionalPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const { availableStatuses: dynamicStatuses } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n });\n\n const statusOptions = useFormSelectChoice(\n (dynamicStatuses ?? verificationResponse.availableStatuses) as LicensedProfessionalStatus[],\n );\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(programConfiguration, countryChoiceValue);\n\n const updateLicensedProfessionalViewModel = (\n key: keyof LicensedProfessionalPersonalInfoViewModel,\n value: any,\n ) => {\n const nextState: LicensedProfessionalPersonalInfoViewModel = produce(\n viewModel,\n (draft: LicensedProfessionalPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"licensed-professional\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <LicensedProfessionalStatusComponent\n segmentId=\"licensed-professional\"\n value={statusOptions.find((option) => option.value === viewModel.statuses[0])}\n isErrored={!!fieldValidationErrors.statuses}\n options={statusOptions}\n disabled={needToPickCountry || getFieldConfigByFieldId(\"statuses\")?.disabled}\n explanation={\n needToPickCountry ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : undefined\n }\n onChange={(status: FormSelectChoice) => {\n const updatedStatuses = status ? [status.value as string] : [];\n updateLicensedProfessionalViewModel(\"statuses\", updatedStatuses);\n updateFieldValidationErrorsByFieldId(\n \"statuses\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n <LicensedProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={\n (verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel).organization\n }\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n explanation={\n <FormattedHTMLMessage\n id=\"postalCodeExplanation\"\n defaultMessage=\"Use the location on file with your licensing body\"\n />\n }\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Needed to send you your unique code\"\n />\n }\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {programConfiguration.isSmsNotifierConfigured || programConfiguration.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!programConfiguration.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectLicensedProfessionalPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Licensed Professional Status\"\n />\n }\n />\n </PersonalInfoWrap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A,CAC7E;GAED,iBAAA,GAAAgB,EAAA,IAAA,CAAChC,GAAD;IACuB;IACrB,WAAW,CAAC,CAACkD,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJAL,EAAoC,YAAY;MAC9C,GAAGT,EAAoB,UAAU;MACjC,oBAAoBkB;KACtB,CAAC,GACD5C,EAAqC,sBAAsB4C,GAAUlB,CAAmB;IAC1F;IACW;IACX,UAAUvB,EAAwB,oBAAoB,CAAC,EAAE;GAC1D,CAAA;GAED,iBAAA,GAAAmB,EAAA,IAAA,CAACN,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAAM,EAAA,IAAA,CAACb,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC+B,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAAlB,EAAA,IAAA,CAACX,GAAD;IACE,MAAMhB,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA2B,EAAA,IAAA,CAACzB,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
|
package/chunk/{StepLowIncomePersonalInfo-BnY61mtT.js → StepLowIncomePersonalInfo-CGKliGEL.js}
RENAMED
|
@@ -4,33 +4,33 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE: Wed Nov 04 2026
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.318.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1793833687046
|
|
9
|
+
* BUILD_DATE: Wed Nov 04 2026 23:08:07 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: de80b03200d5bbe92c9c93c39987693a03445901
|
|
11
11
|
*/
|
|
12
12
|
import { S as e, a as t, g as n, zt as r } from "./empties-DtevBq9w.js";
|
|
13
13
|
import { S as i, b as a } from "./runtimeTypes-B2AGNJMT.js";
|
|
14
14
|
import { r as o, t as s } from "./jsx-runtime-DQgZVOUX.js";
|
|
15
15
|
import { o as c } from "./programThemeGetters-B2hrl_I4.js";
|
|
16
|
-
import { C as l, m as u } from "./FormFooterComponent-
|
|
16
|
+
import { C as l, m as u } from "./FormFooterComponent-Du_HeEF3.js";
|
|
17
17
|
import { t as d } from "./index.es-Cir3-TDI.js";
|
|
18
18
|
import { t as f } from "../_mysheerid-preview.js";
|
|
19
|
-
import { t as p } from "./useCollectFieldsEndpoint-
|
|
19
|
+
import { t as p } from "./useCollectFieldsEndpoint-CXRJZGXN.js";
|
|
20
20
|
import { d as m, f as h, i as g, r as _, t as v } from "./stepComponentHelpers-3SlH9niv.js";
|
|
21
|
-
import { a as y, i as b, n as x, o as S, s as C, t as w } from "./CaptchaComponent-
|
|
21
|
+
import { a as y, i as b, n as x, o as S, s as C, t as w } from "./CaptchaComponent-CGzj7Yl4.js";
|
|
22
22
|
import { n as T, t as E } from "./PersonalInfoStepSubmitButton-CT7lguuZ.js";
|
|
23
23
|
import { i as D } from "./FormSelectChoice-BtoOF4T1.js";
|
|
24
|
-
import { t as O } from "./BirthDateComponent-
|
|
24
|
+
import { t as O } from "./BirthDateComponent-DN47-PWx.js";
|
|
25
25
|
import { t as k } from "./PostalCodeComponent-CM7B9nbQ.js";
|
|
26
|
-
import { t as A } from "./CountryComponentWrapper-
|
|
26
|
+
import { t as A } from "./CountryComponentWrapper-jCA_Bqtc.js";
|
|
27
27
|
import { t as j } from "./City-CR2xigNn.js";
|
|
28
28
|
import { t as M } from "./AddressComponent-D2mEkfix.js";
|
|
29
|
-
import { t as N } from "./ChangeLocaleComponent-
|
|
30
|
-
import { t as P } from "./PersonalInfoStepWrapper-
|
|
31
|
-
import { t as F } from "./countryUtils-
|
|
29
|
+
import { t as N } from "./ChangeLocaleComponent-gNfmpOea.js";
|
|
30
|
+
import { t as P } from "./PersonalInfoStepWrapper-ofVvlXHi.js";
|
|
31
|
+
import { t as F } from "./countryUtils-Ce-JCROO.js";
|
|
32
32
|
import { t as I } from "./StateSelectComponent-CDUxaxhl.js";
|
|
33
|
-
import { n as L, t as R } from "./LowIncomeOrganizationComponent-
|
|
33
|
+
import { n as L, t as R } from "./LowIncomeOrganizationComponent-B2tEj__S.js";
|
|
34
34
|
import { t as z } from "./StatusComponent-B9xHqfyT.js";
|
|
35
35
|
//#region src/components/StepLowIncomePersonalInfo/StepLowIncomePersonalInfoComponent.tsx
|
|
36
36
|
var B = /* @__PURE__ */ r(o(), 1), V = s(), H = ({ verificationService: r }) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepLowIncomePersonalInfo-BnY61mtT.js","names":["produce","LowIncomeOrganization","FirstName","LastName","BirthDate","Email","PhoneNumber","MarketConsentWrapper","fn","blankOrganization","getOptions","__toESM","logger","VerificationStepsEnum","require_react","require_jsx_runtime","useProgramConfiguration","isLowIncomeVM","hasFailedInstantMatch","FormattedHTMLMessage","PersonalInfoHeader","useCollectFieldsEndpoint","updateFieldValidationErrorsByFieldId","updateViewModelOrganization","orgToOption","handleEmailOnKeyDown","getFieldConfigByFieldId","FirstNameComponent","LastNameComponent","FormFieldCustom","PhoneNumberComponent","MarketConsentWrapperComponent","CaptchaComponent","EmailComponent","PersonalInfoStepSubmitButton","useFormSelectChoice","BirthDateComponent","PostalCodeComponent","CountryComponentWrapper","CityComponent","AddressComponent","ChangeLocaleV2Component","PersonalInfoWrapper","isCountrySelectionNeeded","StateSelectComponent","EBTCardNumberComponent","LowIncomeOrganizationComponent","StatusComponent","import_react","import_jsx_runtime","StepLowIncomePersonalInfoComponent","programConfiguration","verificationService","options","viewModel","verificationResponse","failedInstantMatch","dynamicStatuses","countryChoiceValue","needToPickCountry","statusOptions","locale","selectedStatus","isSelectedStatusSnapBenefits","updateLowIncomeViewModel","nextState","key","value","remaining","id","option","fieldValidationErrors","updatedStatuses","status","newValue","choice","stateValue","stateChoice","event"],"sources":["../../src/components/StepLowIncomePersonalInfo/StepLowIncomePersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { logger } from \"@jslib/shared/utils/logger\";\n\nimport { useFormSelectChoice } from \"@/components/FormInputs/InputSelect/InputSelectComponent\";\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type FormSelectChoice,\n type LowIncomePersonalInfoResponse,\n type LowIncomePersonalInfoViewModel,\n type LowIncomeStatus,\n type Organization,\n type State,\n type VerificationService,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n orgToOption,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { StatusComponent } from \"../FormFields/Status/StatusComponent\";\nimport { LowIncomeOrganizationComponent as LowIncomeOrganization } from \"../FormFields/LowIncomeOrganization/LowIncomeOrganizationComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { EBTCardNumberComponent } from \"../FormFields/EBTCardNumber/EBTCardNumberComponent\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { blankOrganization } from \"../../lib/types/empties\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\nimport { useCollectFieldsEndpoint } from \"../../lib/ServerApi/useCollectFieldsEndpoint\";\nimport { isCountrySelectionNeeded } from \"../FormFields/Country/countryUtils\";\n\nimport { isLowIncomeVM } from \"./lowIncomeTypes\";\n\ninterface StepLowIncomePersonalInfoComponentProps {\n verificationService: VerificationService<LowIncomePersonalInfoViewModel>;\n}\nexport const StepLowIncomePersonalInfoComponent = ({\n verificationService,\n}: StepLowIncomePersonalInfoComponentProps) => {\n const programConfiguration = useProgramConfiguration();\n const { viewModel } = verificationService;\n const options = getOptions();\n\n if (!isLowIncomeVM(viewModel)) {\n logger.error(\"Expected LowIncomePersonalInfoViewModel\");\n return null;\n }\n\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as LowIncomePersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const { availableStatuses: dynamicStatuses } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n });\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(programConfiguration, countryChoiceValue);\n\n const statusOptions = useFormSelectChoice(\n (dynamicStatuses ?? verificationResponse.availableStatuses) as LowIncomeStatus[],\n );\n\n const locale = viewModel.localeChoice.value;\n\n const selectedStatus = viewModel.statuses[0] ? viewModel.statuses[0] : undefined;\n const isSelectedStatusSnapBenefits = selectedStatus === \"SNAP_BENEFITS\";\n const updateLowIncomeViewModel = (key: keyof LowIncomePersonalInfoViewModel, value: any) => {\n if (!isLowIncomeVM(viewModel)) {\n logger.error(\"Expected LowIncomePersonalInfoViewModel\");\n return;\n }\n const nextState: LowIncomePersonalInfoViewModel = produce(\n viewModel,\n (draft: LowIncomePersonalInfoViewModel) => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n React.useEffect(() => {\n // SNAP recipients get the EBT card number field instead of an organization\n // picker, so organization cannot be validated for them. Preserve entries\n // other fields own, and drop ours again once the picker comes back.\n // A partial update cannot do this: it deep merges, which concatenates\n // arrays rather than replacing them, so entries could never be removed.\n const remaining = (viewModel.fieldsToSkipValidation || []).filter(\n (id) => id !== \"organization\",\n );\n updateLowIncomeViewModel(\n \"fieldsToSkipValidation\",\n isSelectedStatusSnapBenefits ? [...remaining, \"organization\"] : remaining,\n );\n }, [isSelectedStatusSnapBenefits]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"low-income\"\n />\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n <StatusComponent\n segmentId=\"low-income\"\n value={statusOptions.find((option) => option.value === viewModel.statuses[0])}\n isErrored={!!fieldValidationErrors.statuses}\n disabled={needToPickCountry || getFieldConfigByFieldId(\"statuses\")?.disabled}\n options={statusOptions}\n explanation={\n needToPickCountry ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : undefined\n }\n onChange={(status: FormSelectChoice<LowIncomeStatus>) => {\n const updatedStatuses = status ? [status.value as LowIncomeStatus] : [];\n const nextState: LowIncomePersonalInfoViewModel = produce(\n viewModel,\n (draft: LowIncomePersonalInfoViewModel) => {\n if (viewModel.statuses[0] !== updatedStatuses[0]) {\n draft.organization = blankOrganization.organization; // Clear out the org b/c they're of different kind\n }\n draft.statuses = updatedStatuses;\n },\n );\n verificationService.updateViewModel(nextState);\n updateFieldValidationErrorsByFieldId(\n \"statuses\",\n status ? status.value : \"\",\n verificationService,\n );\n }}\n />\n {selectedStatus === \"SNAP_BENEFITS\" && (\n <EBTCardNumberComponent\n value={viewModel.ebtCardNumber}\n isErrored={!!fieldValidationErrors.ebtCardNumber}\n disabled={getFieldConfigByFieldId(\"ebtCardNumber\")?.disabled}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"ebtCardNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"ebtCardNumber\", newValue, verificationService);\n }}\n />\n )}\n {(selectedStatus === \"OTHER_GOVERNMENT_ASSISTANCE\" ||\n selectedStatus === \"COMMUNITY_ELIGIBILITY_PROVISION\") && (\n <LowIncomeOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={orgToOption(verificationService.viewModel.organization)}\n verificationService={verificationService}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n )}\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n />\n <AddressComponent\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"address1\", newValue);\n updateFieldValidationErrorsByFieldId(\"address1\", newValue, verificationService);\n }}\n value={viewModel.address1}\n isRequired\n explanation={\n <FormattedHTMLMessage id=\"addressExplanation\" defaultMessage=\"Use your home address\" />\n }\n />\n <div className=\"sid-address-extra-fields sid-thirds\">\n <CityComponent\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"city\", newValue);\n updateFieldValidationErrorsByFieldId(\"city\", newValue, verificationService);\n }}\n value={viewModel.city}\n isRequired\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n />\n <StateSelectComponent\n isRequired\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updateLowIncomeViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n />\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n </div>\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {programConfiguration.isSmsNotifierConfigured || programConfiguration.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!programConfiguration.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n {(options.customFormFields || []).map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}{\" \"}\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectLowIncomePersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;A,4CA2DakD,KAAsC,EACjD,6BAC6C;CAC7C,IAAMC,IAAuBnC,EAAwB,GAC/C,EAAE,iBAAcoC,GAChBC,IAAU3C,EAAW;CAE3B,IAAI,CAACO,EAAcqC,CAAS,GAE1B,OADA1C,EAAO,MAAM,yCAAyC,GAC/C;CAGT,IAAM,EAAE,6BAA0BwC,GAC5BG,IACJH,EAAoB,sBAChBI,IAAqBtC,EAAsBqC,CAAoB,GAE/D,EAAE,mBAAmBE,MAAoBpC,EAAyB;EACtE,gBAAgBkC,EAAqB;EACrC,aAAaA,EAAqB;EAClC;CACF,CAAC,GAEKG,IAAqBJ,EAAU,eAAe,OAC9CK,IAAoBhB,EAAyBQ,GAAsBO,CAAkB,GAErFE,IAAgBzB,EACnBsB,KAAmBF,EAAqB,iBAC3C,GAEMM,IAASP,EAAU,aAAa,OAEhCQ,IAAiBR,EAAU,SAAS,KAAKA,EAAU,SAAS,KAAK,KAAA,GACjES,IAA+BD,MAAmB,iBAClDE,KAA4B,GAA2C,MAAe;EAC1F,IAAI,CAAC/C,EAAcqC,CAAS,GAAG;GAC7B,EAAO,MAAM,yCAAyC;GACtD;EACF;EACA,IAAMW,IAA4CjE,EAChDsD,IACC,MAA0C;GAEzC,EAAOY,KAAeC;EACxB,CACF;EACA,EAAoB,gBAAgBF,CAAS;CAC/C;CAiBA,OAfAjB,EAAM,gBAAgB;EAMpB,IAAMoB,KAAad,EAAU,0BAA0B,CAAC,EAAA,CAAG,QACxD,MAAOe,MAAO,cACjB;EACA,EACE,0BACAN,IAA+B,CAAC,GAAGK,GAAW,cAAc,IAAIA,CAClE;CACF,GAAG,CAACL,CAA4B,CAAC,GAG/B,iBAAA,GAAAd,EAAA,KAAA,CAACP,GAAD;EACuB;EACrB,MAAMa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E,MAAMrB,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAAoC,EAAA,IAAA,CAAC9B,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
|
|
1
|
+
{"version":3,"file":"StepLowIncomePersonalInfo-CGKliGEL.js","names":["produce","LowIncomeOrganization","FirstName","LastName","BirthDate","Email","PhoneNumber","MarketConsentWrapper","fn","blankOrganization","getOptions","__toESM","logger","VerificationStepsEnum","require_react","require_jsx_runtime","useProgramConfiguration","isLowIncomeVM","hasFailedInstantMatch","FormattedHTMLMessage","PersonalInfoHeader","useCollectFieldsEndpoint","updateFieldValidationErrorsByFieldId","updateViewModelOrganization","orgToOption","handleEmailOnKeyDown","getFieldConfigByFieldId","FirstNameComponent","LastNameComponent","FormFieldCustom","PhoneNumberComponent","MarketConsentWrapperComponent","CaptchaComponent","EmailComponent","PersonalInfoStepSubmitButton","useFormSelectChoice","BirthDateComponent","PostalCodeComponent","CountryComponentWrapper","CityComponent","AddressComponent","ChangeLocaleV2Component","PersonalInfoWrapper","isCountrySelectionNeeded","StateSelectComponent","EBTCardNumberComponent","LowIncomeOrganizationComponent","StatusComponent","import_react","import_jsx_runtime","StepLowIncomePersonalInfoComponent","programConfiguration","verificationService","options","viewModel","verificationResponse","failedInstantMatch","dynamicStatuses","countryChoiceValue","needToPickCountry","statusOptions","locale","selectedStatus","isSelectedStatusSnapBenefits","updateLowIncomeViewModel","nextState","key","value","remaining","id","option","fieldValidationErrors","updatedStatuses","status","newValue","choice","stateValue","stateChoice","event"],"sources":["../../src/components/StepLowIncomePersonalInfo/StepLowIncomePersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { logger } from \"@jslib/shared/utils/logger\";\n\nimport { useFormSelectChoice } from \"@/components/FormInputs/InputSelect/InputSelectComponent\";\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type FormSelectChoice,\n type LowIncomePersonalInfoResponse,\n type LowIncomePersonalInfoViewModel,\n type LowIncomeStatus,\n type Organization,\n type State,\n type VerificationService,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n orgToOption,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { StatusComponent } from \"../FormFields/Status/StatusComponent\";\nimport { LowIncomeOrganizationComponent as LowIncomeOrganization } from \"../FormFields/LowIncomeOrganization/LowIncomeOrganizationComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { EBTCardNumberComponent } from \"../FormFields/EBTCardNumber/EBTCardNumberComponent\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { blankOrganization } from \"../../lib/types/empties\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\nimport { useCollectFieldsEndpoint } from \"../../lib/ServerApi/useCollectFieldsEndpoint\";\nimport { isCountrySelectionNeeded } from \"../FormFields/Country/countryUtils\";\n\nimport { isLowIncomeVM } from \"./lowIncomeTypes\";\n\ninterface StepLowIncomePersonalInfoComponentProps {\n verificationService: VerificationService<LowIncomePersonalInfoViewModel>;\n}\nexport const StepLowIncomePersonalInfoComponent = ({\n verificationService,\n}: StepLowIncomePersonalInfoComponentProps) => {\n const programConfiguration = useProgramConfiguration();\n const { viewModel } = verificationService;\n const options = getOptions();\n\n if (!isLowIncomeVM(viewModel)) {\n logger.error(\"Expected LowIncomePersonalInfoViewModel\");\n return null;\n }\n\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as LowIncomePersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const { availableStatuses: dynamicStatuses } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n });\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(programConfiguration, countryChoiceValue);\n\n const statusOptions = useFormSelectChoice(\n (dynamicStatuses ?? verificationResponse.availableStatuses) as LowIncomeStatus[],\n );\n\n const locale = viewModel.localeChoice.value;\n\n const selectedStatus = viewModel.statuses[0] ? viewModel.statuses[0] : undefined;\n const isSelectedStatusSnapBenefits = selectedStatus === \"SNAP_BENEFITS\";\n const updateLowIncomeViewModel = (key: keyof LowIncomePersonalInfoViewModel, value: any) => {\n if (!isLowIncomeVM(viewModel)) {\n logger.error(\"Expected LowIncomePersonalInfoViewModel\");\n return;\n }\n const nextState: LowIncomePersonalInfoViewModel = produce(\n viewModel,\n (draft: LowIncomePersonalInfoViewModel) => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n React.useEffect(() => {\n // SNAP recipients get the EBT card number field instead of an organization\n // picker, so organization cannot be validated for them. Preserve entries\n // other fields own, and drop ours again once the picker comes back.\n // A partial update cannot do this: it deep merges, which concatenates\n // arrays rather than replacing them, so entries could never be removed.\n const remaining = (viewModel.fieldsToSkipValidation || []).filter(\n (id) => id !== \"organization\",\n );\n updateLowIncomeViewModel(\n \"fieldsToSkipValidation\",\n isSelectedStatusSnapBenefits ? [...remaining, \"organization\"] : remaining,\n );\n }, [isSelectedStatusSnapBenefits]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"low-income\"\n />\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n <StatusComponent\n segmentId=\"low-income\"\n value={statusOptions.find((option) => option.value === viewModel.statuses[0])}\n isErrored={!!fieldValidationErrors.statuses}\n disabled={needToPickCountry || getFieldConfigByFieldId(\"statuses\")?.disabled}\n options={statusOptions}\n explanation={\n needToPickCountry ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : undefined\n }\n onChange={(status: FormSelectChoice<LowIncomeStatus>) => {\n const updatedStatuses = status ? [status.value as LowIncomeStatus] : [];\n const nextState: LowIncomePersonalInfoViewModel = produce(\n viewModel,\n (draft: LowIncomePersonalInfoViewModel) => {\n if (viewModel.statuses[0] !== updatedStatuses[0]) {\n draft.organization = blankOrganization.organization; // Clear out the org b/c they're of different kind\n }\n draft.statuses = updatedStatuses;\n },\n );\n verificationService.updateViewModel(nextState);\n updateFieldValidationErrorsByFieldId(\n \"statuses\",\n status ? status.value : \"\",\n verificationService,\n );\n }}\n />\n {selectedStatus === \"SNAP_BENEFITS\" && (\n <EBTCardNumberComponent\n value={viewModel.ebtCardNumber}\n isErrored={!!fieldValidationErrors.ebtCardNumber}\n disabled={getFieldConfigByFieldId(\"ebtCardNumber\")?.disabled}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"ebtCardNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"ebtCardNumber\", newValue, verificationService);\n }}\n />\n )}\n {(selectedStatus === \"OTHER_GOVERNMENT_ASSISTANCE\" ||\n selectedStatus === \"COMMUNITY_ELIGIBILITY_PROVISION\") && (\n <LowIncomeOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={orgToOption(verificationService.viewModel.organization)}\n verificationService={verificationService}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n )}\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n />\n <AddressComponent\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"address1\", newValue);\n updateFieldValidationErrorsByFieldId(\"address1\", newValue, verificationService);\n }}\n value={viewModel.address1}\n isRequired\n explanation={\n <FormattedHTMLMessage id=\"addressExplanation\" defaultMessage=\"Use your home address\" />\n }\n />\n <div className=\"sid-address-extra-fields sid-thirds\">\n <CityComponent\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"city\", newValue);\n updateFieldValidationErrorsByFieldId(\"city\", newValue, verificationService);\n }}\n value={viewModel.city}\n isRequired\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n />\n <StateSelectComponent\n isRequired\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updateLowIncomeViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n />\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n </div>\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {programConfiguration.isSmsNotifierConfigured || programConfiguration.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!programConfiguration.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n {(options.customFormFields || []).map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}{\" \"}\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectLowIncomePersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;A,4CA2DakD,KAAsC,EACjD,6BAC6C;CAC7C,IAAMC,IAAuBnC,EAAwB,GAC/C,EAAE,iBAAcoC,GAChBC,IAAU3C,EAAW;CAE3B,IAAI,CAACO,EA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|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Wed Nov 04 2026
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.318.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1793833682219
|
|
5
|
+
* BUILD_DATE: Wed Nov 04 2026 23:08:02 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: de80b03200d5bbe92c9c93c39987693a03445901
|
|
7
7
|
*/
|
|
8
8
|
import { a as e, bt as t, y as n, zt as r } from "./empties-xLh6FzDA.js";
|
|
9
9
|
import { r as i, t as a } from "./jsx-runtime-h9ybVYa3.js";
|
|
10
10
|
import { o } from "./programThemeGetters-BhNmQw7_.js";
|
|
11
11
|
import { S as s, b as c } from "./runtimeTypes-B2AGNJMT.js";
|
|
12
|
-
import { E as l, h as u } from "./FormFooterComponent-
|
|
12
|
+
import { E as l, h as u } from "./FormFooterComponent-Ci3-eCIX.js";
|
|
13
13
|
import { t as d } from "./index.es-Dw43pp1V.js";
|
|
14
14
|
import { n as f } from "../sheerid.js";
|
|
15
|
-
import { t as p } from "./useCollectFieldsEndpoint-
|
|
15
|
+
import { t as p } from "./useCollectFieldsEndpoint-axkugAWT.js";
|
|
16
16
|
import { d as m, f as h, i as g, r as _, t as v } from "./stepComponentHelpers-BcYAcI_q.js";
|
|
17
|
-
import { a as y, i as b, n as x, o as S, s as C, t as w } from "./CaptchaComponent-
|
|
17
|
+
import { a as y, i as b, n as x, o as S, s as C, t as w } from "./CaptchaComponent-Dqo1kgeK.js";
|
|
18
18
|
import { n as T, t as E } from "./PersonalInfoStepSubmitButton-jF2Q-TQ1.js";
|
|
19
19
|
import { i as D } from "./FormSelectChoice-OvLHNUCT.js";
|
|
20
|
-
import { t as O } from "./BirthDateComponent-
|
|
20
|
+
import { t as O } from "./BirthDateComponent-DCF1BrYZ.js";
|
|
21
21
|
import { t as k } from "./PostalCodeComponent-DOaiP-XH.js";
|
|
22
|
-
import { t as A } from "./CountryComponentWrapper-
|
|
22
|
+
import { t as A } from "./CountryComponentWrapper-B6ekcGSw.js";
|
|
23
23
|
import { t as j } from "./City-DoccJLpM.js";
|
|
24
24
|
import { t as M } from "./AddressComponent-BxavEqNN.js";
|
|
25
|
-
import { t as N } from "./ChangeLocaleComponent-
|
|
26
|
-
import { t as P } from "./PersonalInfoStepWrapper-
|
|
27
|
-
import { t as F } from "./countryUtils-
|
|
25
|
+
import { t as N } from "./ChangeLocaleComponent-WuEDLKSJ.js";
|
|
26
|
+
import { t as P } from "./PersonalInfoStepWrapper-DMq0FLJW.js";
|
|
27
|
+
import { t as F } from "./countryUtils-B1IlO46W.js";
|
|
28
28
|
import { t as I } from "./StateSelectComponent-Bs0zMXwM.js";
|
|
29
|
-
import { n as L, t as R } from "./LowIncomeOrganizationComponent-
|
|
29
|
+
import { n as L, t as R } from "./LowIncomeOrganizationComponent-Be_nVEU9.js";
|
|
30
30
|
import { t as z } from "./StatusComponent-wmBrTgh8.js";
|
|
31
31
|
//#region src/components/StepLowIncomePersonalInfo/StepLowIncomePersonalInfoComponent.tsx
|
|
32
32
|
var B = /* @__PURE__ */ r(i(), 1), V = a(), H = ({ verificationService: r }) => {
|