@sheerid/jslib-nightly 2.259.0-alpha.2 → 2.259.0-alpha.4
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 +1457 -1457
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-DMwOmjiG.js → AddressComponent-BAzFHRbA.js} +5 -5
- package/chunk/{AddressComponent-CJV3vrMt.js.map → AddressComponent-BAzFHRbA.js.map} +1 -1
- package/chunk/{AddressComponent-CJV3vrMt.js → AddressComponent-DwBYG6uf.js} +5 -5
- package/chunk/{AddressComponent-DMwOmjiG.js.map → AddressComponent-DwBYG6uf.js.map} +1 -1
- package/chunk/{AnnouncingHeader-DjgtqEeX.js → AnnouncingHeader-C3SZBL-2.js} +5 -5
- package/chunk/{AnnouncingHeader-BF69hVVm.js.map → AnnouncingHeader-C3SZBL-2.js.map} +1 -1
- package/chunk/{AnnouncingHeader-BF69hVVm.js → AnnouncingHeader-DQHkHL1F.js} +5 -5
- package/chunk/{AnnouncingHeader-DjgtqEeX.js.map → AnnouncingHeader-DQHkHL1F.js.map} +1 -1
- package/chunk/{ApiUrls-Qas0Xjyd.js → ApiUrls-C1i2zShE.js} +5 -9
- package/chunk/{ApiUrls-BpvEY_I3.js.map → ApiUrls-C1i2zShE.js.map} +1 -1
- package/chunk/ApiUrls-dZcmNEuL.js +42 -0
- package/chunk/{ApiUrls-Qas0Xjyd.js.map → ApiUrls-dZcmNEuL.js.map} +1 -1
- package/chunk/{BirthDateComponent-DFHRO9YQ.js → BirthDateComponent-CWp6qCwi.js} +6 -6
- package/chunk/{BirthDateComponent-DFHRO9YQ.js.map → BirthDateComponent-CWp6qCwi.js.map} +1 -1
- package/chunk/{BirthDateComponent-Dh5xAxOF.js → BirthDateComponent-D9LlGf-7.js} +6 -6
- package/chunk/{BirthDateComponent-Dh5xAxOF.js.map → BirthDateComponent-D9LlGf-7.js.map} +1 -1
- package/chunk/{CaptchaComponent-DaH202Ah.js → CaptchaComponent-BLKVnsDS.js} +119 -123
- package/chunk/{CaptchaComponent-DaH202Ah.js.map → CaptchaComponent-BLKVnsDS.js.map} +1 -1
- package/chunk/{CaptchaComponent-QYGB0QuK.js → CaptchaComponent-ZNBrwLAd.js} +183 -179
- package/chunk/{CaptchaComponent-QYGB0QuK.js.map → CaptchaComponent-ZNBrwLAd.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-QMQdbxxB.js → ChangeLocaleComponent-CkmHNHiE.js} +6 -6
- package/chunk/{ChangeLocaleComponent-DdX2nV2D.js.map → ChangeLocaleComponent-CkmHNHiE.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-DdX2nV2D.js → ChangeLocaleComponent-MCyF8czV.js} +6 -6
- package/chunk/{ChangeLocaleComponent-QMQdbxxB.js.map → ChangeLocaleComponent-MCyF8czV.js.map} +1 -1
- package/chunk/{City-CmO85Z9x.js → City-Ch0wNVmN.js} +5 -5
- package/chunk/{City-CmO85Z9x.js.map → City-Ch0wNVmN.js.map} +1 -1
- package/chunk/{City-DlWin4GX.js → City-umz1wU5f.js} +5 -5
- package/chunk/{City-DlWin4GX.js.map → City-umz1wU5f.js.map} +1 -1
- package/chunk/{CollegeNameComponent-CIhHISji.js → CollegeNameComponent-Bw1V9DWR.js} +7 -7
- package/chunk/{CollegeNameComponent-CIhHISji.js.map → CollegeNameComponent-Bw1V9DWR.js.map} +1 -1
- package/chunk/{CollegeNameComponent-D_dKLkKY.js → CollegeNameComponent-sTb0aLwH.js} +7 -7
- package/chunk/{CollegeNameComponent-D_dKLkKY.js.map → CollegeNameComponent-sTb0aLwH.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-1BeB_oX_.js → CopyToClipboardComponent-CfiR0il_.js} +8 -8
- package/chunk/{CopyToClipboardComponent-1BeB_oX_.js.map → CopyToClipboardComponent-CfiR0il_.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-C1BnmvlK.js → CopyToClipboardComponent-eiQyVezJ.js} +8 -8
- package/chunk/{CopyToClipboardComponent-C1BnmvlK.js.map → CopyToClipboardComponent-eiQyVezJ.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-Du13nINk.js → CountryComponentWrapper-BSSdDVcs.js} +17 -13
- package/chunk/{CountryComponentWrapper-Du13nINk.js.map → CountryComponentWrapper-BSSdDVcs.js.map} +1 -1
- package/chunk/CountryComponentWrapper-BWQRtr9a.js +74 -0
- package/chunk/{CountryComponentWrapper-zWLRBrRp.js.map → CountryComponentWrapper-BWQRtr9a.js.map} +1 -1
- package/chunk/{DischargeDateComponent-DH3gbXN-.js → DischargeDateComponent-BX2aPQbK.js} +12 -12
- package/chunk/{DischargeDateComponent-DH3gbXN-.js.map → DischargeDateComponent-BX2aPQbK.js.map} +1 -1
- package/chunk/{DischargeDateComponent-DpNsH3Q4.js → DischargeDateComponent-DmQ9YAzc.js} +13 -13
- package/chunk/{DischargeDateComponent-DpNsH3Q4.js.map → DischargeDateComponent-DmQ9YAzc.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-D8q18o2M.js → DriverLicenseNumberComponent-BVOVJVvt.js} +5 -5
- package/chunk/{DriverLicenseNumberComponent-D8q18o2M.js.map → DriverLicenseNumberComponent-BVOVJVvt.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-DgXMM-Pt.js → DriverLicenseNumberComponent-oKgkWwie.js} +5 -5
- package/chunk/{DriverLicenseNumberComponent-DgXMM-Pt.js.map → DriverLicenseNumberComponent-oKgkWwie.js.map} +1 -1
- package/chunk/{EmailLoopPending-Dvufu09u.js → EmailLoopPending-CE-tueNf.js} +18 -18
- package/chunk/{EmailLoopPending-Dvufu09u.js.map → EmailLoopPending-CE-tueNf.js.map} +1 -1
- package/chunk/{EmailLoopPending-BpsA3nlg.js → EmailLoopPending-IfP5ilCU.js} +22 -22
- package/chunk/{EmailLoopPending-BpsA3nlg.js.map → EmailLoopPending-IfP5ilCU.js.map} +1 -1
- package/chunk/{ExtraMessage-Ca6AF5JE.js → ExtraMessage-BicSxrM8.js} +6 -6
- package/chunk/{ExtraMessage-9BMK2Fd_.js.map → ExtraMessage-BicSxrM8.js.map} +1 -1
- package/chunk/{ExtraMessage-9BMK2Fd_.js → ExtraMessage-D_tMUnf9.js} +6 -6
- package/chunk/{ExtraMessage-Ca6AF5JE.js.map → ExtraMessage-D_tMUnf9.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-DgcptK9s.js → FirstResponderOrganizationComponent-CarIvxfO.js} +6 -6
- package/chunk/{FirstResponderOrganizationComponent-C88NJlsu.js.map → FirstResponderOrganizationComponent-CarIvxfO.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-C88NJlsu.js → FirstResponderOrganizationComponent-DATMg2cJ.js} +6 -6
- package/chunk/{FirstResponderOrganizationComponent-DgcptK9s.js.map → FirstResponderOrganizationComponent-DATMg2cJ.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-BJlHmrSC.js → FormFieldInputSelect-BoPAcenZ.js} +6 -6
- package/chunk/{FormFieldInputSelect-BJlHmrSC.js.map → FormFieldInputSelect-BoPAcenZ.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-qjIEfk_y.js → FormFieldInputSelect-PSqzJ3aN.js} +6 -6
- package/chunk/{FormFieldInputSelect-qjIEfk_y.js.map → FormFieldInputSelect-PSqzJ3aN.js.map} +1 -1
- package/chunk/{FormFieldLayout-BpmeMD4X.js → FormFieldLayout-Bb1WuAD0.js} +5 -5
- package/chunk/{FormFieldLayout-DIcCOsGu.js.map → FormFieldLayout-Bb1WuAD0.js.map} +1 -1
- package/chunk/{FormFieldLayout-DIcCOsGu.js → FormFieldLayout-DXsnKxvN.js} +5 -5
- package/chunk/{FormFieldLayout-BpmeMD4X.js.map → FormFieldLayout-DXsnKxvN.js.map} +1 -1
- package/chunk/{FormFieldText-zuTjfmLt.js → FormFieldText-B9pb3dXH.js} +6 -6
- package/chunk/{FormFieldText-zjWk7Cyc.js.map → FormFieldText-B9pb3dXH.js.map} +1 -1
- package/chunk/{FormFieldText-zjWk7Cyc.js → FormFieldText-pZJ86ywV.js} +6 -6
- package/chunk/{FormFieldText-zuTjfmLt.js.map → FormFieldText-pZJ86ywV.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-CrDv6QmZ.js → FormFieldTypeahead-BLvDi0is.js} +90 -90
- package/chunk/{FormFieldTypeahead-CrDv6QmZ.js.map → FormFieldTypeahead-BLvDi0is.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-4sP6yrSp.js → FormFieldTypeahead-DSiQ4zHO.js} +136 -136
- package/chunk/{FormFieldTypeahead-4sP6yrSp.js.map → FormFieldTypeahead-DSiQ4zHO.js.map} +1 -1
- package/chunk/{FormFooterComponent-D9_fIqUs.js → FormFooterComponent-B5sO7lYC.js} +1447 -1451
- package/chunk/FormFooterComponent-B5sO7lYC.js.map +1 -0
- package/chunk/{FormFooterComponent-CXzDxR2J.js → FormFooterComponent-DsvjZf4o.js} +1882 -1886
- package/chunk/{FormFooterComponent-CXzDxR2J.js.map → FormFooterComponent-DsvjZf4o.js.map} +1 -1
- package/chunk/{FormSelectChoice-QRH1HmYa.js → FormSelectChoice-DoK87Gbl.js} +16 -16
- package/chunk/{FormSelectChoice-BQPP65dN.js.map → FormSelectChoice-DoK87Gbl.js.map} +1 -1
- package/chunk/{FormSelectChoice-BQPP65dN.js → FormSelectChoice-YtuMSK5M.js} +16 -16
- package/chunk/{FormSelectChoice-QRH1HmYa.js.map → FormSelectChoice-YtuMSK5M.js.map} +1 -1
- package/chunk/{InputText-DA8wfbQM.js → InputText-B3qMKLhG.js} +6 -6
- package/chunk/{InputText-Bzkl8mKj.js.map → InputText-B3qMKLhG.js.map} +1 -1
- package/chunk/{InputText-Bzkl8mKj.js → InputText-CM38DNW0.js} +6 -6
- package/chunk/{InputText-DA8wfbQM.js.map → InputText-CM38DNW0.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-Cy9sdOZC.js → LicensedProfessionalOrganizationComponent-7Ch23kP0.js} +6 -6
- package/chunk/{LicensedProfessionalOrganizationComponent-Cy9sdOZC.js.map → LicensedProfessionalOrganizationComponent-7Ch23kP0.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-DD9CuMfT.js → LicensedProfessionalOrganizationComponent-bpm8_oJn.js} +6 -6
- package/chunk/{LicensedProfessionalOrganizationComponent-DD9CuMfT.js.map → LicensedProfessionalOrganizationComponent-bpm8_oJn.js.map} +1 -1
- package/chunk/{LogoComponent-BxIXOXCM.js → LogoComponent-C2JeW5X0.js} +5 -5
- package/chunk/{LogoComponent-BMeuu-aK.js.map → LogoComponent-C2JeW5X0.js.map} +1 -1
- package/chunk/{LogoComponent-BMeuu-aK.js → LogoComponent-DwplRUhZ.js} +5 -5
- package/chunk/{LogoComponent-BxIXOXCM.js.map → LogoComponent-DwplRUhZ.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-Dpvvj9n4.js → LowIncomeOrganizationComponent-CF8b7PRT.js} +15 -15
- package/chunk/{LowIncomeOrganizationComponent-D3-otdoS.js.map → LowIncomeOrganizationComponent-CF8b7PRT.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-D3-otdoS.js → LowIncomeOrganizationComponent-DNH8KSnF.js} +16 -16
- package/chunk/{LowIncomeOrganizationComponent-Dpvvj9n4.js.map → LowIncomeOrganizationComponent-DNH8KSnF.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-B_6Eeh8t.js → MedicalProfessionalOrganizationComponent-CQYCEMrI.js} +6 -6
- package/chunk/{MedicalProfessionalOrganizationComponent-B-hFqd6W.js.map → MedicalProfessionalOrganizationComponent-CQYCEMrI.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-B-hFqd6W.js → MedicalProfessionalOrganizationComponent-DrbGfGEM.js} +6 -6
- package/chunk/{MedicalProfessionalOrganizationComponent-B_6Eeh8t.js.map → MedicalProfessionalOrganizationComponent-DrbGfGEM.js.map} +1 -1
- package/chunk/{MemberIdComponent-Dva2Xx7J.js → MemberIdComponent-CFB8g_hq.js} +5 -5
- package/chunk/{MemberIdComponent-DMGaNM9l.js.map → MemberIdComponent-CFB8g_hq.js.map} +1 -1
- package/chunk/{MemberIdComponent-DMGaNM9l.js → MemberIdComponent-CTSpgRAd.js} +5 -5
- package/chunk/{MemberIdComponent-Dva2Xx7J.js.map → MemberIdComponent-CTSpgRAd.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-DuJZlKLf.js → MembershipOrganizationComponent-DGi-HUka.js} +6 -6
- package/chunk/{MembershipOrganizationComponent-CfLlUdPl.js.map → MembershipOrganizationComponent-DGi-HUka.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-CfLlUdPl.js → MembershipOrganizationComponent-sZW8Wagq.js} +6 -6
- package/chunk/{MembershipOrganizationComponent-DuJZlKLf.js.map → MembershipOrganizationComponent-sZW8Wagq.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +3 -3
- package/chunk/{PersonalInfoStepSubmitButton-D3lzSm2E.js → PersonalInfoStepSubmitButton-5tuzy7zT.js} +20 -20
- package/chunk/{PersonalInfoStepSubmitButton-D3lzSm2E.js.map → PersonalInfoStepSubmitButton-5tuzy7zT.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-Ywai8bYu.js → PersonalInfoStepSubmitButton-Cz_CdAWG.js} +15 -15
- package/chunk/{PersonalInfoStepSubmitButton-Ywai8bYu.js.map → PersonalInfoStepSubmitButton-Cz_CdAWG.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-DgL_kGk3.js → PersonalInfoStepWrapper-4ZK1A1_g.js} +21 -21
- package/chunk/{PersonalInfoStepWrapper-DgL_kGk3.js.map → PersonalInfoStepWrapper-4ZK1A1_g.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-B-1TuvRJ.js → PersonalInfoStepWrapper-ARH3ZED1.js} +6 -6
- package/chunk/{PersonalInfoStepWrapper-B-1TuvRJ.js.map → PersonalInfoStepWrapper-ARH3ZED1.js.map} +1 -1
- package/chunk/{PostalCodeComponent-BGzBByZd.js → PostalCodeComponent-BYqnLcHd.js} +5 -5
- package/chunk/{PostalCodeComponent-C97fgZFI.js.map → PostalCodeComponent-BYqnLcHd.js.map} +1 -1
- package/chunk/{PostalCodeComponent-C97fgZFI.js → PostalCodeComponent-BwpQbUxr.js} +5 -5
- package/chunk/{PostalCodeComponent-BGzBByZd.js.map → PostalCodeComponent-BwpQbUxr.js.map} +1 -1
- package/chunk/{SSN-mk_cMbDH.js → SSN-BDVJgGSQ.js} +6 -6
- package/chunk/{SSN-CNzKgddw.js.map → SSN-BDVJgGSQ.js.map} +1 -1
- package/chunk/{SSN-CNzKgddw.js → SSN-DAInA3wn.js} +6 -6
- package/chunk/{SSN-mk_cMbDH.js.map → SSN-DAInA3wn.js.map} +1 -1
- package/chunk/{StateSelectComponent-D2j7QCvj.js → StateSelectComponent-C12-PmBR.js} +5 -5
- package/chunk/{StateSelectComponent-Cx1_JBfI.js.map → StateSelectComponent-C12-PmBR.js.map} +1 -1
- package/chunk/{StateSelectComponent-Cx1_JBfI.js → StateSelectComponent-Ctqsq9QW.js} +5 -5
- package/chunk/{StateSelectComponent-D2j7QCvj.js.map → StateSelectComponent-Ctqsq9QW.js.map} +1 -1
- package/chunk/{StatusComponent-Cxw9bsOp.js → StatusComponent-BkaYM9ne.js} +6 -6
- package/chunk/{StatusComponent-Cxw9bsOp.js.map → StatusComponent-BkaYM9ne.js.map} +1 -1
- package/chunk/{StatusComponent-_HBklXve.js → StatusComponent-DWf6Z-oB.js} +6 -6
- package/chunk/{StatusComponent-_HBklXve.js.map → StatusComponent-DWf6Z-oB.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-B_rTMccG.js → StepActiveMilitaryPersonalInfoComponent--98sV1fQ.js} +23 -23
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-B_rTMccG.js.map → StepActiveMilitaryPersonalInfoComponent--98sV1fQ.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-Ceamkjd0.js → StepActiveMilitaryPersonalInfoComponent-DhsxUHNz.js} +20 -20
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-Ceamkjd0.js.map → StepActiveMilitaryPersonalInfoComponent-DhsxUHNz.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-X-eQf_2z.js → StepAgePersonalInfo-ApVus-QC.js} +19 -19
- package/chunk/{StepAgePersonalInfo-DmBYGHG8.js.map → StepAgePersonalInfo-ApVus-QC.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-DmBYGHG8.js → StepAgePersonalInfo-D2TBteBL.js} +56 -56
- package/chunk/{StepAgePersonalInfo-X-eQf_2z.js.map → StepAgePersonalInfo-D2TBteBL.js.map} +1 -1
- package/chunk/{StepCard-7t2vkHqM.js → StepCard-Byk_N2eu.js} +4 -4
- package/chunk/{StepCard-7t2vkHqM.js.map → StepCard-Byk_N2eu.js.map} +1 -1
- package/chunk/{StepCard-BtvCt-ND.js → StepCard-CTG7niZl.js} +4 -4
- package/chunk/{StepCard-BtvCt-ND.js.map → StepCard-CTG7niZl.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-bhlSO88L.js → StepCollectIdentifier-BACoD6-6.js} +7 -7
- package/chunk/{StepCollectIdentifier-bhlSO88L.js.map → StepCollectIdentifier-BACoD6-6.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-8QO4sVSo.js → StepCollectIdentifier-BWoApZSB.js} +7 -7
- package/chunk/{StepCollectIdentifier-8QO4sVSo.js.map → StepCollectIdentifier-BWoApZSB.js.map} +1 -1
- package/chunk/{StepCollectMilitaryStatusComponent-CwiPlk5w.js → StepCollectMilitaryStatusComponent-CAmLY6bG.js} +4 -4
- package/chunk/StepCollectMilitaryStatusComponent-Dr2wJ6o4.js +9 -0
- package/chunk/StepCollectPersonalInfo-C4oB2-uA.js +361 -0
- package/chunk/{StepCollectPersonalInfo-R-5UOPTA.js.map → StepCollectPersonalInfo-C4oB2-uA.js.map} +1 -1
- package/chunk/StepCollectPersonalInfo-D6nFnozX.js +357 -0
- package/chunk/{StepCollectPersonalInfo-r2uBVXk_.js.map → StepCollectPersonalInfo-D6nFnozX.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-Cs4zhI-D.js → StepCompleteAuthentication-C0eGb9ij.js} +18 -18
- package/chunk/{StepCompleteAuthentication-C2HoMZzF.js.map → StepCompleteAuthentication-C0eGb9ij.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-C2HoMZzF.js → StepCompleteAuthentication-DZ5iFFUF.js} +6 -6
- package/chunk/{StepCompleteAuthentication-Cs4zhI-D.js.map → StepCompleteAuthentication-DZ5iFFUF.js.map} +1 -1
- package/chunk/{StepConsolation-J6tneCHK.js → StepConsolation-8kRAj5Sz.js} +8 -8
- package/chunk/{StepConsolation-CwLUx5P6.js.map → StepConsolation-8kRAj5Sz.js.map} +1 -1
- package/chunk/{StepConsolation-CwLUx5P6.js → StepConsolation-DD2SGGyo.js} +8 -8
- package/chunk/{StepConsolation-J6tneCHK.js.map → StepConsolation-DD2SGGyo.js.map} +1 -1
- package/chunk/{StepDocUpload-Dl-gzKui.js → StepDocUpload-BHToEeCL.js} +93 -93
- package/chunk/{StepDocUpload-Dl-gzKui.js.map → StepDocUpload-BHToEeCL.js.map} +1 -1
- package/chunk/{StepDocUpload-dc7sQRtA.js → StepDocUpload-CQUiXtli.js} +211 -211
- package/chunk/{StepDocUpload-dc7sQRtA.js.map → StepDocUpload-CQUiXtli.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-DWZtsgBr.js → StepDriverLicensePersonalInfoComponent-Bn6_yUfQ.js} +14 -14
- package/chunk/{StepDriverLicensePersonalInfoComponent-CkHJjXlR.js.map → StepDriverLicensePersonalInfoComponent-Bn6_yUfQ.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-CkHJjXlR.js → StepDriverLicensePersonalInfoComponent-CHEgMokE.js} +14 -14
- package/chunk/{StepDriverLicensePersonalInfoComponent-DWZtsgBr.js.map → StepDriverLicensePersonalInfoComponent-CHEgMokE.js.map} +1 -1
- package/chunk/{StepEmailLoop-BDRiI0kO.js → StepEmailLoop-BVn2f_di.js} +13 -13
- package/chunk/{StepEmailLoop-BDRiI0kO.js.map → StepEmailLoop-BVn2f_di.js.map} +1 -1
- package/chunk/{StepEmailLoop-DWNRCm1O.js → StepEmailLoop-DQDO5FRh.js} +12 -12
- package/chunk/{StepEmailLoop-DWNRCm1O.js.map → StepEmailLoop-DQDO5FRh.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-C0UAANQZ.js → StepEmploymentPersonalInfo-4AHfUrMV.js} +17 -17
- package/chunk/{StepEmploymentPersonalInfo-C0UAANQZ.js.map → StepEmploymentPersonalInfo-4AHfUrMV.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-al1phPDp.js → StepEmploymentPersonalInfo-BQXJZC68.js} +17 -17
- package/chunk/{StepEmploymentPersonalInfo-al1phPDp.js.map → StepEmploymentPersonalInfo-BQXJZC68.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-Byb5gsnf.js → StepFirstResponderPersonalInfo-BnYellOy.js} +25 -25
- package/chunk/{StepFirstResponderPersonalInfo-Byb5gsnf.js.map → StepFirstResponderPersonalInfo-BnYellOy.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-Ci8gAYOs.js → StepFirstResponderPersonalInfo-C6vO86r_.js} +31 -31
- package/chunk/{StepFirstResponderPersonalInfo-Ci8gAYOs.js.map → StepFirstResponderPersonalInfo-C6vO86r_.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Ca9lo4Jp.js → StepGeneralIdentityPersonalInfoComponent-DT9ktn2p.js} +17 -17
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-B2Kv9xw_.js.map → StepGeneralIdentityPersonalInfoComponent-DT9ktn2p.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-B2Kv9xw_.js → StepGeneralIdentityPersonalInfoComponent-DWi-th_C.js} +17 -17
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Ca9lo4Jp.js.map → StepGeneralIdentityPersonalInfoComponent-DWi-th_C.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BZ7Qu4iK.js → StepHybridIdentityPersonalInfoComponent-BwGv3tHn.js} +18 -18
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BZ7Qu4iK.js.map → StepHybridIdentityPersonalInfoComponent-BwGv3tHn.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BjS4F6j2.js → StepHybridIdentityPersonalInfoComponent-wwCb9afT.js} +18 -18
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BjS4F6j2.js.map → StepHybridIdentityPersonalInfoComponent-wwCb9afT.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-DiGRkuBM.js → StepIDCheckLoop-B22CZjOb.js} +7 -7
- package/chunk/{StepIDCheckLoop-DiGRkuBM.js.map → StepIDCheckLoop-B22CZjOb.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-Djow0hoO.js → StepIDCheckLoop-CqafffPd.js} +7 -7
- package/chunk/{StepIDCheckLoop-Djow0hoO.js.map → StepIDCheckLoop-CqafffPd.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-BvMXuWoN.js → StepIDCheckLoopOnfido-BubFyrh9.js} +37 -37
- package/chunk/{StepIDCheckLoopOnfido-CT458GtS.js.map → StepIDCheckLoopOnfido-BubFyrh9.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-CT458GtS.js → StepIDCheckLoopOnfido-QHwxn2Tv.js} +43 -43
- package/chunk/{StepIDCheckLoopOnfido-BvMXuWoN.js.map → StepIDCheckLoopOnfido-QHwxn2Tv.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-DcB8ugg0.js → StepIDCheckLoopRegula-DBucry3o.js} +19 -19
- package/chunk/{StepIDCheckLoopRegula-BvLpBUxe.js.map → StepIDCheckLoopRegula-DBucry3o.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-BvLpBUxe.js → StepIDCheckLoopRegula-piiOyU4g.js} +20 -20
- package/chunk/{StepIDCheckLoopRegula-DcB8ugg0.js.map → StepIDCheckLoopRegula-piiOyU4g.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-k8BFxBXH.js → StepInactiveMilitaryPersonalInfoComponent-CPD1WFY_.js} +27 -27
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-BpiqZDNI.js.map → StepInactiveMilitaryPersonalInfoComponent-CPD1WFY_.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-BpiqZDNI.js → StepInactiveMilitaryPersonalInfoComponent-Dw6xaLWV.js} +30 -30
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-k8BFxBXH.js.map → StepInactiveMilitaryPersonalInfoComponent-Dw6xaLWV.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-DWvD1Z6N.js → StepLicensedProfessionalPersonalInfo-C3Z9WWZc.js} +16 -16
- package/chunk/{StepLicensedProfessionalPersonalInfo-C2gyvg1m.js.map → StepLicensedProfessionalPersonalInfo-C3Z9WWZc.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-C2gyvg1m.js → StepLicensedProfessionalPersonalInfo-DD34r3AQ.js} +16 -16
- package/chunk/{StepLicensedProfessionalPersonalInfo-DWvD1Z6N.js.map → StepLicensedProfessionalPersonalInfo-DD34r3AQ.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-CZlgdCqq.js → StepLowIncomePersonalInfo-t49sIPYt.js} +30 -30
- package/chunk/{StepLowIncomePersonalInfo-CTZREXGu.js.map → StepLowIncomePersonalInfo-t49sIPYt.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-CTZREXGu.js → StepLowIncomePersonalInfo-uMs4T1U6.js} +31 -31
- package/chunk/{StepLowIncomePersonalInfo-CZlgdCqq.js.map → StepLowIncomePersonalInfo-uMs4T1U6.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-DmsfNlPZ.js → StepMedicalProfessionalPersonalInfo-DFspAO2Z.js} +23 -23
- package/chunk/{StepMedicalProfessionalPersonalInfo-DmsfNlPZ.js.map → StepMedicalProfessionalPersonalInfo-DFspAO2Z.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-CP9XPNbL.js → StepMedicalProfessionalPersonalInfo-FBuxl6LW.js} +20 -20
- package/chunk/{StepMedicalProfessionalPersonalInfo-CP9XPNbL.js.map → StepMedicalProfessionalPersonalInfo-FBuxl6LW.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-TjSa0NJV.js → StepMemberPersonalInfo-BPnbyPU4.js} +15 -15
- package/chunk/{StepMemberPersonalInfo-Dpb5-ENF.js.map → StepMemberPersonalInfo-BPnbyPU4.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-Dpb5-ENF.js → StepMemberPersonalInfo-Duikog5u.js} +56 -56
- package/chunk/{StepMemberPersonalInfo-TjSa0NJV.js.map → StepMemberPersonalInfo-Duikog5u.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-6bjpRGAv.js → StepMoverPersonalInfo-C5OxWQd3.js} +47 -47
- package/chunk/{StepMoverPersonalInfo-6bjpRGAv.js.map → StepMoverPersonalInfo-C5OxWQd3.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-vv7-jdz0.js → StepMoverPersonalInfo-Rxgi-6Uo.js} +13 -13
- package/chunk/{StepMoverPersonalInfo-vv7-jdz0.js.map → StepMoverPersonalInfo-Rxgi-6Uo.js.map} +1 -1
- package/chunk/{StepOverrideComponent-BXnbZhfO.js → StepOverrideComponent-CDa3ffZl.js} +14 -14
- package/chunk/{StepOverrideComponent-4f8ZZxxE.js.map → StepOverrideComponent-CDa3ffZl.js.map} +1 -1
- package/chunk/{StepOverrideComponent-4f8ZZxxE.js → StepOverrideComponent-CXOVt03w.js} +15 -15
- package/chunk/{StepOverrideComponent-BXnbZhfO.js.map → StepOverrideComponent-CXOVt03w.js.map} +1 -1
- package/chunk/{StepSMSLoop-DAKxJhXo.js → StepSMSLoop-B8Sfi7lM.js} +15 -15
- package/chunk/{StepSMSLoop-DAKxJhXo.js.map → StepSMSLoop-B8Sfi7lM.js.map} +1 -1
- package/chunk/{StepSMSLoop-DO4S-Aje.js → StepSMSLoop-BRma4Yv7.js} +19 -19
- package/chunk/{StepSMSLoop-DO4S-Aje.js.map → StepSMSLoop-BRma4Yv7.js.map} +1 -1
- package/chunk/StepSSO-BRFhNvkp.js +3 -3
- package/chunk/StepSSO-BaFk7RFJ.js +3 -3
- package/chunk/{StepSocialSecurityNumber-BseFM9rt.js → StepSocialSecurityNumber-BJPa_XQ3.js} +25 -25
- package/chunk/{StepSocialSecurityNumber-BseFM9rt.js.map → StepSocialSecurityNumber-BJPa_XQ3.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-D0_62BYK.js → StepSocialSecurityNumber-xfhVCa0b.js} +11 -11
- package/chunk/{StepSocialSecurityNumber-D0_62BYK.js.map → StepSocialSecurityNumber-xfhVCa0b.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-0LRBqSx5.js → StepStudentPersonalInfo-CKhmp2it.js} +15 -15
- package/chunk/{StepStudentPersonalInfo-0LRBqSx5.js.map → StepStudentPersonalInfo-CKhmp2it.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-CLG5AxSd.js → StepStudentPersonalInfo-HjQOPJBa.js} +58 -58
- package/chunk/{StepStudentPersonalInfo-CLG5AxSd.js.map → StepStudentPersonalInfo-HjQOPJBa.js.map} +1 -1
- package/chunk/{StepSuccess-Be30r2Og.js → StepSuccess-CECU-0Sl.js} +30 -30
- package/chunk/{StepSuccess-8Ek9VvK_.js.map → StepSuccess-CECU-0Sl.js.map} +1 -1
- package/chunk/{StepSuccess-8Ek9VvK_.js → StepSuccess-U4LQ1MYZ.js} +33 -33
- package/chunk/{StepSuccess-Be30r2Og.js.map → StepSuccess-U4LQ1MYZ.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-BYTmkyxy.js → StepTeacherPersonalInfo-Bi_F5GHB.js} +16 -16
- package/chunk/{StepTeacherPersonalInfo-BYTmkyxy.js.map → StepTeacherPersonalInfo-Bi_F5GHB.js.map} +1 -1
- package/chunk/StepTeacherPersonalInfo-CsDLjaqb.js +149 -0
- package/chunk/{StepTeacherPersonalInfo-BfyMicng.js.map → StepTeacherPersonalInfo-CsDLjaqb.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BGHCbduX.js +3 -3
- package/chunk/StepThirdPartyLoop-ZHByQpHa.js +3 -3
- package/chunk/{TeacherSchoolComponent-Qyri5g_X.js → TeacherSchoolComponent-C59ljPjO.js} +7 -7
- package/chunk/{TeacherSchoolComponent-Qyri5g_X.js.map → TeacherSchoolComponent-C59ljPjO.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-IkCV6bH-.js → TeacherSchoolComponent-Ds7hYDf8.js} +7 -7
- package/chunk/{TeacherSchoolComponent-IkCV6bH-.js.map → TeacherSchoolComponent-Ds7hYDf8.js.map} +1 -1
- package/chunk/TestingRouteOverrides-eSRTiZoc.js +77 -0
- package/chunk/{TestingRouteOverrides-BDCygTLC.js.map → TestingRouteOverrides-eSRTiZoc.js.map} +1 -1
- package/chunk/TestingRouteOverrides-olL49Zx5.js +81 -0
- package/chunk/{TestingRouteOverrides-B-zcTBa_.js.map → TestingRouteOverrides-olL49Zx5.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +3 -3
- package/chunk/{VerificationApiClient-Br6D_KwQ.js → VerificationApiClient-Dw1w8mF1.js} +198 -198
- package/chunk/{VerificationApiClient-Br6D_KwQ.js.map → VerificationApiClient-Dw1w8mF1.js.map} +1 -1
- package/chunk/{VerificationApiClient-D6OYdL72.js → VerificationApiClient-qzcaFPIZ.js} +149 -149
- package/chunk/{VerificationApiClient-D6OYdL72.js.map → VerificationApiClient-qzcaFPIZ.js.map} +1 -1
- package/chunk/{VerificationApiUtils-D5oFJWD5.js → VerificationApiUtils-BuPDlUJJ.js} +6 -6
- package/chunk/{VerificationApiUtils-D5oFJWD5.js.map → VerificationApiUtils-BuPDlUJJ.js.map} +1 -1
- package/chunk/{VerificationApiUtils-rnfNWA2k.js → VerificationApiUtils-CgS02nkR.js} +6 -6
- package/chunk/{VerificationApiUtils-rnfNWA2k.js.map → VerificationApiUtils-CgS02nkR.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-BTcv-xa-.js} +4 -4
- package/chunk/{countryUtils-D2UBy7Uo.js.map → countryUtils-BTcv-xa-.js.map} +1 -1
- package/chunk/{countryUtils-QSjR1rBI.js → countryUtils-Dw8fXGgB.js} +4 -4
- package/chunk/{countryUtils-QSjR1rBI.js.map → countryUtils-Dw8fXGgB.js.map} +1 -1
- 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-DWGiKAV_.js → downshift.esm-BIKsMPP5.js} +6 -6
- package/chunk/{downshift.esm-oTd5iRZU.js.map → downshift.esm-BIKsMPP5.js.map} +1 -1
- package/chunk/{downshift.esm-oTd5iRZU.js → downshift.esm-BtBgxJmR.js} +6 -6
- package/chunk/{downshift.esm-DWGiKAV_.js.map → downshift.esm-BtBgxJmR.js.map} +1 -1
- package/chunk/el-CFa6y9Ri.js +3 -3
- package/chunk/{empties-BIoZK05_.js → empties-BL76XMwN.js} +46 -46
- package/chunk/{empties-BIoZK05_.js.map → empties-BL76XMwN.js.map} +1 -1
- package/chunk/{empties-DHvaWflk.js → empties-BfAKqhLo.js} +4 -4
- package/chunk/{empties-DHvaWflk.js.map → empties-BfAKqhLo.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-C8E3kZCc.js} +429 -421
- package/chunk/intl-C8E3kZCc.js.map +1 -0
- 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 → jsx-runtime-Cqcg28yY.js} +8 -4
- package/chunk/{jsx-runtime-BknAqbDq.js.map → jsx-runtime-Cqcg28yY.js.map} +1 -1
- package/chunk/{jsx-runtime-D_-z-h6n.js → jsx-runtime-v0uEISUn.js} +4 -8
- package/chunk/{jsx-runtime-D_-z-h6n.js.map → jsx-runtime-v0uEISUn.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 → militaryStepHelpers-D9B8OAip.js} +4 -4
- package/chunk/{militaryStepHelpers-UF-7lF1f.js.map → militaryStepHelpers-D9B8OAip.js.map} +1 -1
- package/chunk/{militaryStepHelpers-DSh6iat_.js → militaryStepHelpers-DZi-bs5z.js} +4 -4
- package/chunk/{militaryStepHelpers-DSh6iat_.js.map → militaryStepHelpers-DZi-bs5z.js.map} +1 -1
- package/chunk/{mocks-CKXq8CZk.js → mocks-CQJujYjv.js} +7 -7
- package/chunk/{mocks-1r84in2Q.js.map → mocks-CQJujYjv.js.map} +1 -1
- package/chunk/{mocks-1r84in2Q.js → mocks-DpCSGKUm.js} +7 -7
- package/chunk/{mocks-CKXq8CZk.js.map → mocks-DpCSGKUm.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 → options-BlmP6RQn.js} +351 -343
- package/chunk/{options-D19mRw5a.js.map → options-BlmP6RQn.js.map} +1 -1
- package/chunk/pl-B_G8s05-.js +3 -3
- package/chunk/programThemeGetters-1A422VwF.js +165 -0
- package/chunk/{programThemeGetters-Lz3L0Vh7.js.map → programThemeGetters-1A422VwF.js.map} +1 -1
- package/chunk/{programThemeGetters-iBty-gXI.js → programThemeGetters-Cwj-2rp9.js} +36 -36
- package/chunk/{programThemeGetters-iBty-gXI.js.map → programThemeGetters-Cwj-2rp9.js.map} +1 -1
- package/chunk/pt-BR-DWj043qk.js +3 -3
- package/chunk/pt-DckA3Jnn.js +3 -3
- package/chunk/{refs-Bbe0gnJ3.js → refs-DRZANumu.js} +4 -4
- package/chunk/{refs-Bbe0gnJ3.js.map → refs-DRZANumu.js.map} +1 -1
- package/chunk/{refs-C_tB1qMA.js → refs-DhfzTkb0.js} +4 -4
- package/chunk/{refs-C_tB1qMA.js.map → refs-DhfzTkb0.js.map} +1 -1
- package/chunk/ro-DukNcWCM.js +3 -3
- package/chunk/ru-RkdRQ7qb.js +3 -3
- package/chunk/sk-CPBgBtC5.js +3 -3
- package/chunk/sl-Cyj9PWmN.js +3 -3
- package/chunk/sr-Bm1GVW8m.js +3 -3
- package/chunk/strings-DWLVdUcm.js +3 -3
- package/chunk/sv-CcMmeZrG.js +3 -3
- package/chunk/sw-BPvl1ou6.js +3 -3
- package/chunk/ta-BPEH7IlE.js +3 -3
- package/chunk/th-Dd912RL5.js +3 -3
- package/chunk/tl-J_TdpjQz.js +3 -3
- package/chunk/tr-B-GrrJj0.js +3 -3
- package/chunk/uk-MohyvT_n.js +3 -3
- package/chunk/ur-CDYGpWMm.js +3 -3
- package/chunk/{useCollectFieldsEndpoint-BSbEIf3Q.js → useCollectFieldsEndpoint-B4u8S9oy.js} +11 -11
- package/chunk/{useCollectFieldsEndpoint-BSbEIf3Q.js.map → useCollectFieldsEndpoint-B4u8S9oy.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-BuXZrZTD.js → useCollectFieldsEndpoint-Cs3WWTUu.js} +10 -10
- package/chunk/{useCollectFieldsEndpoint-BuXZrZTD.js.map → useCollectFieldsEndpoint-Cs3WWTUu.js.map} +1 -1
- package/chunk/{useMetrics-BdMoL7SD.js → useMetrics-C7IgrrFm.js} +18 -18
- package/chunk/{useMetrics-BdMoL7SD.js.map → useMetrics-C7IgrrFm.js.map} +1 -1
- package/chunk/{useMetrics-D_8asKZL.js → useMetrics-fJHxK9XL.js} +17 -17
- package/chunk/{useMetrics-D_8asKZL.js.map → useMetrics-fJHxK9XL.js.map} +1 -1
- package/chunk/{validators-DTjHYDSK.js → validators-CaMDTJo6.js} +71 -75
- package/chunk/{validators-Do9xo2t_.js.map → validators-CaMDTJo6.js.map} +1 -1
- package/chunk/{validators-Do9xo2t_.js → validators-W5FGeAnu.js} +79 -75
- package/chunk/{validators-DTjHYDSK.js.map → validators-W5FGeAnu.js.map} +1 -1
- 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 +1 -1
- package/sheerid-install.css +3 -3
- package/sheerid-install.js +3 -3
- package/sheerid.css +3 -3
- package/sheerid.js +269 -269
- package/chunk/ApiUrls-BpvEY_I3.js +0 -38
- package/chunk/CountryComponentWrapper-zWLRBrRp.js +0 -78
- package/chunk/FormFooterComponent-D9_fIqUs.js.map +0 -1
- package/chunk/StepCollectMilitaryStatusComponent-f2ZW0KJY.js +0 -9
- package/chunk/StepCollectPersonalInfo-R-5UOPTA.js +0 -361
- package/chunk/StepCollectPersonalInfo-r2uBVXk_.js +0 -357
- package/chunk/StepTeacherPersonalInfo-BfyMicng.js +0 -149
- package/chunk/TestingRouteOverrides-B-zcTBa_.js +0 -77
- package/chunk/TestingRouteOverrides-BDCygTLC.js +0 -81
- package/chunk/intl-Yr2cw5px.js.map +0 -1
- package/chunk/programThemeGetters-Lz3L0Vh7.js +0 -165
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepMedicalProfessionalPersonalInfo-DmsfNlPZ.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,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9C,gBAAe;IAChB,CAAA;IAEH,OACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAI,EAAuB,EAAU,OAAO,EAAE;KAC9C,gBAAe;IAChB,CAAA;GAEJ,CAAA;GAEF,EAAQ,iBAAiB,KAAK,MAC7B,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAmC,YAAY;MAC7C,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB,CAIA"}
|
|
1
|
+
{"version":3,"file":"StepMedicalProfessionalPersonalInfo-DFspAO2Z.js","names":[],"sources":["../../src/components/StepMedicalProfessionalPersonalInfo/StepMedicalProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\n\nimport {\n VerificationStepsEnum,\n MedicalProfessionalStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type FormSelectChoice,\n type Organization,\n type MedicalProfessionalPersonalInfoViewModel,\n type MedicalProfessionalPersonalInfoResponse,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n produceDraftViewModel,\n getStatusLabel,\n getAvailableMedicalStatuses,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { StatusComponent as MedicalStatus } from \"../FormFields/Status/StatusComponent\";\nimport { MedicalProfessionalOrganizationComponent as MedicalProfessionalOrganization } from \"../FormFields/MedicalProfessionalOrganization/MedicalProfessionalOrganizationComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { MemberIdComponent as MemberId } from \"../FormFields/MemberId/MemberIdComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepMedicalProfessionalPersonalInfoComponentProps {\n verificationService: VerificationService;\n intl: any;\n}\n\ntype MemberIdFieldType =\n | \"registrationNumber\"\n | \"numeroColegiado\"\n | \"autorisationsId\"\n | \"globalLocationNumber\"\n | \"gbrNummer\";\n\nconst memberIdMessageKeysByCountry: Record<string, MemberIdFieldType> = {\n AT: \"gbrNummer\",\n ES: \"numeroColegiado\",\n DK: \"autorisationsId\",\n CH: \"globalLocationNumber\",\n IE: \"registrationNumber\",\n GB: \"registrationNumber\",\n};\n\nconst getMemberIdMessageKeys = (country: string) => {\n const memberIdFieldType: MemberIdFieldType =\n memberIdMessageKeysByCountry[country] || \"registrationNumber\";\n return {\n labelKey: `step.collectMedicalPersonalInfo.${memberIdFieldType}Label`,\n explanationKey: `step.collectMedicalPersonalInfo.${memberIdFieldType}Explanation`,\n };\n};\n\nexport const StepMedicalProfessionalPersonalInfo = ({\n intl,\n verificationService,\n}: StepMedicalProfessionalPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MedicalProfessionalPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MedicalProfessionalPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n\n const locale = viewModel.localeChoice.value;\n\n const updateMedicalProfessionalViewModel = (\n key: keyof MedicalProfessionalPersonalInfoViewModel,\n value: any,\n ) => {\n const nextState = produceDraftViewModel(viewModel, key, value);\n verificationService.updateViewModel(nextState);\n };\n\n const { isFieldOptional } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n });\n const shouldRenderMemberId = isFieldOptional(\"memberId\");\n\n React.useEffect(() => {\n // If the memberId field is not rendered, we shouldn't validate it\n // partially update to avoid clobbering the rest of the viewModel\n const existing = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"memberId\",\n );\n if (shouldRenderMemberId) {\n verificationService.updateViewModel({ fieldsToSkipValidation: existing }, { partial: true });\n } else {\n verificationService.updateViewModel(\n { fieldsToSkipValidation: [...existing, \"memberId\"] },\n { partial: true },\n );\n }\n }, [shouldRenderMemberId]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"medical-personal-info\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n <MedicalStatus\n segmentId=\"medical\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(\n intl,\n viewModel.status,\n MedicalProfessionalStatusDefaultMessagesEnum,\n ),\n }}\n isErrored={!!fieldValidationErrors.status}\n options={getAvailableMedicalStatuses(intl, verificationResponse.availableStatuses)}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateMedicalProfessionalViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n <MedicalProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={\n (verificationService.viewModel as MedicalProfessionalPersonalInfoViewModel).organization\n }\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n />\n <PostalCode\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n explanation={\n <FormattedHTMLMessage\n id=\"postalCodeExplanation\"\n defaultMessage=\"Use the location on file with your licensing body\"\n />\n }\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Needed to send you your unique code\"\n />\n }\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n {shouldRenderMemberId && (\n <MemberId\n value={viewModel.memberId}\n isErrored={!!fieldValidationErrors.memberId}\n isRequired={getFieldConfigByFieldId(\"memberId\")?.requireIfOptional}\n disabled={getFieldConfigByFieldId(\"memberId\")?.disabled}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"memberId\", newValue);\n updateFieldValidationErrorsByFieldId(\"memberId\", newValue, verificationService);\n }}\n explanation={\n <FormattedHTMLMessage\n id={getMemberIdMessageKeys(viewModel.country).explanationKey}\n defaultMessage=\"Your Professional Membership Registration Number\"\n />\n }\n label={\n <FormattedHTMLMessage\n id={getMemberIdMessageKeys(viewModel.country).labelKey}\n defaultMessage=\"Registration Number\"\n />\n }\n />\n )}\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectMedicalProfessionalPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Medical Professional Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepMedicalProfessionalPersonalInfoComponent = injectIntl(\n StepMedicalProfessionalPersonalInfo,\n);\n"],"mappings":";;;;;;;;;;;;;;;;;4CA8DM,IAAkE;CACtE,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;AACN,GAEM,KAA0B,MAAoB;CAClD,IAAM,IACJ,EAA6B,MAAY;CAC3C,OAAO;EACL,UAAU,mCAAmC,EAAkB;EAC/D,gBAAgB,mCAAmC,EAAkB;CACvE;AACF,GA0Oa,IAA+C,GAxOR,EAClD,SACA,6BACuD;CACvD,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAU,EAAW,GAErB,IAAS,EAAU,aAAa,OAEhC,KACJ,GACA,MACG;EACH,IAAM,IAAY,EAAsB,GAAW,GAAK,CAAK;EAC7D,EAAoB,gBAAgB,CAAS;CAC/C,GAEM,EAAE,uBAAoB,EAAyB;EACnD,gBAAgB,EAAqB;EACrC,aAAa,EAAqB;EAClC;CACF,CAAC,GACK,IAAuB,EAAgB,UAAU;CAkBvD,OAhBA,EAAM,gBAAgB;EAGpB,IAAM,KAAY,EAAoB,WAAW,0BAA0B,CAAC,GAAG,QAC5E,MAAO,MAAO,UACjB;EACA,AAAI,IACF,EAAoB,gBAAgB,EAAE,wBAAwB,EAAS,GAAG,EAAE,SAAS,GAAK,CAAC,IAE3F,EAAoB,gBAClB,EAAE,wBAAwB,CAAC,GAAG,GAAU,UAAU,EAAE,GACpD,EAAE,SAAS,GAAK,CAClB;CAEJ,GAAG,CAAC,CAAoB,CAAC,GAGvB,iBAAA,GAAA,EAAA,MAAC,GAAD;EACuB;EACrB,MAAM,EAAqB;YAF7B;GAIE,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,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AO,EAAU;IACjB,WAAW,CAAC,CAAC,EAAsB;IACnC,YAAY,EAAwB,UAAU,GAAG;IACjD,UAAU,EAAwB,UAAU,GAAG;IAC/C,WAAW,MAAa;KAEtB,AADA,EAAmC,YAAY,CAAQ,GACvD,EAAqC,YAAY,GAAU,CAAmB;IAChF;IACA,aACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAI,EAAuB,EAAU,OAAO,EAAE;KAC9C,gBAAe;IAChB,CAAA;IAEH,OACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAI,EAAuB,EAAU,OAAO,EAAE;KAC9C,gBAAe;IAChB,CAAA;GAEJ,CAAA;GAEF,EAAQ,iBAAiB,KAAK,MAC7B,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAmC,YAAY;MAC7C,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB,CAIA"}
|
|
@@ -4,27 +4,27 @@
|
|
|
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.259.0-alpha.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE: Thu Jul 23 2026
|
|
7
|
+
* VERSION: 2.259.0-alpha.4
|
|
8
|
+
* BUILD_TIMESTAMP: 1784847411169
|
|
9
|
+
* BUILD_DATE: Thu Jul 23 2026 22:56:51 GMT+0000 (Coordinated Universal Time)
|
|
10
10
|
* BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { a as i, c as a, n as o, t as s } from "./jsx-runtime-
|
|
14
|
-
import { D as c } from "./FormFooterComponent-
|
|
12
|
+
import { Nt as e, Wt as t, s as n, xt as r } from "./intl-C8E3kZCc.js";
|
|
13
|
+
import { a as i, c as a, n as o, t as s } from "./jsx-runtime-Cqcg28yY.js";
|
|
14
|
+
import { D as c } from "./FormFooterComponent-B5sO7lYC.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-Cs3WWTUu.js";
|
|
17
|
+
import { a as v, i as y, n as b, o as x, s as S, t as C } from "./CaptchaComponent-ZNBrwLAd.js";
|
|
18
|
+
import { n as w, t as T } from "./PersonalInfoStepSubmitButton-5tuzy7zT.js";
|
|
19
|
+
import { t as E } from "./BirthDateComponent-D9LlGf-7.js";
|
|
20
|
+
import { t as D } from "./PostalCodeComponent-BYqnLcHd.js";
|
|
21
|
+
import { t as O } from "./CountryComponentWrapper-BSSdDVcs.js";
|
|
22
|
+
import { t as k } from "./ExtraMessage-D_tMUnf9.js";
|
|
23
|
+
import { t as A } from "./ChangeLocaleComponent-MCyF8czV.js";
|
|
24
|
+
import { t as j } from "./PersonalInfoStepWrapper-4ZK1A1_g.js";
|
|
25
|
+
import { t as M } from "./StatusComponent-BkaYM9ne.js";
|
|
26
|
+
import { t as N } from "./MedicalProfessionalOrganizationComponent-CQYCEMrI.js";
|
|
27
|
+
import { t as P } from "./MemberIdComponent-CTSpgRAd.js";
|
|
28
28
|
//#region src/components/StepMedicalProfessionalPersonalInfo/StepMedicalProfessionalPersonalInfoComponent.tsx
|
|
29
29
|
var F = /* @__PURE__ */ t(a(), 1), I = s(), L = {
|
|
30
30
|
AT: "gbrNummer",
|
|
@@ -40,7 +40,7 @@ var F = /* @__PURE__ */ t(a(), 1), I = s(), L = {
|
|
|
40
40
|
explanationKey: `step.collectMedicalPersonalInfo.${t}Explanation`
|
|
41
41
|
};
|
|
42
42
|
}, z = i(({ intl: t, verificationService: i }) => {
|
|
43
|
-
let a = i.viewModel, { fieldValidationErrors: s } = i, L = i.verificationResponse, z = c(L), B =
|
|
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,7 +68,7 @@ var F = /* @__PURE__ */ t(a(), 1), I = s(), L = {
|
|
|
68
68
|
segmentId: "medical",
|
|
69
69
|
value: {
|
|
70
70
|
value: a.status,
|
|
71
|
-
label: m(t, a.status,
|
|
71
|
+
label: m(t, a.status, r)
|
|
72
72
|
},
|
|
73
73
|
isErrored: !!s.status,
|
|
74
74
|
options: p(t, L.availableStatuses),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepMedicalProfessionalPersonalInfo-CP9XPNbL.js","names":[],"sources":["../../src/components/StepMedicalProfessionalPersonalInfo/StepMedicalProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\n\nimport {\n VerificationStepsEnum,\n MedicalProfessionalStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type FormSelectChoice,\n type Organization,\n type MedicalProfessionalPersonalInfoViewModel,\n type MedicalProfessionalPersonalInfoResponse,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n produceDraftViewModel,\n getStatusLabel,\n getAvailableMedicalStatuses,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { StatusComponent as MedicalStatus } from \"../FormFields/Status/StatusComponent\";\nimport { MedicalProfessionalOrganizationComponent as MedicalProfessionalOrganization } from \"../FormFields/MedicalProfessionalOrganization/MedicalProfessionalOrganizationComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { MemberIdComponent as MemberId } from \"../FormFields/MemberId/MemberIdComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepMedicalProfessionalPersonalInfoComponentProps {\n verificationService: VerificationService;\n intl: any;\n}\n\ntype MemberIdFieldType =\n | \"registrationNumber\"\n | \"numeroColegiado\"\n | \"autorisationsId\"\n | \"globalLocationNumber\"\n | \"gbrNummer\";\n\nconst memberIdMessageKeysByCountry: Record<string, MemberIdFieldType> = {\n AT: \"gbrNummer\",\n ES: \"numeroColegiado\",\n DK: \"autorisationsId\",\n CH: \"globalLocationNumber\",\n IE: \"registrationNumber\",\n GB: \"registrationNumber\",\n};\n\nconst getMemberIdMessageKeys = (country: string) => {\n const memberIdFieldType: MemberIdFieldType =\n memberIdMessageKeysByCountry[country] || \"registrationNumber\";\n return {\n labelKey: `step.collectMedicalPersonalInfo.${memberIdFieldType}Label`,\n explanationKey: `step.collectMedicalPersonalInfo.${memberIdFieldType}Explanation`,\n };\n};\n\nexport const StepMedicalProfessionalPersonalInfo = ({\n intl,\n verificationService,\n}: StepMedicalProfessionalPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MedicalProfessionalPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MedicalProfessionalPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n\n const locale = viewModel.localeChoice.value;\n\n const updateMedicalProfessionalViewModel = (\n key: keyof MedicalProfessionalPersonalInfoViewModel,\n value: any,\n ) => {\n const nextState = produceDraftViewModel(viewModel, key, value);\n verificationService.updateViewModel(nextState);\n };\n\n const { isFieldOptional } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n });\n const shouldRenderMemberId = isFieldOptional(\"memberId\");\n\n React.useEffect(() => {\n // If the memberId field is not rendered, we shouldn't validate it\n // partially update to avoid clobbering the rest of the viewModel\n const existing = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"memberId\",\n );\n if (shouldRenderMemberId) {\n verificationService.updateViewModel({ fieldsToSkipValidation: existing }, { partial: true });\n } else {\n verificationService.updateViewModel(\n { fieldsToSkipValidation: [...existing, \"memberId\"] },\n { partial: true },\n );\n }\n }, [shouldRenderMemberId]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"medical-personal-info\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n <MedicalStatus\n segmentId=\"medical\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(\n intl,\n viewModel.status,\n MedicalProfessionalStatusDefaultMessagesEnum,\n ),\n }}\n isErrored={!!fieldValidationErrors.status}\n options={getAvailableMedicalStatuses(intl, verificationResponse.availableStatuses)}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateMedicalProfessionalViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n <MedicalProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={\n (verificationService.viewModel as MedicalProfessionalPersonalInfoViewModel).organization\n }\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n />\n <PostalCode\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n explanation={\n <FormattedHTMLMessage\n id=\"postalCodeExplanation\"\n defaultMessage=\"Use the location on file with your licensing body\"\n />\n }\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Needed to send you your unique code\"\n />\n }\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n {shouldRenderMemberId && (\n <MemberId\n value={viewModel.memberId}\n isErrored={!!fieldValidationErrors.memberId}\n isRequired={getFieldConfigByFieldId(\"memberId\")?.requireIfOptional}\n disabled={getFieldConfigByFieldId(\"memberId\")?.disabled}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"memberId\", newValue);\n updateFieldValidationErrorsByFieldId(\"memberId\", newValue, verificationService);\n }}\n explanation={\n <FormattedHTMLMessage\n id={getMemberIdMessageKeys(viewModel.country).explanationKey}\n defaultMessage=\"Your Professional Membership Registration Number\"\n />\n }\n label={\n <FormattedHTMLMessage\n id={getMemberIdMessageKeys(viewModel.country).labelKey}\n defaultMessage=\"Registration Number\"\n />\n }\n />\n )}\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectMedicalProfessionalPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Medical Professional Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepMedicalProfessionalPersonalInfoComponent = injectIntl(\n StepMedicalProfessionalPersonalInfo,\n);\n"],"mappings":";;;;;;;;;;;;;;;;;4CA8DM,IAAkE;CACtE,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;AACN,GAEM,KAA0B,MAAoB;CAClD,IAAM,IACJ,EAA6B,MAAY;CAC3C,OAAO;EACL,UAAU,mCAAmC,EAAkB;EAC/D,gBAAgB,mCAAmC,EAAkB;CACvE;AACF,GA0Oa,IAA+C,GAxOR,EAClD,SACA,6BACuD;CACvD,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAU,EAAW,GAErB,IAAS,EAAU,aAAa,OAEhC,KACJ,GACA,MACG;EACH,IAAM,IAAY,EAAsB,GAAW,GAAK,CAAK;EAC7D,EAAoB,gBAAgB,CAAS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;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-FBuxl6LW.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;AAC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A;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"}
|
|
@@ -4,24 +4,24 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.259.0-alpha.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE: Thu Jul 23 2026
|
|
7
|
+
* VERSION: 2.259.0-alpha.4
|
|
8
|
+
* BUILD_TIMESTAMP: 1784847411169
|
|
9
|
+
* BUILD_DATE: Thu Jul 23 2026 22:56:51 GMT+0000 (Coordinated Universal Time)
|
|
10
10
|
* BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { c as i, n as a, t as o } from "./jsx-runtime-
|
|
14
|
-
import { D as s } from "./FormFooterComponent-
|
|
12
|
+
import { Nt as e, Wt as t, p as n, s as r } from "./intl-C8E3kZCc.js";
|
|
13
|
+
import { c as i, n as a, t as o } from "./jsx-runtime-Cqcg28yY.js";
|
|
14
|
+
import { D as s } from "./FormFooterComponent-B5sO7lYC.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-ZNBrwLAd.js";
|
|
17
|
+
import { n as y, t as b } from "./PersonalInfoStepSubmitButton-5tuzy7zT.js";
|
|
18
|
+
import { t as x } from "./BirthDateComponent-D9LlGf-7.js";
|
|
19
|
+
import { t as S } from "./CountryComponentWrapper-BSSdDVcs.js";
|
|
20
|
+
import { t as C } from "./ExtraMessage-D_tMUnf9.js";
|
|
21
|
+
import { t as w } from "./ChangeLocaleComponent-MCyF8czV.js";
|
|
22
|
+
import { t as T } from "./PersonalInfoStepWrapper-4ZK1A1_g.js";
|
|
23
|
+
import { t as E } from "./MemberIdComponent-CTSpgRAd.js";
|
|
24
|
+
import { t as D } from "./MembershipOrganizationComponent-sZW8Wagq.js";
|
|
25
25
|
//#region src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.tsx
|
|
26
26
|
var O = /* @__PURE__ */ t(i(), 1), k = o(), A = ({ verificationService: t }) => {
|
|
27
27
|
let i = t.viewModel, { fieldValidationErrors: o } = t, A = t.verificationResponse, j = s(A), M = r(), N = l("memberId")?.requireIfOptional, P = i.localeChoice.value, F = (e, r) => {
|
package/chunk/{StepMemberPersonalInfo-Dpb5-ENF.js.map → StepMemberPersonalInfo-BPnbyPU4.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepMemberPersonalInfo-Dpb5-ENF.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 </Personal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WAAW,MAAa;KAEtB,AADA,EAAsB,YAAY,CAAQ,GAC1C,EAAqC,YAAY,GAAU,CAAmB;IAChF;GACD,CAAA;GAEA,EAAoB,aAAa,2BAClC,EAAoB,aAAa,iBAC/B,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,YAAY,CAAC,CAAC,EAAoB,aAAa;IAC/C,OAAO,EAAU;IACjB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAEtB,AADA,EAAsB,eAAe,CAAQ,GAC7C,EAAqC,eAAe,GAAU,CAAmB;IACnF;IACA,qBAAqB,EAAU,iBAAiB,EAAU,cAAc;IACxE,UAAU,EAAwB,aAAa,GAAG;GACnD,CAAA,IACC;GAEH,EAAQ,iBAAiB,KAAK,MAC7B,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAsB,YAAY;MAChC,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
|
|
1
|
+
{"version":3,"file":"StepMemberPersonalInfo-BPnbyPU4.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,KAAy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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,54 +1,54 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.259.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Thu Jul 23 2026
|
|
3
|
+
* VERSION: 2.259.0-alpha.4
|
|
4
|
+
* BUILD_TIMESTAMP: 1784847407354
|
|
5
|
+
* BUILD_DATE: Thu Jul 23 2026 22:56:47 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
9
|
-
import { c as i, n as a, t as o } from "./jsx-runtime-
|
|
10
|
-
import { C as s } from "./FormFooterComponent-
|
|
8
|
+
import { Gt as e, It as t, c as n, n as r } from "./options-BlmP6RQn.js";
|
|
9
|
+
import { c as i, n as a, t as o } from "./jsx-runtime-v0uEISUn.js";
|
|
10
|
+
import { C as s } from "./FormFooterComponent-DsvjZf4o.js";
|
|
11
11
|
import { K as c, V as l, et as u, r as d, tt as f } from "../sheerid.js";
|
|
12
|
-
import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-
|
|
13
|
-
import { n as y, t as b } from "./PersonalInfoStepSubmitButton-
|
|
14
|
-
import { t as x } from "./BirthDateComponent-
|
|
15
|
-
import { t as S } from "./CountryComponentWrapper-
|
|
16
|
-
import { t as C } from "./ExtraMessage-
|
|
17
|
-
import { t as w } from "./ChangeLocaleComponent-
|
|
18
|
-
import { t as T } from "./PersonalInfoStepWrapper-
|
|
19
|
-
import { t as E } from "./MemberIdComponent-
|
|
20
|
-
import { t as D } from "./MembershipOrganizationComponent-
|
|
12
|
+
import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-BLKVnsDS.js";
|
|
13
|
+
import { n as y, t as b } from "./PersonalInfoStepSubmitButton-Cz_CdAWG.js";
|
|
14
|
+
import { t as x } from "./BirthDateComponent-CWp6qCwi.js";
|
|
15
|
+
import { t as S } from "./CountryComponentWrapper-BWQRtr9a.js";
|
|
16
|
+
import { t as C } from "./ExtraMessage-BicSxrM8.js";
|
|
17
|
+
import { t as w } from "./ChangeLocaleComponent-CkmHNHiE.js";
|
|
18
|
+
import { t as T } from "./PersonalInfoStepWrapper-ARH3ZED1.js";
|
|
19
|
+
import { t as E } from "./MemberIdComponent-CFB8g_hq.js";
|
|
20
|
+
import { t as D } from "./MembershipOrganizationComponent-DGi-HUka.js";
|
|
21
21
|
//#region src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.tsx
|
|
22
|
-
var O = /* @__PURE__ */
|
|
23
|
-
let i =
|
|
24
|
-
let a = n(i, (
|
|
25
|
-
t
|
|
22
|
+
var O = /* @__PURE__ */ e(i(), 1), k = o(), A = ({ verificationService: e }) => {
|
|
23
|
+
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) => {
|
|
24
|
+
let a = n(i, (e) => {
|
|
25
|
+
e[t] = r;
|
|
26
26
|
});
|
|
27
|
-
|
|
27
|
+
e.updateViewModel(a);
|
|
28
28
|
};
|
|
29
29
|
return O.useEffect(() => {
|
|
30
|
-
let
|
|
31
|
-
N ?
|
|
30
|
+
let t = (e.viewModel?.fieldsToSkipValidation || []).filter((e) => e !== "memberId");
|
|
31
|
+
N ? e.updateViewModel({ fieldsToSkipValidation: t }, { partial: !0 }) : e.updateViewModel({ fieldsToSkipValidation: [...t, "memberId"] }, { partial: !0 });
|
|
32
32
|
}, [N]), /* @__PURE__ */ (0, k.jsxs)(T, {
|
|
33
|
-
verificationService:
|
|
33
|
+
verificationService: e,
|
|
34
34
|
step: A.currentStep,
|
|
35
35
|
children: [
|
|
36
36
|
/* @__PURE__ */ (0, k.jsx)(d, {
|
|
37
|
-
verificationService:
|
|
37
|
+
verificationService: e,
|
|
38
38
|
classNameIdentifier: "member-personal-info"
|
|
39
39
|
}),
|
|
40
|
-
/* @__PURE__ */ (0, k.jsx)(w, { verificationService:
|
|
40
|
+
/* @__PURE__ */ (0, k.jsx)(w, { verificationService: e }),
|
|
41
41
|
/* @__PURE__ */ (0, k.jsx)(S, {
|
|
42
|
-
verificationService:
|
|
42
|
+
verificationService: e,
|
|
43
43
|
disabled: l("country")?.disabled
|
|
44
44
|
}),
|
|
45
45
|
/* @__PURE__ */ (0, k.jsx)(D, {
|
|
46
|
-
value:
|
|
47
|
-
verificationService:
|
|
46
|
+
value: e.viewModel.organization,
|
|
47
|
+
verificationService: e,
|
|
48
48
|
isErrored: !!o.organization,
|
|
49
49
|
disabled: l("organization")?.disabled,
|
|
50
|
-
onChange: (
|
|
51
|
-
f(
|
|
50
|
+
onChange: (t) => {
|
|
51
|
+
f(t, e), u("organization", t, e);
|
|
52
52
|
}
|
|
53
53
|
}),
|
|
54
54
|
/* @__PURE__ */ (0, k.jsxs)("div", {
|
|
@@ -57,15 +57,15 @@ var O = /* @__PURE__ */ t(i(), 1), k = o(), A = ({ verificationService: t }) =>
|
|
|
57
57
|
value: i.firstName,
|
|
58
58
|
isErrored: !!o.firstName,
|
|
59
59
|
disabled: l("firstName")?.disabled,
|
|
60
|
-
onChange: (
|
|
61
|
-
F("firstName",
|
|
60
|
+
onChange: (t) => {
|
|
61
|
+
F("firstName", t), u("firstName", t, e);
|
|
62
62
|
}
|
|
63
63
|
}), /* @__PURE__ */ (0, k.jsx)(m, {
|
|
64
64
|
value: i.lastName,
|
|
65
65
|
isErrored: !!o.lastName,
|
|
66
66
|
disabled: l("lastName")?.disabled,
|
|
67
|
-
onChange: (
|
|
68
|
-
F("lastName",
|
|
67
|
+
onChange: (t) => {
|
|
68
|
+
F("lastName", t), u("lastName", t, e);
|
|
69
69
|
}
|
|
70
70
|
})]
|
|
71
71
|
}),
|
|
@@ -76,8 +76,8 @@ var O = /* @__PURE__ */ t(i(), 1), k = o(), A = ({ verificationService: t }) =>
|
|
|
76
76
|
id: "emailExplanation",
|
|
77
77
|
defaultMessage: " "
|
|
78
78
|
}),
|
|
79
|
-
onChange: (
|
|
80
|
-
F("email",
|
|
79
|
+
onChange: (t) => {
|
|
80
|
+
F("email", t), u("email", t, e);
|
|
81
81
|
},
|
|
82
82
|
onKeyDown: (e) => c(e),
|
|
83
83
|
disabled: l("email")?.disabled
|
|
@@ -86,8 +86,8 @@ var O = /* @__PURE__ */ t(i(), 1), k = o(), A = ({ verificationService: t }) =>
|
|
|
86
86
|
errorId: o.birthDate,
|
|
87
87
|
locale: P,
|
|
88
88
|
isRequired: l("birthDate")?.requireIfOptional,
|
|
89
|
-
onChange: (
|
|
90
|
-
F("birthDate",
|
|
89
|
+
onChange: (t) => {
|
|
90
|
+
F("birthDate", t), u("birthDate", t, e);
|
|
91
91
|
},
|
|
92
92
|
value: i.birthDate,
|
|
93
93
|
disabled: l("birthDate")?.disabled
|
|
@@ -97,47 +97,47 @@ var O = /* @__PURE__ */ t(i(), 1), k = o(), A = ({ verificationService: t }) =>
|
|
|
97
97
|
isErrored: !!o.memberId,
|
|
98
98
|
isRequired: N,
|
|
99
99
|
disabled: l("memberId")?.disabled,
|
|
100
|
-
onChange: (
|
|
101
|
-
F("memberId",
|
|
100
|
+
onChange: (t) => {
|
|
101
|
+
F("memberId", t), u("memberId", t, e);
|
|
102
102
|
}
|
|
103
103
|
}),
|
|
104
|
-
|
|
105
|
-
isRequired: !!
|
|
104
|
+
e.programTheme.isSmsNotifierConfigured || e.programTheme.smsLoopEnabled ? /* @__PURE__ */ (0, k.jsx)(g, {
|
|
105
|
+
isRequired: !!e.programTheme.smsLoopEnabled,
|
|
106
106
|
value: i.phoneNumber,
|
|
107
107
|
isErrored: !!o.phoneNumber,
|
|
108
|
-
onChange: (
|
|
109
|
-
F("phoneNumber",
|
|
108
|
+
onChange: (t) => {
|
|
109
|
+
F("phoneNumber", t), u("phoneNumber", t, e);
|
|
110
110
|
},
|
|
111
111
|
selectedCountryCode: i.countryChoice && i.countryChoice.value,
|
|
112
112
|
disabled: l("phoneNumber")?.disabled
|
|
113
113
|
}) : null,
|
|
114
|
-
M.customFormFields.map((
|
|
115
|
-
config:
|
|
116
|
-
verificationService:
|
|
114
|
+
M.customFormFields.map((t) => /* @__PURE__ */ (0, k.jsx)(h, {
|
|
115
|
+
config: t,
|
|
116
|
+
verificationService: e
|
|
117
117
|
})),
|
|
118
118
|
/* @__PURE__ */ (0, k.jsx)(_, {
|
|
119
|
-
verificationService:
|
|
119
|
+
verificationService: e,
|
|
120
120
|
isErrored: !!o.marketConsentValue,
|
|
121
|
-
onChange: (
|
|
121
|
+
onChange: (t) => {
|
|
122
122
|
F("metadata", {
|
|
123
|
-
...
|
|
124
|
-
marketConsentValue:
|
|
125
|
-
}), u("marketConsentValue",
|
|
123
|
+
...e.viewModel.metadata,
|
|
124
|
+
marketConsentValue: t
|
|
125
|
+
}), u("marketConsentValue", t, e);
|
|
126
126
|
},
|
|
127
127
|
viewModel: i,
|
|
128
128
|
disabled: l("marketConsentValue")?.disabled
|
|
129
129
|
}),
|
|
130
130
|
/* @__PURE__ */ (0, k.jsx)(C, {
|
|
131
|
-
verificationService:
|
|
131
|
+
verificationService: e,
|
|
132
132
|
suffix: "CollectAboveSubmit"
|
|
133
133
|
}),
|
|
134
134
|
/* @__PURE__ */ (0, k.jsx)(v, {
|
|
135
|
-
verificationService:
|
|
135
|
+
verificationService: e,
|
|
136
136
|
isErrored: !!o.captchaToken
|
|
137
137
|
}),
|
|
138
138
|
/* @__PURE__ */ (0, k.jsx)(b, {
|
|
139
|
-
step:
|
|
140
|
-
verificationService:
|
|
139
|
+
step: t.collectMemberPersonalInfo,
|
|
140
|
+
verificationService: e,
|
|
141
141
|
viewModel: i,
|
|
142
142
|
failedInstantMatch: j,
|
|
143
143
|
buttonText: /* @__PURE__ */ (0, k.jsx)(a, {
|