@sheerid/jslib 2.277.0 → 2.279.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_mysheerid-preview.css +4 -4
- package/_mysheerid-preview.js +91 -91
- package/chunk/AddressComponent-BXt3LO3L.js +41 -0
- package/chunk/AddressComponent-BXt3LO3L.js.map +1 -0
- package/chunk/AddressComponent-lF-v0RZf.js +37 -0
- package/chunk/AddressComponent-lF-v0RZf.js.map +1 -0
- package/chunk/AnnouncingHeader-CCVSQeQR.js +4 -4
- package/chunk/AnnouncingHeader-YPjBYzsZ.js +4 -4
- package/chunk/{ApiUrls-C93kMsSC.js → ApiUrls-CKbVuRAx.js} +5 -5
- package/chunk/{ApiUrls-C93kMsSC.js.map → ApiUrls-CKbVuRAx.js.map} +1 -1
- package/chunk/{ApiUrls-BEuqNxHS.js → ApiUrls-K7CaWewT.js} +5 -5
- package/chunk/{ApiUrls-BEuqNxHS.js.map → ApiUrls-K7CaWewT.js.map} +1 -1
- package/chunk/{BirthDateComponent-f9e4it7x.js → BirthDateComponent-CD4M-BN9.js} +6 -6
- package/chunk/{BirthDateComponent-MZDnneXy.js.map → BirthDateComponent-CD4M-BN9.js.map} +1 -1
- package/chunk/{BirthDateComponent-MZDnneXy.js → BirthDateComponent-D3HhW2Lq.js} +6 -6
- package/chunk/{BirthDateComponent-f9e4it7x.js.map → BirthDateComponent-D3HhW2Lq.js.map} +1 -1
- package/chunk/{CaptchaComponent-CCq7YSum.js → CaptchaComponent-DlgV116k.js} +122 -121
- package/chunk/CaptchaComponent-DlgV116k.js.map +1 -0
- package/chunk/{CaptchaComponent-hqx9tSkk.js → CaptchaComponent-_azicSSq.js} +122 -121
- package/chunk/CaptchaComponent-_azicSSq.js.map +1 -0
- package/chunk/{ChangeLocaleComponent-DtJjnuBc.js → ChangeLocaleComponent-DaswLDgf.js} +62 -61
- package/chunk/{ChangeLocaleComponent-CKKK4OcA.js.map → ChangeLocaleComponent-DaswLDgf.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-CKKK4OcA.js → ChangeLocaleComponent-oYqC5rPO.js} +62 -61
- package/chunk/{ChangeLocaleComponent-DtJjnuBc.js.map → ChangeLocaleComponent-oYqC5rPO.js.map} +1 -1
- package/chunk/City-Ca92IEBF.js +36 -0
- package/chunk/City-Ca92IEBF.js.map +1 -0
- package/chunk/City-DT_jbaQV.js +40 -0
- package/chunk/City-DT_jbaQV.js.map +1 -0
- package/chunk/{CollegeNameComponent-C47D3rO4.js → CollegeNameComponent-BPwD0IZd.js} +6 -6
- package/chunk/{CollegeNameComponent-4QYMIIcd.js.map → CollegeNameComponent-BPwD0IZd.js.map} +1 -1
- package/chunk/{CollegeNameComponent-4QYMIIcd.js → CollegeNameComponent-CPHVzAfn.js} +6 -6
- package/chunk/{CollegeNameComponent-C47D3rO4.js.map → CollegeNameComponent-CPHVzAfn.js.map} +1 -1
- package/chunk/CopyToClipboardComponent-DGi3bxV2.js +4 -4
- package/chunk/CopyToClipboardComponent-cLuyXFes.js +4 -4
- package/chunk/CountryComponentWrapper-BfX4aqM2.js +82 -0
- package/chunk/CountryComponentWrapper-BfX4aqM2.js.map +1 -0
- package/chunk/CountryComponentWrapper-DziHrBMX.js +78 -0
- package/chunk/CountryComponentWrapper-DziHrBMX.js.map +1 -0
- package/chunk/DischargeDateComponent-BrNcDHcj.js +119 -0
- package/chunk/DischargeDateComponent-BrNcDHcj.js.map +1 -0
- package/chunk/DischargeDateComponent-Caq0MbSz.js +115 -0
- package/chunk/DischargeDateComponent-Caq0MbSz.js.map +1 -0
- package/chunk/DriverLicenseNumberComponent-BeJbl-IS.js +39 -0
- package/chunk/DriverLicenseNumberComponent-BeJbl-IS.js.map +1 -0
- package/chunk/DriverLicenseNumberComponent-DqHVF2Mw.js +43 -0
- package/chunk/DriverLicenseNumberComponent-DqHVF2Mw.js.map +1 -0
- package/chunk/{EmailLoopPending-HyZBgisU.js → EmailLoopPending-Dc_6ANLw.js} +40 -49
- package/chunk/EmailLoopPending-Dc_6ANLw.js.map +1 -0
- package/chunk/{EmailLoopPending-ojWCBFjq.js → EmailLoopPending-i9SDmULt.js} +39 -48
- package/chunk/EmailLoopPending-i9SDmULt.js.map +1 -0
- package/chunk/{ExtraMessage-BXxlQROb.js → ExtraMessage-BCHypT6I.js} +5 -5
- package/chunk/{ExtraMessage-BXxlQROb.js.map → ExtraMessage-BCHypT6I.js.map} +1 -1
- package/chunk/{ExtraMessage-PLTUBdhw.js → ExtraMessage-owvdVH7U.js} +5 -5
- package/chunk/{ExtraMessage-PLTUBdhw.js.map → ExtraMessage-owvdVH7U.js.map} +1 -1
- package/chunk/FirstResponderOrganizationComponent-Cq8brgQb.js +37 -0
- package/chunk/FirstResponderOrganizationComponent-Cq8brgQb.js.map +1 -0
- package/chunk/FirstResponderOrganizationComponent-zm8038ks.js +41 -0
- package/chunk/FirstResponderOrganizationComponent-zm8038ks.js.map +1 -0
- package/chunk/{FormFieldInputSelect-C6OyLsWL.js → FormFieldInputSelect-B56HjXNt.js} +5 -5
- package/chunk/{FormFieldInputSelect-C6OyLsWL.js.map → FormFieldInputSelect-B56HjXNt.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-Cl4QZ12h.js → FormFieldInputSelect-CTkrJXtl.js} +5 -5
- package/chunk/{FormFieldInputSelect-Cl4QZ12h.js.map → FormFieldInputSelect-CTkrJXtl.js.map} +1 -1
- package/chunk/FormFieldLayout-C4SCdGBC.js +4 -4
- package/chunk/FormFieldLayout-Cj_v9kYa.js +4 -4
- package/chunk/FormFieldText-BbdrtNh_.js +4 -4
- package/chunk/FormFieldText-Gf13Luq7.js +4 -4
- package/chunk/{FormFieldTypeahead-DbrQgvbJ.js → FormFieldTypeahead-DV-Vbq4P.js} +465 -469
- package/chunk/{FormFieldTypeahead-DTFxOQnf.js.map → FormFieldTypeahead-DV-Vbq4P.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-DTFxOQnf.js → FormFieldTypeahead-rknI__Ge.js} +385 -389
- package/chunk/{FormFieldTypeahead-DbrQgvbJ.js.map → FormFieldTypeahead-rknI__Ge.js.map} +1 -1
- package/chunk/FormFooterComponent-CKDwnyg2.js +2006 -0
- package/chunk/FormFooterComponent-CKDwnyg2.js.map +1 -0
- package/chunk/FormFooterComponent-DEFTsR2L.js +1980 -0
- package/chunk/FormFooterComponent-DEFTsR2L.js.map +1 -0
- package/chunk/{FormSelectChoice-C4LlT7fR.js → FormSelectChoice-BLwNcyNA.js} +5 -5
- package/chunk/{FormSelectChoice-C4LlT7fR.js.map → FormSelectChoice-BLwNcyNA.js.map} +1 -1
- package/chunk/{FormSelectChoice-CClt04rV.js → FormSelectChoice-CNxt_oMb.js} +5 -5
- package/chunk/{FormSelectChoice-CClt04rV.js.map → FormSelectChoice-CNxt_oMb.js.map} +1 -1
- package/chunk/InputText-BXPuBlPq.js +4 -4
- package/chunk/InputText-h_myNeHr.js +4 -4
- package/chunk/LicensedProfessionalOrganizationComponent-BbKzyFwo.js +40 -0
- package/chunk/LicensedProfessionalOrganizationComponent-BbKzyFwo.js.map +1 -0
- package/chunk/LicensedProfessionalOrganizationComponent-MO7F0SpQ.js +36 -0
- package/chunk/LicensedProfessionalOrganizationComponent-MO7F0SpQ.js.map +1 -0
- package/chunk/LogoComponent-Do8K5ydz.js +4 -4
- package/chunk/LogoComponent-Dx1G-rzE.js +4 -4
- package/chunk/LowIncomeOrganizationComponent-DjlrreR8.js +100 -0
- package/chunk/LowIncomeOrganizationComponent-DjlrreR8.js.map +1 -0
- package/chunk/LowIncomeOrganizationComponent-eipgmum9.js +104 -0
- package/chunk/LowIncomeOrganizationComponent-eipgmum9.js.map +1 -0
- package/chunk/MedicalProfessionalOrganizationComponent-BCYOuT46.js +37 -0
- package/chunk/MedicalProfessionalOrganizationComponent-BCYOuT46.js.map +1 -0
- package/chunk/MedicalProfessionalOrganizationComponent-BTlqVGFC.js +41 -0
- package/chunk/MedicalProfessionalOrganizationComponent-BTlqVGFC.js.map +1 -0
- package/chunk/MemberIdComponent-BRu3zJYi.js +43 -0
- package/chunk/MemberIdComponent-BRu3zJYi.js.map +1 -0
- package/chunk/MemberIdComponent-DDoGHydu.js +39 -0
- package/chunk/MemberIdComponent-DDoGHydu.js.map +1 -0
- package/chunk/MembershipOrganizationComponent-CPvwsgGQ.js +36 -0
- package/chunk/MembershipOrganizationComponent-CPvwsgGQ.js.map +1 -0
- package/chunk/MembershipOrganizationComponent-E2KnhazB.js +40 -0
- package/chunk/MembershipOrganizationComponent-E2KnhazB.js.map +1 -0
- package/chunk/{FormFooterComponent-CaOt9TQw.js → Message-C8RQk5lc.js} +6392 -6917
- package/chunk/Message-C8RQk5lc.js.map +1 -0
- package/chunk/{FormFooterComponent-B2W5vjOS.js → Message-Sbek6JOj.js} +7582 -8121
- package/chunk/Message-Sbek6JOj.js.map +1 -0
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-D_Y9q0Iy.js → PersonalInfoStepSubmitButton-DGdDk2n_.js} +35 -34
- package/chunk/PersonalInfoStepSubmitButton-DGdDk2n_.js.map +1 -0
- package/chunk/{PersonalInfoStepSubmitButton-DA3ceOLw.js → PersonalInfoStepSubmitButton-ksVF3h1P.js} +35 -34
- package/chunk/PersonalInfoStepSubmitButton-ksVF3h1P.js.map +1 -0
- package/chunk/{PersonalInfoStepWrapper-Dsb0Qcv5.js → PersonalInfoStepWrapper-BUOcq-Sb.js} +6 -6
- package/chunk/{PersonalInfoStepWrapper-Dsb0Qcv5.js.map → PersonalInfoStepWrapper-BUOcq-Sb.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-6neTJTQD.js → PersonalInfoStepWrapper-bFDtj-hV.js} +5 -5
- package/chunk/{PersonalInfoStepWrapper-6neTJTQD.js.map → PersonalInfoStepWrapper-bFDtj-hV.js.map} +1 -1
- package/chunk/PostalCodeComponent-C6gU75E3.js +42 -0
- package/chunk/PostalCodeComponent-C6gU75E3.js.map +1 -0
- package/chunk/PostalCodeComponent-DShP_eiB.js +38 -0
- package/chunk/PostalCodeComponent-DShP_eiB.js.map +1 -0
- package/chunk/SSN-BF8VH8xi.js +45 -0
- package/chunk/SSN-BF8VH8xi.js.map +1 -0
- package/chunk/SSN-X45bqqG5.js +49 -0
- package/chunk/SSN-X45bqqG5.js.map +1 -0
- package/chunk/StateSelectComponent-DEsJPcGo.js +38 -0
- package/chunk/StateSelectComponent-DEsJPcGo.js.map +1 -0
- package/chunk/StateSelectComponent-MEcusWyr.js +42 -0
- package/chunk/StateSelectComponent-MEcusWyr.js.map +1 -0
- package/chunk/{StatusComponent-BTvs1WVn.js → StatusComponent-BlVRLPOR.js} +6 -6
- package/chunk/{StatusComponent-BTvs1WVn.js.map → StatusComponent-BlVRLPOR.js.map} +1 -1
- package/chunk/{StatusComponent-BxQNsHYs.js → StatusComponent-DP2VlynN.js} +6 -6
- package/chunk/{StatusComponent-BxQNsHYs.js.map → StatusComponent-DP2VlynN.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-BOnOqXxm.js → StepAgePersonalInfo-BfVe24h1.js} +39 -39
- package/chunk/{StepAgePersonalInfo-BOnOqXxm.js.map → StepAgePersonalInfo-BfVe24h1.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-UWfkIpnn.js → StepAgePersonalInfo-BsftVg7L.js} +39 -39
- package/chunk/{StepAgePersonalInfo-UWfkIpnn.js.map → StepAgePersonalInfo-BsftVg7L.js.map} +1 -1
- package/chunk/StepCard-B0o7IN6g.js +4 -4
- package/chunk/StepCard-CWT2BiAH.js +4 -4
- package/chunk/{StepCollectIdentifier-D7bSwvYI.js → StepCollectIdentifier-BbSr7Z9A.js} +9 -9
- package/chunk/{StepCollectIdentifier-D7bSwvYI.js.map → StepCollectIdentifier-BbSr7Z9A.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-CtpUvhZs.js → StepCollectIdentifier-DWxYhtYJ.js} +7 -7
- package/chunk/{StepCollectIdentifier-CtpUvhZs.js.map → StepCollectIdentifier-DWxYhtYJ.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-BcmZhgl3.js → StepCollectMilitaryPersonalInfoComponent-Bf8Y4oMV.js} +58 -58
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-BcmZhgl3.js.map → StepCollectMilitaryPersonalInfoComponent-Bf8Y4oMV.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CHxXr8xM.js → StepCollectMilitaryPersonalInfoComponent-CXBsaj89.js} +58 -58
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CHxXr8xM.js.map → StepCollectMilitaryPersonalInfoComponent-CXBsaj89.js.map} +1 -1
- package/chunk/StepCollectPersonalInfo-CpZ03KDD.js +368 -0
- package/chunk/{StepCollectPersonalInfo-CzLVKlZ3.js.map → StepCollectPersonalInfo-CpZ03KDD.js.map} +1 -1
- package/chunk/StepCollectPersonalInfo-Dl1oW7u9.js +372 -0
- package/chunk/{StepCollectPersonalInfo-BlAJbqgb.js.map → StepCollectPersonalInfo-Dl1oW7u9.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-Cnv_QzG7.js → StepCompleteAuthentication-BZrnQ5_y.js} +8 -8
- package/chunk/{StepCompleteAuthentication-Cnv_QzG7.js.map → StepCompleteAuthentication-BZrnQ5_y.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-D7NH3MFa.js → StepCompleteAuthentication-mYpzxp_K.js} +8 -8
- package/chunk/{StepCompleteAuthentication-D7NH3MFa.js.map → StepCompleteAuthentication-mYpzxp_K.js.map} +1 -1
- package/chunk/{StepConsolation-BrzJnbYN.js → StepConsolation-B-89ZSSf.js} +5 -5
- package/chunk/{StepConsolation-BrzJnbYN.js.map → StepConsolation-B-89ZSSf.js.map} +1 -1
- package/chunk/{StepConsolation-C5ZHdmQ6.js → StepConsolation-CyFzsf7D.js} +5 -5
- package/chunk/{StepConsolation-C5ZHdmQ6.js.map → StepConsolation-CyFzsf7D.js.map} +1 -1
- package/chunk/{StepDocUpload-D2_e55pR.js → StepDocUpload-BhSHl2xg.js} +579 -581
- package/chunk/{StepDocUpload-BuH-EW5U.js.map → StepDocUpload-BhSHl2xg.js.map} +1 -1
- package/chunk/{StepDocUpload-BuH-EW5U.js → StepDocUpload-Da23Nac7.js} +563 -565
- package/chunk/{StepDocUpload-D2_e55pR.js.map → StepDocUpload-Da23Nac7.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-UZoq9OhC.js → StepDriverLicensePersonalInfoComponent-BzzPdAKT.js} +29 -29
- package/chunk/{StepDriverLicensePersonalInfoComponent-DcVZb5ke.js.map → StepDriverLicensePersonalInfoComponent-BzzPdAKT.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-DcVZb5ke.js → StepDriverLicensePersonalInfoComponent-DZREXMwQ.js} +29 -29
- package/chunk/{StepDriverLicensePersonalInfoComponent-UZoq9OhC.js.map → StepDriverLicensePersonalInfoComponent-DZREXMwQ.js.map} +1 -1
- package/chunk/{StepEmailLoop-138hnevc.js → StepEmailLoop-D84khZXV.js} +57 -57
- package/chunk/{StepEmailLoop-138hnevc.js.map → StepEmailLoop-D84khZXV.js.map} +1 -1
- package/chunk/{StepEmailLoop-p3PjfBvc.js → StepEmailLoop-DROpnxge.js} +57 -57
- package/chunk/{StepEmailLoop-p3PjfBvc.js.map → StepEmailLoop-DROpnxge.js.map} +1 -1
- package/chunk/StepEmploymentPersonalInfo-BGr1Yvq_.js +216 -0
- package/chunk/StepEmploymentPersonalInfo-BGr1Yvq_.js.map +1 -0
- package/chunk/StepEmploymentPersonalInfo-D7RPMyzC.js +220 -0
- package/chunk/StepEmploymentPersonalInfo-D7RPMyzC.js.map +1 -0
- package/chunk/{StepFirstResponderPersonalInfo-gF_5zHxj.js → StepFirstResponderPersonalInfo-CjNdy_IK.js} +42 -42
- package/chunk/{StepFirstResponderPersonalInfo-CSGMgT02.js.map → StepFirstResponderPersonalInfo-CjNdy_IK.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-CSGMgT02.js → StepFirstResponderPersonalInfo-DQCaR_hD.js} +42 -42
- package/chunk/{StepFirstResponderPersonalInfo-gF_5zHxj.js.map → StepFirstResponderPersonalInfo-DQCaR_hD.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Cgp_PX5L.js → StepGeneralIdentityPersonalInfoComponent-BsDZlyGG.js} +38 -38
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Cgp_PX5L.js.map → StepGeneralIdentityPersonalInfoComponent-BsDZlyGG.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-D4wP5D1G.js → StepGeneralIdentityPersonalInfoComponent-DRxMlfke.js} +38 -38
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-D4wP5D1G.js.map → StepGeneralIdentityPersonalInfoComponent-DRxMlfke.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-ChtlT4nZ.js → StepHybridIdentityPersonalInfoComponent-BGVL9sDI.js} +41 -41
- package/chunk/{StepHybridIdentityPersonalInfoComponent-Cez-TR1Z.js.map → StepHybridIdentityPersonalInfoComponent-BGVL9sDI.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-Cez-TR1Z.js → StepHybridIdentityPersonalInfoComponent-DmXgxIAw.js} +41 -41
- package/chunk/{StepHybridIdentityPersonalInfoComponent-ChtlT4nZ.js.map → StepHybridIdentityPersonalInfoComponent-DmXgxIAw.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-CX6VsvAJ.js → StepIDCheckLoop-9dhIxbuJ.js} +5 -5
- package/chunk/{StepIDCheckLoop-CX6VsvAJ.js.map → StepIDCheckLoop-9dhIxbuJ.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-DFhu-v9n.js → StepIDCheckLoop-DTIF9BCb.js} +5 -5
- package/chunk/{StepIDCheckLoop-DFhu-v9n.js.map → StepIDCheckLoop-DTIF9BCb.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-CiuUU7f9.js → StepIDCheckLoopOnfido-BxY2wBPp.js} +112 -113
- package/chunk/StepIDCheckLoopOnfido-BxY2wBPp.js.map +1 -0
- package/chunk/{StepIDCheckLoopOnfido-0o-ZdynC.js → StepIDCheckLoopOnfido-DEwJWvD5.js} +112 -113
- package/chunk/StepIDCheckLoopOnfido-DEwJWvD5.js.map +1 -0
- package/chunk/{StepIDCheckLoopRegula-D94f7Ccr.js → StepIDCheckLoopRegula-B6NsjTDL.js} +6 -5
- package/chunk/{StepIDCheckLoopRegula-D5Ln2I62.js.map → StepIDCheckLoopRegula-B6NsjTDL.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-D5Ln2I62.js → StepIDCheckLoopRegula-CnxabsF_.js} +6 -5
- package/chunk/{StepIDCheckLoopRegula-D94f7Ccr.js.map → StepIDCheckLoopRegula-CnxabsF_.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-CHQbAgsG.js → StepLicensedProfessionalPersonalInfo-Bxh1PYd4.js} +39 -39
- package/chunk/{StepLicensedProfessionalPersonalInfo-BHInsLPJ.js.map → StepLicensedProfessionalPersonalInfo-Bxh1PYd4.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-BHInsLPJ.js → StepLicensedProfessionalPersonalInfo-avWn-HsU.js} +39 -39
- package/chunk/{StepLicensedProfessionalPersonalInfo-CHQbAgsG.js.map → StepLicensedProfessionalPersonalInfo-avWn-HsU.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-oBDI4ML2.js → StepLowIncomePersonalInfo-Du_sG7Xc.js} +54 -54
- package/chunk/{StepLowIncomePersonalInfo-DVDI4DRm.js.map → StepLowIncomePersonalInfo-Du_sG7Xc.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-DVDI4DRm.js → StepLowIncomePersonalInfo-qYLCAzKx.js} +54 -54
- package/chunk/{StepLowIncomePersonalInfo-oBDI4ML2.js.map → StepLowIncomePersonalInfo-qYLCAzKx.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-_x2wcVNS.js → StepMedicalProfessionalPersonalInfo-B9f28oQh.js} +44 -44
- package/chunk/{StepMedicalProfessionalPersonalInfo-DmoUExs9.js.map → StepMedicalProfessionalPersonalInfo-B9f28oQh.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-DmoUExs9.js → StepMedicalProfessionalPersonalInfo-C9owmZP4.js} +44 -44
- package/chunk/{StepMedicalProfessionalPersonalInfo-_x2wcVNS.js.map → StepMedicalProfessionalPersonalInfo-C9owmZP4.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-BAjKLJCl.js → StepMemberPersonalInfo-B3abjYzP.js} +27 -27
- package/chunk/{StepMemberPersonalInfo-BAjKLJCl.js.map → StepMemberPersonalInfo-B3abjYzP.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-CI9Q06Ic.js → StepMemberPersonalInfo-BjwgnTyJ.js} +27 -27
- package/chunk/{StepMemberPersonalInfo-CI9Q06Ic.js.map → StepMemberPersonalInfo-BjwgnTyJ.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-DIkMi5zU.js → StepMoverPersonalInfo-BuAttGuv.js} +28 -28
- package/chunk/{StepMoverPersonalInfo-CVT4pPa6.js.map → StepMoverPersonalInfo-BuAttGuv.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-CVT4pPa6.js → StepMoverPersonalInfo-DHQ4lFop.js} +28 -28
- package/chunk/{StepMoverPersonalInfo-DIkMi5zU.js.map → StepMoverPersonalInfo-DHQ4lFop.js.map} +1 -1
- package/chunk/{StepOverrideComponent-DOBT7C22.js → StepOverrideComponent-BECVh2YW.js} +31 -33
- package/chunk/StepOverrideComponent-BECVh2YW.js.map +1 -0
- package/chunk/{StepOverrideComponent-B9HVSPlq.js → StepOverrideComponent-BbflJqAn.js} +31 -33
- package/chunk/StepOverrideComponent-BbflJqAn.js.map +1 -0
- package/chunk/StepSMSLoop-DBLKaJge.js +172 -0
- package/chunk/StepSMSLoop-DBLKaJge.js.map +1 -0
- package/chunk/StepSMSLoop-DaWjEr_v.js +168 -0
- package/chunk/StepSMSLoop-DaWjEr_v.js.map +1 -0
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-LcWg-zo5.js → StepSocialSecurityNumber-O1UZ-5U6.js} +10 -10
- package/chunk/{StepSocialSecurityNumber-DepVz3V7.js.map → StepSocialSecurityNumber-O1UZ-5U6.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-DepVz3V7.js → StepSocialSecurityNumber-rJXiboT7.js} +10 -10
- package/chunk/{StepSocialSecurityNumber-LcWg-zo5.js.map → StepSocialSecurityNumber-rJXiboT7.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-DQMWaRSa.js → StepStudentPersonalInfo-CDJ5MqYn.js} +69 -74
- package/chunk/StepStudentPersonalInfo-CDJ5MqYn.js.map +1 -0
- package/chunk/{StepStudentPersonalInfo-CxPq9ICS.js → StepStudentPersonalInfo-tgT5jO54.js} +69 -74
- package/chunk/StepStudentPersonalInfo-tgT5jO54.js.map +1 -0
- package/chunk/{StepSuccess-CvK7t1zN.js → StepSuccess-C1pgML90.js} +6 -6
- package/chunk/{StepSuccess-C3a0CPsE.js.map → StepSuccess-C1pgML90.js.map} +1 -1
- package/chunk/{StepSuccess-C3a0CPsE.js → StepSuccess-CLv_-kPd.js} +6 -6
- package/chunk/{StepSuccess-CvK7t1zN.js.map → StepSuccess-CLv_-kPd.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-_Wwkq-dn.js → StepTeacherPersonalInfo-BndXbwZz.js} +26 -26
- package/chunk/{StepTeacherPersonalInfo-DhOL3_0H.js.map → StepTeacherPersonalInfo-BndXbwZz.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-DhOL3_0H.js → StepTeacherPersonalInfo-DttiAJyO.js} +26 -26
- package/chunk/{StepTeacherPersonalInfo-_Wwkq-dn.js.map → StepTeacherPersonalInfo-DttiAJyO.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-3HVz97q_.js → TeacherSchoolComponent-CnBfquOO.js} +6 -6
- package/chunk/{TeacherSchoolComponent-3HVz97q_.js.map → TeacherSchoolComponent-CnBfquOO.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-BwLUGmNi.js → TeacherSchoolComponent-DOAXb1sf.js} +6 -6
- package/chunk/{TeacherSchoolComponent-BwLUGmNi.js.map → TeacherSchoolComponent-DOAXb1sf.js.map} +1 -1
- package/chunk/TestingRouteOverrides-CAGESMw9.js +4 -4
- package/chunk/TestingRouteOverrides-CrhfSmLr.js +4 -4
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/ar-Dh-2G5c3.js +4 -4
- package/chunk/bg-BbAhdJRh.js +4 -4
- package/chunk/bn-IN-Cx3Q5Utp.js +4 -4
- package/chunk/countryUtils-AR9k3KRg.js +4 -4
- package/chunk/countryUtils-DWqId-zY.js +4 -4
- package/chunk/cs-CYGsmvju.js +4 -4
- package/chunk/da-COZWvvUD.js +4 -4
- package/chunk/de-BHclNQGr.js +4 -4
- package/chunk/{downshift.esm-BKI3sFd7.js → downshift.esm-CljItZH3.js} +5 -5
- package/chunk/{downshift.esm-BKI3sFd7.js.map → downshift.esm-CljItZH3.js.map} +1 -1
- package/chunk/{downshift.esm-DryiNDJI.js → downshift.esm-GP9lYKvI.js} +5 -5
- package/chunk/{downshift.esm-DryiNDJI.js.map → downshift.esm-GP9lYKvI.js.map} +1 -1
- package/chunk/el-Bv_XQ0FX.js +4 -4
- package/chunk/empties-B6naRhes.js +4 -4
- package/chunk/empties-Crmkxudi.js +4 -4
- package/chunk/en-GB-CkENrh2I.js +4 -4
- package/chunk/es-BRKAFTKN.js +4 -4
- package/chunk/es-ES-BWfAbWbQ.js +4 -4
- package/chunk/et-CxMgVbW2.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BEC3aNBF.js +4 -4
- package/chunk/fi-BaP3FR15.js +4 -4
- package/chunk/fr-CA-CS4SuM-m.js +4 -4
- package/chunk/fr-DSU2B7p2.js +4 -4
- package/chunk/ga-DZEr9X_A.js +4 -4
- package/chunk/hi-IN-DvBVpWNQ.js +4 -4
- package/chunk/hooks-C15H5pD-.js +4 -4
- package/chunk/hooks-ChQrxN58.js +4 -4
- package/chunk/hr-CL1lHDbu.js +4 -4
- package/chunk/hu-Cf5Uq9R_.js +4 -4
- package/chunk/id-ay9yilKx.js +4 -4
- package/chunk/intl-e5WHiYfA.js +4 -4
- package/chunk/is-tpzRyIZi.js +4 -4
- package/chunk/it-C3-BupR4.js +4 -4
- package/chunk/iw-CBna3XPT.js +4 -4
- package/chunk/ja-DvXOkZRn.js +4 -4
- package/chunk/jsx-runtime-Ini3eO9_.js +4 -4
- package/chunk/jsx-runtime-LqzCS-0D.js +4 -4
- package/chunk/kk-DGXgY6Uw.js +4 -4
- package/chunk/ko-BlUGwGxN.js +4 -4
- package/chunk/lo-DT6wxwS1.js +4 -4
- package/chunk/lt-CT5-H4ci.js +4 -4
- package/chunk/lv-CBMD1XRp.js +4 -4
- package/chunk/mocks-DGc1byho.js +4 -4
- package/chunk/mocks-RU9BGNOn.js +4 -4
- package/chunk/ms-DuxNeOgk.js +4 -4
- package/chunk/nl-BE-D028qM7-.js +4 -4
- package/chunk/nl-DEuaat_s.js +4 -4
- package/chunk/no-CjeRjD1D.js +4 -4
- package/chunk/options-pBCAJBwS.js +4 -4
- package/chunk/pl-X0qJw7IS.js +4 -4
- package/chunk/programThemeGetters-C9Sw0RZq.js +4 -4
- package/chunk/programThemeGetters-uLsgGat1.js +4 -4
- package/chunk/pt-BR-C6XmLn3o.js +4 -4
- package/chunk/pt-o7v4iOVx.js +4 -4
- package/chunk/refs-CGvEbCaw.js +4 -4
- package/chunk/refs-CI3K5ndt.js +4 -4
- package/chunk/ro-C74ZR3HS.js +4 -4
- package/chunk/ru-BA9P3RVu.js +4 -4
- package/chunk/sk-DmyizV49.js +4 -4
- package/chunk/sl-Cxm3YoWE.js +4 -4
- package/chunk/sr-gOtgEOlP.js +4 -4
- package/chunk/{stepComponentHelpers-DIHMDrmF.js → stepComponentHelpers-BOwTk6Tq.js} +39 -51
- package/chunk/stepComponentHelpers-BOwTk6Tq.js.map +1 -0
- package/chunk/{stepComponentHelpers-BdqtwfRd.js → stepComponentHelpers-Cm0-8yXr.js} +39 -51
- package/chunk/stepComponentHelpers-Cm0-8yXr.js.map +1 -0
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-DnCUWo1-.js +4 -4
- package/chunk/sw-BY7XXvUU.js +4 -4
- package/chunk/ta-CVL0b6Hh.js +4 -4
- package/chunk/th-CyU0RW3x.js +4 -4
- package/chunk/tl-BfgQ0irB.js +4 -4
- package/chunk/tr-BPg_L4bY.js +4 -4
- package/chunk/uk-CNaioa7V.js +4 -4
- package/chunk/ur-Ht1Mcpm0.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-BsX_IHLN.js → useCollectFieldsEndpoint-D_Qf33n2.js} +9 -10
- package/chunk/{useCollectFieldsEndpoint-BsX_IHLN.js.map → useCollectFieldsEndpoint-D_Qf33n2.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-D7OQBDpX.js → useCollectFieldsEndpoint-jY0agtQB.js} +13 -14
- package/chunk/{useCollectFieldsEndpoint-D7OQBDpX.js.map → useCollectFieldsEndpoint-jY0agtQB.js.map} +1 -1
- package/chunk/useMetrics-BrHWTzbP.js +4 -4
- package/chunk/useMetrics-O5xTFm6y.js +4 -4
- package/chunk/vi-sI1BYLXG.js +4 -4
- package/chunk/zh-DNG4VB8r.js +4 -4
- package/chunk/zh-HK-5Y3ROXEm.js +4 -4
- package/chunk/zu-DNMG8Idu.js +4 -4
- package/package.json +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +4 -4
- package/sheerid.css +4 -4
- package/sheerid.js +654 -654
- package/sheerid.js.map +1 -1
- package/chunk/AddressComponent-C3iwf09x.js +0 -40
- package/chunk/AddressComponent-C3iwf09x.js.map +0 -1
- package/chunk/AddressComponent-oDHvr6bn.js +0 -36
- package/chunk/AddressComponent-oDHvr6bn.js.map +0 -1
- package/chunk/CaptchaComponent-CCq7YSum.js.map +0 -1
- package/chunk/CaptchaComponent-hqx9tSkk.js.map +0 -1
- package/chunk/City-CUVEjTrI.js +0 -39
- package/chunk/City-CUVEjTrI.js.map +0 -1
- package/chunk/City-Drub1WX8.js +0 -35
- package/chunk/City-Drub1WX8.js.map +0 -1
- package/chunk/CountryComponentWrapper-B3Ki9bAz.js +0 -78
- package/chunk/CountryComponentWrapper-B3Ki9bAz.js.map +0 -1
- package/chunk/CountryComponentWrapper-DeR9PrA2.js +0 -82
- package/chunk/CountryComponentWrapper-DeR9PrA2.js.map +0 -1
- package/chunk/DischargeDateComponent-Btg3v71t.js +0 -117
- package/chunk/DischargeDateComponent-Btg3v71t.js.map +0 -1
- package/chunk/DischargeDateComponent-CqKUrGE0.js +0 -121
- package/chunk/DischargeDateComponent-CqKUrGE0.js.map +0 -1
- package/chunk/DriverLicenseNumberComponent-B2arYwHU.js +0 -42
- package/chunk/DriverLicenseNumberComponent-B2arYwHU.js.map +0 -1
- package/chunk/DriverLicenseNumberComponent-ByNoEq6v.js +0 -38
- package/chunk/DriverLicenseNumberComponent-ByNoEq6v.js.map +0 -1
- package/chunk/EmailLoopPending-HyZBgisU.js.map +0 -1
- package/chunk/EmailLoopPending-ojWCBFjq.js.map +0 -1
- package/chunk/FirstResponderOrganizationComponent-BiI8JG49.js +0 -36
- package/chunk/FirstResponderOrganizationComponent-BiI8JG49.js.map +0 -1
- package/chunk/FirstResponderOrganizationComponent-BwzXdBV-.js +0 -40
- package/chunk/FirstResponderOrganizationComponent-BwzXdBV-.js.map +0 -1
- package/chunk/FormFooterComponent-B2W5vjOS.js.map +0 -1
- package/chunk/FormFooterComponent-CaOt9TQw.js.map +0 -1
- package/chunk/LicensedProfessionalOrganizationComponent-wJSn67h6.js +0 -39
- package/chunk/LicensedProfessionalOrganizationComponent-wJSn67h6.js.map +0 -1
- package/chunk/LicensedProfessionalOrganizationComponent-wfXwXvVc.js +0 -35
- package/chunk/LicensedProfessionalOrganizationComponent-wfXwXvVc.js.map +0 -1
- package/chunk/LowIncomeOrganizationComponent-C3Dc7HeO.js +0 -110
- package/chunk/LowIncomeOrganizationComponent-C3Dc7HeO.js.map +0 -1
- package/chunk/LowIncomeOrganizationComponent-D8RlrBXa.js +0 -106
- package/chunk/LowIncomeOrganizationComponent-D8RlrBXa.js.map +0 -1
- package/chunk/MedicalProfessionalOrganizationComponent-BlEmZTpI.js +0 -40
- package/chunk/MedicalProfessionalOrganizationComponent-BlEmZTpI.js.map +0 -1
- package/chunk/MedicalProfessionalOrganizationComponent-DS1iVIfQ.js +0 -36
- package/chunk/MedicalProfessionalOrganizationComponent-DS1iVIfQ.js.map +0 -1
- package/chunk/MemberIdComponent-5OnkQeLm.js +0 -42
- package/chunk/MemberIdComponent-5OnkQeLm.js.map +0 -1
- package/chunk/MemberIdComponent-sR9aGDN4.js +0 -38
- package/chunk/MemberIdComponent-sR9aGDN4.js.map +0 -1
- package/chunk/MembershipOrganizationComponent-BrbunU1_.js +0 -35
- package/chunk/MembershipOrganizationComponent-BrbunU1_.js.map +0 -1
- package/chunk/MembershipOrganizationComponent-UqzaA4bV.js +0 -39
- package/chunk/MembershipOrganizationComponent-UqzaA4bV.js.map +0 -1
- package/chunk/PersonalInfoStepSubmitButton-DA3ceOLw.js.map +0 -1
- package/chunk/PersonalInfoStepSubmitButton-D_Y9q0Iy.js.map +0 -1
- package/chunk/PostalCodeComponent-BhBBSAL-.js +0 -41
- package/chunk/PostalCodeComponent-BhBBSAL-.js.map +0 -1
- package/chunk/PostalCodeComponent-DKC3DspF.js +0 -37
- package/chunk/PostalCodeComponent-DKC3DspF.js.map +0 -1
- package/chunk/SSN-7DHOlAAq.js +0 -44
- package/chunk/SSN-7DHOlAAq.js.map +0 -1
- package/chunk/SSN-DlBvRiaZ.js +0 -48
- package/chunk/SSN-DlBvRiaZ.js.map +0 -1
- package/chunk/StateSelectComponent-BXHXB6Kn.js +0 -44
- package/chunk/StateSelectComponent-BXHXB6Kn.js.map +0 -1
- package/chunk/StateSelectComponent-lM5e-_1v.js +0 -40
- package/chunk/StateSelectComponent-lM5e-_1v.js.map +0 -1
- package/chunk/StepCollectPersonalInfo-BlAJbqgb.js +0 -372
- package/chunk/StepCollectPersonalInfo-CzLVKlZ3.js +0 -368
- package/chunk/StepEmploymentPersonalInfo-CIb2V_Aj.js +0 -219
- package/chunk/StepEmploymentPersonalInfo-CIb2V_Aj.js.map +0 -1
- package/chunk/StepEmploymentPersonalInfo-txyihsja.js +0 -215
- package/chunk/StepEmploymentPersonalInfo-txyihsja.js.map +0 -1
- package/chunk/StepIDCheckLoopOnfido-0o-ZdynC.js.map +0 -1
- package/chunk/StepIDCheckLoopOnfido-CiuUU7f9.js.map +0 -1
- package/chunk/StepOverrideComponent-B9HVSPlq.js.map +0 -1
- package/chunk/StepOverrideComponent-DOBT7C22.js.map +0 -1
- package/chunk/StepSMSLoop-BM7UE2tP.js +0 -180
- package/chunk/StepSMSLoop-BM7UE2tP.js.map +0 -1
- package/chunk/StepSMSLoop-Wr-MrFaf.js +0 -184
- package/chunk/StepSMSLoop-Wr-MrFaf.js.map +0 -1
- package/chunk/StepStudentPersonalInfo-CxPq9ICS.js.map +0 -1
- package/chunk/StepStudentPersonalInfo-DQMWaRSa.js.map +0 -1
- package/chunk/VerificationApiClient-BcE3SjuJ.js +0 -1451
- package/chunk/VerificationApiClient-BcE3SjuJ.js.map +0 -1
- package/chunk/VerificationApiClient-fJ7P4ejD.js +0 -1471
- package/chunk/VerificationApiClient-fJ7P4ejD.js.map +0 -1
- package/chunk/stepComponentHelpers-BdqtwfRd.js.map +0 -1
- package/chunk/stepComponentHelpers-DIHMDrmF.js.map +0 -1
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
|
|
2
|
+
/**
|
|
3
|
+
* VERSION: 2.279.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1788995296072
|
|
5
|
+
* BUILD_DATE: Wed Sep 09 2026 23:08:16 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: fdde81acaae8bfe2d0c43f5327d4569e8353b6e7
|
|
7
|
+
*/
|
|
8
|
+
import { n as e, t } from "./jsx-runtime-Ini3eO9_.js";
|
|
9
|
+
import { n } from "./Message-C8RQk5lc.js";
|
|
10
|
+
import { t as r } from "./FormFieldInputSelect-B56HjXNt.js";
|
|
11
|
+
//#region src/components/FormFields/State/StateSelectComponent.tsx
|
|
12
|
+
var i = t(), a = ({ value: t, isErrored: a, options: o, onChange: s, placeholder: c = "", label: l = "", isRequired: u = !1, disabled: d = !1 }) => {
|
|
13
|
+
let { msg: f } = n(), p = "state";
|
|
14
|
+
return /* @__PURE__ */ (0, i.jsx)(r, {
|
|
15
|
+
fieldId: p,
|
|
16
|
+
value: o.find((e) => e.value === t),
|
|
17
|
+
refId: "state",
|
|
18
|
+
onChange: (e) => s(e),
|
|
19
|
+
placeholder: c || f({ id: "statePlaceholder" }),
|
|
20
|
+
label: l || /* @__PURE__ */ (0, i.jsx)(e, {
|
|
21
|
+
id: "state",
|
|
22
|
+
defaultMessage: "State"
|
|
23
|
+
}),
|
|
24
|
+
errorMessage: a && /* @__PURE__ */ (0, i.jsx)(e, {
|
|
25
|
+
id: "errorId.invalidState",
|
|
26
|
+
defaultMessage: "Invalid state"
|
|
27
|
+
}),
|
|
28
|
+
showPlaceholderAndHideLabel: !!c,
|
|
29
|
+
options: o,
|
|
30
|
+
isRequired: u,
|
|
31
|
+
buttonRef: "inputSelectButtonState",
|
|
32
|
+
containerId: `sid-${p}__select`,
|
|
33
|
+
disabled: d,
|
|
34
|
+
autoComplete: "address-level1"
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
//#endregion
|
|
38
|
+
export { a as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StateSelectComponent-DEsJPcGo.js","names":[],"sources":["../../src/components/FormFields/State/StateSelectComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { useMessage } from \"@/components/Message\";\nimport { FormFieldInputSelect } from \"@/components/FormFields/FormFieldInputSelect/FormFieldInputSelect\";\nimport { type FormSelectChoice, type InputSelectComponentProps } from \"@/lib/types/types\";\n\nexport const StateSelectComponent = ({\n value,\n isErrored,\n options,\n onChange,\n placeholder = \"\",\n label = \"\",\n isRequired = false,\n disabled = false,\n}: InputSelectComponentProps) => {\n const { msg } = useMessage();\n\n const stateFieldId = \"state\";\n\n return (\n <FormFieldInputSelect\n fieldId={stateFieldId}\n value={options.find((option) => option.value === value)}\n refId=\"state\"\n onChange={(state: FormSelectChoice) => onChange(state)}\n placeholder={placeholder || msg({ id: \"statePlaceholder\" })}\n label={label || <FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage id=\"errorId.invalidState\" defaultMessage=\"Invalid state\" />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n options={options}\n isRequired={isRequired}\n buttonRef=\"inputSelectButtonState\"\n containerId={`sid-${stateFieldId}__select`}\n disabled={disabled}\n autoComplete=\"address-level1\"\n />\n );\n};\n"],"mappings":";;;;aAMa,KAAwB,EACnC,UACA,cACA,YACA,aACA,iBAAc,IACd,WAAQ,IACR,gBAAa,IACb,cAAW,SACoB;CAC/B,IAAM,EAAE,WAAQ,EAAW,GAErB,IAAe;CAErB,OACE,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,SAAS;EACT,OAAO,EAAQ,MAAM,MAAW,EAAO,UAAU,CAAK;EACtD,OAAM;EACN,WAAW,MAA4B,EAAS,CAAK;EACrD,aAAa,KAAe,EAAI,EAAE,IAAI,mBAAmB,CAAC;EAC1D,OAAO,KAAS,iBAAA,GAAA,EAAA,KAAC,GAAD;GAAsB,IAAG;GAAQ,gBAAe;EAAS,CAAA;EACzE,cACE,KACE,iBAAA,GAAA,EAAA,KAAC,GAAD;GAAsB,IAAG;GAAuB,gBAAe;EAAiB,CAAA;EAGpF,6BAA6B,CAAC,CAAC;EACtB;EACG;EACZ,WAAU;EACV,aAAa,OAAO,EAAa;EACvB;EACV,cAAa;CACd,CAAA;AAEL"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
|
|
2
|
+
/**
|
|
3
|
+
* WARNING: This file is intended to be used within MySheerID.
|
|
4
|
+
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* VERSION: 2.279.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1788995300702
|
|
9
|
+
* BUILD_DATE: Wed Sep 09 2026 23:08:20 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: fdde81acaae8bfe2d0c43f5327d4569e8353b6e7
|
|
11
|
+
*/
|
|
12
|
+
import { n as e, t } from "./jsx-runtime-LqzCS-0D.js";
|
|
13
|
+
import { n } from "./Message-Sbek6JOj.js";
|
|
14
|
+
import { t as r } from "./FormFieldInputSelect-CTkrJXtl.js";
|
|
15
|
+
//#region src/components/FormFields/State/StateSelectComponent.tsx
|
|
16
|
+
var i = t(), a = ({ value: t, isErrored: a, options: o, onChange: s, placeholder: c = "", label: l = "", isRequired: u = !1, disabled: d = !1 }) => {
|
|
17
|
+
let { msg: f } = n(), p = "state";
|
|
18
|
+
return /* @__PURE__ */ (0, i.jsx)(r, {
|
|
19
|
+
fieldId: p,
|
|
20
|
+
value: o.find((e) => e.value === t),
|
|
21
|
+
refId: "state",
|
|
22
|
+
onChange: (e) => s(e),
|
|
23
|
+
placeholder: c || f({ id: "statePlaceholder" }),
|
|
24
|
+
label: l || /* @__PURE__ */ (0, i.jsx)(e, {
|
|
25
|
+
id: "state",
|
|
26
|
+
defaultMessage: "State"
|
|
27
|
+
}),
|
|
28
|
+
errorMessage: a && /* @__PURE__ */ (0, i.jsx)(e, {
|
|
29
|
+
id: "errorId.invalidState",
|
|
30
|
+
defaultMessage: "Invalid state"
|
|
31
|
+
}),
|
|
32
|
+
showPlaceholderAndHideLabel: !!c,
|
|
33
|
+
options: o,
|
|
34
|
+
isRequired: u,
|
|
35
|
+
buttonRef: "inputSelectButtonState",
|
|
36
|
+
containerId: `sid-${p}__select`,
|
|
37
|
+
disabled: d,
|
|
38
|
+
autoComplete: "address-level1"
|
|
39
|
+
});
|
|
40
|
+
};
|
|
41
|
+
//#endregion
|
|
42
|
+
export { a as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StateSelectComponent-MEcusWyr.js","names":[],"sources":["../../src/components/FormFields/State/StateSelectComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { useMessage } from \"@/components/Message\";\nimport { FormFieldInputSelect } from \"@/components/FormFields/FormFieldInputSelect/FormFieldInputSelect\";\nimport { type FormSelectChoice, type InputSelectComponentProps } from \"@/lib/types/types\";\n\nexport const StateSelectComponent = ({\n value,\n isErrored,\n options,\n onChange,\n placeholder = \"\",\n label = \"\",\n isRequired = false,\n disabled = false,\n}: InputSelectComponentProps) => {\n const { msg } = useMessage();\n\n const stateFieldId = \"state\";\n\n return (\n <FormFieldInputSelect\n fieldId={stateFieldId}\n value={options.find((option) => option.value === value)}\n refId=\"state\"\n onChange={(state: FormSelectChoice) => onChange(state)}\n placeholder={placeholder || msg({ id: \"statePlaceholder\" })}\n label={label || <FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage id=\"errorId.invalidState\" defaultMessage=\"Invalid state\" />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n options={options}\n isRequired={isRequired}\n buttonRef=\"inputSelectButtonState\"\n containerId={`sid-${stateFieldId}__select`}\n disabled={disabled}\n autoComplete=\"address-level1\"\n />\n );\n};\n"],"mappings":";;;;aAMa,KAAwB,EACnC,UACA,cACA,YACA,aACA,iBAAc,IACd,WAAQ,IACR,gBAAa,IACb,cAAW,SACoB;CAC/B,IAAM,EAAE,WAAQ,EAAW,GAErB,IAAe;CAErB,OACE,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,SAAS;EACT,OAAO,EAAQ,MAAM,MAAW,EAAO,UAAU,CAAK;EACtD,OAAM;EACN,WAAW,MAA4B,EAAS,CAAK;EACrD,aAAa,KAAe,EAAI,EAAE,IAAI,mBAAmB,CAAC;EAC1D,OAAO,KAAS,iBAAA,GAAA,EAAA,KAAC,GAAD;GAAsB,IAAG;GAAQ,gBAAe;EAAS,CAAA;EACzE,cACE,KACE,iBAAA,GAAA,EAAA,KAAC,GAAD;GAAsB,IAAG;GAAuB,gBAAe;EAAiB,CAAA;EAGpF,6BAA6B,CAAC,CAAC;EACtB;EACG;EACZ,WAAU;EACV,aAAa,OAAO,EAAa;EACvB;EACV,cAAa;CACd,CAAA;AAEL"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.279.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1788995296072
|
|
5
|
+
* BUILD_DATE: Wed Sep 09 2026 23:08:16 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: fdde81acaae8bfe2d0c43f5327d4569e8353b6e7
|
|
7
7
|
*/
|
|
8
8
|
import { Wt as e } from "./options-pBCAJBwS.js";
|
|
9
9
|
import { a as t, c as n, n as r, t as i } from "./jsx-runtime-Ini3eO9_.js";
|
|
10
|
-
import { a } from "./stepComponentHelpers-
|
|
11
|
-
import { t as o } from "./FormFieldInputSelect-
|
|
10
|
+
import { i as a } from "./stepComponentHelpers-BOwTk6Tq.js";
|
|
11
|
+
import { t as o } from "./FormFieldInputSelect-B56HjXNt.js";
|
|
12
12
|
//#region src/components/FormFields/Status/StatusComponent.tsx
|
|
13
13
|
var s = /* @__PURE__ */ e(n(), 1), c = i(), l = t(({ value: e, isErrored: t, errorId: n = "invalidStatus", options: i, onChange: l, intl: u, placeholder: d = "", onKeyDown: f = void 0, segmentId: p, disabled: m = !1, label: h = /* @__PURE__ */ (0, c.jsx)(r, {
|
|
14
14
|
id: "status",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusComponent-
|
|
1
|
+
{"version":3,"file":"StatusComponent-BlVRLPOR.js","names":[],"sources":["../../src/components/FormFields/Status/StatusComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormSelectChoice, type InputSelectComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldInputSelect } from \"../FormFieldInputSelect/FormFieldInputSelect\";\n\ninterface StatusComponentProps<T = FormSelectChoice> extends InputSelectComponentProps<T> {\n segmentId: string;\n errorId?: string;\n explanation?: string | JSX.Element;\n}\n\nexport const Status = ({\n value,\n isErrored,\n errorId = \"invalidStatus\",\n options,\n onChange,\n intl,\n placeholder = \"\",\n onKeyDown = undefined,\n segmentId,\n disabled = false,\n label = <FormattedHTMLMessage id=\"status\" defaultMessage=\"Status\" />,\n explanation = undefined,\n}: StatusComponentProps) => {\n const inputId = `${segmentId}-status`;\n const hasOnlyOneOption = options.length === 1;\n const isFieldHidden =\n getFieldConfigByFieldId(\"status\")?.hidden || getFieldConfigByFieldId(\"statuses\")?.hidden;\n\n // Auto select a status if there is only one option. Available statuses can\n // change after initial render.\n // Uses values instead of arrays for stable identities.\n const onlyOption = hasOnlyOneOption ? options[0] : undefined;\n const selectedValue = value?.value;\n React.useEffect(() => {\n if (onlyOption && selectedValue !== onlyOption.value) {\n onChange(onlyOption);\n }\n }, [onlyOption?.value, selectedValue]);\n\n if (hasOnlyOneOption || isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldInputSelect\n fieldId={inputId}\n options={options}\n onChange={(status: FormSelectChoice) => onChange(status)}\n onKeyDown={onKeyDown}\n value={options.find((option) => option.value === (value && value.value))}\n placeholder={\n placeholder || intl.formatHTMLMessage({ id: \"statusPlaceholder\", defaultMessage: \"Status\" })\n }\n showPlaceholderAndHideLabel={!!placeholder}\n isRequired\n containerId={`sid-${inputId}`}\n label={label}\n disabled={disabled}\n explanation={explanation}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id={`errorId.${errorId}`}\n defaultMessage={`Invalid ${segmentId} status`}\n />\n )\n }\n />\n );\n};\n\nexport const StatusComponent = injectIntl(Status);\n"],"mappings":";;;;;4CA4Ea,IAAkB,GA9DR,EACrB,UACA,cACA,aAAU,iBACV,YACA,aACA,SACA,iBAAc,IACd,eAAY,KAAA,GACZ,cACA,cAAW,IACX,WAAQ,iBAAA,GAAA,EAAA,KAAC,GAAD;CAAsB,IAAG;CAAS,gBAAe;AAAU,CAAA,GACnE,iBAAc,KAAA,QACY;CAC1B,IAAM,IAAU,GAAG,EAAU,UACvB,IAAmB,EAAQ,WAAW,GACtC,IACJ,EAAwB,QAAQ,GAAG,UAAU,EAAwB,UAAU,GAAG,QAK9E,IAAa,IAAmB,EAAQ,KAAK,KAAA,GAC7C,IAAgB,GAAO;CAW7B,OAVA,EAAM,gBAAgB;EACpB,AAAI,KAAc,MAAkB,EAAW,SAC7C,EAAS,CAAU;CAEvB,GAAG,CAAC,GAAY,OAAO,CAAa,CAAC,GAEjC,KAAoB,IACf,OAIP,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,SAAS;EACA;EACT,WAAW,MAA6B,EAAS,CAAM;EAC5C;EACX,OAAO,EAAQ,MAAM,MAAW,EAAO,WAAW,KAAS,EAAM,MAAM;EACvE,aACE,KAAe,EAAK,kBAAkB;GAAE,IAAI;GAAqB,gBAAgB;EAAS,CAAC;EAE7F,6BAA6B,CAAC,CAAC;EAC/B,YAAA;EACA,aAAa,OAAO;EACb;EACG;EACG;EACb,cACE,KACE,iBAAA,GAAA,EAAA,KAAC,GAAD;GACE,IAAI,WAAW;GACf,gBAAgB,WAAW,EAAU;EACtC,CAAA;CAGN,CAAA;AAEL,CAEgD"}
|
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.279.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1788995300702
|
|
9
|
+
* BUILD_DATE: Wed Sep 09 2026 23:08:20 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: fdde81acaae8bfe2d0c43f5327d4569e8353b6e7
|
|
11
11
|
*/
|
|
12
12
|
import { Wt as e } from "./intl-e5WHiYfA.js";
|
|
13
13
|
import { a as t, c as n, n as r, t as i } from "./jsx-runtime-LqzCS-0D.js";
|
|
14
|
-
import { a } from "./stepComponentHelpers-
|
|
15
|
-
import { t as o } from "./FormFieldInputSelect-
|
|
14
|
+
import { i as a } from "./stepComponentHelpers-Cm0-8yXr.js";
|
|
15
|
+
import { t as o } from "./FormFieldInputSelect-CTkrJXtl.js";
|
|
16
16
|
//#region src/components/FormFields/Status/StatusComponent.tsx
|
|
17
17
|
var s = /* @__PURE__ */ e(n(), 1), c = i(), l = t(({ value: e, isErrored: t, errorId: n = "invalidStatus", options: i, onChange: l, intl: u, placeholder: d = "", onKeyDown: f = void 0, segmentId: p, disabled: m = !1, label: h = /* @__PURE__ */ (0, c.jsx)(r, {
|
|
18
18
|
id: "status",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusComponent-
|
|
1
|
+
{"version":3,"file":"StatusComponent-DP2VlynN.js","names":[],"sources":["../../src/components/FormFields/Status/StatusComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormSelectChoice, type InputSelectComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldInputSelect } from \"../FormFieldInputSelect/FormFieldInputSelect\";\n\ninterface StatusComponentProps<T = FormSelectChoice> extends InputSelectComponentProps<T> {\n segmentId: string;\n errorId?: string;\n explanation?: string | JSX.Element;\n}\n\nexport const Status = ({\n value,\n isErrored,\n errorId = \"invalidStatus\",\n options,\n onChange,\n intl,\n placeholder = \"\",\n onKeyDown = undefined,\n segmentId,\n disabled = false,\n label = <FormattedHTMLMessage id=\"status\" defaultMessage=\"Status\" />,\n explanation = undefined,\n}: StatusComponentProps) => {\n const inputId = `${segmentId}-status`;\n const hasOnlyOneOption = options.length === 1;\n const isFieldHidden =\n getFieldConfigByFieldId(\"status\")?.hidden || getFieldConfigByFieldId(\"statuses\")?.hidden;\n\n // Auto select a status if there is only one option. Available statuses can\n // change after initial render.\n // Uses values instead of arrays for stable identities.\n const onlyOption = hasOnlyOneOption ? options[0] : undefined;\n const selectedValue = value?.value;\n React.useEffect(() => {\n if (onlyOption && selectedValue !== onlyOption.value) {\n onChange(onlyOption);\n }\n }, [onlyOption?.value, selectedValue]);\n\n if (hasOnlyOneOption || isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldInputSelect\n fieldId={inputId}\n options={options}\n onChange={(status: FormSelectChoice) => onChange(status)}\n onKeyDown={onKeyDown}\n value={options.find((option) => option.value === (value && value.value))}\n placeholder={\n placeholder || intl.formatHTMLMessage({ id: \"statusPlaceholder\", defaultMessage: \"Status\" })\n }\n showPlaceholderAndHideLabel={!!placeholder}\n isRequired\n containerId={`sid-${inputId}`}\n label={label}\n disabled={disabled}\n explanation={explanation}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id={`errorId.${errorId}`}\n defaultMessage={`Invalid ${segmentId} status`}\n />\n )\n }\n />\n );\n};\n\nexport const StatusComponent = injectIntl(Status);\n"],"mappings":";;;;;4CA4Ea,IAAkB,GA9DR,EACrB,UACA,cACA,aAAU,iBACV,YACA,aACA,SACA,iBAAc,IACd,eAAY,KAAA,GACZ,cACA,cAAW,IACX,WAAQ,iBAAA,GAAA,EAAA,KAAC,GAAD;CAAsB,IAAG;CAAS,gBAAe;AAAU,CAAA,GACnE,iBAAc,KAAA,QACY;CAC1B,IAAM,IAAU,GAAG,EAAU,UACvB,IAAmB,EAAQ,WAAW,GACtC,IACJ,EAAwB,QAAQ,GAAG,UAAU,EAAwB,UAAU,GAAG,QAK9E,IAAa,IAAmB,EAAQ,KAAK,KAAA,GAC7C,IAAgB,GAAO;CAW7B,OAVA,EAAM,gBAAgB;EACpB,AAAI,KAAc,MAAkB,EAAW,SAC7C,EAAS,CAAU;CAEvB,GAAG,CAAC,GAAY,OAAO,CAAa,CAAC,GAEjC,KAAoB,IACf,OAIP,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,SAAS;EACA;EACT,WAAW,MAA6B,EAAS,CAAM;EAC5C;EACX,OAAO,EAAQ,MAAM,MAAW,EAAO,WAAW,KAAS,EAAM,MAAM;EACvE,aACE,KAAe,EAAK,kBAAkB;GAAE,IAAI;GAAqB,gBAAgB;EAAS,CAAC;EAE7F,6BAA6B,CAAC,CAAC;EAC/B,YAAA;EACA,aAAa,OAAO;EACb;EACG;EACG;EACb,cACE,KACE,iBAAA,GAAA,EAAA,KAAC,GAAD;GACE,IAAI,WAAW;GACf,gBAAgB,WAAW,EAAU;EACtC,CAAA;CAGN,CAAA;AAEL,CAEgD"}
|
|
@@ -4,36 +4,36 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.279.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1788995300702
|
|
9
|
+
* BUILD_DATE: Wed Sep 09 2026 23:08:20 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: fdde81acaae8bfe2d0c43f5327d4569e8353b6e7
|
|
11
11
|
*/
|
|
12
12
|
import { Nt as e, Rt as t, Wt as n, s as r } from "./intl-e5WHiYfA.js";
|
|
13
13
|
import { a as i, c as a, n as o, t as s } from "./jsx-runtime-LqzCS-0D.js";
|
|
14
|
-
import {
|
|
14
|
+
import { p as c } from "./FormFooterComponent-DEFTsR2L.js";
|
|
15
15
|
import { t as l } from "../_mysheerid-preview.js";
|
|
16
|
-
import { t as u } from "./useCollectFieldsEndpoint-
|
|
17
|
-
import {
|
|
18
|
-
import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-
|
|
19
|
-
import { n as C, t as w } from "./PersonalInfoStepSubmitButton-
|
|
20
|
-
import { t as T } from "./BirthDateComponent-
|
|
21
|
-
import { t as E } from "./PostalCodeComponent-
|
|
22
|
-
import { t as D } from "./CountryComponentWrapper-
|
|
23
|
-
import { t as O } from "./City-
|
|
24
|
-
import { t as k } from "./AddressComponent-
|
|
25
|
-
import { t as A } from "./ExtraMessage-
|
|
26
|
-
import { t as j } from "./ChangeLocaleComponent-
|
|
27
|
-
import { t as M } from "./PersonalInfoStepWrapper-
|
|
16
|
+
import { t as u } from "./useCollectFieldsEndpoint-jY0agtQB.js";
|
|
17
|
+
import { c as d, d as f, g as p, i as m, r as h, t as g } from "./stepComponentHelpers-Cm0-8yXr.js";
|
|
18
|
+
import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-DlgV116k.js";
|
|
19
|
+
import { n as C, t as w } from "./PersonalInfoStepSubmitButton-DGdDk2n_.js";
|
|
20
|
+
import { t as T } from "./BirthDateComponent-D3HhW2Lq.js";
|
|
21
|
+
import { t as E } from "./PostalCodeComponent-C6gU75E3.js";
|
|
22
|
+
import { t as D } from "./CountryComponentWrapper-BfX4aqM2.js";
|
|
23
|
+
import { t as O } from "./City-DT_jbaQV.js";
|
|
24
|
+
import { t as k } from "./AddressComponent-BXt3LO3L.js";
|
|
25
|
+
import { t as A } from "./ExtraMessage-owvdVH7U.js";
|
|
26
|
+
import { t as j } from "./ChangeLocaleComponent-oYqC5rPO.js";
|
|
27
|
+
import { t as M } from "./PersonalInfoStepWrapper-BUOcq-Sb.js";
|
|
28
28
|
//#region src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx
|
|
29
29
|
var N = /* @__PURE__ */ n(a(), 1), P = s(), F = i(({ verificationService: n, intl: i }) => {
|
|
30
|
-
let a = n.viewModel, { fieldValidationErrors: s } = n, F = n.verificationResponse, I = c(F), L = t(() => a.countryChoice.value,
|
|
30
|
+
let a = n.viewModel, { fieldValidationErrors: s } = n, F = n.verificationResponse, I = c(F), L = t(() => a.countryChoice.value, h(g(n.programTheme, i)).value), R = L === "US" ? [{ key: "postalCode" }] : [], z = L !== "US" || n.programTheme.isSmsNotifierConfigured || n.programTheme.smsLoopEnabled, B = L !== "US" || n.programTheme.smsLoopEnabled, V = a.localeChoice.value, H = r();
|
|
31
31
|
!s.phoneNumber && F.errorIds && F.errorIds.includes("invalidPhoneNumber") && n.updateFieldValidationErrors({
|
|
32
32
|
...s,
|
|
33
33
|
phoneNumber: "invalidPhoneNumber"
|
|
34
34
|
});
|
|
35
35
|
let U = (e, t) => {
|
|
36
|
-
let r =
|
|
36
|
+
let r = f(a, e, t);
|
|
37
37
|
n.updateViewModel(r);
|
|
38
38
|
}, { isFieldRequired: W } = u({
|
|
39
39
|
verificationId: F.verificationId,
|
|
@@ -42,7 +42,7 @@ var N = /* @__PURE__ */ n(a(), 1), P = s(), F = i(({ verificationService: n, int
|
|
|
42
42
|
defaultRequiredFields: R
|
|
43
43
|
});
|
|
44
44
|
return N.useEffect(() => {
|
|
45
|
-
|
|
45
|
+
p("phoneNumber", a.phoneNumber, n);
|
|
46
46
|
}, [a.country]), /* @__PURE__ */ (0, P.jsxs)(M, {
|
|
47
47
|
verificationService: n,
|
|
48
48
|
step: F.currentStep,
|
|
@@ -54,23 +54,23 @@ var N = /* @__PURE__ */ n(a(), 1), P = s(), F = i(({ verificationService: n, int
|
|
|
54
54
|
/* @__PURE__ */ (0, P.jsx)(j, { verificationService: n }),
|
|
55
55
|
/* @__PURE__ */ (0, P.jsx)(D, {
|
|
56
56
|
verificationService: n,
|
|
57
|
-
disabled:
|
|
57
|
+
disabled: m("country")?.disabled
|
|
58
58
|
}),
|
|
59
59
|
/* @__PURE__ */ (0, P.jsxs)("div", {
|
|
60
60
|
className: "sid-names",
|
|
61
61
|
children: [/* @__PURE__ */ (0, P.jsx)(_, {
|
|
62
62
|
value: a.firstName,
|
|
63
63
|
isErrored: !!s.firstName,
|
|
64
|
-
disabled:
|
|
64
|
+
disabled: m("firstName")?.disabled,
|
|
65
65
|
onChange: (e) => {
|
|
66
|
-
U("firstName", e),
|
|
66
|
+
U("firstName", e), p("firstName", e, n);
|
|
67
67
|
}
|
|
68
68
|
}), /* @__PURE__ */ (0, P.jsx)(v, {
|
|
69
69
|
value: a.lastName,
|
|
70
70
|
isErrored: !!s.lastName,
|
|
71
|
-
disabled:
|
|
71
|
+
disabled: m("lastName")?.disabled,
|
|
72
72
|
onChange: (e) => {
|
|
73
|
-
U("lastName", e),
|
|
73
|
+
U("lastName", e), p("lastName", e, n);
|
|
74
74
|
}
|
|
75
75
|
})]
|
|
76
76
|
}),
|
|
@@ -78,19 +78,19 @@ var N = /* @__PURE__ */ n(a(), 1), P = s(), F = i(({ verificationService: n, int
|
|
|
78
78
|
errorId: s.birthDate,
|
|
79
79
|
locale: V,
|
|
80
80
|
onChange: (e) => {
|
|
81
|
-
U("birthDate", e),
|
|
81
|
+
U("birthDate", e), p("birthDate", e, n);
|
|
82
82
|
},
|
|
83
83
|
value: a.birthDate,
|
|
84
|
-
disabled:
|
|
84
|
+
disabled: m("birthDate")?.disabled
|
|
85
85
|
}),
|
|
86
86
|
W("city") && /* @__PURE__ */ (0, P.jsx)(O, {
|
|
87
87
|
value: a.city,
|
|
88
88
|
isRequired: !0,
|
|
89
89
|
isErrored: !!s.city,
|
|
90
90
|
errorId: s.city,
|
|
91
|
-
disabled:
|
|
91
|
+
disabled: m("city")?.disabled,
|
|
92
92
|
onChange: (e) => {
|
|
93
|
-
U("city", e),
|
|
93
|
+
U("city", e), p("city", e, n);
|
|
94
94
|
}
|
|
95
95
|
}),
|
|
96
96
|
W("address1") && /* @__PURE__ */ (0, P.jsx)(k, {
|
|
@@ -99,16 +99,16 @@ var N = /* @__PURE__ */ n(a(), 1), P = s(), F = i(({ verificationService: n, int
|
|
|
99
99
|
isErrored: !!s.address1,
|
|
100
100
|
errorId: s.address1,
|
|
101
101
|
onChange: (e) => {
|
|
102
|
-
U("address1", e),
|
|
102
|
+
U("address1", e), p("address1", e, n);
|
|
103
103
|
}
|
|
104
104
|
}),
|
|
105
105
|
W("postalCode") && /* @__PURE__ */ (0, P.jsx)(E, {
|
|
106
106
|
isErrored: !!s.postalCode,
|
|
107
107
|
onChange: (e) => {
|
|
108
|
-
U("postalCode", e),
|
|
108
|
+
U("postalCode", e), p("postalCode", e, n);
|
|
109
109
|
},
|
|
110
110
|
value: a.postalCode,
|
|
111
|
-
disabled:
|
|
111
|
+
disabled: m("postalCode")?.disabled
|
|
112
112
|
}),
|
|
113
113
|
/* @__PURE__ */ (0, P.jsx)(C, {
|
|
114
114
|
value: a.email,
|
|
@@ -118,20 +118,20 @@ var N = /* @__PURE__ */ n(a(), 1), P = s(), F = i(({ verificationService: n, int
|
|
|
118
118
|
defaultMessage: " "
|
|
119
119
|
}),
|
|
120
120
|
onChange: (e) => {
|
|
121
|
-
U("email", e),
|
|
121
|
+
U("email", e), p("email", e, n);
|
|
122
122
|
},
|
|
123
|
-
onKeyDown: (e) =>
|
|
124
|
-
disabled:
|
|
123
|
+
onKeyDown: (e) => d(e),
|
|
124
|
+
disabled: m("email")?.disabled
|
|
125
125
|
}),
|
|
126
126
|
z ? /* @__PURE__ */ (0, P.jsx)(b, {
|
|
127
127
|
isRequired: B,
|
|
128
128
|
value: a.phoneNumber,
|
|
129
129
|
isErrored: !!s.phoneNumber,
|
|
130
130
|
onChange: (e) => {
|
|
131
|
-
U("phoneNumber", e),
|
|
131
|
+
U("phoneNumber", e), p("phoneNumber", e, n);
|
|
132
132
|
},
|
|
133
133
|
selectedCountryCode: a.countryChoice && a.countryChoice.value,
|
|
134
|
-
disabled:
|
|
134
|
+
disabled: m("phoneNumber")?.disabled
|
|
135
135
|
}) : null,
|
|
136
136
|
H.customFormFields.map((e) => /* @__PURE__ */ (0, P.jsx)(y, {
|
|
137
137
|
config: e,
|
|
@@ -144,10 +144,10 @@ var N = /* @__PURE__ */ n(a(), 1), P = s(), F = i(({ verificationService: n, int
|
|
|
144
144
|
U("metadata", {
|
|
145
145
|
...n.viewModel.metadata,
|
|
146
146
|
marketConsentValue: e
|
|
147
|
-
}),
|
|
147
|
+
}), p("marketConsentValue", e, n);
|
|
148
148
|
},
|
|
149
149
|
viewModel: a,
|
|
150
|
-
disabled:
|
|
150
|
+
disabled: m("marketConsentValue")?.disabled
|
|
151
151
|
}),
|
|
152
152
|
/* @__PURE__ */ (0, P.jsx)(A, {
|
|
153
153
|
verificationService: n,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepAgePersonalInfo-BOnOqXxm.js","names":[],"sources":["../../src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx"],"sourcesContent":["/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, type InjectedIntl, injectIntl } from \"react-intl\";\n\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\n\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type AgePersonalInfoViewModel,\n type AgePersonalInfoResponse,\n type FormSelectChoice,\n type Country,\n type FieldDescription,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n getAvailableCountryChoices,\n getDefaultCountryChoice,\n produceDraftViewModel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\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 StepAgePersonalInfoComponentProps {\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nconst StepAgePersonalInfo = ({ verificationService, intl }: StepAgePersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as AgePersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as AgePersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const countryChoices: FormSelectChoice<Country, string>[] = getAvailableCountryChoices(\n verificationService.programTheme,\n intl,\n );\n const defaultCountryChoice: FormSelectChoice<Country, string> =\n getDefaultCountryChoice(countryChoices);\n const safeCountryValue = getSafe(() => viewModel.countryChoice.value, defaultCountryChoice.value);\n const defaultRequiredFields: FieldDescription[] =\n safeCountryValue === \"US\" ? [{ key: \"postalCode\" }] : [];\n\n // PhoneNumber is required for all non-US age programs and if smsLoop is enabled.\n const showPhoneNumber =\n safeCountryValue !== \"US\" ||\n verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled;\n const phoneNumberRequired =\n safeCountryValue !== \"US\" || verificationService.programTheme.smsLoopEnabled;\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n if (\n !fieldValidationErrors.phoneNumber &&\n verificationResponse.errorIds &&\n verificationResponse.errorIds.includes(\"invalidPhoneNumber\")\n ) {\n verificationService.updateFieldValidationErrors({\n ...fieldValidationErrors,\n phoneNumber: \"invalidPhoneNumber\",\n });\n }\n\n const updateAgeViewModel = (key: keyof AgePersonalInfoViewModel, value: any) => {\n const nextState: AgePersonalInfoViewModel = produceDraftViewModel(viewModel, key, value);\n verificationService.updateViewModel(nextState);\n };\n\n const { isFieldRequired } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n defaultRequiredFields,\n });\n\n React.useEffect(() => {\n // When country changes re-check the phone number validation\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", viewModel.phoneNumber, verificationService);\n }, [viewModel.country]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader verificationService={verificationService} classNameIdentifier=\"age\" />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\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 updateAgeViewModel(\"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 updateAgeViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateAgeViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n {isFieldRequired(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isRequired\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateAgeViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isRequired\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n onChange={(value) => {\n updateAgeViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"postalCode\") && (\n <PostalCode\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateAgeViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateAgeViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {showPhoneNumber ? (\n <PhoneNumber\n isRequired={phoneNumberRequired}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateAgeViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateAgeViewModel(\"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 <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectAgePersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepAgePersonalInfoComponent = injectIntl(StepAgePersonalInfo);\n"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"StepAgePersonalInfo-BfVe24h1.js","names":[],"sources":["../../src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx"],"sourcesContent":["/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, type InjectedIntl, injectIntl } from \"react-intl\";\n\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\n\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type AgePersonalInfoViewModel,\n type AgePersonalInfoResponse,\n type FormSelectChoice,\n type Country,\n type FieldDescription,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n getAvailableCountryChoices,\n getDefaultCountryChoice,\n produceDraftViewModel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\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 StepAgePersonalInfoComponentProps {\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nconst StepAgePersonalInfo = ({ verificationService, intl }: StepAgePersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as AgePersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as AgePersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const countryChoices: FormSelectChoice<Country, string>[] = getAvailableCountryChoices(\n verificationService.programTheme,\n intl,\n );\n const defaultCountryChoice: FormSelectChoice<Country, string> =\n getDefaultCountryChoice(countryChoices);\n const safeCountryValue = getSafe(() => viewModel.countryChoice.value, defaultCountryChoice.value);\n const defaultRequiredFields: FieldDescription[] =\n safeCountryValue === \"US\" ? [{ key: \"postalCode\" }] : [];\n\n // PhoneNumber is required for all non-US age programs and if smsLoop is enabled.\n const showPhoneNumber =\n safeCountryValue !== \"US\" ||\n verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled;\n const phoneNumberRequired =\n safeCountryValue !== \"US\" || verificationService.programTheme.smsLoopEnabled;\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n if (\n !fieldValidationErrors.phoneNumber &&\n verificationResponse.errorIds &&\n verificationResponse.errorIds.includes(\"invalidPhoneNumber\")\n ) {\n verificationService.updateFieldValidationErrors({\n ...fieldValidationErrors,\n phoneNumber: \"invalidPhoneNumber\",\n });\n }\n\n const updateAgeViewModel = (key: keyof AgePersonalInfoViewModel, value: any) => {\n const nextState: AgePersonalInfoViewModel = produceDraftViewModel(viewModel, key, value);\n verificationService.updateViewModel(nextState);\n };\n\n const { isFieldRequired } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n defaultRequiredFields,\n });\n\n React.useEffect(() => {\n // When country changes re-check the phone number validation\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", viewModel.phoneNumber, verificationService);\n }, [viewModel.country]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader verificationService={verificationService} classNameIdentifier=\"age\" />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\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 updateAgeViewModel(\"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 updateAgeViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateAgeViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n {isFieldRequired(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isRequired\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateAgeViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isRequired\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n onChange={(value) => {\n updateAgeViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"postalCode\") && (\n <PostalCode\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateAgeViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateAgeViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {showPhoneNumber ? (\n <PhoneNumber\n isRequired={phoneNumberRequired}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateAgeViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateAgeViewModel(\"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 <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectAgePersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepAgePersonalInfoComponent = injectIntl(StepAgePersonalInfo);\n"],"mappings":";;;;;;;;;;;;;;;;;4CA6Pa,IAA+B,GAxMf,EAAE,wBAAqB,cAA8C;CAChG,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IAAuB,EAAoB,sBAC3C,IAAqB,EAAsB,CAAoB,GAO/D,IAAmB,QAAc,EAAU,cAAc,OAD7D,EAL0D,EAC1D,EAAoB,cACpB,CAGwB,CAC4C,EAAqB,KAAK,GAC1F,IACJ,MAAqB,OAAO,CAAC,EAAE,KAAK,aAAa,CAAC,IAAI,CAAC,GAGnD,IACJ,MAAqB,QACrB,EAAoB,aAAa,2BACjC,EAAoB,aAAa,gBAC7B,IACJ,MAAqB,QAAQ,EAAoB,aAAa,gBAE1D,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW;CAE3B,AACE,CAAC,EAAsB,eACvB,EAAqB,YACrB,EAAqB,SAAS,SAAS,oBAAoB,KAE3D,EAAoB,4BAA4B;EAC9C,GAAG;EACH,aAAa;CACf,CAAC;CAGH,IAAM,KAAsB,GAAqC,MAAe;EAC9E,IAAM,IAAsC,EAAsB,GAAW,GAAK,CAAK;EACvF,EAAoB,gBAAgB,CAAS;CAC/C,GAEM,EAAE,uBAAoB,EAAyB;EACnD,gBAAgB,EAAqB;EACrC,aAAa,EAAqB;EAClC;EACA;CACF,CAAC;CAOD,OALA,EAAM,gBAAgB;EAEpB,EAAqC,eAAe,EAAU,aAAa,CAAmB;CAChG,GAAG,CAAC,EAAU,OAAO,CAAC,GAGpB,iBAAA,GAAA,EAAA,MAAC,GAAD;EACuB;EACrB,MAAM,EAAqB;YAF7B;GAIE,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyC;IAAqB,qBAAoB;GAAO,CAAA;GAEzF,iBAAA,GAAA,EAAA,KAAC,GAAD,EAA8C,uBAAsB,CAAA;GACpE,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,UAAU,EAAwB,SAAS,GAAG;GAC/C,CAAA;GAED,iBAAA,GAAA,EAAA,MAAC,OAAD;IAAK,WAAU;cAAf,CACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,OAAO,EAAU;KACjB,WAAW,CAAC,CAAC,EAAsB;KACnC,UAAU,EAAwB,WAAW,GAAG;KAChD,WAAW,MAAa;MAEtB,AADA,EAAmB,aAAa,CAAQ,GACxC,EAAqC,aAAa,GAAU,CAAmB;KACjF;IACD,CAAA,GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,OAAO,EAAU;KACjB,WAAW,CAAC,CAAC,EAAsB;KACnC,UAAU,EAAwB,UAAU,GAAG;KAC/C,WAAW,MAAa;MAEtB,AADA,EAAmB,YAAY,CAAQ,GACvC,EAAqC,YAAY,GAAU,CAAmB;KAChF;IACD,CAAA,CACE;;GACL,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,SAAS,EAAsB;IACvB;IACR,WAAW,MAAa;KAEtB,AADA,EAAmB,aAAa,CAAQ,GACxC,EAAqC,aAAa,GAAU,CAAmB;IACjF;IACA,OAAO,EAAU;IACjB,UAAU,EAAwB,WAAW,GAAG;GACjD,CAAA;GACA,EAAgB,MAAM,KACrB,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,OAAO,EAAU;IACjB,YAAA;IACA,WAAW,CAAC,CAAC,EAAsB;IACnC,SAAS,EAAsB;IAC/B,UAAU,EAAwB,MAAM,GAAG;IAC3C,WAAW,MAAU;KAEnB,AADA,EAAmB,QAAQ,CAAK,GAChC,EAAqC,QAAQ,GAAO,CAAmB;IACzE;GACD,CAAA;GAEF,EAAgB,UAAU,KACzB,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,OAAO,EAAU;IACjB,YAAA;IACA,WAAW,CAAC,CAAC,EAAsB;IACnC,SAAS,EAAsB;IAC/B,WAAW,MAAU;KAEnB,AADA,EAAmB,YAAY,CAAK,GACpC,EAAqC,YAAY,GAAO,CAAmB;IAC7E;GACD,CAAA;GAEF,EAAgB,YAAY,KAC3B,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAEtB,AADA,EAAmB,cAAc,CAAQ,GACzC,EAAqC,cAAc,GAAU,CAAmB;IAClF;IACA,OAAO,EAAU;IACjB,UAAU,EAAwB,YAAY,GAAG;GAClD,CAAA;GAEH,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,OAAO,EAAU;IACjB,WAAW,CAAC,CAAC,EAAsB;IACnC,aAAa,iBAAA,GAAA,EAAA,KAAC,GAAD;KAAsB,IAAG;KAAmB,gBAAe;IAAK,CAAA;IAC7E,WAAW,MAAa;KAEtB,AADA,EAAmB,SAAS,CAAQ,GACpC,EAAqC,SAAS,GAAU,CAAmB;IAC7E;IACA,YAAY,MAAU,EAAqB,CAAK;IAChD,UAAU,EAAwB,OAAO,GAAG;GAC7C,CAAA;GAEA,IACC,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,YAAY;IACZ,OAAO,EAAU;IACjB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAEtB,AADA,EAAmB,eAAe,CAAQ,GAC1C,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,EAAmB,YAAY;MAC7B,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;GACD,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,CAE0E"}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.279.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1788995296072
|
|
5
|
+
* BUILD_DATE: Wed Sep 09 2026 23:08:16 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: fdde81acaae8bfe2d0c43f5327d4569e8353b6e7
|
|
7
7
|
*/
|
|
8
8
|
import { Ft as e, Wt as t, lt as n, n as r } from "./options-pBCAJBwS.js";
|
|
9
9
|
import { a as i, c as a, n as o, t as s } from "./jsx-runtime-Ini3eO9_.js";
|
|
10
|
-
import {
|
|
10
|
+
import { h as c } from "./FormFooterComponent-CKDwnyg2.js";
|
|
11
11
|
import { n as l } from "../sheerid.js";
|
|
12
|
-
import { t as u } from "./useCollectFieldsEndpoint-
|
|
13
|
-
import {
|
|
14
|
-
import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-
|
|
15
|
-
import { n as C, t as w } from "./PersonalInfoStepSubmitButton-
|
|
16
|
-
import { t as T } from "./BirthDateComponent-
|
|
17
|
-
import { t as E } from "./PostalCodeComponent-
|
|
18
|
-
import { t as D } from "./CountryComponentWrapper-
|
|
19
|
-
import { t as O } from "./City-
|
|
20
|
-
import { t as k } from "./AddressComponent-
|
|
21
|
-
import { t as A } from "./ExtraMessage-
|
|
22
|
-
import { t as j } from "./ChangeLocaleComponent-
|
|
23
|
-
import { t as M } from "./PersonalInfoStepWrapper-
|
|
12
|
+
import { t as u } from "./useCollectFieldsEndpoint-D_Qf33n2.js";
|
|
13
|
+
import { c as d, d as f, g as p, i as m, r as h, t as g } from "./stepComponentHelpers-BOwTk6Tq.js";
|
|
14
|
+
import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-_azicSSq.js";
|
|
15
|
+
import { n as C, t as w } from "./PersonalInfoStepSubmitButton-ksVF3h1P.js";
|
|
16
|
+
import { t as T } from "./BirthDateComponent-CD4M-BN9.js";
|
|
17
|
+
import { t as E } from "./PostalCodeComponent-DShP_eiB.js";
|
|
18
|
+
import { t as D } from "./CountryComponentWrapper-DziHrBMX.js";
|
|
19
|
+
import { t as O } from "./City-Ca92IEBF.js";
|
|
20
|
+
import { t as k } from "./AddressComponent-lF-v0RZf.js";
|
|
21
|
+
import { t as A } from "./ExtraMessage-BCHypT6I.js";
|
|
22
|
+
import { t as j } from "./ChangeLocaleComponent-DaswLDgf.js";
|
|
23
|
+
import { t as M } from "./PersonalInfoStepWrapper-bFDtj-hV.js";
|
|
24
24
|
//#region src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx
|
|
25
25
|
var N = /* @__PURE__ */ t(a(), 1), P = s(), F = i(({ verificationService: t, intl: i }) => {
|
|
26
|
-
let a = t.viewModel, { fieldValidationErrors: s } = t, F = t.verificationResponse, I = c(F), L = n(() => a.countryChoice.value,
|
|
26
|
+
let a = t.viewModel, { fieldValidationErrors: s } = t, F = t.verificationResponse, I = c(F), L = n(() => a.countryChoice.value, h(g(t.programTheme, i)).value), R = L === "US" ? [{ key: "postalCode" }] : [], z = L !== "US" || t.programTheme.isSmsNotifierConfigured || t.programTheme.smsLoopEnabled, B = L !== "US" || t.programTheme.smsLoopEnabled, V = a.localeChoice.value, H = r();
|
|
27
27
|
!s.phoneNumber && F.errorIds && F.errorIds.includes("invalidPhoneNumber") && t.updateFieldValidationErrors({
|
|
28
28
|
...s,
|
|
29
29
|
phoneNumber: "invalidPhoneNumber"
|
|
30
30
|
});
|
|
31
31
|
let U = (e, n) => {
|
|
32
|
-
let r =
|
|
32
|
+
let r = f(a, e, n);
|
|
33
33
|
t.updateViewModel(r);
|
|
34
34
|
}, { isFieldRequired: W } = u({
|
|
35
35
|
verificationId: F.verificationId,
|
|
@@ -38,7 +38,7 @@ var N = /* @__PURE__ */ t(a(), 1), P = s(), F = i(({ verificationService: t, int
|
|
|
38
38
|
defaultRequiredFields: R
|
|
39
39
|
});
|
|
40
40
|
return N.useEffect(() => {
|
|
41
|
-
|
|
41
|
+
p("phoneNumber", a.phoneNumber, t);
|
|
42
42
|
}, [a.country]), /* @__PURE__ */ (0, P.jsxs)(M, {
|
|
43
43
|
verificationService: t,
|
|
44
44
|
step: F.currentStep,
|
|
@@ -50,23 +50,23 @@ var N = /* @__PURE__ */ t(a(), 1), P = s(), F = i(({ verificationService: t, int
|
|
|
50
50
|
/* @__PURE__ */ (0, P.jsx)(j, { verificationService: t }),
|
|
51
51
|
/* @__PURE__ */ (0, P.jsx)(D, {
|
|
52
52
|
verificationService: t,
|
|
53
|
-
disabled:
|
|
53
|
+
disabled: m("country")?.disabled
|
|
54
54
|
}),
|
|
55
55
|
/* @__PURE__ */ (0, P.jsxs)("div", {
|
|
56
56
|
className: "sid-names",
|
|
57
57
|
children: [/* @__PURE__ */ (0, P.jsx)(_, {
|
|
58
58
|
value: a.firstName,
|
|
59
59
|
isErrored: !!s.firstName,
|
|
60
|
-
disabled:
|
|
60
|
+
disabled: m("firstName")?.disabled,
|
|
61
61
|
onChange: (e) => {
|
|
62
|
-
U("firstName", e),
|
|
62
|
+
U("firstName", e), p("firstName", e, t);
|
|
63
63
|
}
|
|
64
64
|
}), /* @__PURE__ */ (0, P.jsx)(v, {
|
|
65
65
|
value: a.lastName,
|
|
66
66
|
isErrored: !!s.lastName,
|
|
67
|
-
disabled:
|
|
67
|
+
disabled: m("lastName")?.disabled,
|
|
68
68
|
onChange: (e) => {
|
|
69
|
-
U("lastName", e),
|
|
69
|
+
U("lastName", e), p("lastName", e, t);
|
|
70
70
|
}
|
|
71
71
|
})]
|
|
72
72
|
}),
|
|
@@ -74,19 +74,19 @@ var N = /* @__PURE__ */ t(a(), 1), P = s(), F = i(({ verificationService: t, int
|
|
|
74
74
|
errorId: s.birthDate,
|
|
75
75
|
locale: V,
|
|
76
76
|
onChange: (e) => {
|
|
77
|
-
U("birthDate", e),
|
|
77
|
+
U("birthDate", e), p("birthDate", e, t);
|
|
78
78
|
},
|
|
79
79
|
value: a.birthDate,
|
|
80
|
-
disabled:
|
|
80
|
+
disabled: m("birthDate")?.disabled
|
|
81
81
|
}),
|
|
82
82
|
W("city") && /* @__PURE__ */ (0, P.jsx)(O, {
|
|
83
83
|
value: a.city,
|
|
84
84
|
isRequired: !0,
|
|
85
85
|
isErrored: !!s.city,
|
|
86
86
|
errorId: s.city,
|
|
87
|
-
disabled:
|
|
87
|
+
disabled: m("city")?.disabled,
|
|
88
88
|
onChange: (e) => {
|
|
89
|
-
U("city", e),
|
|
89
|
+
U("city", e), p("city", e, t);
|
|
90
90
|
}
|
|
91
91
|
}),
|
|
92
92
|
W("address1") && /* @__PURE__ */ (0, P.jsx)(k, {
|
|
@@ -95,16 +95,16 @@ var N = /* @__PURE__ */ t(a(), 1), P = s(), F = i(({ verificationService: t, int
|
|
|
95
95
|
isErrored: !!s.address1,
|
|
96
96
|
errorId: s.address1,
|
|
97
97
|
onChange: (e) => {
|
|
98
|
-
U("address1", e),
|
|
98
|
+
U("address1", e), p("address1", e, t);
|
|
99
99
|
}
|
|
100
100
|
}),
|
|
101
101
|
W("postalCode") && /* @__PURE__ */ (0, P.jsx)(E, {
|
|
102
102
|
isErrored: !!s.postalCode,
|
|
103
103
|
onChange: (e) => {
|
|
104
|
-
U("postalCode", e),
|
|
104
|
+
U("postalCode", e), p("postalCode", e, t);
|
|
105
105
|
},
|
|
106
106
|
value: a.postalCode,
|
|
107
|
-
disabled:
|
|
107
|
+
disabled: m("postalCode")?.disabled
|
|
108
108
|
}),
|
|
109
109
|
/* @__PURE__ */ (0, P.jsx)(C, {
|
|
110
110
|
value: a.email,
|
|
@@ -114,20 +114,20 @@ var N = /* @__PURE__ */ t(a(), 1), P = s(), F = i(({ verificationService: t, int
|
|
|
114
114
|
defaultMessage: " "
|
|
115
115
|
}),
|
|
116
116
|
onChange: (e) => {
|
|
117
|
-
U("email", e),
|
|
117
|
+
U("email", e), p("email", e, t);
|
|
118
118
|
},
|
|
119
|
-
onKeyDown: (e) =>
|
|
120
|
-
disabled:
|
|
119
|
+
onKeyDown: (e) => d(e),
|
|
120
|
+
disabled: m("email")?.disabled
|
|
121
121
|
}),
|
|
122
122
|
z ? /* @__PURE__ */ (0, P.jsx)(b, {
|
|
123
123
|
isRequired: B,
|
|
124
124
|
value: a.phoneNumber,
|
|
125
125
|
isErrored: !!s.phoneNumber,
|
|
126
126
|
onChange: (e) => {
|
|
127
|
-
U("phoneNumber", e),
|
|
127
|
+
U("phoneNumber", e), p("phoneNumber", e, t);
|
|
128
128
|
},
|
|
129
129
|
selectedCountryCode: a.countryChoice && a.countryChoice.value,
|
|
130
|
-
disabled:
|
|
130
|
+
disabled: m("phoneNumber")?.disabled
|
|
131
131
|
}) : null,
|
|
132
132
|
H.customFormFields.map((e) => /* @__PURE__ */ (0, P.jsx)(y, {
|
|
133
133
|
config: e,
|
|
@@ -140,10 +140,10 @@ var N = /* @__PURE__ */ t(a(), 1), P = s(), F = i(({ verificationService: t, int
|
|
|
140
140
|
U("metadata", {
|
|
141
141
|
...t.viewModel.metadata,
|
|
142
142
|
marketConsentValue: e
|
|
143
|
-
}),
|
|
143
|
+
}), p("marketConsentValue", e, t);
|
|
144
144
|
},
|
|
145
145
|
viewModel: a,
|
|
146
|
-
disabled:
|
|
146
|
+
disabled: m("marketConsentValue")?.disabled
|
|
147
147
|
}),
|
|
148
148
|
/* @__PURE__ */ (0, P.jsx)(A, {
|
|
149
149
|
verificationService: t,
|