@sheerid/jslib-nightly 2.286.0-alpha.1 → 2.286.0-alpha.2
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 +3 -3
- package/_mysheerid-preview.js +43 -43
- package/chunk/{AddressComponent-BsrG0eZP.js → AddressComponent-CEvgEQMA.js} +7 -7
- package/chunk/{AddressComponent-BQcGA-Dn.js.map → AddressComponent-CEvgEQMA.js.map} +1 -1
- package/chunk/{AddressComponent-BQcGA-Dn.js → AddressComponent-fSIQCSHy.js} +7 -7
- package/chunk/{AddressComponent-BsrG0eZP.js.map → AddressComponent-fSIQCSHy.js.map} +1 -1
- package/chunk/{AnnouncingHeader-B0Ku-xl_.js → AnnouncingHeader-Cm6ysN0V.js} +5 -5
- package/chunk/{AnnouncingHeader-B0Ku-xl_.js.map → AnnouncingHeader-Cm6ysN0V.js.map} +1 -1
- package/chunk/{AnnouncingHeader-CXTQdbKG.js → AnnouncingHeader-yslSIrZR.js} +5 -5
- package/chunk/{AnnouncingHeader-CXTQdbKG.js.map → AnnouncingHeader-yslSIrZR.js.map} +1 -1
- package/chunk/{ApiUrls-Dl4lq297.js → ApiUrls-DT6YDZwO.js} +5 -5
- package/chunk/{ApiUrls-Dl4lq297.js.map → ApiUrls-DT6YDZwO.js.map} +1 -1
- package/chunk/{ApiUrls-B7i342qi.js → ApiUrls-Zdy0p875.js} +5 -5
- package/chunk/{ApiUrls-B7i342qi.js.map → ApiUrls-Zdy0p875.js.map} +1 -1
- package/chunk/{BirthDateComponent-CgTLq2WG.js → BirthDateComponent-COBjAdFk.js} +7 -7
- package/chunk/{BirthDateComponent-BLdyysZz.js.map → BirthDateComponent-COBjAdFk.js.map} +1 -1
- package/chunk/{BirthDateComponent-BLdyysZz.js → BirthDateComponent-Dv6hU22_.js} +7 -7
- package/chunk/{BirthDateComponent-CgTLq2WG.js.map → BirthDateComponent-Dv6hU22_.js.map} +1 -1
- package/chunk/{CaptchaComponent-DbYliGoM.js → CaptchaComponent-3qiTIduG.js} +14 -14
- package/chunk/{CaptchaComponent-DIkA9FFI.js.map → CaptchaComponent-3qiTIduG.js.map} +1 -1
- package/chunk/{CaptchaComponent-DIkA9FFI.js → CaptchaComponent-Dtr_Cbvu.js} +14 -14
- package/chunk/{CaptchaComponent-DbYliGoM.js.map → CaptchaComponent-Dtr_Cbvu.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-DLdFkire.js → ChangeLocaleComponent-B4Tlnh2U.js} +8 -8
- package/chunk/{ChangeLocaleComponent-CIxj6nDo.js.map → ChangeLocaleComponent-B4Tlnh2U.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-CIxj6nDo.js → ChangeLocaleComponent-jMvrJEW-.js} +8 -8
- package/chunk/{ChangeLocaleComponent-DLdFkire.js.map → ChangeLocaleComponent-jMvrJEW-.js.map} +1 -1
- package/chunk/{City-CS_konnR.js → City-BIL97VTt.js} +7 -7
- package/chunk/{City-CS_konnR.js.map → City-BIL97VTt.js.map} +1 -1
- package/chunk/{City-u4b9kkEc.js → City-xUKTZJTo.js} +7 -7
- package/chunk/{City-u4b9kkEc.js.map → City-xUKTZJTo.js.map} +1 -1
- package/chunk/{CollegeNameComponent-0aYV45V4.js → CollegeNameComponent-Hnhr9YwU.js} +9 -9
- package/chunk/{CollegeNameComponent-0aYV45V4.js.map → CollegeNameComponent-Hnhr9YwU.js.map} +1 -1
- package/chunk/{CollegeNameComponent-p53EUNZq.js → CollegeNameComponent-OwBwjKji.js} +9 -9
- package/chunk/{CollegeNameComponent-p53EUNZq.js.map → CollegeNameComponent-OwBwjKji.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-3wpB0lTx.js → CopyToClipboardComponent-BvzDoXkd.js} +5 -5
- package/chunk/{CopyToClipboardComponent-3wpB0lTx.js.map → CopyToClipboardComponent-BvzDoXkd.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-BXe124AZ.js → CopyToClipboardComponent-CHdDPJEa.js} +5 -5
- package/chunk/{CopyToClipboardComponent-BXe124AZ.js.map → CopyToClipboardComponent-CHdDPJEa.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-BWfP7cjU.js → CountryComponentWrapper-B1wLa3TB.js} +15 -15
- package/chunk/{CountryComponentWrapper-1WCljRM0.js.map → CountryComponentWrapper-B1wLa3TB.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-1WCljRM0.js → CountryComponentWrapper-DhAq6SAW.js} +15 -15
- package/chunk/{CountryComponentWrapper-BWfP7cjU.js.map → CountryComponentWrapper-DhAq6SAW.js.map} +1 -1
- package/chunk/{DischargeDateComponent-cW_SmJqU.js → DischargeDateComponent-CAtYqcPo.js} +14 -14
- package/chunk/{DischargeDateComponent-cW_SmJqU.js.map → DischargeDateComponent-CAtYqcPo.js.map} +1 -1
- package/chunk/{DischargeDateComponent-x0a0VL_M.js → DischargeDateComponent-CjUKk-H2.js} +14 -14
- package/chunk/{DischargeDateComponent-x0a0VL_M.js.map → DischargeDateComponent-CjUKk-H2.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-CZd9OQHL.js → DriverLicenseNumberComponent-B877KIX3.js} +7 -7
- package/chunk/{DriverLicenseNumberComponent-39cAg8L5.js.map → DriverLicenseNumberComponent-B877KIX3.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-39cAg8L5.js → DriverLicenseNumberComponent-BNd8xL27.js} +7 -7
- package/chunk/{DriverLicenseNumberComponent-CZd9OQHL.js.map → DriverLicenseNumberComponent-BNd8xL27.js.map} +1 -1
- package/chunk/{EmailLoopPending-CZIzNKWp.js → EmailLoopPending-CUKvLcJV.js} +10 -10
- package/chunk/{EmailLoopPending-CDn88Rx3.js.map → EmailLoopPending-CUKvLcJV.js.map} +1 -1
- package/chunk/{EmailLoopPending-CDn88Rx3.js → EmailLoopPending-uBm7ltwg.js} +10 -10
- package/chunk/{EmailLoopPending-CZIzNKWp.js.map → EmailLoopPending-uBm7ltwg.js.map} +1 -1
- package/chunk/{ExtraMessage-BqSJhjGv.js → ExtraMessage-Bx2shBsO.js} +6 -6
- package/chunk/{ExtraMessage-BeVf1e6k.js.map → ExtraMessage-Bx2shBsO.js.map} +1 -1
- package/chunk/{ExtraMessage-BeVf1e6k.js → ExtraMessage-OwXiBnCM.js} +6 -6
- package/chunk/{ExtraMessage-BqSJhjGv.js.map → ExtraMessage-OwXiBnCM.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-Ch3lAovH.js → FirstResponderOrganizationComponent-BtSgJTlK.js} +8 -8
- package/chunk/{FirstResponderOrganizationComponent-BfbQ6E4y.js.map → FirstResponderOrganizationComponent-BtSgJTlK.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-BfbQ6E4y.js → FirstResponderOrganizationComponent-Gj4VL7DI.js} +8 -8
- package/chunk/{FirstResponderOrganizationComponent-Ch3lAovH.js.map → FirstResponderOrganizationComponent-Gj4VL7DI.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-BmDODXxK.js → FormFieldInputSelect-0RWaXUZ0.js} +6 -6
- package/chunk/{FormFieldInputSelect-B9nWAvVk.js.map → FormFieldInputSelect-0RWaXUZ0.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-B9nWAvVk.js → FormFieldInputSelect-C2JbVtSi.js} +6 -6
- package/chunk/{FormFieldInputSelect-BmDODXxK.js.map → FormFieldInputSelect-C2JbVtSi.js.map} +1 -1
- package/chunk/{FormFieldLayout-NkmhFC9B.js → FormFieldLayout-C6rbRhh0.js} +5 -5
- package/chunk/{FormFieldLayout-DEKIQK2R.js.map → FormFieldLayout-C6rbRhh0.js.map} +1 -1
- package/chunk/{FormFieldLayout-DEKIQK2R.js → FormFieldLayout-Ci7MzpgW.js} +5 -5
- package/chunk/{FormFieldLayout-NkmhFC9B.js.map → FormFieldLayout-Ci7MzpgW.js.map} +1 -1
- package/chunk/{FormFieldText-Py7x4EZ6.js → FormFieldText-Dx92JsxR.js} +6 -6
- package/chunk/{FormFieldText-Bn9WIKiI.js.map → FormFieldText-Dx92JsxR.js.map} +1 -1
- package/chunk/{FormFieldText-Bn9WIKiI.js → FormFieldText-blykeSRX.js} +6 -6
- package/chunk/{FormFieldText-Py7x4EZ6.js.map → FormFieldText-blykeSRX.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-DzfNaioE.js → FormFieldTypeahead-DIhWUSSE.js} +12 -12
- package/chunk/{FormFieldTypeahead-DzfNaioE.js.map → FormFieldTypeahead-DIhWUSSE.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-CCWbXmv0.js → FormFieldTypeahead-Fu_3FlXg.js} +12 -12
- package/chunk/{FormFieldTypeahead-CCWbXmv0.js.map → FormFieldTypeahead-Fu_3FlXg.js.map} +1 -1
- package/chunk/{FormFooterComponent-C8-JM5_T.js → FormFooterComponent-C68F5kaP.js} +12 -12
- package/chunk/{FormFooterComponent-C8-JM5_T.js.map → FormFooterComponent-C68F5kaP.js.map} +1 -1
- package/chunk/{FormFooterComponent-CnpcFVui.js → FormFooterComponent-DYBSB7Oh.js} +12 -12
- package/chunk/{FormFooterComponent-CnpcFVui.js.map → FormFooterComponent-DYBSB7Oh.js.map} +1 -1
- package/chunk/{FormSelectChoice-DZwqN2HA.js → FormSelectChoice-LqM1ihM5.js} +7 -7
- package/chunk/{FormSelectChoice-BIwc041g.js.map → FormSelectChoice-LqM1ihM5.js.map} +1 -1
- package/chunk/{FormSelectChoice-BIwc041g.js → FormSelectChoice-XdFgcHCe.js} +7 -7
- package/chunk/{FormSelectChoice-DZwqN2HA.js.map → FormSelectChoice-XdFgcHCe.js.map} +1 -1
- package/chunk/{InputText-CMu4ei8e.js → InputText-C79edroa.js} +5 -5
- package/chunk/{InputText-CMu4ei8e.js.map → InputText-C79edroa.js.map} +1 -1
- package/chunk/{InputText-dflyPe3J.js → InputText-GzAnMGCC.js} +5 -5
- package/chunk/{InputText-dflyPe3J.js.map → InputText-GzAnMGCC.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-C4qPD0oS.js → LicensedProfessionalOrganizationComponent-DnfCid0C.js} +8 -8
- package/chunk/{LicensedProfessionalOrganizationComponent-C4qPD0oS.js.map → LicensedProfessionalOrganizationComponent-DnfCid0C.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-CnyFromw.js → LicensedProfessionalOrganizationComponent-NJR6sc0z.js} +8 -8
- package/chunk/{LicensedProfessionalOrganizationComponent-CnyFromw.js.map → LicensedProfessionalOrganizationComponent-NJR6sc0z.js.map} +1 -1
- package/chunk/{LogoComponent-DASXTR4v.js → LogoComponent-88BDkLwD.js} +5 -5
- package/chunk/{LogoComponent-BDhMcJvy.js.map → LogoComponent-88BDkLwD.js.map} +1 -1
- package/chunk/{LogoComponent-BDhMcJvy.js → LogoComponent-EBhWWnBF.js} +5 -5
- package/chunk/{LogoComponent-DASXTR4v.js.map → LogoComponent-EBhWWnBF.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-BbFB-iOU.js → LowIncomeOrganizationComponent-BW3TNx8b.js} +14 -14
- package/chunk/{LowIncomeOrganizationComponent-BbFB-iOU.js.map → LowIncomeOrganizationComponent-BW3TNx8b.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-xuOIsgQK.js → LowIncomeOrganizationComponent-JbEkRbLK.js} +14 -14
- package/chunk/{LowIncomeOrganizationComponent-xuOIsgQK.js.map → LowIncomeOrganizationComponent-JbEkRbLK.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-_p253lES.js → MedicalProfessionalOrganizationComponent-B3QspdhP.js} +8 -8
- package/chunk/{MedicalProfessionalOrganizationComponent-BNsFWxKR.js.map → MedicalProfessionalOrganizationComponent-B3QspdhP.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-BNsFWxKR.js → MedicalProfessionalOrganizationComponent-Cp4yUfxf.js} +8 -8
- package/chunk/{MedicalProfessionalOrganizationComponent-_p253lES.js.map → MedicalProfessionalOrganizationComponent-Cp4yUfxf.js.map} +1 -1
- package/chunk/{MemberIdComponent-BRxEQsN-.js → MemberIdComponent-UMnfxBez.js} +7 -7
- package/chunk/{MemberIdComponent-BRxEQsN-.js.map → MemberIdComponent-UMnfxBez.js.map} +1 -1
- package/chunk/{MemberIdComponent-Bm824GxH.js → MemberIdComponent-cwxA9cHM.js} +7 -7
- package/chunk/{MemberIdComponent-Bm824GxH.js.map → MemberIdComponent-cwxA9cHM.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-lxsg0gP1.js → MembershipOrganizationComponent-BkWW4Yeo.js} +8 -8
- package/chunk/{MembershipOrganizationComponent-BeJTkfKl.js.map → MembershipOrganizationComponent-BkWW4Yeo.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-BeJTkfKl.js → MembershipOrganizationComponent-Vhp79C62.js} +8 -8
- package/chunk/{MembershipOrganizationComponent-lxsg0gP1.js.map → MembershipOrganizationComponent-Vhp79C62.js.map} +1 -1
- package/chunk/{Message-AhzNmlr-.js → Message-BunzH7fa.js} +9 -9
- package/chunk/{Message-AhzNmlr-.js.map → Message-BunzH7fa.js.map} +1 -1
- package/chunk/{Message-DMWipGHw.js → Message-DJBqbWrp.js} +9 -9
- package/chunk/{Message-DMWipGHw.js.map → Message-DJBqbWrp.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +3 -3
- package/chunk/{PersonalInfoStepSubmitButton-B5Dgy7f5.js → PersonalInfoStepSubmitButton-C4NAU26j.js} +14 -14
- package/chunk/{PersonalInfoStepSubmitButton-B5Dgy7f5.js.map → PersonalInfoStepSubmitButton-C4NAU26j.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-DLAOVDlb.js → PersonalInfoStepSubmitButton-DZaG_Bd6.js} +14 -14
- package/chunk/{PersonalInfoStepSubmitButton-DLAOVDlb.js.map → PersonalInfoStepSubmitButton-DZaG_Bd6.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-DRRgtniH.js → PersonalInfoStepWrapper-BgmoL6ee.js} +7 -7
- package/chunk/{PersonalInfoStepWrapper-DRRgtniH.js.map → PersonalInfoStepWrapper-BgmoL6ee.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-pPWIu_wT.js → PersonalInfoStepWrapper-Dlmhjo6N.js} +6 -6
- package/chunk/{PersonalInfoStepWrapper-pPWIu_wT.js.map → PersonalInfoStepWrapper-Dlmhjo6N.js.map} +1 -1
- package/chunk/{PostalCodeComponent-BtLrVcrF.js → PostalCodeComponent-CPZfUESZ.js} +7 -7
- package/chunk/{PostalCodeComponent-Bgb7szGz.js.map → PostalCodeComponent-CPZfUESZ.js.map} +1 -1
- package/chunk/{PostalCodeComponent-Bgb7szGz.js → PostalCodeComponent-VDfukHbY.js} +7 -7
- package/chunk/{PostalCodeComponent-BtLrVcrF.js.map → PostalCodeComponent-VDfukHbY.js.map} +1 -1
- package/chunk/{SSN-0dIFYcv0.js → SSN-B67W8oLs.js} +7 -7
- package/chunk/{SSN-0dIFYcv0.js.map → SSN-B67W8oLs.js.map} +1 -1
- package/chunk/{SSN-tv5yGXF8.js → SSN-BVh7Dhuk.js} +7 -7
- package/chunk/{SSN-tv5yGXF8.js.map → SSN-BVh7Dhuk.js.map} +1 -1
- package/chunk/StateSelectComponent-BG1HTtFx.js +42 -0
- package/chunk/StateSelectComponent-BG1HTtFx.js.map +1 -0
- package/chunk/StateSelectComponent-DSZEVrkF.js +46 -0
- package/chunk/StateSelectComponent-DSZEVrkF.js.map +1 -0
- package/chunk/{StatusComponent-Bdb906LR.js → StatusComponent-CqF9cCjU.js} +8 -8
- package/chunk/{StatusComponent-Bdb906LR.js.map → StatusComponent-CqF9cCjU.js.map} +1 -1
- package/chunk/{StatusComponent-Ojhh4poh.js → StatusComponent-DU8VVzqB.js} +8 -8
- package/chunk/{StatusComponent-Ojhh4poh.js.map → StatusComponent-DU8VVzqB.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-Be7uVFSJ.js → StepAgePersonalInfo-CDNNfePx.js} +40 -40
- package/chunk/{StepAgePersonalInfo-Be7uVFSJ.js.map → StepAgePersonalInfo-CDNNfePx.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-DniR-OJB.js → StepAgePersonalInfo-X8ebAelC.js} +40 -40
- package/chunk/{StepAgePersonalInfo-DniR-OJB.js.map → StepAgePersonalInfo-X8ebAelC.js.map} +1 -1
- package/chunk/{StepCard-EHeqFY3Y.js → StepCard-D3V6UR1D.js} +4 -4
- package/chunk/{StepCard-DQ9JkAjb.js.map → StepCard-D3V6UR1D.js.map} +1 -1
- package/chunk/{StepCard-DQ9JkAjb.js → StepCard-DXc8h6Xb.js} +4 -4
- package/chunk/{StepCard-EHeqFY3Y.js.map → StepCard-DXc8h6Xb.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-NQsteKDF.js → StepCollectIdentifier-DjHVmRka.js} +10 -10
- package/chunk/{StepCollectIdentifier-NQsteKDF.js.map → StepCollectIdentifier-DjHVmRka.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-CCimZkNA.js → StepCollectIdentifier-pFxNA5-S.js} +10 -10
- package/chunk/{StepCollectIdentifier-CCimZkNA.js.map → StepCollectIdentifier-pFxNA5-S.js.map} +1 -1
- package/chunk/StepCollectMilitaryPersonalInfoComponent-CQxkr8wE.js +245 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-CQxkr8wE.js.map +1 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-DhTY2O6C.js +249 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-DhTY2O6C.js.map +1 -0
- package/chunk/StepCollectPersonalInfo-B_X0PZhC.js +372 -0
- package/chunk/StepCollectPersonalInfo-B_X0PZhC.js.map +1 -0
- package/chunk/StepCollectPersonalInfo-LiUa8Sv9.js +368 -0
- package/chunk/StepCollectPersonalInfo-LiUa8Sv9.js.map +1 -0
- package/chunk/{StepCompleteAuthentication-D7GOINsk.js → StepCompleteAuthentication-Bi-I4iQd.js} +8 -8
- package/chunk/{StepCompleteAuthentication-W7k49rug.js.map → StepCompleteAuthentication-Bi-I4iQd.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-W7k49rug.js → StepCompleteAuthentication-nlgzsvQo.js} +8 -8
- package/chunk/{StepCompleteAuthentication-D7GOINsk.js.map → StepCompleteAuthentication-nlgzsvQo.js.map} +1 -1
- package/chunk/{StepConsolation-C0KeXQqn.js → StepConsolation-C8l0AsAN.js} +7 -7
- package/chunk/{StepConsolation-C0KeXQqn.js.map → StepConsolation-C8l0AsAN.js.map} +1 -1
- package/chunk/{StepConsolation-E_znl7jV.js → StepConsolation-Ctfums38.js} +7 -7
- package/chunk/{StepConsolation-E_znl7jV.js.map → StepConsolation-Ctfums38.js.map} +1 -1
- package/chunk/{StepDocUpload-pQFYcYdf.js → StepDocUpload-B6U1kt-J.js} +12 -12
- package/chunk/{StepDocUpload-pQFYcYdf.js.map → StepDocUpload-B6U1kt-J.js.map} +1 -1
- package/chunk/{StepDocUpload-DuSILOG0.js → StepDocUpload-u87pI7B5.js} +12 -12
- package/chunk/{StepDocUpload-DuSILOG0.js.map → StepDocUpload-u87pI7B5.js.map} +1 -1
- package/chunk/StepDriverLicensePersonalInfoComponent-CZi9FjFw.js +145 -0
- package/chunk/StepDriverLicensePersonalInfoComponent-CZi9FjFw.js.map +1 -0
- package/chunk/StepDriverLicensePersonalInfoComponent-DhwEyS4H.js +141 -0
- package/chunk/StepDriverLicensePersonalInfoComponent-DhwEyS4H.js.map +1 -0
- package/chunk/{StepEmailLoop-COHc-_1A.js → StepEmailLoop-Bep5IjIv.js} +12 -12
- package/chunk/{StepEmailLoop-COHc-_1A.js.map → StepEmailLoop-Bep5IjIv.js.map} +1 -1
- package/chunk/{StepEmailLoop-cKuWeh4t.js → StepEmailLoop-LNvZO2lA.js} +12 -12
- package/chunk/{StepEmailLoop-cKuWeh4t.js.map → StepEmailLoop-LNvZO2lA.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-DTMZKI8d.js → StepEmploymentPersonalInfo-C1dWVX-m.js} +62 -63
- package/chunk/StepEmploymentPersonalInfo-C1dWVX-m.js.map +1 -0
- package/chunk/{StepEmploymentPersonalInfo-DIdXOjW9.js → StepEmploymentPersonalInfo-D9mQOTuf.js} +62 -63
- package/chunk/StepEmploymentPersonalInfo-D9mQOTuf.js.map +1 -0
- package/chunk/{StepFirstResponderPersonalInfo-7zSkIqU9.js → StepFirstResponderPersonalInfo-CT1gRYaq.js} +33 -33
- package/chunk/{StepFirstResponderPersonalInfo-7zSkIqU9.js.map → StepFirstResponderPersonalInfo-CT1gRYaq.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-MLnZhtQn.js → StepFirstResponderPersonalInfo-DlUpQoEU.js} +33 -33
- package/chunk/{StepFirstResponderPersonalInfo-MLnZhtQn.js.map → StepFirstResponderPersonalInfo-DlUpQoEU.js.map} +1 -1
- package/chunk/StepGeneralIdentityPersonalInfoComponent-ARiVwAek.js +174 -0
- package/chunk/StepGeneralIdentityPersonalInfoComponent-ARiVwAek.js.map +1 -0
- package/chunk/StepGeneralIdentityPersonalInfoComponent-Z5qswwCp.js +178 -0
- package/chunk/StepGeneralIdentityPersonalInfoComponent-Z5qswwCp.js.map +1 -0
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DAfAMm_T.js → StepHybridIdentityPersonalInfoComponent-1-z8c41b.js} +69 -61
- package/chunk/StepHybridIdentityPersonalInfoComponent-1-z8c41b.js.map +1 -0
- package/chunk/StepHybridIdentityPersonalInfoComponent-BwxDwJVl.js +183 -0
- package/chunk/StepHybridIdentityPersonalInfoComponent-BwxDwJVl.js.map +1 -0
- package/chunk/{StepIDCheckLoop-DkAuBIrf.js → StepIDCheckLoop-B4XZRie5.js} +7 -7
- package/chunk/{StepIDCheckLoop-C695yO0J.js.map → StepIDCheckLoop-B4XZRie5.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-C695yO0J.js → StepIDCheckLoop-C_8ZbGg3.js} +7 -7
- package/chunk/{StepIDCheckLoop-DkAuBIrf.js.map → StepIDCheckLoop-C_8ZbGg3.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-DUVEZv-O.js → StepIDCheckLoopOnfido-DHJ1eACS.js} +10 -10
- package/chunk/{StepIDCheckLoopOnfido-DUVEZv-O.js.map → StepIDCheckLoopOnfido-DHJ1eACS.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-BX0wXBsC.js → StepIDCheckLoopOnfido-xcgqvCT4.js} +10 -10
- package/chunk/{StepIDCheckLoopOnfido-BX0wXBsC.js.map → StepIDCheckLoopOnfido-xcgqvCT4.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-D9tPFZq4.js → StepIDCheckLoopRegula-BKzknlsH.js} +10 -10
- package/chunk/{StepIDCheckLoopRegula-Bu8RfgcX.js.map → StepIDCheckLoopRegula-BKzknlsH.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-Bu8RfgcX.js → StepIDCheckLoopRegula-DHBybeFp.js} +10 -10
- package/chunk/{StepIDCheckLoopRegula-D9tPFZq4.js.map → StepIDCheckLoopRegula-DHBybeFp.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-DPQdBohU.js → StepLicensedProfessionalPersonalInfo-BNua2Voe.js} +33 -33
- package/chunk/{StepLicensedProfessionalPersonalInfo-BSNFvosk.js.map → StepLicensedProfessionalPersonalInfo-BNua2Voe.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-BSNFvosk.js → StepLicensedProfessionalPersonalInfo-DxzL7PKs.js} +33 -33
- package/chunk/{StepLicensedProfessionalPersonalInfo-DPQdBohU.js.map → StepLicensedProfessionalPersonalInfo-DxzL7PKs.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-OzDd09IJ.js → StepLowIncomePersonalInfo-ChHOr4Dn.js} +68 -69
- package/chunk/StepLowIncomePersonalInfo-ChHOr4Dn.js.map +1 -0
- package/chunk/{StepLowIncomePersonalInfo-gU4KzCNs.js → StepLowIncomePersonalInfo-zPhDWXQu.js} +69 -70
- package/chunk/StepLowIncomePersonalInfo-zPhDWXQu.js.map +1 -0
- package/chunk/{StepMedicalProfessionalPersonalInfo-BSEm9NTU.js → StepMedicalProfessionalPersonalInfo-CenlDA7k.js} +34 -34
- package/chunk/{StepMedicalProfessionalPersonalInfo-BRnvUAH3.js.map → StepMedicalProfessionalPersonalInfo-CenlDA7k.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-BRnvUAH3.js → StepMedicalProfessionalPersonalInfo-DFjztEA9.js} +34 -34
- package/chunk/{StepMedicalProfessionalPersonalInfo-BSEm9NTU.js.map → StepMedicalProfessionalPersonalInfo-DFjztEA9.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-FnoUCd7p.js → StepMemberPersonalInfo-CIrTZrzs.js} +36 -36
- package/chunk/{StepMemberPersonalInfo-DPdi6ouv.js.map → StepMemberPersonalInfo-CIrTZrzs.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-DPdi6ouv.js → StepMemberPersonalInfo-x4tfVQwF.js} +36 -36
- package/chunk/{StepMemberPersonalInfo-FnoUCd7p.js.map → StepMemberPersonalInfo-x4tfVQwF.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-C_NJAet0.js → StepMoverPersonalInfo-CJOQKMaw.js} +29 -29
- package/chunk/{StepMoverPersonalInfo-CVGtuXEz.js.map → StepMoverPersonalInfo-CJOQKMaw.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-CVGtuXEz.js → StepMoverPersonalInfo-D9AupBvx.js} +29 -29
- package/chunk/{StepMoverPersonalInfo-C_NJAet0.js.map → StepMoverPersonalInfo-D9AupBvx.js.map} +1 -1
- package/chunk/{StepOverrideComponent-BKdrMumi.js → StepOverrideComponent-Bj7PAZ4Z.js} +11 -11
- package/chunk/{StepOverrideComponent-BKdrMumi.js.map → StepOverrideComponent-Bj7PAZ4Z.js.map} +1 -1
- package/chunk/{StepOverrideComponent-C_-b7clT.js → StepOverrideComponent-QsyKT4aZ.js} +11 -11
- package/chunk/{StepOverrideComponent-C_-b7clT.js.map → StepOverrideComponent-QsyKT4aZ.js.map} +1 -1
- package/chunk/{StepSMSLoop-BXath2q1.js → StepSMSLoop-Bmt8tVWk.js} +8 -8
- package/chunk/{StepSMSLoop-BXath2q1.js.map → StepSMSLoop-Bmt8tVWk.js.map} +1 -1
- package/chunk/{StepSMSLoop-SuXiAHtz.js → StepSMSLoop-CzViaU2K.js} +8 -8
- package/chunk/{StepSMSLoop-SuXiAHtz.js.map → StepSMSLoop-CzViaU2K.js.map} +1 -1
- package/chunk/StepSSO-BGHCbduX.js +3 -3
- package/chunk/StepSSO-ZHByQpHa.js +3 -3
- package/chunk/{StepSocialSecurityNumber-CIRXd9dv.js → StepSocialSecurityNumber-B-lac1dq.js} +11 -11
- package/chunk/{StepSocialSecurityNumber-B-Jp8tLA.js.map → StepSocialSecurityNumber-B-lac1dq.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-B-Jp8tLA.js → StepSocialSecurityNumber-CxjWst3F.js} +11 -11
- package/chunk/{StepSocialSecurityNumber-CIRXd9dv.js.map → StepSocialSecurityNumber-CxjWst3F.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-DTPJxDoq.js → StepStudentPersonalInfo-BbNYLYQM.js} +41 -41
- package/chunk/{StepStudentPersonalInfo-BFuvtQDZ.js.map → StepStudentPersonalInfo-BbNYLYQM.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-BFuvtQDZ.js → StepStudentPersonalInfo-C19uuc35.js} +41 -41
- package/chunk/{StepStudentPersonalInfo-DTPJxDoq.js.map → StepStudentPersonalInfo-C19uuc35.js.map} +1 -1
- package/chunk/{StepSuccess-CkZJ9Suh.js → StepSuccess-B8GUwLl1.js} +12 -12
- package/chunk/{StepSuccess-C6cx6fA8.js.map → StepSuccess-B8GUwLl1.js.map} +1 -1
- package/chunk/{StepSuccess-C6cx6fA8.js → StepSuccess-BTjwSlUq.js} +12 -12
- package/chunk/{StepSuccess-CkZJ9Suh.js.map → StepSuccess-BTjwSlUq.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-C8xyqJ79.js → StepTeacherPersonalInfo-C2OKI-SB.js} +35 -35
- package/chunk/{StepTeacherPersonalInfo-B8AOW2vW.js.map → StepTeacherPersonalInfo-C2OKI-SB.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-B8AOW2vW.js → StepTeacherPersonalInfo-DrB0FfDl.js} +35 -35
- package/chunk/{StepTeacherPersonalInfo-C8xyqJ79.js.map → StepTeacherPersonalInfo-DrB0FfDl.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +3 -3
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +3 -3
- package/chunk/{TeacherSchoolComponent-S6yC83_l.js → TeacherSchoolComponent-BGCYNyOF.js} +9 -9
- package/chunk/{TeacherSchoolComponent-B9dt1pXI.js.map → TeacherSchoolComponent-BGCYNyOF.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-B9dt1pXI.js → TeacherSchoolComponent-C6_Q1Hyc.js} +9 -9
- package/chunk/{TeacherSchoolComponent-S6yC83_l.js.map → TeacherSchoolComponent-C6_Q1Hyc.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-ipf_F-iY.js → TestingRouteOverrides-BJ6TzzV2.js} +5 -5
- package/chunk/{TestingRouteOverrides-ipf_F-iY.js.map → TestingRouteOverrides-BJ6TzzV2.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-EggQSvgh.js → TestingRouteOverrides-g0sNWumM.js} +5 -5
- package/chunk/{TestingRouteOverrides-EggQSvgh.js.map → TestingRouteOverrides-g0sNWumM.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +3 -3
- package/chunk/ar-D5CO913q.js +3 -3
- package/chunk/bg-1mhA5kYF.js +3 -3
- package/chunk/bn-IN-CpDqyRb_.js +3 -3
- package/chunk/clsx-CB5rauS5.js +3 -3
- package/chunk/{countryUtils-BBN8jYxF.js → countryUtils-2xROZ0HR.js} +4 -4
- package/chunk/{countryUtils-BBN8jYxF.js.map → countryUtils-2xROZ0HR.js.map} +1 -1
- package/chunk/{countryUtils-n_5QoHGV.js → countryUtils-BrbLtF3F.js} +4 -4
- package/chunk/{countryUtils-n_5QoHGV.js.map → countryUtils-BrbLtF3F.js.map} +1 -1
- package/chunk/cs-Chh7FAGt.js +3 -3
- package/chunk/da-DwrVoxto.js +3 -3
- package/chunk/de-IWGZLhgY.js +3 -3
- package/chunk/{downshift.esm-DIqASAb_.js → downshift.esm-CUJv4odi.js} +6 -6
- package/chunk/{downshift.esm-DIqASAb_.js.map → downshift.esm-CUJv4odi.js.map} +1 -1
- package/chunk/{downshift.esm-bT2teXW5.js → downshift.esm-DvaoY6u7.js} +6 -6
- package/chunk/{downshift.esm-bT2teXW5.js.map → downshift.esm-DvaoY6u7.js.map} +1 -1
- package/chunk/el-DbDcvSPJ.js +3 -3
- package/chunk/{empties-Dhc64eA5.js → empties-CrGLsC5v.js} +4 -4
- package/chunk/{empties-Dhc64eA5.js.map → empties-CrGLsC5v.js.map} +1 -1
- package/chunk/{empties-DHI3R7ys.js → empties-DVYWFiU4.js} +4 -4
- package/chunk/{empties-DHI3R7ys.js.map → empties-DVYWFiU4.js.map} +1 -1
- package/chunk/en-GB-BBkjjtqq.js +3 -3
- package/chunk/es-ES-DWimqEZ_.js +3 -3
- package/chunk/es-qhC-seq5.js +3 -3
- package/chunk/et-yF9G-Mym.js +3 -3
- package/chunk/eventEmitter-CSG6jR7V.js +3 -3
- package/chunk/fa-BcdSf7og.js +3 -3
- package/chunk/fi-D-IP_KHm.js +3 -3
- package/chunk/fr-BmUuYxk0.js +3 -3
- package/chunk/fr-CA-DVQ4xmzZ.js +3 -3
- package/chunk/ga-DuZycND3.js +3 -3
- package/chunk/hi-IN-l6Rn5Ewm.js +3 -3
- package/chunk/{hooks-Cl3P7QIh.js → hooks-Bl6VU6hP.js} +6 -6
- package/chunk/{hooks-B8Gr4Mtw.js.map → hooks-Bl6VU6hP.js.map} +1 -1
- package/chunk/{hooks-B8Gr4Mtw.js → hooks-j2dPIOl1.js} +6 -6
- package/chunk/{hooks-Cl3P7QIh.js.map → hooks-j2dPIOl1.js.map} +1 -1
- package/chunk/hr-BtqyDzDB.js +3 -3
- package/chunk/hu-C6syKJfb.js +3 -3
- package/chunk/id-GgI-Z2a5.js +3 -3
- package/chunk/{intl-CvSmE54g.js → intl-D0f52P7V.js} +5 -5
- package/chunk/{intl-CvSmE54g.js.map → intl-D0f52P7V.js.map} +1 -1
- package/chunk/is-CvmKEON9.js +3 -3
- package/chunk/it-CnmveGgC.js +3 -3
- package/chunk/iw-DFUYHkxF.js +3 -3
- package/chunk/ja-CjVb2tWW.js +3 -3
- package/chunk/{jsx-runtime-CyXcV_93.js → jsx-runtime-ClghfwTa.js} +4 -4
- package/chunk/{jsx-runtime-CyXcV_93.js.map → jsx-runtime-ClghfwTa.js.map} +1 -1
- package/chunk/{jsx-runtime-JSlXFmKD.js → jsx-runtime-FfARtXk2.js} +4 -4
- package/chunk/{jsx-runtime-JSlXFmKD.js.map → jsx-runtime-FfARtXk2.js.map} +1 -1
- package/chunk/kk-Dvz4nK6K.js +3 -3
- package/chunk/ko-DzOqBMGC.js +3 -3
- package/chunk/lo-C2WPq55d.js +3 -3
- package/chunk/lt-BSDYvjTF.js +3 -3
- package/chunk/lv-CefDPT-M.js +3 -3
- package/chunk/mockProgramTheme-CBqgtg7A.js +3 -3
- package/chunk/{mocks-Dpf6dNc6.js → mocks-Baq-FHji.js} +4 -4
- package/chunk/{mocks-Dpf6dNc6.js.map → mocks-Baq-FHji.js.map} +1 -1
- package/chunk/{mocks-DrV8NINc.js → mocks-DLTwXwzM.js} +4 -4
- package/chunk/{mocks-DrV8NINc.js.map → mocks-DLTwXwzM.js.map} +1 -1
- package/chunk/ms-BjestZxy.js +3 -3
- package/chunk/nl-B1FyUfCT.js +3 -3
- package/chunk/nl-BE-CbeAd3nq.js +3 -3
- package/chunk/no-Dr633Ddi.js +3 -3
- package/chunk/{options-CRzdSTAR.js → options-CvRaXPRs.js} +5 -5
- package/chunk/{options-CRzdSTAR.js.map → options-CvRaXPRs.js.map} +1 -1
- package/chunk/pl-UYTjMIq_.js +3 -3
- package/chunk/{programThemeGetters-VBnkSxuj.js → programThemeGetters-Bhp4oSEn.js} +4 -4
- package/chunk/{programThemeGetters-VBnkSxuj.js.map → programThemeGetters-Bhp4oSEn.js.map} +1 -1
- package/chunk/{programThemeGetters-DYWYXv-a.js → programThemeGetters-CQmR9Vit.js} +4 -4
- package/chunk/{programThemeGetters-DYWYXv-a.js.map → programThemeGetters-CQmR9Vit.js.map} +1 -1
- package/chunk/pt-BR-C8SYMT-J.js +3 -3
- package/chunk/pt-uH-M3GdN.js +3 -3
- package/chunk/refs-Mq0rtW9K.js +3 -3
- package/chunk/ro-CAOSXZ7h.js +3 -3
- package/chunk/ru-iwYoEydL.js +3 -3
- package/chunk/runtimeTypes-B2AGNJMT.js +3 -3
- package/chunk/sk-DYYNV3zw.js +3 -3
- package/chunk/sl-D_-eeM5N.js +3 -3
- package/chunk/sr-BTi9_anL.js +3 -3
- package/chunk/{stepComponentHelpers-DXPc6DBY.js → stepComponentHelpers-BweXuNBz.js} +39 -45
- package/chunk/stepComponentHelpers-BweXuNBz.js.map +1 -0
- package/chunk/{stepComponentHelpers-DKGaTSta.js → stepComponentHelpers-CmZT1Man.js} +39 -45
- package/chunk/stepComponentHelpers-CmZT1Man.js.map +1 -0
- package/chunk/strings-DWLVdUcm.js +3 -3
- package/chunk/sv-DRwY4shG.js +3 -3
- package/chunk/sw-Bvj2mYmM.js +3 -3
- package/chunk/ta-CmtaYoNe.js +3 -3
- package/chunk/th-12r2yKkJ.js +3 -3
- package/chunk/tl-BGNfO7md.js +3 -3
- package/chunk/tr-DH2ZSJhs.js +3 -3
- package/chunk/uk-CELBZlTd.js +3 -3
- package/chunk/ur-MR8DTbmd.js +3 -3
- package/chunk/{useCollectFieldsEndpoint-CbmFrBU4.js → useCollectFieldsEndpoint-D15FcoFB.js} +7 -7
- package/chunk/{useCollectFieldsEndpoint-CbmFrBU4.js.map → useCollectFieldsEndpoint-D15FcoFB.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-Ebbgvv8F.js → useCollectFieldsEndpoint-DV9zk9Je.js} +7 -7
- package/chunk/{useCollectFieldsEndpoint-Ebbgvv8F.js.map → useCollectFieldsEndpoint-DV9zk9Je.js.map} +1 -1
- package/chunk/{useMetrics-BBypvN8X.js → useMetrics-BEoV8Edp.js} +6 -6
- package/chunk/{useMetrics-BBypvN8X.js.map → useMetrics-BEoV8Edp.js.map} +1 -1
- package/chunk/{useMetrics-Grd89oUa.js → useMetrics-CRK2aOGa.js} +6 -6
- package/chunk/{useMetrics-Grd89oUa.js.map → useMetrics-CRK2aOGa.js.map} +1 -1
- package/chunk/vi-DtZ-SqD5.js +3 -3
- package/chunk/zh-DjyVyYac.js +3 -3
- package/chunk/zh-HK-CN1HarHq.js +3 -3
- package/chunk/zu-DPhgIh1z.js +3 -3
- package/package.json +1 -1
- package/sheerid-install.css +3 -3
- package/sheerid-install.js +3 -3
- package/sheerid.css +3 -3
- package/sheerid.js +43 -43
- package/chunk/StateSelectComponent-DHUEIhlv.js +0 -42
- package/chunk/StateSelectComponent-DHUEIhlv.js.map +0 -1
- package/chunk/StateSelectComponent-IctaeMW6.js +0 -38
- package/chunk/StateSelectComponent-IctaeMW6.js.map +0 -1
- package/chunk/StepCollectMilitaryPersonalInfoComponent-BfMXNktL.js +0 -250
- package/chunk/StepCollectMilitaryPersonalInfoComponent-BfMXNktL.js.map +0 -1
- package/chunk/StepCollectMilitaryPersonalInfoComponent-C6QVRvw0.js +0 -246
- package/chunk/StepCollectMilitaryPersonalInfoComponent-C6QVRvw0.js.map +0 -1
- package/chunk/StepCollectPersonalInfo-CVXjHfis.js +0 -373
- package/chunk/StepCollectPersonalInfo-CVXjHfis.js.map +0 -1
- package/chunk/StepCollectPersonalInfo-JQk2vqOI.js +0 -369
- package/chunk/StepCollectPersonalInfo-JQk2vqOI.js.map +0 -1
- package/chunk/StepDriverLicensePersonalInfoComponent-B1VHkdrS.js +0 -146
- package/chunk/StepDriverLicensePersonalInfoComponent-B1VHkdrS.js.map +0 -1
- package/chunk/StepDriverLicensePersonalInfoComponent-CYMVO1se.js +0 -142
- package/chunk/StepDriverLicensePersonalInfoComponent-CYMVO1se.js.map +0 -1
- package/chunk/StepEmploymentPersonalInfo-DIdXOjW9.js.map +0 -1
- package/chunk/StepEmploymentPersonalInfo-DTMZKI8d.js.map +0 -1
- package/chunk/StepGeneralIdentityPersonalInfoComponent-D4qDSPkp.js +0 -175
- package/chunk/StepGeneralIdentityPersonalInfoComponent-D4qDSPkp.js.map +0 -1
- package/chunk/StepGeneralIdentityPersonalInfoComponent-DAfAMm_T.js.map +0 -1
- package/chunk/StepHybridIdentityPersonalInfoComponent-BWshCcSQ.js +0 -184
- package/chunk/StepHybridIdentityPersonalInfoComponent-BWshCcSQ.js.map +0 -1
- package/chunk/StepHybridIdentityPersonalInfoComponent-DNTsjYeh.js +0 -188
- package/chunk/StepHybridIdentityPersonalInfoComponent-DNTsjYeh.js.map +0 -1
- package/chunk/StepLowIncomePersonalInfo-OzDd09IJ.js.map +0 -1
- package/chunk/StepLowIncomePersonalInfo-gU4KzCNs.js.map +0 -1
- package/chunk/stepComponentHelpers-DKGaTSta.js.map +0 -1
- package/chunk/stepComponentHelpers-DXPc6DBY.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepEmploymentPersonalInfo-D9mQOTuf.js","names":[],"sources":["../../src/components/FormFields/Company/CompanyComponent.tsx","../../src/components/StepEmploymentPersonalInfo/StepEmploymentPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { useMessage } from \"@/components/Message\";\nimport { FormFieldTypeahead } from \"@/components/FormFields/FormFieldTypeahead/FormFieldTypeahead\";\nimport {\n type FormFieldComponentProps,\n type VerificationServiceProps,\n type Organization,\n} from \"@/lib/types/types\";\nimport { getOrgSearchUrl } from \"@/lib/ProgramTheme/programThemeGetters\";\n\nexport const CompanyComponent = ({\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=\"company\"\n value={value}\n verificationService={verificationService}\n onChange={(choice: Organization) => onChange(choice)}\n placeholder={placeholder || msg({ id: \"companyPlaceholder\" })}\n label={<FormattedHTMLMessage id=\"company\" defaultMessage=\"Company\" />}\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","/**\n * TODO - preamble\n */\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport {\n type VerificationService,\n type Organization,\n type EmploymentPersonalInfoViewModel,\n type CustomFormFieldConfig,\n type FormSelectChoice,\n type State,\n type FieldId,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n shouldCollectAddressFields,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { CompanyComponent } from \"../FormFields/Company/CompanyComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepEmploymentPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nconst StepEmploymentPersonalInfo = ({\n intl,\n verificationService,\n}: StepEmploymentPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as EmploymentPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const options = getOptions();\n\n const updateEmploymentViewModel = (key: keyof EmploymentPersonalInfoViewModel, value: any) => {\n const nextState: EmploymentPersonalInfoViewModel = produce(\n viewModel,\n (draft: EmploymentPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationService.verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"employment\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n viewModelDraftDecorator={(draft, countryChoice) => {\n const viewModel = draft as EmploymentPersonalInfoViewModel;\n\n viewModel.shouldCollectAddress = shouldCollectAddressFields(\n countryChoice,\n verificationService.programTheme.config.countries,\n );\n const addressFields: FieldId[] = [\"address1\", \"city\", \"state\", \"postalCode\"];\n const existing = (viewModel.fieldsToSkipValidation || []).filter(\n (id) => !addressFields.includes(id),\n );\n if (!viewModel.shouldCollectAddress) {\n viewModel.address1 = \"\";\n viewModel.city = \"\";\n viewModel.state = \"\";\n viewModel.postalCode = \"\";\n viewModel.fieldsToSkipValidation = [...existing, ...addressFields];\n } else {\n viewModel.fieldsToSkipValidation = existing.length ? existing : undefined;\n }\n }}\n />\n\n <CompanyComponent\n value={(verificationService.viewModel as EmploymentPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateEmploymentViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateEmploymentViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n {shouldCollectAddressFields(\n viewModel.countryChoice,\n verificationService.programTheme.config.countries,\n ) ? (\n <AddressComponent\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n onChange={(newValue) => {\n updateEmploymentViewModel(\"address1\", newValue);\n updateFieldValidationErrorsByFieldId(\"address1\", newValue, verificationService);\n }}\n isRequired\n value={viewModel.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n explanation={\n <FormattedHTMLMessage id=\"addressExplanation\" defaultMessage=\"Use your home address\" />\n }\n />\n ) : null}\n\n {shouldCollectAddressFields(\n viewModel.countryChoice,\n verificationService.programTheme.config.countries,\n ) ? (\n <div className=\"sid-thirds\">\n <CityComponent\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n onChange={(newValue) => {\n updateEmploymentViewModel(\"city\", newValue);\n updateFieldValidationErrorsByFieldId(\"city\", newValue, verificationService);\n }}\n value={viewModel.city}\n isRequired\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n />\n <StateSelectComponent\n isRequired\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updateEmploymentViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n />\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateEmploymentViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n </div>\n ) : null}\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Use your work email if you have one\"\n />\n }\n onChange={(newValue) => {\n updateEmploymentViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateEmploymentViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateEmploymentViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectEmployeePersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Employment Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\n// TODO remove injectIntl, unused\nexport const StepEmploymentPersonalInfoComponent = injectIntl(StepEmploymentPersonalInfo);\n"],"mappings":";;;;;;;;;;;;;;;;;;;aAaa,KAAoB,EAC/B,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,aAAa,KAAe,EAAI,EAAE,IAAI,qBAAqB,CAAC;EAC5D,OAAO,iBAAA,GAAA,EAAA,KAAC,GAAD;GAAsB,IAAG;GAAU,gBAAe;EAAW,CAAA;EACpE,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,GCwNa,IAAsC,GA5Nf,EAClC,SACA,6BAC8C;CAC9C,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IAAU,EAAW,GAErB,KAA6B,GAA4C,MAAe;EAC5F,IAAM,IAA6C,EACjD,IACC,MAA2C;GAC1C,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C;CAEA,OACE,iBAAA,GAAA,EAAA,MAAC,GAAD;EACuB;EACrB,MAAM,EAAoB,qBAAqB;YAFjD;GAIE,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,qBAAoB;GACrB,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD,EAA8C,uBAAsB,CAAA;GACpE,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,UAAU,EAAwB,SAAS,GAAG;IAC9C,0BAA0B,GAAO,MAAkB;KACjD,IAAM,IAAY;KAElB,EAAU,uBAAuB,EAC/B,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iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB,CAGwF"}
|
|
@@ -4,37 +4,37 @@
|
|
|
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.286.0-alpha.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE: Wed Sep 16 2026
|
|
7
|
+
* VERSION: 2.286.0-alpha.2
|
|
8
|
+
* BUILD_TIMESTAMP: 1789596645608
|
|
9
|
+
* BUILD_DATE: Wed Sep 16 2026 22:10:45 GMT+0000 (Coordinated Universal Time)
|
|
10
10
|
* BUILD_COMMIT: 58cd071e490202b546ec8addac4434c422af952d
|
|
11
11
|
*/
|
|
12
|
-
import { p as e, s as t, wt as n } from "./intl-
|
|
12
|
+
import { p as e, s as t, wt as n } from "./intl-D0f52P7V.js";
|
|
13
13
|
import { b as r } from "./runtimeTypes-B2AGNJMT.js";
|
|
14
|
-
import { a as i, c as a, n as o, t as s } from "./jsx-runtime-
|
|
15
|
-
import { n as c } from "./empties-
|
|
16
|
-
import { p as l } from "./FormFooterComponent-
|
|
14
|
+
import { a as i, c as a, n as o, t as s } from "./jsx-runtime-FfARtXk2.js";
|
|
15
|
+
import { n as c } from "./empties-CrGLsC5v.js";
|
|
16
|
+
import { p as l } from "./FormFooterComponent-C68F5kaP.js";
|
|
17
17
|
import { t as u } from "../_mysheerid-preview.js";
|
|
18
|
-
import { t as d } from "./useCollectFieldsEndpoint-
|
|
19
|
-
import {
|
|
20
|
-
import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-
|
|
21
|
-
import { n as C, t as w } from "./PersonalInfoStepSubmitButton-
|
|
22
|
-
import { t as T } from "./BirthDateComponent-
|
|
23
|
-
import { t as E } from "./PostalCodeComponent-
|
|
24
|
-
import { t as D } from "./CountryComponentWrapper-
|
|
25
|
-
import { t as O } from "./ExtraMessage-
|
|
26
|
-
import { t as k } from "./ChangeLocaleComponent-
|
|
27
|
-
import { t as A } from "./PersonalInfoStepWrapper-
|
|
28
|
-
import { t as j } from "./countryUtils-
|
|
29
|
-
import { t as M } from "./StatusComponent-
|
|
30
|
-
import { t as N } from "./FirstResponderOrganizationComponent-
|
|
18
|
+
import { t as d } from "./useCollectFieldsEndpoint-D15FcoFB.js";
|
|
19
|
+
import { a as f, h as p, o as m, r as h, s as g } from "./stepComponentHelpers-CmZT1Man.js";
|
|
20
|
+
import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-Dtr_Cbvu.js";
|
|
21
|
+
import { n as C, t as w } from "./PersonalInfoStepSubmitButton-DZaG_Bd6.js";
|
|
22
|
+
import { t as T } from "./BirthDateComponent-COBjAdFk.js";
|
|
23
|
+
import { t as E } from "./PostalCodeComponent-CPZfUESZ.js";
|
|
24
|
+
import { t as D } from "./CountryComponentWrapper-DhAq6SAW.js";
|
|
25
|
+
import { t as O } from "./ExtraMessage-Bx2shBsO.js";
|
|
26
|
+
import { t as k } from "./ChangeLocaleComponent-jMvrJEW-.js";
|
|
27
|
+
import { t as A } from "./PersonalInfoStepWrapper-BgmoL6ee.js";
|
|
28
|
+
import { t as j } from "./countryUtils-2xROZ0HR.js";
|
|
29
|
+
import { t as M } from "./StatusComponent-DU8VVzqB.js";
|
|
30
|
+
import { t as N } from "./FirstResponderOrganizationComponent-BtSgJTlK.js";
|
|
31
31
|
a();
|
|
32
32
|
var P = s(), F = i(({ intl: i, verificationService: a }) => {
|
|
33
33
|
let s = a.viewModel, { fieldValidationErrors: F } = a, I = a.verificationResponse, L = l(I), R = t(), z = s.localeChoice.value, { availableStatuses: B } = d({
|
|
34
34
|
verificationId: I.verificationId,
|
|
35
35
|
currentStep: I.currentStep,
|
|
36
36
|
viewModel: s
|
|
37
|
-
}), V = s.countryChoice?.value, H = j(a.programTheme, V), U =
|
|
37
|
+
}), V = s.countryChoice?.value, H = j(a.programTheme, V), U = m(i, B ?? I.availableStatuses), W = (t, n) => {
|
|
38
38
|
let r = e(s, (e) => {
|
|
39
39
|
e[t] = n;
|
|
40
40
|
});
|
|
@@ -51,17 +51,17 @@ var P = s(), F = i(({ intl: i, verificationService: a }) => {
|
|
|
51
51
|
/* @__PURE__ */ (0, P.jsx)(k, { verificationService: a }),
|
|
52
52
|
/* @__PURE__ */ (0, P.jsx)(D, {
|
|
53
53
|
verificationService: a,
|
|
54
|
-
disabled:
|
|
54
|
+
disabled: h("country")?.disabled
|
|
55
55
|
}),
|
|
56
56
|
/* @__PURE__ */ (0, P.jsx)(M, {
|
|
57
57
|
segmentId: "first-responder",
|
|
58
58
|
value: {
|
|
59
59
|
value: s.status,
|
|
60
|
-
label:
|
|
60
|
+
label: f(i, s.status)
|
|
61
61
|
},
|
|
62
62
|
isErrored: !!F.status,
|
|
63
63
|
errorId: "invalidFirstResponderStatus",
|
|
64
|
-
disabled: H ||
|
|
64
|
+
disabled: H || h("status")?.disabled,
|
|
65
65
|
explanation: H ? /* @__PURE__ */ (0, P.jsx)(o, {
|
|
66
66
|
id: "chooseCountry",
|
|
67
67
|
defaultMessage: "Choose a country first"
|
|
@@ -86,21 +86,21 @@ var P = s(), F = i(({ intl: i, verificationService: a }) => {
|
|
|
86
86
|
},
|
|
87
87
|
value: a.viewModel.organization,
|
|
88
88
|
verificationService: a,
|
|
89
|
-
disabled:
|
|
89
|
+
disabled: h("organization")?.disabled
|
|
90
90
|
}),
|
|
91
91
|
/* @__PURE__ */ (0, P.jsxs)("div", {
|
|
92
92
|
className: "sid-names",
|
|
93
93
|
children: [/* @__PURE__ */ (0, P.jsx)(_, {
|
|
94
94
|
value: s.firstName,
|
|
95
95
|
isErrored: !!F.firstName,
|
|
96
|
-
disabled:
|
|
96
|
+
disabled: h("firstName")?.disabled,
|
|
97
97
|
onChange: (e) => {
|
|
98
98
|
W("firstName", e), p("firstName", e, a);
|
|
99
99
|
}
|
|
100
100
|
}), /* @__PURE__ */ (0, P.jsx)(v, {
|
|
101
101
|
value: s.lastName,
|
|
102
102
|
isErrored: !!F.lastName,
|
|
103
|
-
disabled:
|
|
103
|
+
disabled: h("lastName")?.disabled,
|
|
104
104
|
onChange: (e) => {
|
|
105
105
|
W("lastName", e), p("lastName", e, a);
|
|
106
106
|
}
|
|
@@ -113,7 +113,7 @@ var P = s(), F = i(({ intl: i, verificationService: a }) => {
|
|
|
113
113
|
W("birthDate", e), p("birthDate", e, a);
|
|
114
114
|
},
|
|
115
115
|
value: s.birthDate,
|
|
116
|
-
disabled:
|
|
116
|
+
disabled: h("birthDate")?.disabled
|
|
117
117
|
}),
|
|
118
118
|
/* @__PURE__ */ (0, P.jsx)(C, {
|
|
119
119
|
value: s.email,
|
|
@@ -125,8 +125,8 @@ var P = s(), F = i(({ intl: i, verificationService: a }) => {
|
|
|
125
125
|
onChange: (e) => {
|
|
126
126
|
W("email", e), p("email", e, a);
|
|
127
127
|
},
|
|
128
|
-
onKeyDown: (e) =>
|
|
129
|
-
disabled:
|
|
128
|
+
onKeyDown: (e) => g(e),
|
|
129
|
+
disabled: h("email")?.disabled
|
|
130
130
|
}),
|
|
131
131
|
a.programTheme.isSmsNotifierConfigured || a.programTheme.smsLoopEnabled ? /* @__PURE__ */ (0, P.jsx)(b, {
|
|
132
132
|
isRequired: !!a.programTheme.smsLoopEnabled,
|
|
@@ -136,7 +136,7 @@ var P = s(), F = i(({ intl: i, verificationService: a }) => {
|
|
|
136
136
|
W("phoneNumber", e), p("phoneNumber", e, a);
|
|
137
137
|
},
|
|
138
138
|
selectedCountryCode: s.countryChoice && s.countryChoice.value,
|
|
139
|
-
disabled:
|
|
139
|
+
disabled: h("phoneNumber")?.disabled
|
|
140
140
|
}) : null,
|
|
141
141
|
n(() => a.programTheme.openOrgSearchEnabled) && n(() => s.organization.id) === 0 && n(() => s.organization.name, "").length > 0 && /* @__PURE__ */ (0, P.jsx)(E, {
|
|
142
142
|
isErrored: !!F.postalCode,
|
|
@@ -144,7 +144,7 @@ var P = s(), F = i(({ intl: i, verificationService: a }) => {
|
|
|
144
144
|
W("postalCode", e), p("postalCode", e, a);
|
|
145
145
|
},
|
|
146
146
|
value: s.postalCode,
|
|
147
|
-
disabled:
|
|
147
|
+
disabled: h("postalCode")?.disabled
|
|
148
148
|
}),
|
|
149
149
|
R.customFormFields.map((e) => /* @__PURE__ */ (0, P.jsx)(y, {
|
|
150
150
|
config: e,
|
|
@@ -160,7 +160,7 @@ var P = s(), F = i(({ intl: i, verificationService: a }) => {
|
|
|
160
160
|
}), p("marketConsentValue", e, a);
|
|
161
161
|
},
|
|
162
162
|
viewModel: s,
|
|
163
|
-
disabled:
|
|
163
|
+
disabled: h("marketConsentValue")?.disabled
|
|
164
164
|
}),
|
|
165
165
|
/* @__PURE__ */ (0, P.jsx)(O, {
|
|
166
166
|
verificationService: a,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepFirstResponderPersonalInfo-7zSkIqU9.js","names":[],"sources":["../../src/components/StepFirstResponderPersonalInfo/StepFirstResponderPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n FirstResponderPersonalInfoViewModel,\n FirstResponderPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n getStatusLabel,\n getStatusOptions,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { useCollectFieldsEndpoint } from \"../../lib/ServerApi/useCollectFieldsEndpoint\";\nimport { isCountrySelectionNeeded } from \"../FormFields/Country/countryUtils\";\n\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { StatusComponent as FirstResponderStatus } from \"../FormFields/Status/StatusComponent\";\nimport { FirstResponderOrganizationComponent as FirstResponderOrganization } from \"../FormFields/FirstResponderOrganization/FirstResponderOrganizationComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\nimport { blankOrganization } from \"../../lib/types/empties\";\n\ninterface StepFirstResponderPersonalInfoComponentProps {\n verificationService: VerificationService;\n intl: any;\n}\n\nexport const StepFirstResponderPersonalInfo = ({\n intl,\n verificationService,\n}: StepFirstResponderPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as FirstResponderPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as FirstResponderPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n\n const locale = viewModel.localeChoice.value;\n\n const { availableStatuses: dynamicStatuses } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n });\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(\n verificationService.programTheme,\n countryChoiceValue,\n );\n\n const statusOptions = getStatusOptions(\n intl,\n dynamicStatuses ?? verificationResponse.availableStatuses,\n );\n\n const updateFirstResponderViewModel = (\n key: keyof FirstResponderPersonalInfoViewModel,\n value: any,\n ) => {\n const nextState: FirstResponderPersonalInfoViewModel = produce(\n viewModel,\n (draft: FirstResponderPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"first-responder\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n <FirstResponderStatus\n segmentId=\"first-responder\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidFirstResponderStatus\"\n disabled={needToPickCountry || getFieldConfigByFieldId(\"status\")?.disabled}\n explanation={\n needToPickCountry ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : undefined\n }\n options={statusOptions}\n onChange={(status: FormSelectChoice) => {\n updateFirstResponderViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n\n <FirstResponderOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization = blankOrganization.organization) => {\n const nextState = produce(viewModel, (draft) => {\n draft.organization = {\n id: choice.id,\n idExtended: choice.idExtended,\n name: choice.name,\n source: choice.source,\n };\n\n if (viewModel.organization && viewModel.organization.source !== undefined) {\n draft.organization.source = viewModel.organization.source;\n }\n\n if (\n getSafe(() => verificationService.programTheme.openOrgSearchEnabled) &&\n getSafe(() => choice.id) === 0 &&\n getSafe(() => choice.name, \"\").length > 0\n ) {\n draft.postalCode = viewModel.postalCode ? viewModel.postalCode : \"\";\n } else if (viewModel.postalCode || viewModel.postalCode === \"\") {\n delete draft.postalCode;\n }\n });\n\n verificationService.updateViewModel(nextState);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={(verificationService.viewModel as FirstResponderPersonalInfoViewModel).organization}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateFirstResponderViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateFirstResponderViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateFirstResponderViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Needed to send you your unique code\"\n />\n }\n onChange={(newValue) => {\n updateFirstResponderViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateFirstResponderViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n {getSafe(() => verificationService.programTheme.openOrgSearchEnabled) &&\n getSafe(() => viewModel.organization.id) === 0 &&\n getSafe(() => viewModel.organization.name, \"\").length > 0 && (\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateFirstResponderViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateFirstResponderViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectFirstResponderPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My First Responder Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepFirstResponderPersonalInfoComponent = injectIntl(StepFirstResponderPersonalInfo);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;aAkSa,IAA0C,GA5OR,EAC7C,SACA,6BACkD;CAClD,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAU,EAAW,GAErB,IAAS,EAAU,aAAa,OAEhC,EAAE,mBAAmB,MAAoB,EAAyB;EACtE,gBAAgB,EAAqB;EACrC,aAAa,EAAqB;EAClC;CACF,CAAC,GAEK,IAAqB,EAAU,eAAe,OAC9C,IAAoB,EACxB,EAAoB,cACpB,CACF,GAEM,IAAgB,EACpB,GACA,KAAmB,EAAqB,iBAC1C,GAEM,KACJ,GACA,MACG;EACH,IAAM,IAAiD,EACrD,IACC,MAA+C;GAC9C,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C;CAEA,OACE,iBAAA,GAAA,EAAA,MAAC,GAAD;EACuB;EACrB,MAAM,EAAqB;YAF7B;GAIE,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,qBAAoB;GACrB,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD,EAA8C,uBAAsB,CAAA;GACpE,iBAAA,GAAA,EAAA,KAAC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IACnF;IACA,qBAAqB,EAAU,iBAAiB,EAAU,cAAc;IACxE,UAAU,EAAwB,aAAa,GAAG;GACnD,CAAA,IACC;GACH,QAAc,EAAoB,aAAa,oBAAoB,KAClE,QAAc,EAAU,aAAa,EAAE,MAAM,KAC7C,QAAc,EAAU,aAAa,MAAM,EAAE,EAAE,SAAS,KACtD,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAEtB,AADA,EAA8B,cAAc,CAAQ,GACpD,EAAqC,cAAc,GAAU,CAAmB;IAClF;IACA,OAAO,EAAU;IACjB,UAAU,EAAwB,YAAY,GAAG;GAClD,CAAA;GAGJ,EAAQ,iBAAiB,KAAK,MAC7B,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAA8B,YAAY;MACxC,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB,CAEgG"}
|
|
1
|
+
{"version":3,"file":"StepFirstResponderPersonalInfo-CT1gRYaq.js","names":[],"sources":["../../src/components/StepFirstResponderPersonalInfo/StepFirstResponderPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n FirstResponderPersonalInfoViewModel,\n FirstResponderPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n getStatusLabel,\n getStatusOptions,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { useCollectFieldsEndpoint } from \"../../lib/ServerApi/useCollectFieldsEndpoint\";\nimport { isCountrySelectionNeeded } from \"../FormFields/Country/countryUtils\";\n\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { StatusComponent as FirstResponderStatus } from \"../FormFields/Status/StatusComponent\";\nimport { FirstResponderOrganizationComponent as FirstResponderOrganization } from \"../FormFields/FirstResponderOrganization/FirstResponderOrganizationComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\nimport { blankOrganization } from \"../../lib/types/empties\";\n\ninterface StepFirstResponderPersonalInfoComponentProps {\n verificationService: VerificationService;\n intl: any;\n}\n\nexport const StepFirstResponderPersonalInfo = ({\n intl,\n verificationService,\n}: StepFirstResponderPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as FirstResponderPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as FirstResponderPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n\n const locale = viewModel.localeChoice.value;\n\n const { availableStatuses: dynamicStatuses } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n });\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(\n verificationService.programTheme,\n countryChoiceValue,\n );\n\n const statusOptions = getStatusOptions(\n intl,\n dynamicStatuses ?? verificationResponse.availableStatuses,\n );\n\n const updateFirstResponderViewModel = (\n key: keyof FirstResponderPersonalInfoViewModel,\n value: any,\n ) => {\n const nextState: FirstResponderPersonalInfoViewModel = produce(\n viewModel,\n (draft: FirstResponderPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"first-responder\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n <FirstResponderStatus\n segmentId=\"first-responder\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidFirstResponderStatus\"\n disabled={needToPickCountry || getFieldConfigByFieldId(\"status\")?.disabled}\n explanation={\n needToPickCountry ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : undefined\n }\n options={statusOptions}\n onChange={(status: FormSelectChoice) => {\n updateFirstResponderViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n\n <FirstResponderOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization = blankOrganization.organization) => {\n const nextState = produce(viewModel, (draft) => {\n draft.organization = {\n id: choice.id,\n idExtended: choice.idExtended,\n name: choice.name,\n source: choice.source,\n };\n\n if (viewModel.organization && viewModel.organization.source !== undefined) {\n draft.organization.source = viewModel.organization.source;\n }\n\n if (\n getSafe(() => verificationService.programTheme.openOrgSearchEnabled) &&\n getSafe(() => choice.id) === 0 &&\n getSafe(() => choice.name, \"\").length > 0\n ) {\n draft.postalCode = viewModel.postalCode ? viewModel.postalCode : \"\";\n } else if (viewModel.postalCode || viewModel.postalCode === \"\") {\n delete draft.postalCode;\n }\n });\n\n verificationService.updateViewModel(nextState);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={(verificationService.viewModel as FirstResponderPersonalInfoViewModel).organization}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateFirstResponderViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateFirstResponderViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateFirstResponderViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Needed to send you your unique code\"\n />\n }\n onChange={(newValue) => {\n updateFirstResponderViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateFirstResponderViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n {getSafe(() => verificationService.programTheme.openOrgSearchEnabled) &&\n getSafe(() => viewModel.organization.id) === 0 &&\n getSafe(() => viewModel.organization.name, \"\").length > 0 && (\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateFirstResponderViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateFirstResponderViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectFirstResponderPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My First Responder Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepFirstResponderPersonalInfoComponent = injectIntl(StepFirstResponderPersonalInfo);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;aAkSa,IAA0C,GA5OR,EAC7C,SACA,6BACkD;CAClD,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAU,EAAW,GAErB,IAAS,EAAU,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UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB,CAEgG"}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.286.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Wed Sep 16 2026
|
|
3
|
+
* VERSION: 2.286.0-alpha.2
|
|
4
|
+
* BUILD_TIMESTAMP: 1789596641519
|
|
5
|
+
* BUILD_DATE: Wed Sep 16 2026 22:10:41 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 58cd071e490202b546ec8addac4434c422af952d
|
|
7
7
|
*/
|
|
8
|
-
import { c as e, n as t, ut as n } from "./options-
|
|
9
|
-
import { a as r, c as i, n as a, t as o } from "./jsx-runtime-
|
|
8
|
+
import { c as e, n as t, ut as n } from "./options-CvRaXPRs.js";
|
|
9
|
+
import { a as r, c as i, n as a, t as o } from "./jsx-runtime-ClghfwTa.js";
|
|
10
10
|
import { b as s } from "./runtimeTypes-B2AGNJMT.js";
|
|
11
|
-
import { n as c } from "./empties-
|
|
12
|
-
import { h as l } from "./FormFooterComponent-
|
|
11
|
+
import { n as c } from "./empties-DVYWFiU4.js";
|
|
12
|
+
import { h as l } from "./FormFooterComponent-DYBSB7Oh.js";
|
|
13
13
|
import { n as u } from "../sheerid.js";
|
|
14
|
-
import { t as d } from "./useCollectFieldsEndpoint-
|
|
15
|
-
import {
|
|
16
|
-
import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-
|
|
17
|
-
import { n as C, t as w } from "./PersonalInfoStepSubmitButton-
|
|
18
|
-
import { t as T } from "./BirthDateComponent-
|
|
19
|
-
import { t as E } from "./PostalCodeComponent-
|
|
20
|
-
import { t as D } from "./CountryComponentWrapper-
|
|
21
|
-
import { t as O } from "./ExtraMessage-
|
|
22
|
-
import { t as k } from "./ChangeLocaleComponent-
|
|
23
|
-
import { t as A } from "./PersonalInfoStepWrapper-
|
|
24
|
-
import { t as j } from "./countryUtils-
|
|
25
|
-
import { t as M } from "./StatusComponent-
|
|
26
|
-
import { t as N } from "./FirstResponderOrganizationComponent-
|
|
14
|
+
import { t as d } from "./useCollectFieldsEndpoint-DV9zk9Je.js";
|
|
15
|
+
import { a as f, h as p, o as m, r as h, s as g } from "./stepComponentHelpers-BweXuNBz.js";
|
|
16
|
+
import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-3qiTIduG.js";
|
|
17
|
+
import { n as C, t as w } from "./PersonalInfoStepSubmitButton-C4NAU26j.js";
|
|
18
|
+
import { t as T } from "./BirthDateComponent-Dv6hU22_.js";
|
|
19
|
+
import { t as E } from "./PostalCodeComponent-VDfukHbY.js";
|
|
20
|
+
import { t as D } from "./CountryComponentWrapper-B1wLa3TB.js";
|
|
21
|
+
import { t as O } from "./ExtraMessage-OwXiBnCM.js";
|
|
22
|
+
import { t as k } from "./ChangeLocaleComponent-B4Tlnh2U.js";
|
|
23
|
+
import { t as A } from "./PersonalInfoStepWrapper-Dlmhjo6N.js";
|
|
24
|
+
import { t as j } from "./countryUtils-BrbLtF3F.js";
|
|
25
|
+
import { t as M } from "./StatusComponent-CqF9cCjU.js";
|
|
26
|
+
import { t as N } from "./FirstResponderOrganizationComponent-Gj4VL7DI.js";
|
|
27
27
|
i();
|
|
28
28
|
var P = o(), F = r(({ intl: r, verificationService: i }) => {
|
|
29
29
|
let o = i.viewModel, { fieldValidationErrors: F } = i, I = i.verificationResponse, L = l(I), R = t(), z = o.localeChoice.value, { availableStatuses: B } = d({
|
|
30
30
|
verificationId: I.verificationId,
|
|
31
31
|
currentStep: I.currentStep,
|
|
32
32
|
viewModel: o
|
|
33
|
-
}), V = o.countryChoice?.value, H = j(i.programTheme, V), U =
|
|
33
|
+
}), V = o.countryChoice?.value, H = j(i.programTheme, V), U = m(r, B ?? I.availableStatuses), W = (t, n) => {
|
|
34
34
|
let r = e(o, (e) => {
|
|
35
35
|
e[t] = n;
|
|
36
36
|
});
|
|
@@ -47,17 +47,17 @@ var P = o(), F = r(({ intl: r, verificationService: i }) => {
|
|
|
47
47
|
/* @__PURE__ */ (0, P.jsx)(k, { verificationService: i }),
|
|
48
48
|
/* @__PURE__ */ (0, P.jsx)(D, {
|
|
49
49
|
verificationService: i,
|
|
50
|
-
disabled:
|
|
50
|
+
disabled: h("country")?.disabled
|
|
51
51
|
}),
|
|
52
52
|
/* @__PURE__ */ (0, P.jsx)(M, {
|
|
53
53
|
segmentId: "first-responder",
|
|
54
54
|
value: {
|
|
55
55
|
value: o.status,
|
|
56
|
-
label:
|
|
56
|
+
label: f(r, o.status)
|
|
57
57
|
},
|
|
58
58
|
isErrored: !!F.status,
|
|
59
59
|
errorId: "invalidFirstResponderStatus",
|
|
60
|
-
disabled: H ||
|
|
60
|
+
disabled: H || h("status")?.disabled,
|
|
61
61
|
explanation: H ? /* @__PURE__ */ (0, P.jsx)(a, {
|
|
62
62
|
id: "chooseCountry",
|
|
63
63
|
defaultMessage: "Choose a country first"
|
|
@@ -82,21 +82,21 @@ var P = o(), F = r(({ intl: r, verificationService: i }) => {
|
|
|
82
82
|
},
|
|
83
83
|
value: i.viewModel.organization,
|
|
84
84
|
verificationService: i,
|
|
85
|
-
disabled:
|
|
85
|
+
disabled: h("organization")?.disabled
|
|
86
86
|
}),
|
|
87
87
|
/* @__PURE__ */ (0, P.jsxs)("div", {
|
|
88
88
|
className: "sid-names",
|
|
89
89
|
children: [/* @__PURE__ */ (0, P.jsx)(_, {
|
|
90
90
|
value: o.firstName,
|
|
91
91
|
isErrored: !!F.firstName,
|
|
92
|
-
disabled:
|
|
92
|
+
disabled: h("firstName")?.disabled,
|
|
93
93
|
onChange: (e) => {
|
|
94
94
|
W("firstName", e), p("firstName", e, i);
|
|
95
95
|
}
|
|
96
96
|
}), /* @__PURE__ */ (0, P.jsx)(v, {
|
|
97
97
|
value: o.lastName,
|
|
98
98
|
isErrored: !!F.lastName,
|
|
99
|
-
disabled:
|
|
99
|
+
disabled: h("lastName")?.disabled,
|
|
100
100
|
onChange: (e) => {
|
|
101
101
|
W("lastName", e), p("lastName", e, i);
|
|
102
102
|
}
|
|
@@ -109,7 +109,7 @@ var P = o(), F = r(({ intl: r, verificationService: i }) => {
|
|
|
109
109
|
W("birthDate", e), p("birthDate", e, i);
|
|
110
110
|
},
|
|
111
111
|
value: o.birthDate,
|
|
112
|
-
disabled:
|
|
112
|
+
disabled: h("birthDate")?.disabled
|
|
113
113
|
}),
|
|
114
114
|
/* @__PURE__ */ (0, P.jsx)(C, {
|
|
115
115
|
value: o.email,
|
|
@@ -121,8 +121,8 @@ var P = o(), F = r(({ intl: r, verificationService: i }) => {
|
|
|
121
121
|
onChange: (e) => {
|
|
122
122
|
W("email", e), p("email", e, i);
|
|
123
123
|
},
|
|
124
|
-
onKeyDown: (e) =>
|
|
125
|
-
disabled:
|
|
124
|
+
onKeyDown: (e) => g(e),
|
|
125
|
+
disabled: h("email")?.disabled
|
|
126
126
|
}),
|
|
127
127
|
i.programTheme.isSmsNotifierConfigured || i.programTheme.smsLoopEnabled ? /* @__PURE__ */ (0, P.jsx)(b, {
|
|
128
128
|
isRequired: !!i.programTheme.smsLoopEnabled,
|
|
@@ -132,7 +132,7 @@ var P = o(), F = r(({ intl: r, verificationService: i }) => {
|
|
|
132
132
|
W("phoneNumber", e), p("phoneNumber", e, i);
|
|
133
133
|
},
|
|
134
134
|
selectedCountryCode: o.countryChoice && o.countryChoice.value,
|
|
135
|
-
disabled:
|
|
135
|
+
disabled: h("phoneNumber")?.disabled
|
|
136
136
|
}) : null,
|
|
137
137
|
n(() => i.programTheme.openOrgSearchEnabled) && n(() => o.organization.id) === 0 && n(() => o.organization.name, "").length > 0 && /* @__PURE__ */ (0, P.jsx)(E, {
|
|
138
138
|
isErrored: !!F.postalCode,
|
|
@@ -140,7 +140,7 @@ var P = o(), F = r(({ intl: r, verificationService: i }) => {
|
|
|
140
140
|
W("postalCode", e), p("postalCode", e, i);
|
|
141
141
|
},
|
|
142
142
|
value: o.postalCode,
|
|
143
|
-
disabled:
|
|
143
|
+
disabled: h("postalCode")?.disabled
|
|
144
144
|
}),
|
|
145
145
|
R.customFormFields.map((e) => /* @__PURE__ */ (0, P.jsx)(y, {
|
|
146
146
|
config: e,
|
|
@@ -156,7 +156,7 @@ var P = o(), F = r(({ intl: r, verificationService: i }) => {
|
|
|
156
156
|
}), p("marketConsentValue", e, i);
|
|
157
157
|
},
|
|
158
158
|
viewModel: o,
|
|
159
|
-
disabled:
|
|
159
|
+
disabled: h("marketConsentValue")?.disabled
|
|
160
160
|
}),
|
|
161
161
|
/* @__PURE__ */ (0, P.jsx)(O, {
|
|
162
162
|
verificationService: i,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepFirstResponderPersonalInfo-MLnZhtQn.js","names":[],"sources":["../../src/components/StepFirstResponderPersonalInfo/StepFirstResponderPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n FirstResponderPersonalInfoViewModel,\n FirstResponderPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n getStatusLabel,\n getStatusOptions,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { useCollectFieldsEndpoint } from \"../../lib/ServerApi/useCollectFieldsEndpoint\";\nimport { isCountrySelectionNeeded } from \"../FormFields/Country/countryUtils\";\n\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { StatusComponent as FirstResponderStatus } from \"../FormFields/Status/StatusComponent\";\nimport { FirstResponderOrganizationComponent as FirstResponderOrganization } from \"../FormFields/FirstResponderOrganization/FirstResponderOrganizationComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\nimport { blankOrganization } from \"../../lib/types/empties\";\n\ninterface StepFirstResponderPersonalInfoComponentProps {\n verificationService: VerificationService;\n intl: any;\n}\n\nexport const StepFirstResponderPersonalInfo = ({\n intl,\n verificationService,\n}: StepFirstResponderPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as FirstResponderPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as FirstResponderPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n\n const locale = viewModel.localeChoice.value;\n\n const { availableStatuses: dynamicStatuses } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n });\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(\n verificationService.programTheme,\n countryChoiceValue,\n );\n\n const statusOptions = getStatusOptions(\n intl,\n dynamicStatuses ?? verificationResponse.availableStatuses,\n );\n\n const updateFirstResponderViewModel = (\n key: keyof FirstResponderPersonalInfoViewModel,\n value: any,\n ) => {\n const nextState: FirstResponderPersonalInfoViewModel = produce(\n viewModel,\n (draft: FirstResponderPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"first-responder\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n <FirstResponderStatus\n segmentId=\"first-responder\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidFirstResponderStatus\"\n disabled={needToPickCountry || getFieldConfigByFieldId(\"status\")?.disabled}\n explanation={\n needToPickCountry ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : undefined\n }\n options={statusOptions}\n onChange={(status: FormSelectChoice) => {\n updateFirstResponderViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n\n <FirstResponderOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization = blankOrganization.organization) => {\n const nextState = produce(viewModel, (draft) => {\n draft.organization = {\n id: choice.id,\n idExtended: choice.idExtended,\n name: choice.name,\n source: choice.source,\n };\n\n if (viewModel.organization && viewModel.organization.source !== undefined) {\n draft.organization.source = viewModel.organization.source;\n }\n\n if (\n getSafe(() => verificationService.programTheme.openOrgSearchEnabled) &&\n getSafe(() => choice.id) === 0 &&\n getSafe(() => choice.name, \"\").length > 0\n ) {\n draft.postalCode = viewModel.postalCode ? viewModel.postalCode : \"\";\n } else if (viewModel.postalCode || viewModel.postalCode === \"\") {\n delete draft.postalCode;\n }\n });\n\n verificationService.updateViewModel(nextState);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={(verificationService.viewModel as FirstResponderPersonalInfoViewModel).organization}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateFirstResponderViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateFirstResponderViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateFirstResponderViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Needed to send you your unique code\"\n />\n }\n onChange={(newValue) => {\n updateFirstResponderViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateFirstResponderViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n {getSafe(() => verificationService.programTheme.openOrgSearchEnabled) &&\n getSafe(() => viewModel.organization.id) === 0 &&\n getSafe(() => viewModel.organization.name, \"\").length > 0 && (\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateFirstResponderViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateFirstResponderViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectFirstResponderPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My First Responder Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepFirstResponderPersonalInfoComponent = injectIntl(StepFirstResponderPersonalInfo);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;aAkSa,IAA0C,GA5OR,EAC7C,SACA,6BACkD;CAClD,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAU,EAAW,GAErB,IAAS,EAAU,aAAa,OAEhC,EAAE,mBAAmB,MAAoB,EAAyB;EACtE,gBAAgB,EAAqB;EACrC,aAAa,EAAqB;EAClC;CACF,CAAC,GAEK,IAAqB,EAAU,eAAe,OAC9C,IAAoB,EACxB,EAAoB,cACpB,CACF,GAEM,IAAgB,EACpB,GACA,KAAmB,EAAqB,iBAC1C,GAEM,KACJ,GACA,MACG;EACH,IAAM,IAAiD,EACrD,IACC,MAA+C;GA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pC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB,CAEgG"}
|
|
1
|
+
{"version":3,"file":"StepFirstResponderPersonalInfo-DlUpQoEU.js","names":[],"sources":["../../src/components/StepFirstResponderPersonalInfo/StepFirstResponderPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n FirstResponderPersonalInfoViewModel,\n FirstResponderPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n getStatusLabel,\n getStatusOptions,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { useCollectFieldsEndpoint } from \"../../lib/ServerApi/useCollectFieldsEndpoint\";\nimport { isCountrySelectionNeeded } from \"../FormFields/Country/countryUtils\";\n\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { StatusComponent as FirstResponderStatus } from \"../FormFields/Status/StatusComponent\";\nimport { FirstResponderOrganizationComponent as FirstResponderOrganization } from \"../FormFields/FirstResponderOrganization/FirstResponderOrganizationComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\nimport { blankOrganization } from \"../../lib/types/empties\";\n\ninterface StepFirstResponderPersonalInfoComponentProps {\n verificationService: VerificationService;\n intl: any;\n}\n\nexport const StepFirstResponderPersonalInfo = ({\n intl,\n verificationService,\n}: StepFirstResponderPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as FirstResponderPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as FirstResponderPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n\n const locale = viewModel.localeChoice.value;\n\n const { availableStatuses: dynamicStatuses } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n });\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(\n verificationService.programTheme,\n countryChoiceValue,\n );\n\n const statusOptions = getStatusOptions(\n intl,\n dynamicStatuses ?? verificationResponse.availableStatuses,\n );\n\n const updateFirstResponderViewModel = (\n key: keyof FirstResponderPersonalInfoViewModel,\n value: any,\n ) => {\n const nextState: FirstResponderPersonalInfoViewModel = produce(\n viewModel,\n (draft: FirstResponderPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"first-responder\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n <FirstResponderStatus\n segmentId=\"first-responder\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidFirstResponderStatus\"\n disabled={needToPickCountry || getFieldConfigByFieldId(\"status\")?.disabled}\n explanation={\n needToPickCountry ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : undefined\n }\n options={statusOptions}\n onChange={(status: FormSelectChoice) => {\n updateFirstResponderViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n\n <FirstResponderOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization = blankOrganization.organization) => {\n const nextState = produce(viewModel, (draft) => {\n draft.organization = {\n id: choice.id,\n idExtended: choice.idExtended,\n name: choice.name,\n source: choice.source,\n };\n\n if (viewModel.organization && viewModel.organization.source !== undefined) {\n draft.organization.source = viewModel.organization.source;\n }\n\n if (\n getSafe(() => verificationService.programTheme.openOrgSearchEnabled) &&\n getSafe(() => choice.id) === 0 &&\n getSafe(() => choice.name, \"\").length > 0\n ) {\n draft.postalCode = viewModel.postalCode ? viewModel.postalCode : \"\";\n } else if (viewModel.postalCode || viewModel.postalCode === \"\") {\n delete draft.postalCode;\n }\n });\n\n verificationService.updateViewModel(nextState);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={(verificationService.viewModel as FirstResponderPersonalInfoViewModel).organization}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateFirstResponderViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateFirstResponderViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateFirstResponderViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Needed to send you your unique code\"\n />\n }\n onChange={(newValue) => {\n updateFirstResponderViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateFirstResponderViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n {getSafe(() => verificationService.programTheme.openOrgSearchEnabled) &&\n getSafe(() => viewModel.organization.id) === 0 &&\n getSafe(() => viewModel.organization.name, \"\").length > 0 && (\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateFirstResponderViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateFirstResponderViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectFirstResponderPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My First Responder Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepFirstResponderPersonalInfoComponent = injectIntl(StepFirstResponderPersonalInfo);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;aAkSa,IAA0C,GA5OR,EAC7C,SACA,6BACkD;CAClD,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAU,EAAW,GAErB,IAAS,EAAU,aAAa,OAEhC,EAAE,mBAAmB,MAAoB,EAAyB;EACtE,gBAAgB,EAAqB;EACrC,aAAa,EAAqB;EAClC;CACF,CAAC,GAEK,IAAqB,EAAU,eAAe,OAC9C,IAAoB,EACxB,EAAoB,cACpB,CACF,GAEM,IAAgB,EACpB,GACA,KAAmB,EAAqB,iBAC1C,GAEM,KACJ,GACA,MACG;EACH,IAAM,IAAiD,EACrD,IACC,MAA+C;GAC9C,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C;CAEA,OACE,iBAAA,GAAA,EAAA,MAAC,GAAD;EACuB;EACrB,MAAM,EAAqB;YAF7B;GAIE,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,qBAAoB;GACrB,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD,EAA8C,uBAAsB,CAAA;GACpE,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,UAAU,EAAwB,SAAS,GAAG;GAC/C,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,WAAU;IACV,OAAO;KACL,OAAO,EAAU;KACjB,OAAO,EAAe,GAAM,EAAU,MAAM;IAC9C;IACA,WAAW,CAAC,CAAC,EAAsB;IACnC,SAAQ;IACR,UAAU,KAAqB,EAAwB,QAAQ,GAAG;IAClE,aACE,IACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KAAsB,IAAG;KAAgB,gBAAe;IAA0B,CAAA,IAChF,KAAA;IAEN,SAAS;IACT,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