@sheerid/jslib 2.276.0 → 2.277.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 +873 -869
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-DeNJR0XJ.js → AddressComponent-C3iwf09x.js} +7 -7
- package/chunk/{AddressComponent-C89pD6Mq.js.map → AddressComponent-C3iwf09x.js.map} +1 -1
- package/chunk/{AddressComponent-C89pD6Mq.js → AddressComponent-oDHvr6bn.js} +7 -7
- package/chunk/{AddressComponent-DeNJR0XJ.js.map → AddressComponent-oDHvr6bn.js.map} +1 -1
- package/chunk/{AnnouncingHeader-BlnfAnLI.js → AnnouncingHeader-CCVSQeQR.js} +6 -6
- package/chunk/{AnnouncingHeader-BlnfAnLI.js.map → AnnouncingHeader-CCVSQeQR.js.map} +1 -1
- package/chunk/{AnnouncingHeader-CegZwDFd.js → AnnouncingHeader-YPjBYzsZ.js} +6 -6
- package/chunk/{AnnouncingHeader-CegZwDFd.js.map → AnnouncingHeader-YPjBYzsZ.js.map} +1 -1
- package/chunk/{ApiUrls-DtgMSGlO.js → ApiUrls-BEuqNxHS.js} +12 -8
- package/chunk/ApiUrls-BEuqNxHS.js.map +1 -0
- package/chunk/ApiUrls-C93kMsSC.js +44 -0
- package/chunk/ApiUrls-C93kMsSC.js.map +1 -0
- package/chunk/{BirthDateComponent-BYO6Kfgc.js → BirthDateComponent-MZDnneXy.js} +8 -8
- package/chunk/{BirthDateComponent-2CJqlbNU.js.map → BirthDateComponent-MZDnneXy.js.map} +1 -1
- package/chunk/{BirthDateComponent-2CJqlbNU.js → BirthDateComponent-f9e4it7x.js} +8 -8
- package/chunk/{BirthDateComponent-BYO6Kfgc.js.map → BirthDateComponent-f9e4it7x.js.map} +1 -1
- package/chunk/{CaptchaComponent-CoajXhka.js → CaptchaComponent-CCq7YSum.js} +135 -135
- package/chunk/{CaptchaComponent-CoajXhka.js.map → CaptchaComponent-CCq7YSum.js.map} +1 -1
- package/chunk/{CaptchaComponent-DnyafWoN.js → CaptchaComponent-hqx9tSkk.js} +134 -134
- package/chunk/{CaptchaComponent-DnyafWoN.js.map → CaptchaComponent-hqx9tSkk.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-Z-taCJ6R.js → ChangeLocaleComponent-CKKK4OcA.js} +8 -8
- package/chunk/{ChangeLocaleComponent-C4jVlT7w.js.map → ChangeLocaleComponent-CKKK4OcA.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-C4jVlT7w.js → ChangeLocaleComponent-DtJjnuBc.js} +8 -8
- package/chunk/{ChangeLocaleComponent-Z-taCJ6R.js.map → ChangeLocaleComponent-DtJjnuBc.js.map} +1 -1
- package/chunk/{City-CEOnA40d.js → City-CUVEjTrI.js} +7 -7
- package/chunk/{City-CEOnA40d.js.map → City-CUVEjTrI.js.map} +1 -1
- package/chunk/{City-CHFvccq5.js → City-Drub1WX8.js} +7 -7
- package/chunk/{City-CHFvccq5.js.map → City-Drub1WX8.js.map} +1 -1
- package/chunk/{CollegeNameComponent-TPDjSelK.js → CollegeNameComponent-4QYMIIcd.js} +9 -9
- package/chunk/{CollegeNameComponent-C-Vq-0f_.js.map → CollegeNameComponent-4QYMIIcd.js.map} +1 -1
- package/chunk/{CollegeNameComponent-C-Vq-0f_.js → CollegeNameComponent-C47D3rO4.js} +9 -9
- package/chunk/{CollegeNameComponent-TPDjSelK.js.map → CollegeNameComponent-C47D3rO4.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-BdTGehGx.js → CopyToClipboardComponent-DGi3bxV2.js} +9 -9
- package/chunk/{CopyToClipboardComponent-BdTGehGx.js.map → CopyToClipboardComponent-DGi3bxV2.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-DkrM2SFa.js → CopyToClipboardComponent-cLuyXFes.js} +9 -9
- package/chunk/{CopyToClipboardComponent-DkrM2SFa.js.map → CopyToClipboardComponent-cLuyXFes.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-CsMhIsMa.js → CountryComponentWrapper-B3Ki9bAz.js} +16 -16
- package/chunk/{CountryComponentWrapper-C45AFJGi.js.map → CountryComponentWrapper-B3Ki9bAz.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-C45AFJGi.js → CountryComponentWrapper-DeR9PrA2.js} +16 -16
- package/chunk/{CountryComponentWrapper-CsMhIsMa.js.map → CountryComponentWrapper-DeR9PrA2.js.map} +1 -1
- package/chunk/{DischargeDateComponent-W6LVGtRA.js → DischargeDateComponent-Btg3v71t.js} +21 -21
- package/chunk/{DischargeDateComponent-W6LVGtRA.js.map → DischargeDateComponent-Btg3v71t.js.map} +1 -1
- package/chunk/{DischargeDateComponent-YwN1LS7c.js → DischargeDateComponent-CqKUrGE0.js} +21 -21
- package/chunk/{DischargeDateComponent-YwN1LS7c.js.map → DischargeDateComponent-CqKUrGE0.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-DWRBwzc1.js → DriverLicenseNumberComponent-B2arYwHU.js} +7 -7
- package/chunk/{DriverLicenseNumberComponent-BgyfMAeh.js.map → DriverLicenseNumberComponent-B2arYwHU.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-BgyfMAeh.js → DriverLicenseNumberComponent-ByNoEq6v.js} +7 -7
- package/chunk/{DriverLicenseNumberComponent-DWRBwzc1.js.map → DriverLicenseNumberComponent-ByNoEq6v.js.map} +1 -1
- package/chunk/{EmailLoopPending-DbehVow3.js → EmailLoopPending-HyZBgisU.js} +25 -25
- package/chunk/{EmailLoopPending-C7SKw1We.js.map → EmailLoopPending-HyZBgisU.js.map} +1 -1
- package/chunk/{EmailLoopPending-C7SKw1We.js → EmailLoopPending-ojWCBFjq.js} +24 -24
- package/chunk/{EmailLoopPending-DbehVow3.js.map → EmailLoopPending-ojWCBFjq.js.map} +1 -1
- package/chunk/{ExtraMessage-f9Om84tg.js → ExtraMessage-BXxlQROb.js} +7 -7
- package/chunk/{ExtraMessage-CIU0SFFU.js.map → ExtraMessage-BXxlQROb.js.map} +1 -1
- package/chunk/{ExtraMessage-CIU0SFFU.js → ExtraMessage-PLTUBdhw.js} +7 -7
- package/chunk/{ExtraMessage-f9Om84tg.js.map → ExtraMessage-PLTUBdhw.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-D3iJl4at.js → FirstResponderOrganizationComponent-BiI8JG49.js} +8 -8
- package/chunk/{FirstResponderOrganizationComponent-CCzd7O89.js.map → FirstResponderOrganizationComponent-BiI8JG49.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-CCzd7O89.js → FirstResponderOrganizationComponent-BwzXdBV-.js} +8 -8
- package/chunk/{FirstResponderOrganizationComponent-D3iJl4at.js.map → FirstResponderOrganizationComponent-BwzXdBV-.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-BioVB7zS.js → FormFieldInputSelect-C6OyLsWL.js} +7 -7
- package/chunk/{FormFieldInputSelect-BAVhOrsd.js.map → FormFieldInputSelect-C6OyLsWL.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-BAVhOrsd.js → FormFieldInputSelect-Cl4QZ12h.js} +7 -7
- package/chunk/{FormFieldInputSelect-BioVB7zS.js.map → FormFieldInputSelect-Cl4QZ12h.js.map} +1 -1
- package/chunk/{FormFieldLayout-Bav93prH.js → FormFieldLayout-C4SCdGBC.js} +6 -6
- package/chunk/{FormFieldLayout-Bav93prH.js.map → FormFieldLayout-C4SCdGBC.js.map} +1 -1
- package/chunk/{FormFieldLayout-C-P2QCto.js → FormFieldLayout-Cj_v9kYa.js} +6 -6
- package/chunk/{FormFieldLayout-C-P2QCto.js.map → FormFieldLayout-Cj_v9kYa.js.map} +1 -1
- package/chunk/{FormFieldText-mvPCLbUG.js → FormFieldText-BbdrtNh_.js} +7 -7
- package/chunk/{FormFieldText-BPefsplc.js.map → FormFieldText-BbdrtNh_.js.map} +1 -1
- package/chunk/{FormFieldText-BPefsplc.js → FormFieldText-Gf13Luq7.js} +7 -7
- package/chunk/{FormFieldText-mvPCLbUG.js.map → FormFieldText-Gf13Luq7.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-Cd4-ak1z.js → FormFieldTypeahead-DTFxOQnf.js} +70 -70
- package/chunk/{FormFieldTypeahead-Cd4-ak1z.js.map → FormFieldTypeahead-DTFxOQnf.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-D5lcrGM-.js → FormFieldTypeahead-DbrQgvbJ.js} +85 -85
- package/chunk/{FormFieldTypeahead-D5lcrGM-.js.map → FormFieldTypeahead-DbrQgvbJ.js.map} +1 -1
- package/chunk/{FormFooterComponent-BEDJQK_Z.js → FormFooterComponent-B2W5vjOS.js} +1949 -1942
- package/chunk/{FormFooterComponent-BEDJQK_Z.js.map → FormFooterComponent-B2W5vjOS.js.map} +1 -1
- package/chunk/{FormFooterComponent-BuRQRQFI.js → FormFooterComponent-CaOt9TQw.js} +196 -189
- package/chunk/FormFooterComponent-CaOt9TQw.js.map +1 -0
- package/chunk/{FormSelectChoice-BMOCwG1_.js → FormSelectChoice-C4LlT7fR.js} +16 -16
- package/chunk/{FormSelectChoice-BMOCwG1_.js.map → FormSelectChoice-C4LlT7fR.js.map} +1 -1
- package/chunk/{FormSelectChoice-xPF_7dfg.js → FormSelectChoice-CClt04rV.js} +16 -16
- package/chunk/{FormSelectChoice-xPF_7dfg.js.map → FormSelectChoice-CClt04rV.js.map} +1 -1
- package/chunk/{InputText-B4CjWTez.js → InputText-BXPuBlPq.js} +7 -7
- package/chunk/{InputText-B4CjWTez.js.map → InputText-BXPuBlPq.js.map} +1 -1
- package/chunk/{InputText-Dc_DjXbQ.js → InputText-h_myNeHr.js} +7 -7
- package/chunk/{InputText-Dc_DjXbQ.js.map → InputText-h_myNeHr.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-CP_MLvtk.js → LicensedProfessionalOrganizationComponent-wJSn67h6.js} +8 -8
- package/chunk/{LicensedProfessionalOrganizationComponent-Dwbseq8o.js.map → LicensedProfessionalOrganizationComponent-wJSn67h6.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-Dwbseq8o.js → LicensedProfessionalOrganizationComponent-wfXwXvVc.js} +8 -8
- package/chunk/{LicensedProfessionalOrganizationComponent-CP_MLvtk.js.map → LicensedProfessionalOrganizationComponent-wfXwXvVc.js.map} +1 -1
- package/chunk/{LogoComponent-BaBfWuKr.js → LogoComponent-Do8K5ydz.js} +6 -6
- package/chunk/{LogoComponent-BaBfWuKr.js.map → LogoComponent-Do8K5ydz.js.map} +1 -1
- package/chunk/{LogoComponent-DSoOQ1Uz.js → LogoComponent-Dx1G-rzE.js} +6 -6
- package/chunk/{LogoComponent-DSoOQ1Uz.js.map → LogoComponent-Dx1G-rzE.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-BXmap6Rx.js → LowIncomeOrganizationComponent-C3Dc7HeO.js} +20 -20
- package/chunk/{LowIncomeOrganizationComponent-BXmap6Rx.js.map → LowIncomeOrganizationComponent-C3Dc7HeO.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-D8CNP5HY.js → LowIncomeOrganizationComponent-D8RlrBXa.js} +20 -20
- package/chunk/{LowIncomeOrganizationComponent-D8CNP5HY.js.map → LowIncomeOrganizationComponent-D8RlrBXa.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-KmjANRJ9.js → MedicalProfessionalOrganizationComponent-BlEmZTpI.js} +8 -8
- package/chunk/{MedicalProfessionalOrganizationComponent-BbYalsLY.js.map → MedicalProfessionalOrganizationComponent-BlEmZTpI.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-BbYalsLY.js → MedicalProfessionalOrganizationComponent-DS1iVIfQ.js} +8 -8
- package/chunk/{MedicalProfessionalOrganizationComponent-KmjANRJ9.js.map → MedicalProfessionalOrganizationComponent-DS1iVIfQ.js.map} +1 -1
- package/chunk/{MemberIdComponent-TNTlU0wZ.js → MemberIdComponent-5OnkQeLm.js} +7 -7
- package/chunk/{MemberIdComponent-TNTlU0wZ.js.map → MemberIdComponent-5OnkQeLm.js.map} +1 -1
- package/chunk/{MemberIdComponent-ubWwGiAG.js → MemberIdComponent-sR9aGDN4.js} +7 -7
- package/chunk/{MemberIdComponent-ubWwGiAG.js.map → MemberIdComponent-sR9aGDN4.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-QqiCbPz3.js → MembershipOrganizationComponent-BrbunU1_.js} +8 -8
- package/chunk/{MembershipOrganizationComponent-BlYWLmzA.js.map → MembershipOrganizationComponent-BrbunU1_.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-BlYWLmzA.js → MembershipOrganizationComponent-UqzaA4bV.js} +8 -8
- package/chunk/{MembershipOrganizationComponent-QqiCbPz3.js.map → MembershipOrganizationComponent-UqzaA4bV.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-_wFfZCyV.js → PersonalInfoStepSubmitButton-DA3ceOLw.js} +28 -26
- package/chunk/PersonalInfoStepSubmitButton-DA3ceOLw.js.map +1 -0
- package/chunk/{PersonalInfoStepSubmitButton-DvMU95pj.js → PersonalInfoStepSubmitButton-D_Y9q0Iy.js} +20 -18
- package/chunk/PersonalInfoStepSubmitButton-D_Y9q0Iy.js.map +1 -0
- package/chunk/{PersonalInfoStepWrapper-BCe97Fbw.js → PersonalInfoStepWrapper-6neTJTQD.js} +7 -7
- package/chunk/{PersonalInfoStepWrapper-BCe97Fbw.js.map → PersonalInfoStepWrapper-6neTJTQD.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-C-DG20qY.js → PersonalInfoStepWrapper-Dsb0Qcv5.js} +21 -21
- package/chunk/{PersonalInfoStepWrapper-C-DG20qY.js.map → PersonalInfoStepWrapper-Dsb0Qcv5.js.map} +1 -1
- package/chunk/{PostalCodeComponent-BF8Fplpm.js → PostalCodeComponent-BhBBSAL-.js} +7 -7
- package/chunk/{PostalCodeComponent-BF8Fplpm.js.map → PostalCodeComponent-BhBBSAL-.js.map} +1 -1
- package/chunk/{PostalCodeComponent-Cn7FPVh2.js → PostalCodeComponent-DKC3DspF.js} +7 -7
- package/chunk/{PostalCodeComponent-Cn7FPVh2.js.map → PostalCodeComponent-DKC3DspF.js.map} +1 -1
- package/chunk/{SSN-DPn5f0xr.js → SSN-7DHOlAAq.js} +8 -8
- package/chunk/{SSN-CbSneflU.js.map → SSN-7DHOlAAq.js.map} +1 -1
- package/chunk/{SSN-CbSneflU.js → SSN-DlBvRiaZ.js} +8 -8
- package/chunk/{SSN-DPn5f0xr.js.map → SSN-DlBvRiaZ.js.map} +1 -1
- package/chunk/{StateSelectComponent-BMxcczlp.js → StateSelectComponent-BXHXB6Kn.js} +6 -6
- package/chunk/{StateSelectComponent-BMxcczlp.js.map → StateSelectComponent-BXHXB6Kn.js.map} +1 -1
- package/chunk/{StateSelectComponent-Fwkoplfb.js → StateSelectComponent-lM5e-_1v.js} +6 -6
- package/chunk/{StateSelectComponent-Fwkoplfb.js.map → StateSelectComponent-lM5e-_1v.js.map} +1 -1
- package/chunk/{StatusComponent-C--lHDG1.js → StatusComponent-BTvs1WVn.js} +15 -14
- package/chunk/StatusComponent-BTvs1WVn.js.map +1 -0
- package/chunk/{StatusComponent-DUPrDBFL.js → StatusComponent-BxQNsHYs.js} +15 -14
- package/chunk/StatusComponent-BxQNsHYs.js.map +1 -0
- package/chunk/StepAgePersonalInfo-BOnOqXxm.js +174 -0
- package/chunk/{StepAgePersonalInfo-B3prBGtM.js.map → StepAgePersonalInfo-BOnOqXxm.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-B3prBGtM.js → StepAgePersonalInfo-UWfkIpnn.js} +43 -47
- package/chunk/{StepAgePersonalInfo-Bqy4A9R_.js.map → StepAgePersonalInfo-UWfkIpnn.js.map} +1 -1
- package/chunk/{StepCard-DOhBSDPW.js → StepCard-B0o7IN6g.js} +5 -5
- package/chunk/{StepCard-DOhBSDPW.js.map → StepCard-B0o7IN6g.js.map} +1 -1
- package/chunk/{StepCard-Ym7mbGWv.js → StepCard-CWT2BiAH.js} +5 -5
- package/chunk/{StepCard-Ym7mbGWv.js.map → StepCard-CWT2BiAH.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-BPVZi_2Z.js → StepCollectIdentifier-CtpUvhZs.js} +11 -11
- package/chunk/{StepCollectIdentifier-BPVZi_2Z.js.map → StepCollectIdentifier-CtpUvhZs.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-DIYCPon1.js → StepCollectIdentifier-D7bSwvYI.js} +15 -15
- package/chunk/{StepCollectIdentifier-DIYCPon1.js.map → StepCollectIdentifier-D7bSwvYI.js.map} +1 -1
- package/chunk/StepCollectMilitaryPersonalInfoComponent-BcmZhgl3.js +245 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-BcmZhgl3.js.map +1 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-CHxXr8xM.js +249 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-CHxXr8xM.js.map +1 -0
- package/chunk/StepCollectPersonalInfo-BlAJbqgb.js +372 -0
- package/chunk/StepCollectPersonalInfo-BlAJbqgb.js.map +1 -0
- package/chunk/StepCollectPersonalInfo-CzLVKlZ3.js +368 -0
- package/chunk/StepCollectPersonalInfo-CzLVKlZ3.js.map +1 -0
- package/chunk/{StepCompleteAuthentication-Yz3dPahs.js → StepCompleteAuthentication-Cnv_QzG7.js} +21 -21
- package/chunk/{StepCompleteAuthentication-BmYjAKgP.js.map → StepCompleteAuthentication-Cnv_QzG7.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-BmYjAKgP.js → StepCompleteAuthentication-D7NH3MFa.js} +21 -21
- package/chunk/{StepCompleteAuthentication-Yz3dPahs.js.map → StepCompleteAuthentication-D7NH3MFa.js.map} +1 -1
- package/chunk/{StepConsolation-DPjGqB9c.js → StepConsolation-BrzJnbYN.js} +9 -9
- package/chunk/{StepConsolation-DPjGqB9c.js.map → StepConsolation-BrzJnbYN.js.map} +1 -1
- package/chunk/{StepConsolation-CuDYCCAE.js → StepConsolation-C5ZHdmQ6.js} +9 -9
- package/chunk/{StepConsolation-CuDYCCAE.js.map → StepConsolation-C5ZHdmQ6.js.map} +1 -1
- package/chunk/{StepDocUpload-wmENbcHT.js → StepDocUpload-BuH-EW5U.js} +214 -214
- package/chunk/{StepDocUpload-wmENbcHT.js.map → StepDocUpload-BuH-EW5U.js.map} +1 -1
- package/chunk/{StepDocUpload-DXh4w_Gy.js → StepDocUpload-D2_e55pR.js} +221 -221
- package/chunk/{StepDocUpload-DXh4w_Gy.js.map → StepDocUpload-D2_e55pR.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-DsWHV5ef.js → StepDriverLicensePersonalInfoComponent-DcVZb5ke.js} +32 -32
- package/chunk/{StepDriverLicensePersonalInfoComponent-C89uw9hB.js.map → StepDriverLicensePersonalInfoComponent-DcVZb5ke.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-C89uw9hB.js → StepDriverLicensePersonalInfoComponent-UZoq9OhC.js} +36 -36
- package/chunk/{StepDriverLicensePersonalInfoComponent-DsWHV5ef.js.map → StepDriverLicensePersonalInfoComponent-UZoq9OhC.js.map} +1 -1
- package/chunk/{StepEmailLoop-qLTbVSgG.js → StepEmailLoop-138hnevc.js} +17 -17
- package/chunk/{StepEmailLoop-CgImGOHm.js.map → StepEmailLoop-138hnevc.js.map} +1 -1
- package/chunk/{StepEmailLoop-CgImGOHm.js → StepEmailLoop-p3PjfBvc.js} +17 -17
- package/chunk/{StepEmailLoop-qLTbVSgG.js.map → StepEmailLoop-p3PjfBvc.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-DmWrWi0w.js → StepEmploymentPersonalInfo-CIb2V_Aj.js} +47 -47
- package/chunk/{StepEmploymentPersonalInfo-BokWlHYE.js.map → StepEmploymentPersonalInfo-CIb2V_Aj.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-BokWlHYE.js → StepEmploymentPersonalInfo-txyihsja.js} +51 -51
- package/chunk/{StepEmploymentPersonalInfo-DmWrWi0w.js.map → StepEmploymentPersonalInfo-txyihsja.js.map} +1 -1
- package/chunk/StepFirstResponderPersonalInfo-CSGMgT02.js +186 -0
- package/chunk/StepFirstResponderPersonalInfo-CSGMgT02.js.map +1 -0
- package/chunk/StepFirstResponderPersonalInfo-gF_5zHxj.js +182 -0
- package/chunk/StepFirstResponderPersonalInfo-gF_5zHxj.js.map +1 -0
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-C0xjZ49y.js → StepGeneralIdentityPersonalInfoComponent-Cgp_PX5L.js} +45 -45
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DtnhsOS8.js.map → StepGeneralIdentityPersonalInfoComponent-Cgp_PX5L.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DtnhsOS8.js → StepGeneralIdentityPersonalInfoComponent-D4wP5D1G.js} +41 -41
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-C0xjZ49y.js.map → StepGeneralIdentityPersonalInfoComponent-D4wP5D1G.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BrfsVxoL.js → StepHybridIdentityPersonalInfoComponent-Cez-TR1Z.js} +44 -44
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BrfsVxoL.js.map → StepHybridIdentityPersonalInfoComponent-Cez-TR1Z.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-DtWwTb-w.js → StepHybridIdentityPersonalInfoComponent-ChtlT4nZ.js} +48 -48
- package/chunk/{StepHybridIdentityPersonalInfoComponent-DtWwTb-w.js.map → StepHybridIdentityPersonalInfoComponent-ChtlT4nZ.js.map} +1 -1
- package/chunk/StepIDCheckLoop-CX6VsvAJ.js +24 -0
- package/chunk/{StepIDCheckLoop-CqMy-kih.js.map → StepIDCheckLoop-CX6VsvAJ.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-D3fkw6rR.js → StepIDCheckLoop-DFhu-v9n.js} +8 -8
- package/chunk/{StepIDCheckLoop-D3fkw6rR.js.map → StepIDCheckLoop-DFhu-v9n.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-CPqxoGK2.js → StepIDCheckLoopOnfido-0o-ZdynC.js} +48 -48
- package/chunk/{StepIDCheckLoopOnfido-CuHGDZD7.js.map → StepIDCheckLoopOnfido-0o-ZdynC.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-CuHGDZD7.js → StepIDCheckLoopOnfido-CiuUU7f9.js} +53 -53
- package/chunk/{StepIDCheckLoopOnfido-CPqxoGK2.js.map → StepIDCheckLoopOnfido-CiuUU7f9.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-DgO-1qZp.js → StepIDCheckLoopRegula-D5Ln2I62.js} +21 -21
- package/chunk/{StepIDCheckLoopRegula-B0OCBK0E.js.map → StepIDCheckLoopRegula-D5Ln2I62.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-B0OCBK0E.js → StepIDCheckLoopRegula-D94f7Ccr.js} +21 -21
- package/chunk/{StepIDCheckLoopRegula-DgO-1qZp.js.map → StepIDCheckLoopRegula-D94f7Ccr.js.map} +1 -1
- package/chunk/StepLicensedProfessionalPersonalInfo-BHInsLPJ.js +180 -0
- package/chunk/StepLicensedProfessionalPersonalInfo-BHInsLPJ.js.map +1 -0
- package/chunk/StepLicensedProfessionalPersonalInfo-CHQbAgsG.js +176 -0
- package/chunk/StepLicensedProfessionalPersonalInfo-CHQbAgsG.js.map +1 -0
- package/chunk/StepLowIncomePersonalInfo-DVDI4DRm.js +234 -0
- package/chunk/StepLowIncomePersonalInfo-DVDI4DRm.js.map +1 -0
- package/chunk/StepLowIncomePersonalInfo-oBDI4ML2.js +238 -0
- package/chunk/StepLowIncomePersonalInfo-oBDI4ML2.js.map +1 -0
- package/chunk/StepMedicalProfessionalPersonalInfo-DmoUExs9.js +208 -0
- package/chunk/StepMedicalProfessionalPersonalInfo-DmoUExs9.js.map +1 -0
- package/chunk/StepMedicalProfessionalPersonalInfo-_x2wcVNS.js +212 -0
- package/chunk/StepMedicalProfessionalPersonalInfo-_x2wcVNS.js.map +1 -0
- package/chunk/StepMemberPersonalInfo-BAjKLJCl.js +153 -0
- package/chunk/{StepMemberPersonalInfo-BkdO0M03.js.map → StepMemberPersonalInfo-BAjKLJCl.js.map} +1 -1
- package/chunk/StepMemberPersonalInfo-CI9Q06Ic.js +157 -0
- package/chunk/{StepMemberPersonalInfo-iiEeEHMd.js.map → StepMemberPersonalInfo-CI9Q06Ic.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-B8ulp8r4.js → StepMoverPersonalInfo-CVT4pPa6.js} +56 -56
- package/chunk/{StepMoverPersonalInfo-B8ulp8r4.js.map → StepMoverPersonalInfo-CVT4pPa6.js.map} +1 -1
- package/chunk/StepMoverPersonalInfo-DIkMi5zU.js +140 -0
- package/chunk/{StepMoverPersonalInfo-ddojJbVP.js.map → StepMoverPersonalInfo-DIkMi5zU.js.map} +1 -1
- package/chunk/{StepOverrideComponent-1C4izDUn.js → StepOverrideComponent-B9HVSPlq.js} +16 -16
- package/chunk/{StepOverrideComponent-1C4izDUn.js.map → StepOverrideComponent-B9HVSPlq.js.map} +1 -1
- package/chunk/{StepOverrideComponent-CW4AqS1W.js → StepOverrideComponent-DOBT7C22.js} +16 -16
- package/chunk/{StepOverrideComponent-CW4AqS1W.js.map → StepOverrideComponent-DOBT7C22.js.map} +1 -1
- package/chunk/{StepSMSLoop-CYsBZ7tK.js → StepSMSLoop-BM7UE2tP.js} +20 -20
- package/chunk/{StepSMSLoop-ZFEdfzI7.js.map → StepSMSLoop-BM7UE2tP.js.map} +1 -1
- package/chunk/{StepSMSLoop-ZFEdfzI7.js → StepSMSLoop-Wr-MrFaf.js} +19 -19
- package/chunk/{StepSMSLoop-CYsBZ7tK.js.map → StepSMSLoop-Wr-MrFaf.js.map} +1 -1
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-S4ajjj2k.js → StepSocialSecurityNumber-DepVz3V7.js} +26 -26
- package/chunk/{StepSocialSecurityNumber-S4ajjj2k.js.map → StepSocialSecurityNumber-DepVz3V7.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-2cDHkFtc.js → StepSocialSecurityNumber-LcWg-zo5.js} +26 -26
- package/chunk/{StepSocialSecurityNumber-2cDHkFtc.js.map → StepSocialSecurityNumber-LcWg-zo5.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-DNqHAtn-.js → StepStudentPersonalInfo-CxPq9ICS.js} +48 -48
- package/chunk/{StepStudentPersonalInfo-CPEy1x3k.js.map → StepStudentPersonalInfo-CxPq9ICS.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-CPEy1x3k.js → StepStudentPersonalInfo-DQMWaRSa.js} +78 -78
- package/chunk/{StepStudentPersonalInfo-DNqHAtn-.js.map → StepStudentPersonalInfo-DQMWaRSa.js.map} +1 -1
- package/chunk/{StepSuccess-CAGzawu7.js → StepSuccess-C3a0CPsE.js} +30 -30
- package/chunk/{StepSuccess-CAGzawu7.js.map → StepSuccess-C3a0CPsE.js.map} +1 -1
- package/chunk/{StepSuccess-D_IWaCdF.js → StepSuccess-CvK7t1zN.js} +29 -29
- package/chunk/{StepSuccess-D_IWaCdF.js.map → StepSuccess-CvK7t1zN.js.map} +1 -1
- package/chunk/StepTeacherPersonalInfo-DhOL3_0H.js +154 -0
- package/chunk/{StepTeacherPersonalInfo-CJXMX4i-.js.map → StepTeacherPersonalInfo-DhOL3_0H.js.map} +1 -1
- package/chunk/StepTeacherPersonalInfo-_Wwkq-dn.js +150 -0
- package/chunk/{StepTeacherPersonalInfo-DuQ_2jzT.js.map → StepTeacherPersonalInfo-_Wwkq-dn.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-CTUcGZBk.js → TeacherSchoolComponent-3HVz97q_.js} +9 -9
- package/chunk/{TeacherSchoolComponent-3hHaynGt.js.map → TeacherSchoolComponent-3HVz97q_.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-3hHaynGt.js → TeacherSchoolComponent-BwLUGmNi.js} +9 -9
- package/chunk/{TeacherSchoolComponent-CTUcGZBk.js.map → TeacherSchoolComponent-BwLUGmNi.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-MQkB4gbS.js → TestingRouteOverrides-CAGESMw9.js} +26 -26
- package/chunk/{TestingRouteOverrides-B51tlkPN.js.map → TestingRouteOverrides-CAGESMw9.js.map} +1 -1
- package/chunk/TestingRouteOverrides-CrhfSmLr.js +77 -0
- package/chunk/{TestingRouteOverrides-MQkB4gbS.js.map → TestingRouteOverrides-CrhfSmLr.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/{VerificationApiClient-BuZNO3k4.js → VerificationApiClient-BcE3SjuJ.js} +377 -414
- package/chunk/{VerificationApiClient-CSmDqqJd.js.map → VerificationApiClient-BcE3SjuJ.js.map} +1 -1
- package/chunk/{VerificationApiClient-CSmDqqJd.js → VerificationApiClient-fJ7P4ejD.js} +424 -421
- package/chunk/{VerificationApiClient-BuZNO3k4.js.map → VerificationApiClient-fJ7P4ejD.js.map} +1 -1
- package/chunk/ar-Dh-2G5c3.js +4 -4
- package/chunk/bg-BbAhdJRh.js +4 -4
- package/chunk/bn-IN-Cx3Q5Utp.js +4 -4
- package/chunk/{countryUtils-AmQexyFX.js → countryUtils-AR9k3KRg.js} +5 -5
- package/chunk/{countryUtils-AmQexyFX.js.map → countryUtils-AR9k3KRg.js.map} +1 -1
- package/chunk/countryUtils-DWqId-zY.js +12 -0
- package/chunk/{countryUtils-_b1AEFmu.js.map → countryUtils-DWqId-zY.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-a6BpIuFH.js → downshift.esm-BKI3sFd7.js} +7 -7
- package/chunk/{downshift.esm-a6BpIuFH.js.map → downshift.esm-BKI3sFd7.js.map} +1 -1
- package/chunk/{downshift.esm-TD1ZHIGw.js → downshift.esm-DryiNDJI.js} +7 -7
- package/chunk/{downshift.esm-TD1ZHIGw.js.map → downshift.esm-DryiNDJI.js.map} +1 -1
- package/chunk/el-Bv_XQ0FX.js +4 -4
- package/chunk/{empties-Cng4q8t3.js → empties-B6naRhes.js} +64 -73
- package/chunk/empties-B6naRhes.js.map +1 -0
- package/chunk/{empties-B6yh07nS.js → empties-Crmkxudi.js} +64 -73
- package/chunk/empties-Crmkxudi.js.map +1 -0
- 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-D2tFSceS.js → hooks-C15H5pD-.js} +481 -481
- package/chunk/hooks-C15H5pD-.js.map +1 -0
- package/chunk/{hooks-B179G474.js → hooks-ChQrxN58.js} +480 -480
- package/chunk/hooks-ChQrxN58.js.map +1 -0
- package/chunk/hr-CL1lHDbu.js +4 -4
- package/chunk/hu-Cf5Uq9R_.js +4 -4
- package/chunk/id-ay9yilKx.js +4 -4
- package/chunk/{intl-Ft_65Lzo.js → intl-e5WHiYfA.js} +7 -6
- package/chunk/intl-e5WHiYfA.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-DOqJBLjd.js → jsx-runtime-Ini3eO9_.js} +18 -18
- package/chunk/{jsx-runtime-DOqJBLjd.js.map → jsx-runtime-Ini3eO9_.js.map} +1 -1
- package/chunk/{jsx-runtime-Bq9F3xvK.js → jsx-runtime-LqzCS-0D.js} +18 -18
- package/chunk/{jsx-runtime-Bq9F3xvK.js.map → jsx-runtime-LqzCS-0D.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-CoMRz_O2.js → mocks-DGc1byho.js} +10 -9
- package/chunk/{mocks-CoMRz_O2.js.map → mocks-DGc1byho.js.map} +1 -1
- package/chunk/{mocks-C1va3xs9.js → mocks-RU9BGNOn.js} +9 -8
- package/chunk/{mocks-C1va3xs9.js.map → mocks-RU9BGNOn.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-Co1RW3vc.js → options-pBCAJBwS.js} +7 -6
- package/chunk/options-pBCAJBwS.js.map +1 -0
- package/chunk/pl-X0qJw7IS.js +4 -4
- package/chunk/{programThemeGetters-De_Bowzi.js → programThemeGetters-C9Sw0RZq.js} +45 -45
- package/chunk/{programThemeGetters-D2JwF5p-.js.map → programThemeGetters-C9Sw0RZq.js.map} +1 -1
- package/chunk/programThemeGetters-uLsgGat1.js +153 -0
- package/chunk/{programThemeGetters-De_Bowzi.js.map → programThemeGetters-uLsgGat1.js.map} +1 -1
- package/chunk/pt-BR-C6XmLn3o.js +4 -4
- package/chunk/pt-o7v4iOVx.js +4 -4
- package/chunk/{refs-Cz53Qfgi.js → refs-CGvEbCaw.js} +5 -5
- package/chunk/{refs-BgqdAkVI.js.map → refs-CGvEbCaw.js.map} +1 -1
- package/chunk/{refs-BgqdAkVI.js → refs-CI3K5ndt.js} +5 -5
- package/chunk/{refs-Cz53Qfgi.js.map → refs-CI3K5ndt.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-BdqtwfRd.js +133 -0
- package/chunk/stepComponentHelpers-BdqtwfRd.js.map +1 -0
- package/chunk/stepComponentHelpers-DIHMDrmF.js +129 -0
- package/chunk/stepComponentHelpers-DIHMDrmF.js.map +1 -0
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-DnCUWo1-.js +4 -4
- package/chunk/sw-BY7XXvUU.js +4 -4
- package/chunk/ta-CVL0b6Hh.js +4 -4
- package/chunk/th-CyU0RW3x.js +4 -4
- package/chunk/tl-BfgQ0irB.js +4 -4
- package/chunk/tr-BPg_L4bY.js +4 -4
- package/chunk/uk-CNaioa7V.js +4 -4
- package/chunk/ur-Ht1Mcpm0.js +4 -4
- package/chunk/useCollectFieldsEndpoint-BsX_IHLN.js +62 -0
- package/chunk/useCollectFieldsEndpoint-BsX_IHLN.js.map +1 -0
- package/chunk/useCollectFieldsEndpoint-D7OQBDpX.js +66 -0
- package/chunk/useCollectFieldsEndpoint-D7OQBDpX.js.map +1 -0
- package/chunk/{useMetrics-DBzqwN2m.js → useMetrics-BrHWTzbP.js} +19 -19
- package/chunk/{useMetrics-saY5Oa2a.js.map → useMetrics-BrHWTzbP.js.map} +1 -1
- package/chunk/{useMetrics-saY5Oa2a.js → useMetrics-O5xTFm6y.js} +19 -19
- package/chunk/{useMetrics-DBzqwN2m.js.map → useMetrics-O5xTFm6y.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 +284 -280
- package/sheerid.js.map +1 -1
- package/chunk/ApiUrls-Cn6zYY4_.js +0 -40
- package/chunk/ApiUrls-Cn6zYY4_.js.map +0 -1
- package/chunk/ApiUrls-DtgMSGlO.js.map +0 -1
- package/chunk/FormFooterComponent-BuRQRQFI.js.map +0 -1
- package/chunk/PersonalInfoStepSubmitButton-DvMU95pj.js.map +0 -1
- package/chunk/PersonalInfoStepSubmitButton-_wFfZCyV.js.map +0 -1
- package/chunk/StatusComponent-C--lHDG1.js.map +0 -1
- package/chunk/StatusComponent-DUPrDBFL.js.map +0 -1
- package/chunk/StepActiveMilitaryPersonalInfoComponent-BQ1iNc2_.js +0 -179
- package/chunk/StepActiveMilitaryPersonalInfoComponent-BQ1iNc2_.js.map +0 -1
- package/chunk/StepActiveMilitaryPersonalInfoComponent-KweeN4OQ.js +0 -183
- package/chunk/StepActiveMilitaryPersonalInfoComponent-KweeN4OQ.js.map +0 -1
- package/chunk/StepAgePersonalInfo-Bqy4A9R_.js +0 -170
- package/chunk/StepCollectMilitaryStatusComponent-CNctoDoi.js +0 -13
- package/chunk/StepCollectMilitaryStatusComponent-DCVnycL7.js +0 -9
- package/chunk/StepCollectPersonalInfo-BOCmDplo.js +0 -358
- package/chunk/StepCollectPersonalInfo-BOCmDplo.js.map +0 -1
- package/chunk/StepCollectPersonalInfo-R9fs-nQd.js +0 -362
- package/chunk/StepCollectPersonalInfo-R9fs-nQd.js.map +0 -1
- package/chunk/StepFirstResponderPersonalInfo--u-ggEEq.js +0 -172
- package/chunk/StepFirstResponderPersonalInfo--u-ggEEq.js.map +0 -1
- package/chunk/StepFirstResponderPersonalInfo-Cs4BiLuq.js +0 -176
- package/chunk/StepFirstResponderPersonalInfo-Cs4BiLuq.js.map +0 -1
- package/chunk/StepIDCheckLoop-CqMy-kih.js +0 -24
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-BUL3KyDd.js +0 -237
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-BUL3KyDd.js.map +0 -1
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-DD3ijaER.js +0 -241
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-DD3ijaER.js.map +0 -1
- package/chunk/StepLicensedProfessionalPersonalInfo-BoMh77dS.js +0 -190
- package/chunk/StepLicensedProfessionalPersonalInfo-BoMh77dS.js.map +0 -1
- package/chunk/StepLicensedProfessionalPersonalInfo-CJUnLQJn.js +0 -186
- package/chunk/StepLicensedProfessionalPersonalInfo-CJUnLQJn.js.map +0 -1
- package/chunk/StepLowIncomePersonalInfo-KsWVTeO_.js +0 -223
- package/chunk/StepLowIncomePersonalInfo-KsWVTeO_.js.map +0 -1
- package/chunk/StepLowIncomePersonalInfo-WixW7jSE.js +0 -227
- package/chunk/StepLowIncomePersonalInfo-WixW7jSE.js.map +0 -1
- package/chunk/StepMedicalProfessionalPersonalInfo-CkP3ijlv.js +0 -203
- package/chunk/StepMedicalProfessionalPersonalInfo-CkP3ijlv.js.map +0 -1
- package/chunk/StepMedicalProfessionalPersonalInfo-ZWnPprFj.js +0 -207
- package/chunk/StepMedicalProfessionalPersonalInfo-ZWnPprFj.js.map +0 -1
- package/chunk/StepMemberPersonalInfo-BkdO0M03.js +0 -157
- package/chunk/StepMemberPersonalInfo-iiEeEHMd.js +0 -153
- package/chunk/StepMoverPersonalInfo-ddojJbVP.js +0 -140
- package/chunk/StepTeacherPersonalInfo-CJXMX4i-.js +0 -150
- package/chunk/StepTeacherPersonalInfo-DuQ_2jzT.js +0 -154
- package/chunk/TestingRouteOverrides-B51tlkPN.js +0 -77
- package/chunk/VerificationApiUtils-BBxvDM3j.js +0 -25
- package/chunk/VerificationApiUtils-BBxvDM3j.js.map +0 -1
- package/chunk/VerificationApiUtils-CFvFUGWV.js +0 -21
- package/chunk/VerificationApiUtils-CFvFUGWV.js.map +0 -1
- package/chunk/countryUtils-_b1AEFmu.js +0 -12
- package/chunk/empties-B6yh07nS.js.map +0 -1
- package/chunk/empties-Cng4q8t3.js.map +0 -1
- package/chunk/hooks-B179G474.js.map +0 -1
- package/chunk/hooks-D2tFSceS.js.map +0 -1
- package/chunk/intl-Ft_65Lzo.js.map +0 -1
- package/chunk/militaryStepHelpers-CJ4smMQ2.js +0 -22
- package/chunk/militaryStepHelpers-CJ4smMQ2.js.map +0 -1
- package/chunk/militaryStepHelpers-tnlMV7Ug.js +0 -26
- package/chunk/militaryStepHelpers-tnlMV7Ug.js.map +0 -1
- package/chunk/options-Co1RW3vc.js.map +0 -1
- package/chunk/programThemeGetters-D2JwF5p-.js +0 -153
- package/chunk/stepComponentHelpers-2Sq02uha.js +0 -174
- package/chunk/stepComponentHelpers-2Sq02uha.js.map +0 -1
- package/chunk/stepComponentHelpers-uJDQGcgs.js +0 -170
- package/chunk/stepComponentHelpers-uJDQGcgs.js.map +0 -1
- package/chunk/useCollectFieldsEndpoint-BU9xoRkC.js +0 -37
- package/chunk/useCollectFieldsEndpoint-BU9xoRkC.js.map +0 -1
- package/chunk/useCollectFieldsEndpoint-EgQ_hVpj.js +0 -41
- package/chunk/useCollectFieldsEndpoint-EgQ_hVpj.js.map +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Tue Aug 25 2026
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.277.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1787693415496
|
|
5
|
+
* BUILD_DATE: Tue Aug 25 2026 21:30:15 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 6bf9486531bf722019a9060202aca84ce001472b
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
9
|
-
import { a as n, c as r, n as i, t as a } from "./jsx-runtime-
|
|
10
|
-
import { o } from "./refs-
|
|
8
|
+
import { Bt as e, Wt as t } from "./options-pBCAJBwS.js";
|
|
9
|
+
import { a as n, c as r, n as i, t as a } from "./jsx-runtime-Ini3eO9_.js";
|
|
10
|
+
import { o } from "./refs-CGvEbCaw.js";
|
|
11
11
|
import { F as s } from "../sheerid.js";
|
|
12
|
-
import { t as c } from "./downshift.esm-
|
|
12
|
+
import { t as c } from "./downshift.esm-DryiNDJI.js";
|
|
13
13
|
//#region src/components/FormInputs/InputSelect/InputSelectList/InputSelectListComponent.tsx
|
|
14
|
-
var l = /* @__PURE__ */
|
|
14
|
+
var l = /* @__PURE__ */ t(r(), 1), u = a(), d = ({ getItemProps: e, getMenuProps: t, highlightedIndex: n, options: r, itemToString: a, ariaLabel: o, isOpen: c, isLoading: l = !1 }) => {
|
|
15
15
|
let d = (t, i) => /* @__PURE__ */ (0, u.jsx)("div", {
|
|
16
16
|
className: `sid-input-select-list__item ${n === i ? "sid-input-select-list__item--highlighted" : ""}`,
|
|
17
17
|
...e({
|
|
@@ -132,16 +132,16 @@ var l = /* @__PURE__ */ e(r(), 1), u = a(), d = ({ getItemProps: e, getMenuProps
|
|
|
132
132
|
n = 1;
|
|
133
133
|
}
|
|
134
134
|
return n;
|
|
135
|
-
}, _ = (e) => e.sort(g), v = (
|
|
135
|
+
}, _ = (e) => e.sort(g), v = (t, n = [], r) => {
|
|
136
136
|
let i = [], a = [];
|
|
137
|
-
return n.forEach((
|
|
138
|
-
if (
|
|
139
|
-
if (!
|
|
137
|
+
return n.forEach((e) => {
|
|
138
|
+
if (e === void 0) return a.push("undefined");
|
|
139
|
+
if (!e || typeof e == "number" || typeof e == "string" && !e.trim()) return a.push(JSON.stringify(e));
|
|
140
140
|
i.push({
|
|
141
|
-
value:
|
|
142
|
-
label: r({ id: `${
|
|
141
|
+
value: e,
|
|
142
|
+
label: r({ id: `${t}.${e}` })
|
|
143
143
|
});
|
|
144
|
-
}), a.length > 0 &&
|
|
144
|
+
}), a.length > 0 && e.warn(`FormSelectChoice.getFormFieldSelectOptions contains unexpected values (${a.length}): ${a.join(", ")}`), i;
|
|
145
145
|
};
|
|
146
146
|
//#endregion
|
|
147
147
|
export { v as n, h as r, _ as t };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormSelectChoice-BMOCwG1_.js","names":[],"sources":["../../src/components/FormInputs/InputSelect/InputSelectList/InputSelectListComponent.tsx","../../src/components/FormInputs/InputSelect/InputSelectButton/InputSelectButtonComponent.tsx","../../src/components/FormInputs/InputSelect/InputSelectComponent.tsx","../../src/lib/utils/structures/FormSelectChoice.ts"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { type FormSelectChoice } from \"../../../../lib/types/types\";\nimport { LoadingSpinnerComponent } from \"../../../LoadingSpinner/LoadingSpinnerComponent\";\n\ninterface InputSelectListProps {\n getItemProps: any;\n getMenuProps: any;\n highlightedIndex: number;\n itemToString: any;\n options: FormSelectChoice[];\n ariaLabel: string;\n isOpen: boolean;\n isLoading?: boolean;\n}\n\nconst InputSelectList = ({\n getItemProps,\n getMenuProps,\n highlightedIndex,\n options,\n itemToString,\n ariaLabel,\n isOpen,\n isLoading = false,\n}: InputSelectListProps) => {\n const listItem = (item: FormSelectChoice, index: number) => (\n <div\n className={`sid-input-select-list__item ${\n highlightedIndex === index ? \"sid-input-select-list__item--highlighted\" : \"\"\n }`}\n {...getItemProps({\n item,\n index,\n key: item.value,\n })}\n >\n {itemToString(options[index])}\n </div>\n );\n\n const innerContent =\n options.length > 0 ? (\n options.map((option, index) => listItem(option, index))\n ) : (\n <div className=\"sid-input-select-list__message\">\n <FormattedHTMLMessage id=\"noOptions\" defaultMessage=\"No Options\" />\n </div>\n );\n\n return (\n <div {...getMenuProps({ \"aria-label\": ariaLabel })}>\n {isOpen ? (\n <div className=\"sid-input-select-list__menu\">\n {isLoading ? (\n <div className=\"sid-input-select-list__loading-spinner\">\n <LoadingSpinnerComponent />\n </div>\n ) : (\n innerContent\n )}\n </div>\n ) : null}\n </div>\n );\n};\n\nexport const InputSelectListComponent = InputSelectList;\n","import { injectIntl, type InjectedIntlProps } from \"react-intl\";\n\ninterface InputSelectButtonProps extends InjectedIntlProps {\n clearSelection: () => void;\n getToggleButtonProps: any;\n isOpen: boolean;\n isClearable: boolean;\n disabled?: boolean;\n}\n\nconst InputSelectButton = ({\n clearSelection,\n disabled,\n getToggleButtonProps,\n isOpen,\n isClearable,\n intl,\n}: InputSelectButtonProps) => {\n const {\n onClick: onClickToggleButton,\n \"aria-haspopup\": ariaHaspopup,\n \"data-toggle\": dataToggle,\n onKeyUp,\n onKeyDown,\n onBlur,\n } = getToggleButtonProps();\n\n const ariaLabel = isClearable\n ? intl.formatMessage({\n id: \"clearAndOpenMenu\",\n defaultMessage: \"Clear selection and open menu\",\n })\n : intl.formatMessage({ id: \"openMenu\", defaultMessage: \"Open menu\" });\n\n return (\n <button\n aria-label={ariaLabel}\n aria-haspopup={ariaHaspopup}\n data-toggle={dataToggle}\n onKeyUp={onKeyUp}\n onKeyDown={onKeyDown}\n onBlur={onBlur}\n className=\"sid-input-select-button\"\n disabled={disabled}\n type=\"button\"\n onClick={(event) => {\n if (typeof clearSelection === \"function\") clearSelection();\n if (typeof onClickToggleButton === \"function\") onClickToggleButton(event);\n }}\n >\n <svg\n viewBox=\"0 0 20 20\"\n preserveAspectRatio=\"none\"\n width={16}\n fill=\"transparent\"\n stroke=\"#8E95A4\"\n strokeWidth=\"1.1px\"\n transform={isOpen ? \"rotate(180)\" : undefined}\n >\n <path d=\"M1,6 L10,15 L19,6\" />\n </svg>\n </button>\n );\n};\n\nexport const InputSelectButtonComponent = injectIntl(InputSelectButton);\n","import type React from \"react\";\nimport { useEffect, useRef, useState } from \"react\";\nimport { useCombobox } from \"downshift\";\n\nimport {\n type FormSelectChoice,\n type InputSelectOnKeyDown,\n type FieldId,\n type ExtendedFieldId,\n} from \"../../../lib/types/types\";\nimport { setRef } from \"../../../lib/refs/refs\";\n\nimport { InputSelectListComponent } from \"./InputSelectList/InputSelectListComponent\";\nimport { InputSelectButtonComponent } from \"./InputSelectButton/InputSelectButtonComponent\";\n\nconst itemToString = (item: FormSelectChoice) => (item ? item.label : \"\");\n\nconst filterOptions = (options: FormSelectChoice[], inputValue: string): FormSelectChoice[] => {\n const filteredOptions: FormSelectChoice[] = options.filter(\n (option) =>\n !inputValue ||\n option.label.toLowerCase().includes(inputValue.toLowerCase()) ||\n option.value.toString().toLowerCase().includes(inputValue.toLowerCase()),\n );\n return filteredOptions;\n};\n\nexport interface InputSelectProps {\n onChange: any;\n options: FormSelectChoice[];\n fieldId: FieldId | ExtendedFieldId;\n fieldLabelId?: string;\n className?: string;\n disabled?: boolean;\n inputId?: string;\n isErrored?: boolean;\n onKeyDown?: InputSelectOnKeyDown;\n placeholder?: string;\n suppressPlaceholder?: boolean;\n value?: FormSelectChoice;\n autoFocus?: boolean;\n ariaLabel?: string;\n ariaDescribedBy?: string;\n isRequired?: boolean;\n isLoading?: boolean;\n buttonRef?: string;\n role?: string;\n autoComplete?: string;\n}\n\nconst InputSelect = ({\n className,\n inputId,\n disabled = false,\n fieldId,\n fieldLabelId,\n isErrored = false,\n options,\n onKeyDown,\n onChange,\n placeholder = \"\",\n // Most invokers want placeholder hidden by css, so it can be easily shown when\n // customizing the implementation. Birth date is an example of an exception.\n suppressPlaceholder = true,\n value,\n autoFocus,\n ariaLabel,\n ariaDescribedBy,\n isRequired,\n isLoading = false,\n role = \"combobox\",\n autoComplete,\n}: InputSelectProps) => {\n const [inputState, setInputState] = useState(\"\");\n const items = inputState ? filterOptions(options, inputState) : options;\n\n const {\n getInputProps,\n getItemProps,\n getMenuProps,\n getToggleButtonProps,\n highlightedIndex,\n isOpen,\n selectItem,\n } = useCombobox<FormSelectChoice>({\n id: inputId,\n items,\n onInputValueChange({ inputValue }) {\n setInputState(inputValue);\n },\n onSelectedItemChange: ({ selectedItem: newSelectedItem }) => onChange(newSelectedItem),\n itemToString,\n selectedItem: value && value.value && value.label ? value : null,\n defaultHighlightedIndex: 0,\n });\n\n const handleOnKeyDown = (event: React.KeyboardEvent<HTMLInputElement>) => {\n if (typeof onKeyDown === \"function\") {\n onKeyDown(event);\n }\n };\n\n const inputRef = useRef<HTMLInputElement>(null);\n\n // NOTE: Dependency array omitted to account for use of resetRef(), as useEffect with dep arr\n // will only trigger on initial render leaving the refs empty, this replicates prior version\n // where ref callback would trigger with each re-render\n useEffect(() => {\n setRef(fieldId, inputRef.current);\n });\n\n return (\n <div className={`sid-input-select-list ${className || \"\"}`}>\n <input\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...getInputProps({\n ref: inputRef,\n onKeyDown: (event) => handleOnKeyDown(event),\n \"aria-labelledby\": fieldLabelId,\n })}\n // TODO resolve next line. Product needs this to autofocus, but linter says bad for accessibility\n // eslint-disable-next-line\n autoFocus={autoFocus}\n id={inputId}\n className={`sid-l-full-width sid-text-input ${\n suppressPlaceholder ? \"sid-hidden-placeholder\" : \"\"\n } ${isErrored ? \"sid-text-input--error\" : \"\"}`}\n disabled={disabled}\n placeholder={placeholder}\n aria-required={isRequired}\n aria-describedby={ariaDescribedBy}\n aria-invalid={isErrored}\n role={role}\n autoComplete={autoComplete}\n />\n\n <InputSelectButtonComponent\n disabled={disabled}\n getToggleButtonProps={getToggleButtonProps}\n isOpen={isOpen}\n isClearable={!!value?.value}\n clearSelection={() => selectItem(undefined)}\n />\n\n <InputSelectListComponent\n highlightedIndex={highlightedIndex}\n itemToString={itemToString}\n options={items}\n getItemProps={getItemProps}\n getMenuProps={getMenuProps}\n ariaLabel={ariaLabel}\n isOpen={isOpen}\n isLoading={isLoading}\n />\n </div>\n );\n};\n\nexport const InputSelectComponent = InputSelect;\n","import { logger } from \"@jslib/shared/utils/logger\";\n\nimport { type MsgFunction } from \"@/components/Message/Message\";\nimport { type MessageId } from \"@/lib/intl/types\";\nimport { type FormSelectChoice } from \"@/lib/types/types\";\n\ntype compareLabelReturn = 1 | -1;\n\nexport const compareLabel = (\n a: FormSelectChoice<any>,\n b: FormSelectChoice<any>,\n): compareLabelReturn => {\n let sortValue: compareLabelReturn;\n\n try {\n sortValue = a.label.toUpperCase() > b.label.toUpperCase() ? 1 : -1;\n } catch (e) {\n sortValue = 1;\n }\n\n return sortValue;\n};\n\nexport const SortByLabel = (\n choices: FormSelectChoice<any, string>[],\n): FormSelectChoice<any, string>[] => choices.sort(compareLabel);\n\nexport const getFormFieldSelectOptions = (\n namespace: string,\n optionValues: string[] = [],\n msg: MsgFunction,\n): FormSelectChoice<string, string>[] => {\n const options: FormSelectChoice<string, string>[] = [];\n const omittedOptions: string[] = [];\n\n optionValues.forEach((value) => {\n if (typeof value === \"undefined\") return omittedOptions.push(\"undefined\");\n if (!value) return omittedOptions.push(JSON.stringify(value));\n if (typeof value === \"number\") return omittedOptions.push(JSON.stringify(value));\n if (typeof value === \"string\" && !value.trim())\n return omittedOptions.push(JSON.stringify(value));\n\n options.push({ value, label: msg({ id: `${namespace}.${value}` as MessageId }) });\n });\n\n if (omittedOptions.length > 0) {\n logger.warn(\n `FormSelectChoice.getFormFieldSelectOptions contains unexpected values (${\n omittedOptions.length\n }): ${omittedOptions.join(\", \")}`,\n );\n }\n\n return options;\n};\n"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"FormSelectChoice-C4LlT7fR.js","names":[],"sources":["../../src/components/FormInputs/InputSelect/InputSelectList/InputSelectListComponent.tsx","../../src/components/FormInputs/InputSelect/InputSelectButton/InputSelectButtonComponent.tsx","../../src/components/FormInputs/InputSelect/InputSelectComponent.tsx","../../src/lib/utils/structures/FormSelectChoice.ts"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { type FormSelectChoice } from \"../../../../lib/types/types\";\nimport { LoadingSpinnerComponent } from \"../../../LoadingSpinner/LoadingSpinnerComponent\";\n\ninterface InputSelectListProps {\n getItemProps: any;\n getMenuProps: any;\n highlightedIndex: number;\n itemToString: any;\n options: FormSelectChoice[];\n ariaLabel: string;\n isOpen: boolean;\n isLoading?: boolean;\n}\n\nconst InputSelectList = ({\n getItemProps,\n getMenuProps,\n highlightedIndex,\n options,\n itemToString,\n ariaLabel,\n isOpen,\n isLoading = false,\n}: InputSelectListProps) => {\n const listItem = (item: FormSelectChoice, index: number) => (\n <div\n className={`sid-input-select-list__item ${\n highlightedIndex === index ? \"sid-input-select-list__item--highlighted\" : \"\"\n }`}\n {...getItemProps({\n item,\n index,\n key: item.value,\n })}\n >\n {itemToString(options[index])}\n </div>\n );\n\n const innerContent =\n options.length > 0 ? (\n options.map((option, index) => listItem(option, index))\n ) : (\n <div className=\"sid-input-select-list__message\">\n <FormattedHTMLMessage id=\"noOptions\" defaultMessage=\"No Options\" />\n </div>\n );\n\n return (\n <div {...getMenuProps({ \"aria-label\": ariaLabel })}>\n {isOpen ? (\n <div className=\"sid-input-select-list__menu\">\n {isLoading ? (\n <div className=\"sid-input-select-list__loading-spinner\">\n <LoadingSpinnerComponent />\n </div>\n ) : (\n innerContent\n )}\n </div>\n ) : null}\n </div>\n );\n};\n\nexport const InputSelectListComponent = InputSelectList;\n","import { injectIntl, type InjectedIntlProps } from \"react-intl\";\n\ninterface InputSelectButtonProps extends InjectedIntlProps {\n clearSelection: () => void;\n getToggleButtonProps: any;\n isOpen: boolean;\n isClearable: boolean;\n disabled?: boolean;\n}\n\nconst InputSelectButton = ({\n clearSelection,\n disabled,\n getToggleButtonProps,\n isOpen,\n isClearable,\n intl,\n}: InputSelectButtonProps) => {\n const {\n onClick: onClickToggleButton,\n \"aria-haspopup\": ariaHaspopup,\n \"data-toggle\": dataToggle,\n onKeyUp,\n onKeyDown,\n onBlur,\n } = getToggleButtonProps();\n\n const ariaLabel = isClearable\n ? intl.formatMessage({\n id: \"clearAndOpenMenu\",\n defaultMessage: \"Clear selection and open menu\",\n })\n : intl.formatMessage({ id: \"openMenu\", defaultMessage: \"Open menu\" });\n\n return (\n <button\n aria-label={ariaLabel}\n aria-haspopup={ariaHaspopup}\n data-toggle={dataToggle}\n onKeyUp={onKeyUp}\n onKeyDown={onKeyDown}\n onBlur={onBlur}\n className=\"sid-input-select-button\"\n disabled={disabled}\n type=\"button\"\n onClick={(event) => {\n if (typeof clearSelection === \"function\") clearSelection();\n if (typeof onClickToggleButton === \"function\") onClickToggleButton(event);\n }}\n >\n <svg\n viewBox=\"0 0 20 20\"\n preserveAspectRatio=\"none\"\n width={16}\n fill=\"transparent\"\n stroke=\"#8E95A4\"\n strokeWidth=\"1.1px\"\n transform={isOpen ? \"rotate(180)\" : undefined}\n >\n <path d=\"M1,6 L10,15 L19,6\" />\n </svg>\n </button>\n );\n};\n\nexport const InputSelectButtonComponent = injectIntl(InputSelectButton);\n","import type React from \"react\";\nimport { useEffect, useRef, useState } from \"react\";\nimport { useCombobox } from \"downshift\";\n\nimport {\n type FormSelectChoice,\n type InputSelectOnKeyDown,\n type FieldId,\n type ExtendedFieldId,\n} from \"../../../lib/types/types\";\nimport { setRef } from \"../../../lib/refs/refs\";\n\nimport { InputSelectListComponent } from \"./InputSelectList/InputSelectListComponent\";\nimport { InputSelectButtonComponent } from \"./InputSelectButton/InputSelectButtonComponent\";\n\nconst itemToString = (item: FormSelectChoice) => (item ? item.label : \"\");\n\nconst filterOptions = (options: FormSelectChoice[], inputValue: string): FormSelectChoice[] => {\n const filteredOptions: FormSelectChoice[] = options.filter(\n (option) =>\n !inputValue ||\n option.label.toLowerCase().includes(inputValue.toLowerCase()) ||\n option.value.toString().toLowerCase().includes(inputValue.toLowerCase()),\n );\n return filteredOptions;\n};\n\nexport interface InputSelectProps {\n onChange: any;\n options: FormSelectChoice[];\n fieldId: FieldId | ExtendedFieldId;\n fieldLabelId?: string;\n className?: string;\n disabled?: boolean;\n inputId?: string;\n isErrored?: boolean;\n onKeyDown?: InputSelectOnKeyDown;\n placeholder?: string;\n suppressPlaceholder?: boolean;\n value?: FormSelectChoice;\n autoFocus?: boolean;\n ariaLabel?: string;\n ariaDescribedBy?: string;\n isRequired?: boolean;\n isLoading?: boolean;\n buttonRef?: string;\n role?: string;\n autoComplete?: string;\n}\n\nconst InputSelect = ({\n className,\n inputId,\n disabled = false,\n fieldId,\n fieldLabelId,\n isErrored = false,\n options,\n onKeyDown,\n onChange,\n placeholder = \"\",\n // Most invokers want placeholder hidden by css, so it can be easily shown when\n // customizing the implementation. Birth date is an example of an exception.\n suppressPlaceholder = true,\n value,\n autoFocus,\n ariaLabel,\n ariaDescribedBy,\n isRequired,\n isLoading = false,\n role = \"combobox\",\n autoComplete,\n}: InputSelectProps) => {\n const [inputState, setInputState] = useState(\"\");\n const items = inputState ? filterOptions(options, inputState) : options;\n\n const {\n getInputProps,\n getItemProps,\n getMenuProps,\n getToggleButtonProps,\n highlightedIndex,\n isOpen,\n selectItem,\n } = useCombobox<FormSelectChoice>({\n id: inputId,\n items,\n onInputValueChange({ inputValue }) {\n setInputState(inputValue);\n },\n onSelectedItemChange: ({ selectedItem: newSelectedItem }) => onChange(newSelectedItem),\n itemToString,\n selectedItem: value && value.value && value.label ? value : null,\n defaultHighlightedIndex: 0,\n });\n\n const handleOnKeyDown = (event: React.KeyboardEvent<HTMLInputElement>) => {\n if (typeof onKeyDown === \"function\") {\n onKeyDown(event);\n }\n };\n\n const inputRef = useRef<HTMLInputElement>(null);\n\n // NOTE: Dependency array omitted to account for use of resetRef(), as useEffect with dep arr\n // will only trigger on initial render leaving the refs empty, this replicates prior version\n // where ref callback would trigger with each re-render\n useEffect(() => {\n setRef(fieldId, inputRef.current);\n });\n\n return (\n <div className={`sid-input-select-list ${className || \"\"}`}>\n <input\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...getInputProps({\n ref: inputRef,\n onKeyDown: (event) => handleOnKeyDown(event),\n \"aria-labelledby\": fieldLabelId,\n })}\n // TODO resolve next line. Product needs this to autofocus, but linter says bad for accessibility\n // eslint-disable-next-line\n autoFocus={autoFocus}\n id={inputId}\n className={`sid-l-full-width sid-text-input ${\n suppressPlaceholder ? \"sid-hidden-placeholder\" : \"\"\n } ${isErrored ? \"sid-text-input--error\" : \"\"}`}\n disabled={disabled}\n placeholder={placeholder}\n aria-required={isRequired}\n aria-describedby={ariaDescribedBy}\n aria-invalid={isErrored}\n role={role}\n autoComplete={autoComplete}\n />\n\n <InputSelectButtonComponent\n disabled={disabled}\n getToggleButtonProps={getToggleButtonProps}\n isOpen={isOpen}\n isClearable={!!value?.value}\n clearSelection={() => selectItem(undefined)}\n />\n\n <InputSelectListComponent\n highlightedIndex={highlightedIndex}\n itemToString={itemToString}\n options={items}\n getItemProps={getItemProps}\n getMenuProps={getMenuProps}\n ariaLabel={ariaLabel}\n isOpen={isOpen}\n isLoading={isLoading}\n />\n </div>\n );\n};\n\nexport const InputSelectComponent = InputSelect;\n","import { logger } from \"@jslib/shared/utils/logger\";\n\nimport { type MsgFunction } from \"@/components/Message/Message\";\nimport { type MessageId } from \"@/lib/intl/types\";\nimport { type FormSelectChoice } from \"@/lib/types/types\";\n\ntype compareLabelReturn = 1 | -1;\n\nexport const compareLabel = (\n a: FormSelectChoice<any>,\n b: FormSelectChoice<any>,\n): compareLabelReturn => {\n let sortValue: compareLabelReturn;\n\n try {\n sortValue = a.label.toUpperCase() > b.label.toUpperCase() ? 1 : -1;\n } catch (e) {\n sortValue = 1;\n }\n\n return sortValue;\n};\n\nexport const SortByLabel = (\n choices: FormSelectChoice<any, string>[],\n): FormSelectChoice<any, string>[] => choices.sort(compareLabel);\n\nexport const getFormFieldSelectOptions = (\n namespace: string,\n optionValues: string[] = [],\n msg: MsgFunction,\n): FormSelectChoice<string, string>[] => {\n const options: FormSelectChoice<string, string>[] = [];\n const omittedOptions: string[] = [];\n\n optionValues.forEach((value) => {\n if (typeof value === \"undefined\") return omittedOptions.push(\"undefined\");\n if (!value) return omittedOptions.push(JSON.stringify(value));\n if (typeof value === \"number\") return omittedOptions.push(JSON.stringify(value));\n if (typeof value === \"string\" && !value.trim())\n return omittedOptions.push(JSON.stringify(value));\n\n options.push({ value, label: msg({ id: `${namespace}.${value}` as MessageId }) });\n });\n\n if (omittedOptions.length > 0) {\n logger.warn(\n `FormSelectChoice.getFormFieldSelectOptions contains unexpected values (${\n omittedOptions.length\n }): ${omittedOptions.join(\", \")}`,\n );\n }\n\n return options;\n};\n"],"mappings":"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"}
|
|
@@ -4,18 +4,18 @@
|
|
|
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: Tue Aug 25 2026
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.277.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1787693419738
|
|
9
|
+
* BUILD_DATE: Tue Aug 25 2026 21:30:19 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 6bf9486531bf722019a9060202aca84ce001472b
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { a as n, c as r, n as i, t as a } from "./jsx-runtime-
|
|
14
|
-
import { o } from "./refs-
|
|
12
|
+
import { Bt as e, Wt as t } from "./intl-e5WHiYfA.js";
|
|
13
|
+
import { a as n, c as r, n as i, t as a } from "./jsx-runtime-LqzCS-0D.js";
|
|
14
|
+
import { o } from "./refs-CI3K5ndt.js";
|
|
15
15
|
import { P as s } from "../_mysheerid-preview.js";
|
|
16
|
-
import { t as c } from "./downshift.esm-
|
|
16
|
+
import { t as c } from "./downshift.esm-BKI3sFd7.js";
|
|
17
17
|
//#region src/components/FormInputs/InputSelect/InputSelectList/InputSelectListComponent.tsx
|
|
18
|
-
var l = /* @__PURE__ */
|
|
18
|
+
var l = /* @__PURE__ */ t(r(), 1), u = a(), d = ({ getItemProps: e, getMenuProps: t, highlightedIndex: n, options: r, itemToString: a, ariaLabel: o, isOpen: c, isLoading: l = !1 }) => {
|
|
19
19
|
let d = (t, i) => /* @__PURE__ */ (0, u.jsx)("div", {
|
|
20
20
|
className: `sid-input-select-list__item ${n === i ? "sid-input-select-list__item--highlighted" : ""}`,
|
|
21
21
|
...e({
|
|
@@ -136,16 +136,16 @@ var l = /* @__PURE__ */ e(r(), 1), u = a(), d = ({ getItemProps: e, getMenuProps
|
|
|
136
136
|
n = 1;
|
|
137
137
|
}
|
|
138
138
|
return n;
|
|
139
|
-
}, _ = (e) => e.sort(g), v = (
|
|
139
|
+
}, _ = (e) => e.sort(g), v = (t, n = [], r) => {
|
|
140
140
|
let i = [], a = [];
|
|
141
|
-
return n.forEach((
|
|
142
|
-
if (
|
|
143
|
-
if (!
|
|
141
|
+
return n.forEach((e) => {
|
|
142
|
+
if (e === void 0) return a.push("undefined");
|
|
143
|
+
if (!e || typeof e == "number" || typeof e == "string" && !e.trim()) return a.push(JSON.stringify(e));
|
|
144
144
|
i.push({
|
|
145
|
-
value:
|
|
146
|
-
label: r({ id: `${
|
|
145
|
+
value: e,
|
|
146
|
+
label: r({ id: `${t}.${e}` })
|
|
147
147
|
});
|
|
148
|
-
}), a.length > 0 &&
|
|
148
|
+
}), a.length > 0 && e.warn(`FormSelectChoice.getFormFieldSelectOptions contains unexpected values (${a.length}): ${a.join(", ")}`), i;
|
|
149
149
|
};
|
|
150
150
|
//#endregion
|
|
151
151
|
export { v as n, h as r, _ as t };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormSelectChoice-xPF_7dfg.js","names":[],"sources":["../../src/components/FormInputs/InputSelect/InputSelectList/InputSelectListComponent.tsx","../../src/components/FormInputs/InputSelect/InputSelectButton/InputSelectButtonComponent.tsx","../../src/components/FormInputs/InputSelect/InputSelectComponent.tsx","../../src/lib/utils/structures/FormSelectChoice.ts"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { type FormSelectChoice } from \"../../../../lib/types/types\";\nimport { LoadingSpinnerComponent } from \"../../../LoadingSpinner/LoadingSpinnerComponent\";\n\ninterface InputSelectListProps {\n getItemProps: any;\n getMenuProps: any;\n highlightedIndex: number;\n itemToString: any;\n options: FormSelectChoice[];\n ariaLabel: string;\n isOpen: boolean;\n isLoading?: boolean;\n}\n\nconst InputSelectList = ({\n getItemProps,\n getMenuProps,\n highlightedIndex,\n options,\n itemToString,\n ariaLabel,\n isOpen,\n isLoading = false,\n}: InputSelectListProps) => {\n const listItem = (item: FormSelectChoice, index: number) => (\n <div\n className={`sid-input-select-list__item ${\n highlightedIndex === index ? \"sid-input-select-list__item--highlighted\" : \"\"\n }`}\n {...getItemProps({\n item,\n index,\n key: item.value,\n })}\n >\n {itemToString(options[index])}\n </div>\n );\n\n const innerContent =\n options.length > 0 ? (\n options.map((option, index) => listItem(option, index))\n ) : (\n <div className=\"sid-input-select-list__message\">\n <FormattedHTMLMessage id=\"noOptions\" defaultMessage=\"No Options\" />\n </div>\n );\n\n return (\n <div {...getMenuProps({ \"aria-label\": ariaLabel })}>\n {isOpen ? (\n <div className=\"sid-input-select-list__menu\">\n {isLoading ? (\n <div className=\"sid-input-select-list__loading-spinner\">\n <LoadingSpinnerComponent />\n </div>\n ) : (\n innerContent\n )}\n </div>\n ) : null}\n </div>\n );\n};\n\nexport const InputSelectListComponent = InputSelectList;\n","import { injectIntl, type InjectedIntlProps } from \"react-intl\";\n\ninterface InputSelectButtonProps extends InjectedIntlProps {\n clearSelection: () => void;\n getToggleButtonProps: any;\n isOpen: boolean;\n isClearable: boolean;\n disabled?: boolean;\n}\n\nconst InputSelectButton = ({\n clearSelection,\n disabled,\n getToggleButtonProps,\n isOpen,\n isClearable,\n intl,\n}: InputSelectButtonProps) => {\n const {\n onClick: onClickToggleButton,\n \"aria-haspopup\": ariaHaspopup,\n \"data-toggle\": dataToggle,\n onKeyUp,\n onKeyDown,\n onBlur,\n } = getToggleButtonProps();\n\n const ariaLabel = isClearable\n ? intl.formatMessage({\n id: \"clearAndOpenMenu\",\n defaultMessage: \"Clear selection and open menu\",\n })\n : intl.formatMessage({ id: \"openMenu\", defaultMessage: \"Open menu\" });\n\n return (\n <button\n aria-label={ariaLabel}\n aria-haspopup={ariaHaspopup}\n data-toggle={dataToggle}\n onKeyUp={onKeyUp}\n onKeyDown={onKeyDown}\n onBlur={onBlur}\n className=\"sid-input-select-button\"\n disabled={disabled}\n type=\"button\"\n onClick={(event) => {\n if (typeof clearSelection === \"function\") clearSelection();\n if (typeof onClickToggleButton === \"function\") onClickToggleButton(event);\n }}\n >\n <svg\n viewBox=\"0 0 20 20\"\n preserveAspectRatio=\"none\"\n width={16}\n fill=\"transparent\"\n stroke=\"#8E95A4\"\n strokeWidth=\"1.1px\"\n transform={isOpen ? \"rotate(180)\" : undefined}\n >\n <path d=\"M1,6 L10,15 L19,6\" />\n </svg>\n </button>\n );\n};\n\nexport const InputSelectButtonComponent = injectIntl(InputSelectButton);\n","import type React from \"react\";\nimport { useEffect, useRef, useState } from \"react\";\nimport { useCombobox } from \"downshift\";\n\nimport {\n type FormSelectChoice,\n type InputSelectOnKeyDown,\n type FieldId,\n type ExtendedFieldId,\n} from \"../../../lib/types/types\";\nimport { setRef } from \"../../../lib/refs/refs\";\n\nimport { InputSelectListComponent } from \"./InputSelectList/InputSelectListComponent\";\nimport { InputSelectButtonComponent } from \"./InputSelectButton/InputSelectButtonComponent\";\n\nconst itemToString = (item: FormSelectChoice) => (item ? item.label : \"\");\n\nconst filterOptions = (options: FormSelectChoice[], inputValue: string): FormSelectChoice[] => {\n const filteredOptions: FormSelectChoice[] = options.filter(\n (option) =>\n !inputValue ||\n option.label.toLowerCase().includes(inputValue.toLowerCase()) ||\n option.value.toString().toLowerCase().includes(inputValue.toLowerCase()),\n );\n return filteredOptions;\n};\n\nexport interface InputSelectProps {\n onChange: any;\n options: FormSelectChoice[];\n fieldId: FieldId | ExtendedFieldId;\n fieldLabelId?: string;\n className?: string;\n disabled?: boolean;\n inputId?: string;\n isErrored?: boolean;\n onKeyDown?: InputSelectOnKeyDown;\n placeholder?: string;\n suppressPlaceholder?: boolean;\n value?: FormSelectChoice;\n autoFocus?: boolean;\n ariaLabel?: string;\n ariaDescribedBy?: string;\n isRequired?: boolean;\n isLoading?: boolean;\n buttonRef?: string;\n role?: string;\n autoComplete?: string;\n}\n\nconst InputSelect = ({\n className,\n inputId,\n disabled = false,\n fieldId,\n fieldLabelId,\n isErrored = false,\n options,\n onKeyDown,\n onChange,\n placeholder = \"\",\n // Most invokers want placeholder hidden by css, so it can be easily shown when\n // customizing the implementation. Birth date is an example of an exception.\n suppressPlaceholder = true,\n value,\n autoFocus,\n ariaLabel,\n ariaDescribedBy,\n isRequired,\n isLoading = false,\n role = \"combobox\",\n autoComplete,\n}: InputSelectProps) => {\n const [inputState, setInputState] = useState(\"\");\n const items = inputState ? filterOptions(options, inputState) : options;\n\n const {\n getInputProps,\n getItemProps,\n getMenuProps,\n getToggleButtonProps,\n highlightedIndex,\n isOpen,\n selectItem,\n } = useCombobox<FormSelectChoice>({\n id: inputId,\n items,\n onInputValueChange({ inputValue }) {\n setInputState(inputValue);\n },\n onSelectedItemChange: ({ selectedItem: newSelectedItem }) => onChange(newSelectedItem),\n itemToString,\n selectedItem: value && value.value && value.label ? value : null,\n defaultHighlightedIndex: 0,\n });\n\n const handleOnKeyDown = (event: React.KeyboardEvent<HTMLInputElement>) => {\n if (typeof onKeyDown === \"function\") {\n onKeyDown(event);\n }\n };\n\n const inputRef = useRef<HTMLInputElement>(null);\n\n // NOTE: Dependency array omitted to account for use of resetRef(), as useEffect with dep arr\n // will only trigger on initial render leaving the refs empty, this replicates prior version\n // where ref callback would trigger with each re-render\n useEffect(() => {\n setRef(fieldId, inputRef.current);\n });\n\n return (\n <div className={`sid-input-select-list ${className || \"\"}`}>\n <input\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...getInputProps({\n ref: inputRef,\n onKeyDown: (event) => handleOnKeyDown(event),\n \"aria-labelledby\": fieldLabelId,\n })}\n // TODO resolve next line. Product needs this to autofocus, but linter says bad for accessibility\n // eslint-disable-next-line\n autoFocus={autoFocus}\n id={inputId}\n className={`sid-l-full-width sid-text-input ${\n suppressPlaceholder ? \"sid-hidden-placeholder\" : \"\"\n } ${isErrored ? \"sid-text-input--error\" : \"\"}`}\n disabled={disabled}\n placeholder={placeholder}\n aria-required={isRequired}\n aria-describedby={ariaDescribedBy}\n aria-invalid={isErrored}\n role={role}\n autoComplete={autoComplete}\n />\n\n <InputSelectButtonComponent\n disabled={disabled}\n getToggleButtonProps={getToggleButtonProps}\n isOpen={isOpen}\n isClearable={!!value?.value}\n clearSelection={() => selectItem(undefined)}\n />\n\n <InputSelectListComponent\n highlightedIndex={highlightedIndex}\n itemToString={itemToString}\n options={items}\n getItemProps={getItemProps}\n getMenuProps={getMenuProps}\n ariaLabel={ariaLabel}\n isOpen={isOpen}\n isLoading={isLoading}\n />\n </div>\n );\n};\n\nexport const InputSelectComponent = InputSelect;\n","import { logger } from \"@jslib/shared/utils/logger\";\n\nimport { type MsgFunction } from \"@/components/Message/Message\";\nimport { type MessageId } from \"@/lib/intl/types\";\nimport { type FormSelectChoice } from \"@/lib/types/types\";\n\ntype compareLabelReturn = 1 | -1;\n\nexport const compareLabel = (\n a: FormSelectChoice<any>,\n b: FormSelectChoice<any>,\n): compareLabelReturn => {\n let sortValue: compareLabelReturn;\n\n try {\n sortValue = a.label.toUpperCase() > b.label.toUpperCase() ? 1 : -1;\n } catch (e) {\n sortValue = 1;\n }\n\n return sortValue;\n};\n\nexport const SortByLabel = (\n choices: FormSelectChoice<any, string>[],\n): FormSelectChoice<any, string>[] => choices.sort(compareLabel);\n\nexport const getFormFieldSelectOptions = (\n namespace: string,\n optionValues: string[] = [],\n msg: MsgFunction,\n): FormSelectChoice<string, string>[] => {\n const options: FormSelectChoice<string, string>[] = [];\n const omittedOptions: string[] = [];\n\n optionValues.forEach((value) => {\n if (typeof value === \"undefined\") return omittedOptions.push(\"undefined\");\n if (!value) return omittedOptions.push(JSON.stringify(value));\n if (typeof value === \"number\") return omittedOptions.push(JSON.stringify(value));\n if (typeof value === \"string\" && !value.trim())\n return omittedOptions.push(JSON.stringify(value));\n\n options.push({ value, label: msg({ id: `${namespace}.${value}` as MessageId }) });\n });\n\n if (omittedOptions.length > 0) {\n logger.warn(\n `FormSelectChoice.getFormFieldSelectOptions contains unexpected values (${\n omittedOptions.length\n }): ${omittedOptions.join(\", \")}`,\n );\n }\n\n return options;\n};\n"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"FormSelectChoice-CClt04rV.js","names":[],"sources":["../../src/components/FormInputs/InputSelect/InputSelectList/InputSelectListComponent.tsx","../../src/components/FormInputs/InputSelect/InputSelectButton/InputSelectButtonComponent.tsx","../../src/components/FormInputs/InputSelect/InputSelectComponent.tsx","../../src/lib/utils/structures/FormSelectChoice.ts"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { type FormSelectChoice } from \"../../../../lib/types/types\";\nimport { LoadingSpinnerComponent } from \"../../../LoadingSpinner/LoadingSpinnerComponent\";\n\ninterface InputSelectListProps {\n getItemProps: any;\n getMenuProps: any;\n highlightedIndex: number;\n itemToString: any;\n options: FormSelectChoice[];\n ariaLabel: string;\n isOpen: boolean;\n isLoading?: boolean;\n}\n\nconst InputSelectList = ({\n getItemProps,\n getMenuProps,\n highlightedIndex,\n options,\n itemToString,\n ariaLabel,\n isOpen,\n isLoading = false,\n}: InputSelectListProps) => {\n const listItem = (item: FormSelectChoice, index: number) => (\n <div\n className={`sid-input-select-list__item ${\n highlightedIndex === index ? \"sid-input-select-list__item--highlighted\" : \"\"\n }`}\n {...getItemProps({\n item,\n index,\n key: item.value,\n })}\n >\n {itemToString(options[index])}\n </div>\n );\n\n const innerContent =\n options.length > 0 ? (\n options.map((option, index) => listItem(option, index))\n ) : (\n <div className=\"sid-input-select-list__message\">\n <FormattedHTMLMessage id=\"noOptions\" defaultMessage=\"No Options\" />\n </div>\n );\n\n return (\n <div {...getMenuProps({ \"aria-label\": ariaLabel })}>\n {isOpen ? (\n <div className=\"sid-input-select-list__menu\">\n {isLoading ? (\n <div className=\"sid-input-select-list__loading-spinner\">\n <LoadingSpinnerComponent />\n </div>\n ) : (\n innerContent\n )}\n </div>\n ) : null}\n </div>\n );\n};\n\nexport const InputSelectListComponent = InputSelectList;\n","import { injectIntl, type InjectedIntlProps } from \"react-intl\";\n\ninterface InputSelectButtonProps extends InjectedIntlProps {\n clearSelection: () => void;\n getToggleButtonProps: any;\n isOpen: boolean;\n isClearable: boolean;\n disabled?: boolean;\n}\n\nconst InputSelectButton = ({\n clearSelection,\n disabled,\n getToggleButtonProps,\n isOpen,\n isClearable,\n intl,\n}: InputSelectButtonProps) => {\n const {\n onClick: onClickToggleButton,\n \"aria-haspopup\": ariaHaspopup,\n \"data-toggle\": dataToggle,\n onKeyUp,\n onKeyDown,\n onBlur,\n } = getToggleButtonProps();\n\n const ariaLabel = isClearable\n ? intl.formatMessage({\n id: \"clearAndOpenMenu\",\n defaultMessage: \"Clear selection and open menu\",\n })\n : intl.formatMessage({ id: \"openMenu\", defaultMessage: \"Open menu\" });\n\n return (\n <button\n aria-label={ariaLabel}\n aria-haspopup={ariaHaspopup}\n data-toggle={dataToggle}\n onKeyUp={onKeyUp}\n onKeyDown={onKeyDown}\n onBlur={onBlur}\n className=\"sid-input-select-button\"\n disabled={disabled}\n type=\"button\"\n onClick={(event) => {\n if (typeof clearSelection === \"function\") clearSelection();\n if (typeof onClickToggleButton === \"function\") onClickToggleButton(event);\n }}\n >\n <svg\n viewBox=\"0 0 20 20\"\n preserveAspectRatio=\"none\"\n width={16}\n fill=\"transparent\"\n stroke=\"#8E95A4\"\n strokeWidth=\"1.1px\"\n transform={isOpen ? \"rotate(180)\" : undefined}\n >\n <path d=\"M1,6 L10,15 L19,6\" />\n </svg>\n </button>\n );\n};\n\nexport const InputSelectButtonComponent = injectIntl(InputSelectButton);\n","import type React from \"react\";\nimport { useEffect, useRef, useState } from \"react\";\nimport { useCombobox } from \"downshift\";\n\nimport {\n type FormSelectChoice,\n type InputSelectOnKeyDown,\n type FieldId,\n type ExtendedFieldId,\n} from \"../../../lib/types/types\";\nimport { setRef } from \"../../../lib/refs/refs\";\n\nimport { InputSelectListComponent } from \"./InputSelectList/InputSelectListComponent\";\nimport { InputSelectButtonComponent } from \"./InputSelectButton/InputSelectButtonComponent\";\n\nconst itemToString = (item: FormSelectChoice) => (item ? item.label : \"\");\n\nconst filterOptions = (options: FormSelectChoice[], inputValue: string): FormSelectChoice[] => {\n const filteredOptions: FormSelectChoice[] = options.filter(\n (option) =>\n !inputValue ||\n option.label.toLowerCase().includes(inputValue.toLowerCase()) ||\n option.value.toString().toLowerCase().includes(inputValue.toLowerCase()),\n );\n return filteredOptions;\n};\n\nexport interface InputSelectProps {\n onChange: any;\n options: FormSelectChoice[];\n fieldId: FieldId | ExtendedFieldId;\n fieldLabelId?: string;\n className?: string;\n disabled?: boolean;\n inputId?: string;\n isErrored?: boolean;\n onKeyDown?: InputSelectOnKeyDown;\n placeholder?: string;\n suppressPlaceholder?: boolean;\n value?: FormSelectChoice;\n autoFocus?: boolean;\n ariaLabel?: string;\n ariaDescribedBy?: string;\n isRequired?: boolean;\n isLoading?: boolean;\n buttonRef?: string;\n role?: string;\n autoComplete?: string;\n}\n\nconst InputSelect = ({\n className,\n inputId,\n disabled = false,\n fieldId,\n fieldLabelId,\n isErrored = false,\n options,\n onKeyDown,\n onChange,\n placeholder = \"\",\n // Most invokers want placeholder hidden by css, so it can be easily shown when\n // customizing the implementation. Birth date is an example of an exception.\n suppressPlaceholder = true,\n value,\n autoFocus,\n ariaLabel,\n ariaDescribedBy,\n isRequired,\n isLoading = false,\n role = \"combobox\",\n autoComplete,\n}: InputSelectProps) => {\n const [inputState, setInputState] = useState(\"\");\n const items = inputState ? filterOptions(options, inputState) : options;\n\n const {\n getInputProps,\n getItemProps,\n getMenuProps,\n getToggleButtonProps,\n highlightedIndex,\n isOpen,\n selectItem,\n } = useCombobox<FormSelectChoice>({\n id: inputId,\n items,\n onInputValueChange({ inputValue }) {\n setInputState(inputValue);\n },\n onSelectedItemChange: ({ selectedItem: newSelectedItem }) => onChange(newSelectedItem),\n itemToString,\n selectedItem: value && value.value && value.label ? value : null,\n defaultHighlightedIndex: 0,\n });\n\n const handleOnKeyDown = (event: React.KeyboardEvent<HTMLInputElement>) => {\n if (typeof onKeyDown === \"function\") {\n onKeyDown(event);\n }\n };\n\n const inputRef = useRef<HTMLInputElement>(null);\n\n // NOTE: Dependency array omitted to account for use of resetRef(), as useEffect with dep arr\n // will only trigger on initial render leaving the refs empty, this replicates prior version\n // where ref callback would trigger with each re-render\n useEffect(() => {\n setRef(fieldId, inputRef.current);\n });\n\n return (\n <div className={`sid-input-select-list ${className || \"\"}`}>\n <input\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...getInputProps({\n ref: inputRef,\n onKeyDown: (event) => handleOnKeyDown(event),\n \"aria-labelledby\": fieldLabelId,\n })}\n // TODO resolve next line. Product needs this to autofocus, but linter says bad for accessibility\n // eslint-disable-next-line\n autoFocus={autoFocus}\n id={inputId}\n className={`sid-l-full-width sid-text-input ${\n suppressPlaceholder ? \"sid-hidden-placeholder\" : \"\"\n } ${isErrored ? \"sid-text-input--error\" : \"\"}`}\n disabled={disabled}\n placeholder={placeholder}\n aria-required={isRequired}\n aria-describedby={ariaDescribedBy}\n aria-invalid={isErrored}\n role={role}\n autoComplete={autoComplete}\n />\n\n <InputSelectButtonComponent\n disabled={disabled}\n getToggleButtonProps={getToggleButtonProps}\n isOpen={isOpen}\n isClearable={!!value?.value}\n clearSelection={() => selectItem(undefined)}\n />\n\n <InputSelectListComponent\n highlightedIndex={highlightedIndex}\n itemToString={itemToString}\n options={items}\n getItemProps={getItemProps}\n getMenuProps={getMenuProps}\n ariaLabel={ariaLabel}\n isOpen={isOpen}\n isLoading={isLoading}\n />\n </div>\n );\n};\n\nexport const InputSelectComponent = InputSelect;\n","import { logger } from \"@jslib/shared/utils/logger\";\n\nimport { type MsgFunction } from \"@/components/Message/Message\";\nimport { type MessageId } from \"@/lib/intl/types\";\nimport { type FormSelectChoice } from \"@/lib/types/types\";\n\ntype compareLabelReturn = 1 | -1;\n\nexport const compareLabel = (\n a: FormSelectChoice<any>,\n b: FormSelectChoice<any>,\n): compareLabelReturn => {\n let sortValue: compareLabelReturn;\n\n try {\n sortValue = a.label.toUpperCase() > b.label.toUpperCase() ? 1 : -1;\n } catch (e) {\n sortValue = 1;\n }\n\n return sortValue;\n};\n\nexport const SortByLabel = (\n choices: FormSelectChoice<any, string>[],\n): FormSelectChoice<any, string>[] => choices.sort(compareLabel);\n\nexport const getFormFieldSelectOptions = (\n namespace: string,\n optionValues: string[] = [],\n msg: MsgFunction,\n): FormSelectChoice<string, string>[] => {\n const options: FormSelectChoice<string, string>[] = [];\n const omittedOptions: string[] = [];\n\n optionValues.forEach((value) => {\n if (typeof value === \"undefined\") return omittedOptions.push(\"undefined\");\n if (!value) return omittedOptions.push(JSON.stringify(value));\n if (typeof value === \"number\") return omittedOptions.push(JSON.stringify(value));\n if (typeof value === \"string\" && !value.trim())\n return omittedOptions.push(JSON.stringify(value));\n\n options.push({ value, label: msg({ id: `${namespace}.${value}` as MessageId }) });\n });\n\n if (omittedOptions.length > 0) {\n logger.warn(\n `FormSelectChoice.getFormFieldSelectOptions contains unexpected values (${\n omittedOptions.length\n }): ${omittedOptions.join(\", \")}`,\n );\n }\n\n return options;\n};\n"],"mappings":"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"}
|
|
@@ -4,14 +4,14 @@
|
|
|
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: Tue Aug 25 2026
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.277.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1787693419738
|
|
9
|
+
* BUILD_DATE: Tue Aug 25 2026 21:30:19 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 6bf9486531bf722019a9060202aca84ce001472b
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { c as t, t as n } from "./jsx-runtime-
|
|
14
|
-
import { o as r } from "./refs-
|
|
12
|
+
import { Wt as e } from "./intl-e5WHiYfA.js";
|
|
13
|
+
import { c as t, t as n } from "./jsx-runtime-LqzCS-0D.js";
|
|
14
|
+
import { o as r } from "./refs-CI3K5ndt.js";
|
|
15
15
|
//#region src/components/FormInputs/InputText/InputText.tsx
|
|
16
16
|
var i = /* @__PURE__ */ e(t(), 1), a = n(), o = ({ id: e, isErrored: t, className: n = void 0, hidePlaceholder: o = !0, refId: s, required: c = !1, type: l = "text", ariaDescribedBy: u, ariaLabel: d, ...f }) => {
|
|
17
17
|
let p = "";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputText-
|
|
1
|
+
{"version":3,"file":"InputText-BXPuBlPq.js","names":[],"sources":["../../src/components/FormInputs/InputText/InputText.tsx"],"sourcesContent":["import { type InputHTMLAttributes } from \"react\";\nimport type React from \"react\";\nimport { useEffect, useRef } from \"react\";\n\nimport { setRef } from \"../../../lib/refs/refs\";\n\nexport type InputTextProps = {\n id: string; // used for the html `id` and `name` attributes\n isErrored: boolean;\n className?: string; // any additional classnames\n hidePlaceholder?: boolean; // placeholder should always be provided, even if hidden (default), so it is easy to reveal using css-only\n onChange?: React.ChangeEventHandler;\n onKeyDown?: React.ChangeEventHandler;\n ref?: never; // use refId instead. Setting the ref on this component, rather than the input inside here is not desired\n refId?: string; // e.g. if id is hyphen-case, and ref field name is camelCase, which is common\n required?: boolean;\n ariaDescribedBy?: string;\n ariaLabel?: string;\n type?: \"text\" | \"number\" | \"date\" | \"month\" | \"email\" | \"password\" | \"search\" | \"url\" | \"tel\";\n} & InputHTMLAttributes<HTMLInputElement>;\n\nconst InputText = ({\n id,\n isErrored,\n className = undefined,\n hidePlaceholder = true,\n refId,\n required = false,\n type = \"text\",\n ariaDescribedBy,\n ariaLabel,\n ...props // forward any remaining props to the input\n}: InputTextProps) => {\n let internalClassName = \"\";\n if (className) internalClassName += `${className} `; // want this first\n internalClassName += \"sid-text-input sid-l-full-width\";\n if (hidePlaceholder) internalClassName += \" sid-hidden-placeholder\";\n if (required) internalClassName += \" sid-text-input--required\";\n if (isErrored) internalClassName += \" sid-text-input--error\";\n\n const finalRefId = refId || id;\n\n const inputRef = useRef<HTMLInputElement>(null);\n\n // NOTE: Dependency array omitted to account for use of resetRef(), as useEffect with dep arr\n // will only trigger on initial render leaving the refs empty, this replicates prior version\n // where ref callback would trigger with each re-render\n useEffect(() => {\n setRef(finalRefId, inputRef.current);\n });\n\n return (\n <input\n className={internalClassName}\n id={`sid-${id}`}\n name={`sid-${id}`}\n type={type}\n aria-describedby={ariaDescribedBy}\n aria-label={ariaLabel}\n aria-required={required}\n aria-invalid={isErrored}\n ref={inputRef}\n {...props}\n />\n );\n};\n\n// DO NOT INJECT INTL. Localize your strings pass them down as props\nexport const InputTextComponent = InputText;\n"],"mappings":";;;;4CAoEa,KA/CM,EACjB,OACA,cACA,eAAY,KAAA,GACZ,qBAAkB,IAClB,UACA,cAAW,IACX,UAAO,QACP,oBACA,cACA,GAAG,QACiB;CACpB,IAAI,IAAoB;CAKxB,AAJI,MAAW,KAAqB,GAAG,EAAU,KACjD,KAAqB,mCACjB,MAAiB,KAAqB,4BACtC,MAAU,KAAqB,8BAC/B,MAAW,KAAqB;CAEpC,IAAM,IAAa,KAAS,GAEtB,KAAA,GAAA,EAAA,QAAoC,IAAI;CAS9C,QAJA,GAAA,EAAA,iBAAgB;EACd,EAAO,GAAY,EAAS,OAAO;CACrC,CAAC,GAGC,iBAAA,GAAA,EAAA,KAAC,SAAD;EACE,WAAW;EACX,IAAI,OAAO;EACX,MAAM,OAAO;EACP;EACN,oBAAkB;EAClB,cAAY;EACZ,iBAAe;EACf,gBAAc;EACd,KAAK;EACL,GAAI;CACL,CAAA;AAEL"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Tue Aug 25 2026
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.277.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1787693415496
|
|
5
|
+
* BUILD_DATE: Tue Aug 25 2026 21:30:15 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 6bf9486531bf722019a9060202aca84ce001472b
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
9
|
-
import { c as t, t as n } from "./jsx-runtime-
|
|
10
|
-
import { o as r } from "./refs-
|
|
8
|
+
import { Wt as e } from "./options-pBCAJBwS.js";
|
|
9
|
+
import { c as t, t as n } from "./jsx-runtime-Ini3eO9_.js";
|
|
10
|
+
import { o as r } from "./refs-CGvEbCaw.js";
|
|
11
11
|
//#region src/components/FormInputs/InputText/InputText.tsx
|
|
12
12
|
var i = /* @__PURE__ */ e(t(), 1), a = n(), o = ({ id: e, isErrored: t, className: n = void 0, hidePlaceholder: o = !0, refId: s, required: c = !1, type: l = "text", ariaDescribedBy: u, ariaLabel: d, ...f }) => {
|
|
13
13
|
let p = "";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputText-
|
|
1
|
+
{"version":3,"file":"InputText-h_myNeHr.js","names":[],"sources":["../../src/components/FormInputs/InputText/InputText.tsx"],"sourcesContent":["import { type InputHTMLAttributes } from \"react\";\nimport type React from \"react\";\nimport { useEffect, useRef } from \"react\";\n\nimport { setRef } from \"../../../lib/refs/refs\";\n\nexport type InputTextProps = {\n id: string; // used for the html `id` and `name` attributes\n isErrored: boolean;\n className?: string; // any additional classnames\n hidePlaceholder?: boolean; // placeholder should always be provided, even if hidden (default), so it is easy to reveal using css-only\n onChange?: React.ChangeEventHandler;\n onKeyDown?: React.ChangeEventHandler;\n ref?: never; // use refId instead. Setting the ref on this component, rather than the input inside here is not desired\n refId?: string; // e.g. if id is hyphen-case, and ref field name is camelCase, which is common\n required?: boolean;\n ariaDescribedBy?: string;\n ariaLabel?: string;\n type?: \"text\" | \"number\" | \"date\" | \"month\" | \"email\" | \"password\" | \"search\" | \"url\" | \"tel\";\n} & InputHTMLAttributes<HTMLInputElement>;\n\nconst InputText = ({\n id,\n isErrored,\n className = undefined,\n hidePlaceholder = true,\n refId,\n required = false,\n type = \"text\",\n ariaDescribedBy,\n ariaLabel,\n ...props // forward any remaining props to the input\n}: InputTextProps) => {\n let internalClassName = \"\";\n if (className) internalClassName += `${className} `; // want this first\n internalClassName += \"sid-text-input sid-l-full-width\";\n if (hidePlaceholder) internalClassName += \" sid-hidden-placeholder\";\n if (required) internalClassName += \" sid-text-input--required\";\n if (isErrored) internalClassName += \" sid-text-input--error\";\n\n const finalRefId = refId || id;\n\n const inputRef = useRef<HTMLInputElement>(null);\n\n // NOTE: Dependency array omitted to account for use of resetRef(), as useEffect with dep arr\n // will only trigger on initial render leaving the refs empty, this replicates prior version\n // where ref callback would trigger with each re-render\n useEffect(() => {\n setRef(finalRefId, inputRef.current);\n });\n\n return (\n <input\n className={internalClassName}\n id={`sid-${id}`}\n name={`sid-${id}`}\n type={type}\n aria-describedby={ariaDescribedBy}\n aria-label={ariaLabel}\n aria-required={required}\n aria-invalid={isErrored}\n ref={inputRef}\n {...props}\n />\n );\n};\n\n// DO NOT INJECT INTL. Localize your strings pass them down as props\nexport const InputTextComponent = InputText;\n"],"mappings":";;;;4CAoEa,KA/CM,EACjB,OACA,cACA,eAAY,KAAA,GACZ,qBAAkB,IAClB,UACA,cAAW,IACX,UAAO,QACP,oBACA,cACA,GAAG,QACiB;CACpB,IAAI,IAAoB;CAKxB,AAJI,MAAW,KAAqB,GAAG,EAAU,KACjD,KAAqB,mCACjB,MAAiB,KAAqB,4BACtC,MAAU,KAAqB,8BAC/B,MAAW,KAAqB;CAEpC,IAAM,IAAa,KAAS,GAEtB,KAAA,GAAA,EAAA,QAAoC,IAAI;CAS9C,QAJA,GAAA,EAAA,iBAAgB;EACd,EAAO,GAAY,EAAS,OAAO;CACrC,CAAC,GAGC,iBAAA,GAAA,EAAA,KAAC,SAAD;EACE,WAAW;EACX,IAAI,OAAO;EACX,MAAM,OAAO;EACP;EACN,oBAAkB;EAClB,cAAY;EACZ,iBAAe;EACf,gBAAc;EACd,KAAK;EACL,GAAI;CACL,CAAA;AAEL"}
|
|
@@ -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: Tue Aug 25 2026
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.277.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1787693419738
|
|
9
|
+
* BUILD_DATE: Tue Aug 25 2026 21:30:19 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 6bf9486531bf722019a9060202aca84ce001472b
|
|
11
11
|
*/
|
|
12
|
-
import { a as e, n as t, t as n } from "./jsx-runtime-
|
|
13
|
-
import { c as r } from "./programThemeGetters-
|
|
14
|
-
import {
|
|
15
|
-
import { t as a } from "./FormFieldTypeahead-
|
|
12
|
+
import { a as e, n as t, t as n } from "./jsx-runtime-LqzCS-0D.js";
|
|
13
|
+
import { c as r } from "./programThemeGetters-uLsgGat1.js";
|
|
14
|
+
import { a as i } from "./stepComponentHelpers-BdqtwfRd.js";
|
|
15
|
+
import { t as a } from "./FormFieldTypeahead-DbrQgvbJ.js";
|
|
16
16
|
//#region src/components/FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent.tsx
|
|
17
17
|
var o = n(), s = e(({ value: e, isErrored: n, onChange: s, verificationService: c, intl: l, placeholder: u = "", disabled: d = !1 }) => i("organization")?.hidden ? null : /* @__PURE__ */ (0, o.jsx)(a, {
|
|
18
18
|
fieldId: "licensed-professional",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LicensedProfessionalOrganizationComponent-
|
|
1
|
+
{"version":3,"file":"LicensedProfessionalOrganizationComponent-wJSn67h6.js","names":[],"sources":["../../src/components/FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport {\n type FormFieldComponentProps,\n type VerificationServiceProps,\n type Organization,\n} from \"../../../lib/types/types\";\nimport { FormFieldTypeahead } from \"../FormFieldTypeahead/FormFieldTypeahead\";\nimport { getOrgSearchUrl } from \"../../../lib/ProgramTheme/programThemeGetters\";\n\nexport const LicensedProfessionalOrganization = ({\n value,\n isErrored,\n onChange,\n verificationService,\n intl,\n placeholder = \"\",\n disabled = false,\n}: FormFieldComponentProps & VerificationServiceProps) => {\n const isFieldHidden = getFieldConfigByFieldId(\"organization\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldTypeahead\n fieldId=\"licensed-professional\"\n value={value}\n verificationService={verificationService}\n onChange={(choice: Organization) => onChange(choice)}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({\n id: \"organizationNamePlaceholder\",\n defaultMessage: \"Organization\",\n })\n }\n label={<FormattedHTMLMessage id=\"organization\" defaultMessage=\"Organization\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidOrganization\"\n defaultMessage=\"You must select an organization from the list\"\n />\n )\n }\n orgSearchUrl={getOrgSearchUrl(\n verificationService.viewModel,\n verificationService.programTheme,\n )}\n showPlaceholderAndHideLabel={!!placeholder}\n disabled={disabled}\n />\n );\n};\n\nexport const LicensedProfessionalOrganizationComponent = injectIntl(\n LicensedProfessionalOrganization,\n);\n"],"mappings":";;;;;aA2Da,IAA4C,GA/CR,EAC/C,UACA,cACA,aACA,wBACA,SACA,iBAAc,IACd,cAAW,SAEW,EAAwB,cAAc,GAAG,SAGtD,OAIP,iBAAA,GAAA,EAAA,KAAC,GAAD;CACE,SAAQ;CACD;CACc;CACrB,WAAW,MAAyB,EAAS,CAAM;CACnD,aACE,KACA,EAAK,kBAAkB;EACrB,IAAI;EACJ,gBAAgB;CAClB,CAAC;CAEH,OAAO,iBAAA,GAAA,EAAA,KAAC,GAAD;EAAsB,IAAG;EAAe,gBAAe;CAAgB,CAAA;CAC9E,cACE,KACE,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,IAAG;EACH,gBAAe;CAChB,CAAA;CAGL,cAAc,EACZ,EAAoB,WACpB,EAAoB,YACtB;CACA,6BAA6B,CAAC,CAAC;CACrB;AACX,CAAA,CAML"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Tue Aug 25 2026
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.277.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1787693415496
|
|
5
|
+
* BUILD_DATE: Tue Aug 25 2026 21:30:15 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 6bf9486531bf722019a9060202aca84ce001472b
|
|
7
7
|
*/
|
|
8
|
-
import { a as e, n as t, t as n } from "./jsx-runtime-
|
|
9
|
-
import { c as r } from "./programThemeGetters-
|
|
10
|
-
import {
|
|
11
|
-
import { t as a } from "./FormFieldTypeahead-
|
|
8
|
+
import { a as e, n as t, t as n } from "./jsx-runtime-Ini3eO9_.js";
|
|
9
|
+
import { c as r } from "./programThemeGetters-C9Sw0RZq.js";
|
|
10
|
+
import { a as i } from "./stepComponentHelpers-DIHMDrmF.js";
|
|
11
|
+
import { t as a } from "./FormFieldTypeahead-DTFxOQnf.js";
|
|
12
12
|
//#region src/components/FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent.tsx
|
|
13
13
|
var o = n(), s = e(({ value: e, isErrored: n, onChange: s, verificationService: c, intl: l, placeholder: u = "", disabled: d = !1 }) => i("organization")?.hidden ? null : /* @__PURE__ */ (0, o.jsx)(a, {
|
|
14
14
|
fieldId: "licensed-professional",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LicensedProfessionalOrganizationComponent-
|
|
1
|
+
{"version":3,"file":"LicensedProfessionalOrganizationComponent-wfXwXvVc.js","names":[],"sources":["../../src/components/FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport {\n type FormFieldComponentProps,\n type VerificationServiceProps,\n type Organization,\n} from \"../../../lib/types/types\";\nimport { FormFieldTypeahead } from \"../FormFieldTypeahead/FormFieldTypeahead\";\nimport { getOrgSearchUrl } from \"../../../lib/ProgramTheme/programThemeGetters\";\n\nexport const LicensedProfessionalOrganization = ({\n value,\n isErrored,\n onChange,\n verificationService,\n intl,\n placeholder = \"\",\n disabled = false,\n}: FormFieldComponentProps & VerificationServiceProps) => {\n const isFieldHidden = getFieldConfigByFieldId(\"organization\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldTypeahead\n fieldId=\"licensed-professional\"\n value={value}\n verificationService={verificationService}\n onChange={(choice: Organization) => onChange(choice)}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({\n id: \"organizationNamePlaceholder\",\n defaultMessage: \"Organization\",\n })\n }\n label={<FormattedHTMLMessage id=\"organization\" defaultMessage=\"Organization\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidOrganization\"\n defaultMessage=\"You must select an organization from the list\"\n />\n )\n }\n orgSearchUrl={getOrgSearchUrl(\n verificationService.viewModel,\n verificationService.programTheme,\n )}\n showPlaceholderAndHideLabel={!!placeholder}\n disabled={disabled}\n />\n );\n};\n\nexport const LicensedProfessionalOrganizationComponent = injectIntl(\n LicensedProfessionalOrganization,\n);\n"],"mappings":";;;;;aA2Da,IAA4C,GA/CR,EAC/C,UACA,cACA,aACA,wBACA,SACA,iBAAc,IACd,cAAW,SAEW,EAAwB,cAAc,GAAG,SAGtD,OAIP,iBAAA,GAAA,EAAA,KAAC,GAAD;CACE,SAAQ;CACD;CACc;CACrB,WAAW,MAAyB,EAAS,CAAM;CACnD,aACE,KACA,EAAK,kBAAkB;EACrB,IAAI;EACJ,gBAAgB;CAClB,CAAC;CAEH,OAAO,iBAAA,GAAA,EAAA,KAAC,GAAD;EAAsB,IAAG;EAAe,gBAAe;CAAgB,CAAA;CAC9E,cACE,KACE,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,IAAG;EACH,gBAAe;CAChB,CAAA;CAGL,cAAc,EACZ,EAAoB,WACpB,EAAoB,YACtB;CACA,6BAA6B,CAAC,CAAC;CACrB;AACX,CAAA,CAML"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Tue Aug 25 2026
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.277.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1787693415496
|
|
5
|
+
* BUILD_DATE: Tue Aug 25 2026 21:30:15 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 6bf9486531bf722019a9060202aca84ce001472b
|
|
7
7
|
*/
|
|
8
|
-
import { n as e, t } from "./jsx-runtime-
|
|
9
|
-
import { a as n } from "./programThemeGetters-
|
|
8
|
+
import { n as e, t } from "./jsx-runtime-Ini3eO9_.js";
|
|
9
|
+
import { a as n } from "./programThemeGetters-C9Sw0RZq.js";
|
|
10
10
|
//#region src/components/LogoComponent/LogoComponent.tsx
|
|
11
11
|
var r = t(), i = ({ verificationService: t, fallbackLogo: i }) => {
|
|
12
12
|
let a = n(t.programTheme);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LogoComponent-
|
|
1
|
+
{"version":3,"file":"LogoComponent-Do8K5ydz.js","names":[],"sources":["../../src/components/LogoComponent/LogoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { type VerificationService } from \"../../lib/types/types\";\nimport { getLogoUrl } from \"../../lib/ProgramTheme/programThemeGetters\";\n\ninterface LogoProps {\n verificationService: VerificationService;\n fallbackLogo?: JSX.Element;\n}\n\nconst LogoComponent = ({ verificationService, fallbackLogo }: LogoProps) => {\n const logoUrl = getLogoUrl(verificationService.programTheme);\n\n if (logoUrl) {\n return (\n <div className=\"sid-logo sid-l-space-top-md\">\n <FormattedHTMLMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <img className=\"sid-logo__img\" alt={`${companyName} logo`} src={logoUrl} />\n )}\n </FormattedHTMLMessage>\n </div>\n );\n }\n\n if (fallbackLogo) {\n return fallbackLogo;\n }\n\n return null;\n};\n\nexport { LogoComponent };\n"],"mappings":";;;aAUM,KAAiB,EAAE,wBAAqB,sBAA8B;CAC1E,IAAM,IAAU,EAAW,EAAoB,YAAY;CAkB3D,OAhBI,IAEA,iBAAA,GAAA,EAAA,KAAC,OAAD;EAAK,WAAU;YACb,iBAAA,GAAA,EAAA,KAAC,GAAD;GAAsB,IAAG;GAAc,gBAAe;cAClD,MACA,iBAAA,GAAA,EAAA,KAAC,OAAD;IAAK,WAAU;IAAgB,KAAK,GAAG,EAAY;IAAQ,KAAK;GAAU,CAAA;EAExD,CAAA;CACnB,CAAA,IAIL,KAIG;AACT"}
|
|
@@ -4,13 +4,13 @@
|
|
|
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: Tue Aug 25 2026
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.277.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1787693419738
|
|
9
|
+
* BUILD_DATE: Tue Aug 25 2026 21:30:19 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 6bf9486531bf722019a9060202aca84ce001472b
|
|
11
11
|
*/
|
|
12
|
-
import { n as e, t } from "./jsx-runtime-
|
|
13
|
-
import { a as n } from "./programThemeGetters-
|
|
12
|
+
import { n as e, t } from "./jsx-runtime-LqzCS-0D.js";
|
|
13
|
+
import { a as n } from "./programThemeGetters-uLsgGat1.js";
|
|
14
14
|
//#region src/components/LogoComponent/LogoComponent.tsx
|
|
15
15
|
var r = t(), i = ({ verificationService: t, fallbackLogo: i }) => {
|
|
16
16
|
let a = n(t.programTheme);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LogoComponent-
|
|
1
|
+
{"version":3,"file":"LogoComponent-Dx1G-rzE.js","names":[],"sources":["../../src/components/LogoComponent/LogoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { type VerificationService } from \"../../lib/types/types\";\nimport { getLogoUrl } from \"../../lib/ProgramTheme/programThemeGetters\";\n\ninterface LogoProps {\n verificationService: VerificationService;\n fallbackLogo?: JSX.Element;\n}\n\nconst LogoComponent = ({ verificationService, fallbackLogo }: LogoProps) => {\n const logoUrl = getLogoUrl(verificationService.programTheme);\n\n if (logoUrl) {\n return (\n <div className=\"sid-logo sid-l-space-top-md\">\n <FormattedHTMLMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <img className=\"sid-logo__img\" alt={`${companyName} logo`} src={logoUrl} />\n )}\n </FormattedHTMLMessage>\n </div>\n );\n }\n\n if (fallbackLogo) {\n return fallbackLogo;\n }\n\n return null;\n};\n\nexport { LogoComponent };\n"],"mappings":";;;aAUM,KAAiB,EAAE,wBAAqB,sBAA8B;CAC1E,IAAM,IAAU,EAAW,EAAoB,YAAY;CAkB3D,OAhBI,IAEA,iBAAA,GAAA,EAAA,KAAC,OAAD;EAAK,WAAU;YACb,iBAAA,GAAA,EAAA,KAAC,GAAD;GAAsB,IAAG;GAAc,gBAAe;cAClD,MACA,iBAAA,GAAA,EAAA,KAAC,OAAD;IAAK,WAAU;IAAgB,KAAK,GAAG,EAAY;IAAQ,KAAK;GAAU,CAAA;EAExD,CAAA;CACnB,CAAA,IAIL,KAIG;AACT"}
|
|
@@ -4,22 +4,22 @@
|
|
|
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: Tue Aug 25 2026
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.277.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1787693419738
|
|
9
|
+
* BUILD_DATE: Tue Aug 25 2026 21:30:19 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 6bf9486531bf722019a9060202aca84ce001472b
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { a as r, c as i, n as a, t as o } from "./jsx-runtime-
|
|
14
|
-
import { a as s } from "./VerificationApiClient-
|
|
15
|
-
import { c, f as l } from "./programThemeGetters-
|
|
12
|
+
import { Bt as e, Wt as t, p as n } from "./intl-e5WHiYfA.js";
|
|
13
|
+
import { a as r, c as i, n as a, t as o } from "./jsx-runtime-LqzCS-0D.js";
|
|
14
|
+
import { a as s } from "./VerificationApiClient-BcE3SjuJ.js";
|
|
15
|
+
import { c, f as l } from "./programThemeGetters-uLsgGat1.js";
|
|
16
16
|
import { P as u } from "../_mysheerid-preview.js";
|
|
17
|
-
import {
|
|
18
|
-
import { t as p } from "./FormFieldText-
|
|
19
|
-
import { t as m } from "./FormFieldInputSelect-
|
|
20
|
-
import { t as h } from "./FormFieldTypeahead-
|
|
17
|
+
import { a as d, d as f } from "./stepComponentHelpers-BdqtwfRd.js";
|
|
18
|
+
import { t as p } from "./FormFieldText-Gf13Luq7.js";
|
|
19
|
+
import { t as m } from "./FormFieldInputSelect-Cl4QZ12h.js";
|
|
20
|
+
import { t as h } from "./FormFieldTypeahead-DbrQgvbJ.js";
|
|
21
21
|
//#region src/components/FormFields/EBTCardNumber/EBTCardNumberComponent.tsx
|
|
22
|
-
var g = o(), _ = r(({ value: e, isErrored: t, onChange: n, intl: r, placeholder: i = "", disabled: o = !1 }) =>
|
|
22
|
+
var g = o(), _ = r(({ value: e, isErrored: t, onChange: n, intl: r, placeholder: i = "", disabled: o = !1 }) => d("ebtCardNumber")?.hidden ? null : /* @__PURE__ */ (0, g.jsx)(p, {
|
|
23
23
|
fieldId: "ebtCardNumber",
|
|
24
24
|
value: e,
|
|
25
25
|
onChange: n,
|
|
@@ -37,9 +37,9 @@ var g = o(), _ = r(({ value: e, isErrored: t, onChange: n, intl: r, placeholder:
|
|
|
37
37
|
}),
|
|
38
38
|
showPlaceholderAndHideLabel: !!i,
|
|
39
39
|
disabled: o
|
|
40
|
-
})), v = /* @__PURE__ */
|
|
40
|
+
})), v = /* @__PURE__ */ t(i(), 1), y = r(({ value: t, isErrored: r, onChange: i, intl: o, placeholder: p = "", isRequired: _ = !1, verificationService: y, disabled: b = !1 }) => {
|
|
41
41
|
let { viewModel: x, programTheme: S, fieldValidationErrors: C } = y;
|
|
42
|
-
if (!l(x)) return
|
|
42
|
+
if (!l(x)) return e.error("Expected low-income view model is malformed"), null;
|
|
43
43
|
let w = x.statuses[0] ? x.statuses[0] : void 0, [T, E] = v.useState();
|
|
44
44
|
v.useEffect(() => {
|
|
45
45
|
s(c(n(x, (e) => {
|
|
@@ -47,10 +47,10 @@ var g = o(), _ = r(({ value: e, isErrored: t, onChange: n, intl: r, placeholder:
|
|
|
47
47
|
}), S)).then((e) => {
|
|
48
48
|
if (e) {
|
|
49
49
|
let t = e;
|
|
50
|
-
x.countryChoice && (t = e.filter((e) => e.country === x.countryChoice.value)), E(t.map(
|
|
50
|
+
x.countryChoice && (t = e.filter((e) => e.country === x.countryChoice.value)), E(t.map(f));
|
|
51
51
|
}
|
|
52
|
-
}).catch((
|
|
53
|
-
|
|
52
|
+
}).catch((t) => {
|
|
53
|
+
e.error(t);
|
|
54
54
|
});
|
|
55
55
|
}, []);
|
|
56
56
|
let D = (e, t) => {
|
|
@@ -62,7 +62,7 @@ var g = o(), _ = r(({ value: e, isErrored: t, onChange: n, intl: r, placeholder:
|
|
|
62
62
|
name: ""
|
|
63
63
|
});
|
|
64
64
|
};
|
|
65
|
-
return
|
|
65
|
+
return d("organization")?.hidden ? null : w === "COMMUNITY_ELIGIBILITY_PROVISION" ? /* @__PURE__ */ (0, g.jsx)(h, {
|
|
66
66
|
fieldId: "cep-organization",
|
|
67
67
|
value: x.organization,
|
|
68
68
|
verificationService: y,
|
|
@@ -84,7 +84,7 @@ var g = o(), _ = r(({ value: e, isErrored: t, onChange: n, intl: r, placeholder:
|
|
|
84
84
|
orgSearchUrl: c(y.viewModel, y.programTheme)
|
|
85
85
|
}) : T ? /* @__PURE__ */ (0, g.jsx)(m, {
|
|
86
86
|
fieldId: "low-income",
|
|
87
|
-
value: T.find((
|
|
87
|
+
value: T.find((e) => e.value === (t && t.value)),
|
|
88
88
|
refId: "organization",
|
|
89
89
|
onChange: (e) => D(e, i),
|
|
90
90
|
placeholder: p || o.formatHTMLMessage({
|