@incodetech/web 2.4.1 → 2.5.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (365) hide show
  1. package/THIRD_PARTY_NOTICES.txt +1 -4
  2. package/dist/{GeolocationPermissionDenied-GbB9B3J0.js → GeolocationPermissionDenied-DRRBxdLP.js} +23 -8
  3. package/dist/Password-CY3Tv_5W.js +212 -0
  4. package/dist/RadioGroup-CnxMGtas.js +123 -0
  5. package/dist/RequiredLegend-CLQ0HX7d.js +16 -0
  6. package/dist/RequiredMarker-CAqxArxr.js +16 -0
  7. package/dist/TextField-MsdsbAbT.js +166 -0
  8. package/dist/ae-signature/ae-signature.es.js +4 -4
  9. package/dist/{af-ZA-Dm5i-KRC.js → af-ZA-CtJyXRHO.js} +129 -881
  10. package/dist/{ageVerification-n-1fouaD.js → ageVerification-C6fgHkhK.js} +10 -8
  11. package/dist/{am-UBTEdpJv.js → am-BvQDMy8e.js} +129 -881
  12. package/dist/antifraud/antifraud.es.js +5 -4
  13. package/dist/applyStudioConfig-DO18I6Cf.js +126 -0
  14. package/dist/{ar-AE--KjG2EAr.js → ar-AE-CmS-eCPq.js} +129 -881
  15. package/dist/{ar-RFuhholc.js → ar-Bpe0wGYL.js} +129 -881
  16. package/dist/{ar-EG-y8SWJjy1.js → ar-EG-DaxpzWwx.js} +129 -881
  17. package/dist/assertClassBrand-F6pL6aIr.js +17 -0
  18. package/dist/authentication/authentication.es.js +9 -6
  19. package/dist/autoFocusTitle-D_vDhPqZ.js +19 -0
  20. package/dist/{az-4Z0ZZq7T.js → az-zSRFEU_F.js} +129 -881
  21. package/dist/{back-horizontal-hint-BztyPanp.js → back-horizontal-hint-Bci98ivl.js} +1 -1
  22. package/dist/{back-vertical-hint-BSzA4QbJ.js → back-vertical-hint-DyPCItxn.js} +1 -1
  23. package/dist/base.css +1 -1
  24. package/dist/{baseTutorial-BixkM88z.js → baseTutorial-Bktx_Yrr.js} +9 -7
  25. package/dist/{bn-CNhjOqja.js → bn-BrITyCOh.js} +129 -881
  26. package/dist/{bottomSheet-B4REej8W.js → bottomSheet-CzU1QNua.js} +3 -3
  27. package/dist/{bs-Culcuxab.js → bs-rdaEnpNo.js} +128 -880
  28. package/dist/{ca-h1xwo6CW.js → ca-BEtpN_ag.js} +128 -880
  29. package/dist/cameraOverlay-D6NPWfIT.js +2 -0
  30. package/dist/{cameraOverlayHeader-D4Bjr6Fw.js → cameraOverlayHeader-DZHCfN1x.js} +9 -8
  31. package/dist/{cameraView-BpdAdfIK.js → cameraView-CYd-_y_r.js} +13 -14
  32. package/dist/capture-BBQJgktJ.js +2 -0
  33. package/dist/{tutorial-HfSD-QZ3.js → capture-BstPDTgL.js} +226 -82
  34. package/dist/capture-CkvbPbJK.js +754 -0
  35. package/dist/capture-DiJGnu9z.js +3 -0
  36. package/dist/captureButtonIcon-DhTUlcGq.js +1 -0
  37. package/dist/captureFocusContext-FsGun4Yd.js +718 -0
  38. package/dist/captureFooter-BLJ1Qvov.js +47 -0
  39. package/dist/{ceb-pTDH3h1x.js → ceb-D5rPC9mY.js} +129 -881
  40. package/dist/certificate-issuance/certificate-issuance.es.js +68 -41
  41. package/dist/certificate-issuance/styles.css +1 -1
  42. package/dist/certificate-issuance/styles.css.js +1 -1
  43. package/dist/{checkbox-CALR7EFM.js → checkbox-HfnbGBMk.js} +4 -4
  44. package/dist/chooser-Dm0wohHb.js +1517 -0
  45. package/dist/connectionError-BFVvBEMq.js +100 -0
  46. package/dist/consent/consent.es.js +19 -14
  47. package/dist/consent/styles.css +1 -1
  48. package/dist/consent/styles.css.js +1 -1
  49. package/dist/{countryDefinitions-BO9OSKQO.js → countryDefinitions-UXJ0maPk.js} +6 -0
  50. package/dist/{countryFlag-2Vj85OIZ.js → countryFlag-CjuXF_8C.js} +1 -1
  51. package/dist/{countrySelector-DKvvYxP6.js → countrySelector-CEJAgeRY.js} +6 -5
  52. package/dist/cross-document-data-match/cross-document-data-match.es.js +5 -4
  53. package/dist/{cs-CZ-CiATe8nW.js → cs-CZ-BEprNqLt.js} +128 -880
  54. package/dist/{cs-CrQuSSOI.js → cs-D_U436l9.js} +128 -880
  55. package/dist/curp-validation/curp-validation.es.js +97 -96
  56. package/dist/curp-validation/styles.css +1 -1
  57. package/dist/curp-validation/styles.css.js +1 -1
  58. package/dist/{customFields-DRwjotY-.js → customFields-DqebmaL5.js} +33 -20
  59. package/dist/{customWatchlist-DmROVUfp.js → customWatchlist-DVSMbzw5.js} +11 -9
  60. package/dist/{da-DK-CgrU79mp.js → da-DK-dMikXCNn.js} +128 -880
  61. package/dist/dashboardTheme-CB91NoiD.js +388 -0
  62. package/dist/{dateInputComposed-Bu7vM-M4.js → dateInputComposed-CVJ4LSep.js} +4 -5
  63. package/dist/dateInputComposed-DF0Dx86l.js +1 -0
  64. package/dist/{de-D0xnkswj.js → de-C3c7Bo-M.js} +128 -880
  65. package/dist/denied-BR9pZqKi.js +272 -0
  66. package/dist/devWarn-CXWsIkak.js +1034 -0
  67. package/dist/deviceWallet-DDHk7jBw.js +37 -0
  68. package/dist/{digitalIdRedirect-Dpv37Mbi.js → digitalIdRedirect-DKJgITR_.js} +4 -4
  69. package/dist/{digitalIdUpload-DKXe-_GE.js → digitalIdUpload-BgG6svjJ.js} +37 -15
  70. package/dist/document-capture/document-capture.es.js +1 -1
  71. package/dist/document-capture/styles.css +1 -1
  72. package/dist/document-capture/styles.css.js +1 -1
  73. package/dist/{documentCapture-DlBMtLvL.js → documentCapture-Cu3F_ka7.js} +136 -72
  74. package/dist/documentCapture-owKpu8oI.js +2 -0
  75. package/dist/{dropdownComposed-B-qTBcja.js → dropdownComposed-BJCNWDGU.js} +8 -6
  76. package/dist/dropdownComposed-zidm_XVK.js +1 -0
  77. package/dist/dynamic-forms/dynamic-forms.es.js +62 -35
  78. package/dist/ekyb/ekyb.es.js +1 -1
  79. package/dist/ekyb/styles.css +1 -1
  80. package/dist/ekyb/styles.css.js +1 -1
  81. package/dist/ekybModule-Qc_5cB3W.js +2 -0
  82. package/dist/{ekybModule-qkUiNFdJ.js → ekybModule-tV6tUWe_.js} +109 -89
  83. package/dist/ekyc/ekyc.es.js +1 -1
  84. package/dist/ekyc/styles.css +1 -1
  85. package/dist/ekyc/styles.css.js +1 -1
  86. package/dist/ekyc-prefill/ekyc-prefill.es.js +2 -0
  87. package/dist/ekyc-prefill/styles.css +2 -0
  88. package/dist/ekyc-prefill/styles.css.js +1 -0
  89. package/dist/ekycModule-BgB_xu54.js +789 -0
  90. package/dist/ekycModule-DZ7yboJO.js +2 -0
  91. package/dist/ekycPrefillModule-B0cJJiuu.js +2 -0
  92. package/dist/ekycPrefillModule-B1xn0veW.js +233 -0
  93. package/dist/{el-GR-DPUvlcvr.js → el-GR-eG5AImZr.js} +128 -880
  94. package/dist/{el-B5gLXHxC.js → el-LOaoXfUU.js} +129 -881
  95. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  96. package/dist/{electronic-signature-Jx8qWrW-.js → electronic-signature-BleJ65-Y.js} +55 -36
  97. package/dist/email/email.es.js +21 -16
  98. package/dist/{emailInput-ClX3Lu8X.js → emailInput-BVx96bJy.js} +23 -12
  99. package/dist/{en-DNuMvR7-.js → en-B_-7--AN.js} +129 -881
  100. package/dist/{en-DG-DOwBuCCl.js → en-DG-BDnlBAUl.js} +129 -881
  101. package/dist/{errorContent-B_pH1MX7.js → errorContent-x8IajOaE.js} +21 -20
  102. package/dist/errorParams-B68-Euu2.js +37 -0
  103. package/dist/es-419-DS4mN2d_.js +5 -0
  104. package/dist/{es-ES-BF9vl0Um.js → es-ES-BMafdM90.js} +128 -880
  105. package/dist/{es-MX-Brp4FXN8.js → es-MX-DqhG7Zy7.js} +128 -880
  106. package/dist/{es-DNl7ceDm.js → es-T4K5G5zB.js} +129 -881
  107. package/dist/{et-D5pPP4r0.js → et-fBoHBc5h.js} +129 -881
  108. package/dist/expiredId-Q5ITzZU-.js +67 -0
  109. package/dist/extensibility.es.js +382 -55
  110. package/dist/{fa-IR-BoyK-lax.js → fa-IR--PnMtKvC.js} +129 -881
  111. package/dist/face-match/face-match.es.js +1 -1
  112. package/dist/face-match/styles.css +1 -1
  113. package/dist/face-match/styles.css.js +1 -1
  114. package/dist/{faceMatch-Dp1AGBtg.js → faceMatch-D-ehWIdN.js} +54 -71
  115. package/dist/faceMatch-RxP2VPBm.js +2 -0
  116. package/dist/{fi-FI-mYdAUbtG.js → fi-FI-D-T9bf67.js} +128 -880
  117. package/dist/field-comparison/field-comparison.es.js +1 -1
  118. package/dist/fieldComparison-BhYiGx0t.js +2 -0
  119. package/dist/fieldComparison-c3xT3K4C.js +126 -0
  120. package/dist/{fieldLabelHint-CxjArYkQ.js → fieldLabelHint-yMZjXK6p.js} +3 -3
  121. package/dist/{finalSuccessScreen-BgPVGAr4.js → finalSuccessScreen-CDr8bsI6.js} +31 -22
  122. package/dist/fiscal-qr/fiscal-qr.es.js +32 -26
  123. package/dist/flipAnimation-C95PZFAJ.js +46 -0
  124. package/dist/flipCapturedCardEligibility-CcB0uVfH.js +210 -0
  125. package/dist/flow/flow.es.js +315 -287
  126. package/dist/flow/shell/styles.css +1 -1
  127. package/dist/flow/shell/styles.css.js +1 -1
  128. package/dist/flow/styles.css +1 -1
  129. package/dist/formField-Ba8BQ_l8.js +49 -0
  130. package/dist/{fr-B4R5fgnm.js → fr-BlNTqS4_.js} +128 -880
  131. package/dist/{fr-CA-DJSwRuWt.js → fr-CA-DBO_1sfd.js} +128 -880
  132. package/dist/{front-horizontal-hint-DEHmtcdg.js → front-horizontal-hint-LxyNVfjy.js} +1 -1
  133. package/dist/{front-vertical-hint-Cb1NO-xT.js → front-vertical-hint-BKEg_DRs.js} +1 -1
  134. package/dist/geolocation/geolocation.es.js +15 -12
  135. package/dist/government-validation/government-validation.es.js +7 -6
  136. package/dist/{he-D2RDlnbd.js → he-C-PnifVg.js} +129 -881
  137. package/dist/helpButtonConfig-BFragC_J.js +24 -0
  138. package/dist/{hi-DFXhGN9O.js → hi-mETIwcDe.js} +129 -881
  139. package/dist/{hmn-BlNbfL-D.js → hmn-BZabGetu.js} +129 -881
  140. package/dist/{homeScreen-DjzxBrYL.js → homeScreen-CcRzcWya.js} +26 -14
  141. package/dist/{incodeComponent-B-lwJJCV.js → hooks-nmwpawA2.js} +256 -280
  142. package/dist/{hr-DArr3n62.js → hr-DzkTH3cj.js} +128 -880
  143. package/dist/{ht-CAd-Hmi1.js → ht-D5zV7ROu.js} +129 -881
  144. package/dist/{hu-CulT8eq_.js → hu-CeHrYR4q.js} +130 -882
  145. package/dist/{icons-C2LgNjXy.js → icons-DLZTxOV2.js} +153 -80
  146. package/dist/id/id.es.js +167 -197
  147. package/dist/id/styles.css +1 -1
  148. package/dist/id/styles.css.js +1 -1
  149. package/dist/{id-D2VZL6b-.js → id-B_qFrh_W.js} +129 -881
  150. package/dist/{id-back-of-card-C7Au2tqk.js → id-back-of-card-BhF5T4fC.js} +1 -1
  151. package/dist/{id-back-of-card-vertical-CtQBFw8w.js → id-back-of-card-vertical-BudLiGPR.js} +1 -1
  152. package/dist/{id-front-of-card-BmHL_keG.js → id-front-of-card-CiGcJhVW.js} +1 -1
  153. package/dist/{id-front-of-card-vertical-DkNUn2Vx.js → id-front-of-card-vertical-C_GyecLf.js} +1 -1
  154. package/dist/id-selfie-flow/id-selfie-flow.es.js +13 -11
  155. package/dist/id-selfie-flow/styles.css +1 -1
  156. package/dist/id-verification/id-verification.es.js +12 -6
  157. package/dist/idFlipTransition-DuwSIp-D.js +154 -0
  158. package/dist/{idOcr-BWG3vj8j.js → idOcr-DatcQrFh.js} +64 -37
  159. package/dist/identity-reuse/identity-reuse.es.js +38 -25
  160. package/dist/identity-reuse/styles.css.js +1 -0
  161. package/dist/incodeComponent-DFue7FgD.js +235 -0
  162. package/dist/incodeModule-BWSWx6zz.js +41 -0
  163. package/dist/index.es.js +4 -3
  164. package/dist/{inputComposed-B35soRFg.js → inputComposed-6M3lOVUo.js} +4 -4
  165. package/dist/{it-fs9OkGbv.js → it-CwzQoTtJ.js} +130 -882
  166. package/dist/{ja-JP-C5-gDGuX.js → ja-JP-Cg6pV7OS.js} +130 -882
  167. package/dist/{ja-BvKVI6Oo.js → ja-eNtdzeB5.js} +129 -881
  168. package/dist/{jv-CyId7aPo.js → jv-BANHtRb4.js} +128 -880
  169. package/dist/{ka-pqIPc2el.js → ka-DWhlum5Q.js} +129 -881
  170. package/dist/{kk-DK7mWl6k.js → kk-CAsKyYR9.js} +128 -880
  171. package/dist/{km-BaJYdDrm.js → km-DJHdr0lO.js} +137 -889
  172. package/dist/{ko-CdYIGTH_.js → ko-BAPbgx_r.js} +129 -881
  173. package/dist/{ko-KP-Q3GGdDp3.js → ko-KP-BRD8crfV.js} +129 -881
  174. package/dist/{ky-Bc7ZXIXy.js → ky-0IKHwWw_.js} +128 -880
  175. package/dist/kyb-checks/kyb-checks.es.js +2 -0
  176. package/dist/kyb-checks/styles.css +2 -0
  177. package/dist/kyb-checks/styles.css.js +1 -0
  178. package/dist/kybChecksModule-CWFpU32e.js +345 -0
  179. package/dist/kybChecksModule-D3u3hdUP.js +2 -0
  180. package/dist/{lo-0jgAavCe.js → lo-DkBffqOP.js} +129 -881
  181. package/dist/{lt-DDEjR6RD.js → lt-Btf5JQPU.js} +129 -881
  182. package/dist/{lv-Ddzb_N3H.js → lv-DMnPY0bZ.js} +129 -881
  183. package/dist/{mandatoryConsent-C21a2d2-.js → mandatoryConsent-Ci6fJR2F.js} +23 -16
  184. package/dist/{manualCaptureButton-1KC7N_B-.js → manualCaptureButton-DrdeVhq8.js} +8 -7
  185. package/dist/{manualCaptureButton-C5VMDamt.js → manualCaptureButton-ZxWHf5Sa.js} +16 -12
  186. package/dist/{mk-SJwou4aX.js → mk-CQIDbtM2.js} +129 -881
  187. package/dist/{mn-7B86xjpb.js → mn-Cc1HnwyR.js} +128 -880
  188. package/dist/{ms-Bb-SlQCF.js → ms-CORA9eaw.js} +128 -880
  189. package/dist/{my-3ci4RJZY.js → my-CNDvlF-Z.js} +129 -881
  190. package/dist/{nb-NO-DpZAni0R.js → nb-NO-BwZ27fuH.js} +128 -880
  191. package/dist/{ne-Dncyvxqt.js → ne-D7rkhft1.js} +129 -881
  192. package/dist/{nl-C1mnzCBH.js → nl-DsxNMb79.js} +129 -881
  193. package/dist/{optionAccessibleLabel-DG8Lks9f.js → optionAccessibleLabel-Cz2x8Q7x.js} +27 -11
  194. package/dist/otpInput-B2fLiJsF.js +245 -0
  195. package/dist/{page-DINsqGIw.js → page-B0CjRMtF.js} +102 -79
  196. package/dist/{incode-logo-B1bl2S0z.js → pageUiConfig-mKn_YhhU.js} +88 -14
  197. package/dist/{passport-horizontal-hint-DgNc6F0-.js → passport-horizontal-hint-Bn18pckF.js} +1 -1
  198. package/dist/{passport-vertical-hint-B-toVsfT.js → passport-vertical-hint-D_bvTNZY.js} +1 -1
  199. package/dist/passwordRequirements-13qw_WSJ.js +49 -0
  200. package/dist/{pdf-BKHLi5Ac.js → pdf-DO_HvE8T.js} +2 -17
  201. package/dist/pdfViewer-CCHNUl5h.js +2 -0
  202. package/dist/{pdfViewer-C8xHykz1.js → pdfViewer-pgBIY_Q7.js} +11 -14
  203. package/dist/permissionInstructionList-DPDqNKFJ.js +43 -0
  204. package/dist/{permissions-B7-lHrFm.js → permissions-CKjgrM7q.js} +84 -53
  205. package/dist/phone/phone.es.js +16 -12
  206. package/dist/{phoneInputComposed-Di4acsc0.js → phoneInputComposed-BbZuW8Q8.js} +49 -12
  207. package/dist/{pl-CWr2fVBg.js → pl-DOgi6huc.js} +128 -880
  208. package/dist/preloadableLazy-KWGuHoqn.js +43 -0
  209. package/dist/{processing-z5wuXrKw.js → processing-v4EkL9-U.js} +2 -2
  210. package/dist/{progressBar-BcKFaXZR.js → progressBar-D-kfX8X1.js} +2 -2
  211. package/dist/{pt-BR-CMvTsOqE.js → pt-BR-x__xGSN_.js} +129 -881
  212. package/dist/{pt-AGz2XGAK.js → pt-CX0ngiGh.js} +129 -881
  213. package/dist/{pt-PT-KzIM0vpf.js → pt-PT-BKwyOX-W.js} +129 -881
  214. package/dist/qe-signature/qe-signature.es.js +4 -4
  215. package/dist/realtimeFeedbackConfig-DeZksjlR.js +16 -0
  216. package/dist/redirect-to-mobile/redirect-to-mobile.es.js +66 -62
  217. package/dist/redirect-to-mobile/styles.css +1 -1
  218. package/dist/redirect-to-mobile/styles.css.js +1 -1
  219. package/dist/{registerIncodeElement-D_cn4dSI.js → registerIncodeElement-FoirFu19.js} +1 -1
  220. package/dist/{resendTimer-On_zrMLS.js → resendTimer-DHgQUcAi.js} +2 -2
  221. package/dist/richText-DlHC_sMB.js +1761 -0
  222. package/dist/{ro-DYdJJDKn.js → ro-DGB5aI9B.js} +129 -881
  223. package/dist/{ru-C1cguVi2.js → ru-Dnl6YnE6.js} +129 -881
  224. package/dist/{ru-RU-18JeDfwz.js → ru-RU-BM5Leyxp.js} +128 -880
  225. package/dist/{sanitizeSvg-BC-qLUgS.js → sanitizeSvg-IfqLuP1N.js} +1 -1
  226. package/dist/selfie/selfie.es.js +37 -14
  227. package/dist/selfie/styles.css +1 -1
  228. package/dist/selfie/styles.css.js +1 -1
  229. package/dist/signature/signature.es.js +18 -13
  230. package/dist/{sk-CtIcnYOo.js → sk-B4HQZzV6.js} +131 -883
  231. package/dist/{sl-DS_Gc0Wc.js → sl-ClgVmZ1h.js} +129 -881
  232. package/dist/{smsTabContent-vE0WyKtg.js → smsTabContent-D9Eb005G.js} +40 -27
  233. package/dist/{so-dqMTkg5E.js → so-BLFIV5-m.js} +129 -881
  234. package/dist/spacer-D5j2phXI.js +1100 -0
  235. package/dist/spinner-BeYdZjPC.js +69 -0
  236. package/dist/{sr-DgHGiiWM.js → sr-CkSmwRiY.js} +128 -880
  237. package/dist/{sr-Latn-Du7_x_Tr.js → sr-Latn-BdLB-I3Z.js} +136 -888
  238. package/dist/sr-YU-DJ3geBJs.js +5 -0
  239. package/dist/{sv-SE-Dw61hRjx.js → sv-SE-DEfqYDzZ.js} +128 -880
  240. package/dist/{sw-De-Jo8XY.js → sw-16U52YpC.js} +129 -881
  241. package/dist/{th-BJixOgsM.js → th-Cg0hYujg.js} +129 -881
  242. package/dist/{th-TH-VyhljC5U.js → th-TH-BBPg926O.js} +129 -881
  243. package/dist/themes/dark.css +1 -1
  244. package/dist/themes/light.css +1 -1
  245. package/dist/{tl-PH-D2S2Irx7.js → tl-PH-DSHq83jb.js} +129 -881
  246. package/dist/{tl-DhjdqhA4.js → tl-SL2bqb6j.js} +129 -881
  247. package/dist/{tr-BJAuvOwN.js → tr-DclJKp5i.js} +130 -882
  248. package/dist/{transitionSpinner-BZO916B1.js → transitionSpinner-b8SMrhfd.js} +7 -7
  249. package/dist/tutorial-0IhGg6rb.js +28 -0
  250. package/dist/types/ae-signature.d.ts +17 -4
  251. package/dist/types/antifraud.d.ts +17 -4
  252. package/dist/types/authentication.d.ts +17 -4
  253. package/dist/types/certificate-issuance.d.ts +17 -4
  254. package/dist/types/consent.d.ts +17 -4
  255. package/dist/types/cross-document-data-match.d.ts +17 -4
  256. package/dist/types/curp-validation.d.ts +17 -4
  257. package/dist/types/document-capture.d.ts +17 -4
  258. package/dist/types/dynamic-forms.d.ts +17 -4
  259. package/dist/types/ekyb.d.ts +17 -4
  260. package/dist/types/ekyc-prefill.d.ts +213 -0
  261. package/dist/types/ekyc.d.ts +17 -4
  262. package/dist/types/electronic-signature.d.ts +17 -4
  263. package/dist/types/email.d.ts +17 -4
  264. package/dist/types/extensibility.d.ts +204 -37
  265. package/dist/types/face-match.d.ts +17 -4
  266. package/dist/types/field-comparison.d.ts +17 -4
  267. package/dist/types/fiscal-qr.d.ts +17 -4
  268. package/dist/types/flow.d.ts +38 -5
  269. package/dist/types/geolocation.d.ts +17 -4
  270. package/dist/types/government-validation.d.ts +17 -4
  271. package/dist/types/id-selfie-flow.d.ts +17 -4
  272. package/dist/types/id-verification.d.ts +17 -4
  273. package/dist/types/id.d.ts +17 -4
  274. package/dist/types/identity-reuse.d.ts +18 -5
  275. package/dist/types/index.d.ts +92 -10
  276. package/dist/types/kyb-checks.d.ts +213 -0
  277. package/dist/types/phone.d.ts +17 -4
  278. package/dist/types/qe-signature.d.ts +17 -4
  279. package/dist/types/redirect-to-mobile.d.ts +1 -1
  280. package/dist/types/selfie.d.ts +17 -4
  281. package/dist/types/signature.d.ts +17 -4
  282. package/dist/types/video-selfie.d.ts +1 -1
  283. package/dist/types/watchlist.d.ts +17 -4
  284. package/dist/types/workflow.d.ts +17 -4
  285. package/dist/{typography-8iwtPQbj.js → typography-D3swFCxZ.js} +3 -11
  286. package/dist/{uk-CcU91ee-.js → uk-CfFK_Tnk.js} +128 -880
  287. package/dist/{uk-UA-BZR90qDZ.js → uk-UA-vkh8X4bX.js} +129 -881
  288. package/dist/{ur-CIXtUYHK.js → ur-32a-9tt8.js} +129 -881
  289. package/dist/useCameraPreview-hNLhri73.js +93 -0
  290. package/dist/useCaptureHelpButton-BJQvSkuJ.js +43 -0
  291. package/dist/useIsDarkTheme-DoOFy9TN.js +27 -0
  292. package/dist/{useModuleLoader-BdIp6TNQ.js → useModuleLoader-BCYS1xLP.js} +31 -18
  293. package/dist/{uz-CeLVgwAD.js → uz-BEx-De8I.js} +129 -881
  294. package/dist/{vendor-preact-C0jX1Cbq.js → vendor-preact-CjnloSla.js} +147 -5
  295. package/dist/{verificationResult-C2gxbmAo.js → verificationResult-tHoFvrGZ.js} +30 -27
  296. package/dist/{vi-CgfGVVLY.js → vi-CMQXfqfw.js} +129 -881
  297. package/dist/video-selfie/styles.css +1 -1
  298. package/dist/video-selfie/styles.css.js +1 -1
  299. package/dist/video-selfie/video-selfie.es.js +120 -77
  300. package/dist/watchlist/watchlist.es.js +12 -9
  301. package/dist/{watchlistForBusiness-eOPtmu7z.js → watchlistForBusiness-CbRaBYoJ.js} +63 -22
  302. package/dist/{withEndScreenTexts-aFUEeBgM.js → withEndScreenTexts-10ck20tq.js} +253 -55
  303. package/dist/workflow/styles.css +1 -1
  304. package/dist/workflow/workflow.es.js +36 -28
  305. package/dist/{zh-CN-BOxod1_T.js → zh-CN-BelxA_Rf.js} +128 -880
  306. package/dist/{zh-HANT-zAahQ8nP.js → zh-HANT-DsztptZA.js} +129 -881
  307. package/dist/{zh-TW-B0v7GYYG.js → zh-TW-DKQC3FXd.js} +129 -881
  308. package/dist/{zh-B-kjeCig.js → zh-v3x4XYal.js} +128 -880
  309. package/package.json +48 -12
  310. package/dist/autoFocusTitle-Cy0J3lvr.js +0 -32
  311. package/dist/browser-ponyfill-DT11p-Ob.js +0 -441
  312. package/dist/cameraOverlay-DQEG24io.js +0 -2
  313. package/dist/check-icon-BpjpKqhJ.js +0 -48
  314. package/dist/connectionError-Cf6iGFyx.js +0 -45
  315. package/dist/dashboardTheme-CkyISqIs.js +0 -247
  316. package/dist/dateInputComposed-cgZGBSiu.js +0 -1
  317. package/dist/denied-ByGDWkTW.js +0 -1871
  318. package/dist/deviceWallet-C4UT05wN.js +0 -66
  319. package/dist/documentCapture-Dh1ftzGG.js +0 -2
  320. package/dist/dropdownComposed-DmT4s8VM.js +0 -1
  321. package/dist/ekybModule-BHInfPHS.js +0 -2
  322. package/dist/ekycModule-B2cfT3zi.js +0 -2
  323. package/dist/ekycModule-BQPl1KQT.js +0 -300
  324. package/dist/es-419-BU7r2Fvh.js +0 -3193
  325. package/dist/esm-15CISqPe.js +0 -430
  326. package/dist/expiredId-GIHjGAuY.js +0 -80
  327. package/dist/faceMatch-bXhejzhf.js +0 -2
  328. package/dist/fieldComparison-BirXQb7f.js +0 -2
  329. package/dist/fieldComparison-D8PL0eR1.js +0 -109
  330. package/dist/flipAnimation-BgMPQ8Ma.js +0 -3048
  331. package/dist/formField-0k8wVfXl.js +0 -60
  332. package/dist/incodeModule-DiVtqekm.js +0 -68
  333. package/dist/inputComposed-CKujYUSB.js +0 -1
  334. package/dist/numberedStep-CvbL3ht2.js +0 -13
  335. package/dist/otpInput-_B7xEZUU.js +0 -157
  336. package/dist/passwordInputComposed-B3WKjODU.js +0 -74
  337. package/dist/pdfViewer-DcB41xr7.js +0 -2
  338. package/dist/radioGroupComposed-CIbHjX4v.js +0 -160
  339. package/dist/radioGroupComposed-eXNWg1ez.js +0 -1
  340. package/dist/reload-icon-elAFo9-k.js +0 -70
  341. package/dist/richText-aCnLd3j2.js +0 -1549
  342. package/dist/spacer-lcnhSC-5.js +0 -741
  343. package/dist/spinner-B8BswhBb.js +0 -88
  344. package/dist/sr-YU-YuZu7wdb.js +0 -3197
  345. package/dist/statusPage-WIsGgf_m.js +0 -36
  346. package/dist/uiConfig-CwGL3QjP.js +0 -2589
  347. package/dist/useCaptureHelpButton-BTUZs3Ev.js +0 -86
  348. package/dist/useCoverMedia-VLw3OYN_.js +0 -149
  349. /package/dist/{aligndevicelottie-BARt-rhe.js → aligndevicelottie-BEKzL4SB.js} +0 -0
  350. /package/dist/{back-tutorial-CZrMmj1_.js → back-tutorial-B9W63fa-.js} +0 -0
  351. /package/dist/{backdevicelottie-CIM3ekd8.js → backdevicelottie-DsN8QBV3.js} +0 -0
  352. /package/dist/{blurdevicelottie-BRyXfLB6.js → blurdevicelottie-DkV7Kwo4.js} +0 -0
  353. /package/dist/{defineProperty-CjeJoXkx.js → defineProperty-B4FQTz14.js} +0 -0
  354. /package/dist/{flip-animation-BU5LNKYx.js → flip-animation-DJVnWWL5.js} +0 -0
  355. /package/dist/{frontdevicelottie-arpyu_Fz.js → frontdevicelottie-DiW1Wmya.js} +0 -0
  356. /package/dist/{glaredevicelottie-TwTFxe7h.js → glaredevicelottie-CK-fnX_s.js} +0 -0
  357. /package/dist/{id-laser-h-Dr-hBxrq.js → id-laser-h-6Am_cjM8.js} +0 -0
  358. /package/dist/{id-laser-v-D_r0QNY8.js → id-laser-v-DXoF3flH.js} +0 -0
  359. /package/dist/{id-tutorial-DM9Pkfs-.js → id-tutorial-DkKH3eTE.js} +0 -0
  360. /package/dist/{lottie_light-aMg9Q9iO.js → lottie_light-Bam05Bc9.js} +0 -0
  361. /package/dist/{passport-tutorial-CKZZuDf_.js → passport-tutorial-D3Fpk-Tj.js} +0 -0
  362. /package/dist/{pdf.worker.min-BM1b2w9V.js → pdf.worker.min-D0hm-8jN.js} +0 -0
  363. /package/dist/{policyUrls-B3M8nLRh.js → policyUrls-B3TEaluh.js} +0 -0
  364. /package/dist/{purify.es-0fCPkEV1.js → purify.es-DhY3JLdI.js} +0 -0
  365. /package/dist/{selfieTutorial-Dz6lDFMn.js → selfieTutorial-DnsRD1Z9.js} +0 -0
@@ -1,13 +1,15 @@
1
- import { o as useTranslation } from "./uiConfig-CwGL3QjP.js";
2
- import { _ as y, v as u } from "./vendor-preact-C0jX1Cbq.js";
3
- import { a as withStandaloneModuleBootstrap, t as IncodeComponent, x as useManager, y as useModuleTerminalCallbacks } from "./incodeComponent-B-lwJJCV.js";
4
- import { n as LoadingIcon } from "./spacer-lcnhSC-5.js";
5
- import { r as SuccessIcon, x as Button } from "./icons-C2LgNjXy.js";
6
- import { t as Page } from "./page-DINsqGIw.js";
7
- import { t as StatusPage } from "./statusPage-WIsGgf_m.js";
8
- import { t as InputComposed } from "./inputComposed-B35soRFg.js";
9
- import { t as registerIncodeModuleElement } from "./incodeModule-DiVtqekm.js";
10
- import { t as CountrySelector } from "./countrySelector-DKvvYxP6.js";
1
+ import { u as useTranslation } from "./devWarn-CXWsIkak.js";
2
+ import { b as y, x as u } from "./vendor-preact-CjnloSla.js";
3
+ import { b as PrizmaButton } from "./icons-DLZTxOV2.js";
4
+ import { t as PrizmaTextField } from "./TextField-MsdsbAbT.js";
5
+ import { t as Page } from "./page-B0CjRMtF.js";
6
+ import { n as StatusPage } from "./connectionError-BFVvBEMq.js";
7
+ import { _ as useModuleTerminalCallbacks, t as withStandaloneModuleBootstrap, y as useManager } from "./hooks-nmwpawA2.js";
8
+ import { t as IncodeComponent } from "./incodeComponent-DFue7FgD.js";
9
+ import { t as DateInputComposed } from "./dateInputComposed-CVJ4LSep.js";
10
+ import { t as CountrySelector } from "./countrySelector-CEJAgeRY.js";
11
+ import { t as registerIncodeModuleElement } from "./incodeModule-BWSWx6zz.js";
12
+ import { t as PrizmaRequiredLegend } from "./RequiredLegend-CLQ0HX7d.js";
11
13
  import { createWatchlistForBusinessManager } from "@incodetech/core/watchlist-for-business";
12
14
  //#region src/shared/countries/allCountryCodes.ts
13
15
  var ALL_COUNTRY_CODES = [
@@ -264,9 +266,9 @@ var ALL_COUNTRY_CODES = [
264
266
  //#endregion
265
267
  //#region src/modules/watchlist-for-business/watchlistForBusiness.tsx
266
268
  var NO_DEV_ONLY_COUNTRIES = [];
267
- var WatchlistForBusinessContent = ({ manager: externalManager, onFinish }) => {
269
+ var WatchlistForBusinessContent = ({ config, manager: externalManager, onFinish }) => {
268
270
  const { t } = useTranslation();
269
- const [state, manager] = useManager(() => externalManager ?? createWatchlistForBusinessManager(), { manageLifecycle: !externalManager });
271
+ const [state, manager] = useManager(() => externalManager ?? createWatchlistForBusinessManager({ config }), { manageLifecycle: !externalManager });
270
272
  y(() => {
271
273
  manager.load();
272
274
  }, [manager]);
@@ -277,25 +279,32 @@ var WatchlistForBusinessContent = ({ manager: externalManager, onFinish }) => {
277
279
  if (state.status === "finished") return null;
278
280
  if (state.status === "submitting") return /* @__PURE__ */ u(StatusPage, {
279
281
  variant: "loading",
280
- icon: /* @__PURE__ */ u(LoadingIcon, { size: 64 }),
282
+ icon: { type: "spinner" },
281
283
  title: t("watchlistForBusiness.processing"),
282
284
  subtitle: t("common.wontTakeLong")
283
285
  });
284
286
  if (state.status === "success") return /* @__PURE__ */ u(StatusPage, {
285
287
  variant: "success",
286
- icon: /* @__PURE__ */ u(SuccessIcon, { size: 64 }),
288
+ icon: {
289
+ type: "status",
290
+ status: "success"
291
+ },
287
292
  title: t("common.done")
288
293
  });
289
294
  if (state.status === "form" || state.status === "idle") {
290
295
  const formState = state.status === "form" ? state : null;
291
296
  const businessNameError = formState?.validationErrors?.businessName;
297
+ const taxIdError = formState?.validationErrors?.taxId;
298
+ const dateOfIncorporationError = formState?.validationErrors?.dateOfIncorporation;
292
299
  return /* @__PURE__ */ u(Page, {
293
300
  className: "IncodeWatchlistForBusinessPage",
294
301
  title: t("watchlistForBusiness.title"),
295
- subtitle: t("forms.subtitle"),
296
302
  hideFooterBranding: true,
297
303
  "data-testid": "watchlist-for-business-page",
298
- children: /* @__PURE__ */ u("form", {
304
+ children: [/* @__PURE__ */ u(PrizmaRequiredLegend, {
305
+ className: "IncodeRequiredLegend",
306
+ children: t("forms.subtitle")
307
+ }), /* @__PURE__ */ u("form", {
299
308
  class: "IncodeWatchlistForBusinessForm",
300
309
  "data-testid": "watchlist-for-business-form",
301
310
  noValidate: true,
@@ -314,31 +323,63 @@ var WatchlistForBusinessContent = ({ manager: externalManager, onFinish }) => {
314
323
  devOnlyCountryCodes: NO_DEV_ONLY_COUNTRIES,
315
324
  "data-testid": "watchlist-for-business-country-selector"
316
325
  }),
317
- /* @__PURE__ */ u(InputComposed, {
326
+ /* @__PURE__ */ u(PrizmaTextField, {
327
+ className: "IncodeInputComposed",
328
+ inputClassName: "IncodeInput",
329
+ clearable: false,
318
330
  id: "businessName",
319
331
  name: "businessName",
320
332
  label: t("watchlistForBusiness.businessName"),
321
333
  "data-testid": "watchlist-for-business-name",
322
334
  autoComplete: "organization",
323
335
  required: true,
324
- error: businessNameError ? t(businessNameError) : void 0,
325
- showErrorIcon: !!businessNameError,
336
+ error: !!businessNameError,
337
+ errorText: businessNameError ? t(businessNameError) : void 0,
326
338
  value: formState?.businessName ?? "",
327
339
  onInput: (e) => manager.setBusinessName(e.target.value)
328
340
  }),
329
- /* @__PURE__ */ u(Button, {
341
+ formState?.showTaxId && /* @__PURE__ */ u(PrizmaTextField, {
342
+ className: "IncodeInputComposed",
343
+ inputClassName: "IncodeInput",
344
+ clearable: false,
345
+ id: "taxId",
346
+ name: "taxId",
347
+ label: t("watchlistForBusiness.taxIdOptional", { defaultValue: "Tax ID (optional)" }),
348
+ "data-testid": "watchlist-for-business-tax-id",
349
+ autoComplete: "off",
350
+ error: !!taxIdError,
351
+ errorText: taxIdError ? t(taxIdError) : void 0,
352
+ value: formState.taxId,
353
+ onInput: (e) => manager.setTaxId(e.target.value)
354
+ }),
355
+ formState?.showDateOfIncorporation && /* @__PURE__ */ u(DateInputComposed, {
356
+ id: "dateOfIncorporation",
357
+ name: "dateOfIncorporation",
358
+ label: t("watchlistForBusiness.dateOfIncorporationOptional", { defaultValue: "Date of incorporation (optional)" }),
359
+ "data-testid": "watchlist-for-business-date-of-incorporation",
360
+ max: formState.maxDateOfIncorporation,
361
+ error: dateOfIncorporationError ? t(dateOfIncorporationError, { defaultValue: "Date of incorporation cannot be in the future" }) : void 0,
362
+ showErrorIcon: !!dateOfIncorporationError,
363
+ value: formState.dateOfIncorporation,
364
+ onInput: (e) => manager.setDateOfIncorporation(e.target.value)
365
+ }),
366
+ /* @__PURE__ */ u(PrizmaButton, {
367
+ variant: "primary",
368
+ size: "L",
369
+ className: "IncodeButton IncodeButtonPrimary IncodeButtonL",
330
370
  type: "submit",
331
371
  disabled: formState ? !formState.canSubmit : false,
332
372
  "data-testid": "watchlist-for-business-submit",
333
373
  children: t("watchlistForBusiness.continue")
334
374
  })
335
375
  ]
336
- })
376
+ })]
337
377
  });
338
378
  }
339
379
  return null;
340
380
  };
341
- var WatchlistForBusinessWithLocalConfig = ({ manager, onFinish }) => /* @__PURE__ */ u(IncodeComponent, { children: /* @__PURE__ */ u(WatchlistForBusinessContent, {
381
+ var WatchlistForBusinessWithLocalConfig = ({ config, manager, onFinish }) => /* @__PURE__ */ u(IncodeComponent, { children: /* @__PURE__ */ u(WatchlistForBusinessContent, {
382
+ config,
342
383
  manager,
343
384
  onFinish
344
385
  }) });
@@ -1,12 +1,12 @@
1
- import { c as setI18nInstance, l as createI18n, s as hasI18nInstance } from "./uiConfig-CwGL3QjP.js";
2
- import { v as u } from "./vendor-preact-C0jX1Cbq.js";
3
- import { a as getStandaloneSetupPolicy, n as preloadDashboardTheme } from "./dashboardTheme-CkyISqIs.js";
4
- import "./incodeComponent-B-lwJJCV.js";
5
- import { x as Button } from "./icons-C2LgNjXy.js";
6
- import { initializeWasmUtil, resolveWasmConfigForPipelines, setWasmConfig, upgradeToWasmHttpClient, warmupWasm } from "@incodetech/core/wasm";
7
- import { getFinishStatus, initializeSession } from "@incodetech/core/session";
1
+ import { a as toThemeUiConfig, f as hasI18nInstance, m as createI18n, p as setI18nInstance } from "./devWarn-CXWsIkak.js";
2
+ import { x as u } from "./vendor-preact-CjnloSla.js";
3
+ import { a as getStandaloneSetupPolicy, n as preloadDashboardTheme } from "./dashboardTheme-CB91NoiD.js";
4
+ import { b as PrizmaButton } from "./icons-DLZTxOV2.js";
5
+ import "./hooks-nmwpawA2.js";
6
+ import { initializeWasmUtil, resolveWasmConfigForPipelines, setWasmConfig, warmupWasm } from "@incodetech/core/wasm";
7
+ import { QR_VALIDATION_ERROR_CODES, SESSION_CONTINUE_ERROR_CODES, getFinishStatus, initializeSession } from "@incodetech/core/session";
8
8
  import { isDesktopOrEmulated } from "@incodetech/core/device";
9
- import { createOrchestratedFlowManager, getFlow } from "@incodetech/core/flow";
9
+ import { createOrchestratedFlowManager, getFirstFlowModuleKey, getFlow, preloadDashboardFlow } from "@incodetech/core/flow";
10
10
  //#region src/shared/selfLoading/resolveSessionLanguage.ts
11
11
  function normalizeSessionLanguage(language) {
12
12
  const prefix = language?.toLowerCase().split("-")[0];
@@ -31,21 +31,192 @@ function isDesktopOrEmulated$1() {
31
31
  return isDesktopOrEmulated();
32
32
  }
33
33
  //#endregion
34
+ //#region src/modules/flow/loadFlowStylesheets.ts
35
+ var loads = /* @__PURE__ */ new WeakMap();
36
+ /** Keep module sheets after base.css, in CSS import order rather than fetch order. */
37
+ function loadFlowStylesheet(load, order, nonce) {
38
+ let documentLoads = loads.get(document);
39
+ if (!documentLoads) {
40
+ documentLoads = /* @__PURE__ */ new Map();
41
+ loads.set(document, documentLoads);
42
+ }
43
+ const cached = documentLoads.get(load);
44
+ if (cached) return cached;
45
+ const promise = load().then(({ default: css }) => {
46
+ const style = document.createElement("style");
47
+ style.dataset.incodeFlowCss = String(order);
48
+ if (nonce) style.nonce = nonce;
49
+ style.textContent = css;
50
+ const owned = Array.from(document.head.querySelectorAll("style[data-incode-flow-css]"));
51
+ const next = owned.find((sheet) => Number(sheet.dataset.incodeFlowCss) > order);
52
+ const last = owned[owned.length - 1];
53
+ document.head.insertBefore(style, next ?? (last ? last.nextSibling : null));
54
+ if (!style.sheet) {
55
+ style.remove();
56
+ throw new Error("Flow stylesheet blocked; check the Content Security Policy and cssNonce");
57
+ }
58
+ }).catch((error) => {
59
+ documentLoads.delete(load);
60
+ throw error;
61
+ });
62
+ documentLoads.set(load, promise);
63
+ return promise;
64
+ }
65
+ //#endregion
66
+ //#region src/modules/flow/flowStyles.ts
67
+ var shell = () => import("./flow/shell/styles.css.js");
68
+ var moduleSheets = [
69
+ {
70
+ keys: [
71
+ "SELFIE",
72
+ "AUTHENTICATION",
73
+ "VIDEO_ONBOARDING"
74
+ ],
75
+ load: () => import("./selfie/styles.css.js")
76
+ },
77
+ {
78
+ keys: ["PHONE"],
79
+ load: () => import("./phone/styles.css.js")
80
+ },
81
+ {
82
+ keys: ["EMAIL", "DYNAMIC_FORMS"],
83
+ load: () => import("./email/styles.css.js")
84
+ },
85
+ {
86
+ keys: ["FACE_MATCH"],
87
+ load: () => import("./face-match/styles.css.js")
88
+ },
89
+ {
90
+ keys: ["GOVT_VALIDATION_PROVISIONING", "INE_VALIDATION"],
91
+ load: () => import("./government-validation/styles.css.js")
92
+ },
93
+ {
94
+ keys: [
95
+ "ID",
96
+ "ID_CAPTURE",
97
+ "TUTORIAL_ID",
98
+ "SECOND_ID",
99
+ "VIDEO_ONBOARDING"
100
+ ],
101
+ load: () => import("./id/styles.css.js")
102
+ },
103
+ {
104
+ keys: ["ID_OCR"],
105
+ load: () => import("./id-ocr/styles.css.js")
106
+ },
107
+ {
108
+ keys: ["DOCUMENT_CAPTURE", "ADDRESS"],
109
+ load: () => import("./document-capture/styles.css.js")
110
+ },
111
+ {
112
+ keys: ["CURP_VALIDATION"],
113
+ load: () => import("./curp-validation/styles.css.js")
114
+ },
115
+ {
116
+ keys: ["GEOLOCATION"],
117
+ load: () => import("./geolocation/styles.css.js")
118
+ },
119
+ {
120
+ keys: ["EXTERNAL_VERIFICATION"],
121
+ load: () => import("./ekyc/styles.css.js")
122
+ },
123
+ {
124
+ keys: ["EKYB"],
125
+ load: () => import("./ekyb/styles.css.js")
126
+ },
127
+ {
128
+ keys: ["EKYB_CHECKS"],
129
+ load: () => import("./kyb-checks/styles.css.js")
130
+ },
131
+ {
132
+ keys: ["EKYC_PREFILL"],
133
+ load: () => import("./ekyc-prefill/styles.css.js")
134
+ },
135
+ {
136
+ keys: ["REDIRECT_TO_MOBILE"],
137
+ load: () => import("./redirect-to-mobile/styles.css.js")
138
+ },
139
+ {
140
+ keys: [
141
+ "COMBINED_CONSENT",
142
+ "MANDATORY_CONSENT",
143
+ "ML_CONSENT"
144
+ ],
145
+ load: () => import("./consent/styles.css.js")
146
+ },
147
+ {
148
+ keys: ["CUSTOM_FIELDS"],
149
+ load: () => import("./custom-fields/styles.css.js")
150
+ },
151
+ {
152
+ keys: ["DYNAMIC_FORMS"],
153
+ load: () => import("./dynamic-forms/styles.css.js")
154
+ },
155
+ {
156
+ keys: ["SIGNATURE"],
157
+ load: () => import("./signature/styles.css.js")
158
+ },
159
+ {
160
+ keys: ["FIELD_COMPARISON"],
161
+ load: () => import("./field-comparison/styles.css.js")
162
+ },
163
+ {
164
+ keys: ["WATCHLIST_BUSINESS"],
165
+ load: () => import("./watchlist-for-business/styles.css.js")
166
+ },
167
+ {
168
+ keys: ["AE_SIGNATURE", "QE_SIGNATURE"],
169
+ load: () => import("./electronic-signature/styles.css.js")
170
+ },
171
+ {
172
+ keys: ["CERTIFICATE_ISSUANCE"],
173
+ load: () => import("./certificate-issuance/styles.css.js")
174
+ },
175
+ {
176
+ keys: ["FISCAL_QR"],
177
+ load: () => import("./fiscal-qr/styles.css.js")
178
+ },
179
+ {
180
+ keys: ["VIDEO_ONBOARDING"],
181
+ load: () => import("./video-selfie/styles.css.js")
182
+ },
183
+ {
184
+ keys: ["IDENTITY_REUSE"],
185
+ load: () => import("./identity-reuse/styles.css.js")
186
+ }
187
+ ];
188
+ async function loadFlowStyles(moduleKey, nonce) {
189
+ const pending = [loadFlowStylesheet(shell, moduleSheets.length, nonce)];
190
+ if (moduleKey) moduleSheets.forEach((sheet, index) => {
191
+ if (sheet.keys.includes(moduleKey)) pending.push(loadFlowStylesheet(sheet.load, index, nonce));
192
+ });
193
+ await Promise.all(pending);
194
+ }
195
+ //#endregion
34
196
  //#region src/modules/flow/flowInit.ts
35
197
  var lazyIdModule = () => import("./id/id.es.js").then((m) => m.Id);
36
- var loadLazyHomeScreen = () => import("./homeScreen-DjzxBrYL.js").then((m) => m.HomeScreen);
198
+ var loadLazyHomeScreen = () => import("./homeScreen-CcRzcWya.js").then((m) => m.HomeScreen);
37
199
  var homeScreenPreloadPromise;
38
200
  /**
39
201
  * Headless flow keys: backend-only steps with no UI. `<incode-flow>` renders
40
- * an empty shell while the core machine for the step runs and resolves —
41
- * see `flow.tsx`. Each key still resolves to its own core machine inside
42
- * `getLazyCoreMachineLoader` (e.g. `IP_ADDRESS` → `noOpFlowModuleMachine`,
43
- * `TRUST_GRAPH` → `trustGraphMachine`).
202
+ * an empty shell while the core machine for the step runs and resolves, and a
203
+ * spinner when it takes longer than a moment — see `flow.tsx`. Each key still
204
+ * resolves to its own core machine inside `getLazyCoreMachineLoader` (e.g.
205
+ * `IP_ADDRESS` → `noOpFlowModuleMachine`, `TRUST_GRAPH` → `trustGraphMachine`).
206
+ * `IDENTITY_SEARCH` → `identitySearchMachine` calls the search as soon as it
207
+ * starts and finishes on its own, whether the search answers or fails.
44
208
  */
45
- var HEADLESS_FLOW_MODULE_KEYS = new Set(["IP_ADDRESS", "TRUST_GRAPH"]);
209
+ var HEADLESS_FLOW_MODULE_KEYS = new Set([
210
+ "IP_ADDRESS",
211
+ "TRUST_GRAPH",
212
+ "IDENTITY_SEARCH"
213
+ ]);
46
214
  function getLazyCoreMachineLoader(moduleKey) {
47
215
  if (moduleKey === "IP_ADDRESS") return () => import("@incodetech/core/flow").then((m) => m.noOpFlowModuleMachine);
48
216
  if (moduleKey === "TRUST_GRAPH") return () => import("@incodetech/core/trust-graph").then((m) => m.trustGraphMachine);
217
+ if (moduleKey === "IDENTITY_SEARCH") return () => import("@incodetech/core/identity-search").then((m) => m.identitySearchMachine);
218
+ if (moduleKey === "IDENTITY_REUSE") return () => import("@incodetech/core/identity-reuse").then((m) => m.identityReuseMachine);
219
+ if (moduleKey === "ID_VALIDATION") return () => import("@incodetech/core/id-verification").then((m) => m.idVerificationMachine);
49
220
  if (moduleKey === "REDIRECT_TO_MOBILE") return () => import("@incodetech/core/redirect-to-mobile").then((m) => m.redirectToMobileMachine);
50
221
  if (moduleKey === "PHONE") return () => import("@incodetech/core/phone").then((m) => m.phoneMachine);
51
222
  if (moduleKey === "EMAIL") return () => import("@incodetech/core/email").then((m) => m.emailMachine);
@@ -59,6 +230,8 @@ function getLazyCoreMachineLoader(moduleKey) {
59
230
  if (moduleKey === "GEOLOCATION") return () => import("@incodetech/core/geolocation").then((m) => m.geolocationMachine);
60
231
  if (moduleKey === "EXTERNAL_VERIFICATION") return () => import("@incodetech/core/ekyc").then((m) => m.ekycMachine);
61
232
  if (moduleKey === "EKYB") return () => import("@incodetech/core/ekyb").then((m) => m.ekybMachine);
233
+ if (moduleKey === "EKYB_CHECKS") return () => import("@incodetech/core/kyb-checks").then((m) => m.kybChecksMachine);
234
+ if (moduleKey === "EKYC_PREFILL") return () => import("@incodetech/core/ekyc-prefill").then((m) => m.ekycPrefillMachine);
62
235
  if (moduleKey === "DOCUMENT_CAPTURE" || moduleKey === "ADDRESS") return () => import("@incodetech/core/document-capture").then((m) => m.documentCaptureMachine);
63
236
  if (moduleKey === "COMBINED_CONSENT") return () => import("@incodetech/core/consent").then((m) => m.consentMachine);
64
237
  if (moduleKey === "MANDATORY_CONSENT" || moduleKey === "ML_CONSENT") return () => import("@incodetech/core/mandatory-consent").then((m) => m.mandatoryConsentMachine);
@@ -97,31 +270,35 @@ var LAZY_UI_MODULES = {
97
270
  ID_CAPTURE: lazyIdModule,
98
271
  TUTORIAL_ID: lazyIdModule,
99
272
  SECOND_ID: lazyIdModule,
100
- FACE_MATCH: () => import("./faceMatch-bXhejzhf.js").then((m) => m.FaceMatch),
273
+ FACE_MATCH: () => import("./faceMatch-RxP2VPBm.js").then((m) => m.FaceMatch),
274
+ IDENTITY_REUSE: () => import("./identity-reuse/identity-reuse.es.js").then((m) => m.IdentityReuse),
275
+ ID_VALIDATION: () => import("./id-verification/id-verification.es.js").then((m) => m.IdVerification),
101
276
  CURP_VALIDATION: () => import("./curp-validation/curp-validation.es.js").then((m) => m.CurpValidation),
102
277
  GOVT_VALIDATION_PROVISIONING: () => import("./government-validation/government-validation.es.js").then((m) => m.GovernmentValidation),
103
278
  INE_VALIDATION: () => import("./government-validation/government-validation.es.js").then((m) => m.GovernmentValidation),
104
279
  GEOLOCATION: () => import("./geolocation/geolocation.es.js").then((m) => m.Geolocation),
105
- EXTERNAL_VERIFICATION: () => import("./ekycModule-B2cfT3zi.js").then((m) => m.EkycModule),
106
- EKYB: () => import("./ekybModule-BHInfPHS.js").then((m) => m.EkybModule),
107
- DOCUMENT_CAPTURE: () => import("./documentCapture-Dh1ftzGG.js").then((m) => m.DocumentCapture),
108
- ADDRESS: () => import("./documentCapture-Dh1ftzGG.js").then((m) => m.DocumentCapture),
280
+ EXTERNAL_VERIFICATION: () => import("./ekycModule-DZ7yboJO.js").then((m) => m.EkycModule),
281
+ EKYB: () => import("./ekybModule-Qc_5cB3W.js").then((m) => m.EkybModule),
282
+ EKYB_CHECKS: () => import("./kybChecksModule-D3u3hdUP.js").then((m) => m.KybChecksModule),
283
+ EKYC_PREFILL: () => import("./ekycPrefillModule-B0cJJiuu.js").then((m) => m.EkycPrefillModule),
284
+ DOCUMENT_CAPTURE: () => import("./documentCapture-owKpu8oI.js").then((m) => m.DocumentCapture),
285
+ ADDRESS: () => import("./documentCapture-owKpu8oI.js").then((m) => m.DocumentCapture),
109
286
  COMBINED_CONSENT: () => import("./consent/consent.es.js").then((m) => m.Consent),
110
- MANDATORY_CONSENT: () => import("./mandatoryConsent-C21a2d2-.js").then((m) => m.MandatoryConsent),
111
- ML_CONSENT: () => import("./mandatoryConsent-C21a2d2-.js").then((m) => m.MandatoryConsent),
287
+ MANDATORY_CONSENT: () => import("./mandatoryConsent-Ci6fJR2F.js").then((m) => m.MandatoryConsent),
288
+ ML_CONSENT: () => import("./mandatoryConsent-Ci6fJR2F.js").then((m) => m.MandatoryConsent),
112
289
  SIGNATURE: () => import("./signature/signature.es.js").then((m) => m.Signature),
113
- ID_OCR: () => import("./idOcr-BWG3vj8j.js").then((m) => m.IdOcr),
290
+ ID_OCR: () => import("./idOcr-DatcQrFh.js").then((m) => m.IdOcr),
114
291
  ANTIFRAUD: () => import("./antifraud/antifraud.es.js").then((m) => m.Antifraud),
115
- CUSTOM_FIELDS: () => import("./customFields-DRwjotY-.js").then((m) => m.CustomFields),
292
+ CUSTOM_FIELDS: () => import("./customFields-DqebmaL5.js").then((m) => m.CustomFields),
116
293
  WATCHLIST: () => import("./watchlist/watchlist.es.js").then((m) => m.Watchlist),
117
- WATCHLIST_BUSINESS: () => import("./watchlistForBusiness-eOPtmu7z.js").then((m) => m.WatchlistForBusiness),
118
- INCODE_WATCHLIST: () => import("./customWatchlist-DmROVUfp.js").then((m) => m.CustomWatchlist),
294
+ WATCHLIST_BUSINESS: () => import("./watchlistForBusiness-CbRaBYoJ.js").then((m) => m.WatchlistForBusiness),
295
+ INCODE_WATCHLIST: () => import("./customWatchlist-DVSMbzw5.js").then((m) => m.CustomWatchlist),
119
296
  AE_SIGNATURE: () => import("./ae-signature/ae-signature.es.js").then((m) => m.AeSignature),
120
297
  QE_SIGNATURE: () => import("./qe-signature/qe-signature.es.js").then((m) => m.QeSignature),
121
298
  CROSS_DOCUMENT_DATA_MATCH: () => import("./cross-document-data-match/cross-document-data-match.es.js").then((m) => m.CrossDocumentDataMatch),
122
299
  DYNAMIC_FORMS: () => import("./dynamic-forms/dynamic-forms.es.js").then((m) => m.DynamicForms),
123
300
  CERTIFICATE_ISSUANCE: () => import("./certificate-issuance/certificate-issuance.es.js").then((m) => m.CertificateIssuance),
124
- FIELD_COMPARISON: () => import("./fieldComparison-BirXQb7f.js").then((m) => m.FieldComparison),
301
+ FIELD_COMPARISON: () => import("./fieldComparison-BhYiGx0t.js").then((m) => m.FieldComparison),
125
302
  FISCAL_QR: () => import("./fiscal-qr/fiscal-qr.es.js").then((m) => m.FiscalQr),
126
303
  VIDEO_ONBOARDING: () => import("./video-selfie/video-selfie.es.js").then((m) => m.VideoSelfie)
127
304
  };
@@ -135,44 +312,51 @@ function preloadHomeScreen() {
135
312
  homeScreenPreloadPromise = void 0;
136
313
  });
137
314
  }
138
- var redirectToMobilePreloadPromise;
139
315
  /**
140
- * Prefetches redirect UI and core together when the normalized flow selects
141
- * redirect first. Device classification alone does not require QR.
316
+ * Prefetches the UI and core chunks of the flow's first module as soon as the
317
+ * flow is known. They download while activation (feature-config, Statsig, the
318
+ * device fingerprint) finishes, instead of after it. A failed prefetch is
319
+ * ignored: the module loads again when the flow runs it.
142
320
  */
143
- function preloadRedirectToMobile() {
144
- if (redirectToMobilePreloadPromise) return;
145
- const uiLoader = LAZY_UI_MODULES.REDIRECT_TO_MOBILE;
146
- const coreLoader = getLazyCoreMachineLoader("REDIRECT_TO_MOBILE");
147
- const promises = [];
148
- if (uiLoader) promises.push(uiLoader());
149
- if (coreLoader) promises.push(coreLoader());
150
- redirectToMobilePreloadPromise = Promise.all(promises);
151
- redirectToMobilePreloadPromise.catch(() => {
152
- redirectToMobilePreloadPromise = void 0;
153
- });
321
+ function preloadFirstFlowModule(moduleKey) {
322
+ LAZY_UI_MODULES[moduleKey]?.().catch(() => void 0);
323
+ getLazyCoreMachineLoader(moduleKey)?.().catch(() => void 0);
154
324
  }
155
325
  function createFlowManager(options = {}) {
156
- if (options.enableHome === true) preloadHomeScreen();
157
326
  const scopedLazyModules = {};
158
327
  const isDesktop = options.isDesktop ?? isDesktopOrEmulated$1();
159
- const { enableHome, ...flowFetchOptions } = options;
328
+ const { enableHome, injectCss, cssNonce, modulesConfig, ...flowFetchOptions } = options;
160
329
  let endScreen = {
161
330
  endScreenTitle: null,
162
331
  endScreenText: null
163
332
  };
164
333
  let interviewId;
334
+ const preloadModule = (moduleKey) => {
335
+ if (!moduleKey) return;
336
+ preloadFirstFlowModule(moduleKey);
337
+ if (injectCss) loadFlowStyles(moduleKey, cssNonce).catch(() => void 0);
338
+ };
165
339
  const manager = createOrchestratedFlowManager({
166
340
  enableHome,
341
+ modulesConfig,
167
342
  deferActivation: true,
168
343
  getInterviewId: () => interviewId,
169
344
  getFlow: async (signal) => {
345
+ let rawFlowIn = false;
346
+ preloadDashboardFlow(signal).then((rawFlow) => {
347
+ rawFlowIn = true;
348
+ if (enableHome === true && rawFlow.disableLaunchScreen !== true) preloadHomeScreen();
349
+ if (!(isDesktop && rawFlow.redirectDesktopToMobile)) preloadModule(getFirstFlowModuleKey(rawFlow));
350
+ }, () => void 0);
351
+ if (enableHome === true) setTimeout(() => {
352
+ if (!rawFlowIn) preloadHomeScreen();
353
+ }, 0);
170
354
  const flow = await getFlow(signal, {
171
355
  ...flowFetchOptions,
172
356
  isDesktop,
173
357
  deferActivation: true
174
358
  });
175
- if (flow.flowModules[0]?.key === "REDIRECT_TO_MOBILE") preloadRedirectToMobile();
359
+ preloadModule(getFirstFlowModuleKey(flow));
176
360
  const scopedRegistry = buildLazyCoreRegistryForFlow(flow.flowModules ?? []);
177
361
  const consentLoader = getLazyCoreMachineLoader("MANDATORY_CONSENT");
178
362
  if (consentLoader && !scopedRegistry.MANDATORY_CONSENT) scopedRegistry.MANDATORY_CONSENT = consentLoader;
@@ -205,6 +389,11 @@ function createFlowManager(options = {}) {
205
389
  }
206
390
  async function setupSDK(options) {
207
391
  const sessionOptions = { token: options.token };
392
+ if (options.wasmConfig === false) sessionOptions.wasm = false;
393
+ else setWasmConfig({
394
+ ...resolveWasmConfigForPipelines([], options.wasmConfig),
395
+ pipelines: []
396
+ });
208
397
  if (options.preloadFlow !== void 0) sessionOptions.preloadFlow = options.preloadFlow;
209
398
  if (options.awaitFingerprint !== void 0) sessionOptions.awaitFingerprint = options.awaitFingerprint;
210
399
  const sessionReady = initializeSession(sessionOptions);
@@ -212,12 +401,13 @@ async function setupSDK(options) {
212
401
  await sessionReady;
213
402
  }
214
403
  async function initializeFlowManager(options) {
215
- const { token, lang, flowManager } = options;
404
+ const { token, lang, wasmConfig, flowManager } = options;
216
405
  const sessionReady = setupSDK({
217
406
  token,
218
407
  lang,
219
408
  preloadFlow: true,
220
- awaitFingerprint: false
409
+ awaitFingerprint: false,
410
+ wasmConfig
221
411
  });
222
412
  flowManager.load();
223
413
  await sessionReady;
@@ -229,18 +419,14 @@ async function fetchTheme(token) {
229
419
  const theme = await preloadDashboardTheme(activeToken);
230
420
  return {
231
421
  theme,
232
- uiConfig: {
233
- logoSrc: theme.logo,
234
- subtitle: theme.subtitle,
235
- hideFooterBranding: theme.hideFooterBranding
236
- }
422
+ uiConfig: toThemeUiConfig(theme)
237
423
  };
238
424
  } catch {
239
425
  return {};
240
426
  }
241
427
  }
242
428
  async function warmupWasmIfNeeded(pipelines, wasmConfig) {
243
- if (pipelines.length === 0) return;
429
+ if (pipelines.length === 0 || wasmConfig === false) return;
244
430
  const resolved = resolveWasmConfigForPipelines(pipelines, wasmConfig);
245
431
  const configToStore = {
246
432
  ...resolved,
@@ -249,7 +435,6 @@ async function warmupWasmIfNeeded(pipelines, wasmConfig) {
249
435
  setWasmConfig(configToStore);
250
436
  await warmupWasm(resolved);
251
437
  await initializeWasmUtil(configToStore);
252
- await upgradeToWasmHttpClient(configToStore);
253
438
  }
254
439
  function preloadFirstModule(managerState) {
255
440
  const firstStep = managerState.currentStep;
@@ -259,6 +444,17 @@ function preloadFirstModule(managerState) {
259
444
  }
260
445
  }
261
446
  //#endregion
447
+ //#region src/modules/flow/handoffLinkRejection.ts
448
+ var HANDOFF_LINK_REJECTIONS = new Set([...Object.values(QR_VALIDATION_ERROR_CODES), ...Object.values(SESSION_CONTINUE_ERROR_CODES)]);
449
+ /**
450
+ * True when the server refused the handoff link (`uuid` / `url_uuid`) during
451
+ * QR validation or session continue. A reload sends the same link and fails
452
+ * the same way, so the init error page offers no "Try again".
453
+ */
454
+ function isHandoffLinkRejection(status) {
455
+ return status !== void 0 && HANDOFF_LINK_REJECTIONS.has(status);
456
+ }
457
+ //#endregion
262
458
  //#region src/modules/flow/unsupportedModule.tsx
263
459
  var UnsupportedModule = ({ moduleKey, onNext }) => {
264
460
  return /* @__PURE__ */ u("section", {
@@ -279,9 +475,11 @@ var UnsupportedModule = ({ moduleKey, onNext }) => {
279
475
  "\" module is not yet supported in this version."
280
476
  ]
281
477
  }),
282
- /* @__PURE__ */ u(Button, {
478
+ /* @__PURE__ */ u(PrizmaButton, {
479
+ variant: "primary",
480
+ size: "L",
283
481
  onClick: onNext,
284
- class: "IncodeUnsupportedModuleButton",
482
+ className: "IncodeButton IncodeButtonPrimary IncodeButtonL IncodeUnsupportedModuleButton",
285
483
  "data-testid": "unsupported-module-next-button",
286
484
  children: "Next"
287
485
  })
@@ -338,4 +536,4 @@ function withEndScreenTexts(finishStatus, texts) {
338
536
  };
339
537
  }
340
538
  //#endregion
341
- export { HEADLESS_FLOW_MODULE_KEYS as a, fetchTheme as c, preloadHomeScreen as d, setupSDK as f, resolveSessionLanguage as h, UnsupportedModule as i, initializeFlowManager as l, isDesktopOrEmulated$1 as m, resolveApiKey as n, LAZY_UI_MODULES as o, warmupWasmIfNeeded as p, extractIncodeStatus as r, createFlowManager as s, withEndScreenTexts as t, preloadFirstModule as u };
539
+ export { resolveSessionLanguage as _, isHandoffLinkRejection as a, createFlowManager as c, preloadFirstModule as d, preloadHomeScreen as f, isDesktopOrEmulated$1 as g, loadFlowStyles as h, UnsupportedModule as i, fetchTheme as l, warmupWasmIfNeeded as m, resolveApiKey as n, HEADLESS_FLOW_MODULE_KEYS as o, setupSDK as p, extractIncodeStatus as r, LAZY_UI_MODULES as s, withEndScreenTexts as t, initializeFlowManager as u };