@sheerid/jslib-nightly 2.261.0-alpha.2 → 2.262.0-alpha.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 +1938 -1822
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-CL1CDsWz.js → AddressComponent-BIrgOqZP.js} +6 -6
- package/chunk/{AddressComponent-CL1CDsWz.js.map → AddressComponent-BIrgOqZP.js.map} +1 -1
- package/chunk/{AddressComponent-DJPGVE04.js → AddressComponent-Bz4YL1zB.js} +6 -6
- package/chunk/{AddressComponent-DJPGVE04.js.map → AddressComponent-Bz4YL1zB.js.map} +1 -1
- package/chunk/{AnnouncingHeader-lotcA5d8.js → AnnouncingHeader-DDT5xAyL.js} +6 -6
- package/chunk/{AnnouncingHeader-DGy7wEme.js.map → AnnouncingHeader-DDT5xAyL.js.map} +1 -1
- package/chunk/{AnnouncingHeader-DGy7wEme.js → AnnouncingHeader-DSPYeTwU.js} +6 -6
- package/chunk/{AnnouncingHeader-lotcA5d8.js.map → AnnouncingHeader-DSPYeTwU.js.map} +1 -1
- package/chunk/{ApiUrls-x5OW__zK.js → ApiUrls-B4ByDP6J.js} +13 -13
- package/chunk/{ApiUrls-CFOJWp17.js.map → ApiUrls-B4ByDP6J.js.map} +1 -1
- package/chunk/{ApiUrls-CFOJWp17.js → ApiUrls-BK_KGyck.js} +6 -6
- package/chunk/{ApiUrls-x5OW__zK.js.map → ApiUrls-BK_KGyck.js.map} +1 -1
- package/chunk/{BirthDateComponent-ChDNrfpu.js → BirthDateComponent-D1JJgBl2.js} +7 -7
- package/chunk/{BirthDateComponent-ChDNrfpu.js.map → BirthDateComponent-D1JJgBl2.js.map} +1 -1
- package/chunk/{BirthDateComponent-O4gmXaIg.js → BirthDateComponent-Dl3W3nIx.js} +7 -7
- package/chunk/{BirthDateComponent-O4gmXaIg.js.map → BirthDateComponent-Dl3W3nIx.js.map} +1 -1
- package/chunk/{CaptchaComponent-CuMY7IG7.js → CaptchaComponent-BTUP8GAT.js} +151 -151
- package/chunk/{CaptchaComponent-CuMY7IG7.js.map → CaptchaComponent-BTUP8GAT.js.map} +1 -1
- package/chunk/{CaptchaComponent-HtCym0Ob.js → CaptchaComponent-DiFfWhVe.js} +151 -151
- package/chunk/{CaptchaComponent-HtCym0Ob.js.map → CaptchaComponent-DiFfWhVe.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-Culfw0KY.js → ChangeLocaleComponent-BWWd7KAP.js} +7 -7
- package/chunk/{ChangeLocaleComponent-Culfw0KY.js.map → ChangeLocaleComponent-BWWd7KAP.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-UXH52Zxg.js → ChangeLocaleComponent-BaZ5GFUi.js} +7 -7
- package/chunk/{ChangeLocaleComponent-UXH52Zxg.js.map → ChangeLocaleComponent-BaZ5GFUi.js.map} +1 -1
- package/chunk/{City-FRiBMMDp.js → City-CCtrauPi.js} +6 -6
- package/chunk/{City-C7052kY5.js.map → City-CCtrauPi.js.map} +1 -1
- package/chunk/{City-C7052kY5.js → City-DOi7PTZI.js} +6 -6
- package/chunk/{City-FRiBMMDp.js.map → City-DOi7PTZI.js.map} +1 -1
- package/chunk/{CollegeNameComponent-CWPWGKYE.js → CollegeNameComponent-C_WR63dc.js} +8 -8
- package/chunk/{CollegeNameComponent-C53Tn-qR.js.map → CollegeNameComponent-C_WR63dc.js.map} +1 -1
- package/chunk/{CollegeNameComponent-C53Tn-qR.js → CollegeNameComponent-CfmsSdHW.js} +8 -8
- package/chunk/{CollegeNameComponent-CWPWGKYE.js.map → CollegeNameComponent-CfmsSdHW.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-DnS2qHDv.js → CopyToClipboardComponent-CI5EWk0o.js} +6 -6
- package/chunk/{CopyToClipboardComponent-DMUuSpCM.js.map → CopyToClipboardComponent-CI5EWk0o.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-DMUuSpCM.js → CopyToClipboardComponent-DyolMvdc.js} +6 -6
- package/chunk/{CopyToClipboardComponent-DnS2qHDv.js.map → CopyToClipboardComponent-DyolMvdc.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-DB01QVg5.js → CountryComponentWrapper-B8N-AOdz.js} +24 -24
- package/chunk/{CountryComponentWrapper-DB01QVg5.js.map → CountryComponentWrapper-B8N-AOdz.js.map} +1 -1
- package/chunk/CountryComponentWrapper-DeOMczUR.js +74 -0
- package/chunk/{CountryComponentWrapper-hRj-7R2w.js.map → CountryComponentWrapper-DeOMczUR.js.map} +1 -1
- package/chunk/{DischargeDateComponent-B8Y5jCDr.js → DischargeDateComponent-Bsw6WaP6.js} +18 -18
- package/chunk/{DischargeDateComponent-B8Y5jCDr.js.map → DischargeDateComponent-Bsw6WaP6.js.map} +1 -1
- package/chunk/{DischargeDateComponent-CU1_YtIT.js → DischargeDateComponent-a38WjW8U.js} +16 -16
- package/chunk/{DischargeDateComponent-CU1_YtIT.js.map → DischargeDateComponent-a38WjW8U.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-DZtTp8zc.js → DriverLicenseNumberComponent-C3627P1m.js} +6 -6
- package/chunk/{DriverLicenseNumberComponent-BpY0Emv_.js.map → DriverLicenseNumberComponent-C3627P1m.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-BpY0Emv_.js → DriverLicenseNumberComponent-lB2n8IBb.js} +6 -6
- package/chunk/{DriverLicenseNumberComponent-DZtTp8zc.js.map → DriverLicenseNumberComponent-lB2n8IBb.js.map} +1 -1
- package/chunk/{EmailLoopPending-CqplKWxY.js → EmailLoopPending-BehX14qP.js} +22 -22
- package/chunk/{EmailLoopPending-XqAVQ0-h.js.map → EmailLoopPending-BehX14qP.js.map} +1 -1
- package/chunk/{EmailLoopPending-XqAVQ0-h.js → EmailLoopPending-CIKALvLm.js} +18 -18
- package/chunk/{EmailLoopPending-CqplKWxY.js.map → EmailLoopPending-CIKALvLm.js.map} +1 -1
- package/chunk/{ExtraMessage-CEoizXyv.js → ExtraMessage-BCJi-s7l.js} +7 -7
- package/chunk/{ExtraMessage-CEoizXyv.js.map → ExtraMessage-BCJi-s7l.js.map} +1 -1
- package/chunk/{ExtraMessage-CSve9hUD.js → ExtraMessage-CEUNDVpi.js} +7 -7
- package/chunk/{ExtraMessage-CSve9hUD.js.map → ExtraMessage-CEUNDVpi.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-CNif7iXy.js → FirstResponderOrganizationComponent-BNiiNTt7.js} +7 -7
- package/chunk/{FirstResponderOrganizationComponent-CNif7iXy.js.map → FirstResponderOrganizationComponent-BNiiNTt7.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-dibfkWxC.js → FirstResponderOrganizationComponent-DKV7GVCW.js} +7 -7
- package/chunk/{FirstResponderOrganizationComponent-dibfkWxC.js.map → FirstResponderOrganizationComponent-DKV7GVCW.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-D0I8XtKt.js → FormFieldInputSelect-DGP75-4e.js} +7 -7
- package/chunk/{FormFieldInputSelect-D0I8XtKt.js.map → FormFieldInputSelect-DGP75-4e.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-bN3_SPsW.js → FormFieldInputSelect-_j71XaLW.js} +7 -7
- package/chunk/{FormFieldInputSelect-bN3_SPsW.js.map → FormFieldInputSelect-_j71XaLW.js.map} +1 -1
- package/chunk/{FormFieldLayout-BzljWm45.js → FormFieldLayout-C-prs50D.js} +6 -6
- package/chunk/{FormFieldLayout-BzljWm45.js.map → FormFieldLayout-C-prs50D.js.map} +1 -1
- package/chunk/{FormFieldLayout-Bmwrqqid.js → FormFieldLayout-eXRaMPRB.js} +6 -6
- package/chunk/{FormFieldLayout-Bmwrqqid.js.map → FormFieldLayout-eXRaMPRB.js.map} +1 -1
- package/chunk/{FormFieldText-Cd6qEKyH.js → FormFieldText-C44FpzvF.js} +7 -7
- package/chunk/{FormFieldText-Cd6qEKyH.js.map → FormFieldText-C44FpzvF.js.map} +1 -1
- package/chunk/{FormFieldText-Dj7CbXHB.js → FormFieldText-DKDYD6O1.js} +7 -7
- package/chunk/{FormFieldText-Dj7CbXHB.js.map → FormFieldText-DKDYD6O1.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-SA16tkD0.js → FormFieldTypeahead-CdEMh8jK.js} +47 -47
- package/chunk/{FormFieldTypeahead-SA16tkD0.js.map → FormFieldTypeahead-CdEMh8jK.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-DEXiXy0K.js → FormFieldTypeahead-mgaV5E38.js} +136 -136
- package/chunk/{FormFieldTypeahead-DEXiXy0K.js.map → FormFieldTypeahead-mgaV5E38.js.map} +1 -1
- package/chunk/{FormFooterComponent-BdXYFgGt.js → FormFooterComponent-Clo562J7.js} +2278 -2209
- package/chunk/FormFooterComponent-Clo562J7.js.map +1 -0
- package/chunk/{FormFooterComponent-DtpRKuca.js → FormFooterComponent-SukO1mHN.js} +1682 -1601
- package/chunk/FormFooterComponent-SukO1mHN.js.map +1 -0
- package/chunk/{FormSelectChoice-C7lWWa15.js → FormSelectChoice-DZuKjVGz.js} +13 -9
- package/chunk/{FormSelectChoice-C7lWWa15.js.map → FormSelectChoice-DZuKjVGz.js.map} +1 -1
- package/chunk/{FormSelectChoice-CdX26F4M.js → FormSelectChoice-pQ_jID7c.js} +9 -13
- package/chunk/{FormSelectChoice-CdX26F4M.js.map → FormSelectChoice-pQ_jID7c.js.map} +1 -1
- package/chunk/{InputText-B0p1sWvq.js → InputText-C12rmr0E.js} +7 -7
- package/chunk/{InputText-15VS1v4H.js.map → InputText-C12rmr0E.js.map} +1 -1
- package/chunk/{InputText-15VS1v4H.js → InputText-CDxD4Fcy.js} +7 -7
- package/chunk/{InputText-B0p1sWvq.js.map → InputText-CDxD4Fcy.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-DFozrVMH.js → LicensedProfessionalOrganizationComponent-B3c3IfeM.js} +7 -7
- package/chunk/{LicensedProfessionalOrganizationComponent-2IFMqmMn.js.map → LicensedProfessionalOrganizationComponent-B3c3IfeM.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-2IFMqmMn.js → LicensedProfessionalOrganizationComponent-CP9r0hEA.js} +7 -7
- package/chunk/{LicensedProfessionalOrganizationComponent-DFozrVMH.js.map → LicensedProfessionalOrganizationComponent-CP9r0hEA.js.map} +1 -1
- package/chunk/{LogoComponent-CTCMA59a.js → LogoComponent-Dt2sl-7K.js} +6 -6
- package/chunk/{LogoComponent-CTCMA59a.js.map → LogoComponent-Dt2sl-7K.js.map} +1 -1
- package/chunk/{LogoComponent-CXrKiNgF.js → LogoComponent-qYFfdGhk.js} +6 -6
- package/chunk/{LogoComponent-CXrKiNgF.js.map → LogoComponent-qYFfdGhk.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-DZ9ekJ43.js → LowIncomeOrganizationComponent-DPu10icr.js} +16 -16
- package/chunk/{LowIncomeOrganizationComponent-CqMStKJs.js.map → LowIncomeOrganizationComponent-DPu10icr.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-CqMStKJs.js → LowIncomeOrganizationComponent-m8qqbAz3.js} +16 -16
- package/chunk/{LowIncomeOrganizationComponent-DZ9ekJ43.js.map → LowIncomeOrganizationComponent-m8qqbAz3.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-DkwQ1QzL.js → MedicalProfessionalOrganizationComponent-CgoQuZA8.js} +7 -7
- package/chunk/{MedicalProfessionalOrganizationComponent-DSwQBK_c.js.map → MedicalProfessionalOrganizationComponent-CgoQuZA8.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-DSwQBK_c.js → MedicalProfessionalOrganizationComponent-CtYx3bko.js} +7 -7
- package/chunk/{MedicalProfessionalOrganizationComponent-DkwQ1QzL.js.map → MedicalProfessionalOrganizationComponent-CtYx3bko.js.map} +1 -1
- package/chunk/{MemberIdComponent-CptMgI3z.js → MemberIdComponent-BehRbst0.js} +6 -6
- package/chunk/{MemberIdComponent-CptMgI3z.js.map → MemberIdComponent-BehRbst0.js.map} +1 -1
- package/chunk/{MemberIdComponent-D9iQX3c1.js → MemberIdComponent-Bwx5Gc1F.js} +6 -6
- package/chunk/{MemberIdComponent-D9iQX3c1.js.map → MemberIdComponent-Bwx5Gc1F.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-DxR0wtH4.js → MembershipOrganizationComponent-D00T5bq6.js} +7 -7
- package/chunk/{MembershipOrganizationComponent-DxR0wtH4.js.map → MembershipOrganizationComponent-D00T5bq6.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-dcIJSBfw.js → MembershipOrganizationComponent-DasXCN5t.js} +7 -7
- package/chunk/{MembershipOrganizationComponent-dcIJSBfw.js.map → MembershipOrganizationComponent-DasXCN5t.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-BS-lDcpS.js → PersonalInfoStepSubmitButton-C9ilhi9-.js} +19 -19
- package/chunk/{PersonalInfoStepSubmitButton-BS-lDcpS.js.map → PersonalInfoStepSubmitButton-C9ilhi9-.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-BjmIuVJ1.js → PersonalInfoStepSubmitButton-u4r9ghKQ.js} +16 -16
- package/chunk/{PersonalInfoStepSubmitButton-BjmIuVJ1.js.map → PersonalInfoStepSubmitButton-u4r9ghKQ.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-C9fLRLZy.js → PersonalInfoStepWrapper-D8eq_Wtt.js} +7 -7
- package/chunk/{PersonalInfoStepWrapper-C9fLRLZy.js.map → PersonalInfoStepWrapper-D8eq_Wtt.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-CTC9gauq.js → PersonalInfoStepWrapper-TGJP5U6C.js} +8 -8
- package/chunk/{PersonalInfoStepWrapper-CTC9gauq.js.map → PersonalInfoStepWrapper-TGJP5U6C.js.map} +1 -1
- package/chunk/{PostalCodeComponent-CvmEHXss.js → PostalCodeComponent-BA2FNJ8F.js} +6 -6
- package/chunk/{PostalCodeComponent-BLKNma3I.js.map → PostalCodeComponent-BA2FNJ8F.js.map} +1 -1
- package/chunk/{PostalCodeComponent-BLKNma3I.js → PostalCodeComponent-Ds-f1Aso.js} +6 -6
- package/chunk/{PostalCodeComponent-CvmEHXss.js.map → PostalCodeComponent-Ds-f1Aso.js.map} +1 -1
- package/chunk/{SSN-D4L9dF07.js → SSN-DKOJL4kj.js} +7 -7
- package/chunk/{SSN-7ZWvh6Fl.js.map → SSN-DKOJL4kj.js.map} +1 -1
- package/chunk/{SSN-7ZWvh6Fl.js → SSN-V4OsBJo-.js} +7 -7
- package/chunk/{SSN-D4L9dF07.js.map → SSN-V4OsBJo-.js.map} +1 -1
- package/chunk/{StateSelectComponent-DTvxuAyp.js → StateSelectComponent-C5uGSKMw.js} +6 -6
- package/chunk/{StateSelectComponent-BBns3zZM.js.map → StateSelectComponent-C5uGSKMw.js.map} +1 -1
- package/chunk/{StateSelectComponent-BBns3zZM.js → StateSelectComponent-Crtyb0Zu.js} +6 -6
- package/chunk/{StateSelectComponent-DTvxuAyp.js.map → StateSelectComponent-Crtyb0Zu.js.map} +1 -1
- package/chunk/{StatusComponent-B1KGdH0Y.js → StatusComponent-B64U2q3T.js} +7 -7
- package/chunk/{StatusComponent-B1KGdH0Y.js.map → StatusComponent-B64U2q3T.js.map} +1 -1
- package/chunk/{StatusComponent-CmqYHRw0.js → StatusComponent-C6yLT_6w.js} +7 -7
- package/chunk/{StatusComponent-CmqYHRw0.js.map → StatusComponent-C6yLT_6w.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-Be8j3CNn.js → StepActiveMilitaryPersonalInfoComponent-0gL_mAx0.js} +24 -24
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-Be8j3CNn.js.map → StepActiveMilitaryPersonalInfoComponent-0gL_mAx0.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-BwPN1kDj.js → StepActiveMilitaryPersonalInfoComponent-Zy3dZ3wQ.js} +23 -23
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-BwPN1kDj.js.map → StepActiveMilitaryPersonalInfoComponent-Zy3dZ3wQ.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-DFTAD36c.js → StepAgePersonalInfo-B_fhJKD6.js} +18 -18
- package/chunk/{StepAgePersonalInfo-DFTAD36c.js.map → StepAgePersonalInfo-B_fhJKD6.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-DrJ_uzuo.js → StepAgePersonalInfo-DPNbQWwP.js} +18 -18
- package/chunk/{StepAgePersonalInfo-DrJ_uzuo.js.map → StepAgePersonalInfo-DPNbQWwP.js.map} +1 -1
- package/chunk/{StepCard-42EsVjXX.js → StepCard-B-nYcoAX.js} +5 -5
- package/chunk/{StepCard-42EsVjXX.js.map → StepCard-B-nYcoAX.js.map} +1 -1
- package/chunk/{StepCard-Bp2KEF4j.js → StepCard-DXyV0Wj4.js} +5 -5
- package/chunk/{StepCard-Bp2KEF4j.js.map → StepCard-DXyV0Wj4.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-Gr3MDSAP.js → StepCollectIdentifier-B-9p1C-j.js} +8 -8
- package/chunk/{StepCollectIdentifier-Gr3MDSAP.js.map → StepCollectIdentifier-B-9p1C-j.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-CaqE8GKE.js → StepCollectIdentifier-S9ylxY5S.js} +10 -10
- package/chunk/{StepCollectIdentifier-CaqE8GKE.js.map → StepCollectIdentifier-S9ylxY5S.js.map} +1 -1
- package/chunk/StepCollectMilitaryStatusComponent-BL0juR4i.js +9 -0
- package/chunk/{StepCollectMilitaryStatusComponent-DyQHVdZm.js → StepCollectMilitaryStatusComponent-QAU3rC-7.js} +5 -5
- package/chunk/{StepCollectPersonalInfo-C2BsVJVe.js → StepCollectPersonalInfo-DmqTN2Po.js} +131 -131
- package/chunk/{StepCollectPersonalInfo-j8l-nN0c.js.map → StepCollectPersonalInfo-DmqTN2Po.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-j8l-nN0c.js → StepCollectPersonalInfo-TYr3ZfZt.js} +98 -98
- package/chunk/{StepCollectPersonalInfo-C2BsVJVe.js.map → StepCollectPersonalInfo-TYr3ZfZt.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-B5kvuKWH.js → StepCompleteAuthentication-Al4mmZZ4.js} +7 -7
- package/chunk/{StepCompleteAuthentication-B5kvuKWH.js.map → StepCompleteAuthentication-Al4mmZZ4.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-ZqAH64xm.js → StepCompleteAuthentication-zrcJ8B4S.js} +7 -7
- package/chunk/{StepCompleteAuthentication-ZqAH64xm.js.map → StepCompleteAuthentication-zrcJ8B4S.js.map} +1 -1
- package/chunk/{StepConsolation-Wq3CAeO2.js → StepConsolation-CNCu1p-c.js} +9 -9
- package/chunk/{StepConsolation-Cm_r2Qpu.js.map → StepConsolation-CNCu1p-c.js.map} +1 -1
- package/chunk/{StepConsolation-Cm_r2Qpu.js → StepConsolation-DMEtDUwF.js} +9 -9
- package/chunk/{StepConsolation-Wq3CAeO2.js.map → StepConsolation-DMEtDUwF.js.map} +1 -1
- package/chunk/{StepDocUpload-Bcj4P9yG.js → StepDocUpload-DkW2dA7T.js} +208 -208
- package/chunk/{StepDocUpload-Bcj4P9yG.js.map → StepDocUpload-DkW2dA7T.js.map} +1 -1
- package/chunk/{StepDocUpload-BsecYmMY.js → StepDocUpload-MyD36uMA.js} +216 -216
- package/chunk/{StepDocUpload-BsecYmMY.js.map → StepDocUpload-MyD36uMA.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-DwU3xXfF.js → StepDriverLicensePersonalInfoComponent-BimlWXi-.js} +15 -15
- package/chunk/{StepDriverLicensePersonalInfoComponent-BY5ptPl2.js.map → StepDriverLicensePersonalInfoComponent-BimlWXi-.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-BY5ptPl2.js → StepDriverLicensePersonalInfoComponent-C0d7h_vU.js} +15 -15
- package/chunk/{StepDriverLicensePersonalInfoComponent-DwU3xXfF.js.map → StepDriverLicensePersonalInfoComponent-C0d7h_vU.js.map} +1 -1
- package/chunk/{StepEmailLoop-BMUrqRpU.js → StepEmailLoop-BMD9mmRi.js} +11 -11
- package/chunk/{StepEmailLoop-BMUrqRpU.js.map → StepEmailLoop-BMD9mmRi.js.map} +1 -1
- package/chunk/{StepEmailLoop-kQprPvwO.js → StepEmailLoop-D7V1UxL8.js} +14 -14
- package/chunk/{StepEmailLoop-kQprPvwO.js.map → StepEmailLoop-D7V1UxL8.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-CoCYBUoK.js → StepEmploymentPersonalInfo-BirWFiWr.js} +18 -18
- package/chunk/{StepEmploymentPersonalInfo-BDNbJGr3.js.map → StepEmploymentPersonalInfo-BirWFiWr.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-BDNbJGr3.js → StepEmploymentPersonalInfo-DedR7oVc.js} +18 -18
- package/chunk/{StepEmploymentPersonalInfo-CoCYBUoK.js.map → StepEmploymentPersonalInfo-DedR7oVc.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-MQheKSca.js → StepFirstResponderPersonalInfo-BjrLQRYq.js} +26 -26
- package/chunk/{StepFirstResponderPersonalInfo-MQheKSca.js.map → StepFirstResponderPersonalInfo-BjrLQRYq.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-DjCy_Aa2.js → StepFirstResponderPersonalInfo-CB22u23N.js} +24 -24
- package/chunk/{StepFirstResponderPersonalInfo-DjCy_Aa2.js.map → StepFirstResponderPersonalInfo-CB22u23N.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DxASHFqp.js → StepGeneralIdentityPersonalInfoComponent-BTilz5ZG.js} +18 -18
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-BUbWhi8e.js.map → StepGeneralIdentityPersonalInfoComponent-BTilz5ZG.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-BUbWhi8e.js → StepGeneralIdentityPersonalInfoComponent-CooUjo5k.js} +18 -18
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DxASHFqp.js.map → StepGeneralIdentityPersonalInfoComponent-CooUjo5k.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-63OocGXO.js → StepHybridIdentityPersonalInfoComponent-CNT3ijHo.js} +19 -19
- package/chunk/{StepHybridIdentityPersonalInfoComponent-63OocGXO.js.map → StepHybridIdentityPersonalInfoComponent-CNT3ijHo.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-C01ouGdL.js → StepHybridIdentityPersonalInfoComponent-fYHPcDLv.js} +19 -19
- package/chunk/{StepHybridIdentityPersonalInfoComponent-C01ouGdL.js.map → StepHybridIdentityPersonalInfoComponent-fYHPcDLv.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-CLk9Jyxk.js → StepIDCheckLoop-BMBYj20c.js} +8 -8
- package/chunk/{StepIDCheckLoop-CLk9Jyxk.js.map → StepIDCheckLoop-BMBYj20c.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-DjAK1Fh-.js → StepIDCheckLoop-DUA6P4bQ.js} +8 -8
- package/chunk/{StepIDCheckLoop-DjAK1Fh-.js.map → StepIDCheckLoop-DUA6P4bQ.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-DyiZfOfR.js → StepIDCheckLoopOnfido-Bo9HlY4S.js} +38 -38
- package/chunk/{StepIDCheckLoopOnfido-Ci3DMEnd.js.map → StepIDCheckLoopOnfido-Bo9HlY4S.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-Ci3DMEnd.js → StepIDCheckLoopOnfido-D9jQ8swA.js} +37 -37
- package/chunk/{StepIDCheckLoopOnfido-DyiZfOfR.js.map → StepIDCheckLoopOnfido-D9jQ8swA.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-C69YSwG9.js → StepIDCheckLoopRegula-B1-v9x5u.js} +21 -21
- package/chunk/{StepIDCheckLoopRegula-C69YSwG9.js.map → StepIDCheckLoopRegula-B1-v9x5u.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-DniEW16P.js → StepIDCheckLoopRegula-DAPHjsoR.js} +20 -20
- package/chunk/{StepIDCheckLoopRegula-DniEW16P.js.map → StepIDCheckLoopRegula-DAPHjsoR.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CNZ9wvGU.js → StepInactiveMilitaryPersonalInfoComponent-B6XPP6NJ.js} +32 -32
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-B9bW862f.js.map → StepInactiveMilitaryPersonalInfoComponent-B6XPP6NJ.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-B9bW862f.js → StepInactiveMilitaryPersonalInfoComponent-BohJ927P.js} +35 -35
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CNZ9wvGU.js.map → StepInactiveMilitaryPersonalInfoComponent-BohJ927P.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-CHyXIhMv.js → StepLicensedProfessionalPersonalInfo-BSR6uyGW.js} +17 -17
- package/chunk/{StepLicensedProfessionalPersonalInfo-CHyXIhMv.js.map → StepLicensedProfessionalPersonalInfo-BSR6uyGW.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-XQOWzNsz.js → StepLicensedProfessionalPersonalInfo-DBaICckY.js} +17 -17
- package/chunk/{StepLicensedProfessionalPersonalInfo-XQOWzNsz.js.map → StepLicensedProfessionalPersonalInfo-DBaICckY.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-CD_cMJjv.js → StepLowIncomePersonalInfo-7PD6nVhq.js} +30 -30
- package/chunk/{StepLowIncomePersonalInfo-CD_cMJjv.js.map → StepLowIncomePersonalInfo-7PD6nVhq.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-jlT9OhZA.js → StepLowIncomePersonalInfo-B8_Bdz6J.js} +33 -33
- package/chunk/{StepLowIncomePersonalInfo-jlT9OhZA.js.map → StepLowIncomePersonalInfo-B8_Bdz6J.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-Bj9kSPLE.js → StepMedicalProfessionalPersonalInfo-CLlI9lA4.js} +21 -21
- package/chunk/{StepMedicalProfessionalPersonalInfo-Bj9kSPLE.js.map → StepMedicalProfessionalPersonalInfo-CLlI9lA4.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-Deh4luoR.js → StepMedicalProfessionalPersonalInfo-rF25m688.js} +25 -25
- package/chunk/{StepMedicalProfessionalPersonalInfo-Deh4luoR.js.map → StepMedicalProfessionalPersonalInfo-rF25m688.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-DurOaOSx.js → StepMemberPersonalInfo-BXIRckt_.js} +16 -16
- package/chunk/{StepMemberPersonalInfo-DurOaOSx.js.map → StepMemberPersonalInfo-BXIRckt_.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo--cCazjIB.js → StepMemberPersonalInfo-GCOuR46b.js} +16 -16
- package/chunk/{StepMemberPersonalInfo--cCazjIB.js.map → StepMemberPersonalInfo-GCOuR46b.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-CMJ4ovxs.js → StepMoverPersonalInfo-BC_CC0ii.js} +14 -14
- package/chunk/{StepMoverPersonalInfo-CMJ4ovxs.js.map → StepMoverPersonalInfo-BC_CC0ii.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-D2qevbJi.js → StepMoverPersonalInfo-Wg154T-c.js} +14 -14
- package/chunk/{StepMoverPersonalInfo-D2qevbJi.js.map → StepMoverPersonalInfo-Wg154T-c.js.map} +1 -1
- package/chunk/{StepOverrideComponent-BecRKWaO.js → StepOverrideComponent-B7BcXOC-.js} +15 -15
- package/chunk/{StepOverrideComponent-BecRKWaO.js.map → StepOverrideComponent-B7BcXOC-.js.map} +1 -1
- package/chunk/{StepOverrideComponent-DwlaveDy.js → StepOverrideComponent-zBjMTa3J.js} +15 -15
- package/chunk/{StepOverrideComponent-DwlaveDy.js.map → StepOverrideComponent-zBjMTa3J.js.map} +1 -1
- package/chunk/{StepSMSLoop-ByCoyo1S.js → StepSMSLoop-0HaSMjqk.js} +16 -16
- package/chunk/{StepSMSLoop-ByCoyo1S.js.map → StepSMSLoop-0HaSMjqk.js.map} +1 -1
- package/chunk/{StepSMSLoop-De0HoZbE.js → StepSMSLoop-BiOaasl3.js} +16 -16
- package/chunk/{StepSMSLoop-De0HoZbE.js.map → StepSMSLoop-BiOaasl3.js.map} +1 -1
- package/chunk/StepSSO-BRFhNvkp.js +4 -4
- package/chunk/StepSSO-BaFk7RFJ.js +4 -4
- package/chunk/{StepSocialSecurityNumber-DID4jEFW.js → StepSocialSecurityNumber-CGBBfuX7.js} +16 -16
- package/chunk/{StepSocialSecurityNumber-DID4jEFW.js.map → StepSocialSecurityNumber-CGBBfuX7.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-m4-htRLh.js → StepSocialSecurityNumber-CZ-yVv3v.js} +16 -16
- package/chunk/{StepSocialSecurityNumber-m4-htRLh.js.map → StepSocialSecurityNumber-CZ-yVv3v.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-BVGd3PT4.js → StepStudentPersonalInfo-CxQWE7Yi.js} +50 -50
- package/chunk/{StepStudentPersonalInfo-6hiCoAmw.js.map → StepStudentPersonalInfo-CxQWE7Yi.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-6hiCoAmw.js → StepStudentPersonalInfo-DvuDscq7.js} +17 -17
- package/chunk/{StepStudentPersonalInfo-BVGd3PT4.js.map → StepStudentPersonalInfo-DvuDscq7.js.map} +1 -1
- package/chunk/{StepSuccess-Cmtfp16v.js → StepSuccess-Bf4WVIHj.js} +29 -33
- package/chunk/{StepSuccess-6gegJQH_.js.map → StepSuccess-Bf4WVIHj.js.map} +1 -1
- package/chunk/{StepSuccess-6gegJQH_.js → StepSuccess-GdSJcQra.js} +34 -30
- package/chunk/{StepSuccess-Cmtfp16v.js.map → StepSuccess-GdSJcQra.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-BrnoFpf6.js → StepTeacherPersonalInfo-DaOyuvoK.js} +17 -17
- package/chunk/{StepTeacherPersonalInfo-BjGCHmV2.js.map → StepTeacherPersonalInfo-DaOyuvoK.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-BjGCHmV2.js → StepTeacherPersonalInfo-PWOMlZ2Q.js} +17 -17
- package/chunk/{StepTeacherPersonalInfo-BrnoFpf6.js.map → StepTeacherPersonalInfo-PWOMlZ2Q.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BGHCbduX.js +4 -4
- package/chunk/StepThirdPartyLoop-ZHByQpHa.js +4 -4
- package/chunk/{TeacherSchoolComponent-BVlWyfdu.js → TeacherSchoolComponent-BlPUYAZK.js} +8 -8
- package/chunk/{TeacherSchoolComponent-BVlWyfdu.js.map → TeacherSchoolComponent-BlPUYAZK.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-CvSlnFHE.js → TeacherSchoolComponent-CZOQYGHJ.js} +8 -8
- package/chunk/{TeacherSchoolComponent-CvSlnFHE.js.map → TeacherSchoolComponent-CZOQYGHJ.js.map} +1 -1
- package/chunk/TestingRouteOverrides-C6_6elEq.js +77 -0
- package/chunk/{TestingRouteOverrides-BQzBlUms.js.map → TestingRouteOverrides-C6_6elEq.js.map} +1 -1
- package/chunk/TestingRouteOverrides-DHL_cusu.js +81 -0
- package/chunk/{TestingRouteOverrides-Dw6GXQ6-.js.map → TestingRouteOverrides-DHL_cusu.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/{VerificationApiClient-C93qyL2c.js → VerificationApiClient-6KGDr9vD.js} +75 -75
- package/chunk/{VerificationApiClient-C93qyL2c.js.map → VerificationApiClient-6KGDr9vD.js.map} +1 -1
- package/chunk/{VerificationApiClient-CoNTH6u3.js → VerificationApiClient-DkMe8iY0.js} +137 -137
- package/chunk/{VerificationApiClient-CoNTH6u3.js.map → VerificationApiClient-DkMe8iY0.js.map} +1 -1
- package/chunk/VerificationApiUtils-CoCXhRjv.js +21 -0
- package/chunk/{VerificationApiUtils-Cho-8a4D.js.map → VerificationApiUtils-CoCXhRjv.js.map} +1 -1
- package/chunk/{VerificationApiUtils-Cmawe7Qf.js → VerificationApiUtils-jK7TFY_P.js} +7 -7
- package/chunk/{VerificationApiUtils-Cmawe7Qf.js.map → VerificationApiUtils-jK7TFY_P.js.map} +1 -1
- package/chunk/ar-CZrVPqvf.js +4 -4
- package/chunk/bg-Cj9u62RW.js +4 -4
- package/chunk/bn-IN-AX8JdjQ8.js +4 -4
- package/chunk/countryUtils-CAW7TO02.js +12 -0
- package/chunk/{countryUtils-B0gQRrDx.js.map → countryUtils-CAW7TO02.js.map} +1 -1
- package/chunk/{countryUtils-CLqT0spr.js → countryUtils-CV_Lr16_.js} +5 -5
- package/chunk/{countryUtils-CLqT0spr.js.map → countryUtils-CV_Lr16_.js.map} +1 -1
- package/chunk/cs-5rrzGv7_.js +4 -4
- package/chunk/da-DMDlBT-5.js +4 -4
- package/chunk/de-DG-q-l7o.js +4 -4
- package/chunk/{downshift.esm-CWtSsH-1.js → downshift.esm-BmU5C7C0.js} +122 -122
- package/chunk/{downshift.esm-CWtSsH-1.js.map → downshift.esm-BmU5C7C0.js.map} +1 -1
- package/chunk/{downshift.esm-DT9Kheqy.js → downshift.esm-Bt__j-Dt.js} +43 -43
- package/chunk/{downshift.esm-DT9Kheqy.js.map → downshift.esm-Bt__j-Dt.js.map} +1 -1
- package/chunk/el-yctEkMhE.js +4 -4
- package/chunk/{empties-DXsucFOV.js → empties-CuuBn0bi.js} +5 -5
- package/chunk/{empties-DXsucFOV.js.map → empties-CuuBn0bi.js.map} +1 -1
- package/chunk/{empties-GdeHHk2b.js → empties-NTFzwSRR.js} +49 -49
- package/chunk/{empties-GdeHHk2b.js.map → empties-NTFzwSRR.js.map} +1 -1
- package/chunk/en-GB-6LZCsn1D.js +4 -4
- package/chunk/es-BMeF1R04.js +4 -4
- package/chunk/es-ES-CsFb7QAU.js +4 -4
- package/chunk/et-CiZKWMRu.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-D9V3MCMh.js +4 -4
- package/chunk/fi-poKCN0AL.js +4 -4
- package/chunk/fr-BiSjb5hG.js +4 -4
- package/chunk/fr-CA-zBX3D7Nl.js +4 -4
- package/chunk/ga-jC99p6r7.js +4 -4
- package/chunk/hi-IN-C_1AZftT.js +4 -4
- package/chunk/hr-abbR52XG.js +4 -4
- package/chunk/hu-CeZoihsr.js +4 -4
- package/chunk/id-wFLT8G20.js +4 -4
- package/chunk/{intl-B461eGlU.js → intl-CuZpjbF2.js} +409 -401
- package/chunk/intl-CuZpjbF2.js.map +1 -0
- package/chunk/is-sc_8Dmxx.js +4 -4
- package/chunk/it-Mhw_31wt.js +4 -4
- package/chunk/iw-BfqjzsAq.js +4 -4
- package/chunk/ja-Bdvw5s91.js +4 -4
- package/chunk/{jsx-runtime-CeRrwqti.js → jsx-runtime-B29HBOo1.js} +5 -5
- package/chunk/{jsx-runtime-KEs0wOl5.js.map → jsx-runtime-B29HBOo1.js.map} +1 -1
- package/chunk/{jsx-runtime-KEs0wOl5.js → jsx-runtime-Br-ldzo0.js} +5 -5
- package/chunk/{jsx-runtime-CeRrwqti.js.map → jsx-runtime-Br-ldzo0.js.map} +1 -1
- package/chunk/kk-mHV9A9HS.js +4 -4
- package/chunk/ko-C7nyKdTs.js +4 -4
- package/chunk/lo-baNG1foB.js +4 -4
- package/chunk/lt-CNU2L7fK.js +4 -4
- package/chunk/lv-bP-HuAKS.js +4 -4
- package/chunk/{militaryStepHelpers-CT2x_HCE.js → militaryStepHelpers-BlzQcNHu.js} +5 -5
- package/chunk/{militaryStepHelpers-BeN98TAk.js.map → militaryStepHelpers-BlzQcNHu.js.map} +1 -1
- package/chunk/{militaryStepHelpers-BeN98TAk.js → militaryStepHelpers-COmBnCcw.js} +5 -5
- package/chunk/{militaryStepHelpers-CT2x_HCE.js.map → militaryStepHelpers-COmBnCcw.js.map} +1 -1
- package/chunk/{mocks-CmzyO_3E.js → mocks-BlLp3eOz.js} +9 -9
- package/chunk/{mocks-3VPL7XDa.js.map → mocks-BlLp3eOz.js.map} +1 -1
- package/chunk/{mocks-3VPL7XDa.js → mocks-CuPTVtpf.js} +9 -9
- package/chunk/{mocks-CmzyO_3E.js.map → mocks-CuPTVtpf.js.map} +1 -1
- package/chunk/ms-Bg8aDCAA.js +4 -4
- package/chunk/nl-BE-Ct8zP0W1.js +4 -4
- package/chunk/nl-CbfjSfKQ.js +4 -4
- package/chunk/no-DjDW2Ec_.js +4 -4
- package/chunk/{options-PkP3zQGm.js → options-BqxY1ri6.js} +394 -386
- package/chunk/{options-PkP3zQGm.js.map → options-BqxY1ri6.js.map} +1 -1
- package/chunk/pl--DnD-6qz.js +4 -4
- package/chunk/programThemeGetters-BKJAvlOG.js +165 -0
- package/chunk/{programThemeGetters-DSFEiKNU.js.map → programThemeGetters-BKJAvlOG.js.map} +1 -1
- package/chunk/{programThemeGetters-LYR56E0U.js → programThemeGetters-f9o96pYi.js} +18 -18
- package/chunk/{programThemeGetters-LYR56E0U.js.map → programThemeGetters-f9o96pYi.js.map} +1 -1
- package/chunk/pt-BR-B02CJDXT.js +4 -4
- package/chunk/pt-CcmRJnZb.js +4 -4
- package/chunk/{refs-xcOEsQO3.js → refs-B-c--SWS.js} +5 -5
- package/chunk/{refs-V7YziA0C.js.map → refs-B-c--SWS.js.map} +1 -1
- package/chunk/{refs-V7YziA0C.js → refs-CWwQlqJe.js} +5 -5
- package/chunk/{refs-xcOEsQO3.js.map → refs-CWwQlqJe.js.map} +1 -1
- package/chunk/ro-CLdi0jqR.js +4 -4
- package/chunk/ru-Z91NV1Cr.js +4 -4
- package/chunk/sk-B7rRmmv6.js +4 -4
- package/chunk/sl-DhAq6T_a.js +4 -4
- package/chunk/sr-DpP50d7v.js +4 -4
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-QG7LEZNd.js +4 -4
- package/chunk/sw--WAxwRTW.js +4 -4
- package/chunk/ta-DRF7u30N.js +4 -4
- package/chunk/th-BoK35Z2N.js +4 -4
- package/chunk/tl-BDTwfyaC.js +4 -4
- package/chunk/tr-BoXGTv5p.js +4 -4
- package/chunk/uk-AXN3c9FX.js +4 -4
- package/chunk/ur-D5Nqe4mS.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-B_dk-p3K.js → useCollectFieldsEndpoint-CfzinFgL.js} +12 -12
- package/chunk/{useCollectFieldsEndpoint-B_dk-p3K.js.map → useCollectFieldsEndpoint-CfzinFgL.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-BhX-zGxg.js → useCollectFieldsEndpoint-CjjqitMW.js} +11 -11
- package/chunk/{useCollectFieldsEndpoint-BhX-zGxg.js.map → useCollectFieldsEndpoint-CjjqitMW.js.map} +1 -1
- package/chunk/{useMetrics-C13BbDWa.js → useMetrics-B3zSqEvx.js} +7 -11
- package/chunk/{useMetrics-ntewhX51.js.map → useMetrics-B3zSqEvx.js.map} +1 -1
- package/chunk/{useMetrics-ntewhX51.js → useMetrics-yFN3h5mC.js} +11 -7
- package/chunk/{useMetrics-C13BbDWa.js.map → useMetrics-yFN3h5mC.js.map} +1 -1
- package/chunk/{validators-CWveyjFm.js → validators-DqymSzki.js} +86 -86
- package/chunk/{validators-BIcHHTv2.js.map → validators-DqymSzki.js.map} +1 -1
- package/chunk/{validators-BIcHHTv2.js → validators-DtqLbhHK.js} +288 -288
- package/chunk/{validators-CWveyjFm.js.map → validators-DtqLbhHK.js.map} +1 -1
- package/chunk/vi-BE4aMeLo.js +4 -4
- package/chunk/zh-CUzsIz8M.js +4 -4
- package/chunk/zh-HK-BTCqwQOw.js +4 -4
- package/chunk/zu-ChHTiO3Y.js +4 -4
- package/package.json +3 -2
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +4 -4
- package/sheerid.css +4 -4
- package/sheerid.js +1535 -1509
- package/sheerid.js.map +1 -1
- package/chunk/CountryComponentWrapper-hRj-7R2w.js +0 -74
- package/chunk/FormFooterComponent-BdXYFgGt.js.map +0 -1
- package/chunk/FormFooterComponent-DtpRKuca.js.map +0 -1
- package/chunk/StepCollectMilitaryStatusComponent-Ddiotbq5.js +0 -9
- package/chunk/TestingRouteOverrides-BQzBlUms.js +0 -77
- package/chunk/TestingRouteOverrides-Dw6GXQ6-.js +0 -81
- package/chunk/VerificationApiUtils-Cho-8a4D.js +0 -21
- package/chunk/countryUtils-B0gQRrDx.js +0 -12
- package/chunk/intl-B461eGlU.js.map +0 -1
- package/chunk/programThemeGetters-DSFEiKNU.js +0 -165
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
* WARNING: This file is intended to be used within MySheerID.
|
|
4
|
+
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* VERSION: 2.262.0-alpha.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1785433429692
|
|
9
|
+
* BUILD_DATE: Thu Jul 30 2026 17:43:49 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 572623f7bc6b5a1e30face657957b5ba18222d0c
|
|
7
11
|
*/
|
|
8
|
-
import {
|
|
9
|
-
import { a as n, c as r, n as i, t as a } from "./jsx-runtime-
|
|
10
|
-
import { o } from "./refs-
|
|
11
|
-
import {
|
|
12
|
-
import { t as c } from "./downshift.esm-
|
|
12
|
+
import { Kt as e, Vt as t } from "./intl-CuZpjbF2.js";
|
|
13
|
+
import { a as n, c as r, n as i, t as a } from "./jsx-runtime-Br-ldzo0.js";
|
|
14
|
+
import { o } from "./refs-B-c--SWS.js";
|
|
15
|
+
import { ct as s } from "../_mysheerid-preview.js";
|
|
16
|
+
import { t as c } from "./downshift.esm-BmU5C7C0.js";
|
|
13
17
|
//#region src/components/FormInputs/InputSelect/InputSelectList/InputSelectListComponent.tsx
|
|
14
18
|
var l = /* @__PURE__ */ e(r(), 1), u = a(), d = ({ getItemProps: e, getMenuProps: t, highlightedIndex: n, options: r, itemToString: a, ariaLabel: o, isOpen: c, isLoading: l = !1 }) => {
|
|
15
19
|
let d = (t, i) => /* @__PURE__ */ (0, u.jsx)("div", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormSelectChoice-C7lWWa15.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,\n fieldId,\n fieldLabelId,\n isErrored,\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\nInputSelect.defaultProps = {\n className: undefined,\n disabled: false,\n inputId: undefined,\n isErrored: false,\n onKeyDown: undefined,\n placeholder: \"\",\n value: undefined,\n autoComplete: undefined,\n};\n\nexport const InputSelectComponent = InputSelect;\n","import { type InjectedIntl } from \"react-intl\";\n\nimport { logger } from \"@jslib/shared/utils/logger\";\n\nimport { type FormSelectChoice } from \"../../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 intl: InjectedIntl,\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({\n value,\n label: intl.formatHTMLMessage({\n id: `${namespace}.${value}`,\n defaultMessage: `{${namespace}.${value}}`,\n }),\n });\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":";;;;;;4CAmEA,KAnDA,EAAA,iBAAA,iBAAA,qBAAA,YAAA,iBAAA,cAAA,WAAA,eAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDA,GCAa,IAA6B,GAvDf,EACzB,mBACA,aACA,yBACA,WACA,gBACA,cAC4B;CAC5B,IAAM,E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GAElD,KACX,GACA,IAAyB,CAAC,GAC1B,MACuC;CACvC,IAAM,IAA8C,CAAC,GAC/C,IAA2B,CAAC;CA0BlC,OAxBA,EAAa,SAAS,MAAU;EAC9B,IAAW,MAAU,QAAa,OAAO,EAAe,KAAK,WAAW;EAGxE,IAFI,CAAC,KACD,OAAO,KAAU,YACjB,OAAO,KAAU,YAAY,CAAC,EAAM,KAAK,GAC3C,OAAO,EAAe,KAAK,KAAK,UAAU,CAAK,CAAC;EAElD,EAAQ,KAAK;GACX;GACA,OAAO,EAAK,kBAAkB;IAC5B,IAAI,GAAG,EAAU,GAAG;IACpB,gBAAgB,IAAI,EAAU,GAAG,EAAM;GACzC,CAAC;EACH,CAAC;CACH,CAAC,GAEG,EAAe,SAAS,KAC1B,EAAO,KACL,0EACE,EAAe,OAChB,KAAK,EAAe,KAAK,IAAI,GAChC,GAGK;AACT"}
|
|
1
|
+
{"version":3,"file":"FormSelectChoice-DZuKjVGz.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,\n fieldId,\n fieldLabelId,\n isErrored,\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\nInputSelect.defaultProps = {\n className: undefined,\n disabled: false,\n inputId: undefined,\n isErrored: false,\n onKeyDown: undefined,\n placeholder: \"\",\n value: undefined,\n autoComplete: undefined,\n};\n\nexport const InputSelectComponent = InputSelect;\n","import { type InjectedIntl } from \"react-intl\";\n\nimport { logger } from \"@jslib/shared/utils/logger\";\n\nimport { type FormSelectChoice } from \"../../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 intl: InjectedIntl,\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({\n value,\n label: intl.formatHTMLMessage({\n id: `${namespace}.${value}`,\n defaultMessage: `{${namespace}.${value}}`,\n }),\n });\n });\n\n if (omittedOptions.length > 0) {\n logger.warn(\n `FormSelectChoice.getFormFieldSelectOptions contains unexpected values (${\n omittedOptions.length\n }): ${omittedOptions.join(\", \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ACP,cAAc,KAAA;AAChB;AAEA,IAAa,IAAuB,GCjKvB,KACX,GACA,MACuB;CACvB,IAAI;CAEJ,IAAI;EACF,IAAY,EAAE,MAAM,YAAY,IAAI,EAAE,MAAM,YAAY,IAAI,IAAI;CAClE,QAAY;EACV,IAAY;CACd;CAEA,OAAO;AACT,GAEa,KACX,MACoC,EAAQ,KAAK,CAAY,GAElD,KACX,GACA,IAAyB,CAAC,GAC1B,MACuC;CACvC,IAAM,IAA8C,CAAC,GAC/C,IAA2B,CAAC;CA0BlC,OAxBA,EAAa,SAAS,MAAU;EAC9B,IAAW,MAAU,QAAa,OAAO,EAAe,KAAK,WAAW;EAGxE,IAFI,CAAC,KACD,OAAO,KAAU,YACjB,OAAO,KAAU,YAAY,CAAC,EAAM,KAAK,GAC3C,OAAO,EAAe,KAAK,KAAK,UAAU,CAAK,CAAC;EAElD,EAAQ,KAAK;GACX;GACA,OAAO,EAAK,kBAAkB;IAC5B,IAAI,GAAG,EAAU,GAAG;IACpB,gBAAgB,IAAI,EAAU,GAAG,EAAM;GACzC,CAAC;EACH,CAAC;CACH,CAAC,GAEG,EAAe,SAAS,KAC1B,EAAO,KACL,0EACE,EAAe,OAChB,KAAK,EAAe,KAAK,IAAI,GAChC,GAGK;AACT"}
|
|
@@ -1,19 +1,15 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
* VERSION: 2.261.0-alpha.2
|
|
8
|
-
* BUILD_TIMESTAMP: 1785367114621
|
|
9
|
-
* BUILD_DATE: Wed Jul 29 2026 23:18:34 GMT+0000 (Coordinated Universal Time)
|
|
10
|
-
* BUILD_COMMIT: 41e7046dc0461c5b26e6c4250518d6cdd9cd023a
|
|
3
|
+
* VERSION: 2.262.0-alpha.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1785433425763
|
|
5
|
+
* BUILD_DATE: Thu Jul 30 2026 17:43:45 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 572623f7bc6b5a1e30face657957b5ba18222d0c
|
|
11
7
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { a as n, c as r, n as i, t as a } from "./jsx-runtime-
|
|
14
|
-
import { o } from "./refs-
|
|
15
|
-
import {
|
|
16
|
-
import { t as c } from "./downshift.esm-
|
|
8
|
+
import { Ht as e, Kt as t } from "./options-BqxY1ri6.js";
|
|
9
|
+
import { a as n, c as r, n as i, t as a } from "./jsx-runtime-B29HBOo1.js";
|
|
10
|
+
import { o } from "./refs-CWwQlqJe.js";
|
|
11
|
+
import { lt as s } from "../sheerid.js";
|
|
12
|
+
import { t as c } from "./downshift.esm-Bt__j-Dt.js";
|
|
17
13
|
//#region src/components/FormInputs/InputSelect/InputSelectList/InputSelectListComponent.tsx
|
|
18
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 }) => {
|
|
19
15
|
let d = (t, i) => /* @__PURE__ */ (0, u.jsx)("div", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormSelectChoice-CdX26F4M.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,\n fieldId,\n fieldLabelId,\n isErrored,\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\nInputSelect.defaultProps = {\n className: undefined,\n disabled: false,\n inputId: undefined,\n isErrored: false,\n onKeyDown: undefined,\n placeholder: \"\",\n value: undefined,\n autoComplete: undefined,\n};\n\nexport const InputSelectComponent = InputSelect;\n","import { type InjectedIntl } from \"react-intl\";\n\nimport { logger } from \"@jslib/shared/utils/logger\";\n\nimport { type FormSelectChoice } from \"../../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 intl: InjectedIntl,\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({\n value,\n label: intl.formatHTMLMessage({\n id: `${namespace}.${value}`,\n defaultMessage: `{${namespace}.${value}}`,\n }),\n });\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":";;;;;;4CAmEA,KAnDA,EAAA,iBAAA,iBAAA,qBAAA,YAAA,iBAAA,cAAA,WAAA,eAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDA,GCAa,IAA6B,GAvDf,EACzB,mBACA,aACA,yBACA,WACA,gBACA,cAC4B;CAC5B,IAAM,EACJ,SAAS,GACT,iBAAiB,GACjB,eAAe,GACf,YACA,cACA,cACE,EAAqB;CASzB,OACE,iBAAA,GAAA,EAAA,KAAC,UAAD;EACE,cATc,IACd,EAAK,cAAc;GACjB,IAAI;GACJ,gBAAgB;EAClB,CAAC,IACD,EAAK,cAAc;GAAE,IAAI;GAAY,gBAAgB;EAAY,CAAC;EAKlE,iBAAe;EACf,eAAa;EACJ;EACE;EACH;EACR,WAAU;EACA;EACV,MAAK;EACL,UAAU,MAAU;GAElB,AADI,OAAO,KAAmB,cAAY,EAAe,GACrD,OAAO,KAAwB,cAAY,EAAoB,CAAK;EAC1E;YAEA,iBAAA,GAAA,EAAA,KAAC,OAAD;GACE,SAAQ;GACR,qBAAoB;GACpB,OAAO;GACP,MAAK;GACL,QAAO;GACP,aAAY;GACZ,WAAW,IAAS,gBAAgB,KAAA;aAEpC,iBAAA,GAAA,EAAA,KAAC,QAAD,EAAM,GAAE,oBAAqB,CAAA;EAC1B,CAAA;CACC,CAAA;AAEZ,CAEsE,GClDhE,KAAgB,MAA4B,IAAO,EAAK,QAAQ,IAEhE,KAAiB,GAA6B,MACN,EAAQ,QACjD,MACC,CAAC,KACD,EAAO,MAAM,YAAY,EAAE,SAAS,EAAW,YAAY,CAAC,KAC5D,EAAO,MAAM,SAAS,EAAE,YAAY,EAAE,SAAS,E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IACK;IACA;IACH;IACH;IACG;GACZ,CAAA;EACE;;AAET;AAEA,EAAY,eAAe;CACzB,WAAW,KAAA;CACX,UAAU;CACV,SAAS,KAAA;CACT,WAAW;CACX,WAAW,KAAA;CACX,aAAa;CACb,OAAO,KAAA;CACP,cAAc,KAAA;AAChB;AAEA,IAAa,IAAuB,GCjKvB,KACX,GACA,MACuB;CACvB,IAAI;CAEJ,IAAI;EACF,IAAY,EAAE,MAAM,YAAY,IAAI,EAAE,MAAM,YAAY,IAAI,IAAI;CAClE,QAAY;EACV,IAAY;CACd;CAEA,OAAO;AACT,GAEa,KACX,MACoC,EAAQ,KAAK,CAAY,GAElD,KACX,GACA,IAAyB,CAAC,GAC1B,MACuC;CACvC,IAAM,IAA8C,CAAC,GAC/C,IAA2B,CAAC;CA0BlC,OAxBA,EAAa,SAAS,MAAU;EAC9B,IAAW,MAAU,QAAa,OAAO,EAAe,KAAK,WAAW;EAGxE,IAFI,CAAC,KACD,OAAO,KAAU,YACjB,OAAO,KAAU,YAAY,CAAC,EAAM,KAAK,GAC3C,OAAO,EAAe,KAAK,KAAK,UAAU,CAAK,CAAC;EAElD,EAAQ,KAAK;GACX;GACA,OAAO,EAAK,kBAAkB;IAC5B,IAAI,GAAG,EAAU,GAAG;IACpB,gBAAgB,IAAI,EAAU,GAAG,EAAM;GACzC,CAAC;EACH,CAAC;CACH,CAAC,GAEG,EAAe,SAAS,KAC1B,EAAO,KACL,0EACE,EAAe,OAChB,KAAK,EAAe,KAAK,IAAI,GAChC,GAGK;AACT"}
|
|
1
|
+
{"version":3,"file":"FormSelectChoice-pQ_jID7c.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,\n fieldId,\n fieldLabelId,\n isErrored,\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\nInputSelect.defaultProps = {\n className: undefined,\n disabled: false,\n inputId: undefined,\n isErrored: false,\n onKeyDown: undefined,\n placeholder: \"\",\n value: undefined,\n autoComplete: undefined,\n};\n\nexport const InputSelectComponent = InputSelect;\n","import { type InjectedIntl } from \"react-intl\";\n\nimport { logger } from \"@jslib/shared/utils/logger\";\n\nimport { type FormSelectChoice } from \"../../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 intl: InjectedIntl,\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({\n value,\n label: intl.formatHTMLMessage({\n id: `${namespace}.${value}`,\n defaultMessage: `{${namespace}.${value}}`,\n }),\n });\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":";;;;;;4CAmEA,KAnDA,EAAA,iBAAA,iBAAA,qBAAA,YAAA,iBAAA,cAAA,WAAA,eAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDA,GCAa,IAA6B,GAvDf,EACzB,mBACA,aACA,yBACA,WACA,gBACA,cAC4B;CAC5B,IAAM,EACJ,SAAS,GACT,iBAAiB,GACjB,eAAe,GACf,YACA,cACA,cACE,EAAqB;CASzB,OACE,iBAAA,GAAA,EAAA,KAAC,UAAD;EACE,cATc,IACd,EAAK,cAAc;GACjB,IAAI;GACJ,gBAAgB;EAClB,CAAC,IACD,EAAK,cAAc;GAAE,IAAI;GAAY,gBAAgB;EAAY,CAAC;EAKlE,iBAAe;EACf,eAAa;EACJ;EACE;EACH;EACR,WAAU;EACA;EACV,MAAK;EACL,UAAU,MAAU;GAElB,AADI,OAAO,KAAmB,cAAY,EAAe,GACrD,OAAO,KAAwB,cAAY,EAAoB,CAAK;EAC1E;YAEA,iBAAA,GAAA,EAAA,KAAC,OAAD;GACE,SAAQ;GACR,qBAAoB;GACpB,OAAO;GACP,MAAK;GACL,QAAO;GACP,aAAY;GACZ,WAAW,IAAS,gBAAgB,KAAA;aAEpC,iBAAA,GAAA,EAAA,KAAC,QAAD,EAAM,GAAE,oBAAqB,CAA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intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.262.0-alpha.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1785433429692
|
|
9
|
+
* BUILD_DATE: Thu Jul 30 2026 17:43:49 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 572623f7bc6b5a1e30face657957b5ba18222d0c
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { c as t, t as n } from "./jsx-runtime-
|
|
14
|
-
import { o as r } from "./refs-
|
|
12
|
+
import { Kt as e } from "./intl-CuZpjbF2.js";
|
|
13
|
+
import { c as t, t as n } from "./jsx-runtime-Br-ldzo0.js";
|
|
14
|
+
import { o as r } from "./refs-B-c--SWS.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-C12rmr0E.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:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.262.0-alpha.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1785433425763
|
|
5
|
+
* BUILD_DATE: Thu Jul 30 2026 17:43:45 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 572623f7bc6b5a1e30face657957b5ba18222d0c
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
9
|
-
import { c as t, t as n } from "./jsx-runtime-
|
|
10
|
-
import { o as r } from "./refs-
|
|
8
|
+
import { Kt as e } from "./options-BqxY1ri6.js";
|
|
9
|
+
import { c as t, t as n } from "./jsx-runtime-B29HBOo1.js";
|
|
10
|
+
import { o as r } from "./refs-CWwQlqJe.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-CDxD4Fcy.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,14 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.262.0-alpha.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1785433425763
|
|
5
|
+
* BUILD_DATE: Thu Jul 30 2026 17:43:45 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 572623f7bc6b5a1e30face657957b5ba18222d0c
|
|
7
7
|
*/
|
|
8
|
-
import { a as e, n as t, t as n } from "./jsx-runtime-
|
|
9
|
-
import { u as r } from "./programThemeGetters-
|
|
8
|
+
import { a as e, n as t, t as n } from "./jsx-runtime-B29HBOo1.js";
|
|
9
|
+
import { u as r } from "./programThemeGetters-BKJAvlOG.js";
|
|
10
10
|
import { V as i } from "../sheerid.js";
|
|
11
|
-
import { t as a } from "./FormFieldTypeahead-
|
|
11
|
+
import { t as a } from "./FormFieldTypeahead-mgaV5E38.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-B3c3IfeM.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"}
|
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.262.0-alpha.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1785433429692
|
|
9
|
+
* BUILD_DATE: Thu Jul 30 2026 17:43:49 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 572623f7bc6b5a1e30face657957b5ba18222d0c
|
|
11
11
|
*/
|
|
12
|
-
import { a as e, n as t, t as n } from "./jsx-runtime-
|
|
13
|
-
import { u as r } from "./programThemeGetters-
|
|
12
|
+
import { a as e, n as t, t as n } from "./jsx-runtime-Br-ldzo0.js";
|
|
13
|
+
import { u as r } from "./programThemeGetters-f9o96pYi.js";
|
|
14
14
|
import { B as i } from "../_mysheerid-preview.js";
|
|
15
|
-
import { t as a } from "./FormFieldTypeahead-
|
|
15
|
+
import { t as a } from "./FormFieldTypeahead-CdEMh8jK.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-CP9r0hEA.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:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.262.0-alpha.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1785433425763
|
|
5
|
+
* BUILD_DATE: Thu Jul 30 2026 17:43:45 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 572623f7bc6b5a1e30face657957b5ba18222d0c
|
|
7
7
|
*/
|
|
8
|
-
import { n as e, t } from "./jsx-runtime-
|
|
9
|
-
import { o as n } from "./programThemeGetters-
|
|
8
|
+
import { n as e, t } from "./jsx-runtime-B29HBOo1.js";
|
|
9
|
+
import { o as n } from "./programThemeGetters-BKJAvlOG.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-Dt2sl-7K.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:
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.262.0-alpha.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1785433429692
|
|
9
|
+
* BUILD_DATE: Thu Jul 30 2026 17:43:49 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 572623f7bc6b5a1e30face657957b5ba18222d0c
|
|
11
11
|
*/
|
|
12
|
-
import { n as e, t } from "./jsx-runtime-
|
|
13
|
-
import { o as n } from "./programThemeGetters-
|
|
12
|
+
import { n as e, t } from "./jsx-runtime-Br-ldzo0.js";
|
|
13
|
+
import { o as n } from "./programThemeGetters-f9o96pYi.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-qYFfdGhk.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"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.262.0-alpha.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1785433425763
|
|
5
|
+
* BUILD_DATE: Thu Jul 30 2026 17:43:45 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 572623f7bc6b5a1e30face657957b5ba18222d0c
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
9
|
-
import { a as r, c as i, n as a, t as o } from "./jsx-runtime-
|
|
10
|
-
import { a as s } from "./VerificationApiClient-
|
|
11
|
-
import { m as c, u as l } from "./programThemeGetters-
|
|
8
|
+
import { Ht as e, Kt as t, c as n } from "./options-BqxY1ri6.js";
|
|
9
|
+
import { a as r, c as i, n as a, t as o } from "./jsx-runtime-B29HBOo1.js";
|
|
10
|
+
import { a as s } from "./VerificationApiClient-DkMe8iY0.js";
|
|
11
|
+
import { m as c, u as l } from "./programThemeGetters-BKJAvlOG.js";
|
|
12
12
|
import { V as u, lt as d, q as f } from "../sheerid.js";
|
|
13
|
-
import { t as p } from "./FormFieldText-
|
|
14
|
-
import { t as m } from "./FormFieldInputSelect-
|
|
15
|
-
import { t as h } from "./FormFieldTypeahead-
|
|
13
|
+
import { t as p } from "./FormFieldText-C44FpzvF.js";
|
|
14
|
+
import { t as m } from "./FormFieldInputSelect-_j71XaLW.js";
|
|
15
|
+
import { t as h } from "./FormFieldTypeahead-mgaV5E38.js";
|
|
16
16
|
//#region src/components/FormFields/EBTCardNumber/EBTCardNumberComponent.tsx
|
|
17
17
|
var g = o(), _ = r(({ value: e, isErrored: t, onChange: n, intl: r, placeholder: i = "", disabled: o = !1 }) => u("ebtCardNumber")?.hidden ? null : /* @__PURE__ */ (0, g.jsx)(p, {
|
|
18
18
|
fieldId: "ebtCardNumber",
|
|
@@ -32,9 +32,9 @@ var g = o(), _ = r(({ value: e, isErrored: t, onChange: n, intl: r, placeholder:
|
|
|
32
32
|
}),
|
|
33
33
|
showPlaceholderAndHideLabel: !!i,
|
|
34
34
|
disabled: o
|
|
35
|
-
})), v = /* @__PURE__ */
|
|
35
|
+
})), v = /* @__PURE__ */ t(i(), 1), y = r(({ value: t, isErrored: r, onChange: i, intl: o, placeholder: p = "", isRequired: _ = !1, verificationService: y, disabled: b = !1 }) => {
|
|
36
36
|
let { viewModel: x, programTheme: S, fieldValidationErrors: C } = y;
|
|
37
|
-
if (!c(x)) return
|
|
37
|
+
if (!c(x)) return e.error("Expected low-income view model is malformed"), null;
|
|
38
38
|
let w = x.statuses[0] ? x.statuses[0] : void 0, [T, E] = v.useState();
|
|
39
39
|
v.useEffect(() => {
|
|
40
40
|
s(l(n(x, (e) => {
|
|
@@ -44,8 +44,8 @@ var g = o(), _ = r(({ value: e, isErrored: t, onChange: n, intl: r, placeholder:
|
|
|
44
44
|
let t = e;
|
|
45
45
|
x.countryChoice && (t = e.filter((e) => e.country === x.countryChoice.value)), E(t.map(f));
|
|
46
46
|
}
|
|
47
|
-
}).catch((
|
|
48
|
-
|
|
47
|
+
}).catch((t) => {
|
|
48
|
+
e.error(t);
|
|
49
49
|
});
|
|
50
50
|
}, []);
|
|
51
51
|
let D = (e, t) => {
|
|
@@ -79,7 +79,7 @@ var g = o(), _ = r(({ value: e, isErrored: t, onChange: n, intl: r, placeholder:
|
|
|
79
79
|
orgSearchUrl: l(y.viewModel, y.programTheme)
|
|
80
80
|
}) : T ? /* @__PURE__ */ (0, g.jsx)(m, {
|
|
81
81
|
fieldId: "low-income",
|
|
82
|
-
value: T.find((
|
|
82
|
+
value: T.find((e) => e.value === (t && t.value)),
|
|
83
83
|
refId: "organization",
|
|
84
84
|
onChange: (e) => D(e, i),
|
|
85
85
|
placeholder: p || o.formatHTMLMessage({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LowIncomeOrganizationComponent-
|
|
1
|
+
{"version":3,"file":"LowIncomeOrganizationComponent-DPu10icr.js","names":[],"sources":["../../src/components/FormFields/EBTCardNumber/EBTCardNumberComponent.tsx","../../src/components/FormFields/LowIncomeOrganization/LowIncomeOrganizationComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldText } from \"../FormFieldText/FormFieldText\";\n\nexport const EBTCardNumber = ({\n value,\n isErrored,\n onChange,\n intl,\n placeholder = \"\",\n disabled = false,\n}: FormFieldComponentProps) => {\n const isFieldHidden = getFieldConfigByFieldId(\"ebtCardNumber\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldText\n fieldId=\"ebtCardNumber\"\n value={value}\n onChange={onChange}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({\n id: \"ebtCardNumberPlaceholder\",\n defaultMessage: \"EBT card Number\",\n })\n }\n label={<FormattedHTMLMessage id=\"ebtCardNumber\" defaultMessage=\"EBT card Number\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidEBTCardNumber\"\n defaultMessage=\"Invalid EBT Card Number\"\n />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n disabled={disabled}\n />\n );\n};\n\nexport const EBTCardNumberComponent = injectIntl(EBTCardNumber);\n","import React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport produce from \"immer\";\n\nimport { logger } from \"@jslib/shared/utils/logger\";\n\nimport {\n type FormSelectChoice,\n type FormFieldComponentProps,\n type LowIncomePersonalInfoViewModel,\n type Organization,\n} from \"../../../lib/types/types\";\nimport { FormFieldInputSelect } from \"../FormFieldInputSelect/FormFieldInputSelect\";\nimport { LoadingSpinnerComponent } from \"../../LoadingSpinner/LoadingSpinnerComponent\";\nimport { getOrgSearchUrl } from \"../../../lib/ProgramTheme/programThemeGetters\";\nimport { fetchOrganization } from \"../../../lib/ServerApi/OrganizationApiClient\";\nimport {\n getFieldConfigByFieldId,\n orgToOption,\n} from \"../../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { FormFieldTypeahead } from \"../FormFieldTypeahead/FormFieldTypeahead\";\nimport { isLowIncomeVM } from \"../../StepLowIncomePersonalInfo/lowIncomeTypes\";\n\nexport const LowIncomeOrganization = ({\n value,\n isErrored,\n onChange,\n intl,\n placeholder = \"\",\n isRequired = false,\n verificationService,\n disabled = false,\n}: FormFieldComponentProps) => {\n const { viewModel, programTheme, fieldValidationErrors } = verificationService;\n\n if (!isLowIncomeVM(viewModel)) {\n logger.error(\"Expected low-income view model is malformed\");\n return null;\n }\n\n const selectedStatus = viewModel.statuses[0] ? viewModel.statuses[0] : undefined;\n const [otherGovAssistOrgs, setOtherGovAssistOrgs] = React.useState<\n FormSelectChoice[] | undefined\n >();\n\n React.useEffect(() => {\n fetchOrganization(\n getOrgSearchUrl(\n produce(viewModel, (draft: LowIncomePersonalInfoViewModel) => {\n draft.statuses = [\"OTHER_GOVERNMENT_ASSISTANCE\"]; // load and cache orgs for OTHER_GOVERNMENT_ASSISTANCE as it is a InputSelect and the list of options doesn't change\n }),\n programTheme,\n ),\n )\n .then((orgList: Organization[]) => {\n if (orgList) {\n let newOrganizations: Organization[] = orgList;\n\n if (viewModel.countryChoice) {\n newOrganizations = orgList.filter(\n (org) => org.country === viewModel.countryChoice.value,\n );\n }\n setOtherGovAssistOrgs(newOrganizations.map(orgToOption));\n }\n })\n .catch((e) => {\n logger.error(e);\n });\n }, []);\n\n const handleStateChange = (selectedOrgOption: FormSelectChoice, onStateChange: Function) => {\n if (selectedOrgOption) {\n onStateChange({\n id: selectedOrgOption.value,\n name: selectedOrgOption.label,\n });\n } else {\n onStateChange({\n id: 0,\n name: \"\",\n });\n }\n };\n\n const isFieldHidden = getFieldConfigByFieldId(\"organization\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n if (selectedStatus === \"COMMUNITY_ELIGIBILITY_PROVISION\") {\n return (\n <FormFieldTypeahead\n fieldId=\"cep-organization\"\n value={viewModel.organization}\n verificationService={verificationService}\n onChange={onChange}\n placeholder={intl.formatHTMLMessage({\n id: \"schoolNamePlaceholder\",\n defaultMessage: \"School name\",\n })}\n label={<FormattedHTMLMessage id=\"schoolName\" defaultMessage=\"School name\" />}\n errorMessage={\n !!fieldValidationErrors.organization && (\n <FormattedHTMLMessage\n id=\"errorId.invalidOrganization\"\n defaultMessage=\"You must select an organization from the list\"\n />\n )\n }\n isRequired={selectedStatus === \"COMMUNITY_ELIGIBILITY_PROVISION\"}\n disabled={disabled}\n orgSearchUrl={getOrgSearchUrl(\n verificationService.viewModel,\n verificationService.programTheme,\n )}\n />\n );\n }\n\n return otherGovAssistOrgs ? (\n <FormFieldInputSelect\n fieldId=\"low-income\"\n value={otherGovAssistOrgs.find((option) => option.value === (value && value.value))}\n refId=\"organization\"\n onChange={(organization: FormSelectChoice) => handleStateChange(organization, onChange)}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({\n id: \"lowIncomeOrganizationPlaceholder\",\n defaultMessage: \"Government Assistance Program\",\n })\n }\n label={\n <FormattedHTMLMessage\n id=\"lowIncomeOrganization\"\n defaultMessage=\"Government Assistance Program\"\n />\n }\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidOrganization\"\n defaultMessage=\"You must select an organization from the list\"\n />\n )\n }\n isRequired={isRequired}\n showPlaceholderAndHideLabel={!!placeholder}\n options={otherGovAssistOrgs}\n containerId=\"sid-low-income-id\"\n disabled={disabled}\n />\n ) : (\n <LoadingSpinnerComponent />\n );\n};\n\nexport const LowIncomeOrganizationComponent = injectIntl(LowIncomeOrganization);\n"],"mappings":";;;;;;;;;aAgDa,IAAyB,GAzCR,EAC5B,UACA,cACA,aACA,SACA,iBAAc,IACd,cAAW,SAEW,EAAwB,eAAe,GAAG,SAGvD,OAIP,iBAAA,GAAA,EAAA,KAAC,GAAD;CACE,SAAQ;CACD;CACG;CACV,aACE,KACA,EAAK,kBAAkB;EACrB,IAAI;EACJ,gBAAgB;CAClB,CAAC;CAEH,OAAO,iBAAA,GAAA,EAAA,KAAC,GAAD;EAAsB,IAAG;EAAgB,gBAAe;CAAmB,CAAA;CAClF,cACE,KACE,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,IAAG;EACH,gBAAe;CAChB,CAAA;CAGL,6BAA6B,CAAC,CAAC;CACrB;AACX,CAAA,CAIyD,kCC+GjD,IAAiC,GAxIR,EACpC,UACA,cACA,aACA,SACA,iBAAc,IACd,gBAAa,IACb,wBACA,cAAW,SACkB;CAC7B,IAAM,EAAE,cAAW,iBAAc,6BAA0B;CAE3D,IAAI,CAAC,EAAc,CAAS,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