@sheerid/jslib 2.232.0 → 2.233.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_mysheerid-preview.css +4 -4
- package/_mysheerid-preview.js +25 -25
- package/chunk/{ActiveDutyStartDateComponent-BNwC2c3Y.js → ActiveDutyStartDateComponent-Bva1jSuC.js} +6 -6
- package/chunk/{ActiveDutyStartDateComponent-BNwC2c3Y.js.map → ActiveDutyStartDateComponent-Bva1jSuC.js.map} +1 -1
- package/chunk/{ActiveDutyStartDateComponent-CF9c-0bL.js → ActiveDutyStartDateComponent-DjLuLM5N.js} +6 -6
- package/chunk/{ActiveDutyStartDateComponent-CF9c-0bL.js.map → ActiveDutyStartDateComponent-DjLuLM5N.js.map} +1 -1
- package/chunk/AddressComponent-AiyIPiCz.js +4 -4
- package/chunk/AddressComponent-DV2Wsw6k.js +4 -4
- package/chunk/{CaptchaComponent-CnWyxiTy.js → CaptchaComponent-Blq_Is9l.js} +471 -470
- package/chunk/CaptchaComponent-Blq_Is9l.js.map +1 -0
- package/chunk/{CaptchaComponent-SmUa6m52.js → CaptchaComponent-Ch8H0h-Q.js} +471 -470
- package/chunk/CaptchaComponent-Ch8H0h-Q.js.map +1 -0
- package/chunk/ChangeLocaleComponent-Cu2DR-Q3.js +4 -4
- package/chunk/ChangeLocaleComponent-DUnfgQuX.js +4 -4
- package/chunk/City-BmrJpnS6.js +4 -4
- package/chunk/City-yVVnZQTP.js +4 -4
- package/chunk/{CollegeNameComponent-DtKPZHb-.js → CollegeNameComponent-DE9SHF1U.js} +5 -5
- package/chunk/{CollegeNameComponent-DaTimEqC.js.map → CollegeNameComponent-DE9SHF1U.js.map} +1 -1
- package/chunk/{CollegeNameComponent-DaTimEqC.js → CollegeNameComponent-Ds6XzZ97.js} +5 -5
- package/chunk/{CollegeNameComponent-DtKPZHb-.js.map → CollegeNameComponent-Ds6XzZ97.js.map} +1 -1
- package/chunk/CopyToClipboardComponent-9hyfSMC0.js +4 -4
- package/chunk/CopyToClipboardComponent-H3bJGcOM.js +4 -4
- package/chunk/{CountryComponentWrapper-Ceq-eink.js → CountryComponentWrapper-Bm0vWZt6.js} +5 -5
- package/chunk/{CountryComponentWrapper--2UQ7mXP.js.map → CountryComponentWrapper-Bm0vWZt6.js.map} +1 -1
- package/chunk/{CountryComponentWrapper--2UQ7mXP.js → CountryComponentWrapper-Cd8jQ2X0.js} +5 -5
- package/chunk/{CountryComponentWrapper-Ceq-eink.js.map → CountryComponentWrapper-Cd8jQ2X0.js.map} +1 -1
- package/chunk/DriverLicenseNumberComponent-D9cakdvU.js +4 -4
- package/chunk/DriverLicenseNumberComponent-ziLNYB8e.js +4 -4
- package/chunk/{EBTCardNumberComponent-oYQJ_tP7.js → EBTCardNumberComponent-B0FU-ZTo.js} +6 -6
- package/chunk/{EBTCardNumberComponent-B1kv4R4G.js.map → EBTCardNumberComponent-B0FU-ZTo.js.map} +1 -1
- package/chunk/{EBTCardNumberComponent-B1kv4R4G.js → EBTCardNumberComponent-CIs3mn52.js} +6 -6
- package/chunk/{EBTCardNumberComponent-oYQJ_tP7.js.map → EBTCardNumberComponent-CIs3mn52.js.map} +1 -1
- package/chunk/EmailLoopPending-In0FH-Ap.js +4 -4
- package/chunk/EmailLoopPending-lxRF0bx8.js +4 -4
- package/chunk/{FirstResponderOrganizationComponent-fPxZFdpO.js → FirstResponderOrganizationComponent-BpreqGNN.js} +5 -5
- package/chunk/{FirstResponderOrganizationComponent-Bru1a0U7.js.map → FirstResponderOrganizationComponent-BpreqGNN.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-Bru1a0U7.js → FirstResponderOrganizationComponent-pU8-QJb-.js} +5 -5
- package/chunk/{FirstResponderOrganizationComponent-fPxZFdpO.js.map → FirstResponderOrganizationComponent-pU8-QJb-.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-o7QZaYhS.js → FormFieldInputSelect-CqYEnYU4.js} +5 -5
- package/chunk/{FormFieldInputSelect-CjWY_ush.js.map → FormFieldInputSelect-CqYEnYU4.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-CjWY_ush.js → FormFieldInputSelect-dcrJSfDS.js} +5 -5
- package/chunk/{FormFieldInputSelect-o7QZaYhS.js.map → FormFieldInputSelect-dcrJSfDS.js.map} +1 -1
- package/chunk/FormFieldLayout-DDEEmlGC.js +4 -4
- package/chunk/FormFieldLayout-DEVPpEyA.js +4 -4
- package/chunk/FormFieldText-CJ-GVpZE.js +4 -4
- package/chunk/FormFieldText-CaWtYVur.js +4 -4
- package/chunk/{FormFieldTypeahead-C6eS7yJg.js → FormFieldTypeahead-8We95dMu.js} +5 -5
- package/chunk/{FormFieldTypeahead-C6eS7yJg.js.map → FormFieldTypeahead-8We95dMu.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-CyKKVK89.js → FormFieldTypeahead-D10k5Acd.js} +5 -5
- package/chunk/{FormFieldTypeahead-CyKKVK89.js.map → FormFieldTypeahead-D10k5Acd.js.map} +1 -1
- package/chunk/{FormSelectChoice-C-rIlDKl.js → FormSelectChoice-BvS7u8GG.js} +11 -11
- package/chunk/{FormSelectChoice-BahCx4wG.js.map → FormSelectChoice-BvS7u8GG.js.map} +1 -1
- package/chunk/{FormSelectChoice-BahCx4wG.js → FormSelectChoice-T5Js-Kan.js} +11 -11
- package/chunk/{FormSelectChoice-C-rIlDKl.js.map → FormSelectChoice-T5Js-Kan.js.map} +1 -1
- package/chunk/InputText-CCNbZmMe.js +4 -4
- package/chunk/InputText-PEiatRRJ.js +4 -4
- package/chunk/{LicensedProfessionalOrganizationComponent-CnR_qF3r.js → LicensedProfessionalOrganizationComponent-CKUKnIOk.js} +5 -5
- package/chunk/{LicensedProfessionalOrganizationComponent-C5pc7hVJ.js.map → LicensedProfessionalOrganizationComponent-CKUKnIOk.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-C5pc7hVJ.js → LicensedProfessionalOrganizationComponent-DNaPYuVS.js} +5 -5
- package/chunk/{LicensedProfessionalOrganizationComponent-CnR_qF3r.js.map → LicensedProfessionalOrganizationComponent-DNaPYuVS.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-DBf6V49M.js → MedicalProfessionalOrganizationComponent-Cvx-Z96q.js} +5 -5
- package/chunk/{MedicalProfessionalOrganizationComponent-CXHX25GN.js.map → MedicalProfessionalOrganizationComponent-Cvx-Z96q.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-CXHX25GN.js → MedicalProfessionalOrganizationComponent-DRiEzR_D.js} +5 -5
- package/chunk/{MedicalProfessionalOrganizationComponent-DBf6V49M.js.map → MedicalProfessionalOrganizationComponent-DRiEzR_D.js.map} +1 -1
- package/chunk/MemberIdComponent-C8mVSo9m.js +4 -4
- package/chunk/MemberIdComponent-oanWSvQh.js +4 -4
- package/chunk/{MembershipOrganizationComponent-CN6_d_Fk.js → MembershipOrganizationComponent-CwkwDdwd.js} +5 -5
- package/chunk/{MembershipOrganizationComponent-CN6_d_Fk.js.map → MembershipOrganizationComponent-CwkwDdwd.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-yu-UNXIK.js → MembershipOrganizationComponent-DTCpEuqR.js} +5 -5
- package/chunk/{MembershipOrganizationComponent-yu-UNXIK.js.map → MembershipOrganizationComponent-DTCpEuqR.js.map} +1 -1
- package/chunk/Onfido-BG8cDEVW.js +4 -4
- package/chunk/PersonalInfoStepSubmitButton-j44RdZDq.js +4 -4
- package/chunk/PersonalInfoStepSubmitButton-v_kWLmEw.js +4 -4
- package/chunk/PersonalInfoStepWrapper-BOBNCgik.js +4 -4
- package/chunk/PersonalInfoStepWrapper-PV06WMKL.js +4 -4
- package/chunk/PostalCodeComponent-DrCcV90W.js +4 -4
- package/chunk/PostalCodeComponent-KXVfZkLx.js +4 -4
- package/chunk/SSN-B_z2R4Bx.js +4 -4
- package/chunk/SSN-Hb1lTx8A.js +4 -4
- package/chunk/{StateSelectComponent-CIpB-Rh1.js → StateSelectComponent-B8ImFN5o.js} +5 -5
- package/chunk/{StateSelectComponent-CChSqKXz.js.map → StateSelectComponent-B8ImFN5o.js.map} +1 -1
- package/chunk/{StateSelectComponent-CChSqKXz.js → StateSelectComponent-BJvkEwls.js} +5 -5
- package/chunk/{StateSelectComponent-CIpB-Rh1.js.map → StateSelectComponent-BJvkEwls.js.map} +1 -1
- package/chunk/{StatusComponent-pmuIhuXi.js → StatusComponent-C3iIOm56.js} +5 -5
- package/chunk/{StatusComponent-C6J1B7Tl.js.map → StatusComponent-C3iIOm56.js.map} +1 -1
- package/chunk/{StatusComponent-C6J1B7Tl.js → StatusComponent-DBpJ4nvX.js} +5 -5
- package/chunk/{StatusComponent-pmuIhuXi.js.map → StatusComponent-DBpJ4nvX.js.map} +1 -1
- package/chunk/{StepCard-CIfaQVu-.js → StepCard-CRczNQ4p.js} +6 -6
- package/chunk/{StepCard-CIfaQVu-.js.map → StepCard-CRczNQ4p.js.map} +1 -1
- package/chunk/{StepCard-dcwCtPrW.js → StepCard-DFC9lqEv.js} +6 -6
- package/chunk/{StepCard-dcwCtPrW.js.map → StepCard-DFC9lqEv.js.map} +1 -1
- package/chunk/{StepCollectMilitaryStatusComponent-7aKgQ9Sj.js → StepCollectMilitaryStatusComponent-C-p6hVeK.js} +9 -9
- package/chunk/{StepCollectMilitaryStatusComponent-7aKgQ9Sj.js.map → StepCollectMilitaryStatusComponent-C-p6hVeK.js.map} +1 -1
- package/chunk/{StepCollectMilitaryStatusComponent-BRimaaXv.js → StepCollectMilitaryStatusComponent-DSzS9kou.js} +9 -9
- package/chunk/{StepCollectMilitaryStatusComponent-BRimaaXv.js.map → StepCollectMilitaryStatusComponent-DSzS9kou.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-BwVtnrmJ.js → StepDriverLicensePersonalInfoComponent-COgZtQdB.js} +6 -6
- package/chunk/{StepDriverLicensePersonalInfoComponent-2TPYKvF4.js.map → StepDriverLicensePersonalInfoComponent-COgZtQdB.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-2TPYKvF4.js → StepDriverLicensePersonalInfoComponent-DXvRC1J2.js} +6 -6
- package/chunk/{StepDriverLicensePersonalInfoComponent-BwVtnrmJ.js.map → StepDriverLicensePersonalInfoComponent-DXvRC1J2.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-B_GAU5ZU.js → StepGeneralIdentityPersonalInfoComponent-BAwhyp5h.js} +7 -7
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-B_GAU5ZU.js.map → StepGeneralIdentityPersonalInfoComponent-BAwhyp5h.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-D51YIuCd.js → StepGeneralIdentityPersonalInfoComponent-DDsA_aGz.js} +7 -7
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-D51YIuCd.js.map → StepGeneralIdentityPersonalInfoComponent-DDsA_aGz.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-kap6IZbx.js → StepHybridIdentityPersonalInfoComponent-BLS7aKEN.js} +7 -7
- package/chunk/{StepHybridIdentityPersonalInfoComponent-kap6IZbx.js.map → StepHybridIdentityPersonalInfoComponent-BLS7aKEN.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-zAjPWGNG.js → StepHybridIdentityPersonalInfoComponent-DxYqr80H.js} +7 -7
- package/chunk/{StepHybridIdentityPersonalInfoComponent-zAjPWGNG.js.map → StepHybridIdentityPersonalInfoComponent-DxYqr80H.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-djTS20UT.js → StepIDCheckLoopOnfido-B9YZcPBj.js} +6 -6
- package/chunk/{StepIDCheckLoopOnfido-Sg4a19wV.js.map → StepIDCheckLoopOnfido-B9YZcPBj.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-Sg4a19wV.js → StepIDCheckLoopOnfido-DGrckStv.js} +6 -6
- package/chunk/{StepIDCheckLoopOnfido-djTS20UT.js.map → StepIDCheckLoopOnfido-DGrckStv.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-B5I-ojjy.js → StepIDCheckLoopRegula-DjF8ZDnp.js} +5 -5
- package/chunk/{StepIDCheckLoopRegula-B5I-ojjy.js.map → StepIDCheckLoopRegula-DjF8ZDnp.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-DZA5G1Z6.js → StepIDCheckLoopRegula-tRWeYsEe.js} +5 -5
- package/chunk/{StepIDCheckLoopRegula-DZA5G1Z6.js.map → StepIDCheckLoopRegula-tRWeYsEe.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Bieu_7kd.js → StepInactiveMilitaryPersonalInfoComponent-DJAAzlTP.js} +10 -10
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Bieu_7kd.js.map → StepInactiveMilitaryPersonalInfoComponent-DJAAzlTP.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Czd3ecq6.js → StepInactiveMilitaryPersonalInfoComponent-dNU8MQlk.js} +10 -10
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Czd3ecq6.js.map → StepInactiveMilitaryPersonalInfoComponent-dNU8MQlk.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-Bf3ZhJ_c.js → TeacherSchoolComponent-CrNBGA88.js} +5 -5
- package/chunk/{TeacherSchoolComponent-BSHPjiwQ.js.map → TeacherSchoolComponent-CrNBGA88.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-BSHPjiwQ.js → TeacherSchoolComponent-D7tRXy1z.js} +5 -5
- package/chunk/{TeacherSchoolComponent-Bf3ZhJ_c.js.map → TeacherSchoolComponent-D7tRXy1z.js.map} +1 -1
- package/chunk/ar-DRRl0F7-.js +4 -4
- package/chunk/bg-F0WsRCx8.js +4 -4
- package/chunk/bn-IN-CMjQj55J.js +4 -4
- package/chunk/cs-fNk_NoQI.js +4 -4
- package/chunk/da-KMILteCO.js +4 -4
- package/chunk/de-CWVNPgGa.js +4 -4
- package/chunk/downshift.esm-CtrbqQGL.js +4 -4
- package/chunk/downshift.esm-huKBwB2d.js +4 -4
- package/chunk/el-Cwv4peel.js +4 -4
- package/chunk/en-GB-Dqonxi7-.js +4 -4
- package/chunk/es-ES-C4H8ciVZ.js +4 -4
- package/chunk/es-hn_UHPBI.js +4 -4
- package/chunk/fi-CYcXXvjq.js +4 -4
- package/chunk/fr-CA-CGAQ-6AP.js +4 -4
- package/chunk/fr-D_IYCyUP.js +4 -4
- package/chunk/ga-45LsHAEB.js +4 -4
- package/chunk/hi-IN-ChuePzRc.js +4 -4
- package/chunk/hr-CX75fSnP.js +4 -4
- package/chunk/hu-BaLNR_Fx.js +4 -4
- package/chunk/id-BuJILOHQ.js +4 -4
- package/chunk/{index-brtM2eoI.js → index-8Pv9mAlU.js} +8 -8
- package/chunk/{index-brtM2eoI.js.map → index-8Pv9mAlU.js.map} +1 -1
- package/chunk/index-B0SBEWOf.js +4 -4
- package/chunk/index-B4FcNhzB.js +4 -4
- package/chunk/index-BA3bE-f-.js +4 -4
- package/chunk/{index-D62LImgf.js → index-BG38FvB_.js} +8 -8
- package/chunk/{index-CfHHbJNm.js.map → index-BG38FvB_.js.map} +1 -1
- package/chunk/index-BZ1nv-sB.js +4 -4
- package/chunk/index-BbOCWcRK.js +4 -4
- package/chunk/{index-DGCqI3ez.js → index-BgDTx15o.js} +9 -9
- package/chunk/{index-Ccp2Exqo.js.map → index-BgDTx15o.js.map} +1 -1
- package/chunk/{index-Blxi9-p3.js → index-BhTi8pBC.js} +5 -5
- package/chunk/{index-Blxi9-p3.js.map → index-BhTi8pBC.js.map} +1 -1
- package/chunk/index-Bn00xQJF.js +4 -4
- package/chunk/{index-DsIG7oZ5.js → index-Bo42CUOf.js} +17 -17
- package/chunk/{index-CO75J-sD.js.map → index-Bo42CUOf.js.map} +1 -1
- package/chunk/{index-CMYxhs0t.js → index-BqorOxSL.js} +9 -9
- package/chunk/{index-CMYxhs0t.js.map → index-BqorOxSL.js.map} +1 -1
- package/chunk/index-Brpm5gN6.js +4 -4
- package/chunk/{index-CTjvQpKK.js → index-C3qLWNqJ.js} +7 -7
- package/chunk/{index-CTjvQpKK.js.map → index-C3qLWNqJ.js.map} +1 -1
- package/chunk/index-CHDBBfsg.js +4 -4
- package/chunk/{index-BDfHyxH2.js → index-COkTEkcG.js} +9 -9
- package/chunk/{index-BDfHyxH2.js.map → index-COkTEkcG.js.map} +1 -1
- package/chunk/index-CR19uOwz.js +4 -4
- package/chunk/index-CTGY1a4m.js +4 -4
- package/chunk/index-CaBrLsal.js +4 -4
- package/chunk/{index-B6DSPaeb.js → index-CaUGE60w.js} +9 -9
- package/chunk/{index-B6DSPaeb.js.map → index-CaUGE60w.js.map} +1 -1
- package/chunk/{index-BKpiJJJ9.js → index-CnoZPKNq.js} +9 -9
- package/chunk/{index-BKpiJJJ9.js.map → index-CnoZPKNq.js.map} +1 -1
- package/chunk/index-CrPc1exn.js +4 -4
- package/chunk/{index-4SoX7nBO.js → index-Ctt3OBcG.js} +8 -8
- package/chunk/{index-DM6d_MOp.js.map → index-Ctt3OBcG.js.map} +1 -1
- package/chunk/{index-CfHHbJNm.js → index-CuIn9psY.js} +8 -8
- package/chunk/{index-D62LImgf.js.map → index-CuIn9psY.js.map} +1 -1
- package/chunk/index-CwaTj-69.js +4 -4
- package/chunk/index-D2d6x5LN.js +4 -4
- package/chunk/index-D7Mqx5na.js +4 -4
- package/chunk/{index-yLck7gVG.js → index-DDOie7I6.js} +8 -8
- package/chunk/{index-yLck7gVG.js.map → index-DDOie7I6.js.map} +1 -1
- package/chunk/index-DFoMYB8K.js +4 -4
- package/chunk/{index-CMwYcIy7.js → index-DG51xMuU.js} +10 -10
- package/chunk/{index-B0gkU4sD.js.map → index-DG51xMuU.js.map} +1 -1
- package/chunk/index-DIkWpujR.js +4 -4
- package/chunk/{index-DM6d_MOp.js → index-DJu2A0Dj.js} +8 -8
- package/chunk/{index-4SoX7nBO.js.map → index-DJu2A0Dj.js.map} +1 -1
- package/chunk/{index-Di4VOQ0c.js → index-DQXlORPg.js} +9 -9
- package/chunk/{index-Di4VOQ0c.js.map → index-DQXlORPg.js.map} +1 -1
- package/chunk/{index-CO75J-sD.js → index-DfWrK5cl.js} +17 -17
- package/chunk/{index-DsIG7oZ5.js.map → index-DfWrK5cl.js.map} +1 -1
- package/chunk/{index-XxwXcW8j.js → index-Dj6o39Jh.js} +7 -7
- package/chunk/{index-XxwXcW8j.js.map → index-Dj6o39Jh.js.map} +1 -1
- package/chunk/{index-B0gkU4sD.js → index-DlYU3RMt.js} +10 -10
- package/chunk/{index-CMwYcIy7.js.map → index-DlYU3RMt.js.map} +1 -1
- package/chunk/index-EUJqfdiJ.js +4 -4
- package/chunk/{index-Cgw-oCXC.js → index-Fn3AJ3YB.js} +5 -5
- package/chunk/{index-Cgw-oCXC.js.map → index-Fn3AJ3YB.js.map} +1 -1
- package/chunk/{index-Ccp2Exqo.js → index-XS4CFK0d.js} +9 -9
- package/chunk/{index-DGCqI3ez.js.map → index-XS4CFK0d.js.map} +1 -1
- package/chunk/index-dTu4ORna.js +4 -4
- package/chunk/{index-Tt8XFCKg.js → index-kUVTGFsl.js} +9 -9
- package/chunk/{index-Tt8XFCKg.js.map → index-kUVTGFsl.js.map} +1 -1
- package/chunk/is-B3D8NTKa.js +4 -4
- package/chunk/it-CzAy2lzA.js +4 -4
- package/chunk/iw-C9nimuXe.js +4 -4
- package/chunk/ja-BEXgm7zu.js +4 -4
- package/chunk/ko-Ct-zPR2E.js +4 -4
- package/chunk/lo-Di9C_kLP.js +4 -4
- package/chunk/lt-CEBQxuWT.js +4 -4
- package/chunk/{militaryStepHelpers-jW2_4c1l.js → militaryStepHelpers-BINEywf8.js} +5 -5
- package/chunk/{militaryStepHelpers-0OUuQpBw.js.map → militaryStepHelpers-BINEywf8.js.map} +1 -1
- package/chunk/{militaryStepHelpers-0OUuQpBw.js → militaryStepHelpers-CqXwxXhq.js} +5 -5
- package/chunk/{militaryStepHelpers-jW2_4c1l.js.map → militaryStepHelpers-CqXwxXhq.js.map} +1 -1
- package/chunk/mocks-CeAm-JFs.js +4 -4
- package/chunk/mocks-ClJ0M6QH.js +4 -4
- package/chunk/ms-CxGIGN7C.js +4 -4
- package/chunk/nl-BE-DPBUnfk6.js +4 -4
- package/chunk/nl-BIm7MF9X.js +4 -4
- package/chunk/no-BmBisNVx.js +4 -4
- package/chunk/pl-BOGNzi_o.js +4 -4
- package/chunk/pt-BR-uABX_syI.js +4 -4
- package/chunk/pt-MSESKPWr.js +4 -4
- package/chunk/ro-DoSzUhte.js +4 -4
- package/chunk/ru-_re-OOAp.js +4 -4
- package/chunk/sk-BS3zToE5.js +4 -4
- package/chunk/sl-CVBUMpyN.js +4 -4
- package/chunk/sr-Cmqfavur.js +4 -4
- package/chunk/sv-BzRp9aoC.js +4 -4
- package/chunk/sw-C4I4Ivyc.js +4 -4
- package/chunk/th-SsMlrFQN.js +4 -4
- package/chunk/tr-i4hcCWIF.js +4 -4
- package/chunk/uk-CLl1S03h.js +4 -4
- package/chunk/ur-CfVN1Pr2.js +4 -4
- package/chunk/useCollectFieldsEndpoint-Cd6d_u47.js +4 -4
- package/chunk/useCollectFieldsEndpoint-DqTjyVEr.js +4 -4
- package/chunk/useMetrics-D2fG6cgw.js +4 -4
- package/chunk/useMetrics-wq7yrL0b.js +4 -4
- package/chunk/vi-STS0AV-q.js +4 -4
- package/chunk/zh-HK-DGm6tmJZ.js +4 -4
- package/chunk/zh-rPW1DJOh.js +4 -4
- package/chunk/zu-D7Vc6viT.js +4 -4
- package/package.json +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +36 -36
- package/sheerid-install.js.map +1 -1
- package/sheerid.css +5 -5
- package/sheerid.js +25 -25
- package/chunk/CaptchaComponent-CnWyxiTy.js.map +0 -1
- package/chunk/CaptchaComponent-SmUa6m52.js.map +0 -1
package/_mysheerid-preview.css
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.233.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1779293766865
|
|
9
|
+
* BUILD_DATE: Wed May 20 2026 16:16:06 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: af3eefec141e5dda945559406ba048843622f3b9
|
|
11
11
|
*/
|
|
12
12
|
.sid-inline-iframe{border:0;height:100%;min-width:32rem}.sid-modal__wrapper{background:#fff;border-radius:5px;box-shadow:#989898 10px 10px 15px;left:50%;max-height:calc(100% - 80px);opacity:0;outline:none;overflow-y:auto;position:fixed;top:50%;transform:translate(-50%,-50%);transition:opacity .3s linear;width:32rem;z-index:9998}.sid-modal__wrapper.fade-in{opacity:1}.sid-modal__iframe{border:0;display:block;height:100%;min-width:250px;width:100%}.sid-modal__close-button{align-items:center;background:none;border:none;color:inherit;cursor:pointer;display:flex;flex-direction:row;position:absolute;right:10px;text-decoration:none;top:10px;z-index:9999}.sid-modal__close-icon{background-image:url(https://services.sheerid.com/jsapi/img/btn1.png);background-repeat:no-repeat;filter:brightness(25%);height:20px;width:20px}.sid-modal__close-text{color:#000;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:var(--sheerid-font-size-body);margin-right:5px}.sid-modal__overlay{background-color:#b3b3b3;height:100%;left:0;opacity:0;position:fixed;top:0;transition:opacity .3s linear;width:100%;z-index:9997}.sid-modal__overlay.fade-in{opacity:.75}@media(max-width:620px){.sid-modal__wrapper{max-width:calc(100vw - 1rem)}}@media(max-width:32rem){.sid-inline-iframe{min-width:calc(100vw - 1rem);width:100%}}
|
package/_mysheerid-preview.js
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.233.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1779293766865
|
|
9
|
+
* BUILD_DATE: Wed May 20 2026 16:16:06 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: af3eefec141e5dda945559406ba048843622f3b9
|
|
11
11
|
*/
|
|
12
12
|
function yx(e, t) {
|
|
13
13
|
for (var r = 0; r < t.length; r++) {
|
|
@@ -6700,7 +6700,7 @@ const uc = {
|
|
|
6700
6700
|
}, oE = () => `${Qe().restApi.serviceUrl}${Qe().restApi.resources.verification}`, dC = (e) => `${oE()}${e}`, pC = () => oE(), gC = (e, t = null) => {
|
|
6701
6701
|
const r = `${Qe().restApi.serviceUrl}${Qe().restApi.resources.program.base}${e}/${Qe().restApi.resources.program.theme}`;
|
|
6702
6702
|
return t ? `${r}?locale=${t}` : `${r}`;
|
|
6703
|
-
}, mC = (e) => `${Qe().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`, hC = (e) => `${Qe().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`, sE = (e, t) => `${Qe().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`, yC = (e, t) => `${Qe().restApi.serviceUrl}rest/v2/verification/${e}/step/idCheckLoop/getDocumentTypesForCountries?countries=${t}`, tB = (e, t, r) => `${Qe().restApi.serviceUrl}rest/v2/verification/${e}/barcode?rewardKey=${t}&symbology=${r}`, im = () => "2.
|
|
6703
|
+
}, mC = (e) => `${Qe().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`, hC = (e) => `${Qe().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`, sE = (e, t) => `${Qe().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`, yC = (e, t) => `${Qe().restApi.serviceUrl}rest/v2/verification/${e}/step/idCheckLoop/getDocumentTypesForCountries?countries=${t}`, tB = (e, t, r) => `${Qe().restApi.serviceUrl}rest/v2/verification/${e}/barcode?rewardKey=${t}&symbology=${r}`, im = () => "2.233.0", vC = () => window.location.href, aE = () => {
|
|
6704
6704
|
try {
|
|
6705
6705
|
const e = new URLSearchParams(window.location.search);
|
|
6706
6706
|
if (e.get(eo))
|
|
@@ -10365,7 +10365,7 @@ const gc = () => (lu || (lu = BE(
|
|
|
10365
10365
|
locale: ft(() => e.programTheme.intl.locale),
|
|
10366
10366
|
isTestMode: ft(() => e.programTheme.isTestMode),
|
|
10367
10367
|
openOrgSearchEnabled: ft(() => e.programTheme.openOrgSearchEnabled),
|
|
10368
|
-
jslibVerActual: ft(() => "2.
|
|
10368
|
+
jslibVerActual: ft(() => "2.233.0", "?")
|
|
10369
10369
|
};
|
|
10370
10370
|
})), lu), vk = () => gc().dispatch({ type: "RESET_STATE" }), Sk = (e, t = { partial: !0 }) => {
|
|
10371
10371
|
const r = gc(), o = r.getState(), i = () => {
|
|
@@ -21685,54 +21685,54 @@ const fB = (e, t) => {
|
|
|
21685
21685
|
}, lU = {
|
|
21686
21686
|
StepPendingComponent: tU,
|
|
21687
21687
|
StepErrorComponent: Fg,
|
|
21688
|
-
StepStudentPersonalInfoComponent: Re.lazy(() => import("./chunk/index-
|
|
21688
|
+
StepStudentPersonalInfoComponent: Re.lazy(() => import("./chunk/index-BG38FvB_.js")),
|
|
21689
21689
|
StepOverrideComponent: Re.lazy(() => import("./chunk/index-CR19uOwz.js")),
|
|
21690
|
-
StepAgePersonalInfoComponent: Re.lazy(() => import("./chunk/index-
|
|
21691
|
-
StepSeniorPersonalInfoComponent: Re.lazy(() => import("./chunk/index-
|
|
21690
|
+
StepAgePersonalInfoComponent: Re.lazy(() => import("./chunk/index-C3qLWNqJ.js")),
|
|
21691
|
+
StepSeniorPersonalInfoComponent: Re.lazy(() => import("./chunk/index-C3qLWNqJ.js")),
|
|
21692
21692
|
StepActiveMilitaryPersonalInfoComponent: Re.lazy(
|
|
21693
|
-
() => import("./chunk/StepCollectMilitaryStatusComponent-
|
|
21693
|
+
() => import("./chunk/StepCollectMilitaryStatusComponent-DSzS9kou.js").then((e) => e.S)
|
|
21694
21694
|
),
|
|
21695
21695
|
StepCollectMilitaryStatusComponent: Re.lazy(
|
|
21696
|
-
() => import("./chunk/StepCollectMilitaryStatusComponent-
|
|
21696
|
+
() => import("./chunk/StepCollectMilitaryStatusComponent-DSzS9kou.js").then((e) => e.a)
|
|
21697
21697
|
),
|
|
21698
21698
|
StepInactiveMilitaryPersonalInfoComponent: Re.lazy(
|
|
21699
|
-
() => import("./chunk/StepInactiveMilitaryPersonalInfoComponent-
|
|
21699
|
+
() => import("./chunk/StepInactiveMilitaryPersonalInfoComponent-dNU8MQlk.js")
|
|
21700
21700
|
),
|
|
21701
21701
|
StepDriverLicensePersonalInfoComponent: Re.lazy(
|
|
21702
|
-
() => import("./chunk/StepDriverLicensePersonalInfoComponent-
|
|
21702
|
+
() => import("./chunk/StepDriverLicensePersonalInfoComponent-COgZtQdB.js")
|
|
21703
21703
|
),
|
|
21704
|
-
StepEmploymentPersonalInfoComponent: Re.lazy(() => import("./chunk/index-
|
|
21704
|
+
StepEmploymentPersonalInfoComponent: Re.lazy(() => import("./chunk/index-Ctt3OBcG.js")),
|
|
21705
21705
|
StepFirstResponderPersonalInfoComponent: Re.lazy(
|
|
21706
|
-
() => import("./chunk/index-
|
|
21706
|
+
() => import("./chunk/index-BgDTx15o.js")
|
|
21707
21707
|
),
|
|
21708
21708
|
StepGeneralIdentityPersonalInfoComponent: Re.lazy(
|
|
21709
|
-
() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-
|
|
21709
|
+
() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-DDsA_aGz.js")
|
|
21710
21710
|
),
|
|
21711
21711
|
StepHybridIdentityPersonalInfoComponent: Re.lazy(
|
|
21712
|
-
() => import("./chunk/StepHybridIdentityPersonalInfoComponent-
|
|
21712
|
+
() => import("./chunk/StepHybridIdentityPersonalInfoComponent-DxYqr80H.js")
|
|
21713
21713
|
),
|
|
21714
|
-
StepIDCheckLoopComponent: Re.lazy(() => import("./chunk/StepCard-
|
|
21714
|
+
StepIDCheckLoopComponent: Re.lazy(() => import("./chunk/StepCard-DFC9lqEv.js").then((e) => e.i)),
|
|
21715
21715
|
StepLicensedProfessionalPersonalInfoComponent: Re.lazy(
|
|
21716
|
-
() => import("./chunk/index-
|
|
21716
|
+
() => import("./chunk/index-CaUGE60w.js")
|
|
21717
21717
|
),
|
|
21718
|
-
StepLowIncomePersonalInfoComponent: Re.lazy(() => import("./chunk/index-
|
|
21718
|
+
StepLowIncomePersonalInfoComponent: Re.lazy(() => import("./chunk/index-DG51xMuU.js")),
|
|
21719
21719
|
StepMedicalProfessionalPersonalInfoComponent: Re.lazy(
|
|
21720
|
-
() => import("./chunk/index-
|
|
21720
|
+
() => import("./chunk/index-kUVTGFsl.js")
|
|
21721
21721
|
),
|
|
21722
|
-
StepMemberPersonalInfoComponent: Re.lazy(() => import("./chunk/index-
|
|
21722
|
+
StepMemberPersonalInfoComponent: Re.lazy(() => import("./chunk/index-DDOie7I6.js")),
|
|
21723
21723
|
StepConsolationComponent: Re.lazy(() => import("./chunk/index-CHDBBfsg.js")),
|
|
21724
21724
|
StepDocUploadComponent: Re.lazy(() => import("./chunk/index-D7Mqx5na.js")),
|
|
21725
21725
|
StepEmailLoopComponent: Re.lazy(() => import("./chunk/index-EUJqfdiJ.js")),
|
|
21726
21726
|
StepPendingEmailLoopComponent: Re.lazy(() => import("./chunk/EmailLoopPending-lxRF0bx8.js")),
|
|
21727
|
-
StepMoverPersonalInfoComponent: Re.lazy(() => import("./chunk/index-
|
|
21727
|
+
StepMoverPersonalInfoComponent: Re.lazy(() => import("./chunk/index-Fn3AJ3YB.js")),
|
|
21728
21728
|
StepSMSLoopComponent: Re.lazy(() => import("./chunk/index-CTGY1a4m.js")),
|
|
21729
21729
|
StepSocialSecurity: Re.lazy(() => import("./chunk/index-BZ1nv-sB.js")),
|
|
21730
21730
|
StepSSOComponent: Re.lazy(() => Promise.resolve().then(() => YV)),
|
|
21731
21731
|
StepSuccessComponent: Re.lazy(() => import("./chunk/index-CwaTj-69.js")),
|
|
21732
|
-
StepTeacherPersonalInfoComponent: Re.lazy(() => import("./chunk/index-
|
|
21732
|
+
StepTeacherPersonalInfoComponent: Re.lazy(() => import("./chunk/index-CnoZPKNq.js")),
|
|
21733
21733
|
StepCompleteAuthentication: Re.lazy(() => import("./chunk/index-BbOCWcRK.js")),
|
|
21734
21734
|
StepCollectIdentifierComponent: Re.lazy(() => import("./chunk/index-dTu4ORna.js")),
|
|
21735
|
-
StepCollectPersonalInfo: Re.lazy(() => import("./chunk/index-
|
|
21735
|
+
StepCollectPersonalInfo: Re.lazy(() => import("./chunk/index-DfWrK5cl.js")),
|
|
21736
21736
|
StepThirdPartyLoopComponent: Re.lazy(() => Promise.resolve().then(() => ZV))
|
|
21737
21737
|
}, lt = (e) => {
|
|
21738
21738
|
q.info("getComponent", e);
|
package/chunk/{ActiveDutyStartDateComponent-BNwC2c3Y.js → ActiveDutyStartDateComponent-Bva1jSuC.js}
RENAMED
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.233.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1779293766865
|
|
9
|
+
* BUILD_DATE: Wed May 20 2026 16:16:06 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: af3eefec141e5dda945559406ba048843622f3b9
|
|
11
11
|
*/
|
|
12
12
|
import { i as w, l as A, R as u, h as R, g as p, j as e, F as t, C as z, D as B, H as T } from "../_mysheerid-preview.js";
|
|
13
|
-
import { F as U } from "./FormFieldInputSelect-
|
|
13
|
+
import { F as U } from "./FormFieldInputSelect-dcrJSfDS.js";
|
|
14
14
|
import { i as E } from "./FormFieldText-CJ-GVpZE.js";
|
|
15
|
-
import { D as F } from "./CaptchaComponent-
|
|
15
|
+
import { D as F } from "./CaptchaComponent-Blq_Is9l.js";
|
|
16
16
|
const N = ({
|
|
17
17
|
autoFocus: r,
|
|
18
18
|
onChange: s,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActiveDutyStartDateComponent-BNwC2c3Y.js","sources":["../../src/components/FormFields/BranchOfService/BranchOfServiceComponent.tsx","../../src/components/FormFields/DischargeDate/DischargeDateComponent.tsx","../../src/components/FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\n\nimport {\n type FormSelectChoice,\n type FormFieldComponentProps,\n type VerificationServiceProps,\n type Organization,\n type ActiveMilitaryPersonalInfoViewModel,\n type Country,\n} from \"../../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n orgToOption,\n} from \"../../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { FormFieldInputSelect } from \"../FormFieldInputSelect/FormFieldInputSelect\";\nimport { fetchOrganization } from \"../../../lib/ServerApi/OrganizationApiClient\";\nimport { isCountrySelectionNeeded } from \"../Country/countryUtils\";\n\ninterface BranchOfServiceComponentProps {\n /**\n * @deprecated Orgs are fetch lazily, within this component, now\n * A list of orgs is no-longer passed-in and then filtered\n * Don't provide this any more\n */\n organizations?: Organization[];\n}\n\nexport const BranchOfService = ({\n autoFocus,\n onChange,\n value,\n isErrored,\n organizations = undefined,\n verificationService,\n intl,\n placeholder = \"\",\n disabled = false,\n}: FormFieldComponentProps & VerificationServiceProps & BranchOfServiceComponentProps) => {\n if (organizations) {\n logger.warn(\"Param `organizations` is deprecated and will not be used\");\n }\n const inputId = \"branch-of-service\";\n const [options, setOptions] = React.useState<FormSelectChoice[]>([]);\n const [disabledState, setDisabledState] = React.useState<boolean>(false);\n const [isLoading, setIsLoading] = React.useState<boolean>(false);\n const { viewModel, programTheme } = verificationService;\n const { status } = viewModel as ActiveMilitaryPersonalInfoViewModel;\n const { orgSearchUrl } = programTheme.config;\n const countryChoiceValue: Country = getSafe(() => viewModel?.countryChoice?.value);\n const needToPickCountry = isCountrySelectionNeeded(programTheme, countryChoiceValue);\n\n React.useEffect(() => {\n const controller = new AbortController();\n\n const fetchOrgs = async () => {\n if (needToPickCountry) {\n setOptions([]);\n setDisabledState(true);\n return;\n }\n setDisabledState(false);\n setIsLoading(true);\n const fetchUrl = new URL(orgSearchUrl);\n if (countryChoiceValue) {\n fetchUrl.searchParams.set(\"country\", countryChoiceValue);\n } else {\n fetchUrl.searchParams.delete(\"country\");\n }\n\n if (status) {\n fetchUrl.searchParams.set(\"tags\", status);\n } else {\n fetchUrl.searchParams.delete(\"tags\");\n }\n\n const orgSearchResponse = await fetchOrganization(fetchUrl.toString());\n if (controller.signal.aborted) return;\n if (orgSearchResponse) setOptions(orgSearchResponse.map(orgToOption));\n setIsLoading(false);\n };\n\n fetchOrgs();\n\n return () => {\n controller.abort();\n };\n }, [countryChoiceValue, status]);\n\n const handleStateChange = (selectedOrgOption: FormSelectChoice, onChange: Function) => {\n if (selectedOrgOption) {\n onChange({\n id: selectedOrgOption.value,\n name: selectedOrgOption.label,\n });\n } else {\n onChange({\n id: 0,\n name: \"\",\n });\n }\n };\n\n const isFieldHidden = getFieldConfigByFieldId(\"organization\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldInputSelect\n fieldId={inputId}\n refId=\"organization\"\n autoFocus={autoFocus}\n options={options}\n onChange={(branch: FormSelectChoice) => handleStateChange(branch, onChange)}\n value={options.find((option) => option.value === (value && value.value))}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({\n id: \"branchOfServicePlaceholder\",\n defaultMessage: \"Branch Of Service\",\n })\n }\n isRequired\n isLoading={isLoading}\n disabled={disabledState || disabled}\n explanation={\n disabledState ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : null\n }\n label={<FormattedHTMLMessage id=\"branchOfService\" defaultMessage=\"Branch Of Service\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidOrganization\"\n defaultMessage=\"You must select an organization from the list\"\n />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n containerId={`sid-${inputId}-id`}\n />\n );\n};\n\nexport const BranchOfServiceComponent = injectIntl(BranchOfService);\n","import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { DateComponent } from \"../../DateComponent/DateComponent\";\n\ntype Props = Omit<FormFieldComponentProps, \"isErrored\"> & {\n locale?: string;\n /**\n * @deprecated deprecated in favor of using errorId instead\n */\n isErrored?: boolean;\n mode?: \"date\" | \"month\";\n};\n\nexport const DischargeDateComponent = ({\n onChange,\n errorId,\n isErrored = !!errorId,\n value = \"2000-01-01\",\n disabled = false,\n locale,\n mode = \"month\",\n}: Props) => {\n const isFieldHidden = getFieldConfigByFieldId(\"dischargeDate\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <DateComponent\n mode={mode}\n value={value}\n label={<FormattedHTMLMessage id=\"dischargeDate\" defaultMessage=\"Discharge date\" />}\n explanation={\n <FormattedHTMLMessage\n id=\"verificationPurposesOnly\"\n defaultMessage=\"Used for verification purposes only\"\n />\n }\n onChange={onChange}\n fieldName=\"dischargeDate\"\n fieldId=\"discharge-date\"\n isErrored={isErrored}\n disabled={disabled}\n isRequired\n locale={locale}\n errorMsg={\n <FormattedHTMLMessage id={`errorId.${errorId}`} defaultMessage=\"Invalid discharge date\" />\n }\n />\n );\n};\n","import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { DEFAULT_LOCALE } from \"../../../constants\";\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { DateComponent } from \"../../DateComponent/DateComponent\";\n\ntype Props = Omit<FormFieldComponentProps, \"isErrored\"> & {\n locale: string;\n /**\n * @deprecated deprecated in favor of using errorId instead\n */\n isErrored?: boolean;\n};\n\nexport const ActiveDutyStartDateComponent = ({\n onChange,\n errorId,\n isErrored = !!errorId,\n value = \"2000-01-01\",\n locale = DEFAULT_LOCALE,\n disabled = false,\n}: Props) => {\n const isFieldHidden = getFieldConfigByFieldId(\"activeDutyStartDate\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <DateComponent\n value={value}\n label={\n <FormattedHTMLMessage id=\"activeDutyStartDate\" defaultMessage=\"Active Duty Start Date\" />\n }\n explanation={\n <FormattedHTMLMessage\n id=\"verificationPurposesOnly\"\n defaultMessage=\"Used for verification purposes only\"\n />\n }\n onChange={onChange}\n fieldName=\"activeDutyStartDate\"\n fieldId=\"sid-active-duty-start-date\"\n locale={locale}\n isErrored={isErrored}\n disabled={disabled}\n errorMsg={\n <FormattedHTMLMessage id={`errorId.${errorId}`} defaultMessage=\"Invalid start date\" />\n }\n />\n );\n};\n"],"names":["BranchOfService","autoFocus","onChange","value","isErrored","organizations","verificationService","intl","placeholder","disabled","logger","inputId","options","setOptions","React","disabledState","setDisabledState","isLoading","setIsLoading","viewModel","programTheme","status","orgSearchUrl","countryChoiceValue","getSafe","needToPickCountry","isCountrySelectionNeeded","controller","fetchUrl","orgSearchResponse","fetchOrganization","orgToOption","handleStateChange","selectedOrgOption","getFieldConfigByFieldId","jsx","FormFieldInputSelect","branch","option","FormattedHTMLMessage","BranchOfServiceComponent","injectIntl","DischargeDateComponent","errorId","locale","mode","DateComponent","ActiveDutyStartDateComponent","DEFAULT_LOCALE"],"mappings":";;;;AA+BO,MAAMA,IAAkB,CAAC;AAAA,EAC9B,WAAAC;AAAA,EACA,UAAAC;AAAA,EACA,OAAAC;AAAA,EACA,WAAAC;AAAA,EACA,eAAAC,IAAgB;AAAA,EAChB,qBAAAC;AAAA,EACA,MAAAC;AAAA,EACA,aAAAC,IAAc;AAAA,EACd,UAAAC,IAAW;AACb,MAA0F;AACxF,EAAIJ,KACFK,EAAO,KAAK,0DAA0D;AAExE,QAAMC,IAAU,qBACV,CAACC,GAASC,CAAU,IAAIC,EAAM,SAA6B,CAAA,CAAE,GAC7D,CAACC,GAAeC,CAAgB,IAAIF,EAAM,SAAkB,EAAK,GACjE,CAACG,GAAWC,CAAY,IAAIJ,EAAM,SAAkB,EAAK,GACzD,EAAE,WAAAK,GAAW,cAAAC,EAAA,IAAiBd,GAC9B,EAAE,QAAAe,MAAWF,GACb,EAAE,cAAAG,MAAiBF,EAAa,QAChCG,IAA8BC,EAAQ,MAAML,GAAW,eAAe,KAAK,GAC3EM,IAAoBC,EAAyBN,GAAcG,CAAkB;AAEnF,EAAAT,EAAM,UAAU,MAAM;AACpB,UAAMa,IAAa,IAAI,gBAAA;AA6BvB,YA3BkB,YAAY;AAC5B,UAAIF,GAAmB;AACrB,QAAAZ,EAAW,CAAA,CAAE,GACbG,EAAiB,EAAI;AACrB;AAAA,MACF;AACA,MAAAA,EAAiB,EAAK,GACtBE,EAAa,EAAI;AACjB,YAAMU,IAAW,IAAI,IAAIN,CAAY;AACrC,MAAIC,IACFK,EAAS,aAAa,IAAI,WAAWL,CAAkB,IAEvDK,EAAS,aAAa,OAAO,SAAS,GAGpCP,IACFO,EAAS,aAAa,IAAI,QAAQP,CAAM,IAExCO,EAAS,aAAa,OAAO,MAAM;AAGrC,YAAMC,IAAoB,MAAMC,EAAkBF,EAAS,UAAU;AACrE,M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;AAAA,MAAA;AAAA,QACC,IAAG;AAAA,QACH,gBAAe;AAAA,MAAA;AAAA,IAAA;AAAA,IAGnB,UAAArC;AAAA,IACA,WAAU;AAAA,IACV,SAAQ;AAAA,IACR,QAAA0C;AAAA,IACA,WAAAxC;AAAA,IACA,UAAAK;AAAA,IACA,gCACG8B,GAAA,EAAqB,IAAI,WAAWI,CAAO,IAAI,gBAAe,qBAAA,CAAqB;AAAA,EAAA;AAAA;"}
|
|
1
|
+
{"version":3,"file":"ActiveDutyStartDateComponent-Bva1jSuC.js","sources":["../../src/components/FormFields/BranchOfService/BranchOfServiceComponent.tsx","../../src/components/FormFields/DischargeDate/DischargeDateComponent.tsx","../../src/components/FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\n\nimport {\n type FormSelectChoice,\n type FormFieldComponentProps,\n type VerificationServiceProps,\n type Organization,\n type ActiveMilitaryPersonalInfoViewModel,\n type Country,\n} from \"../../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n orgToOption,\n} from \"../../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { FormFieldInputSelect } from \"../FormFieldInputSelect/FormFieldInputSelect\";\nimport { fetchOrganization } from \"../../../lib/ServerApi/OrganizationApiClient\";\nimport { isCountrySelectionNeeded } from \"../Country/countryUtils\";\n\ninterface BranchOfServiceComponentProps {\n /**\n * @deprecated Orgs are fetch lazily, within this component, now\n * A list of orgs is no-longer passed-in and then filtered\n * Don't provide this any more\n */\n organizations?: Organization[];\n}\n\nexport const BranchOfService = ({\n autoFocus,\n onChange,\n value,\n isErrored,\n organizations = undefined,\n verificationService,\n intl,\n placeholder = \"\",\n disabled = false,\n}: FormFieldComponentProps & VerificationServiceProps & BranchOfServiceComponentProps) => {\n if (organizations) {\n logger.warn(\"Param `organizations` is deprecated and will not be used\");\n }\n const inputId = \"branch-of-service\";\n const [options, setOptions] = React.useState<FormSelectChoice[]>([]);\n const [disabledState, setDisabledState] = React.useState<boolean>(false);\n const [isLoading, setIsLoading] = React.useState<boolean>(false);\n const { viewModel, programTheme } = verificationService;\n const { status } = viewModel as ActiveMilitaryPersonalInfoViewModel;\n const { orgSearchUrl } = programTheme.config;\n const countryChoiceValue: Country = getSafe(() => viewModel?.countryChoice?.value);\n const needToPickCountry = isCountrySelectionNeeded(programTheme, countryChoiceValue);\n\n React.useEffect(() => {\n const controller = new AbortController();\n\n const fetchOrgs = async () => {\n if (needToPickCountry) {\n setOptions([]);\n setDisabledState(true);\n return;\n }\n setDisabledState(false);\n setIsLoading(true);\n const fetchUrl = new URL(orgSearchUrl);\n if (countryChoiceValue) {\n fetchUrl.searchParams.set(\"country\", countryChoiceValue);\n } else {\n fetchUrl.searchParams.delete(\"country\");\n }\n\n if (status) {\n fetchUrl.searchParams.set(\"tags\", status);\n } else {\n fetchUrl.searchParams.delete(\"tags\");\n }\n\n const orgSearchResponse = await fetchOrganization(fetchUrl.toString());\n if (controller.signal.aborted) return;\n if (orgSearchResponse) setOptions(orgSearchResponse.map(orgToOption));\n setIsLoading(false);\n };\n\n fetchOrgs();\n\n return () => {\n controller.abort();\n };\n }, [countryChoiceValue, status]);\n\n const handleStateChange = (selectedOrgOption: FormSelectChoice, onChange: Function) => {\n if (selectedOrgOption) {\n onChange({\n id: selectedOrgOption.value,\n name: selectedOrgOption.label,\n });\n } else {\n onChange({\n id: 0,\n name: \"\",\n });\n }\n };\n\n const isFieldHidden = getFieldConfigByFieldId(\"organization\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldInputSelect\n fieldId={inputId}\n refId=\"organization\"\n autoFocus={autoFocus}\n options={options}\n onChange={(branch: FormSelectChoice) => handleStateChange(branch, onChange)}\n value={options.find((option) => option.value === (value && value.value))}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({\n id: \"branchOfServicePlaceholder\",\n defaultMessage: \"Branch Of Service\",\n })\n }\n isRequired\n isLoading={isLoading}\n disabled={disabledState || disabled}\n explanation={\n disabledState ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : null\n }\n label={<FormattedHTMLMessage id=\"branchOfService\" defaultMessage=\"Branch Of Service\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidOrganization\"\n defaultMessage=\"You must select an organization from the list\"\n />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n containerId={`sid-${inputId}-id`}\n />\n );\n};\n\nexport const BranchOfServiceComponent = injectIntl(BranchOfService);\n","import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { DateComponent } from \"../../DateComponent/DateComponent\";\n\ntype Props = Omit<FormFieldComponentProps, \"isErrored\"> & {\n locale?: string;\n /**\n * @deprecated deprecated in favor of using errorId instead\n */\n isErrored?: boolean;\n mode?: \"date\" | \"month\";\n};\n\nexport const DischargeDateComponent = ({\n onChange,\n errorId,\n isErrored = !!errorId,\n value = \"2000-01-01\",\n disabled = false,\n locale,\n mode = \"month\",\n}: Props) => {\n const isFieldHidden = getFieldConfigByFieldId(\"dischargeDate\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <DateComponent\n mode={mode}\n value={value}\n label={<FormattedHTMLMessage id=\"dischargeDate\" defaultMessage=\"Discharge date\" />}\n explanation={\n <FormattedHTMLMessage\n id=\"verificationPurposesOnly\"\n defaultMessage=\"Used for verification purposes only\"\n />\n }\n onChange={onChange}\n fieldName=\"dischargeDate\"\n fieldId=\"discharge-date\"\n isErrored={isErrored}\n disabled={disabled}\n isRequired\n locale={locale}\n errorMsg={\n <FormattedHTMLMessage id={`errorId.${errorId}`} defaultMessage=\"Invalid discharge date\" />\n }\n />\n );\n};\n","import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { DEFAULT_LOCALE } from \"../../../constants\";\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { DateComponent } from \"../../DateComponent/DateComponent\";\n\ntype Props = Omit<FormFieldComponentProps, \"isErrored\"> & {\n locale: string;\n /**\n * @deprecated deprecated in favor of using errorId instead\n */\n isErrored?: boolean;\n};\n\nexport const ActiveDutyStartDateComponent = ({\n onChange,\n errorId,\n isErrored = !!errorId,\n value = \"2000-01-01\",\n locale = DEFAULT_LOCALE,\n disabled = false,\n}: Props) => {\n const isFieldHidden = getFieldConfigByFieldId(\"activeDutyStartDate\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <DateComponent\n value={value}\n label={\n <FormattedHTMLMessage id=\"activeDutyStartDate\" defaultMessage=\"Active Duty Start Date\" />\n }\n explanation={\n <FormattedHTMLMessage\n id=\"verificationPurposesOnly\"\n defaultMessage=\"Used for verification purposes only\"\n />\n }\n onChange={onChange}\n fieldName=\"activeDutyStartDate\"\n fieldId=\"sid-active-duty-start-date\"\n locale={locale}\n isErrored={isErrored}\n disabled={disabled}\n errorMsg={\n <FormattedHTMLMessage id={`errorId.${errorId}`} defaultMessage=\"Invalid start date\" />\n }\n />\n );\n};\n"],"names":["BranchOfService","autoFocus","onChange","value","isErrored","organizations","verificationService","intl","placeholder","disabled","logger","inputId","options","setOptions","React","disabledState","setDisabledState","isLoading","setIsLoading","viewModel","programTheme","status","orgSearchUrl","countryChoiceValue","getSafe","needToPickCountry","isCountrySelectionNeeded","controller","fetchUrl","orgSearchResponse","fetchOrganization","orgToOption","handleStateChange","selectedOrgOption","getFieldConfigByFieldId","jsx","FormFieldInputSelect","branch","option","FormattedHTMLMessage","BranchOfServiceComponent","injectIntl","DischargeDateComponent","errorId","locale","mode","DateComponent","ActiveDut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;AAAA,IAGnB,UAAArC;AAAA,IACA,WAAU;AAAA,IACV,SAAQ;AAAA,IACR,QAAA0C;AAAA,IACA,WAAAxC;AAAA,IACA,UAAAK;AAAA,IACA,gCACG8B,GAAA,EAAqB,IAAI,WAAWI,CAAO,IAAI,gBAAe,qBAAA,CAAqB;AAAA,EAAA;AAAA;"}
|
package/chunk/{ActiveDutyStartDateComponent-CF9c-0bL.js → ActiveDutyStartDateComponent-DjLuLM5N.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.233.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1779293745497
|
|
5
|
+
* BUILD_DATE: Wed May 20 2026 16:15:45 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: af3eefec141e5dda945559406ba048843622f3b9
|
|
7
7
|
*/
|
|
8
8
|
import { i as w, l as A, R as u, h as R, g as p, j as e, F as t, C as z, D as B, H as T } from "../sheerid.js";
|
|
9
|
-
import { F as U } from "./FormFieldInputSelect-
|
|
9
|
+
import { F as U } from "./FormFieldInputSelect-CqYEnYU4.js";
|
|
10
10
|
import { i as E } from "./FormFieldText-CaWtYVur.js";
|
|
11
|
-
import { D as F } from "./CaptchaComponent-
|
|
11
|
+
import { D as F } from "./CaptchaComponent-Ch8H0h-Q.js";
|
|
12
12
|
const N = ({
|
|
13
13
|
autoFocus: r,
|
|
14
14
|
onChange: s,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActiveDutyStartDateComponent-CF9c-0bL.js","sources":["../../src/components/FormFields/BranchOfService/BranchOfServiceComponent.tsx","../../src/components/FormFields/DischargeDate/DischargeDateComponent.tsx","../../src/components/FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\n\nimport {\n type FormSelectChoice,\n type FormFieldComponentProps,\n type VerificationServiceProps,\n type Organization,\n type ActiveMilitaryPersonalInfoViewModel,\n type Country,\n} from \"../../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n orgToOption,\n} from \"../../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { FormFieldInputSelect } from \"../FormFieldInputSelect/FormFieldInputSelect\";\nimport { fetchOrganization } from \"../../../lib/ServerApi/OrganizationApiClient\";\nimport { isCountrySelectionNeeded } from \"../Country/countryUtils\";\n\ninterface BranchOfServiceComponentProps {\n /**\n * @deprecated Orgs are fetch lazily, within this component, now\n * A list of orgs is no-longer passed-in and then filtered\n * Don't provide this any more\n */\n organizations?: Organization[];\n}\n\nexport const BranchOfService = ({\n autoFocus,\n onChange,\n value,\n isErrored,\n organizations = undefined,\n verificationService,\n intl,\n placeholder = \"\",\n disabled = false,\n}: FormFieldComponentProps & VerificationServiceProps & BranchOfServiceComponentProps) => {\n if (organizations) {\n logger.warn(\"Param `organizations` is deprecated and will not be used\");\n }\n const inputId = \"branch-of-service\";\n const [options, setOptions] = React.useState<FormSelectChoice[]>([]);\n const [disabledState, setDisabledState] = React.useState<boolean>(false);\n const [isLoading, setIsLoading] = React.useState<boolean>(false);\n const { viewModel, programTheme } = verificationService;\n const { status } = viewModel as ActiveMilitaryPersonalInfoViewModel;\n const { orgSearchUrl } = programTheme.config;\n const countryChoiceValue: Country = getSafe(() => viewModel?.countryChoice?.value);\n const needToPickCountry = isCountrySelectionNeeded(programTheme, countryChoiceValue);\n\n React.useEffect(() => {\n const controller = new AbortController();\n\n const fetchOrgs = async () => {\n if (needToPickCountry) {\n setOptions([]);\n setDisabledState(true);\n return;\n }\n setDisabledState(false);\n setIsLoading(true);\n const fetchUrl = new URL(orgSearchUrl);\n if (countryChoiceValue) {\n fetchUrl.searchParams.set(\"country\", countryChoiceValue);\n } else {\n fetchUrl.searchParams.delete(\"country\");\n }\n\n if (status) {\n fetchUrl.searchParams.set(\"tags\", status);\n } else {\n fetchUrl.searchParams.delete(\"tags\");\n }\n\n const orgSearchResponse = await fetchOrganization(fetchUrl.toString());\n if (controller.signal.aborted) return;\n if (orgSearchResponse) setOptions(orgSearchResponse.map(orgToOption));\n setIsLoading(false);\n };\n\n fetchOrgs();\n\n return () => {\n controller.abort();\n };\n }, [countryChoiceValue, status]);\n\n const handleStateChange = (selectedOrgOption: FormSelectChoice, onChange: Function) => {\n if (selectedOrgOption) {\n onChange({\n id: selectedOrgOption.value,\n name: selectedOrgOption.label,\n });\n } else {\n onChange({\n id: 0,\n name: \"\",\n });\n }\n };\n\n const isFieldHidden = getFieldConfigByFieldId(\"organization\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldInputSelect\n fieldId={inputId}\n refId=\"organization\"\n autoFocus={autoFocus}\n options={options}\n onChange={(branch: FormSelectChoice) => handleStateChange(branch, onChange)}\n value={options.find((option) => option.value === (value && value.value))}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({\n id: \"branchOfServicePlaceholder\",\n defaultMessage: \"Branch Of Service\",\n })\n }\n isRequired\n isLoading={isLoading}\n disabled={disabledState || disabled}\n explanation={\n disabledState ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : null\n }\n label={<FormattedHTMLMessage id=\"branchOfService\" defaultMessage=\"Branch Of Service\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidOrganization\"\n defaultMessage=\"You must select an organization from the list\"\n />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n containerId={`sid-${inputId}-id`}\n />\n );\n};\n\nexport const BranchOfServiceComponent = injectIntl(BranchOfService);\n","import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { DateComponent } from \"../../DateComponent/DateComponent\";\n\ntype Props = Omit<FormFieldComponentProps, \"isErrored\"> & {\n locale?: string;\n /**\n * @deprecated deprecated in favor of using errorId instead\n */\n isErrored?: boolean;\n mode?: \"date\" | \"month\";\n};\n\nexport const DischargeDateComponent = ({\n onChange,\n errorId,\n isErrored = !!errorId,\n value = \"2000-01-01\",\n disabled = false,\n locale,\n mode = \"month\",\n}: Props) => {\n const isFieldHidden = getFieldConfigByFieldId(\"dischargeDate\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <DateComponent\n mode={mode}\n value={value}\n label={<FormattedHTMLMessage id=\"dischargeDate\" defaultMessage=\"Discharge date\" />}\n explanation={\n <FormattedHTMLMessage\n id=\"verificationPurposesOnly\"\n defaultMessage=\"Used for verification purposes only\"\n />\n }\n onChange={onChange}\n fieldName=\"dischargeDate\"\n fieldId=\"discharge-date\"\n isErrored={isErrored}\n disabled={disabled}\n isRequired\n locale={locale}\n errorMsg={\n <FormattedHTMLMessage id={`errorId.${errorId}`} defaultMessage=\"Invalid discharge date\" />\n }\n />\n );\n};\n","import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { DEFAULT_LOCALE } from \"../../../constants\";\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { DateComponent } from \"../../DateComponent/DateComponent\";\n\ntype Props = Omit<FormFieldComponentProps, \"isErrored\"> & {\n locale: string;\n /**\n * @deprecated deprecated in favor of using errorId instead\n */\n isErrored?: boolean;\n};\n\nexport const ActiveDutyStartDateComponent = ({\n onChange,\n errorId,\n isErrored = !!errorId,\n value = \"2000-01-01\",\n locale = DEFAULT_LOCALE,\n disabled = false,\n}: Props) => {\n const isFieldHidden = getFieldConfigByFieldId(\"activeDutyStartDate\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <DateComponent\n value={value}\n label={\n <FormattedHTMLMessage id=\"activeDutyStartDate\" defaultMessage=\"Active Duty Start Date\" />\n }\n explanation={\n <FormattedHTMLMessage\n id=\"verificationPurposesOnly\"\n defaultMessage=\"Used for verification purposes only\"\n />\n }\n onChange={onChange}\n fieldName=\"activeDutyStartDate\"\n fieldId=\"sid-active-duty-start-date\"\n locale={locale}\n isErrored={isErrored}\n disabled={disabled}\n errorMsg={\n <FormattedHTMLMessage id={`errorId.${errorId}`} defaultMessage=\"Invalid start date\" />\n }\n />\n );\n};\n"],"names":["BranchOfService","autoFocus","onChange","value","isErrored","organizations","verificationService","intl","placeholder","disabled","logger","inputId","options","setOptions","React","disabledState","setDisabledState","isLoading","setIsLoading","viewModel","programTheme","status","orgSearchUrl","countryChoiceValue","getSafe","needToPickCountry","isCountrySelectionNeeded","controller","fetchUrl","orgSearchResponse","fetchOrganization","orgToOption","handleStateChange","selectedOrgOption","getFieldConfigByFieldId","jsx","FormFieldInputSelect","branch","option","FormattedHTMLMessage","BranchOfServiceComponent","injectIntl","DischargeDateComponent","errorId","locale","mode","DateComponent","ActiveDutyStartDateComponent","DEFAULT_LOCALE"],"mappings":";;;;AA+BO,MAAMA,IAAkB,CAAC;AAAA,EAC9B,WAAAC;AAAA,EACA,UAAAC;AAAA,EACA,OAAAC;AAAA,EACA,WAAAC;AAAA,EACA,eAAAC,IAAgB;AAAA,EAChB,qBAAAC;AAAA,EACA,MAAAC;AAAA,EACA,aAAAC,IAAc;AAAA,EACd,UAAAC,IAAW;AACb,MAA0F;AACxF,EAAIJ,KACFK,EAAO,KAAK,0DAA0D;AAExE,QAAMC,IAAU,qBACV,CAACC,GAASC,CAAU,IAAIC,EAAM,SAA6B,CAAA,CAAE,GAC7D,CAACC,GAAeC,CAAgB,IAAIF,EAAM,SAAkB,EAAK,GACjE,CAACG,GAAWC,CAAY,IAAIJ,EAAM,SAAk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AA,QACH,gBAAe;AAAA,MAAA;AAAA,IAAA;AAAA,IAGnB,UAAArC;AAAA,IACA,WAAU;AAAA,IACV,SAAQ;AAAA,IACR,WAAAE;AAAA,IACA,UAAAK;AAAA,IACA,YAAU;AAAA,IACV,QAAAmC;AAAA,IACA,gCACGL,GAAA,EAAqB,IAAI,WAAWI,CAAO,IAAI,gBAAe,yBAAA,CAAyB;AAAA,EAAA;AAAA,GClCnFI,IAA+B,CAAC;AAAA,EAC3C,UAAA7C;AAAA,EACA,SAAAyC;AAAA,EACA,WAAAvC,IAAY,CAAC,CAACuC;AAAA,EACd,OAAAxC,IAAQ;AAAA,EACR,QAAAyC,IAASI;AAAA,EACT,UAAAvC,IAAW;AACb,MACwByB,EAAwB,qBAAqB,GAAG,SAG7D,OAIPC,gBAAAA,EAAAA;AAAAA,EAACW;AAAA,EAAA;AAAA,IACC,OAAA3C;AAAA,IACA,OACEgC,gBAAAA,EAAAA,IAACI,GAAA,EAAqB,IAAG,uBAAsB,gBAAe,0BAAyB;AAAA,IAEzF,aACEJ,gBAAAA,EAAAA;AAAAA,MAACI;AAAA,MAAA;AAAA,QACC,IAAG;AAAA,QACH,gBAAe;AAAA,MAAA;AAAA,IAAA;AAAA,IAGnB,UAAArC;AAAA,IACA,WAAU;AAAA,IACV,SAAQ;AAAA,IACR,QAAA0C;AAAA,IACA,WAAAxC;AAAA,IACA,UAAAK;AAAA,IACA,gCACG8B,GAAA,EAAqB,IAAI,WAAWI,CAAO,IAAI,gBAAe,qBAAA,CAAqB;AAAA,EAAA;AAAA;"}
|
|
1
|
+
{"version":3,"file":"ActiveDutyStartDateComponent-DjLuLM5N.js","sources":["../../src/components/FormFields/BranchOfService/BranchOfServiceComponent.tsx","../../src/components/FormFields/DischargeDate/DischargeDateComponent.tsx","../../src/components/FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\n\nimport {\n type FormSelectChoice,\n type FormFieldComponentProps,\n type VerificationServiceProps,\n type Organization,\n type ActiveMilitaryPersonalInfoViewModel,\n type Country,\n} from \"../../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n orgToOption,\n} from \"../../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { FormFieldInputSelect } from \"../FormFieldInputSelect/FormFieldInputSelect\";\nimport { fetchOrganization } from \"../../../lib/ServerApi/OrganizationApiClient\";\nimport { isCountrySelectionNeeded } from \"../Country/countryUtils\";\n\ninterface BranchOfServiceComponentProps {\n /**\n * @deprecated Orgs are fetch lazily, within this component, now\n * A list of orgs is no-longer passed-in and then filtered\n * Don't provide this any more\n */\n organizations?: Organization[];\n}\n\nexport const BranchOfService = ({\n autoFocus,\n onChange,\n value,\n isErrored,\n organizations = undefined,\n verificationService,\n intl,\n placeholder = \"\",\n disabled = false,\n}: FormFieldComponentProps & VerificationServiceProps & BranchOfServiceComponentProps) => {\n if (organizations) {\n logger.warn(\"Param `organizations` is deprecated and will not be used\");\n }\n const inputId = \"branch-of-service\";\n const [options, setOptions] = React.useState<FormSelectChoice[]>([]);\n const [disabledState, setDisabledState] = React.useState<boolean>(false);\n const [isLoading, setIsLoading] = React.useState<boolean>(false);\n const { viewModel, programTheme } = verificationService;\n const { status } = viewModel as ActiveMilitaryPersonalInfoViewModel;\n const { orgSearchUrl } = programTheme.config;\n const countryChoiceValue: Country = getSafe(() => viewModel?.countryChoice?.value);\n const needToPickCountry = isCountrySelectionNeeded(programTheme, countryChoiceValue);\n\n React.useEffect(() => {\n const controller = new AbortController();\n\n const fetchOrgs = async () => {\n if (needToPickCountry) {\n setOptions([]);\n setDisabledState(true);\n return;\n }\n setDisabledState(false);\n setIsLoading(true);\n const fetchUrl = new URL(orgSearchUrl);\n if (countryChoiceValue) {\n fetchUrl.searchParams.set(\"country\", countryChoiceValue);\n } else {\n fetchUrl.searchParams.delete(\"country\");\n }\n\n if (status) {\n fetchUrl.searchParams.set(\"tags\", status);\n } else {\n fetchUrl.searchParams.delete(\"tags\");\n }\n\n const orgSearchResponse = await fetchOrganization(fetchUrl.toString());\n if (controller.signal.aborted) return;\n if (orgSearchResponse) setOptions(orgSearchResponse.map(orgToOption));\n setIsLoading(false);\n };\n\n fetchOrgs();\n\n return () => {\n controller.abort();\n };\n }, [countryChoiceValue, status]);\n\n const handleStateChange = (selectedOrgOption: FormSelectChoice, onChange: Function) => {\n if (selectedOrgOption) {\n onChange({\n id: selectedOrgOption.value,\n name: selectedOrgOption.label,\n });\n } else {\n onChange({\n id: 0,\n name: \"\",\n });\n }\n };\n\n const isFieldHidden = getFieldConfigByFieldId(\"organization\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldInputSelect\n fieldId={inputId}\n refId=\"organization\"\n autoFocus={autoFocus}\n options={options}\n onChange={(branch: FormSelectChoice) => handleStateChange(branch, onChange)}\n value={options.find((option) => option.value === (value && value.value))}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({\n id: \"branchOfServicePlaceholder\",\n defaultMessage: \"Branch Of Service\",\n })\n }\n isRequired\n isLoading={isLoading}\n disabled={disabledState || disabled}\n explanation={\n disabledState ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : null\n }\n label={<FormattedHTMLMessage id=\"branchOfService\" defaultMessage=\"Branch Of Service\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidOrganization\"\n defaultMessage=\"You must select an organization from the list\"\n />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n containerId={`sid-${inputId}-id`}\n />\n );\n};\n\nexport const BranchOfServiceComponent = injectIntl(BranchOfService);\n","import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { DateComponent } from \"../../DateComponent/DateComponent\";\n\ntype Props = Omit<FormFieldComponentProps, \"isErrored\"> & {\n locale?: string;\n /**\n * @deprecated deprecated in favor of using errorId instead\n */\n isErrored?: boolean;\n mode?: \"date\" | \"month\";\n};\n\nexport const DischargeDateComponent = ({\n onChange,\n errorId,\n isErrored = !!errorId,\n value = \"2000-01-01\",\n disabled = false,\n locale,\n mode = \"month\",\n}: Props) => {\n const isFieldHidden = getFieldConfigByFieldId(\"dischargeDate\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <DateComponent\n mode={mode}\n value={value}\n label={<FormattedHTMLMessage id=\"dischargeDate\" defaultMessage=\"Discharge date\" />}\n explanation={\n <FormattedHTMLMessage\n id=\"verificationPurposesOnly\"\n defaultMessage=\"Used for verification purposes only\"\n />\n }\n onChange={onChange}\n fieldName=\"dischargeDate\"\n fieldId=\"discharge-date\"\n isErrored={isErrored}\n disabled={disabled}\n isRequired\n locale={locale}\n errorMsg={\n <FormattedHTMLMessage id={`errorId.${errorId}`} defaultMessage=\"Invalid discharge date\" />\n }\n />\n );\n};\n","import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { DEFAULT_LOCALE } from \"../../../constants\";\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { DateComponent } from \"../../DateComponent/DateComponent\";\n\ntype Props = Omit<FormFieldComponentProps, \"isErrored\"> & {\n locale: string;\n /**\n * @deprecated deprecated in favor of using errorId instead\n */\n isErrored?: boolean;\n};\n\nexport const ActiveDutyStartDateComponent = ({\n onChange,\n errorId,\n isErrored = !!errorId,\n value = \"2000-01-01\",\n locale = DEFAULT_LOCALE,\n disabled = false,\n}: Props) => {\n const isFieldHidden = getFieldConfigByFieldId(\"activeDutyStartDate\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <DateComponent\n value={value}\n label={\n <FormattedHTMLMessage id=\"activeDutyStartDate\" defaultMessage=\"Active Duty Start Date\" />\n }\n explanation={\n <FormattedHTMLMessage\n id=\"verificationPurposesOnly\"\n defaultMessage=\"Used for verification purposes only\"\n />\n }\n onChange={onChange}\n fieldName=\"activeDutyStartDate\"\n fieldId=\"sid-active-duty-start-date\"\n locale={locale}\n isErrored={isErrored}\n disabled={disabled}\n errorMsg={\n <FormattedHTMLMessage id={`errorId.${errorId}`} defaultMessage=\"Invalid start date\" />\n }\n />\n );\n};\n"],"names":["BranchOfService","autoFocus","onChange","value","isErrored","organizations","verificationService","intl","placeholder","disabled","logger","inputId","options","setOptions","React","disabledState","setDisabledState","isLoading","setIsLoading","viewModel","programTheme","status","orgSearchUrl","countryChoiceValue","getSafe","needToPickCountry","isCountrySelectionNeeded","controller","fetchUrl","orgSearchResponse","fetchOrganization","orgToOption","handleStateChange","selectedOrgOption","getFieldConfigByFieldId","jsx","FormFieldInputSelect","branch","option","FormattedHTMLMessage","BranchOfServiceComponent","injectIntl","DischargeDateComponent","errorId","locale","mode","DateComponent","ActiveDutyStartDateComponent","DEFAULT_LOCALE"],"mappings":";;;;AA+BO,MAAMA,IAAkB,CAAC;AAAA,EAC9B,WAAAC;AAAA,EACA,UAAAC;AAAA,EACA,OAAAC;AAAA,EACA,WAAAC;AAAA,EACA,eAAAC,IAAgB;AAAA,EAChB,qBAAAC;AAAA,EACA,MAAAC;AAAA,EACA,aAAAC,IAAc;AAAA,EACd,UAAAC,IAAW;AACb,MAA0F;AACxF,EAAIJ,KACFK,EAAO,KAAK,0DAA0D;AAExE,QAAMC,IAAU,qBACV,CAACC,GAASC,CAAU,IAAIC,EAAM,SAA6B,CAAA,CAAE,GAC7D,CAACC,GAAeC,CAAgB,IAAIF,EAAM,SAAkB,EAAK,GACjE,CAACG,GAAWC,CAAY,IAAIJ,EAAM,SAAkB,EAAK,GACzD,EAAE,WAAAK,GAAW,cAAAC,EAAA,IAAiBd,GAC9B,EAAE,QA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WAAU;AAAA,IACV,SAAQ;AAAA,IACR,WAAAE;AAAA,IACA,UAAAK;AAAA,IACA,YAAU;AAAA,IACV,QAAAmC;AAAA,IACA,gCACGL,GAAA,EAAqB,IAAI,WAAWI,CAAO,IAAI,gBAAe,yBAAA,CAAyB;AAAA,EAAA;AAAA,GClCnFI,IAA+B,CAAC;AAAA,EAC3C,UAAA7C;AAAA,EACA,SAAAyC;AAAA,EACA,WAAAvC,IAAY,CAAC,CAACuC;AAAA,EACd,OAAAxC,IAAQ;AAAA,EACR,QAAAyC,IAASI;AAAA,EACT,UAAAvC,IAAW;AACb,MACwByB,EAAwB,qBAAqB,GAAG,SAG7D,OAIPC,gBAAAA,EAAAA;AAAAA,EAACW;AAAA,EAAA;AAAA,IACC,OAAA3C;AAAA,IACA,OACEgC,gBAAAA,EAAAA,IAACI,GAAA,EAAqB,IAAG,uBAAsB,gBAAe,0BAAyB;AAAA,IAEzF,aACEJ,gBAAAA,EAAAA;AAAAA,MAACI;AAAA,MAAA;AAAA,QACC,IAAG;AAAA,QACH,gBAAe;AAAA,MAAA;AAAA,IAAA;AAAA,IAGnB,UAAArC;AAAA,IACA,WAAU;AAAA,IACV,SAAQ;AAAA,IACR,QAAA0C;AAAA,IACA,WAAAxC;AAAA,IACA,UAAAK;AAAA,IACA,gCACG8B,GAAA,EAAqB,IAAI,WAAWI,CAAO,IAAI,gBAAe,qBAAA,CAAqB;AAAA,EAAA;AAAA;"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.233.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1779293745497
|
|
5
|
+
* BUILD_DATE: Wed May 20 2026 16:15:45 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: af3eefec141e5dda945559406ba048843622f3b9
|
|
7
7
|
*/
|
|
8
8
|
import { i as g, g as F, j as e, F as r } from "../sheerid.js";
|
|
9
9
|
import { F as M } from "./FormFieldText-CaWtYVur.js";
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.233.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1779293766865
|
|
9
|
+
* BUILD_DATE: Wed May 20 2026 16:16:06 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: af3eefec141e5dda945559406ba048843622f3b9
|
|
11
11
|
*/
|
|
12
12
|
import { i as g, g as F, j as e, F as r } from "../_mysheerid-preview.js";
|
|
13
13
|
import { F as M } from "./FormFieldText-CJ-GVpZE.js";
|