@sheerid/jslib 2.277.0 → 2.278.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 -90
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/AddressComponent-CaMRwh5O.js +37 -0
- package/chunk/AddressComponent-CaMRwh5O.js.map +1 -0
- package/chunk/AddressComponent-LZTJCC-l.js +41 -0
- package/chunk/AddressComponent-LZTJCC-l.js.map +1 -0
- package/chunk/AnnouncingHeader-CCVSQeQR.js +4 -4
- package/chunk/AnnouncingHeader-YPjBYzsZ.js +4 -4
- package/chunk/{ApiUrls-C93kMsSC.js → ApiUrls-DRCiQtw6.js} +5 -5
- package/chunk/{ApiUrls-C93kMsSC.js.map → ApiUrls-DRCiQtw6.js.map} +1 -1
- package/chunk/{ApiUrls-BEuqNxHS.js → ApiUrls-_Hc7S_uv.js} +5 -5
- package/chunk/{ApiUrls-BEuqNxHS.js.map → ApiUrls-_Hc7S_uv.js.map} +1 -1
- package/chunk/{BirthDateComponent-f9e4it7x.js → BirthDateComponent-CAQJ-IWM.js} +5 -5
- package/chunk/{BirthDateComponent-MZDnneXy.js.map → BirthDateComponent-CAQJ-IWM.js.map} +1 -1
- package/chunk/{BirthDateComponent-MZDnneXy.js → BirthDateComponent-_BjsBSM4.js} +5 -5
- package/chunk/{BirthDateComponent-f9e4it7x.js.map → BirthDateComponent-_BjsBSM4.js.map} +1 -1
- package/chunk/{CaptchaComponent-CCq7YSum.js → CaptchaComponent-BqREyMje.js} +118 -117
- package/chunk/CaptchaComponent-BqREyMje.js.map +1 -0
- package/chunk/{CaptchaComponent-hqx9tSkk.js → CaptchaComponent-D2OIvL-b.js} +118 -117
- package/chunk/CaptchaComponent-D2OIvL-b.js.map +1 -0
- package/chunk/{ChangeLocaleComponent-DtJjnuBc.js → ChangeLocaleComponent-BvnXlDa-.js} +5 -5
- package/chunk/{ChangeLocaleComponent-CKKK4OcA.js.map → ChangeLocaleComponent-BvnXlDa-.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-CKKK4OcA.js → ChangeLocaleComponent-CpHB_D8Q.js} +5 -5
- package/chunk/{ChangeLocaleComponent-DtJjnuBc.js.map → ChangeLocaleComponent-CpHB_D8Q.js.map} +1 -1
- package/chunk/City-B6bQRRvQ.js +40 -0
- package/chunk/City-B6bQRRvQ.js.map +1 -0
- package/chunk/City-CCBan228.js +36 -0
- package/chunk/City-CCBan228.js.map +1 -0
- package/chunk/{CollegeNameComponent-C47D3rO4.js → CollegeNameComponent-BbxIOfzR.js} +5 -5
- package/chunk/{CollegeNameComponent-4QYMIIcd.js.map → CollegeNameComponent-BbxIOfzR.js.map} +1 -1
- package/chunk/{CollegeNameComponent-4QYMIIcd.js → CollegeNameComponent-CEJO0-bq.js} +5 -5
- package/chunk/{CollegeNameComponent-C47D3rO4.js.map → CollegeNameComponent-CEJO0-bq.js.map} +1 -1
- package/chunk/CopyToClipboardComponent-DGi3bxV2.js +4 -4
- package/chunk/CopyToClipboardComponent-cLuyXFes.js +4 -4
- package/chunk/CountryComponentWrapper-BNtvUusJ.js +82 -0
- package/chunk/CountryComponentWrapper-BNtvUusJ.js.map +1 -0
- package/chunk/CountryComponentWrapper-CW4yj9IF.js +78 -0
- package/chunk/CountryComponentWrapper-CW4yj9IF.js.map +1 -0
- package/chunk/DischargeDateComponent-CNaz5UZP.js +120 -0
- package/chunk/DischargeDateComponent-CNaz5UZP.js.map +1 -0
- package/chunk/DischargeDateComponent-tTwN3FLy.js +116 -0
- package/chunk/DischargeDateComponent-tTwN3FLy.js.map +1 -0
- package/chunk/DriverLicenseNumberComponent-B5_svahy.js +43 -0
- package/chunk/DriverLicenseNumberComponent-B5_svahy.js.map +1 -0
- package/chunk/DriverLicenseNumberComponent-vsVldXkA.js +39 -0
- package/chunk/DriverLicenseNumberComponent-vsVldXkA.js.map +1 -0
- package/chunk/{EmailLoopPending-HyZBgisU.js → EmailLoopPending-CYCQv7pW.js} +5 -5
- package/chunk/{EmailLoopPending-HyZBgisU.js.map → EmailLoopPending-CYCQv7pW.js.map} +1 -1
- package/chunk/{EmailLoopPending-ojWCBFjq.js → EmailLoopPending-DNFHR6Ck.js} +5 -5
- package/chunk/{EmailLoopPending-ojWCBFjq.js.map → EmailLoopPending-DNFHR6Ck.js.map} +1 -1
- package/chunk/{ExtraMessage-PLTUBdhw.js → ExtraMessage-Byw0Tgm1.js} +5 -5
- package/chunk/{ExtraMessage-BXxlQROb.js.map → ExtraMessage-Byw0Tgm1.js.map} +1 -1
- package/chunk/{ExtraMessage-BXxlQROb.js → ExtraMessage-g4LSV-H2.js} +5 -5
- package/chunk/{ExtraMessage-PLTUBdhw.js.map → ExtraMessage-g4LSV-H2.js.map} +1 -1
- package/chunk/FirstResponderOrganizationComponent-BtIXngo4.js +41 -0
- package/chunk/FirstResponderOrganizationComponent-BtIXngo4.js.map +1 -0
- package/chunk/FirstResponderOrganizationComponent-DVF6aC7P.js +37 -0
- package/chunk/FirstResponderOrganizationComponent-DVF6aC7P.js.map +1 -0
- package/chunk/{FormFieldInputSelect-Cl4QZ12h.js → FormFieldInputSelect-D1aFx17c.js} +5 -5
- package/chunk/{FormFieldInputSelect-C6OyLsWL.js.map → FormFieldInputSelect-D1aFx17c.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-C6OyLsWL.js → FormFieldInputSelect-ie6Vx1Bx.js} +5 -5
- package/chunk/{FormFieldInputSelect-Cl4QZ12h.js.map → FormFieldInputSelect-ie6Vx1Bx.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-DQEez7ko.js} +466 -469
- package/chunk/{FormFieldTypeahead-DTFxOQnf.js.map → FormFieldTypeahead-DQEez7ko.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-DTFxOQnf.js → FormFieldTypeahead-uKX8ZHqO.js} +385 -388
- package/chunk/{FormFieldTypeahead-DbrQgvbJ.js.map → FormFieldTypeahead-uKX8ZHqO.js.map} +1 -1
- package/chunk/FormFooterComponent-BHQc5VBK.js +2007 -0
- package/chunk/FormFooterComponent-BHQc5VBK.js.map +1 -0
- package/chunk/FormFooterComponent-CAoH3NjO.js +1981 -0
- package/chunk/FormFooterComponent-CAoH3NjO.js.map +1 -0
- package/chunk/{FormSelectChoice-C4LlT7fR.js → FormSelectChoice-Cm99LmoK.js} +5 -5
- package/chunk/{FormSelectChoice-C4LlT7fR.js.map → FormSelectChoice-Cm99LmoK.js.map} +1 -1
- package/chunk/{FormSelectChoice-CClt04rV.js → FormSelectChoice-DjcUTWnw.js} +5 -5
- package/chunk/{FormSelectChoice-CClt04rV.js.map → FormSelectChoice-DjcUTWnw.js.map} +1 -1
- package/chunk/InputText-BXPuBlPq.js +4 -4
- package/chunk/InputText-h_myNeHr.js +4 -4
- package/chunk/LicensedProfessionalOrganizationComponent-BHrQmG_W.js +40 -0
- package/chunk/LicensedProfessionalOrganizationComponent-BHrQmG_W.js.map +1 -0
- package/chunk/LicensedProfessionalOrganizationComponent-DMdDUhnU.js +36 -0
- package/chunk/LicensedProfessionalOrganizationComponent-DMdDUhnU.js.map +1 -0
- package/chunk/LogoComponent-Do8K5ydz.js +4 -4
- package/chunk/LogoComponent-Dx1G-rzE.js +4 -4
- package/chunk/LowIncomeOrganizationComponent-CZnbIM2h.js +101 -0
- package/chunk/LowIncomeOrganizationComponent-CZnbIM2h.js.map +1 -0
- package/chunk/LowIncomeOrganizationComponent-DLxB_wnC.js +105 -0
- package/chunk/LowIncomeOrganizationComponent-DLxB_wnC.js.map +1 -0
- package/chunk/MedicalProfessionalOrganizationComponent-CozwSmoI.js +41 -0
- package/chunk/MedicalProfessionalOrganizationComponent-CozwSmoI.js.map +1 -0
- package/chunk/MedicalProfessionalOrganizationComponent-t-k48G10.js +37 -0
- package/chunk/MedicalProfessionalOrganizationComponent-t-k48G10.js.map +1 -0
- package/chunk/MemberIdComponent-BzUuPdSk.js +39 -0
- package/chunk/MemberIdComponent-BzUuPdSk.js.map +1 -0
- package/chunk/MemberIdComponent-CYqH9MG5.js +43 -0
- package/chunk/MemberIdComponent-CYqH9MG5.js.map +1 -0
- package/chunk/MembershipOrganizationComponent-BPQ27RX9.js +40 -0
- package/chunk/MembershipOrganizationComponent-BPQ27RX9.js.map +1 -0
- package/chunk/MembershipOrganizationComponent-Bbu2i3Dm.js +36 -0
- package/chunk/MembershipOrganizationComponent-Bbu2i3Dm.js.map +1 -0
- package/chunk/{FormFooterComponent-CaOt9TQw.js → Message-BK3a2RyH.js} +1417 -3384
- package/chunk/Message-BK3a2RyH.js.map +1 -0
- package/chunk/Message-CSa2etjX.js +6859 -0
- package/chunk/Message-CSa2etjX.js.map +1 -0
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-DA3ceOLw.js → PersonalInfoStepSubmitButton-BcdQUzMO.js} +34 -33
- package/chunk/PersonalInfoStepSubmitButton-BcdQUzMO.js.map +1 -0
- package/chunk/{PersonalInfoStepSubmitButton-D_Y9q0Iy.js → PersonalInfoStepSubmitButton-VxT_vwVv.js} +34 -33
- package/chunk/PersonalInfoStepSubmitButton-VxT_vwVv.js.map +1 -0
- package/chunk/{PersonalInfoStepWrapper-6neTJTQD.js → PersonalInfoStepWrapper-BHS3GKl7.js} +5 -5
- package/chunk/{PersonalInfoStepWrapper-6neTJTQD.js.map → PersonalInfoStepWrapper-BHS3GKl7.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-Dsb0Qcv5.js → PersonalInfoStepWrapper-CxRB64LQ.js} +6 -6
- package/chunk/{PersonalInfoStepWrapper-Dsb0Qcv5.js.map → PersonalInfoStepWrapper-CxRB64LQ.js.map} +1 -1
- package/chunk/PostalCodeComponent-CKbC80_m.js +38 -0
- package/chunk/PostalCodeComponent-CKbC80_m.js.map +1 -0
- package/chunk/PostalCodeComponent-jmSOU3LM.js +42 -0
- package/chunk/PostalCodeComponent-jmSOU3LM.js.map +1 -0
- package/chunk/SSN-DHAzpgQK.js +45 -0
- package/chunk/SSN-DHAzpgQK.js.map +1 -0
- package/chunk/SSN-DNVykxAU.js +49 -0
- package/chunk/SSN-DNVykxAU.js.map +1 -0
- package/chunk/StateSelectComponent-B5lHw2N5.js +42 -0
- package/chunk/StateSelectComponent-B5lHw2N5.js.map +1 -0
- package/chunk/StateSelectComponent-B7Cp6ANo.js +38 -0
- package/chunk/StateSelectComponent-B7Cp6ANo.js.map +1 -0
- package/chunk/{StatusComponent-BxQNsHYs.js → StatusComponent-CrGh5fqB.js} +5 -5
- package/chunk/{StatusComponent-BTvs1WVn.js.map → StatusComponent-CrGh5fqB.js.map} +1 -1
- package/chunk/{StatusComponent-BTvs1WVn.js → StatusComponent-CyX5COrt.js} +5 -5
- package/chunk/{StatusComponent-BxQNsHYs.js.map → StatusComponent-CyX5COrt.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-UWfkIpnn.js → StepAgePersonalInfo-BswIeVCd.js} +16 -16
- package/chunk/{StepAgePersonalInfo-BOnOqXxm.js.map → StepAgePersonalInfo-BswIeVCd.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-BOnOqXxm.js → StepAgePersonalInfo-CHBH5ROm.js} +16 -16
- package/chunk/{StepAgePersonalInfo-UWfkIpnn.js.map → StepAgePersonalInfo-CHBH5ROm.js.map} +1 -1
- package/chunk/StepCard-B0o7IN6g.js +4 -4
- package/chunk/StepCard-CWT2BiAH.js +4 -4
- package/chunk/{StepCollectIdentifier-CtpUvhZs.js → StepCollectIdentifier-D8IjgFjI.js} +6 -6
- package/chunk/{StepCollectIdentifier-D7bSwvYI.js.map → StepCollectIdentifier-D8IjgFjI.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-D7bSwvYI.js → StepCollectIdentifier-dPXJHRwi.js} +8 -8
- package/chunk/{StepCollectIdentifier-CtpUvhZs.js.map → StepCollectIdentifier-dPXJHRwi.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CHxXr8xM.js → StepCollectMilitaryPersonalInfoComponent-BanhTbjr.js} +19 -19
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-BcmZhgl3.js.map → StepCollectMilitaryPersonalInfoComponent-BanhTbjr.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-BcmZhgl3.js → StepCollectMilitaryPersonalInfoComponent-nUcsuObN.js} +19 -19
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CHxXr8xM.js.map → StepCollectMilitaryPersonalInfoComponent-nUcsuObN.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-BlAJbqgb.js → StepCollectPersonalInfo-BLClPcAC.js} +31 -31
- package/chunk/{StepCollectPersonalInfo-BlAJbqgb.js.map → StepCollectPersonalInfo-BLClPcAC.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-CzLVKlZ3.js → StepCollectPersonalInfo-BvBAA_0_.js} +30 -30
- package/chunk/{StepCollectPersonalInfo-CzLVKlZ3.js.map → StepCollectPersonalInfo-BvBAA_0_.js.map} +1 -1
- package/chunk/StepCompleteAuthentication-Cnv_QzG7.js +4 -4
- package/chunk/StepCompleteAuthentication-D7NH3MFa.js +4 -4
- package/chunk/{StepConsolation-C5ZHdmQ6.js → StepConsolation-CKbOj-OW.js} +5 -5
- package/chunk/{StepConsolation-BrzJnbYN.js.map → StepConsolation-CKbOj-OW.js.map} +1 -1
- package/chunk/{StepConsolation-BrzJnbYN.js → StepConsolation-qvCq7iMz.js} +5 -5
- package/chunk/{StepConsolation-C5ZHdmQ6.js.map → StepConsolation-qvCq7iMz.js.map} +1 -1
- package/chunk/{StepDocUpload-D2_e55pR.js → StepDocUpload-CelPrD2S.js} +9 -8
- package/chunk/{StepDocUpload-BuH-EW5U.js.map → StepDocUpload-CelPrD2S.js.map} +1 -1
- package/chunk/{StepDocUpload-BuH-EW5U.js → StepDocUpload-hbZjFKLA.js} +9 -8
- package/chunk/{StepDocUpload-D2_e55pR.js.map → StepDocUpload-hbZjFKLA.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-DcVZb5ke.js → StepDriverLicensePersonalInfoComponent-DeMFZtEJ.js} +12 -12
- package/chunk/{StepDriverLicensePersonalInfoComponent-DcVZb5ke.js.map → StepDriverLicensePersonalInfoComponent-DeMFZtEJ.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-UZoq9OhC.js → StepDriverLicensePersonalInfoComponent-Dz5hU0Hz.js} +12 -12
- package/chunk/{StepDriverLicensePersonalInfoComponent-UZoq9OhC.js.map → StepDriverLicensePersonalInfoComponent-Dz5hU0Hz.js.map} +1 -1
- package/chunk/{StepEmailLoop-138hnevc.js → StepEmailLoop-B_D0MzXV.js} +6 -6
- package/chunk/{StepEmailLoop-138hnevc.js.map → StepEmailLoop-B_D0MzXV.js.map} +1 -1
- package/chunk/{StepEmailLoop-p3PjfBvc.js → StepEmailLoop-DnFBaEUV.js} +6 -6
- package/chunk/{StepEmailLoop-p3PjfBvc.js.map → StepEmailLoop-DnFBaEUV.js.map} +1 -1
- package/chunk/StepEmploymentPersonalInfo-CWyReZIX.js +220 -0
- package/chunk/StepEmploymentPersonalInfo-CWyReZIX.js.map +1 -0
- package/chunk/StepEmploymentPersonalInfo-D6wk7BPP.js +216 -0
- package/chunk/StepEmploymentPersonalInfo-D6wk7BPP.js.map +1 -0
- package/chunk/{StepFirstResponderPersonalInfo-CSGMgT02.js → StepFirstResponderPersonalInfo-BEYQjJZE.js} +19 -19
- package/chunk/{StepFirstResponderPersonalInfo-CSGMgT02.js.map → StepFirstResponderPersonalInfo-BEYQjJZE.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-gF_5zHxj.js → StepFirstResponderPersonalInfo-WFafxPno.js} +19 -19
- package/chunk/{StepFirstResponderPersonalInfo-gF_5zHxj.js.map → StepFirstResponderPersonalInfo-WFafxPno.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-D4wP5D1G.js → StepGeneralIdentityPersonalInfoComponent-CO2Kb2oA.js} +15 -15
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Cgp_PX5L.js.map → StepGeneralIdentityPersonalInfoComponent-CO2Kb2oA.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Cgp_PX5L.js → StepGeneralIdentityPersonalInfoComponent-Cu_uA-EX.js} +15 -15
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-D4wP5D1G.js.map → StepGeneralIdentityPersonalInfoComponent-Cu_uA-EX.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-Cez-TR1Z.js → StepHybridIdentityPersonalInfoComponent-DjYZWEyO.js} +16 -16
- package/chunk/{StepHybridIdentityPersonalInfoComponent-Cez-TR1Z.js.map → StepHybridIdentityPersonalInfoComponent-DjYZWEyO.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-ChtlT4nZ.js → StepHybridIdentityPersonalInfoComponent-Dnr2P36W.js} +16 -16
- package/chunk/{StepHybridIdentityPersonalInfoComponent-ChtlT4nZ.js.map → StepHybridIdentityPersonalInfoComponent-Dnr2P36W.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-CX6VsvAJ.js → StepIDCheckLoop-3dEcYNM-.js} +5 -5
- package/chunk/{StepIDCheckLoop-CX6VsvAJ.js.map → StepIDCheckLoop-3dEcYNM-.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-DFhu-v9n.js → StepIDCheckLoop-ADjD8T7n.js} +5 -5
- package/chunk/{StepIDCheckLoop-DFhu-v9n.js.map → StepIDCheckLoop-ADjD8T7n.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-0o-ZdynC.js → StepIDCheckLoopOnfido-DFITsdwV.js} +11 -11
- package/chunk/{StepIDCheckLoopOnfido-0o-ZdynC.js.map → StepIDCheckLoopOnfido-DFITsdwV.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-CiuUU7f9.js → StepIDCheckLoopOnfido-u841Fq12.js} +11 -11
- package/chunk/{StepIDCheckLoopOnfido-CiuUU7f9.js.map → StepIDCheckLoopOnfido-u841Fq12.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-D5Ln2I62.js → StepIDCheckLoopRegula-4XrJNB8_.js} +6 -5
- package/chunk/{StepIDCheckLoopRegula-D5Ln2I62.js.map → StepIDCheckLoopRegula-4XrJNB8_.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-D94f7Ccr.js → StepIDCheckLoopRegula-DDU-aqdl.js} +6 -5
- package/chunk/{StepIDCheckLoopRegula-D94f7Ccr.js.map → StepIDCheckLoopRegula-DDU-aqdl.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-BHInsLPJ.js → StepLicensedProfessionalPersonalInfo-BXscxOmH.js} +16 -16
- package/chunk/{StepLicensedProfessionalPersonalInfo-BHInsLPJ.js.map → StepLicensedProfessionalPersonalInfo-BXscxOmH.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-CHQbAgsG.js → StepLicensedProfessionalPersonalInfo-CvU4u5nA.js} +16 -16
- package/chunk/{StepLicensedProfessionalPersonalInfo-CHQbAgsG.js.map → StepLicensedProfessionalPersonalInfo-CvU4u5nA.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-DVDI4DRm.js → StepLowIncomePersonalInfo-BD5AdV7z.js} +21 -21
- package/chunk/{StepLowIncomePersonalInfo-DVDI4DRm.js.map → StepLowIncomePersonalInfo-BD5AdV7z.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-oBDI4ML2.js → StepLowIncomePersonalInfo-BlvN-faw.js} +21 -21
- package/chunk/{StepLowIncomePersonalInfo-oBDI4ML2.js.map → StepLowIncomePersonalInfo-BlvN-faw.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-DmoUExs9.js → StepMedicalProfessionalPersonalInfo-D-wc9M27.js} +17 -17
- package/chunk/{StepMedicalProfessionalPersonalInfo-DmoUExs9.js.map → StepMedicalProfessionalPersonalInfo-D-wc9M27.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-_x2wcVNS.js → StepMedicalProfessionalPersonalInfo-DzPoAdkI.js} +17 -17
- package/chunk/{StepMedicalProfessionalPersonalInfo-_x2wcVNS.js.map → StepMedicalProfessionalPersonalInfo-DzPoAdkI.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-CI9Q06Ic.js → StepMemberPersonalInfo-BwhcP3-x.js} +14 -14
- package/chunk/{StepMemberPersonalInfo-BAjKLJCl.js.map → StepMemberPersonalInfo-BwhcP3-x.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-BAjKLJCl.js → StepMemberPersonalInfo-DcH87kDt.js} +14 -14
- package/chunk/{StepMemberPersonalInfo-CI9Q06Ic.js.map → StepMemberPersonalInfo-DcH87kDt.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-DIkMi5zU.js → StepMoverPersonalInfo-C3e_5Bhi.js} +12 -12
- package/chunk/{StepMoverPersonalInfo-CVT4pPa6.js.map → StepMoverPersonalInfo-C3e_5Bhi.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-CVT4pPa6.js → StepMoverPersonalInfo-DdAYuWun.js} +12 -12
- package/chunk/{StepMoverPersonalInfo-DIkMi5zU.js.map → StepMoverPersonalInfo-DdAYuWun.js.map} +1 -1
- package/chunk/{StepOverrideComponent-B9HVSPlq.js → StepOverrideComponent-BA6ZbYda.js} +5 -5
- package/chunk/{StepOverrideComponent-B9HVSPlq.js.map → StepOverrideComponent-BA6ZbYda.js.map} +1 -1
- package/chunk/{StepOverrideComponent-DOBT7C22.js → StepOverrideComponent-C58-KkL6.js} +5 -5
- package/chunk/{StepOverrideComponent-DOBT7C22.js.map → StepOverrideComponent-C58-KkL6.js.map} +1 -1
- package/chunk/{StepSMSLoop-BM7UE2tP.js → StepSMSLoop-CiFQF0bq.js} +73 -72
- package/chunk/StepSMSLoop-CiFQF0bq.js.map +1 -0
- package/chunk/{StepSMSLoop-Wr-MrFaf.js → StepSMSLoop-DmbMtSCW.js} +73 -72
- package/chunk/StepSMSLoop-DmbMtSCW.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-6QeIRjAc.js} +7 -7
- package/chunk/{StepSocialSecurityNumber-DepVz3V7.js.map → StepSocialSecurityNumber-6QeIRjAc.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-DepVz3V7.js → StepSocialSecurityNumber-kcHexBbp.js} +7 -7
- package/chunk/{StepSocialSecurityNumber-LcWg-zo5.js.map → StepSocialSecurityNumber-kcHexBbp.js.map} +1 -1
- package/chunk/StepStudentPersonalInfo-CJJbSZ_C.js +216 -0
- package/chunk/StepStudentPersonalInfo-CJJbSZ_C.js.map +1 -0
- package/chunk/StepStudentPersonalInfo-ubt7IGBA.js +220 -0
- package/chunk/StepStudentPersonalInfo-ubt7IGBA.js.map +1 -0
- package/chunk/{StepSuccess-CvK7t1zN.js → StepSuccess-Cc0UdSaD.js} +5 -5
- package/chunk/{StepSuccess-C3a0CPsE.js.map → StepSuccess-Cc0UdSaD.js.map} +1 -1
- package/chunk/{StepSuccess-C3a0CPsE.js → StepSuccess-ZEmH-ZFX.js} +5 -5
- package/chunk/{StepSuccess-CvK7t1zN.js.map → StepSuccess-ZEmH-ZFX.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-DhOL3_0H.js → StepTeacherPersonalInfo-CiHN6WAb.js} +15 -15
- package/chunk/{StepTeacherPersonalInfo-DhOL3_0H.js.map → StepTeacherPersonalInfo-CiHN6WAb.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-_Wwkq-dn.js → StepTeacherPersonalInfo-X7uaefYx.js} +15 -15
- package/chunk/{StepTeacherPersonalInfo-_Wwkq-dn.js.map → StepTeacherPersonalInfo-X7uaefYx.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-BwLUGmNi.js → TeacherSchoolComponent-DH3cPm43.js} +5 -5
- package/chunk/{TeacherSchoolComponent-3HVz97q_.js.map → TeacherSchoolComponent-DH3cPm43.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-3HVz97q_.js → TeacherSchoolComponent-DL4ZFk5x.js} +5 -5
- package/chunk/{TeacherSchoolComponent-BwLUGmNi.js.map → TeacherSchoolComponent-DL4ZFk5x.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/{VerificationApiClient-BcE3SjuJ.js → VerificationApiClient-CVe2IgK7.js} +5 -5
- package/chunk/{VerificationApiClient-BcE3SjuJ.js.map → VerificationApiClient-CVe2IgK7.js.map} +1 -1
- package/chunk/{VerificationApiClient-fJ7P4ejD.js → VerificationApiClient-DOQLbKh3.js} +5 -5
- package/chunk/{VerificationApiClient-fJ7P4ejD.js.map → VerificationApiClient-DOQLbKh3.js.map} +1 -1
- 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-DryiNDJI.js → downshift.esm-5BwX87os.js} +5 -5
- package/chunk/{downshift.esm-BKI3sFd7.js.map → downshift.esm-5BwX87os.js.map} +1 -1
- package/chunk/{downshift.esm-BKI3sFd7.js → downshift.esm-GtunYkBG.js} +5 -5
- package/chunk/{downshift.esm-DryiNDJI.js.map → downshift.esm-GtunYkBG.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-BdqtwfRd.js +4 -4
- package/chunk/stepComponentHelpers-DIHMDrmF.js +4 -4
- 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-D7OQBDpX.js → useCollectFieldsEndpoint-74jMd594.js} +7 -7
- package/chunk/{useCollectFieldsEndpoint-D7OQBDpX.js.map → useCollectFieldsEndpoint-74jMd594.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-BsX_IHLN.js → useCollectFieldsEndpoint-dSngHehw.js} +7 -7
- package/chunk/{useCollectFieldsEndpoint-BsX_IHLN.js.map → useCollectFieldsEndpoint-dSngHehw.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 -653
- 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/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 +0 -8856
- 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/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/StepSMSLoop-BM7UE2tP.js.map +0 -1
- package/chunk/StepSMSLoop-Wr-MrFaf.js.map +0 -1
- package/chunk/StepStudentPersonalInfo-CxPq9ICS.js +0 -218
- package/chunk/StepStudentPersonalInfo-CxPq9ICS.js.map +0 -1
- package/chunk/StepStudentPersonalInfo-DQMWaRSa.js +0 -222
- package/chunk/StepStudentPersonalInfo-DQMWaRSa.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MembershipOrganizationComponent-UqzaA4bV.js","names":[],"sources":["../../src/components/FormFields/MembershipOrganization/MembershipOrganizationComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport {\n type FormFieldComponentProps,\n type VerificationServiceProps,\n type Organization,\n} from \"../../../lib/types/types\";\nimport { FormFieldTypeahead } from \"../FormFieldTypeahead/FormFieldTypeahead\";\nimport { getOrgSearchUrl } from \"../../../lib/ProgramTheme/programThemeGetters\";\n\nexport const MembershipOrganization = ({\n value,\n isErrored,\n onChange,\n verificationService,\n intl,\n placeholder = \"\",\n disabled = false,\n}: FormFieldComponentProps & VerificationServiceProps) => {\n const isFieldHidden = getFieldConfigByFieldId(\"organization\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldTypeahead\n fieldId=\"membership\"\n value={value}\n verificationService={verificationService}\n onChange={(choice: Organization) => onChange(choice)}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({\n id: \"organizationPlaceholder\",\n defaultMessage: \"Organization\",\n })\n }\n label={<FormattedHTMLMessage id=\"organization\" defaultMessage=\"Organization\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidOrganization\"\n defaultMessage=\"You must select an organization from the list\"\n />\n )\n }\n orgSearchUrl={getOrgSearchUrl(\n verificationService.viewModel,\n verificationService.programTheme,\n )}\n showPlaceholderAndHideLabel={!!placeholder}\n disabled={disabled}\n />\n );\n};\n\nexport const MembershipOrganizationComponent = injectIntl(MembershipOrganization);\n"],"mappings":";;;;;aA2Da,IAAkC,GA/CR,EACrC,UACA,cACA,aACA,wBACA,SACA,iBAAc,IACd,cAAW,SAEW,EAAwB,cAAc,GAAG,SAGtD,OAIP,iBAAA,GAAA,EAAA,KAAC,GAAD;CACE,SAAQ;CACD;CACc;CACrB,WAAW,MAAyB,EAAS,CAAM;CACnD,aACE,KACA,EAAK,kBAAkB;EACrB,IAAI;EACJ,gBAAgB;CAClB,CAAC;CAEH,OAAO,iBAAA,GAAA,EAAA,KAAC,GAAD;EAAsB,IAAG;EAAe,gBAAe;CAAgB,CAAA;CAC9E,cACE,KACE,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,IAAG;EACH,gBAAe;CAChB,CAAA;CAGL,cAAc,EACZ,EAAoB,WACpB,EAAoB,YACtB;CACA,6BAA6B,CAAC,CAAC;CACrB;AACX,CAAA,CAI2E"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PersonalInfoStepSubmitButton-DA3ceOLw.js","names":[],"sources":["../../src/components/FormFields/Email/EmailComponent.tsx","../../src/components/PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton.tsx"],"sourcesContent":["import type React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldText } from \"../FormFieldText/FormFieldText\";\n\ninterface PassedProps {\n explanation?: string | JSX.Element;\n onKeyDown?: (e: React.KeyboardEvent<HTMLInputElement>) => void;\n onBlur?: (e: React.FocusEvent<HTMLInputElement>) => void;\n}\n\nexport const Email = ({\n value,\n isErrored,\n onChange,\n explanation = \"\",\n intl,\n onKeyDown = () => {},\n onBlur = () => {},\n placeholder = \"\",\n disabled = false,\n}: FormFieldComponentProps & PassedProps) => {\n const isFieldHidden = getFieldConfigByFieldId(\"email\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldText\n fieldId=\"email\"\n value={value}\n onChange={onChange}\n type=\"email\"\n autoComplete=\"email\"\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({ id: \"emailAddressPlaceholder\", defaultMessage: \"Email\" })\n }\n label={<FormattedHTMLMessage id=\"emailAddress\" defaultMessage=\"Email address\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage id=\"errorId.invalidEmail\" defaultMessage=\"Invalid email\" />\n )\n }\n explanation={explanation}\n showPlaceholderAndHideLabel={!!placeholder}\n onKeyDown={(e) => onKeyDown(e)}\n onBlur={(e) => onBlur(e)}\n disabled={disabled}\n />\n );\n};\n\nexport const EmailComponent = injectIntl(Email);\n","import type React from \"react\";\nimport { useEffect } from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { logger } from \"@jslib/shared/utils/logger\";\n\nimport { type VerificationService, type ViewModel } from \"../../lib/types/types\";\nimport { submitForm } from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { type CollectInfoSteps, VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { isFormFilled } from \"../../lib/validators/validators\";\nimport { setRef } from \"../../lib/refs/refs\";\nimport {\n type CollectStepStartEvent,\n type CollectStepSubmitEvent,\n CustomMetricNames,\n EventName,\n recordGaEvent,\n} from \"../../lib/GoogleAnalytics/ga\";\nimport {\n COLLECT_INFO_SUBMISSION_TIME,\n COLLECT_INFO_SUBMIT,\n useMetrics,\n} from \"../FeatureFlags/useMetrics\";\n\ninterface PersonalInfoStepSubmitButtonProps {\n step: CollectInfoSteps;\n verificationService: VerificationService;\n viewModel: ViewModel;\n buttonText: React.ReactNode;\n failedInstantMatch?: boolean;\n}\n\nconst wrapperClassNames: Record<CollectInfoSteps, string> = {\n collectStudentPersonalInfo: \"sid-student--submit\",\n collectSeniorPersonalInfo: \"sid-senior-submit\",\n collectTeacherPersonalInfo: \"sid-teacher-submit\",\n collectMoverPersonalInfo: \"sid-mover-submit\",\n collectInactiveMilitaryPersonalInfo: \"sid-inactive-military-submit sid-military-submit\",\n collectActiveMilitaryPersonalInfo: \"sid-active-military-personal-submit sid-military-submit\",\n collectMilitaryPersonalInfo: \"sid-active-military-personal-submit sid-military-submit\",\n collectMilitaryStatus: \"\",\n collectMemberPersonalInfo: \"sid-member-submit\",\n collectMedicalProfessionalPersonalInfo: \"sid-medical-submit\",\n collectLowIncomePersonalInfo: \"sid-low-income-submit\",\n collectLicensedProfessionalPersonalInfo: \"sid-licensed-professional-submit\",\n collectHybridIdentityPersonalInfo: \"sid-hybrid-identity-submit\",\n collectGeneralIdentityPersonalInfo: \"sid-general-identity-submit\",\n collectDriverLicensePersonalInfo: \"sid-drivers-license-submit\",\n collectFirstResponderPersonalInfo: \"sid-first-responder-personal-info-submit\",\n collectEmployeePersonalInfo: \"sid-employment-submit\",\n collectAgePersonalInfo: \"sid-age-personal-info-submit\",\n collectIdentifier: \"sid-identifier-submit\",\n collectPersonalInfo: \"sid-personal-info-submit\",\n};\n\nconst buttonClassNames: Record<CollectInfoSteps, string> = {\n collectStudentPersonalInfo: \"sid-student-submit-btn\",\n collectSeniorPersonalInfo: \"sid-senior-submit-btn\",\n collectTeacherPersonalInfo: \"sid-teacher-submit-btn\",\n collectMoverPersonalInfo: \"sid-mover-submit-btn\",\n collectInactiveMilitaryPersonalInfo: \"sid-inactive-military-submit-btn sid-military-submit-btn\",\n collectActiveMilitaryPersonalInfo:\n \"sid-active-military-personal-submit-btn sid-military-submit-btn\",\n collectMilitaryPersonalInfo: \"sid-active-military-personal-submit-btn sid-military-submit-btn\",\n collectMilitaryStatus: \"\",\n collectMemberPersonalInfo: \"sid-member-submit-btn\",\n collectMedicalProfessionalPersonalInfo: \"sid-medical-submit-btn\",\n collectLowIncomePersonalInfo: \"sid-low-income-submit-btn\",\n collectLicensedProfessionalPersonalInfo: \"sid-licensed-professional-submit-btn\",\n collectHybridIdentityPersonalInfo: \"sid-hybrid-identity-submit-btn\",\n collectGeneralIdentityPersonalInfo: \"sid-general-identity-submit-btn\",\n collectDriverLicensePersonalInfo: \"sid-drivers-license-submit-btn\",\n collectFirstResponderPersonalInfo: \"sid-first-responder-submit-btn\",\n collectEmployeePersonalInfo: \"sid-employment-submit-btn\",\n collectAgePersonalInfo: \"sid-age-personal-info-btn\",\n collectIdentifier: \"sid-identifier-submit-btn\",\n collectPersonalInfo: \"sid-personal-info-submit-btn\",\n};\n\nconst usesWrapperID: CollectInfoSteps[] = [\n VerificationStepsEnum.collectMoverPersonalInfo,\n VerificationStepsEnum.collectStudentPersonalInfo,\n VerificationStepsEnum.collectEmployeePersonalInfo,\n];\n\n/**\n * A shared wrapper for all personal info collect steps.\n */\nexport const PersonalInfoStepSubmitButton: React.FC<PersonalInfoStepSubmitButtonProps> = ({\n step,\n verificationService,\n viewModel,\n buttonText,\n failedInstantMatch = false,\n}) => {\n const { userDidConvert, getTimeOnForm } = useMetrics({\n segment: verificationService.verificationResponse.segment,\n programId: verificationService.programId,\n });\n\n useEffect(() => {\n const event: CollectStepStartEvent = {\n eventName: EventName.COLLECT_STARTED,\n params: {},\n };\n\n recordGaEvent(event);\n }, []);\n\n const successCallback = () => {\n try {\n const event: CollectStepSubmitEvent = {\n eventName: EventName.COLLECT_SUBMITTED,\n params: {\n [CustomMetricNames.EVENT_DURATION]: getTimeOnForm().duration,\n },\n };\n recordGaEvent(event);\n } catch (e) {\n logger.warn(\"Unable to measure time on form\");\n }\n\n userDidConvert(COLLECT_INFO_SUBMIT, COLLECT_INFO_SUBMISSION_TIME);\n };\n\n // The majority of the class/id dancing in this component are to support the\n // existing inconsistencies in our different collect info steps when they were\n // brought together into this shared component. When we get away from css based\n // customization this can get much saner\n const wrapperCls = wrapperClassNames[step];\n const buttonCls = buttonClassNames[step];\n\n const btnId = usesWrapperID.includes(step)\n ? \"sid-submit-wrapper__collect-info\"\n : \"sid-submit-btn-collect-info\";\n\n const btnText = failedInstantMatch ? (\n <FormattedHTMLMessage id=\"tryAgain\" defaultMessage=\"Try Again\" />\n ) : (\n buttonText\n );\n\n const textSpanProps =\n step === VerificationStepsEnum.collectEmployeePersonalInfo\n ? { className: \"sid-employment-submit-btn__text\" }\n : {};\n const isDisabled = !isFormFilled(viewModel, verificationService.formValidationOptions);\n\n return (\n <div className=\"sid-form-region sid-submit-wrapper sid-l-space-top-md\">\n <div className={`${wrapperCls} sid-submit`}>\n <button\n id={btnId}\n onClick={() => submitForm(viewModel, verificationService, step, successCallback)}\n type=\"submit\"\n className={`sid-btn ${buttonCls} sid-btn--dark sid-l-full-width ${\n isDisabled ? \"sid-btn--disabled-like\" : \"\"\n }`}\n aria-labelledby=\"verify-status-text\"\n ref={(button) => setRef(\"submitButton\", button)}\n aria-disabled={isDisabled}\n data-testid=\"submit-button\"\n >\n <span id=\"verify-status-text\" {...textSpanProps}>\n {btnText}\n </span>\n </button>\n </div>\n </div>\n );\n};\n"],"mappings":"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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PersonalInfoStepSubmitButton-D_Y9q0Iy.js","names":[],"sources":["../../src/components/FormFields/Email/EmailComponent.tsx","../../src/components/PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton.tsx"],"sourcesContent":["import type React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldText } from \"../FormFieldText/FormFieldText\";\n\ninterface PassedProps {\n explanation?: string | JSX.Element;\n onKeyDown?: (e: React.KeyboardEvent<HTMLInputElement>) => void;\n onBlur?: (e: React.FocusEvent<HTMLInputElement>) => void;\n}\n\nexport const Email = ({\n value,\n isErrored,\n onChange,\n explanation = \"\",\n intl,\n onKeyDown = () => {},\n onBlur = () => {},\n placeholder = \"\",\n disabled = false,\n}: FormFieldComponentProps & PassedProps) => {\n const isFieldHidden = getFieldConfigByFieldId(\"email\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldText\n fieldId=\"email\"\n value={value}\n onChange={onChange}\n type=\"email\"\n autoComplete=\"email\"\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({ id: \"emailAddressPlaceholder\", defaultMessage: \"Email\" })\n }\n label={<FormattedHTMLMessage id=\"emailAddress\" defaultMessage=\"Email address\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage id=\"errorId.invalidEmail\" defaultMessage=\"Invalid email\" />\n )\n }\n explanation={explanation}\n showPlaceholderAndHideLabel={!!placeholder}\n onKeyDown={(e) => onKeyDown(e)}\n onBlur={(e) => onBlur(e)}\n disabled={disabled}\n />\n );\n};\n\nexport const EmailComponent = injectIntl(Email);\n","import type React from \"react\";\nimport { useEffect } from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { logger } from \"@jslib/shared/utils/logger\";\n\nimport { type VerificationService, type ViewModel } from \"../../lib/types/types\";\nimport { submitForm } from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { type CollectInfoSteps, VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { isFormFilled } from \"../../lib/validators/validators\";\nimport { setRef } from \"../../lib/refs/refs\";\nimport {\n type CollectStepStartEvent,\n type CollectStepSubmitEvent,\n CustomMetricNames,\n EventName,\n recordGaEvent,\n} from \"../../lib/GoogleAnalytics/ga\";\nimport {\n COLLECT_INFO_SUBMISSION_TIME,\n COLLECT_INFO_SUBMIT,\n useMetrics,\n} from \"../FeatureFlags/useMetrics\";\n\ninterface PersonalInfoStepSubmitButtonProps {\n step: CollectInfoSteps;\n verificationService: VerificationService;\n viewModel: ViewModel;\n buttonText: React.ReactNode;\n failedInstantMatch?: boolean;\n}\n\nconst wrapperClassNames: Record<CollectInfoSteps, string> = {\n collectStudentPersonalInfo: \"sid-student--submit\",\n collectSeniorPersonalInfo: \"sid-senior-submit\",\n collectTeacherPersonalInfo: \"sid-teacher-submit\",\n collectMoverPersonalInfo: \"sid-mover-submit\",\n collectInactiveMilitaryPersonalInfo: \"sid-inactive-military-submit sid-military-submit\",\n collectActiveMilitaryPersonalInfo: \"sid-active-military-personal-submit sid-military-submit\",\n collectMilitaryPersonalInfo: \"sid-active-military-personal-submit sid-military-submit\",\n collectMilitaryStatus: \"\",\n collectMemberPersonalInfo: \"sid-member-submit\",\n collectMedicalProfessionalPersonalInfo: \"sid-medical-submit\",\n collectLowIncomePersonalInfo: \"sid-low-income-submit\",\n collectLicensedProfessionalPersonalInfo: \"sid-licensed-professional-submit\",\n collectHybridIdentityPersonalInfo: \"sid-hybrid-identity-submit\",\n collectGeneralIdentityPersonalInfo: \"sid-general-identity-submit\",\n collectDriverLicensePersonalInfo: \"sid-drivers-license-submit\",\n collectFirstResponderPersonalInfo: \"sid-first-responder-personal-info-submit\",\n collectEmployeePersonalInfo: \"sid-employment-submit\",\n collectAgePersonalInfo: \"sid-age-personal-info-submit\",\n collectIdentifier: \"sid-identifier-submit\",\n collectPersonalInfo: \"sid-personal-info-submit\",\n};\n\nconst buttonClassNames: Record<CollectInfoSteps, string> = {\n collectStudentPersonalInfo: \"sid-student-submit-btn\",\n collectSeniorPersonalInfo: \"sid-senior-submit-btn\",\n collectTeacherPersonalInfo: \"sid-teacher-submit-btn\",\n collectMoverPersonalInfo: \"sid-mover-submit-btn\",\n collectInactiveMilitaryPersonalInfo: \"sid-inactive-military-submit-btn sid-military-submit-btn\",\n collectActiveMilitaryPersonalInfo:\n \"sid-active-military-personal-submit-btn sid-military-submit-btn\",\n collectMilitaryPersonalInfo: \"sid-active-military-personal-submit-btn sid-military-submit-btn\",\n collectMilitaryStatus: \"\",\n collectMemberPersonalInfo: \"sid-member-submit-btn\",\n collectMedicalProfessionalPersonalInfo: \"sid-medical-submit-btn\",\n collectLowIncomePersonalInfo: \"sid-low-income-submit-btn\",\n collectLicensedProfessionalPersonalInfo: \"sid-licensed-professional-submit-btn\",\n collectHybridIdentityPersonalInfo: \"sid-hybrid-identity-submit-btn\",\n collectGeneralIdentityPersonalInfo: \"sid-general-identity-submit-btn\",\n collectDriverLicensePersonalInfo: \"sid-drivers-license-submit-btn\",\n collectFirstResponderPersonalInfo: \"sid-first-responder-submit-btn\",\n collectEmployeePersonalInfo: \"sid-employment-submit-btn\",\n collectAgePersonalInfo: \"sid-age-personal-info-btn\",\n collectIdentifier: \"sid-identifier-submit-btn\",\n collectPersonalInfo: \"sid-personal-info-submit-btn\",\n};\n\nconst usesWrapperID: CollectInfoSteps[] = [\n VerificationStepsEnum.collectMoverPersonalInfo,\n VerificationStepsEnum.collectStudentPersonalInfo,\n VerificationStepsEnum.collectEmployeePersonalInfo,\n];\n\n/**\n * A shared wrapper for all personal info collect steps.\n */\nexport const PersonalInfoStepSubmitButton: React.FC<PersonalInfoStepSubmitButtonProps> = ({\n step,\n verificationService,\n viewModel,\n buttonText,\n failedInstantMatch = false,\n}) => {\n const { userDidConvert, getTimeOnForm } = useMetrics({\n segment: verificationService.verificationResponse.segment,\n programId: verificationService.programId,\n });\n\n useEffect(() => {\n const event: CollectStepStartEvent = {\n eventName: EventName.COLLECT_STARTED,\n params: {},\n };\n\n recordGaEvent(event);\n }, []);\n\n const successCallback = () => {\n try {\n const event: CollectStepSubmitEvent = {\n eventName: EventName.COLLECT_SUBMITTED,\n params: {\n [CustomMetricNames.EVENT_DURATION]: getTimeOnForm().duration,\n },\n };\n recordGaEvent(event);\n } catch (e) {\n logger.warn(\"Unable to measure time on form\");\n }\n\n userDidConvert(COLLECT_INFO_SUBMIT, COLLECT_INFO_SUBMISSION_TIME);\n };\n\n // The majority of the class/id dancing in this component are to support the\n // existing inconsistencies in our different collect info steps when they were\n // brought together into this shared component. When we get away from css based\n // customization this can get much saner\n const wrapperCls = wrapperClassNames[step];\n const buttonCls = buttonClassNames[step];\n\n const btnId = usesWrapperID.includes(step)\n ? \"sid-submit-wrapper__collect-info\"\n : \"sid-submit-btn-collect-info\";\n\n const btnText = failedInstantMatch ? (\n <FormattedHTMLMessage id=\"tryAgain\" defaultMessage=\"Try Again\" />\n ) : (\n buttonText\n );\n\n const textSpanProps =\n step === VerificationStepsEnum.collectEmployeePersonalInfo\n ? { className: \"sid-employment-submit-btn__text\" }\n : {};\n const isDisabled = !isFormFilled(viewModel, verificationService.formValidationOptions);\n\n return (\n <div className=\"sid-form-region sid-submit-wrapper sid-l-space-top-md\">\n <div className={`${wrapperCls} sid-submit`}>\n <button\n id={btnId}\n onClick={() => submitForm(viewModel, verificationService, step, successCallback)}\n type=\"submit\"\n className={`sid-btn ${buttonCls} sid-btn--dark sid-l-full-width ${\n isDisabled ? \"sid-btn--disabled-like\" : \"\"\n }`}\n aria-labelledby=\"verify-status-text\"\n ref={(button) => setRef(\"submitButton\", button)}\n aria-disabled={isDisabled}\n data-testid=\"submit-button\"\n >\n <span id=\"verify-status-text\" {...textSpanProps}>\n {btnText}\n </span>\n </button>\n </div>\n </div>\n );\n};\n"],"mappings":"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"}
|
|
@@ -1,41 +0,0 @@
|
|
|
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.277.0
|
|
8
|
-
* BUILD_TIMESTAMP: 1787693419738
|
|
9
|
-
* BUILD_DATE: Tue Aug 25 2026 21:30:19 GMT+0000 (Coordinated Universal Time)
|
|
10
|
-
* BUILD_COMMIT: 6bf9486531bf722019a9060202aca84ce001472b
|
|
11
|
-
*/
|
|
12
|
-
import { a as e, n as t, t as n } from "./jsx-runtime-LqzCS-0D.js";
|
|
13
|
-
import { a as r } from "./stepComponentHelpers-BdqtwfRd.js";
|
|
14
|
-
import { t as i } from "./FormFieldText-Gf13Luq7.js";
|
|
15
|
-
//#region src/components/FormFields/PostalCode/PostalCodeComponent.tsx
|
|
16
|
-
var a = n(), o = e(({ value: e, isErrored: n, onChange: o, explanation: s, intl: c, required: l = !0, placeholder: u = "", disabled: d = !1 }) => r("postalCode")?.hidden ? null : /* @__PURE__ */ (0, a.jsx)(i, {
|
|
17
|
-
fieldId: "postal-code",
|
|
18
|
-
refId: "postalCode",
|
|
19
|
-
pattern: "[a-zA-Z0-9 ]*",
|
|
20
|
-
value: e,
|
|
21
|
-
onChange: o,
|
|
22
|
-
placeholder: u || c.formatHTMLMessage({
|
|
23
|
-
id: "postalCodePlaceholder",
|
|
24
|
-
defaultMessage: "Postal Code"
|
|
25
|
-
}),
|
|
26
|
-
label: /* @__PURE__ */ (0, a.jsx)(t, {
|
|
27
|
-
id: "postalCode",
|
|
28
|
-
defaultMessage: "Postal Code"
|
|
29
|
-
}),
|
|
30
|
-
errorMessage: n && /* @__PURE__ */ (0, a.jsx)(t, {
|
|
31
|
-
id: "errorId.invalidPostalCode",
|
|
32
|
-
defaultMessage: "Invalid postal code"
|
|
33
|
-
}),
|
|
34
|
-
showPlaceholderAndHideLabel: !!u,
|
|
35
|
-
required: l,
|
|
36
|
-
explanation: s && s,
|
|
37
|
-
disabled: d,
|
|
38
|
-
autoComplete: "postal-code"
|
|
39
|
-
}));
|
|
40
|
-
//#endregion
|
|
41
|
-
export { o as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PostalCodeComponent-BhBBSAL-.js","names":[],"sources":["../../src/components/FormFields/PostalCode/PostalCodeComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldText } from \"../FormFieldText/FormFieldText\";\n\ninterface PassedProps {\n explanation?: string | JSX.Element;\n required?: boolean;\n}\n\nconst PostalCode = ({\n value,\n isErrored,\n onChange,\n explanation,\n intl,\n required = true, // backwards compatibility. TODOv2 make this the same as other fields\n placeholder = \"\",\n disabled = false,\n}: FormFieldComponentProps & PassedProps) => {\n const isFieldHidden = getFieldConfigByFieldId(\"postalCode\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldText\n fieldId=\"postal-code\"\n refId=\"postalCode\"\n pattern=\"[a-zA-Z0-9 ]*\"\n value={value}\n onChange={onChange}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({ id: \"postalCodePlaceholder\", defaultMessage: \"Postal Code\" })\n }\n label={<FormattedHTMLMessage id=\"postalCode\" defaultMessage=\"Postal Code\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidPostalCode\"\n defaultMessage=\"Invalid postal code\"\n />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n required={required}\n explanation={explanation && explanation}\n disabled={disabled}\n autoComplete=\"postal-code\"\n />\n );\n};\n\nexport const PostalCodeComponent = injectIntl(PostalCode);\n"],"mappings":";;;;aAyDa,IAAsB,GA7Cf,EAClB,UACA,cACA,aACA,gBACA,SACA,cAAW,IACX,iBAAc,IACd,cAAW,SAEW,EAAwB,YAAY,GAAG,SAGpD,OAIP,iBAAA,GAAA,EAAA,KAAC,GAAD;CACE,SAAQ;CACR,OAAM;CACN,SAAQ;CACD;CACG;CACV,aACE,KACA,EAAK,kBAAkB;EAAE,IAAI;EAAyB,gBAAgB;CAAc,CAAC;CAEvF,OAAO,iBAAA,GAAA,EAAA,KAAC,GAAD;EAAsB,IAAG;EAAa,gBAAe;CAAe,CAAA;CAC3E,cACE,KACE,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,IAAG;EACH,gBAAe;CAChB,CAAA;CAGL,6BAA6B,CAAC,CAAC;CACrB;CACV,aAAa,KAAe;CAClB;CACV,cAAa;AACd,CAAA,CAImD"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/**
|
|
3
|
-
* VERSION: 2.277.0
|
|
4
|
-
* BUILD_TIMESTAMP: 1787693415496
|
|
5
|
-
* BUILD_DATE: Tue Aug 25 2026 21:30:15 GMT+0000 (Coordinated Universal Time)
|
|
6
|
-
* BUILD_COMMIT: 6bf9486531bf722019a9060202aca84ce001472b
|
|
7
|
-
*/
|
|
8
|
-
import { a as e, n as t, t as n } from "./jsx-runtime-Ini3eO9_.js";
|
|
9
|
-
import { a as r } from "./stepComponentHelpers-DIHMDrmF.js";
|
|
10
|
-
import { t as i } from "./FormFieldText-BbdrtNh_.js";
|
|
11
|
-
//#region src/components/FormFields/PostalCode/PostalCodeComponent.tsx
|
|
12
|
-
var a = n(), o = e(({ value: e, isErrored: n, onChange: o, explanation: s, intl: c, required: l = !0, placeholder: u = "", disabled: d = !1 }) => r("postalCode")?.hidden ? null : /* @__PURE__ */ (0, a.jsx)(i, {
|
|
13
|
-
fieldId: "postal-code",
|
|
14
|
-
refId: "postalCode",
|
|
15
|
-
pattern: "[a-zA-Z0-9 ]*",
|
|
16
|
-
value: e,
|
|
17
|
-
onChange: o,
|
|
18
|
-
placeholder: u || c.formatHTMLMessage({
|
|
19
|
-
id: "postalCodePlaceholder",
|
|
20
|
-
defaultMessage: "Postal Code"
|
|
21
|
-
}),
|
|
22
|
-
label: /* @__PURE__ */ (0, a.jsx)(t, {
|
|
23
|
-
id: "postalCode",
|
|
24
|
-
defaultMessage: "Postal Code"
|
|
25
|
-
}),
|
|
26
|
-
errorMessage: n && /* @__PURE__ */ (0, a.jsx)(t, {
|
|
27
|
-
id: "errorId.invalidPostalCode",
|
|
28
|
-
defaultMessage: "Invalid postal code"
|
|
29
|
-
}),
|
|
30
|
-
showPlaceholderAndHideLabel: !!u,
|
|
31
|
-
required: l,
|
|
32
|
-
explanation: s && s,
|
|
33
|
-
disabled: d,
|
|
34
|
-
autoComplete: "postal-code"
|
|
35
|
-
}));
|
|
36
|
-
//#endregion
|
|
37
|
-
export { o as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PostalCodeComponent-DKC3DspF.js","names":[],"sources":["../../src/components/FormFields/PostalCode/PostalCodeComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldText } from \"../FormFieldText/FormFieldText\";\n\ninterface PassedProps {\n explanation?: string | JSX.Element;\n required?: boolean;\n}\n\nconst PostalCode = ({\n value,\n isErrored,\n onChange,\n explanation,\n intl,\n required = true, // backwards compatibility. TODOv2 make this the same as other fields\n placeholder = \"\",\n disabled = false,\n}: FormFieldComponentProps & PassedProps) => {\n const isFieldHidden = getFieldConfigByFieldId(\"postalCode\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldText\n fieldId=\"postal-code\"\n refId=\"postalCode\"\n pattern=\"[a-zA-Z0-9 ]*\"\n value={value}\n onChange={onChange}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({ id: \"postalCodePlaceholder\", defaultMessage: \"Postal Code\" })\n }\n label={<FormattedHTMLMessage id=\"postalCode\" defaultMessage=\"Postal Code\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidPostalCode\"\n defaultMessage=\"Invalid postal code\"\n />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n required={required}\n explanation={explanation && explanation}\n disabled={disabled}\n autoComplete=\"postal-code\"\n />\n );\n};\n\nexport const PostalCodeComponent = injectIntl(PostalCode);\n"],"mappings":";;;;aAyDa,IAAsB,GA7Cf,EAClB,UACA,cACA,aACA,gBACA,SACA,cAAW,IACX,iBAAc,IACd,cAAW,SAEW,EAAwB,YAAY,GAAG,SAGpD,OAIP,iBAAA,GAAA,EAAA,KAAC,GAAD;CACE,SAAQ;CACR,OAAM;CACN,SAAQ;CACD;CACG;CACV,aACE,KACA,EAAK,kBAAkB;EAAE,IAAI;EAAyB,gBAAgB;CAAc,CAAC;CAEvF,OAAO,iBAAA,GAAA,EAAA,KAAC,GAAD;EAAsB,IAAG;EAAa,gBAAe;CAAe,CAAA;CAC3E,cACE,KACE,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,IAAG;EACH,gBAAe;CAChB,CAAA;CAGL,6BAA6B,CAAC,CAAC;CACrB;CACV,aAAa,KAAe;CAClB;CACV,cAAa;AACd,CAAA,CAImD"}
|
package/chunk/SSN-7DHOlAAq.js
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/**
|
|
3
|
-
* VERSION: 2.277.0
|
|
4
|
-
* BUILD_TIMESTAMP: 1787693415496
|
|
5
|
-
* BUILD_DATE: Tue Aug 25 2026 21:30:15 GMT+0000 (Coordinated Universal Time)
|
|
6
|
-
* BUILD_COMMIT: 6bf9486531bf722019a9060202aca84ce001472b
|
|
7
|
-
*/
|
|
8
|
-
import { St as e } from "./options-pBCAJBwS.js";
|
|
9
|
-
import { a as t, n, t as r } from "./jsx-runtime-Ini3eO9_.js";
|
|
10
|
-
import { a as i } from "./stepComponentHelpers-DIHMDrmF.js";
|
|
11
|
-
import { t as a } from "./FormFieldText-BbdrtNh_.js";
|
|
12
|
-
//#region src/components/FormFields/SSN/SSNHelper.ts
|
|
13
|
-
var o = (e, t, n) => `${e.slice(0, n)}${t}${e.slice(n)}`, s = (e) => {
|
|
14
|
-
let t;
|
|
15
|
-
try {
|
|
16
|
-
if (t = e.toString(), !t) throw Error();
|
|
17
|
-
} catch {
|
|
18
|
-
return "";
|
|
19
|
-
}
|
|
20
|
-
return t = t.replace(/[^\d]/g, ""), t = o(t, "-", 3), t = o(t, "-", 6), t = t.replace("--", "").replace(/-$/, ""), t;
|
|
21
|
-
}, c = (e) => e.replace(/-/g, "").slice(0, 9), l = r(), u = t(({ value: t, isErrored: r, onChange: o, intl: u, placeholder: d = "", disabled: f = !1 }) => i("socialSecurityNumber")?.hidden ? null : /* @__PURE__ */ (0, l.jsx)(a, {
|
|
22
|
-
fieldId: "ssn",
|
|
23
|
-
className: "sid-ssn__input",
|
|
24
|
-
refId: e.socialSecurityNumber,
|
|
25
|
-
value: s(t),
|
|
26
|
-
onChange: (e) => o(c(e)),
|
|
27
|
-
placeholder: d || u.formatHTMLMessage({
|
|
28
|
-
id: "ssnPlaceholder",
|
|
29
|
-
defaultMessage: "000-00-0000"
|
|
30
|
-
}),
|
|
31
|
-
label: /* @__PURE__ */ (0, l.jsx)(n, {
|
|
32
|
-
id: "ssn",
|
|
33
|
-
defaultMessage: "Social Security Number"
|
|
34
|
-
}),
|
|
35
|
-
errorMessage: r && /* @__PURE__ */ (0, l.jsx)(n, {
|
|
36
|
-
id: "errorId.invalidSocialSecurityNumber",
|
|
37
|
-
defaultMessage: "Invalid SSN"
|
|
38
|
-
}),
|
|
39
|
-
showPlaceholderAndHideLabel: !!d,
|
|
40
|
-
required: !0,
|
|
41
|
-
disabled: f
|
|
42
|
-
}));
|
|
43
|
-
//#endregion
|
|
44
|
-
export { u as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SSN-7DHOlAAq.js","names":[],"sources":["../../src/components/FormFields/SSN/SSNHelper.ts","../../src/components/FormFields/SSN/SSN.tsx"],"sourcesContent":["import { SSN_STRING_LENGTH } from \"../../../constants\";\n\nconst insertAt = (str: string, sub: string, pos: number) =>\n `${str.slice(0, pos)}${sub}${str.slice(pos)}`;\n\nexport const displaySSN = (value: string) => {\n let stringValue: string;\n try {\n stringValue = value.toString();\n if (!stringValue) throw new Error();\n } catch (e) {\n return \"\";\n }\n stringValue = stringValue.replace(/[^\\d]/g, \"\"); // replce non-digit chars\n stringValue = insertAt(stringValue, \"-\", 3); // for display\n stringValue = insertAt(stringValue, \"-\", 6); // for display\n stringValue = stringValue\n .replace(\"--\", \"\") // just in case\n .replace(/-$/, \"\"); // don't add trailing hyphen, breaks backspace\n return stringValue;\n};\n\n// The viewModel and API don't include hyphens. Also enforces max length, prior to setting viewModel, avoiding off-by-one error.\nexport const unDisplaySSN = (value: string) => value.replace(/-/g, \"\").slice(0, SSN_STRING_LENGTH);\n","import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { FieldIdEnum } from \"../../../lib/types/runtimeTypes\";\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldText } from \"../FormFieldText/FormFieldText\";\n\nimport { displaySSN, unDisplaySSN } from \"./SSNHelper\";\n\nexport const SocialSecurity = ({\n value,\n isErrored,\n onChange,\n intl,\n placeholder = \"\",\n disabled = false,\n}: FormFieldComponentProps<string>) => {\n const isFieldHidden = getFieldConfigByFieldId(\"socialSecurityNumber\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldText\n fieldId=\"ssn\"\n className=\"sid-ssn__input\"\n refId={FieldIdEnum.socialSecurityNumber}\n value={displaySSN(value)}\n onChange={(newValue) => onChange(unDisplaySSN(newValue))}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({ id: \"ssnPlaceholder\", defaultMessage: \"000-00-0000\" })\n }\n label={<FormattedHTMLMessage id=\"ssn\" defaultMessage=\"Social Security Number\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidSocialSecurityNumber\"\n defaultMessage=\"Invalid SSN\"\n />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n required\n disabled={disabled}\n />\n );\n};\n\nexport const SocialSecurityNumber = injectIntl(SocialSecurity);\n"],"mappings":";;;;;AAEA,IAAM,KAAY,GAAa,GAAa,MAC1C,GAAG,EAAI,MAAM,GAAG,CAAG,IAAI,IAAM,EAAI,MAAM,CAAG,KAE/B,KAAc,MAAkB;CAC3C,IAAI;CACJ,IAAI;EAEF,IADA,IAAc,EAAM,SAAS,GACzB,CAAC,GAAa,MAAU,MAAM;CACpC,QAAY;EACV,OAAO;CACT;CAOA,OANA,IAAc,EAAY,QAAQ,UAAU,EAAE,GAC9C,IAAc,EAAS,GAAa,KAAK,CAAC,GAC1C,IAAc,EAAS,GAAa,KAAK,CAAC,GAC1C,IAAc,EACX,QAAQ,MAAM,EAAE,EAChB,QAAQ,MAAM,EAAE,GACZ;AACT,GAGa,KAAgB,MAAkB,EAAM,QAAQ,MAAM,EAAE,EAAE,MAAM,GAAA,CAAoB,YC4BpF,IAAuB,GAzCL,EAC7B,UACA,cACA,aACA,SACA,iBAAc,IACd,cAAW,SAEW,EAAwB,sBAAsB,GAAG,SAG9D,OAIP,iBAAA,GAAA,EAAA,KAAC,GAAD;CACE,SAAQ;CACR,WAAU;CACV,OAAO,EAAY;CACnB,OAAO,EAAW,CAAK;CACvB,WAAW,MAAa,EAAS,EAAa,CAAQ,CAAC;CACvD,aACE,KACA,EAAK,kBAAkB;EAAE,IAAI;EAAkB,gBAAgB;CAAc,CAAC;CAEhF,OAAO,iBAAA,GAAA,EAAA,KAAC,GAAD;EAAsB,IAAG;EAAM,gBAAe;CAA0B,CAAA;CAC/E,cACE,KACE,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,IAAG;EACH,gBAAe;CAChB,CAAA;CAGL,6BAA6B,CAAC,CAAC;CAC/B,UAAA;CACU;AACX,CAAA,CAIwD"}
|
package/chunk/SSN-DlBvRiaZ.js
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
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.277.0
|
|
8
|
-
* BUILD_TIMESTAMP: 1787693419738
|
|
9
|
-
* BUILD_DATE: Tue Aug 25 2026 21:30:19 GMT+0000 (Coordinated Universal Time)
|
|
10
|
-
* BUILD_COMMIT: 6bf9486531bf722019a9060202aca84ce001472b
|
|
11
|
-
*/
|
|
12
|
-
import { bt as e } from "./intl-e5WHiYfA.js";
|
|
13
|
-
import { a as t, n, t as r } from "./jsx-runtime-LqzCS-0D.js";
|
|
14
|
-
import { a as i } from "./stepComponentHelpers-BdqtwfRd.js";
|
|
15
|
-
import { t as a } from "./FormFieldText-Gf13Luq7.js";
|
|
16
|
-
//#region src/components/FormFields/SSN/SSNHelper.ts
|
|
17
|
-
var o = (e, t, n) => `${e.slice(0, n)}${t}${e.slice(n)}`, s = (e) => {
|
|
18
|
-
let t;
|
|
19
|
-
try {
|
|
20
|
-
if (t = e.toString(), !t) throw Error();
|
|
21
|
-
} catch {
|
|
22
|
-
return "";
|
|
23
|
-
}
|
|
24
|
-
return t = t.replace(/[^\d]/g, ""), t = o(t, "-", 3), t = o(t, "-", 6), t = t.replace("--", "").replace(/-$/, ""), t;
|
|
25
|
-
}, c = (e) => e.replace(/-/g, "").slice(0, 9), l = r(), u = t(({ value: t, isErrored: r, onChange: o, intl: u, placeholder: d = "", disabled: f = !1 }) => i("socialSecurityNumber")?.hidden ? null : /* @__PURE__ */ (0, l.jsx)(a, {
|
|
26
|
-
fieldId: "ssn",
|
|
27
|
-
className: "sid-ssn__input",
|
|
28
|
-
refId: e.socialSecurityNumber,
|
|
29
|
-
value: s(t),
|
|
30
|
-
onChange: (e) => o(c(e)),
|
|
31
|
-
placeholder: d || u.formatHTMLMessage({
|
|
32
|
-
id: "ssnPlaceholder",
|
|
33
|
-
defaultMessage: "000-00-0000"
|
|
34
|
-
}),
|
|
35
|
-
label: /* @__PURE__ */ (0, l.jsx)(n, {
|
|
36
|
-
id: "ssn",
|
|
37
|
-
defaultMessage: "Social Security Number"
|
|
38
|
-
}),
|
|
39
|
-
errorMessage: r && /* @__PURE__ */ (0, l.jsx)(n, {
|
|
40
|
-
id: "errorId.invalidSocialSecurityNumber",
|
|
41
|
-
defaultMessage: "Invalid SSN"
|
|
42
|
-
}),
|
|
43
|
-
showPlaceholderAndHideLabel: !!d,
|
|
44
|
-
required: !0,
|
|
45
|
-
disabled: f
|
|
46
|
-
}));
|
|
47
|
-
//#endregion
|
|
48
|
-
export { u as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SSN-DlBvRiaZ.js","names":[],"sources":["../../src/components/FormFields/SSN/SSNHelper.ts","../../src/components/FormFields/SSN/SSN.tsx"],"sourcesContent":["import { SSN_STRING_LENGTH } from \"../../../constants\";\n\nconst insertAt = (str: string, sub: string, pos: number) =>\n `${str.slice(0, pos)}${sub}${str.slice(pos)}`;\n\nexport const displaySSN = (value: string) => {\n let stringValue: string;\n try {\n stringValue = value.toString();\n if (!stringValue) throw new Error();\n } catch (e) {\n return \"\";\n }\n stringValue = stringValue.replace(/[^\\d]/g, \"\"); // replce non-digit chars\n stringValue = insertAt(stringValue, \"-\", 3); // for display\n stringValue = insertAt(stringValue, \"-\", 6); // for display\n stringValue = stringValue\n .replace(\"--\", \"\") // just in case\n .replace(/-$/, \"\"); // don't add trailing hyphen, breaks backspace\n return stringValue;\n};\n\n// The viewModel and API don't include hyphens. Also enforces max length, prior to setting viewModel, avoiding off-by-one error.\nexport const unDisplaySSN = (value: string) => value.replace(/-/g, \"\").slice(0, SSN_STRING_LENGTH);\n","import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { FieldIdEnum } from \"../../../lib/types/runtimeTypes\";\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldText } from \"../FormFieldText/FormFieldText\";\n\nimport { displaySSN, unDisplaySSN } from \"./SSNHelper\";\n\nexport const SocialSecurity = ({\n value,\n isErrored,\n onChange,\n intl,\n placeholder = \"\",\n disabled = false,\n}: FormFieldComponentProps<string>) => {\n const isFieldHidden = getFieldConfigByFieldId(\"socialSecurityNumber\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldText\n fieldId=\"ssn\"\n className=\"sid-ssn__input\"\n refId={FieldIdEnum.socialSecurityNumber}\n value={displaySSN(value)}\n onChange={(newValue) => onChange(unDisplaySSN(newValue))}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({ id: \"ssnPlaceholder\", defaultMessage: \"000-00-0000\" })\n }\n label={<FormattedHTMLMessage id=\"ssn\" defaultMessage=\"Social Security Number\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidSocialSecurityNumber\"\n defaultMessage=\"Invalid SSN\"\n />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n required\n disabled={disabled}\n />\n );\n};\n\nexport const SocialSecurityNumber = injectIntl(SocialSecurity);\n"],"mappings":";;;;;AAEA,IAAM,KAAY,GAAa,GAAa,MAC1C,GAAG,EAAI,MAAM,GAAG,CAAG,IAAI,IAAM,EAAI,MAAM,CAAG,KAE/B,KAAc,MAAkB;CAC3C,IAAI;CACJ,IAAI;EAEF,IADA,IAAc,EAAM,SAAS,GACzB,CAAC,GAAa,MAAU,MAAM;CACpC,QAAY;EACV,OAAO;CACT;CAOA,OANA,IAAc,EAAY,QAAQ,UAAU,EAAE,GAC9C,IAAc,EAAS,GAAa,KAAK,CAAC,GAC1C,IAAc,EAAS,GAAa,KAAK,CAAC,GAC1C,IAAc,EACX,QAAQ,MAAM,EAAE,EAChB,QAAQ,MAAM,EAAE,GACZ;AACT,GAGa,KAAgB,MAAkB,EAAM,QAAQ,MAAM,EAAE,EAAE,MAAM,GAAA,CAAoB,YC4BpF,IAAuB,GAzCL,EAC7B,UACA,cACA,aACA,SACA,iBAAc,IACd,cAAW,SAEW,EAAwB,sBAAsB,GAAG,SAG9D,OAIP,iBAAA,GAAA,EAAA,KAAC,GAAD;CACE,SAAQ;CACR,WAAU;CACV,OAAO,EAAY;CACnB,OAAO,EAAW,CAAK;CACvB,WAAW,MAAa,EAAS,EAAa,CAAQ,CAAC;CACvD,aACE,KACA,EAAK,kBAAkB;EAAE,IAAI;EAAkB,gBAAgB;CAAc,CAAC;CAEhF,OAAO,iBAAA,GAAA,EAAA,KAAC,GAAD;EAAsB,IAAG;EAAM,gBAAe;CAA0B,CAAA;CAC/E,cACE,KACE,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,IAAG;EACH,gBAAe;CAChB,CAAA;CAGL,6BAA6B,CAAC,CAAC;CAC/B,UAAA;CACU;AACX,CAAA,CAIwD"}
|
|
@@ -1,44 +0,0 @@
|
|
|
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.277.0
|
|
8
|
-
* BUILD_TIMESTAMP: 1787693419738
|
|
9
|
-
* BUILD_DATE: Tue Aug 25 2026 21:30:19 GMT+0000 (Coordinated Universal Time)
|
|
10
|
-
* BUILD_COMMIT: 6bf9486531bf722019a9060202aca84ce001472b
|
|
11
|
-
*/
|
|
12
|
-
import { a as e, n as t, t as n } from "./jsx-runtime-LqzCS-0D.js";
|
|
13
|
-
import { t as r } from "./FormFieldInputSelect-Cl4QZ12h.js";
|
|
14
|
-
//#region src/components/FormFields/State/StateSelectComponent.tsx
|
|
15
|
-
var i = n(), a = e(({ value: e, isErrored: n, options: a, onChange: o, intl: s, placeholder: c = "", label: l = "", isRequired: u = !1, disabled: d = !1 }) => {
|
|
16
|
-
let f = "state";
|
|
17
|
-
return /* @__PURE__ */ (0, i.jsx)(r, {
|
|
18
|
-
fieldId: f,
|
|
19
|
-
value: a.find((t) => t.value === e),
|
|
20
|
-
refId: "state",
|
|
21
|
-
onChange: (e) => o(e),
|
|
22
|
-
placeholder: c || s.formatHTMLMessage({
|
|
23
|
-
id: "statePlaceholder",
|
|
24
|
-
defaultMessage: "State"
|
|
25
|
-
}),
|
|
26
|
-
label: l || /* @__PURE__ */ (0, i.jsx)(t, {
|
|
27
|
-
id: "state",
|
|
28
|
-
defaultMessage: "State"
|
|
29
|
-
}),
|
|
30
|
-
errorMessage: n && /* @__PURE__ */ (0, i.jsx)(t, {
|
|
31
|
-
id: "errorId.invalidState",
|
|
32
|
-
defaultMessage: "Invalid state"
|
|
33
|
-
}),
|
|
34
|
-
showPlaceholderAndHideLabel: !!c,
|
|
35
|
-
options: a,
|
|
36
|
-
isRequired: u,
|
|
37
|
-
buttonRef: "inputSelectButtonState",
|
|
38
|
-
containerId: `sid-${f}__select`,
|
|
39
|
-
disabled: d,
|
|
40
|
-
autoComplete: "address-level1"
|
|
41
|
-
});
|
|
42
|
-
});
|
|
43
|
-
//#endregion
|
|
44
|
-
export { a as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StateSelectComponent-BXHXB6Kn.js","names":[],"sources":["../../src/components/FormFields/State/StateSelectComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { type FormSelectChoice, type InputSelectComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldInputSelect } from \"../FormFieldInputSelect/FormFieldInputSelect\";\n\nexport const StateSelect = ({\n value,\n isErrored,\n options,\n onChange,\n intl,\n placeholder = \"\",\n label = \"\",\n isRequired = false,\n disabled = false,\n}: InputSelectComponentProps) => {\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={\n placeholder ||\n intl.formatHTMLMessage({\n id: \"statePlaceholder\",\n defaultMessage: \"State\",\n })\n }\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\nexport const StateSelectComponent = injectIntl(StateSelect);\n"],"mappings":";;;aAgDa,IAAuB,GA3CR,EAC1B,UACA,cACA,YACA,aACA,SACA,iBAAc,IACd,WAAQ,IACR,gBAAa,IACb,cAAW,SACoB;CAC/B,IAAM,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,aACE,KACA,EAAK,kBAAkB;GACrB,IAAI;GACJ,gBAAgB;EAClB,CAAC;EAEH,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,CAE0D"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/**
|
|
3
|
-
* VERSION: 2.277.0
|
|
4
|
-
* BUILD_TIMESTAMP: 1787693415496
|
|
5
|
-
* BUILD_DATE: Tue Aug 25 2026 21:30:15 GMT+0000 (Coordinated Universal Time)
|
|
6
|
-
* BUILD_COMMIT: 6bf9486531bf722019a9060202aca84ce001472b
|
|
7
|
-
*/
|
|
8
|
-
import { a as e, n as t, t as n } from "./jsx-runtime-Ini3eO9_.js";
|
|
9
|
-
import { t as r } from "./FormFieldInputSelect-C6OyLsWL.js";
|
|
10
|
-
//#region src/components/FormFields/State/StateSelectComponent.tsx
|
|
11
|
-
var i = n(), a = e(({ value: e, isErrored: n, options: a, onChange: o, intl: s, placeholder: c = "", label: l = "", isRequired: u = !1, disabled: d = !1 }) => {
|
|
12
|
-
let f = "state";
|
|
13
|
-
return /* @__PURE__ */ (0, i.jsx)(r, {
|
|
14
|
-
fieldId: f,
|
|
15
|
-
value: a.find((t) => t.value === e),
|
|
16
|
-
refId: "state",
|
|
17
|
-
onChange: (e) => o(e),
|
|
18
|
-
placeholder: c || s.formatHTMLMessage({
|
|
19
|
-
id: "statePlaceholder",
|
|
20
|
-
defaultMessage: "State"
|
|
21
|
-
}),
|
|
22
|
-
label: l || /* @__PURE__ */ (0, i.jsx)(t, {
|
|
23
|
-
id: "state",
|
|
24
|
-
defaultMessage: "State"
|
|
25
|
-
}),
|
|
26
|
-
errorMessage: n && /* @__PURE__ */ (0, i.jsx)(t, {
|
|
27
|
-
id: "errorId.invalidState",
|
|
28
|
-
defaultMessage: "Invalid state"
|
|
29
|
-
}),
|
|
30
|
-
showPlaceholderAndHideLabel: !!c,
|
|
31
|
-
options: a,
|
|
32
|
-
isRequired: u,
|
|
33
|
-
buttonRef: "inputSelectButtonState",
|
|
34
|
-
containerId: `sid-${f}__select`,
|
|
35
|
-
disabled: d,
|
|
36
|
-
autoComplete: "address-level1"
|
|
37
|
-
});
|
|
38
|
-
});
|
|
39
|
-
//#endregion
|
|
40
|
-
export { a as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StateSelectComponent-lM5e-_1v.js","names":[],"sources":["../../src/components/FormFields/State/StateSelectComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { type FormSelectChoice, type InputSelectComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldInputSelect } from \"../FormFieldInputSelect/FormFieldInputSelect\";\n\nexport const StateSelect = ({\n value,\n isErrored,\n options,\n onChange,\n intl,\n placeholder = \"\",\n label = \"\",\n isRequired = false,\n disabled = false,\n}: InputSelectComponentProps) => {\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={\n placeholder ||\n intl.formatHTMLMessage({\n id: \"statePlaceholder\",\n defaultMessage: \"State\",\n })\n }\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\nexport const StateSelectComponent = injectIntl(StateSelect);\n"],"mappings":";;;aAgDa,IAAuB,GA3CR,EAC1B,UACA,cACA,YACA,aACA,SACA,iBAAc,IACd,WAAQ,IACR,gBAAa,IACb,cAAW,SACoB;CAC/B,IAAM,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,aACE,KACA,EAAK,kBAAkB;GACrB,IAAI;GACJ,gBAAgB;EAClB,CAAC;EAEH,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,CAE0D"}
|
|
@@ -1,219 +0,0 @@
|
|
|
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.277.0
|
|
8
|
-
* BUILD_TIMESTAMP: 1787693419738
|
|
9
|
-
* BUILD_DATE: Tue Aug 25 2026 21:30:19 GMT+0000 (Coordinated Universal Time)
|
|
10
|
-
* BUILD_COMMIT: 6bf9486531bf722019a9060202aca84ce001472b
|
|
11
|
-
*/
|
|
12
|
-
import { Nt as e, p as t, s as n } from "./intl-e5WHiYfA.js";
|
|
13
|
-
import { a as r, n as i, t as a } from "./jsx-runtime-LqzCS-0D.js";
|
|
14
|
-
import { c as o } from "./programThemeGetters-uLsgGat1.js";
|
|
15
|
-
import { t as s } from "../_mysheerid-preview.js";
|
|
16
|
-
import { a as c, h as l, r as u, u as d, v as f, y as p } from "./stepComponentHelpers-BdqtwfRd.js";
|
|
17
|
-
import { a as m, i as h, n as g, o as _, s as v, t as y } from "./CaptchaComponent-CCq7YSum.js";
|
|
18
|
-
import { n as b, t as x } from "./PersonalInfoStepSubmitButton-D_Y9q0Iy.js";
|
|
19
|
-
import { t as S } from "./PostalCodeComponent-BhBBSAL-.js";
|
|
20
|
-
import { t as C } from "./CountryComponentWrapper-DeR9PrA2.js";
|
|
21
|
-
import { t as w } from "./City-CUVEjTrI.js";
|
|
22
|
-
import { t as T } from "./AddressComponent-C3iwf09x.js";
|
|
23
|
-
import { t as E } from "./ExtraMessage-PLTUBdhw.js";
|
|
24
|
-
import { t as D } from "./ChangeLocaleComponent-CKKK4OcA.js";
|
|
25
|
-
import { t as O } from "./PersonalInfoStepWrapper-Dsb0Qcv5.js";
|
|
26
|
-
import { t as k } from "./FormFieldTypeahead-DbrQgvbJ.js";
|
|
27
|
-
import { t as A } from "./StateSelectComponent-BXHXB6Kn.js";
|
|
28
|
-
//#region src/components/FormFields/Company/CompanyComponent.tsx
|
|
29
|
-
var j = a(), M = r(({ value: e, isErrored: t, onChange: n, verificationService: r, intl: a, placeholder: s = "", disabled: l = !1 }) => c("organization")?.hidden ? null : /* @__PURE__ */ (0, j.jsx)(k, {
|
|
30
|
-
fieldId: "company",
|
|
31
|
-
value: e,
|
|
32
|
-
verificationService: r,
|
|
33
|
-
onChange: (e) => n(e),
|
|
34
|
-
placeholder: s || a.formatHTMLMessage({
|
|
35
|
-
id: "companyPlaceholder",
|
|
36
|
-
defaultMessage: "Company"
|
|
37
|
-
}),
|
|
38
|
-
label: /* @__PURE__ */ (0, j.jsx)(i, {
|
|
39
|
-
id: "company",
|
|
40
|
-
defaultMessage: "Company"
|
|
41
|
-
}),
|
|
42
|
-
errorMessage: t && /* @__PURE__ */ (0, j.jsx)(i, {
|
|
43
|
-
id: "errorId.invalidOrganization",
|
|
44
|
-
defaultMessage: "You must select an organization from the list"
|
|
45
|
-
}),
|
|
46
|
-
orgSearchUrl: o(r.viewModel, r.programTheme),
|
|
47
|
-
showPlaceholderAndHideLabel: !!s,
|
|
48
|
-
disabled: l
|
|
49
|
-
})), N = r(({ intl: r, verificationService: a }) => {
|
|
50
|
-
let o = a.viewModel, { fieldValidationErrors: k } = a, N = n(), P = (e, n) => {
|
|
51
|
-
let r = t(o, (t) => {
|
|
52
|
-
t[e] = n;
|
|
53
|
-
});
|
|
54
|
-
a.updateViewModel(r);
|
|
55
|
-
};
|
|
56
|
-
return /* @__PURE__ */ (0, j.jsxs)(O, {
|
|
57
|
-
verificationService: a,
|
|
58
|
-
step: a.verificationResponse.currentStep,
|
|
59
|
-
children: [
|
|
60
|
-
/* @__PURE__ */ (0, j.jsx)(s, {
|
|
61
|
-
verificationService: a,
|
|
62
|
-
classNameIdentifier: "employment"
|
|
63
|
-
}),
|
|
64
|
-
/* @__PURE__ */ (0, j.jsx)(D, { verificationService: a }),
|
|
65
|
-
/* @__PURE__ */ (0, j.jsx)(C, {
|
|
66
|
-
verificationService: a,
|
|
67
|
-
disabled: c("country")?.disabled,
|
|
68
|
-
viewModelDraftDecorator: (e, t) => {
|
|
69
|
-
let n = e;
|
|
70
|
-
n.shouldCollectAddress = l(t, a.programTheme.config.countries);
|
|
71
|
-
let r = [
|
|
72
|
-
"address1",
|
|
73
|
-
"city",
|
|
74
|
-
"state",
|
|
75
|
-
"postalCode"
|
|
76
|
-
], i = (n.fieldsToSkipValidation || []).filter((e) => !r.includes(e));
|
|
77
|
-
n.shouldCollectAddress ? n.fieldsToSkipValidation = i.length ? i : void 0 : (n.address1 = "", n.city = "", n.state = "", n.postalCode = "", n.fieldsToSkipValidation = [...i, ...r]);
|
|
78
|
-
}
|
|
79
|
-
}),
|
|
80
|
-
/* @__PURE__ */ (0, j.jsx)(M, {
|
|
81
|
-
value: a.viewModel.organization,
|
|
82
|
-
verificationService: a,
|
|
83
|
-
isErrored: !!k.organization,
|
|
84
|
-
disabled: c("organization")?.disabled,
|
|
85
|
-
onChange: (e) => {
|
|
86
|
-
p(e, a), f("organization", e, a);
|
|
87
|
-
}
|
|
88
|
-
}),
|
|
89
|
-
/* @__PURE__ */ (0, j.jsxs)("div", {
|
|
90
|
-
className: "sid-names",
|
|
91
|
-
children: [/* @__PURE__ */ (0, j.jsx)(m, {
|
|
92
|
-
value: o.firstName,
|
|
93
|
-
isErrored: !!k.firstName,
|
|
94
|
-
disabled: c("firstName")?.disabled,
|
|
95
|
-
onChange: (e) => {
|
|
96
|
-
P("firstName", e), f("firstName", e, a);
|
|
97
|
-
}
|
|
98
|
-
}), /* @__PURE__ */ (0, j.jsx)(h, {
|
|
99
|
-
value: o.lastName,
|
|
100
|
-
isErrored: !!k.lastName,
|
|
101
|
-
disabled: c("lastName")?.disabled,
|
|
102
|
-
onChange: (e) => {
|
|
103
|
-
P("lastName", e), f("lastName", e, a);
|
|
104
|
-
}
|
|
105
|
-
})]
|
|
106
|
-
}),
|
|
107
|
-
l(o.countryChoice, a.programTheme.config.countries) ? /* @__PURE__ */ (0, j.jsx)(T, {
|
|
108
|
-
isErrored: !!k.address1,
|
|
109
|
-
errorId: k.address1,
|
|
110
|
-
onChange: (e) => {
|
|
111
|
-
P("address1", e), f("address1", e, a);
|
|
112
|
-
},
|
|
113
|
-
isRequired: !0,
|
|
114
|
-
value: o.address1,
|
|
115
|
-
disabled: c("address1")?.disabled,
|
|
116
|
-
explanation: /* @__PURE__ */ (0, j.jsx)(i, {
|
|
117
|
-
id: "addressExplanation",
|
|
118
|
-
defaultMessage: "Use your home address"
|
|
119
|
-
})
|
|
120
|
-
}) : null,
|
|
121
|
-
l(o.countryChoice, a.programTheme.config.countries) ? /* @__PURE__ */ (0, j.jsxs)("div", {
|
|
122
|
-
className: "sid-thirds",
|
|
123
|
-
children: [
|
|
124
|
-
/* @__PURE__ */ (0, j.jsx)(w, {
|
|
125
|
-
isErrored: !!k.city,
|
|
126
|
-
errorId: k.city,
|
|
127
|
-
onChange: (e) => {
|
|
128
|
-
P("city", e), f("city", e, a);
|
|
129
|
-
},
|
|
130
|
-
value: o.city,
|
|
131
|
-
isRequired: !0,
|
|
132
|
-
disabled: c("city")?.disabled
|
|
133
|
-
}),
|
|
134
|
-
/* @__PURE__ */ (0, j.jsx)(A, {
|
|
135
|
-
isRequired: !0,
|
|
136
|
-
options: u(a.programTheme, r),
|
|
137
|
-
value: o.state || void 0,
|
|
138
|
-
isErrored: !!k.state,
|
|
139
|
-
onChange: async (e) => {
|
|
140
|
-
let t = e ? e.value : void 0;
|
|
141
|
-
P("state", t), f("state", t, a);
|
|
142
|
-
},
|
|
143
|
-
label: /* @__PURE__ */ (0, j.jsx)(i, {
|
|
144
|
-
id: "state",
|
|
145
|
-
defaultMessage: "State"
|
|
146
|
-
}),
|
|
147
|
-
disabled: c("state")?.disabled
|
|
148
|
-
}),
|
|
149
|
-
/* @__PURE__ */ (0, j.jsx)(S, {
|
|
150
|
-
isErrored: !!k.postalCode,
|
|
151
|
-
onChange: (e) => {
|
|
152
|
-
P("postalCode", e), f("postalCode", e, a);
|
|
153
|
-
},
|
|
154
|
-
value: o.postalCode,
|
|
155
|
-
disabled: c("postalCode")?.disabled
|
|
156
|
-
})
|
|
157
|
-
]
|
|
158
|
-
}) : null,
|
|
159
|
-
/* @__PURE__ */ (0, j.jsx)(b, {
|
|
160
|
-
value: o.email,
|
|
161
|
-
isErrored: !!k.email,
|
|
162
|
-
explanation: /* @__PURE__ */ (0, j.jsx)(i, {
|
|
163
|
-
id: "emailExplanation",
|
|
164
|
-
defaultMessage: "Use your work email if you have one"
|
|
165
|
-
}),
|
|
166
|
-
onChange: (e) => {
|
|
167
|
-
P("email", e), f("email", e, a);
|
|
168
|
-
},
|
|
169
|
-
onKeyDown: (e) => d(e),
|
|
170
|
-
disabled: c("email")?.disabled
|
|
171
|
-
}),
|
|
172
|
-
a.programTheme.isSmsNotifierConfigured || a.programTheme.smsLoopEnabled ? /* @__PURE__ */ (0, j.jsx)(_, {
|
|
173
|
-
isRequired: !!a.programTheme.smsLoopEnabled,
|
|
174
|
-
value: o.phoneNumber,
|
|
175
|
-
isErrored: !!k.phoneNumber,
|
|
176
|
-
onChange: (e) => {
|
|
177
|
-
P("phoneNumber", e), f("phoneNumber", e, a);
|
|
178
|
-
},
|
|
179
|
-
selectedCountryCode: o.countryChoice && o.countryChoice.value,
|
|
180
|
-
disabled: c("phoneNumber")?.disabled
|
|
181
|
-
}) : null,
|
|
182
|
-
N.customFormFields.map((e) => /* @__PURE__ */ (0, j.jsx)(g, {
|
|
183
|
-
config: e,
|
|
184
|
-
verificationService: a
|
|
185
|
-
})),
|
|
186
|
-
/* @__PURE__ */ (0, j.jsx)(v, {
|
|
187
|
-
verificationService: a,
|
|
188
|
-
isErrored: !!k.marketConsentValue,
|
|
189
|
-
onChange: (e) => {
|
|
190
|
-
P("metadata", {
|
|
191
|
-
...a.viewModel.metadata,
|
|
192
|
-
marketConsentValue: e
|
|
193
|
-
}), f("marketConsentValue", e, a);
|
|
194
|
-
},
|
|
195
|
-
viewModel: o,
|
|
196
|
-
disabled: c("marketConsentValue")?.disabled
|
|
197
|
-
}),
|
|
198
|
-
/* @__PURE__ */ (0, j.jsx)(E, {
|
|
199
|
-
verificationService: a,
|
|
200
|
-
suffix: "CollectAboveSubmit"
|
|
201
|
-
}),
|
|
202
|
-
/* @__PURE__ */ (0, j.jsx)(y, {
|
|
203
|
-
verificationService: a,
|
|
204
|
-
isErrored: !!k.captchaToken
|
|
205
|
-
}),
|
|
206
|
-
/* @__PURE__ */ (0, j.jsx)(x, {
|
|
207
|
-
step: e.collectEmployeePersonalInfo,
|
|
208
|
-
verificationService: a,
|
|
209
|
-
viewModel: o,
|
|
210
|
-
buttonText: /* @__PURE__ */ (0, j.jsx)(i, {
|
|
211
|
-
id: "step.personalInfo.submitButtonText",
|
|
212
|
-
defaultMessage: "Verify My Employment Status"
|
|
213
|
-
})
|
|
214
|
-
})
|
|
215
|
-
]
|
|
216
|
-
});
|
|
217
|
-
});
|
|
218
|
-
//#endregion
|
|
219
|
-
export { N as default };
|