@sheerid/jslib-nightly 3.0.0-preview.1621 → 3.0.0-preview.1631

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.
Files changed (508) hide show
  1. package/_mysheerid-preview.css +4 -4
  2. package/_mysheerid-preview.js +1177 -1046
  3. package/_mysheerid-preview.js.map +1 -1
  4. package/chunk/{AddressComponent-CicgG-Ap.js → AddressComponent-BtJQiY48.js} +9 -9
  5. package/chunk/{AddressComponent-CicgG-Ap.js.map → AddressComponent-BtJQiY48.js.map} +1 -1
  6. package/chunk/{AddressComponent-SyKsvFCQ.js → AddressComponent-DP9ULqtw.js} +9 -9
  7. package/chunk/{AddressComponent-SyKsvFCQ.js.map → AddressComponent-DP9ULqtw.js.map} +1 -1
  8. package/chunk/AddressFieldRow-BWYhS8VE.js +15 -0
  9. package/chunk/AddressFieldRow-BWYhS8VE.js.map +1 -0
  10. package/chunk/AddressFieldRow-DjhsZq8R.js +19 -0
  11. package/chunk/AddressFieldRow-DjhsZq8R.js.map +1 -0
  12. package/chunk/{AnnouncingHeader-CNUB901t.js → AnnouncingHeader-CmgyK603.js} +6 -6
  13. package/chunk/{AnnouncingHeader-CNUB901t.js.map → AnnouncingHeader-CmgyK603.js.map} +1 -1
  14. package/chunk/{AnnouncingHeader-DCiZuMUz.js → AnnouncingHeader-TMbsnXRN.js} +6 -6
  15. package/chunk/{AnnouncingHeader-DCiZuMUz.js.map → AnnouncingHeader-TMbsnXRN.js.map} +1 -1
  16. package/chunk/{ApiUrls-B4z1Ry3u.js → ApiUrls-C6E0I6TF.js} +6 -6
  17. package/chunk/{ApiUrls-B4z1Ry3u.js.map → ApiUrls-C6E0I6TF.js.map} +1 -1
  18. package/chunk/{ApiUrls-2RecghDh.js → ApiUrls-CteJIwpB.js} +6 -6
  19. package/chunk/{ApiUrls-2RecghDh.js.map → ApiUrls-CteJIwpB.js.map} +1 -1
  20. package/chunk/{BirthDateComponent-BvW3thf7.js → BirthDateComponent-BVYbZdIP.js} +9 -9
  21. package/chunk/{BirthDateComponent-BvW3thf7.js.map → BirthDateComponent-BVYbZdIP.js.map} +1 -1
  22. package/chunk/{BirthDateComponent-R-9mMaGu.js → BirthDateComponent-Cr7-jR5E.js} +9 -9
  23. package/chunk/{BirthDateComponent-R-9mMaGu.js.map → BirthDateComponent-Cr7-jR5E.js.map} +1 -1
  24. package/chunk/{CaptchaComponent-CELn5byp.js → CaptchaComponent-AwT7AXGH.js} +642 -612
  25. package/chunk/CaptchaComponent-AwT7AXGH.js.map +1 -0
  26. package/chunk/{CaptchaComponent-jgmYS8PD.js → CaptchaComponent-CslWDEPF.js} +687 -657
  27. package/chunk/CaptchaComponent-CslWDEPF.js.map +1 -0
  28. package/chunk/{ChangeLocaleComponent-H3FlQ3cA.js → ChangeLocaleComponent-B1c6px-u.js} +11 -11
  29. package/chunk/{ChangeLocaleComponent-H3FlQ3cA.js.map → ChangeLocaleComponent-B1c6px-u.js.map} +1 -1
  30. package/chunk/{ChangeLocaleComponent-Dp2emhBO.js → ChangeLocaleComponent-BER084RB.js} +11 -11
  31. package/chunk/{ChangeLocaleComponent-Dp2emhBO.js.map → ChangeLocaleComponent-BER084RB.js.map} +1 -1
  32. package/chunk/{City-BawrEn1_.js → City-BTjuf99s.js} +9 -9
  33. package/chunk/{City-BQKUXtCs.js.map → City-BTjuf99s.js.map} +1 -1
  34. package/chunk/{City-BQKUXtCs.js → City-Dd-sI-wK.js} +9 -9
  35. package/chunk/{City-BawrEn1_.js.map → City-Dd-sI-wK.js.map} +1 -1
  36. package/chunk/{CollegeNameComponent-BZ2MjvAc.js → CollegeNameComponent-BjKXQOO2.js} +12 -12
  37. package/chunk/{CollegeNameComponent-BZ2MjvAc.js.map → CollegeNameComponent-BjKXQOO2.js.map} +1 -1
  38. package/chunk/{CollegeNameComponent-CAIRXL5p.js → CollegeNameComponent-ORLwRxFv.js} +12 -12
  39. package/chunk/{CollegeNameComponent-CAIRXL5p.js.map → CollegeNameComponent-ORLwRxFv.js.map} +1 -1
  40. package/chunk/{CopyToClipboardComponent-BrWPnNPn.js → CopyToClipboardComponent-CWnba0yN.js} +6 -6
  41. package/chunk/{CopyToClipboardComponent-BrWPnNPn.js.map → CopyToClipboardComponent-CWnba0yN.js.map} +1 -1
  42. package/chunk/{CopyToClipboardComponent-uJ-6jBXB.js → CopyToClipboardComponent-Cb9wlwWJ.js} +6 -6
  43. package/chunk/{CopyToClipboardComponent-uJ-6jBXB.js.map → CopyToClipboardComponent-Cb9wlwWJ.js.map} +1 -1
  44. package/chunk/{CountryComponentWrapper-Cbo3tE2x.js → CountryComponentWrapper-B9Dpza5V.js} +13 -13
  45. package/chunk/{CountryComponentWrapper-Cbo3tE2x.js.map → CountryComponentWrapper-B9Dpza5V.js.map} +1 -1
  46. package/chunk/{CountryComponentWrapper-C20l0Hp9.js → CountryComponentWrapper-jasJT_m5.js} +13 -13
  47. package/chunk/{CountryComponentWrapper-C20l0Hp9.js.map → CountryComponentWrapper-jasJT_m5.js.map} +1 -1
  48. package/chunk/{DischargeDateComponent-H6vRxx9K.js → DischargeDateComponent-BOxNiapZ.js} +14 -14
  49. package/chunk/{DischargeDateComponent-H6vRxx9K.js.map → DischargeDateComponent-BOxNiapZ.js.map} +1 -1
  50. package/chunk/{DischargeDateComponent-DYymcxuK.js → DischargeDateComponent-u_fPbMKy.js} +14 -14
  51. package/chunk/{DischargeDateComponent-DYymcxuK.js.map → DischargeDateComponent-u_fPbMKy.js.map} +1 -1
  52. package/chunk/{DriverLicenseNumberComponent-GeE_vJ-6.js → DriverLicenseNumberComponent-2kNyRBoD.js} +9 -9
  53. package/chunk/{DriverLicenseNumberComponent-BTXjrzCy.js.map → DriverLicenseNumberComponent-2kNyRBoD.js.map} +1 -1
  54. package/chunk/{DriverLicenseNumberComponent-BTXjrzCy.js → DriverLicenseNumberComponent-D8-T8RG1.js} +9 -9
  55. package/chunk/{DriverLicenseNumberComponent-GeE_vJ-6.js.map → DriverLicenseNumberComponent-D8-T8RG1.js.map} +1 -1
  56. package/chunk/{EmailLoopPending-8SpBGanx.js → EmailLoopPending-DVFlvoqW.js} +14 -14
  57. package/chunk/{EmailLoopPending-8SpBGanx.js.map → EmailLoopPending-DVFlvoqW.js.map} +1 -1
  58. package/chunk/{EmailLoopPending-cFuBbba2.js → EmailLoopPending-J4hfAITM.js} +14 -14
  59. package/chunk/{EmailLoopPending-cFuBbba2.js.map → EmailLoopPending-J4hfAITM.js.map} +1 -1
  60. package/chunk/{ExtraMessage-WH33nlul.js → ExtraMessage-BOUiL1v2.js} +7 -7
  61. package/chunk/{ExtraMessage-At4-m1_R.js.map → ExtraMessage-BOUiL1v2.js.map} +1 -1
  62. package/chunk/{ExtraMessage-At4-m1_R.js → ExtraMessage-C3rLE7pH.js} +7 -7
  63. package/chunk/{ExtraMessage-WH33nlul.js.map → ExtraMessage-C3rLE7pH.js.map} +1 -1
  64. package/chunk/{FirstResponderOrganizationComponent-B6Kpl__I.js → FirstResponderOrganizationComponent-DylJJPYa.js} +11 -11
  65. package/chunk/{FirstResponderOrganizationComponent-B6Kpl__I.js.map → FirstResponderOrganizationComponent-DylJJPYa.js.map} +1 -1
  66. package/chunk/{FirstResponderOrganizationComponent-HZN2oyQe.js → FirstResponderOrganizationComponent-_6_6s-DZ.js} +11 -11
  67. package/chunk/{FirstResponderOrganizationComponent-HZN2oyQe.js.map → FirstResponderOrganizationComponent-_6_6s-DZ.js.map} +1 -1
  68. package/chunk/{FormFieldInputSelect-D6KB_lSA.js → FormFieldInputSelect-DcLExjg1.js} +7 -7
  69. package/chunk/{FormFieldInputSelect-BkP4JViC.js.map → FormFieldInputSelect-DcLExjg1.js.map} +1 -1
  70. package/chunk/{FormFieldInputSelect-BkP4JViC.js → FormFieldInputSelect-DjvrXRYz.js} +7 -7
  71. package/chunk/{FormFieldInputSelect-D6KB_lSA.js.map → FormFieldInputSelect-DjvrXRYz.js.map} +1 -1
  72. package/chunk/{FormFieldLayout-CdAF5eOb.js → FormFieldLayout-C0SpJlpv.js} +7 -7
  73. package/chunk/{FormFieldLayout-B6UWlgPZ.js.map → FormFieldLayout-C0SpJlpv.js.map} +1 -1
  74. package/chunk/{FormFieldLayout-B6UWlgPZ.js → FormFieldLayout-lJ_u3Dgo.js} +7 -7
  75. package/chunk/{FormFieldLayout-CdAF5eOb.js.map → FormFieldLayout-lJ_u3Dgo.js.map} +1 -1
  76. package/chunk/{FormFieldText-C95_VXFp.js → FormFieldText-BC4bIifh.js} +7 -7
  77. package/chunk/{FormFieldText-C95_VXFp.js.map → FormFieldText-BC4bIifh.js.map} +1 -1
  78. package/chunk/{FormFieldText-DF4JNdNJ.js → FormFieldText-mvrX2IIF.js} +7 -7
  79. package/chunk/{FormFieldText-DF4JNdNJ.js.map → FormFieldText-mvrX2IIF.js.map} +1 -1
  80. package/chunk/{FormFieldTypeahead-BbMRLwcq.js → FormFieldTypeahead-CNv8fg2k.js} +556 -552
  81. package/chunk/{FormFieldTypeahead-BWO62nSf.js.map → FormFieldTypeahead-CNv8fg2k.js.map} +1 -1
  82. package/chunk/{FormFieldTypeahead-BWO62nSf.js → FormFieldTypeahead-dU3p2ibA.js} +362 -366
  83. package/chunk/{FormFieldTypeahead-BbMRLwcq.js.map → FormFieldTypeahead-dU3p2ibA.js.map} +1 -1
  84. package/chunk/{FormFooterComponent-C4nUMHpv.js → FormFooterComponent-B7FvZdh5.js} +6 -6
  85. package/chunk/{FormFooterComponent-C4nUMHpv.js.map → FormFooterComponent-B7FvZdh5.js.map} +1 -1
  86. package/chunk/{FormFooterComponent-T4dnyYOP.js → FormFooterComponent-DhKiKqtE.js} +6 -6
  87. package/chunk/{FormFooterComponent-T4dnyYOP.js.map → FormFooterComponent-DhKiKqtE.js.map} +1 -1
  88. package/chunk/FormSelectChoice-Da11OJMy.js +4 -4
  89. package/chunk/{InputSelectComponent-DFomMBKx.js → InputSelectComponent-D54U7YXX.js} +759 -759
  90. package/chunk/{InputSelectComponent-DFomMBKx.js.map → InputSelectComponent-D54U7YXX.js.map} +1 -1
  91. package/chunk/{InputSelectComponent-xKOg0Mfy.js → InputSelectComponent-DYUtOb7C.js} +613 -613
  92. package/chunk/{InputSelectComponent-xKOg0Mfy.js.map → InputSelectComponent-DYUtOb7C.js.map} +1 -1
  93. package/chunk/{InputText-DO36IbjF.js → InputText-DVLYDw0h.js} +7 -7
  94. package/chunk/{InputText-DO36IbjF.js.map → InputText-DVLYDw0h.js.map} +1 -1
  95. package/chunk/{InputText-XskZSQrt.js → InputText-DjdofHyX.js} +7 -7
  96. package/chunk/{InputText-XskZSQrt.js.map → InputText-DjdofHyX.js.map} +1 -1
  97. package/chunk/{LicensedProfessionalOrganizationComponent-Bh2HJaux.js → LicensedProfessionalOrganizationComponent-BLh-wQXl.js} +11 -11
  98. package/chunk/{LicensedProfessionalOrganizationComponent-Bh2HJaux.js.map → LicensedProfessionalOrganizationComponent-BLh-wQXl.js.map} +1 -1
  99. package/chunk/{LicensedProfessionalOrganizationComponent-B79SU_Ho.js → LicensedProfessionalOrganizationComponent-BqYQQLZX.js} +11 -11
  100. package/chunk/{LicensedProfessionalOrganizationComponent-B79SU_Ho.js.map → LicensedProfessionalOrganizationComponent-BqYQQLZX.js.map} +1 -1
  101. package/chunk/{LogoComponent-D3p_K04d.js → LogoComponent-6tFjcgVM.js} +7 -7
  102. package/chunk/{LogoComponent-D3p_K04d.js.map → LogoComponent-6tFjcgVM.js.map} +1 -1
  103. package/chunk/{LogoComponent-waBbF_Hz.js → LogoComponent-mUZySaE6.js} +7 -7
  104. package/chunk/{LogoComponent-waBbF_Hz.js.map → LogoComponent-mUZySaE6.js.map} +1 -1
  105. package/chunk/{LowIncomeOrganizationComponent-B7nmTUWV.js → LowIncomeOrganizationComponent-BPQdRB6o.js} +16 -16
  106. package/chunk/{LowIncomeOrganizationComponent-B7nmTUWV.js.map → LowIncomeOrganizationComponent-BPQdRB6o.js.map} +1 -1
  107. package/chunk/{LowIncomeOrganizationComponent-BAf5x0-f.js → LowIncomeOrganizationComponent-Bg6xDDGi.js} +16 -16
  108. package/chunk/{LowIncomeOrganizationComponent-BAf5x0-f.js.map → LowIncomeOrganizationComponent-Bg6xDDGi.js.map} +1 -1
  109. package/chunk/{LowRewardPoolNote-CAcUOjXU.js → LowRewardPoolNote-DtOvOdUw.js} +27 -25
  110. package/chunk/LowRewardPoolNote-DtOvOdUw.js.map +1 -0
  111. package/chunk/{LowRewardPoolNote-D53DGp7d.js → LowRewardPoolNote-LI-IROaZ.js} +27 -25
  112. package/chunk/LowRewardPoolNote-LI-IROaZ.js.map +1 -0
  113. package/chunk/{MedicalProfessionalOrganizationComponent-BnURpR77.js → MedicalProfessionalOrganizationComponent-31SWnoc_.js} +11 -11
  114. package/chunk/{MedicalProfessionalOrganizationComponent-BnURpR77.js.map → MedicalProfessionalOrganizationComponent-31SWnoc_.js.map} +1 -1
  115. package/chunk/{MedicalProfessionalOrganizationComponent-CIPYgOg7.js → MedicalProfessionalOrganizationComponent-CuIK6Lxo.js} +11 -11
  116. package/chunk/{MedicalProfessionalOrganizationComponent-CIPYgOg7.js.map → MedicalProfessionalOrganizationComponent-CuIK6Lxo.js.map} +1 -1
  117. package/chunk/{MemberIdComponent-CvBccNKk.js → MemberIdComponent-BTlvABAU.js} +9 -9
  118. package/chunk/{MemberIdComponent-CYJuZbZS.js.map → MemberIdComponent-BTlvABAU.js.map} +1 -1
  119. package/chunk/{MemberIdComponent-CYJuZbZS.js → MemberIdComponent-ClI7Lrzf.js} +9 -9
  120. package/chunk/{MemberIdComponent-CvBccNKk.js.map → MemberIdComponent-ClI7Lrzf.js.map} +1 -1
  121. package/chunk/{MembershipOrganizationComponent-Hyvx9XaK.js → MembershipOrganizationComponent-BiEwp_cM.js} +11 -11
  122. package/chunk/{MembershipOrganizationComponent-Hyvx9XaK.js.map → MembershipOrganizationComponent-BiEwp_cM.js.map} +1 -1
  123. package/chunk/{MembershipOrganizationComponent-CgwT1kz9.js → MembershipOrganizationComponent-VPIz8lLs.js} +11 -11
  124. package/chunk/{MembershipOrganizationComponent-CgwT1kz9.js.map → MembershipOrganizationComponent-VPIz8lLs.js.map} +1 -1
  125. package/chunk/{Message-CCPUNbvb.js → Message-5IZ4lXNe.js} +22 -20
  126. package/chunk/Message-5IZ4lXNe.js.map +1 -0
  127. package/chunk/{Message-BJpuZuCw.js → Message-CwmUrRnS.js} +22 -20
  128. package/chunk/Message-CwmUrRnS.js.map +1 -0
  129. package/chunk/Onfido-CTCgAwnB.js +4 -4
  130. package/chunk/PersonalInfoStepFrame-BN5_Q3j6.js +83 -0
  131. package/chunk/PersonalInfoStepFrame-BN5_Q3j6.js.map +1 -0
  132. package/chunk/PersonalInfoStepFrame-mum5cSbA.js +52 -0
  133. package/chunk/PersonalInfoStepFrame-mum5cSbA.js.map +1 -0
  134. package/chunk/PersonalInfoStepSubmitButton-B7hOa7Fv.js +139 -0
  135. package/chunk/PersonalInfoStepSubmitButton-B7hOa7Fv.js.map +1 -0
  136. package/chunk/PersonalInfoStepSubmitButton-EnaN7NAh.js +143 -0
  137. package/chunk/PersonalInfoStepSubmitButton-EnaN7NAh.js.map +1 -0
  138. package/chunk/{PostalCodeComponent-D-Wlqd3h.js → PostalCodeComponent-CP0rzyjy.js} +9 -9
  139. package/chunk/{PostalCodeComponent-D-Wlqd3h.js.map → PostalCodeComponent-CP0rzyjy.js.map} +1 -1
  140. package/chunk/{PostalCodeComponent-Bfyrs-OS.js → PostalCodeComponent-KP-2qj83.js} +9 -9
  141. package/chunk/{PostalCodeComponent-Bfyrs-OS.js.map → PostalCodeComponent-KP-2qj83.js.map} +1 -1
  142. package/chunk/{SSN-CpZKLMZh.js → SSN-CLxg9aqc.js} +8 -8
  143. package/chunk/{SSN-CpZKLMZh.js.map → SSN-CLxg9aqc.js.map} +1 -1
  144. package/chunk/{SSN-DfQKic30.js → SSN-TkC3k_yT.js} +8 -8
  145. package/chunk/{SSN-DfQKic30.js.map → SSN-TkC3k_yT.js.map} +1 -1
  146. package/chunk/{StateSelectComponent-uRb4CZto.js → StateSelectComponent-BSKbExE7.js} +7 -7
  147. package/chunk/{StateSelectComponent-uRb4CZto.js.map → StateSelectComponent-BSKbExE7.js.map} +1 -1
  148. package/chunk/{StateSelectComponent-B0vfzaHI.js → StateSelectComponent-C5zsszV4.js} +7 -7
  149. package/chunk/{StateSelectComponent-B0vfzaHI.js.map → StateSelectComponent-C5zsszV4.js.map} +1 -1
  150. package/chunk/{StatusComponent-ZjAfp6D1.js → StatusComponent-CjJzTs66.js} +10 -10
  151. package/chunk/{StatusComponent-RqqyyDyR.js.map → StatusComponent-CjJzTs66.js.map} +1 -1
  152. package/chunk/{StatusComponent-RqqyyDyR.js → StatusComponent-DLYbEtYO.js} +10 -10
  153. package/chunk/{StatusComponent-ZjAfp6D1.js.map → StatusComponent-DLYbEtYO.js.map} +1 -1
  154. package/chunk/StepAgePersonalInfo-B8ysvqii.js +163 -0
  155. package/chunk/StepAgePersonalInfo-B8ysvqii.js.map +1 -0
  156. package/chunk/StepAgePersonalInfo-BDpfhGsS.js +167 -0
  157. package/chunk/StepAgePersonalInfo-BDpfhGsS.js.map +1 -0
  158. package/chunk/{StepCard-wwdNHa6o.js → StepCard-C76ZfmqM.js} +5 -5
  159. package/chunk/{StepCard-ELVyeUE5.js.map → StepCard-C76ZfmqM.js.map} +1 -1
  160. package/chunk/{StepCard-ELVyeUE5.js → StepCard-CXGXGFI-.js} +5 -5
  161. package/chunk/{StepCard-wwdNHa6o.js.map → StepCard-CXGXGFI-.js.map} +1 -1
  162. package/chunk/StepCollectIdentifier-C7DP51qL.js +64 -0
  163. package/chunk/StepCollectIdentifier-C7DP51qL.js.map +1 -0
  164. package/chunk/StepCollectIdentifier-Dp1iG62a.js +60 -0
  165. package/chunk/StepCollectIdentifier-Dp1iG62a.js.map +1 -0
  166. package/chunk/StepCollectMilitaryPersonalInfoComponent-BB1g5pmR.js +235 -0
  167. package/chunk/StepCollectMilitaryPersonalInfoComponent-BB1g5pmR.js.map +1 -0
  168. package/chunk/StepCollectMilitaryPersonalInfoComponent-CgoAQeEB.js +239 -0
  169. package/chunk/StepCollectMilitaryPersonalInfoComponent-CgoAQeEB.js.map +1 -0
  170. package/chunk/StepCollectPersonalInfo-C3Cyv_aX.js +348 -0
  171. package/chunk/StepCollectPersonalInfo-C3Cyv_aX.js.map +1 -0
  172. package/chunk/StepCollectPersonalInfo-CsYzlGHl.js +352 -0
  173. package/chunk/StepCollectPersonalInfo-CsYzlGHl.js.map +1 -0
  174. package/chunk/{StepCompleteAuthentication-B3iM05Rm.js → StepCompleteAuthentication-CbjrrB6R.js} +10 -10
  175. package/chunk/{StepCompleteAuthentication-B3iM05Rm.js.map → StepCompleteAuthentication-CbjrrB6R.js.map} +1 -1
  176. package/chunk/{StepCompleteAuthentication-DmURi_hs.js → StepCompleteAuthentication-D_LaDe1h.js} +10 -10
  177. package/chunk/{StepCompleteAuthentication-DmURi_hs.js.map → StepCompleteAuthentication-D_LaDe1h.js.map} +1 -1
  178. package/chunk/{StepConsolation-CFWMHxRq.js → StepConsolation-CR4TKiSu.js} +10 -10
  179. package/chunk/{StepConsolation-CFWMHxRq.js.map → StepConsolation-CR4TKiSu.js.map} +1 -1
  180. package/chunk/{StepConsolation-nN23KvH2.js → StepConsolation-bnjITlrY.js} +10 -10
  181. package/chunk/{StepConsolation-nN23KvH2.js.map → StepConsolation-bnjITlrY.js.map} +1 -1
  182. package/chunk/{StepDocUpload-DAI4hd-K.js → StepDocUpload-DWkwH2QT.js} +613 -611
  183. package/chunk/StepDocUpload-DWkwH2QT.js.map +1 -0
  184. package/chunk/{StepDocUpload-DXj4mEM6.js → StepDocUpload-Dd58AHnT.js} +526 -524
  185. package/chunk/StepDocUpload-Dd58AHnT.js.map +1 -0
  186. package/chunk/StepDriverLicensePersonalInfoComponent-B-ZxvGHZ.js +121 -0
  187. package/chunk/StepDriverLicensePersonalInfoComponent-B-ZxvGHZ.js.map +1 -0
  188. package/chunk/StepDriverLicensePersonalInfoComponent-NjsDcgi9.js +125 -0
  189. package/chunk/StepDriverLicensePersonalInfoComponent-NjsDcgi9.js.map +1 -0
  190. package/chunk/{StepEmailLoop-CuaFZ_b2.js → StepEmailLoop-BM54Js7W.js} +14 -14
  191. package/chunk/{StepEmailLoop-CuaFZ_b2.js.map → StepEmailLoop-BM54Js7W.js.map} +1 -1
  192. package/chunk/{StepEmailLoop-C490ilfk.js → StepEmailLoop-CRxgnM5S.js} +14 -14
  193. package/chunk/{StepEmailLoop-C490ilfk.js.map → StepEmailLoop-CRxgnM5S.js.map} +1 -1
  194. package/chunk/StepEmploymentPersonalInfo-C1058vEg.js +195 -0
  195. package/chunk/StepEmploymentPersonalInfo-C1058vEg.js.map +1 -0
  196. package/chunk/StepEmploymentPersonalInfo-fd1ijXKl.js +191 -0
  197. package/chunk/StepEmploymentPersonalInfo-fd1ijXKl.js.map +1 -0
  198. package/chunk/StepFirstResponderPersonalInfo-BP4biOyT.js +159 -0
  199. package/chunk/StepFirstResponderPersonalInfo-BP4biOyT.js.map +1 -0
  200. package/chunk/StepFirstResponderPersonalInfo-avOw-9N0.js +163 -0
  201. package/chunk/StepFirstResponderPersonalInfo-avOw-9N0.js.map +1 -0
  202. package/chunk/StepGeneralIdentityPersonalInfoComponent-D37IRvMP.js +155 -0
  203. package/chunk/StepGeneralIdentityPersonalInfoComponent-D37IRvMP.js.map +1 -0
  204. package/chunk/StepGeneralIdentityPersonalInfoComponent-DuBxVx4m.js +159 -0
  205. package/chunk/StepGeneralIdentityPersonalInfoComponent-DuBxVx4m.js.map +1 -0
  206. package/chunk/StepHybridIdentityPersonalInfoComponent-BVcij5lO.js +164 -0
  207. package/chunk/StepHybridIdentityPersonalInfoComponent-BVcij5lO.js.map +1 -0
  208. package/chunk/StepHybridIdentityPersonalInfoComponent-DgvbgKAm.js +168 -0
  209. package/chunk/StepHybridIdentityPersonalInfoComponent-DgvbgKAm.js.map +1 -0
  210. package/chunk/{StepIDCheckLoop-DDNgoWKs.js → StepIDCheckLoop-C7CpNoHU.js} +9 -9
  211. package/chunk/{StepIDCheckLoop-DDNgoWKs.js.map → StepIDCheckLoop-C7CpNoHU.js.map} +1 -1
  212. package/chunk/{StepIDCheckLoop-CGuZberW.js → StepIDCheckLoop-DFrV6MTR.js} +9 -9
  213. package/chunk/{StepIDCheckLoop-CGuZberW.js.map → StepIDCheckLoop-DFrV6MTR.js.map} +1 -1
  214. package/chunk/{StepIDCheckLoopOnfido-2fSt4PC7.js → StepIDCheckLoopOnfido-BU40XWrx.js} +15 -15
  215. package/chunk/{StepIDCheckLoopOnfido-2fSt4PC7.js.map → StepIDCheckLoopOnfido-BU40XWrx.js.map} +1 -1
  216. package/chunk/{StepIDCheckLoopOnfido-BajgwcIU.js → StepIDCheckLoopOnfido-BYtAy60c.js} +15 -15
  217. package/chunk/{StepIDCheckLoopOnfido-BajgwcIU.js.map → StepIDCheckLoopOnfido-BYtAy60c.js.map} +1 -1
  218. package/chunk/{StepIDCheckLoopRegula-DBEhCcOx.js → StepIDCheckLoopRegula-C8yLox0c.js} +13 -13
  219. package/chunk/{StepIDCheckLoopRegula-DBEhCcOx.js.map → StepIDCheckLoopRegula-C8yLox0c.js.map} +1 -1
  220. package/chunk/{StepIDCheckLoopRegula-BWkVIExj.js → StepIDCheckLoopRegula-CU4AMUjF.js} +15 -15
  221. package/chunk/{StepIDCheckLoopRegula-BWkVIExj.js.map → StepIDCheckLoopRegula-CU4AMUjF.js.map} +1 -1
  222. package/chunk/StepLicensedProfessionalPersonalInfo-DYe1VRID.js +156 -0
  223. package/chunk/StepLicensedProfessionalPersonalInfo-DYe1VRID.js.map +1 -0
  224. package/chunk/StepLicensedProfessionalPersonalInfo-Dek9s5xK.js +152 -0
  225. package/chunk/StepLicensedProfessionalPersonalInfo-Dek9s5xK.js.map +1 -0
  226. package/chunk/StepLowIncomePersonalInfo-DTcFnHNu.js +222 -0
  227. package/chunk/StepLowIncomePersonalInfo-DTcFnHNu.js.map +1 -0
  228. package/chunk/StepLowIncomePersonalInfo-EVzMJpk8.js +226 -0
  229. package/chunk/StepLowIncomePersonalInfo-EVzMJpk8.js.map +1 -0
  230. package/chunk/StepMedicalProfessionalPersonalInfo-CC5oPp5z.js +198 -0
  231. package/chunk/StepMedicalProfessionalPersonalInfo-CC5oPp5z.js.map +1 -0
  232. package/chunk/StepMedicalProfessionalPersonalInfo-DaVMQ9xO.js +202 -0
  233. package/chunk/StepMedicalProfessionalPersonalInfo-DaVMQ9xO.js.map +1 -0
  234. package/chunk/StepMemberPersonalInfo-D90zItlP.js +139 -0
  235. package/chunk/StepMemberPersonalInfo-D90zItlP.js.map +1 -0
  236. package/chunk/StepMemberPersonalInfo-JxXm4gr5.js +143 -0
  237. package/chunk/StepMemberPersonalInfo-JxXm4gr5.js.map +1 -0
  238. package/chunk/StepMoverPersonalInfo-1LvxWaUr.js +120 -0
  239. package/chunk/StepMoverPersonalInfo-1LvxWaUr.js.map +1 -0
  240. package/chunk/StepMoverPersonalInfo-BChr5qWM.js +124 -0
  241. package/chunk/StepMoverPersonalInfo-BChr5qWM.js.map +1 -0
  242. package/chunk/{StepOverrideComponent-Df7suQby.js → StepOverrideComponent-Bh61GaOV.js} +14 -14
  243. package/chunk/{StepOverrideComponent-Df7suQby.js.map → StepOverrideComponent-Bh61GaOV.js.map} +1 -1
  244. package/chunk/{StepOverrideComponent-_2tBwss0.js → StepOverrideComponent-qp7y2wDj.js} +14 -14
  245. package/chunk/{StepOverrideComponent-_2tBwss0.js.map → StepOverrideComponent-qp7y2wDj.js.map} +1 -1
  246. package/chunk/{StepSMSLoop-DJdI9NJ-.js → StepSMSLoop-D8OzEURy.js} +11 -11
  247. package/chunk/{StepSMSLoop-DJdI9NJ-.js.map → StepSMSLoop-D8OzEURy.js.map} +1 -1
  248. package/chunk/{StepSMSLoop-BVbQi9Eq.js → StepSMSLoop-zjC3wJhn.js} +11 -11
  249. package/chunk/{StepSMSLoop-BVbQi9Eq.js.map → StepSMSLoop-zjC3wJhn.js.map} +1 -1
  250. package/chunk/StepSSO-CVwwDxgB.js +8 -0
  251. package/chunk/StepSSO-DSR38vO8.js +12 -0
  252. package/chunk/{StepSocialSecurityNumber-CKW8pUck.js → StepSocialSecurityNumber-D895Evkz.js} +13 -13
  253. package/chunk/{StepSocialSecurityNumber-CKW8pUck.js.map → StepSocialSecurityNumber-D895Evkz.js.map} +1 -1
  254. package/chunk/{StepSocialSecurityNumber-CBmG_7kt.js → StepSocialSecurityNumber-Dnl-rbN4.js} +13 -13
  255. package/chunk/{StepSocialSecurityNumber-CBmG_7kt.js.map → StepSocialSecurityNumber-Dnl-rbN4.js.map} +1 -1
  256. package/chunk/StepStudentPersonalInfo-BDG19dH8.js +226 -0
  257. package/chunk/StepStudentPersonalInfo-BDG19dH8.js.map +1 -0
  258. package/chunk/StepStudentPersonalInfo-CGt4_iKv.js +222 -0
  259. package/chunk/StepStudentPersonalInfo-CGt4_iKv.js.map +1 -0
  260. package/chunk/{StepSuccess-B_b_cLvk.js → StepSuccess-DEx0LEHM.js} +15 -15
  261. package/chunk/{StepSuccess-B_b_cLvk.js.map → StepSuccess-DEx0LEHM.js.map} +1 -1
  262. package/chunk/{StepSuccess-lXDU9RzB.js → StepSuccess-xdZkJlsG.js} +15 -15
  263. package/chunk/{StepSuccess-lXDU9RzB.js.map → StepSuccess-xdZkJlsG.js.map} +1 -1
  264. package/chunk/StepTeacherPersonalInfo-CPR8NzQC.js +137 -0
  265. package/chunk/StepTeacherPersonalInfo-CPR8NzQC.js.map +1 -0
  266. package/chunk/StepTeacherPersonalInfo-CoGRY8Op.js +133 -0
  267. package/chunk/StepTeacherPersonalInfo-CoGRY8Op.js.map +1 -0
  268. package/chunk/StepThirdPartyLoop-BY7ytJrS.js +12 -0
  269. package/chunk/StepThirdPartyLoop-B__GCNlS.js +8 -0
  270. package/chunk/{TeacherSchoolComponent-BFiJ7Wq2.js → TeacherSchoolComponent-BHkR3As8.js} +12 -12
  271. package/chunk/{TeacherSchoolComponent-BFiJ7Wq2.js.map → TeacherSchoolComponent-BHkR3As8.js.map} +1 -1
  272. package/chunk/{TeacherSchoolComponent-DpNEEKfb.js → TeacherSchoolComponent-rqXO3VdK.js} +12 -12
  273. package/chunk/{TeacherSchoolComponent-DpNEEKfb.js.map → TeacherSchoolComponent-rqXO3VdK.js.map} +1 -1
  274. package/chunk/{TestingRouteOverrides-BEm8Sf8D.js → TestingRouteOverrides-CoyYU2dB.js} +6 -6
  275. package/chunk/{TestingRouteOverrides-BEm8Sf8D.js.map → TestingRouteOverrides-CoyYU2dB.js.map} +1 -1
  276. package/chunk/{TestingRouteOverrides-CY6cZruo.js → TestingRouteOverrides-DdBMBH84.js} +6 -6
  277. package/chunk/{TestingRouteOverrides-CY6cZruo.js.map → TestingRouteOverrides-DdBMBH84.js.map} +1 -1
  278. package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
  279. package/chunk/{VerificationApiClient-BeOvbT_t.js → VerificationApiClient-CMXey_vG.js} +7 -7
  280. package/chunk/{VerificationApiClient-BeOvbT_t.js.map → VerificationApiClient-CMXey_vG.js.map} +1 -1
  281. package/chunk/{VerificationApiClient-BvR36fUk.js → VerificationApiClient-LhFUyqXX.js} +7 -7
  282. package/chunk/{VerificationApiClient-BvR36fUk.js.map → VerificationApiClient-LhFUyqXX.js.map} +1 -1
  283. package/chunk/{addEventListener-CjrfonA-.js → addEventListener-BVNWtC2P.js} +8 -8
  284. package/chunk/{addEventListener-DuM7oJdm.js.map → addEventListener-BVNWtC2P.js.map} +1 -1
  285. package/chunk/{addEventListener-DuM7oJdm.js → addEventListener-BcjpXDjJ.js} +8 -8
  286. package/chunk/{addEventListener-CjrfonA-.js.map → addEventListener-BcjpXDjJ.js.map} +1 -1
  287. package/chunk/ar-D5CO913q.js +4 -4
  288. package/chunk/bg-1mhA5kYF.js +4 -4
  289. package/chunk/bn-IN-CpDqyRb_.js +4 -4
  290. package/chunk/{button-DIPXKy0a.js → button-D5HIQ4Y0.js} +8 -8
  291. package/chunk/{button-DIPXKy0a.js.map → button-D5HIQ4Y0.js.map} +1 -1
  292. package/chunk/{button-BlkqJX_E.js → button-ac_Hqm_6.js} +11 -11
  293. package/chunk/{button-BlkqJX_E.js.map → button-ac_Hqm_6.js.map} +1 -1
  294. package/chunk/clsx-DC8twM4t.js +4 -4
  295. package/chunk/{countryUtils-DKwoRV2T.js → countryUtils-B5-c33Fe.js} +5 -5
  296. package/chunk/{countryUtils-DKwoRV2T.js.map → countryUtils-B5-c33Fe.js.map} +1 -1
  297. package/chunk/countryUtils-_vyfjnd_.js +12 -0
  298. package/chunk/{countryUtils-SAP2nHeP.js.map → countryUtils-_vyfjnd_.js.map} +1 -1
  299. package/chunk/cs-Chh7FAGt.js +4 -4
  300. package/chunk/da-DwrVoxto.js +4 -4
  301. package/chunk/de-IWGZLhgY.js +4 -4
  302. package/chunk/dist-In8P1UpN.js +4 -4
  303. package/chunk/el-DbDcvSPJ.js +4 -4
  304. package/chunk/{empties-D2KXGsVY.js → empties-BnfYnQnj.js} +8 -5
  305. package/chunk/empties-BnfYnQnj.js.map +1 -0
  306. package/chunk/{empties-CJE5It5a.js → empties-DIWFhdB0.js} +8 -5
  307. package/chunk/{empties-CJE5It5a.js.map → empties-DIWFhdB0.js.map} +1 -1
  308. package/chunk/en-GB-CNQ8Ww2j.js +4 -4
  309. package/chunk/es-ES-DWimqEZ_.js +4 -4
  310. package/chunk/es-qhC-seq5.js +4 -4
  311. package/chunk/et-yF9G-Mym.js +4 -4
  312. package/chunk/eventEmitter-CSG6jR7V.js +4 -4
  313. package/chunk/fa-BcdSf7og.js +4 -4
  314. package/chunk/fi-D-IP_KHm.js +4 -4
  315. package/chunk/fr-BmUuYxk0.js +4 -4
  316. package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
  317. package/chunk/ga-DuZycND3.js +4 -4
  318. package/chunk/getInstallType-BRxisNNY.js +4 -4
  319. package/chunk/getInstallType-DlS_DNKt.js +4 -4
  320. package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
  321. package/chunk/{hooks-Cjcd--GE.js → hooks-BtGKgRAK.js} +6 -6
  322. package/chunk/{hooks-Cjcd--GE.js.map → hooks-BtGKgRAK.js.map} +1 -1
  323. package/chunk/{hooks-D72YoqAe.js → hooks-DKM9cJde.js} +6 -6
  324. package/chunk/{hooks-D72YoqAe.js.map → hooks-DKM9cJde.js.map} +1 -1
  325. package/chunk/hr-BtqyDzDB.js +4 -4
  326. package/chunk/hu-C6syKJfb.js +4 -4
  327. package/chunk/id-GgI-Z2a5.js +4 -4
  328. package/chunk/{index.es-C_UCMoRU.js → index.es-DpZtkqxf.js} +6 -6
  329. package/chunk/{index.es-C_UCMoRU.js.map → index.es-DpZtkqxf.js.map} +1 -1
  330. package/chunk/{index.es-0Ly0eUxm.js → index.es-FjuPwOz0.js} +6 -6
  331. package/chunk/{index.es-0Ly0eUxm.js.map → index.es-FjuPwOz0.js.map} +1 -1
  332. package/chunk/{input-Bnmror_i.js → input-BfKnTtbM.js} +8 -8
  333. package/chunk/{input-Bnmror_i.js.map → input-BfKnTtbM.js.map} +1 -1
  334. package/chunk/{input-CbFmDZR4.js → input-CwRvN2sJ.js} +8 -8
  335. package/chunk/{input-CbFmDZR4.js.map → input-CwRvN2sJ.js.map} +1 -1
  336. package/chunk/is-CvmKEON9.js +4 -4
  337. package/chunk/it-CnmveGgC.js +4 -4
  338. package/chunk/iw-DFUYHkxF.js +4 -4
  339. package/chunk/ja-CjVb2tWW.js +4 -4
  340. package/chunk/{jsx-runtime-B5jXYl8q.js → jsx-runtime-DDrPHZwN.js} +5 -5
  341. package/chunk/{jsx-runtime-B5jXYl8q.js.map → jsx-runtime-DDrPHZwN.js.map} +1 -1
  342. package/chunk/{jsx-runtime-BnRn7GM8.js → jsx-runtime-NC2eM5ec.js} +5 -5
  343. package/chunk/{jsx-runtime-BnRn7GM8.js.map → jsx-runtime-NC2eM5ec.js.map} +1 -1
  344. package/chunk/kk-Dvz4nK6K.js +4 -4
  345. package/chunk/ko-DzOqBMGC.js +4 -4
  346. package/chunk/lo-C2WPq55d.js +4 -4
  347. package/chunk/lt-BSDYvjTF.js +4 -4
  348. package/chunk/lv-CefDPT-M.js +4 -4
  349. package/chunk/mockProgramBranding-C9Ysu3Mp.js +4 -4
  350. package/chunk/mockProgramConfiguration-BNqSCrMG.js +4 -4
  351. package/chunk/mockProgramI18n-CgYx_1_a.js +4 -4
  352. package/chunk/mockProgramTheme-Cfk2dzF3.js +4 -4
  353. package/chunk/{mocks-BuI-FNT-.js → mocks-CHQ1TVI3.js} +5 -5
  354. package/chunk/{mocks-C6Bm8r6i.js.map → mocks-CHQ1TVI3.js.map} +1 -1
  355. package/chunk/{mocks-C6Bm8r6i.js → mocks-Dd0Dlwr1.js} +5 -5
  356. package/chunk/{mocks-BuI-FNT-.js.map → mocks-Dd0Dlwr1.js.map} +1 -1
  357. package/chunk/ms-BjestZxy.js +4 -4
  358. package/chunk/nl-B1FyUfCT.js +4 -4
  359. package/chunk/nl-BE-CbeAd3nq.js +4 -4
  360. package/chunk/no-Dr633Ddi.js +4 -4
  361. package/chunk/pl-UYTjMIq_.js +4 -4
  362. package/chunk/{programThemeGetters-CLeOiedB.js → programThemeGetters-BAbsTY-b.js} +6 -6
  363. package/chunk/{programThemeGetters-CLeOiedB.js.map → programThemeGetters-BAbsTY-b.js.map} +1 -1
  364. package/chunk/{programThemeGetters-TRIvr7Go.js → programThemeGetters-k8rZASZ-.js} +6 -6
  365. package/chunk/{programThemeGetters-TRIvr7Go.js.map → programThemeGetters-k8rZASZ-.js.map} +1 -1
  366. package/chunk/pt-BR-C8SYMT-J.js +4 -4
  367. package/chunk/pt-uH-M3GdN.js +4 -4
  368. package/chunk/refs-Mq0rtW9K.js +4 -4
  369. package/chunk/ro-CAOSXZ7h.js +4 -4
  370. package/chunk/ru-iwYoEydL.js +4 -4
  371. package/chunk/runtimeTypes-B2AGNJMT.js +4 -4
  372. package/chunk/sk-DYYNV3zw.js +4 -4
  373. package/chunk/sl-D_-eeM5N.js +4 -4
  374. package/chunk/sr-BTi9_anL.js +4 -4
  375. package/chunk/{stepComponentHelpers-CzsNPyXM.js → stepComponentHelpers-Db0mTMF5.js} +6 -6
  376. package/chunk/{stepComponentHelpers-CzsNPyXM.js.map → stepComponentHelpers-Db0mTMF5.js.map} +1 -1
  377. package/chunk/{stepComponentHelpers-IolnFznH.js → stepComponentHelpers-jZe9fteF.js} +6 -6
  378. package/chunk/{stepComponentHelpers-IolnFznH.js.map → stepComponentHelpers-jZe9fteF.js.map} +1 -1
  379. package/chunk/strings-DWLVdUcm.js +4 -4
  380. package/chunk/sv-DRwY4shG.js +4 -4
  381. package/chunk/sw-Bvj2mYmM.js +4 -4
  382. package/chunk/ta-CmtaYoNe.js +4 -4
  383. package/chunk/th-12r2yKkJ.js +4 -4
  384. package/chunk/tl-BGNfO7md.js +4 -4
  385. package/chunk/tr-DH2ZSJhs.js +4 -4
  386. package/chunk/uk-CELBZlTd.js +4 -4
  387. package/chunk/ur-MR8DTbmd.js +4 -4
  388. package/chunk/{useCollectFieldsEndpoint-olPOcYoz.js → useCollectFieldsEndpoint-BTCQRuHF.js} +9 -9
  389. package/chunk/{useCollectFieldsEndpoint-olPOcYoz.js.map → useCollectFieldsEndpoint-BTCQRuHF.js.map} +1 -1
  390. package/chunk/{useCollectFieldsEndpoint-CvBJD-m5.js → useCollectFieldsEndpoint-BqydDVGT.js} +9 -9
  391. package/chunk/{useCollectFieldsEndpoint-CvBJD-m5.js.map → useCollectFieldsEndpoint-BqydDVGT.js.map} +1 -1
  392. package/chunk/useFocusOnMount-CM4T5Z88.js +18 -0
  393. package/chunk/{useFocusOnMount-B4gVB2JN.js.map → useFocusOnMount-CM4T5Z88.js.map} +1 -1
  394. package/chunk/{useFocusOnMount-B4gVB2JN.js → useFocusOnMount-CfNgS3Ag.js} +6 -6
  395. package/chunk/{useFocusOnMount-CoKIEDuF.js.map → useFocusOnMount-CfNgS3Ag.js.map} +1 -1
  396. package/chunk/{useFooterShieldSrc-CWTHh0Mk.js → useFooterShieldSrc-CkHUFWrg.js} +13 -13
  397. package/chunk/{useFooterShieldSrc-CWTHh0Mk.js.map → useFooterShieldSrc-CkHUFWrg.js.map} +1 -1
  398. package/chunk/{useFooterShieldSrc-CmKqak9A.js → useFooterShieldSrc-D5cu9blw.js} +13 -13
  399. package/chunk/{useFooterShieldSrc-CmKqak9A.js.map → useFooterShieldSrc-D5cu9blw.js.map} +1 -1
  400. package/chunk/{useMetrics-DKU_qdJm.js → useMetrics-CsJd9Mos.js} +7 -7
  401. package/chunk/{useMetrics-DKU_qdJm.js.map → useMetrics-CsJd9Mos.js.map} +1 -1
  402. package/chunk/{useMetrics-CK1qxUD4.js → useMetrics-Oeia1mNS.js} +7 -7
  403. package/chunk/{useMetrics-CK1qxUD4.js.map → useMetrics-Oeia1mNS.js.map} +1 -1
  404. package/chunk/{useOnMount-B3CK3L_o.js → useOnMount-D-FexEcU.js} +6 -6
  405. package/chunk/{useOnMount-B3CK3L_o.js.map → useOnMount-D-FexEcU.js.map} +1 -1
  406. package/chunk/{useOnMount-DTplONXt.js → useOnMount-IlmAw-W-.js} +6 -6
  407. package/chunk/{useOnMount-DTplONXt.js.map → useOnMount-IlmAw-W-.js.map} +1 -1
  408. package/chunk/vi-DtZ-SqD5.js +4 -4
  409. package/chunk/zh-DjyVyYac.js +4 -4
  410. package/chunk/zh-HK-CN1HarHq.js +4 -4
  411. package/chunk/zu-DPhgIh1z.js +4 -4
  412. package/package.json +1 -1
  413. package/sheerid-install.css +4 -4
  414. package/sheerid-install.js +4 -4
  415. package/sheerid.css +5 -5
  416. package/sheerid.js +1479 -1348
  417. package/sheerid.js.map +1 -1
  418. package/chunk/CaptchaComponent-CELn5byp.js.map +0 -1
  419. package/chunk/CaptchaComponent-jgmYS8PD.js.map +0 -1
  420. package/chunk/LowRewardPoolNote-CAcUOjXU.js.map +0 -1
  421. package/chunk/LowRewardPoolNote-D53DGp7d.js.map +0 -1
  422. package/chunk/Message-BJpuZuCw.js.map +0 -1
  423. package/chunk/Message-CCPUNbvb.js.map +0 -1
  424. package/chunk/PersonalInfoStepSubmitButton-Bkfehzde.js +0 -142
  425. package/chunk/PersonalInfoStepSubmitButton-Bkfehzde.js.map +0 -1
  426. package/chunk/PersonalInfoStepSubmitButton-vKWA-7OM.js +0 -138
  427. package/chunk/PersonalInfoStepSubmitButton-vKWA-7OM.js.map +0 -1
  428. package/chunk/PersonalInfoStepWrapper-CO1Ai4CL.js +0 -53
  429. package/chunk/PersonalInfoStepWrapper-CO1Ai4CL.js.map +0 -1
  430. package/chunk/PersonalInfoStepWrapper-XIy5r6WD.js +0 -85
  431. package/chunk/PersonalInfoStepWrapper-XIy5r6WD.js.map +0 -1
  432. package/chunk/StepAgePersonalInfo-B_rJGRgX.js +0 -177
  433. package/chunk/StepAgePersonalInfo-B_rJGRgX.js.map +0 -1
  434. package/chunk/StepAgePersonalInfo-DJPM2PJz.js +0 -173
  435. package/chunk/StepAgePersonalInfo-DJPM2PJz.js.map +0 -1
  436. package/chunk/StepCollectIdentifier-D3Enfb3G.js +0 -62
  437. package/chunk/StepCollectIdentifier-D3Enfb3G.js.map +0 -1
  438. package/chunk/StepCollectIdentifier-DJsPPf_t.js +0 -66
  439. package/chunk/StepCollectIdentifier-DJsPPf_t.js.map +0 -1
  440. package/chunk/StepCollectMilitaryPersonalInfoComponent-CZaentAm.js +0 -250
  441. package/chunk/StepCollectMilitaryPersonalInfoComponent-CZaentAm.js.map +0 -1
  442. package/chunk/StepCollectMilitaryPersonalInfoComponent-Cd25YUFV.js +0 -246
  443. package/chunk/StepCollectMilitaryPersonalInfoComponent-Cd25YUFV.js.map +0 -1
  444. package/chunk/StepCollectPersonalInfo-BPw22iU2.js +0 -380
  445. package/chunk/StepCollectPersonalInfo-BPw22iU2.js.map +0 -1
  446. package/chunk/StepCollectPersonalInfo-PbZ_Lh5v.js +0 -384
  447. package/chunk/StepCollectPersonalInfo-PbZ_Lh5v.js.map +0 -1
  448. package/chunk/StepDocUpload-DAI4hd-K.js.map +0 -1
  449. package/chunk/StepDocUpload-DXj4mEM6.js.map +0 -1
  450. package/chunk/StepDriverLicensePersonalInfoComponent-CyWd-3C8.js +0 -144
  451. package/chunk/StepDriverLicensePersonalInfoComponent-CyWd-3C8.js.map +0 -1
  452. package/chunk/StepDriverLicensePersonalInfoComponent-DQzI18NJ.js +0 -148
  453. package/chunk/StepDriverLicensePersonalInfoComponent-DQzI18NJ.js.map +0 -1
  454. package/chunk/StepEmploymentPersonalInfo-BVeVxEtT.js +0 -222
  455. package/chunk/StepEmploymentPersonalInfo-BVeVxEtT.js.map +0 -1
  456. package/chunk/StepEmploymentPersonalInfo-DRdFErAM.js +0 -218
  457. package/chunk/StepEmploymentPersonalInfo-DRdFErAM.js.map +0 -1
  458. package/chunk/StepFirstResponderPersonalInfo-DYbPTeIq.js +0 -186
  459. package/chunk/StepFirstResponderPersonalInfo-DYbPTeIq.js.map +0 -1
  460. package/chunk/StepFirstResponderPersonalInfo-kH-D-gpm.js +0 -182
  461. package/chunk/StepFirstResponderPersonalInfo-kH-D-gpm.js.map +0 -1
  462. package/chunk/StepGeneralIdentityPersonalInfoComponent-BF7dYmjn.js +0 -177
  463. package/chunk/StepGeneralIdentityPersonalInfoComponent-BF7dYmjn.js.map +0 -1
  464. package/chunk/StepGeneralIdentityPersonalInfoComponent-DjEZH38x.js +0 -181
  465. package/chunk/StepGeneralIdentityPersonalInfoComponent-DjEZH38x.js.map +0 -1
  466. package/chunk/StepHybridIdentityPersonalInfoComponent-8Om7yEMT.js +0 -186
  467. package/chunk/StepHybridIdentityPersonalInfoComponent-8Om7yEMT.js.map +0 -1
  468. package/chunk/StepHybridIdentityPersonalInfoComponent-D9Je6yj-.js +0 -190
  469. package/chunk/StepHybridIdentityPersonalInfoComponent-D9Je6yj-.js.map +0 -1
  470. package/chunk/StepLicensedProfessionalPersonalInfo-AGQwXrgt.js +0 -182
  471. package/chunk/StepLicensedProfessionalPersonalInfo-AGQwXrgt.js.map +0 -1
  472. package/chunk/StepLicensedProfessionalPersonalInfo-ChdI7Jgm.js +0 -178
  473. package/chunk/StepLicensedProfessionalPersonalInfo-ChdI7Jgm.js.map +0 -1
  474. package/chunk/StepLowIncomePersonalInfo-Cl_eJwaC.js +0 -236
  475. package/chunk/StepLowIncomePersonalInfo-Cl_eJwaC.js.map +0 -1
  476. package/chunk/StepLowIncomePersonalInfo-DJjuE6iI.js +0 -232
  477. package/chunk/StepLowIncomePersonalInfo-DJjuE6iI.js.map +0 -1
  478. package/chunk/StepMedicalProfessionalPersonalInfo-CmAOUKJB.js +0 -209
  479. package/chunk/StepMedicalProfessionalPersonalInfo-CmAOUKJB.js.map +0 -1
  480. package/chunk/StepMedicalProfessionalPersonalInfo-snvlB1q5.js +0 -213
  481. package/chunk/StepMedicalProfessionalPersonalInfo-snvlB1q5.js.map +0 -1
  482. package/chunk/StepMemberPersonalInfo-CdX8LAGC.js +0 -160
  483. package/chunk/StepMemberPersonalInfo-CdX8LAGC.js.map +0 -1
  484. package/chunk/StepMemberPersonalInfo-PxKH7YN4.js +0 -156
  485. package/chunk/StepMemberPersonalInfo-PxKH7YN4.js.map +0 -1
  486. package/chunk/StepMoverPersonalInfo-MYGnyYc-.js +0 -147
  487. package/chunk/StepMoverPersonalInfo-MYGnyYc-.js.map +0 -1
  488. package/chunk/StepMoverPersonalInfo-u_-Eve-G.js +0 -143
  489. package/chunk/StepMoverPersonalInfo-u_-Eve-G.js.map +0 -1
  490. package/chunk/StepSSO-CybtMBjF.js +0 -12
  491. package/chunk/StepSSO-pglHGWRO.js +0 -8
  492. package/chunk/StepStudentPersonalInfo-Bb2UFiSf.js +0 -237
  493. package/chunk/StepStudentPersonalInfo-Bb2UFiSf.js.map +0 -1
  494. package/chunk/StepStudentPersonalInfo-BrV5nUQm.js +0 -233
  495. package/chunk/StepStudentPersonalInfo-BrV5nUQm.js.map +0 -1
  496. package/chunk/StepTeacherPersonalInfo-8xYbzOQu.js +0 -153
  497. package/chunk/StepTeacherPersonalInfo-8xYbzOQu.js.map +0 -1
  498. package/chunk/StepTeacherPersonalInfo-aiSuLSkE.js +0 -157
  499. package/chunk/StepTeacherPersonalInfo-aiSuLSkE.js.map +0 -1
  500. package/chunk/StepThirdPartyLoop-Bl9PW1-v.js +0 -8
  501. package/chunk/StepThirdPartyLoop-Cs_tIVeY.js +0 -12
  502. package/chunk/countryUtils-SAP2nHeP.js +0 -12
  503. package/chunk/empties-D2KXGsVY.js.map +0 -1
  504. package/chunk/tslib.es6-BjMMQAso.js +0 -149
  505. package/chunk/tslib.es6-BjMMQAso.js.map +0 -1
  506. package/chunk/tslib.es6-DBUmCTli.js +0 -153
  507. package/chunk/tslib.es6-DBUmCTli.js.map +0 -1
  508. package/chunk/useFocusOnMount-CoKIEDuF.js +0 -18
@@ -1 +1 @@
1
- {"version":3,"file":"EmailLoopPending-cFuBbba2.js","names":["produce","__exportAll","__toESM","getSafe","fn","require_react","require_jsx_runtime","logger","VerificationStepsEnum","useMessage","VerificationApiClient","useFlag","FormattedHTMLMessage","LogoComponent","AnnouncingHeader","usePollingInterval","populateViewModelFromQueryParams","EmailLoopPending_exports","EmailLoopPendingComponent","import_react","import_jsx_runtime","EMAIL_LOOP_POLL_DURATION","verificationResponse","verificationService","canCancelEmailLoop","viewModel","previousViewModel","previousVerificationResponse","shouldHideIcon","resendMessage","setResendMessage","email","submitForm","programId","verificationId","resendEmail","response","message","msg","cancelEmailLoop","nextState","canResendEmailLoop"],"sources":["../../src/components/StepEmailLoop/EmailLoopPending.tsx"],"sourcesContent":["import React from \"react\";\nimport produce from \"immer\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\n\nimport { useMessage } from \"@/components/Message\";\n\nimport {\n type StudentPersonalInfoViewModel,\n type EmailLoopViewModel,\n type EmailLoopResponse,\n} from \"../../lib/types/types\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { populateViewModelFromQueryParams } from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { usePollingInterval } from \"../../lib/utils/usePollingInterval/usePollingInterval\";\nimport { VerificationApiClient } from \"../../lib/ServerApi/VerificationApiClient\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\nimport { useFlag } from \"../FeatureFlags/hooks\";\n\nimport { type StepEmailLoopComponentProps } from \"./StepEmailLoopComponent\";\n\nconst EMAIL_LOOP_POLL_DURATION = 10000;\n\nexport default function EmailLoopPendingComponent({\n verificationService,\n}: StepEmailLoopComponentProps) {\n const { msg } = useMessage();\n const verificationResponse = verificationService.verificationResponse as EmailLoopResponse;\n const { programId } = verificationService;\n const { verificationId } = verificationResponse;\n const { canResendEmailLoop } = verificationResponse;\n const canCancelEmailLoop = verificationResponse.cancelUrl;\n const viewModel = verificationService.viewModel as EmailLoopViewModel;\n const previousViewModel =\n (verificationService.previousViewModel as StudentPersonalInfoViewModel) || undefined;\n const previousVerificationResponse =\n verificationService.previousVerificationResponse || undefined;\n const shouldHideIcon = useFlag(\"hc-my-sheer-id-theme-builder\");\n\n const [resendMessage, setResendMessage] = React.useState(\"\");\n const email = getSafe(() => previousViewModel.email);\n\n const submitForm = () => {\n logger.info(\"StepEmailLoopComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.emailLoop,\n viewModel,\n verificationService.verificationResponse,\n );\n };\n\n React.useEffect(() => {\n populateViewModelFromQueryParams(verificationService);\n }, []);\n\n React.useEffect(() => {\n if (viewModel.emailToken) {\n submitForm();\n }\n }, [viewModel.emailToken]);\n\n usePollingInterval(() => {\n verificationService.fetchExistingVerificationRequest(\n programId,\n verificationId,\n previousVerificationResponse,\n previousViewModel,\n false,\n );\n }, EMAIL_LOOP_POLL_DURATION);\n\n const resendEmail = async (verificationId) => {\n const response = await VerificationApiClient.getResendNewEmailCode(verificationId);\n if (response) {\n const message =\n response.status === 204\n ? msg({ id: \"step.emailLoop.successResend\" })\n : msg({ id: \"step.emailLoop.errors.resend\" });\n setResendMessage(message);\n } else {\n setResendMessage(msg({ id: \"step.emailLoop.errors.resend\" }));\n }\n };\n\n const cancelEmailLoop = async () => {\n logger.info(\"StepEmailLoopComponent submitting form after skipping email loop\");\n const nextState = produce(viewModel, () => {});\n verificationService.submitStep(\n VerificationStepsEnum.cancelEmailLoop,\n nextState,\n verificationService.verificationResponse,\n );\n };\n\n return (\n <div className=\"sid-header sid-l-horz-center\">\n <div role=\"main\">\n <div className=\"sid-email-loop-logo-container sid-l-horz-center\">\n <LogoComponent\n verificationService={verificationService}\n fallbackLogo={\n !shouldHideIcon && (\n <img\n className=\"sid-email-loop-logo sid-l-lead-image\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg\"\n />\n )\n }\n />\n </div>\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.title\"\n defaultMessage=\"Check your email\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n\n <div className=\"sid-header__subtitle\">\n {email ? (\n <FormattedHTMLMessage\n id=\"step.emailLoop.subtitleWithEmail\"\n defaultMessage=\"An email has been sent to {email} with a personalized link to complete the verification process.\"\n values={{ email }}\n />\n ) : (\n <FormattedHTMLMessage\n id=\"step.emailLoop.subtitleWithoutEmail\"\n defaultMessage=\"An email has been sent to your email account with a personalized link to complete the verification process.\"\n />\n )}\n </div>\n\n <div className=\"sid-l-space-top-md\" />\n\n <div className=\"sid-header__subtitle-two sid-l-space-top-md\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.subtitle2\"\n defaultMessage=\"Please check for an email from us (verify@sheerid.com) for all the details.\"\n />\n </div>\n\n {canCancelEmailLoop && (\n <div className=\"sid-skip-email sid-l-space-top-lg\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.skipEmail\"\n defaultMessage=\"Unable to retrieve this email? Click \"\n />\n &nbsp;\n <button\n type=\"button\"\n onClick={() => cancelEmailLoop()}\n className=\"sid-incorrect-number__refresh-link sid-h-btn-link-like\"\n >\n <FormattedHTMLMessage id=\"step.emailLoop.skipEmailCTA\" defaultMessage=\"here\" />\n </button>\n &nbsp;\n <FormattedHTMLMessage id=\"step.emailLoop.skipEmail2\" defaultMessage=\" to proceed.\" />\n </div>\n )}\n\n {canResendEmailLoop && (\n <div className=\"sid-header__resend-btn sid-l-space-top-md sid-submit sid-l-horz-center\">\n <button\n id=\"sid-resend-email\"\n onClick={() => resendEmail(verificationId)}\n type=\"submit\"\n className=\"sid-btn sid-btn--light sid-resend-email-btn sid-submit__cancel\"\n aria-label=\"re-send\"\n >\n <FormattedHTMLMessage id=\"step.emailLoop.resendButton\" defaultMessage=\"Re-send\" />\n </button>\n </div>\n )}\n\n {resendMessage && (\n <div className=\"sid-resent-email-loop-email-message\">\n <p>{resendMessage}</p>\n </div>\n )}\n\n <div className=\"sid-l-space-top-xl\" />\n </div>\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;A,yFAwBMqB,IAA2B;AAEjC,SAAwBH,EAA0B,EAChD,0BAC8B;CAC9B,IAAM,EAAE,WAAQT,EAAW,GACrBa,IAAuBC,EAAoB,sBAC3C,EAAE,iBAAcA,GAChB,EAAE,sBAAmBD,GACrB,EAAE,0BAAuBA,GACzBE,IAAqBF,EAAqB,WAC1CG,IAAYF,EAAoB,WAChCG,IACHH,EAAoB,qBAAsD,KAAA,GACvEI,IACJJ,EAAoB,gCAAgC,KAAA,GAChDK,IAAiBjB,EAAQ,8BAA8B,GAEvD,CAACkB,GAAeC,KAAAX,EAA0B,SAAS,EAAE,GACrDY,IAAQ5B,QAAcuB,EAAkB,KAAK,GAE7CM,UAAmB;EAEvB,AADAzB,EAAO,KAAK,wCAAwC,GACpDgB,EAAoB,WAClBf,EAAsB,WACtBiB,GACAF,EAAoB,oBACtB;CACF;CAYA,AAVAJ,EAAM,gBAAgB;EACpB,EAAiCI,CAAmB;CACtD,GAAG,CAAC,CAAC,GAELJ,EAAM,gBAAgB;EACpB,AAAIM,EAAU,cACZO,EAAW;CAEf,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KAAD,EAAA,UAAIS,EAAiB,CAAA;IAClB,CAAA;IAGP,iBAAA,GAAAT,EAAA,IAAA,CAAC,OAAD,EAAK,WAAU,qBAAsB,CAAA;GAClC;;CACF,CAAA;AAET"}
1
+ {"version":3,"file":"EmailLoopPending-J4hfAITM.js","names":["produce","__exportAll","__toESM","getSafe","fn","require_react","require_jsx_runtime","logger","VerificationStepsEnum","useMessage","VerificationApiClient","useFlag","FormattedHTMLMessage","LogoComponent","AnnouncingHeader","usePollingInterval","populateViewModelFromQueryParams","EmailLoopPending_exports","EmailLoopPendingComponent","import_react","import_jsx_runtime","EMAIL_LOOP_POLL_DURATION","verificationResponse","verificationService","canCancelEmailLoop","viewModel","previousViewModel","previousVerificationResponse","shouldHideIcon","resendMessage","setResendMessage","email","submitForm","programId","verificationId","resendEmail","response","message","msg","cancelEmailLoop","nextState","canResendEmailLoop"],"sources":["../../src/components/StepEmailLoop/EmailLoopPending.tsx"],"sourcesContent":["import React from \"react\";\nimport produce from \"immer\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\n\nimport { useMessage } from \"@/components/Message\";\n\nimport {\n type StudentPersonalInfoViewModel,\n type EmailLoopViewModel,\n type EmailLoopResponse,\n} from \"../../lib/types/types\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { populateViewModelFromQueryParams } from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { usePollingInterval } from \"../../lib/utils/usePollingInterval/usePollingInterval\";\nimport { VerificationApiClient } from \"../../lib/ServerApi/VerificationApiClient\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\nimport { useFlag } from \"../FeatureFlags/hooks\";\n\nimport { type StepEmailLoopComponentProps } from \"./StepEmailLoopComponent\";\n\nconst EMAIL_LOOP_POLL_DURATION = 10000;\n\nexport default function EmailLoopPendingComponent({\n verificationService,\n}: StepEmailLoopComponentProps) {\n const { msg } = useMessage();\n const verificationResponse = verificationService.verificationResponse as EmailLoopResponse;\n const { programId } = verificationService;\n const { verificationId } = verificationResponse;\n const { canResendEmailLoop } = verificationResponse;\n const canCancelEmailLoop = verificationResponse.cancelUrl;\n const viewModel = verificationService.viewModel as EmailLoopViewModel;\n const previousViewModel =\n (verificationService.previousViewModel as StudentPersonalInfoViewModel) || undefined;\n const previousVerificationResponse =\n verificationService.previousVerificationResponse || undefined;\n const shouldHideIcon = useFlag(\"hc-my-sheer-id-theme-builder\");\n\n const [resendMessage, setResendMessage] = React.useState(\"\");\n const email = getSafe(() => previousViewModel.email);\n\n const submitForm = () => {\n logger.info(\"StepEmailLoopComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.emailLoop,\n viewModel,\n verificationService.verificationResponse,\n );\n };\n\n React.useEffect(() => {\n populateViewModelFromQueryParams(verificationService);\n }, []);\n\n React.useEffect(() => {\n if (viewModel.emailToken) {\n submitForm();\n }\n }, [viewModel.emailToken]);\n\n usePollingInterval(() => {\n verificationService.fetchExistingVerificationRequest(\n programId,\n verificationId,\n previousVerificationResponse,\n previousViewModel,\n false,\n );\n }, EMAIL_LOOP_POLL_DURATION);\n\n const resendEmail = async (verificationId) => {\n const response = await VerificationApiClient.getResendNewEmailCode(verificationId);\n if (response) {\n const message =\n response.status === 204\n ? msg({ id: \"step.emailLoop.successResend\" })\n : msg({ id: \"step.emailLoop.errors.resend\" });\n setResendMessage(message);\n } else {\n setResendMessage(msg({ id: \"step.emailLoop.errors.resend\" }));\n }\n };\n\n const cancelEmailLoop = async () => {\n logger.info(\"StepEmailLoopComponent submitting form after skipping email loop\");\n const nextState = produce(viewModel, () => {});\n verificationService.submitStep(\n VerificationStepsEnum.cancelEmailLoop,\n nextState,\n verificationService.verificationResponse,\n );\n };\n\n return (\n <div className=\"sid-header sid-l-horz-center\">\n <div role=\"main\">\n <div className=\"sid-email-loop-logo-container sid-l-horz-center\">\n <LogoComponent\n verificationService={verificationService}\n fallbackLogo={\n !shouldHideIcon && (\n <img\n className=\"sid-email-loop-logo sid-l-lead-image\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg\"\n />\n )\n }\n />\n </div>\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.title\"\n defaultMessage=\"Check your email\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n\n <div className=\"sid-header__subtitle\">\n {email ? (\n <FormattedHTMLMessage\n id=\"step.emailLoop.subtitleWithEmail\"\n defaultMessage=\"An email has been sent to {email} with a personalized link to complete the verification process.\"\n values={{ email }}\n />\n ) : (\n <FormattedHTMLMessage\n id=\"step.emailLoop.subtitleWithoutEmail\"\n defaultMessage=\"An email has been sent to your email account with a personalized link to complete the verification process.\"\n />\n )}\n </div>\n\n <div className=\"sid-l-space-top-md\" />\n\n <div className=\"sid-header__subtitle-two sid-l-space-top-md\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.subtitle2\"\n defaultMessage=\"Please check for an email from us (verify@sheerid.com) for all the details.\"\n />\n </div>\n\n {canCancelEmailLoop && (\n <div className=\"sid-skip-email sid-l-space-top-lg\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.skipEmail\"\n defaultMessage=\"Unable to retrieve this email? Click \"\n />\n &nbsp;\n <button\n type=\"button\"\n onClick={() => cancelEmailLoop()}\n className=\"sid-incorrect-number__refresh-link sid-h-btn-link-like\"\n >\n <FormattedHTMLMessage id=\"step.emailLoop.skipEmailCTA\" defaultMessage=\"here\" />\n </button>\n &nbsp;\n <FormattedHTMLMessage id=\"step.emailLoop.skipEmail2\" defaultMessage=\" to proceed.\" />\n </div>\n )}\n\n {canResendEmailLoop && (\n <div className=\"sid-header__resend-btn sid-l-space-top-md sid-submit sid-l-horz-center\">\n <button\n id=\"sid-resend-email\"\n onClick={() => resendEmail(verificationId)}\n type=\"submit\"\n className=\"sid-btn sid-btn--light sid-resend-email-btn sid-submit__cancel\"\n aria-label=\"re-send\"\n >\n <FormattedHTMLMessage id=\"step.emailLoop.resendButton\" defaultMessage=\"Re-send\" />\n </button>\n </div>\n )}\n\n {resendMessage && (\n <div className=\"sid-resent-email-loop-email-message\">\n <p>{resendMessage}</p>\n </div>\n )}\n\n <div className=\"sid-l-space-top-xl\" />\n </div>\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;A,yFAwBMqB,IAA2B;AAEjC,SAAwBH,EAA0B,EAChD,0BAC8B;CAC9B,IAAM,EAAE,WAAQT,EAAW,GACrBa,IAAuBC,EAAoB,sBAC3C,EAAE,iBAAcA,GAChB,EAAE,sBAAmBD,GACrB,EAAE,0BAAuBA,GACzBE,IAAqBF,EAAqB,WAC1CG,IAAYF,EAAoB,WAChCG,IACHH,EAAoB,qBAAsD,KAAA,GACvEI,IACJJ,EAAoB,gCAAgC,KAAA,GAChDK,IAAiBjB,EAAQ,8BAA8B,GAEvD,CAACkB,GAAeC,KAAAX,EAA0B,SAAS,EAAE,GACrDY,IAAQ5B,QAAcuB,EAAkB,KAAK,GAE7CM,UAAmB;EAEvB,AADAzB,EAAO,KAAK,wCAAwC,GACpDgB,EAAoB,WAClBf,EAAsB,WACtBiB,GACAF,EAAoB,oBACtB;CACF;CAYA,AAVAJ,EAAM,gBAAgB;EACpB,EAAiCI,CAAmB;CACtD,GAAG,CAAC,CAAC,GAELJ,EAAM,gBAAgB;EACpB,AAAIM,EAAU,cACZO,EAAW;CAEf,GAAG,CAACP,EAAU,UAAU,CAAC,GAEzBV,QAAyB;EACvB,EAAoB,iCAClBkB,GACAC,GACAP,GACAD,GACA,EACF;CACF,GAAGL,CAAwB;CAE3B,IAAMc,IAAc,OAAO,MAAmB;EAC5C,IAAMC,IAAW,MAAM1B,EAAsB,sBAAsBwB,CAAc;EACjF,IAAIE,GAAU;GACZ,IAAMC,IACJD,EAAS,WAAW,MAChBE,EAAI,EAAE,IAAI,+BAA+B,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Universal Time)
6
- * BUILD_COMMIT: 2e868a8ba33bfeb6de927ff96be1d3b40d95110c
3
+ * VERSION: 3.0.0-preview.1631
4
+ * BUILD_TIMESTAMP: 1794010228082
5
+ * BUILD_DATE: Sat Nov 07 2026 00:10:28 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 2b9f8d966b94181bfbf9f65b435462676eac0e67
7
7
  */
8
- import { d as e } from "./empties-CJE5It5a.js";
9
- import { t } from "./jsx-runtime-B5jXYl8q.js";
10
- import { t as n } from "./Message-BJpuZuCw.js";
8
+ import { d as e } from "./empties-DIWFhdB0.js";
9
+ import { t } from "./jsx-runtime-DDrPHZwN.js";
10
+ import { t as n } from "./Message-CwmUrRnS.js";
11
11
  //#region src/components/ExtraMessage.tsx
12
12
  var r = t(), i = ({ suffix: t }) => {
13
13
  let i = `extraMessage${t}`;
@@ -1 +1 @@
1
- {"version":3,"file":"ExtraMessage-At4-m1_R.js","names":["i18next","i18next_default","Message","import_jsx_runtime","require_jsx_runtime","ExtraMessage","messageId","suffix"],"sources":["../../src/components/ExtraMessage.tsx"],"sourcesContent":["import Message from \"@components/Message\";\n\nimport i18next from \"@/lib/intl/i18next\";\nimport { type VerificationService } from \"@/lib/types/types\";\n\ninterface ExtraMessageProps {\n verificationService?: VerificationService;\n suffix: \"CollectAboveSubmit\"; // In the future, expand this type for other official extra messages. e.g. add \"| 'CollectBelowSubmit'\"\n}\n/**\n * Defines the expected literal union type for message IDs generated from ExtraMessageProps.suffix.\n * TODO: Refactor theme specific messages into an interface for easier Declaration Merging of keys\n * but for now this is exported in the @/lib/intl/type space for redist.\n */\nexport type ExtraMessageId = `extraMessage${ExtraMessageProps[\"suffix\"]}`;\n/**\n * Extra message component\n *\n * Easily register extra messages to specific spots in the form using this component\n *\n * These new regions do NOT have a message by default, but messages can be added simply by specifying the messageId + value\n * either in my.sheerid.com or via setOptions(). No need to override a component just to add a message as long as the ExtraMessage\n * appears in a desirable spot.\n */\nexport const ExtraMessage = ({ suffix }: ExtraMessageProps) => {\n const messageId: ExtraMessageId = `extraMessage${suffix}`;\n // if there is no i18next message for and id of `messageId` return null;\n if (!i18next.exists(messageId)) {\n return null;\n }\n\n return (\n <div className={`sid-extra-message sid-extra-message-${suffix}`}>\n <div className=\"sid-l-space-top-md\" />\n <Message id={messageId} />\n </div>\n );\n};\n"],"mappings":";;;;A,aAwBaK,KAAgB,EAAE,gBAAgC;CAC7D,IAAMC,IAA4B,eAAeC;CAMjD,OAJKP,EAAQ,OAAOM,CAAS,IAK3B,iBAAA,GAAAH,EAAA,KAAA,CAAC,OAAD;EAAK,WAAW,uCAAuCI;EAAvD,UAAA,CACE,iBAAA,GAAAJ,EAAA,IAAA,CAAC,OAAD,EAAK,WAAU,qBAAsB,CAAA,GACrC,iBAAA,GAAAA,EAAA,IAAA,CAACD,GAAD,EAAS,IAAII,EAAY,CAAA,CACtB;C,KAPE;AASX"}
1
+ {"version":3,"file":"ExtraMessage-BOUiL1v2.js","names":["i18next","i18next_default","Message","import_jsx_runtime","require_jsx_runtime","ExtraMessage","messageId","suffix"],"sources":["../../src/components/ExtraMessage.tsx"],"sourcesContent":["import Message from \"@components/Message\";\n\nimport i18next from \"@/lib/intl/i18next\";\nimport { type VerificationService } from \"@/lib/types/types\";\n\ninterface ExtraMessageProps {\n verificationService?: VerificationService;\n suffix: \"CollectAboveSubmit\"; // In the future, expand this type for other official extra messages. e.g. add \"| 'CollectBelowSubmit'\"\n}\n/**\n * Defines the expected literal union type for message IDs generated from ExtraMessageProps.suffix.\n * TODO: Refactor theme specific messages into an interface for easier Declaration Merging of keys\n * but for now this is exported in the @/lib/intl/type space for redist.\n */\nexport type ExtraMessageId = `extraMessage${ExtraMessageProps[\"suffix\"]}`;\n/**\n * Extra message component\n *\n * Easily register extra messages to specific spots in the form using this component\n *\n * These new regions do NOT have a message by default, but messages can be added simply by specifying the messageId + value\n * either in my.sheerid.com or via setOptions(). No need to override a component just to add a message as long as the ExtraMessage\n * appears in a desirable spot.\n */\nexport const ExtraMessage = ({ suffix }: ExtraMessageProps) => {\n const messageId: ExtraMessageId = `extraMessage${suffix}`;\n // if there is no i18next message for and id of `messageId` return null;\n if (!i18next.exists(messageId)) {\n return null;\n }\n\n return (\n <div className={`sid-extra-message sid-extra-message-${suffix}`}>\n <div className=\"sid-l-space-top-md\" />\n <Message id={messageId} />\n </div>\n );\n};\n"],"mappings":";;;;A,aAwBaK,KAAgB,EAAE,gBAAgC;CAC7D,IAAMC,IAA4B,eAAeC;CAMjD,OAJKP,EAAQ,OAAOM,CAAS,IAK3B,iBAAA,GAAAH,EAAA,KAAA,CAAC,OAAD;EAAK,WAAW,uCAAuCI;EAAvD,UAAA,CACE,iBAAA,GAAAJ,EAAA,IAAA,CAAC,OAAD,EAAK,WAAU,qBAAsB,CAAA,GACrC,iBAAA,GAAAA,EAAA,IAAA,CAACD,GAAD,EAAS,IAAII,EAAY,CAAA,CACtB;C,KAPE;AASX"}
@@ -4,14 +4,14 @@
4
4
  * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
5
  */
6
6
  /**
7
- * VERSION: 3.0.0-preview.1621
8
- * BUILD_TIMESTAMP: 1794001748969
9
- * BUILD_DATE: Fri Nov 06 2026 21:49:08 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: 2e868a8ba33bfeb6de927ff96be1d3b40d95110c
7
+ * VERSION: 3.0.0-preview.1631
8
+ * BUILD_TIMESTAMP: 1794010235605
9
+ * BUILD_DATE: Sat Nov 07 2026 00:10:35 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 2b9f8d966b94181bfbf9f65b435462676eac0e67
11
11
  */
12
- import { I as e } from "./empties-D2KXGsVY.js";
13
- import { t } from "./jsx-runtime-BnRn7GM8.js";
14
- import { t as n } from "./Message-CCPUNbvb.js";
12
+ import { I as e } from "./empties-BnfYnQnj.js";
13
+ import { t } from "./jsx-runtime-NC2eM5ec.js";
14
+ import { t as n } from "./Message-5IZ4lXNe.js";
15
15
  //#region src/components/ExtraMessage.tsx
16
16
  var r = t(), i = ({ suffix: t }) => {
17
17
  let i = `extraMessage${t}`;
@@ -1 +1 @@
1
- {"version":3,"file":"ExtraMessage-WH33nlul.js","names":["i18next","i18next_default","Message","import_jsx_runtime","require_jsx_runtime","ExtraMessage","messageId","suffix"],"sources":["../../src/components/ExtraMessage.tsx"],"sourcesContent":["import Message from \"@components/Message\";\n\nimport i18next from \"@/lib/intl/i18next\";\nimport { type VerificationService } from \"@/lib/types/types\";\n\ninterface ExtraMessageProps {\n verificationService?: VerificationService;\n suffix: \"CollectAboveSubmit\"; // In the future, expand this type for other official extra messages. e.g. add \"| 'CollectBelowSubmit'\"\n}\n/**\n * Defines the expected literal union type for message IDs generated from ExtraMessageProps.suffix.\n * TODO: Refactor theme specific messages into an interface for easier Declaration Merging of keys\n * but for now this is exported in the @/lib/intl/type space for redist.\n */\nexport type ExtraMessageId = `extraMessage${ExtraMessageProps[\"suffix\"]}`;\n/**\n * Extra message component\n *\n * Easily register extra messages to specific spots in the form using this component\n *\n * These new regions do NOT have a message by default, but messages can be added simply by specifying the messageId + value\n * either in my.sheerid.com or via setOptions(). No need to override a component just to add a message as long as the ExtraMessage\n * appears in a desirable spot.\n */\nexport const ExtraMessage = ({ suffix }: ExtraMessageProps) => {\n const messageId: ExtraMessageId = `extraMessage${suffix}`;\n // if there is no i18next message for and id of `messageId` return null;\n if (!i18next.exists(messageId)) {\n return null;\n }\n\n return (\n <div className={`sid-extra-message sid-extra-message-${suffix}`}>\n <div className=\"sid-l-space-top-md\" />\n <Message id={messageId} />\n </div>\n );\n};\n"],"mappings":";;;;A,aAwBaK,KAAgB,EAAE,gBAAgC;CAC7D,IAAMC,IAA4B,eAAeC;CAMjD,OAJKP,EAAQ,OAAOM,CAAS,IAK3B,iBAAA,GAAAH,EAAA,KAAA,CAAC,OAAD;EAAK,WAAW,uCAAuCI;EAAvD,UAAA,CACE,iBAAA,GAAAJ,EAAA,IAAA,CAAC,OAAD,EAAK,WAAU,qBAAsB,CAAA,GACrC,iBAAA,GAAAA,EAAA,IAAA,CAACD,GAAD,EAAS,IAAII,EAAY,CAAA,CACtB;C,KAPE;AASX"}
1
+ {"version":3,"file":"ExtraMessage-C3rLE7pH.js","names":["i18next","i18next_default","Message","import_jsx_runtime","require_jsx_runtime","ExtraMessage","messageId","suffix"],"sources":["../../src/components/ExtraMessage.tsx"],"sourcesContent":["import Message from \"@components/Message\";\n\nimport i18next from \"@/lib/intl/i18next\";\nimport { type VerificationService } from \"@/lib/types/types\";\n\ninterface ExtraMessageProps {\n verificationService?: VerificationService;\n suffix: \"CollectAboveSubmit\"; // In the future, expand this type for other official extra messages. e.g. add \"| 'CollectBelowSubmit'\"\n}\n/**\n * Defines the expected literal union type for message IDs generated from ExtraMessageProps.suffix.\n * TODO: Refactor theme specific messages into an interface for easier Declaration Merging of keys\n * but for now this is exported in the @/lib/intl/type space for redist.\n */\nexport type ExtraMessageId = `extraMessage${ExtraMessageProps[\"suffix\"]}`;\n/**\n * Extra message component\n *\n * Easily register extra messages to specific spots in the form using this component\n *\n * These new regions do NOT have a message by default, but messages can be added simply by specifying the messageId + value\n * either in my.sheerid.com or via setOptions(). No need to override a component just to add a message as long as the ExtraMessage\n * appears in a desirable spot.\n */\nexport const ExtraMessage = ({ suffix }: ExtraMessageProps) => {\n const messageId: ExtraMessageId = `extraMessage${suffix}`;\n // if there is no i18next message for and id of `messageId` return null;\n if (!i18next.exists(messageId)) {\n return null;\n }\n\n return (\n <div className={`sid-extra-message sid-extra-message-${suffix}`}>\n <div className=\"sid-l-space-top-md\" />\n <Message id={messageId} />\n </div>\n );\n};\n"],"mappings":";;;;A,aAwBaK,KAAgB,EAAE,gBAAgC;CAC7D,IAAMC,IAA4B,eAAeC;CAMjD,OAJKP,EAAQ,OAAOM,CAAS,IAK3B,iBAAA,GAAAH,EAAA,KAAA,CAAC,OAAD;EAAK,WAAW,uCAAuCI;EAAvD,UAAA,CACE,iBAAA,GAAAJ,EAAA,IAAA,CAAC,OAAD,EAAK,WAAU,qBAAsB,CAAA,GACrC,iBAAA,GAAAA,EAAA,IAAA,CAACD,GAAD,EAAS,IAAII,EAAY,CAAA,CACtB;C,KAPE;AASX"}
@@ -1,17 +1,17 @@
1
1
 
2
2
  /**
3
- * VERSION: 3.0.0-preview.1621
4
- * BUILD_TIMESTAMP: 1794001736568
5
- * BUILD_DATE: Fri Nov 06 2026 21:48:56 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 2e868a8ba33bfeb6de927ff96be1d3b40d95110c
3
+ * VERSION: 3.0.0-preview.1631
4
+ * BUILD_TIMESTAMP: 1794010228082
5
+ * BUILD_DATE: Sat Nov 07 2026 00:10:28 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 2b9f8d966b94181bfbf9f65b435462676eac0e67
7
7
  */
8
- import { t as e } from "./jsx-runtime-B5jXYl8q.js";
9
- import { o as t } from "./programThemeGetters-CLeOiedB.js";
10
- import { n } from "./Message-BJpuZuCw.js";
11
- import { E as r } from "./useFooterShieldSrc-CWTHh0Mk.js";
12
- import { t as i } from "./index.es-0Ly0eUxm.js";
13
- import { t as a } from "./stepComponentHelpers-IolnFznH.js";
14
- import { t as o } from "./FormFieldTypeahead-BbMRLwcq.js";
8
+ import { t as e } from "./jsx-runtime-DDrPHZwN.js";
9
+ import { o as t } from "./programThemeGetters-BAbsTY-b.js";
10
+ import { n } from "./Message-CwmUrRnS.js";
11
+ import { E as r } from "./useFooterShieldSrc-CkHUFWrg.js";
12
+ import { t as i } from "./index.es-FjuPwOz0.js";
13
+ import { t as a } from "./stepComponentHelpers-jZe9fteF.js";
14
+ import { t as o } from "./FormFieldTypeahead-dU3p2ibA.js";
15
15
  //#region src/components/FormFields/FirstResponderOrganization/FirstResponderOrganizationComponent.tsx
16
16
  var s = e(), c = ({ value: e, isErrored: c, onChange: l, verificationService: u, placeholder: d = "", disabled: f = !1 }) => {
17
17
  let p = t(), { msg: m } = n();
@@ -1 +1 @@
1
- {"version":3,"file":"FirstResponderOrganizationComponent-B6Kpl__I.js","names":["require_jsx_runtime","useProgramConfiguration","getOrgSearchUrl","FormattedHTMLMessage","getFieldConfigByFieldId","FormFieldTypeahead","import_jsx_runtime","FirstResponderOrganizationComponent","programConfiguration","useMessage","onChange","choice","placeholder","msg","isErrored","verificationService"],"sources":["../../src/components/FormFields/FirstResponderOrganization/FirstResponderOrganizationComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { useMessage } from \"@/components/Message\";\nimport { FormFieldTypeahead } from \"@/components/FormFields/FormFieldTypeahead/FormFieldTypeahead\";\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport {\n type FormFieldComponentProps,\n type VerificationServiceProps,\n type Organization,\n} from \"@/lib/types/types\";\nimport { getOrgSearchUrl } from \"@/lib/ProgramConfiguration/programConfigurationGetters\";\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\n\nexport const FirstResponderOrganizationComponent = ({\n value,\n isErrored,\n onChange,\n verificationService,\n placeholder = \"\",\n disabled = false,\n}: FormFieldComponentProps & VerificationServiceProps) => {\n const programConfiguration = useProgramConfiguration();\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=\"first-responder-organization\"\n value={value}\n verificationService={verificationService}\n onChange={(choice: Organization) => onChange(choice)}\n placeholder={placeholder || msg({ id: \"organizationPlaceholder\" })}\n label={<FormattedHTMLMessage id=\"organization\" defaultMessage=\"Organization\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidOrganization\"\n defaultMessage=\"You must select an organization from the list\"\n />\n )\n }\n orgSearchUrl={getOrgSearchUrl(verificationService.viewModel, programConfiguration)}\n showPlaceholderAndHideLabel={!!placeholder}\n isRequired\n disabled={disabled}\n />\n );\n};\n"],"mappings":";;;;;;;;A,aAaaO,KAAuC,EAClD,UACA,cACA,aACA,wBACA,iBAAc,IACd,cAAW,SAC6C;CACxD,IAAMC,IAAuBP,EAAwB,GAC/C,EAAE,WAAQQ,EAAW;CAO3B,OANsBL,EAAwB,cAAc,CAAC,EAAE,SAGtD,OAIP,iBAAA,GAAAE,EAAA,IAAA,CAACD,GAAD;EACE,SAAQ;EACD;EACc;EACrB,WAAW,MAAyBK,EAASC,CAAM;EACnD,aAAaC,KAAeC,EAAI,EAAE,IAAI,0BAA0B,CAAC;EACjE,OAAO,iBAAA,GAAAP,EAAA,IAAA,CAACH,GAAD;GAAsB,IAAG;GAAe,gBAAe;EAAgB,CAAA;EAC9E,cACEW,KACE,iBAAA,GAAAR,EAAA,IAAA,CAACH,GAAD;GACE,IAAG;GACH,gBAAe;EAChB,CAAA;EAGL,cAAcD,EAAgBa,EAAoB,WAAWP,CAAoB;EACjF,6BAA6B,CAAC,CAACI;EAC/B,YAAA;EACU;CACX,CAAA;AAEL"}
1
+ {"version":3,"file":"FirstResponderOrganizationComponent-DylJJPYa.js","names":["require_jsx_runtime","useProgramConfiguration","getOrgSearchUrl","FormattedHTMLMessage","getFieldConfigByFieldId","FormFieldTypeahead","import_jsx_runtime","FirstResponderOrganizationComponent","programConfiguration","useMessage","onChange","choice","placeholder","msg","isErrored","verificationService"],"sources":["../../src/components/FormFields/FirstResponderOrganization/FirstResponderOrganizationComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { useMessage } from \"@/components/Message\";\nimport { FormFieldTypeahead } from \"@/components/FormFields/FormFieldTypeahead/FormFieldTypeahead\";\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport {\n type FormFieldComponentProps,\n type VerificationServiceProps,\n type Organization,\n} from \"@/lib/types/types\";\nimport { getOrgSearchUrl } from \"@/lib/ProgramConfiguration/programConfigurationGetters\";\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\n\nexport const FirstResponderOrganizationComponent = ({\n value,\n isErrored,\n onChange,\n verificationService,\n placeholder = \"\",\n disabled = false,\n}: FormFieldComponentProps & VerificationServiceProps) => {\n const programConfiguration = useProgramConfiguration();\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=\"first-responder-organization\"\n value={value}\n verificationService={verificationService}\n onChange={(choice: Organization) => onChange(choice)}\n placeholder={placeholder || msg({ id: \"organizationPlaceholder\" })}\n label={<FormattedHTMLMessage id=\"organization\" defaultMessage=\"Organization\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidOrganization\"\n defaultMessage=\"You must select an organization from the list\"\n />\n )\n }\n orgSearchUrl={getOrgSearchUrl(verificationService.viewModel, programConfiguration)}\n showPlaceholderAndHideLabel={!!placeholder}\n isRequired\n disabled={disabled}\n />\n );\n};\n"],"mappings":";;;;;;;;A,aAaaO,KAAuC,EAClD,UACA,cACA,aACA,wBACA,iBAAc,IACd,cAAW,SAC6C;CACxD,IAAMC,IAAuBP,EAAwB,GAC/C,EAAE,WAAQQ,EAAW;CAO3B,OANsBL,EAAwB,cAAc,CAAC,EAAE,SAGtD,OAIP,iBAAA,GAAAE,EAAA,IAAA,CAACD,GAAD;EACE,SAAQ;EACD;EACc;EACrB,WAAW,MAAyBK,EAASC,CAAM;EACnD,aAAaC,KAAeC,EAAI,EAAE,IAAI,0BAA0B,CAAC;EACjE,OAAO,iBAAA,GAAAP,EAAA,IAAA,CAACH,GAAD;GAAsB,IAAG;GAAe,gBAAe;EAAgB,CAAA;EAC9E,cACEW,KACE,iBAAA,GAAAR,EAAA,IAAA,CAACH,GAAD;GACE,IAAG;GACH,gBAAe;EAChB,CAAA;EAGL,cAAcD,EAAgBa,EAAoB,WAAWP,CAAoB;EACjF,6BAA6B,CAAC,CAACI;EAC/B,YAAA;EACU;CACX,CAAA;AAEL"}
@@ -4,18 +4,18 @@
4
4
  * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
5
  */
6
6
  /**
7
- * VERSION: 3.0.0-preview.1621
8
- * BUILD_TIMESTAMP: 1794001748969
9
- * BUILD_DATE: Fri Nov 06 2026 21:49:08 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: 2e868a8ba33bfeb6de927ff96be1d3b40d95110c
7
+ * VERSION: 3.0.0-preview.1631
8
+ * BUILD_TIMESTAMP: 1794010235605
9
+ * BUILD_DATE: Sat Nov 07 2026 00:10:35 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 2b9f8d966b94181bfbf9f65b435462676eac0e67
11
11
  */
12
- import { t as e } from "./jsx-runtime-BnRn7GM8.js";
13
- import { n as t } from "./Message-CCPUNbvb.js";
14
- import { o as n } from "./programThemeGetters-TRIvr7Go.js";
15
- import { C as r } from "./useFooterShieldSrc-CmKqak9A.js";
16
- import { t as i } from "./index.es-C_UCMoRU.js";
17
- import { t as a } from "./stepComponentHelpers-CzsNPyXM.js";
18
- import { t as o } from "./FormFieldTypeahead-BWO62nSf.js";
12
+ import { t as e } from "./jsx-runtime-NC2eM5ec.js";
13
+ import { n as t } from "./Message-5IZ4lXNe.js";
14
+ import { o as n } from "./programThemeGetters-k8rZASZ-.js";
15
+ import { C as r } from "./useFooterShieldSrc-D5cu9blw.js";
16
+ import { t as i } from "./index.es-DpZtkqxf.js";
17
+ import { t as a } from "./stepComponentHelpers-Db0mTMF5.js";
18
+ import { t as o } from "./FormFieldTypeahead-CNv8fg2k.js";
19
19
  //#region src/components/FormFields/FirstResponderOrganization/FirstResponderOrganizationComponent.tsx
20
20
  var s = e(), c = ({ value: e, isErrored: c, onChange: l, verificationService: u, placeholder: d = "", disabled: f = !1 }) => {
21
21
  let p = n(), { msg: m } = t();
@@ -1 +1 @@
1
- {"version":3,"file":"FirstResponderOrganizationComponent-HZN2oyQe.js","names":["require_jsx_runtime","useMessage","useProgramConfiguration","getOrgSearchUrl","FormattedHTMLMessage","getFieldConfigByFieldId","FormFieldTypeahead","import_jsx_runtime","FirstResponderOrganizationComponent","programConfiguration","onChange","choice","placeholder","msg","isErrored","verificationService"],"sources":["../../src/components/FormFields/FirstResponderOrganization/FirstResponderOrganizationComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { useMessage } from \"@/components/Message\";\nimport { FormFieldTypeahead } from \"@/components/FormFields/FormFieldTypeahead/FormFieldTypeahead\";\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport {\n type FormFieldComponentProps,\n type VerificationServiceProps,\n type Organization,\n} from \"@/lib/types/types\";\nimport { getOrgSearchUrl } from \"@/lib/ProgramConfiguration/programConfigurationGetters\";\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\n\nexport const FirstResponderOrganizationComponent = ({\n value,\n isErrored,\n onChange,\n verificationService,\n placeholder = \"\",\n disabled = false,\n}: FormFieldComponentProps & VerificationServiceProps) => {\n const programConfiguration = useProgramConfiguration();\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=\"first-responder-organization\"\n value={value}\n verificationService={verificationService}\n onChange={(choice: Organization) => onChange(choice)}\n placeholder={placeholder || msg({ id: \"organizationPlaceholder\" })}\n label={<FormattedHTMLMessage id=\"organization\" defaultMessage=\"Organization\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidOrganization\"\n defaultMessage=\"You must select an organization from the list\"\n />\n )\n }\n orgSearchUrl={getOrgSearchUrl(verificationService.viewModel, programConfiguration)}\n showPlaceholderAndHideLabel={!!placeholder}\n isRequired\n disabled={disabled}\n />\n );\n};\n"],"mappings":";;;;;;;;A,aAaaQ,KAAuC,EAClD,UACA,cACA,aACA,wBACA,iBAAc,IACd,cAAW,SAC6C;CACxD,IAAMC,IAAuBP,EAAwB,GAC/C,EAAE,WAAQD,EAAW;CAO3B,OANsBI,EAAwB,cAAc,CAAC,EAAE,SAGtD,OAIP,iBAAA,GAAAE,EAAA,IAAA,CAACD,GAAD;EACE,SAAQ;EACD;EACc;EACrB,WAAW,MAAyBI,EAASC,CAAM;EACnD,aAAaC,KAAeC,EAAI,EAAE,IAAI,0BAA0B,CAAC;EACjE,OAAO,iBAAA,GAAAN,EAAA,IAAA,CAACH,GAAD;GAAsB,IAAG;GAAe,gBAAe;EAAgB,CAAA;EAC9E,cACEU,KACE,iBAAA,GAAAP,EAAA,IAAA,CAACH,GAAD;GACE,IAAG;GACH,gBAAe;EAChB,CAAA;EAGL,cAAcD,EAAgBY,EAAoB,WAAWN,CAAoB;EACjF,6BAA6B,CAAC,CAACG;EAC/B,YAAA;EACU;CACX,CAAA;AAEL"}
1
+ {"version":3,"file":"FirstResponderOrganizationComponent-_6_6s-DZ.js","names":["require_jsx_runtime","useMessage","useProgramConfiguration","getOrgSearchUrl","FormattedHTMLMessage","getFieldConfigByFieldId","FormFieldTypeahead","import_jsx_runtime","FirstResponderOrganizationComponent","programConfiguration","onChange","choice","placeholder","msg","isErrored","verificationService"],"sources":["../../src/components/FormFields/FirstResponderOrganization/FirstResponderOrganizationComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { useMessage } from \"@/components/Message\";\nimport { FormFieldTypeahead } from \"@/components/FormFields/FormFieldTypeahead/FormFieldTypeahead\";\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport {\n type FormFieldComponentProps,\n type VerificationServiceProps,\n type Organization,\n} from \"@/lib/types/types\";\nimport { getOrgSearchUrl } from \"@/lib/ProgramConfiguration/programConfigurationGetters\";\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\n\nexport const FirstResponderOrganizationComponent = ({\n value,\n isErrored,\n onChange,\n verificationService,\n placeholder = \"\",\n disabled = false,\n}: FormFieldComponentProps & VerificationServiceProps) => {\n const programConfiguration = useProgramConfiguration();\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=\"first-responder-organization\"\n value={value}\n verificationService={verificationService}\n onChange={(choice: Organization) => onChange(choice)}\n placeholder={placeholder || msg({ id: \"organizationPlaceholder\" })}\n label={<FormattedHTMLMessage id=\"organization\" defaultMessage=\"Organization\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidOrganization\"\n defaultMessage=\"You must select an organization from the list\"\n />\n )\n }\n orgSearchUrl={getOrgSearchUrl(verificationService.viewModel, programConfiguration)}\n showPlaceholderAndHideLabel={!!placeholder}\n isRequired\n disabled={disabled}\n />\n );\n};\n"],"mappings":";;;;;;;;A,aAaaQ,KAAuC,EAClD,UACA,cACA,aACA,wBACA,iBAAc,IACd,cAAW,SAC6C;CACxD,IAAMC,IAAuBP,EAAwB,GAC/C,EAAE,WAAQD,EAAW;CAO3B,OANsBI,EAAwB,cAAc,CAAC,EAAE,SAGtD,OAIP,iBAAA,GAAAE,EAAA,IAAA,CAACD,GAAD;EACE,SAAQ;EACD;EACc;EACrB,WAAW,MAAyBI,EAASC,CAAM;EACnD,aAAaC,KAAeC,EAAI,EAAE,IAAI,0BAA0B,CAAC;EACjE,OAAO,iBAAA,GAAAN,EAAA,IAAA,CAACH,GAAD;GAAsB,IAAG;GAAe,gBAAe;EAAgB,CAAA;EAC9E,cACEU,KACE,iBAAA,GAAAP,EAAA,IAAA,CAACH,GAAD;GACE,IAAG;GACH,gBAAe;EAChB,CAAA;EAGL,cAAcD,EAAgBY,EAAoB,WAAWN,CAAoB;EACjF,6BAA6B,CAAC,CAACG;EAC/B,YAAA;EACU;CACX,CAAA;AAEL"}
@@ -4,15 +4,15 @@
4
4
  * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
5
  */
6
6
  /**
7
- * VERSION: 3.0.0-preview.1621
8
- * BUILD_TIMESTAMP: 1794001748969
9
- * BUILD_DATE: Fri Nov 06 2026 21:49:08 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: 2e868a8ba33bfeb6de927ff96be1d3b40d95110c
7
+ * VERSION: 3.0.0-preview.1631
8
+ * BUILD_TIMESTAMP: 1794010235605
9
+ * BUILD_DATE: Sat Nov 07 2026 00:10:35 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 2b9f8d966b94181bfbf9f65b435462676eac0e67
11
11
  */
12
- import { t as e } from "./jsx-runtime-BnRn7GM8.js";
12
+ import { t as e } from "./jsx-runtime-NC2eM5ec.js";
13
13
  import { t } from "./strings-DWLVdUcm.js";
14
- import { t as n } from "./FormFieldLayout-B6UWlgPZ.js";
15
- import { t as r } from "./InputSelectComponent-xKOg0Mfy.js";
14
+ import { t as n } from "./FormFieldLayout-lJ_u3Dgo.js";
15
+ import { t as r } from "./InputSelectComponent-DYUtOb7C.js";
16
16
  import { t as i } from "./FormSelectChoice-Da11OJMy.js";
17
17
  //#region src/components/FormFields/FormFieldInputSelect/FormFieldInputSelect.tsx
18
18
  var a = e(), o = ({ fieldId: e = void 0, value: o, onChange: s, placeholder: c, label: l, errorMessage: u, showPlaceholderAndHideLabel: d = !1, isRequired: f = !0, isLoading: p = !1, disabled: m = !1, explanation: h = "", autoFocus: g, options: _, onKeyDown: v, refId: y = "status", suppressPlaceholder: b = !0, autoComplete: x }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"FormFieldInputSelect-BkP4JViC.js","names":["require_jsx_runtime","FormFieldLayout","InputSelectComponent","SortByLabel","import_jsx_runtime","FormFieldInputSelect","labelHtmlId","dashed","fieldId","errorHtmlId","refId","errorMessage","options","option","value"],"sources":["../../src/components/FormFields/FormFieldInputSelect/FormFieldInputSelect.tsx"],"sourcesContent":["import type React from \"react\";\n\nimport { dashed } from \"../../../lib/utils/strings\";\nimport { FormFieldLayout } from \"../FormFieldLayout/FormFieldLayout\";\nimport {\n InputSelectComponent,\n type InputSelectProps,\n} from \"../../FormInputs/InputSelect/InputSelectComponent\";\nimport { SortByLabel } from \"../../../lib/utils/structures/FormSelectChoice\";\n\n// Extend InputSelectProps to pass along things like required, onKeyUp, etc.\n// Omit errorId, isErrored, etc because those are handled within this component\nexport interface FormFieldInputSelectComponentProps extends Omit<\n InputSelectProps,\n \"inputHtmlId\" | \"id\" | \"errorId\" | \"isErrored\"\n> {\n fieldId: string; // should be camelCase\n label: React.ReactNode; // Label is always required for screen readers\n showPlaceholderAndHideLabel?: boolean;\n errorMessage?: React.ReactNode;\n explanation?: string | JSX.Element;\n refId?: string;\n isLoading?: boolean;\n}\n\n/**\n * Generic input select field component.\n * In the JSLIB, a field has a label, inline error message, and an input of some kind.\n */\n\nexport const FormFieldInputSelect = ({\n fieldId = undefined,\n value,\n onChange,\n placeholder,\n label,\n errorMessage,\n showPlaceholderAndHideLabel = false,\n isRequired = true,\n isLoading = false,\n disabled = false,\n explanation = \"\",\n autoFocus,\n options,\n onKeyDown,\n refId = \"status\",\n suppressPlaceholder = true,\n autoComplete,\n}: FormFieldInputSelectComponentProps) => {\n const labelHtmlId = `sid-${dashed(fieldId)}`;\n const errorHtmlId = `sid-${dashed(fieldId)}-error`;\n return (\n <FormFieldLayout\n fieldId={fieldId}\n label={label}\n errorMessage={errorMessage}\n showPlaceholderAndHideLabel={showPlaceholderAndHideLabel}\n isRequired={isRequired}\n explanation={explanation}\n >\n <InputSelectComponent\n autoFocus={autoFocus}\n fieldId={refId}\n inputId={labelHtmlId}\n fieldLabelId={`${labelHtmlId}-label`}\n suppressPlaceholder={suppressPlaceholder}\n isErrored={!!errorMessage}\n options={SortByLabel(options)}\n onChange={onChange}\n value={options.find((option) => option.value === (value && value.value))}\n placeholder={placeholder}\n isRequired={isRequired}\n isLoading={isLoading}\n disabled={disabled}\n ariaDescribedBy={errorMessage ? errorHtmlId : undefined}\n onKeyDown={onKeyDown}\n autoComplete={autoComplete}\n />\n </FormFieldLayout>\n );\n};\n"],"mappings":";;;;;;A,aA8BaK,KAAwB,EACnC,aAAU,KAAA,GACV,UACA,aACA,gBACA,UACA,iBACA,iCAA8B,IAC9B,gBAAa,IACb,eAAY,IACZ,cAAW,IACX,iBAAc,IACd,cACA,YACA,cACA,WAAQ,UACR,yBAAsB,IACtB,sBACwC;CACxC,IAAMC,IAAc,OAAOC,EAAOC,CAAO,KACnCC,IAAc,OAAOF,EAAOC,CAAO,EAAE;CAC3C,OACE,iBAAA,GAAAJ,EAAA,IAAA,CAACH,GAAD;EACW;EACF;EACO;EACe;EACjB;EACC;EAEb,UAAA,iBAAA,GAAAG,EAAA,IAAA,CAACF,GAAD;GACa;GACX,SAASQ;GACT,SAASJ;GACT,cAAc,GAAGA,EAAY;GACR;GACrB,WAAW,CAAC,CAACK;GACb,SAASR,EAAYS,CAAO;GAClB;GACV,OAAOA,EAAQ,MAAM,MAAWC,EAAO,WAAWC,KAASA,EAAM,MAAM;GAC1D;GACD;GACD;GACD;GACV,iBAAiBH,IAAeF,IAAc,KAAA;GACnC;GACG;EACf,CAAA;CACc,CAAA;AAErB"}
1
+ {"version":3,"file":"FormFieldInputSelect-DcLExjg1.js","names":["require_jsx_runtime","FormFieldLayout","InputSelectComponent","SortByLabel","import_jsx_runtime","FormFieldInputSelect","labelHtmlId","dashed","fieldId","errorHtmlId","refId","errorMessage","options","option","value"],"sources":["../../src/components/FormFields/FormFieldInputSelect/FormFieldInputSelect.tsx"],"sourcesContent":["import type React from \"react\";\n\nimport { dashed } from \"../../../lib/utils/strings\";\nimport { FormFieldLayout } from \"../FormFieldLayout/FormFieldLayout\";\nimport {\n InputSelectComponent,\n type InputSelectProps,\n} from \"../../FormInputs/InputSelect/InputSelectComponent\";\nimport { SortByLabel } from \"../../../lib/utils/structures/FormSelectChoice\";\n\n// Extend InputSelectProps to pass along things like required, onKeyUp, etc.\n// Omit errorId, isErrored, etc because those are handled within this component\nexport interface FormFieldInputSelectComponentProps extends Omit<\n InputSelectProps,\n \"inputHtmlId\" | \"id\" | \"errorId\" | \"isErrored\"\n> {\n fieldId: string; // should be camelCase\n label: React.ReactNode; // Label is always required for screen readers\n showPlaceholderAndHideLabel?: boolean;\n errorMessage?: React.ReactNode;\n explanation?: string | JSX.Element;\n refId?: string;\n isLoading?: boolean;\n}\n\n/**\n * Generic input select field component.\n * In the JSLIB, a field has a label, inline error message, and an input of some kind.\n */\n\nexport const FormFieldInputSelect = ({\n fieldId = undefined,\n value,\n onChange,\n placeholder,\n label,\n errorMessage,\n showPlaceholderAndHideLabel = false,\n isRequired = true,\n isLoading = false,\n disabled = false,\n explanation = \"\",\n autoFocus,\n options,\n onKeyDown,\n refId = \"status\",\n suppressPlaceholder = true,\n autoComplete,\n}: FormFieldInputSelectComponentProps) => {\n const labelHtmlId = `sid-${dashed(fieldId)}`;\n const errorHtmlId = `sid-${dashed(fieldId)}-error`;\n return (\n <FormFieldLayout\n fieldId={fieldId}\n label={label}\n errorMessage={errorMessage}\n showPlaceholderAndHideLabel={showPlaceholderAndHideLabel}\n isRequired={isRequired}\n explanation={explanation}\n >\n <InputSelectComponent\n autoFocus={autoFocus}\n fieldId={refId}\n inputId={labelHtmlId}\n fieldLabelId={`${labelHtmlId}-label`}\n suppressPlaceholder={suppressPlaceholder}\n isErrored={!!errorMessage}\n options={SortByLabel(options)}\n onChange={onChange}\n value={options.find((option) => option.value === (value && value.value))}\n placeholder={placeholder}\n isRequired={isRequired}\n isLoading={isLoading}\n disabled={disabled}\n ariaDescribedBy={errorMessage ? errorHtmlId : undefined}\n onKeyDown={onKeyDown}\n autoComplete={autoComplete}\n />\n </FormFieldLayout>\n );\n};\n"],"mappings":";;;;;;A,aA8BaK,KAAwB,EACnC,aAAU,KAAA,GACV,UACA,aACA,gBACA,UACA,iBACA,iCAA8B,IAC9B,gBAAa,IACb,eAAY,IACZ,cAAW,IACX,iBAAc,IACd,cACA,YACA,cACA,WAAQ,UACR,yBAAsB,IACtB,sBACwC;CACxC,IAAMC,IAAc,OAAOC,EAAOC,CAAO,KACnCC,IAAc,OAAOF,EAAOC,CAAO,EAAE;CAC3C,OACE,iBAAA,GAAAJ,EAAA,IAAA,CAACH,GAAD;EACW;EACF;EACO;EACe;EACjB;EACC;EAEb,UAAA,iBAAA,GAAAG,EAAA,IAAA,CAACF,GAAD;GACa;GACX,SAASQ;GACT,SAASJ;GACT,cAAc,GAAGA,EAAY;GACR;GACrB,WAAW,CAAC,CAACK;GACb,SAASR,EAAYS,CAAO;GAClB;GACV,OAAOA,EAAQ,MAAM,MAAWC,EAAO,WAAWC,KAASA,EAAM,MAAM;GAC1D;GACD;GACD;GACD;GACV,iBAAiBH,IAAeF,IAAc,KAAA;GACnC;GACG;EACf,CAAA;CACc,CAAA;AAErB"}
@@ -1,14 +1,14 @@
1
1
 
2
2
  /**
3
- * VERSION: 3.0.0-preview.1621
4
- * BUILD_TIMESTAMP: 1794001736568
5
- * BUILD_DATE: Fri Nov 06 2026 21:48:56 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 2e868a8ba33bfeb6de927ff96be1d3b40d95110c
3
+ * VERSION: 3.0.0-preview.1631
4
+ * BUILD_TIMESTAMP: 1794010228082
5
+ * BUILD_DATE: Sat Nov 07 2026 00:10:28 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 2b9f8d966b94181bfbf9f65b435462676eac0e67
7
7
  */
8
- import { t as e } from "./jsx-runtime-B5jXYl8q.js";
8
+ import { t as e } from "./jsx-runtime-DDrPHZwN.js";
9
9
  import { t } from "./strings-DWLVdUcm.js";
10
- import { t as n } from "./FormFieldLayout-CdAF5eOb.js";
11
- import { t as r } from "./InputSelectComponent-DFomMBKx.js";
10
+ import { t as n } from "./FormFieldLayout-C0SpJlpv.js";
11
+ import { t as r } from "./InputSelectComponent-D54U7YXX.js";
12
12
  import { t as i } from "./FormSelectChoice-Da11OJMy.js";
13
13
  //#region src/components/FormFields/FormFieldInputSelect/FormFieldInputSelect.tsx
14
14
  var a = e(), o = ({ fieldId: e = void 0, value: o, onChange: s, placeholder: c, label: l, errorMessage: u, showPlaceholderAndHideLabel: d = !1, isRequired: f = !0, isLoading: p = !1, disabled: m = !1, explanation: h = "", autoFocus: g, options: _, onKeyDown: v, refId: y = "status", suppressPlaceholder: b = !0, autoComplete: x }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"FormFieldInputSelect-D6KB_lSA.js","names":["require_jsx_runtime","FormFieldLayout","InputSelectComponent","SortByLabel","import_jsx_runtime","FormFieldInputSelect","labelHtmlId","dashed","fieldId","errorHtmlId","refId","errorMessage","options","option","value"],"sources":["../../src/components/FormFields/FormFieldInputSelect/FormFieldInputSelect.tsx"],"sourcesContent":["import type React from \"react\";\n\nimport { dashed } from \"../../../lib/utils/strings\";\nimport { FormFieldLayout } from \"../FormFieldLayout/FormFieldLayout\";\nimport {\n InputSelectComponent,\n type InputSelectProps,\n} from \"../../FormInputs/InputSelect/InputSelectComponent\";\nimport { SortByLabel } from \"../../../lib/utils/structures/FormSelectChoice\";\n\n// Extend InputSelectProps to pass along things like required, onKeyUp, etc.\n// Omit errorId, isErrored, etc because those are handled within this component\nexport interface FormFieldInputSelectComponentProps extends Omit<\n InputSelectProps,\n \"inputHtmlId\" | \"id\" | \"errorId\" | \"isErrored\"\n> {\n fieldId: string; // should be camelCase\n label: React.ReactNode; // Label is always required for screen readers\n showPlaceholderAndHideLabel?: boolean;\n errorMessage?: React.ReactNode;\n explanation?: string | JSX.Element;\n refId?: string;\n isLoading?: boolean;\n}\n\n/**\n * Generic input select field component.\n * In the JSLIB, a field has a label, inline error message, and an input of some kind.\n */\n\nexport const FormFieldInputSelect = ({\n fieldId = undefined,\n value,\n onChange,\n placeholder,\n label,\n errorMessage,\n showPlaceholderAndHideLabel = false,\n isRequired = true,\n isLoading = false,\n disabled = false,\n explanation = \"\",\n autoFocus,\n options,\n onKeyDown,\n refId = \"status\",\n suppressPlaceholder = true,\n autoComplete,\n}: FormFieldInputSelectComponentProps) => {\n const labelHtmlId = `sid-${dashed(fieldId)}`;\n const errorHtmlId = `sid-${dashed(fieldId)}-error`;\n return (\n <FormFieldLayout\n fieldId={fieldId}\n label={label}\n errorMessage={errorMessage}\n showPlaceholderAndHideLabel={showPlaceholderAndHideLabel}\n isRequired={isRequired}\n explanation={explanation}\n >\n <InputSelectComponent\n autoFocus={autoFocus}\n fieldId={refId}\n inputId={labelHtmlId}\n fieldLabelId={`${labelHtmlId}-label`}\n suppressPlaceholder={suppressPlaceholder}\n isErrored={!!errorMessage}\n options={SortByLabel(options)}\n onChange={onChange}\n value={options.find((option) => option.value === (value && value.value))}\n placeholder={placeholder}\n isRequired={isRequired}\n isLoading={isLoading}\n disabled={disabled}\n ariaDescribedBy={errorMessage ? errorHtmlId : undefined}\n onKeyDown={onKeyDown}\n autoComplete={autoComplete}\n />\n </FormFieldLayout>\n );\n};\n"],"mappings":";;;;;;A,aA8BaK,KAAwB,EACnC,aAAU,KAAA,GACV,UACA,aACA,gBACA,UACA,iBACA,iCAA8B,IAC9B,gBAAa,IACb,eAAY,IACZ,cAAW,IACX,iBAAc,IACd,cACA,YACA,cACA,WAAQ,UACR,yBAAsB,IACtB,sBACwC;CACxC,IAAMC,IAAc,OAAOC,EAAOC,CAAO,KACnCC,IAAc,OAAOF,EAAOC,CAAO,EAAE;CAC3C,OACE,iBAAA,GAAAJ,EAAA,IAAA,CAACH,GAAD;EACW;EACF;EACO;EACe;EACjB;EACC;EAEb,UAAA,iBAAA,GAAAG,EAAA,IAAA,CAACF,GAAD;GACa;GACX,SAASQ;GACT,SAASJ;GACT,cAAc,GAAGA,EAAY;GACR;GACrB,WAAW,CAAC,CAACK;GACb,SAASR,EAAYS,CAAO;GAClB;GACV,OAAOA,EAAQ,MAAM,MAAWC,EAAO,WAAWC,KAASA,EAAM,MAAM;GAC1D;GACD;GACD;GACD;GACV,iBAAiBH,IAAeF,IAAc,KAAA;GACnC;GACG;EACf,CAAA;CACc,CAAA;AAErB"}
1
+ {"version":3,"file":"FormFieldInputSelect-DjvrXRYz.js","names":["require_jsx_runtime","FormFieldLayout","InputSelectComponent","SortByLabel","import_jsx_runtime","FormFieldInputSelect","labelHtmlId","dashed","fieldId","errorHtmlId","refId","errorMessage","options","option","value"],"sources":["../../src/components/FormFields/FormFieldInputSelect/FormFieldInputSelect.tsx"],"sourcesContent":["import type React from \"react\";\n\nimport { dashed } from \"../../../lib/utils/strings\";\nimport { FormFieldLayout } from \"../FormFieldLayout/FormFieldLayout\";\nimport {\n InputSelectComponent,\n type InputSelectProps,\n} from \"../../FormInputs/InputSelect/InputSelectComponent\";\nimport { SortByLabel } from \"../../../lib/utils/structures/FormSelectChoice\";\n\n// Extend InputSelectProps to pass along things like required, onKeyUp, etc.\n// Omit errorId, isErrored, etc because those are handled within this component\nexport interface FormFieldInputSelectComponentProps extends Omit<\n InputSelectProps,\n \"inputHtmlId\" | \"id\" | \"errorId\" | \"isErrored\"\n> {\n fieldId: string; // should be camelCase\n label: React.ReactNode; // Label is always required for screen readers\n showPlaceholderAndHideLabel?: boolean;\n errorMessage?: React.ReactNode;\n explanation?: string | JSX.Element;\n refId?: string;\n isLoading?: boolean;\n}\n\n/**\n * Generic input select field component.\n * In the JSLIB, a field has a label, inline error message, and an input of some kind.\n */\n\nexport const FormFieldInputSelect = ({\n fieldId = undefined,\n value,\n onChange,\n placeholder,\n label,\n errorMessage,\n showPlaceholderAndHideLabel = false,\n isRequired = true,\n isLoading = false,\n disabled = false,\n explanation = \"\",\n autoFocus,\n options,\n onKeyDown,\n refId = \"status\",\n suppressPlaceholder = true,\n autoComplete,\n}: FormFieldInputSelectComponentProps) => {\n const labelHtmlId = `sid-${dashed(fieldId)}`;\n const errorHtmlId = `sid-${dashed(fieldId)}-error`;\n return (\n <FormFieldLayout\n fieldId={fieldId}\n label={label}\n errorMessage={errorMessage}\n showPlaceholderAndHideLabel={showPlaceholderAndHideLabel}\n isRequired={isRequired}\n explanation={explanation}\n >\n <InputSelectComponent\n autoFocus={autoFocus}\n fieldId={refId}\n inputId={labelHtmlId}\n fieldLabelId={`${labelHtmlId}-label`}\n suppressPlaceholder={suppressPlaceholder}\n isErrored={!!errorMessage}\n options={SortByLabel(options)}\n onChange={onChange}\n value={options.find((option) => option.value === (value && value.value))}\n placeholder={placeholder}\n isRequired={isRequired}\n isLoading={isLoading}\n disabled={disabled}\n ariaDescribedBy={errorMessage ? errorHtmlId : undefined}\n onKeyDown={onKeyDown}\n autoComplete={autoComplete}\n />\n </FormFieldLayout>\n );\n};\n"],"mappings":";;;;;;A,aA8BaK,KAAwB,EACnC,aAAU,KAAA,GACV,UACA,aACA,gBACA,UACA,iBACA,iCAA8B,IAC9B,gBAAa,IACb,eAAY,IACZ,cAAW,IACX,iBAAc,IACd,cACA,YACA,cACA,WAAQ,UACR,yBAAsB,IACtB,sBACwC;CACxC,IAAMC,IAAc,OAAOC,EAAOC,CAAO,KACnCC,IAAc,OAAOF,EAAOC,CAAO,EAAE;CAC3C,OACE,iBAAA,GAAAJ,EAAA,IAAA,CAACH,GAAD;EACW;EACF;EACO;EACe;EACjB;EACC;EAEb,UAAA,iBAAA,GAAAG,EAAA,IAAA,CAACF,GAAD;GACa;GACX,SAASQ;GACT,SAASJ;GACT,cAAc,GAAGA,EAAY;GACR;GACrB,WAAW,CAAC,CAACK;GACb,SAASR,EAAYS,CAAO;GAClB;GACV,OAAOA,EAAQ,MAAM,MAAWC,EAAO,WAAWC,KAASA,EAAM,MAAM;GAC1D;GACD;GACD;GACD;GACV,iBAAiBH,IAAeF,IAAc,KAAA;GACnC;GACG;EACf,CAAA;CACc,CAAA;AAErB"}
@@ -1,15 +1,15 @@
1
1
 
2
2
  /**
3
- * VERSION: 3.0.0-preview.1621
4
- * BUILD_TIMESTAMP: 1794001736568
5
- * BUILD_DATE: Fri Nov 06 2026 21:48:56 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 2e868a8ba33bfeb6de927ff96be1d3b40d95110c
3
+ * VERSION: 3.0.0-preview.1631
4
+ * BUILD_TIMESTAMP: 1794010228082
5
+ * BUILD_DATE: Sat Nov 07 2026 00:10:28 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 2b9f8d966b94181bfbf9f65b435462676eac0e67
7
7
  */
8
- import { Rt as e } from "./empties-CJE5It5a.js";
9
- import { r as t, t as n } from "./jsx-runtime-B5jXYl8q.js";
8
+ import { Rt as e } from "./empties-DIWFhdB0.js";
9
+ import { r as t, t as n } from "./jsx-runtime-DDrPHZwN.js";
10
10
  import { t as r } from "./strings-DWLVdUcm.js";
11
11
  import { t as i } from "./dist-In8P1UpN.js";
12
- import { I as a } from "./useOnMount-B3CK3L_o.js";
12
+ import { I as a } from "./useOnMount-D-FexEcU.js";
13
13
  //#region ../packages/ui/src/components/label.tsx
14
14
  var o = /* @__PURE__ */ e(t(), 1), s = n();
15
15
  function c({ className: e, ...t }) {
@@ -1 +1 @@
1
- {"version":3,"file":"FormFieldLayout-B6UWlgPZ.js","names":["FieldLabel","useMemo","FieldLabel","__toESM","require_react","require_jsx_runtime","dashed","cva","cn","import_react","import_jsx_runtime","Label","props","className","fieldVariants","Field","orientation","FieldLabel$1","FieldDescription","FieldError","content","children","errors","uniqueErrors","error","index","FormFieldLabel","name","required","explanation","isEmptyText","allegedNode","FieldLabel","htmlForLabel","text","isRequired","WarningIcon","getFormFieldLabelHtmlId","fieldId","getFormFieldErrorHtmlId","getFormFieldWarningHtmlId","getFormFieldHelperHtmlId","FormFieldLayout","labelHtmlId","errorHtmlId","warningHtmlId","helperHtmlId","label","showPlaceholderAndHideLabel","errorMessage","warningMessage","helperMessage"],"sources":["../../../packages/ui/src/components/label.tsx","../../../packages/ui/src/components/field.tsx","../../../packages/ui/src/components/form-field.tsx","../../src/components/FieldLabel.tsx","../../src/components/FormFields/FormFieldLayout/WarningIcon.tsx","../../src/components/FormFields/FormFieldLayout/FormFieldLayout.tsx"],"sourcesContent":["import type * as React from \"react\";\n\nimport { cn } from \"#lib/utils\";\n\nfunction Label({ className, ...props }: React.ComponentProps<\"label\">) {\n return (\n <label\n data-slot=\"label\"\n className={cn(\n \"flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50\",\n className,\n )}\n {...props}\n />\n );\n}\n\nexport { Label };\n","import { useMemo } from \"react\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\n\nimport { cn } from \"#lib/utils\";\n\nimport { Label } from \"#components/label\";\nimport { Separator } from \"#components/separator\";\n\nfunction FieldSet({ className, ...props }: React.ComponentProps<\"fieldset\">) {\n return (\n <fieldset\n data-slot=\"field-set\"\n className={cn(\n \"flex flex-col gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction FieldLegend({\n className,\n variant = \"legend\",\n ...props\n}: React.ComponentProps<\"legend\"> & { variant?: \"legend\" | \"label\" }) {\n return (\n <legend\n data-slot=\"field-legend\"\n data-variant={variant}\n className={cn(\n \"mb-1.5 font-medium data-[variant=label]:text-sm data-[variant=legend]:text-base\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction FieldGroup({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"field-group\"\n className={cn(\n \"group/field-group @container/field-group flex w-full flex-col gap-5 data-[slot=checkbox-group]:gap-3 *:data-[slot=field-group]:gap-4\",\n className,\n )}\n {...props}\n />\n );\n}\n\nconst fieldVariants = cva(\"group/field flex w-full gap-2 data-[invalid=true]:text-destructive\", {\n variants: {\n orientation: {\n vertical: \"flex-col *:w-full [&>.sr-only]:w-auto\",\n horizontal:\n \"flex-row items-center has-[>[data-slot=field-content]]:items-start *:data-[slot=field-label]:flex-auto has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px\",\n responsive:\n \"flex-col *:w-full @md/field-group:flex-row @md/field-group:items-center @md/field-group:*:w-auto @md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:*:data-[slot=field-label]:flex-auto [&>.sr-only]:w-auto @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px\",\n },\n },\n defaultVariants: {\n orientation: \"vertical\",\n },\n});\n\nfunction Field({\n className,\n orientation = \"vertical\",\n ...props\n}: React.ComponentProps<\"div\"> & VariantProps<typeof fieldVariants>) {\n return (\n <div\n role=\"group\"\n data-slot=\"field\"\n data-orientation={orientation}\n className={cn(fieldVariants({ orientation }), className)}\n {...props}\n />\n );\n}\n\nfunction FieldContent({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"field-content\"\n className={cn(\"group/field-content flex flex-1 flex-col gap-0.5 leading-snug\", className)}\n {...props}\n />\n );\n}\n\nfunction FieldLabel({ className, ...props }: React.ComponentProps<typeof Label>) {\n return (\n <Label\n data-slot=\"field-label\"\n className={cn(\n \"group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50 has-data-checked:border-primary/30 has-data-checked:bg-primary/5 has-[>[data-slot=field]]:rounded-lg has-[>[data-slot=field]]:border has-[>[data-slot=field]]:not-has-[:disabled,[data-disabled]]:hover:bg-muted/50 has-[>[data-slot=field]]:has-[:focus-visible]:border-ring has-[>[data-slot=field]]:has-[:focus-visible]:ring-3 has-[>[data-slot=field]]:has-[:focus-visible]:ring-ring/50 *:data-[slot=field]:p-2.5 dark:has-data-checked:border-primary/20 dark:has-data-checked:bg-primary/10\",\n \"has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction FieldTitle({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"field-label\"\n className={cn(\n \"flex w-fit items-center gap-2 text-sm font-medium group-data-[disabled=true]/field:opacity-50\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction FieldDescription({ className, ...props }: React.ComponentProps<\"p\">) {\n return (\n <p\n data-slot=\"field-description\"\n className={cn(\n \"text-left text-sm leading-normal font-normal text-muted-foreground group-has-data-horizontal/field:text-balance [[data-variant=legend]+&]:-mt-1.5\",\n \"last:mt-0 nth-last-2:-mt-1\",\n \"[&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction FieldSeparator({\n children,\n className,\n ...props\n}: React.ComponentProps<\"div\"> & {\n children?: React.ReactNode;\n}) {\n return (\n <div\n data-slot=\"field-separator\"\n data-content={!!children}\n className={cn(\n \"relative -my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2\",\n className,\n )}\n {...props}\n >\n <Separator className=\"absolute inset-0 top-1/2\" />\n {children && (\n <span\n className=\"relative mx-auto block w-fit bg-background px-2 text-muted-foreground\"\n data-slot=\"field-separator-content\"\n >\n {children}\n </span>\n )}\n </div>\n );\n}\n\nfunction FieldError({\n className,\n children,\n errors,\n ...props\n}: React.ComponentProps<\"div\"> & {\n errors?: Array<{ message?: string } | undefined>;\n}) {\n const content = useMemo(() => {\n if (children) {\n return children;\n }\n\n if (!errors?.length) {\n return null;\n }\n\n const uniqueErrors = [...new Map(errors.map((error) => [error?.message, error])).values()];\n\n if (uniqueErrors?.length == 1) {\n return uniqueErrors[0]?.message;\n }\n\n return (\n <ul className=\"ml-4 flex list-disc flex-col gap-1\">\n {uniqueErrors.map((error, index) => error?.message && <li key={index}>{error.message}</li>)}\n </ul>\n );\n }, [children, errors]);\n\n if (!content) {\n return null;\n }\n\n return (\n <div\n role=\"alert\"\n data-slot=\"field-error\"\n className={cn(\"text-sm font-normal text-destructive\", className)}\n {...props}\n >\n {content}\n </div>\n );\n}\n\nexport {\n Field,\n FieldLabel,\n FieldDescription,\n FieldError,\n FieldGroup,\n FieldLegend,\n FieldSeparator,\n FieldSet,\n FieldContent,\n FieldTitle,\n};\n","import type * as React from \"react\";\n\nimport { cn } from \"#lib/utils\";\n\nimport { FieldLabel } from \"#components/field\";\n\ninterface FormFieldLabelProps extends Omit<React.ComponentProps<typeof FieldLabel>, \"children\"> {\n /** The label text. */\n name: React.ReactNode;\n /** Appends the `*` marker, hidden from assistive technology (the input carries aria-required). */\n required?: boolean;\n /** Secondary text beside the name, e.g. \"Used for verification purposes only\". */\n explanation?: React.ReactNode;\n}\n\n/** The label every form field shows: bold name, required marker and optional explanation. */\nfunction FormFieldLabel({ name, required, explanation, className, ...props }: FormFieldLabelProps) {\n return (\n <FieldLabel\n // An open combobox hides everything outside itself from assistive tech, except live regions.\n // \"off\" is a live region's default politeness (nothing is announced), so this keeps the label\n // exposed: otherwise the input it names would be read with the hidden \"*\".\n aria-live=\"off\"\n className={cn(\n // A length-only size sets no line height; leading-normal is the 1.5 that text-base carries\n \"flex-wrap items-baseline gap-x-3 gap-y-0 text-(length:--label-text-size) leading-normal font-(weight:--label-weight) text-label-foreground\",\n className,\n )}\n {...props}\n >\n <span className=\"whitespace-nowrap\">\n {name}\n {required && <span aria-hidden=\"true\">*</span>}\n </span>\n {explanation && (\n <span className=\"text-sm font-normal text-muted-foreground\">{explanation}</span>\n )}\n </FieldLabel>\n );\n}\n\nexport { FormFieldLabel };\n","import React from \"react\";\n\nimport { FormFieldLabel } from \"@jslib/ui/components/form-field\";\n\ninterface FieldLabelProps {\n text: React.ReactNode;\n htmlForLabel: string;\n id?: string;\n className?: string;\n isRequired?: boolean;\n children?: React.ReactNode;\n}\nconst isEmptyText = (allegedNode: React.ReactNode) =>\n !React.isValidElement(allegedNode) && allegedNode === \"\";\n\nexport const FieldLabel: React.FC<FieldLabelProps> = ({\n text,\n htmlForLabel,\n id,\n className,\n isRequired = true,\n children,\n}: FieldLabelProps) => (\n <FormFieldLabel\n htmlFor={htmlForLabel}\n id={id}\n name={text}\n required={isRequired && !isEmptyText(text)}\n explanation={children}\n className={className}\n />\n);\n","import type React from \"react\";\n\nexport interface WarningIconProps {\n className?: string;\n}\nexport const WarningIcon: React.FC<WarningIconProps> = ({ className }) => (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n fill=\"currentColor\"\n className={className}\n >\n <path\n fillRule=\"evenodd\"\n d=\"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003ZM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75Zm0 8.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z\"\n clipRule=\"evenodd\"\n />\n </svg>\n);\n","import type React from \"react\";\n\nimport { Field, FieldDescription, FieldError } from \"@jslib/ui/components/field\";\nimport { cn } from \"@jslib/ui/lib/utils\";\n\nimport { dashed } from \"../../../lib/utils/strings\";\nimport { FieldLabel } from \"../../FieldLabel\";\n\nimport { WarningIcon } from \"./WarningIcon\";\n\nexport interface FormFieldLayoutProps {\n fieldId: string; // should be camelCase\n label: React.ReactNode;\n isRequired: boolean;\n showPlaceholderAndHideLabel?: boolean;\n errorMessage?: React.ReactNode;\n warningMessage?: React.ReactNode;\n helperMessage?: React.ReactNode;\n children?: React.ReactNode;\n explanation?: React.ReactNode;\n}\n\nexport const getFormFieldLabelHtmlId = (fieldId: string) => `sid-${dashed(fieldId)}-label`;\nexport const getFormFieldErrorHtmlId = (fieldId: string) => `sid-${dashed(fieldId)}-error`;\nexport const getFormFieldWarningHtmlId = (fieldId: string) => `sid-${dashed(fieldId)}-warning`;\nexport const getFormFieldHelperHtmlId = (fieldId: string) => `sid-${dashed(fieldId)}-helper`;\n\n/**\n * In the JSLIB, a FormField has a label, inline error message, and children like a text input\n * This component provides consistent structure, ids and some accessibility considerations for all FormFields\n */\nexport const FormFieldLayout = ({\n fieldId,\n label,\n errorMessage,\n warningMessage,\n helperMessage,\n isRequired,\n showPlaceholderAndHideLabel = false,\n children,\n explanation = undefined,\n}: FormFieldLayoutProps) => {\n const labelHtmlId = getFormFieldLabelHtmlId(fieldId);\n const errorHtmlId = getFormFieldErrorHtmlId(fieldId);\n const warningHtmlId = getFormFieldWarningHtmlId(fieldId);\n const helperHtmlId = getFormFieldHelperHtmlId(fieldId);\n\n return (\n <Field className=\"mt-5\">\n <FieldLabel\n text={label}\n isRequired={isRequired}\n htmlForLabel={`sid-${dashed(fieldId)}`}\n id={labelHtmlId}\n className={cn(showPlaceholderAndHideLabel && \"sr-only\")}\n >\n {explanation && explanation}\n </FieldLabel>\n\n {children}\n\n {errorMessage && <FieldError id={errorHtmlId}>{errorMessage}</FieldError>}\n\n {!errorMessage && warningMessage && (\n <div className=\"mt-2 flex items-center gap-2 text-warning\" id={warningHtmlId}>\n <WarningIcon className=\"mt-0.5 size-5 shrink-0\" />\n <div className=\"flex-1 text-sm\">{warningMessage}</div>\n </div>\n )}\n\n {!errorMessage && !warningMessage && helperMessage && (\n <FieldDescription id={helperHtmlId}>{helperMessage}</FieldDescription>\n )}\n </Field>\n );\n};\n"],"mappings":";;;;;;;AAIA,SAASW,EAAM,EAAE,cAAW,GAAGC,KAAwC;CACrE,OACE,iBAAA,GAAAF,EAAA,IAAA,CAAC,SAAD;EACE,aAAU;EACV,WAAWF,EACT,uNACAK,CACF;EACA,GAAID;CACL,CAAA;AAEL;;;ACqCA,IAAME,IAAgBP,EAAI,sEAAsE;CAC9F,UAAU,EACR,aAAa;EACX,UAAU;EACV,YACE;EACF,YACE;CACJ,EACF;CACA,iBAAiB,EACf,aAAa,WACf;AACF,CAAC;AAED,SAASQ,EAAM,EACb,cACA,iBAAc,YACd,GAAGH,KACgE;CACnE,OACE,iBAAA,GAAAF,EAAA,IAAA,CAAC,OAAD;EACE,MAAK;EACL,aAAU;EACV,oBAAkBM;EAClB,WAAWR,EAAGM,EAAc,EAAE,eAAY,CAAC,GAAGD,CAAS;EACvD,GAAID;CACL,CAAA;AAEL;AAYA,SAASZ,EAAW,EAAE,cAAW,GAAGY,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,CAACK,GAAD;EAAO,WAAU;EAAjB,UAAA;GACE,iBAAA,GAAAL,EAAA,IAAA,CAACsB,GAAD;IACE,MAAMe;IACM;IACZ,cAAc,OAAOzC,EAAOgC,CAAO;IACnC,IAAIK;IACJ,WAAWnC,EAAGwC,KAA+B,SAAS;IAErD,UAAAnB,KAAeA;GACN,CAAA;GAEXR;GAEA4B,KAAgB,iBAAA,GAAAvC,EAAA,IAAA,CAACS,GAAD;IAAY,IAAIyB;IAAc,UAAAK;GAAyB,CAAA;GAEvE,CAACA,KAAgBC,KAChB,iBAAA,GAAAxC,EAAA,KAAA,CAAC,OAAD;IAAK,WAAU;IAA4C,IAAImC;IAA/D,UAAA,CACE,iBAAA,GAAAnC,EAAA,IAAA,CAAC0B,GAAD,EAAa,WAAU,yBAA0B,CAAA,GACjD,iBAAA,GAAA1B,EAAA,IAAA,CAAC,OAAD;KAAK,WAAU;KAAkB,UAAAwC;IAAoB,CAAA,CAClD;;GAGN,CAACD,KAAgB,CAACC,KAAkBC,KACnC,iBAAA,GAAAzC,EAAA,IAAA,CAACQ,GAAD;IAAkB,IAAI4B;IAAe,UAAAK;GAAgC,CAAA;EAElE;;AAEX"}
1
+ {"version":3,"file":"FormFieldLayout-C0SpJlpv.js","names":["FieldLabel","useMemo","FieldLabel","__toESM","require_react","require_jsx_runtime","dashed","cva","cn","import_react","import_jsx_runtime","Label","props","className","fieldVariants","Field","orientation","FieldLabel$1","FieldDescription","FieldError","content","children","errors","uniqueErrors","error","index","FormFieldLabel","name","required","explanation","isEmptyText","allegedNode","FieldLabel","htmlForLabel","text","isRequired","WarningIcon","getFormFieldLabelHtmlId","fieldId","getFormFieldErrorHtmlId","getFormFieldWarningHtmlId","getFormFieldHelperHtmlId","FormFieldLayout","labelHtmlId","errorHtmlId","warningHtmlId","helperHtmlId","label","showPlaceholderAndHideLabel","errorMessage","warningMessage","helperMessage"],"sources":["../../../packages/ui/src/components/label.tsx","../../../packages/ui/src/components/field.tsx","../../../packages/ui/src/components/form-field.tsx","../../src/components/FieldLabel.tsx","../../src/components/FormFields/FormFieldLayout/WarningIcon.tsx","../../src/components/FormFields/FormFieldLayout/FormFieldLayout.tsx"],"sourcesContent":["import type * as React from \"react\";\n\nimport { cn } from \"#lib/utils\";\n\nfunction Label({ className, ...props }: React.ComponentProps<\"label\">) {\n return (\n <label\n data-slot=\"label\"\n className={cn(\n \"flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50\",\n className,\n )}\n {...props}\n />\n );\n}\n\nexport { Label };\n","import { useMemo } from \"react\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\n\nimport { cn } from \"#lib/utils\";\n\nimport { Label } from \"#components/label\";\nimport { Separator } from \"#components/separator\";\n\nfunction FieldSet({ className, ...props }: React.ComponentProps<\"fieldset\">) {\n return (\n <fieldset\n data-slot=\"field-set\"\n className={cn(\n \"flex flex-col gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction FieldLegend({\n className,\n variant = \"legend\",\n ...props\n}: React.ComponentProps<\"legend\"> & { variant?: \"legend\" | \"label\" }) {\n return (\n <legend\n data-slot=\"field-legend\"\n data-variant={variant}\n className={cn(\n \"mb-1.5 font-medium data-[variant=label]:text-sm data-[variant=legend]:text-base\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction FieldGroup({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"field-group\"\n className={cn(\n \"group/field-group @container/field-group flex w-full flex-col gap-5 data-[slot=checkbox-group]:gap-3 *:data-[slot=field-group]:gap-4\",\n className,\n )}\n {...props}\n />\n );\n}\n\nconst fieldVariants = cva(\"group/field flex w-full gap-2 data-[invalid=true]:text-destructive\", {\n variants: {\n orientation: {\n vertical: \"flex-col *:w-full [&>.sr-only]:w-auto\",\n horizontal:\n \"flex-row items-center has-[>[data-slot=field-content]]:items-start *:data-[slot=field-label]:flex-auto has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px\",\n responsive:\n \"flex-col *:w-full @md/field-group:flex-row @md/field-group:items-center @md/field-group:*:w-auto @md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:*:data-[slot=field-label]:flex-auto [&>.sr-only]:w-auto @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px\",\n },\n },\n defaultVariants: {\n orientation: \"vertical\",\n },\n});\n\nfunction Field({\n className,\n orientation = \"vertical\",\n ...props\n}: React.ComponentProps<\"div\"> & VariantProps<typeof fieldVariants>) {\n return (\n <div\n role=\"group\"\n data-slot=\"field\"\n data-orientation={orientation}\n className={cn(fieldVariants({ orientation }), className)}\n {...props}\n />\n );\n}\n\nfunction FieldContent({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"field-content\"\n className={cn(\"group/field-content flex flex-1 flex-col gap-0.5 leading-snug\", className)}\n {...props}\n />\n );\n}\n\nfunction FieldLabel({ className, ...props }: React.ComponentProps<typeof Label>) {\n return (\n <Label\n data-slot=\"field-label\"\n className={cn(\n \"group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50 has-data-checked:border-primary/30 has-data-checked:bg-primary/5 has-[>[data-slot=field]]:rounded-lg has-[>[data-slot=field]]:border has-[>[data-slot=field]]:not-has-[:disabled,[data-disabled]]:hover:bg-muted/50 has-[>[data-slot=field]]:has-[:focus-visible]:border-ring has-[>[data-slot=field]]:has-[:focus-visible]:ring-3 has-[>[data-slot=field]]:has-[:focus-visible]:ring-ring/50 *:data-[slot=field]:p-2.5 dark:has-data-checked:border-primary/20 dark:has-data-checked:bg-primary/10\",\n \"has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction FieldTitle({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"field-label\"\n className={cn(\n \"flex w-fit items-center gap-2 text-sm font-medium group-data-[disabled=true]/field:opacity-50\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction FieldDescription({ className, ...props }: React.ComponentProps<\"p\">) {\n return (\n <p\n data-slot=\"field-description\"\n className={cn(\n \"text-left text-sm leading-normal font-normal text-muted-foreground group-has-data-horizontal/field:text-balance [[data-variant=legend]+&]:-mt-1.5\",\n \"last:mt-0 nth-last-2:-mt-1\",\n \"[&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction FieldSeparator({\n children,\n className,\n ...props\n}: React.ComponentProps<\"div\"> & {\n children?: React.ReactNode;\n}) {\n return (\n <div\n data-slot=\"field-separator\"\n data-content={!!children}\n className={cn(\n \"relative -my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2\",\n className,\n )}\n {...props}\n >\n <Separator className=\"absolute inset-0 top-1/2\" />\n {children && (\n <span\n className=\"relative mx-auto block w-fit bg-background px-2 text-muted-foreground\"\n data-slot=\"field-separator-content\"\n >\n {children}\n </span>\n )}\n </div>\n );\n}\n\nfunction FieldError({\n className,\n children,\n errors,\n ...props\n}: React.ComponentProps<\"div\"> & {\n errors?: Array<{ message?: string } | undefined>;\n}) {\n const content = useMemo(() => {\n if (children) {\n return children;\n }\n\n if (!errors?.length) {\n return null;\n }\n\n const uniqueErrors = [...new Map(errors.map((error) => [error?.message, error])).values()];\n\n if (uniqueErrors?.length == 1) {\n return uniqueErrors[0]?.message;\n }\n\n return (\n <ul className=\"ml-4 flex list-disc flex-col gap-1\">\n {uniqueErrors.map((error, index) => error?.message && <li key={index}>{error.message}</li>)}\n </ul>\n );\n }, [children, errors]);\n\n if (!content) {\n return null;\n }\n\n return (\n <div\n role=\"alert\"\n data-slot=\"field-error\"\n className={cn(\"text-sm font-normal text-destructive\", className)}\n {...props}\n >\n {content}\n </div>\n );\n}\n\nexport {\n Field,\n FieldLabel,\n FieldDescription,\n FieldError,\n FieldGroup,\n FieldLegend,\n FieldSeparator,\n FieldSet,\n FieldContent,\n FieldTitle,\n};\n","import type * as React from \"react\";\n\nimport { cn } from \"#lib/utils\";\n\nimport { FieldLabel } from \"#components/field\";\n\ninterface FormFieldLabelProps extends Omit<React.ComponentProps<typeof FieldLabel>, \"children\"> {\n /** The label text. */\n name: React.ReactNode;\n /** Appends the `*` marker, hidden from assistive technology (the input carries aria-required). */\n required?: boolean;\n /** Secondary text beside the name, e.g. \"Used for verification purposes only\". */\n explanation?: React.ReactNode;\n}\n\n/** The label every form field shows: bold name, required marker and optional explanation. */\nfunction FormFieldLabel({ name, required, explanation, className, ...props }: FormFieldLabelProps) {\n return (\n <FieldLabel\n // An open combobox hides everything outside itself from assistive tech, except live regions.\n // \"off\" is a live region's default politeness (nothing is announced), so this keeps the label\n // exposed: otherwise the input it names would be read with the hidden \"*\".\n aria-live=\"off\"\n className={cn(\n // A length-only size sets no line height; leading-normal is the 1.5 that text-base carries\n \"flex-wrap items-baseline gap-x-3 gap-y-0 text-(length:--label-text-size) leading-normal font-(weight:--label-weight) text-label-foreground\",\n className,\n )}\n {...props}\n >\n <span className=\"whitespace-nowrap\">\n {name}\n {required && <span aria-hidden=\"true\">*</span>}\n </span>\n {explanation && (\n <span className=\"text-sm font-normal text-muted-foreground\">{explanation}</span>\n )}\n </FieldLabel>\n );\n}\n\nexport { FormFieldLabel };\n","import React from \"react\";\n\nimport { FormFieldLabel } from \"@jslib/ui/components/form-field\";\n\ninterface FieldLabelProps {\n text: React.ReactNode;\n htmlForLabel: string;\n id?: string;\n className?: string;\n isRequired?: boolean;\n children?: React.ReactNode;\n}\nconst isEmptyText = (allegedNode: React.ReactNode) =>\n !React.isValidElement(allegedNode) && allegedNode === \"\";\n\nexport const FieldLabel: React.FC<FieldLabelProps> = ({\n text,\n htmlForLabel,\n id,\n className,\n isRequired = true,\n children,\n}: FieldLabelProps) => (\n <FormFieldLabel\n htmlFor={htmlForLabel}\n id={id}\n name={text}\n required={isRequired && !isEmptyText(text)}\n explanation={children}\n className={className}\n />\n);\n","import type React from \"react\";\n\nexport interface WarningIconProps {\n className?: string;\n}\nexport const WarningIcon: React.FC<WarningIconProps> = ({ className }) => (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n fill=\"currentColor\"\n className={className}\n >\n <path\n fillRule=\"evenodd\"\n d=\"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003ZM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75Zm0 8.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z\"\n clipRule=\"evenodd\"\n />\n </svg>\n);\n","import type React from \"react\";\n\nimport { Field, FieldDescription, FieldError } from \"@jslib/ui/components/field\";\nimport { cn } from \"@jslib/ui/lib/utils\";\n\nimport { dashed } from \"../../../lib/utils/strings\";\nimport { FieldLabel } from \"../../FieldLabel\";\n\nimport { WarningIcon } from \"./WarningIcon\";\n\nexport interface FormFieldLayoutProps {\n fieldId: string; // should be camelCase\n label: React.ReactNode;\n isRequired: boolean;\n showPlaceholderAndHideLabel?: boolean;\n errorMessage?: React.ReactNode;\n warningMessage?: React.ReactNode;\n helperMessage?: React.ReactNode;\n children?: React.ReactNode;\n explanation?: React.ReactNode;\n}\n\nexport const getFormFieldLabelHtmlId = (fieldId: string) => `sid-${dashed(fieldId)}-label`;\nexport const getFormFieldErrorHtmlId = (fieldId: string) => `sid-${dashed(fieldId)}-error`;\nexport const getFormFieldWarningHtmlId = (fieldId: string) => `sid-${dashed(fieldId)}-warning`;\nexport const getFormFieldHelperHtmlId = (fieldId: string) => `sid-${dashed(fieldId)}-helper`;\n\n/**\n * In the JSLIB, a FormField has a label, inline error message, and children like a text input\n * This component provides consistent structure, ids and some accessibility considerations for all FormFields\n */\nexport const FormFieldLayout = ({\n fieldId,\n label,\n errorMessage,\n warningMessage,\n helperMessage,\n isRequired,\n showPlaceholderAndHideLabel = false,\n children,\n explanation = undefined,\n}: FormFieldLayoutProps) => {\n const labelHtmlId = getFormFieldLabelHtmlId(fieldId);\n const errorHtmlId = getFormFieldErrorHtmlId(fieldId);\n const warningHtmlId = getFormFieldWarningHtmlId(fieldId);\n const helperHtmlId = getFormFieldHelperHtmlId(fieldId);\n\n return (\n <Field className=\"mt-5\">\n <FieldLabel\n text={label}\n isRequired={isRequired}\n htmlForLabel={`sid-${dashed(fieldId)}`}\n id={labelHtmlId}\n className={cn(showPlaceholderAndHideLabel && \"sr-only\")}\n >\n {explanation && explanation}\n </FieldLabel>\n\n {children}\n\n {errorMessage && <FieldError id={errorHtmlId}>{errorMessage}</FieldError>}\n\n {!errorMessage && warningMessage && (\n <div className=\"mt-2 flex items-center gap-2 text-warning\" id={warningHtmlId}>\n <WarningIcon className=\"mt-0.5 size-5 shrink-0\" />\n <div className=\"flex-1 text-sm\">{warningMessage}</div>\n </div>\n )}\n\n {!errorMessage && !warningMessage && helperMessage && (\n <FieldDescription id={helperHtmlId}>{helperMessage}</FieldDescription>\n )}\n </Field>\n );\n};\n"],"mappings":";;;;;;;AAIA,SAASW,EAAM,EAAE,cAAW,GAAGC,KAAwC;CACrE,OACE,iBAAA,GAAAF,EAAA,IAAA,CAAC,SAAD;EACE,aAAU;EACV,WAAWF,EACT,uNACAK,CACF;EACA,GAAID;CACL,CAAA;AAEL;;;ACqCA,IAAME,IAAgBP,EAAI,sEAAsE;CAC9F,UAAU,EACR,aAAa;EACX,UAAU;EACV,YACE;EACF,YACE;CACJ,EACF;CACA,iBAAiB,EACf,aAAa,WACf;AACF,CAAC;AAED,SAASQ,EAAM,EACb,cACA,iBAAc,YACd,GAAGH,KACgE;CACnE,OACE,iBAAA,GAAAF,EAAA,IAAA,CAAC,OAAD;EACE,MAAK;EACL,aAAU;EACV,o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AAO,GAC7CM,IAAcL,EAAwBD,CAAO,GAC7CO,IAAgBL,EAA0BF,CAAO,GACjDQ,IAAeL,EAAyBH,CAAO;CAErD,OACE,iBAAA,GAAA5B,EAAA,KAAA,CAACK,GAAD;EAAO,WAAU;EAAjB,UAAA;GACE,iBAAA,GAAAL,EAAA,IAAA,CAACsB,GAAD;IACE,MAAMe;IACM;IACZ,cAAc,OAAOzC,EAAOgC,CAAO;IACnC,IAAIK;IACJ,WAAWnC,EAAGwC,KAA+B,SAAS;IAErD,UAAAnB,KAAeA;GACN,CAAA;GAEXR;GAEA4B,KAAgB,iBAAA,GAAAvC,EAAA,IAAA,CAACS,GAAD;IAAY,IAAIyB;IAAc,UAAAK;GAAyB,CAAA;GAEvE,CAACA,KAAgBC,KAChB,iBAAA,GAAAxC,EAAA,KAAA,CAAC,OAAD;IAAK,WAAU;IAA4C,IAAImC;IAA/D,UAAA,CACE,iBAAA,GAAAnC,EAAA,IAAA,CAAC0B,GAAD,EAAa,WAAU,yBAA0B,CAAA,GACjD,iBAAA,GAAA1B,EAAA,IAAA,CAAC,OAAD;KAAK,WAAU;KAAkB,UAAAwC;IAAoB,CAAA,CAClD;;GAGN,CAACD,KAAgB,CAACC,KAAkBC,KACnC,iBAAA,GAAAzC,EAAA,IAAA,CAACQ,GAAD;IAAkB,IAAI4B;IAAe,UAAAK;GAAgC,CAAA;EAElE;;AAEX"}
@@ -4,16 +4,16 @@
4
4
  * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
5
  */
6
6
  /**
7
- * VERSION: 3.0.0-preview.1621
8
- * BUILD_TIMESTAMP: 1794001748969
9
- * BUILD_DATE: Fri Nov 06 2026 21:49:08 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: 2e868a8ba33bfeb6de927ff96be1d3b40d95110c
7
+ * VERSION: 3.0.0-preview.1631
8
+ * BUILD_TIMESTAMP: 1794010235605
9
+ * BUILD_DATE: Sat Nov 07 2026 00:10:35 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 2b9f8d966b94181bfbf9f65b435462676eac0e67
11
11
  */
12
- import { Rt as e } from "./empties-D2KXGsVY.js";
13
- import { r as t, t as n } from "./jsx-runtime-BnRn7GM8.js";
12
+ import { Rt as e } from "./empties-BnfYnQnj.js";
13
+ import { r as t, t as n } from "./jsx-runtime-NC2eM5ec.js";
14
14
  import { t as r } from "./strings-DWLVdUcm.js";
15
15
  import { t as i } from "./dist-In8P1UpN.js";
16
- import { I as a } from "./useOnMount-DTplONXt.js";
16
+ import { I as a } from "./useOnMount-IlmAw-W-.js";
17
17
  //#region ../packages/ui/src/components/label.tsx
18
18
  var o = /* @__PURE__ */ e(t(), 1), s = n();
19
19
  function c({ className: e, ...t }) {
@@ -1 +1 @@
1
- {"version":3,"file":"FormFieldLayout-CdAF5eOb.js","names":["FieldLabel","useMemo","FieldLabel","__toESM","require_react","require_jsx_runtime","dashed","cva","cn","import_react","import_jsx_runtime","Label","props","className","fieldVariants","Field","orientation","FieldLabel$1","FieldDescription","FieldError","content","children","errors","uniqueErrors","error","index","FormFieldLabel","name","required","explanation","isEmptyText","allegedNode","FieldLabel","htmlForLabel","text","isRequired","WarningIcon","getFormFieldLabelHtmlId","fieldId","getFormFieldErrorHtmlId","getFormFieldWarningHtmlId","getFormFieldHelperHtmlId","FormFieldLayout","labelHtmlId","errorHtmlId","warningHtmlId","helperHtmlId","label","showPlaceholderAndHideLabel","errorMessage","warningMessage","helperMessage"],"sources":["../../../packages/ui/src/components/label.tsx","../../../packages/ui/src/components/field.tsx","../../../packages/ui/src/components/form-field.tsx","../../src/components/FieldLabel.tsx","../../src/components/FormFields/FormFieldLayout/WarningIcon.tsx","../../src/components/FormFields/FormFieldLayout/FormFieldLayout.tsx"],"sourcesContent":["import type * as React from \"react\";\n\nimport { cn } from \"#lib/utils\";\n\nfunction Label({ className, ...props }: React.ComponentProps<\"label\">) {\n return (\n <label\n data-slot=\"label\"\n className={cn(\n \"flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50\",\n className,\n )}\n {...props}\n />\n );\n}\n\nexport { Label };\n","import { useMemo } from \"react\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\n\nimport { cn } from \"#lib/utils\";\n\nimport { Label } from \"#components/label\";\nimport { Separator } from \"#components/separator\";\n\nfunction FieldSet({ className, ...props }: React.ComponentProps<\"fieldset\">) {\n return (\n <fieldset\n data-slot=\"field-set\"\n className={cn(\n \"flex flex-col gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction FieldLegend({\n className,\n variant = \"legend\",\n ...props\n}: React.ComponentProps<\"legend\"> & { variant?: \"legend\" | \"label\" }) {\n return (\n <legend\n data-slot=\"field-legend\"\n data-variant={variant}\n className={cn(\n \"mb-1.5 font-medium data-[variant=label]:text-sm data-[variant=legend]:text-base\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction FieldGroup({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"field-group\"\n className={cn(\n \"group/field-group @container/field-group flex w-full flex-col gap-5 data-[slot=checkbox-group]:gap-3 *:data-[slot=field-group]:gap-4\",\n className,\n )}\n {...props}\n />\n );\n}\n\nconst fieldVariants = cva(\"group/field flex w-full gap-2 data-[invalid=true]:text-destructive\", {\n variants: {\n orientation: {\n vertical: \"flex-col *:w-full [&>.sr-only]:w-auto\",\n horizontal:\n \"flex-row items-center has-[>[data-slot=field-content]]:items-start *:data-[slot=field-label]:flex-auto has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px\",\n responsive:\n \"flex-col *:w-full @md/field-group:flex-row @md/field-group:items-center @md/field-group:*:w-auto @md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:*:data-[slot=field-label]:flex-auto [&>.sr-only]:w-auto @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px\",\n },\n },\n defaultVariants: {\n orientation: \"vertical\",\n },\n});\n\nfunction Field({\n className,\n orientation = \"vertical\",\n ...props\n}: React.ComponentProps<\"div\"> & VariantProps<typeof fieldVariants>) {\n return (\n <div\n role=\"group\"\n data-slot=\"field\"\n data-orientation={orientation}\n className={cn(fieldVariants({ orientation }), className)}\n {...props}\n />\n );\n}\n\nfunction FieldContent({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"field-content\"\n className={cn(\"group/field-content flex flex-1 flex-col gap-0.5 leading-snug\", className)}\n {...props}\n />\n );\n}\n\nfunction FieldLabel({ className, ...props }: React.ComponentProps<typeof Label>) {\n return (\n <Label\n data-slot=\"field-label\"\n className={cn(\n \"group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50 has-data-checked:border-primary/30 has-data-checked:bg-primary/5 has-[>[data-slot=field]]:rounded-lg has-[>[data-slot=field]]:border has-[>[data-slot=field]]:not-has-[:disabled,[data-disabled]]:hover:bg-muted/50 has-[>[data-slot=field]]:has-[:focus-visible]:border-ring has-[>[data-slot=field]]:has-[:focus-visible]:ring-3 has-[>[data-slot=field]]:has-[:focus-visible]:ring-ring/50 *:data-[slot=field]:p-2.5 dark:has-data-checked:border-primary/20 dark:has-data-checked:bg-primary/10\",\n \"has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction FieldTitle({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"field-label\"\n className={cn(\n \"flex w-fit items-center gap-2 text-sm font-medium group-data-[disabled=true]/field:opacity-50\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction FieldDescription({ className, ...props }: React.ComponentProps<\"p\">) {\n return (\n <p\n data-slot=\"field-description\"\n className={cn(\n \"text-left text-sm leading-normal font-normal text-muted-foreground group-has-data-horizontal/field:text-balance [[data-variant=legend]+&]:-mt-1.5\",\n \"last:mt-0 nth-last-2:-mt-1\",\n \"[&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction FieldSeparator({\n children,\n className,\n ...props\n}: React.ComponentProps<\"div\"> & {\n children?: React.ReactNode;\n}) {\n return (\n <div\n data-slot=\"field-separator\"\n data-content={!!children}\n className={cn(\n \"relative -my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2\",\n className,\n )}\n {...props}\n >\n <Separator className=\"absolute inset-0 top-1/2\" />\n {children && (\n <span\n className=\"relative mx-auto block w-fit bg-background px-2 text-muted-foreground\"\n data-slot=\"field-separator-content\"\n >\n {children}\n </span>\n )}\n </div>\n );\n}\n\nfunction FieldError({\n className,\n children,\n errors,\n ...props\n}: React.ComponentProps<\"div\"> & {\n errors?: Array<{ message?: string } | undefined>;\n}) {\n const content = useMemo(() => {\n if (children) {\n return children;\n }\n\n if (!errors?.length) {\n return null;\n }\n\n const uniqueErrors = [...new Map(errors.map((error) => [error?.message, error])).values()];\n\n if (uniqueErrors?.length == 1) {\n return uniqueErrors[0]?.message;\n }\n\n return (\n <ul className=\"ml-4 flex list-disc flex-col gap-1\">\n {uniqueErrors.map((error, index) => error?.message && <li key={index}>{error.message}</li>)}\n </ul>\n );\n }, [children, errors]);\n\n if (!content) {\n return null;\n }\n\n return (\n <div\n role=\"alert\"\n data-slot=\"field-error\"\n className={cn(\"text-sm font-normal text-destructive\", className)}\n {...props}\n >\n {content}\n </div>\n );\n}\n\nexport {\n Field,\n FieldLabel,\n FieldDescription,\n FieldError,\n FieldGroup,\n FieldLegend,\n FieldSeparator,\n FieldSet,\n FieldContent,\n FieldTitle,\n};\n","import type * as React from \"react\";\n\nimport { cn } from \"#lib/utils\";\n\nimport { FieldLabel } from \"#components/field\";\n\ninterface FormFieldLabelProps extends Omit<React.ComponentProps<typeof FieldLabel>, \"children\"> {\n /** The label text. */\n name: React.ReactNode;\n /** Appends the `*` marker, hidden from assistive technology (the input carries aria-required). */\n required?: boolean;\n /** Secondary text beside the name, e.g. \"Used for verification purposes only\". */\n explanation?: React.ReactNode;\n}\n\n/** The label every form field shows: bold name, required marker and optional explanation. */\nfunction FormFieldLabel({ name, required, explanation, className, ...props }: FormFieldLabelProps) {\n return (\n <FieldLabel\n // An open combobox hides everything outside itself from assistive tech, except live regions.\n // \"off\" is a live region's default politeness (nothing is announced), so this keeps the label\n // exposed: otherwise the input it names would be read with the hidden \"*\".\n aria-live=\"off\"\n className={cn(\n // A length-only size sets no line height; leading-normal is the 1.5 that text-base carries\n \"flex-wrap items-baseline gap-x-3 gap-y-0 text-(length:--label-text-size) leading-normal font-(weight:--label-weight) text-label-foreground\",\n className,\n )}\n {...props}\n >\n <span className=\"whitespace-nowrap\">\n {name}\n {required && <span aria-hidden=\"true\">*</span>}\n </span>\n {explanation && (\n <span className=\"text-sm font-normal text-muted-foreground\">{explanation}</span>\n )}\n </FieldLabel>\n );\n}\n\nexport { FormFieldLabel };\n","import React from \"react\";\n\nimport { FormFieldLabel } from \"@jslib/ui/components/form-field\";\n\ninterface FieldLabelProps {\n text: React.ReactNode;\n htmlForLabel: string;\n id?: string;\n className?: string;\n isRequired?: boolean;\n children?: React.ReactNode;\n}\nconst isEmptyText = (allegedNode: React.ReactNode) =>\n !React.isValidElement(allegedNode) && allegedNode === \"\";\n\nexport const FieldLabel: React.FC<FieldLabelProps> = ({\n text,\n htmlForLabel,\n id,\n className,\n isRequired = true,\n children,\n}: FieldLabelProps) => (\n <FormFieldLabel\n htmlFor={htmlForLabel}\n id={id}\n name={text}\n required={isRequired && !isEmptyText(text)}\n explanation={children}\n className={className}\n />\n);\n","import type React from \"react\";\n\nexport interface WarningIconProps {\n className?: string;\n}\nexport const WarningIcon: React.FC<WarningIconProps> = ({ className }) => (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n fill=\"currentColor\"\n className={className}\n >\n <path\n fillRule=\"evenodd\"\n d=\"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003ZM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75Zm0 8.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z\"\n clipRule=\"evenodd\"\n />\n </svg>\n);\n","import type React from \"react\";\n\nimport { Field, FieldDescription, FieldError } from \"@jslib/ui/components/field\";\nimport { cn } from \"@jslib/ui/lib/utils\";\n\nimport { dashed } from \"../../../lib/utils/strings\";\nimport { FieldLabel } from \"../../FieldLabel\";\n\nimport { WarningIcon } from \"./WarningIcon\";\n\nexport interface FormFieldLayoutProps {\n fieldId: string; // should be camelCase\n label: React.ReactNode;\n isRequired: boolean;\n showPlaceholderAndHideLabel?: boolean;\n errorMessage?: React.ReactNode;\n warningMessage?: React.ReactNode;\n helperMessage?: React.ReactNode;\n children?: React.ReactNode;\n explanation?: React.ReactNode;\n}\n\nexport const getFormFieldLabelHtmlId = (fieldId: string) => `sid-${dashed(fieldId)}-label`;\nexport const getFormFieldErrorHtmlId = (fieldId: string) => `sid-${dashed(fieldId)}-error`;\nexport const getFormFieldWarningHtmlId = (fieldId: string) => `sid-${dashed(fieldId)}-warning`;\nexport const getFormFieldHelperHtmlId = (fieldId: string) => `sid-${dashed(fieldId)}-helper`;\n\n/**\n * In the JSLIB, a FormField has a label, inline error message, and children like a text input\n * This component provides consistent structure, ids and some accessibility considerations for all FormFields\n */\nexport const FormFieldLayout = ({\n fieldId,\n label,\n errorMessage,\n warningMessage,\n helperMessage,\n isRequired,\n showPlaceholderAndHideLabel = false,\n children,\n explanation = undefined,\n}: FormFieldLayoutProps) => {\n const labelHtmlId = getFormFieldLabelHtmlId(fieldId);\n const errorHtmlId = getFormFieldErrorHtmlId(fieldId);\n const warningHtmlId = getFormFieldWarningHtmlId(fieldId);\n const helperHtmlId = getFormFieldHelperHtmlId(fieldId);\n\n return (\n <Field className=\"mt-5\">\n <FieldLabel\n text={label}\n isRequired={isRequired}\n htmlForLabel={`sid-${dashed(fieldId)}`}\n id={labelHtmlId}\n className={cn(showPlaceholderAndHideLabel && \"sr-only\")}\n >\n {explanation && explanation}\n </FieldLabel>\n\n {children}\n\n {errorMessage && <FieldError id={errorHtmlId}>{errorMessage}</FieldError>}\n\n {!errorMessage && warningMessage && (\n <div className=\"mt-2 flex items-center gap-2 text-warning\" id={warningHtmlId}>\n <WarningIcon className=\"mt-0.5 size-5 shrink-0\" />\n <div className=\"flex-1 text-sm\">{warningMessage}</div>\n </div>\n )}\n\n {!errorMessage && !warningMessage && helperMessage && (\n <FieldDescription id={helperHtmlId}>{helperMessage}</FieldDescription>\n )}\n </Field>\n );\n};\n"],"mappings":";;;;;;;AAIA,SAASW,EAAM,EAAE,cAAW,GAAGC,KAAwC;CACrE,OACE,iBAAA,GAAAF,EAAA,IAAA,CAAC,SAAD;EACE,aAAU;EACV,WAAWF,EACT,uNACAK,CACF;EACA,GAAID;CACL,CAAA;AAEL;;;ACqCA,IAAME,IAAgBP,EAAI,sEAAsE;CAC9F,UAAU,EACR,aAAa;EACX,UAAU;EACV,YACE;EACF,YACE;CACJ,EACF;CACA,iBAAiB,EACf,aAAa,WACf;AACF,CAAC;AAED,SAASQ,EAAM,EACb,cACA,iBAAc,YACd,GAAGH,KACgE;CACnE,OACE,iBAAA,GAAAF,EAAA,IAAA,CAAC,OAAD;EACE,MAAK;EACL,aAAU;EACV,oBAAkBM;EAClB,WAAWR,EAAGM,EAAc,EAAE,eAAY,CAAC,GAAGD,CAAS;EACvD,GAAID;CACL,CAAA;AAEL;AAYA,SAASZ,EAAW,EAAE,cAAW,GAAGY,KAA6C;CAC/E,OACE,iBAAA,GAAAF,EAAA,IAAA,CAACC,GAAD;EACE,aAAU;EACV,WAAWH,EACT,olBACA,qEACAK,CACF;EACA,GAAID;CAC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zC,EAAOgC,CAAO;IACnC,IAAIK;IACJ,WAAWnC,EAAGwC,KAA+B,SAAS;IAErD,UAAAnB,KAAeA;GACN,CAAA;GAEXR;GAEA4B,KAAgB,iBAAA,GAAAvC,EAAA,IAAA,CAACS,GAAD;IAAY,IAAIyB;IAAc,UAAAK;GAAyB,CAAA;GAEvE,CAACA,KAAgBC,KAChB,iBAAA,GAAAxC,EAAA,KAAA,CAAC,OAAD;IAAK,WAAU;IAA4C,IAAImC;IAA/D,UAAA,CACE,iBAAA,GAAAnC,EAAA,IAAA,CAAC0B,GAAD,EAAa,WAAU,yBAA0B,CAAA,GACjD,iBAAA,GAAA1B,EAAA,IAAA,CAAC,OAAD;KAAK,WAAU;KAAkB,UAAAwC;IAAoB,CAAA,CAClD;;GAGN,CAACD,KAAgB,CAACC,KAAkBC,KACnC,iBAAA,GAAAzC,EAAA,IAAA,CAACQ,GAAD;IAAkB,IAAI4B;IAAe,UAAAK;GAAgC,CAAA;EAElE;;AAEX"}
1
+ {"version":3,"file":"FormFieldLayout-lJ_u3Dgo.js","names":["FieldLabel","useMemo","FieldLabel","__toESM","require_react","require_jsx_runtime","dashed","cva","cn","import_react","import_jsx_runtime","Label","props","className","fieldVariants","Field","orientation","FieldLabel$1","FieldDescription","FieldError","content","children","errors","uniqueErrors","error","index","FormFieldLabel","name","required","explanation","isEmptyText","allegedNode","FieldLabel","htmlForLabel","text","isRequired","WarningIcon","getFormFieldLabelHtmlId","fieldId","getFormFieldErrorHtmlId","getFormFieldWarningHtmlId","getFormFieldHelperHtmlId","FormFieldLayout","labelHtmlId","errorHtmlId","warningHtmlId","helperHtmlId","label","showPlaceholderAndHideLabel","errorMessage","warningMessage","helperMessage"],"sources":["../../../packages/ui/src/components/label.tsx","../../../packages/ui/src/components/field.tsx","../../../packages/ui/src/components/form-field.tsx","../../src/components/FieldLabel.tsx","../../src/components/FormFields/FormFieldLayout/WarningIcon.tsx","../../src/components/FormFields/FormFieldLayout/FormFieldLayout.tsx"],"sourcesContent":["import type * as React from \"react\";\n\nimport { cn } from \"#lib/utils\";\n\nfunction Label({ className, ...props }: React.ComponentProps<\"label\">) {\n return (\n <label\n data-slot=\"label\"\n className={cn(\n \"flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50\",\n className,\n )}\n {...props}\n />\n );\n}\n\nexport { Label };\n","import { useMemo } from \"react\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\n\nimport { cn } from \"#lib/utils\";\n\nimport { Label } from \"#components/label\";\nimport { Separator } from \"#components/separator\";\n\nfunction FieldSet({ className, ...props }: React.ComponentProps<\"fieldset\">) {\n return (\n <fieldset\n data-slot=\"field-set\"\n className={cn(\n \"flex flex-col gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction FieldLegend({\n className,\n variant = \"legend\",\n ...props\n}: React.ComponentProps<\"legend\"> & { variant?: \"legend\" | \"label\" }) {\n return (\n <legend\n data-slot=\"field-legend\"\n data-variant={variant}\n className={cn(\n \"mb-1.5 font-medium data-[variant=label]:text-sm data-[variant=legend]:text-base\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction FieldGroup({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"field-group\"\n className={cn(\n \"group/field-group @container/field-group flex w-full flex-col gap-5 data-[slot=checkbox-group]:gap-3 *:data-[slot=field-group]:gap-4\",\n className,\n )}\n {...props}\n />\n );\n}\n\nconst fieldVariants = cva(\"group/field flex w-full gap-2 data-[invalid=true]:text-destructive\", {\n variants: {\n orientation: {\n vertical: \"flex-col *:w-full [&>.sr-only]:w-auto\",\n horizontal:\n \"flex-row items-center has-[>[data-slot=field-content]]:items-start *:data-[slot=field-label]:flex-auto has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px\",\n responsive:\n \"flex-col *:w-full @md/field-group:flex-row @md/field-group:items-center @md/field-group:*:w-auto @md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:*:data-[slot=field-label]:flex-auto [&>.sr-only]:w-auto @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px\",\n },\n },\n defaultVariants: {\n orientation: \"vertical\",\n },\n});\n\nfunction Field({\n className,\n orientation = \"vertical\",\n ...props\n}: React.ComponentProps<\"div\"> & VariantProps<typeof fieldVariants>) {\n return (\n <div\n role=\"group\"\n data-slot=\"field\"\n data-orientation={orientation}\n className={cn(fieldVariants({ orientation }), className)}\n {...props}\n />\n );\n}\n\nfunction FieldContent({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"field-content\"\n className={cn(\"group/field-content flex flex-1 flex-col gap-0.5 leading-snug\", className)}\n {...props}\n />\n );\n}\n\nfunction FieldLabel({ className, ...props }: React.ComponentProps<typeof Label>) {\n return (\n <Label\n data-slot=\"field-label\"\n className={cn(\n \"group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50 has-data-checked:border-primary/30 has-data-checked:bg-primary/5 has-[>[data-slot=field]]:rounded-lg has-[>[data-slot=field]]:border has-[>[data-slot=field]]:not-has-[:disabled,[data-disabled]]:hover:bg-muted/50 has-[>[data-slot=field]]:has-[:focus-visible]:border-ring has-[>[data-slot=field]]:has-[:focus-visible]:ring-3 has-[>[data-slot=field]]:has-[:focus-visible]:ring-ring/50 *:data-[slot=field]:p-2.5 dark:has-data-checked:border-primary/20 dark:has-data-checked:bg-primary/10\",\n \"has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction FieldTitle({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"field-label\"\n className={cn(\n \"flex w-fit items-center gap-2 text-sm font-medium group-data-[disabled=true]/field:opacity-50\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction FieldDescription({ className, ...props }: React.ComponentProps<\"p\">) {\n return (\n <p\n data-slot=\"field-description\"\n className={cn(\n \"text-left text-sm leading-normal font-normal text-muted-foreground group-has-data-horizontal/field:text-balance [[data-variant=legend]+&]:-mt-1.5\",\n \"last:mt-0 nth-last-2:-mt-1\",\n \"[&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction FieldSeparator({\n children,\n className,\n ...props\n}: React.ComponentProps<\"div\"> & {\n children?: React.ReactNode;\n}) {\n return (\n <div\n data-slot=\"field-separator\"\n data-content={!!children}\n className={cn(\n \"relative -my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2\",\n className,\n )}\n {...props}\n >\n <Separator className=\"absolute inset-0 top-1/2\" />\n {children && (\n <span\n className=\"relative mx-auto block w-fit bg-background px-2 text-muted-foreground\"\n data-slot=\"field-separator-content\"\n >\n {children}\n </span>\n )}\n </div>\n );\n}\n\nfunction FieldError({\n className,\n children,\n errors,\n ...props\n}: React.ComponentProps<\"div\"> & {\n errors?: Array<{ message?: string } | undefined>;\n}) {\n const content = useMemo(() => {\n if (children) {\n return children;\n }\n\n if (!errors?.length) {\n return null;\n }\n\n const uniqueErrors = [...new Map(errors.map((error) => [error?.message, error])).values()];\n\n if (uniqueErrors?.length == 1) {\n return uniqueErrors[0]?.message;\n }\n\n return (\n <ul className=\"ml-4 flex list-disc flex-col gap-1\">\n {uniqueErrors.map((error, index) => error?.message && <li key={index}>{error.message}</li>)}\n </ul>\n );\n }, [children, errors]);\n\n if (!content) {\n return null;\n }\n\n return (\n <div\n role=\"alert\"\n data-slot=\"field-error\"\n className={cn(\"text-sm font-normal text-destructive\", className)}\n {...props}\n >\n {content}\n </div>\n );\n}\n\nexport {\n Field,\n FieldLabel,\n FieldDescription,\n FieldError,\n FieldGroup,\n FieldLegend,\n FieldSeparator,\n FieldSet,\n FieldContent,\n FieldTitle,\n};\n","import type * as React from \"react\";\n\nimport { cn } from \"#lib/utils\";\n\nimport { FieldLabel } from \"#components/field\";\n\ninterface FormFieldLabelProps extends Omit<React.ComponentProps<typeof FieldLabel>, \"children\"> {\n /** The label text. */\n name: React.ReactNode;\n /** Appends the `*` marker, hidden from assistive technology (the input carries aria-required). */\n required?: boolean;\n /** Secondary text beside the name, e.g. \"Used for verification purposes only\". */\n explanation?: React.ReactNode;\n}\n\n/** The label every form field shows: bold name, required marker and optional explanation. */\nfunction FormFieldLabel({ name, required, explanation, className, ...props }: FormFieldLabelProps) {\n return (\n <FieldLabel\n // An open combobox hides everything outside itself from assistive tech, except live regions.\n // \"off\" is a live region's default politeness (nothing is announced), so this keeps the label\n // exposed: otherwise the input it names would be read with the hidden \"*\".\n aria-live=\"off\"\n className={cn(\n // A length-only size sets no line height; leading-normal is the 1.5 that text-base carries\n \"flex-wrap items-baseline gap-x-3 gap-y-0 text-(length:--label-text-size) leading-normal font-(weight:--label-weight) text-label-foreground\",\n className,\n )}\n {...props}\n >\n <span className=\"whitespace-nowrap\">\n {name}\n {required && <span aria-hidden=\"true\">*</span>}\n </span>\n {explanation && (\n <span className=\"text-sm font-normal text-muted-foreground\">{explanation}</span>\n )}\n </FieldLabel>\n );\n}\n\nexport { FormFieldLabel };\n","import React from \"react\";\n\nimport { FormFieldLabel } from \"@jslib/ui/components/form-field\";\n\ninterface FieldLabelProps {\n text: React.ReactNode;\n htmlForLabel: string;\n id?: string;\n className?: string;\n isRequired?: boolean;\n children?: React.ReactNode;\n}\nconst isEmptyText = (allegedNode: React.ReactNode) =>\n !React.isValidElement(allegedNode) && allegedNode === \"\";\n\nexport const FieldLabel: React.FC<FieldLabelProps> = ({\n text,\n htmlForLabel,\n id,\n className,\n isRequired = true,\n children,\n}: FieldLabelProps) => (\n <FormFieldLabel\n htmlFor={htmlForLabel}\n id={id}\n name={text}\n required={isRequired && !isEmptyText(text)}\n explanation={children}\n className={className}\n />\n);\n","import type React from \"react\";\n\nexport interface WarningIconProps {\n className?: string;\n}\nexport const WarningIcon: React.FC<WarningIconProps> = ({ className }) => (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n fill=\"currentColor\"\n className={className}\n >\n <path\n fillRule=\"evenodd\"\n d=\"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003ZM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75Zm0 8.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z\"\n clipRule=\"evenodd\"\n />\n </svg>\n);\n","import type React from \"react\";\n\nimport { Field, FieldDescription, FieldError } from \"@jslib/ui/components/field\";\nimport { cn } from \"@jslib/ui/lib/utils\";\n\nimport { dashed } from \"../../../lib/utils/strings\";\nimport { FieldLabel } from \"../../FieldLabel\";\n\nimport { WarningIcon } from \"./WarningIcon\";\n\nexport interface FormFieldLayoutProps {\n fieldId: string; // should be camelCase\n label: React.ReactNode;\n isRequired: boolean;\n showPlaceholderAndHideLabel?: boolean;\n errorMessage?: React.ReactNode;\n warningMessage?: React.ReactNode;\n helperMessage?: React.ReactNode;\n children?: React.ReactNode;\n explanation?: React.ReactNode;\n}\n\nexport const getFormFieldLabelHtmlId = (fieldId: string) => `sid-${dashed(fieldId)}-label`;\nexport const getFormFieldErrorHtmlId = (fieldId: string) => `sid-${dashed(fieldId)}-error`;\nexport const getFormFieldWarningHtmlId = (fieldId: string) => `sid-${dashed(fieldId)}-warning`;\nexport const getFormFieldHelperHtmlId = (fieldId: string) => `sid-${dashed(fieldId)}-helper`;\n\n/**\n * In the JSLIB, a FormField has a label, inline error message, and children like a text input\n * This component provides consistent structure, ids and some accessibility considerations for all FormFields\n */\nexport const FormFieldLayout = ({\n fieldId,\n label,\n errorMessage,\n warningMessage,\n helperMessage,\n isRequired,\n showPlaceholderAndHideLabel = false,\n children,\n explanation = undefined,\n}: FormFieldLayoutProps) => {\n const labelHtmlId = getFormFieldLabelHtmlId(fieldId);\n const errorHtmlId = getFormFieldErrorHtmlId(fieldId);\n const warningHtmlId = getFormFieldWarningHtmlId(fieldId);\n const helperHtmlId = getFormFieldHelperHtmlId(fieldId);\n\n return (\n <Field className=\"mt-5\">\n <FieldLabel\n text={label}\n isRequired={isRequired}\n htmlForLabel={`sid-${dashed(fieldId)}`}\n id={labelHtmlId}\n className={cn(showPlaceholderAndHideLabel && \"sr-only\")}\n >\n {explanation && explanation}\n </FieldLabel>\n\n {children}\n\n {errorMessage && <FieldError id={errorHtmlId}>{errorMessage}</FieldError>}\n\n {!errorMessage && warningMessage && (\n <div className=\"mt-2 flex items-center gap-2 text-warning\" id={warningHtmlId}>\n <WarningIcon className=\"mt-0.5 size-5 shrink-0\" />\n <div className=\"flex-1 text-sm\">{warningMessage}</div>\n </div>\n )}\n\n {!errorMessage && !warningMessage && helperMessage && (\n <FieldDescription id={helperHtmlId}>{helperMessage}</FieldDescription>\n )}\n </Field>\n );\n};\n"],"mappings":";;;;;;;AAIA,SAASW,EAAM,EAAE,cAAW,GAAGC,KAAwC;CACrE,OACE,iBAAA,GAAAF,EAAA,IAAA,CAAC,SAAD;EACE,aAAU;EACV,WAAWF,EACT,uNACAK,CACF;EACA,GAAID;CACL,CAAA;AAEL;;;ACqCA,IAAME,IAAgBP,EAAI,sEAAsE;CAC9F,UAAU,EACR,aAAa;EACX,UAAU;EACV,YACE;EACF,YACE;CACJ,EACF;CACA,iBAAiB,EACf,aAAa,WACf;AACF,CAAC;AAED,SAASQ,EAAM,EACb,cACA,iBAAc,YACd,GAAGH,KACgE;CACnE,OACE,iBAAA,GAAAF,EAAA,IAAA,CAAC,OAAD;EACE,MAAK;EACL,aAAU;EACV,oBAAkBM;EAClB,WAAWR,EAAGM,EAAc,EAAE,eAAY,CAAC,GAAGD,CAAS;EACvD,GAAID;CACL,CAAA;AAEL;AAYA,SAASZ,EAAW,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GAAA5B,EAAA,KAAA,CAACK,GAAD;EAAO,WAAU;EAAjB,UAAA;GACE,iBAAA,GAAAL,EAAA,IAAA,CAACsB,GAAD;IACE,MAAMe;IACM;IACZ,cAAc,OAAOzC,EAAOgC,CAAO;IACnC,IAAIK;IACJ,WAAWnC,EAAGwC,KAA+B,SAAS;IAErD,UAAAnB,KAAeA;GACN,CAAA;GAEXR;GAEA4B,KAAgB,iBAAA,GAAAvC,EAAA,IAAA,CAACS,GAAD;IAAY,IAAIyB;IAAc,UAAAK;GAAyB,CAAA;GAEvE,CAACA,KAAgBC,KAChB,iBAAA,GAAAxC,EAAA,KAAA,CAAC,OAAD;IAAK,WAAU;IAA4C,IAAImC;IAA/D,UAAA,CACE,iBAAA,GAAAnC,EAAA,IAAA,CAAC0B,GAAD,EAAa,WAAU,yBAA0B,CAAA,GACjD,iBAAA,GAAA1B,EAAA,IAAA,CAAC,OAAD;KAAK,WAAU;KAAkB,UAAAwC;IAAoB,CAAA,CAClD;;GAGN,CAACD,KAAgB,CAACC,KAAkBC,KACnC,iBAAA,GAAAzC,EAAA,IAAA,CAACQ,GAAD;IAAkB,IAAI4B;IAAe,UAAAK;GAAgC,CAAA;EAElE;;AAEX"}
@@ -1,14 +1,14 @@
1
1
 
2
2
  /**
3
- * VERSION: 3.0.0-preview.1621
4
- * BUILD_TIMESTAMP: 1794001736568
5
- * BUILD_DATE: Fri Nov 06 2026 21:48:56 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 2e868a8ba33bfeb6de927ff96be1d3b40d95110c
3
+ * VERSION: 3.0.0-preview.1631
4
+ * BUILD_TIMESTAMP: 1794010228082
5
+ * BUILD_DATE: Sat Nov 07 2026 00:10:28 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 2b9f8d966b94181bfbf9f65b435462676eac0e67
7
7
  */
8
- import { t as e } from "./jsx-runtime-B5jXYl8q.js";
8
+ import { t as e } from "./jsx-runtime-DDrPHZwN.js";
9
9
  import { t } from "./strings-DWLVdUcm.js";
10
- import { t as n } from "./FormFieldLayout-CdAF5eOb.js";
11
- import { t as r } from "./InputText-XskZSQrt.js";
10
+ import { t as n } from "./FormFieldLayout-C0SpJlpv.js";
11
+ import { t as r } from "./InputText-DjdofHyX.js";
12
12
  //#region src/components/FormFields/FormFieldText/FormFieldText.tsx
13
13
  var i = e(), a = ({ fieldId: e, value: a, onChange: o, placeholder: s, label: c, errorMessage: l, showPlaceholderAndHideLabel: u = !1, required: d = !0, explanation: f = "", ...p }) => {
14
14
  let m = `sid-${t(e)}-error`;