@sheerid/jslib 2.287.0 → 2.289.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 +900 -900
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-CJrrmHmU.js → AddressComponent-BFEdmLph.js} +6 -6
- package/chunk/{AddressComponent-CAljV9xQ.js.map → AddressComponent-BFEdmLph.js.map} +1 -1
- package/chunk/{AddressComponent-CAljV9xQ.js → AddressComponent-C2mollBp.js} +6 -6
- package/chunk/{AddressComponent-CJrrmHmU.js.map → AddressComponent-C2mollBp.js.map} +1 -1
- package/chunk/AnnouncingHeader-B0Ku-xl_.js +4 -4
- package/chunk/AnnouncingHeader-CXTQdbKG.js +4 -4
- package/chunk/{ApiUrls-Dz_hjktj.js → ApiUrls-mCK2IKFF.js} +5 -5
- package/chunk/{ApiUrls-Dz_hjktj.js.map → ApiUrls-mCK2IKFF.js.map} +1 -1
- package/chunk/{ApiUrls-DNSLMaf_.js → ApiUrls-ycoYioq4.js} +5 -5
- package/chunk/{ApiUrls-DNSLMaf_.js.map → ApiUrls-ycoYioq4.js.map} +1 -1
- package/chunk/{BirthDateComponent-C6inTN_d.js → BirthDateComponent-1FYtxavW.js} +6 -6
- package/chunk/{BirthDateComponent-B6CCdI1w.js.map → BirthDateComponent-1FYtxavW.js.map} +1 -1
- package/chunk/{BirthDateComponent-B6CCdI1w.js → BirthDateComponent-DbILUMIz.js} +6 -6
- package/chunk/{BirthDateComponent-C6inTN_d.js.map → BirthDateComponent-DbILUMIz.js.map} +1 -1
- package/chunk/{CaptchaComponent-BOIt_QNQ.js → CaptchaComponent-KFLJ56dX.js} +8 -8
- package/chunk/{CaptchaComponent-BOIt_QNQ.js.map → CaptchaComponent-KFLJ56dX.js.map} +1 -1
- package/chunk/{CaptchaComponent-COMDyzye.js → CaptchaComponent-L3WoxJAC.js} +8 -8
- package/chunk/{CaptchaComponent-COMDyzye.js.map → CaptchaComponent-L3WoxJAC.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-BbkEb3a6.js → ChangeLocaleComponent-BcyU0Zgd.js} +6 -6
- package/chunk/{ChangeLocaleComponent-BbkEb3a6.js.map → ChangeLocaleComponent-BcyU0Zgd.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-jY0EP0y4.js → ChangeLocaleComponent-Wju8NvwL.js} +6 -6
- package/chunk/{ChangeLocaleComponent-jY0EP0y4.js.map → ChangeLocaleComponent-Wju8NvwL.js.map} +1 -1
- package/chunk/{City-D4i6_4Pu.js → City-BXTk8t3d.js} +6 -6
- package/chunk/{City-BEHiaazP.js.map → City-BXTk8t3d.js.map} +1 -1
- package/chunk/{City-BEHiaazP.js → City-mQnP6dP2.js} +6 -6
- package/chunk/{City-D4i6_4Pu.js.map → City-mQnP6dP2.js.map} +1 -1
- package/chunk/{CollegeNameComponent-Dlypt-Wd.js → CollegeNameComponent-Bov_i0oT.js} +7 -7
- package/chunk/{CollegeNameComponent-DNCDgzhk.js.map → CollegeNameComponent-Bov_i0oT.js.map} +1 -1
- package/chunk/{CollegeNameComponent-DNCDgzhk.js → CollegeNameComponent-Df_VMbdr.js} +7 -7
- package/chunk/{CollegeNameComponent-Dlypt-Wd.js.map → CollegeNameComponent-Df_VMbdr.js.map} +1 -1
- package/chunk/CopyToClipboardComponent-BAOwMLHJ.js +4 -4
- package/chunk/CopyToClipboardComponent-BejK3fLR.js +4 -4
- package/chunk/{CountryComponentWrapper-D0nzEytT.js → CountryComponentWrapper-BSg_JhlH.js} +9 -9
- package/chunk/{CountryComponentWrapper-D0nzEytT.js.map → CountryComponentWrapper-BSg_JhlH.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-T2Bpp2gB.js → CountryComponentWrapper-dG5Zqfee.js} +9 -9
- package/chunk/{CountryComponentWrapper-T2Bpp2gB.js.map → CountryComponentWrapper-dG5Zqfee.js.map} +1 -1
- package/chunk/{DischargeDateComponent-C-HrV34I.js → DischargeDateComponent-C6BB3YwP.js} +8 -8
- package/chunk/{DischargeDateComponent-C-HrV34I.js.map → DischargeDateComponent-C6BB3YwP.js.map} +1 -1
- package/chunk/{DischargeDateComponent-bi1txW-r.js → DischargeDateComponent-D8yMgfh-.js} +8 -8
- package/chunk/{DischargeDateComponent-bi1txW-r.js.map → DischargeDateComponent-D8yMgfh-.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-ayI3u5Hr.js → DriverLicenseNumberComponent-C_wuryKm.js} +6 -6
- package/chunk/{DriverLicenseNumberComponent-CLNtUUgc.js.map → DriverLicenseNumberComponent-C_wuryKm.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-CLNtUUgc.js → DriverLicenseNumberComponent-i_ywdo3P.js} +6 -6
- package/chunk/{DriverLicenseNumberComponent-ayI3u5Hr.js.map → DriverLicenseNumberComponent-i_ywdo3P.js.map} +1 -1
- package/chunk/{EmailLoopPending-DNypwI3A.js → EmailLoopPending-DThAR1Iv.js} +6 -6
- package/chunk/{EmailLoopPending-D48nTSsQ.js.map → EmailLoopPending-DThAR1Iv.js.map} +1 -1
- package/chunk/{EmailLoopPending-D48nTSsQ.js → EmailLoopPending-Du6R4zif.js} +6 -6
- package/chunk/{EmailLoopPending-DNypwI3A.js.map → EmailLoopPending-Du6R4zif.js.map} +1 -1
- package/chunk/{ExtraMessage-D5tofP3l.js → ExtraMessage-BZ9XdOdL.js} +5 -5
- package/chunk/{ExtraMessage-D5tofP3l.js.map → ExtraMessage-BZ9XdOdL.js.map} +1 -1
- package/chunk/{ExtraMessage-D6mjCJWc.js → ExtraMessage-D1j0TLE3.js} +5 -5
- package/chunk/{ExtraMessage-D6mjCJWc.js.map → ExtraMessage-D1j0TLE3.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-BXQqq3cc.js → FirstResponderOrganizationComponent-D5UbIVyE.js} +7 -7
- package/chunk/{FirstResponderOrganizationComponent-BXQqq3cc.js.map → FirstResponderOrganizationComponent-D5UbIVyE.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-Cz-4YY2n.js → FirstResponderOrganizationComponent-D9VmCGiC.js} +7 -7
- package/chunk/{FirstResponderOrganizationComponent-Cz-4YY2n.js.map → FirstResponderOrganizationComponent-D9VmCGiC.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-DfPHGWSM.js → FormFieldInputSelect-Cf2843FO.js} +5 -5
- package/chunk/{FormFieldInputSelect-BD0avAFv.js.map → FormFieldInputSelect-Cf2843FO.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-BD0avAFv.js → FormFieldInputSelect-DFkZlHDE.js} +5 -5
- package/chunk/{FormFieldInputSelect-DfPHGWSM.js.map → FormFieldInputSelect-DFkZlHDE.js.map} +1 -1
- package/chunk/FormFieldLayout-DEKIQK2R.js +4 -4
- package/chunk/FormFieldLayout-NkmhFC9B.js +4 -4
- package/chunk/FormFieldText-Bn9WIKiI.js +4 -4
- package/chunk/FormFieldText-Py7x4EZ6.js +4 -4
- package/chunk/{FormFieldTypeahead-CexU7aJK.js → FormFieldTypeahead-CDKGsEZB.js} +7 -7
- package/chunk/{FormFieldTypeahead-CexU7aJK.js.map → FormFieldTypeahead-CDKGsEZB.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-BGUkqjm_.js → FormFieldTypeahead-DWAxDXKP.js} +7 -7
- package/chunk/{FormFieldTypeahead-BGUkqjm_.js.map → FormFieldTypeahead-DWAxDXKP.js.map} +1 -1
- package/chunk/{FormFooterComponent-DdlG9tS3.js → FormFooterComponent-BrOM_pQ9.js} +7 -7
- package/chunk/{FormFooterComponent-DdlG9tS3.js.map → FormFooterComponent-BrOM_pQ9.js.map} +1 -1
- package/chunk/{FormFooterComponent-BiJ-9fwP.js → FormFooterComponent-CP0-Wobs.js} +7 -7
- package/chunk/{FormFooterComponent-BiJ-9fwP.js.map → FormFooterComponent-CP0-Wobs.js.map} +1 -1
- package/chunk/{FormSelectChoice-DiU96It5.js → FormSelectChoice-DWG9hYtf.js} +6 -6
- package/chunk/{FormSelectChoice-DK4cBs4M.js.map → FormSelectChoice-DWG9hYtf.js.map} +1 -1
- package/chunk/{FormSelectChoice-DK4cBs4M.js → FormSelectChoice-yNUPRIKO.js} +6 -6
- package/chunk/{FormSelectChoice-DiU96It5.js.map → FormSelectChoice-yNUPRIKO.js.map} +1 -1
- package/chunk/InputText-CMu4ei8e.js +4 -4
- package/chunk/InputText-dflyPe3J.js +4 -4
- package/chunk/{LicensedProfessionalOrganizationComponent-DrNi1J9O.js → LicensedProfessionalOrganizationComponent-CdVLOkti.js} +7 -7
- package/chunk/{LicensedProfessionalOrganizationComponent-CRbyZ67V.js.map → LicensedProfessionalOrganizationComponent-CdVLOkti.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-CRbyZ67V.js → LicensedProfessionalOrganizationComponent-FBu3_XDq.js} +7 -7
- package/chunk/{LicensedProfessionalOrganizationComponent-DrNi1J9O.js.map → LicensedProfessionalOrganizationComponent-FBu3_XDq.js.map} +1 -1
- package/chunk/LogoComponent-BDhMcJvy.js +4 -4
- package/chunk/LogoComponent-DASXTR4v.js +4 -4
- package/chunk/{LowIncomeOrganizationComponent-BqttAUep.js → LowIncomeOrganizationComponent-BI4Lscrc.js} +8 -8
- package/chunk/{LowIncomeOrganizationComponent-BqttAUep.js.map → LowIncomeOrganizationComponent-BI4Lscrc.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-DJeHRnKV.js → LowIncomeOrganizationComponent-DrNEvBR8.js} +8 -8
- package/chunk/{LowIncomeOrganizationComponent-DJeHRnKV.js.map → LowIncomeOrganizationComponent-DrNEvBR8.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-StqqPfKh.js → MedicalProfessionalOrganizationComponent-BnVU_DtU.js} +7 -7
- package/chunk/{MedicalProfessionalOrganizationComponent-C9tC4-n0.js.map → MedicalProfessionalOrganizationComponent-BnVU_DtU.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-C9tC4-n0.js → MedicalProfessionalOrganizationComponent-i1AHUB2l.js} +7 -7
- package/chunk/{MedicalProfessionalOrganizationComponent-StqqPfKh.js.map → MedicalProfessionalOrganizationComponent-i1AHUB2l.js.map} +1 -1
- package/chunk/{MemberIdComponent--135FhsS.js → MemberIdComponent-BJIWA0U-.js} +6 -6
- package/chunk/{MemberIdComponent--135FhsS.js.map → MemberIdComponent-BJIWA0U-.js.map} +1 -1
- package/chunk/{MemberIdComponent-DK6TUfxB.js → MemberIdComponent-CJIKRgkP.js} +6 -6
- package/chunk/{MemberIdComponent-DK6TUfxB.js.map → MemberIdComponent-CJIKRgkP.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-CTgnzgiz.js → MembershipOrganizationComponent-B2SfBgyQ.js} +7 -7
- package/chunk/{MembershipOrganizationComponent-CTgnzgiz.js.map → MembershipOrganizationComponent-B2SfBgyQ.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-DG2QLHC2.js → MembershipOrganizationComponent-lCfT5hKV.js} +7 -7
- package/chunk/{MembershipOrganizationComponent-DG2QLHC2.js.map → MembershipOrganizationComponent-lCfT5hKV.js.map} +1 -1
- package/chunk/{Message-BBifXgZ3.js → Message-C5LUKoZw.js} +978 -976
- package/chunk/{Message-BBifXgZ3.js.map → Message-C5LUKoZw.js.map} +1 -1
- package/chunk/{Message-BL20LTBg.js → Message-CZD2IHWF.js} +5 -5
- package/chunk/{Message-BL20LTBg.js.map → Message-CZD2IHWF.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-BNUMtb0a.js → PersonalInfoStepSubmitButton-DnepwbFs.js} +10 -10
- package/chunk/{PersonalInfoStepSubmitButton-BNUMtb0a.js.map → PersonalInfoStepSubmitButton-DnepwbFs.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-NagYqca5.js → PersonalInfoStepSubmitButton-Q6g7KHwI.js} +10 -10
- package/chunk/{PersonalInfoStepSubmitButton-NagYqca5.js.map → PersonalInfoStepSubmitButton-Q6g7KHwI.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-9I7Aa79o.js → PersonalInfoStepWrapper-B7pfOMf3.js} +5 -5
- package/chunk/{PersonalInfoStepWrapper-9I7Aa79o.js.map → PersonalInfoStepWrapper-B7pfOMf3.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-DaH1p-AU.js → PersonalInfoStepWrapper-D2GlDkO6.js} +6 -6
- package/chunk/{PersonalInfoStepWrapper-DaH1p-AU.js.map → PersonalInfoStepWrapper-D2GlDkO6.js.map} +1 -1
- package/chunk/{PostalCodeComponent-CuiH815C.js → PostalCodeComponent-C-0blxoe.js} +6 -6
- package/chunk/{PostalCodeComponent-CuiH815C.js.map → PostalCodeComponent-C-0blxoe.js.map} +1 -1
- package/chunk/{PostalCodeComponent-Dg4YvxkC.js → PostalCodeComponent-C50XmPmv.js} +6 -6
- package/chunk/{PostalCodeComponent-Dg4YvxkC.js.map → PostalCodeComponent-C50XmPmv.js.map} +1 -1
- package/chunk/{SSN-D3NAFGpA.js → SSN-CjLxLrYN.js} +6 -6
- package/chunk/{SSN-D3NAFGpA.js.map → SSN-CjLxLrYN.js.map} +1 -1
- package/chunk/{SSN-x8cc3vng.js → SSN-DBPw87L6.js} +6 -6
- package/chunk/{SSN-x8cc3vng.js.map → SSN-DBPw87L6.js.map} +1 -1
- package/chunk/{StateSelectComponent-B3BsbyFa.js → StateSelectComponent-C05RJO04.js} +6 -6
- package/chunk/{StateSelectComponent-B3BsbyFa.js.map → StateSelectComponent-C05RJO04.js.map} +1 -1
- package/chunk/{StateSelectComponent-DBYcxzkn.js → StateSelectComponent-og_G8R5A.js} +6 -6
- package/chunk/{StateSelectComponent-DBYcxzkn.js.map → StateSelectComponent-og_G8R5A.js.map} +1 -1
- package/chunk/{StatusComponent-Cv67yZ8R.js → StatusComponent-CceeOAxy.js} +7 -7
- package/chunk/{StatusComponent-BxbVuoiu.js.map → StatusComponent-CceeOAxy.js.map} +1 -1
- package/chunk/{StatusComponent-BxbVuoiu.js → StatusComponent-DPs6MHNn.js} +7 -7
- package/chunk/{StatusComponent-Cv67yZ8R.js.map → StatusComponent-DPs6MHNn.js.map} +1 -1
- package/chunk/StepAgePersonalInfo-Bwdjo9Zy.js +172 -0
- package/chunk/StepAgePersonalInfo-Bwdjo9Zy.js.map +1 -0
- package/chunk/StepAgePersonalInfo-DIOOXX9y.js +176 -0
- package/chunk/StepAgePersonalInfo-DIOOXX9y.js.map +1 -0
- package/chunk/StepCard-DQ9JkAjb.js +4 -4
- package/chunk/StepCard-EHeqFY3Y.js +4 -4
- package/chunk/{StepCollectIdentifier-DlpQHPwr.js → StepCollectIdentifier-CSGIiyFf.js} +9 -9
- package/chunk/{StepCollectIdentifier-DlpQHPwr.js.map → StepCollectIdentifier-CSGIiyFf.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-D4bSGAgT.js → StepCollectIdentifier-nrcBJaBK.js} +9 -9
- package/chunk/{StepCollectIdentifier-D4bSGAgT.js.map → StepCollectIdentifier-nrcBJaBK.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-MqA789NL.js → StepCollectMilitaryPersonalInfoComponent-B6L54gOh.js} +58 -58
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CQuEF5Hc.js.map → StepCollectMilitaryPersonalInfoComponent-B6L54gOh.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CQuEF5Hc.js → StepCollectMilitaryPersonalInfoComponent-BhWPQoWG.js} +58 -58
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-MqA789NL.js.map → StepCollectMilitaryPersonalInfoComponent-BhWPQoWG.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-Blkdueac.js → StepCollectPersonalInfo-DtyiAaDl.js} +36 -36
- package/chunk/{StepCollectPersonalInfo-DYZwWO8s.js.map → StepCollectPersonalInfo-DtyiAaDl.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-DYZwWO8s.js → StepCollectPersonalInfo-Mn8W7-0u.js} +36 -36
- package/chunk/{StepCollectPersonalInfo-Blkdueac.js.map → StepCollectPersonalInfo-Mn8W7-0u.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-DmkwcwhP.js → StepCompleteAuthentication-CJpJoWRq.js} +8 -8
- package/chunk/{StepCompleteAuthentication-oWf-NQ40.js.map → StepCompleteAuthentication-CJpJoWRq.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-oWf-NQ40.js → StepCompleteAuthentication-kKdUhF9e.js} +8 -8
- package/chunk/{StepCompleteAuthentication-DmkwcwhP.js.map → StepCompleteAuthentication-kKdUhF9e.js.map} +1 -1
- package/chunk/{StepConsolation-CzjNEpxI.js → StepConsolation-DI8kcTkV.js} +5 -5
- package/chunk/{StepConsolation-CzjNEpxI.js.map → StepConsolation-DI8kcTkV.js.map} +1 -1
- package/chunk/{StepConsolation-D3E8Apmh.js → StepConsolation-DwEwhgzI.js} +5 -5
- package/chunk/{StepConsolation-D3E8Apmh.js.map → StepConsolation-DwEwhgzI.js.map} +1 -1
- package/chunk/{StepDocUpload-D3lwZHBr.js → StepDocUpload-Bv6M-Z6q.js} +6 -6
- package/chunk/{StepDocUpload-D3lwZHBr.js.map → StepDocUpload-Bv6M-Z6q.js.map} +1 -1
- package/chunk/{StepDocUpload-Ddu77ITg.js → StepDocUpload-IOE10Q6k.js} +6 -6
- package/chunk/{StepDocUpload-Ddu77ITg.js.map → StepDocUpload-IOE10Q6k.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-vg7monLn.js → StepDriverLicensePersonalInfoComponent-CT2uHtsZ.js} +28 -28
- package/chunk/{StepDriverLicensePersonalInfoComponent-BvwuFoXL.js.map → StepDriverLicensePersonalInfoComponent-CT2uHtsZ.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-BvwuFoXL.js → StepDriverLicensePersonalInfoComponent-DxgQc-yw.js} +28 -28
- package/chunk/{StepDriverLicensePersonalInfoComponent-vg7monLn.js.map → StepDriverLicensePersonalInfoComponent-DxgQc-yw.js.map} +1 -1
- package/chunk/{StepEmailLoop-C2dukW7l.js → StepEmailLoop-Bo5BbGQu.js} +9 -9
- package/chunk/{StepEmailLoop-2BC_llWt.js.map → StepEmailLoop-Bo5BbGQu.js.map} +1 -1
- package/chunk/{StepEmailLoop-2BC_llWt.js → StepEmailLoop-j2264k-N.js} +9 -9
- package/chunk/{StepEmailLoop-C2dukW7l.js.map → StepEmailLoop-j2264k-N.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-Dubco5i-.js → StepEmploymentPersonalInfo-B2vkSor6.js} +23 -23
- package/chunk/{StepEmploymentPersonalInfo-CtYYyHKS.js.map → StepEmploymentPersonalInfo-B2vkSor6.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-CtYYyHKS.js → StepEmploymentPersonalInfo-DuOMR21_.js} +23 -23
- package/chunk/{StepEmploymentPersonalInfo-Dubco5i-.js.map → StepEmploymentPersonalInfo-DuOMR21_.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-Cr3WqNMh.js → StepFirstResponderPersonalInfo-4wxW2cgL.js} +39 -39
- package/chunk/{StepFirstResponderPersonalInfo-CGYBZNTh.js.map → StepFirstResponderPersonalInfo-4wxW2cgL.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-CGYBZNTh.js → StepFirstResponderPersonalInfo-CizcIcEl.js} +39 -39
- package/chunk/{StepFirstResponderPersonalInfo-Cr3WqNMh.js.map → StepFirstResponderPersonalInfo-CizcIcEl.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-5CpheLjr.js → StepGeneralIdentityPersonalInfoComponent-CTfP5Oeu.js} +37 -37
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-5CpheLjr.js.map → StepGeneralIdentityPersonalInfoComponent-CTfP5Oeu.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-ClVB43d-.js → StepGeneralIdentityPersonalInfoComponent-P8d-Wb4X.js} +37 -37
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-ClVB43d-.js.map → StepGeneralIdentityPersonalInfoComponent-P8d-Wb4X.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-DxIZgVIN.js → StepHybridIdentityPersonalInfoComponent-BRmrt3mv.js} +40 -40
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BkYaeKq5.js.map → StepHybridIdentityPersonalInfoComponent-BRmrt3mv.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BkYaeKq5.js → StepHybridIdentityPersonalInfoComponent-ErhEZ-zI.js} +40 -40
- package/chunk/{StepHybridIdentityPersonalInfoComponent-DxIZgVIN.js.map → StepHybridIdentityPersonalInfoComponent-ErhEZ-zI.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-D895wubp.js → StepIDCheckLoop-B3ClVxOi.js} +5 -5
- package/chunk/{StepIDCheckLoop-BKQMci0g.js.map → StepIDCheckLoop-B3ClVxOi.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-BKQMci0g.js → StepIDCheckLoop-BCJs6usj.js} +5 -5
- package/chunk/{StepIDCheckLoop-D895wubp.js.map → StepIDCheckLoop-BCJs6usj.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-yLiY3DKt.js → StepIDCheckLoopOnfido-B4zpvkRd.js} +7 -7
- package/chunk/{StepIDCheckLoopOnfido-yLiY3DKt.js.map → StepIDCheckLoopOnfido-B4zpvkRd.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-DK9tXC19.js → StepIDCheckLoopOnfido-DRZ4kP4R.js} +7 -7
- package/chunk/{StepIDCheckLoopOnfido-DK9tXC19.js.map → StepIDCheckLoopOnfido-DRZ4kP4R.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-Co5e1j2Q.js → StepIDCheckLoopRegula-CFgyZ_rn.js} +6 -6
- package/chunk/{StepIDCheckLoopRegula-BPQV1k_O.js.map → StepIDCheckLoopRegula-CFgyZ_rn.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-BPQV1k_O.js → StepIDCheckLoopRegula-Db6p5Cwl.js} +6 -6
- package/chunk/{StepIDCheckLoopRegula-Co5e1j2Q.js.map → StepIDCheckLoopRegula-Db6p5Cwl.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-Dv46p6q2.js → StepLicensedProfessionalPersonalInfo-De005KQe.js} +39 -39
- package/chunk/{StepLicensedProfessionalPersonalInfo-Dv46p6q2.js.map → StepLicensedProfessionalPersonalInfo-De005KQe.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-b4RPIfkb.js → StepLicensedProfessionalPersonalInfo-uC90t0Ka.js} +39 -39
- package/chunk/{StepLicensedProfessionalPersonalInfo-b4RPIfkb.js.map → StepLicensedProfessionalPersonalInfo-uC90t0Ka.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-BPH02BAz.js → StepLowIncomePersonalInfo-BXeW16K1.js} +51 -51
- package/chunk/{StepLowIncomePersonalInfo-BPH02BAz.js.map → StepLowIncomePersonalInfo-BXeW16K1.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-mgIrT_8x.js → StepLowIncomePersonalInfo-DeQ6ug4-.js} +51 -51
- package/chunk/{StepLowIncomePersonalInfo-mgIrT_8x.js.map → StepLowIncomePersonalInfo-DeQ6ug4-.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-CO6Nog70.js → StepMedicalProfessionalPersonalInfo-DYhclBtt.js} +44 -44
- package/chunk/{StepMedicalProfessionalPersonalInfo-CO6Nog70.js.map → StepMedicalProfessionalPersonalInfo-DYhclBtt.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-MLaT1AQH.js → StepMedicalProfessionalPersonalInfo-EGaswECh.js} +44 -44
- package/chunk/{StepMedicalProfessionalPersonalInfo-MLaT1AQH.js.map → StepMedicalProfessionalPersonalInfo-EGaswECh.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-DqO6GrME.js → StepMemberPersonalInfo-DmqP1UcS.js} +35 -35
- package/chunk/{StepMemberPersonalInfo-DLPHUDJS.js.map → StepMemberPersonalInfo-DmqP1UcS.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-DLPHUDJS.js → StepMemberPersonalInfo-VUcdpf1p.js} +35 -35
- package/chunk/{StepMemberPersonalInfo-DqO6GrME.js.map → StepMemberPersonalInfo-VUcdpf1p.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-CkjQ6i7V.js → StepMoverPersonalInfo-BAy0fOpJ.js} +28 -28
- package/chunk/{StepMoverPersonalInfo-B-EAZZTp.js.map → StepMoverPersonalInfo-BAy0fOpJ.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-B-EAZZTp.js → StepMoverPersonalInfo-CBaYoFQM.js} +28 -28
- package/chunk/{StepMoverPersonalInfo-CkjQ6i7V.js.map → StepMoverPersonalInfo-CBaYoFQM.js.map} +1 -1
- package/chunk/{StepOverrideComponent-CeMHVu_2.js → StepOverrideComponent-BU8tncVB.js} +6 -6
- package/chunk/{StepOverrideComponent-BKM8B40J.js.map → StepOverrideComponent-BU8tncVB.js.map} +1 -1
- package/chunk/{StepOverrideComponent-BKM8B40J.js → StepOverrideComponent-Bo0bkoYg.js} +6 -6
- package/chunk/{StepOverrideComponent-CeMHVu_2.js.map → StepOverrideComponent-Bo0bkoYg.js.map} +1 -1
- package/chunk/{StepSMSLoop-BwVhwpaO.js → StepSMSLoop-DLRGvoY8.js} +5 -5
- package/chunk/{StepSMSLoop-BwVhwpaO.js.map → StepSMSLoop-DLRGvoY8.js.map} +1 -1
- package/chunk/{StepSMSLoop-RYr51_dF.js → StepSMSLoop-usK-uwDi.js} +5 -5
- package/chunk/{StepSMSLoop-RYr51_dF.js.map → StepSMSLoop-usK-uwDi.js.map} +1 -1
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-D0vgQBsC.js → StepSocialSecurityNumber-Dr0IZbPK.js} +10 -10
- package/chunk/{StepSocialSecurityNumber-D0vgQBsC.js.map → StepSocialSecurityNumber-Dr0IZbPK.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-Dxoe5edN.js → StepSocialSecurityNumber-qFfdO1Gp.js} +10 -10
- package/chunk/{StepSocialSecurityNumber-Dxoe5edN.js.map → StepSocialSecurityNumber-qFfdO1Gp.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-DX9xaTt3.js → StepStudentPersonalInfo-A3yGbDk7.js} +38 -38
- package/chunk/{StepStudentPersonalInfo-DX9xaTt3.js.map → StepStudentPersonalInfo-A3yGbDk7.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-ayiFsJov.js → StepStudentPersonalInfo-B-RKUSVb.js} +38 -38
- package/chunk/{StepStudentPersonalInfo-ayiFsJov.js.map → StepStudentPersonalInfo-B-RKUSVb.js.map} +1 -1
- package/chunk/{StepSuccess-B_jflAwW.js → StepSuccess-CDyGNq3Q.js} +6 -6
- package/chunk/{StepSuccess-BpxyX77R.js.map → StepSuccess-CDyGNq3Q.js.map} +1 -1
- package/chunk/{StepSuccess-BpxyX77R.js → StepSuccess-Dviigo8q.js} +6 -6
- package/chunk/{StepSuccess-B_jflAwW.js.map → StepSuccess-Dviigo8q.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-DOyQ1_dK.js → StepTeacherPersonalInfo-D4UTbPDB.js} +34 -34
- package/chunk/{StepTeacherPersonalInfo-CiGSwW0v.js.map → StepTeacherPersonalInfo-D4UTbPDB.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-CiGSwW0v.js → StepTeacherPersonalInfo-DUZmMYli.js} +34 -34
- package/chunk/{StepTeacherPersonalInfo-DOyQ1_dK.js.map → StepTeacherPersonalInfo-DUZmMYli.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-Y3fcrHQz.js → TeacherSchoolComponent-CPoc8ceQ.js} +7 -7
- package/chunk/{TeacherSchoolComponent-BFtlvNC3.js.map → TeacherSchoolComponent-CPoc8ceQ.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-BFtlvNC3.js → TeacherSchoolComponent-D_yKCvzI.js} +7 -7
- package/chunk/{TeacherSchoolComponent-Y3fcrHQz.js.map → TeacherSchoolComponent-D_yKCvzI.js.map} +1 -1
- package/chunk/TestingRouteOverrides-EggQSvgh.js +4 -4
- package/chunk/TestingRouteOverrides-ipf_F-iY.js +4 -4
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- 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-CB5rauS5.js +4 -4
- package/chunk/countryUtils-BBN8jYxF.js +4 -4
- package/chunk/countryUtils-n_5QoHGV.js +4 -4
- 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-DOLBdeca.js → downshift.esm-BbUU6siB.js} +5 -5
- package/chunk/{downshift.esm-BN-aEWbS.js.map → downshift.esm-BbUU6siB.js.map} +1 -1
- package/chunk/{downshift.esm-BN-aEWbS.js → downshift.esm-CF8pnAPi.js} +5 -5
- package/chunk/{downshift.esm-DOLBdeca.js.map → downshift.esm-CF8pnAPi.js.map} +1 -1
- package/chunk/el-DbDcvSPJ.js +4 -4
- package/chunk/empties-DHI3R7ys.js +4 -4
- package/chunk/empties-Dhc64eA5.js +4 -4
- package/chunk/en-GB-BBkjjtqq.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/hi-IN-l6Rn5Ewm.js +4 -4
- package/chunk/hooks-BlwolTIT.js +4 -4
- package/chunk/hooks-gC9DtNY1.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/intl-CvSmE54g.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-CyXcV_93.js +4 -4
- package/chunk/jsx-runtime-JSlXFmKD.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/mockProgramTheme-CBqgtg7A.js +4 -4
- package/chunk/mocks-Dpf6dNc6.js +4 -4
- package/chunk/mocks-DrV8NINc.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/options-CRzdSTAR.js +4 -4
- package/chunk/pl-UYTjMIq_.js +4 -4
- package/chunk/programThemeGetters-DYWYXv-a.js +4 -4
- package/chunk/programThemeGetters-VBnkSxuj.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-CcEMtmwt.js → stepComponentHelpers-Bxse3jnq.js} +37 -46
- package/chunk/stepComponentHelpers-Bxse3jnq.js.map +1 -0
- package/chunk/{stepComponentHelpers-BFyXhiWa.js → stepComponentHelpers-CQUMKZ_f.js} +37 -46
- package/chunk/stepComponentHelpers-CQUMKZ_f.js.map +1 -0
- 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-CIBjRIaL.js → useCollectFieldsEndpoint-BW9WTICZ.js} +6 -6
- package/chunk/{useCollectFieldsEndpoint-D65zxif7.js.map → useCollectFieldsEndpoint-BW9WTICZ.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-D65zxif7.js → useCollectFieldsEndpoint-DBKghe_8.js} +6 -6
- package/chunk/{useCollectFieldsEndpoint-CIBjRIaL.js.map → useCollectFieldsEndpoint-DBKghe_8.js.map} +1 -1
- package/chunk/useMetrics-C3KNudJk.js +4 -4
- package/chunk/useMetrics-Cjo0Vkjx.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 +37 -37
- package/chunk/StepAgePersonalInfo-Lx61MmjN.js +0 -175
- package/chunk/StepAgePersonalInfo-Lx61MmjN.js.map +0 -1
- package/chunk/StepAgePersonalInfo-TnXgTLlB.js +0 -171
- package/chunk/StepAgePersonalInfo-TnXgTLlB.js.map +0 -1
- package/chunk/stepComponentHelpers-BFyXhiWa.js.map +0 -1
- package/chunk/stepComponentHelpers-CcEMtmwt.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepMedicalProfessionalPersonalInfo-MLaT1AQH.js","names":[],"sources":["../../src/components/StepMedicalProfessionalPersonalInfo/StepMedicalProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\n\nimport { isCountrySelectionNeeded } from \"../FormFields/Country/countryUtils\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type FormSelectChoice,\n type Organization,\n type MedicalProfessionalPersonalInfoViewModel,\n type MedicalProfessionalPersonalInfoResponse,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n produceDraftViewModel,\n getStatusLabel,\n getStatusOptions,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\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 { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { StatusComponent as MedicalStatus } from \"../FormFields/Status/StatusComponent\";\nimport { MedicalProfessionalOrganizationComponent as MedicalProfessionalOrganization } from \"../FormFields/MedicalProfessionalOrganization/MedicalProfessionalOrganizationComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { MemberIdComponent as MemberId } from \"../FormFields/MemberId/MemberIdComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepMedicalProfessionalPersonalInfoComponentProps {\n verificationService: VerificationService;\n intl: any;\n}\n\ntype MemberIdFieldType =\n | \"registrationNumber\"\n | \"numeroColegiado\"\n | \"autorisationsId\"\n | \"globalLocationNumber\"\n | \"gbrNummer\";\n\nconst memberIdMessageKeysByCountry: Record<string, MemberIdFieldType> = {\n AT: \"gbrNummer\",\n ES: \"numeroColegiado\",\n DK: \"autorisationsId\",\n CH: \"globalLocationNumber\",\n IE: \"registrationNumber\",\n GB: \"registrationNumber\",\n};\n\nconst getMemberIdMessageKeys = (country: string) => {\n const memberIdFieldType: MemberIdFieldType =\n memberIdMessageKeysByCountry[country] || \"registrationNumber\";\n return {\n labelKey: `step.collectMedicalPersonalInfo.${memberIdFieldType}Label`,\n explanationKey: `step.collectMedicalPersonalInfo.${memberIdFieldType}Explanation`,\n };\n};\n\nexport const StepMedicalProfessionalPersonalInfo = ({\n intl,\n verificationService,\n}: StepMedicalProfessionalPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MedicalProfessionalPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MedicalProfessionalPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n\n const locale = viewModel.localeChoice.value;\n\n const updateMedicalProfessionalViewModel = (\n key: keyof MedicalProfessionalPersonalInfoViewModel,\n value: any,\n ) => {\n const nextState = produceDraftViewModel(viewModel, key, value);\n verificationService.updateViewModel(nextState);\n };\n\n const { isFieldOptional, availableStatuses: dynamicStatuses } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n });\n const shouldRenderMemberId = isFieldOptional(\"memberId\");\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(\n verificationService.programTheme,\n countryChoiceValue,\n );\n\n const statusOptions = getStatusOptions(\n intl,\n dynamicStatuses ?? verificationResponse.availableStatuses,\n );\n\n React.useEffect(() => {\n // If the memberId field is not rendered, we shouldn't validate it\n // partially update to avoid clobbering the rest of the viewModel\n const existing = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"memberId\",\n );\n if (shouldRenderMemberId) {\n verificationService.updateViewModel({ fieldsToSkipValidation: existing }, { partial: true });\n } else {\n verificationService.updateViewModel(\n { fieldsToSkipValidation: [...existing, \"memberId\"] },\n { partial: true },\n );\n }\n }, [shouldRenderMemberId]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"medical-personal-info\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n <MedicalStatus\n segmentId=\"medical\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status),\n }}\n isErrored={!!fieldValidationErrors.status}\n options={statusOptions}\n disabled={needToPickCountry || getFieldConfigByFieldId(\"status\")?.disabled}\n explanation={\n needToPickCountry ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : undefined\n }\n onChange={(status: FormSelectChoice) => {\n updateMedicalProfessionalViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n <MedicalProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={\n (verificationService.viewModel as MedicalProfessionalPersonalInfoViewModel).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 updateMedicalProfessionalViewModel(\"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 updateMedicalProfessionalViewModel(\"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 updateMedicalProfessionalViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n />\n <PostalCode\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"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 updateMedicalProfessionalViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n {shouldRenderMemberId && (\n <MemberId\n value={viewModel.memberId}\n isErrored={!!fieldValidationErrors.memberId}\n isRequired={getFieldConfigByFieldId(\"memberId\")?.requireIfOptional}\n disabled={getFieldConfigByFieldId(\"memberId\")?.disabled}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"memberId\", newValue);\n updateFieldValidationErrorsByFieldId(\"memberId\", newValue, verificationService);\n }}\n explanation={\n <FormattedHTMLMessage\n id={getMemberIdMessageKeys(viewModel.country).explanationKey}\n defaultMessage=\"Your Professional Membership Registration Number\"\n />\n }\n label={\n <FormattedHTMLMessage\n id={getMemberIdMessageKeys(viewModel.country).labelKey}\n defaultMessage=\"Registration Number\"\n />\n }\n />\n )}\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 updateMedicalProfessionalViewModel(\"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 <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectMedicalProfessionalPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Medical Professional Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepMedicalProfessionalPersonalInfoComponent = injectIntl(\n StepMedicalProfessionalPersonalInfo,\n);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;4CA6DM,IAAkE;CACtE,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;AACN,GAEM,KA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D,UAAU,EAAwB,UAAU,GAAG;IAC/C,WAAW,MAAa;KAEtB,AADA,EAAmC,YAAY,CAAQ,GACvD,EAAqC,YAAY,GAAU,CAAmB;IAChF;IACA,aACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAI,EAAuB,EAAU,OAAO,EAAE;KAC9C,gBAAe;IAChB,CAAA;IAEH,OACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAI,EAAuB,EAAU,OAAO,EAAE;KAC9C,gBAAe;IAChB,CAAA;GAEJ,CAAA;GAEF,EAAQ,iBAAiB,KAAK,MAC7B,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAmC,YAAY;MAC7C,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB,CAIA"}
|
|
1
|
+
{"version":3,"file":"StepMedicalProfessionalPersonalInfo-EGaswECh.js","names":[],"sources":["../../src/components/StepMedicalProfessionalPersonalInfo/StepMedicalProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\n\nimport { isCountrySelectionNeeded } from \"../FormFields/Country/countryUtils\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type FormSelectChoice,\n type Organization,\n type MedicalProfessionalPersonalInfoViewModel,\n type MedicalProfessionalPersonalInfoResponse,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n produceDraftViewModel,\n getStatusLabel,\n getStatusOptions,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\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 { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { StatusComponent as MedicalStatus } from \"../FormFields/Status/StatusComponent\";\nimport { MedicalProfessionalOrganizationComponent as MedicalProfessionalOrganization } from \"../FormFields/MedicalProfessionalOrganization/MedicalProfessionalOrganizationComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { MemberIdComponent as MemberId } from \"../FormFields/MemberId/MemberIdComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepMedicalProfessionalPersonalInfoComponentProps {\n verificationService: VerificationService;\n intl: any;\n}\n\ntype MemberIdFieldType =\n | \"registrationNumber\"\n | \"numeroColegiado\"\n | \"autorisationsId\"\n | \"globalLocationNumber\"\n | \"gbrNummer\";\n\nconst memberIdMessageKeysByCountry: Record<string, MemberIdFieldType> = {\n AT: \"gbrNummer\",\n ES: \"numeroColegiado\",\n DK: \"autorisationsId\",\n CH: \"globalLocationNumber\",\n IE: \"registrationNumber\",\n GB: \"registrationNumber\",\n};\n\nconst getMemberIdMessageKeys = (country: string) => {\n const memberIdFieldType: MemberIdFieldType =\n memberIdMessageKeysByCountry[country] || \"registrationNumber\";\n return {\n labelKey: `step.collectMedicalPersonalInfo.${memberIdFieldType}Label`,\n explanationKey: `step.collectMedicalPersonalInfo.${memberIdFieldType}Explanation`,\n };\n};\n\nexport const StepMedicalProfessionalPersonalInfo = ({\n intl,\n verificationService,\n}: StepMedicalProfessionalPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MedicalProfessionalPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MedicalProfessionalPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n\n const locale = viewModel.localeChoice.value;\n\n const updateMedicalProfessionalViewModel = (\n key: keyof MedicalProfessionalPersonalInfoViewModel,\n value: any,\n ) => {\n const nextState = produceDraftViewModel(viewModel, key, value);\n verificationService.updateViewModel(nextState);\n };\n\n const { isFieldOptional, availableStatuses: dynamicStatuses } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n });\n const shouldRenderMemberId = isFieldOptional(\"memberId\");\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(\n verificationService.programTheme,\n countryChoiceValue,\n );\n\n const statusOptions = getStatusOptions(\n intl,\n dynamicStatuses ?? verificationResponse.availableStatuses,\n );\n\n React.useEffect(() => {\n // If the memberId field is not rendered, we shouldn't validate it\n // partially update to avoid clobbering the rest of the viewModel\n const existing = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"memberId\",\n );\n if (shouldRenderMemberId) {\n verificationService.updateViewModel({ fieldsToSkipValidation: existing }, { partial: true });\n } else {\n verificationService.updateViewModel(\n { fieldsToSkipValidation: [...existing, \"memberId\"] },\n { partial: true },\n );\n }\n }, [shouldRenderMemberId]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"medical-personal-info\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n <MedicalStatus\n segmentId=\"medical\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status),\n }}\n isErrored={!!fieldValidationErrors.status}\n options={statusOptions}\n disabled={needToPickCountry || getFieldConfigByFieldId(\"status\")?.disabled}\n explanation={\n needToPickCountry ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : undefined\n }\n onChange={(status: FormSelectChoice) => {\n updateMedicalProfessionalViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n <MedicalProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={\n (verificationService.viewModel as MedicalProfessionalPersonalInfoViewModel).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 updateMedicalProfessionalViewModel(\"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 updateMedicalProfessionalViewModel(\"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 updateMedicalProfessionalViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n />\n <PostalCode\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"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 updateMedicalProfessionalViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n {shouldRenderMemberId && (\n <MemberId\n value={viewModel.memberId}\n isErrored={!!fieldValidationErrors.memberId}\n isRequired={getFieldConfigByFieldId(\"memberId\")?.requireIfOptional}\n disabled={getFieldConfigByFieldId(\"memberId\")?.disabled}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"memberId\", newValue);\n updateFieldValidationErrorsByFieldId(\"memberId\", newValue, verificationService);\n }}\n explanation={\n <FormattedHTMLMessage\n id={getMemberIdMessageKeys(viewModel.country).explanationKey}\n defaultMessage=\"Your Professional Membership Registration Number\"\n />\n }\n label={\n <FormattedHTMLMessage\n id={getMemberIdMessageKeys(viewModel.country).labelKey}\n defaultMessage=\"Registration Number\"\n />\n }\n />\n )}\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 updateMedicalProfessionalViewModel(\"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 <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectMedicalProfessionalPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Medical Professional Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepMedicalProfessionalPersonalInfoComponent = injectIntl(\n StepMedicalProfessionalPersonalInfo,\n);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;4CA6DM,IAAkE;CACtE,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;AACN,GAEM,KAA0B,MAAoB;CAClD,IAAM,IACJ,EAA6B,MAAY;CAC3C,OAAO;EACL,UAAU,mCAAmC,EAAkB;EAC/D,gBAAgB,mCAAmC,EAAkB;CACvE;AACF,GAsPa,IAA+C,GApPR,EAClD,SACA,6BACuD;CACvD,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAU,EAAW,GAErB,IAAS,EAAU,aAAa,OAEhC,KACJ,GACA,MACG;EACH,IAAM,IAAY,EAAsB,GAAW,GAAK,CAAK;EAC7D,EAAoB,gBAAgB,CAAS;CAC/C,GAEM,EAAE,oBAAiB,mBAAmB,MAAoB,EAAyB;EACvF,gBAAgB,EAAqB;EACrC,aAAa,EAAqB;EAClC;CACF,CAAC,GACK,IAAuB,EAAgB,UAAU,GAEjD,IAAqB,EAAU,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C,YAAY;MAC7C,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB,CAIA"}
|
|
@@ -4,29 +4,29 @@
|
|
|
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:
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.289.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1789773579865
|
|
9
|
+
* BUILD_DATE: Fri Sep 18 2026 23:19:39 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 97371345cabb92f713fd30bd7baf2bb5e4a9f973
|
|
11
11
|
*/
|
|
12
12
|
import { Ot as e, p as t, s as n } from "./intl-CvSmE54g.js";
|
|
13
13
|
import { b as r } from "./runtimeTypes-B2AGNJMT.js";
|
|
14
14
|
import { c as i, n as a, t as o } from "./jsx-runtime-JSlXFmKD.js";
|
|
15
|
-
import { p as s } from "./FormFooterComponent-
|
|
15
|
+
import { p as s } from "./FormFooterComponent-BrOM_pQ9.js";
|
|
16
16
|
import { t as c } from "../_mysheerid-preview.js";
|
|
17
|
-
import {
|
|
18
|
-
import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-
|
|
19
|
-
import { n as y, t as b } from "./PersonalInfoStepSubmitButton-
|
|
20
|
-
import { t as x } from "./BirthDateComponent-
|
|
21
|
-
import { t as S } from "./CountryComponentWrapper-
|
|
22
|
-
import { t as C } from "./ExtraMessage-
|
|
23
|
-
import { t as w } from "./ChangeLocaleComponent-
|
|
24
|
-
import { t as T } from "./PersonalInfoStepWrapper-
|
|
25
|
-
import { t as E } from "./MemberIdComponent-
|
|
26
|
-
import { t as D } from "./MembershipOrganizationComponent-
|
|
17
|
+
import { h as l, m as u, n as d, o as f } from "./stepComponentHelpers-Bxse3jnq.js";
|
|
18
|
+
import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-KFLJ56dX.js";
|
|
19
|
+
import { n as y, t as b } from "./PersonalInfoStepSubmitButton-Q6g7KHwI.js";
|
|
20
|
+
import { t as x } from "./BirthDateComponent-DbILUMIz.js";
|
|
21
|
+
import { t as S } from "./CountryComponentWrapper-BSg_JhlH.js";
|
|
22
|
+
import { t as C } from "./ExtraMessage-D1j0TLE3.js";
|
|
23
|
+
import { t as w } from "./ChangeLocaleComponent-BcyU0Zgd.js";
|
|
24
|
+
import { t as T } from "./PersonalInfoStepWrapper-D2GlDkO6.js";
|
|
25
|
+
import { t as E } from "./MemberIdComponent-CJIKRgkP.js";
|
|
26
|
+
import { t as D } from "./MembershipOrganizationComponent-B2SfBgyQ.js";
|
|
27
27
|
//#region src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.tsx
|
|
28
28
|
var O = /* @__PURE__ */ e(i(), 1), k = o(), A = ({ verificationService: e }) => {
|
|
29
|
-
let i = e.viewModel, { fieldValidationErrors: o } = e, A = e.verificationResponse, j = s(A), M = n(), N =
|
|
29
|
+
let i = e.viewModel, { fieldValidationErrors: o } = e, A = e.verificationResponse, j = s(A), M = n(), N = d("memberId")?.requireIfOptional, P = i.localeChoice.value, F = (n, r) => {
|
|
30
30
|
let a = t(i, (e) => {
|
|
31
31
|
e[n] = r;
|
|
32
32
|
});
|
|
@@ -46,15 +46,15 @@ var O = /* @__PURE__ */ e(i(), 1), k = o(), A = ({ verificationService: e }) =>
|
|
|
46
46
|
/* @__PURE__ */ (0, k.jsx)(w, { verificationService: e }),
|
|
47
47
|
/* @__PURE__ */ (0, k.jsx)(S, {
|
|
48
48
|
verificationService: e,
|
|
49
|
-
disabled:
|
|
49
|
+
disabled: d("country")?.disabled
|
|
50
50
|
}),
|
|
51
51
|
/* @__PURE__ */ (0, k.jsx)(D, {
|
|
52
52
|
value: e.viewModel.organization,
|
|
53
53
|
verificationService: e,
|
|
54
54
|
isErrored: !!o.organization,
|
|
55
|
-
disabled:
|
|
55
|
+
disabled: d("organization")?.disabled,
|
|
56
56
|
onChange: (t) => {
|
|
57
|
-
l(t, e),
|
|
57
|
+
l(t, e), u("organization", t, e);
|
|
58
58
|
}
|
|
59
59
|
}),
|
|
60
60
|
/* @__PURE__ */ (0, k.jsxs)("div", {
|
|
@@ -62,16 +62,16 @@ var O = /* @__PURE__ */ e(i(), 1), k = o(), A = ({ verificationService: e }) =>
|
|
|
62
62
|
children: [/* @__PURE__ */ (0, k.jsx)(p, {
|
|
63
63
|
value: i.firstName,
|
|
64
64
|
isErrored: !!o.firstName,
|
|
65
|
-
disabled:
|
|
65
|
+
disabled: d("firstName")?.disabled,
|
|
66
66
|
onChange: (t) => {
|
|
67
|
-
F("firstName", t),
|
|
67
|
+
F("firstName", t), u("firstName", t, e);
|
|
68
68
|
}
|
|
69
69
|
}), /* @__PURE__ */ (0, k.jsx)(m, {
|
|
70
70
|
value: i.lastName,
|
|
71
71
|
isErrored: !!o.lastName,
|
|
72
|
-
disabled:
|
|
72
|
+
disabled: d("lastName")?.disabled,
|
|
73
73
|
onChange: (t) => {
|
|
74
|
-
F("lastName", t),
|
|
74
|
+
F("lastName", t), u("lastName", t, e);
|
|
75
75
|
}
|
|
76
76
|
})]
|
|
77
77
|
}),
|
|
@@ -83,28 +83,28 @@ var O = /* @__PURE__ */ e(i(), 1), k = o(), A = ({ verificationService: e }) =>
|
|
|
83
83
|
defaultMessage: " "
|
|
84
84
|
}),
|
|
85
85
|
onChange: (t) => {
|
|
86
|
-
F("email", t),
|
|
86
|
+
F("email", t), u("email", t, e);
|
|
87
87
|
},
|
|
88
|
-
onKeyDown: (e) =>
|
|
89
|
-
disabled:
|
|
88
|
+
onKeyDown: (e) => f(e),
|
|
89
|
+
disabled: d("email")?.disabled
|
|
90
90
|
}),
|
|
91
91
|
/* @__PURE__ */ (0, k.jsx)(x, {
|
|
92
92
|
errorId: o.birthDate,
|
|
93
93
|
locale: P,
|
|
94
|
-
isRequired:
|
|
94
|
+
isRequired: d("birthDate")?.requireIfOptional,
|
|
95
95
|
onChange: (t) => {
|
|
96
|
-
F("birthDate", t),
|
|
96
|
+
F("birthDate", t), u("birthDate", t, e);
|
|
97
97
|
},
|
|
98
98
|
value: i.birthDate,
|
|
99
|
-
disabled:
|
|
99
|
+
disabled: d("birthDate")?.disabled
|
|
100
100
|
}),
|
|
101
101
|
/* @__PURE__ */ (0, k.jsx)(E, {
|
|
102
102
|
value: i.memberId,
|
|
103
103
|
isErrored: !!o.memberId,
|
|
104
104
|
isRequired: N,
|
|
105
|
-
disabled:
|
|
105
|
+
disabled: d("memberId")?.disabled,
|
|
106
106
|
onChange: (t) => {
|
|
107
|
-
F("memberId", t),
|
|
107
|
+
F("memberId", t), u("memberId", t, e);
|
|
108
108
|
}
|
|
109
109
|
}),
|
|
110
110
|
e.programTheme.isSmsNotifierConfigured || e.programTheme.smsLoopEnabled ? /* @__PURE__ */ (0, k.jsx)(g, {
|
|
@@ -112,10 +112,10 @@ var O = /* @__PURE__ */ e(i(), 1), k = o(), A = ({ verificationService: e }) =>
|
|
|
112
112
|
value: i.phoneNumber,
|
|
113
113
|
isErrored: !!o.phoneNumber,
|
|
114
114
|
onChange: (t) => {
|
|
115
|
-
F("phoneNumber", t),
|
|
115
|
+
F("phoneNumber", t), u("phoneNumber", t, e);
|
|
116
116
|
},
|
|
117
117
|
selectedCountryCode: i.countryChoice && i.countryChoice.value,
|
|
118
|
-
disabled:
|
|
118
|
+
disabled: d("phoneNumber")?.disabled
|
|
119
119
|
}) : null,
|
|
120
120
|
M.customFormFields.map((t) => /* @__PURE__ */ (0, k.jsx)(h, {
|
|
121
121
|
config: t,
|
|
@@ -128,10 +128,10 @@ var O = /* @__PURE__ */ e(i(), 1), k = o(), A = ({ verificationService: e }) =>
|
|
|
128
128
|
F("metadata", {
|
|
129
129
|
...e.viewModel.metadata,
|
|
130
130
|
marketConsentValue: t
|
|
131
|
-
}),
|
|
131
|
+
}), u("marketConsentValue", t, e);
|
|
132
132
|
},
|
|
133
133
|
viewModel: i,
|
|
134
|
-
disabled:
|
|
134
|
+
disabled: d("marketConsentValue")?.disabled
|
|
135
135
|
}),
|
|
136
136
|
/* @__PURE__ */ (0, k.jsx)(C, {
|
|
137
137
|
verificationService: e,
|
package/chunk/{StepMemberPersonalInfo-DLPHUDJS.js.map → StepMemberPersonalInfo-DmqP1UcS.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepMemberPersonalInfo-DLPHUDJS.js","names":[],"sources":["../../src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type Organization,\n type MemberPersonalInfoViewModel,\n type MemberPersonalInfoResponse,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\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 { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { MemberIdComponent as MemberId } from \"../FormFields/MemberId/MemberIdComponent\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { MembershipOrganizationComponent } from \"../FormFields/MembershipOrganization/MembershipOrganizationComponent\";\nimport { MarketConsentWrapperComponent } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepMemberPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nconst StepMemberPersonalInfo = ({ verificationService }: StepMemberPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MemberPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MemberPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n const isMemberIdRequired = getFieldConfigByFieldId(\"memberId\")?.requireIfOptional;\n\n const locale = viewModel.localeChoice.value;\n\n const updateMemberViewModel = (key: keyof MemberPersonalInfoViewModel, value: any) => {\n const nextState: MemberPersonalInfoViewModel = produce(\n viewModel,\n (draft: MemberPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n React.useEffect(() => {\n const existing = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"memberId\",\n );\n if (!isMemberIdRequired) {\n verificationService.updateViewModel(\n { fieldsToSkipValidation: [...existing, \"memberId\"] },\n { partial: true },\n );\n } else {\n verificationService.updateViewModel({ fieldsToSkipValidation: existing }, { partial: true });\n }\n }, [isMemberIdRequired]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"member-personal-info\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <MembershipOrganizationComponent\n value={(verificationService.viewModel as MemberPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\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 updateMemberViewModel(\"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 updateMemberViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateMemberViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired={getFieldConfigByFieldId(\"birthDate\")?.requireIfOptional}\n onChange={(newValue) => {\n updateMemberViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n <MemberId\n value={viewModel.memberId}\n isErrored={!!fieldValidationErrors.memberId}\n isRequired={isMemberIdRequired}\n disabled={getFieldConfigByFieldId(\"memberId\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"memberId\", newValue);\n updateFieldValidationErrorsByFieldId(\"memberId\", newValue, verificationService);\n }}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateMemberViewModel(\"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 <MarketConsentWrapperComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateMemberViewModel(\"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.collectMemberPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Membership Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepMemberPersonalInfoComponent = StepMemberPersonalInfo;\n"],"mappings":";;;;;;;;;;;;;;;;4CAwNa,KA/KmB,EAAE,6BAAgE;CAChG,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAU,EAAW,GACrB,IAAqB,EAAwB,UAAU,GAAG,mBAE1D,IAAS,EAAU,aAAa,OAEhC,KAAyB,GAAwC,MAAe;EACpF,IAAM,IAAyC,EAC7C,IACC,MAAuC;GACtC,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C;CAgBA,OAdA,EAAM,gBAAgB;EACpB,IAAM,KAAY,EAAoB,WAAW,0BAA0B,CAAC,GAAG,QAC5E,MAAO,MAAO,UACjB;EACA,AAAK,IAMH,EAAoB,gBAAgB,EAAE,wBAAwB,EAAS,GAAG,EAAE,SAAS,GAAK,CAAC,IAL3F,EAAoB,gBAClB,EAAE,wBAAwB,CAAC,GAAG,GAAU,UAAU,EAAE,GACpD,EAAE,SAAS,GAAK,CAClB;CAIJ,GAAG,CAAC,CAAkB,CAA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,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
|
|
1
|
+
{"version":3,"file":"StepMemberPersonalInfo-DmqP1UcS.js","names":[],"sources":["../../src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type Organization,\n type MemberPersonalInfoViewModel,\n type MemberPersonalInfoResponse,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\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 { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { MemberIdComponent as MemberId } from \"../FormFields/MemberId/MemberIdComponent\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { MembershipOrganizationComponent } from \"../FormFields/MembershipOrganization/MembershipOrganizationComponent\";\nimport { MarketConsentWrapperComponent } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepMemberPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nconst StepMemberPersonalInfo = ({ verificationService }: StepMemberPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MemberPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MemberPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n const isMemberIdRequired = getFieldConfigByFieldId(\"memberId\")?.requireIfOptional;\n\n const locale = viewModel.localeChoice.value;\n\n const updateMemberViewModel = (key: keyof MemberPersonalInfoViewModel, value: any) => {\n const nextState: MemberPersonalInfoViewModel = produce(\n viewModel,\n (draft: MemberPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n React.useEffect(() => {\n const existing = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"memberId\",\n );\n if (!isMemberIdRequired) {\n verificationService.updateViewModel(\n { fieldsToSkipValidation: [...existing, \"memberId\"] },\n { partial: true },\n );\n } else {\n verificationService.updateViewModel({ fieldsToSkipValidation: existing }, { partial: true });\n }\n }, [isMemberIdRequired]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"member-personal-info\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <MembershipOrganizationComponent\n value={(verificationService.viewModel as MemberPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\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 updateMemberViewModel(\"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 updateMemberViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateMemberViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired={getFieldConfigByFieldId(\"birthDate\")?.requireIfOptional}\n onChange={(newValue) => {\n updateMemberViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n <MemberId\n value={viewModel.memberId}\n isErrored={!!fieldValidationErrors.memberId}\n isRequired={isMemberIdRequired}\n disabled={getFieldConfigByFieldId(\"memberId\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"memberId\", newValue);\n updateFieldValidationErrorsByFieldId(\"memberId\", newValue, verificationService);\n }}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateMemberViewModel(\"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 <MarketConsentWrapperComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateMemberViewModel(\"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.collectMemberPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Membership Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepMemberPersonalInfoComponent = StepMemberPersonalInfo;\n"],"mappings":";;;;;;;;;;;;;;;;4CAwNa,KA/KmB,EAAE,6BAAgE;CAChG,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAU,EAAW,GACrB,IAAqB,EAAwB,UAAU,GAAG,mBAE1D,IAAS,EAAU,aAAa,OAEhC,KAAyB,GAAwC,MAAe;EACpF,IAAM,IAAyC,EAC7C,IACC,MAAuC;GACtC,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C;CAgBA,OAdA,EAAM,gBAAgB;EACpB,IAAM,KAAY,EAAoB,WAAW,0BAA0B,CAAC,GAAG,QAC5E,MAAO,MAAO,UACjB;EACA,AAAK,IAMH,EAAoB,gBAAgB,EAAE,wBAAwB,EAAS,GAAG,EAAE,SAAS,GAAK,CAAC,IAL3F,EAAoB,gBAClB,EAAE,wBAAwB,CAAC,GAAG,GAAU,UAAU,EAAE,GACpD,EAAE,SAAS,GAAK,CAClB;CAIJ,GAAG,CAAC,CAAkB,CAAC,GAGrB,iBAAA,GAAA,EAAA,MAAC,GAAD;EACuB;EACrB,MAAM,EAAqB;YAF7B;GAIE,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,qBAAoB;GACrB,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD,EAA8C,uBAAsB,CAAA;GACpE,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,UAAU,EAAwB,SAAS,GAAG;GAC/C,CAAA;GAED,iBAAA,G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iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.289.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1789773568893
|
|
5
|
+
* BUILD_DATE: Fri Sep 18 2026 23:19:28 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 97371345cabb92f713fd30bd7baf2bb5e4a9f973
|
|
7
7
|
*/
|
|
8
8
|
import { Ot as e, c as t, n } from "./options-CRzdSTAR.js";
|
|
9
9
|
import { c as r, n as i, t as a } from "./jsx-runtime-CyXcV_93.js";
|
|
10
10
|
import { b as o } from "./runtimeTypes-B2AGNJMT.js";
|
|
11
|
-
import { h as s } from "./FormFooterComponent-
|
|
11
|
+
import { h as s } from "./FormFooterComponent-CP0-Wobs.js";
|
|
12
12
|
import { n as c } from "../sheerid.js";
|
|
13
|
-
import {
|
|
14
|
-
import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-
|
|
15
|
-
import { n as y, t as b } from "./PersonalInfoStepSubmitButton-
|
|
16
|
-
import { t as x } from "./BirthDateComponent-
|
|
17
|
-
import { t as S } from "./CountryComponentWrapper-
|
|
18
|
-
import { t as C } from "./ExtraMessage-
|
|
19
|
-
import { t as w } from "./ChangeLocaleComponent-
|
|
20
|
-
import { t as T } from "./PersonalInfoStepWrapper-
|
|
21
|
-
import { t as E } from "./MemberIdComponent
|
|
22
|
-
import { t as D } from "./MembershipOrganizationComponent-
|
|
13
|
+
import { h as l, m as u, n as d, o as f } from "./stepComponentHelpers-CQUMKZ_f.js";
|
|
14
|
+
import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-L3WoxJAC.js";
|
|
15
|
+
import { n as y, t as b } from "./PersonalInfoStepSubmitButton-DnepwbFs.js";
|
|
16
|
+
import { t as x } from "./BirthDateComponent-1FYtxavW.js";
|
|
17
|
+
import { t as S } from "./CountryComponentWrapper-dG5Zqfee.js";
|
|
18
|
+
import { t as C } from "./ExtraMessage-BZ9XdOdL.js";
|
|
19
|
+
import { t as w } from "./ChangeLocaleComponent-Wju8NvwL.js";
|
|
20
|
+
import { t as T } from "./PersonalInfoStepWrapper-B7pfOMf3.js";
|
|
21
|
+
import { t as E } from "./MemberIdComponent-BJIWA0U-.js";
|
|
22
|
+
import { t as D } from "./MembershipOrganizationComponent-lCfT5hKV.js";
|
|
23
23
|
//#region src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.tsx
|
|
24
24
|
var O = /* @__PURE__ */ e(r(), 1), k = a(), A = ({ verificationService: e }) => {
|
|
25
|
-
let r = e.viewModel, { fieldValidationErrors: a } = e, A = e.verificationResponse, j = s(A), M = n(), N =
|
|
25
|
+
let r = e.viewModel, { fieldValidationErrors: a } = e, A = e.verificationResponse, j = s(A), M = n(), N = d("memberId")?.requireIfOptional, P = r.localeChoice.value, F = (n, i) => {
|
|
26
26
|
let a = t(r, (e) => {
|
|
27
27
|
e[n] = i;
|
|
28
28
|
});
|
|
@@ -42,15 +42,15 @@ var O = /* @__PURE__ */ e(r(), 1), k = a(), A = ({ verificationService: e }) =>
|
|
|
42
42
|
/* @__PURE__ */ (0, k.jsx)(w, { verificationService: e }),
|
|
43
43
|
/* @__PURE__ */ (0, k.jsx)(S, {
|
|
44
44
|
verificationService: e,
|
|
45
|
-
disabled:
|
|
45
|
+
disabled: d("country")?.disabled
|
|
46
46
|
}),
|
|
47
47
|
/* @__PURE__ */ (0, k.jsx)(D, {
|
|
48
48
|
value: e.viewModel.organization,
|
|
49
49
|
verificationService: e,
|
|
50
50
|
isErrored: !!a.organization,
|
|
51
|
-
disabled:
|
|
51
|
+
disabled: d("organization")?.disabled,
|
|
52
52
|
onChange: (t) => {
|
|
53
|
-
l(t, e),
|
|
53
|
+
l(t, e), u("organization", t, e);
|
|
54
54
|
}
|
|
55
55
|
}),
|
|
56
56
|
/* @__PURE__ */ (0, k.jsxs)("div", {
|
|
@@ -58,16 +58,16 @@ var O = /* @__PURE__ */ e(r(), 1), k = a(), A = ({ verificationService: e }) =>
|
|
|
58
58
|
children: [/* @__PURE__ */ (0, k.jsx)(p, {
|
|
59
59
|
value: r.firstName,
|
|
60
60
|
isErrored: !!a.firstName,
|
|
61
|
-
disabled:
|
|
61
|
+
disabled: d("firstName")?.disabled,
|
|
62
62
|
onChange: (t) => {
|
|
63
|
-
F("firstName", t),
|
|
63
|
+
F("firstName", t), u("firstName", t, e);
|
|
64
64
|
}
|
|
65
65
|
}), /* @__PURE__ */ (0, k.jsx)(m, {
|
|
66
66
|
value: r.lastName,
|
|
67
67
|
isErrored: !!a.lastName,
|
|
68
|
-
disabled:
|
|
68
|
+
disabled: d("lastName")?.disabled,
|
|
69
69
|
onChange: (t) => {
|
|
70
|
-
F("lastName", t),
|
|
70
|
+
F("lastName", t), u("lastName", t, e);
|
|
71
71
|
}
|
|
72
72
|
})]
|
|
73
73
|
}),
|
|
@@ -79,28 +79,28 @@ var O = /* @__PURE__ */ e(r(), 1), k = a(), A = ({ verificationService: e }) =>
|
|
|
79
79
|
defaultMessage: " "
|
|
80
80
|
}),
|
|
81
81
|
onChange: (t) => {
|
|
82
|
-
F("email", t),
|
|
82
|
+
F("email", t), u("email", t, e);
|
|
83
83
|
},
|
|
84
|
-
onKeyDown: (e) =>
|
|
85
|
-
disabled:
|
|
84
|
+
onKeyDown: (e) => f(e),
|
|
85
|
+
disabled: d("email")?.disabled
|
|
86
86
|
}),
|
|
87
87
|
/* @__PURE__ */ (0, k.jsx)(x, {
|
|
88
88
|
errorId: a.birthDate,
|
|
89
89
|
locale: P,
|
|
90
|
-
isRequired:
|
|
90
|
+
isRequired: d("birthDate")?.requireIfOptional,
|
|
91
91
|
onChange: (t) => {
|
|
92
|
-
F("birthDate", t),
|
|
92
|
+
F("birthDate", t), u("birthDate", t, e);
|
|
93
93
|
},
|
|
94
94
|
value: r.birthDate,
|
|
95
|
-
disabled:
|
|
95
|
+
disabled: d("birthDate")?.disabled
|
|
96
96
|
}),
|
|
97
97
|
/* @__PURE__ */ (0, k.jsx)(E, {
|
|
98
98
|
value: r.memberId,
|
|
99
99
|
isErrored: !!a.memberId,
|
|
100
100
|
isRequired: N,
|
|
101
|
-
disabled:
|
|
101
|
+
disabled: d("memberId")?.disabled,
|
|
102
102
|
onChange: (t) => {
|
|
103
|
-
F("memberId", t),
|
|
103
|
+
F("memberId", t), u("memberId", t, e);
|
|
104
104
|
}
|
|
105
105
|
}),
|
|
106
106
|
e.programTheme.isSmsNotifierConfigured || e.programTheme.smsLoopEnabled ? /* @__PURE__ */ (0, k.jsx)(g, {
|
|
@@ -108,10 +108,10 @@ var O = /* @__PURE__ */ e(r(), 1), k = a(), A = ({ verificationService: e }) =>
|
|
|
108
108
|
value: r.phoneNumber,
|
|
109
109
|
isErrored: !!a.phoneNumber,
|
|
110
110
|
onChange: (t) => {
|
|
111
|
-
F("phoneNumber", t),
|
|
111
|
+
F("phoneNumber", t), u("phoneNumber", t, e);
|
|
112
112
|
},
|
|
113
113
|
selectedCountryCode: r.countryChoice && r.countryChoice.value,
|
|
114
|
-
disabled:
|
|
114
|
+
disabled: d("phoneNumber")?.disabled
|
|
115
115
|
}) : null,
|
|
116
116
|
M.customFormFields.map((t) => /* @__PURE__ */ (0, k.jsx)(h, {
|
|
117
117
|
config: t,
|
|
@@ -124,10 +124,10 @@ var O = /* @__PURE__ */ e(r(), 1), k = a(), A = ({ verificationService: e }) =>
|
|
|
124
124
|
F("metadata", {
|
|
125
125
|
...e.viewModel.metadata,
|
|
126
126
|
marketConsentValue: t
|
|
127
|
-
}),
|
|
127
|
+
}), u("marketConsentValue", t, e);
|
|
128
128
|
},
|
|
129
129
|
viewModel: r,
|
|
130
|
-
disabled:
|
|
130
|
+
disabled: d("marketConsentValue")?.disabled
|
|
131
131
|
}),
|
|
132
132
|
/* @__PURE__ */ (0, k.jsx)(C, {
|
|
133
133
|
verificationService: e,
|
package/chunk/{StepMemberPersonalInfo-DqO6GrME.js.map → StepMemberPersonalInfo-VUcdpf1p.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepMemberPersonalInfo-DqO6GrME.js","names":[],"sources":["../../src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type Organization,\n type MemberPersonalInfoViewModel,\n type MemberPersonalInfoResponse,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\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 { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { MemberIdComponent as MemberId } from \"../FormFields/MemberId/MemberIdComponent\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { MembershipOrganizationComponent } from \"../FormFields/MembershipOrganization/MembershipOrganizationComponent\";\nimport { MarketConsentWrapperComponent } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepMemberPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nconst StepMemberPersonalInfo = ({ verificationService }: StepMemberPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MemberPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MemberPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n const isMemberIdRequired = getFieldConfigByFieldId(\"memberId\")?.requireIfOptional;\n\n const locale = viewModel.localeChoice.value;\n\n const updateMemberViewModel = (key: keyof MemberPersonalInfoViewModel, value: any) => {\n const nextState: MemberPersonalInfoViewModel = produce(\n viewModel,\n (draft: MemberPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n React.useEffect(() => {\n const existing = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"memberId\",\n );\n if (!isMemberIdRequired) {\n verificationService.updateViewModel(\n { fieldsToSkipValidation: [...existing, \"memberId\"] },\n { partial: true },\n );\n } else {\n verificationService.updateViewModel({ fieldsToSkipValidation: existing }, { partial: true });\n }\n }, [isMemberIdRequired]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"member-personal-info\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <MembershipOrganizationComponent\n value={(verificationService.viewModel as MemberPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\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 updateMemberViewModel(\"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 updateMemberViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateMemberViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired={getFieldConfigByFieldId(\"birthDate\")?.requireIfOptional}\n onChange={(newValue) => {\n updateMemberViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n <MemberId\n value={viewModel.memberId}\n isErrored={!!fieldValidationErrors.memberId}\n isRequired={isMemberIdRequired}\n disabled={getFieldConfigByFieldId(\"memberId\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"memberId\", newValue);\n updateFieldValidationErrorsByFieldId(\"memberId\", newValue, verificationService);\n }}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateMemberViewModel(\"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 <MarketConsentWrapperComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateMemberViewModel(\"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.collectMemberPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Membership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MemberPersonalInfo/StepMemberPersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type Organization,\n type MemberPersonalInfoViewModel,\n type MemberPersonalInfoResponse,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\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 { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { MemberIdComponent as MemberId } from \"../FormFields/MemberId/MemberIdComponent\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { MembershipOrganizationComponent } from \"../FormFields/MembershipOrganization/MembershipOrganizationComponent\";\nimport { MarketConsentWrapperComponent } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepMemberPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nconst StepMemberPersonalInfo = ({ verificationService }: StepMemberPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MemberPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MemberPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n const isMemberIdRequired = getFieldConfigByFieldId(\"memberId\")?.requireIfOptional;\n\n const locale = viewModel.localeChoice.value;\n\n const updateMemberViewModel = (key: keyof MemberPersonalInfoViewModel, value: any) => {\n const nextState: MemberPersonalInfoViewModel = produce(\n viewModel,\n (draft: MemberPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n React.useEffect(() => {\n const existing = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"memberId\",\n );\n if (!isMemberIdRequired) {\n verificationService.updateViewModel(\n { fieldsToSkipValidation: [...existing, \"memberId\"] },\n { partial: true },\n );\n } else {\n verificationService.updateViewModel({ fieldsToSkipValidation: existing }, { partial: true });\n }\n }, [isMemberIdRequired]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"member-personal-info\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <MembershipOrganizationComponent\n value={(verificationService.viewModel as MemberPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\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 updateMemberViewModel(\"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 updateMemberViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateMemberViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired={getFieldConfigByFieldId(\"birthDate\")?.requireIfOptional}\n onChange={(newValue) => {\n updateMemberViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n <MemberId\n value={viewModel.memberId}\n isErrored={!!fieldValidationErrors.memberId}\n isRequired={isMemberIdRequired}\n disabled={getFieldConfigByFieldId(\"memberId\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"memberId\", newValue);\n updateFieldValidationErrorsByFieldId(\"memberId\", newValue, verificationService);\n }}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateMemberViewModel(\"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 <MarketConsentWrapperComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateMemberViewModel(\"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.collectMemberPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Membership Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepMemberPersonalInfoComponent = StepMemberPersonalInfo;\n"],"mappings":";;;;;;;;;;;;;;;;4CAwNa,KA/KmB,EAAE,6BAAgE;CAChG,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAU,EAAW,GACrB,IAAqB,EAAwB,UAAU,GAAG,mBAE1D,IA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