@sheerid/jslib 2.253.0 → 2.255.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 +46 -46
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-Dmbx7wQb.js → AddressComponent-DMwOmjiG.js} +6 -6
- package/chunk/{AddressComponent-DL9pd8Ow.js.map → AddressComponent-DMwOmjiG.js.map} +1 -1
- package/chunk/{AddressComponent-DL9pd8Ow.js → AddressComponent-DluNaOpg.js} +6 -6
- package/chunk/{AddressComponent-Dmbx7wQb.js.map → AddressComponent-DluNaOpg.js.map} +1 -1
- package/chunk/{AnnouncingHeader-CRqImmVM.js → AnnouncingHeader-BZreAj2L.js} +6 -6
- package/chunk/{AnnouncingHeader-C665jgXh.js.map → AnnouncingHeader-BZreAj2L.js.map} +1 -1
- package/chunk/{AnnouncingHeader-C665jgXh.js → AnnouncingHeader-DjgtqEeX.js} +6 -6
- package/chunk/{AnnouncingHeader-CRqImmVM.js.map → AnnouncingHeader-DjgtqEeX.js.map} +1 -1
- package/chunk/{ApiUrls-B1l97XLd.js → ApiUrls-D2hjDDwF.js} +6 -6
- package/chunk/{ApiUrls-B1l97XLd.js.map → ApiUrls-D2hjDDwF.js.map} +1 -1
- package/chunk/{ApiUrls-BMVXJ1mM.js → ApiUrls-mX74Pbh6.js} +6 -6
- package/chunk/{ApiUrls-BMVXJ1mM.js.map → ApiUrls-mX74Pbh6.js.map} +1 -1
- package/chunk/{BirthDateComponent-DCXg16GU.js → BirthDateComponent-BLoR7riO.js} +7 -7
- package/chunk/{BirthDateComponent-D-98d9mx.js.map → BirthDateComponent-BLoR7riO.js.map} +1 -1
- package/chunk/{BirthDateComponent-D-98d9mx.js → BirthDateComponent-DWFuvTYj.js} +7 -7
- package/chunk/{BirthDateComponent-DCXg16GU.js.map → BirthDateComponent-DWFuvTYj.js.map} +1 -1
- package/chunk/{CaptchaComponent-B4PjRH23.js → CaptchaComponent-BuY8hWL0.js} +14 -14
- package/chunk/{CaptchaComponent-B4PjRH23.js.map → CaptchaComponent-BuY8hWL0.js.map} +1 -1
- package/chunk/{CaptchaComponent-BxjtTozO.js → CaptchaComponent-DT9YtMu5.js} +14 -14
- package/chunk/{CaptchaComponent-BxjtTozO.js.map → CaptchaComponent-DT9YtMu5.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-Cqs8Ed1t.js → ChangeLocaleComponent-C6Y90lRN.js} +7 -7
- package/chunk/{ChangeLocaleComponent-Cqs8Ed1t.js.map → ChangeLocaleComponent-C6Y90lRN.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-yTfSGHOP.js → ChangeLocaleComponent-Dxgybi-B.js} +7 -7
- package/chunk/{ChangeLocaleComponent-yTfSGHOP.js.map → ChangeLocaleComponent-Dxgybi-B.js.map} +1 -1
- package/chunk/{City-Ccy5-tEQ.js → City-BP95fpVf.js} +6 -6
- package/chunk/{City-Ccy5-tEQ.js.map → City-BP95fpVf.js.map} +1 -1
- package/chunk/{City-DpGdS5VA.js → City-CmO85Z9x.js} +6 -6
- package/chunk/{City-DpGdS5VA.js.map → City-CmO85Z9x.js.map} +1 -1
- package/chunk/{CollegeNameComponent-5qe9ljjZ.js → CollegeNameComponent-C_fF-oP_.js} +8 -8
- package/chunk/{CollegeNameComponent-5qe9ljjZ.js.map → CollegeNameComponent-C_fF-oP_.js.map} +1 -1
- package/chunk/{CollegeNameComponent-CSlyVZ9K.js → CollegeNameComponent-Uq3xv0oc.js} +8 -8
- package/chunk/{CollegeNameComponent-CSlyVZ9K.js.map → CollegeNameComponent-Uq3xv0oc.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-DssvbA6B.js → CopyToClipboardComponent-1BeB_oX_.js} +6 -6
- package/chunk/{CopyToClipboardComponent-CYURzymv.js.map → CopyToClipboardComponent-1BeB_oX_.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-CYURzymv.js → CopyToClipboardComponent-6MY3v7_-.js} +6 -6
- package/chunk/{CopyToClipboardComponent-DssvbA6B.js.map → CopyToClipboardComponent-6MY3v7_-.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-D05UNMjA.js → CountryComponentWrapper-C8op2aoC.js} +9 -9
- package/chunk/{CountryComponentWrapper-D05UNMjA.js.map → CountryComponentWrapper-C8op2aoC.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-DpGkBqyN.js → CountryComponentWrapper-Dxgi7jrC.js} +9 -9
- package/chunk/{CountryComponentWrapper-DpGkBqyN.js.map → CountryComponentWrapper-Dxgi7jrC.js.map} +1 -1
- package/chunk/{DischargeDateComponent-DIkajREC.js → DischargeDateComponent-BwCOtjpm.js} +10 -10
- package/chunk/{DischargeDateComponent-B_NsMlit.js.map → DischargeDateComponent-BwCOtjpm.js.map} +1 -1
- package/chunk/{DischargeDateComponent-B_NsMlit.js → DischargeDateComponent-CTm5Skqm.js} +10 -10
- package/chunk/{DischargeDateComponent-DIkajREC.js.map → DischargeDateComponent-CTm5Skqm.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-C8WITgA-.js → DriverLicenseNumberComponent-CQeKZs0G.js} +6 -6
- package/chunk/{DriverLicenseNumberComponent-C8WITgA-.js.map → DriverLicenseNumberComponent-CQeKZs0G.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-H3LDFFs8.js → DriverLicenseNumberComponent-DgXMM-Pt.js} +6 -6
- package/chunk/{DriverLicenseNumberComponent-H3LDFFs8.js.map → DriverLicenseNumberComponent-DgXMM-Pt.js.map} +1 -1
- package/chunk/{EmailLoopPending-BNRLFtBa.js → EmailLoopPending-B0VjfKqx.js} +9 -9
- package/chunk/{EmailLoopPending-Dl0ph2cL.js.map → EmailLoopPending-B0VjfKqx.js.map} +1 -1
- package/chunk/{EmailLoopPending-Dl0ph2cL.js → EmailLoopPending-DdQVTAFX.js} +9 -9
- package/chunk/{EmailLoopPending-BNRLFtBa.js.map → EmailLoopPending-DdQVTAFX.js.map} +1 -1
- package/chunk/{ExtraMessage-Dkql53YF.js → ExtraMessage-FYB_0E23.js} +7 -7
- package/chunk/{ExtraMessage-BvCY4YpQ.js.map → ExtraMessage-FYB_0E23.js.map} +1 -1
- package/chunk/{ExtraMessage-BvCY4YpQ.js → ExtraMessage-V5VRwFXa.js} +7 -7
- package/chunk/{ExtraMessage-Dkql53YF.js.map → ExtraMessage-V5VRwFXa.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-CfDgqpt-.js → FirstResponderOrganizationComponent-Blb0LQDN.js} +7 -7
- package/chunk/{FirstResponderOrganizationComponent-BUdtKpMV.js.map → FirstResponderOrganizationComponent-Blb0LQDN.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-BUdtKpMV.js → FirstResponderOrganizationComponent-BmgHy63G.js} +7 -7
- package/chunk/{FirstResponderOrganizationComponent-CfDgqpt-.js.map → FirstResponderOrganizationComponent-BmgHy63G.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-BY24q7T0.js → FormFieldInputSelect-C8QpKKTW.js} +7 -7
- package/chunk/{FormFieldInputSelect-BY24q7T0.js.map → FormFieldInputSelect-C8QpKKTW.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-Dz0l89FZ.js → FormFieldInputSelect-CYyO721P.js} +7 -7
- package/chunk/{FormFieldInputSelect-Dz0l89FZ.js.map → FormFieldInputSelect-CYyO721P.js.map} +1 -1
- package/chunk/{FormFieldLayout-CHV2U_Vf.js → FormFieldLayout-CUA-PItd.js} +6 -6
- package/chunk/{FormFieldLayout-CHV2U_Vf.js.map → FormFieldLayout-CUA-PItd.js.map} +1 -1
- package/chunk/{FormFieldLayout-C5-ReqYd.js → FormFieldLayout-DIcCOsGu.js} +6 -6
- package/chunk/{FormFieldLayout-C5-ReqYd.js.map → FormFieldLayout-DIcCOsGu.js.map} +1 -1
- package/chunk/{FormFieldText-CojbU6CY.js → FormFieldText-BeEhq8Kc.js} +7 -7
- package/chunk/{FormFieldText-BbdI2qod.js.map → FormFieldText-BeEhq8Kc.js.map} +1 -1
- package/chunk/{FormFieldText-BbdI2qod.js → FormFieldText-zjWk7Cyc.js} +7 -7
- package/chunk/{FormFieldText-CojbU6CY.js.map → FormFieldText-zjWk7Cyc.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-CtEOFpYZ.js → FormFieldTypeahead-0gFsoGXo.js} +13 -13
- package/chunk/{FormFieldTypeahead-CtEOFpYZ.js.map → FormFieldTypeahead-0gFsoGXo.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-CNX3FDrh.js → FormFieldTypeahead-Dc42FnHg.js} +13 -13
- package/chunk/{FormFieldTypeahead-CNX3FDrh.js.map → FormFieldTypeahead-Dc42FnHg.js.map} +1 -1
- package/chunk/{FormFooterComponent-B4pXl2Gg.js → FormFooterComponent-C9ol2mDa.js} +15 -14
- package/chunk/{FormFooterComponent-B4pXl2Gg.js.map → FormFooterComponent-C9ol2mDa.js.map} +1 -1
- package/chunk/{FormFooterComponent-D4f181-M.js → FormFooterComponent-DscB1SrZ.js} +15 -14
- package/chunk/{FormFooterComponent-D4f181-M.js.map → FormFooterComponent-DscB1SrZ.js.map} +1 -1
- package/chunk/{FormSelectChoice-BY7fTRbM.js → FormSelectChoice-BbHX5WxN.js} +8 -8
- package/chunk/{FormSelectChoice-5THzFmQH.js.map → FormSelectChoice-BbHX5WxN.js.map} +1 -1
- package/chunk/{FormSelectChoice-5THzFmQH.js → FormSelectChoice-CKUATmha.js} +8 -8
- package/chunk/{FormSelectChoice-BY7fTRbM.js.map → FormSelectChoice-CKUATmha.js.map} +1 -1
- package/chunk/{InputText-AeuQFn-n.js → InputText-Bzkl8mKj.js} +7 -7
- package/chunk/{InputText-AeuQFn-n.js.map → InputText-Bzkl8mKj.js.map} +1 -1
- package/chunk/{InputText-C1KVw41V.js → InputText-CkDvaW9P.js} +7 -7
- package/chunk/{InputText-C1KVw41V.js.map → InputText-CkDvaW9P.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-Dt-B-KLT.js → LicensedProfessionalOrganizationComponent-BwhTTyPa.js} +7 -7
- package/chunk/{LicensedProfessionalOrganizationComponent-Cpw8UkAg.js.map → LicensedProfessionalOrganizationComponent-BwhTTyPa.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-Cpw8UkAg.js → LicensedProfessionalOrganizationComponent-DGEwKGOF.js} +7 -7
- package/chunk/{LicensedProfessionalOrganizationComponent-Dt-B-KLT.js.map → LicensedProfessionalOrganizationComponent-DGEwKGOF.js.map} +1 -1
- package/chunk/{LogoComponent-Capadyoj.js → LogoComponent-BMeuu-aK.js} +6 -6
- package/chunk/{LogoComponent-BbjTQetI.js.map → LogoComponent-BMeuu-aK.js.map} +1 -1
- package/chunk/{LogoComponent-BbjTQetI.js → LogoComponent-CFPoRk_q.js} +6 -6
- package/chunk/{LogoComponent-Capadyoj.js.map → LogoComponent-CFPoRk_q.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-C8d-cPM9.js → LowIncomeOrganizationComponent-Clu-fBES.js} +11 -11
- package/chunk/{LowIncomeOrganizationComponent-BmjqOHxV.js.map → LowIncomeOrganizationComponent-Clu-fBES.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-BmjqOHxV.js → LowIncomeOrganizationComponent-WVI9Tx7o.js} +11 -11
- package/chunk/{LowIncomeOrganizationComponent-C8d-cPM9.js.map → LowIncomeOrganizationComponent-WVI9Tx7o.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-DGohlVeO.js → MedicalProfessionalOrganizationComponent-BwaoyUQE.js} +7 -7
- package/chunk/{MedicalProfessionalOrganizationComponent-AEiTIh5y.js.map → MedicalProfessionalOrganizationComponent-BwaoyUQE.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-AEiTIh5y.js → MedicalProfessionalOrganizationComponent-m5aGmsq5.js} +7 -7
- package/chunk/{MedicalProfessionalOrganizationComponent-DGohlVeO.js.map → MedicalProfessionalOrganizationComponent-m5aGmsq5.js.map} +1 -1
- package/chunk/{MemberIdComponent-C4nH8HWl.js → MemberIdComponent-D_KVob09.js} +6 -6
- package/chunk/{MemberIdComponent-Bgj2RTIU.js.map → MemberIdComponent-D_KVob09.js.map} +1 -1
- package/chunk/{MemberIdComponent-Bgj2RTIU.js → MemberIdComponent-Dva2Xx7J.js} +6 -6
- package/chunk/{MemberIdComponent-C4nH8HWl.js.map → MemberIdComponent-Dva2Xx7J.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent--cqePbSG.js → MembershipOrganizationComponent-CTmbxFes.js} +7 -7
- package/chunk/{MembershipOrganizationComponent--cqePbSG.js.map → MembershipOrganizationComponent-CTmbxFes.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-DKndZo_l.js → MembershipOrganizationComponent-DuRL5T4x.js} +7 -7
- package/chunk/{MembershipOrganizationComponent-DKndZo_l.js.map → MembershipOrganizationComponent-DuRL5T4x.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-CXvt9o8S.js → PersonalInfoStepSubmitButton-CdweyyxM.js} +10 -10
- package/chunk/{PersonalInfoStepSubmitButton-B_cDlypb.js.map → PersonalInfoStepSubmitButton-CdweyyxM.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-B_cDlypb.js → PersonalInfoStepSubmitButton-Ywai8bYu.js} +10 -10
- package/chunk/{PersonalInfoStepSubmitButton-CXvt9o8S.js.map → PersonalInfoStepSubmitButton-Ywai8bYu.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-DAmzepBq.js → PersonalInfoStepWrapper-BgUvu2Hh.js} +8 -8
- package/chunk/{PersonalInfoStepWrapper-DAmzepBq.js.map → PersonalInfoStepWrapper-BgUvu2Hh.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-CdBLUd5V.js → PersonalInfoStepWrapper-Dqe3wLb3.js} +7 -7
- package/chunk/{PersonalInfoStepWrapper-CdBLUd5V.js.map → PersonalInfoStepWrapper-Dqe3wLb3.js.map} +1 -1
- package/chunk/{PostalCodeComponent-CUGDHlOa.js → PostalCodeComponent-C97fgZFI.js} +6 -6
- package/chunk/{PostalCodeComponent-C5NIUmbp.js.map → PostalCodeComponent-C97fgZFI.js.map} +1 -1
- package/chunk/{PostalCodeComponent-C5NIUmbp.js → PostalCodeComponent-YFm2z5qa.js} +6 -6
- package/chunk/{PostalCodeComponent-CUGDHlOa.js.map → PostalCodeComponent-YFm2z5qa.js.map} +1 -1
- package/chunk/{SSN-COEXPfZd.js → SSN-CtVtLOD7.js} +7 -7
- package/chunk/{SSN-BZgf6MTH.js.map → SSN-CtVtLOD7.js.map} +1 -1
- package/chunk/{SSN-BZgf6MTH.js → SSN-mk_cMbDH.js} +7 -7
- package/chunk/{SSN-COEXPfZd.js.map → SSN-mk_cMbDH.js.map} +1 -1
- package/chunk/{StateSelectComponent-D9cuFwhj.js → StateSelectComponent-BVvFbirD.js} +6 -6
- package/chunk/{StateSelectComponent-D9cuFwhj.js.map → StateSelectComponent-BVvFbirD.js.map} +1 -1
- package/chunk/{StateSelectComponent-Dmp3aJ9_.js → StateSelectComponent-C8m2Z03M.js} +6 -6
- package/chunk/{StateSelectComponent-Dmp3aJ9_.js.map → StateSelectComponent-C8m2Z03M.js.map} +1 -1
- package/chunk/{StatusComponent-CJBJQf_t.js → StatusComponent-DQK5SVZv.js} +7 -7
- package/chunk/{StatusComponent-54Lup0nO.js.map → StatusComponent-DQK5SVZv.js.map} +1 -1
- package/chunk/{StatusComponent-54Lup0nO.js → StatusComponent-Zy2cBqqx.js} +7 -7
- package/chunk/{StatusComponent-CJBJQf_t.js.map → StatusComponent-Zy2cBqqx.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-DYwwKWiP.js → StepActiveMilitaryPersonalInfoComponent-BHZWppyU.js} +18 -18
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-DYwwKWiP.js.map → StepActiveMilitaryPersonalInfoComponent-BHZWppyU.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-Dd9wZL69.js → StepActiveMilitaryPersonalInfoComponent-C944jM5k.js} +18 -18
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-Dd9wZL69.js.map → StepActiveMilitaryPersonalInfoComponent-C944jM5k.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-B6BaJSU9.js → StepAgePersonalInfo-BK4G24Cs.js} +18 -18
- package/chunk/{StepAgePersonalInfo-B6BaJSU9.js.map → StepAgePersonalInfo-BK4G24Cs.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-uB8J8jFk.js → StepAgePersonalInfo-CO7n7CGu.js} +18 -18
- package/chunk/{StepAgePersonalInfo-uB8J8jFk.js.map → StepAgePersonalInfo-CO7n7CGu.js.map} +1 -1
- package/chunk/{StepCard-PXVHWYeo.js → StepCard-7t2vkHqM.js} +5 -5
- package/chunk/{StepCard-B31RNuY9.js.map → StepCard-7t2vkHqM.js.map} +1 -1
- package/chunk/{StepCard-B31RNuY9.js → StepCard-BF_RD7Rd.js} +5 -5
- package/chunk/{StepCard-PXVHWYeo.js.map → StepCard-BF_RD7Rd.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-BPD70vxg.js → StepCollectIdentifier-BkBFTkDA.js} +8 -8
- package/chunk/{StepCollectIdentifier-BPD70vxg.js.map → StepCollectIdentifier-BkBFTkDA.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-D5Mt1tDo.js → StepCollectIdentifier-rF3hX6zh.js} +8 -8
- package/chunk/{StepCollectIdentifier-D5Mt1tDo.js.map → StepCollectIdentifier-rF3hX6zh.js.map} +1 -1
- package/chunk/{StepCollectMilitaryStatusComponent-Dk4ngVEf.js → StepCollectMilitaryStatusComponent-DQcSl7eH.js} +5 -5
- package/chunk/StepCollectMilitaryStatusComponent-MROk0nts.js +9 -0
- package/chunk/{StepCollectPersonalInfo-Jvy4xiYx.js → StepCollectPersonalInfo-CVbwY7Tl.js} +30 -30
- package/chunk/{StepCollectPersonalInfo-Jvy4xiYx.js.map → StepCollectPersonalInfo-CVbwY7Tl.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-CHC7DaGk.js → StepCollectPersonalInfo-Df9eM7-U.js} +30 -30
- package/chunk/{StepCollectPersonalInfo-CHC7DaGk.js.map → StepCollectPersonalInfo-Df9eM7-U.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-B3DbO_HZ.js → StepCompleteAuthentication-Cs4zhI-D.js} +7 -7
- package/chunk/{StepCompleteAuthentication-B3DbO_HZ.js.map → StepCompleteAuthentication-Cs4zhI-D.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-khHRwXK7.js → StepCompleteAuthentication-q5i7ecb3.js} +7 -7
- package/chunk/{StepCompleteAuthentication-khHRwXK7.js.map → StepCompleteAuthentication-q5i7ecb3.js.map} +1 -1
- package/chunk/{StepConsolation-BdtjeVme.js → StepConsolation-C354r_zu.js} +9 -9
- package/chunk/{StepConsolation-BdtjeVme.js.map → StepConsolation-C354r_zu.js.map} +1 -1
- package/chunk/{StepConsolation-CpG4ivzD.js → StepConsolation-t7e96O-3.js} +9 -9
- package/chunk/{StepConsolation-CpG4ivzD.js.map → StepConsolation-t7e96O-3.js.map} +1 -1
- package/chunk/{StepDocUpload-CLVth33n.js → StepDocUpload-DdN3SUQ0.js} +13 -13
- package/chunk/{StepDocUpload-CLVth33n.js.map → StepDocUpload-DdN3SUQ0.js.map} +1 -1
- package/chunk/{StepDocUpload-C5274Wtg.js → StepDocUpload-Dk1p-Qdn.js} +13 -13
- package/chunk/{StepDocUpload-C5274Wtg.js.map → StepDocUpload-Dk1p-Qdn.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-6akTvppj.js → StepDriverLicensePersonalInfoComponent-DKDPLooi.js} +15 -15
- package/chunk/{StepDriverLicensePersonalInfoComponent-6akTvppj.js.map → StepDriverLicensePersonalInfoComponent-DKDPLooi.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-BnVL6avF.js → StepDriverLicensePersonalInfoComponent-InD0tKhL.js} +15 -15
- package/chunk/{StepDriverLicensePersonalInfoComponent-BnVL6avF.js.map → StepDriverLicensePersonalInfoComponent-InD0tKhL.js.map} +1 -1
- package/chunk/{StepEmailLoop-D1KB0KwR.js → StepEmailLoop-BHvoET4L.js} +11 -11
- package/chunk/{StepEmailLoop-D1KB0KwR.js.map → StepEmailLoop-BHvoET4L.js.map} +1 -1
- package/chunk/{StepEmailLoop-Dfug5ScA.js → StepEmailLoop-YbSsALVD.js} +11 -11
- package/chunk/{StepEmailLoop-Dfug5ScA.js.map → StepEmailLoop-YbSsALVD.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-CFyNzULG.js → StepEmploymentPersonalInfo-BN_yvOCe.js} +18 -18
- package/chunk/{StepEmploymentPersonalInfo-CFyNzULG.js.map → StepEmploymentPersonalInfo-BN_yvOCe.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-D7HGsB-p.js → StepEmploymentPersonalInfo-BmU5F4WY.js} +18 -18
- package/chunk/{StepEmploymentPersonalInfo-D7HGsB-p.js.map → StepEmploymentPersonalInfo-BmU5F4WY.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-BulirlUs.js → StepFirstResponderPersonalInfo-CbSXcTcR.js} +18 -18
- package/chunk/{StepFirstResponderPersonalInfo-BulirlUs.js.map → StepFirstResponderPersonalInfo-CbSXcTcR.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-Di_b4ACx.js → StepFirstResponderPersonalInfo-IFsGK682.js} +18 -18
- package/chunk/{StepFirstResponderPersonalInfo-Di_b4ACx.js.map → StepFirstResponderPersonalInfo-IFsGK682.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-pQLGlnKM.js → StepGeneralIdentityPersonalInfoComponent-CRuYiWUO.js} +18 -18
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-olZs-6Rj.js.map → StepGeneralIdentityPersonalInfoComponent-CRuYiWUO.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-olZs-6Rj.js → StepGeneralIdentityPersonalInfoComponent-DrGXUAWs.js} +18 -18
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-pQLGlnKM.js.map → StepGeneralIdentityPersonalInfoComponent-DrGXUAWs.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BnDQUGJs.js → StepHybridIdentityPersonalInfoComponent-9eyYl9GB.js} +19 -19
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BnDQUGJs.js.map → StepHybridIdentityPersonalInfoComponent-9eyYl9GB.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-CE7BsdJg.js → StepHybridIdentityPersonalInfoComponent-gCYeY-hd.js} +19 -19
- package/chunk/{StepHybridIdentityPersonalInfoComponent-CE7BsdJg.js.map → StepHybridIdentityPersonalInfoComponent-gCYeY-hd.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-CcZ5Uaf4.js → StepIDCheckLoop-CH0Q7P-r.js} +8 -8
- package/chunk/{StepIDCheckLoop-C5285ynn.js.map → StepIDCheckLoop-CH0Q7P-r.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-C5285ynn.js → StepIDCheckLoop-D5Skv_6A.js} +8 -8
- package/chunk/{StepIDCheckLoop-CcZ5Uaf4.js.map → StepIDCheckLoop-D5Skv_6A.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-BjjTPVOv.js → StepIDCheckLoopOnfido-BM92fM1H.js} +11 -11
- package/chunk/{StepIDCheckLoopOnfido-BmxPYTpf.js.map → StepIDCheckLoopOnfido-BM92fM1H.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-BmxPYTpf.js → StepIDCheckLoopOnfido-Dv9HEMFo.js} +11 -11
- package/chunk/{StepIDCheckLoopOnfido-BjjTPVOv.js.map → StepIDCheckLoopOnfido-Dv9HEMFo.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-DBYXDNLU.js → StepIDCheckLoopRegula-2GMAxbTy.js} +10 -10
- package/chunk/{StepIDCheckLoopRegula-D7Zd3zod.js.map → StepIDCheckLoopRegula-2GMAxbTy.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-D7Zd3zod.js → StepIDCheckLoopRegula-By9nnmBL.js} +10 -10
- package/chunk/{StepIDCheckLoopRegula-DBYXDNLU.js.map → StepIDCheckLoopRegula-By9nnmBL.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-T4We4W2c.js → StepInactiveMilitaryPersonalInfoComponent-CxaaH0qK.js} +23 -23
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-HBJK96BR.js.map → StepInactiveMilitaryPersonalInfoComponent-CxaaH0qK.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-HBJK96BR.js → StepInactiveMilitaryPersonalInfoComponent-OvHVjdT2.js} +23 -23
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-T4We4W2c.js.map → StepInactiveMilitaryPersonalInfoComponent-OvHVjdT2.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-_ENTeOP7.js → StepLicensedProfessionalPersonalInfo-DZQnInCU.js} +17 -17
- package/chunk/{StepLicensedProfessionalPersonalInfo-Bo9cIVmu.js.map → StepLicensedProfessionalPersonalInfo-DZQnInCU.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-Bo9cIVmu.js → StepLicensedProfessionalPersonalInfo-Dq_oh11u.js} +17 -17
- package/chunk/{StepLicensedProfessionalPersonalInfo-_ENTeOP7.js.map → StepLicensedProfessionalPersonalInfo-Dq_oh11u.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-Dp76iAAP.js → StepLowIncomePersonalInfo-C0vlUaAV.js} +21 -21
- package/chunk/{StepLowIncomePersonalInfo-DcuP9uCp.js.map → StepLowIncomePersonalInfo-C0vlUaAV.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-DcuP9uCp.js → StepLowIncomePersonalInfo-C3SUQQIH.js} +21 -21
- package/chunk/{StepLowIncomePersonalInfo-Dp76iAAP.js.map → StepLowIncomePersonalInfo-C3SUQQIH.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo--vo70WUw.js → StepMedicalProfessionalPersonalInfo-BQ9O6a1_.js} +19 -19
- package/chunk/{StepMedicalProfessionalPersonalInfo-Cx6z5vv_.js.map → StepMedicalProfessionalPersonalInfo-BQ9O6a1_.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-Cx6z5vv_.js → StepMedicalProfessionalPersonalInfo-CCUvkagZ.js} +19 -19
- package/chunk/{StepMedicalProfessionalPersonalInfo--vo70WUw.js.map → StepMedicalProfessionalPersonalInfo-CCUvkagZ.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-6GXnE9oW.js → StepMemberPersonalInfo-0yAouLCL.js} +16 -16
- package/chunk/{StepMemberPersonalInfo-6GXnE9oW.js.map → StepMemberPersonalInfo-0yAouLCL.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-DIK_Up4k.js → StepMemberPersonalInfo-CNOTzx9L.js} +16 -16
- package/chunk/{StepMemberPersonalInfo-DIK_Up4k.js.map → StepMemberPersonalInfo-CNOTzx9L.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-Cs-5V2Vf.js → StepMoverPersonalInfo-jna_tvpV.js} +14 -14
- package/chunk/{StepMoverPersonalInfo-BdCiAwgT.js.map → StepMoverPersonalInfo-jna_tvpV.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-BdCiAwgT.js → StepMoverPersonalInfo-kxxtg7Ct.js} +14 -14
- package/chunk/{StepMoverPersonalInfo-Cs-5V2Vf.js.map → StepMoverPersonalInfo-kxxtg7Ct.js.map} +1 -1
- package/chunk/{StepOverrideComponent-BuCf5lHB.js → StepOverrideComponent-Dvn5tbXW.js} +11 -11
- package/chunk/{StepOverrideComponent-BuCf5lHB.js.map → StepOverrideComponent-Dvn5tbXW.js.map} +1 -1
- package/chunk/{StepOverrideComponent-CQ0ofUDQ.js → StepOverrideComponent-mxhsU0xG.js} +11 -11
- package/chunk/{StepOverrideComponent-CQ0ofUDQ.js.map → StepOverrideComponent-mxhsU0xG.js.map} +1 -1
- package/chunk/{StepSMSLoop-DMyuCz5p.js → StepSMSLoop-BI8XSMYI.js} +9 -9
- package/chunk/{StepSMSLoop-DMyuCz5p.js.map → StepSMSLoop-BI8XSMYI.js.map} +1 -1
- package/chunk/{StepSMSLoop-SnRlOV_y.js → StepSMSLoop-Cc1vcSnC.js} +9 -9
- package/chunk/{StepSMSLoop-SnRlOV_y.js.map → StepSMSLoop-Cc1vcSnC.js.map} +1 -1
- package/chunk/StepSSO-BRFhNvkp.js +4 -4
- package/chunk/StepSSO-BaFk7RFJ.js +4 -4
- package/chunk/{StepSocialSecurityNumber-CKQQW5C5.js → StepSocialSecurityNumber-C2CZhuCI.js} +12 -12
- package/chunk/{StepSocialSecurityNumber-CKQQW5C5.js.map → StepSocialSecurityNumber-C2CZhuCI.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-D_PGuZD6.js → StepSocialSecurityNumber-DqUtPXKk.js} +12 -12
- package/chunk/{StepSocialSecurityNumber-D_PGuZD6.js.map → StepSocialSecurityNumber-DqUtPXKk.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-CMD9-6V4.js → StepStudentPersonalInfo-BQMh618v.js} +16 -16
- package/chunk/{StepStudentPersonalInfo-CMD9-6V4.js.map → StepStudentPersonalInfo-BQMh618v.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-Dm_l8-YI.js → StepStudentPersonalInfo-BuoIlFOU.js} +16 -16
- package/chunk/{StepStudentPersonalInfo-Dm_l8-YI.js.map → StepStudentPersonalInfo-BuoIlFOU.js.map} +1 -1
- package/chunk/{StepSuccess-BMwq2W8N.js → StepSuccess-Ckpc03RG.js} +11 -11
- package/chunk/{StepSuccess-3vU0mbVv.js.map → StepSuccess-Ckpc03RG.js.map} +1 -1
- package/chunk/{StepSuccess-3vU0mbVv.js → StepSuccess-DXSuu0Fx.js} +11 -11
- package/chunk/{StepSuccess-BMwq2W8N.js.map → StepSuccess-DXSuu0Fx.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-BR4J18vS.js → StepTeacherPersonalInfo-0lo9_csB.js} +17 -17
- package/chunk/{StepTeacherPersonalInfo-262MHFWy.js.map → StepTeacherPersonalInfo-0lo9_csB.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-262MHFWy.js → StepTeacherPersonalInfo-BpbUVx0W.js} +17 -17
- package/chunk/{StepTeacherPersonalInfo-BR4J18vS.js.map → StepTeacherPersonalInfo-BpbUVx0W.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BGHCbduX.js +4 -4
- package/chunk/StepThirdPartyLoop-ZHByQpHa.js +4 -4
- package/chunk/{TeacherSchoolComponent-B2lR7nTy.js → TeacherSchoolComponent-CFIBi-O-.js} +8 -8
- package/chunk/{TeacherSchoolComponent-Bbxea0Ji.js.map → TeacherSchoolComponent-CFIBi-O-.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-Bbxea0Ji.js → TeacherSchoolComponent-ePC_z72n.js} +8 -8
- package/chunk/{TeacherSchoolComponent-B2lR7nTy.js.map → TeacherSchoolComponent-ePC_z72n.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-FAGpXyA6.js → TestingRouteOverrides-B-zcTBa_.js} +6 -6
- package/chunk/{TestingRouteOverrides-BogZlgPW.js.map → TestingRouteOverrides-B-zcTBa_.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-BogZlgPW.js → TestingRouteOverrides-DCR0qXVH.js} +6 -6
- package/chunk/{TestingRouteOverrides-FAGpXyA6.js.map → TestingRouteOverrides-DCR0qXVH.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/{VerificationApiClient-BO8ElFmj.js → VerificationApiClient-C-zcW_h5.js} +182 -191
- package/chunk/VerificationApiClient-C-zcW_h5.js.map +1 -0
- package/chunk/{VerificationApiClient-DPuicXlE.js → VerificationApiClient-D3KCjKzk.js} +243 -252
- package/chunk/VerificationApiClient-D3KCjKzk.js.map +1 -0
- package/chunk/{VerificationApiUtils-k8zQodQ6.js → VerificationApiUtils-B2rG6kI9.js} +7 -7
- package/chunk/{VerificationApiUtils-BDFqaPsb.js.map → VerificationApiUtils-B2rG6kI9.js.map} +1 -1
- package/chunk/{VerificationApiUtils-BDFqaPsb.js → VerificationApiUtils-X0AH5KKK.js} +7 -7
- package/chunk/{VerificationApiUtils-k8zQodQ6.js.map → VerificationApiUtils-X0AH5KKK.js.map} +1 -1
- package/chunk/ar-wkBEXxD9.js +4 -4
- package/chunk/bg-D2-seofX.js +4 -4
- package/chunk/bn-IN-B5PyYaJU.js +4 -4
- package/chunk/{countryUtils-h1jZdv97.js → countryUtils-BAFwHnuu.js} +5 -5
- package/chunk/{countryUtils-h1jZdv97.js.map → countryUtils-BAFwHnuu.js.map} +1 -1
- package/chunk/countryUtils-QSjR1rBI.js +12 -0
- package/chunk/{countryUtils-vV17lva1.js.map → countryUtils-QSjR1rBI.js.map} +1 -1
- package/chunk/cs-CsEnIopo.js +4 -4
- package/chunk/da-Da-m3VU_.js +4 -4
- package/chunk/de-BSoD5U3-.js +4 -4
- package/chunk/{downshift.esm-Ba4YUxLv.js → downshift.esm-C6CMDYQV.js} +7 -7
- package/chunk/{downshift.esm-Ba4YUxLv.js.map → downshift.esm-C6CMDYQV.js.map} +1 -1
- package/chunk/{downshift.esm-aRmW_Ivn.js → downshift.esm-DrxEeegE.js} +7 -7
- package/chunk/{downshift.esm-aRmW_Ivn.js.map → downshift.esm-DrxEeegE.js.map} +1 -1
- package/chunk/el-CFa6y9Ri.js +4 -4
- package/chunk/{empties-D0HcIbna.js → empties-BIoZK05_.js} +5 -5
- package/chunk/{empties-D0HcIbna.js.map → empties-BIoZK05_.js.map} +1 -1
- package/chunk/{empties-oqufRVwJ.js → empties-Ck9OJXHG.js} +5 -5
- package/chunk/{empties-oqufRVwJ.js.map → empties-Ck9OJXHG.js.map} +1 -1
- package/chunk/en-GB-V8XaGkaI.js +4 -4
- package/chunk/es-D18tLxcT.js +4 -4
- package/chunk/es-ES-7x2bVUQr.js +4 -4
- package/chunk/et-udrWMVlD.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-DgwYULMs.js +4 -4
- package/chunk/fi-CkCWFGDC.js +4 -4
- package/chunk/fr-BprIFEa8.js +4 -4
- package/chunk/fr-CA-DrjICejr.js +4 -4
- package/chunk/ga-LaV5ZJgg.js +4 -4
- package/chunk/hi-IN-7dtEICYI.js +4 -4
- package/chunk/hr-2Bctl997.js +4 -4
- package/chunk/hu-BT0z6TPZ.js +4 -4
- package/chunk/id-BvyYep3X.js +4 -4
- package/chunk/{intl-Cqlpm1sq.js → intl-aUfdCP8t.js} +5 -5
- package/chunk/intl-aUfdCP8t.js.map +1 -0
- package/chunk/is-DOsKfa80.js +4 -4
- package/chunk/it-3dX9AQk7.js +4 -4
- package/chunk/iw-5I90wqQ8.js +4 -4
- package/chunk/ja-CHdgbMgX.js +4 -4
- package/chunk/{jsx-runtime-BnnxqtDz.js → jsx-runtime-BknAqbDq.js} +5 -5
- package/chunk/{jsx-runtime-BnnxqtDz.js.map → jsx-runtime-BknAqbDq.js.map} +1 -1
- package/chunk/{jsx-runtime-C6z95NB7.js → jsx-runtime-XNwIsY_N.js} +5 -5
- package/chunk/{jsx-runtime-C6z95NB7.js.map → jsx-runtime-XNwIsY_N.js.map} +1 -1
- package/chunk/kk-BriyNfHL.js +4 -4
- package/chunk/ko-DsMaax3V.js +4 -4
- package/chunk/lo-CjASRmNr.js +4 -4
- package/chunk/lt-DF29E1de.js +4 -4
- package/chunk/lv-DlHBZyt-.js +4 -4
- package/chunk/{militaryStepHelpers-VWPmjXpn.js → militaryStepHelpers-UF-7lF1f.js} +5 -5
- package/chunk/{militaryStepHelpers-BqdwwAql.js.map → militaryStepHelpers-UF-7lF1f.js.map} +1 -1
- package/chunk/{militaryStepHelpers-BqdwwAql.js → militaryStepHelpers-qMYyQgVn.js} +5 -5
- package/chunk/{militaryStepHelpers-VWPmjXpn.js.map → militaryStepHelpers-qMYyQgVn.js.map} +1 -1
- package/chunk/{mocks-BOj7lDRY.js → mocks-1r84in2Q.js} +6 -6
- package/chunk/{mocks-CltQI45M.js.map → mocks-1r84in2Q.js.map} +1 -1
- package/chunk/{mocks-CltQI45M.js → mocks-fUTXc8-e.js} +6 -6
- package/chunk/{mocks-BOj7lDRY.js.map → mocks-fUTXc8-e.js.map} +1 -1
- package/chunk/ms-B3vDtlFh.js +4 -4
- package/chunk/nl-BE-Dw1IGXuF.js +4 -4
- package/chunk/nl-Cqkrr5-r.js +4 -4
- package/chunk/no-876EdwkX.js +4 -4
- package/chunk/{options-cl-8q9QM.js → options-D19mRw5a.js} +5 -5
- package/chunk/{options-cl-8q9QM.js.map → options-D19mRw5a.js.map} +1 -1
- package/chunk/pl-B_G8s05-.js +4 -4
- package/chunk/{programThemeGetters-DVGRbK4m.js → programThemeGetters-CyMKyJao.js} +5 -5
- package/chunk/{programThemeGetters-DVGRbK4m.js.map → programThemeGetters-CyMKyJao.js.map} +1 -1
- package/chunk/{programThemeGetters-DzM8X50i.js → programThemeGetters-Lz3L0Vh7.js} +5 -5
- package/chunk/{programThemeGetters-DzM8X50i.js.map → programThemeGetters-Lz3L0Vh7.js.map} +1 -1
- package/chunk/pt-BR-DWj043qk.js +4 -4
- package/chunk/pt-DckA3Jnn.js +4 -4
- package/chunk/{refs-XWXF03m7.js → refs--ECXpllB.js} +5 -5
- package/chunk/{refs-XWXF03m7.js.map → refs--ECXpllB.js.map} +1 -1
- package/chunk/{refs-f1rcjYQG.js → refs-Bbe0gnJ3.js} +5 -5
- package/chunk/{refs-f1rcjYQG.js.map → refs-Bbe0gnJ3.js.map} +1 -1
- package/chunk/ro-DukNcWCM.js +4 -4
- package/chunk/ru-RkdRQ7qb.js +4 -4
- package/chunk/sk-CPBgBtC5.js +4 -4
- package/chunk/sl-Cyj9PWmN.js +4 -4
- package/chunk/sr-Bm1GVW8m.js +4 -4
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-CcMmeZrG.js +4 -4
- package/chunk/sw-BPvl1ou6.js +4 -4
- package/chunk/ta-BPEH7IlE.js +4 -4
- package/chunk/th-Dd912RL5.js +4 -4
- package/chunk/tl-J_TdpjQz.js +4 -4
- package/chunk/tr-B-GrrJj0.js +4 -4
- package/chunk/uk-MohyvT_n.js +4 -4
- package/chunk/ur-CDYGpWMm.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-DaS1L_Gt.js → useCollectFieldsEndpoint-C-JDW_V-.js} +8 -8
- package/chunk/{useCollectFieldsEndpoint-B9buDo08.js.map → useCollectFieldsEndpoint-C-JDW_V-.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-B9buDo08.js → useCollectFieldsEndpoint-Cj2z1ipZ.js} +8 -8
- package/chunk/{useCollectFieldsEndpoint-DaS1L_Gt.js.map → useCollectFieldsEndpoint-Cj2z1ipZ.js.map} +1 -1
- package/chunk/{useMetrics-D6EfsiR5.js → useMetrics-D_8asKZL.js} +6 -6
- package/chunk/{useMetrics-BmW2t4Jt.js.map → useMetrics-D_8asKZL.js.map} +1 -1
- package/chunk/{useMetrics-BmW2t4Jt.js → useMetrics-Ivet_g4B.js} +6 -6
- package/chunk/{useMetrics-D6EfsiR5.js.map → useMetrics-Ivet_g4B.js.map} +1 -1
- package/chunk/{validators-BvJvqT9j.js → validators-BZCydYkb.js} +6 -6
- package/chunk/{validators-BvJvqT9j.js.map → validators-BZCydYkb.js.map} +1 -1
- package/chunk/{validators-DxgVWbpr.js → validators-Do9xo2t_.js} +6 -6
- package/chunk/{validators-DxgVWbpr.js.map → validators-Do9xo2t_.js.map} +1 -1
- package/chunk/vi-CdPTWSev.js +4 -4
- package/chunk/zh-DhnjKBoc.js +4 -4
- package/chunk/zh-HK-CWKNP_HX.js +4 -4
- package/chunk/zu-BpMHS0oR.js +4 -4
- package/package.json +2 -2
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +4 -4
- package/sheerid.css +4 -4
- package/sheerid.js +46 -46
- package/sheerid.js.map +1 -1
- package/chunk/StepCollectMilitaryStatusComponent-CD7tdS_t.js +0 -9
- package/chunk/VerificationApiClient-BO8ElFmj.js.map +0 -1
- package/chunk/VerificationApiClient-DPuicXlE.js.map +0 -1
- package/chunk/countryUtils-vV17lva1.js +0 -12
- package/chunk/intl-Cqlpm1sq.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepMedicalProfessionalPersonalInfo--vo70WUw.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 {\n VerificationStepsEnum,\n MedicalProfessionalStatusDefaultMessagesEnum,\n} 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 getAvailableMedicalStatuses,\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 } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n });\n const shouldRenderMemberId = isFieldOptional(\"memberId\");\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(\n intl,\n viewModel.status,\n MedicalProfessionalStatusDefaultMessagesEnum,\n ),\n }}\n isErrored={!!fieldValidationErrors.status}\n options={getAvailableMedicalStatuses(intl, verificationResponse.availableStatuses)}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\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":";;;;;;;;;;;;;;;;;4CA8DM,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,GA0Oa,IAA+C,GAxOR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AQ,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-CCUvkagZ.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 {\n VerificationStepsEnum,\n MedicalProfessionalStatusDefaultMessagesEnum,\n} 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 getAvailableMedicalStatuses,\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 } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n });\n const shouldRenderMemberId = isFieldOptional(\"memberId\");\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(\n intl,\n viewModel.status,\n MedicalProfessionalStatusDefaultMessagesEnum,\n ),\n }}\n isErrored={!!fieldValidationErrors.status}\n options={getAvailableMedicalStatuses(intl, verificationResponse.availableStatuses)}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\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"],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026 16:48:11 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: d80c43f4b4909b1396c769839842a3f368faad8f
|
|
7
7
|
*/
|
|
8
|
-
import { Ft as e, Wt as t, c as n, n as r } from "./options-
|
|
9
|
-
import { c as i, n as a, t as o } from "./jsx-runtime-
|
|
10
|
-
import { x as s } from "./FormFooterComponent-
|
|
8
|
+
import { Ft as e, Wt as t, c as n, n as r } from "./options-D19mRw5a.js";
|
|
9
|
+
import { c as i, n as a, t as o } from "./jsx-runtime-BknAqbDq.js";
|
|
10
|
+
import { x as s } from "./FormFooterComponent-DscB1SrZ.js";
|
|
11
11
|
import { K as c, V as l, et as u, r as d, tt as f } from "../sheerid.js";
|
|
12
|
-
import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-
|
|
13
|
-
import { n as y, t as b } from "./PersonalInfoStepSubmitButton-
|
|
14
|
-
import { t as x } from "./BirthDateComponent-
|
|
15
|
-
import { t as S } from "./CountryComponentWrapper-
|
|
16
|
-
import { t as C } from "./ExtraMessage-
|
|
17
|
-
import { t as w } from "./ChangeLocaleComponent-
|
|
18
|
-
import { t as T } from "./PersonalInfoStepWrapper-
|
|
19
|
-
import { t as E } from "./MemberIdComponent-
|
|
20
|
-
import { t as D } from "./MembershipOrganizationComponent-
|
|
12
|
+
import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-DT9YtMu5.js";
|
|
13
|
+
import { n as y, t as b } from "./PersonalInfoStepSubmitButton-Ywai8bYu.js";
|
|
14
|
+
import { t as x } from "./BirthDateComponent-BLoR7riO.js";
|
|
15
|
+
import { t as S } from "./CountryComponentWrapper-Dxgi7jrC.js";
|
|
16
|
+
import { t as C } from "./ExtraMessage-V5VRwFXa.js";
|
|
17
|
+
import { t as w } from "./ChangeLocaleComponent-C6Y90lRN.js";
|
|
18
|
+
import { t as T } from "./PersonalInfoStepWrapper-Dqe3wLb3.js";
|
|
19
|
+
import { t as E } from "./MemberIdComponent-Dva2Xx7J.js";
|
|
20
|
+
import { t as D } from "./MembershipOrganizationComponent-DuRL5T4x.js";
|
|
21
21
|
//#region src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.tsx
|
|
22
22
|
var O = /* @__PURE__ */ t(i(), 1), k = o(), A = ({ verificationService: t }) => {
|
|
23
23
|
let i = t.viewModel, { fieldValidationErrors: o } = t, A = t.verificationResponse, j = s(A), M = r(), N = l("memberId")?.requireIfOptional, P = i.localeChoice.value, F = (e, r) => {
|
package/chunk/{StepMemberPersonalInfo-6GXnE9oW.js.map → StepMemberPersonalInfo-0yAouLCL.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepMemberPersonalInfo-6GXnE9oW.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,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pB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
|
|
1
|
+
{"version":3,"file":"StepMemberPersonalInfo-0yAouLCL.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/Km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AAoB,aAAa,2BAClC,EAAoB,aAAa,iBAC/B,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,YAAY,CAAC,CAAC,EAAoB,aAAa;IAC/C,OAAO,EAAU;IACjB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAEtB,AADA,EAAsB,eAAe,CAAQ,GAC7C,EAAqC,eAAe,GAAU,CAAmB;IACnF;IACA,qBAAqB,EAAU,iBAAiB,EAAU,cAAc;IACxE,UAAU,EAAwB,aAAa,GAAG;GACnD,CAAA,IACC;GAEH,EAAQ,iBAAiB,KAAK,MAC7B,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAsB,YAAY;MAChC,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,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"}
|
|
@@ -4,24 +4,24 @@
|
|
|
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.255.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1784047696709
|
|
9
|
+
* BUILD_DATE: Tue Jul 14 2026 16:48:16 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: d80c43f4b4909b1396c769839842a3f368faad8f
|
|
11
11
|
*/
|
|
12
|
-
import { Ht as e, jt as t, p as n, s as r } from "./intl-
|
|
13
|
-
import { c as i, n as a, t as o } from "./jsx-runtime-
|
|
14
|
-
import { T as s } from "./FormFooterComponent-
|
|
12
|
+
import { Ht as e, jt as t, p as n, s as r } from "./intl-aUfdCP8t.js";
|
|
13
|
+
import { c as i, n as a, t as o } from "./jsx-runtime-XNwIsY_N.js";
|
|
14
|
+
import { T as s } from "./FormFooterComponent-C9ol2mDa.js";
|
|
15
15
|
import { $ as c, B as l, G as u, et as d, n as f } from "../_mysheerid-preview.js";
|
|
16
|
-
import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-
|
|
17
|
-
import { n as y, t as b } from "./PersonalInfoStepSubmitButton-
|
|
18
|
-
import { t as x } from "./BirthDateComponent-
|
|
19
|
-
import { t as S } from "./CountryComponentWrapper-
|
|
20
|
-
import { t as C } from "./ExtraMessage-
|
|
21
|
-
import { t as w } from "./ChangeLocaleComponent-
|
|
22
|
-
import { t as T } from "./PersonalInfoStepWrapper-
|
|
23
|
-
import { t as E } from "./MemberIdComponent-
|
|
24
|
-
import { t as D } from "./MembershipOrganizationComponent
|
|
16
|
+
import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-BuY8hWL0.js";
|
|
17
|
+
import { n as y, t as b } from "./PersonalInfoStepSubmitButton-CdweyyxM.js";
|
|
18
|
+
import { t as x } from "./BirthDateComponent-DWFuvTYj.js";
|
|
19
|
+
import { t as S } from "./CountryComponentWrapper-C8op2aoC.js";
|
|
20
|
+
import { t as C } from "./ExtraMessage-FYB_0E23.js";
|
|
21
|
+
import { t as w } from "./ChangeLocaleComponent-Dxgybi-B.js";
|
|
22
|
+
import { t as T } from "./PersonalInfoStepWrapper-BgUvu2Hh.js";
|
|
23
|
+
import { t as E } from "./MemberIdComponent-D_KVob09.js";
|
|
24
|
+
import { t as D } from "./MembershipOrganizationComponent-CTmbxFes.js";
|
|
25
25
|
//#region src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.tsx
|
|
26
26
|
var O = /* @__PURE__ */ e(i(), 1), k = o(), A = ({ verificationService: e }) => {
|
|
27
27
|
let i = e.viewModel, { fieldValidationErrors: o } = e, A = e.verificationResponse, j = s(A), M = r(), N = l("memberId")?.requireIfOptional, P = i.localeChoice.value, F = (t, r) => {
|
package/chunk/{StepMemberPersonalInfo-DIK_Up4k.js.map → StepMemberPersonalInfo-CNOTzx9L.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepMemberPersonalInfo-DIK_Up4k.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,KA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AD;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-CNOTzx9L.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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.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.255.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1784047691162
|
|
5
|
+
* BUILD_DATE: Tue Jul 14 2026 16:48:11 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: d80c43f4b4909b1396c769839842a3f368faad8f
|
|
7
7
|
*/
|
|
8
|
-
import { Ft as e, Wt as t, c as n, n as r } from "./options-
|
|
9
|
-
import { a as i, c as a, n as o, t as s } from "./jsx-runtime-
|
|
10
|
-
import { x as c } from "./FormFooterComponent-
|
|
8
|
+
import { Ft as e, Wt as t, c as n, n as r } from "./options-D19mRw5a.js";
|
|
9
|
+
import { a as i, c as a, n as o, t as s } from "./jsx-runtime-BknAqbDq.js";
|
|
10
|
+
import { x as c } from "./FormFooterComponent-DscB1SrZ.js";
|
|
11
11
|
import { K as l, V as u, et as d, r as f } from "../sheerid.js";
|
|
12
|
-
import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-
|
|
13
|
-
import { n as y, t as b } from "./PersonalInfoStepSubmitButton-
|
|
14
|
-
import { t as x } from "./PostalCodeComponent-
|
|
15
|
-
import { t as S } from "./AddressComponent-
|
|
16
|
-
import { t as C } from "./ExtraMessage-
|
|
17
|
-
import { t as w } from "./ChangeLocaleComponent-
|
|
18
|
-
import { t as T } from "./PersonalInfoStepWrapper-
|
|
12
|
+
import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-DT9YtMu5.js";
|
|
13
|
+
import { n as y, t as b } from "./PersonalInfoStepSubmitButton-Ywai8bYu.js";
|
|
14
|
+
import { t as x } from "./PostalCodeComponent-C97fgZFI.js";
|
|
15
|
+
import { t as S } from "./AddressComponent-DMwOmjiG.js";
|
|
16
|
+
import { t as C } from "./ExtraMessage-V5VRwFXa.js";
|
|
17
|
+
import { t as w } from "./ChangeLocaleComponent-C6Y90lRN.js";
|
|
18
|
+
import { t as T } from "./PersonalInfoStepWrapper-Dqe3wLb3.js";
|
|
19
19
|
//#region src/components/StepMoverPersonalInfo/StepMoverPersonalInfoComponent.tsx
|
|
20
20
|
var E = /* @__PURE__ */ t(a(), 1), D = s(), O = i(({ verificationService: t }) => {
|
|
21
21
|
let i = t.viewModel, { fieldValidationErrors: a } = t, s = t.verificationResponse, O = c(s), k = r(), A = (e, r) => {
|
package/chunk/{StepMoverPersonalInfo-BdCiAwgT.js.map → StepMoverPersonalInfo-jna_tvpV.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepMoverPersonalInfo-BdCiAwgT.js","names":[],"sources":["../../src/components/StepMoverPersonalInfo/StepMoverPersonalInfoComponent.tsx"],"sourcesContent":["import { useEffect } from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n type VerificationService,\n type MoverPersonalInfoViewModel,\n type MoverPersonalInfoResponse,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\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 { AddressComponent as Address } from \"../FormFields/Address/AddressComponent\";\nimport { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\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 StepMoverPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nconst StepMoverPersonalInfo = ({ verificationService }: StepMoverPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MoverPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MoverPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n\n const updateMoverViewModel = (key: keyof MoverPersonalInfoViewModel, value: any) => {\n const nextState: MoverPersonalInfoViewModel = produce(\n viewModel,\n (draft: MoverPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n // We do not want a drop down list, just apply available statuses to the viewModel\n useEffect(() => {\n updateMoverViewModel(\"statuses\", verificationResponse.availableStatuses);\n }, []);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"mover-personal-info\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\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 updateMoverViewModel(\"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 updateMoverViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <Address\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n onChange={(newValue) => {\n updateMoverViewModel(\"address1\", newValue);\n updateFieldValidationErrorsByFieldId(\"address1\", newValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"streetAddress\" defaultMessage=\"Street Address\" />}\n isRequired\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n />\n\n <PostalCode\n value={viewModel.postalCode}\n isErrored={!!fieldValidationErrors.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n onChange={(newValue) => {\n updateMoverViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\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 updateMoverViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\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 updateMoverViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateMoverViewModel(\"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.collectMoverPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Recent Mover Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepMoverPersonalInfoComponent = injectIntl(StepMoverPersonalInfo);\n"],"mappings":";;;;;;;;;;;;4CA8La,IAAiC,GAzJf,EAAE,6BAA+D;CAC9F,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAU,EAAW,GAErB,KAAwB,GAAuC,MAAe;EAClF,IAAM,IAAwC,EAC5C,IACC,MAAsC;GACrC,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C;CAOA,QAJA,GAAA,EAAA,iBAAgB;EACd,EAAqB,YAAY,EAAqB,iBAAi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BAAA,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,CAE8E"}
|
|
1
|
+
{"version":3,"file":"StepMoverPersonalInfo-jna_tvpV.js","names":[],"sources":["../../src/components/StepMoverPersonalInfo/StepMoverPersonalInfoComponent.tsx"],"sourcesContent":["import { useEffect } from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n type VerificationService,\n type MoverPersonalInfoViewModel,\n type MoverPersonalInfoResponse,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\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 { AddressComponent as Address } from \"../FormFields/Address/AddressComponent\";\nimport { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\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 StepMoverPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nconst StepMoverPersonalInfo = ({ verificationService }: StepMoverPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MoverPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MoverPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n\n const updateMoverViewModel = (key: keyof MoverPersonalInfoViewModel, value: any) => {\n const nextState: MoverPersonalInfoViewModel = produce(\n viewModel,\n (draft: MoverPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n // We do not want a drop down list, just apply available statuses to the viewModel\n useEffect(() => {\n updateMoverViewModel(\"statuses\", verificationResponse.availableStatuses);\n }, []);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"mover-personal-info\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\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 updateMoverViewModel(\"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 updateMoverViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <Address\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n onChange={(newValue) => {\n updateMoverViewModel(\"address1\", newValue);\n updateFieldValidationErrorsByFieldId(\"address1\", newValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"streetAddress\" defaultMessage=\"Street Address\" />}\n isRequired\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n />\n\n <PostalCode\n value={viewModel.postalCode}\n isErrored={!!fieldValidationErrors.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n onChange={(newValue) => {\n updateMoverViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\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 updateMoverViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\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 updateMoverViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateMoverViewModel(\"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.collectMoverPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Recent Mover Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepMoverPersonalInfoComponent = injectIntl(StepMoverPersonalInfo);\n"],"mappings":";;;;;;;;;;;;4CA8La,IAAiC,GAzJf,EAAE,6BAA+D;CAC9F,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAU,EAAW,GAErB,KAAwB,GAAuC,MAAe;EAClF,IAAM,IAAwC,EAC5C,IACC,MAAsC;GACrC,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C;CAOA,QAJA,GAAA,EAAA,iBAAgB;EACd,EAAqB,YAAY,EAAqB,iBAAiB;CACzE,GAAG,CAAC,CAAC,GAGH,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,EAA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|
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.255.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1784047696709
|
|
9
|
+
* BUILD_DATE: Tue Jul 14 2026 16:48:16 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: d80c43f4b4909b1396c769839842a3f368faad8f
|
|
11
11
|
*/
|
|
12
|
-
import { Ht as e, jt as t, p as n, s as r } from "./intl-
|
|
13
|
-
import { a as i, c as a, n as o, t as s } from "./jsx-runtime-
|
|
14
|
-
import { T as c } from "./FormFooterComponent-
|
|
12
|
+
import { Ht as e, jt as t, p as n, s as r } from "./intl-aUfdCP8t.js";
|
|
13
|
+
import { a as i, c as a, n as o, t as s } from "./jsx-runtime-XNwIsY_N.js";
|
|
14
|
+
import { T as c } from "./FormFooterComponent-C9ol2mDa.js";
|
|
15
15
|
import { $ as l, B as u, G as d, n as f } from "../_mysheerid-preview.js";
|
|
16
|
-
import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-
|
|
17
|
-
import { n as y, t as b } from "./PersonalInfoStepSubmitButton-
|
|
18
|
-
import { t as x } from "./PostalCodeComponent-
|
|
19
|
-
import { t as S } from "./AddressComponent-
|
|
20
|
-
import { t as C } from "./ExtraMessage-
|
|
21
|
-
import { t as w } from "./ChangeLocaleComponent-
|
|
22
|
-
import { t as T } from "./PersonalInfoStepWrapper-
|
|
16
|
+
import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-BuY8hWL0.js";
|
|
17
|
+
import { n as y, t as b } from "./PersonalInfoStepSubmitButton-CdweyyxM.js";
|
|
18
|
+
import { t as x } from "./PostalCodeComponent-YFm2z5qa.js";
|
|
19
|
+
import { t as S } from "./AddressComponent-DluNaOpg.js";
|
|
20
|
+
import { t as C } from "./ExtraMessage-FYB_0E23.js";
|
|
21
|
+
import { t as w } from "./ChangeLocaleComponent-Dxgybi-B.js";
|
|
22
|
+
import { t as T } from "./PersonalInfoStepWrapper-BgUvu2Hh.js";
|
|
23
23
|
//#region src/components/StepMoverPersonalInfo/StepMoverPersonalInfoComponent.tsx
|
|
24
24
|
var E = /* @__PURE__ */ e(a(), 1), D = s(), O = i(({ verificationService: e }) => {
|
|
25
25
|
let i = e.viewModel, { fieldValidationErrors: a } = e, s = e.verificationResponse, O = c(s), k = r(), A = (t, r) => {
|
package/chunk/{StepMoverPersonalInfo-Cs-5V2Vf.js.map → StepMoverPersonalInfo-kxxtg7Ct.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepMoverPersonalInfo-Cs-5V2Vf.js","names":[],"sources":["../../src/components/StepMoverPersonalInfo/StepMoverPersonalInfoComponent.tsx"],"sourcesContent":["import { useEffect } from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n type VerificationService,\n type MoverPersonalInfoViewModel,\n type MoverPersonalInfoResponse,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\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 { AddressComponent as Address } from \"../FormFields/Address/AddressComponent\";\nimport { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\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 StepMoverPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nconst StepMoverPersonalInfo = ({ verificationService }: StepMoverPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MoverPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MoverPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n\n const updateMoverViewModel = (key: keyof MoverPersonalInfoViewModel, value: any) => {\n const nextState: MoverPersonalInfoViewModel = produce(\n viewModel,\n (draft: MoverPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n // We do not want a drop down list, just apply available statuses to the viewModel\n useEffect(() => {\n updateMoverViewModel(\"statuses\", verificationResponse.availableStatuses);\n }, []);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"mover-personal-info\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\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 updateMoverViewModel(\"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 updateMoverViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <Address\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n onChange={(newValue) => {\n updateMoverViewModel(\"address1\", newValue);\n updateFieldValidationErrorsByFieldId(\"address1\", newValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"streetAddress\" defaultMessage=\"Street Address\" />}\n isRequired\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n />\n\n <PostalCode\n value={viewModel.postalCode}\n isErrored={!!fieldValidationErrors.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n onChange={(newValue) => {\n updateMoverViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\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 updateMoverViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\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 updateMoverViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateMoverViewModel(\"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.collectMoverPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Recent Mover Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepMoverPersonalInfoComponent = injectIntl(StepMoverPersonalInfo);\n"],"mappings":";;;;;;;;;;;;4CA8La,IAAiC,GAzJf,EAAE,6BAA+D;CAC9F,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAU,EAAW,GAErB,KAAwB,GAAuC,MAAe;EAClF,IAAM,IAAwC,EAC5C,IACC,MAAsC;GACrC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C;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,CAE8E"}
|
|
1
|
+
{"version":3,"file":"StepMoverPersonalInfo-kxxtg7Ct.js","names":[],"sources":["../../src/components/StepMoverPersonalInfo/StepMoverPersonalInfoComponent.tsx"],"sourcesContent":["import { useEffect } from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n type VerificationService,\n type MoverPersonalInfoViewModel,\n type MoverPersonalInfoResponse,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\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 { AddressComponent as Address } from \"../FormFields/Address/AddressComponent\";\nimport { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\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 StepMoverPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nconst StepMoverPersonalInfo = ({ verificationService }: StepMoverPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MoverPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MoverPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n\n const updateMoverViewModel = (key: keyof MoverPersonalInfoViewModel, value: any) => {\n const nextState: MoverPersonalInfoViewModel = produce(\n viewModel,\n (draft: MoverPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n // We do not want a drop down list, just apply available statuses to the viewModel\n useEffect(() => {\n updateMoverViewModel(\"statuses\", verificationResponse.availableStatuses);\n }, []);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"mover-personal-info\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\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 updateMoverViewModel(\"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 updateMoverViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <Address\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n onChange={(newValue) => {\n updateMoverViewModel(\"address1\", newValue);\n updateFieldValidationErrorsByFieldId(\"address1\", newValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"streetAddress\" defaultMessage=\"Street Address\" />}\n isRequired\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n />\n\n <PostalCode\n value={viewModel.postalCode}\n isErrored={!!fieldValidationErrors.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n onChange={(newValue) => {\n updateMoverViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\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 updateMoverViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\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 updateMoverViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateMoverViewModel(\"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.collectMoverPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Recent Mover Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepMoverPersonalInfoComponent = injectIntl(StepMoverPersonalInfo);\n"],"mappings":";;;;;;;;;;;;4CA8La,IAAiC,GAzJf,EAAE,6BAA+D;CAC9F,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAU,EAAW,GAErB,KAAwB,GAAuC,MAAe;EAClF,IAAM,IAAwC,EAC5C,IACC,MAAsC;GACrC,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C;CAOA,QAJA,GAAA,EAAA,iBAAgB;EACd,EAAqB,YAAY,EAAqB,iBAAiB;CACzE,GAAG,CAAC,CAAC,GAGH,iBAAA,GAAA,EAAA,MAAC,GAAD;EACuB;EACrB,MAAM,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AAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB,CAE8E"}
|
|
@@ -4,18 +4,18 @@
|
|
|
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.255.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1784047696709
|
|
9
|
+
* BUILD_DATE: Tue Jul 14 2026 16:48:16 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: d80c43f4b4909b1396c769839842a3f368faad8f
|
|
11
11
|
*/
|
|
12
|
-
import { Ht as e, It as t, Lt as n, jt as r } from "./intl-
|
|
13
|
-
import { a as i, c as a, n as o, t as s } from "./jsx-runtime-
|
|
14
|
-
import { n as c, t as l } from "./FormFooterComponent-
|
|
15
|
-
import { i as u } from "./validators-
|
|
16
|
-
import { t as d } from "./LogoComponent-
|
|
17
|
-
import { t as f } from "./AnnouncingHeader-
|
|
18
|
-
import { t as p } from "./FormFieldText-
|
|
12
|
+
import { Ht as e, It as t, Lt as n, jt as r } from "./intl-aUfdCP8t.js";
|
|
13
|
+
import { a as i, c as a, n as o, t as s } from "./jsx-runtime-XNwIsY_N.js";
|
|
14
|
+
import { n as c, t as l } from "./FormFooterComponent-C9ol2mDa.js";
|
|
15
|
+
import { i as u } from "./validators-BZCydYkb.js";
|
|
16
|
+
import { t as d } from "./LogoComponent-CFPoRk_q.js";
|
|
17
|
+
import { t as f } from "./AnnouncingHeader-BZreAj2L.js";
|
|
18
|
+
import { t as p } from "./FormFieldText-BeEhq8Kc.js";
|
|
19
19
|
//#region src/components/FormFields/OverrideCode/OverrideCodeComponent.tsx
|
|
20
20
|
var m = /* @__PURE__ */ e(a(), 1), h = s(), g = i(({ value: e, isErrored: t, onChange: n, placeholder: r = "" }) => /* @__PURE__ */ (0, h.jsx)(p, {
|
|
21
21
|
fieldId: "overrideCode",
|
package/chunk/{StepOverrideComponent-BuCf5lHB.js.map → StepOverrideComponent-Dvn5tbXW.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepOverrideComponent-
|
|
1
|
+
{"version":3,"file":"StepOverrideComponent-Dvn5tbXW.js","names":[],"sources":["../../src/components/FormFields/OverrideCode/OverrideCodeComponent.tsx","../../src/components/StepOverrideComponent/StepOverrideComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldText } from \"../FormFieldText/FormFieldText\";\n\nexport const OverrideCode = ({\n value,\n isErrored,\n onChange,\n placeholder = \"\",\n}: FormFieldComponentProps) => (\n <FormFieldText\n fieldId=\"overrideCode\"\n value={value}\n onChange={onChange}\n placeholder=\"\"\n type=\"password\"\n label={\n <FormattedHTMLMessage\n id=\"step.override.verificationOverrideCodeLabel\"\n defaultMessage=\"Verification Override Code\"\n />\n }\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidOverrideCode\"\n defaultMessage=\"Invalid Override Code\"\n />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n />\n);\n\nexport const OverrideCodeComponent = injectIntl(OverrideCode);\n","import React from \"react\";\nimport { injectIntl, FormattedHTMLMessage, type InjectedIntl } from \"react-intl\";\n\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\n\nimport {\n type VerificationService,\n type OverrideViewModel,\n type OverrideResponse,\n} from \"../../lib/types/types\";\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { OverrideCodeComponent } from \"../FormFields/OverrideCode/OverrideCodeComponent\";\nimport { setViewModel } from \"../../lib/VerificationService/ViewModel\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { isFormFilled } from \"../../lib/validators/validators\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\n\ninterface StepOverrideProps {\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nconst StepOverride = ({ intl, verificationService }: StepOverrideProps) => {\n const viewModel = verificationService.viewModel as OverrideViewModel;\n const verificationResponse = verificationService.verificationResponse as OverrideResponse;\n const { fieldValidationErrors } = verificationService;\n const [stepResultMessage, setStepResultMessage] = React.useState(\"\");\n const isAttemptLimitExceeded =\n verificationResponse.errorIds &&\n verificationResponse.errorIds.includes(\"incorrectVerificationOverrideCodeAttemptLimitExceeded\");\n const maxRetriesPerOverrideCodeMessage = intl.formatHTMLMessage({\n id: \"step.override.errors.codeOverrideLimit\",\n defaultMessage: \"Override code limit exceeded.\",\n });\n\n React.useEffect(() => {\n if (isAttemptLimitExceeded) {\n setStepResultMessage(maxRetriesPerOverrideCodeMessage);\n }\n }, []);\n\n if (\n getSafe(() => verificationResponse.errorIds.length) &&\n !verificationService.fieldValidationErrors.overrideCode\n ) {\n verificationService.updateFieldValidationErrors({\n ...verificationService.fieldValidationErrors,\n overrideCode: verificationResponse.errorIds[0],\n });\n }\n\n const submitForm = () => {\n logger.info(\"StepOverrideCode submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.override,\n viewModel,\n verificationService.verificationResponse,\n );\n };\n\n return (\n <div\n id=\"sid-step-overrice-code\"\n className=\"sid-override-personal-info-container sid-l-container\"\n >\n <div role=\"main\">\n <div className=\"sid-override-personal-info-logo-container sid-l-horz-center\">\n <LogoComponent\n verificationService={verificationService}\n fallbackLogo={\n <img\n className=\"sid-override-personal-info-logo-default sid-l-lead-image\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/sso-step.svg\"\n />\n }\n />\n </div>\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.override.title\"\n defaultMessage=\"Unable to Verify Status\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle-one sid-l-horz-center\">\n <FormattedHTMLMessage\n id=\"step.override.subtitle\"\n defaultMessage=\"Please sign in to your school's web portal. It will open in a new tab.\"\n />\n </div>\n <div className=\"sid-header__subtitle-one sid-l-horz-center\">\n <FormattedHTMLMessage\n id=\"step.override.subtitle2\"\n defaultMessage=\"This will enable the customer to redeem the offer\"\n />\n </div>\n <OverrideCodeComponent\n value={viewModel.overrideCode}\n isErrored={!!fieldValidationErrors.overrideCode}\n onChange={(newValue) => {\n setViewModel({ ...viewModel, overrideCode: newValue });\n }}\n />\n {stepResultMessage && (\n <div>\n <p>{stepResultMessage}</p>\n </div>\n )}\n\n <div className=\"sid-form-region sid-submit-wrapper sid-l-space-top-md\">\n <div className=\"sid-override-submit sid-submit\">\n <button\n id=\"sid-submit-btn-collect-info\"\n onClick={submitForm}\n type=\"button\"\n className={`sid-btn sid-override-submit-btn sid-btn--dark sid-l-full-width ${\n !isFormFilled(viewModel, verificationService.formValidationOptions)\n ? \"sid-btn--disabled-like\"\n : \"\"\n }`}\n disabled={\n !!(\n !viewModel.overrideCode ||\n viewModel.overrideCode.length <= 0 ||\n isAttemptLimitExceeded\n )\n }\n >\n <span id=\"verify-status-text\">\n <FormattedHTMLMessage\n id=\"step.override.submitOverrideCodeButtonLabel\"\n defaultMessage=\"Submit Override Codes\"\n />\n </span>\n </button>\n </div>\n </div>\n </div>\n <FormFooter verificationService={verificationService} />\n </div>\n );\n};\nexport const StepOverrideComponent = injectIntl(StepOverride);\n"],"mappings":";;;;;;;;4CAmCA,IAAA,GA9BA,EAAA,UAAA,cAAA,aAAA,iBAAA,SAAA,iBAAA,GAAA,EAAA,KAAA,GAAA;;;;;;;;;;;;;;;AA2BG,CAAA,CAGH,GC8Ga,IAAwB,GAzHf,EAAE,SAAM,6BAA6C;CACzE,IAAM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