@sheerid/jslib-nightly 2.258.0-alpha.2 → 2.258.0-alpha.3
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 +1423 -1524
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/AddressComponent-DMwOmjiG.js +3 -3
- package/chunk/{AddressComponent-CJV3vrMt.js → AddressComponent-DluNaOpg.js} +5 -5
- package/chunk/{AddressComponent-CJV3vrMt.js.map → AddressComponent-DluNaOpg.js.map} +1 -1
- package/chunk/{AnnouncingHeader-BF69hVVm.js → AnnouncingHeader-BZreAj2L.js} +5 -5
- package/chunk/{AnnouncingHeader-BF69hVVm.js.map → AnnouncingHeader-BZreAj2L.js.map} +1 -1
- package/chunk/AnnouncingHeader-DjgtqEeX.js +3 -3
- package/chunk/{ApiUrls-BjhuhV-u.js → ApiUrls-D-825yEj.js} +4 -4
- package/chunk/{ApiUrls-BjhuhV-u.js.map → ApiUrls-D-825yEj.js.map} +1 -1
- package/chunk/{ApiUrls-Br8Vslon.js → ApiUrls-aJgNbpjJ.js} +12 -12
- package/chunk/{ApiUrls-Br8Vslon.js.map → ApiUrls-aJgNbpjJ.js.map} +1 -1
- package/chunk/{BirthDateComponent-BNxj7HVi.js → BirthDateComponent-BqZned-E.js} +4 -4
- package/chunk/{BirthDateComponent-BNxj7HVi.js.map → BirthDateComponent-BqZned-E.js.map} +1 -1
- package/chunk/{BirthDateComponent-DJ0lhMz0.js → BirthDateComponent-C787gXja.js} +6 -6
- package/chunk/{BirthDateComponent-DJ0lhMz0.js.map → BirthDateComponent-C787gXja.js.map} +1 -1
- package/chunk/{CaptchaComponent-3CkADj7Y.js → CaptchaComponent-Cs2wOhj5.js} +93 -93
- package/chunk/{CaptchaComponent-3CkADj7Y.js.map → CaptchaComponent-Cs2wOhj5.js.map} +1 -1
- package/chunk/{CaptchaComponent-Dj1XrWkM.js → CaptchaComponent-WnBWWmBW.js} +5 -5
- package/chunk/{CaptchaComponent-Dj1XrWkM.js.map → CaptchaComponent-WnBWWmBW.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-CuzJdznM.js → ChangeLocaleComponent-D1iUYYBG.js} +6 -6
- package/chunk/{ChangeLocaleComponent-CuzJdznM.js.map → ChangeLocaleComponent-D1iUYYBG.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-D1rmQo2-.js → ChangeLocaleComponent-DOa9NZyI.js} +4 -4
- package/chunk/{ChangeLocaleComponent-D1rmQo2-.js.map → ChangeLocaleComponent-DOa9NZyI.js.map} +1 -1
- package/chunk/{City-DlWin4GX.js → City-BP95fpVf.js} +5 -5
- package/chunk/{City-DlWin4GX.js.map → City-BP95fpVf.js.map} +1 -1
- package/chunk/City-CmO85Z9x.js +3 -3
- package/chunk/{CollegeNameComponent-xQgFrK2K.js → CollegeNameComponent-CTgm9HoV.js} +7 -7
- package/chunk/{CollegeNameComponent-x7_ep0bP.js.map → CollegeNameComponent-CTgm9HoV.js.map} +1 -1
- package/chunk/{CollegeNameComponent-x7_ep0bP.js → CollegeNameComponent-Cd_gOpDt.js} +4 -4
- package/chunk/{CollegeNameComponent-xQgFrK2K.js.map → CollegeNameComponent-Cd_gOpDt.js.map} +1 -1
- package/chunk/CopyToClipboardComponent-1BeB_oX_.js +3 -3
- package/chunk/{CopyToClipboardComponent-C1BnmvlK.js → CopyToClipboardComponent-6MY3v7_-.js} +8 -8
- package/chunk/{CopyToClipboardComponent-C1BnmvlK.js.map → CopyToClipboardComponent-6MY3v7_-.js.map} +1 -1
- package/chunk/CountryComponentWrapper-BV78vTBy.js +78 -0
- package/chunk/{CountryComponentWrapper-CHsLroJa.js.map → CountryComponentWrapper-BV78vTBy.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-DSWE6u6x.js → CountryComponentWrapper-bzcjcPxz.js} +4 -4
- package/chunk/{CountryComponentWrapper-DSWE6u6x.js.map → CountryComponentWrapper-bzcjcPxz.js.map} +1 -1
- package/chunk/{DischargeDateComponent-DM1bcMxW.js → DischargeDateComponent-Dhp63XO4.js} +13 -13
- package/chunk/{DischargeDateComponent-DM1bcMxW.js.map → DischargeDateComponent-Dhp63XO4.js.map} +1 -1
- package/chunk/{DischargeDateComponent-DCTFDEO0.js → DischargeDateComponent-bYahQG3V.js} +6 -6
- package/chunk/{DischargeDateComponent-DCTFDEO0.js.map → DischargeDateComponent-bYahQG3V.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-D8q18o2M.js → DriverLicenseNumberComponent-CQeKZs0G.js} +5 -5
- package/chunk/{DriverLicenseNumberComponent-D8q18o2M.js.map → DriverLicenseNumberComponent-CQeKZs0G.js.map} +1 -1
- package/chunk/DriverLicenseNumberComponent-DgXMM-Pt.js +3 -3
- package/chunk/{EmailLoopPending-lv7oBmbw.js → EmailLoopPending-DpsmbvMr.js} +4 -4
- package/chunk/{EmailLoopPending-lv7oBmbw.js.map → EmailLoopPending-DpsmbvMr.js.map} +1 -1
- package/chunk/{EmailLoopPending-CfIA0oJ-.js → EmailLoopPending-OaRdirPJ.js} +17 -17
- package/chunk/{EmailLoopPending-CfIA0oJ-.js.map → EmailLoopPending-OaRdirPJ.js.map} +1 -1
- package/chunk/{ExtraMessage-DOEcewIZ.js → ExtraMessage-C8bkhYx2.js} +6 -6
- package/chunk/{ExtraMessage-CwPDe_DW.js.map → ExtraMessage-C8bkhYx2.js.map} +1 -1
- package/chunk/{ExtraMessage-CwPDe_DW.js → ExtraMessage-MKBXSbM_.js} +4 -4
- package/chunk/{ExtraMessage-DOEcewIZ.js.map → ExtraMessage-MKBXSbM_.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-DNyzoV7G.js → FirstResponderOrganizationComponent-D2itQahP.js} +6 -6
- package/chunk/{FirstResponderOrganizationComponent-DNyzoV7G.js.map → FirstResponderOrganizationComponent-D2itQahP.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-DmLH7cEa.js → FirstResponderOrganizationComponent-DUiRbusi.js} +4 -4
- package/chunk/{FirstResponderOrganizationComponent-DmLH7cEa.js.map → FirstResponderOrganizationComponent-DUiRbusi.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-7aYo31R5.js → FormFieldInputSelect-B9u-1CeU.js} +6 -6
- package/chunk/{FormFieldInputSelect-7aYo31R5.js.map → FormFieldInputSelect-B9u-1CeU.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-g9GagJpQ.js → FormFieldInputSelect-Dkf3rE9E.js} +4 -4
- package/chunk/{FormFieldInputSelect-g9GagJpQ.js.map → FormFieldInputSelect-Dkf3rE9E.js.map} +1 -1
- package/chunk/{FormFieldLayout-BpmeMD4X.js → FormFieldLayout-CUA-PItd.js} +5 -5
- package/chunk/{FormFieldLayout-BpmeMD4X.js.map → FormFieldLayout-CUA-PItd.js.map} +1 -1
- package/chunk/FormFieldLayout-DIcCOsGu.js +3 -3
- package/chunk/{FormFieldText-zuTjfmLt.js → FormFieldText-BeEhq8Kc.js} +6 -6
- package/chunk/{FormFieldText-zuTjfmLt.js.map → FormFieldText-BeEhq8Kc.js.map} +1 -1
- package/chunk/FormFieldText-zjWk7Cyc.js +3 -3
- package/chunk/{FormFieldTypeahead-BblauBOC.js → FormFieldTypeahead-BjSdh81I.js} +79 -79
- package/chunk/FormFieldTypeahead-BjSdh81I.js.map +1 -0
- package/chunk/{FormFieldTypeahead-bR9_vlWX.js → FormFieldTypeahead-CkHcG0fF.js} +9 -9
- package/chunk/FormFieldTypeahead-CkHcG0fF.js.map +1 -0
- package/chunk/{FormFooterComponent-DdYBy4hI.js → FormFooterComponent-CbppOmMP.js} +1225 -1343
- package/chunk/FormFooterComponent-CbppOmMP.js.map +1 -0
- package/chunk/{FormFooterComponent-QZUjL2NN.js → FormFooterComponent-QN5kZ4hU.js} +277 -383
- package/chunk/FormFooterComponent-QN5kZ4hU.js.map +1 -0
- package/chunk/{FormSelectChoice-DMJegqqj.js → FormSelectChoice-B0V4ga-y.js} +4 -4
- package/chunk/{FormSelectChoice-CqCNOEHe.js.map → FormSelectChoice-B0V4ga-y.js.map} +1 -1
- package/chunk/{FormSelectChoice-CqCNOEHe.js → FormSelectChoice-BJ3IWwoF.js} +16 -16
- package/chunk/{FormSelectChoice-DMJegqqj.js.map → FormSelectChoice-BJ3IWwoF.js.map} +1 -1
- package/chunk/InputText-Bzkl8mKj.js +3 -3
- package/chunk/{InputText-DA8wfbQM.js → InputText-CkDvaW9P.js} +6 -6
- package/chunk/{InputText-DA8wfbQM.js.map → InputText-CkDvaW9P.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-BdsboIHn.js → LicensedProfessionalOrganizationComponent-BuaJAhns.js} +4 -4
- package/chunk/{LicensedProfessionalOrganizationComponent-BdsboIHn.js.map → LicensedProfessionalOrganizationComponent-BuaJAhns.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-Bm1EuiZe.js → LicensedProfessionalOrganizationComponent-guc4J-8q.js} +6 -6
- package/chunk/{LicensedProfessionalOrganizationComponent-Bm1EuiZe.js.map → LicensedProfessionalOrganizationComponent-guc4J-8q.js.map} +1 -1
- package/chunk/LogoComponent-BMeuu-aK.js +3 -3
- package/chunk/{LogoComponent-BxIXOXCM.js → LogoComponent-CFPoRk_q.js} +5 -5
- package/chunk/{LogoComponent-BxIXOXCM.js.map → LogoComponent-CFPoRk_q.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-JIBMRBVu.js → LowIncomeOrganizationComponent-B29RCDio.js} +15 -15
- package/chunk/{LowIncomeOrganizationComponent-DV4xhsxA.js.map → LowIncomeOrganizationComponent-B29RCDio.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-DV4xhsxA.js → LowIncomeOrganizationComponent-D5Z2U9Jg.js} +6 -6
- package/chunk/{LowIncomeOrganizationComponent-JIBMRBVu.js.map → LowIncomeOrganizationComponent-D5Z2U9Jg.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-Bu7uAv6y.js → MedicalProfessionalOrganizationComponent-BbWBfH4X.js} +4 -4
- package/chunk/{MedicalProfessionalOrganizationComponent-Bu7uAv6y.js.map → MedicalProfessionalOrganizationComponent-BbWBfH4X.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-DtRRbuPO.js → MedicalProfessionalOrganizationComponent-D3gPq7_e.js} +6 -6
- package/chunk/{MedicalProfessionalOrganizationComponent-DtRRbuPO.js.map → MedicalProfessionalOrganizationComponent-D3gPq7_e.js.map} +1 -1
- package/chunk/{MemberIdComponent-DMGaNM9l.js → MemberIdComponent-D_KVob09.js} +5 -5
- package/chunk/{MemberIdComponent-DMGaNM9l.js.map → MemberIdComponent-D_KVob09.js.map} +1 -1
- package/chunk/MemberIdComponent-Dva2Xx7J.js +3 -3
- package/chunk/{MembershipOrganizationComponent-0dDQxNdP.js → MembershipOrganizationComponent-B8DVGQzN.js} +4 -4
- package/chunk/{MembershipOrganizationComponent-0dDQxNdP.js.map → MembershipOrganizationComponent-B8DVGQzN.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-BURHKl64.js → MembershipOrganizationComponent-NFWPqmc5.js} +6 -6
- package/chunk/{MembershipOrganizationComponent-BURHKl64.js.map → MembershipOrganizationComponent-NFWPqmc5.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +3 -3
- package/chunk/{PersonalInfoStepSubmitButton-D3lzSm2E.js → PersonalInfoStepSubmitButton-CdweyyxM.js} +20 -20
- package/chunk/{PersonalInfoStepSubmitButton-D3lzSm2E.js.map → PersonalInfoStepSubmitButton-CdweyyxM.js.map} +1 -1
- package/chunk/PersonalInfoStepSubmitButton-Ywai8bYu.js +3 -3
- package/chunk/{PersonalInfoStepWrapper-jdzoT2oQ.js → PersonalInfoStepWrapper-BgWJSycH.js} +4 -4
- package/chunk/{PersonalInfoStepWrapper-jdzoT2oQ.js.map → PersonalInfoStepWrapper-BgWJSycH.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-CGH-h9Jf.js → PersonalInfoStepWrapper-DC_FCdYS.js} +7 -7
- package/chunk/{PersonalInfoStepWrapper-CGH-h9Jf.js.map → PersonalInfoStepWrapper-DC_FCdYS.js.map} +1 -1
- package/chunk/PostalCodeComponent-C97fgZFI.js +3 -3
- package/chunk/{PostalCodeComponent-BGzBByZd.js → PostalCodeComponent-YFm2z5qa.js} +5 -5
- package/chunk/{PostalCodeComponent-BGzBByZd.js.map → PostalCodeComponent-YFm2z5qa.js.map} +1 -1
- package/chunk/{SSN-CNzKgddw.js → SSN-CtVtLOD7.js} +6 -6
- package/chunk/{SSN-CNzKgddw.js.map → SSN-CtVtLOD7.js.map} +1 -1
- package/chunk/SSN-mk_cMbDH.js +3 -3
- package/chunk/{StateSelectComponent-Dt7KMYlB.js → StateSelectComponent-2QRd98vp.js} +5 -5
- package/chunk/{StateSelectComponent-C4bCRzw5.js.map → StateSelectComponent-2QRd98vp.js.map} +1 -1
- package/chunk/{StateSelectComponent-C4bCRzw5.js → StateSelectComponent-Dyghw0EV.js} +4 -4
- package/chunk/{StateSelectComponent-Dt7KMYlB.js.map → StateSelectComponent-Dyghw0EV.js.map} +1 -1
- package/chunk/{StatusComponent-DNYk1Jwe.js → StatusComponent-CA-P_mFH.js} +4 -4
- package/chunk/{StatusComponent-DNYk1Jwe.js.map → StatusComponent-CA-P_mFH.js.map} +1 -1
- package/chunk/{StatusComponent-DnmUFkly.js → StatusComponent-D05R_Lpo.js} +6 -6
- package/chunk/{StatusComponent-DnmUFkly.js.map → StatusComponent-D05R_Lpo.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-BjomAUg2.js → StepActiveMilitaryPersonalInfoComponent-8ThEBNF0.js} +23 -23
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-BjomAUg2.js.map → StepActiveMilitaryPersonalInfoComponent-8ThEBNF0.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-hM8dAepU.js → StepActiveMilitaryPersonalInfoComponent-DvQndd5k.js} +12 -12
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-hM8dAepU.js.map → StepActiveMilitaryPersonalInfoComponent-DvQndd5k.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-BqtUw-Nv.js → StepAgePersonalInfo-70S216_Z.js} +11 -11
- package/chunk/{StepAgePersonalInfo-BqtUw-Nv.js.map → StepAgePersonalInfo-70S216_Z.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-CdST_Dmi.js → StepAgePersonalInfo-D7dzQYtc.js} +56 -56
- package/chunk/{StepAgePersonalInfo-CdST_Dmi.js.map → StepAgePersonalInfo-D7dzQYtc.js.map} +1 -1
- package/chunk/StepCard-7t2vkHqM.js +3 -3
- package/chunk/{StepCard-BtvCt-ND.js → StepCard-BF_RD7Rd.js} +4 -4
- package/chunk/{StepCard-BtvCt-ND.js.map → StepCard-BF_RD7Rd.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-CedPx9ND.js → StepCollectIdentifier-CT4IWLCw.js} +4 -4
- package/chunk/{StepCollectIdentifier-CedPx9ND.js.map → StepCollectIdentifier-CT4IWLCw.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-mCEUNf8R.js → StepCollectIdentifier-ICI-KNfa.js} +7 -7
- package/chunk/{StepCollectIdentifier-mCEUNf8R.js.map → StepCollectIdentifier-ICI-KNfa.js.map} +1 -1
- package/chunk/StepCollectMilitaryStatusComponent--YmKy9i3.js +9 -0
- package/chunk/{StepCollectMilitaryStatusComponent-CsrWN1Fp.js → StepCollectMilitaryStatusComponent-BmpNHdrV.js} +4 -4
- package/chunk/{StepCollectPersonalInfo-BleSjjbJ.js → StepCollectPersonalInfo-BfwOSCSV.js} +106 -106
- package/chunk/{StepCollectPersonalInfo-BleSjjbJ.js.map → StepCollectPersonalInfo-BfwOSCSV.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-XfmHEIhX.js → StepCollectPersonalInfo-CH-SF0HY.js} +19 -19
- package/chunk/{StepCollectPersonalInfo-XfmHEIhX.js.map → StepCollectPersonalInfo-CH-SF0HY.js.map} +1 -1
- package/chunk/StepCompleteAuthentication-Cs4zhI-D.js +3 -3
- package/chunk/{StepCompleteAuthentication-C2HoMZzF.js → StepCompleteAuthentication-q5i7ecb3.js} +18 -18
- package/chunk/{StepCompleteAuthentication-C2HoMZzF.js.map → StepCompleteAuthentication-q5i7ecb3.js.map} +1 -1
- package/chunk/{StepConsolation-BlC3FCxR.js → StepConsolation-CJTxZS4c.js} +8 -8
- package/chunk/{StepConsolation-CP7Ty_3Z.js.map → StepConsolation-CJTxZS4c.js.map} +1 -1
- package/chunk/{StepConsolation-CP7Ty_3Z.js → StepConsolation-DC9hLoIz.js} +4 -4
- package/chunk/{StepConsolation-BlC3FCxR.js.map → StepConsolation-DC9hLoIz.js.map} +1 -1
- package/chunk/{StepDocUpload-DkWwguQ-.js → StepDocUpload-BfvzN2vx.js} +4 -4
- package/chunk/{StepDocUpload-DkWwguQ-.js.map → StepDocUpload-BfvzN2vx.js.map} +1 -1
- package/chunk/{StepDocUpload-CAUGwHSg.js → StepDocUpload-CVQuOWJO.js} +206 -206
- package/chunk/{StepDocUpload-CAUGwHSg.js.map → StepDocUpload-CVQuOWJO.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-B2SMQtFn.js → StepDriverLicensePersonalInfoComponent-B3-W6vPk.js} +9 -9
- package/chunk/{StepDriverLicensePersonalInfoComponent-tLFYrsZm.js.map → StepDriverLicensePersonalInfoComponent-B3-W6vPk.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-tLFYrsZm.js → StepDriverLicensePersonalInfoComponent-B38Avvcd.js} +14 -14
- package/chunk/{StepDriverLicensePersonalInfoComponent-B2SMQtFn.js.map → StepDriverLicensePersonalInfoComponent-B38Avvcd.js.map} +1 -1
- package/chunk/{StepEmailLoop-D4zZZn8J.js → StepEmailLoop-Buz33mMQ.js} +5 -5
- package/chunk/{StepEmailLoop-D4zZZn8J.js.map → StepEmailLoop-Buz33mMQ.js.map} +1 -1
- package/chunk/{StepEmailLoop-FausTzfT.js → StepEmailLoop-DACxlJBV.js} +13 -13
- package/chunk/{StepEmailLoop-FausTzfT.js.map → StepEmailLoop-DACxlJBV.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-oGRFGWG3.js → StepEmploymentPersonalInfo-B9sA1iOS.js} +10 -10
- package/chunk/{StepEmploymentPersonalInfo-BWnfMrEI.js.map → StepEmploymentPersonalInfo-B9sA1iOS.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-BWnfMrEI.js → StepEmploymentPersonalInfo-MLslqLd4.js} +17 -17
- package/chunk/{StepEmploymentPersonalInfo-oGRFGWG3.js.map → StepEmploymentPersonalInfo-MLslqLd4.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-BBIjWUh9.js → StepFirstResponderPersonalInfo-Bo-Ksi2D.js} +12 -12
- package/chunk/{StepFirstResponderPersonalInfo-BBIjWUh9.js.map → StepFirstResponderPersonalInfo-Bo-Ksi2D.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-CntfAPiK.js → StepFirstResponderPersonalInfo-BsZSfBSh.js} +19 -19
- package/chunk/{StepFirstResponderPersonalInfo-CntfAPiK.js.map → StepFirstResponderPersonalInfo-BsZSfBSh.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-D53k6Woe.js → StepGeneralIdentityPersonalInfoComponent-BifHA2mt.js} +10 -10
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Ccjf20DV.js.map → StepGeneralIdentityPersonalInfoComponent-BifHA2mt.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Ccjf20DV.js → StepGeneralIdentityPersonalInfoComponent-DiX4v8KA.js} +17 -17
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-D53k6Woe.js.map → StepGeneralIdentityPersonalInfoComponent-DiX4v8KA.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-CRlkXJEC.js → StepHybridIdentityPersonalInfoComponent-CdW7WnyT.js} +10 -10
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BI6nJsLA.js.map → StepHybridIdentityPersonalInfoComponent-CdW7WnyT.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BI6nJsLA.js → StepHybridIdentityPersonalInfoComponent-DVyNVGmg.js} +18 -18
- package/chunk/{StepHybridIdentityPersonalInfoComponent-CRlkXJEC.js.map → StepHybridIdentityPersonalInfoComponent-DVyNVGmg.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-D-d08feu.js → StepIDCheckLoop-C0u3toCU.js} +7 -7
- package/chunk/{StepIDCheckLoop-CFfZ9eP_.js.map → StepIDCheckLoop-C0u3toCU.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-CFfZ9eP_.js → StepIDCheckLoop-ChuwpneN.js} +4 -4
- package/chunk/{StepIDCheckLoop-D-d08feu.js.map → StepIDCheckLoop-ChuwpneN.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-BkjksFOf.js → StepIDCheckLoopOnfido-D_TuhsWr.js} +6 -6
- package/chunk/{StepIDCheckLoopOnfido-BkjksFOf.js.map → StepIDCheckLoopOnfido-D_TuhsWr.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-Bf0C3aeV.js → StepIDCheckLoopOnfido-Xz9jd0i2.js} +39 -39
- package/chunk/{StepIDCheckLoopOnfido-Bf0C3aeV.js.map → StepIDCheckLoopOnfido-Xz9jd0i2.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-D57Xo4OF.js → StepIDCheckLoopRegula-WD_vXRI_.js} +4 -4
- package/chunk/{StepIDCheckLoopRegula-BJXRrYWz.js.map → StepIDCheckLoopRegula-WD_vXRI_.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-BJXRrYWz.js → StepIDCheckLoopRegula-WaU4xBQP.js} +15 -15
- package/chunk/{StepIDCheckLoopRegula-D57Xo4OF.js.map → StepIDCheckLoopRegula-WaU4xBQP.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-kReQFO-c.js → StepInactiveMilitaryPersonalInfoComponent-1D5iMZSJ.js} +14 -14
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-BlqS85GS.js.map → StepInactiveMilitaryPersonalInfoComponent-1D5iMZSJ.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-BlqS85GS.js → StepInactiveMilitaryPersonalInfoComponent-CJF9sE0N.js} +34 -34
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-kReQFO-c.js.map → StepInactiveMilitaryPersonalInfoComponent-CJF9sE0N.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-DzzDNAit.js → StepLicensedProfessionalPersonalInfo-CgIdnlmk.js} +12 -12
- package/chunk/{StepLicensedProfessionalPersonalInfo-Cjh5Fxbc.js.map → StepLicensedProfessionalPersonalInfo-CgIdnlmk.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-Cjh5Fxbc.js → StepLicensedProfessionalPersonalInfo-OrWHof63.js} +16 -16
- package/chunk/{StepLicensedProfessionalPersonalInfo-DzzDNAit.js.map → StepLicensedProfessionalPersonalInfo-OrWHof63.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-CRGvFqIN.js → StepLowIncomePersonalInfo-B47fi2y2.js} +12 -12
- package/chunk/{StepLowIncomePersonalInfo-BYJ5d1tK.js.map → StepLowIncomePersonalInfo-B47fi2y2.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-BYJ5d1tK.js → StepLowIncomePersonalInfo-BL8fX2SZ.js} +25 -25
- package/chunk/{StepLowIncomePersonalInfo-CRGvFqIN.js.map → StepLowIncomePersonalInfo-BL8fX2SZ.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-Ql3EDfEE.js → StepMedicalProfessionalPersonalInfo-PfAVnLpu.js} +13 -13
- package/chunk/{StepMedicalProfessionalPersonalInfo-D_GPvIBq.js.map → StepMedicalProfessionalPersonalInfo-PfAVnLpu.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-D_GPvIBq.js → StepMedicalProfessionalPersonalInfo-pSBxypv4.js} +24 -24
- package/chunk/{StepMedicalProfessionalPersonalInfo-Ql3EDfEE.js.map → StepMedicalProfessionalPersonalInfo-pSBxypv4.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-BaPGBsQ0.js → StepMemberPersonalInfo-CcDuf_LZ.js} +11 -11
- package/chunk/{StepMemberPersonalInfo-BaPGBsQ0.js.map → StepMemberPersonalInfo-CcDuf_LZ.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-D6yWywSK.js → StepMemberPersonalInfo-DjF8htn5.js} +56 -56
- package/chunk/{StepMemberPersonalInfo-D6yWywSK.js.map → StepMemberPersonalInfo-DjF8htn5.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-DJDvFEXY.js → StepMoverPersonalInfo-C6Qhyk62.js} +47 -47
- package/chunk/{StepMoverPersonalInfo-DJDvFEXY.js.map → StepMoverPersonalInfo-C6Qhyk62.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-GrXVpjHj.js → StepMoverPersonalInfo-Cg9SlaxL.js} +8 -8
- package/chunk/{StepMoverPersonalInfo-GrXVpjHj.js.map → StepMoverPersonalInfo-Cg9SlaxL.js.map} +1 -1
- package/chunk/{StepOverrideComponent-DM7_NsVu.js → StepOverrideComponent-BT3m-hB9.js} +15 -15
- package/chunk/{StepOverrideComponent-DM7_NsVu.js.map → StepOverrideComponent-BT3m-hB9.js.map} +1 -1
- package/chunk/{StepOverrideComponent-DrRBc0Vr.js → StepOverrideComponent-DWLtrNiP.js} +4 -4
- package/chunk/{StepOverrideComponent-DrRBc0Vr.js.map → StepOverrideComponent-DWLtrNiP.js.map} +1 -1
- package/chunk/{StepSMSLoop-CuLSFRil.js → StepSMSLoop-4ITuy_ww.js} +4 -4
- package/chunk/{StepSMSLoop-CuLSFRil.js.map → StepSMSLoop-4ITuy_ww.js.map} +1 -1
- package/chunk/{StepSMSLoop-mGoGBOK0.js → StepSMSLoop-AcEj31iz.js} +18 -18
- package/chunk/{StepSMSLoop-mGoGBOK0.js.map → StepSMSLoop-AcEj31iz.js.map} +1 -1
- package/chunk/StepSSO-BRFhNvkp.js +3 -3
- package/chunk/StepSSO-BaFk7RFJ.js +3 -3
- package/chunk/{StepSocialSecurityNumber-Ccvhxlo8.js → StepSocialSecurityNumber-BGsylXEh.js} +25 -25
- package/chunk/{StepSocialSecurityNumber-Ccvhxlo8.js.map → StepSocialSecurityNumber-BGsylXEh.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-CDGcyqvg.js → StepSocialSecurityNumber-CYzq93oK.js} +5 -5
- package/chunk/{StepSocialSecurityNumber-CDGcyqvg.js.map → StepSocialSecurityNumber-CYzq93oK.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-BiKIDVhk.js → StepStudentPersonalInfo-7T1fonlN.js} +58 -58
- package/chunk/{StepStudentPersonalInfo-BiKIDVhk.js.map → StepStudentPersonalInfo-7T1fonlN.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-e1z1hWCH.js → StepStudentPersonalInfo-Dcih7Qze.js} +11 -11
- package/chunk/{StepStudentPersonalInfo-e1z1hWCH.js.map → StepStudentPersonalInfo-Dcih7Qze.js.map} +1 -1
- package/chunk/{StepSuccess-T6-OhHHn.js → StepSuccess-B8mKkiSn.js} +4 -4
- package/chunk/StepSuccess-B8mKkiSn.js.map +1 -0
- package/chunk/{StepSuccess-BocTx0BL.js → StepSuccess-KHgnlbqc.js} +25 -25
- package/chunk/StepSuccess-KHgnlbqc.js.map +1 -0
- package/chunk/StepTeacherPersonalInfo-B0oy6FPu.js +153 -0
- package/chunk/{StepTeacherPersonalInfo-SArNeiJd.js.map → StepTeacherPersonalInfo-B0oy6FPu.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-e1HTq7uH.js → StepTeacherPersonalInfo-C_jGXdnq.js} +12 -12
- package/chunk/{StepTeacherPersonalInfo-e1HTq7uH.js.map → StepTeacherPersonalInfo-C_jGXdnq.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BGHCbduX.js +3 -3
- package/chunk/StepThirdPartyLoop-ZHByQpHa.js +3 -3
- package/chunk/{TeacherSchoolComponent-C8gC3I9P.js → TeacherSchoolComponent-CLnLmUU-.js} +7 -7
- package/chunk/{TeacherSchoolComponent-BRp8x8NS.js.map → TeacherSchoolComponent-CLnLmUU-.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-BRp8x8NS.js → TeacherSchoolComponent-Ceve3sQi.js} +4 -4
- package/chunk/{TeacherSchoolComponent-C8gC3I9P.js.map → TeacherSchoolComponent-Ceve3sQi.js.map} +1 -1
- package/chunk/TestingRouteOverrides-B-zcTBa_.js +3 -3
- package/chunk/TestingRouteOverrides-DCR0qXVH.js +81 -0
- package/chunk/{TestingRouteOverrides-BDCygTLC.js.map → TestingRouteOverrides-DCR0qXVH.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +3 -3
- package/chunk/{VerificationApiClient-Ba7s5IGi.js → VerificationApiClient-B74cwlAH.js} +4 -4
- package/chunk/{VerificationApiClient-Ba7s5IGi.js.map → VerificationApiClient-B74cwlAH.js.map} +1 -1
- package/chunk/{VerificationApiClient-B40BtVcX.js → VerificationApiClient-o29UFrLq.js} +140 -140
- package/chunk/{VerificationApiClient-B40BtVcX.js.map → VerificationApiClient-o29UFrLq.js.map} +1 -1
- package/chunk/{VerificationApiUtils-DsurExmN.js → VerificationApiUtils-2uVrxfLJ.js} +5 -5
- package/chunk/{VerificationApiUtils-Dmxo4F16.js.map → VerificationApiUtils-2uVrxfLJ.js.map} +1 -1
- package/chunk/{VerificationApiUtils-Dmxo4F16.js → VerificationApiUtils-Ccd1usA7.js} +6 -6
- package/chunk/{VerificationApiUtils-DsurExmN.js.map → VerificationApiUtils-Ccd1usA7.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-D2UBy7Uo.js → countryUtils-BAFwHnuu.js} +4 -4
- package/chunk/{countryUtils-D2UBy7Uo.js.map → countryUtils-BAFwHnuu.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-C-gdTM26.js → downshift.esm-Bq9WfE1w.js} +121 -121
- package/chunk/{downshift.esm-C-gdTM26.js.map → downshift.esm-Bq9WfE1w.js.map} +1 -1
- package/chunk/{downshift.esm-CxrmBk-8.js → downshift.esm-DnvoFfPd.js} +4 -4
- package/chunk/{downshift.esm-CxrmBk-8.js.map → downshift.esm-DnvoFfPd.js.map} +1 -1
- package/chunk/el-CFa6y9Ri.js +3 -3
- package/chunk/empties-BIoZK05_.js +3 -3
- package/chunk/{empties-DHvaWflk.js → empties-Ck9OJXHG.js} +4 -4
- package/chunk/{empties-DHvaWflk.js.map → empties-Ck9OJXHG.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-Yr2cw5px.js → intl-aUfdCP8t.js} +4 -4
- package/chunk/{intl-Yr2cw5px.js.map → intl-aUfdCP8t.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-D_-z-h6n.js → jsx-runtime-XNwIsY_N.js} +17 -17
- package/chunk/{jsx-runtime-D_-z-h6n.js.map → jsx-runtime-XNwIsY_N.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-UF-7lF1f.js +3 -3
- package/chunk/{militaryStepHelpers-DSh6iat_.js → militaryStepHelpers-qMYyQgVn.js} +4 -4
- package/chunk/{militaryStepHelpers-DSh6iat_.js.map → militaryStepHelpers-qMYyQgVn.js.map} +1 -1
- package/chunk/mocks-1r84in2Q.js +3 -3
- package/chunk/{mocks-CKXq8CZk.js → mocks-fUTXc8-e.js} +8 -8
- package/chunk/{mocks-CKXq8CZk.js.map → mocks-fUTXc8-e.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-iBty-gXI.js → programThemeGetters-CyMKyJao.js} +35 -35
- package/chunk/{programThemeGetters-iBty-gXI.js.map → programThemeGetters-CyMKyJao.js.map} +1 -1
- package/chunk/programThemeGetters-Lz3L0Vh7.js +3 -3
- package/chunk/pt-BR-DWj043qk.js +3 -3
- package/chunk/pt-DckA3Jnn.js +3 -3
- package/chunk/{refs-C_tB1qMA.js → refs--ECXpllB.js} +4 -4
- package/chunk/{refs-C_tB1qMA.js.map → refs--ECXpllB.js.map} +1 -1
- package/chunk/refs-Bbe0gnJ3.js +3 -3
- 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-DEqgS7M_.js → useCollectFieldsEndpoint-1e9hjiDq.js} +10 -10
- package/chunk/{useCollectFieldsEndpoint-pOK1f5os.js.map → useCollectFieldsEndpoint-1e9hjiDq.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-pOK1f5os.js → useCollectFieldsEndpoint-C4UDrIxG.js} +5 -5
- package/chunk/{useCollectFieldsEndpoint-DEqgS7M_.js.map → useCollectFieldsEndpoint-C4UDrIxG.js.map} +1 -1
- package/chunk/useMetrics-D_8asKZL.js +3 -3
- package/chunk/{useMetrics-BdMoL7SD.js → useMetrics-Ivet_g4B.js} +17 -17
- package/chunk/{useMetrics-BdMoL7SD.js.map → useMetrics-Ivet_g4B.js.map} +1 -1
- package/chunk/{validators-DTjHYDSK.js → validators-BZCydYkb.js} +79 -79
- package/chunk/{validators-DTjHYDSK.js.map → validators-BZCydYkb.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 +2 -3
- 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 +1659 -1674
- package/sheerid.js.map +1 -1
- package/chunk/CountryComponentWrapper-CHsLroJa.js +0 -78
- package/chunk/FormFieldTypeahead-BblauBOC.js.map +0 -1
- package/chunk/FormFieldTypeahead-bR9_vlWX.js.map +0 -1
- package/chunk/FormFooterComponent-DdYBy4hI.js.map +0 -1
- package/chunk/FormFooterComponent-QZUjL2NN.js.map +0 -1
- package/chunk/StepCollectMilitaryStatusComponent-Bk3fehX6.js +0 -9
- package/chunk/StepSuccess-BocTx0BL.js.map +0 -1
- package/chunk/StepSuccess-T6-OhHHn.js.map +0 -1
- package/chunk/StepTeacherPersonalInfo-SArNeiJd.js +0 -153
- package/chunk/TestingRouteOverrides-BDCygTLC.js +0 -81
|
@@ -4,29 +4,29 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.258.0-alpha.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE: Tue Jul 21 2026 16:
|
|
7
|
+
* VERSION: 2.258.0-alpha.3
|
|
8
|
+
* BUILD_TIMESTAMP: 1784652834327
|
|
9
|
+
* BUILD_DATE: Tue Jul 21 2026 16:53:54 GMT+0000 (Coordinated Universal Time)
|
|
10
10
|
* BUILD_COMMIT: 946c3bd79f3ff44297f42e44d32fdf3ffdd6b8da
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { a as i, c as a, n as o, t as s } from "./jsx-runtime-
|
|
14
|
-
import {
|
|
12
|
+
import { Ht as e, jt as t, s as n, yt as r } from "./intl-aUfdCP8t.js";
|
|
13
|
+
import { a as i, c as a, n as o, t as s } from "./jsx-runtime-XNwIsY_N.js";
|
|
14
|
+
import { T as c } from "./FormFooterComponent-CbppOmMP.js";
|
|
15
15
|
import { $ as l, B as u, G as d, J as f, P as p, W as m, et as h, n as g } from "../_mysheerid-preview.js";
|
|
16
|
-
import { t as _ } from "./useCollectFieldsEndpoint-
|
|
17
|
-
import { a as v, i as y, n as b, o as x, s as S, t as C } from "./CaptchaComponent-
|
|
18
|
-
import { n as w, t as T } from "./PersonalInfoStepSubmitButton-
|
|
19
|
-
import { t as E } from "./BirthDateComponent-
|
|
20
|
-
import { t as D } from "./PostalCodeComponent-
|
|
21
|
-
import { t as O } from "./CountryComponentWrapper-
|
|
22
|
-
import { t as k } from "./ExtraMessage-
|
|
23
|
-
import { t as A } from "./ChangeLocaleComponent-
|
|
24
|
-
import { t as j } from "./PersonalInfoStepWrapper-
|
|
25
|
-
import { t as M } from "./StatusComponent-
|
|
26
|
-
import { t as N } from "./MedicalProfessionalOrganizationComponent-
|
|
27
|
-
import { t as P } from "./MemberIdComponent-
|
|
16
|
+
import { t as _ } from "./useCollectFieldsEndpoint-1e9hjiDq.js";
|
|
17
|
+
import { a as v, i as y, n as b, o as x, s as S, t as C } from "./CaptchaComponent-Cs2wOhj5.js";
|
|
18
|
+
import { n as w, t as T } from "./PersonalInfoStepSubmitButton-CdweyyxM.js";
|
|
19
|
+
import { t as E } from "./BirthDateComponent-C787gXja.js";
|
|
20
|
+
import { t as D } from "./PostalCodeComponent-YFm2z5qa.js";
|
|
21
|
+
import { t as O } from "./CountryComponentWrapper-BV78vTBy.js";
|
|
22
|
+
import { t as k } from "./ExtraMessage-C8bkhYx2.js";
|
|
23
|
+
import { t as A } from "./ChangeLocaleComponent-D1iUYYBG.js";
|
|
24
|
+
import { t as j } from "./PersonalInfoStepWrapper-DC_FCdYS.js";
|
|
25
|
+
import { t as M } from "./StatusComponent-D05R_Lpo.js";
|
|
26
|
+
import { t as N } from "./MedicalProfessionalOrganizationComponent-D3gPq7_e.js";
|
|
27
|
+
import { t as P } from "./MemberIdComponent-D_KVob09.js";
|
|
28
28
|
//#region src/components/StepMedicalProfessionalPersonalInfo/StepMedicalProfessionalPersonalInfoComponent.tsx
|
|
29
|
-
var F = /* @__PURE__ */
|
|
29
|
+
var F = /* @__PURE__ */ e(a(), 1), I = s(), L = {
|
|
30
30
|
AT: "gbrNummer",
|
|
31
31
|
ES: "numeroColegiado",
|
|
32
32
|
DK: "autorisationsId",
|
|
@@ -39,8 +39,8 @@ var F = /* @__PURE__ */ t(a(), 1), I = s(), L = {
|
|
|
39
39
|
labelKey: `step.collectMedicalPersonalInfo.${t}Label`,
|
|
40
40
|
explanationKey: `step.collectMedicalPersonalInfo.${t}Explanation`
|
|
41
41
|
};
|
|
42
|
-
}, z = i(({ intl:
|
|
43
|
-
let a = i.viewModel, { fieldValidationErrors: s } = i, L = i.verificationResponse, z = c(L), B =
|
|
42
|
+
}, z = i(({ intl: e, verificationService: i }) => {
|
|
43
|
+
let a = i.viewModel, { fieldValidationErrors: s } = i, L = i.verificationResponse, z = c(L), B = n(), V = a.localeChoice.value, H = (e, t) => {
|
|
44
44
|
let n = f(a, e, t);
|
|
45
45
|
i.updateViewModel(n);
|
|
46
46
|
}, { isFieldOptional: U } = _({
|
|
@@ -68,10 +68,10 @@ var F = /* @__PURE__ */ t(a(), 1), I = s(), L = {
|
|
|
68
68
|
segmentId: "medical",
|
|
69
69
|
value: {
|
|
70
70
|
value: a.status,
|
|
71
|
-
label: m(
|
|
71
|
+
label: m(e, a.status, r)
|
|
72
72
|
},
|
|
73
73
|
isErrored: !!s.status,
|
|
74
|
-
options: p(
|
|
74
|
+
options: p(e, L.availableStatuses),
|
|
75
75
|
disabled: u("status")?.disabled,
|
|
76
76
|
onChange: (e) => {
|
|
77
77
|
H("status", e ? e.value : ""), l("status", e ? e.value : "", i);
|
|
@@ -190,7 +190,7 @@ var F = /* @__PURE__ */ t(a(), 1), I = s(), L = {
|
|
|
190
190
|
isErrored: !!s.captchaToken
|
|
191
191
|
}),
|
|
192
192
|
/* @__PURE__ */ (0, I.jsx)(T, {
|
|
193
|
-
step:
|
|
193
|
+
step: t.collectMedicalProfessionalPersonalInfo,
|
|
194
194
|
verificationService: i,
|
|
195
195
|
viewModel: a,
|
|
196
196
|
failedInstantMatch: z,
|
|
@@ -1 +1 @@
|
|
|
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,aAAa,OAEhC,KACJ,GACA,MACG;EACH,IAAM,IAAY,EAAsB,GA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AY;MAC7C,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB,CAIA"}
|
|
1
|
+
{"version":3,"file":"StepMedicalProfessionalPersonalInfo-pSBxypv4.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,EAAk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EAAU,OAAO,EAAE;KAC9C,gBAAe;IAChB,CAAA;GAEJ,CAAA;GAEF,EAAQ,iBAAiB,KAAK,MAC7B,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAmC,YAAY;MAC7C,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB,CAIA"}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.258.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Tue Jul 21 2026 16:
|
|
3
|
+
* VERSION: 2.258.0-alpha.3
|
|
4
|
+
* BUILD_TIMESTAMP: 1784652830507
|
|
5
|
+
* BUILD_DATE: Tue Jul 21 2026 16:53:50 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 { x as s } from "./FormFooterComponent-QN5kZ4hU.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-WnBWWmBW.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-BqZned-E.js";
|
|
15
|
+
import { t as S } from "./CountryComponentWrapper-bzcjcPxz.js";
|
|
16
|
+
import { t as C } from "./ExtraMessage-MKBXSbM_.js";
|
|
17
|
+
import { t as w } from "./ChangeLocaleComponent-DOa9NZyI.js";
|
|
18
|
+
import { t as T } from "./PersonalInfoStepWrapper-BgWJSycH.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-B8DVGQzN.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-BaPGBsQ0.js.map → StepMemberPersonalInfo-CcDuf_LZ.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
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,EA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AAY,CAAC,CAAC,EAAoB,aAAa;IAC/C,OAAO,EAAU;IACjB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAEtB,AADA,EAAsB,eAAe,CAAQ,GAC7C,EAAqC,eAAe,GAAU,CAAmB;IACnF;IACA,qBAAqB,EAAU,iBAAiB,EAAU,cAAc;IACxE,UAAU,EAAwB,aAAa,GAAG;GACnD,CAAA,IACC;GAEH,EAAQ,iBAAiB,KAAK,MAC7B,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAsB,YAAY;MAChC,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
|
|
1
|
+
{"version":3,"file":"StepMemberPersonalInfo-CcDuf_LZ.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,0BA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AA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAsB,YAAY;MAChC,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
|
|
@@ -4,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: Tue Jul 21 2026 16:
|
|
7
|
+
* VERSION: 2.258.0-alpha.3
|
|
8
|
+
* BUILD_TIMESTAMP: 1784652834327
|
|
9
|
+
* BUILD_DATE: Tue Jul 21 2026 16:53:54 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 { Ht as e, jt as t, p as n, s as r } from "./intl-aUfdCP8t.js";
|
|
13
|
+
import { c as i, n as a, t as o } from "./jsx-runtime-XNwIsY_N.js";
|
|
14
|
+
import { T as s } from "./FormFooterComponent-CbppOmMP.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-Cs2wOhj5.js";
|
|
17
|
+
import { n as y, t as b } from "./PersonalInfoStepSubmitButton-CdweyyxM.js";
|
|
18
|
+
import { t as x } from "./BirthDateComponent-C787gXja.js";
|
|
19
|
+
import { t as S } from "./CountryComponentWrapper-BV78vTBy.js";
|
|
20
|
+
import { t as C } from "./ExtraMessage-C8bkhYx2.js";
|
|
21
|
+
import { t as w } from "./ChangeLocaleComponent-D1iUYYBG.js";
|
|
22
|
+
import { t as T } from "./PersonalInfoStepWrapper-DC_FCdYS.js";
|
|
23
|
+
import { t as E } from "./MemberIdComponent-D_KVob09.js";
|
|
24
|
+
import { t as D } from "./MembershipOrganizationComponent-NFWPqmc5.js";
|
|
25
25
|
//#region src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.tsx
|
|
26
|
-
var O = /* @__PURE__ */
|
|
27
|
-
let i =
|
|
28
|
-
let a = n(i, (
|
|
29
|
-
t
|
|
26
|
+
var O = /* @__PURE__ */ e(i(), 1), k = o(), A = ({ verificationService: e }) => {
|
|
27
|
+
let i = e.viewModel, { fieldValidationErrors: o } = e, A = e.verificationResponse, j = s(A), M = r(), N = l("memberId")?.requireIfOptional, P = i.localeChoice.value, F = (t, r) => {
|
|
28
|
+
let a = n(i, (e) => {
|
|
29
|
+
e[t] = r;
|
|
30
30
|
});
|
|
31
|
-
|
|
31
|
+
e.updateViewModel(a);
|
|
32
32
|
};
|
|
33
33
|
return O.useEffect(() => {
|
|
34
|
-
let
|
|
35
|
-
N ?
|
|
34
|
+
let t = (e.viewModel?.fieldsToSkipValidation || []).filter((e) => e !== "memberId");
|
|
35
|
+
N ? e.updateViewModel({ fieldsToSkipValidation: t }, { partial: !0 }) : e.updateViewModel({ fieldsToSkipValidation: [...t, "memberId"] }, { partial: !0 });
|
|
36
36
|
}, [N]), /* @__PURE__ */ (0, k.jsxs)(T, {
|
|
37
|
-
verificationService:
|
|
37
|
+
verificationService: e,
|
|
38
38
|
step: A.currentStep,
|
|
39
39
|
children: [
|
|
40
40
|
/* @__PURE__ */ (0, k.jsx)(f, {
|
|
41
|
-
verificationService:
|
|
41
|
+
verificationService: e,
|
|
42
42
|
classNameIdentifier: "member-personal-info"
|
|
43
43
|
}),
|
|
44
|
-
/* @__PURE__ */ (0, k.jsx)(w, { verificationService:
|
|
44
|
+
/* @__PURE__ */ (0, k.jsx)(w, { verificationService: e }),
|
|
45
45
|
/* @__PURE__ */ (0, k.jsx)(S, {
|
|
46
|
-
verificationService:
|
|
46
|
+
verificationService: e,
|
|
47
47
|
disabled: l("country")?.disabled
|
|
48
48
|
}),
|
|
49
49
|
/* @__PURE__ */ (0, k.jsx)(D, {
|
|
50
|
-
value:
|
|
51
|
-
verificationService:
|
|
50
|
+
value: e.viewModel.organization,
|
|
51
|
+
verificationService: e,
|
|
52
52
|
isErrored: !!o.organization,
|
|
53
53
|
disabled: l("organization")?.disabled,
|
|
54
|
-
onChange: (
|
|
55
|
-
d(
|
|
54
|
+
onChange: (t) => {
|
|
55
|
+
d(t, e), c("organization", t, e);
|
|
56
56
|
}
|
|
57
57
|
}),
|
|
58
58
|
/* @__PURE__ */ (0, k.jsxs)("div", {
|
|
@@ -61,15 +61,15 @@ var O = /* @__PURE__ */ t(i(), 1), k = o(), A = ({ verificationService: t }) =>
|
|
|
61
61
|
value: i.firstName,
|
|
62
62
|
isErrored: !!o.firstName,
|
|
63
63
|
disabled: l("firstName")?.disabled,
|
|
64
|
-
onChange: (
|
|
65
|
-
F("firstName",
|
|
64
|
+
onChange: (t) => {
|
|
65
|
+
F("firstName", t), c("firstName", t, e);
|
|
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: (t) => {
|
|
72
|
+
F("lastName", t), c("lastName", t, e);
|
|
73
73
|
}
|
|
74
74
|
})]
|
|
75
75
|
}),
|
|
@@ -80,8 +80,8 @@ var O = /* @__PURE__ */ t(i(), 1), k = o(), A = ({ verificationService: t }) =>
|
|
|
80
80
|
id: "emailExplanation",
|
|
81
81
|
defaultMessage: " "
|
|
82
82
|
}),
|
|
83
|
-
onChange: (
|
|
84
|
-
F("email",
|
|
83
|
+
onChange: (t) => {
|
|
84
|
+
F("email", t), c("email", t, e);
|
|
85
85
|
},
|
|
86
86
|
onKeyDown: (e) => u(e),
|
|
87
87
|
disabled: l("email")?.disabled
|
|
@@ -90,8 +90,8 @@ var O = /* @__PURE__ */ t(i(), 1), k = o(), A = ({ verificationService: t }) =>
|
|
|
90
90
|
errorId: o.birthDate,
|
|
91
91
|
locale: P,
|
|
92
92
|
isRequired: l("birthDate")?.requireIfOptional,
|
|
93
|
-
onChange: (
|
|
94
|
-
F("birthDate",
|
|
93
|
+
onChange: (t) => {
|
|
94
|
+
F("birthDate", t), c("birthDate", t, e);
|
|
95
95
|
},
|
|
96
96
|
value: i.birthDate,
|
|
97
97
|
disabled: l("birthDate")?.disabled
|
|
@@ -101,47 +101,47 @@ var O = /* @__PURE__ */ t(i(), 1), k = o(), A = ({ verificationService: t }) =>
|
|
|
101
101
|
isErrored: !!o.memberId,
|
|
102
102
|
isRequired: N,
|
|
103
103
|
disabled: l("memberId")?.disabled,
|
|
104
|
-
onChange: (
|
|
105
|
-
F("memberId",
|
|
104
|
+
onChange: (t) => {
|
|
105
|
+
F("memberId", t), c("memberId", t, e);
|
|
106
106
|
}
|
|
107
107
|
}),
|
|
108
|
-
|
|
109
|
-
isRequired: !!
|
|
108
|
+
e.programTheme.isSmsNotifierConfigured || e.programTheme.smsLoopEnabled ? /* @__PURE__ */ (0, k.jsx)(g, {
|
|
109
|
+
isRequired: !!e.programTheme.smsLoopEnabled,
|
|
110
110
|
value: i.phoneNumber,
|
|
111
111
|
isErrored: !!o.phoneNumber,
|
|
112
|
-
onChange: (
|
|
113
|
-
F("phoneNumber",
|
|
112
|
+
onChange: (t) => {
|
|
113
|
+
F("phoneNumber", t), c("phoneNumber", t, e);
|
|
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((t) => /* @__PURE__ */ (0, k.jsx)(h, {
|
|
119
|
+
config: t,
|
|
120
|
+
verificationService: e
|
|
121
121
|
})),
|
|
122
122
|
/* @__PURE__ */ (0, k.jsx)(_, {
|
|
123
|
-
verificationService:
|
|
123
|
+
verificationService: e,
|
|
124
124
|
isErrored: !!o.marketConsentValue,
|
|
125
|
-
onChange: (
|
|
125
|
+
onChange: (t) => {
|
|
126
126
|
F("metadata", {
|
|
127
|
-
...
|
|
128
|
-
marketConsentValue:
|
|
129
|
-
}), c("marketConsentValue",
|
|
127
|
+
...e.viewModel.metadata,
|
|
128
|
+
marketConsentValue: t
|
|
129
|
+
}), c("marketConsentValue", t, e);
|
|
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: e,
|
|
136
136
|
suffix: "CollectAboveSubmit"
|
|
137
137
|
}),
|
|
138
138
|
/* @__PURE__ */ (0, k.jsx)(v, {
|
|
139
|
-
verificationService:
|
|
139
|
+
verificationService: e,
|
|
140
140
|
isErrored: !!o.captchaToken
|
|
141
141
|
}),
|
|
142
142
|
/* @__PURE__ */ (0, k.jsx)(b, {
|
|
143
|
-
step:
|
|
144
|
-
verificationService:
|
|
143
|
+
step: t.collectMemberPersonalInfo,
|
|
144
|
+
verificationService: e,
|
|
145
145
|
viewModel: i,
|
|
146
146
|
failedInstantMatch: j,
|
|
147
147
|
buttonText: /* @__PURE__ */ (0, k.jsx)(a, {
|
package/chunk/{StepMemberPersonalInfo-D6yWywSK.js.map → StepMemberPersonalInfo-DjF8htn5.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
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;\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,GAGr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;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-DjF8htn5.js","names":[],"sources":["../../src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type Organization,\n type MemberPersonalInfoViewModel,\n type MemberPersonalInfoResponse,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { MemberIdComponent as MemberId } from \"../FormFields/MemberId/MemberIdComponent\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { MembershipOrganizationComponent } from \"../FormFields/MembershipOrganization/MembershipOrganizationComponent\";\nimport { MarketConsentWrapperComponent } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepMemberPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nconst StepMemberPersonalInfo = ({ verificationService }: StepMemberPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MemberPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MemberPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n const isMemberIdRequired = getFieldConfigByFieldId(\"memberId\")?.requireIfOptional;\n\n const locale = viewModel.localeChoice.value;\n\n const updateMemberViewModel = (key: keyof MemberPersonalInfoViewModel, value: any) => {\n const nextState: MemberPersonalInfoViewModel = produce(\n viewModel,\n (draft: MemberPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n React.useEffect(() => {\n const existing = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"memberId\",\n );\n if (!isMemberIdRequired) {\n verificationService.updateViewModel(\n { fieldsToSkipValidation: [...existing, \"memberId\"] },\n { partial: true },\n );\n } else {\n verificationService.updateViewModel({ fieldsToSkipValidation: existing }, { partial: true });\n }\n }, [isMemberIdRequired]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"member-personal-info\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <MembershipOrganizationComponent\n value={(verificationService.viewModel as MemberPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateMemberViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired={getFieldConfigByFieldId(\"birthDate\")?.requireIfOptional}\n onChange={(newValue) => {\n updateMemberViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n <MemberId\n value={viewModel.memberId}\n isErrored={!!fieldValidationErrors.memberId}\n isRequired={isMemberIdRequired}\n disabled={getFieldConfigByFieldId(\"memberId\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"memberId\", newValue);\n updateFieldValidationErrorsByFieldId(\"memberId\", newValue, verificationService);\n }}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateMemberViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapperComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateMemberViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectMemberPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Membership Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepMemberPersonalInfoComponent = StepMemberPersonalInfo;\n"],"mappings":";;;;;;;;;;;;;;4CAwNa,KA/KmB,EAAE,6BAAgE;CAChG,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAU,EAAW,GACrB,IAAqB,EAAwB,UAAU,GAAG,mBAE1D,IAAS,EAAU,aAAa,OAEhC,KAAyB,GAAwC,MAAe;EACpF,IAAM,IAAyC,EAC7C,IACC,MAAuC;GACtC,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C;CAgBA,OAdA,EAAM,gBAAgB;EACpB,IAAM,KAAY,EAAoB,WAAW,0BAA0B,CAAC,GAAG,QAC5E,MAAO,MAAO,UACjB;EACA,AAAK,IAMH,EAAoB,gBAAgB,EAAE,wBAAwB,EAAS,GAAG,EAAE,SAAS,GAAK,CAAC,IAL3F,EAAoB,gBAClB,EAAE,wBAAwB,CAAC,GAAG,GAAU,UAAU,EAAE,GACpD,EAAE,SAAS,GAAK,CAClB;CAIJ,GAAG,CAAC,CAAkB,CAAC,GAGrB,iBAAA,GAAA,EAAA,MAAC,GAAD;EACuB;EACrB,MAAM,EAAqB;YAF7B;GAIE,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,qBAAoB;GACrB,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD,EAA8C,uBAAsB,CAAA;GACpE,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,UAAU,EAAwB,SAAS,GAAG;GAC/C,CAAA;GAED,iBAAA,GAAA,EAAA,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