@sheerid/jslib 2.278.0 → 2.280.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 +808 -809
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-LZTJCC-l.js → AddressComponent-Dt6V7nTl.js} +8 -8
- package/chunk/{AddressComponent-CaMRwh5O.js.map → AddressComponent-Dt6V7nTl.js.map} +1 -1
- package/chunk/{AddressComponent-CaMRwh5O.js → AddressComponent-jYt6u6Og.js} +8 -8
- package/chunk/{AddressComponent-LZTJCC-l.js.map → AddressComponent-jYt6u6Og.js.map} +1 -1
- package/chunk/{AnnouncingHeader-YPjBYzsZ.js → AnnouncingHeader-DXfeQFzD.js} +6 -6
- package/chunk/{AnnouncingHeader-CCVSQeQR.js.map → AnnouncingHeader-DXfeQFzD.js.map} +1 -1
- package/chunk/{AnnouncingHeader-CCVSQeQR.js → AnnouncingHeader-DgKb4Oci.js} +6 -6
- package/chunk/{AnnouncingHeader-YPjBYzsZ.js.map → AnnouncingHeader-DgKb4Oci.js.map} +1 -1
- package/chunk/{ApiUrls-_Hc7S_uv.js → ApiUrls-DU5mINxc.js} +13 -13
- package/chunk/{ApiUrls-_Hc7S_uv.js.map → ApiUrls-DU5mINxc.js.map} +1 -1
- package/chunk/{ApiUrls-DRCiQtw6.js → ApiUrls-iC5Epdhr.js} +13 -13
- package/chunk/{ApiUrls-DRCiQtw6.js.map → ApiUrls-iC5Epdhr.js.map} +1 -1
- package/chunk/{BirthDateComponent-CAQJ-IWM.js → BirthDateComponent-C31Jxnf9.js} +8 -8
- package/chunk/{BirthDateComponent-CAQJ-IWM.js.map → BirthDateComponent-C31Jxnf9.js.map} +1 -1
- package/chunk/{BirthDateComponent-_BjsBSM4.js → BirthDateComponent-J3GXZush.js} +8 -8
- package/chunk/{BirthDateComponent-_BjsBSM4.js.map → BirthDateComponent-J3GXZush.js.map} +1 -1
- package/chunk/{CaptchaComponent-D2OIvL-b.js → CaptchaComponent-BrH791mU.js} +143 -143
- package/chunk/{CaptchaComponent-BqREyMje.js.map → CaptchaComponent-BrH791mU.js.map} +1 -1
- package/chunk/{CaptchaComponent-BqREyMje.js → CaptchaComponent-D3gR_wiv.js} +131 -131
- package/chunk/{CaptchaComponent-D2OIvL-b.js.map → CaptchaComponent-D3gR_wiv.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-BvnXlDa-.js → ChangeLocaleComponent-4lrBj9C8.js} +63 -62
- package/chunk/{ChangeLocaleComponent-BvnXlDa-.js.map → ChangeLocaleComponent-4lrBj9C8.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-CpHB_D8Q.js → ChangeLocaleComponent-mFvHcArW.js} +63 -62
- package/chunk/{ChangeLocaleComponent-CpHB_D8Q.js.map → ChangeLocaleComponent-mFvHcArW.js.map} +1 -1
- package/chunk/{City-B6bQRRvQ.js → City-4Y-JSMns.js} +8 -8
- package/chunk/{City-B6bQRRvQ.js.map → City-4Y-JSMns.js.map} +1 -1
- package/chunk/{City-CCBan228.js → City-C9ODgW6J.js} +8 -8
- package/chunk/{City-CCBan228.js.map → City-C9ODgW6J.js.map} +1 -1
- package/chunk/{CollegeNameComponent-BbxIOfzR.js → CollegeNameComponent-Bx67cbxR.js} +9 -9
- package/chunk/{CollegeNameComponent-BbxIOfzR.js.map → CollegeNameComponent-Bx67cbxR.js.map} +1 -1
- package/chunk/{CollegeNameComponent-CEJO0-bq.js → CollegeNameComponent-DERbwtnk.js} +9 -9
- package/chunk/{CollegeNameComponent-CEJO0-bq.js.map → CollegeNameComponent-DERbwtnk.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-DGi3bxV2.js → CopyToClipboardComponent-B1sjjnah.js} +9 -9
- package/chunk/{CopyToClipboardComponent-DGi3bxV2.js.map → CopyToClipboardComponent-B1sjjnah.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-cLuyXFes.js → CopyToClipboardComponent-kC3bs3Rs.js} +9 -9
- package/chunk/{CopyToClipboardComponent-cLuyXFes.js.map → CopyToClipboardComponent-kC3bs3Rs.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-CW4yj9IF.js → CountryComponentWrapper-CR9HrOiD.js} +16 -16
- package/chunk/{CountryComponentWrapper-BNtvUusJ.js.map → CountryComponentWrapper-CR9HrOiD.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-BNtvUusJ.js → CountryComponentWrapper-Dp_Lw4Jz.js} +16 -16
- package/chunk/{CountryComponentWrapper-CW4yj9IF.js.map → CountryComponentWrapper-Dp_Lw4Jz.js.map} +1 -1
- package/chunk/{DischargeDateComponent-CNaz5UZP.js → DischargeDateComponent-CVzCNByg.js} +20 -21
- package/chunk/{DischargeDateComponent-CNaz5UZP.js.map → DischargeDateComponent-CVzCNByg.js.map} +1 -1
- package/chunk/{DischargeDateComponent-tTwN3FLy.js → DischargeDateComponent-CwuBWpWv.js} +17 -18
- package/chunk/{DischargeDateComponent-tTwN3FLy.js.map → DischargeDateComponent-CwuBWpWv.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-vsVldXkA.js → DriverLicenseNumberComponent-Bc6KjLgw.js} +8 -8
- package/chunk/{DriverLicenseNumberComponent-B5_svahy.js.map → DriverLicenseNumberComponent-Bc6KjLgw.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-B5_svahy.js → DriverLicenseNumberComponent-Dc0IOI_1.js} +8 -8
- package/chunk/{DriverLicenseNumberComponent-vsVldXkA.js.map → DriverLicenseNumberComponent-Dc0IOI_1.js.map} +1 -1
- package/chunk/{EmailLoopPending-DNFHR6Ck.js → EmailLoopPending-CgRp0qIE.js} +44 -53
- package/chunk/EmailLoopPending-CgRp0qIE.js.map +1 -0
- package/chunk/{EmailLoopPending-CYCQv7pW.js → EmailLoopPending-k272doKR.js} +45 -54
- package/chunk/EmailLoopPending-k272doKR.js.map +1 -0
- package/chunk/{ExtraMessage-Byw0Tgm1.js → ExtraMessage-BqOf0zRz.js} +7 -7
- package/chunk/{ExtraMessage-Byw0Tgm1.js.map → ExtraMessage-BqOf0zRz.js.map} +1 -1
- package/chunk/{ExtraMessage-g4LSV-H2.js → ExtraMessage-DNaGfjEE.js} +7 -7
- package/chunk/{ExtraMessage-g4LSV-H2.js.map → ExtraMessage-DNaGfjEE.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-DVF6aC7P.js → FirstResponderOrganizationComponent-C4O8PWXy.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-BtIXngo4.js.map → FirstResponderOrganizationComponent-C4O8PWXy.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-BtIXngo4.js → FirstResponderOrganizationComponent-CmNIF2iC.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-DVF6aC7P.js.map → FirstResponderOrganizationComponent-CmNIF2iC.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-D1aFx17c.js → FormFieldInputSelect-BaYOGEm0.js} +7 -7
- package/chunk/{FormFieldInputSelect-D1aFx17c.js.map → FormFieldInputSelect-BaYOGEm0.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-ie6Vx1Bx.js → FormFieldInputSelect-DDcenZW0.js} +7 -7
- package/chunk/{FormFieldInputSelect-ie6Vx1Bx.js.map → FormFieldInputSelect-DDcenZW0.js.map} +1 -1
- package/chunk/{FormFieldLayout-C4SCdGBC.js → FormFieldLayout-B0rAKucV.js} +6 -6
- package/chunk/{FormFieldLayout-C4SCdGBC.js.map → FormFieldLayout-B0rAKucV.js.map} +1 -1
- package/chunk/{FormFieldLayout-Cj_v9kYa.js → FormFieldLayout-CRoiILDA.js} +6 -6
- package/chunk/{FormFieldLayout-Cj_v9kYa.js.map → FormFieldLayout-CRoiILDA.js.map} +1 -1
- package/chunk/{FormFieldText-BbdrtNh_.js → FormFieldText-4HZU3C1Z.js} +7 -7
- package/chunk/{FormFieldText-BbdrtNh_.js.map → FormFieldText-4HZU3C1Z.js.map} +1 -1
- package/chunk/{FormFieldText-Gf13Luq7.js → FormFieldText-hOha2vTr.js} +7 -7
- package/chunk/{FormFieldText-Gf13Luq7.js.map → FormFieldText-hOha2vTr.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-DQEez7ko.js → FormFieldTypeahead-BCZ6Nsns.js} +141 -142
- package/chunk/{FormFieldTypeahead-uKX8ZHqO.js.map → FormFieldTypeahead-BCZ6Nsns.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-uKX8ZHqO.js → FormFieldTypeahead-Cv1WXfhF.js} +132 -133
- package/chunk/{FormFieldTypeahead-DQEez7ko.js.map → FormFieldTypeahead-Cv1WXfhF.js.map} +1 -1
- package/chunk/{FormFooterComponent-BHQc5VBK.js → FormFooterComponent-D9mEMiRZ.js} +515 -520
- package/chunk/FormFooterComponent-D9mEMiRZ.js.map +1 -0
- package/chunk/{FormFooterComponent-CAoH3NjO.js → FormFooterComponent-oaSe-Xzj.js} +468 -473
- package/chunk/FormFooterComponent-oaSe-Xzj.js.map +1 -0
- package/chunk/{FormSelectChoice-DjcUTWnw.js → FormSelectChoice-C8zbGNXM.js} +16 -16
- package/chunk/{FormSelectChoice-Cm99LmoK.js.map → FormSelectChoice-C8zbGNXM.js.map} +1 -1
- package/chunk/{FormSelectChoice-Cm99LmoK.js → FormSelectChoice-DhgV7HJV.js} +16 -16
- package/chunk/{FormSelectChoice-DjcUTWnw.js.map → FormSelectChoice-DhgV7HJV.js.map} +1 -1
- package/chunk/{InputText-BXPuBlPq.js → InputText-BZv5j2AC.js} +7 -7
- package/chunk/{InputText-BXPuBlPq.js.map → InputText-BZv5j2AC.js.map} +1 -1
- package/chunk/{InputText-h_myNeHr.js → InputText-CeC4vzEI.js} +7 -7
- package/chunk/{InputText-h_myNeHr.js.map → InputText-CeC4vzEI.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-BHrQmG_W.js → LicensedProfessionalOrganizationComponent-BXcQ9OAk.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-BHrQmG_W.js.map → LicensedProfessionalOrganizationComponent-BXcQ9OAk.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-DMdDUhnU.js → LicensedProfessionalOrganizationComponent-BY-_49Un.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-DMdDUhnU.js.map → LicensedProfessionalOrganizationComponent-BY-_49Un.js.map} +1 -1
- package/chunk/{LogoComponent-Do8K5ydz.js → LogoComponent-DIcMbBgg.js} +6 -6
- package/chunk/{LogoComponent-Do8K5ydz.js.map → LogoComponent-DIcMbBgg.js.map} +1 -1
- package/chunk/{LogoComponent-Dx1G-rzE.js → LogoComponent-U1dLeCEh.js} +6 -6
- package/chunk/{LogoComponent-Dx1G-rzE.js.map → LogoComponent-U1dLeCEh.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-DLxB_wnC.js → LowIncomeOrganizationComponent-BRvt-ulP.js} +21 -22
- package/chunk/{LowIncomeOrganizationComponent-DLxB_wnC.js.map → LowIncomeOrganizationComponent-BRvt-ulP.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-CZnbIM2h.js → LowIncomeOrganizationComponent-DGK9gkyA.js} +21 -22
- package/chunk/{LowIncomeOrganizationComponent-CZnbIM2h.js.map → LowIncomeOrganizationComponent-DGK9gkyA.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-t-k48G10.js → MedicalProfessionalOrganizationComponent-CTJ3FmrY.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-t-k48G10.js.map → MedicalProfessionalOrganizationComponent-CTJ3FmrY.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-CozwSmoI.js → MedicalProfessionalOrganizationComponent-DH5zW7H6.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-CozwSmoI.js.map → MedicalProfessionalOrganizationComponent-DH5zW7H6.js.map} +1 -1
- package/chunk/{MemberIdComponent-CYqH9MG5.js → MemberIdComponent-BAFAN1PO.js} +8 -8
- package/chunk/{MemberIdComponent-BzUuPdSk.js.map → MemberIdComponent-BAFAN1PO.js.map} +1 -1
- package/chunk/{MemberIdComponent-BzUuPdSk.js → MemberIdComponent-DFE0KKa8.js} +8 -8
- package/chunk/{MemberIdComponent-CYqH9MG5.js.map → MemberIdComponent-DFE0KKa8.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-Bbu2i3Dm.js → MembershipOrganizationComponent-Bqfrzd_X.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-BPQ27RX9.js.map → MembershipOrganizationComponent-Bqfrzd_X.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-BPQ27RX9.js → MembershipOrganizationComponent-CmgEVqRQ.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-Bbu2i3Dm.js.map → MembershipOrganizationComponent-CmgEVqRQ.js.map} +1 -1
- package/chunk/{Message-BK3a2RyH.js → Message-8LvAVwXZ.js} +3831 -2389
- package/chunk/Message-8LvAVwXZ.js.map +1 -0
- package/chunk/{Message-CSa2etjX.js → Message-C8ZwB4H_.js} +3934 -2476
- package/chunk/Message-C8ZwB4H_.js.map +1 -0
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-VxT_vwVv.js → PersonalInfoStepSubmitButton-CaE4yvTG.js} +18 -18
- package/chunk/PersonalInfoStepSubmitButton-CaE4yvTG.js.map +1 -0
- package/chunk/{PersonalInfoStepSubmitButton-BcdQUzMO.js → PersonalInfoStepSubmitButton-huS5DiV5.js} +18 -18
- package/chunk/PersonalInfoStepSubmitButton-huS5DiV5.js.map +1 -0
- package/chunk/{PersonalInfoStepWrapper-CxRB64LQ.js → PersonalInfoStepWrapper-CoL68lv9.js} +20 -20
- package/chunk/{PersonalInfoStepWrapper-CxRB64LQ.js.map → PersonalInfoStepWrapper-CoL68lv9.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-BHS3GKl7.js → PersonalInfoStepWrapper-D6RA9ErC.js} +7 -7
- package/chunk/{PersonalInfoStepWrapper-BHS3GKl7.js.map → PersonalInfoStepWrapper-D6RA9ErC.js.map} +1 -1
- package/chunk/{PostalCodeComponent-jmSOU3LM.js → PostalCodeComponent-BJJkLSwH.js} +8 -8
- package/chunk/{PostalCodeComponent-CKbC80_m.js.map → PostalCodeComponent-BJJkLSwH.js.map} +1 -1
- package/chunk/{PostalCodeComponent-CKbC80_m.js → PostalCodeComponent-gktdA05J.js} +8 -8
- package/chunk/{PostalCodeComponent-jmSOU3LM.js.map → PostalCodeComponent-gktdA05J.js.map} +1 -1
- package/chunk/{SSN-DNVykxAU.js → SSN-D32o5tdz.js} +9 -9
- package/chunk/{SSN-DHAzpgQK.js.map → SSN-D32o5tdz.js.map} +1 -1
- package/chunk/{SSN-DHAzpgQK.js → SSN-RI7wGUeN.js} +9 -9
- package/chunk/{SSN-DNVykxAU.js.map → SSN-RI7wGUeN.js.map} +1 -1
- package/chunk/{StateSelectComponent-B7Cp6ANo.js → StateSelectComponent-CUkPmdgD.js} +7 -7
- package/chunk/{StateSelectComponent-B5lHw2N5.js.map → StateSelectComponent-CUkPmdgD.js.map} +1 -1
- package/chunk/{StateSelectComponent-B5lHw2N5.js → StateSelectComponent-IqnD_yvb.js} +7 -7
- package/chunk/{StateSelectComponent-B7Cp6ANo.js.map → StateSelectComponent-IqnD_yvb.js.map} +1 -1
- package/chunk/{StatusComponent-CrGh5fqB.js → StatusComponent-B9rfe8oP.js} +8 -8
- package/chunk/{StatusComponent-CrGh5fqB.js.map → StatusComponent-B9rfe8oP.js.map} +1 -1
- package/chunk/{StatusComponent-CyX5COrt.js → StatusComponent-Domycxys.js} +8 -8
- package/chunk/{StatusComponent-CyX5COrt.js.map → StatusComponent-Domycxys.js.map} +1 -1
- package/chunk/StepAgePersonalInfo-CkvJUnK6.js +174 -0
- package/chunk/{StepAgePersonalInfo-BswIeVCd.js.map → StepAgePersonalInfo-CkvJUnK6.js.map} +1 -1
- package/chunk/StepAgePersonalInfo-DYee4Bdk.js +170 -0
- package/chunk/{StepAgePersonalInfo-CHBH5ROm.js.map → StepAgePersonalInfo-DYee4Bdk.js.map} +1 -1
- package/chunk/{StepCard-CWT2BiAH.js → StepCard-BgkQO1Vv.js} +5 -5
- package/chunk/{StepCard-B0o7IN6g.js.map → StepCard-BgkQO1Vv.js.map} +1 -1
- package/chunk/{StepCard-B0o7IN6g.js → StepCard-CdjikmfN.js} +5 -5
- package/chunk/{StepCard-CWT2BiAH.js.map → StepCard-CdjikmfN.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-D8IjgFjI.js → StepCollectIdentifier-CZPgIiri.js} +9 -9
- package/chunk/{StepCollectIdentifier-D8IjgFjI.js.map → StepCollectIdentifier-CZPgIiri.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-dPXJHRwi.js → StepCollectIdentifier-z7v0uFVo.js} +9 -9
- package/chunk/{StepCollectIdentifier-dPXJHRwi.js.map → StepCollectIdentifier-z7v0uFVo.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-nUcsuObN.js → StepCollectMilitaryPersonalInfoComponent-aLezCfcI.js} +62 -62
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-BanhTbjr.js.map → StepCollectMilitaryPersonalInfoComponent-aLezCfcI.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-BanhTbjr.js → StepCollectMilitaryPersonalInfoComponent-eHNUb4js.js} +62 -62
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-nUcsuObN.js.map → StepCollectMilitaryPersonalInfoComponent-eHNUb4js.js.map} +1 -1
- package/chunk/StepCollectPersonalInfo-BH2TbclC.js +372 -0
- package/chunk/{StepCollectPersonalInfo-BvBAA_0_.js.map → StepCollectPersonalInfo-BH2TbclC.js.map} +1 -1
- package/chunk/StepCollectPersonalInfo-mmn3gr1x.js +368 -0
- package/chunk/{StepCollectPersonalInfo-BLClPcAC.js.map → StepCollectPersonalInfo-mmn3gr1x.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-D7NH3MFa.js → StepCompleteAuthentication-aZqH2zX2.js} +21 -21
- package/chunk/{StepCompleteAuthentication-D7NH3MFa.js.map → StepCompleteAuthentication-aZqH2zX2.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-Cnv_QzG7.js → StepCompleteAuthentication-wMkyc86t.js} +21 -21
- package/chunk/{StepCompleteAuthentication-Cnv_QzG7.js.map → StepCompleteAuthentication-wMkyc86t.js.map} +1 -1
- package/chunk/{StepConsolation-CKbOj-OW.js → StepConsolation-DRnpaPIB.js} +9 -9
- package/chunk/{StepConsolation-CKbOj-OW.js.map → StepConsolation-DRnpaPIB.js.map} +1 -1
- package/chunk/{StepConsolation-qvCq7iMz.js → StepConsolation-Dv1D8Kkg.js} +9 -9
- package/chunk/{StepConsolation-qvCq7iMz.js.map → StepConsolation-Dv1D8Kkg.js.map} +1 -1
- package/chunk/{StepDocUpload-hbZjFKLA.js → StepDocUpload-CyqOFprF.js} +742 -745
- package/chunk/{StepDocUpload-CelPrD2S.js.map → StepDocUpload-CyqOFprF.js.map} +1 -1
- package/chunk/{StepDocUpload-CelPrD2S.js → StepDocUpload-DALptUyS.js} +628 -631
- package/chunk/{StepDocUpload-hbZjFKLA.js.map → StepDocUpload-DALptUyS.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-DeMFZtEJ.js → StepDriverLicensePersonalInfoComponent-BxHNa8Y6.js} +32 -32
- package/chunk/{StepDriverLicensePersonalInfoComponent-DeMFZtEJ.js.map → StepDriverLicensePersonalInfoComponent-BxHNa8Y6.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-Dz5hU0Hz.js → StepDriverLicensePersonalInfoComponent-vwgnq6DB.js} +32 -32
- package/chunk/{StepDriverLicensePersonalInfoComponent-Dz5hU0Hz.js.map → StepDriverLicensePersonalInfoComponent-vwgnq6DB.js.map} +1 -1
- package/chunk/{StepEmailLoop-DnFBaEUV.js → StepEmailLoop-BEIC15oF.js} +59 -59
- package/chunk/{StepEmailLoop-B_D0MzXV.js.map → StepEmailLoop-BEIC15oF.js.map} +1 -1
- package/chunk/{StepEmailLoop-B_D0MzXV.js → StepEmailLoop-CDFx1DYG.js} +59 -59
- package/chunk/{StepEmailLoop-DnFBaEUV.js.map → StepEmailLoop-CDFx1DYG.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-CWyReZIX.js → StepEmploymentPersonalInfo-BdPNUH_U.js} +49 -49
- package/chunk/{StepEmploymentPersonalInfo-D6wk7BPP.js.map → StepEmploymentPersonalInfo-BdPNUH_U.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-D6wk7BPP.js → StepEmploymentPersonalInfo-WW3m6eci.js} +49 -49
- package/chunk/{StepEmploymentPersonalInfo-CWyReZIX.js.map → StepEmploymentPersonalInfo-WW3m6eci.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-BEYQjJZE.js → StepFirstResponderPersonalInfo-CtkSlAqn.js} +50 -50
- package/chunk/{StepFirstResponderPersonalInfo-BEYQjJZE.js.map → StepFirstResponderPersonalInfo-CtkSlAqn.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-WFafxPno.js → StepFirstResponderPersonalInfo-duACveZS.js} +47 -47
- package/chunk/{StepFirstResponderPersonalInfo-WFafxPno.js.map → StepFirstResponderPersonalInfo-duACveZS.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-CO2Kb2oA.js → StepGeneralIdentityPersonalInfoComponent-BsZXHtwX.js} +41 -41
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-CO2Kb2oA.js.map → StepGeneralIdentityPersonalInfoComponent-BsZXHtwX.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Cu_uA-EX.js → StepGeneralIdentityPersonalInfoComponent-D9svwHkN.js} +41 -41
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Cu_uA-EX.js.map → StepGeneralIdentityPersonalInfoComponent-D9svwHkN.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-DjYZWEyO.js → StepHybridIdentityPersonalInfoComponent-BBXGkQ13.js} +44 -44
- package/chunk/{StepHybridIdentityPersonalInfoComponent-DjYZWEyO.js.map → StepHybridIdentityPersonalInfoComponent-BBXGkQ13.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-Dnr2P36W.js → StepHybridIdentityPersonalInfoComponent-ClebDHVj.js} +44 -44
- package/chunk/{StepHybridIdentityPersonalInfoComponent-Dnr2P36W.js.map → StepHybridIdentityPersonalInfoComponent-ClebDHVj.js.map} +1 -1
- package/chunk/StepIDCheckLoop-B1ZBa2cL.js +24 -0
- package/chunk/{StepIDCheckLoop-3dEcYNM-.js.map → StepIDCheckLoop-B1ZBa2cL.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-ADjD8T7n.js → StepIDCheckLoop-DYhoRoFm.js} +8 -8
- package/chunk/{StepIDCheckLoop-ADjD8T7n.js.map → StepIDCheckLoop-DYhoRoFm.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-DFITsdwV.js → StepIDCheckLoopOnfido-XnkRtW2L.js} +129 -130
- package/chunk/StepIDCheckLoopOnfido-XnkRtW2L.js.map +1 -0
- package/chunk/{StepIDCheckLoopOnfido-u841Fq12.js → StepIDCheckLoopOnfido-aRk8hzdK.js} +129 -130
- package/chunk/StepIDCheckLoopOnfido-aRk8hzdK.js.map +1 -0
- package/chunk/{StepIDCheckLoopRegula-4XrJNB8_.js → StepIDCheckLoopRegula-BljVwImZ.js} +22 -22
- package/chunk/{StepIDCheckLoopRegula-4XrJNB8_.js.map → StepIDCheckLoopRegula-BljVwImZ.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-DDU-aqdl.js → StepIDCheckLoopRegula-Cf7ASD1i.js} +22 -22
- package/chunk/{StepIDCheckLoopRegula-DDU-aqdl.js.map → StepIDCheckLoopRegula-Cf7ASD1i.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-CvU4u5nA.js → StepLicensedProfessionalPersonalInfo-D6n29Iss.js} +42 -42
- package/chunk/{StepLicensedProfessionalPersonalInfo-BXscxOmH.js.map → StepLicensedProfessionalPersonalInfo-D6n29Iss.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-BXscxOmH.js → StepLicensedProfessionalPersonalInfo-hXd4L7zJ.js} +42 -42
- package/chunk/{StepLicensedProfessionalPersonalInfo-CvU4u5nA.js.map → StepLicensedProfessionalPersonalInfo-hXd4L7zJ.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-BlvN-faw.js → StepLowIncomePersonalInfo-B9rvMh5D.js} +61 -61
- package/chunk/{StepLowIncomePersonalInfo-BD5AdV7z.js.map → StepLowIncomePersonalInfo-B9rvMh5D.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-BD5AdV7z.js → StepLowIncomePersonalInfo-Dt3q7Wto.js} +61 -61
- package/chunk/{StepLowIncomePersonalInfo-BlvN-faw.js.map → StepLowIncomePersonalInfo-Dt3q7Wto.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-DzPoAdkI.js → StepMedicalProfessionalPersonalInfo-Dj00ow88.js} +50 -50
- package/chunk/{StepMedicalProfessionalPersonalInfo-D-wc9M27.js.map → StepMedicalProfessionalPersonalInfo-Dj00ow88.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-D-wc9M27.js → StepMedicalProfessionalPersonalInfo-bFiCwH3X.js} +50 -50
- package/chunk/{StepMedicalProfessionalPersonalInfo-DzPoAdkI.js.map → StepMedicalProfessionalPersonalInfo-bFiCwH3X.js.map} +1 -1
- package/chunk/StepMemberPersonalInfo-D5G1Esfb.js +153 -0
- package/chunk/{StepMemberPersonalInfo-BwhcP3-x.js.map → StepMemberPersonalInfo-D5G1Esfb.js.map} +1 -1
- package/chunk/StepMemberPersonalInfo-DXQDbgye.js +157 -0
- package/chunk/{StepMemberPersonalInfo-DcH87kDt.js.map → StepMemberPersonalInfo-DXQDbgye.js.map} +1 -1
- package/chunk/StepMoverPersonalInfo-BoV-SR2Q.js +140 -0
- package/chunk/{StepMoverPersonalInfo-C3e_5Bhi.js.map → StepMoverPersonalInfo-BoV-SR2Q.js.map} +1 -1
- package/chunk/StepMoverPersonalInfo-C4dW2U-w.js +144 -0
- package/chunk/{StepMoverPersonalInfo-DdAYuWun.js.map → StepMoverPersonalInfo-C4dW2U-w.js.map} +1 -1
- package/chunk/{StepOverrideComponent-C58-KkL6.js → StepOverrideComponent-BLPmVFvp.js} +36 -38
- package/chunk/StepOverrideComponent-BLPmVFvp.js.map +1 -0
- package/chunk/{StepOverrideComponent-BA6ZbYda.js → StepOverrideComponent-jBI8dQE7.js} +36 -38
- package/chunk/StepOverrideComponent-jBI8dQE7.js.map +1 -0
- package/chunk/StepSMSLoop-BN32oj1H.js +168 -0
- package/chunk/StepSMSLoop-BN32oj1H.js.map +1 -0
- package/chunk/StepSMSLoop-Cyus2TEa.js +172 -0
- package/chunk/StepSMSLoop-Cyus2TEa.js.map +1 -0
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-6QeIRjAc.js → StepSocialSecurityNumber-BlzVBYtJ.js} +31 -27
- package/chunk/{StepSocialSecurityNumber-6QeIRjAc.js.map → StepSocialSecurityNumber-BlzVBYtJ.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-kcHexBbp.js → StepSocialSecurityNumber-DSnFbXs9.js} +17 -21
- package/chunk/{StepSocialSecurityNumber-kcHexBbp.js.map → StepSocialSecurityNumber-DSnFbXs9.js.map} +1 -1
- package/chunk/StepStudentPersonalInfo-03QpIWkq.js +217 -0
- package/chunk/StepStudentPersonalInfo-03QpIWkq.js.map +1 -0
- package/chunk/StepStudentPersonalInfo-BxyMqSGg.js +213 -0
- package/chunk/StepStudentPersonalInfo-BxyMqSGg.js.map +1 -0
- package/chunk/{StepSuccess-ZEmH-ZFX.js → StepSuccess--jHHRqxE.js} +31 -31
- package/chunk/{StepSuccess-Cc0UdSaD.js.map → StepSuccess--jHHRqxE.js.map} +1 -1
- package/chunk/{StepSuccess-Cc0UdSaD.js → StepSuccess-CY2liqnE.js} +31 -31
- package/chunk/{StepSuccess-ZEmH-ZFX.js.map → StepSuccess-CY2liqnE.js.map} +1 -1
- package/chunk/StepTeacherPersonalInfo-C8Limyv9.js +150 -0
- package/chunk/{StepTeacherPersonalInfo-CiHN6WAb.js.map → StepTeacherPersonalInfo-C8Limyv9.js.map} +1 -1
- package/chunk/StepTeacherPersonalInfo-CDiyDDoq.js +154 -0
- package/chunk/{StepTeacherPersonalInfo-X7uaefYx.js.map → StepTeacherPersonalInfo-CDiyDDoq.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-DL4ZFk5x.js → TeacherSchoolComponent-Bau63Qxf.js} +9 -9
- package/chunk/{TeacherSchoolComponent-DH3cPm43.js.map → TeacherSchoolComponent-Bau63Qxf.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-DH3cPm43.js → TeacherSchoolComponent-DgOYDpYq.js} +9 -9
- package/chunk/{TeacherSchoolComponent-DL4ZFk5x.js.map → TeacherSchoolComponent-DgOYDpYq.js.map} +1 -1
- package/chunk/TestingRouteOverrides-CVTgdIFf.js +77 -0
- package/chunk/{TestingRouteOverrides-CAGESMw9.js.map → TestingRouteOverrides-CVTgdIFf.js.map} +1 -1
- package/chunk/TestingRouteOverrides-CfhNQg5b.js +81 -0
- package/chunk/{TestingRouteOverrides-CrhfSmLr.js.map → TestingRouteOverrides-CfhNQg5b.js.map} +1 -1
- 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 → countryUtils-D3poSBsN.js} +5 -5
- package/chunk/{countryUtils-AR9k3KRg.js.map → countryUtils-D3poSBsN.js.map} +1 -1
- package/chunk/countryUtils-DhafHNJu.js +12 -0
- package/chunk/{countryUtils-DWqId-zY.js.map → countryUtils-DhafHNJu.js.map} +1 -1
- 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-5BwX87os.js → downshift.esm-CP7HkAFI.js} +7 -7
- package/chunk/{downshift.esm-5BwX87os.js.map → downshift.esm-CP7HkAFI.js.map} +1 -1
- package/chunk/{downshift.esm-GtunYkBG.js → downshift.esm-DiHkspCQ.js} +7 -7
- package/chunk/{downshift.esm-GtunYkBG.js.map → downshift.esm-DiHkspCQ.js.map} +1 -1
- package/chunk/el-Bv_XQ0FX.js +4 -4
- package/chunk/{empties-B6naRhes.js → empties-BAB8wNt9.js} +5 -5
- package/chunk/{empties-B6naRhes.js.map → empties-BAB8wNt9.js.map} +1 -1
- package/chunk/{empties-Crmkxudi.js → empties-Tz4MgFii.js} +49 -49
- package/chunk/{empties-Crmkxudi.js.map → empties-Tz4MgFii.js.map} +1 -1
- 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-ChQrxN58.js → hooks-C64fd9ZU.js} +80 -80
- package/chunk/{hooks-C15H5pD-.js.map → hooks-C64fd9ZU.js.map} +1 -1
- package/chunk/{hooks-C15H5pD-.js → hooks-DuYcWWea.js} +75 -75
- package/chunk/{hooks-ChQrxN58.js.map → hooks-DuYcWWea.js.map} +1 -1
- 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 → intl-COP5OPN0.js} +322 -319
- package/chunk/intl-COP5OPN0.js.map +1 -0
- 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-LqzCS-0D.js → jsx-runtime-CCEfa_da.js} +18 -18
- package/chunk/{jsx-runtime-Ini3eO9_.js.map → jsx-runtime-CCEfa_da.js.map} +1 -1
- package/chunk/{jsx-runtime-Ini3eO9_.js → jsx-runtime-CeCA46f-.js} +18 -18
- package/chunk/{jsx-runtime-LqzCS-0D.js.map → jsx-runtime-CeCA46f-.js.map} +1 -1
- 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 → mocks-CeB2B-__.js} +6 -6
- package/chunk/{mocks-DGc1byho.js.map → mocks-CeB2B-__.js.map} +1 -1
- package/chunk/{mocks-RU9BGNOn.js → mocks-R7IOaaBN.js} +9 -9
- package/chunk/{mocks-RU9BGNOn.js.map → mocks-R7IOaaBN.js.map} +1 -1
- 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 → options-sWzacjlS.js} +309 -306
- package/chunk/{options-pBCAJBwS.js.map → options-sWzacjlS.js.map} +1 -1
- package/chunk/pl-X0qJw7IS.js +4 -4
- package/chunk/{programThemeGetters-C9Sw0RZq.js → programThemeGetters-BnS5Q93M.js} +29 -25
- package/chunk/{programThemeGetters-C9Sw0RZq.js.map → programThemeGetters-BnS5Q93M.js.map} +1 -1
- package/chunk/programThemeGetters-D44jbcz5.js +149 -0
- package/chunk/{programThemeGetters-uLsgGat1.js.map → programThemeGetters-D44jbcz5.js.map} +1 -1
- package/chunk/pt-BR-C6XmLn3o.js +4 -4
- package/chunk/pt-o7v4iOVx.js +4 -4
- package/chunk/{refs-CGvEbCaw.js → refs-CYbzNJIm.js} +5 -5
- package/chunk/{refs-CGvEbCaw.js.map → refs-CYbzNJIm.js.map} +1 -1
- package/chunk/{refs-CI3K5ndt.js → refs-DiYh48lF.js} +5 -5
- package/chunk/{refs-CI3K5ndt.js.map → refs-DiYh48lF.js.map} +1 -1
- 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-CEcpJGQG.js +121 -0
- package/chunk/stepComponentHelpers-CEcpJGQG.js.map +1 -0
- package/chunk/stepComponentHelpers-DoMfmu_O.js +117 -0
- package/chunk/stepComponentHelpers-DoMfmu_O.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-Ce16y3_V.js +61 -0
- package/chunk/{useCollectFieldsEndpoint-74jMd594.js.map → useCollectFieldsEndpoint-Ce16y3_V.js.map} +1 -1
- package/chunk/useCollectFieldsEndpoint-DZRtkBor.js +65 -0
- package/chunk/{useCollectFieldsEndpoint-dSngHehw.js.map → useCollectFieldsEndpoint-DZRtkBor.js.map} +1 -1
- package/chunk/{useMetrics-O5xTFm6y.js → useMetrics-Bqc9pEAl.js} +19 -19
- package/chunk/{useMetrics-O5xTFm6y.js.map → useMetrics-Bqc9pEAl.js.map} +1 -1
- package/chunk/{useMetrics-BrHWTzbP.js → useMetrics-Lk6qCoTA.js} +19 -19
- package/chunk/{useMetrics-BrHWTzbP.js.map → useMetrics-Lk6qCoTA.js.map} +1 -1
- 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 +277 -278
- package/sheerid.js.map +1 -1
- package/chunk/EmailLoopPending-CYCQv7pW.js.map +0 -1
- package/chunk/EmailLoopPending-DNFHR6Ck.js.map +0 -1
- package/chunk/FormFooterComponent-BHQc5VBK.js.map +0 -1
- package/chunk/FormFooterComponent-CAoH3NjO.js.map +0 -1
- package/chunk/Message-BK3a2RyH.js.map +0 -1
- package/chunk/Message-CSa2etjX.js.map +0 -1
- package/chunk/PersonalInfoStepSubmitButton-BcdQUzMO.js.map +0 -1
- package/chunk/PersonalInfoStepSubmitButton-VxT_vwVv.js.map +0 -1
- package/chunk/StepAgePersonalInfo-BswIeVCd.js +0 -170
- package/chunk/StepAgePersonalInfo-CHBH5ROm.js +0 -174
- package/chunk/StepCollectPersonalInfo-BLClPcAC.js +0 -372
- package/chunk/StepCollectPersonalInfo-BvBAA_0_.js +0 -368
- package/chunk/StepIDCheckLoop-3dEcYNM-.js +0 -24
- package/chunk/StepIDCheckLoopOnfido-DFITsdwV.js.map +0 -1
- package/chunk/StepIDCheckLoopOnfido-u841Fq12.js.map +0 -1
- package/chunk/StepMemberPersonalInfo-BwhcP3-x.js +0 -157
- package/chunk/StepMemberPersonalInfo-DcH87kDt.js +0 -153
- package/chunk/StepMoverPersonalInfo-C3e_5Bhi.js +0 -140
- package/chunk/StepMoverPersonalInfo-DdAYuWun.js +0 -144
- package/chunk/StepOverrideComponent-BA6ZbYda.js.map +0 -1
- package/chunk/StepOverrideComponent-C58-KkL6.js.map +0 -1
- package/chunk/StepSMSLoop-CiFQF0bq.js +0 -181
- package/chunk/StepSMSLoop-CiFQF0bq.js.map +0 -1
- package/chunk/StepSMSLoop-DmbMtSCW.js +0 -185
- package/chunk/StepSMSLoop-DmbMtSCW.js.map +0 -1
- package/chunk/StepStudentPersonalInfo-CJJbSZ_C.js +0 -216
- package/chunk/StepStudentPersonalInfo-CJJbSZ_C.js.map +0 -1
- package/chunk/StepStudentPersonalInfo-ubt7IGBA.js +0 -220
- package/chunk/StepStudentPersonalInfo-ubt7IGBA.js.map +0 -1
- package/chunk/StepTeacherPersonalInfo-CiHN6WAb.js +0 -154
- package/chunk/StepTeacherPersonalInfo-X7uaefYx.js +0 -150
- package/chunk/TestingRouteOverrides-CAGESMw9.js +0 -81
- package/chunk/TestingRouteOverrides-CrhfSmLr.js +0 -77
- package/chunk/VerificationApiClient-CVe2IgK7.js +0 -1451
- package/chunk/VerificationApiClient-CVe2IgK7.js.map +0 -1
- package/chunk/VerificationApiClient-DOQLbKh3.js +0 -1471
- package/chunk/VerificationApiClient-DOQLbKh3.js.map +0 -1
- package/chunk/countryUtils-DWqId-zY.js +0 -12
- package/chunk/intl-e5WHiYfA.js.map +0 -1
- package/chunk/programThemeGetters-uLsgGat1.js +0 -153
- package/chunk/stepComponentHelpers-BdqtwfRd.js +0 -133
- package/chunk/stepComponentHelpers-BdqtwfRd.js.map +0 -1
- package/chunk/stepComponentHelpers-DIHMDrmF.js +0 -129
- package/chunk/stepComponentHelpers-DIHMDrmF.js.map +0 -1
- package/chunk/useCollectFieldsEndpoint-74jMd594.js +0 -66
- package/chunk/useCollectFieldsEndpoint-dSngHehw.js +0 -62
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"City-
|
|
1
|
+
{"version":3,"file":"City-C9ODgW6J.js","names":[],"sources":["../../src/components/FormFields/City/City.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { useMessage } from \"@/components/Message\";\nimport { FormFieldText } from \"@/components/FormFields/FormFieldText/FormFieldText\";\nimport { type FormFieldComponentProps } from \"@/lib/types/types\";\n\ninterface PassedProps {\n explanation?: string | JSX.Element; // eslint-disable-line\n onKeyDown?: Function;\n}\n\nexport const CityComponent = ({\n value,\n isErrored,\n onChange,\n isRequired = false,\n onKeyDown = undefined,\n placeholder = \"\",\n disabled = false,\n}: FormFieldComponentProps & PassedProps) => {\n const { msg } = useMessage();\n const isFieldHidden = getFieldConfigByFieldId(\"city\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldText\n fieldId=\"city\"\n value={value}\n onChange={onChange}\n placeholder={placeholder || msg({ id: \"cityPlaceholder\" })}\n label={<FormattedHTMLMessage id=\"city\" defaultMessage=\"City\" />}\n errorMessage={\n isErrored && <FormattedHTMLMessage id=\"errorId.invalidCity\" defaultMessage=\"Invalid city\" />\n }\n showPlaceholderAndHideLabel={!!placeholder}\n required={isRequired}\n onKeyDown={typeof onKeyDown === \"function\" ? (e) => onKeyDown(e) : undefined}\n disabled={disabled}\n autoComplete=\"address-level2\"\n />\n );\n};\n"],"mappings":";;;;;aAaa,KAAiB,EAC5B,UACA,cACA,aACA,gBAAa,IACb,eAAY,KAAA,GACZ,iBAAc,IACd,cAAW,SACgC;CAC3C,IAAM,EAAE,WAAQ,EAAW;CAO3B,OANsB,EAAwB,MAAM,GAAG,SAG9C,OAIP,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,SAAQ;EACD;EACG;EACV,aAAa,KAAe,EAAI,EAAE,IAAI,kBAAkB,CAAC;EACzD,OAAO,iBAAA,GAAA,EAAA,KAAC,GAAD;GAAsB,IAAG;GAAO,gBAAe;EAAQ,CAAA;EAC9D,cACE,KAAa,iBAAA,GAAA,EAAA,KAAC,GAAD;GAAsB,IAAG;GAAsB,gBAAe;EAAgB,CAAA;EAE7F,6BAA6B,CAAC,CAAC;EAC/B,UAAU;EACV,WAAW,OAAO,KAAc,cAAc,MAAM,EAAU,CAAC,IAAI,KAAA;EACzD;EACV,cAAa;CACd,CAAA;AAEL"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.280.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1789074197174
|
|
5
|
+
* BUILD_DATE: Thu Sep 10 2026 21:03:17 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 0337262e7e7380640882a11e0184fba716c38a59
|
|
7
7
|
*/
|
|
8
|
-
import { n as e } from "./options-
|
|
9
|
-
import { a as t, n, t as r } from "./jsx-runtime-
|
|
10
|
-
import { c as i } from "./programThemeGetters-
|
|
11
|
-
import { a } from "./stepComponentHelpers-
|
|
12
|
-
import { t as o } from "./FormFieldTypeahead-
|
|
8
|
+
import { n as e } from "./options-sWzacjlS.js";
|
|
9
|
+
import { a as t, n, t as r } from "./jsx-runtime-CeCA46f-.js";
|
|
10
|
+
import { c as i } from "./programThemeGetters-D44jbcz5.js";
|
|
11
|
+
import { i as a } from "./stepComponentHelpers-DoMfmu_O.js";
|
|
12
|
+
import { t as o } from "./FormFieldTypeahead-Cv1WXfhF.js";
|
|
13
13
|
//#region src/components/FormFields/CollegeName/CollegeNameComponent.tsx
|
|
14
14
|
var s = r(), c = t(({ value: t, isErrored: r, onChange: c, verificationService: l, intl: u, placeholder: d = "", isRequired: f = !0, disabled: p = !1 }) => {
|
|
15
15
|
let m = (e().urlAddSchoolForm || "").trim();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CollegeNameComponent-
|
|
1
|
+
{"version":3,"file":"CollegeNameComponent-Bx67cbxR.js","names":[],"sources":["../../src/components/FormFields/CollegeName/CollegeNameComponent.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 { getOptions } from \"../../../options/options\";\nimport { FormFieldTypeahead } from \"../FormFieldTypeahead/FormFieldTypeahead\";\nimport { getOrgSearchUrl } from \"../../../lib/ProgramTheme/programThemeGetters\";\n\nexport const CollegeName = ({\n value,\n isErrored,\n onChange,\n verificationService,\n intl,\n placeholder = \"\",\n isRequired = true,\n disabled = false,\n}: FormFieldComponentProps<Organization> & VerificationServiceProps) => {\n const urlAddSchoolForm = (getOptions().urlAddSchoolForm || \"\").trim();\n\n const isFieldHidden = getFieldConfigByFieldId(\"organization\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldTypeahead\n fieldId=\"college-name\"\n value={value}\n verificationService={verificationService}\n onChange={(choice: Organization) => onChange(choice)}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({\n id: \"schoolNamePlaceholder\",\n defaultMessage: \"University / College name\",\n })\n }\n label={<FormattedHTMLMessage id=\"schoolName\" defaultMessage=\"University / College name\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidOrganization\"\n defaultMessage=\"You must select an organization from the list\"\n />\n )\n }\n isRequired={isRequired}\n showPlaceholderAndHideLabel={!!placeholder}\n orgSearchUrl={getOrgSearchUrl(\n verificationService.viewModel,\n verificationService.programTheme,\n )}\n urlAddSchoolForm={urlAddSchoolForm}\n disabled={disabled}\n />\n );\n};\n\nexport const CollegeNameComponent = injectIntl(CollegeName);\n"],"mappings":";;;;;;aAiEa,IAAuB,GApDR,EAC1B,UACA,cACA,aACA,wBACA,SACA,iBAAc,IACd,gBAAa,IACb,cAAW,SAC2D;CACtE,IAAM,KAAoB,EAAW,EAAE,oBAAoB,IAAI,KAAK;CAQpE,OANsB,EAAwB,cAAc,GAAG,SAGtD,OAIP,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,SAAQ;EACD;EACc;EACrB,WAAW,MAAyB,EAAS,CAAM;EACnD,aACE,KACA,EAAK,kBAAkB;GACrB,IAAI;GACJ,gBAAgB;EAClB,CAAC;EAEH,OAAO,iBAAA,GAAA,EAAA,KAAC,GAAD;GAAsB,IAAG;GAAa,gBAAe;EAA6B,CAAA;EACzF,cACE,KACE,iBAAA,GAAA,EAAA,KAAC,GAAD;GACE,IAAG;GACH,gBAAe;EAChB,CAAA;EAGO;EACZ,6BAA6B,CAAC,CAAC;EAC/B,cAAc,EACZ,EAAoB,WACpB,EAAoB,YACtB;EACkB;EACR;CACX,CAAA;AAEL,CAE0D"}
|
|
@@ -4,16 +4,16 @@
|
|
|
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.280.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1789074204977
|
|
9
|
+
* BUILD_DATE: Thu Sep 10 2026 21:03:24 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 0337262e7e7380640882a11e0184fba716c38a59
|
|
11
11
|
*/
|
|
12
|
-
import { s as e } from "./intl-
|
|
13
|
-
import { a as t, n, t as r } from "./jsx-runtime-
|
|
14
|
-
import { c as i } from "./programThemeGetters-
|
|
15
|
-
import { a } from "./stepComponentHelpers-
|
|
16
|
-
import { t as o } from "./FormFieldTypeahead-
|
|
12
|
+
import { s as e } from "./intl-COP5OPN0.js";
|
|
13
|
+
import { a as t, n, t as r } from "./jsx-runtime-CCEfa_da.js";
|
|
14
|
+
import { c as i } from "./programThemeGetters-BnS5Q93M.js";
|
|
15
|
+
import { i as a } from "./stepComponentHelpers-CEcpJGQG.js";
|
|
16
|
+
import { t as o } from "./FormFieldTypeahead-BCZ6Nsns.js";
|
|
17
17
|
//#region src/components/FormFields/CollegeName/CollegeNameComponent.tsx
|
|
18
18
|
var s = r(), c = t(({ value: t, isErrored: r, onChange: c, verificationService: l, intl: u, placeholder: d = "", isRequired: f = !0, disabled: p = !1 }) => {
|
|
19
19
|
let m = (e().urlAddSchoolForm || "").trim();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CollegeNameComponent-
|
|
1
|
+
{"version":3,"file":"CollegeNameComponent-DERbwtnk.js","names":[],"sources":["../../src/components/FormFields/CollegeName/CollegeNameComponent.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 { getOptions } from \"../../../options/options\";\nimport { FormFieldTypeahead } from \"../FormFieldTypeahead/FormFieldTypeahead\";\nimport { getOrgSearchUrl } from \"../../../lib/ProgramTheme/programThemeGetters\";\n\nexport const CollegeName = ({\n value,\n isErrored,\n onChange,\n verificationService,\n intl,\n placeholder = \"\",\n isRequired = true,\n disabled = false,\n}: FormFieldComponentProps<Organization> & VerificationServiceProps) => {\n const urlAddSchoolForm = (getOptions().urlAddSchoolForm || \"\").trim();\n\n const isFieldHidden = getFieldConfigByFieldId(\"organization\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldTypeahead\n fieldId=\"college-name\"\n value={value}\n verificationService={verificationService}\n onChange={(choice: Organization) => onChange(choice)}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({\n id: \"schoolNamePlaceholder\",\n defaultMessage: \"University / College name\",\n })\n }\n label={<FormattedHTMLMessage id=\"schoolName\" defaultMessage=\"University / College name\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidOrganization\"\n defaultMessage=\"You must select an organization from the list\"\n />\n )\n }\n isRequired={isRequired}\n showPlaceholderAndHideLabel={!!placeholder}\n orgSearchUrl={getOrgSearchUrl(\n verificationService.viewModel,\n verificationService.programTheme,\n )}\n urlAddSchoolForm={urlAddSchoolForm}\n disabled={disabled}\n />\n );\n};\n\nexport const CollegeNameComponent = injectIntl(CollegeName);\n"],"mappings":";;;;;;aAiEa,IAAuB,GApDR,EAC1B,UACA,cACA,aACA,wBACA,SACA,iBAAc,IACd,gBAAa,IACb,cAAW,SAC2D;CACtE,IAAM,KAAoB,EAAW,EAAE,oBAAoB,IAAI,KAAK;CAQpE,OANsB,EAAwB,cAAc,GAAG,SAGtD,OAIP,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,SAAQ;EACD;EACc;EACrB,WAAW,MAAyB,EAAS,CAAM;EACnD,aACE,KACA,EAAK,kBAAkB;GACrB,IAAI;GACJ,gBAAgB;EAClB,CAAC;EAEH,OAAO,iBAAA,GAAA,EAAA,KAAC,GAAD;GAAsB,IAAG;GAAa,gBAAe;EAA6B,CAAA;EACzF,cACE,KACE,iBAAA,GAAA,EAAA,KAAC,GAAD;GACE,IAAG;GACH,gBAAe;EAChB,CAAA;EAGO;EACZ,6BAA6B,CAAC,CAAC;EAC/B,cAAc,EACZ,EAAoB,WACpB,EAAoB,YACtB;EACkB;EACR;CACX,CAAA;AAEL,CAE0D"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.280.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1789074197174
|
|
5
|
+
* BUILD_DATE: Thu Sep 10 2026 21:03:17 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 0337262e7e7380640882a11e0184fba716c38a59
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
9
|
-
import { c as n, t as r } from "./jsx-runtime-
|
|
8
|
+
import { Gt as e, Ut as t } from "./options-sWzacjlS.js";
|
|
9
|
+
import { c as n, t as r } from "./jsx-runtime-CeCA46f-.js";
|
|
10
10
|
//#region ../node_modules/toggle-selection/index.js
|
|
11
|
-
var i = /* @__PURE__ */
|
|
11
|
+
var i = /* @__PURE__ */ t(((e, t) => {
|
|
12
12
|
t.exports = function() {
|
|
13
13
|
var e = document.getSelection();
|
|
14
14
|
if (!e.rangeCount) return function() {};
|
|
@@ -28,7 +28,7 @@ var i = /* @__PURE__ */ e(((e, t) => {
|
|
|
28
28
|
}), t && t.focus();
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
|
-
})), a = /* @__PURE__ */
|
|
31
|
+
})), a = /* @__PURE__ */ t(((e, t) => {
|
|
32
32
|
var n = i(), r = {
|
|
33
33
|
"text/plain": "Text",
|
|
34
34
|
"text/html": "Url",
|
|
@@ -64,7 +64,7 @@ var i = /* @__PURE__ */ e(((e, t) => {
|
|
|
64
64
|
return f;
|
|
65
65
|
}
|
|
66
66
|
t.exports = s;
|
|
67
|
-
})), o = /* @__PURE__ */
|
|
67
|
+
})), o = /* @__PURE__ */ e(n(), 1), s = /* @__PURE__ */ e(a(), 1), c = r(), l = 2e3, u = "sid-to-clipboard__notification-text sid-to-clipboard__notification-text--hidden", d = "sid-to-clipboard__notification-text sid-to-clipboard__notification-text--visible", f = class extends o.Component {
|
|
68
68
|
notificationTimeout;
|
|
69
69
|
timeoutRef;
|
|
70
70
|
constructor(e) {
|
package/chunk/{CopyToClipboardComponent-DGi3bxV2.js.map → CopyToClipboardComponent-B1sjjnah.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CopyToClipboardComponent-DGi3bxV2.js","names":[],"sources":["../../../node_modules/toggle-selection/index.js","../../../node_modules/copy-to-clipboard/index.js","../../src/components/CopyToClipboard/CopyToClipboardComponent.tsx"],"sourcesContent":["\nmodule.exports = function () {\n var selection = document.getSelection();\n if (!selection.rangeCount) {\n return function () {};\n }\n var active = document.activeElement;\n\n var ranges = [];\n for (var i = 0; i < selection.rangeCount; i++) {\n ranges.push(selection.getRangeAt(i));\n }\n\n switch (active.tagName.toUpperCase()) { // .toUpperCase handles XHTML\n case 'INPUT':\n case 'TEXTAREA':\n active.blur();\n break;\n\n default:\n active = null;\n break;\n }\n\n selection.removeAllRanges();\n return function () {\n selection.type === 'Caret' &&\n selection.removeAllRanges();\n\n if (!selection.rangeCount) {\n ranges.forEach(function(range) {\n selection.addRange(range);\n });\n }\n\n active &&\n active.focus();\n };\n};\n","\"use strict\";\n\nvar deselectCurrent = require(\"toggle-selection\");\n\nvar clipboardToIE11Formatting = {\n \"text/plain\": \"Text\",\n \"text/html\": \"Url\",\n \"default\": \"Text\"\n}\n\nvar defaultMessage = \"Copy to clipboard: #{key}, Enter\";\n\nfunction format(message) {\n var copyKey = (/mac os x/i.test(navigator.userAgent) ? \"⌘\" : \"Ctrl\") + \"+C\";\n return message.replace(/#{\\s*key\\s*}/g, copyKey);\n}\n\nfunction copy(text, options) {\n var debug,\n message,\n reselectPrevious,\n range,\n selection,\n mark,\n success = false;\n if (!options) {\n options = {};\n }\n debug = options.debug || false;\n try {\n reselectPrevious = deselectCurrent();\n\n range = document.createRange();\n selection = document.getSelection();\n\n mark = document.createElement(\"span\");\n mark.textContent = text;\n // avoid screen readers from reading out loud the text\n mark.ariaHidden = \"true\"\n // reset user styles for span element\n mark.style.all = \"unset\";\n // prevents scrolling to the end of the page\n mark.style.position = \"fixed\";\n mark.style.top = 0;\n mark.style.clip = \"rect(0, 0, 0, 0)\";\n // used to preserve spaces and line breaks\n mark.style.whiteSpace = \"pre\";\n // do not inherit user-select (it may be `none`)\n mark.style.webkitUserSelect = \"text\";\n mark.style.MozUserSelect = \"text\";\n mark.style.msUserSelect = \"text\";\n mark.style.userSelect = \"text\";\n mark.addEventListener(\"copy\", function(e) {\n e.stopPropagation();\n if (options.format) {\n e.preventDefault();\n if (typeof e.clipboardData === \"undefined\") { // IE 11\n debug && console.warn(\"unable to use e.clipboardData\");\n debug && console.warn(\"trying IE specific stuff\");\n window.clipboardData.clearData();\n var format = clipboardToIE11Formatting[options.format] || clipboardToIE11Formatting[\"default\"]\n window.clipboardData.setData(format, text);\n } else { // all other browsers\n e.clipboardData.clearData();\n e.clipboardData.setData(options.format, text);\n }\n }\n if (options.onCopy) {\n e.preventDefault();\n options.onCopy(e.clipboardData);\n }\n });\n\n document.body.appendChild(mark);\n\n range.selectNodeContents(mark);\n selection.addRange(range);\n\n var successful = document.execCommand(\"copy\");\n if (!successful) {\n throw new Error(\"copy command was unsuccessful\");\n }\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using execCommand: \", err);\n debug && console.warn(\"trying IE specific stuff\");\n try {\n window.clipboardData.setData(options.format || \"text\", text);\n options.onCopy && options.onCopy(window.clipboardData);\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using clipboardData: \", err);\n debug && console.error(\"falling back to prompt\");\n message = format(\"message\" in options ? options.message : defaultMessage);\n window.prompt(message, text);\n }\n } finally {\n if (selection) {\n if (typeof selection.removeRange == \"function\") {\n selection.removeRange(range);\n } else {\n selection.removeAllRanges();\n }\n }\n\n if (mark) {\n document.body.removeChild(mark);\n }\n reselectPrevious();\n }\n\n return success;\n}\n\nmodule.exports = copy;\n","/**\n * Wrap a button or link with copy-to-clipboard behavior.\n *\n * Example Use:\n <CopyToClipboard textToCopy={htmlSource} notificationText={<FormattedHTMLMessage id=\"copied\" />}>\n <LinkButton ... />\n </CopyToClipboard>\n */\nimport React from \"react\";\nimport copyToClipboard from \"copy-to-clipboard\";\n\ninterface Props {\n textToCopy: string;\n notificationTimeout?: number;\n notificationText?: string | JSX.Element;\n children?: React.ReactNode;\n}\n\ninterface State {\n isShowing: boolean;\n}\n\nconst twoSeconds = 2000;\n\nconst classNameHidden =\n \"sid-to-clipboard__notification-text sid-to-clipboard__notification-text--hidden\";\nconst classNameVisible =\n \"sid-to-clipboard__notification-text sid-to-clipboard__notification-text--visible\";\n\nclass CopyToClipboard extends React.Component<Props, State> {\n notificationTimeout: number;\n\n timeoutRef: any; // VS Code wants \"Timer\" but tsc wants \"number\". TODO - figure out a fix to be more specific here.\n\n constructor(props: Props) {\n super(props);\n this.doCopy = this.doCopy.bind(this);\n this.state = { isShowing: false };\n if (props.notificationTimeout) {\n this.notificationTimeout = props.notificationTimeout;\n } else {\n this.notificationTimeout = twoSeconds;\n }\n }\n\n componentWillUnmount() {\n clearTimeout(this.timeoutRef);\n }\n\n doCopy() {\n const { textToCopy } = this.props;\n copyToClipboard(textToCopy);\n this.setState(() => ({ isShowing: true }));\n clearTimeout(this.timeoutRef);\n this.timeoutRef = setTimeout(() => {\n this.setState(() => ({ isShowing: false }));\n }, this.notificationTimeout);\n }\n\n render() {\n const { isShowing } = this.state;\n const { notificationText, children } = this.props;\n return (\n <div className=\"sid-to-clipboard\">\n <div\n className={`${isShowing ? classNameVisible : classNameHidden}`}\n role=\"status\"\n aria-live=\"polite\"\n aria-atomic\n >\n {isShowing && (notificationText || \"Copied\")}\n </div>\n <div\n onClick={this.doCopy}\n onKeyPress={this.doCopy}\n role=\"button\"\n tabIndex={0}\n className=\"sid-to-clipboard__clickable-text sid-link\"\n >\n {children || \"Copy\"}\n </div>\n </div>\n );\n }\n}\n\nexport { CopyToClipboard };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AK,YAAY,CAAI,GAEhC,EAAiB;EACnB;EAEA,OAAO;CACT;CAEA,EAAO,UAAU;4EC5FX,IAAa,KAEb,IACJ,mFACI,IACJ,oFAEI,IAAN,cAAA,EAAoC,UAAwB;CAC1D;CAEA;CAEA,YAAY,GAAc;EAIxB,AAHA,MAAM,CAAK,GACX,KAAK,SAAS,KAAK,OAAO,KAAK,IAAI,GACnC,KAAK,QAAQ,EAAE,WAAW,GAAM,GAC5B,EAAM,sBACR,KAAK,sBAAsB,EAAM,sBAEjC,KAAK,sBAAsB;CAE/B;CAEA,uBAAuB;EACrB,aAAa,KAAK,UAAU;CAC9B;CAEA,SAAS;EACP,IAAM,EAAE,kBAAe,KAAK;EAI5B,CAHA,GAAA,EAAA,SAAgB,CAAU,GAC1B,KAAK,gBAAgB,EAAE,WAAW,GAAK,EAAE,GACzC,aAAa,KAAK,UAAU,GAC5B,KAAK,aAAa,iBAAiB;GACjC,KAAK,gBAAgB,EAAE,WAAW,GAAM,EAAE;EAC5C,GAAG,KAAK,mBAAmB;CAC7B;CAEA,SAAS;EACP,IAAM,EAAE,iBAAc,KAAK,OACrB,EAAE,qBAAkB,gBAAa,KAAK;EAC5C,OACE,iBAAA,GAAA,EAAA,MAAC,OAAD;GAAK,WAAU;aAAf,CACE,iBAAA,GAAA,EAAA,KAAC,OAAD;IACE,WAAW,GAAG,IAAY,IAAmB;IAC7C,MAAK;IACL,aAAU;IACV,eAAA;cAEC,MAAc,KAAoB;GAChC,CAAA,GACL,iBAAA,GAAA,EAAA,KAAC,OAAD;IACE,SAAS,KAAK;IACd,YAAY,KAAK;IACjB,MAAK;IACL,UAAU;IACV,WAAU;cAET,KAAY;GACV,CAAA,CACF;;CAET;AACF"}
|
|
1
|
+
{"version":3,"file":"CopyToClipboardComponent-B1sjjnah.js","names":[],"sources":["../../../node_modules/toggle-selection/index.js","../../../node_modules/copy-to-clipboard/index.js","../../src/components/CopyToClipboard/CopyToClipboardComponent.tsx"],"sourcesContent":["\nmodule.exports = function () {\n var selection = document.getSelection();\n if (!selection.rangeCount) {\n return function () {};\n }\n var active = document.activeElement;\n\n var ranges = [];\n for (var i = 0; i < selection.rangeCount; i++) {\n ranges.push(selection.getRangeAt(i));\n }\n\n switch (active.tagName.toUpperCase()) { // .toUpperCase handles XHTML\n case 'INPUT':\n case 'TEXTAREA':\n active.blur();\n break;\n\n default:\n active = null;\n break;\n }\n\n selection.removeAllRanges();\n return function () {\n selection.type === 'Caret' &&\n selection.removeAllRanges();\n\n if (!selection.rangeCount) {\n ranges.forEach(function(range) {\n selection.addRange(range);\n });\n }\n\n active &&\n active.focus();\n };\n};\n","\"use strict\";\n\nvar deselectCurrent = require(\"toggle-selection\");\n\nvar clipboardToIE11Formatting = {\n \"text/plain\": \"Text\",\n \"text/html\": \"Url\",\n \"default\": \"Text\"\n}\n\nvar defaultMessage = \"Copy to clipboard: #{key}, Enter\";\n\nfunction format(message) {\n var copyKey = (/mac os x/i.test(navigator.userAgent) ? \"⌘\" : \"Ctrl\") + \"+C\";\n return message.replace(/#{\\s*key\\s*}/g, copyKey);\n}\n\nfunction copy(text, options) {\n var debug,\n message,\n reselectPrevious,\n range,\n selection,\n mark,\n success = false;\n if (!options) {\n options = {};\n }\n debug = options.debug || false;\n try {\n reselectPrevious = deselectCurrent();\n\n range = document.createRange();\n selection = document.getSelection();\n\n mark = document.createElement(\"span\");\n mark.textContent = text;\n // avoid screen readers from reading out loud the text\n mark.ariaHidden = \"true\"\n // reset user styles for span element\n mark.style.all = \"unset\";\n // prevents scrolling to the end of the page\n mark.style.position = \"fixed\";\n mark.style.top = 0;\n mark.style.clip = \"rect(0, 0, 0, 0)\";\n // used to preserve spaces and line breaks\n mark.style.whiteSpace = \"pre\";\n // do not inherit user-select (it may be `none`)\n mark.style.webkitUserSelect = \"text\";\n mark.style.MozUserSelect = \"text\";\n mark.style.msUserSelect = \"text\";\n mark.style.userSelect = \"text\";\n mark.addEventListener(\"copy\", function(e) {\n e.stopPropagation();\n if (options.format) {\n e.preventDefault();\n if (typeof e.clipboardData === \"undefined\") { // IE 11\n debug && console.warn(\"unable to use e.clipboardData\");\n debug && console.warn(\"trying IE specific stuff\");\n window.clipboardData.clearData();\n var format = clipboardToIE11Formatting[options.format] || clipboardToIE11Formatting[\"default\"]\n window.clipboardData.setData(format, text);\n } else { // all other browsers\n e.clipboardData.clearData();\n e.clipboardData.setData(options.format, text);\n }\n }\n if (options.onCopy) {\n e.preventDefault();\n options.onCopy(e.clipboardData);\n }\n });\n\n document.body.appendChild(mark);\n\n range.selectNodeContents(mark);\n selection.addRange(range);\n\n var successful = document.execCommand(\"copy\");\n if (!successful) {\n throw new Error(\"copy command was unsuccessful\");\n }\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using execCommand: \", err);\n debug && console.warn(\"trying IE specific stuff\");\n try {\n window.clipboardData.setData(options.format || \"text\", text);\n options.onCopy && options.onCopy(window.clipboardData);\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using clipboardData: \", err);\n debug && console.error(\"falling back to prompt\");\n message = format(\"message\" in options ? options.message : defaultMessage);\n window.prompt(message, text);\n }\n } finally {\n if (selection) {\n if (typeof selection.removeRange == \"function\") {\n selection.removeRange(range);\n } else {\n selection.removeAllRanges();\n }\n }\n\n if (mark) {\n document.body.removeChild(mark);\n }\n reselectPrevious();\n }\n\n return success;\n}\n\nmodule.exports = copy;\n","/**\n * Wrap a button or link with copy-to-clipboard behavior.\n *\n * Example Use:\n <CopyToClipboard textToCopy={htmlSource} notificationText={<FormattedHTMLMessage id=\"copied\" />}>\n <LinkButton ... />\n </CopyToClipboard>\n */\nimport React from \"react\";\nimport copyToClipboard from \"copy-to-clipboard\";\n\ninterface Props {\n textToCopy: string;\n notificationTimeout?: number;\n notificationText?: string | JSX.Element;\n children?: React.ReactNode;\n}\n\ninterface State {\n isShowing: boolean;\n}\n\nconst twoSeconds = 2000;\n\nconst classNameHidden =\n \"sid-to-clipboard__notification-text sid-to-clipboard__notification-text--hidden\";\nconst classNameVisible =\n \"sid-to-clipboard__notification-text sid-to-clipboard__notification-text--visible\";\n\nclass CopyToClipboard extends React.Component<Props, State> {\n notificationTimeout: number;\n\n timeoutRef: any; // VS Code wants \"Timer\" but tsc wants \"number\". TODO - figure out a fix to be more specific here.\n\n constructor(props: Props) {\n super(props);\n this.doCopy = this.doCopy.bind(this);\n this.state = { isShowing: false };\n if (props.notificationTimeout) {\n this.notificationTimeout = props.notificationTimeout;\n } else {\n this.notificationTimeout = twoSeconds;\n }\n }\n\n componentWillUnmount() {\n clearTimeout(this.timeoutRef);\n }\n\n doCopy() {\n const { textToCopy } = this.props;\n copyToClipboard(textToCopy);\n this.setState(() => ({ isShowing: true }));\n clearTimeout(this.timeoutRef);\n this.timeoutRef = setTimeout(() => {\n this.setState(() => ({ isShowing: false }));\n }, this.notificationTimeout);\n }\n\n render() {\n const { isShowing } = this.state;\n const { notificationText, children } = this.props;\n return (\n <div className=\"sid-to-clipboard\">\n <div\n className={`${isShowing ? classNameVisible : classNameHidden}`}\n role=\"status\"\n aria-live=\"polite\"\n aria-atomic\n >\n {isShowing && (notificationText || \"Copied\")}\n </div>\n <div\n onClick={this.doCopy}\n onKeyPress={this.doCopy}\n role=\"button\"\n tabIndex={0}\n className=\"sid-to-clipboard__clickable-text sid-link\"\n >\n {children || \"Copy\"}\n </div>\n </div>\n );\n }\n}\n\nexport { CopyToClipboard };\n"],"x_google_ignoreList":[0,1],"mappings":";;;;CACA,EAAO,UAAU,WAAY;EAC3B,IAAI,IAAY,SAAS,aAAa;EACtC,IAAI,CAAC,EAAU,YACb,OAAO,WAAY,CAAC;EAKtB,KAAK,IAHD,IAAS,SAAS,eAElB,IAAS,CAAC,GACL,IAAI,GAAG,IAAI,EAAU,YAAY,KACxC,EAAO,KAAK,EAAU,WAAW,CAAC,CAAC;EAGrC,QAAQ,EAAO,QAAQ,YAAY,GAAnC;GACE,KAAK;GACL,KAAK;IACH,EAAO,KAAK;IACZ;GAEF;IACE,IAAS;IACT;EACJ;EAG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,UAAU;CAC9B;CAEA,SAAS;EACP,IAAM,EAAE,kBAAe,KAAK;EAI5B,CAHA,GAAA,EAAA,SAAgB,CAAU,GAC1B,KAAK,gBAAgB,EAAE,WAAW,GAAK,EAAE,GACzC,aAAa,KAAK,UAAU,GAC5B,KAAK,aAAa,iBAAiB;GACjC,KAAK,gBAAgB,EAAE,WAAW,GAAM,EAAE;EAC5C,GAAG,KAAK,mBAAmB;CAC7B;CAEA,SAAS;EACP,IAAM,EAAE,iBAAc,KAAK,OACrB,EAAE,qBAAkB,gBAAa,KAAK;EAC5C,OACE,iBAAA,GAAA,EAAA,MAAC,OAAD;GAAK,WAAU;aAAf,CACE,iBAAA,GAAA,EAAA,KAAC,OAAD;IACE,WAAW,GAAG,IAAY,IAAmB;IAC7C,MAAK;IACL,aAAU;IACV,eAAA;cAEC,MAAc,KAAoB;GAChC,CAAA,GACL,iBAAA,GAAA,EAAA,KAAC,OAAD;IACE,SAAS,KAAK;IACd,YAAY,KAAK;IACjB,MAAK;IACL,UAAU;IACV,WAAU;cAET,KAAY;GACV,CAAA,CACF;;CAET;AACF"}
|
|
@@ -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.280.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1789074204977
|
|
9
|
+
* BUILD_DATE: Thu Sep 10 2026 21:03:24 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 0337262e7e7380640882a11e0184fba716c38a59
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { c as n, t as r } from "./jsx-runtime-
|
|
12
|
+
import { Gt as e, Ut as t } from "./intl-COP5OPN0.js";
|
|
13
|
+
import { c as n, t as r } from "./jsx-runtime-CCEfa_da.js";
|
|
14
14
|
//#region ../node_modules/toggle-selection/index.js
|
|
15
|
-
var i = /* @__PURE__ */
|
|
15
|
+
var i = /* @__PURE__ */ t(((e, t) => {
|
|
16
16
|
t.exports = function() {
|
|
17
17
|
var e = document.getSelection();
|
|
18
18
|
if (!e.rangeCount) return function() {};
|
|
@@ -32,7 +32,7 @@ var i = /* @__PURE__ */ e(((e, t) => {
|
|
|
32
32
|
}), t && t.focus();
|
|
33
33
|
};
|
|
34
34
|
};
|
|
35
|
-
})), a = /* @__PURE__ */
|
|
35
|
+
})), a = /* @__PURE__ */ t(((e, t) => {
|
|
36
36
|
var n = i(), r = {
|
|
37
37
|
"text/plain": "Text",
|
|
38
38
|
"text/html": "Url",
|
|
@@ -68,7 +68,7 @@ var i = /* @__PURE__ */ e(((e, t) => {
|
|
|
68
68
|
return f;
|
|
69
69
|
}
|
|
70
70
|
t.exports = s;
|
|
71
|
-
})), o = /* @__PURE__ */
|
|
71
|
+
})), o = /* @__PURE__ */ e(n(), 1), s = /* @__PURE__ */ e(a(), 1), c = r(), l = 2e3, u = "sid-to-clipboard__notification-text sid-to-clipboard__notification-text--hidden", d = "sid-to-clipboard__notification-text sid-to-clipboard__notification-text--visible", f = class extends o.Component {
|
|
72
72
|
notificationTimeout;
|
|
73
73
|
timeoutRef;
|
|
74
74
|
constructor(e) {
|
package/chunk/{CopyToClipboardComponent-cLuyXFes.js.map → CopyToClipboardComponent-kC3bs3Rs.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CopyToClipboardComponent-cLuyXFes.js","names":[],"sources":["../../../node_modules/toggle-selection/index.js","../../../node_modules/copy-to-clipboard/index.js","../../src/components/CopyToClipboard/CopyToClipboardComponent.tsx"],"sourcesContent":["\nmodule.exports = function () {\n var selection = document.getSelection();\n if (!selection.rangeCount) {\n return function () {};\n }\n var active = document.activeElement;\n\n var ranges = [];\n for (var i = 0; i < selection.rangeCount; i++) {\n ranges.push(selection.getRangeAt(i));\n }\n\n switch (active.tagName.toUpperCase()) { // .toUpperCase handles XHTML\n case 'INPUT':\n case 'TEXTAREA':\n active.blur();\n break;\n\n default:\n active = null;\n break;\n }\n\n selection.removeAllRanges();\n return function () {\n selection.type === 'Caret' &&\n selection.removeAllRanges();\n\n if (!selection.rangeCount) {\n ranges.forEach(function(range) {\n selection.addRange(range);\n });\n }\n\n active &&\n active.focus();\n };\n};\n","\"use strict\";\n\nvar deselectCurrent = require(\"toggle-selection\");\n\nvar clipboardToIE11Formatting = {\n \"text/plain\": \"Text\",\n \"text/html\": \"Url\",\n \"default\": \"Text\"\n}\n\nvar defaultMessage = \"Copy to clipboard: #{key}, Enter\";\n\nfunction format(message) {\n var copyKey = (/mac os x/i.test(navigator.userAgent) ? \"⌘\" : \"Ctrl\") + \"+C\";\n return message.replace(/#{\\s*key\\s*}/g, copyKey);\n}\n\nfunction copy(text, options) {\n var debug,\n message,\n reselectPrevious,\n range,\n selection,\n mark,\n success = false;\n if (!options) {\n options = {};\n }\n debug = options.debug || false;\n try {\n reselectPrevious = deselectCurrent();\n\n range = document.createRange();\n selection = document.getSelection();\n\n mark = document.createElement(\"span\");\n mark.textContent = text;\n // avoid screen readers from reading out loud the text\n mark.ariaHidden = \"true\"\n // reset user styles for span element\n mark.style.all = \"unset\";\n // prevents scrolling to the end of the page\n mark.style.position = \"fixed\";\n mark.style.top = 0;\n mark.style.clip = \"rect(0, 0, 0, 0)\";\n // used to preserve spaces and line breaks\n mark.style.whiteSpace = \"pre\";\n // do not inherit user-select (it may be `none`)\n mark.style.webkitUserSelect = \"text\";\n mark.style.MozUserSelect = \"text\";\n mark.style.msUserSelect = \"text\";\n mark.style.userSelect = \"text\";\n mark.addEventListener(\"copy\", function(e) {\n e.stopPropagation();\n if (options.format) {\n e.preventDefault();\n if (typeof e.clipboardData === \"undefined\") { // IE 11\n debug && console.warn(\"unable to use e.clipboardData\");\n debug && console.warn(\"trying IE specific stuff\");\n window.clipboardData.clearData();\n var format = clipboardToIE11Formatting[options.format] || clipboardToIE11Formatting[\"default\"]\n window.clipboardData.setData(format, text);\n } else { // all other browsers\n e.clipboardData.clearData();\n e.clipboardData.setData(options.format, text);\n }\n }\n if (options.onCopy) {\n e.preventDefault();\n options.onCopy(e.clipboardData);\n }\n });\n\n document.body.appendChild(mark);\n\n range.selectNodeContents(mark);\n selection.addRange(range);\n\n var successful = document.execCommand(\"copy\");\n if (!successful) {\n throw new Error(\"copy command was unsuccessful\");\n }\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using execCommand: \", err);\n debug && console.warn(\"trying IE specific stuff\");\n try {\n window.clipboardData.setData(options.format || \"text\", text);\n options.onCopy && options.onCopy(window.clipboardData);\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using clipboardData: \", err);\n debug && console.error(\"falling back to prompt\");\n message = format(\"message\" in options ? options.message : defaultMessage);\n window.prompt(message, text);\n }\n } finally {\n if (selection) {\n if (typeof selection.removeRange == \"function\") {\n selection.removeRange(range);\n } else {\n selection.removeAllRanges();\n }\n }\n\n if (mark) {\n document.body.removeChild(mark);\n }\n reselectPrevious();\n }\n\n return success;\n}\n\nmodule.exports = copy;\n","/**\n * Wrap a button or link with copy-to-clipboard behavior.\n *\n * Example Use:\n <CopyToClipboard textToCopy={htmlSource} notificationText={<FormattedHTMLMessage id=\"copied\" />}>\n <LinkButton ... />\n </CopyToClipboard>\n */\nimport React from \"react\";\nimport copyToClipboard from \"copy-to-clipboard\";\n\ninterface Props {\n textToCopy: string;\n notificationTimeout?: number;\n notificationText?: string | JSX.Element;\n children?: React.ReactNode;\n}\n\ninterface State {\n isShowing: boolean;\n}\n\nconst twoSeconds = 2000;\n\nconst classNameHidden =\n \"sid-to-clipboard__notification-text sid-to-clipboard__notification-text--hidden\";\nconst classNameVisible =\n \"sid-to-clipboard__notification-text sid-to-clipboard__notification-text--visible\";\n\nclass CopyToClipboard extends React.Component<Props, State> {\n notificationTimeout: number;\n\n timeoutRef: any; // VS Code wants \"Timer\" but tsc wants \"number\". TODO - figure out a fix to be more specific here.\n\n constructor(props: Props) {\n super(props);\n this.doCopy = this.doCopy.bind(this);\n this.state = { isShowing: false };\n if (props.notificationTimeout) {\n this.notificationTimeout = props.notificationTimeout;\n } else {\n this.notificationTimeout = twoSeconds;\n }\n }\n\n componentWillUnmount() {\n clearTimeout(this.timeoutRef);\n }\n\n doCopy() {\n const { textToCopy } = this.props;\n copyToClipboard(textToCopy);\n this.setState(() => ({ isShowing: true }));\n clearTimeout(this.timeoutRef);\n this.timeoutRef = setTimeout(() => {\n this.setState(() => ({ isShowing: false }));\n }, this.notificationTimeout);\n }\n\n render() {\n const { isShowing } = this.state;\n const { notificationText, children } = this.props;\n return (\n <div className=\"sid-to-clipboard\">\n <div\n className={`${isShowing ? classNameVisible : classNameHidden}`}\n role=\"status\"\n aria-live=\"polite\"\n aria-atomic\n >\n {isShowing && (notificationText || \"Copied\")}\n </div>\n <div\n onClick={this.doCopy}\n onKeyPress={this.doCopy}\n role=\"button\"\n tabIndex={0}\n className=\"sid-to-clipboard__clickable-text sid-link\"\n >\n {children || \"Copy\"}\n </div>\n </div>\n );\n }\n}\n\nexport { CopyToClipboard };\n"],"x_google_ignoreList":[0,1],"mappings":";;;;CACA,EAAO,UAAU,WAAY;EAC3B,IAAI,IAAY,SAAS,aAAa;EACtC,IAAI,CAAC,EAAU,YACb,OAAO,WAAY,CAAC;EAKtB,KAAK,IAHD,IAAS,SAAS,eAElB,IAAS,CAAC,GACL,IAAI,GAAG,IAAI,EAAU,YAAY,KACxC,EAAO,KAAK,EAAU,WAAW,CAAC,CAAC;EAGrC,QAAQ,EAAO,QAAQ,YAAY,GAAnC;GACE,KAAK;GACL,KAAK;IACH,EAAO,KAAK;IACZ;GAEF;IACE,IAAS;IACT;EACJ;EAGA,OADA,EAAU,gBAAgB,GACnB,WAAY;GAUjB,AATA,EAAU,SAAS,WACnB,EAAU,gBAAgB,GAErB,EAAU,cACb,EAAO,QAA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AK,gBAAgB,EAAE,WAAW,GAAK,EAAE,GACzC,aAAa,KAAK,UAAU,GAC5B,KAAK,aAAa,iBAAiB;GACjC,KAAK,gBAAgB,EAAE,WAAW,GAAM,EAAE;EAC5C,GAAG,KAAK,mBAAmB;CAC7B;CAEA,SAAS;EACP,IAAM,EAAE,iBAAc,KAAK,OACrB,EAAE,qBAAkB,gBAAa,KAAK;EAC5C,OACE,iBAAA,GAAA,EAAA,MAAC,OAAD;GAAK,WAAU;aAAf,CACE,iBAAA,GAAA,EAAA,KAAC,OAAD;IACE,WAAW,GAAG,IAAY,IAAmB;IAC7C,MAAK;IACL,aAAU;IACV,eAAA;cAEC,MAAc,KAAoB;GAChC,CAAA,GACL,iBAAA,GAAA,EAAA,KAAC,OAAD;IACE,SAAS,KAAK;IACd,YAAY,KAAK;IACjB,MAAK;IACL,UAAU;IACV,WAAU;cAET,KAAY;GACV,CAAA,CACF;;CAET;AACF"}
|
|
1
|
+
{"version":3,"file":"CopyToClipboardComponent-kC3bs3Rs.js","names":[],"sources":["../../../node_modules/toggle-selection/index.js","../../../node_modules/copy-to-clipboard/index.js","../../src/components/CopyToClipboard/CopyToClipboardComponent.tsx"],"sourcesContent":["\nmodule.exports = function () {\n var selection = document.getSelection();\n if (!selection.rangeCount) {\n return function () {};\n }\n var active = document.activeElement;\n\n var ranges = [];\n for (var i = 0; i < selection.rangeCount; i++) {\n ranges.push(selection.getRangeAt(i));\n }\n\n switch (active.tagName.toUpperCase()) { // .toUpperCase handles XHTML\n case 'INPUT':\n case 'TEXTAREA':\n active.blur();\n break;\n\n default:\n active = null;\n break;\n }\n\n selection.removeAllRanges();\n return function () {\n selection.type === 'Caret' &&\n selection.removeAllRanges();\n\n if (!selection.rangeCount) {\n ranges.forEach(function(range) {\n selection.addRange(range);\n });\n }\n\n active &&\n active.focus();\n };\n};\n","\"use strict\";\n\nvar deselectCurrent = require(\"toggle-selection\");\n\nvar clipboardToIE11Formatting = {\n \"text/plain\": \"Text\",\n \"text/html\": \"Url\",\n \"default\": \"Text\"\n}\n\nvar defaultMessage = \"Copy to clipboard: #{key}, Enter\";\n\nfunction format(message) {\n var copyKey = (/mac os x/i.test(navigator.userAgent) ? \"⌘\" : \"Ctrl\") + \"+C\";\n return message.replace(/#{\\s*key\\s*}/g, copyKey);\n}\n\nfunction copy(text, options) {\n var debug,\n message,\n reselectPrevious,\n range,\n selection,\n mark,\n success = false;\n if (!options) {\n options = {};\n }\n debug = options.debug || false;\n try {\n reselectPrevious = deselectCurrent();\n\n range = document.createRange();\n selection = document.getSelection();\n\n mark = document.createElement(\"span\");\n mark.textContent = text;\n // avoid screen readers from reading out loud the text\n mark.ariaHidden = \"true\"\n // reset user styles for span element\n mark.style.all = \"unset\";\n // prevents scrolling to the end of the page\n mark.style.position = \"fixed\";\n mark.style.top = 0;\n mark.style.clip = \"rect(0, 0, 0, 0)\";\n // used to preserve spaces and line breaks\n mark.style.whiteSpace = \"pre\";\n // do not inherit user-select (it may be `none`)\n mark.style.webkitUserSelect = \"text\";\n mark.style.MozUserSelect = \"text\";\n mark.style.msUserSelect = \"text\";\n mark.style.userSelect = \"text\";\n mark.addEventListener(\"copy\", function(e) {\n e.stopPropagation();\n if (options.format) {\n e.preventDefault();\n if (typeof e.clipboardData === \"undefined\") { // IE 11\n debug && console.warn(\"unable to use e.clipboardData\");\n debug && console.warn(\"trying IE specific stuff\");\n window.clipboardData.clearData();\n var format = clipboardToIE11Formatting[options.format] || clipboardToIE11Formatting[\"default\"]\n window.clipboardData.setData(format, text);\n } else { // all other browsers\n e.clipboardData.clearData();\n e.clipboardData.setData(options.format, text);\n }\n }\n if (options.onCopy) {\n e.preventDefault();\n options.onCopy(e.clipboardData);\n }\n });\n\n document.body.appendChild(mark);\n\n range.selectNodeContents(mark);\n selection.addRange(range);\n\n var successful = document.execCommand(\"copy\");\n if (!successful) {\n throw new Error(\"copy command was unsuccessful\");\n }\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using execCommand: \", err);\n debug && console.warn(\"trying IE specific stuff\");\n try {\n window.clipboardData.setData(options.format || \"text\", text);\n options.onCopy && options.onCopy(window.clipboardData);\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using clipboardData: \", err);\n debug && console.error(\"falling back to prompt\");\n message = format(\"message\" in options ? options.message : defaultMessage);\n window.prompt(message, text);\n }\n } finally {\n if (selection) {\n if (typeof selection.removeRange == \"function\") {\n selection.removeRange(range);\n } else {\n selection.removeAllRanges();\n }\n }\n\n if (mark) {\n document.body.removeChild(mark);\n }\n reselectPrevious();\n }\n\n return success;\n}\n\nmodule.exports = copy;\n","/**\n * Wrap a button or link with copy-to-clipboard behavior.\n *\n * Example Use:\n <CopyToClipboard textToCopy={htmlSource} notificationText={<FormattedHTMLMessage id=\"copied\" />}>\n <LinkButton ... />\n </CopyToClipboard>\n */\nimport React from \"react\";\nimport copyToClipboard from \"copy-to-clipboard\";\n\ninterface Props {\n textToCopy: string;\n notificationTimeout?: number;\n notificationText?: string | JSX.Element;\n children?: React.ReactNode;\n}\n\ninterface State {\n isShowing: boolean;\n}\n\nconst twoSeconds = 2000;\n\nconst classNameHidden =\n \"sid-to-clipboard__notification-text sid-to-clipboard__notification-text--hidden\";\nconst classNameVisible =\n \"sid-to-clipboard__notification-text sid-to-clipboard__notification-text--visible\";\n\nclass CopyToClipboard extends React.Component<Props, State> {\n notificationTimeout: number;\n\n timeoutRef: any; // VS Code wants \"Timer\" but tsc wants \"number\". TODO - figure out a fix to be more specific here.\n\n constructor(props: Props) {\n super(props);\n this.doCopy = this.doCopy.bind(this);\n this.state = { isShowing: false };\n if (props.notificationTimeout) {\n this.notificationTimeout = props.notificationTimeout;\n } else {\n this.notificationTimeout = twoSeconds;\n }\n }\n\n componentWillUnmount() {\n clearTimeout(this.timeoutRef);\n }\n\n doCopy() {\n const { textToCopy } = this.props;\n copyToClipboard(textToCopy);\n this.setState(() => ({ isShowing: true }));\n clearTimeout(this.timeoutRef);\n this.timeoutRef = setTimeout(() => {\n this.setState(() => ({ isShowing: false }));\n }, this.notificationTimeout);\n }\n\n render() {\n const { isShowing } = this.state;\n const { notificationText, children } = this.props;\n return (\n <div className=\"sid-to-clipboard\">\n <div\n className={`${isShowing ? classNameVisible : classNameHidden}`}\n role=\"status\"\n aria-live=\"polite\"\n aria-atomic\n >\n {isShowing && (notificationText || \"Copied\")}\n </div>\n <div\n onClick={this.doCopy}\n onKeyPress={this.doCopy}\n role=\"button\"\n tabIndex={0}\n className=\"sid-to-clipboard__clickable-text sid-link\"\n >\n {children || \"Copy\"}\n </div>\n </div>\n );\n }\n}\n\nexport { CopyToClipboard };\n"],"x_google_ignoreList":[0,1],"mappings":";;;;CACA,EAAO,UAAU,WAAY;EAC3B,IAAI,IAAY,SAAS,aAAa;EACtC,IAAI,CAAC,EAAU,YACb,OAAO,WAAY,CAAC;EAKtB,KAAK,IAHD,IAAS,SAAS,eAElB,IAAS,CAAC,GACL,IAAI,GAAG,IAAI,EAAU,YAAY,KACxC,EAAO,KAAK,EAAU,WAAW,CAAC,CAAC;EAGrC,QAAQ,EAAO,QAAQ,YAAY,GAAnC;GACE,KAAK;GACL,KAAK;IACH,EAAO,KAAK;IACZ;GAEF;IACE,IAAS;IACT;EACJ;EAGA,OADA,EAAU,gBAAgB,GACnB,WAAY;GAUjB,AATA,EAAU,SAAS,WACnB,EAAU,gBAAgB,GAErB,EAAU,cACb,EAAO,QAAQ,SAAS,GAAO;IAC7B,EAAU,SAAS,CAAK;GAC1B,CAAC,GAGH,KACA,EAAO,MAAM;EACf;CACF;;CCpCA,IAAI,IAAA,EAAA,GAEA,IAA4B;EAC9B,cAAc;EACd,aAAa;EACb,SAAW;CACb,GAEI,IAAiB;CAErB,SAAS,EAAO,GAAS;EACvB,IAAI,KAAW,YAAY,KAAK,UAAU,SAAS,IAAI,MAAM,UAAU;EACvE,OAAO,EAAQ,QAAQ,iBAAiB,CAAO;CACjD;CAEA,SAAS,EAAK,GAAM,GAAS;EAC3B,IAAI,GACF,GACA,GACA,GACA,GACA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,MAAK;IACL,aAAU;IACV,eAAA;cAEC,MAAc,KAAoB;GAChC,CAAA,GACL,iBAAA,GAAA,EAAA,KAAC,OAAD;IACE,SAAS,KAAK;IACd,YAAY,KAAK;IACjB,MAAK;IACL,UAAU;IACV,WAAU;cAET,KAAY;GACV,CAAA,CACF;;CAET;AACF"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.280.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1789074197174
|
|
5
|
+
* BUILD_DATE: Thu Sep 10 2026 21:03:17 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 0337262e7e7380640882a11e0184fba716c38a59
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
9
|
-
import { c as n, n as r, t as i } from "./jsx-runtime-
|
|
10
|
-
import { n as a, o } from "./Message-
|
|
11
|
-
import { n as s } from "./empties-
|
|
12
|
-
import { n as c } from "./programThemeGetters-
|
|
13
|
-
import { u as l } from "./hooks-
|
|
14
|
-
import {
|
|
15
|
-
import { t as m } from "./FormFieldInputSelect-
|
|
8
|
+
import { Gt as e, c as t } from "./options-sWzacjlS.js";
|
|
9
|
+
import { c as n, n as r, t as i } from "./jsx-runtime-CeCA46f-.js";
|
|
10
|
+
import { n as a, o } from "./Message-8LvAVwXZ.js";
|
|
11
|
+
import { n as s } from "./empties-Tz4MgFii.js";
|
|
12
|
+
import { n as c } from "./programThemeGetters-D44jbcz5.js";
|
|
13
|
+
import { u as l } from "./hooks-C64fd9ZU.js";
|
|
14
|
+
import { d as u, g as d, h as f, i as p } from "./stepComponentHelpers-DoMfmu_O.js";
|
|
15
|
+
import { t as m } from "./FormFieldInputSelect-DDcenZW0.js";
|
|
16
16
|
//#region src/components/FormFields/Country/CountryComponent.tsx
|
|
17
17
|
var h = /* @__PURE__ */ e(n(), 1), g = i(), _ = ({ value: e, isErrored: t, options: n, onChange: i, onKeyDown: o, placeholder: s = "", isRequired: c = !0, suppressPlaceholder: l = !1, disabled: u = !1 }) => {
|
|
18
18
|
let { msg: d } = a();
|
|
@@ -40,7 +40,7 @@ var h = /* @__PURE__ */ e(n(), 1), g = i(), _ = ({ value: e, isErrored: t, optio
|
|
|
40
40
|
let i = o(), { i18n: m, msg: v } = a(), y = c(i).map((e) => ({
|
|
41
41
|
value: e,
|
|
42
42
|
label: v({ id: `countries.${e}` })
|
|
43
|
-
})).sort((e, t) => Intl.Collator(m.language).compare(e.label, t.label)), { fieldValidationErrors: b } = e, x = y.length > 1, S =
|
|
43
|
+
})).sort((e, t) => Intl.Collator(m.language).compare(e.label, t.label)), { fieldValidationErrors: b } = e, x = y.length > 1, S = p("country")?.hidden, C = (r) => {
|
|
44
44
|
let i = t(e.viewModel, (e) => {
|
|
45
45
|
e.countryChoice = r || void 0, e.country = r ? r.value : void 0, n && n(e, r), e.organization &&= s.organization;
|
|
46
46
|
});
|
|
@@ -56,10 +56,10 @@ var h = /* @__PURE__ */ e(n(), 1), g = i(), _ = ({ value: e, isErrored: t, optio
|
|
|
56
56
|
"state",
|
|
57
57
|
"city"
|
|
58
58
|
];
|
|
59
|
-
e.updateViewModel(
|
|
59
|
+
e.updateViewModel(u(e.viewModel, "fieldsToSkipValidation", t));
|
|
60
60
|
}
|
|
61
61
|
}, [x]), h.useEffect(() => {
|
|
62
|
-
|
|
62
|
+
f(t(e.fieldValidationErrors, (t) => {
|
|
63
63
|
t.country &&= l("country", e.viewModel.countryChoice, e.formValidationOptions), "postalCode" in e.viewModel && e.viewModel.postalCode && (t.postalCode = l("postalCode", e.viewModel.postalCode, e.formValidationOptions));
|
|
64
64
|
}), e);
|
|
65
65
|
}, [e.viewModel.countryChoice]), !x || S ? null : /* @__PURE__ */ (0, g.jsx)(_, {
|
|
@@ -70,7 +70,7 @@ var h = /* @__PURE__ */ e(n(), 1), g = i(), _ = ({ value: e, isErrored: t, optio
|
|
|
70
70
|
disabled: r,
|
|
71
71
|
onChange: async (t) => {
|
|
72
72
|
let n = t ? t.value : void 0;
|
|
73
|
-
C(t),
|
|
73
|
+
C(t), d("country", n, e);
|
|
74
74
|
}
|
|
75
75
|
});
|
|
76
76
|
};
|
package/chunk/{CountryComponentWrapper-BNtvUusJ.js.map → CountryComponentWrapper-CR9HrOiD.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CountryComponentWrapper-
|
|
1
|
+
{"version":3,"file":"CountryComponentWrapper-CR9HrOiD.js","names":[],"sources":["../../src/components/FormFields/Country/CountryComponent.tsx","../../src/components/FormFields/Country/CountryComponentWrapper.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 CountryComponent = ({\n value,\n isErrored,\n options,\n onChange,\n onKeyDown,\n placeholder = \"\",\n isRequired = true,\n suppressPlaceholder = false,\n disabled = false,\n}: InputSelectComponentProps) => {\n const { msg } = useMessage();\n const inputId = \"country\";\n return (\n <FormFieldInputSelect\n fieldId={inputId}\n options={options}\n onChange={(country: FormSelectChoice) => onChange(country)}\n onKeyDown={onKeyDown}\n placeholder={placeholder || msg({ id: \"countryPlaceholder\" })}\n value={options.find((option) => option.value === (value && value.value))}\n isRequired={isRequired}\n label={<FormattedHTMLMessage id=\"country\" defaultMessage=\"Country\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage id=\"errorId.invalidCountry\" defaultMessage=\"Invalid country\" />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n suppressPlaceholder={suppressPlaceholder}\n disabled={disabled}\n />\n );\n};\n","import React from \"react\";\nimport produce from \"immer\";\n\nimport { useMessage } from \"@/components/Message\";\nimport {\n type VerificationService,\n type Country,\n type FormSelectChoice,\n type ViewModel,\n type ErrorId,\n type FieldId,\n type WithOrganization,\n} from \"@/lib/types/types\";\nimport {\n updateFieldValidationErrorsByFieldId,\n produceDraftViewModel,\n updateFieldValidationErrors,\n getFieldConfigByFieldId,\n} from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { validateFieldById } from \"@/lib/validators/validators\";\nimport { blankOrganization } from \"@/lib/types/empties\";\nimport { useProgramTheme } from \"@/lib/state/contextHooks\";\nimport { getConfiguredCountries } from \"@/lib/ProgramTheme/programThemeGetters\";\n\nimport { CountryComponent } from \"./CountryComponent\";\n\ntype CountryComponentWrapperProps = {\n verificationService: VerificationService;\n viewModelDraftDecorator?: (\n draft: ViewModel,\n countryChoice?: FormSelectChoice<Country, string>,\n ) => void;\n disabled?: boolean;\n};\n\nexport const CountryComponentWrapper = ({\n verificationService,\n viewModelDraftDecorator = undefined,\n disabled = false,\n}: CountryComponentWrapperProps) => {\n const programTheme = useProgramTheme();\n const { i18n, msg } = useMessage();\n\n const availableCountries: Country[] = getConfiguredCountries(programTheme);\n const localeAwareSorter = (a, b) => Intl.Collator(i18n.language).compare(a.label, b.label);\n const countryChoices = availableCountries\n .map((countryCode) => ({\n value: countryCode,\n label: msg({ id: `countries.${countryCode}` }),\n }))\n .sort(localeAwareSorter);\n\n const { fieldValidationErrors } = verificationService;\n const hasMultipleCountries = countryChoices.length > 1;\n const isFieldHidden = getFieldConfigByFieldId(\"country\")?.hidden;\n\n const updateCountryChoice = (countryChoice?: FormSelectChoice<Country, string>) => {\n const nextState: ViewModel = produce(\n verificationService.viewModel,\n (draft: ViewModel & WithOrganization) => {\n draft.countryChoice = countryChoice || undefined;\n\n // Adds backwards compatibility with Age and Employment programs\n (draft as any).country = countryChoice ? countryChoice.value : undefined;\n if (viewModelDraftDecorator) {\n viewModelDraftDecorator(draft, countryChoice);\n }\n\n // Reset to a blank org when changing the country choice\n if (draft.organization) {\n draft.organization = blankOrganization.organization;\n }\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n React.useEffect(() => {\n const includesUS = countryChoices.some((choice) => choice.value === \"US\");\n if (!hasMultipleCountries && !includesUS) {\n const fieldsToSkip: FieldId[] = verificationService.viewModel.fieldsToSkipValidation\n ? [...verificationService.viewModel.fieldsToSkipValidation, \"country\"]\n : [\"country\", \"address1\", \"postalCode\", \"state\", \"city\"];\n verificationService.updateViewModel(\n produceDraftViewModel(\n verificationService.viewModel,\n \"fieldsToSkipValidation\",\n fieldsToSkip,\n ),\n );\n }\n }, [hasMultipleCountries]);\n\n React.useEffect(() => {\n const updatedFieldValidationErrors = produce(\n verificationService.fieldValidationErrors,\n (draft) => {\n if (draft.country) {\n draft.country = validateFieldById(\n \"country\",\n verificationService.viewModel.countryChoice,\n verificationService.formValidationOptions,\n ) as ErrorId;\n }\n if (\n \"postalCode\" in verificationService.viewModel &&\n verificationService.viewModel.postalCode\n ) {\n draft.postalCode = validateFieldById(\n \"postalCode\",\n verificationService.viewModel.postalCode,\n verificationService.formValidationOptions,\n ) as ErrorId;\n }\n },\n );\n updateFieldValidationErrors(updatedFieldValidationErrors, verificationService);\n }, [verificationService.viewModel.countryChoice]);\n\n if (!hasMultipleCountries || isFieldHidden) {\n return null;\n }\n\n return (\n <CountryComponent\n isRequired\n options={countryChoices}\n value={verificationService.viewModel.countryChoice}\n isErrored={Boolean(fieldValidationErrors.country)}\n disabled={disabled}\n onChange={async (countryChoice: FormSelectChoice<Country, string>) => {\n const countryValue = countryChoice ? countryChoice.value : undefined;\n updateCountryChoice(countryChoice);\n updateFieldValidationErrorsByFieldId(\"country\", countryValue, verificationService);\n }}\n />\n );\n};\n"],"mappings":";;;;;;;;;4CAMA,KAAA,EAAA,UAAA,cAAA,YAAA,aAAA,cAAA,iBAAA,IAAA,gBAAA,IAAA,yBAAA,IAAA,cAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;AAiCA,GCJa,KAA2B,EACtC,wBACA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,CAE0B,GAA8B,CAAmB;CAC/E,GAAG,CAAC,EAAoB,UAAU,aAAa,CAAC,GAE5C,CAAC,KAAwB,IACpB,OAIP,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,YAAA;EACA,SAAS;EACT,OAAO,EAAoB,UAAU;EACrC,WAAW,EAAQ,EAAsB;EAC/B;EACV,UAAU,OAAO,MAAqD;GACpE,IAAM,IAAe,IAAgB,EAAc,QAAQ,KAAA;GAE3D,AADA,EAAoB,CAAa,GACjC,EAAqC,WAAW,GAAc,CAAmB;EACnF;CACD,CAAA;AAEL"}
|
|
@@ -4,19 +4,19 @@
|
|
|
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.280.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1789074204977
|
|
9
|
+
* BUILD_DATE: Thu Sep 10 2026 21:03:24 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 0337262e7e7380640882a11e0184fba716c38a59
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { c as n, n as r, t as i } from "./jsx-runtime-
|
|
14
|
-
import { n as a, o } from "./Message-
|
|
15
|
-
import { n as s } from "./empties-
|
|
16
|
-
import { n as c } from "./programThemeGetters-
|
|
17
|
-
import { u as l } from "./hooks-
|
|
18
|
-
import {
|
|
19
|
-
import { t as m } from "./FormFieldInputSelect-
|
|
12
|
+
import { Gt as e, p as t } from "./intl-COP5OPN0.js";
|
|
13
|
+
import { c as n, n as r, t as i } from "./jsx-runtime-CCEfa_da.js";
|
|
14
|
+
import { n as a, o } from "./Message-C8ZwB4H_.js";
|
|
15
|
+
import { n as s } from "./empties-BAB8wNt9.js";
|
|
16
|
+
import { n as c } from "./programThemeGetters-BnS5Q93M.js";
|
|
17
|
+
import { u as l } from "./hooks-DuYcWWea.js";
|
|
18
|
+
import { d as u, g as d, h as f, i as p } from "./stepComponentHelpers-CEcpJGQG.js";
|
|
19
|
+
import { t as m } from "./FormFieldInputSelect-BaYOGEm0.js";
|
|
20
20
|
//#region src/components/FormFields/Country/CountryComponent.tsx
|
|
21
21
|
var h = /* @__PURE__ */ e(n(), 1), g = i(), _ = ({ value: e, isErrored: t, options: n, onChange: i, onKeyDown: o, placeholder: s = "", isRequired: c = !0, suppressPlaceholder: l = !1, disabled: u = !1 }) => {
|
|
22
22
|
let { msg: d } = a();
|
|
@@ -44,7 +44,7 @@ var h = /* @__PURE__ */ e(n(), 1), g = i(), _ = ({ value: e, isErrored: t, optio
|
|
|
44
44
|
let i = o(), { i18n: m, msg: v } = a(), y = c(i).map((e) => ({
|
|
45
45
|
value: e,
|
|
46
46
|
label: v({ id: `countries.${e}` })
|
|
47
|
-
})).sort((e, t) => Intl.Collator(m.language).compare(e.label, t.label)), { fieldValidationErrors: b } = e, x = y.length > 1, S =
|
|
47
|
+
})).sort((e, t) => Intl.Collator(m.language).compare(e.label, t.label)), { fieldValidationErrors: b } = e, x = y.length > 1, S = p("country")?.hidden, C = (r) => {
|
|
48
48
|
let i = t(e.viewModel, (e) => {
|
|
49
49
|
e.countryChoice = r || void 0, e.country = r ? r.value : void 0, n && n(e, r), e.organization &&= s.organization;
|
|
50
50
|
});
|
|
@@ -60,10 +60,10 @@ var h = /* @__PURE__ */ e(n(), 1), g = i(), _ = ({ value: e, isErrored: t, optio
|
|
|
60
60
|
"state",
|
|
61
61
|
"city"
|
|
62
62
|
];
|
|
63
|
-
e.updateViewModel(
|
|
63
|
+
e.updateViewModel(u(e.viewModel, "fieldsToSkipValidation", t));
|
|
64
64
|
}
|
|
65
65
|
}, [x]), h.useEffect(() => {
|
|
66
|
-
|
|
66
|
+
f(t(e.fieldValidationErrors, (t) => {
|
|
67
67
|
t.country &&= l("country", e.viewModel.countryChoice, e.formValidationOptions), "postalCode" in e.viewModel && e.viewModel.postalCode && (t.postalCode = l("postalCode", e.viewModel.postalCode, e.formValidationOptions));
|
|
68
68
|
}), e);
|
|
69
69
|
}, [e.viewModel.countryChoice]), !x || S ? null : /* @__PURE__ */ (0, g.jsx)(_, {
|
|
@@ -74,7 +74,7 @@ var h = /* @__PURE__ */ e(n(), 1), g = i(), _ = ({ value: e, isErrored: t, optio
|
|
|
74
74
|
disabled: r,
|
|
75
75
|
onChange: async (t) => {
|
|
76
76
|
let n = t ? t.value : void 0;
|
|
77
|
-
C(t),
|
|
77
|
+
C(t), d("country", n, e);
|
|
78
78
|
}
|
|
79
79
|
});
|
|
80
80
|
};
|
package/chunk/{CountryComponentWrapper-CW4yj9IF.js.map → CountryComponentWrapper-Dp_Lw4Jz.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CountryComponentWrapper-
|
|
1
|
+
{"version":3,"file":"CountryComponentWrapper-Dp_Lw4Jz.js","names":[],"sources":["../../src/components/FormFields/Country/CountryComponent.tsx","../../src/components/FormFields/Country/CountryComponentWrapper.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 CountryComponent = ({\n value,\n isErrored,\n options,\n onChange,\n onKeyDown,\n placeholder = \"\",\n isRequired = true,\n suppressPlaceholder = false,\n disabled = false,\n}: InputSelectComponentProps) => {\n const { msg } = useMessage();\n const inputId = \"country\";\n return (\n <FormFieldInputSelect\n fieldId={inputId}\n options={options}\n onChange={(country: FormSelectChoice) => onChange(country)}\n onKeyDown={onKeyDown}\n placeholder={placeholder || msg({ id: \"countryPlaceholder\" })}\n value={options.find((option) => option.value === (value && value.value))}\n isRequired={isRequired}\n label={<FormattedHTMLMessage id=\"country\" defaultMessage=\"Country\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage id=\"errorId.invalidCountry\" defaultMessage=\"Invalid country\" />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n suppressPlaceholder={suppressPlaceholder}\n disabled={disabled}\n />\n );\n};\n","import React from \"react\";\nimport produce from \"immer\";\n\nimport { useMessage } from \"@/components/Message\";\nimport {\n type VerificationService,\n type Country,\n type FormSelectChoice,\n type ViewModel,\n type ErrorId,\n type FieldId,\n type WithOrganization,\n} from \"@/lib/types/types\";\nimport {\n updateFieldValidationErrorsByFieldId,\n produceDraftViewModel,\n updateFieldValidationErrors,\n getFieldConfigByFieldId,\n} from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { validateFieldById } from \"@/lib/validators/validators\";\nimport { blankOrganization } from \"@/lib/types/empties\";\nimport { useProgramTheme } from \"@/lib/state/contextHooks\";\nimport { getConfiguredCountries } from \"@/lib/ProgramTheme/programThemeGetters\";\n\nimport { CountryComponent } from \"./CountryComponent\";\n\ntype CountryComponentWrapperProps = {\n verificationService: VerificationService;\n viewModelDraftDecorator?: (\n draft: ViewModel,\n countryChoice?: FormSelectChoice<Country, string>,\n ) => void;\n disabled?: boolean;\n};\n\nexport const CountryComponentWrapper = ({\n verificationService,\n viewModelDraftDecorator = undefined,\n disabled = false,\n}: CountryComponentWrapperProps) => {\n const programTheme = useProgramTheme();\n const { i18n, msg } = useMessage();\n\n const availableCountries: Country[] = getConfiguredCountries(programTheme);\n const localeAwareSorter = (a, b) => Intl.Collator(i18n.language).compare(a.label, b.label);\n const countryChoices = availableCountries\n .map((countryCode) => ({\n value: countryCode,\n label: msg({ id: `countries.${countryCode}` }),\n }))\n .sort(localeAwareSorter);\n\n const { fieldValidationErrors } = verificationService;\n const hasMultipleCountries = countryChoices.length > 1;\n const isFieldHidden = getFieldConfigByFieldId(\"country\")?.hidden;\n\n const updateCountryChoice = (countryChoice?: FormSelectChoice<Country, string>) => {\n const nextState: ViewModel = produce(\n verificationService.viewModel,\n (draft: ViewModel & WithOrganization) => {\n draft.countryChoice = countryChoice || undefined;\n\n // Adds backwards compatibility with Age and Employment programs\n (draft as any).country = countryChoice ? countryChoice.value : undefined;\n if (viewModelDraftDecorator) {\n viewModelDraftDecorator(draft, countryChoice);\n }\n\n // Reset to a blank org when changing the country choice\n if (draft.organization) {\n draft.organization = blankOrganization.organization;\n }\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n React.useEffect(() => {\n const includesUS = countryChoices.some((choice) => choice.value === \"US\");\n if (!hasMultipleCountries && !includesUS) {\n const fieldsToSkip: FieldId[] = verificationService.viewModel.fieldsToSkipValidation\n ? [...verificationService.viewModel.fieldsToSkipValidation, \"country\"]\n : [\"country\", \"address1\", \"postalCode\", \"state\", \"city\"];\n verificationService.updateViewModel(\n produceDraftViewModel(\n verificationService.viewModel,\n \"fieldsToSkipValidation\",\n fieldsToSkip,\n ),\n );\n }\n }, [hasMultipleCountries]);\n\n React.useEffect(() => {\n const updatedFieldValidationErrors = produce(\n verificationService.fieldValidationErrors,\n (draft) => {\n if (draft.country) {\n draft.country = validateFieldById(\n \"country\",\n verificationService.viewModel.countryChoice,\n verificationService.formValidationOptions,\n ) as ErrorId;\n }\n if (\n \"postalCode\" in verificationService.viewModel &&\n verificationService.viewModel.postalCode\n ) {\n draft.postalCode = validateFieldById(\n \"postalCode\",\n verificationService.viewModel.postalCode,\n verificationService.formValidationOptions,\n ) as ErrorId;\n }\n },\n );\n updateFieldValidationErrors(updatedFieldValidationErrors, verificationService);\n }, [verificationService.viewModel.countryChoice]);\n\n if (!hasMultipleCountries || isFieldHidden) {\n return null;\n }\n\n return (\n <CountryComponent\n isRequired\n options={countryChoices}\n value={verificationService.viewModel.countryChoice}\n isErrored={Boolean(fieldValidationErrors.country)}\n disabled={disabled}\n onChange={async (countryChoice: FormSelectChoice<Country, string>) => {\n const countryValue = countryChoice ? countryChoice.value : undefined;\n updateCountryChoice(countryChoice);\n updateFie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B;EAuBpB,EAtBqC,EACnC,EAAoB,wBACnB,MAAU;GAQT,AAPA,AACE,EAAM,YAAU,EACd,WACA,EAAoB,UAAU,eAC9B,EAAoB,qBACtB,GAGA,gBAAgB,EAAoB,aACpC,EAAoB,UAAU,eAE9B,EAAM,aAAa,EACjB,cACA,EAAoB,UAAU,YAC9B,EAAoB,qBACtB;EAEJ,CAE0B,GAA8B,CAAmB;CAC/E,GAAG,CAAC,EAAoB,UAAU,aAAa,CAAC,GAE5C,CAAC,KAAwB,IACpB,OAIP,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,YAAA;EACA,SAAS;EACT,OAAO,EAAoB,UAAU;EACrC,WAAW,EAAQ,EAAsB;EAC/B;EACV,UAAU,OAAO,MAAqD;GACpE,IAAM,IAAe,IAAgB,EAAc,QAAQ,KAAA;GAE3D,AADA,EAAoB,CAAa,GACjC,EAAqC,WAAW,GAAc,CAAmB;EACnF;CACD,CAAA;AAEL"}
|
|
@@ -4,21 +4,20 @@
|
|
|
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.280.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1789074204977
|
|
9
|
+
* BUILD_DATE: Thu Sep 10 2026 21:03:24 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 0337262e7e7380640882a11e0184fba716c38a59
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { c as i, n as a, t as o } from "./jsx-runtime-
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as p } from "./countryUtils-AR9k3KRg.js";
|
|
12
|
+
import { Gt as e, Vt as t, z as n, zt as r } from "./intl-COP5OPN0.js";
|
|
13
|
+
import { c as i, n as a, t as o } from "./jsx-runtime-CCEfa_da.js";
|
|
14
|
+
import { O as s, n as c } from "./Message-C8ZwB4H_.js";
|
|
15
|
+
import { i as l, l as u } from "./stepComponentHelpers-CEcpJGQG.js";
|
|
16
|
+
import { r as d } from "./CaptchaComponent-D3gR_wiv.js";
|
|
17
|
+
import { t as f } from "./FormFieldInputSelect-BaYOGEm0.js";
|
|
18
|
+
import { t as p } from "./countryUtils-D3poSBsN.js";
|
|
20
19
|
//#region src/components/FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent.tsx
|
|
21
|
-
var m = o(), h = ({ onChange: e, errorId:
|
|
20
|
+
var m = o(), h = ({ onChange: e, errorId: t, isErrored: r = !!t, value: i = "2000-01-01", locale: o = n, disabled: s = !1 }) => l("activeDutyStartDate")?.hidden ? null : /* @__PURE__ */ (0, m.jsx)(d, {
|
|
22
21
|
value: i,
|
|
23
22
|
label: /* @__PURE__ */ (0, m.jsx)(a, {
|
|
24
23
|
id: "activeDutyStartDate",
|
|
@@ -35,13 +34,13 @@ var m = o(), h = ({ onChange: e, errorId: n, isErrored: r = !!n, value: i = "200
|
|
|
35
34
|
isErrored: r,
|
|
36
35
|
disabled: s,
|
|
37
36
|
errorMsg: /* @__PURE__ */ (0, m.jsx)(a, {
|
|
38
|
-
id: `errorId.${
|
|
37
|
+
id: `errorId.${t}`,
|
|
39
38
|
defaultMessage: "Invalid start date"
|
|
40
39
|
})
|
|
41
|
-
}), g = /* @__PURE__ */
|
|
42
|
-
let { msg: y } =
|
|
43
|
-
d &&
|
|
44
|
-
let b = "branch-of-service", [x, S] = g.useState([]), [C, w] = g.useState(!1), [T, E] = g.useState(!1), { viewModel: D, programTheme: O } = h, { status: k } = D, { orgSearchUrl: A } = O.config, j =
|
|
40
|
+
}), g = /* @__PURE__ */ e(i(), 1), _ = ({ autoFocus: e, onChange: n, value: i, isErrored: o, organizations: d = void 0, verificationService: h, placeholder: _ = "", disabled: v = !1 }) => {
|
|
41
|
+
let { msg: y } = c();
|
|
42
|
+
d && t.warn("Param `organizations` is deprecated and will not be used");
|
|
43
|
+
let b = "branch-of-service", [x, S] = g.useState([]), [C, w] = g.useState(!1), [T, E] = g.useState(!1), { viewModel: D, programTheme: O } = h, { status: k } = D, { orgSearchUrl: A } = O.config, j = r(() => D?.countryChoice?.value), M = p(O, j);
|
|
45
44
|
g.useEffect(() => {
|
|
46
45
|
let e = new AbortController();
|
|
47
46
|
return (async () => {
|
|
@@ -52,7 +51,7 @@ var m = o(), h = ({ onChange: e, errorId: n, isErrored: r = !!n, value: i = "200
|
|
|
52
51
|
w(!1), E(!0);
|
|
53
52
|
let t = new URL(A);
|
|
54
53
|
j ? t.searchParams.set("country", j) : t.searchParams.delete("country"), k ? t.searchParams.set("tags", k) : t.searchParams.delete("tags");
|
|
55
|
-
let n = await
|
|
54
|
+
let n = await s(t.toString());
|
|
56
55
|
e.signal.aborted || (n && S(n.map(u)), E(!1));
|
|
57
56
|
})(), () => {
|
|
58
57
|
e.abort();
|
|
@@ -70,9 +69,9 @@ var m = o(), h = ({ onChange: e, errorId: n, isErrored: r = !!n, value: i = "200
|
|
|
70
69
|
return l("organization")?.hidden ? null : /* @__PURE__ */ (0, m.jsx)(f, {
|
|
71
70
|
fieldId: b,
|
|
72
71
|
refId: "organization",
|
|
73
|
-
autoFocus:
|
|
72
|
+
autoFocus: e,
|
|
74
73
|
options: x,
|
|
75
|
-
onChange: (e) => N(e,
|
|
74
|
+
onChange: (e) => N(e, n),
|
|
76
75
|
value: x.find((e) => e.value === (i && i.value)),
|
|
77
76
|
placeholder: _ || y({ id: "branchOfServicePlaceholder" }),
|
|
78
77
|
isRequired: !0,
|