@incodetech/web 0.0.0-dev-20260909-14ef44cf → 0.0.0-dev-20260910-30fb659a

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 (227) hide show
  1. package/dist/ae-signature/ae-signature.es.js +3 -3
  2. package/dist/antifraud/antifraud.es.js +3 -3
  3. package/dist/assets/dm-sans-latin-400-normal.woff2 +0 -0
  4. package/dist/assets/dm-sans-latin-500-normal.woff2 +0 -0
  5. package/dist/assets/dm-sans-latin-600-normal.woff2 +0 -0
  6. package/dist/assets/dm-sans-latin-700-normal.woff2 +0 -0
  7. package/dist/assets/rethink-sans-latin-800-normal.woff2 +0 -0
  8. package/dist/authentication/authentication.es.js +4 -2
  9. package/dist/base.css +5 -5
  10. package/dist/baseTutorial-DdU221rI.js +172 -0
  11. package/dist/bottomSheet-C3MHkEfL.js +101 -0
  12. package/dist/cameraOverlay-hVopsg3m.js +2 -0
  13. package/dist/cameraOverlayHeader-DFD85Ezb.js +43 -0
  14. package/dist/cameraView-CR2WH_wN.js +49 -0
  15. package/dist/captureFooter-BlAq3nsT.js +67 -0
  16. package/dist/certificate-issuance/certificate-issuance.es.js +7 -5
  17. package/dist/checkbox-CSTnDDdf.js +97 -0
  18. package/dist/connectionError-TamPptzl.js +45 -0
  19. package/dist/consent/consent.es.js +6 -5
  20. package/dist/countries-jgOG0hnw.js +8560 -0
  21. package/dist/{countrySelector-DKg5Ds1n.js → countrySelector-7TnHDtSs.js} +3 -3
  22. package/dist/cross-document-data-match/cross-document-data-match.es.js +3 -3
  23. package/dist/curp-validation/curp-validation.es.js +10 -5
  24. package/dist/{customFields-CNoRKnPl.js → customFields-CYz-FC0C.js} +9 -5
  25. package/dist/{customWatchlist-ThbdoH2_.js → customWatchlist-DokxUqHy.js} +6 -5
  26. package/dist/{dashboardTheme-CwGkC76p.js → dashboardTheme-DBTW5Y2p.js} +1 -1
  27. package/dist/dateInputComposed-B1RmMKnV.js +1 -0
  28. package/dist/dateInputComposed-DdB7BruV.js +69 -0
  29. package/dist/document-capture/document-capture.es.js +1 -1
  30. package/dist/documentCapture-BkeibTS3.js +2 -0
  31. package/dist/{documentCapture-DX5zyk3c.js → documentCapture-heFwS-vY.js} +14 -7
  32. package/dist/dropdownComposed-CnIoWdph.js +386 -0
  33. package/dist/dropdownComposed-DbKfnljI.js +1 -0
  34. package/dist/dynamic-forms/dynamic-forms.es.js +11 -5
  35. package/dist/ekyb/ekyb.es.js +1 -1
  36. package/dist/ekybModule-CZdKKqpT.js +2 -0
  37. package/dist/{ekybModule-CLORvLGs.js → ekybModule-DAuLI3ad.js} +12 -8
  38. package/dist/ekyc/ekyc.es.js +1 -1
  39. package/dist/ekycModule-BvBAH-p5.js +2 -0
  40. package/dist/{ekycModule-CabDUmu7.js → ekycModule-v9k32tXV.js} +12 -6
  41. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  42. package/dist/{electronic-signature-CZwV6Z7-.js → electronic-signature-2Uv08XOv.js} +7 -5
  43. package/dist/email/email.es.js +7 -6
  44. package/dist/{emailInput-CZmNT4xf.js → emailInput-D1LMc-aF.js} +3 -2
  45. package/dist/errorContent-Be-w9xjB.js +58 -0
  46. package/dist/expiredId-ziDNDwCS.js +80 -0
  47. package/dist/extensibility.es.js +699 -5
  48. package/dist/face-match/face-match.es.js +1 -1
  49. package/dist/faceMatch-CvrSgSTi.js +2 -0
  50. package/dist/{faceMatch-DXTrrC-m.js → faceMatch-D_6MaDry.js} +6 -6
  51. package/dist/field-comparison/field-comparison.es.js +1 -1
  52. package/dist/fieldComparison-CqjjCpNq.js +2 -0
  53. package/dist/{fieldComparison-BOROqbI9.js → fieldComparison-grzKEozd.js} +7 -5
  54. package/dist/fieldLabelHint-Cy5t7tNp.js +16 -0
  55. package/dist/{finalSuccessScreen-Drn9GVQR.js → finalSuccessScreen-CiSREy-O.js} +9 -5
  56. package/dist/fiscal-qr/fiscal-qr.es.js +9 -5
  57. package/dist/flipAnimation-Bp4vkj5T.js +2758 -0
  58. package/dist/flow/flow.es.js +25 -10
  59. package/dist/formField-DfTSFK4p.js +60 -0
  60. package/dist/geolocation/geolocation.es.js +8 -5
  61. package/dist/government-validation/government-validation.es.js +3 -3
  62. package/dist/{homeScreen-zaTBPYZP.js → homeScreen-DnSGezVj.js} +6 -3
  63. package/dist/{dropdownComposed-QhS8uwDE.js → icons-BTQAPX7h.js} +3 -732
  64. package/dist/id/id.es.js +28 -20
  65. package/dist/id-selfie-flow/id-selfie-flow.es.js +8 -5
  66. package/dist/id-verification/id-verification.es.js +4 -3
  67. package/dist/{idOcr-BuInTg8J.js → idOcr-CnNDvFs1.js} +11 -4
  68. package/dist/identity-reuse/identity-reuse.es.js +6 -5
  69. package/dist/incodeComponent-OpYmmHuG.js +1050 -0
  70. package/dist/{incodeModule-DNwi5PIv.js → incodeModule-DQfs4RF7.js} +2 -2
  71. package/dist/index.es.js +2 -2
  72. package/dist/inputComposed-9jDBJqse.js +1 -0
  73. package/dist/inputComposed-BP78Sou-.js +99 -0
  74. package/dist/{mandatoryConsent-Dh0qqIS8.js → mandatoryConsent-5hb2q0Nc.js} +6 -5
  75. package/dist/manualCaptureButton-BOXGfoAr.js +255 -0
  76. package/dist/manualCaptureButton-DnE00y7z.js +63 -0
  77. package/dist/modal-BKL_l4J2.js +140 -0
  78. package/dist/modal.hooks-BG9W0mhz.js +201 -0
  79. package/dist/numberedStep-BZchXwF2.js +13 -0
  80. package/dist/{optionAccessibleLabel-DFs_dU6k.js → optionAccessibleLabel-FCfVmVrz.js} +5 -2
  81. package/dist/otpInput-BcoACg71.js +157 -0
  82. package/dist/passwordInputComposed-CMtVpi08.js +74 -0
  83. package/dist/{pdf-DxaEyX9N.js → pdf-2Mzn83pW.js} +1 -1
  84. package/dist/{pdfViewer-BztufNDo.js → pdfViewer-BXfw3EF1.js} +3 -3
  85. package/dist/pdfViewer-D5NNOdPt.js +2 -0
  86. package/dist/permissions-CjX0aA3u.js +2248 -0
  87. package/dist/phone/phone.es.js +8 -5
  88. package/dist/phoneInputComposed-CsJ_yD0l.js +3751 -0
  89. package/dist/processing-DAhWY6sA.js +8 -0
  90. package/dist/qe-signature/qe-signature.es.js +3 -3
  91. package/dist/radioGroupComposed-DO3Ysp1j.js +1 -0
  92. package/dist/radioGroupComposed-DdiOBGH9.js +160 -0
  93. package/dist/redirect-to-mobile/redirect-to-mobile.es.js +9 -6
  94. package/dist/resendTimer-BF44I8m1.js +79 -0
  95. package/dist/{richText-CmgFuzHO.js → richText-C93h8B8I.js} +2 -2
  96. package/dist/selfie/selfie.es.js +9 -6
  97. package/dist/signature/signature.es.js +7 -6
  98. package/dist/{spacer-DI-GUPzr.js → spacer-CP6nfo3f.js} +9 -9
  99. package/dist/{spinner-79XGZYai.js → spinner-1GVajlEK.js} +1 -1
  100. package/dist/statusPage-BSf9rrbK.js +35 -0
  101. package/dist/{tabs-D593NLWd.js → tabs-OBRm19dX.js} +1 -1
  102. package/dist/tutorial-R4tGibYC.js +574 -0
  103. package/dist/{uiConfig-DG7HXVR0.js → uiConfig-Sd_A0KwB.js} +84 -84
  104. package/dist/useCoverMedia-DofxqCtg.js +149 -0
  105. package/dist/{useModuleLoader-CMxfEBdJ.js → useModuleLoader-BN3raWWz.js} +31 -23
  106. package/dist/verificationResult-C-TUwYRU.js +81 -0
  107. package/dist/video-selfie/video-selfie.es.js +10 -7
  108. package/dist/watchlist/watchlist.es.js +6 -5
  109. package/dist/{watchlistForBusiness-B3au4z_B.js → watchlistForBusiness-CAfxFTrq.js} +8 -6
  110. package/dist/workflow/workflow.es.js +6 -6
  111. package/package.json +2 -2
  112. package/dist/documentCapture-DgSmPfdz.js +0 -2
  113. package/dist/ekybModule-D5jakNDp.js +0 -2
  114. package/dist/ekycModule-CgLgN1XM.js +0 -2
  115. package/dist/extensibility-DwFhaxCo.js +0 -21459
  116. package/dist/faceMatch-BM-FVaiU.js +0 -2
  117. package/dist/fieldComparison-D7LH3ZoD.js +0 -2
  118. package/dist/pdfViewer-B41kWu8T.js +0 -2
  119. /package/dist/{af-ZA-BSsDSZUP.js → af-ZA-qhcjE8Ll.js} +0 -0
  120. /package/dist/{aligndevicelottie-DD49iAwf.js → aligndevicelottie-BecybMtU.js} +0 -0
  121. /package/dist/{am-CA3CGdPa.js → am-DVltCO9H.js} +0 -0
  122. /package/dist/{ar-AE-B7wxORmn.js → ar-AE-DTmHPD7L.js} +0 -0
  123. /package/dist/{ar-7gJlfDmG.js → ar-B8E9vjK8.js} +0 -0
  124. /package/dist/{ar-EG-CpCAzmnP.js → ar-EG-DjHcOH9m.js} +0 -0
  125. /package/dist/{az-B1eZnP21.js → az-BFwACmvz.js} +0 -0
  126. /package/dist/{back-horizontal-hint-DcL2aeXz.js → back-horizontal-hint-CgMvLs_S.js} +0 -0
  127. /package/dist/{back-tutorial-BggT_Ad7.js → back-tutorial-D07UcHc5.js} +0 -0
  128. /package/dist/{back-vertical-hint-IHJzvCUW.js → back-vertical-hint-jsA5tD5E.js} +0 -0
  129. /package/dist/{backdevicelottie-Dw7W6vlg.js → backdevicelottie-C6hCbM0B.js} +0 -0
  130. /package/dist/{blurdevicelottie-DPY8NMNI.js → blurdevicelottie-CtGLqNN2.js} +0 -0
  131. /package/dist/{bn-B_3z3OFc.js → bn-DbIWkXe9.js} +0 -0
  132. /package/dist/{browser-ponyfill-CL58t85F.js → browser-ponyfill-BdqoHrvJ.js} +0 -0
  133. /package/dist/{bs-DhIMdYZL.js → bs-z1Ps12rk.js} +0 -0
  134. /package/dist/{ca-DTgrHIgt.js → ca-DUElvSDc.js} +0 -0
  135. /package/dist/{ceb-D8Pa-wLn.js → ceb-jzHzP2FJ.js} +0 -0
  136. /package/dist/{cs-pR8MytaO.js → cs-BrqY3ZP3.js} +0 -0
  137. /package/dist/{cs-CZ-Dig-AJzP.js → cs-CZ-CZtZyop9.js} +0 -0
  138. /package/dist/{da-DK-Y9A9UyPq.js → da-DK-BQvE1_ak.js} +0 -0
  139. /package/dist/{de-DNBTQCf3.js → de-ChPY7o4H.js} +0 -0
  140. /package/dist/{defineProperty-BvSzJNzg.js → defineProperty-DXYyyct1.js} +0 -0
  141. /package/dist/{el-CrLx45jW.js → el-BD0wlCYW.js} +0 -0
  142. /package/dist/{el-GR-B22DulOT.js → el-GR-Dt5-c7bC.js} +0 -0
  143. /package/dist/{en-BiNeRav4.js → en-CyzAzqIc.js} +0 -0
  144. /package/dist/{en-DG-CxJxuefq.js → en-DG-or497Mnl.js} +0 -0
  145. /package/dist/{es-419-C4_DkQug.js → es-419-B3p3NYae.js} +0 -0
  146. /package/dist/{es-BzklSN-G.js → es-BHy4PuoW.js} +0 -0
  147. /package/dist/{es-ES-xGnTUx3f.js → es-ES-DlvpXGeg.js} +0 -0
  148. /package/dist/{es-MX-PwA3FVdN.js → es-MX-Cqi6vOtT.js} +0 -0
  149. /package/dist/{et-j_o0Kn1b.js → et-qYB56l1n.js} +0 -0
  150. /package/dist/{fa-IR-BOqqb1KG.js → fa-IR-DVTTM_tu.js} +0 -0
  151. /package/dist/{fi-FI-K7cTHxBg.js → fi-FI-CfTvDUdu.js} +0 -0
  152. /package/dist/{flip-animation-D3Zr5EgF.js → flip-animation-DqsJznNB.js} +0 -0
  153. /package/dist/{fr-CmfT3Fji.js → fr-BewHYECv.js} +0 -0
  154. /package/dist/{fr-CA-DSKQfUyV.js → fr-CA-BWmoTiX5.js} +0 -0
  155. /package/dist/{front-horizontal-hint-BplEh02R.js → front-horizontal-hint-B37YE8CS.js} +0 -0
  156. /package/dist/{front-vertical-hint-D_dkG5uT.js → front-vertical-hint-BGNYUm4v.js} +0 -0
  157. /package/dist/{frontdevicelottie-CgADJyDu.js → frontdevicelottie-6kC6cgo8.js} +0 -0
  158. /package/dist/{glaredevicelottie-ep0zWB24.js → glaredevicelottie-CSU5ZUYd.js} +0 -0
  159. /package/dist/{he-DxOu5qcv.js → he-DskmIhH1.js} +0 -0
  160. /package/dist/{hi-Bqm14Xbz.js → hi-Bwj78dXS.js} +0 -0
  161. /package/dist/{hmn-B30BDQex.js → hmn-BVc2cEgu.js} +0 -0
  162. /package/dist/{hr-B_SOZRj6.js → hr-4NNWn8Hc.js} +0 -0
  163. /package/dist/{ht-DEmRwvgU.js → ht-C2_a-KG0.js} +0 -0
  164. /package/dist/{hu-DsIWgPzB.js → hu--akRgpT5.js} +0 -0
  165. /package/dist/{id-MGtp66fo.js → id-D7RQjfvC.js} +0 -0
  166. /package/dist/{id-back-of-card-CP5QObX3.js → id-back-of-card-U-NxDg8D.js} +0 -0
  167. /package/dist/{id-back-of-card-vertical-DhMg1rYw.js → id-back-of-card-vertical-B_u3_MBo.js} +0 -0
  168. /package/dist/{id-front-of-card-DX83rakq.js → id-front-of-card-N_jDGmho.js} +0 -0
  169. /package/dist/{id-front-of-card-vertical-CNeXlgvh.js → id-front-of-card-vertical-rHe_Ym9p.js} +0 -0
  170. /package/dist/{id-laser-h-CbY0k-mZ.js → id-laser-h-8TMlUzO4.js} +0 -0
  171. /package/dist/{id-laser-v-BdjZEhnE.js → id-laser-v-DVMkqyIr.js} +0 -0
  172. /package/dist/{id-tutorial-kabKpVGr.js → id-tutorial-DtvAPllr.js} +0 -0
  173. /package/dist/{it-DHz80acm.js → it-40b_QJ49.js} +0 -0
  174. /package/dist/{ja-7DjoBn_g.js → ja-BmtuIzaT.js} +0 -0
  175. /package/dist/{ja-JP-Bjt5yyeN.js → ja-JP-CbKDwCr2.js} +0 -0
  176. /package/dist/{jv-BogujYN8.js → jv-V7T3CZCW.js} +0 -0
  177. /package/dist/{ka-SMCEpz2i.js → ka-DElVzAwl.js} +0 -0
  178. /package/dist/{kk-Bmi4Ibdp.js → kk-DGGqZzoC.js} +0 -0
  179. /package/dist/{km-CTosjBPA.js → km-CTydY36i.js} +0 -0
  180. /package/dist/{ko-BNgzff2c.js → ko-Bjxwt0To.js} +0 -0
  181. /package/dist/{ko-KP-LuZ9duqN.js → ko-KP-Cb8ITTNz.js} +0 -0
  182. /package/dist/{ky-BPsNSnoV.js → ky-Da-svfsh.js} +0 -0
  183. /package/dist/{lo-B98nj7CD.js → lo-BcBrBLSe.js} +0 -0
  184. /package/dist/{lottie_light-BN2vmgOg.js → lottie_light-CtKkb7ze.js} +0 -0
  185. /package/dist/{lt-CGYCKnKw.js → lt-CRUODUDK.js} +0 -0
  186. /package/dist/{lv-BVGESywl.js → lv-COEqtHv9.js} +0 -0
  187. /package/dist/{mk-DSz43gN7.js → mk-D6OWaZi9.js} +0 -0
  188. /package/dist/{mn-V7tBxJeq.js → mn-CHZsnJ9w.js} +0 -0
  189. /package/dist/{ms-gKXHhgRq.js → ms-DWzO2k9X.js} +0 -0
  190. /package/dist/{my-CF92BB6U.js → my-DAkvSk_W.js} +0 -0
  191. /package/dist/{nb-NO-CouM1951.js → nb-NO-d7OazihS.js} +0 -0
  192. /package/dist/{ne-D8y4O4-O.js → ne-BTRq-Yeo.js} +0 -0
  193. /package/dist/{nl-BM_bYA8-.js → nl-DB9dav30.js} +0 -0
  194. /package/dist/{passport-horizontal-hint-CFRGHRVa.js → passport-horizontal-hint-Dt6gI-ZI.js} +0 -0
  195. /package/dist/{passport-tutorial-KbO7bbXm.js → passport-tutorial--ne0dDhV.js} +0 -0
  196. /package/dist/{passport-vertical-hint-BPaLhlho.js → passport-vertical-hint-Boe1pkkz.js} +0 -0
  197. /package/dist/{pl-CKNZeqJV.js → pl-CCkxKrjg.js} +0 -0
  198. /package/dist/{pt-BR-D17Ov788.js → pt-BR-CZ_z8Olc.js} +0 -0
  199. /package/dist/{pt-DvCZWJo7.js → pt-FtGjaVNi.js} +0 -0
  200. /package/dist/{pt-PT-CmMpxZIz.js → pt-PT-RBrFLLkL.js} +0 -0
  201. /package/dist/{registerIncodeElement-BMz2FMUm.js → registerIncodeElement-B-SfWDa0.js} +0 -0
  202. /package/dist/{ro-D49YZb_H.js → ro-DysboDNv.js} +0 -0
  203. /package/dist/{ru-C7Do9bMI.js → ru-CID3CZfu.js} +0 -0
  204. /package/dist/{ru-RU-BJwv_g41.js → ru-RU-BHy7AaUd.js} +0 -0
  205. /package/dist/{selfieTutorial-B30HiUvv.js → selfieTutorial-BarIUFDH.js} +0 -0
  206. /package/dist/{sk-2xyFSXZw.js → sk-D7kS5PBd.js} +0 -0
  207. /package/dist/{sl-CDEQCPMS.js → sl-D9TEWuUe.js} +0 -0
  208. /package/dist/{so-BQlNWbjF.js → so-CfgWC0fM.js} +0 -0
  209. /package/dist/{sr-OvJ8EQ2w.js → sr--ms6iMWz.js} +0 -0
  210. /package/dist/{sr-Latn-DBPpu-WK.js → sr-Latn-BiWFn5aX.js} +0 -0
  211. /package/dist/{sr-YU-ANiGGXx1.js → sr-YU-BNAd049F.js} +0 -0
  212. /package/dist/{sv-SE-N4rDD4lE.js → sv-SE-CJjtaNDA.js} +0 -0
  213. /package/dist/{sw-Cnb_N7Mx.js → sw-6SDfYBIC.js} +0 -0
  214. /package/dist/{th-CqyxWXb5.js → th-BcNF0ama.js} +0 -0
  215. /package/dist/{th-TH-Dgv1Kucb.js → th-TH-DMKAHwNe.js} +0 -0
  216. /package/dist/{tl-PH-CBw224by.js → tl-PH-Bl0duIQB.js} +0 -0
  217. /package/dist/{tl-DRzqwC1-.js → tl-lLJU4U50.js} +0 -0
  218. /package/dist/{tr-hYr5_fPV.js → tr-i2Q79BRH.js} +0 -0
  219. /package/dist/{uk-CG8cA8Vh.js → uk-C6nph67y.js} +0 -0
  220. /package/dist/{uk-UA-fLrAqsX9.js → uk-UA-B8zIiiNG.js} +0 -0
  221. /package/dist/{ur-COEA7gAs.js → ur-Zbr32KyN.js} +0 -0
  222. /package/dist/{uz-DluVEF_a.js → uz-DeV1ZkHM.js} +0 -0
  223. /package/dist/{vi-Da8N9N4q.js → vi-CxGLHnnW.js} +0 -0
  224. /package/dist/{zh-CN-DYqvh3BJ.js → zh-CN-DvWvvJIf.js} +0 -0
  225. /package/dist/{zh-Bo6qs8Vi.js → zh-CU10i68v.js} +0 -0
  226. /package/dist/{zh-HANT-jjgTtifM.js → zh-HANT-CUbWZ_Ie.js} +0 -0
  227. /package/dist/{zh-TW-BklGQhpL.js → zh-TW-BZnhC9_5.js} +0 -0
@@ -1,7 +1,7 @@
1
- import { o as useTranslation } from "./uiConfig-DG7HXVR0.js";
1
+ import { o as useTranslation } from "./uiConfig-Sd_A0KwB.js";
2
2
  import { u as T, v as u } from "./vendor-preact-C0jX1Cbq.js";
3
- import { J as getCountryDisplayName, q as countryFlagEmoji } from "./extensibility-DwFhaxCo.js";
4
- import { t as DropdownComposed } from "./dropdownComposed-QhS8uwDE.js";
3
+ import { n as getCountryDisplayName, t as countryFlagEmoji } from "./countries-jgOG0hnw.js";
4
+ import { t as DropdownComposed } from "./dropdownComposed-CnIoWdph.js";
5
5
  //#region src/shared/countrySelector/countrySelector.tsx
6
6
  var DEFAULT_COUNTRY_CODES = [
7
7
  "BR",
@@ -1,7 +1,7 @@
1
1
  import { _ as y, v as u } from "../vendor-preact-C0jX1Cbq.js";
2
- import { Nt as useManager, jt as useModuleTerminalCallbacks, mt as IncodeComponent, vt as withStandaloneModuleBootstrap } from "../extensibility-DwFhaxCo.js";
3
- import { t as Spinner } from "../spinner-79XGZYai.js";
4
- import { t as registerIncodeModuleElement } from "../incodeModule-DNwi5PIv.js";
2
+ import { C as useManager, a as withStandaloneModuleBootstrap, t as IncodeComponent, x as useModuleTerminalCallbacks } from "../incodeComponent-OpYmmHuG.js";
3
+ import { t as Spinner } from "../spinner-1GVajlEK.js";
4
+ import { t as registerIncodeModuleElement } from "../incodeModule-DQfs4RF7.js";
5
5
  import { createCrossDocumentDataMatchManager } from "@incodetech/core/cross-document-data-match";
6
6
  //#region src/modules/cross-document-data-match/cross-document-data-match.tsx
7
7
  var CrossDocumentDataMatchContent = ({ manager: externalManager, onFinish }) => {
@@ -1,9 +1,14 @@
1
- import { o as useTranslation } from "../uiConfig-DG7HXVR0.js";
1
+ import { o as useTranslation } from "../uiConfig-Sd_A0KwB.js";
2
2
  import { S as k, v as u } from "../vendor-preact-C0jX1Cbq.js";
3
- import { G as DateInputComposed, Nt as useManager, St as Page, Tt as TransitionSpinner, at as InputComposed, gt as AutoFocusTitle, jt as useModuleTerminalCallbacks, mt as IncodeComponent, vt as withStandaloneModuleBootstrap } from "../extensibility-DwFhaxCo.js";
4
- import { t as Spacer } from "../spacer-DI-GUPzr.js";
5
- import { A as Button, d as SuccessIcon, k as ErrorIcon, t as DropdownComposed } from "../dropdownComposed-QhS8uwDE.js";
6
- import { t as registerIncodeModuleElement } from "../incodeModule-DNwi5PIv.js";
3
+ import { C as useManager, a as withStandaloneModuleBootstrap, f as TransitionSpinner, l as Page, r as AutoFocusTitle, t as IncodeComponent, x as useModuleTerminalCallbacks } from "../incodeComponent-OpYmmHuG.js";
4
+ import { t as Spacer } from "../spacer-CP6nfo3f.js";
5
+ import { S as Button, r as SuccessIcon, x as ErrorIcon } from "../icons-BTQAPX7h.js";
6
+ import { t as InputComposed } from "../inputComposed-BP78Sou-.js";
7
+ import { t as DropdownComposed } from "../dropdownComposed-CnIoWdph.js";
8
+ import "../dropdownComposed-DbKfnljI.js";
9
+ import { t as DateInputComposed } from "../dateInputComposed-DdB7BruV.js";
10
+ import "../dateInputComposed-B1RmMKnV.js";
11
+ import { t as registerIncodeModuleElement } from "../incodeModule-DQfs4RF7.js";
7
12
  import { GENERATE_CURP_FIELDS, createCurpValidationManager, mexicanStates } from "@incodetech/core/curp-validation";
8
13
  //#region src/modules/curp-validation/curpInput.tsx
9
14
  var CurpInput = ({ curp, errorKey, onCurpChange, onCurpBlur, onVerify, onSwitchToGenerate, disabled = false, placeholder, continueLabel, dontHaveLabel }) => {
@@ -1,9 +1,13 @@
1
- import { o as useTranslation } from "./uiConfig-DG7HXVR0.js";
1
+ import { o as useTranslation } from "./uiConfig-Sd_A0KwB.js";
2
2
  import { f as d, v as u } from "./vendor-preact-C0jX1Cbq.js";
3
- import { G as DateInputComposed, Nt as useManager, St as Page, at as InputComposed, et as Checkbox, jt as useModuleTerminalCallbacks, lt as StatusPage, mt as IncodeComponent, vt as withStandaloneModuleBootstrap } from "./extensibility-DwFhaxCo.js";
4
- import { n as LoadingIcon, t as Spacer } from "./spacer-DI-GUPzr.js";
5
- import { A as Button, d as SuccessIcon } from "./dropdownComposed-QhS8uwDE.js";
6
- import { t as registerIncodeModuleElement } from "./incodeModule-DNwi5PIv.js";
3
+ import { C as useManager, a as withStandaloneModuleBootstrap, l as Page, t as IncodeComponent, x as useModuleTerminalCallbacks } from "./incodeComponent-OpYmmHuG.js";
4
+ import { n as LoadingIcon, t as Spacer } from "./spacer-CP6nfo3f.js";
5
+ import { S as Button, r as SuccessIcon } from "./icons-BTQAPX7h.js";
6
+ import { t as StatusPage } from "./statusPage-BSf9rrbK.js";
7
+ import { t as InputComposed } from "./inputComposed-BP78Sou-.js";
8
+ import { t as Checkbox } from "./checkbox-CSTnDDdf.js";
9
+ import { t as DateInputComposed } from "./dateInputComposed-DdB7BruV.js";
10
+ import { t as registerIncodeModuleElement } from "./incodeModule-DQfs4RF7.js";
7
11
  import { createCustomFieldsManager } from "@incodetech/core/custom-fields";
8
12
  //#region src/modules/custom-fields/customFields.tsx
9
13
  var INPUT_TYPE_MAP = {
@@ -1,9 +1,10 @@
1
- import { o as useTranslation } from "./uiConfig-DG7HXVR0.js";
1
+ import { o as useTranslation } from "./uiConfig-Sd_A0KwB.js";
2
2
  import { _ as y, v as u } from "./vendor-preact-C0jX1Cbq.js";
3
- import { Nt as useManager, jt as useModuleTerminalCallbacks, lt as StatusPage, mt as IncodeComponent, vt as withStandaloneModuleBootstrap } from "./extensibility-DwFhaxCo.js";
4
- import { n as LoadingIcon } from "./spacer-DI-GUPzr.js";
5
- import { d as SuccessIcon } from "./dropdownComposed-QhS8uwDE.js";
6
- import { t as registerIncodeModuleElement } from "./incodeModule-DNwi5PIv.js";
3
+ import { C as useManager, a as withStandaloneModuleBootstrap, t as IncodeComponent, x as useModuleTerminalCallbacks } from "./incodeComponent-OpYmmHuG.js";
4
+ import { n as LoadingIcon } from "./spacer-CP6nfo3f.js";
5
+ import { r as SuccessIcon } from "./icons-BTQAPX7h.js";
6
+ import { t as StatusPage } from "./statusPage-BSf9rrbK.js";
7
+ import { t as registerIncodeModuleElement } from "./incodeModule-DQfs4RF7.js";
7
8
  import { createCustomWatchlistManager } from "@incodetech/core/custom-watchlist";
8
9
  //#region src/modules/custom-watchlist/customWatchlist.tsx
9
10
  var CustomWatchlistContent = ({ manager: externalManager, onFinish }) => {
@@ -1,4 +1,4 @@
1
- import { t as setThemeUiConfig } from "./uiConfig-DG7HXVR0.js";
1
+ import { t as setThemeUiConfig } from "./uiConfig-Sd_A0KwB.js";
2
2
  import { api } from "@incodetech/core/http";
3
3
  //#region src/shared/dashboard/dashboardPolicy.ts
4
4
  var standaloneSetupPolicy = Object.freeze({
@@ -0,0 +1 @@
1
+ import "./dateInputComposed-DdB7BruV.js";
@@ -0,0 +1,69 @@
1
+ import { c as A, i as D, v as u } from "./vendor-preact-C0jX1Cbq.js";
2
+ import { d as cn } from "./spacer-CP6nfo3f.js";
3
+ import { y as CalendarIcon } from "./icons-BTQAPX7h.js";
4
+ import { t as InputComposed } from "./inputComposed-BP78Sou-.js";
5
+ import "./inputComposed-9jDBJqse.js";
6
+ //#region src/shared/dateInputComposed/dateInputComposed.tsx
7
+ var DateInputComposed = D(({ id, label, disabled, class: className, onInput, onBlur, ...restProps }, ref) => {
8
+ const tryShowPicker = (input) => {
9
+ if (!input) return false;
10
+ if (!("showPicker" in HTMLInputElement.prototype)) return false;
11
+ try {
12
+ input.showPicker();
13
+ return true;
14
+ } catch {
15
+ return false;
16
+ }
17
+ };
18
+ const handleClick = (e) => {
19
+ if (disabled) {
20
+ e.preventDefault();
21
+ return;
22
+ }
23
+ const input = e.currentTarget.control;
24
+ tryShowPicker(input);
25
+ };
26
+ const valueJustChanged = A(false);
27
+ const handleInput = (e) => {
28
+ onInput(e);
29
+ valueJustChanged.current = true;
30
+ };
31
+ const handleBlur = (e) => {
32
+ onBlur?.(e);
33
+ if (!valueJustChanged.current) return;
34
+ valueJustChanged.current = false;
35
+ if (e.relatedTarget !== null) return;
36
+ const input = e.currentTarget;
37
+ if (!input) return;
38
+ requestAnimationFrame(() => {
39
+ const active = document.activeElement;
40
+ if (active === null || active === document.body) input.focus();
41
+ });
42
+ };
43
+ return /* @__PURE__ */ u(InputComposed, {
44
+ ref,
45
+ id,
46
+ type: "date",
47
+ label,
48
+ disabled,
49
+ class: cn("IncodeDateInputComposed", className),
50
+ onInput: handleInput,
51
+ onBlur: handleBlur,
52
+ rightIcon: /* @__PURE__ */ u("label", {
53
+ htmlFor: id,
54
+ class: "IncodeDateInputComposedIconButton",
55
+ "aria-hidden": "true",
56
+ tabIndex: -1,
57
+ "data-disabled": disabled ? "true" : void 0,
58
+ onClick: handleClick,
59
+ children: /* @__PURE__ */ u("span", {
60
+ class: "IncodeDateInputComposedIcon",
61
+ children: /* @__PURE__ */ u(CalendarIcon, {})
62
+ })
63
+ }),
64
+ ...restProps
65
+ });
66
+ });
67
+ DateInputComposed.displayName = "DateInputComposed";
68
+ //#endregion
69
+ export { DateInputComposed as t };
@@ -1,2 +1,2 @@
1
- import { t as DocumentCapture } from "../documentCapture-DX5zyk3c.js";
1
+ import { t as DocumentCapture } from "../documentCapture-heFwS-vY.js";
2
2
  export { DocumentCapture };
@@ -0,0 +1,2 @@
1
+ import { t as DocumentCapture } from "./documentCapture-heFwS-vY.js";
2
+ export { DocumentCapture };
@@ -1,10 +1,17 @@
1
- import { o as useTranslation } from "./uiConfig-DG7HXVR0.js";
1
+ import { o as useTranslation } from "./uiConfig-Sd_A0KwB.js";
2
2
  import { S as k, a as P, c as A, f as d, h as q, p as g, s as z, v as u } from "./vendor-preact-C0jX1Cbq.js";
3
- import { F as CameraOverlay, I as CameraFrame, L as BottomSheet, M as CaptureFooter, N as CameraView, Nt as useManager, Ot as useIsMobileDeviceWidth, P as CameraOverlayHeader, St as Page, dt as ErrorContent, gt as AutoFocusTitle, jt as useModuleTerminalCallbacks, mt as IncodeComponent, st as ProgressBar, vt as withStandaloneModuleBootstrap, w as Permissions } from "./extensibility-DwFhaxCo.js";
4
- import { d as cn, s as Asset, t as Spacer } from "./spacer-DI-GUPzr.js";
5
- import { t as Spinner } from "./spinner-79XGZYai.js";
6
- import { A as Button, E as CameraIcon, d as SuccessIcon, h as FileIcon, p as LockIcon, r as Modal } from "./dropdownComposed-QhS8uwDE.js";
7
- import { t as registerIncodeModuleElement } from "./incodeModule-DNwi5PIv.js";
3
+ import { C as useManager, a as withStandaloneModuleBootstrap, l as Page, r as AutoFocusTitle, t as IncodeComponent, v as useIsMobileDeviceWidth, x as useModuleTerminalCallbacks } from "./incodeComponent-OpYmmHuG.js";
4
+ import { d as cn, s as Asset, t as Spacer } from "./spacer-CP6nfo3f.js";
5
+ import { t as Spinner } from "./spinner-1GVajlEK.js";
6
+ import { S as Button, a as LockIcon, r as SuccessIcon, s as FileIcon, v as CameraIcon } from "./icons-BTQAPX7h.js";
7
+ import { t as Modal } from "./modal-BKL_l4J2.js";
8
+ import { t as ErrorContent } from "./errorContent-Be-w9xjB.js";
9
+ import { n as ProgressBar, t as CaptureFooter } from "./captureFooter-BlAq3nsT.js";
10
+ import { t as BottomSheet } from "./bottomSheet-C3MHkEfL.js";
11
+ import { n as CameraFrame, t as CameraView } from "./cameraView-CR2WH_wN.js";
12
+ import { n as CameraOverlay, t as CameraOverlayHeader } from "./cameraOverlayHeader-DFD85Ezb.js";
13
+ import { t as Permissions } from "./permissions-CjX0aA3u.js";
14
+ import { t as registerIncodeModuleElement } from "./incodeModule-DQfs4RF7.js";
8
15
  import { createDocumentCaptureManager } from "@incodetech/core/document-capture";
9
16
  //#region src/modules/document-capture/documentCameraView.tsx
10
17
  function captureFrameFromVideo(video) {
@@ -323,7 +330,7 @@ var UploadingHeader = ({ progress, isFilePdf }) => {
323
330
  };
324
331
  //#endregion
325
332
  //#region src/modules/document-capture/documentReview.tsx
326
- var PdfViewer = z(() => import("./pdfViewer-B41kWu8T.js").then((m) => ({ default: m.PdfViewer })));
333
+ var PdfViewer = z(() => import("./pdfViewer-D5NNOdPt.js").then((m) => ({ default: m.PdfViewer })));
327
334
  var DocumentReview = ({ state, manager }) => {
328
335
  const { t } = useTranslation();
329
336
  if (state.status === "failure") {
@@ -0,0 +1,386 @@
1
+ import { S as k, _ as y, c as A, f as d, v as u } from "./vendor-preact-C0jX1Cbq.js";
2
+ import { d as cn } from "./spacer-CP6nfo3f.js";
3
+ import { d as CloseIcon, h as CheckmarkCompactIcon, i as SearchIcon, m as ChevronDown, r as SuccessIcon, x as ErrorIcon } from "./icons-BTQAPX7h.js";
4
+ import { t as FieldLabelHint } from "./fieldLabelHint-Cy5t7tNp.js";
5
+ //#region src/shared/dropdownComposed/dropdownComposed.tsx
6
+ var DropdownComposed = ({ id, label, labelHint, placeholder = "Choose an option", value, options, onChange, error, helper, showErrorIcon, showHelperIcon, suppressMessages = false, disabled = false, required, searchable = false, searchPlaceholder = "Search...", noResultsText = "No results found", name, tabIndex, onKeyDown, onBlur, renderSelectedLabel, siblingElement, class: className, "aria-label": ariaLabel, "data-testid": dataTestId }) => {
7
+ const [isOpen, setIsOpen] = d(false);
8
+ const [isFocused, setIsFocused] = d(false);
9
+ const [highlightedIndex, setHighlightedIndex] = d(-1);
10
+ const [searchQuery, setSearchQuery] = d("");
11
+ const containerRef = A(null);
12
+ const triggerRef = A(null);
13
+ const optionsRef = A(null);
14
+ const optionRefs = A([]);
15
+ const searchInputRef = A(null);
16
+ const typeaheadRef = A("");
17
+ const typeaheadTimeoutRef = A();
18
+ const selectedOption = options.find((o) => o.value === value);
19
+ const triggerText = selectedOption ? renderSelectedLabel ? renderSelectedLabel(selectedOption) : selectedOption.label : placeholder;
20
+ const filteredOptions = searchable && searchQuery ? options.filter((option) => option.label.toLowerCase().includes(searchQuery.toLowerCase())) : options;
21
+ const labelId = `${id}-label`;
22
+ const valueId = `${id}-value`;
23
+ const listboxId = `${id}-listbox`;
24
+ const helperId = `${id}-helper`;
25
+ const errorId = `${id}-error`;
26
+ const describedByIds = !suppressMessages ? [helper ? helperId : null, error ? errorId : null].filter(Boolean).join(" ") : "";
27
+ y(() => {
28
+ if (!isOpen) return;
29
+ const frame = requestAnimationFrame(() => {
30
+ if (searchable && searchInputRef.current) searchInputRef.current.focus();
31
+ requestAnimationFrame(() => {
32
+ optionsRef.current?.scrollIntoView({
33
+ behavior: "smooth",
34
+ block: "nearest",
35
+ inline: "nearest"
36
+ });
37
+ });
38
+ });
39
+ return () => cancelAnimationFrame(frame);
40
+ }, [isOpen, searchable]);
41
+ y(() => {
42
+ if (!isOpen) {
43
+ setHighlightedIndex(-1);
44
+ setSearchQuery("");
45
+ }
46
+ }, [isOpen]);
47
+ y(() => {
48
+ if (highlightedIndex >= 0 && optionRefs.current[highlightedIndex]) optionRefs.current[highlightedIndex]?.scrollIntoView({
49
+ block: "nearest",
50
+ inline: "nearest"
51
+ });
52
+ }, [highlightedIndex]);
53
+ y(() => {
54
+ return () => {
55
+ if (typeaheadTimeoutRef.current) clearTimeout(typeaheadTimeoutRef.current);
56
+ };
57
+ }, []);
58
+ const handleToggle = () => {
59
+ if (disabled) return;
60
+ setIsOpen((prev) => !prev);
61
+ };
62
+ const handleSelect = (optionValue) => {
63
+ onChange(optionValue);
64
+ setIsOpen(false);
65
+ setHighlightedIndex(-1);
66
+ triggerRef.current?.focus();
67
+ };
68
+ const handleFocus = () => {
69
+ setIsFocused(true);
70
+ };
71
+ const handleBlur = (e) => {
72
+ setIsFocused(false);
73
+ if (!containerRef.current?.contains(e.relatedTarget)) {
74
+ setIsOpen(false);
75
+ onBlur?.();
76
+ }
77
+ };
78
+ const handleKeyboardNavigation = (e) => {
79
+ if (disabled) return;
80
+ onKeyDown?.(e);
81
+ const { key } = e;
82
+ if (key.length === 1 && /^[a-zA-Z0-9]$/.test(key)) {
83
+ e.preventDefault();
84
+ if (typeaheadTimeoutRef.current) clearTimeout(typeaheadTimeoutRef.current);
85
+ typeaheadRef.current += key.toLowerCase();
86
+ const matchIndex = filteredOptions.findIndex((opt) => opt.label.toLowerCase().startsWith(typeaheadRef.current));
87
+ if (matchIndex !== -1) {
88
+ if (!isOpen) setIsOpen(true);
89
+ setHighlightedIndex(matchIndex);
90
+ }
91
+ typeaheadTimeoutRef.current = setTimeout(() => {
92
+ typeaheadRef.current = "";
93
+ }, 500);
94
+ return;
95
+ }
96
+ switch (key) {
97
+ case "ArrowDown":
98
+ e.preventDefault();
99
+ if (!isOpen) {
100
+ setIsOpen(true);
101
+ setHighlightedIndex(0);
102
+ } else setHighlightedIndex((prev) => prev < filteredOptions.length - 1 ? prev + 1 : prev);
103
+ break;
104
+ case "ArrowUp":
105
+ e.preventDefault();
106
+ if (!isOpen) {
107
+ setIsOpen(true);
108
+ setHighlightedIndex(filteredOptions.length - 1);
109
+ } else setHighlightedIndex((prev) => prev > 0 ? prev - 1 : prev);
110
+ break;
111
+ case "Home":
112
+ e.preventDefault();
113
+ if (isOpen) setHighlightedIndex(0);
114
+ break;
115
+ case "End":
116
+ e.preventDefault();
117
+ if (isOpen) setHighlightedIndex(filteredOptions.length - 1);
118
+ break;
119
+ case "Enter":
120
+ e.preventDefault();
121
+ if (isOpen && highlightedIndex >= 0 && filteredOptions[highlightedIndex]) handleSelect(filteredOptions[highlightedIndex].value);
122
+ else if (!isOpen) setIsOpen(true);
123
+ break;
124
+ case " ":
125
+ e.preventDefault();
126
+ if (isOpen && highlightedIndex >= 0 && filteredOptions[highlightedIndex]) handleSelect(filteredOptions[highlightedIndex].value);
127
+ else if (!isOpen) {
128
+ setIsOpen(true);
129
+ setHighlightedIndex(0);
130
+ }
131
+ break;
132
+ case "Escape":
133
+ e.preventDefault();
134
+ if (isOpen) {
135
+ setIsOpen(false);
136
+ setHighlightedIndex(-1);
137
+ triggerRef.current?.focus();
138
+ }
139
+ break;
140
+ case "Tab":
141
+ if (isOpen) {
142
+ setIsOpen(false);
143
+ setHighlightedIndex(-1);
144
+ }
145
+ break;
146
+ default: break;
147
+ }
148
+ };
149
+ const handleSearchKeyDown = (e) => {
150
+ const { key } = e;
151
+ switch (key) {
152
+ case "ArrowDown":
153
+ e.preventDefault();
154
+ setHighlightedIndex((prev) => prev < filteredOptions.length - 1 ? prev + 1 : prev);
155
+ break;
156
+ case "ArrowUp":
157
+ e.preventDefault();
158
+ setHighlightedIndex((prev) => prev > 0 ? prev - 1 : prev);
159
+ break;
160
+ case "Home":
161
+ e.preventDefault();
162
+ setHighlightedIndex(0);
163
+ break;
164
+ case "End":
165
+ e.preventDefault();
166
+ setHighlightedIndex(filteredOptions.length - 1);
167
+ break;
168
+ case "Enter":
169
+ e.preventDefault();
170
+ if (highlightedIndex >= 0 && filteredOptions[highlightedIndex]) handleSelect(filteredOptions[highlightedIndex].value);
171
+ break;
172
+ case "Escape":
173
+ e.preventDefault();
174
+ setIsOpen(false);
175
+ setHighlightedIndex(-1);
176
+ triggerRef.current?.focus();
177
+ break;
178
+ case "Tab":
179
+ if (!searchQuery) {
180
+ setIsOpen(false);
181
+ setHighlightedIndex(-1);
182
+ }
183
+ break;
184
+ default: break;
185
+ }
186
+ };
187
+ return /* @__PURE__ */ u("div", {
188
+ class: cn("IncodeDropdownComposed", className),
189
+ ref: containerRef,
190
+ onBlur: handleBlur,
191
+ children: [
192
+ name && /* @__PURE__ */ u("input", {
193
+ type: "hidden",
194
+ name,
195
+ value: value || "",
196
+ disabled,
197
+ required
198
+ }),
199
+ label && /* @__PURE__ */ u("label", {
200
+ class: "IncodeDropdownComposedLabel",
201
+ id: labelId,
202
+ htmlFor: id,
203
+ "data-testid": `${id}-label`,
204
+ children: [label, /* @__PURE__ */ u(FieldLabelHint, {
205
+ className: "IncodeDropdownComposedLabelHint",
206
+ hint: labelHint,
207
+ required,
208
+ testId: `${id}-label-hint`
209
+ })]
210
+ }),
211
+ /* @__PURE__ */ u("div", {
212
+ class: "IncodeDropdownComposedWrapper",
213
+ children: [/* @__PURE__ */ u("div", {
214
+ class: cn("IncodeDropdownComposedTriggerRow", { IncodeDropdownComposedTriggerRowWithSibling: !!siblingElement }),
215
+ children: [/* @__PURE__ */ u("button", {
216
+ ref: triggerRef,
217
+ type: "button",
218
+ id,
219
+ class: "IncodeDropdownComposedTrigger",
220
+ onClick: handleToggle,
221
+ onFocus: handleFocus,
222
+ onKeyDown: handleKeyboardNavigation,
223
+ tabIndex: disabled ? -1 : tabIndex ?? 0,
224
+ disabled,
225
+ role: searchable ? void 0 : "combobox",
226
+ "aria-haspopup": "listbox",
227
+ "aria-expanded": isOpen ? "true" : "false",
228
+ "aria-disabled": disabled ? "true" : void 0,
229
+ "aria-required": !searchable && required ? "true" : void 0,
230
+ "aria-invalid": !searchable && error ? "true" : void 0,
231
+ "aria-labelledby": label ? `${labelId} ${valueId}` : ariaLabel ? void 0 : valueId,
232
+ "aria-label": !label ? ariaLabel : void 0,
233
+ "aria-controls": isOpen ? listboxId : void 0,
234
+ "aria-activedescendant": !searchable && isOpen && highlightedIndex >= 0 ? `${id}-option-${highlightedIndex}` : void 0,
235
+ "aria-describedby": describedByIds || void 0,
236
+ "data-error": error ? "true" : void 0,
237
+ "data-focused": isFocused || isOpen ? "true" : void 0,
238
+ "data-testid": dataTestId,
239
+ children: [/* @__PURE__ */ u("span", {
240
+ id: valueId,
241
+ class: selectedOption ? "IncodeDropdownComposedTriggerText" : "IncodeDropdownComposedTriggerPlaceholder",
242
+ "aria-hidden": !label && !!ariaLabel ? "true" : void 0,
243
+ children: selectedOption?.ariaLabel ? /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u("span", {
244
+ "aria-hidden": "true",
245
+ children: triggerText
246
+ }), /* @__PURE__ */ u("span", {
247
+ class: "IncodeDropdownComposedSrOnly",
248
+ children: selectedOption.ariaLabel
249
+ })] }) : triggerText
250
+ }), /* @__PURE__ */ u("span", {
251
+ class: "IncodeDropdownComposedTriggerIcon",
252
+ "aria-hidden": "true",
253
+ "data-open": isOpen,
254
+ children: /* @__PURE__ */ u(ChevronDown, {})
255
+ })]
256
+ }), siblingElement && /* @__PURE__ */ u("div", {
257
+ class: "IncodeDropdownComposedSibling",
258
+ children: siblingElement
259
+ })]
260
+ }), isOpen && /* @__PURE__ */ u("div", {
261
+ ref: optionsRef,
262
+ class: "IncodeDropdownComposedList",
263
+ "data-error": error ? "true" : void 0,
264
+ children: [searchable && /* @__PURE__ */ u("div", {
265
+ class: "IncodeDropdownComposedSearchWrapper",
266
+ children: /* @__PURE__ */ u("div", {
267
+ class: "IncodeDropdownComposedSearchInner",
268
+ children: [/* @__PURE__ */ u("input", {
269
+ ref: searchInputRef,
270
+ type: "text",
271
+ id: `${id}-search`,
272
+ "data-testid": `${id}-search`,
273
+ class: "IncodeDropdownComposedSearchInput",
274
+ value: searchQuery,
275
+ onInput: (e) => {
276
+ setSearchQuery(e.target.value);
277
+ setHighlightedIndex(0);
278
+ },
279
+ onKeyDown: handleSearchKeyDown,
280
+ placeholder: searchPlaceholder,
281
+ role: "combobox",
282
+ "aria-autocomplete": "list",
283
+ "aria-expanded": "true",
284
+ "aria-controls": listboxId,
285
+ "aria-activedescendant": highlightedIndex >= 0 ? `${id}-option-${highlightedIndex}` : void 0,
286
+ "aria-required": required ? "true" : void 0,
287
+ "aria-invalid": error ? "true" : void 0,
288
+ "aria-labelledby": label ? labelId : void 0,
289
+ "aria-label": !label ? ariaLabel ?? searchPlaceholder : void 0,
290
+ "aria-describedby": describedByIds || void 0,
291
+ autocomplete: "off"
292
+ }), searchQuery ? /* @__PURE__ */ u("button", {
293
+ type: "button",
294
+ class: "IncodeDropdownComposedCloseIconButton",
295
+ onMouseDown: (e) => e.preventDefault(),
296
+ onClick: () => {
297
+ setSearchQuery("");
298
+ searchInputRef.current?.focus();
299
+ },
300
+ "aria-label": "Clear search query",
301
+ children: /* @__PURE__ */ u(CloseIcon, {
302
+ width: 20,
303
+ height: 20,
304
+ fillColor: "var(--icon-neutral-500)"
305
+ })
306
+ }) : /* @__PURE__ */ u("span", {
307
+ class: "IncodeDropdownComposedSearchIcon",
308
+ "aria-hidden": "true",
309
+ children: /* @__PURE__ */ u(SearchIcon, { size: 20 })
310
+ })]
311
+ })
312
+ }), /* @__PURE__ */ u("div", {
313
+ id: listboxId,
314
+ role: "listbox",
315
+ "aria-labelledby": label ? labelId : void 0,
316
+ "aria-label": !label ? ariaLabel ?? placeholder : void 0,
317
+ class: "IncodeDropdownComposedOptionsScroll",
318
+ children: filteredOptions.length === 0 ? /* @__PURE__ */ u("div", {
319
+ class: "IncodeDropdownComposedNoResults",
320
+ children: noResultsText
321
+ }) : filteredOptions.map((option, index) => {
322
+ const selectedOption = value === option.value;
323
+ const optionAriaLabel = option.ariaLabel && selectedOption ? `${option.ariaLabel}, selected` : option.ariaLabel;
324
+ return /* @__PURE__ */ u("div", {
325
+ id: `${id}-option-${index}`,
326
+ role: "option",
327
+ "aria-label": optionAriaLabel,
328
+ "aria-selected": selectedOption ? "true" : "false",
329
+ class: "IncodeDropdownComposedOption",
330
+ "data-highlighted": highlightedIndex === index,
331
+ ref: (el) => {
332
+ optionRefs.current[index] = el;
333
+ },
334
+ onClick: () => handleSelect(option.value),
335
+ onMouseDown: (e) => e.preventDefault(),
336
+ onMouseEnter: () => setHighlightedIndex(index),
337
+ children: [option.ariaLabel ? /* @__PURE__ */ u("span", {
338
+ "aria-hidden": "true",
339
+ children: option.label
340
+ }) : option.label, selectedOption && /* @__PURE__ */ u("span", {
341
+ class: "IncodeDropdownComposedCheckmarkIcon",
342
+ "aria-hidden": "true",
343
+ children: /* @__PURE__ */ u(CheckmarkCompactIcon, {})
344
+ })]
345
+ }, option.value);
346
+ })
347
+ })]
348
+ })]
349
+ }),
350
+ searchable && /* @__PURE__ */ u("div", {
351
+ class: "IncodeDropdownComposedLiveRegion",
352
+ role: "status",
353
+ "aria-live": "polite",
354
+ "aria-atomic": "true",
355
+ children: isOpen && searchQuery ? filteredOptions.length === 0 ? noResultsText : `${filteredOptions.length} result${filteredOptions.length !== 1 ? "s" : ""} available` : ""
356
+ }),
357
+ !suppressMessages && error && /* @__PURE__ */ u("div", {
358
+ class: "IncodeDropdownComposedErrorWrapper",
359
+ role: "alert",
360
+ "data-testid": `${id}-error-wrapper`,
361
+ children: [showErrorIcon && /* @__PURE__ */ u("div", {
362
+ class: "IncodeDropdownComposedIconWrapper",
363
+ children: /* @__PURE__ */ u(ErrorIcon, { size: 17 })
364
+ }), /* @__PURE__ */ u("p", {
365
+ id: errorId,
366
+ class: "IncodeDropdownComposedError",
367
+ children: error
368
+ })]
369
+ }),
370
+ !suppressMessages && helper && !error && /* @__PURE__ */ u("div", {
371
+ class: "IncodeDropdownComposedHelperWrapper",
372
+ "data-testid": `${id}-helper-wrapper`,
373
+ children: [showHelperIcon && /* @__PURE__ */ u("div", {
374
+ class: "IncodeDropdownComposedIconWrapper",
375
+ children: /* @__PURE__ */ u(SuccessIcon, { size: 17 })
376
+ }), /* @__PURE__ */ u("p", {
377
+ id: helperId,
378
+ class: "IncodeDropdownComposedHelper",
379
+ children: helper
380
+ })]
381
+ })
382
+ ]
383
+ });
384
+ };
385
+ //#endregion
386
+ export { DropdownComposed as t };
@@ -0,0 +1 @@
1
+ import "./dropdownComposed-CnIoWdph.js";
@@ -1,9 +1,15 @@
1
- import { o as useTranslation } from "../uiConfig-DG7HXVR0.js";
1
+ import { o as useTranslation } from "../uiConfig-Sd_A0KwB.js";
2
2
  import { p as g, u as T, v as u } from "../vendor-preact-C0jX1Cbq.js";
3
- import { G as DateInputComposed, K as PhoneInputComposed, Nt as useManager, St as Page, Y as countries, at as InputComposed, jt as useModuleTerminalCallbacks, mt as IncodeComponent, ut as VerificationResult, vt as withStandaloneModuleBootstrap } from "../extensibility-DwFhaxCo.js";
4
- import { A as Button, t as DropdownComposed } from "../dropdownComposed-QhS8uwDE.js";
5
- import { t as registerIncodeModuleElement } from "../incodeModule-DNwi5PIv.js";
6
- import { t as EmailInput } from "../emailInput-CZmNT4xf.js";
3
+ import { C as useManager, a as withStandaloneModuleBootstrap, l as Page, t as IncodeComponent, x as useModuleTerminalCallbacks } from "../incodeComponent-OpYmmHuG.js";
4
+ import { S as Button } from "../icons-BTQAPX7h.js";
5
+ import { t as VerificationResult } from "../verificationResult-C-TUwYRU.js";
6
+ import { t as InputComposed } from "../inputComposed-BP78Sou-.js";
7
+ import { r as countries } from "../countries-jgOG0hnw.js";
8
+ import { t as PhoneInputComposed } from "../phoneInputComposed-CsJ_yD0l.js";
9
+ import { t as DropdownComposed } from "../dropdownComposed-CnIoWdph.js";
10
+ import { t as DateInputComposed } from "../dateInputComposed-DdB7BruV.js";
11
+ import { t as registerIncodeModuleElement } from "../incodeModule-DQfs4RF7.js";
12
+ import { t as EmailInput } from "../emailInput-D1LMc-aF.js";
7
13
  import { createDynamicFormsManager } from "@incodetech/core/dynamic-forms";
8
14
  import { formatCPF, isValidCPF } from "@incodetech/core/id-ocr";
9
15
  //#region src/modules/dynamic-forms/dynamic-forms.tsx
@@ -1,2 +1,2 @@
1
- import { t as EkybModule } from "../ekybModule-CLORvLGs.js";
1
+ import { t as EkybModule } from "../ekybModule-DAuLI3ad.js";
2
2
  export { EkybModule };
@@ -0,0 +1,2 @@
1
+ import { t as EkybModule } from "./ekybModule-DAuLI3ad.js";
2
+ export { EkybModule };