@sheerid/jslib-nightly 2.286.0-alpha.2 → 2.287.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 +44 -44
- package/chunk/{AddressComponent-CEvgEQMA.js → AddressComponent-B5eAINS_.js} +8 -8
- package/chunk/{AddressComponent-CEvgEQMA.js.map → AddressComponent-B5eAINS_.js.map} +1 -1
- package/chunk/{AddressComponent-fSIQCSHy.js → AddressComponent-BX0jgUls.js} +8 -8
- package/chunk/{AddressComponent-fSIQCSHy.js.map → AddressComponent-BX0jgUls.js.map} +1 -1
- package/chunk/{AnnouncingHeader-Cm6ysN0V.js → AnnouncingHeader-B0Ku-xl_.js} +6 -6
- package/chunk/{AnnouncingHeader-Cm6ysN0V.js.map → AnnouncingHeader-B0Ku-xl_.js.map} +1 -1
- package/chunk/{AnnouncingHeader-yslSIrZR.js → AnnouncingHeader-CXTQdbKG.js} +6 -6
- package/chunk/{AnnouncingHeader-yslSIrZR.js.map → AnnouncingHeader-CXTQdbKG.js.map} +1 -1
- package/chunk/{ApiUrls-Zdy0p875.js → ApiUrls-ol4IjBVl.js} +6 -6
- package/chunk/{ApiUrls-Zdy0p875.js.map → ApiUrls-ol4IjBVl.js.map} +1 -1
- package/chunk/{ApiUrls-DT6YDZwO.js → ApiUrls-qObYCkBX.js} +6 -6
- package/chunk/{ApiUrls-DT6YDZwO.js.map → ApiUrls-qObYCkBX.js.map} +1 -1
- package/chunk/{BirthDateComponent-COBjAdFk.js → BirthDateComponent-C3dciAx3.js} +8 -8
- package/chunk/{BirthDateComponent-COBjAdFk.js.map → BirthDateComponent-C3dciAx3.js.map} +1 -1
- package/chunk/{BirthDateComponent-Dv6hU22_.js → BirthDateComponent-H5HznEwd.js} +8 -8
- package/chunk/{BirthDateComponent-Dv6hU22_.js.map → BirthDateComponent-H5HznEwd.js.map} +1 -1
- package/chunk/{CaptchaComponent-Dtr_Cbvu.js → CaptchaComponent-Bas7iNWQ.js} +15 -15
- package/chunk/{CaptchaComponent-3qiTIduG.js.map → CaptchaComponent-Bas7iNWQ.js.map} +1 -1
- package/chunk/{CaptchaComponent-3qiTIduG.js → CaptchaComponent-Diu_--ln.js} +15 -15
- package/chunk/{CaptchaComponent-Dtr_Cbvu.js.map → CaptchaComponent-Diu_--ln.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-B4Tlnh2U.js → ChangeLocaleComponent-9Y4SphUw.js} +9 -9
- package/chunk/{ChangeLocaleComponent-B4Tlnh2U.js.map → ChangeLocaleComponent-9Y4SphUw.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-jMvrJEW-.js → ChangeLocaleComponent-FJyzBxaT.js} +9 -9
- package/chunk/{ChangeLocaleComponent-jMvrJEW-.js.map → ChangeLocaleComponent-FJyzBxaT.js.map} +1 -1
- package/chunk/{City-BIL97VTt.js → City-BKbamDaP.js} +8 -8
- package/chunk/{City-BIL97VTt.js.map → City-BKbamDaP.js.map} +1 -1
- package/chunk/{City-xUKTZJTo.js → City-Ca9g2hnZ.js} +8 -8
- package/chunk/{City-xUKTZJTo.js.map → City-Ca9g2hnZ.js.map} +1 -1
- package/chunk/{CollegeNameComponent-OwBwjKji.js → CollegeNameComponent-CGVtD-y7.js} +10 -10
- package/chunk/{CollegeNameComponent-Hnhr9YwU.js.map → CollegeNameComponent-CGVtD-y7.js.map} +1 -1
- package/chunk/{CollegeNameComponent-Hnhr9YwU.js → CollegeNameComponent-FGIW65gB.js} +10 -10
- package/chunk/{CollegeNameComponent-OwBwjKji.js.map → CollegeNameComponent-FGIW65gB.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-BvzDoXkd.js → CopyToClipboardComponent-BAOwMLHJ.js} +28 -27
- package/chunk/CopyToClipboardComponent-BAOwMLHJ.js.map +1 -0
- package/chunk/{CopyToClipboardComponent-CHdDPJEa.js → CopyToClipboardComponent-BejK3fLR.js} +28 -27
- package/chunk/CopyToClipboardComponent-BejK3fLR.js.map +1 -0
- package/chunk/{CountryComponentWrapper-B1wLa3TB.js → CountryComponentWrapper-D80nVtWG.js} +16 -16
- package/chunk/{CountryComponentWrapper-B1wLa3TB.js.map → CountryComponentWrapper-D80nVtWG.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-DhAq6SAW.js → CountryComponentWrapper-DVpRUMxT.js} +16 -16
- package/chunk/{CountryComponentWrapper-DhAq6SAW.js.map → CountryComponentWrapper-DVpRUMxT.js.map} +1 -1
- package/chunk/{DischargeDateComponent-CjUKk-H2.js → DischargeDateComponent-CmkIWUkY.js} +15 -15
- package/chunk/{DischargeDateComponent-CAtYqcPo.js.map → DischargeDateComponent-CmkIWUkY.js.map} +1 -1
- package/chunk/{DischargeDateComponent-CAtYqcPo.js → DischargeDateComponent-KHotEkM_.js} +15 -15
- package/chunk/{DischargeDateComponent-CjUKk-H2.js.map → DischargeDateComponent-KHotEkM_.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-BNd8xL27.js → DriverLicenseNumberComponent-51I57PrX.js} +8 -8
- package/chunk/{DriverLicenseNumberComponent-B877KIX3.js.map → DriverLicenseNumberComponent-51I57PrX.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-B877KIX3.js → DriverLicenseNumberComponent-BPTZ3YCP.js} +8 -8
- package/chunk/{DriverLicenseNumberComponent-BNd8xL27.js.map → DriverLicenseNumberComponent-BPTZ3YCP.js.map} +1 -1
- package/chunk/{EmailLoopPending-CUKvLcJV.js → EmailLoopPending-BA_s5Mka.js} +11 -11
- package/chunk/{EmailLoopPending-CUKvLcJV.js.map → EmailLoopPending-BA_s5Mka.js.map} +1 -1
- package/chunk/{EmailLoopPending-uBm7ltwg.js → EmailLoopPending-D0NtDW9P.js} +11 -11
- package/chunk/{EmailLoopPending-uBm7ltwg.js.map → EmailLoopPending-D0NtDW9P.js.map} +1 -1
- package/chunk/{ExtraMessage-OwXiBnCM.js → ExtraMessage-DE-G2A6f.js} +7 -7
- package/chunk/{ExtraMessage-Bx2shBsO.js.map → ExtraMessage-DE-G2A6f.js.map} +1 -1
- package/chunk/{ExtraMessage-Bx2shBsO.js → ExtraMessage-avw7s1h3.js} +7 -7
- package/chunk/{ExtraMessage-OwXiBnCM.js.map → ExtraMessage-avw7s1h3.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-Gj4VL7DI.js → FirstResponderOrganizationComponent-D8PWm5LF.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-BtSgJTlK.js.map → FirstResponderOrganizationComponent-D8PWm5LF.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-BtSgJTlK.js → FirstResponderOrganizationComponent-LcdE0Dfk.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-Gj4VL7DI.js.map → FirstResponderOrganizationComponent-LcdE0Dfk.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-C2JbVtSi.js → FormFieldInputSelect-BjJQMfE5.js} +7 -7
- package/chunk/{FormFieldInputSelect-0RWaXUZ0.js.map → FormFieldInputSelect-BjJQMfE5.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-0RWaXUZ0.js → FormFieldInputSelect-C_6HBdJ7.js} +7 -7
- package/chunk/{FormFieldInputSelect-C2JbVtSi.js.map → FormFieldInputSelect-C_6HBdJ7.js.map} +1 -1
- package/chunk/{FormFieldLayout-Ci7MzpgW.js → FormFieldLayout-DEKIQK2R.js} +6 -6
- package/chunk/{FormFieldLayout-C6rbRhh0.js.map → FormFieldLayout-DEKIQK2R.js.map} +1 -1
- package/chunk/{FormFieldLayout-C6rbRhh0.js → FormFieldLayout-NkmhFC9B.js} +6 -6
- package/chunk/{FormFieldLayout-Ci7MzpgW.js.map → FormFieldLayout-NkmhFC9B.js.map} +1 -1
- package/chunk/{FormFieldText-blykeSRX.js → FormFieldText-Bn9WIKiI.js} +7 -7
- package/chunk/{FormFieldText-Dx92JsxR.js.map → FormFieldText-Bn9WIKiI.js.map} +1 -1
- package/chunk/{FormFieldText-Dx92JsxR.js → FormFieldText-Py7x4EZ6.js} +7 -7
- package/chunk/{FormFieldText-blykeSRX.js.map → FormFieldText-Py7x4EZ6.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-DIhWUSSE.js → FormFieldTypeahead-Bx3K_8cN.js} +13 -13
- package/chunk/{FormFieldTypeahead-DIhWUSSE.js.map → FormFieldTypeahead-Bx3K_8cN.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-Fu_3FlXg.js → FormFieldTypeahead-CyI4wYc-.js} +13 -13
- package/chunk/{FormFieldTypeahead-Fu_3FlXg.js.map → FormFieldTypeahead-CyI4wYc-.js.map} +1 -1
- package/chunk/{FormFooterComponent-DYBSB7Oh.js → FormFooterComponent-B7fxKAhI.js} +13 -13
- package/chunk/{FormFooterComponent-DYBSB7Oh.js.map → FormFooterComponent-B7fxKAhI.js.map} +1 -1
- package/chunk/{FormFooterComponent-C68F5kaP.js → FormFooterComponent-BprB7621.js} +13 -13
- package/chunk/{FormFooterComponent-C68F5kaP.js.map → FormFooterComponent-BprB7621.js.map} +1 -1
- package/chunk/{FormSelectChoice-XdFgcHCe.js → FormSelectChoice-ClCU5Lc5.js} +8 -8
- package/chunk/{FormSelectChoice-LqM1ihM5.js.map → FormSelectChoice-ClCU5Lc5.js.map} +1 -1
- package/chunk/{FormSelectChoice-LqM1ihM5.js → FormSelectChoice-Dh__kjxg.js} +8 -8
- package/chunk/{FormSelectChoice-XdFgcHCe.js.map → FormSelectChoice-Dh__kjxg.js.map} +1 -1
- package/chunk/{InputText-C79edroa.js → InputText-CMu4ei8e.js} +6 -6
- package/chunk/{InputText-C79edroa.js.map → InputText-CMu4ei8e.js.map} +1 -1
- package/chunk/{InputText-GzAnMGCC.js → InputText-dflyPe3J.js} +6 -6
- package/chunk/{InputText-GzAnMGCC.js.map → InputText-dflyPe3J.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-DnfCid0C.js → LicensedProfessionalOrganizationComponent-CNzUnqrq.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-NJR6sc0z.js.map → LicensedProfessionalOrganizationComponent-CNzUnqrq.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-NJR6sc0z.js → LicensedProfessionalOrganizationComponent-DUjw4wg8.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-DnfCid0C.js.map → LicensedProfessionalOrganizationComponent-DUjw4wg8.js.map} +1 -1
- package/chunk/{LogoComponent-EBhWWnBF.js → LogoComponent-BDhMcJvy.js} +6 -6
- package/chunk/{LogoComponent-88BDkLwD.js.map → LogoComponent-BDhMcJvy.js.map} +1 -1
- package/chunk/{LogoComponent-88BDkLwD.js → LogoComponent-DASXTR4v.js} +6 -6
- package/chunk/{LogoComponent-EBhWWnBF.js.map → LogoComponent-DASXTR4v.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-JbEkRbLK.js → LowIncomeOrganizationComponent-DNsHaaYQ.js} +15 -15
- package/chunk/{LowIncomeOrganizationComponent-BW3TNx8b.js.map → LowIncomeOrganizationComponent-DNsHaaYQ.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-BW3TNx8b.js → LowIncomeOrganizationComponent-Di8GqFcn.js} +15 -15
- package/chunk/{LowIncomeOrganizationComponent-JbEkRbLK.js.map → LowIncomeOrganizationComponent-Di8GqFcn.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-Cp4yUfxf.js → MedicalProfessionalOrganizationComponent-DQYVDeVz.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-Cp4yUfxf.js.map → MedicalProfessionalOrganizationComponent-DQYVDeVz.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-B3QspdhP.js → MedicalProfessionalOrganizationComponent-F5DaG4Sw.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-B3QspdhP.js.map → MedicalProfessionalOrganizationComponent-F5DaG4Sw.js.map} +1 -1
- package/chunk/{MemberIdComponent-UMnfxBez.js → MemberIdComponent-B0Y8uQ5K.js} +8 -8
- package/chunk/{MemberIdComponent-UMnfxBez.js.map → MemberIdComponent-B0Y8uQ5K.js.map} +1 -1
- package/chunk/{MemberIdComponent-cwxA9cHM.js → MemberIdComponent-B2eCH51_.js} +8 -8
- package/chunk/{MemberIdComponent-cwxA9cHM.js.map → MemberIdComponent-B2eCH51_.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-Vhp79C62.js → MembershipOrganizationComponent-DKs3_Cjf.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-BkWW4Yeo.js.map → MembershipOrganizationComponent-DKs3_Cjf.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-BkWW4Yeo.js → MembershipOrganizationComponent-Lwp4zROw.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-Vhp79C62.js.map → MembershipOrganizationComponent-Lwp4zROw.js.map} +1 -1
- package/chunk/{Message-DJBqbWrp.js → Message-BTaP_P7J.js} +10 -10
- package/chunk/{Message-DJBqbWrp.js.map → Message-BTaP_P7J.js.map} +1 -1
- package/chunk/{Message-BunzH7fa.js → Message-BdW9Sgcn.js} +10 -10
- package/chunk/{Message-BunzH7fa.js.map → Message-BdW9Sgcn.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-DZaG_Bd6.js → PersonalInfoStepSubmitButton-75e6wHAD.js} +15 -15
- package/chunk/{PersonalInfoStepSubmitButton-C4NAU26j.js.map → PersonalInfoStepSubmitButton-75e6wHAD.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-C4NAU26j.js → PersonalInfoStepSubmitButton-C8bnmojJ.js} +15 -15
- package/chunk/{PersonalInfoStepSubmitButton-DZaG_Bd6.js.map → PersonalInfoStepSubmitButton-C8bnmojJ.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-BgmoL6ee.js → PersonalInfoStepWrapper-B4Lo-i6j.js} +8 -8
- package/chunk/{PersonalInfoStepWrapper-BgmoL6ee.js.map → PersonalInfoStepWrapper-B4Lo-i6j.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-Dlmhjo6N.js → PersonalInfoStepWrapper-grvDK4pu.js} +7 -7
- package/chunk/{PersonalInfoStepWrapper-Dlmhjo6N.js.map → PersonalInfoStepWrapper-grvDK4pu.js.map} +1 -1
- package/chunk/{PostalCodeComponent-CPZfUESZ.js → PostalCodeComponent-DZKBbfzI.js} +8 -8
- package/chunk/{PostalCodeComponent-CPZfUESZ.js.map → PostalCodeComponent-DZKBbfzI.js.map} +1 -1
- package/chunk/{PostalCodeComponent-VDfukHbY.js → PostalCodeComponent-uywldAa4.js} +8 -8
- package/chunk/{PostalCodeComponent-VDfukHbY.js.map → PostalCodeComponent-uywldAa4.js.map} +1 -1
- package/chunk/{SSN-B67W8oLs.js → SSN-CXXqvJti.js} +8 -8
- package/chunk/{SSN-B67W8oLs.js.map → SSN-CXXqvJti.js.map} +1 -1
- package/chunk/{SSN-BVh7Dhuk.js → SSN-Cvn_3Oxv.js} +8 -8
- package/chunk/{SSN-BVh7Dhuk.js.map → SSN-Cvn_3Oxv.js.map} +1 -1
- package/chunk/StateSelectComponent-BDtt7Vys.js +38 -0
- package/chunk/StateSelectComponent-BDtt7Vys.js.map +1 -0
- package/chunk/StateSelectComponent-CQVlBnFd.js +42 -0
- package/chunk/StateSelectComponent-CQVlBnFd.js.map +1 -0
- package/chunk/{StatusComponent-CqF9cCjU.js → StatusComponent-CzvTJXEe.js} +9 -9
- package/chunk/{StatusComponent-CqF9cCjU.js.map → StatusComponent-CzvTJXEe.js.map} +1 -1
- package/chunk/{StatusComponent-DU8VVzqB.js → StatusComponent-QdCFsSuE.js} +9 -9
- package/chunk/{StatusComponent-DU8VVzqB.js.map → StatusComponent-QdCFsSuE.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-X8ebAelC.js → StepAgePersonalInfo-C57P-2UU.js} +41 -41
- package/chunk/{StepAgePersonalInfo-CDNNfePx.js.map → StepAgePersonalInfo-C57P-2UU.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-CDNNfePx.js → StepAgePersonalInfo-CCZtMg_C.js} +41 -41
- package/chunk/{StepAgePersonalInfo-X8ebAelC.js.map → StepAgePersonalInfo-CCZtMg_C.js.map} +1 -1
- package/chunk/{StepCard-DXc8h6Xb.js → StepCard-DQ9JkAjb.js} +5 -5
- package/chunk/{StepCard-D3V6UR1D.js.map → StepCard-DQ9JkAjb.js.map} +1 -1
- package/chunk/{StepCard-D3V6UR1D.js → StepCard-EHeqFY3Y.js} +5 -5
- package/chunk/{StepCard-DXc8h6Xb.js.map → StepCard-EHeqFY3Y.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-DjHVmRka.js → StepCollectIdentifier-D42gq2YF.js} +11 -11
- package/chunk/{StepCollectIdentifier-DjHVmRka.js.map → StepCollectIdentifier-D42gq2YF.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-pFxNA5-S.js → StepCollectIdentifier-DQVT7GsN.js} +11 -11
- package/chunk/{StepCollectIdentifier-pFxNA5-S.js.map → StepCollectIdentifier-DQVT7GsN.js.map} +1 -1
- package/chunk/StepCollectMilitaryPersonalInfoComponent-BDYBC-PI.js +250 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-BDYBC-PI.js.map +1 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-uZswkFAe.js +246 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-uZswkFAe.js.map +1 -0
- package/chunk/StepCollectPersonalInfo-Dg4eJobW.js +369 -0
- package/chunk/StepCollectPersonalInfo-Dg4eJobW.js.map +1 -0
- package/chunk/StepCollectPersonalInfo-R283bSjW.js +373 -0
- package/chunk/StepCollectPersonalInfo-R283bSjW.js.map +1 -0
- package/chunk/{StepCompleteAuthentication-Bi-I4iQd.js → StepCompleteAuthentication-DmkwcwhP.js} +9 -9
- package/chunk/{StepCompleteAuthentication-Bi-I4iQd.js.map → StepCompleteAuthentication-DmkwcwhP.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-nlgzsvQo.js → StepCompleteAuthentication-oWf-NQ40.js} +9 -9
- package/chunk/{StepCompleteAuthentication-nlgzsvQo.js.map → StepCompleteAuthentication-oWf-NQ40.js.map} +1 -1
- package/chunk/{StepConsolation-Ctfums38.js → StepConsolation-CA7jRR16.js} +17 -19
- package/chunk/StepConsolation-CA7jRR16.js.map +1 -0
- package/chunk/{StepConsolation-C8l0AsAN.js → StepConsolation-Dkgvb8lc.js} +17 -19
- package/chunk/StepConsolation-Dkgvb8lc.js.map +1 -0
- package/chunk/{StepDocUpload-B6U1kt-J.js → StepDocUpload-Czv8xkNJ.js} +13 -13
- package/chunk/{StepDocUpload-B6U1kt-J.js.map → StepDocUpload-Czv8xkNJ.js.map} +1 -1
- package/chunk/{StepDocUpload-u87pI7B5.js → StepDocUpload-yORpP9JN.js} +13 -13
- package/chunk/{StepDocUpload-u87pI7B5.js.map → StepDocUpload-yORpP9JN.js.map} +1 -1
- package/chunk/StepDriverLicensePersonalInfoComponent-BnB2TLuM.js +146 -0
- package/chunk/StepDriverLicensePersonalInfoComponent-BnB2TLuM.js.map +1 -0
- package/chunk/StepDriverLicensePersonalInfoComponent-Do--Ecsk.js +142 -0
- package/chunk/StepDriverLicensePersonalInfoComponent-Do--Ecsk.js.map +1 -0
- package/chunk/{StepEmailLoop-LNvZO2lA.js → StepEmailLoop-DGCXUZlQ.js} +13 -13
- package/chunk/{StepEmailLoop-LNvZO2lA.js.map → StepEmailLoop-DGCXUZlQ.js.map} +1 -1
- package/chunk/{StepEmailLoop-Bep5IjIv.js → StepEmailLoop-DyYmmWou.js} +13 -13
- package/chunk/{StepEmailLoop-Bep5IjIv.js.map → StepEmailLoop-DyYmmWou.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-C1dWVX-m.js → StepEmploymentPersonalInfo-BKiTall_.js} +64 -63
- package/chunk/StepEmploymentPersonalInfo-BKiTall_.js.map +1 -0
- package/chunk/{StepEmploymentPersonalInfo-D9mQOTuf.js → StepEmploymentPersonalInfo-CUQROBSN.js} +64 -63
- package/chunk/StepEmploymentPersonalInfo-CUQROBSN.js.map +1 -0
- package/chunk/{StepFirstResponderPersonalInfo-DlUpQoEU.js → StepFirstResponderPersonalInfo-B4zUkIKg.js} +34 -34
- package/chunk/{StepFirstResponderPersonalInfo-CT1gRYaq.js.map → StepFirstResponderPersonalInfo-B4zUkIKg.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-CT1gRYaq.js → StepFirstResponderPersonalInfo-DvxR1yyx.js} +34 -34
- package/chunk/{StepFirstResponderPersonalInfo-DlUpQoEU.js.map → StepFirstResponderPersonalInfo-DvxR1yyx.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-1-z8c41b.js → StepGeneralIdentityPersonalInfoComponent-Bzlgt2jx.js} +62 -70
- package/chunk/StepGeneralIdentityPersonalInfoComponent-Bzlgt2jx.js.map +1 -0
- package/chunk/StepGeneralIdentityPersonalInfoComponent-CmgvtAGS.js +175 -0
- package/chunk/StepGeneralIdentityPersonalInfoComponent-CmgvtAGS.js.map +1 -0
- package/chunk/StepHybridIdentityPersonalInfoComponent-B4LBkBb9.js +184 -0
- package/chunk/StepHybridIdentityPersonalInfoComponent-B4LBkBb9.js.map +1 -0
- package/chunk/StepHybridIdentityPersonalInfoComponent-CTeNJ_9b.js +188 -0
- package/chunk/StepHybridIdentityPersonalInfoComponent-CTeNJ_9b.js.map +1 -0
- package/chunk/{StepIDCheckLoop-C_8ZbGg3.js → StepIDCheckLoop-B9TJ2Dba.js} +8 -8
- package/chunk/{StepIDCheckLoop-C_8ZbGg3.js.map → StepIDCheckLoop-B9TJ2Dba.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-B4XZRie5.js → StepIDCheckLoop-ti0ZOEGu.js} +8 -8
- package/chunk/{StepIDCheckLoop-B4XZRie5.js.map → StepIDCheckLoop-ti0ZOEGu.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-xcgqvCT4.js → StepIDCheckLoopOnfido-Bd0rkZZ7.js} +11 -11
- package/chunk/{StepIDCheckLoopOnfido-xcgqvCT4.js.map → StepIDCheckLoopOnfido-Bd0rkZZ7.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-DHJ1eACS.js → StepIDCheckLoopOnfido-ubJ6feL4.js} +11 -11
- package/chunk/{StepIDCheckLoopOnfido-DHJ1eACS.js.map → StepIDCheckLoopOnfido-ubJ6feL4.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-DHBybeFp.js → StepIDCheckLoopRegula-CazRqxyJ.js} +11 -11
- package/chunk/{StepIDCheckLoopRegula-BKzknlsH.js.map → StepIDCheckLoopRegula-CazRqxyJ.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-BKzknlsH.js → StepIDCheckLoopRegula-CmncRiW6.js} +11 -11
- package/chunk/{StepIDCheckLoopRegula-DHBybeFp.js.map → StepIDCheckLoopRegula-CmncRiW6.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-BNua2Voe.js → StepLicensedProfessionalPersonalInfo-1wChhYZu.js} +34 -34
- package/chunk/{StepLicensedProfessionalPersonalInfo-BNua2Voe.js.map → StepLicensedProfessionalPersonalInfo-1wChhYZu.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-DxzL7PKs.js → StepLicensedProfessionalPersonalInfo-B3-E22Mw.js} +34 -34
- package/chunk/{StepLicensedProfessionalPersonalInfo-DxzL7PKs.js.map → StepLicensedProfessionalPersonalInfo-B3-E22Mw.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-ChHOr4Dn.js → StepLowIncomePersonalInfo-B0tw7uDV.js} +70 -69
- package/chunk/StepLowIncomePersonalInfo-B0tw7uDV.js.map +1 -0
- package/chunk/{StepLowIncomePersonalInfo-zPhDWXQu.js → StepLowIncomePersonalInfo-DT1jX62H.js} +71 -70
- package/chunk/StepLowIncomePersonalInfo-DT1jX62H.js.map +1 -0
- package/chunk/{StepMedicalProfessionalPersonalInfo-CenlDA7k.js → StepMedicalProfessionalPersonalInfo-C0z_WSeh.js} +35 -35
- package/chunk/{StepMedicalProfessionalPersonalInfo-CenlDA7k.js.map → StepMedicalProfessionalPersonalInfo-C0z_WSeh.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-DFjztEA9.js → StepMedicalProfessionalPersonalInfo-Dy5CTlLh.js} +35 -35
- package/chunk/{StepMedicalProfessionalPersonalInfo-DFjztEA9.js.map → StepMedicalProfessionalPersonalInfo-Dy5CTlLh.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-x4tfVQwF.js → StepMemberPersonalInfo-B27X1eX6.js} +37 -37
- package/chunk/{StepMemberPersonalInfo-CIrTZrzs.js.map → StepMemberPersonalInfo-B27X1eX6.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-CIrTZrzs.js → StepMemberPersonalInfo-CgmKNiea.js} +37 -37
- package/chunk/{StepMemberPersonalInfo-x4tfVQwF.js.map → StepMemberPersonalInfo-CgmKNiea.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-D9AupBvx.js → StepMoverPersonalInfo-CWSqewTD.js} +30 -30
- package/chunk/{StepMoverPersonalInfo-CJOQKMaw.js.map → StepMoverPersonalInfo-CWSqewTD.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-CJOQKMaw.js → StepMoverPersonalInfo-Cr9fuYAg.js} +30 -30
- package/chunk/{StepMoverPersonalInfo-D9AupBvx.js.map → StepMoverPersonalInfo-Cr9fuYAg.js.map} +1 -1
- package/chunk/{StepOverrideComponent-QsyKT4aZ.js → StepOverrideComponent-Cv_YKSqT.js} +12 -12
- package/chunk/{StepOverrideComponent-Bj7PAZ4Z.js.map → StepOverrideComponent-Cv_YKSqT.js.map} +1 -1
- package/chunk/{StepOverrideComponent-Bj7PAZ4Z.js → StepOverrideComponent-DpFC6eQo.js} +12 -12
- package/chunk/{StepOverrideComponent-QsyKT4aZ.js.map → StepOverrideComponent-DpFC6eQo.js.map} +1 -1
- package/chunk/{StepSMSLoop-Bmt8tVWk.js → StepSMSLoop-B-_E4tM_.js} +9 -9
- package/chunk/{StepSMSLoop-CzViaU2K.js.map → StepSMSLoop-B-_E4tM_.js.map} +1 -1
- package/chunk/{StepSMSLoop-CzViaU2K.js → StepSMSLoop-Ja0i_GoL.js} +9 -9
- package/chunk/{StepSMSLoop-Bmt8tVWk.js.map → StepSMSLoop-Ja0i_GoL.js.map} +1 -1
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-CxjWst3F.js → StepSocialSecurityNumber-CieWaLTm.js} +12 -12
- package/chunk/{StepSocialSecurityNumber-B-lac1dq.js.map → StepSocialSecurityNumber-CieWaLTm.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-B-lac1dq.js → StepSocialSecurityNumber-DzSsFNZG.js} +12 -12
- package/chunk/{StepSocialSecurityNumber-CxjWst3F.js.map → StepSocialSecurityNumber-DzSsFNZG.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-C19uuc35.js → StepStudentPersonalInfo-Db17XKs7.js} +42 -42
- package/chunk/{StepStudentPersonalInfo-BbNYLYQM.js.map → StepStudentPersonalInfo-Db17XKs7.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-BbNYLYQM.js → StepStudentPersonalInfo-RtCvMVyw.js} +42 -42
- package/chunk/{StepStudentPersonalInfo-C19uuc35.js.map → StepStudentPersonalInfo-RtCvMVyw.js.map} +1 -1
- package/chunk/{StepSuccess-BTjwSlUq.js → StepSuccess-BA_Lm04o.js} +83 -84
- package/chunk/StepSuccess-BA_Lm04o.js.map +1 -0
- package/chunk/{StepSuccess-B8GUwLl1.js → StepSuccess-Ceg-IRq0.js} +83 -84
- package/chunk/StepSuccess-Ceg-IRq0.js.map +1 -0
- package/chunk/{StepTeacherPersonalInfo-C2OKI-SB.js → StepTeacherPersonalInfo-CYUqKy-w.js} +36 -36
- package/chunk/{StepTeacherPersonalInfo-C2OKI-SB.js.map → StepTeacherPersonalInfo-CYUqKy-w.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-DrB0FfDl.js → StepTeacherPersonalInfo-gpUtUxsE.js} +36 -36
- package/chunk/{StepTeacherPersonalInfo-DrB0FfDl.js.map → StepTeacherPersonalInfo-gpUtUxsE.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-C6_Q1Hyc.js → TeacherSchoolComponent-CDX2J8qT.js} +10 -10
- package/chunk/{TeacherSchoolComponent-BGCYNyOF.js.map → TeacherSchoolComponent-CDX2J8qT.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-BGCYNyOF.js → TeacherSchoolComponent-lvtX6aEM.js} +10 -10
- package/chunk/{TeacherSchoolComponent-C6_Q1Hyc.js.map → TeacherSchoolComponent-lvtX6aEM.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-g0sNWumM.js → TestingRouteOverrides-EggQSvgh.js} +6 -6
- package/chunk/{TestingRouteOverrides-BJ6TzzV2.js.map → TestingRouteOverrides-EggQSvgh.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-BJ6TzzV2.js → TestingRouteOverrides-ipf_F-iY.js} +6 -6
- package/chunk/{TestingRouteOverrides-g0sNWumM.js.map → TestingRouteOverrides-ipf_F-iY.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/ar-D5CO913q.js +4 -4
- package/chunk/bg-1mhA5kYF.js +4 -4
- package/chunk/bn-IN-CpDqyRb_.js +4 -4
- package/chunk/clsx-CB5rauS5.js +4 -4
- package/chunk/{countryUtils-2xROZ0HR.js → countryUtils-BBN8jYxF.js} +5 -5
- package/chunk/{countryUtils-2xROZ0HR.js.map → countryUtils-BBN8jYxF.js.map} +1 -1
- package/chunk/countryUtils-n_5QoHGV.js +12 -0
- package/chunk/{countryUtils-BrbLtF3F.js.map → countryUtils-n_5QoHGV.js.map} +1 -1
- package/chunk/cs-Chh7FAGt.js +4 -4
- package/chunk/da-DwrVoxto.js +4 -4
- package/chunk/de-IWGZLhgY.js +4 -4
- package/chunk/{downshift.esm-DvaoY6u7.js → downshift.esm-Cz6Fmx7J.js} +7 -7
- package/chunk/{downshift.esm-DvaoY6u7.js.map → downshift.esm-Cz6Fmx7J.js.map} +1 -1
- package/chunk/{downshift.esm-CUJv4odi.js → downshift.esm-DnOxwk9V.js} +7 -7
- package/chunk/{downshift.esm-CUJv4odi.js.map → downshift.esm-DnOxwk9V.js.map} +1 -1
- package/chunk/el-DbDcvSPJ.js +4 -4
- package/chunk/{empties-DVYWFiU4.js → empties-DHI3R7ys.js} +5 -5
- package/chunk/{empties-CrGLsC5v.js.map → empties-DHI3R7ys.js.map} +1 -1
- package/chunk/{empties-CrGLsC5v.js → empties-Dhc64eA5.js} +5 -5
- package/chunk/{empties-DVYWFiU4.js.map → empties-Dhc64eA5.js.map} +1 -1
- package/chunk/en-GB-BBkjjtqq.js +4 -4
- package/chunk/es-ES-DWimqEZ_.js +4 -4
- package/chunk/es-qhC-seq5.js +4 -4
- package/chunk/et-yF9G-Mym.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BcdSf7og.js +4 -4
- package/chunk/fi-D-IP_KHm.js +4 -4
- package/chunk/fr-BmUuYxk0.js +4 -4
- package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
- package/chunk/ga-DuZycND3.js +4 -4
- package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
- package/chunk/{hooks-j2dPIOl1.js → hooks-BlwolTIT.js} +9 -8
- package/chunk/{hooks-Bl6VU6hP.js.map → hooks-BlwolTIT.js.map} +1 -1
- package/chunk/{hooks-Bl6VU6hP.js → hooks-gC9DtNY1.js} +9 -8
- package/chunk/{hooks-j2dPIOl1.js.map → hooks-gC9DtNY1.js.map} +1 -1
- package/chunk/hr-BtqyDzDB.js +4 -4
- package/chunk/hu-C6syKJfb.js +4 -4
- package/chunk/id-GgI-Z2a5.js +4 -4
- package/chunk/{intl-D0f52P7V.js → intl-CvSmE54g.js} +6 -6
- package/chunk/{intl-D0f52P7V.js.map → intl-CvSmE54g.js.map} +1 -1
- package/chunk/is-CvmKEON9.js +4 -4
- package/chunk/it-CnmveGgC.js +4 -4
- package/chunk/iw-DFUYHkxF.js +4 -4
- package/chunk/ja-CjVb2tWW.js +4 -4
- package/chunk/{jsx-runtime-ClghfwTa.js → jsx-runtime-CyXcV_93.js} +5 -5
- package/chunk/{jsx-runtime-ClghfwTa.js.map → jsx-runtime-CyXcV_93.js.map} +1 -1
- package/chunk/{jsx-runtime-FfARtXk2.js → jsx-runtime-JSlXFmKD.js} +5 -5
- package/chunk/{jsx-runtime-FfARtXk2.js.map → jsx-runtime-JSlXFmKD.js.map} +1 -1
- package/chunk/kk-Dvz4nK6K.js +4 -4
- package/chunk/ko-DzOqBMGC.js +4 -4
- package/chunk/lo-C2WPq55d.js +4 -4
- package/chunk/lt-BSDYvjTF.js +4 -4
- package/chunk/lv-CefDPT-M.js +4 -4
- package/chunk/mockProgramTheme-CBqgtg7A.js +4 -4
- package/chunk/{mocks-Baq-FHji.js → mocks-Dpf6dNc6.js} +5 -5
- package/chunk/{mocks-Baq-FHji.js.map → mocks-Dpf6dNc6.js.map} +1 -1
- package/chunk/{mocks-DLTwXwzM.js → mocks-DrV8NINc.js} +5 -5
- package/chunk/{mocks-DLTwXwzM.js.map → mocks-DrV8NINc.js.map} +1 -1
- package/chunk/ms-BjestZxy.js +4 -4
- package/chunk/nl-B1FyUfCT.js +4 -4
- package/chunk/nl-BE-CbeAd3nq.js +4 -4
- package/chunk/no-Dr633Ddi.js +4 -4
- package/chunk/{options-CvRaXPRs.js → options-CRzdSTAR.js} +6 -6
- package/chunk/{options-CvRaXPRs.js.map → options-CRzdSTAR.js.map} +1 -1
- package/chunk/pl-UYTjMIq_.js +4 -4
- package/chunk/{programThemeGetters-CQmR9Vit.js → programThemeGetters-DYWYXv-a.js} +5 -5
- package/chunk/{programThemeGetters-CQmR9Vit.js.map → programThemeGetters-DYWYXv-a.js.map} +1 -1
- package/chunk/{programThemeGetters-Bhp4oSEn.js → programThemeGetters-VBnkSxuj.js} +5 -5
- package/chunk/{programThemeGetters-Bhp4oSEn.js.map → programThemeGetters-VBnkSxuj.js.map} +1 -1
- package/chunk/pt-BR-C8SYMT-J.js +4 -4
- package/chunk/pt-uH-M3GdN.js +4 -4
- package/chunk/refs-Mq0rtW9K.js +4 -4
- package/chunk/ro-CAOSXZ7h.js +4 -4
- package/chunk/ru-iwYoEydL.js +4 -4
- package/chunk/runtimeTypes-B2AGNJMT.js +4 -4
- package/chunk/sk-DYYNV3zw.js +4 -4
- package/chunk/sl-D_-eeM5N.js +4 -4
- package/chunk/sr-BTi9_anL.js +4 -4
- package/chunk/{stepComponentHelpers-BweXuNBz.js → stepComponentHelpers-BFyXhiWa.js} +46 -40
- package/chunk/stepComponentHelpers-BFyXhiWa.js.map +1 -0
- package/chunk/{stepComponentHelpers-CmZT1Man.js → stepComponentHelpers-CcEMtmwt.js} +46 -40
- package/chunk/stepComponentHelpers-CcEMtmwt.js.map +1 -0
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-DRwY4shG.js +4 -4
- package/chunk/sw-Bvj2mYmM.js +4 -4
- package/chunk/ta-CmtaYoNe.js +4 -4
- package/chunk/th-12r2yKkJ.js +4 -4
- package/chunk/tl-BGNfO7md.js +4 -4
- package/chunk/tr-DH2ZSJhs.js +4 -4
- package/chunk/uk-CELBZlTd.js +4 -4
- package/chunk/ur-MR8DTbmd.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-D15FcoFB.js → useCollectFieldsEndpoint-BjmY4OHG.js} +8 -8
- package/chunk/{useCollectFieldsEndpoint-D15FcoFB.js.map → useCollectFieldsEndpoint-BjmY4OHG.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-DV9zk9Je.js → useCollectFieldsEndpoint-C0CTHnra.js} +8 -8
- package/chunk/{useCollectFieldsEndpoint-DV9zk9Je.js.map → useCollectFieldsEndpoint-C0CTHnra.js.map} +1 -1
- package/chunk/{useMetrics-BEoV8Edp.js → useMetrics-C3KNudJk.js} +7 -7
- package/chunk/{useMetrics-BEoV8Edp.js.map → useMetrics-C3KNudJk.js.map} +1 -1
- package/chunk/{useMetrics-CRK2aOGa.js → useMetrics-Cjo0Vkjx.js} +7 -7
- package/chunk/{useMetrics-CRK2aOGa.js.map → useMetrics-Cjo0Vkjx.js.map} +1 -1
- package/chunk/vi-DtZ-SqD5.js +4 -4
- package/chunk/zh-DjyVyYac.js +4 -4
- package/chunk/zh-HK-CN1HarHq.js +4 -4
- package/chunk/zu-DPhgIh1z.js +4 -4
- package/package.json +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +4 -4
- package/sheerid.css +5 -5
- package/sheerid.js +44 -44
- package/chunk/CopyToClipboardComponent-BvzDoXkd.js.map +0 -1
- package/chunk/CopyToClipboardComponent-CHdDPJEa.js.map +0 -1
- package/chunk/StateSelectComponent-BG1HTtFx.js +0 -42
- package/chunk/StateSelectComponent-BG1HTtFx.js.map +0 -1
- package/chunk/StateSelectComponent-DSZEVrkF.js +0 -46
- package/chunk/StateSelectComponent-DSZEVrkF.js.map +0 -1
- package/chunk/StepCollectMilitaryPersonalInfoComponent-CQxkr8wE.js +0 -245
- package/chunk/StepCollectMilitaryPersonalInfoComponent-CQxkr8wE.js.map +0 -1
- package/chunk/StepCollectMilitaryPersonalInfoComponent-DhTY2O6C.js +0 -249
- package/chunk/StepCollectMilitaryPersonalInfoComponent-DhTY2O6C.js.map +0 -1
- package/chunk/StepCollectPersonalInfo-B_X0PZhC.js +0 -372
- package/chunk/StepCollectPersonalInfo-B_X0PZhC.js.map +0 -1
- package/chunk/StepCollectPersonalInfo-LiUa8Sv9.js +0 -368
- package/chunk/StepCollectPersonalInfo-LiUa8Sv9.js.map +0 -1
- package/chunk/StepConsolation-C8l0AsAN.js.map +0 -1
- package/chunk/StepConsolation-Ctfums38.js.map +0 -1
- package/chunk/StepDriverLicensePersonalInfoComponent-CZi9FjFw.js +0 -145
- package/chunk/StepDriverLicensePersonalInfoComponent-CZi9FjFw.js.map +0 -1
- package/chunk/StepDriverLicensePersonalInfoComponent-DhwEyS4H.js +0 -141
- package/chunk/StepDriverLicensePersonalInfoComponent-DhwEyS4H.js.map +0 -1
- package/chunk/StepEmploymentPersonalInfo-C1dWVX-m.js.map +0 -1
- package/chunk/StepEmploymentPersonalInfo-D9mQOTuf.js.map +0 -1
- package/chunk/StepGeneralIdentityPersonalInfoComponent-ARiVwAek.js +0 -174
- package/chunk/StepGeneralIdentityPersonalInfoComponent-ARiVwAek.js.map +0 -1
- package/chunk/StepGeneralIdentityPersonalInfoComponent-Z5qswwCp.js +0 -178
- package/chunk/StepGeneralIdentityPersonalInfoComponent-Z5qswwCp.js.map +0 -1
- package/chunk/StepHybridIdentityPersonalInfoComponent-1-z8c41b.js.map +0 -1
- package/chunk/StepHybridIdentityPersonalInfoComponent-BwxDwJVl.js +0 -183
- package/chunk/StepHybridIdentityPersonalInfoComponent-BwxDwJVl.js.map +0 -1
- package/chunk/StepLowIncomePersonalInfo-ChHOr4Dn.js.map +0 -1
- package/chunk/StepLowIncomePersonalInfo-zPhDWXQu.js.map +0 -1
- package/chunk/StepSuccess-B8GUwLl1.js.map +0 -1
- package/chunk/StepSuccess-BTjwSlUq.js.map +0 -1
- package/chunk/countryUtils-BrbLtF3F.js +0 -12
- package/chunk/stepComponentHelpers-BweXuNBz.js.map +0 -1
- package/chunk/stepComponentHelpers-CmZT1Man.js.map +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.287.0-alpha.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1789608200693
|
|
5
|
+
* BUILD_DATE: Thu Sep 17 2026 01:23:20 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 6fd856ef6c8333c8408563f4b448705da6f1af44
|
|
7
7
|
*/
|
|
8
|
-
import { Ot as e } from "./options-
|
|
9
|
-
import { c as t, n, t as r } from "./jsx-runtime-
|
|
10
|
-
import { n as i } from "./Message-
|
|
8
|
+
import { Ot as e } from "./options-CRzdSTAR.js";
|
|
9
|
+
import { c as t, n, t as r } from "./jsx-runtime-CyXcV_93.js";
|
|
10
|
+
import { n as i } from "./Message-BTaP_P7J.js";
|
|
11
11
|
import { S as a } from "./runtimeTypes-B2AGNJMT.js";
|
|
12
12
|
import { o } from "./refs-Mq0rtW9K.js";
|
|
13
13
|
import { F as s } from "../sheerid.js";
|
|
14
|
-
import { t as c } from "./downshift.esm-
|
|
14
|
+
import { t as c } from "./downshift.esm-DnOxwk9V.js";
|
|
15
15
|
//#region src/components/FormInputs/InputSelect/InputSelectList/InputSelectListComponent.tsx
|
|
16
16
|
var l = /* @__PURE__ */ e(t(), 1), u = r(), d = ({ getItemProps: e, getMenuProps: t, highlightedIndex: r, options: i, itemToString: a, ariaLabel: o, isOpen: c, isLoading: l = !1 }) => {
|
|
17
17
|
let d = (t, n) => /* @__PURE__ */ (0, u.jsx)("div", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormSelectChoice-LqM1ihM5.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 { useMessage } from \"@/components/Message\";\n\ninterface InputSelectButtonProps {\n clearSelection: () => void;\n getToggleButtonProps: any;\n isOpen: boolean;\n isClearable: boolean;\n disabled?: boolean;\n}\n\nexport const InputSelectButtonComponent = ({\n clearSelection,\n disabled,\n getToggleButtonProps,\n isOpen,\n isClearable,\n}: InputSelectButtonProps) => {\n const { msg } = useMessage();\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 ? msg({ id: \"clearAndOpenMenu\" }) : msg({ id: \"openMenu\" });\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","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\nexport const InputSelectComponent = ({\n className,\n inputId,\n disabled = false,\n fieldId,\n fieldLabelId,\n isErrored = false,\n options,\n onKeyDown,\n onChange,\n placeholder = \"\",\n // Most invokers want placeholder hidden by css, so it can be easily shown when\n // customizing the implementation. Birth date is an example of an exception.\n suppressPlaceholder = true,\n value,\n autoFocus,\n ariaLabel,\n ariaDescribedBy,\n isRequired,\n isLoading = false,\n role = \"combobox\",\n autoComplete,\n}: InputSelectProps) => {\n const [inputState, setInputState] = useState(\"\");\n const items = inputState ? filterOptions(options, inputState) : options;\n\n const {\n getInputProps,\n getItemProps,\n getMenuProps,\n getToggleButtonProps,\n highlightedIndex,\n isOpen,\n selectItem,\n } = useCombobox<FormSelectChoice>({\n id: inputId,\n items,\n onInputValueChange({ inputValue }) {\n setInputState(inputValue);\n },\n onSelectedItemChange: ({ selectedItem: newSelectedItem }) => onChange(newSelectedItem),\n itemToString,\n selectedItem: value && value.value && value.label ? value : null,\n defaultHighlightedIndex: 0,\n });\n\n const handleOnKeyDown = (event: React.KeyboardEvent<HTMLInputElement>) => {\n if (typeof onKeyDown === \"function\") {\n onKeyDown(event);\n }\n };\n\n const inputRef = useRef<HTMLInputElement>(null);\n\n // NOTE: Dependency array omitted to account for use of resetRef(), as useEffect with dep arr\n // will only trigger on initial render leaving the refs empty, this replicates prior version\n // where ref callback would trigger with each re-render\n useEffect(() => {\n setRef(fieldId, inputRef.current);\n });\n\n return (\n <div className={`sid-input-select-list ${className || \"\"}`}>\n <input\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...getInputProps({\n ref: inputRef,\n onKeyDown: (event) => handleOnKeyDown(event),\n \"aria-labelledby\": fieldLabelId,\n })}\n // TODO resolve next line. Product needs this to autofocus, but linter says bad for accessibility\n // eslint-disable-next-line\n autoFocus={autoFocus}\n id={inputId}\n className={`sid-l-full-width sid-text-input ${\n suppressPlaceholder ? \"sid-hidden-placeholder\" : \"\"\n } ${isErrored ? \"sid-text-input--error\" : \"\"}`}\n disabled={disabled}\n placeholder={placeholder}\n aria-required={isRequired}\n aria-describedby={ariaDescribedBy}\n aria-invalid={isErrored}\n role={role}\n autoComplete={autoComplete}\n />\n\n <InputSelectButtonComponent\n disabled={disabled}\n getToggleButtonProps={getToggleButtonProps}\n isOpen={isOpen}\n isClearable={!!value?.value}\n clearSelection={() => selectItem(undefined)}\n />\n\n <InputSelectListComponent\n highlightedIndex={highlightedIndex}\n itemToString={itemToString}\n options={items}\n getItemProps={getItemProps}\n getMenuProps={getMenuProps}\n ariaLabel={ariaLabel}\n isOpen={isOpen}\n isLoading={isLoading}\n />\n </div>\n );\n};\n","import { logger } from \"@jslib/shared/utils/logger\";\n\nimport { type MsgFunction } from \"@/components/Message/Message\";\nimport { type MessageId } from \"@/lib/intl/types\";\nimport { type FormSelectChoice } from \"@/lib/types/types\";\n\ntype compareLabelReturn = 1 | -1;\n\nexport const compareLabel = (\n a: FormSelectChoice<any>,\n b: FormSelectChoice<any>,\n): compareLabelReturn => {\n let sortValue: compareLabelReturn;\n\n try {\n sortValue = a.label.toUpperCase() > b.label.toUpperCase() ? 1 : -1;\n } catch (e) {\n sortValue = 1;\n }\n\n return sortValue;\n};\n\nexport const SortByLabel = (\n choices: FormSelectChoice<any, string>[],\n): FormSelectChoice<any, string>[] => choices.sort(compareLabel);\n\nexport const getFormFieldSelectOptions = (\n namespace: string,\n optionValues: string[] = [],\n msg: MsgFunction,\n): FormSelectChoice<string, string>[] => {\n const options: FormSelectChoice<string, string>[] = [];\n const omittedOptions: string[] = [];\n\n optionValues.forEach((value) => {\n if (typeof value === \"undefined\") return omittedOptions.push(\"undefined\");\n if (!value) return omittedOptions.push(JSON.stringify(value));\n if (typeof value === \"number\") return omittedOptions.push(JSON.stringify(value));\n if (typeof value === \"string\" && !value.trim())\n return omittedOptions.push(JSON.stringify(value));\n\n options.push({ value, label: msg({ id: `${namespace}.${value}` as MessageId }) });\n });\n\n if (omittedOptions.length > 0) {\n logger.warn(\n `FormSelectChoice.getFormFieldSelectOptions contains unexpected values (${\n omittedOptions.length\n }): ${omittedOptions.join(\", \")}`,\n );\n }\n\n return options;\n};\n"],"mappings":";;;;;;;;4CAmEA,KAnDA,EAAA,iBAAA,iBAAA,qBAAA,YAAA,iBAAA,cAAA,WAAA,eAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDA,GCvDa,KAA8B,EACzC,mBACA,aACA,yBACA,WACA,qBAC4B;CAC5B,IAAM,EAAE,WAAQ,EAAW,GACrB,EACJ,SAAS,GACT,iBAAiB,GACjB,eAAe,GACf,YACA,cACA,cACE,EAAqB;CAIzB,OACE,iBAAA,GAAA,EAAA,KAAC,UAAD;EACE,cAJ4B,EAAd,IAAkB,EAAE,IAAI,mBAAmB,IAAS,EAAE,IAAI,WAAW,CAAC;EAKpF,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,GC3CM,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,EAAW,YAAY,CAAC,CAEpE,GA0BI,KAAwB,EACnC,cACA,YACA,cAAW,IACX,YACA,iBACA,eAAY,I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,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;CAoBlC,OAlBA,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;GAAE;GAAO,OAAO,EAAI,EAAE,IAAI,GAAG,EAAU,GAAG,IAAqB,CAAC;EAAE,CAAC;CAClF,CAAC,GAEG,EAAe,SAAS,KAC1B,EAAO,KACL,0EACE,EAAe,OAChB,KAAK,EAAe,KAAK,IAAI,GAChC,GAGK;AACT"}
|
|
1
|
+
{"version":3,"file":"FormSelectChoice-ClCU5Lc5.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 { useMessage } from \"@/components/Message\";\n\ninterface InputSelectButtonProps {\n clearSelection: () => void;\n getToggleButtonProps: any;\n isOpen: boolean;\n isClearable: boolean;\n disabled?: boolean;\n}\n\nexport const InputSelectButtonComponent = ({\n clearSelection,\n disabled,\n getToggleButtonProps,\n isOpen,\n isClearable,\n}: InputSelectButtonProps) => {\n const { msg } = useMessage();\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 ? msg({ id: \"clearAndOpenMenu\" }) : msg({ id: \"openMenu\" });\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","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\nexport const InputSelectComponent = ({\n className,\n inputId,\n disabled = false,\n fieldId,\n fieldLabelId,\n isErrored = false,\n options,\n onKeyDown,\n onChange,\n placeholder = \"\",\n // Most invokers want placeholder hidden by css, so it can be easily shown when\n // customizing the implementation. Birth date is an example of an exception.\n suppressPlaceholder = true,\n value,\n autoFocus,\n ariaLabel,\n ariaDescribedBy,\n isRequired,\n isLoading = false,\n role = \"combobox\",\n autoComplete,\n}: InputSelectProps) => {\n const [inputState, setInputState] = useState(\"\");\n const items = inputState ? filterOptions(options, inputState) : options;\n\n const {\n getInputProps,\n getItemProps,\n getMenuProps,\n getToggleButtonProps,\n highlightedIndex,\n isOpen,\n selectItem,\n } = useCombobox<FormSelectChoice>({\n id: inputId,\n items,\n onInputValueChange({ inputValue }) {\n setInputState(inputValue);\n },\n onSelectedItemChange: ({ selectedItem: newSelectedItem }) => onChange(newSelectedItem),\n itemToString,\n selectedItem: value && value.value && value.label ? value : null,\n defaultHighlightedIndex: 0,\n });\n\n const handleOnKeyDown = (event: React.KeyboardEvent<HTMLInputElement>) => {\n if (typeof onKeyDown === \"function\") {\n onKeyDown(event);\n }\n };\n\n const inputRef = useRef<HTMLInputElement>(null);\n\n // NOTE: Dependency array omitted to account for use of resetRef(), as useEffect with dep arr\n // will only trigger on initial render leaving the refs empty, this replicates prior version\n // where ref callback would trigger with each re-render\n useEffect(() => {\n setRef(fieldId, inputRef.current);\n });\n\n return (\n <div className={`sid-input-select-list ${className || \"\"}`}>\n <input\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...getInputProps({\n ref: inputRef,\n onKeyDown: (event) => handleOnKeyDown(event),\n \"aria-labelledby\": fieldLabelId,\n })}\n // TODO resolve next line. Product needs this to autofocus, but linter says bad for accessibility\n // eslint-disable-next-line\n autoFocus={autoFocus}\n id={inputId}\n className={`sid-l-full-width sid-text-input ${\n suppressPlaceholder ? \"sid-hidden-placeholder\" : \"\"\n } ${isErrored ? \"sid-text-input--error\" : \"\"}`}\n disabled={disabled}\n placeholder={placeholder}\n aria-required={isRequired}\n aria-describedby={ariaDescribedBy}\n aria-invalid={isErrored}\n role={role}\n autoComplete={autoComplete}\n />\n\n <InputSelectButtonComponent\n disabled={disabled}\n getToggleButtonProps={getToggleButtonProps}\n isOpen={isOpen}\n isClearable={!!value?.value}\n clearSelection={() => selectItem(undefined)}\n />\n\n <InputSelectListComponent\n highlightedIndex={highlightedIndex}\n itemToString={itemToString}\n options={items}\n getItemProps={getItemProps}\n getMenuProps={getMenuProps}\n ariaLabel={ariaLabel}\n isOpen={isOpen}\n isLoading={isLoading}\n />\n </div>\n );\n};\n","import { logger } from \"@jslib/shared/utils/logger\";\n\nimport { type MsgFunction } from \"@/components/Message/Message\";\nimport { type MessageId } from \"@/lib/intl/types\";\nimport { type FormSelectChoice } from \"@/lib/types/types\";\n\ntype compareLabelReturn = 1 | -1;\n\nexport const compareLabel = (\n a: FormSelectChoice<any>,\n b: FormSelectChoice<any>,\n): compareLabelReturn => {\n let sortValue: compareLabelReturn;\n\n try {\n sortValue = a.label.toUpperCase() > b.label.toUpperCase() ? 1 : -1;\n } catch (e) {\n sortValue = 1;\n }\n\n return sortValue;\n};\n\nexport const SortByLabel = (\n choices: FormSelectChoice<any, string>[],\n): FormSelectChoice<any, string>[] => choices.sort(compareLabel);\n\nexport const getFormFieldSelectOptions = (\n namespace: string,\n optionValues: string[] = [],\n msg: MsgFunction,\n): FormSelectChoice<string, string>[] => {\n const options: FormSelectChoice<string, string>[] = [];\n const omittedOptions: string[] = [];\n\n optionValues.forEach((value) => {\n if (typeof value === \"undefined\") return omittedOptions.push(\"undefined\");\n if (!value) return omittedOptions.push(JSON.stringify(value));\n if (typeof value === \"number\") return omittedOptions.push(JSON.stringify(value));\n if (typeof value === \"string\" && !value.trim())\n return omittedOptions.push(JSON.stringify(value));\n\n options.push({ value, label: msg({ id: `${namespace}.${value}` as MessageId }) });\n });\n\n if (omittedOptions.length > 0) {\n logger.warn(\n `FormSelectChoice.getFormFieldSelectOptions contains unexpected values (${\n omittedOptions.length\n }): ${omittedOptions.join(\", \")}`,\n );\n }\n\n return options;\n};\n"],"mappings":";;;;;;;;4CAmEA,KAnDA,EAAA,iBAAA,iBAAA,qBAAA,YAAA,iBAAA,cAAA,WAAA,eAAA,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8C,CAAC,GAC/C,IAA2B,CAAC;CAoBlC,OAlBA,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;GAAE;GAAO,OAAO,EAAI,EAAE,IAAI,GAAG,EAAU,GAAG,IAAqB,CAAC;EAAE,CAAC;CAClF,CAAC,GAEG,EAAe,SAAS,KAC1B,EAAO,KACL,0EACE,EAAe,OAChB,KAAK,EAAe,KAAK,IAAI,GAChC,GAGK;AACT"}
|
|
@@ -4,18 +4,18 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.287.0-alpha.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1789608204531
|
|
9
|
+
* BUILD_DATE: Thu Sep 17 2026 01:23:24 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 6fd856ef6c8333c8408563f4b448705da6f1af44
|
|
11
11
|
*/
|
|
12
|
-
import { Ot as e } from "./intl-
|
|
12
|
+
import { Ot as e } from "./intl-CvSmE54g.js";
|
|
13
13
|
import { S as t } from "./runtimeTypes-B2AGNJMT.js";
|
|
14
|
-
import { c as n, n as r, t as i } from "./jsx-runtime-
|
|
15
|
-
import { n as a } from "./Message-
|
|
14
|
+
import { c as n, n as r, t as i } from "./jsx-runtime-JSlXFmKD.js";
|
|
15
|
+
import { n as a } from "./Message-BdW9Sgcn.js";
|
|
16
16
|
import { o } from "./refs-Mq0rtW9K.js";
|
|
17
17
|
import { P as s } from "../_mysheerid-preview.js";
|
|
18
|
-
import { t as c } from "./downshift.esm-
|
|
18
|
+
import { t as c } from "./downshift.esm-Cz6Fmx7J.js";
|
|
19
19
|
//#region src/components/FormInputs/InputSelect/InputSelectList/InputSelectListComponent.tsx
|
|
20
20
|
var l = /* @__PURE__ */ e(n(), 1), u = i(), d = ({ getItemProps: e, getMenuProps: t, highlightedIndex: n, options: i, itemToString: a, ariaLabel: o, isOpen: c, isLoading: l = !1 }) => {
|
|
21
21
|
let d = (t, r) => /* @__PURE__ */ (0, u.jsx)("div", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormSelectChoice-XdFgcHCe.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 { useMessage } from \"@/components/Message\";\n\ninterface InputSelectButtonProps {\n clearSelection: () => void;\n getToggleButtonProps: any;\n isOpen: boolean;\n isClearable: boolean;\n disabled?: boolean;\n}\n\nexport const InputSelectButtonComponent = ({\n clearSelection,\n disabled,\n getToggleButtonProps,\n isOpen,\n isClearable,\n}: InputSelectButtonProps) => {\n const { msg } = useMessage();\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 ? msg({ id: \"clearAndOpenMenu\" }) : msg({ id: \"openMenu\" });\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","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\nexport const InputSelectComponent = ({\n className,\n inputId,\n disabled = false,\n fieldId,\n fieldLabelId,\n isErrored = false,\n options,\n onKeyDown,\n onChange,\n placeholder = \"\",\n // Most invokers want placeholder hidden by css, so it can be easily shown when\n // customizing the implementation. Birth date is an example of an exception.\n suppressPlaceholder = true,\n value,\n autoFocus,\n ariaLabel,\n ariaDescribedBy,\n isRequired,\n isLoading = false,\n role = \"combobox\",\n autoComplete,\n}: InputSelectProps) => {\n const [inputState, setInputState] = useState(\"\");\n const items = inputState ? filterOptions(options, inputState) : options;\n\n const {\n getInputProps,\n getItemProps,\n getMenuProps,\n getToggleButtonProps,\n highlightedIndex,\n isOpen,\n selectItem,\n } = useCombobox<FormSelectChoice>({\n id: inputId,\n items,\n onInputValueChange({ inputValue }) {\n setInputState(inputValue);\n },\n onSelectedItemChange: ({ selectedItem: newSelectedItem }) => onChange(newSelectedItem),\n itemToString,\n selectedItem: value && value.value && value.label ? value : null,\n defaultHighlightedIndex: 0,\n });\n\n const handleOnKeyDown = (event: React.KeyboardEvent<HTMLInputElement>) => {\n if (typeof onKeyDown === \"function\") {\n onKeyDown(event);\n }\n };\n\n const inputRef = useRef<HTMLInputElement>(null);\n\n // NOTE: Dependency array omitted to account for use of resetRef(), as useEffect with dep arr\n // will only trigger on initial render leaving the refs empty, this replicates prior version\n // where ref callback would trigger with each re-render\n useEffect(() => {\n setRef(fieldId, inputRef.current);\n });\n\n return (\n <div className={`sid-input-select-list ${className || \"\"}`}>\n <input\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...getInputProps({\n ref: inputRef,\n onKeyDown: (event) => handleOnKeyDown(event),\n \"aria-labelledby\": fieldLabelId,\n })}\n // TODO resolve next line. Product needs this to autofocus, but linter says bad for accessibility\n // eslint-disable-next-line\n autoFocus={autoFocus}\n id={inputId}\n className={`sid-l-full-width sid-text-input ${\n suppressPlaceholder ? \"sid-hidden-placeholder\" : \"\"\n } ${isErrored ? \"sid-text-input--error\" : \"\"}`}\n disabled={disabled}\n placeholder={placeholder}\n aria-required={isRequired}\n aria-describedby={ariaDescribedBy}\n aria-invalid={isErrored}\n role={role}\n autoComplete={autoComplete}\n />\n\n <InputSelectButtonComponent\n disabled={disabled}\n getToggleButtonProps={getToggleButtonProps}\n isOpen={isOpen}\n isClearable={!!value?.value}\n clearSelection={() => selectItem(undefined)}\n />\n\n <InputSelectListComponent\n highlightedIndex={highlightedIndex}\n itemToString={itemToString}\n options={items}\n getItemProps={getItemProps}\n getMenuProps={getMenuProps}\n ariaLabel={ariaLabel}\n isOpen={isOpen}\n isLoading={isLoading}\n />\n </div>\n );\n};\n","import { logger } from \"@jslib/shared/utils/logger\";\n\nimport { type MsgFunction } from \"@/components/Message/Message\";\nimport { type MessageId } from \"@/lib/intl/types\";\nimport { type FormSelectChoice } from \"@/lib/types/types\";\n\ntype compareLabelReturn = 1 | -1;\n\nexport const compareLabel = (\n a: FormSelectChoice<any>,\n b: FormSelectChoice<any>,\n): compareLabelReturn => {\n let sortValue: compareLabelReturn;\n\n try {\n sortValue = a.label.toUpperCase() > b.label.toUpperCase() ? 1 : -1;\n } catch (e) {\n sortValue = 1;\n }\n\n return sortValue;\n};\n\nexport const SortByLabel = (\n choices: FormSelectChoice<any, string>[],\n): FormSelectChoice<any, string>[] => choices.sort(compareLabel);\n\nexport const getFormFieldSelectOptions = (\n namespace: string,\n optionValues: string[] = [],\n msg: MsgFunction,\n): FormSelectChoice<string, string>[] => {\n const options: FormSelectChoice<string, string>[] = [];\n const omittedOptions: string[] = [];\n\n optionValues.forEach((value) => {\n if (typeof value === \"undefined\") return omittedOptions.push(\"undefined\");\n if (!value) return omittedOptions.push(JSON.stringify(value));\n if (typeof value === \"number\") return omittedOptions.push(JSON.stringify(value));\n if (typeof value === \"string\" && !value.trim())\n return omittedOptions.push(JSON.stringify(value));\n\n options.push({ value, label: msg({ id: `${namespace}.${value}` as MessageId }) });\n });\n\n if (omittedOptions.length > 0) {\n logger.warn(\n `FormSelectChoice.getFormFieldSelectOptions contains unexpected values (${\n omittedOptions.length\n }): ${omittedOptions.join(\", \")}`,\n );\n }\n\n return options;\n};\n"],"mappings":";;;;;;;;4CAmEA,KAnDA,EAAA,iBAAA,iBAAA,qBAAA,YAAA,iBAAA,cAAA,WAAA,eAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDA,GCvDa,KAA8B,EACzC,mBACA,aACA,yBACA,WACA,qBAC4B;CAC5B,IAAM,EAAE,WAAQ,EAAW,GACrB,EACJ,SAAS,GACT,iBAAiB,GACjB,eAAe,GACf,YACA,cACA,cACE,EAAqB;CAIzB,OACE,iBAAA,GAAA,EAAA,KAAC,UAAD;EACE,cAJ4B,EAAd,IAAkB,EAAE,IAAI,mBAAmB,IAAS,EAAE,IAAI,WAAW,CA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,IAAqB,CAAC;EAAE,CAAC;CAClF,CAAC,GAEG,EAAe,SAAS,KAC1B,EAAO,KACL,0EACE,EAAe,OAChB,KAAK,EAAe,KAAK,IAAI,GAChC,GAGK;AACT"}
|
|
1
|
+
{"version":3,"file":"FormSelectChoice-Dh__kjxg.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 { useMessage } from \"@/components/Message\";\n\ninterface InputSelectButtonProps {\n clearSelection: () => void;\n getToggleButtonProps: any;\n isOpen: boolean;\n isClearable: boolean;\n disabled?: boolean;\n}\n\nexport const InputSelectButtonComponent = ({\n clearSelection,\n disabled,\n getToggleButtonProps,\n isOpen,\n isClearable,\n}: InputSelectButtonProps) => {\n const { msg } = useMessage();\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 ? msg({ id: \"clearAndOpenMenu\" }) : msg({ id: \"openMenu\" });\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","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\nexport const InputSelectComponent = ({\n className,\n inputId,\n disabled = false,\n fieldId,\n fieldLabelId,\n isErrored = false,\n options,\n onKeyDown,\n onChange,\n placeholder = \"\",\n // Most invokers want placeholder hidden by css, so it can be easily shown when\n // customizing the implementation. Birth date is an example of an exception.\n suppressPlaceholder = true,\n value,\n autoFocus,\n ariaLabel,\n ariaDescribedBy,\n isRequired,\n isLoading = false,\n role = \"combobox\",\n autoComplete,\n}: InputSelectProps) => {\n const [inputState, setInputState] = useState(\"\");\n const items = inputState ? filterOptions(options, inputState) : options;\n\n const {\n getInputProps,\n getItemProps,\n getMenuProps,\n getToggleButtonProps,\n highlightedIndex,\n isOpen,\n selectItem,\n } = useCombobox<FormSelectChoice>({\n id: inputId,\n items,\n onInputValueChange({ inputValue }) {\n setInputState(inputValue);\n },\n onSelectedItemChange: ({ selectedItem: newSelectedItem }) => onChange(newSelectedItem),\n itemToString,\n selectedItem: value && value.value && value.label ? value : null,\n defaultHighlightedIndex: 0,\n });\n\n const handleOnKeyDown = (event: React.KeyboardEvent<HTMLInputElement>) => {\n if (typeof onKeyDown === \"function\") {\n onKeyDown(event);\n }\n };\n\n const inputRef = useRef<HTMLInputElement>(null);\n\n // NOTE: Dependency array omitted to account for use of resetRef(), as useEffect with dep arr\n // will only trigger on initial render leaving the refs empty, this replicates prior version\n // where ref callback would trigger with each re-render\n useEffect(() => {\n setRef(fieldId, inputRef.current);\n });\n\n return (\n <div className={`sid-input-select-list ${className || \"\"}`}>\n <input\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...getInputProps({\n ref: inputRef,\n onKeyDown: (event) => handleOnKeyDown(event),\n \"aria-labelledby\": fieldLabelId,\n })}\n // TODO resolve next line. Product needs this to autofocus, but linter says bad for accessibility\n // eslint-disable-next-line\n autoFocus={autoFocus}\n id={inputId}\n className={`sid-l-full-width sid-text-input ${\n suppressPlaceholder ? \"sid-hidden-placeholder\" : \"\"\n } ${isErrored ? \"sid-text-input--error\" : \"\"}`}\n disabled={disabled}\n placeholder={placeholder}\n aria-required={isRequired}\n aria-describedby={ariaDescribedBy}\n aria-invalid={isErrored}\n role={role}\n autoComplete={autoComplete}\n />\n\n <InputSelectButtonComponent\n disabled={disabled}\n getToggleButtonProps={getToggleButtonProps}\n isOpen={isOpen}\n isClearable={!!value?.value}\n clearSelection={() => selectItem(undefined)}\n />\n\n <InputSelectListComponent\n highlightedIndex={highlightedIndex}\n itemToString={itemToString}\n options={items}\n getItemProps={getItemProps}\n getMenuProps={getMenuProps}\n ariaLabel={ariaLabel}\n isOpen={isOpen}\n isLoading={isLoading}\n />\n </div>\n );\n};\n","import { logger } from \"@jslib/shared/utils/logger\";\n\nimport { type MsgFunction } from \"@/components/Message/Message\";\nimport { type MessageId } from \"@/lib/intl/types\";\nimport { type FormSelectChoice } from \"@/lib/types/types\";\n\ntype compareLabelReturn = 1 | -1;\n\nexport const compareLabel = (\n a: FormSelectChoice<any>,\n b: FormSelectChoice<any>,\n): compareLabelReturn => {\n let sortValue: compareLabelReturn;\n\n try {\n sortValue = a.label.toUpperCase() > b.label.toUpperCase() ? 1 : -1;\n } catch (e) {\n sortValue = 1;\n }\n\n return sortValue;\n};\n\nexport const SortByLabel = (\n choices: FormSelectChoice<any, string>[],\n): FormSelectChoice<any, string>[] => choices.sort(compareLabel);\n\nexport const getFormFieldSelectOptions = (\n namespace: string,\n optionValues: string[] = [],\n msg: MsgFunction,\n): FormSelectChoice<string, string>[] => {\n const options: FormSelectChoice<string, string>[] = [];\n const omittedOptions: string[] = [];\n\n optionValues.forEach((value) => {\n if (typeof value === \"undefined\") return omittedOptions.push(\"undefined\");\n if (!value) return omittedOptions.push(JSON.stringify(value));\n if (typeof value === \"number\") return omittedOptions.push(JSON.stringify(value));\n if (typeof value === \"string\" && !value.trim())\n return omittedOptions.push(JSON.stringify(value));\n\n options.push({ value, label: msg({ id: `${namespace}.${value}` as MessageId }) });\n });\n\n if (omittedOptions.length > 0) {\n logger.warn(\n `FormSelectChoice.getFormFieldSelectOptions contains unexpected values (${\n omittedOptions.length\n }): ${omittedOptions.join(\", \")}`,\n );\n }\n\n return options;\n};\n"],"mappings":";;;;;;;;4CAmEA,KAnDA,EAAA,iBAAA,iBAAA,qBAAA,YAAA,iBAAA,cAAA,WAAA,eAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDA,GCvDa,KAA8B,EACzC,mBACA,aACA,yBACA,WACA,qBAC4B;CAC5B,IAAM,EAAE,WAAQ,EAAW,GACrB,EACJ,SAAS,GACT,iBAAiB,GACjB,eAAe,GACf,YACA,cACA,cACE,EAAqB;CAIzB,OACE,iBAAA,GAAA,EAAA,KAAC,UAAD;EACE,cAJ4B,EAAd,IAAkB,EAAE,IAAI,mBAAmB,IAAS,EAAE,IAAI,WAAW,CAAC;EAKpF,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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AAY,MAAU,EAAgB,CAAK;KAC3C,mBAAmB;IACrB,CAAC;IAGU;IACX,IAAI;IACJ,WAAW,mCACT,IAAsB,2BAA2B,GAClD,GAAG,IAAY,0BAA0B;IAChC;IACG;IACb,iBAAe;IACf,oBAAkB;IAClB,gBAAc;IACR;IACQ;GACf,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACY;IACY;IACd;IACR,aAAa,CAAC,CAAC,GAAO;IACtB,sBAAsB,EAAW,KAAA,CAAS;GAC3C,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACoB;IACJ;IACd,SAAS;IACK;IACA;IACH;IACH;IACG;GACZ,CAAA;EACE;;AAET,GCpJa,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;CAoBlC,OAlBA,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;GAAE;GAAO,OAAO,EAAI,EAAE,IAAI,GAAG,EAAU,GAAG,IAAqB,CAAC;EAAE,CAAC;CAClF,CAAC,GAEG,EAAe,SAAS,KAC1B,EAAO,KACL,0EACE,EAAe,OAChB,KAAK,EAAe,KAAK,IAAI,GAChC,GAGK;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.287.0-alpha.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1789608204531
|
|
9
|
+
* BUILD_DATE: Thu Sep 17 2026 01:23:24 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 6fd856ef6c8333c8408563f4b448705da6f1af44
|
|
11
11
|
*/
|
|
12
|
-
import { Ot as e } from "./intl-
|
|
13
|
-
import { c as t, t as n } from "./jsx-runtime-
|
|
12
|
+
import { Ot as e } from "./intl-CvSmE54g.js";
|
|
13
|
+
import { c as t, t as n } from "./jsx-runtime-JSlXFmKD.js";
|
|
14
14
|
import { o as r } from "./refs-Mq0rtW9K.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 }) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputText-
|
|
1
|
+
{"version":3,"file":"InputText-CMu4ei8e.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,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.287.0-alpha.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1789608200693
|
|
5
|
+
* BUILD_DATE: Thu Sep 17 2026 01:23:20 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 6fd856ef6c8333c8408563f4b448705da6f1af44
|
|
7
7
|
*/
|
|
8
|
-
import { Ot as e } from "./options-
|
|
9
|
-
import { c as t, t as n } from "./jsx-runtime-
|
|
8
|
+
import { Ot as e } from "./options-CRzdSTAR.js";
|
|
9
|
+
import { c as t, t as n } from "./jsx-runtime-CyXcV_93.js";
|
|
10
10
|
import { o as r } from "./refs-Mq0rtW9K.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 }) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputText-
|
|
1
|
+
{"version":3,"file":"InputText-dflyPe3J.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,15 +1,15 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.287.0-alpha.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1789608200693
|
|
5
|
+
* BUILD_DATE: Thu Sep 17 2026 01:23:20 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 6fd856ef6c8333c8408563f4b448705da6f1af44
|
|
7
7
|
*/
|
|
8
|
-
import { n as e, t } from "./jsx-runtime-
|
|
9
|
-
import { n } from "./Message-
|
|
10
|
-
import { c as r } from "./programThemeGetters-
|
|
11
|
-
import {
|
|
12
|
-
import { t as a } from "./FormFieldTypeahead-
|
|
8
|
+
import { n as e, t } from "./jsx-runtime-CyXcV_93.js";
|
|
9
|
+
import { n } from "./Message-BTaP_P7J.js";
|
|
10
|
+
import { c as r } from "./programThemeGetters-VBnkSxuj.js";
|
|
11
|
+
import { i } from "./stepComponentHelpers-BFyXhiWa.js";
|
|
12
|
+
import { t as a } from "./FormFieldTypeahead-CyI4wYc-.js";
|
|
13
13
|
//#region src/components/FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent.tsx
|
|
14
14
|
var o = t(), s = ({ value: t, isErrored: s, onChange: c, verificationService: l, placeholder: u = "", disabled: d = !1 }) => {
|
|
15
15
|
let { msg: f } = n();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LicensedProfessionalOrganizationComponent-
|
|
1
|
+
{"version":3,"file":"LicensedProfessionalOrganizationComponent-CNzUnqrq.js","names":[],"sources":["../../src/components/FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { useMessage } from \"@/components/Message\";\nimport { FormFieldTypeahead } from \"@/components/FormFields/FormFieldTypeahead/FormFieldTypeahead\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport {\n type FormFieldComponentProps,\n type VerificationServiceProps,\n type Organization,\n} from \"@/lib/types/types\";\nimport { getOrgSearchUrl } from \"@/lib/ProgramTheme/programThemeGetters\";\n\nexport const LicensedProfessionalOrganizationComponent = ({\n value,\n isErrored,\n onChange,\n verificationService,\n placeholder = \"\",\n disabled = false,\n}: FormFieldComponentProps & VerificationServiceProps) => {\n const { msg } = useMessage();\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 msg({\n id: \"organizationPlaceholder\",\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"],"mappings":";;;;;;aAaa,KAA6C,EACxD,UACA,cACA,aACA,wBACA,iBAAc,IACd,cAAW,SAC6C;CACxD,IAAM,EAAE,WAAQ,EAAW;CAO3B,OANsB,EAAwB,cAAc,GAAG,SAGtD,OAIP,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,SAAQ;EACD;EACc;EACrB,WAAW,MAAyB,EAAS,CAAM;EACnD,aACE,KACA,EAAI,EACF,IAAI,0BACN,CAAC;EAEH,OAAO,iBAAA,GAAA,EAAA,KAAC,GAAD;GAAsB,IAAG;GAAe,gBAAe;EAAgB,CAAA;EAC9E,cACE,KACE,iBAAA,GAAA,EAAA,KAAC,GAAD;GACE,IAAG;GACH,gBAAe;EAChB,CAAA;EAGL,cAAc,EACZ,EAAoB,WACpB,EAAoB,YACtB;EACA,6BAA6B,CAAC,CAAC;EACrB;CACX,CAAA;AAEL"}
|
|
@@ -4,16 +4,16 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.287.0-alpha.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1789608204531
|
|
9
|
+
* BUILD_DATE: Thu Sep 17 2026 01:23:24 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 6fd856ef6c8333c8408563f4b448705da6f1af44
|
|
11
11
|
*/
|
|
12
|
-
import { n as e, t } from "./jsx-runtime-
|
|
13
|
-
import { n } from "./Message-
|
|
14
|
-
import { c as r } from "./programThemeGetters-
|
|
15
|
-
import {
|
|
16
|
-
import { t as a } from "./FormFieldTypeahead-
|
|
12
|
+
import { n as e, t } from "./jsx-runtime-JSlXFmKD.js";
|
|
13
|
+
import { n } from "./Message-BdW9Sgcn.js";
|
|
14
|
+
import { c as r } from "./programThemeGetters-DYWYXv-a.js";
|
|
15
|
+
import { i } from "./stepComponentHelpers-CcEMtmwt.js";
|
|
16
|
+
import { t as a } from "./FormFieldTypeahead-Bx3K_8cN.js";
|
|
17
17
|
//#region src/components/FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent.tsx
|
|
18
18
|
var o = t(), s = ({ value: t, isErrored: s, onChange: c, verificationService: l, placeholder: u = "", disabled: d = !1 }) => {
|
|
19
19
|
let { msg: f } = n();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LicensedProfessionalOrganizationComponent-
|
|
1
|
+
{"version":3,"file":"LicensedProfessionalOrganizationComponent-DUjw4wg8.js","names":[],"sources":["../../src/components/FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { useMessage } from \"@/components/Message\";\nimport { FormFieldTypeahead } from \"@/components/FormFields/FormFieldTypeahead/FormFieldTypeahead\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport {\n type FormFieldComponentProps,\n type VerificationServiceProps,\n type Organization,\n} from \"@/lib/types/types\";\nimport { getOrgSearchUrl } from \"@/lib/ProgramTheme/programThemeGetters\";\n\nexport const LicensedProfessionalOrganizationComponent = ({\n value,\n isErrored,\n onChange,\n verificationService,\n placeholder = \"\",\n disabled = false,\n}: FormFieldComponentProps & VerificationServiceProps) => {\n const { msg } = useMessage();\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 msg({\n id: \"organizationPlaceholder\",\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"],"mappings":";;;;;;aAaa,KAA6C,EACxD,UACA,cACA,aACA,wBACA,iBAAc,IACd,cAAW,SAC6C;CACxD,IAAM,EAAE,WAAQ,EAAW;CAO3B,OANsB,EAAwB,cAAc,GAAG,SAGtD,OAIP,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,SAAQ;EACD;EACc;EACrB,WAAW,MAAyB,EAAS,CAAM;EACnD,aACE,KACA,EAAI,EACF,IAAI,0BACN,CAAC;EAEH,OAAO,iBAAA,GAAA,EAAA,KAAC,GAAD;GAAsB,IAAG;GAAe,gBAAe;EAAgB,CAAA;EAC9E,cACE,KACE,iBAAA,GAAA,EAAA,KAAC,GAAD;GACE,IAAG;GACH,gBAAe;EAChB,CAAA;EAGL,cAAc,EACZ,EAAoB,WACpB,EAAoB,YACtB;EACA,6BAA6B,CAAC,CAAC;EACrB;CACX,CAAA;AAEL"}
|
|
@@ -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.287.0-alpha.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1789608204531
|
|
9
|
+
* BUILD_DATE: Thu Sep 17 2026 01:23:24 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 6fd856ef6c8333c8408563f4b448705da6f1af44
|
|
11
11
|
*/
|
|
12
|
-
import { n as e, t } from "./jsx-runtime-
|
|
13
|
-
import { a as n } from "./programThemeGetters-
|
|
12
|
+
import { n as e, t } from "./jsx-runtime-JSlXFmKD.js";
|
|
13
|
+
import { a as n } from "./programThemeGetters-DYWYXv-a.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-BDhMcJvy.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,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.287.0-alpha.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1789608200693
|
|
5
|
+
* BUILD_DATE: Thu Sep 17 2026 01:23:20 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 6fd856ef6c8333c8408563f4b448705da6f1af44
|
|
7
7
|
*/
|
|
8
|
-
import { n as e, t } from "./jsx-runtime-
|
|
9
|
-
import { a as n } from "./programThemeGetters-
|
|
8
|
+
import { n as e, t } from "./jsx-runtime-CyXcV_93.js";
|
|
9
|
+
import { a as n } from "./programThemeGetters-VBnkSxuj.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-DASXTR4v.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,25 +4,25 @@
|
|
|
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.287.0-alpha.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1789608204531
|
|
9
|
+
* BUILD_DATE: Thu Sep 17 2026 01:23:24 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 6fd856ef6c8333c8408563f4b448705da6f1af44
|
|
11
11
|
*/
|
|
12
|
-
import { Ot as e, p as t } from "./intl-
|
|
12
|
+
import { Ot as e, p as t } from "./intl-CvSmE54g.js";
|
|
13
13
|
import { S as n } from "./runtimeTypes-B2AGNJMT.js";
|
|
14
|
-
import { c as r, n as i, t as a } from "./jsx-runtime-
|
|
15
|
-
import { O as o, n as s } from "./Message-
|
|
16
|
-
import { c, f as l } from "./programThemeGetters-
|
|
14
|
+
import { c as r, n as i, t as a } from "./jsx-runtime-JSlXFmKD.js";
|
|
15
|
+
import { O as o, n as s } from "./Message-BdW9Sgcn.js";
|
|
16
|
+
import { c, f as l } from "./programThemeGetters-DYWYXv-a.js";
|
|
17
17
|
import { P as u } from "../_mysheerid-preview.js";
|
|
18
|
-
import {
|
|
19
|
-
import { t as p } from "./FormFieldText-
|
|
20
|
-
import { t as m } from "./FormFieldInputSelect-
|
|
21
|
-
import { t as h } from "./FormFieldTypeahead-
|
|
18
|
+
import { i as d, l as f } from "./stepComponentHelpers-CcEMtmwt.js";
|
|
19
|
+
import { t as p } from "./FormFieldText-Py7x4EZ6.js";
|
|
20
|
+
import { t as m } from "./FormFieldInputSelect-BjJQMfE5.js";
|
|
21
|
+
import { t as h } from "./FormFieldTypeahead-Bx3K_8cN.js";
|
|
22
22
|
//#region src/components/FormFields/EBTCardNumber/EBTCardNumberComponent.tsx
|
|
23
23
|
var g = a(), _ = ({ value: e, isErrored: t, onChange: n, placeholder: r = "", disabled: a = !1 }) => {
|
|
24
24
|
let { msg: o } = s();
|
|
25
|
-
return
|
|
25
|
+
return d("ebtCardNumber")?.hidden ? null : /* @__PURE__ */ (0, g.jsx)(p, {
|
|
26
26
|
fieldId: "ebtCardNumber",
|
|
27
27
|
value: e,
|
|
28
28
|
onChange: n,
|
|
@@ -48,7 +48,7 @@ var g = a(), _ = ({ value: e, isErrored: t, onChange: n, placeholder: r = "", di
|
|
|
48
48
|
}), C)).then((e) => {
|
|
49
49
|
if (e) {
|
|
50
50
|
let t = e;
|
|
51
|
-
S.countryChoice && (t = e.filter((e) => e.country === S.countryChoice.value)), D(t.map(
|
|
51
|
+
S.countryChoice && (t = e.filter((e) => e.country === S.countryChoice.value)), D(t.map(f));
|
|
52
52
|
}
|
|
53
53
|
}).catch((e) => {
|
|
54
54
|
n.error(e);
|
|
@@ -63,7 +63,7 @@ var g = a(), _ = ({ value: e, isErrored: t, onChange: n, placeholder: r = "", di
|
|
|
63
63
|
name: ""
|
|
64
64
|
});
|
|
65
65
|
};
|
|
66
|
-
return
|
|
66
|
+
return d("organization")?.hidden ? null : T === "COMMUNITY_ELIGIBILITY_PROVISION" ? /* @__PURE__ */ (0, g.jsx)(h, {
|
|
67
67
|
fieldId: "cep-organization",
|
|
68
68
|
value: S.organization,
|
|
69
69
|
verificationService: y,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LowIncomeOrganizationComponent-
|
|
1
|
+
{"version":3,"file":"LowIncomeOrganizationComponent-DNsHaaYQ.js","names":[],"sources":["../../src/components/FormFields/EBTCardNumber/EBTCardNumberComponent.tsx","../../src/components/FormFields/LowIncomeOrganization/LowIncomeOrganizationComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { useMessage } from \"@/components/Message\";\nimport { FormFieldText } from \"@/components/FormFields/FormFieldText/FormFieldText\";\nimport { type FormFieldComponentProps } from \"@/lib/types/types\";\n\nexport const EBTCardNumberComponent = ({\n value,\n isErrored,\n onChange,\n placeholder = \"\",\n disabled = false,\n}: FormFieldComponentProps) => {\n const { msg } = useMessage();\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 // There is no default ebtCardNumberPlaceholder message, using field label instead.\n placeholder={placeholder || msg({ id: \"ebtCardNumber\" })}\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","import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport produce from \"immer\";\n\nimport { logger } from \"@jslib/shared/utils/logger\";\n\nimport { useMessage } from \"@/components/Message\";\nimport { FormFieldInputSelect } from \"@/components/FormFields/FormFieldInputSelect/FormFieldInputSelect\";\nimport { FormFieldTypeahead } from \"@/components/FormFields/FormFieldTypeahead/FormFieldTypeahead\";\nimport { LoadingSpinnerComponent } from \"@/components/LoadingSpinner/LoadingSpinnerComponent\";\nimport { isLowIncomeVM } from \"@/components/StepLowIncomePersonalInfo/lowIncomeTypes\";\nimport {\n type FormSelectChoice,\n type FormFieldComponentProps,\n type LowIncomePersonalInfoViewModel,\n type Organization,\n} from \"@/lib/types/types\";\nimport { getOrgSearchUrl } from \"@/lib/ProgramTheme/programThemeGetters\";\nimport { fetchOrganization } from \"@/lib/ServerApi/OrganizationApiClient\";\nimport {\n getFieldConfigByFieldId,\n orgToOption,\n} from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nexport const LowIncomeOrganizationComponent = ({\n value,\n isErrored,\n onChange,\n placeholder = \"\",\n isRequired = false,\n verificationService,\n disabled = false,\n}: FormFieldComponentProps) => {\n const { msg } = useMessage();\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={msg({ id: \"schoolNamePlaceholder\" })}\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={placeholder || msg({ id: \"lowIncomeOrganizationPlaceholder\" })}\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\"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6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.287.0-alpha.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1789608200693
|
|
5
|
+
* BUILD_DATE: Thu Sep 17 2026 01:23:20 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 6fd856ef6c8333c8408563f4b448705da6f1af44
|
|
7
7
|
*/
|
|
8
|
-
import { Ot as e, c as t } from "./options-
|
|
9
|
-
import { c as n, n as r, t as i } from "./jsx-runtime-
|
|
10
|
-
import { b as a, n as o } from "./Message-
|
|
8
|
+
import { Ot as e, c as t } from "./options-CRzdSTAR.js";
|
|
9
|
+
import { c as n, n as r, t as i } from "./jsx-runtime-CyXcV_93.js";
|
|
10
|
+
import { b as a, n as o } from "./Message-BTaP_P7J.js";
|
|
11
11
|
import { S as s } from "./runtimeTypes-B2AGNJMT.js";
|
|
12
|
-
import { c, f as l } from "./programThemeGetters-
|
|
12
|
+
import { c, f as l } from "./programThemeGetters-VBnkSxuj.js";
|
|
13
13
|
import { F as u } from "../sheerid.js";
|
|
14
|
-
import {
|
|
15
|
-
import { t as p } from "./FormFieldText-
|
|
16
|
-
import { t as m } from "./FormFieldInputSelect-
|
|
17
|
-
import { t as h } from "./FormFieldTypeahead-
|
|
14
|
+
import { i as d, l as f } from "./stepComponentHelpers-BFyXhiWa.js";
|
|
15
|
+
import { t as p } from "./FormFieldText-Bn9WIKiI.js";
|
|
16
|
+
import { t as m } from "./FormFieldInputSelect-C_6HBdJ7.js";
|
|
17
|
+
import { t as h } from "./FormFieldTypeahead-CyI4wYc-.js";
|
|
18
18
|
//#region src/components/FormFields/EBTCardNumber/EBTCardNumberComponent.tsx
|
|
19
19
|
var g = i(), _ = ({ value: e, isErrored: t, onChange: n, placeholder: i = "", disabled: a = !1 }) => {
|
|
20
20
|
let { msg: s } = o();
|
|
21
|
-
return
|
|
21
|
+
return d("ebtCardNumber")?.hidden ? null : /* @__PURE__ */ (0, g.jsx)(p, {
|
|
22
22
|
fieldId: "ebtCardNumber",
|
|
23
23
|
value: e,
|
|
24
24
|
onChange: n,
|
|
@@ -44,7 +44,7 @@ var g = i(), _ = ({ value: e, isErrored: t, onChange: n, placeholder: i = "", di
|
|
|
44
44
|
}), C)).then((e) => {
|
|
45
45
|
if (e) {
|
|
46
46
|
let t = e;
|
|
47
|
-
S.countryChoice && (t = e.filter((e) => e.country === S.countryChoice.value)), D(t.map(
|
|
47
|
+
S.countryChoice && (t = e.filter((e) => e.country === S.countryChoice.value)), D(t.map(f));
|
|
48
48
|
}
|
|
49
49
|
}).catch((e) => {
|
|
50
50
|
s.error(e);
|
|
@@ -59,7 +59,7 @@ var g = i(), _ = ({ value: e, isErrored: t, onChange: n, placeholder: i = "", di
|
|
|
59
59
|
name: ""
|
|
60
60
|
});
|
|
61
61
|
};
|
|
62
|
-
return
|
|
62
|
+
return d("organization")?.hidden ? null : T === "COMMUNITY_ELIGIBILITY_PROVISION" ? /* @__PURE__ */ (0, g.jsx)(h, {
|
|
63
63
|
fieldId: "cep-organization",
|
|
64
64
|
value: S.organization,
|
|
65
65
|
verificationService: y,
|