@sheerid/jslib-nightly 2.258.0-alpha.0 → 2.258.0-alpha.2
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 +3 -3
- package/_mysheerid-preview.js +1524 -1423
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-DluNaOpg.js → AddressComponent-CJV3vrMt.js} +5 -5
- package/chunk/{AddressComponent-DluNaOpg.js.map → AddressComponent-CJV3vrMt.js.map} +1 -1
- package/chunk/AddressComponent-DMwOmjiG.js +3 -3
- package/chunk/{AnnouncingHeader-BZreAj2L.js → AnnouncingHeader-BF69hVVm.js} +5 -5
- package/chunk/{AnnouncingHeader-BZreAj2L.js.map → AnnouncingHeader-BF69hVVm.js.map} +1 -1
- package/chunk/AnnouncingHeader-DjgtqEeX.js +3 -3
- package/chunk/{ApiUrls-w6kzi6mH.js → ApiUrls-BjhuhV-u.js} +4 -4
- package/chunk/{ApiUrls-DN0vqbpB.js.map → ApiUrls-BjhuhV-u.js.map} +1 -1
- package/chunk/{ApiUrls-DN0vqbpB.js → ApiUrls-Br8Vslon.js} +12 -12
- package/chunk/{ApiUrls-w6kzi6mH.js.map → ApiUrls-Br8Vslon.js.map} +1 -1
- package/chunk/{BirthDateComponent-B7s3MAdG.js → BirthDateComponent-BNxj7HVi.js} +4 -4
- package/chunk/{BirthDateComponent-8WA9dVaA.js.map → BirthDateComponent-BNxj7HVi.js.map} +1 -1
- package/chunk/{BirthDateComponent-8WA9dVaA.js → BirthDateComponent-DJ0lhMz0.js} +6 -6
- package/chunk/{BirthDateComponent-B7s3MAdG.js.map → BirthDateComponent-DJ0lhMz0.js.map} +1 -1
- package/chunk/{CaptchaComponent-Dbfobre9.js → CaptchaComponent-3CkADj7Y.js} +93 -93
- package/chunk/{CaptchaComponent-DZpyR6DG.js.map → CaptchaComponent-3CkADj7Y.js.map} +1 -1
- package/chunk/{CaptchaComponent-DZpyR6DG.js → CaptchaComponent-Dj1XrWkM.js} +5 -5
- package/chunk/{CaptchaComponent-Dbfobre9.js.map → CaptchaComponent-Dj1XrWkM.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-CSQgW-Mg.js → ChangeLocaleComponent-CuzJdznM.js} +6 -6
- package/chunk/{ChangeLocaleComponent-Bv2AAPrZ.js.map → ChangeLocaleComponent-CuzJdznM.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-Bv2AAPrZ.js → ChangeLocaleComponent-D1rmQo2-.js} +4 -4
- package/chunk/{ChangeLocaleComponent-CSQgW-Mg.js.map → ChangeLocaleComponent-D1rmQo2-.js.map} +1 -1
- package/chunk/City-CmO85Z9x.js +3 -3
- package/chunk/{City-BP95fpVf.js → City-DlWin4GX.js} +5 -5
- package/chunk/{City-BP95fpVf.js.map → City-DlWin4GX.js.map} +1 -1
- package/chunk/{CollegeNameComponent-F6W67Pbn.js → CollegeNameComponent-x7_ep0bP.js} +4 -4
- package/chunk/{CollegeNameComponent-C5TsKJ-X.js.map → CollegeNameComponent-x7_ep0bP.js.map} +1 -1
- package/chunk/{CollegeNameComponent-C5TsKJ-X.js → CollegeNameComponent-xQgFrK2K.js} +7 -7
- package/chunk/{CollegeNameComponent-F6W67Pbn.js.map → CollegeNameComponent-xQgFrK2K.js.map} +1 -1
- package/chunk/CopyToClipboardComponent-1BeB_oX_.js +3 -3
- package/chunk/{CopyToClipboardComponent-6MY3v7_-.js → CopyToClipboardComponent-C1BnmvlK.js} +8 -8
- package/chunk/{CopyToClipboardComponent-6MY3v7_-.js.map → CopyToClipboardComponent-C1BnmvlK.js.map} +1 -1
- package/chunk/CountryComponentWrapper-CHsLroJa.js +78 -0
- package/chunk/{CountryComponentWrapper-Bf1-YKhh.js.map → CountryComponentWrapper-CHsLroJa.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-Bu5IXuLl.js → CountryComponentWrapper-DSWE6u6x.js} +4 -4
- package/chunk/{CountryComponentWrapper-Bu5IXuLl.js.map → CountryComponentWrapper-DSWE6u6x.js.map} +1 -1
- package/chunk/{DischargeDateComponent-CPPIRL5w.js → DischargeDateComponent-DCTFDEO0.js} +6 -6
- package/chunk/{DischargeDateComponent-aY-sY2hQ.js.map → DischargeDateComponent-DCTFDEO0.js.map} +1 -1
- package/chunk/{DischargeDateComponent-aY-sY2hQ.js → DischargeDateComponent-DM1bcMxW.js} +13 -13
- package/chunk/{DischargeDateComponent-CPPIRL5w.js.map → DischargeDateComponent-DM1bcMxW.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-CQeKZs0G.js → DriverLicenseNumberComponent-D8q18o2M.js} +5 -5
- package/chunk/{DriverLicenseNumberComponent-CQeKZs0G.js.map → DriverLicenseNumberComponent-D8q18o2M.js.map} +1 -1
- package/chunk/DriverLicenseNumberComponent-DgXMM-Pt.js +3 -3
- package/chunk/{EmailLoopPending-D4grYnGj.js → EmailLoopPending-CfIA0oJ-.js} +17 -17
- package/chunk/{EmailLoopPending-DuZ_-0yz.js.map → EmailLoopPending-CfIA0oJ-.js.map} +1 -1
- package/chunk/{EmailLoopPending-DuZ_-0yz.js → EmailLoopPending-lv7oBmbw.js} +4 -4
- package/chunk/{EmailLoopPending-D4grYnGj.js.map → EmailLoopPending-lv7oBmbw.js.map} +1 -1
- package/chunk/{ExtraMessage-CQYgCvqn.js → ExtraMessage-CwPDe_DW.js} +4 -4
- package/chunk/{ExtraMessage-CQYgCvqn.js.map → ExtraMessage-CwPDe_DW.js.map} +1 -1
- package/chunk/{ExtraMessage-CxZw4rg7.js → ExtraMessage-DOEcewIZ.js} +6 -6
- package/chunk/{ExtraMessage-CxZw4rg7.js.map → ExtraMessage-DOEcewIZ.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-Cm72_4V9.js → FirstResponderOrganizationComponent-DNyzoV7G.js} +6 -6
- package/chunk/{FirstResponderOrganizationComponent-B8fNs_Iu.js.map → FirstResponderOrganizationComponent-DNyzoV7G.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-B8fNs_Iu.js → FirstResponderOrganizationComponent-DmLH7cEa.js} +4 -4
- package/chunk/{FirstResponderOrganizationComponent-Cm72_4V9.js.map → FirstResponderOrganizationComponent-DmLH7cEa.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-BQrFHad5.js → FormFieldInputSelect-7aYo31R5.js} +6 -6
- package/chunk/{FormFieldInputSelect-BQrFHad5.js.map → FormFieldInputSelect-7aYo31R5.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-DTxxnUUp.js → FormFieldInputSelect-g9GagJpQ.js} +4 -4
- package/chunk/{FormFieldInputSelect-DTxxnUUp.js.map → FormFieldInputSelect-g9GagJpQ.js.map} +1 -1
- package/chunk/{FormFieldLayout-CUA-PItd.js → FormFieldLayout-BpmeMD4X.js} +5 -5
- package/chunk/{FormFieldLayout-CUA-PItd.js.map → FormFieldLayout-BpmeMD4X.js.map} +1 -1
- package/chunk/FormFieldLayout-DIcCOsGu.js +3 -3
- package/chunk/FormFieldText-zjWk7Cyc.js +3 -3
- package/chunk/{FormFieldText-BeEhq8Kc.js → FormFieldText-zuTjfmLt.js} +6 -6
- package/chunk/{FormFieldText-BeEhq8Kc.js.map → FormFieldText-zuTjfmLt.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-D1M1OuJO.js → FormFieldTypeahead-BblauBOC.js} +77 -77
- package/chunk/FormFieldTypeahead-BblauBOC.js.map +1 -0
- package/chunk/{FormFieldTypeahead-BwyQi_JN.js → FormFieldTypeahead-bR9_vlWX.js} +7 -7
- package/chunk/FormFieldTypeahead-bR9_vlWX.js.map +1 -0
- package/chunk/{FormFooterComponent-Cl1CuBH8.js → FormFooterComponent-DdYBy4hI.js} +1343 -1225
- package/chunk/FormFooterComponent-DdYBy4hI.js.map +1 -0
- package/chunk/{FormFooterComponent-BIJKGwsH.js → FormFooterComponent-QZUjL2NN.js} +383 -277
- package/chunk/FormFooterComponent-QZUjL2NN.js.map +1 -0
- package/chunk/{FormSelectChoice-J5isZDVU.js → FormSelectChoice-CqCNOEHe.js} +16 -16
- package/chunk/{FormSelectChoice-Ck-SadmZ.js.map → FormSelectChoice-CqCNOEHe.js.map} +1 -1
- package/chunk/{FormSelectChoice-Ck-SadmZ.js → FormSelectChoice-DMJegqqj.js} +4 -4
- package/chunk/{FormSelectChoice-J5isZDVU.js.map → FormSelectChoice-DMJegqqj.js.map} +1 -1
- package/chunk/InputText-Bzkl8mKj.js +3 -3
- package/chunk/{InputText-CkDvaW9P.js → InputText-DA8wfbQM.js} +6 -6
- package/chunk/{InputText-CkDvaW9P.js.map → InputText-DA8wfbQM.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-DCBgpZym.js → LicensedProfessionalOrganizationComponent-BdsboIHn.js} +4 -4
- package/chunk/{LicensedProfessionalOrganizationComponent-DCBgpZym.js.map → LicensedProfessionalOrganizationComponent-BdsboIHn.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-D_F0RMD5.js → LicensedProfessionalOrganizationComponent-Bm1EuiZe.js} +6 -6
- package/chunk/{LicensedProfessionalOrganizationComponent-D_F0RMD5.js.map → LicensedProfessionalOrganizationComponent-Bm1EuiZe.js.map} +1 -1
- package/chunk/LogoComponent-BMeuu-aK.js +3 -3
- package/chunk/{LogoComponent-CFPoRk_q.js → LogoComponent-BxIXOXCM.js} +5 -5
- package/chunk/{LogoComponent-CFPoRk_q.js.map → LogoComponent-BxIXOXCM.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-CnNxGNuy.js → LowIncomeOrganizationComponent-DV4xhsxA.js} +6 -6
- package/chunk/{LowIncomeOrganizationComponent-CnNxGNuy.js.map → LowIncomeOrganizationComponent-DV4xhsxA.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-DBDVn03l.js → LowIncomeOrganizationComponent-JIBMRBVu.js} +15 -15
- package/chunk/{LowIncomeOrganizationComponent-DBDVn03l.js.map → LowIncomeOrganizationComponent-JIBMRBVu.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-Brg1PxRP.js → MedicalProfessionalOrganizationComponent-Bu7uAv6y.js} +4 -4
- package/chunk/{MedicalProfessionalOrganizationComponent-Brg1PxRP.js.map → MedicalProfessionalOrganizationComponent-Bu7uAv6y.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-D9g_tA1n.js → MedicalProfessionalOrganizationComponent-DtRRbuPO.js} +6 -6
- package/chunk/{MedicalProfessionalOrganizationComponent-D9g_tA1n.js.map → MedicalProfessionalOrganizationComponent-DtRRbuPO.js.map} +1 -1
- package/chunk/{MemberIdComponent-D_KVob09.js → MemberIdComponent-DMGaNM9l.js} +5 -5
- package/chunk/{MemberIdComponent-D_KVob09.js.map → MemberIdComponent-DMGaNM9l.js.map} +1 -1
- package/chunk/MemberIdComponent-Dva2Xx7J.js +3 -3
- package/chunk/{MembershipOrganizationComponent-B69uJDXa.js → MembershipOrganizationComponent-0dDQxNdP.js} +4 -4
- package/chunk/{MembershipOrganizationComponent-B69uJDXa.js.map → MembershipOrganizationComponent-0dDQxNdP.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-DAMVRFhx.js → MembershipOrganizationComponent-BURHKl64.js} +6 -6
- package/chunk/{MembershipOrganizationComponent-DAMVRFhx.js.map → MembershipOrganizationComponent-BURHKl64.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +3 -3
- package/chunk/{PersonalInfoStepSubmitButton-CdweyyxM.js → PersonalInfoStepSubmitButton-D3lzSm2E.js} +20 -20
- package/chunk/{PersonalInfoStepSubmitButton-CdweyyxM.js.map → PersonalInfoStepSubmitButton-D3lzSm2E.js.map} +1 -1
- package/chunk/PersonalInfoStepSubmitButton-Ywai8bYu.js +3 -3
- package/chunk/{PersonalInfoStepWrapper-BIniJGP3.js → PersonalInfoStepWrapper-CGH-h9Jf.js} +7 -7
- package/chunk/{PersonalInfoStepWrapper-BIniJGP3.js.map → PersonalInfoStepWrapper-CGH-h9Jf.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-JN_BANaA.js → PersonalInfoStepWrapper-jdzoT2oQ.js} +4 -4
- package/chunk/{PersonalInfoStepWrapper-JN_BANaA.js.map → PersonalInfoStepWrapper-jdzoT2oQ.js.map} +1 -1
- package/chunk/{PostalCodeComponent-YFm2z5qa.js → PostalCodeComponent-BGzBByZd.js} +5 -5
- package/chunk/{PostalCodeComponent-YFm2z5qa.js.map → PostalCodeComponent-BGzBByZd.js.map} +1 -1
- package/chunk/PostalCodeComponent-C97fgZFI.js +3 -3
- package/chunk/{SSN-CtVtLOD7.js → SSN-CNzKgddw.js} +6 -6
- package/chunk/{SSN-CtVtLOD7.js.map → SSN-CNzKgddw.js.map} +1 -1
- package/chunk/SSN-mk_cMbDH.js +3 -3
- package/chunk/{StateSelectComponent-CcM2VLaS.js → StateSelectComponent-C4bCRzw5.js} +4 -4
- package/chunk/{StateSelectComponent-CNqQ_bKi.js.map → StateSelectComponent-C4bCRzw5.js.map} +1 -1
- package/chunk/{StateSelectComponent-CNqQ_bKi.js → StateSelectComponent-Dt7KMYlB.js} +5 -5
- package/chunk/{StateSelectComponent-CcM2VLaS.js.map → StateSelectComponent-Dt7KMYlB.js.map} +1 -1
- package/chunk/{StatusComponent-EUwB0QLZ.js → StatusComponent-DNYk1Jwe.js} +4 -4
- package/chunk/{StatusComponent-D5T9wiBp.js.map → StatusComponent-DNYk1Jwe.js.map} +1 -1
- package/chunk/{StatusComponent-D5T9wiBp.js → StatusComponent-DnmUFkly.js} +6 -6
- package/chunk/{StatusComponent-EUwB0QLZ.js.map → StatusComponent-DnmUFkly.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-0gc8-Qpd.js → StepActiveMilitaryPersonalInfoComponent-BjomAUg2.js} +23 -23
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-0gc8-Qpd.js.map → StepActiveMilitaryPersonalInfoComponent-BjomAUg2.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-CykyGWiR.js → StepActiveMilitaryPersonalInfoComponent-hM8dAepU.js} +12 -12
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-CykyGWiR.js.map → StepActiveMilitaryPersonalInfoComponent-hM8dAepU.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-CSUVa8Qi.js → StepAgePersonalInfo-BqtUw-Nv.js} +11 -11
- package/chunk/{StepAgePersonalInfo-Bj_hjFgx.js.map → StepAgePersonalInfo-BqtUw-Nv.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-Bj_hjFgx.js → StepAgePersonalInfo-CdST_Dmi.js} +56 -56
- package/chunk/{StepAgePersonalInfo-CSUVa8Qi.js.map → StepAgePersonalInfo-CdST_Dmi.js.map} +1 -1
- package/chunk/StepCard-7t2vkHqM.js +3 -3
- package/chunk/{StepCard-BF_RD7Rd.js → StepCard-BtvCt-ND.js} +4 -4
- package/chunk/{StepCard-BF_RD7Rd.js.map → StepCard-BtvCt-ND.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-DfWUQIFD.js → StepCollectIdentifier-CedPx9ND.js} +4 -4
- package/chunk/{StepCollectIdentifier-DfWUQIFD.js.map → StepCollectIdentifier-CedPx9ND.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-DX33gH0r.js → StepCollectIdentifier-mCEUNf8R.js} +7 -7
- package/chunk/{StepCollectIdentifier-DX33gH0r.js.map → StepCollectIdentifier-mCEUNf8R.js.map} +1 -1
- package/chunk/StepCollectMilitaryStatusComponent-Bk3fehX6.js +9 -0
- package/chunk/{StepCollectMilitaryStatusComponent-whRC4s3_.js → StepCollectMilitaryStatusComponent-CsrWN1Fp.js} +4 -4
- package/chunk/{StepCollectPersonalInfo-BaUFMMJ0.js → StepCollectPersonalInfo-BleSjjbJ.js} +106 -106
- package/chunk/{StepCollectPersonalInfo-BaUFMMJ0.js.map → StepCollectPersonalInfo-BleSjjbJ.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-C-iHvlQm.js → StepCollectPersonalInfo-XfmHEIhX.js} +19 -19
- package/chunk/{StepCollectPersonalInfo-C-iHvlQm.js.map → StepCollectPersonalInfo-XfmHEIhX.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-q5i7ecb3.js → StepCompleteAuthentication-C2HoMZzF.js} +18 -18
- package/chunk/{StepCompleteAuthentication-q5i7ecb3.js.map → StepCompleteAuthentication-C2HoMZzF.js.map} +1 -1
- package/chunk/StepCompleteAuthentication-Cs4zhI-D.js +3 -3
- package/chunk/{StepConsolation-Cw-LF1FK.js → StepConsolation-BlC3FCxR.js} +8 -8
- package/chunk/{StepConsolation-Cw-LF1FK.js.map → StepConsolation-BlC3FCxR.js.map} +1 -1
- package/chunk/{StepConsolation-CDgmgSwM.js → StepConsolation-CP7Ty_3Z.js} +4 -4
- package/chunk/{StepConsolation-CDgmgSwM.js.map → StepConsolation-CP7Ty_3Z.js.map} +1 -1
- package/chunk/{StepDocUpload-Dh9K5nZl.js → StepDocUpload-CAUGwHSg.js} +206 -206
- package/chunk/{StepDocUpload-Dh9K5nZl.js.map → StepDocUpload-CAUGwHSg.js.map} +1 -1
- package/chunk/{StepDocUpload-CJgc8nD1.js → StepDocUpload-DkWwguQ-.js} +4 -4
- package/chunk/{StepDocUpload-CJgc8nD1.js.map → StepDocUpload-DkWwguQ-.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-BJavbeeG.js → StepDriverLicensePersonalInfoComponent-B2SMQtFn.js} +9 -9
- package/chunk/{StepDriverLicensePersonalInfoComponent-Dbqe5VFg.js.map → StepDriverLicensePersonalInfoComponent-B2SMQtFn.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-Dbqe5VFg.js → StepDriverLicensePersonalInfoComponent-tLFYrsZm.js} +14 -14
- package/chunk/{StepDriverLicensePersonalInfoComponent-BJavbeeG.js.map → StepDriverLicensePersonalInfoComponent-tLFYrsZm.js.map} +1 -1
- package/chunk/{StepEmailLoop-BEFAkrrx.js → StepEmailLoop-D4zZZn8J.js} +5 -5
- package/chunk/{StepEmailLoop-BEFAkrrx.js.map → StepEmailLoop-D4zZZn8J.js.map} +1 -1
- package/chunk/{StepEmailLoop-xkOGlFaq.js → StepEmailLoop-FausTzfT.js} +13 -13
- package/chunk/{StepEmailLoop-xkOGlFaq.js.map → StepEmailLoop-FausTzfT.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-CoFRiIm5.js → StepEmploymentPersonalInfo-BWnfMrEI.js} +17 -17
- package/chunk/{StepEmploymentPersonalInfo-Bry9enBb.js.map → StepEmploymentPersonalInfo-BWnfMrEI.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-Bry9enBb.js → StepEmploymentPersonalInfo-oGRFGWG3.js} +10 -10
- package/chunk/{StepEmploymentPersonalInfo-CoFRiIm5.js.map → StepEmploymentPersonalInfo-oGRFGWG3.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-BdRwdEuN.js → StepFirstResponderPersonalInfo-BBIjWUh9.js} +12 -12
- package/chunk/{StepFirstResponderPersonalInfo-BdRwdEuN.js.map → StepFirstResponderPersonalInfo-BBIjWUh9.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-CiibwmOq.js → StepFirstResponderPersonalInfo-CntfAPiK.js} +19 -19
- package/chunk/{StepFirstResponderPersonalInfo-CiibwmOq.js.map → StepFirstResponderPersonalInfo-CntfAPiK.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DQjLszpW.js → StepGeneralIdentityPersonalInfoComponent-Ccjf20DV.js} +17 -17
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DQjLszpW.js.map → StepGeneralIdentityPersonalInfoComponent-Ccjf20DV.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DvUSR7GA.js → StepGeneralIdentityPersonalInfoComponent-D53k6Woe.js} +10 -10
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DvUSR7GA.js.map → StepGeneralIdentityPersonalInfoComponent-D53k6Woe.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-CJ9Ls4zk.js → StepHybridIdentityPersonalInfoComponent-BI6nJsLA.js} +18 -18
- package/chunk/{StepHybridIdentityPersonalInfoComponent-CJ9Ls4zk.js.map → StepHybridIdentityPersonalInfoComponent-BI6nJsLA.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-CQvE5QOa.js → StepHybridIdentityPersonalInfoComponent-CRlkXJEC.js} +10 -10
- package/chunk/{StepHybridIdentityPersonalInfoComponent-CQvE5QOa.js.map → StepHybridIdentityPersonalInfoComponent-CRlkXJEC.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-_Om6J6_W.js → StepIDCheckLoop-CFfZ9eP_.js} +4 -4
- package/chunk/{StepIDCheckLoop-CBAQuAl2.js.map → StepIDCheckLoop-CFfZ9eP_.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-CBAQuAl2.js → StepIDCheckLoop-D-d08feu.js} +7 -7
- package/chunk/{StepIDCheckLoop-_Om6J6_W.js.map → StepIDCheckLoop-D-d08feu.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-BCc0CPyB.js → StepIDCheckLoopOnfido-Bf0C3aeV.js} +39 -39
- package/chunk/{StepIDCheckLoopOnfido-BCc0CPyB.js.map → StepIDCheckLoopOnfido-Bf0C3aeV.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-6sSveSlX.js → StepIDCheckLoopOnfido-BkjksFOf.js} +6 -6
- package/chunk/{StepIDCheckLoopOnfido-6sSveSlX.js.map → StepIDCheckLoopOnfido-BkjksFOf.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-CBDBjywr.js → StepIDCheckLoopRegula-BJXRrYWz.js} +15 -15
- package/chunk/{StepIDCheckLoopRegula-C81LzuP3.js.map → StepIDCheckLoopRegula-BJXRrYWz.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-C81LzuP3.js → StepIDCheckLoopRegula-D57Xo4OF.js} +4 -4
- package/chunk/{StepIDCheckLoopRegula-CBDBjywr.js.map → StepIDCheckLoopRegula-D57Xo4OF.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-BsVwu2uG.js → StepInactiveMilitaryPersonalInfoComponent-BlqS85GS.js} +34 -34
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-BsVwu2uG.js.map → StepInactiveMilitaryPersonalInfoComponent-BlqS85GS.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-vHzir0de.js → StepInactiveMilitaryPersonalInfoComponent-kReQFO-c.js} +14 -14
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-vHzir0de.js.map → StepInactiveMilitaryPersonalInfoComponent-kReQFO-c.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-Cm_q1CqW.js → StepLicensedProfessionalPersonalInfo-Cjh5Fxbc.js} +16 -16
- package/chunk/{StepLicensedProfessionalPersonalInfo-BSRX_GnF.js.map → StepLicensedProfessionalPersonalInfo-Cjh5Fxbc.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-BSRX_GnF.js → StepLicensedProfessionalPersonalInfo-DzzDNAit.js} +12 -12
- package/chunk/{StepLicensedProfessionalPersonalInfo-Cm_q1CqW.js.map → StepLicensedProfessionalPersonalInfo-DzzDNAit.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-XTDP5wDc.js → StepLowIncomePersonalInfo-BYJ5d1tK.js} +25 -25
- package/chunk/{StepLowIncomePersonalInfo-CsP2lMw8.js.map → StepLowIncomePersonalInfo-BYJ5d1tK.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-CsP2lMw8.js → StepLowIncomePersonalInfo-CRGvFqIN.js} +12 -12
- package/chunk/{StepLowIncomePersonalInfo-XTDP5wDc.js.map → StepLowIncomePersonalInfo-CRGvFqIN.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-BoJqf4w5.js → StepMedicalProfessionalPersonalInfo-D_GPvIBq.js} +24 -24
- package/chunk/{StepMedicalProfessionalPersonalInfo-BoJqf4w5.js.map → StepMedicalProfessionalPersonalInfo-D_GPvIBq.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-TqLBhSTo.js → StepMedicalProfessionalPersonalInfo-Ql3EDfEE.js} +13 -13
- package/chunk/{StepMedicalProfessionalPersonalInfo-TqLBhSTo.js.map → StepMedicalProfessionalPersonalInfo-Ql3EDfEE.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-Brii7aTN.js → StepMemberPersonalInfo-BaPGBsQ0.js} +11 -11
- package/chunk/{StepMemberPersonalInfo-Brii7aTN.js.map → StepMemberPersonalInfo-BaPGBsQ0.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-LJBlluOk.js → StepMemberPersonalInfo-D6yWywSK.js} +56 -56
- package/chunk/{StepMemberPersonalInfo-LJBlluOk.js.map → StepMemberPersonalInfo-D6yWywSK.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-L_oS12rQ.js → StepMoverPersonalInfo-DJDvFEXY.js} +47 -47
- package/chunk/{StepMoverPersonalInfo-BPYZXlma.js.map → StepMoverPersonalInfo-DJDvFEXY.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-BPYZXlma.js → StepMoverPersonalInfo-GrXVpjHj.js} +8 -8
- package/chunk/{StepMoverPersonalInfo-L_oS12rQ.js.map → StepMoverPersonalInfo-GrXVpjHj.js.map} +1 -1
- package/chunk/{StepOverrideComponent-DShQsNOh.js → StepOverrideComponent-DM7_NsVu.js} +15 -15
- package/chunk/{StepOverrideComponent-C-MYaIDE.js.map → StepOverrideComponent-DM7_NsVu.js.map} +1 -1
- package/chunk/{StepOverrideComponent-C-MYaIDE.js → StepOverrideComponent-DrRBc0Vr.js} +4 -4
- package/chunk/{StepOverrideComponent-DShQsNOh.js.map → StepOverrideComponent-DrRBc0Vr.js.map} +1 -1
- package/chunk/{StepSMSLoop-BTMvrFyS.js → StepSMSLoop-CuLSFRil.js} +4 -4
- package/chunk/{StepSMSLoop-BTMvrFyS.js.map → StepSMSLoop-CuLSFRil.js.map} +1 -1
- package/chunk/{StepSMSLoop-DwthhUny.js → StepSMSLoop-mGoGBOK0.js} +18 -18
- package/chunk/{StepSMSLoop-DwthhUny.js.map → StepSMSLoop-mGoGBOK0.js.map} +1 -1
- package/chunk/StepSSO-BRFhNvkp.js +3 -3
- package/chunk/StepSSO-BaFk7RFJ.js +3 -3
- package/chunk/{StepSocialSecurityNumber-BpP9ZSoO.js → StepSocialSecurityNumber-CDGcyqvg.js} +5 -5
- package/chunk/{StepSocialSecurityNumber-CAMH4FKX.js.map → StepSocialSecurityNumber-CDGcyqvg.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-CAMH4FKX.js → StepSocialSecurityNumber-Ccvhxlo8.js} +25 -25
- package/chunk/{StepSocialSecurityNumber-BpP9ZSoO.js.map → StepSocialSecurityNumber-Ccvhxlo8.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-Cdz35_rr.js → StepStudentPersonalInfo-BiKIDVhk.js} +58 -58
- package/chunk/{StepStudentPersonalInfo-Cdz35_rr.js.map → StepStudentPersonalInfo-BiKIDVhk.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-DdaCwW3F.js → StepStudentPersonalInfo-e1z1hWCH.js} +11 -11
- package/chunk/{StepStudentPersonalInfo-DdaCwW3F.js.map → StepStudentPersonalInfo-e1z1hWCH.js.map} +1 -1
- package/chunk/{StepSuccess-CvLk0bKq.js → StepSuccess-BocTx0BL.js} +25 -25
- package/chunk/StepSuccess-BocTx0BL.js.map +1 -0
- package/chunk/{StepSuccess-B2NqtPOI.js → StepSuccess-T6-OhHHn.js} +4 -4
- package/chunk/StepSuccess-T6-OhHHn.js.map +1 -0
- package/chunk/StepTeacherPersonalInfo-SArNeiJd.js +153 -0
- package/chunk/{StepTeacherPersonalInfo-C7vfYVW1.js.map → StepTeacherPersonalInfo-SArNeiJd.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-DM2Hj4Ml.js → StepTeacherPersonalInfo-e1HTq7uH.js} +12 -12
- package/chunk/{StepTeacherPersonalInfo-DM2Hj4Ml.js.map → StepTeacherPersonalInfo-e1HTq7uH.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BGHCbduX.js +3 -3
- package/chunk/StepThirdPartyLoop-ZHByQpHa.js +3 -3
- package/chunk/{TeacherSchoolComponent-JLSFFWHy.js → TeacherSchoolComponent-BRp8x8NS.js} +4 -4
- package/chunk/{TeacherSchoolComponent-COusPI-k.js.map → TeacherSchoolComponent-BRp8x8NS.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-COusPI-k.js → TeacherSchoolComponent-C8gC3I9P.js} +7 -7
- package/chunk/{TeacherSchoolComponent-JLSFFWHy.js.map → TeacherSchoolComponent-C8gC3I9P.js.map} +1 -1
- package/chunk/TestingRouteOverrides-B-zcTBa_.js +3 -3
- package/chunk/TestingRouteOverrides-BDCygTLC.js +81 -0
- package/chunk/{TestingRouteOverrides-DCR0qXVH.js.map → TestingRouteOverrides-BDCygTLC.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +3 -3
- package/chunk/{VerificationApiClient-SG2_L20E.js → VerificationApiClient-B40BtVcX.js} +140 -140
- package/chunk/{VerificationApiClient-SG2_L20E.js.map → VerificationApiClient-B40BtVcX.js.map} +1 -1
- package/chunk/{VerificationApiClient-C83IrkJd.js → VerificationApiClient-Ba7s5IGi.js} +4 -4
- package/chunk/{VerificationApiClient-C83IrkJd.js.map → VerificationApiClient-Ba7s5IGi.js.map} +1 -1
- package/chunk/{VerificationApiUtils-CF2LdMHJ.js → VerificationApiUtils-Dmxo4F16.js} +6 -6
- package/chunk/{VerificationApiUtils-CF2LdMHJ.js.map → VerificationApiUtils-Dmxo4F16.js.map} +1 -1
- package/chunk/{VerificationApiUtils-fwB71xvf.js → VerificationApiUtils-DsurExmN.js} +5 -5
- package/chunk/{VerificationApiUtils-fwB71xvf.js.map → VerificationApiUtils-DsurExmN.js.map} +1 -1
- package/chunk/ar-wkBEXxD9.js +3 -3
- package/chunk/bg-D2-seofX.js +3 -3
- package/chunk/bn-IN-B5PyYaJU.js +3 -3
- package/chunk/{countryUtils-BAFwHnuu.js → countryUtils-D2UBy7Uo.js} +4 -4
- package/chunk/{countryUtils-BAFwHnuu.js.map → countryUtils-D2UBy7Uo.js.map} +1 -1
- package/chunk/countryUtils-QSjR1rBI.js +3 -3
- package/chunk/cs-CsEnIopo.js +3 -3
- package/chunk/da-Da-m3VU_.js +3 -3
- package/chunk/de-BSoD5U3-.js +3 -3
- package/chunk/{downshift.esm-B9hUrcYS.js → downshift.esm-C-gdTM26.js} +121 -121
- package/chunk/{downshift.esm-B9hUrcYS.js.map → downshift.esm-C-gdTM26.js.map} +1 -1
- package/chunk/{downshift.esm-Byh1Fm5o.js → downshift.esm-CxrmBk-8.js} +4 -4
- package/chunk/{downshift.esm-Byh1Fm5o.js.map → downshift.esm-CxrmBk-8.js.map} +1 -1
- package/chunk/el-CFa6y9Ri.js +3 -3
- package/chunk/empties-BIoZK05_.js +3 -3
- package/chunk/{empties-Ck9OJXHG.js → empties-DHvaWflk.js} +4 -4
- package/chunk/{empties-Ck9OJXHG.js.map → empties-DHvaWflk.js.map} +1 -1
- package/chunk/en-GB-V8XaGkaI.js +3 -3
- package/chunk/es-D18tLxcT.js +3 -3
- package/chunk/es-ES-7x2bVUQr.js +3 -3
- package/chunk/et-udrWMVlD.js +3 -3
- package/chunk/eventEmitter-CSG6jR7V.js +3 -3
- package/chunk/fa-DgwYULMs.js +3 -3
- package/chunk/fi-CkCWFGDC.js +3 -3
- package/chunk/fr-BprIFEa8.js +3 -3
- package/chunk/fr-CA-DrjICejr.js +3 -3
- package/chunk/ga-LaV5ZJgg.js +3 -3
- package/chunk/hi-IN-7dtEICYI.js +3 -3
- package/chunk/hr-2Bctl997.js +3 -3
- package/chunk/hu-BT0z6TPZ.js +3 -3
- package/chunk/id-BvyYep3X.js +3 -3
- package/chunk/{intl-aUfdCP8t.js → intl-Yr2cw5px.js} +4 -4
- package/chunk/{intl-aUfdCP8t.js.map → intl-Yr2cw5px.js.map} +1 -1
- package/chunk/is-DOsKfa80.js +3 -3
- package/chunk/it-3dX9AQk7.js +3 -3
- package/chunk/iw-5I90wqQ8.js +3 -3
- package/chunk/ja-CHdgbMgX.js +3 -3
- package/chunk/jsx-runtime-BknAqbDq.js +3 -3
- package/chunk/{jsx-runtime-XNwIsY_N.js → jsx-runtime-D_-z-h6n.js} +17 -17
- package/chunk/{jsx-runtime-XNwIsY_N.js.map → jsx-runtime-D_-z-h6n.js.map} +1 -1
- package/chunk/kk-BriyNfHL.js +3 -3
- package/chunk/ko-DsMaax3V.js +3 -3
- package/chunk/lo-CjASRmNr.js +3 -3
- package/chunk/lt-DF29E1de.js +3 -3
- package/chunk/lv-DlHBZyt-.js +3 -3
- package/chunk/{militaryStepHelpers-qMYyQgVn.js → militaryStepHelpers-DSh6iat_.js} +4 -4
- package/chunk/{militaryStepHelpers-qMYyQgVn.js.map → militaryStepHelpers-DSh6iat_.js.map} +1 -1
- package/chunk/militaryStepHelpers-UF-7lF1f.js +3 -3
- package/chunk/mocks-1r84in2Q.js +3 -3
- package/chunk/{mocks-fUTXc8-e.js → mocks-CKXq8CZk.js} +8 -8
- package/chunk/{mocks-fUTXc8-e.js.map → mocks-CKXq8CZk.js.map} +1 -1
- package/chunk/ms-B3vDtlFh.js +3 -3
- package/chunk/nl-BE-Dw1IGXuF.js +3 -3
- package/chunk/nl-Cqkrr5-r.js +3 -3
- package/chunk/no-876EdwkX.js +3 -3
- package/chunk/options-D19mRw5a.js +3 -3
- package/chunk/pl-B_G8s05-.js +3 -3
- package/chunk/programThemeGetters-Lz3L0Vh7.js +3 -3
- package/chunk/{programThemeGetters-CyMKyJao.js → programThemeGetters-iBty-gXI.js} +35 -35
- package/chunk/{programThemeGetters-CyMKyJao.js.map → programThemeGetters-iBty-gXI.js.map} +1 -1
- package/chunk/pt-BR-DWj043qk.js +3 -3
- package/chunk/pt-DckA3Jnn.js +3 -3
- package/chunk/refs-Bbe0gnJ3.js +3 -3
- package/chunk/{refs--ECXpllB.js → refs-C_tB1qMA.js} +4 -4
- package/chunk/{refs--ECXpllB.js.map → refs-C_tB1qMA.js.map} +1 -1
- package/chunk/ro-DukNcWCM.js +3 -3
- package/chunk/ru-RkdRQ7qb.js +3 -3
- package/chunk/sk-CPBgBtC5.js +3 -3
- package/chunk/sl-Cyj9PWmN.js +3 -3
- package/chunk/sr-Bm1GVW8m.js +3 -3
- package/chunk/strings-DWLVdUcm.js +3 -3
- package/chunk/sv-CcMmeZrG.js +3 -3
- package/chunk/sw-BPvl1ou6.js +3 -3
- package/chunk/ta-BPEH7IlE.js +3 -3
- package/chunk/th-Dd912RL5.js +3 -3
- package/chunk/tl-J_TdpjQz.js +3 -3
- package/chunk/tr-B-GrrJj0.js +3 -3
- package/chunk/uk-MohyvT_n.js +3 -3
- package/chunk/ur-CDYGpWMm.js +3 -3
- package/chunk/{useCollectFieldsEndpoint-lbmYjP-f.js → useCollectFieldsEndpoint-DEqgS7M_.js} +10 -10
- package/chunk/{useCollectFieldsEndpoint-lbmYjP-f.js.map → useCollectFieldsEndpoint-DEqgS7M_.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-CW336IJT.js → useCollectFieldsEndpoint-pOK1f5os.js} +5 -5
- package/chunk/{useCollectFieldsEndpoint-CW336IJT.js.map → useCollectFieldsEndpoint-pOK1f5os.js.map} +1 -1
- package/chunk/{useMetrics-Ivet_g4B.js → useMetrics-BdMoL7SD.js} +17 -17
- package/chunk/{useMetrics-Ivet_g4B.js.map → useMetrics-BdMoL7SD.js.map} +1 -1
- package/chunk/useMetrics-D_8asKZL.js +3 -3
- package/chunk/{validators-BZCydYkb.js → validators-DTjHYDSK.js} +79 -79
- package/chunk/{validators-BZCydYkb.js.map → validators-DTjHYDSK.js.map} +1 -1
- package/chunk/validators-Do9xo2t_.js +3 -3
- package/chunk/vi-CdPTWSev.js +3 -3
- package/chunk/zh-DhnjKBoc.js +3 -3
- package/chunk/zh-HK-CWKNP_HX.js +3 -3
- package/chunk/zu-BpMHS0oR.js +3 -3
- package/package.json +3 -2
- package/sheerid-install.css +3 -3
- package/sheerid-install.js +4 -4
- package/sheerid-install.js.map +1 -1
- package/sheerid.css +3 -3
- package/sheerid.js +1674 -1659
- package/sheerid.js.map +1 -1
- package/chunk/CountryComponentWrapper-Bf1-YKhh.js +0 -78
- package/chunk/FormFieldTypeahead-BwyQi_JN.js.map +0 -1
- package/chunk/FormFieldTypeahead-D1M1OuJO.js.map +0 -1
- package/chunk/FormFooterComponent-BIJKGwsH.js.map +0 -1
- package/chunk/FormFooterComponent-Cl1CuBH8.js.map +0 -1
- package/chunk/StepCollectMilitaryStatusComponent-BeQ-NmAZ.js +0 -9
- package/chunk/StepSuccess-B2NqtPOI.js.map +0 -1
- package/chunk/StepSuccess-CvLk0bKq.js.map +0 -1
- package/chunk/StepTeacherPersonalInfo-C7vfYVW1.js +0 -153
- package/chunk/TestingRouteOverrides-DCR0qXVH.js +0 -81
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.258.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
3
|
+
* VERSION: 2.258.0-alpha.2
|
|
4
|
+
* BUILD_TIMESTAMP: 1784652149837
|
|
5
|
+
* BUILD_DATE: Tue Jul 21 2026 16:42:29 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 946c3bd79f3ff44297f42e44d32fdf3ffdd6b8da
|
|
7
7
|
*/
|
|
8
8
|
import { Ct as e, Ft as t, Wt as n, n as r } from "./options-D19mRw5a.js";
|
|
9
9
|
import { a as i, c as a, n as o, t as s } from "./jsx-runtime-BknAqbDq.js";
|
|
10
|
-
import {
|
|
10
|
+
import { w as c } from "./FormFooterComponent-QZUjL2NN.js";
|
|
11
11
|
import { F as l, G as u, K as d, V as f, Y as p, et as m, r as h, tt as g } from "../sheerid.js";
|
|
12
|
-
import { t as _ } from "./useCollectFieldsEndpoint-
|
|
13
|
-
import { a as v, i as y, n as b, o as x, s as S, t as C } from "./CaptchaComponent-
|
|
12
|
+
import { t as _ } from "./useCollectFieldsEndpoint-pOK1f5os.js";
|
|
13
|
+
import { a as v, i as y, n as b, o as x, s as S, t as C } from "./CaptchaComponent-Dj1XrWkM.js";
|
|
14
14
|
import { n as w, t as T } from "./PersonalInfoStepSubmitButton-Ywai8bYu.js";
|
|
15
|
-
import { t as E } from "./BirthDateComponent-
|
|
15
|
+
import { t as E } from "./BirthDateComponent-BNxj7HVi.js";
|
|
16
16
|
import { t as D } from "./PostalCodeComponent-C97fgZFI.js";
|
|
17
|
-
import { t as O } from "./CountryComponentWrapper-
|
|
18
|
-
import { t as k } from "./ExtraMessage-
|
|
19
|
-
import { t as A } from "./ChangeLocaleComponent-
|
|
20
|
-
import { t as j } from "./PersonalInfoStepWrapper-
|
|
21
|
-
import { t as M } from "./StatusComponent-
|
|
22
|
-
import { t as N } from "./MedicalProfessionalOrganizationComponent-
|
|
17
|
+
import { t as O } from "./CountryComponentWrapper-DSWE6u6x.js";
|
|
18
|
+
import { t as k } from "./ExtraMessage-CwPDe_DW.js";
|
|
19
|
+
import { t as A } from "./ChangeLocaleComponent-D1rmQo2-.js";
|
|
20
|
+
import { t as j } from "./PersonalInfoStepWrapper-jdzoT2oQ.js";
|
|
21
|
+
import { t as M } from "./StatusComponent-DNYk1Jwe.js";
|
|
22
|
+
import { t as N } from "./MedicalProfessionalOrganizationComponent-Bu7uAv6y.js";
|
|
23
23
|
import { t as P } from "./MemberIdComponent-Dva2Xx7J.js";
|
|
24
24
|
//#region src/components/StepMedicalProfessionalPersonalInfo/StepMedicalProfessionalPersonalInfoComponent.tsx
|
|
25
25
|
var F = /* @__PURE__ */ n(a(), 1), I = s(), L = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepMedicalProfessionalPersonalInfo-TqLBhSTo.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,EAClD,SACA,6BACuD;CACvD,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAU,EAAW,GAErB,IAAS,EAAU,aAAa,OAEhC,KACJ,GACA,MACG;EACH,IAAM,IAAY,EAAsB,GAAW,GAAK,CAAK;EAC7D,EAAoB,gBAAgB,CAAS;CAC/C,GAEM,EAAE,uBAAoB,EAAyB;EACnD,gBAAgB,EAAqB;EACrC,aAAa,EAAqB;EAClC;CACF,CAAC,GACK,IAAuB,EAAgB,UAAU;CAkBvD,OAhBA,EAAM,gBAAgB;EAGpB,IAAM,KAAY,EAAoB,WA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F,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-Ql3EDfEE.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,EAClD,SACA,6BACuD;CACvD,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAU,EAAW,GAErB,IAAS,EAAU,a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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,23 +1,23 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.258.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
3
|
+
* VERSION: 2.258.0-alpha.2
|
|
4
|
+
* BUILD_TIMESTAMP: 1784652149837
|
|
5
|
+
* BUILD_DATE: Tue Jul 21 2026 16:42:29 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 946c3bd79f3ff44297f42e44d32fdf3ffdd6b8da
|
|
7
7
|
*/
|
|
8
8
|
import { Ft as e, Wt as t, c as n, n as r } from "./options-D19mRw5a.js";
|
|
9
9
|
import { c as i, n as a, t as o } from "./jsx-runtime-BknAqbDq.js";
|
|
10
|
-
import {
|
|
10
|
+
import { w as s } from "./FormFooterComponent-QZUjL2NN.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-
|
|
12
|
+
import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-Dj1XrWkM.js";
|
|
13
13
|
import { n as y, t as b } from "./PersonalInfoStepSubmitButton-Ywai8bYu.js";
|
|
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-
|
|
14
|
+
import { t as x } from "./BirthDateComponent-BNxj7HVi.js";
|
|
15
|
+
import { t as S } from "./CountryComponentWrapper-DSWE6u6x.js";
|
|
16
|
+
import { t as C } from "./ExtraMessage-CwPDe_DW.js";
|
|
17
|
+
import { t as w } from "./ChangeLocaleComponent-D1rmQo2-.js";
|
|
18
|
+
import { t as T } from "./PersonalInfoStepWrapper-jdzoT2oQ.js";
|
|
19
19
|
import { t as E } from "./MemberIdComponent-Dva2Xx7J.js";
|
|
20
|
-
import { t as D } from "./MembershipOrganizationComponent-
|
|
20
|
+
import { t as D } from "./MembershipOrganizationComponent-0dDQxNdP.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-Brii7aTN.js.map → StepMemberPersonalInfo-BaPGBsQ0.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepMemberPersonalInfo-Brii7aTN.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;CA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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"}
|
|
1
|
+
{"version":3,"file":"StepMemberPersonalInfo-BaPGBsQ0.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,C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C,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,55 +4,55 @@
|
|
|
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.258.0-alpha.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
7
|
+
* VERSION: 2.258.0-alpha.2
|
|
8
|
+
* BUILD_TIMESTAMP: 1784652153608
|
|
9
|
+
* BUILD_DATE: Tue Jul 21 2026 16:42:33 GMT+0000 (Coordinated Universal Time)
|
|
10
10
|
* BUILD_COMMIT: 946c3bd79f3ff44297f42e44d32fdf3ffdd6b8da
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { c as i, n as a, t as o } from "./jsx-runtime-
|
|
14
|
-
import {
|
|
12
|
+
import { Mt as e, Ut as t, p as n, s as r } from "./intl-Yr2cw5px.js";
|
|
13
|
+
import { c as i, n as a, t as o } from "./jsx-runtime-D_-z-h6n.js";
|
|
14
|
+
import { O as s } from "./FormFooterComponent-DdYBy4hI.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-3CkADj7Y.js";
|
|
17
|
+
import { n as y, t as b } from "./PersonalInfoStepSubmitButton-D3lzSm2E.js";
|
|
18
|
+
import { t as x } from "./BirthDateComponent-DJ0lhMz0.js";
|
|
19
|
+
import { t as S } from "./CountryComponentWrapper-CHsLroJa.js";
|
|
20
|
+
import { t as C } from "./ExtraMessage-DOEcewIZ.js";
|
|
21
|
+
import { t as w } from "./ChangeLocaleComponent-CuzJdznM.js";
|
|
22
|
+
import { t as T } from "./PersonalInfoStepWrapper-CGH-h9Jf.js";
|
|
23
|
+
import { t as E } from "./MemberIdComponent-DMGaNM9l.js";
|
|
24
|
+
import { t as D } from "./MembershipOrganizationComponent-BURHKl64.js";
|
|
25
25
|
//#region src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.tsx
|
|
26
|
-
var O = /* @__PURE__ */
|
|
27
|
-
let i =
|
|
28
|
-
let a = n(i, (
|
|
29
|
-
e
|
|
26
|
+
var O = /* @__PURE__ */ t(i(), 1), k = o(), A = ({ verificationService: t }) => {
|
|
27
|
+
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) => {
|
|
28
|
+
let a = n(i, (t) => {
|
|
29
|
+
t[e] = r;
|
|
30
30
|
});
|
|
31
|
-
|
|
31
|
+
t.updateViewModel(a);
|
|
32
32
|
};
|
|
33
33
|
return O.useEffect(() => {
|
|
34
|
-
let
|
|
35
|
-
N ?
|
|
34
|
+
let e = (t.viewModel?.fieldsToSkipValidation || []).filter((e) => e !== "memberId");
|
|
35
|
+
N ? t.updateViewModel({ fieldsToSkipValidation: e }, { partial: !0 }) : t.updateViewModel({ fieldsToSkipValidation: [...e, "memberId"] }, { partial: !0 });
|
|
36
36
|
}, [N]), /* @__PURE__ */ (0, k.jsxs)(T, {
|
|
37
|
-
verificationService:
|
|
37
|
+
verificationService: t,
|
|
38
38
|
step: A.currentStep,
|
|
39
39
|
children: [
|
|
40
40
|
/* @__PURE__ */ (0, k.jsx)(f, {
|
|
41
|
-
verificationService:
|
|
41
|
+
verificationService: t,
|
|
42
42
|
classNameIdentifier: "member-personal-info"
|
|
43
43
|
}),
|
|
44
|
-
/* @__PURE__ */ (0, k.jsx)(w, { verificationService:
|
|
44
|
+
/* @__PURE__ */ (0, k.jsx)(w, { verificationService: t }),
|
|
45
45
|
/* @__PURE__ */ (0, k.jsx)(S, {
|
|
46
|
-
verificationService:
|
|
46
|
+
verificationService: t,
|
|
47
47
|
disabled: l("country")?.disabled
|
|
48
48
|
}),
|
|
49
49
|
/* @__PURE__ */ (0, k.jsx)(D, {
|
|
50
|
-
value:
|
|
51
|
-
verificationService:
|
|
50
|
+
value: t.viewModel.organization,
|
|
51
|
+
verificationService: t,
|
|
52
52
|
isErrored: !!o.organization,
|
|
53
53
|
disabled: l("organization")?.disabled,
|
|
54
|
-
onChange: (
|
|
55
|
-
d(
|
|
54
|
+
onChange: (e) => {
|
|
55
|
+
d(e, t), c("organization", e, t);
|
|
56
56
|
}
|
|
57
57
|
}),
|
|
58
58
|
/* @__PURE__ */ (0, k.jsxs)("div", {
|
|
@@ -61,15 +61,15 @@ var O = /* @__PURE__ */ e(i(), 1), k = o(), A = ({ verificationService: e }) =>
|
|
|
61
61
|
value: i.firstName,
|
|
62
62
|
isErrored: !!o.firstName,
|
|
63
63
|
disabled: l("firstName")?.disabled,
|
|
64
|
-
onChange: (
|
|
65
|
-
F("firstName",
|
|
64
|
+
onChange: (e) => {
|
|
65
|
+
F("firstName", e), c("firstName", e, t);
|
|
66
66
|
}
|
|
67
67
|
}), /* @__PURE__ */ (0, k.jsx)(m, {
|
|
68
68
|
value: i.lastName,
|
|
69
69
|
isErrored: !!o.lastName,
|
|
70
70
|
disabled: l("lastName")?.disabled,
|
|
71
|
-
onChange: (
|
|
72
|
-
F("lastName",
|
|
71
|
+
onChange: (e) => {
|
|
72
|
+
F("lastName", e), c("lastName", e, t);
|
|
73
73
|
}
|
|
74
74
|
})]
|
|
75
75
|
}),
|
|
@@ -80,8 +80,8 @@ var O = /* @__PURE__ */ e(i(), 1), k = o(), A = ({ verificationService: e }) =>
|
|
|
80
80
|
id: "emailExplanation",
|
|
81
81
|
defaultMessage: " "
|
|
82
82
|
}),
|
|
83
|
-
onChange: (
|
|
84
|
-
F("email",
|
|
83
|
+
onChange: (e) => {
|
|
84
|
+
F("email", e), c("email", e, t);
|
|
85
85
|
},
|
|
86
86
|
onKeyDown: (e) => u(e),
|
|
87
87
|
disabled: l("email")?.disabled
|
|
@@ -90,8 +90,8 @@ var O = /* @__PURE__ */ e(i(), 1), k = o(), A = ({ verificationService: e }) =>
|
|
|
90
90
|
errorId: o.birthDate,
|
|
91
91
|
locale: P,
|
|
92
92
|
isRequired: l("birthDate")?.requireIfOptional,
|
|
93
|
-
onChange: (
|
|
94
|
-
F("birthDate",
|
|
93
|
+
onChange: (e) => {
|
|
94
|
+
F("birthDate", e), c("birthDate", e, t);
|
|
95
95
|
},
|
|
96
96
|
value: i.birthDate,
|
|
97
97
|
disabled: l("birthDate")?.disabled
|
|
@@ -101,47 +101,47 @@ var O = /* @__PURE__ */ e(i(), 1), k = o(), A = ({ verificationService: e }) =>
|
|
|
101
101
|
isErrored: !!o.memberId,
|
|
102
102
|
isRequired: N,
|
|
103
103
|
disabled: l("memberId")?.disabled,
|
|
104
|
-
onChange: (
|
|
105
|
-
F("memberId",
|
|
104
|
+
onChange: (e) => {
|
|
105
|
+
F("memberId", e), c("memberId", e, t);
|
|
106
106
|
}
|
|
107
107
|
}),
|
|
108
|
-
|
|
109
|
-
isRequired: !!
|
|
108
|
+
t.programTheme.isSmsNotifierConfigured || t.programTheme.smsLoopEnabled ? /* @__PURE__ */ (0, k.jsx)(g, {
|
|
109
|
+
isRequired: !!t.programTheme.smsLoopEnabled,
|
|
110
110
|
value: i.phoneNumber,
|
|
111
111
|
isErrored: !!o.phoneNumber,
|
|
112
|
-
onChange: (
|
|
113
|
-
F("phoneNumber",
|
|
112
|
+
onChange: (e) => {
|
|
113
|
+
F("phoneNumber", e), c("phoneNumber", e, t);
|
|
114
114
|
},
|
|
115
115
|
selectedCountryCode: i.countryChoice && i.countryChoice.value,
|
|
116
116
|
disabled: l("phoneNumber")?.disabled
|
|
117
117
|
}) : null,
|
|
118
|
-
M.customFormFields.map((
|
|
119
|
-
config:
|
|
120
|
-
verificationService:
|
|
118
|
+
M.customFormFields.map((e) => /* @__PURE__ */ (0, k.jsx)(h, {
|
|
119
|
+
config: e,
|
|
120
|
+
verificationService: t
|
|
121
121
|
})),
|
|
122
122
|
/* @__PURE__ */ (0, k.jsx)(_, {
|
|
123
|
-
verificationService:
|
|
123
|
+
verificationService: t,
|
|
124
124
|
isErrored: !!o.marketConsentValue,
|
|
125
|
-
onChange: (
|
|
125
|
+
onChange: (e) => {
|
|
126
126
|
F("metadata", {
|
|
127
|
-
...
|
|
128
|
-
marketConsentValue:
|
|
129
|
-
}), c("marketConsentValue",
|
|
127
|
+
...t.viewModel.metadata,
|
|
128
|
+
marketConsentValue: e
|
|
129
|
+
}), c("marketConsentValue", e, t);
|
|
130
130
|
},
|
|
131
131
|
viewModel: i,
|
|
132
132
|
disabled: l("marketConsentValue")?.disabled
|
|
133
133
|
}),
|
|
134
134
|
/* @__PURE__ */ (0, k.jsx)(C, {
|
|
135
|
-
verificationService:
|
|
135
|
+
verificationService: t,
|
|
136
136
|
suffix: "CollectAboveSubmit"
|
|
137
137
|
}),
|
|
138
138
|
/* @__PURE__ */ (0, k.jsx)(v, {
|
|
139
|
-
verificationService:
|
|
139
|
+
verificationService: t,
|
|
140
140
|
isErrored: !!o.captchaToken
|
|
141
141
|
}),
|
|
142
142
|
/* @__PURE__ */ (0, k.jsx)(b, {
|
|
143
|
-
step:
|
|
144
|
-
verificationService:
|
|
143
|
+
step: e.collectMemberPersonalInfo,
|
|
144
|
+
verificationService: t,
|
|
145
145
|
viewModel: i,
|
|
146
146
|
failedInstantMatch: j,
|
|
147
147
|
buttonText: /* @__PURE__ */ (0, k.jsx)(a, {
|
package/chunk/{StepMemberPersonalInfo-LJBlluOk.js.map → StepMemberPersonalInfo-D6yWywSK.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepMemberPersonalInfo-LJBlluOk.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,UA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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-D6yWywSK.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;\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