@incodetech/web 2.4.0-rc.4 → 2.4.1-agentic

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 (306) hide show
  1. package/dist/{GeolocationPermissionDenied-NCe8TBk4.js → GeolocationPermissionDenied-CUt-uebQ.js} +5 -5
  2. package/dist/ae-signature/ae-signature.es.js +3 -3
  3. package/dist/{af-ZA-BbU0OdlG.js → af-ZA-BWKMRc6V.js} +90 -4
  4. package/dist/{ageVerification-B5ownHdO.js → ageVerification-CMIp0I--.js} +4 -4
  5. package/dist/{am-BuvQtV50.js → am-DPyjIvQV.js} +90 -4
  6. package/dist/antifraud/antifraud.es.js +3 -3
  7. package/dist/applyStudioConfig-DxtP9221.js +126 -0
  8. package/dist/{ar-Ba-wMBXP.js → ar-10SoqF1i.js} +91 -5
  9. package/dist/{ar-AE-Bdk7NfI2.js → ar-AE-CxCvbyoW.js} +90 -4
  10. package/dist/{ar-EG-C9FVwsEB.js → ar-EG-B1hHB55j.js} +90 -4
  11. package/dist/authentication/authentication.es.js +4 -4
  12. package/dist/{autoFocusTitle-BQltp_Nn.js → autoFocusTitle-BxsSeMSB.js} +1 -1
  13. package/dist/{az-DHRJfgCV.js → az-cmuBNn_5.js} +90 -4
  14. package/dist/base.css +1 -1
  15. package/dist/{baseTutorial-CL2A9XLh.js → baseTutorial-BGU2Gcly.js} +3 -3
  16. package/dist/{bn-BfE2MHPG.js → bn-CuGYlngZ.js} +90 -4
  17. package/dist/{bottomSheet-DU4SrMOH.js → bottomSheet-x20yd6eP.js} +2 -2
  18. package/dist/{bs-Ck9dCVYh.js → bs-vwpJzaHm.js} +89 -3
  19. package/dist/{ca-yJUG5zqw.js → ca-DXZs5vtr.js} +89 -3
  20. package/dist/cameraOverlay-Be1PFI8S.js +2 -0
  21. package/dist/{cameraOverlayHeader-Bp7NCrl9.js → cameraOverlayHeader-BxutAKy-.js} +4 -4
  22. package/dist/{cameraView-CLlWARBI.js → cameraView-DVzaEGW8.js} +13 -14
  23. package/dist/{ceb-oov4R9JM.js → ceb-CmhS_VOs.js} +90 -4
  24. package/dist/certificate-issuance/certificate-issuance.es.js +9 -9
  25. package/dist/{checkbox-DbYUeTao.js → checkbox-BC26Qbxh.js} +3 -3
  26. package/dist/consent/consent.es.js +11 -10
  27. package/dist/consent/styles.css +1 -1
  28. package/dist/consent/styles.css.js +1 -1
  29. package/dist/{countryFlag-2Vj85OIZ.js → countryFlag-DXSVHiby.js} +1 -1
  30. package/dist/{countrySelector-El6_zLMs.js → countrySelector-0PDDFsZF.js} +5 -4
  31. package/dist/cross-document-data-match/cross-document-data-match.es.js +3 -3
  32. package/dist/{cs-CZ-B9jWzmE_.js → cs-CZ-Dg5O-Vom.js} +89 -3
  33. package/dist/{cs-ovOFxGB0.js → cs-CoJlE7De.js} +89 -3
  34. package/dist/curp-validation/curp-validation.es.js +13 -13
  35. package/dist/{customFields-BlYfgYje.js → customFields-COYGTuuK.js} +9 -10
  36. package/dist/{customWatchlist-BsBTzCCN.js → customWatchlist-B0wY6Rwb.js} +5 -6
  37. package/dist/{da-DK-C0l5MGWM.js → da-DK-C_JAndM-.js} +89 -3
  38. package/dist/{dashboardTheme-MVQerNVn.js → dashboardTheme-COBidrbH.js} +22 -23
  39. package/dist/dateInputComposed-CONPVayx.js +1 -0
  40. package/dist/{dateInputComposed-DXCc1HRe.js → dateInputComposed-QkmLGLHg.js} +4 -4
  41. package/dist/{de-B0IRPjwJ.js → de-11hHLedu.js} +89 -3
  42. package/dist/{denied-wXsbFjy_.js → denied-Btt81vUD.js} +7 -7
  43. package/dist/{uiConfig-BA7U_zLr.js → devWarn-Cr7MglXv.js} +127 -88
  44. package/dist/deviceWallet-BeTpokSL.js +37 -0
  45. package/dist/{digitalIdRedirect-CF7zG3wS.js → digitalIdRedirect-BnljwZV3.js} +3 -3
  46. package/dist/{digitalIdUpload-CbPm090z.js → digitalIdUpload-DNhqqMHT.js} +6 -6
  47. package/dist/document-capture/document-capture.es.js +1 -1
  48. package/dist/documentCapture-DGCraCO3.js +2 -0
  49. package/dist/{documentCapture-CgpHXm_8.js → documentCapture-uAKPK1U-.js} +39 -30
  50. package/dist/{dropdownComposed-qb9GgX5X.js → dropdownComposed-D_RQd0Z9.js} +3 -3
  51. package/dist/dropdownComposed-DyZXfcTf.js +1 -0
  52. package/dist/dynamic-forms/dynamic-forms.es.js +12 -12
  53. package/dist/ekyb/ekyb.es.js +1 -1
  54. package/dist/ekyb/styles.css +1 -1
  55. package/dist/ekyb/styles.css.js +1 -1
  56. package/dist/{ekybModule-BgZIkVVl.js → ekybModule-Bsqag_MS.js} +13 -13
  57. package/dist/ekybModule-D-czIusz.js +2 -0
  58. package/dist/ekyc/ekyc.es.js +1 -1
  59. package/dist/ekyc/styles.css +1 -1
  60. package/dist/ekyc/styles.css.js +1 -1
  61. package/dist/ekycModule-CkBRa6h2.js +2 -0
  62. package/dist/{ekycModule-DEVrRrnH.js → ekycModule-WlhVn8AO.js} +61 -40
  63. package/dist/{el-Do7wYurZ.js → el-CRGmVrep.js} +89 -3
  64. package/dist/{el-GR-BZEKLkvc.js → el-GR-CjtJiRTo.js} +89 -3
  65. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  66. package/dist/{electronic-signature-DE6FJfvu.js → electronic-signature-Cm2BEiQu.js} +10 -10
  67. package/dist/email/email.es.js +8 -8
  68. package/dist/{emailInput-Cp77LavN.js → emailInput-JmK2JIFS.js} +3 -3
  69. package/dist/{en-CJ6l68pH.js → en-CSjoG3e4.js} +90 -4
  70. package/dist/{en-DG-Cvwm0nfj.js → en-DG-Cruu6Woh.js} +90 -4
  71. package/dist/{errorContent-YeJNVb1U.js → errorContent-zY4jb6uY.js} +5 -5
  72. package/dist/{es-419-DlCbbvcc.js → es-419-CTB15v-l.js} +89 -3
  73. package/dist/{es-rayGAvsH.js → es-C_LAY-Yu.js} +89 -3
  74. package/dist/{es-ES-B8h3jMgN.js → es-ES-D7O0P5Mg.js} +89 -3
  75. package/dist/{es-MX-DA__jQOC.js → es-MX-DVzFaANh.js} +89 -3
  76. package/dist/{esm-15CISqPe.js → esm-BTUEHyry.js} +1 -1
  77. package/dist/{et-DvX7tm-R.js → et-DdSwjU5d.js} +91 -5
  78. package/dist/{expiredId-CsKNCK5M.js → expiredId-DpbWqSzB.js} +5 -5
  79. package/dist/extensibility.es.js +53 -52
  80. package/dist/{fa-IR-DfrzWcH0.js → fa-IR-CdK8XLkS.js} +90 -4
  81. package/dist/face-match/face-match.es.js +1 -1
  82. package/dist/face-match/styles.css +1 -1
  83. package/dist/face-match/styles.css.js +1 -1
  84. package/dist/{faceMatch-Bqspq0cw.js → faceMatch-B0IzR9_u.js} +8 -18
  85. package/dist/faceMatch-CRbIcwK2.js +2 -0
  86. package/dist/{fi-FI-CcFDkeiE.js → fi-FI-CYlEPu44.js} +89 -3
  87. package/dist/field-comparison/field-comparison.es.js +1 -1
  88. package/dist/fieldComparison-DKQNK0-r.js +2 -0
  89. package/dist/{fieldComparison-CmQN2MEj.js → fieldComparison-OwGIeOM5.js} +8 -8
  90. package/dist/{finalSuccessScreen-1Ea3wZWM.js → finalSuccessScreen-BM9oeJDH.js} +11 -11
  91. package/dist/fiscal-qr/fiscal-qr.es.js +13 -13
  92. package/dist/{flipAnimation-DY9K2zel.js → flipAnimation-D-5tokFC.js} +270 -43
  93. package/dist/flow/flow.es.js +36 -29
  94. package/dist/flow/styles.css +1 -1
  95. package/dist/{formField-DoXWcoL9.js → formField-C3MNhFKI.js} +18 -10
  96. package/dist/{fr-DtdqfaF8.js → fr-C4cP8ZNE.js} +89 -3
  97. package/dist/{fr-CA-CeL7RQc-.js → fr-CA-DD_s9NuV.js} +89 -3
  98. package/dist/geolocation/geolocation.es.js +7 -9
  99. package/dist/government-validation/government-validation.es.js +5 -5
  100. package/dist/{he-CPeNHo0I.js → he-D3fvMZAl.js} +90 -4
  101. package/dist/helpButtonConfig-BFragC_J.js +24 -0
  102. package/dist/{hi-DIbkmie6.js → hi-DLf6_opn.js} +90 -4
  103. package/dist/{hmn-CscGik4W.js → hmn-DzoODzbN.js} +90 -4
  104. package/dist/{homeScreen-C0j_8KKD.js → homeScreen-D1Xd93In.js} +13 -8
  105. package/dist/{hr-DWUsAZnf.js → hr-C-jP0DrB.js} +89 -3
  106. package/dist/{ht-DgaboG3c.js → ht-CVt9koJf.js} +90 -4
  107. package/dist/{hu-Lz2qVC3S.js → hu-9fSzIeAd.js} +91 -5
  108. package/dist/{icons-OQDvn5r2.js → icons-BdiCuWFP.js} +26 -26
  109. package/dist/id/id.es.js +34 -34
  110. package/dist/id/styles.css +1 -1
  111. package/dist/id/styles.css.js +1 -1
  112. package/dist/{id-C5eOEjgu.js → id-Dgi5uGHK.js} +90 -4
  113. package/dist/id-selfie-flow/id-selfie-flow.es.js +10 -10
  114. package/dist/id-selfie-flow/styles.css +1 -1
  115. package/dist/id-verification/id-verification.es.js +4 -4
  116. package/dist/{idOcr-C-kHrU_d.js → idOcr-sknZwQNF.js} +12 -12
  117. package/dist/identity-reuse/identity-reuse.es.js +10 -10
  118. package/dist/{incodeComponent-CMBg2gpq.js → incodeComponent-C1Bz5Qou.js} +266 -42
  119. package/dist/incodeModule-DJToJb00.js +41 -0
  120. package/dist/index.es.js +4 -3
  121. package/dist/inputComposed-5mLbxAZJ.js +1 -0
  122. package/dist/{inputComposed-CR1IW-mQ.js → inputComposed-BuE0iZlw.js} +3 -3
  123. package/dist/{it-CQGuLrxZ.js → it-CEFstYFG.js} +90 -4
  124. package/dist/{ja-CBD-jOkP.js → ja-BNdVd9B6.js} +90 -4
  125. package/dist/{ja-JP-Dgbzh2aL.js → ja-JP-B5TPMV1q.js} +91 -5
  126. package/dist/{jv-C-E67yDR.js → jv-CMxkkXUk.js} +89 -3
  127. package/dist/{ka-CcCqDmzw.js → ka-C70bUmEK.js} +90 -4
  128. package/dist/{kk-B_5WgCfa.js → kk-C_55EmWt.js} +89 -3
  129. package/dist/{km-CucJh4em.js → km-D4Ig0NhN.js} +96 -10
  130. package/dist/{ko-BEd2Jz4C.js → ko-DfUa3dzQ.js} +90 -4
  131. package/dist/{ko-KP-BSjl3hdX.js → ko-KP-BwBB8ahu.js} +90 -4
  132. package/dist/{ky-Bb9MfmYr.js → ky-CnJichOm.js} +89 -3
  133. package/dist/{lo-CD_Ehkf5.js → lo-ww1DXVAP.js} +90 -4
  134. package/dist/{lt-DHkwvJ8e.js → lt-IJ8qpluI.js} +89 -3
  135. package/dist/{lv-CPuPO_jU.js → lv-DMfsmqyK.js} +91 -5
  136. package/dist/{mandatoryConsent-BHMWyBUp.js → mandatoryConsent-Bp8sQoiu.js} +11 -10
  137. package/dist/{manualCaptureButton-D5XP3Oaf.js → manualCaptureButton-BXOTp2PS.js} +9 -8
  138. package/dist/{manualCaptureButton-D_tGP6tv.js → manualCaptureButton-Cd-FY05-.js} +3 -3
  139. package/dist/{mk-DO85nJp4.js → mk-ByafmFak.js} +90 -4
  140. package/dist/{mn-D5fhne6X.js → mn-DjO9p3xN.js} +89 -3
  141. package/dist/{ms-D_FFGDor.js → ms-3Vf1QpHl.js} +89 -3
  142. package/dist/{my-D1JKF20F.js → my-C5hpE5P1.js} +90 -4
  143. package/dist/{nb-NO-oEMuavpl.js → nb-NO-DGCWCOul.js} +89 -3
  144. package/dist/{ne-Ds3QEMQ4.js → ne-CpJxcVhV.js} +90 -4
  145. package/dist/{nl-DGyLucC1.js → nl-R2RykJHB.js} +90 -4
  146. package/dist/{optionAccessibleLabel-SwDCMYKc.js → optionAccessibleLabel-BQl8HooZ.js} +7 -6
  147. package/dist/{otpInput-DIUf37GR.js → otpInput-B_iLvmIn.js} +6 -6
  148. package/dist/{page-BGUJaLaG.js → page-utEpSa9Z.js} +27 -46
  149. package/dist/{incode-logo-BBYHyycP.js → pageUiConfig-rOL18JSI.js} +35 -3
  150. package/dist/{passwordInputComposed-Cd-3kyua.js → passwordInputComposed-NtiseM85.js} +4 -4
  151. package/dist/{pdf-BKHLi5Ac.js → pdf-BnPw8ZaT.js} +1 -1
  152. package/dist/pdfViewer-7FzYV8l3.js +2 -0
  153. package/dist/{pdfViewer-EDgSzrdc.js → pdfViewer-DNMZsDFD.js} +3 -3
  154. package/dist/{permissions-Vh-QG2Tj.js → permissions-CCEc9lKM.js} +11 -11
  155. package/dist/phone/phone.es.js +9 -9
  156. package/dist/{phoneInputComposed-wZaDiedP.js → phoneInputComposed-ByiK_6Hu.js} +48 -11
  157. package/dist/{pl-nEtI_VZQ.js → pl-B1LgnPj1.js} +89 -3
  158. package/dist/{processing-SzW6Mfrg.js → processing-Ci_Kl-Rh.js} +1 -1
  159. package/dist/{progressBar-KEnpi8uj.js → progressBar-Caj-Vu1e.js} +1 -1
  160. package/dist/{pt-BR-BkLAWIbx.js → pt-BR-DSJDHb-K.js} +90 -4
  161. package/dist/{pt-EmaaUJGm.js → pt-CPVeH0hD.js} +90 -4
  162. package/dist/{pt-PT-Py_4_Z05.js → pt-PT-BWJTVPZY.js} +90 -4
  163. package/dist/qe-signature/qe-signature.es.js +3 -3
  164. package/dist/{radioGroupComposed-CRr_78He.js → radioGroupComposed-CocqpoKe.js} +3 -3
  165. package/dist/radioGroupComposed-DlQ-fNrF.js +1 -0
  166. package/dist/realtimeFeedbackConfig-DeZksjlR.js +16 -0
  167. package/dist/redirect-to-mobile/redirect-to-mobile.es.js +51 -48
  168. package/dist/redirect-to-mobile/styles.css +1 -1
  169. package/dist/redirect-to-mobile/styles.css.js +1 -1
  170. package/dist/{resendTimer-EhLnxeID.js → resendTimer-ODOCcKyh.js} +1 -1
  171. package/dist/{richText-aCnLd3j2.js → richText-CRWB2afV.js} +2 -2
  172. package/dist/{ro-BKmZhZl1.js → ro-8gGEWeHO.js} +90 -4
  173. package/dist/{ru-BYQKvZtn.js → ru-C4EVku5S.js} +90 -4
  174. package/dist/{ru-RU-BdhCs3uF.js → ru-RU-Dr0NOGjg.js} +89 -3
  175. package/dist/{sanitizeSvg-BC-qLUgS.js → sanitizeSvg-ilJ8VQmH.js} +1 -1
  176. package/dist/selfie/selfie.es.js +14 -8
  177. package/dist/selfie/styles.css +1 -1
  178. package/dist/selfie/styles.css.js +1 -1
  179. package/dist/signature/signature.es.js +8 -8
  180. package/dist/{sk-CZipa19k.js → sk-BSTzMa__.js} +89 -3
  181. package/dist/{sl-_sx3gvEv.js → sl-_HvO-HVX.js} +90 -4
  182. package/dist/{smsTabContent-DHuEgl3E.js → smsTabContent-CWBrtP4u.js} +6 -6
  183. package/dist/{so-D3T7YyfC.js → so-pyCaqonl.js} +90 -4
  184. package/dist/{spacer-BvrtrwSF.js → spacer-CwyNauIk.js} +11 -19
  185. package/dist/{spinner-CkN8sW0d.js → spinner-DEZJxLSc.js} +2 -2
  186. package/dist/{sr-D0lglPAd.js → sr-Bpxtt0kk.js} +89 -3
  187. package/dist/{sr-Latn-Dy2rgSEv.js → sr-Latn-BjueCJSI.js} +95 -9
  188. package/dist/{sr-YU-UEhyvXZ-.js → sr-YU-xCb5qxap.js} +89 -3
  189. package/dist/{sv-SE-VsDd4VP5.js → sv-SE-sv5v6ZWe.js} +89 -3
  190. package/dist/{sw-D2VfTj6a.js → sw-BseJSmdR.js} +90 -4
  191. package/dist/{th-BzmKSnbD.js → th-C2G8Ur12.js} +90 -4
  192. package/dist/{th-TH-BU_NqN97.js → th-TH-D0WNW-3l.js} +90 -4
  193. package/dist/themes/dark.css +1 -1
  194. package/dist/themes/light.css +1 -1
  195. package/dist/{tl-GXkKKnzb.js → tl-CBOmxz5r.js} +90 -4
  196. package/dist/{tl-PH-BJJNA9rs.js → tl-PH-CwafDrED.js} +90 -4
  197. package/dist/{tr-C1MJnwIJ.js → tr-C4iH8UJx.js} +90 -4
  198. package/dist/{transitionSpinner-Bkjw-WAJ.js → transitionSpinner-DbrWrpRU.js} +3 -3
  199. package/dist/{tutorial-Bwt7rxfr.js → tutorial-BKPHj5To.js} +211 -27
  200. package/dist/types/ae-signature.d.ts +10 -1
  201. package/dist/types/antifraud.d.ts +10 -1
  202. package/dist/types/authentication.d.ts +10 -1
  203. package/dist/types/certificate-issuance.d.ts +10 -1
  204. package/dist/types/consent.d.ts +10 -1
  205. package/dist/types/cross-document-data-match.d.ts +10 -1
  206. package/dist/types/curp-validation.d.ts +10 -1
  207. package/dist/types/document-capture.d.ts +10 -1
  208. package/dist/types/dynamic-forms.d.ts +10 -1
  209. package/dist/types/ekyb.d.ts +10 -1
  210. package/dist/types/ekyc.d.ts +10 -1
  211. package/dist/types/electronic-signature.d.ts +10 -1
  212. package/dist/types/email.d.ts +10 -1
  213. package/dist/types/extensibility.d.ts +141 -20
  214. package/dist/types/face-match.d.ts +10 -1
  215. package/dist/types/field-comparison.d.ts +10 -1
  216. package/dist/types/fiscal-qr.d.ts +10 -1
  217. package/dist/types/flow.d.ts +22 -2
  218. package/dist/types/geolocation.d.ts +10 -1
  219. package/dist/types/government-validation.d.ts +10 -1
  220. package/dist/types/id-selfie-flow.d.ts +10 -1
  221. package/dist/types/id-verification.d.ts +10 -1
  222. package/dist/types/id.d.ts +10 -1
  223. package/dist/types/identity-reuse.d.ts +10 -1
  224. package/dist/types/index.d.ts +88 -10
  225. package/dist/types/phone.d.ts +10 -1
  226. package/dist/types/qe-signature.d.ts +10 -1
  227. package/dist/types/redirect-to-mobile.d.ts +1 -1
  228. package/dist/types/selfie.d.ts +10 -1
  229. package/dist/types/signature.d.ts +10 -1
  230. package/dist/types/video-selfie.d.ts +1 -1
  231. package/dist/types/watchlist.d.ts +10 -1
  232. package/dist/types/workflow.d.ts +10 -1
  233. package/dist/{typography-DKXgPZsU.js → typography-BF9d8wEc.js} +1 -1
  234. package/dist/{uk-DFL26I5l.js → uk-BGYlvKb_.js} +89 -3
  235. package/dist/{uk-UA-3o9Xbam-.js → uk-UA-CbxzkCL_.js} +90 -4
  236. package/dist/{ur-DXJAfyQA.js → ur-BQgtsAfv.js} +90 -4
  237. package/dist/useCameraPreview-BmkAmzAs.js +93 -0
  238. package/dist/{useCaptureHelpButton-CSG3fO48.js → useCaptureHelpButton-D40hYyD7.js} +9 -7
  239. package/dist/useIsDarkTheme-COJZngNK.js +27 -0
  240. package/dist/{uz-BXvj8vlH.js → uz-DqOg1Fdv.js} +90 -4
  241. package/dist/{verificationResult-BVrKFRMf.js → verificationResult-m99Ragq6.js} +6 -6
  242. package/dist/{vi-DRfsxu1a.js → vi-COxdKkHn.js} +90 -4
  243. package/dist/video-selfie/styles.css +1 -1
  244. package/dist/video-selfie/styles.css.js +1 -1
  245. package/dist/video-selfie/video-selfie.es.js +69 -50
  246. package/dist/watchlist/watchlist.es.js +5 -6
  247. package/dist/{watchlistForBusiness-CyAmoIrv.js → watchlistForBusiness-C2zxbavl.js} +37 -12
  248. package/dist/{withEndScreenTexts-MHocOODe.js → withEndScreenTexts-BwNU-8-X.js} +39 -22
  249. package/dist/workflow/styles.css +1 -1
  250. package/dist/workflow/workflow.es.js +23 -16
  251. package/dist/{zh-CN-DMfj1_Nh.js → zh-CN-DfvYQGdE.js} +90 -4
  252. package/dist/{zh-Ct8GKGhw.js → zh-CPQoDPxf.js} +89 -3
  253. package/dist/{zh-HANT-NZFdeKuE.js → zh-HANT-B4LzHH2y.js} +90 -4
  254. package/dist/{zh-TW-8wkrOHM8.js → zh-TW-DtvvhBYL.js} +90 -4
  255. package/package.json +15 -2
  256. package/dist/cameraOverlay-CBTjtbNP.js +0 -2
  257. package/dist/connectionError-DX3wd4vm.js +0 -45
  258. package/dist/dateInputComposed-BzW0cv1o.js +0 -1
  259. package/dist/deviceWallet-CImevqFB.js +0 -66
  260. package/dist/documentCapture-CmWd-wNL.js +0 -2
  261. package/dist/dropdownComposed-B76j7pz9.js +0 -1
  262. package/dist/ekybModule-Bshc_ANM.js +0 -2
  263. package/dist/ekycModule-MmJYwp1l.js +0 -2
  264. package/dist/faceMatch-BVSCpwmA.js +0 -2
  265. package/dist/fieldComparison-nFj9pSeZ.js +0 -2
  266. package/dist/incodeModule-D6oey1Mb.js +0 -68
  267. package/dist/inputComposed-45HxIMO0.js +0 -1
  268. package/dist/pdfViewer-CFkuHOV4.js +0 -2
  269. package/dist/radioGroupComposed-DJ71F9KK.js +0 -1
  270. package/dist/statusPage-3zRxvkSE.js +0 -36
  271. package/dist/useCoverMedia-VLw3OYN_.js +0 -149
  272. /package/dist/{aligndevicelottie-BARt-rhe.js → aligndevicelottie-BHWuptBk.js} +0 -0
  273. /package/dist/{back-horizontal-hint-BztyPanp.js → back-horizontal-hint-Dl2C4J4u.js} +0 -0
  274. /package/dist/{back-tutorial-CZrMmj1_.js → back-tutorial-BYZr11eV.js} +0 -0
  275. /package/dist/{back-vertical-hint-BSzA4QbJ.js → back-vertical-hint-CM4_HjWk.js} +0 -0
  276. /package/dist/{backdevicelottie-CIM3ekd8.js → backdevicelottie-JflQKxT_.js} +0 -0
  277. /package/dist/{blurdevicelottie-BRyXfLB6.js → blurdevicelottie-CWuMQEHL.js} +0 -0
  278. /package/dist/{browser-ponyfill-DT11p-Ob.js → browser-ponyfill-CHlXHPpU.js} +0 -0
  279. /package/dist/{check-icon-BpjpKqhJ.js → check-icon-BWTjhSuA.js} +0 -0
  280. /package/dist/{countryDefinitions-BO9OSKQO.js → countryDefinitions-6FOOLcB2.js} +0 -0
  281. /package/dist/{defineProperty-CjeJoXkx.js → defineProperty-CUC2zCmh.js} +0 -0
  282. /package/dist/{fieldLabelHint-CxjArYkQ.js → fieldLabelHint-gdoE5nLQ.js} +0 -0
  283. /package/dist/{flip-animation-BU5LNKYx.js → flip-animation-BqTKEBcW.js} +0 -0
  284. /package/dist/{front-horizontal-hint-DEHmtcdg.js → front-horizontal-hint-Dol0Lpc6.js} +0 -0
  285. /package/dist/{front-vertical-hint-Cb1NO-xT.js → front-vertical-hint-CAhAzw92.js} +0 -0
  286. /package/dist/{frontdevicelottie-arpyu_Fz.js → frontdevicelottie-BWD-NCfG.js} +0 -0
  287. /package/dist/{glaredevicelottie-TwTFxe7h.js → glaredevicelottie-Cjy50jGc.js} +0 -0
  288. /package/dist/{id-back-of-card-C7Au2tqk.js → id-back-of-card-CHFxXTEq.js} +0 -0
  289. /package/dist/{id-back-of-card-vertical-CtQBFw8w.js → id-back-of-card-vertical-CUBdKGbw.js} +0 -0
  290. /package/dist/{id-front-of-card-BmHL_keG.js → id-front-of-card-DplNJr13.js} +0 -0
  291. /package/dist/{id-front-of-card-vertical-DkNUn2Vx.js → id-front-of-card-vertical-D1duHEsV.js} +0 -0
  292. /package/dist/{id-laser-h-Dr-hBxrq.js → id-laser-h-By7lMim8.js} +0 -0
  293. /package/dist/{id-laser-v-D_r0QNY8.js → id-laser-v-BCPAN2x5.js} +0 -0
  294. /package/dist/{id-tutorial-DM9Pkfs-.js → id-tutorial-B9cUQuf0.js} +0 -0
  295. /package/dist/{lottie_light-aMg9Q9iO.js → lottie_light-DywVSPMT.js} +0 -0
  296. /package/dist/{numberedStep-CvbL3ht2.js → numberedStep-CqgNwc_a.js} +0 -0
  297. /package/dist/{passport-horizontal-hint-DgNc6F0-.js → passport-horizontal-hint-BfTXA2LB.js} +0 -0
  298. /package/dist/{passport-tutorial-CKZZuDf_.js → passport-tutorial-TSZzEGqb.js} +0 -0
  299. /package/dist/{passport-vertical-hint-B-toVsfT.js → passport-vertical-hint-C7dzd2ks.js} +0 -0
  300. /package/dist/{pdf.worker.min-BM1b2w9V.js → pdf.worker.min-D7ZNTVBZ.js} +0 -0
  301. /package/dist/{policyUrls-B3M8nLRh.js → policyUrls-Bpacx_pp.js} +0 -0
  302. /package/dist/{purify.es-0fCPkEV1.js → purify.es-DZazHwBu.js} +0 -0
  303. /package/dist/{registerIncodeElement-D_cn4dSI.js → registerIncodeElement-Dtw9dM3O.js} +0 -0
  304. /package/dist/{reload-icon-elAFo9-k.js → reload-icon-BR1POqkD.js} +0 -0
  305. /package/dist/{selfieTutorial-Dz6lDFMn.js → selfieTutorial-CLJAEuXG.js} +0 -0
  306. /package/dist/{useModuleLoader-BdIp6TNQ.js → useModuleLoader-CceEKjsh.js} +0 -0
@@ -44,6 +44,35 @@ export declare type AnimationOverride = LottieAnimationData | {
44
44
 
45
45
  export declare type AnimationOverrides = Partial<Record<AnimationKey, AnimationOverride>>;
46
46
 
47
+ /**
48
+ * Applies an Incode Studio export: the whole downloaded JSON document (not
49
+ * one section of it), plus the assets that ship beside it.
50
+ *
51
+ * ```ts
52
+ * import './incode-theme.css';
53
+ * import studioConfig from './CustomizationOptionsV2.json';
54
+ * import logo from './assets/logo-light.svg';
55
+ * import logoDark from './assets/logo-dark.svg';
56
+ *
57
+ * applyStudioConfig(studioConfig, { logoSrc: logo, logoDarkSrc: logoDark });
58
+ * ```
59
+ *
60
+ * Merges into host config rather than replacing it, so applying a Studio
61
+ * export never drops animation or spinner overrides set elsewhere. Safe to
62
+ * call again later with a different export (e.g. per tenant).
63
+ *
64
+ * Colors and corner radius are not applied here. They come from the CSS file
65
+ * Studio exports alongside the JSON (`incode-theme.css`), which the host
66
+ * imports as a stylesheet. This call covers everything else.
67
+ *
68
+ * Throws on a structurally invalid document, which is a build-time mistake
69
+ * in a static file rather than a runtime condition. An unrecognized *value*
70
+ * in an otherwise valid field is tolerated instead: it usually means Studio
71
+ * is ahead of this SDK version, so the SDK default applies and a warning is
72
+ * logged in development only.
73
+ */
74
+ export declare function applyStudioConfig(config: StudioConfig | string, assets?: StudioAssets): void;
75
+
47
76
  /**
48
77
  * Allowlisted keys for overridable branded SVG illustrations
49
78
  */
@@ -202,6 +231,7 @@ declare type CameraViewProps = {
202
231
  children: ComponentChildren;
203
232
  videoRef?: Ref<HTMLVideoElement>;
204
233
  onPlaying?: () => void;
234
+ onPreviewPendingChange?: (pending: boolean) => void;
205
235
  className?: string;
206
236
  mirrored?: boolean;
207
237
  'data-testid'?: string;
@@ -230,6 +260,7 @@ declare type CaptureFooterProps = {
230
260
  showHelpButton?: boolean;
231
261
  className?: string;
232
262
  inactive?: boolean;
263
+ captureDisabled?: boolean;
233
264
  };
234
265
 
235
266
  /** Everything the help button needs, independent of where it mounts. */
@@ -323,6 +354,11 @@ declare type ChooserProps = {
323
354
  }>;
324
355
  };
325
356
 
357
+ /**
358
+ * Corner the close button renders in. Defaults to `topRight`.
359
+ */
360
+ declare const CLOSE_BUTTON_POSITIONS: readonly ["topRight", "topLeft"];
361
+
326
362
  /** Close button data, independent of where it mounts. */
327
363
  declare type CloseButton = {
328
364
  onQuit: () => void;
@@ -334,8 +370,7 @@ declare type CloseButtonOptions = {
334
370
  onClose?: () => void;
335
371
  };
336
372
 
337
- /** Corner the close button renders in. Defaults to `topRight`. */
338
- declare type CloseButtonPosition = 'topRight' | 'topLeft';
373
+ declare type CloseButtonPosition = (typeof CLOSE_BUTTON_POSITIONS)[number];
339
374
 
340
375
  export declare const CloseIcon: FC<CloseIconProps>;
341
376
 
@@ -351,7 +386,7 @@ declare type CloseIconProps = {
351
386
  * the UI boundary so core config types (e.g. `IdCaptureConfig`) stay untouched;
352
387
  * `FlowConfig` also declares the maps directly.
353
388
  */
354
- declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides;
389
+ declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides & ModuleCancelOptions;
355
390
 
356
391
  /**
357
392
  * Full-screen "no internet connection" state, shown whenever a backend request
@@ -360,18 +395,29 @@ declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides;
360
395
  * than inside a single module. Composes the shared `StatusPage` primitive
361
396
  * (icon + title + subtitle + actions) so it stays visually consistent with the
362
397
  * rest of the status/result screens. Copy defaults to the shared
363
- * `connectionError.*` namespace and can be overridden per caller.
398
+ * `connectionError.*` namespace and can be overridden per caller. It can show
399
+ * offline, before the translation bundle loads, so it reads `I18N_LOCAL`
400
+ * fallbacks through `useTranslationWithFallback`.
364
401
  */
365
402
  export declare const ConnectionError: FC<ConnectionErrorProps>;
366
403
 
367
404
  declare type ConnectionErrorProps = {
368
- /** Invoked by the primary action. Typically `() => window.location.reload()`. */
369
- onRefresh: () => void;
405
+ /** Shows a secondary "Close" button that invokes this callback. */
406
+ onClose?: () => void;
407
+ /**
408
+ * Shows a primary "Refresh" button that invokes this callback.
409
+ * @deprecated The SDK screen has no Refresh button: it closes by itself when
410
+ * the connection returns. Use `onClose` to let the user leave.
411
+ */
412
+ onRefresh?: () => void;
370
413
  /** Overrides the default connectivity title copy. */
371
414
  title?: string;
372
415
  /** Overrides the default connectivity subtitle copy. */
373
416
  subtitle?: string;
374
- /** Overrides the default refresh button label. */
417
+ /**
418
+ * Overrides the default refresh button label.
419
+ * @deprecated Applies only to the deprecated `onRefresh` button.
420
+ */
375
421
  refreshLabel?: string;
376
422
  };
377
423
 
@@ -455,6 +501,9 @@ declare type ErrorIconProps = {
455
501
  size?: number | string;
456
502
  };
457
503
 
504
+ /** A list value (`lengths: [8, 10]`) is shown as "8 or 10". */
505
+ declare type ErrorParams = Record<string, string | number | ReadonlyArray<string | number>>;
506
+
458
507
  export declare const EyeIcon: FC<EyeIconProps>;
459
508
 
460
509
  declare type EyeIconProps = {
@@ -498,7 +547,7 @@ declare type FormFieldProps = {
498
547
  displayLabel?: string;
499
548
  value?: string;
500
549
  error?: string;
501
- errorParams?: Record<string, string | number>;
550
+ errorParams?: ErrorParams;
502
551
  type?: string;
503
552
  placeholder?: string;
504
553
  placeholderParams?: Record<string, string>;
@@ -524,8 +573,13 @@ export declare function getCountryByCode(code: string | undefined): CountryData
524
573
  * Where the capture help button renders. `topLeft`/`topRight` float outside
525
574
  * the footer — the footer's own box only covers the bottom of the screen, so
526
575
  * a top offset inside it would land mid-screen, not near the header.
576
+ *
577
+ * The array is the source of truth; the type is derived from it so a caller
578
+ * validating an untrusted value can reuse the same list.
527
579
  */
528
- export declare type HelpButtonPosition = 'bottomRight' | 'topRight' | 'topLeft';
580
+ declare const HELP_BUTTON_POSITIONS: readonly ["bottomRight", "topRight", "topLeft"];
581
+
582
+ export declare type HelpButtonPosition = (typeof HELP_BUTTON_POSITIONS)[number];
529
583
 
530
584
  export declare const HelpIcon: FC<HelpIconProps>;
531
585
 
@@ -860,6 +914,15 @@ declare type ModalTitleSectionProps = {
860
914
  align?: 'center' | 'left';
861
915
  };
862
916
 
917
+ /**
918
+ * Behavior option on a module's `config` (flow, workflow or standalone module).
919
+ * Not a theme option: it decides whether the end user may quit, so it is set by
920
+ * the integrator's code and never read from a Studio export or the dashboard.
921
+ */
922
+ declare type ModuleCancelOptions = {
923
+ allowUserToCancel?: boolean;
924
+ };
925
+
863
926
  declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
864
927
 
865
928
  export declare const OtpInput: FC<OtpInputProps>;
@@ -896,7 +959,7 @@ declare type OverlayProps = {
896
959
  class?: string;
897
960
  };
898
961
 
899
- export declare const Page: ({ title, titleId, subtitle, titleTopSlot, className, logo, children, hideHeader, hideFooterBranding, footerBrandingSlot, "data-testid": dataTestId, "data-permission-status": dataPermissionStatus, }: PageProps) => JSX.Element;
962
+ export declare const Page: ({ title, titleId, subtitle, titleTopSlot, className, logo, children, hideHeader, hideFooterBranding, footerBrandingSlot, theme, "data-testid": dataTestId, "data-permission-status": dataPermissionStatus, }: PageProps) => JSX.Element;
900
963
 
901
964
  declare type PageProps = {
902
965
  children?: ComponentChildren;
@@ -913,6 +976,12 @@ declare type PageProps = {
913
976
  hideFooterBranding?: boolean;
914
977
  hideHeader?: boolean;
915
978
  footerBrandingSlot?: ComponentChildren;
979
+ /**
980
+ * Pins this screen to one theme whatever the document theme is, for screens
981
+ * that must stay light on camera (the face frame). Colors and the logo
982
+ * follow the pin, not the document.
983
+ */
984
+ theme?: Theme;
916
985
  'data-testid'?: string;
917
986
  'data-permission-status'?: string;
918
987
  };
@@ -978,6 +1047,12 @@ declare type PhoneInputOwnProps = {
978
1047
  disabled?: boolean;
979
1048
  disableCountrySelector?: boolean;
980
1049
  required?: boolean;
1050
+ /**
1051
+ * Most national significant digits the user can type: the calling code and
1052
+ * a trunk prefix don't count, as in Core's `phoneDigits`. Digits past it are
1053
+ * dropped as they're typed or pasted, once the phone rules have loaded.
1054
+ */
1055
+ maxDigits?: number;
981
1056
  onChange?: (fullNumber: string, isValid: boolean) => void;
982
1057
  formatHintBuilder?: (example: string) => string | undefined;
983
1058
  countryAriaLabelBuilder?: (args: {
@@ -1066,8 +1141,13 @@ declare type RadioGroupOption = {
1066
1141
  * - `standard` — the full message: Lottie animation beside the copy.
1067
1142
  * - `minimal` — compact: no animation, copy centred. More legible on small
1068
1143
  * screens, where the animation crowds the text out of the frame.
1144
+ *
1145
+ * The array is the source of truth; the type is derived from it so a caller
1146
+ * validating an untrusted value can reuse the same list.
1069
1147
  */
1070
- export declare type RealtimeFeedbackMessageUIFlavor = 'standard' | 'minimal';
1148
+ declare const REALTIME_FEEDBACK_MESSAGE_UI_FLAVORS: readonly ["standard", "minimal"];
1149
+
1150
+ export declare type RealtimeFeedbackMessageUIFlavor = (typeof REALTIME_FEEDBACK_MESSAGE_UI_FLAVORS)[number];
1071
1151
 
1072
1152
  export declare const SearchIcon: FC<SearchIconProps>;
1073
1153
 
@@ -1097,7 +1177,7 @@ export declare const SelfieCapture: FC<CaptureProps>;
1097
1177
  export declare const SelfieTutorial: ({ manager, ageAssurance }: TutorialProps) => JSX.Element;
1098
1178
 
1099
1179
  /**
1100
- * Sets global UI configuration defaults for `@incodetech/ui`.
1180
+ * Sets global UI configuration defaults for `@incodetech/web`.
1101
1181
  *
1102
1182
  * Replaces (does not merge with) the previous host-supplied config, so omitting
1103
1183
  * a field clears it. The dashboard theme is held separately and is unaffected.
@@ -1191,6 +1271,41 @@ export declare type SpinnerRenderMode = 'spinnerAndText' | 'spinnerOnly' | 'text
1191
1271
 
1192
1272
  export declare type SpinnerSize = 'small' | 'medium' | 'large';
1193
1273
 
1274
+ /**
1275
+ * The parts of a Studio theme that travel outside the JSON document. Today
1276
+ * that is the logo (shipped in the export's `assets/` folder); typography and
1277
+ * other assets will join here as Studio adds them.
1278
+ */
1279
+ export declare type StudioAssets = {
1280
+ /** URL of the logo from the Studio export's `assets/` folder. */
1281
+ logoSrc?: string;
1282
+ /** URL of the dark-theme logo. The light logo is used when it is absent. */
1283
+ logoDarkSrc?: string;
1284
+ };
1285
+
1286
+ /** One Studio export. Applied by {@link applyStudioConfig}. */
1287
+ export declare type StudioConfig = {
1288
+ theme?: StudioThemeConfig;
1289
+ ux?: StudioUxConfig;
1290
+ };
1291
+
1292
+ /**
1293
+ * The parts of a Studio export's `theme` section that JS must apply. Colors,
1294
+ * radius and typography are not here — they ride the CSS file.
1295
+ */
1296
+ export declare type StudioThemeConfig = {
1297
+ displayMode?: string;
1298
+ };
1299
+
1300
+ /** The `ux` section of a Studio export. `theme` (colors, radius, typography) applies via CSS, not this type. */
1301
+ export declare type StudioUxConfig = {
1302
+ showFooter?: boolean;
1303
+ helpButtonPosition?: string;
1304
+ realtimeFeedbackMessageUIFlavor?: string;
1305
+ closeButtonPosition?: string;
1306
+ headerAlignment?: string;
1307
+ };
1308
+
1194
1309
  export declare const SuccessIcon: FC<SuccessIconProps>;
1195
1310
 
1196
1311
  declare type SuccessIconProps = {
@@ -1226,6 +1341,10 @@ declare type TextAreaProps = Omit<JSX.IntrinsicElements['textarea'], 'class'> &
1226
1341
 
1227
1342
  declare type TextSize = 'M' | 'S';
1228
1343
 
1344
+ declare type Theme = (typeof THEMES)[number];
1345
+
1346
+ declare const THEMES: readonly ["light", "dark"];
1347
+
1229
1348
  export declare const Title: FunctionalComponent<PropsWithoutRef<TitleProps> & {
1230
1349
  ref?: Ref<HTMLHeadingElement> | undefined;
1231
1350
  }>;
@@ -1277,6 +1396,7 @@ export declare const TypographyP: FC<TitleProps>;
1277
1396
 
1278
1397
  export declare type UiConfig = {
1279
1398
  logoSrc?: string;
1399
+ logoDarkSrc?: string;
1280
1400
  logoHeight?: string;
1281
1401
  subtitle?: string;
1282
1402
  hideHeader?: boolean;
@@ -1290,12 +1410,11 @@ export declare type UiConfig = {
1290
1410
  spinner?: SpinnerPresentation;
1291
1411
  /** Where the capture help button renders. Defaults to `'bottomRight'`. */
1292
1412
  helpButtonPosition?: HelpButtonPosition;
1293
- /** Shows an X close button that cancels the current module. Off by default. */
1294
- showCloseButton?: boolean;
1295
1413
  /**
1296
- * Close button corner when `showCloseButton` is true. Defaults to
1297
- * `'topRight'`. Can't match `helpButtonPosition` — on a collision the help
1298
- * button falls back to its own default and a dev warning is logged.
1414
+ * Close button corner. Defaults to `'topRight'`. The button itself only
1415
+ * shows when the module's `config` sets `allowUserToCancel: true`; without
1416
+ * it this has no effect. Can't match `helpButtonPosition` — on a collision
1417
+ * the help button falls back to its own default and a dev warning is logged.
1299
1418
  */
1300
1419
  closeButtonPosition?: CloseButtonPosition;
1301
1420
  /**
@@ -1330,8 +1449,8 @@ declare type UseManagerOptions = {
1330
1449
  autoLoad?: boolean;
1331
1450
  /**
1332
1451
  * False leaves ordinary lifecycle ownership with the caller. Session expiry
1333
- * always stops the manager to release capture resources; use a new manager
1334
- * when mounting a replacement session.
1452
+ * and connectivity loss always stop the manager to release capture
1453
+ * resources; use a new manager when mounting a replacement session.
1335
1454
  */
1336
1455
  manageLifecycle?: boolean;
1337
1456
  };
@@ -1344,7 +1463,7 @@ export declare function useScreenOrientation(): {
1344
1463
  isLandscapeMobile: boolean;
1345
1464
  };
1346
1465
 
1347
- export declare function VerificationOptionCard({ icon: Icon, iconSrc, title, testId, onClick, tag, }: Readonly<VerificationOptionCardProps>): JSX.Element;
1466
+ export declare function VerificationOptionCard({ icon: Icon, iconSrc, title, description, testId, onClick, tag, }: Readonly<VerificationOptionCardProps>): JSX.Element;
1348
1467
 
1349
1468
  export declare function VerificationOptionCardList({ children, }: Readonly<VerificationOptionCardListProps>): JSX.Element;
1350
1469
 
@@ -1363,6 +1482,8 @@ declare type VerificationOptionCardProps = {
1363
1482
  */
1364
1483
  iconSrc?: string;
1365
1484
  title: string;
1485
+ /** Secondary line under the title (e.g. "Your ID in Apple Wallet"). */
1486
+ description?: string;
1366
1487
  testId: string;
1367
1488
  onClick: () => void;
1368
1489
  tag?: string;
@@ -54,7 +54,7 @@ declare type AssetOverrides = Partial<Record<AssetKey, AssetOverride>>;
54
54
  * the UI boundary so core config types (e.g. `IdCaptureConfig`) stay untouched;
55
55
  * `FlowConfig` also declares the maps directly.
56
56
  */
57
- declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides;
57
+ declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides & ModuleCancelOptions;
58
58
 
59
59
  export declare const FaceMatch: FC<Omit<FaceMatchProps, "config"> & {
60
60
  config?: (Omit<unknown, never> & DeepPartial<Pick<unknown, never>>) | undefined;
@@ -164,6 +164,15 @@ declare type LottieAnimationData = {
164
164
  h: number;
165
165
  };
166
166
 
167
+ /**
168
+ * Behavior option on a module's `config` (flow, workflow or standalone module).
169
+ * Not a theme option: it decides whether the end user may quit, so it is set by
170
+ * the integrator's code and never read from a Studio export or the dashboard.
171
+ */
172
+ declare type ModuleCancelOptions = {
173
+ allowUserToCancel?: boolean;
174
+ };
175
+
167
176
  declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
168
177
 
169
178
  /**
@@ -54,7 +54,7 @@ declare type AssetOverrides = Partial<Record<AssetKey, AssetOverride>>;
54
54
  * the UI boundary so core config types (e.g. `IdCaptureConfig`) stay untouched;
55
55
  * `FlowConfig` also declares the maps directly.
56
56
  */
57
- declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides;
57
+ declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides & ModuleCancelOptions;
58
58
 
59
59
  export declare const FieldComparison: FC<Omit<FieldComparisonProps, "config"> & {
60
60
  config?: (Omit<unknown, never> & DeepPartial<Pick<unknown, never>>) | undefined;
@@ -161,6 +161,15 @@ declare type LottieAnimationData = {
161
161
  h: number;
162
162
  };
163
163
 
164
+ /**
165
+ * Behavior option on a module's `config` (flow, workflow or standalone module).
166
+ * Not a theme option: it decides whether the end user may quit, so it is set by
167
+ * the integrator's code and never read from a Studio export or the dashboard.
168
+ */
169
+ declare type ModuleCancelOptions = {
170
+ allowUserToCancel?: boolean;
171
+ };
172
+
164
173
  declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
165
174
 
166
175
  /**
@@ -54,7 +54,7 @@ declare type AssetOverrides = Partial<Record<AssetKey, AssetOverride>>;
54
54
  * the UI boundary so core config types (e.g. `IdCaptureConfig`) stay untouched;
55
55
  * `FlowConfig` also declares the maps directly.
56
56
  */
57
- declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides;
57
+ declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides & ModuleCancelOptions;
58
58
 
59
59
  export declare const FiscalQr: FC<Omit<FiscalQrProps, "config"> & {
60
60
  config?: (Omit<unknown, never> & DeepPartial<Pick<unknown, never>>) | undefined;
@@ -161,6 +161,15 @@ declare type LottieAnimationData = {
161
161
  h: number;
162
162
  };
163
163
 
164
+ /**
165
+ * Behavior option on a module's `config` (flow, workflow or standalone module).
166
+ * Not a theme option: it decides whether the end user may quit, so it is set by
167
+ * the integrator's code and never read from a Studio export or the dashboard.
168
+ */
169
+ declare type ModuleCancelOptions = {
170
+ allowUserToCancel?: boolean;
171
+ };
172
+
164
173
  declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
165
174
 
166
175
  /**
@@ -66,7 +66,7 @@ declare type ClientIdSessionBootstrap = {
66
66
  * the UI boundary so core config types (e.g. `IdCaptureConfig`) stay untouched;
67
67
  * `FlowConfig` also declares the maps directly.
68
68
  */
69
- declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides;
69
+ declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides & ModuleCancelOptions;
70
70
 
71
71
  declare type FlowBaseConfig = {
72
72
  authHint?: string;
@@ -95,7 +95,11 @@ declare type FlowBaseConfig = {
95
95
  * correct return target. Falls back to `window.location.origin + pathname`.
96
96
  */
97
97
  digitalIdReturnUrl?: string;
98
- wasmConfig?: WasmConfig;
98
+ /**
99
+ * WASM paths and models for this flow's captures. `false` skips the flow's
100
+ * own WASM loading: none at session start, and no automatic capture warmup.
101
+ */
102
+ wasmConfig?: WasmConfig | false;
99
103
  lang?: string;
100
104
  disableDashboardTheme?: boolean;
101
105
  enableHome?: boolean;
@@ -148,6 +152,13 @@ declare type FlowUiConfig = {
148
152
  * the global `setup({ uiConfig: { spinner } })` value. Copy stays in i18n.
149
153
  */
150
154
  spinner?: SpinnerPresentation;
155
+ /**
156
+ * Lets the end user cancel this flow: shows the close button and, after the
157
+ * user confirms, quits the whole flow with `onError(..., 'USER_CANCELLED')`.
158
+ * Off by default. The button's corner comes from
159
+ * `uiConfig.closeButtonPosition`.
160
+ */
161
+ allowUserToCancel?: boolean;
151
162
  };
152
163
 
153
164
  /**
@@ -253,6 +264,15 @@ declare type LottieAnimationData = {
253
264
  h: number;
254
265
  };
255
266
 
267
+ /**
268
+ * Behavior option on a module's `config` (flow, workflow or standalone module).
269
+ * Not a theme option: it decides whether the end user may quit, so it is set by
270
+ * the integrator's code and never read from a Studio export or the dashboard.
271
+ */
272
+ declare type ModuleCancelOptions = {
273
+ allowUserToCancel?: boolean;
274
+ };
275
+
256
276
  declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
257
277
 
258
278
  /**
@@ -54,7 +54,7 @@ declare type AssetOverrides = Partial<Record<AssetKey, AssetOverride>>;
54
54
  * the UI boundary so core config types (e.g. `IdCaptureConfig`) stay untouched;
55
55
  * `FlowConfig` also declares the maps directly.
56
56
  */
57
- declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides;
57
+ declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides & ModuleCancelOptions;
58
58
 
59
59
  declare const Geolocation_2: FC<Omit<GeolocationProps, "config"> & {
60
60
  config?: (Omit<unknown, never> & DeepPartial<Pick<unknown, never>>) | undefined;
@@ -164,6 +164,15 @@ declare type LottieAnimationData = {
164
164
  h: number;
165
165
  };
166
166
 
167
+ /**
168
+ * Behavior option on a module's `config` (flow, workflow or standalone module).
169
+ * Not a theme option: it decides whether the end user may quit, so it is set by
170
+ * the integrator's code and never read from a Studio export or the dashboard.
171
+ */
172
+ declare type ModuleCancelOptions = {
173
+ allowUserToCancel?: boolean;
174
+ };
175
+
167
176
  declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
168
177
 
169
178
  /**
@@ -54,7 +54,7 @@ declare type AssetOverrides = Partial<Record<AssetKey, AssetOverride>>;
54
54
  * the UI boundary so core config types (e.g. `IdCaptureConfig`) stay untouched;
55
55
  * `FlowConfig` also declares the maps directly.
56
56
  */
57
- declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides;
57
+ declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides & ModuleCancelOptions;
58
58
 
59
59
  export declare const GovernmentValidation: FC<Omit<GovernmentValidationProps, "config"> & {
60
60
  config?: (Omit<unknown, never> & DeepPartial<Pick<unknown, never>>) | undefined;
@@ -161,6 +161,15 @@ declare type LottieAnimationData = {
161
161
  h: number;
162
162
  };
163
163
 
164
+ /**
165
+ * Behavior option on a module's `config` (flow, workflow or standalone module).
166
+ * Not a theme option: it decides whether the end user may quit, so it is set by
167
+ * the integrator's code and never read from a Studio export or the dashboard.
168
+ */
169
+ declare type ModuleCancelOptions = {
170
+ allowUserToCancel?: boolean;
171
+ };
172
+
164
173
  declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
165
174
 
166
175
  /**
@@ -53,7 +53,7 @@ declare type AssetOverrides = Partial<Record<AssetKey, AssetOverride>>;
53
53
  * the UI boundary so core config types (e.g. `IdCaptureConfig`) stay untouched;
54
54
  * `FlowConfig` also declares the maps directly.
55
55
  */
56
- declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides;
56
+ declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides & ModuleCancelOptions;
57
57
 
58
58
  export declare const IdSelfieFlow: FC<IdSelfieFlowProps>;
59
59
 
@@ -162,6 +162,15 @@ declare type LottieAnimationData = {
162
162
  h: number;
163
163
  };
164
164
 
165
+ /**
166
+ * Behavior option on a module's `config` (flow, workflow or standalone module).
167
+ * Not a theme option: it decides whether the end user may quit, so it is set by
168
+ * the integrator's code and never read from a Studio export or the dashboard.
169
+ */
170
+ declare type ModuleCancelOptions = {
171
+ allowUserToCancel?: boolean;
172
+ };
173
+
165
174
  declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
166
175
 
167
176
  /**
@@ -53,7 +53,7 @@ declare type AssetOverrides = Partial<Record<AssetKey, AssetOverride>>;
53
53
  * the UI boundary so core config types (e.g. `IdCaptureConfig`) stay untouched;
54
54
  * `FlowConfig` also declares the maps directly.
55
55
  */
56
- declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides;
56
+ declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides & ModuleCancelOptions;
57
57
 
58
58
  export declare const IdVerification: FC<IdVerificationProps>;
59
59
 
@@ -158,6 +158,15 @@ declare type LottieAnimationData = {
158
158
  h: number;
159
159
  };
160
160
 
161
+ /**
162
+ * Behavior option on a module's `config` (flow, workflow or standalone module).
163
+ * Not a theme option: it decides whether the end user may quit, so it is set by
164
+ * the integrator's code and never read from a Studio export or the dashboard.
165
+ */
166
+ declare type ModuleCancelOptions = {
167
+ allowUserToCancel?: boolean;
168
+ };
169
+
161
170
  declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
162
171
 
163
172
  /**
@@ -54,7 +54,7 @@ declare type AssetOverrides = Partial<Record<AssetKey, AssetOverride>>;
54
54
  * the UI boundary so core config types (e.g. `IdCaptureConfig`) stay untouched;
55
55
  * `FlowConfig` also declares the maps directly.
56
56
  */
57
- declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides;
57
+ declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides & ModuleCancelOptions;
58
58
 
59
59
  export declare const Id: FC<Omit<IdProps, "config"> & {
60
60
  config?: (Omit<unknown, never> & DeepPartial<Pick<unknown, never>>) | undefined;
@@ -161,6 +161,15 @@ declare type LottieAnimationData = {
161
161
  h: number;
162
162
  };
163
163
 
164
+ /**
165
+ * Behavior option on a module's `config` (flow, workflow or standalone module).
166
+ * Not a theme option: it decides whether the end user may quit, so it is set by
167
+ * the integrator's code and never read from a Studio export or the dashboard.
168
+ */
169
+ declare type ModuleCancelOptions = {
170
+ allowUserToCancel?: boolean;
171
+ };
172
+
164
173
  declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
165
174
 
166
175
  /**
@@ -53,7 +53,7 @@ declare type AssetOverrides = Partial<Record<AssetKey, AssetOverride>>;
53
53
  * the UI boundary so core config types (e.g. `IdCaptureConfig`) stay untouched;
54
54
  * `FlowConfig` also declares the maps directly.
55
55
  */
56
- declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides;
56
+ declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides & ModuleCancelOptions;
57
57
 
58
58
  export declare const IdentityReuse: FC<IdentityReuseProps>;
59
59
 
@@ -158,6 +158,15 @@ declare type LottieAnimationData = {
158
158
  h: number;
159
159
  };
160
160
 
161
+ /**
162
+ * Behavior option on a module's `config` (flow, workflow or standalone module).
163
+ * Not a theme option: it decides whether the end user may quit, so it is set by
164
+ * the integrator's code and never read from a Studio export or the dashboard.
165
+ */
166
+ declare type ModuleCancelOptions = {
167
+ allowUserToCancel?: boolean;
168
+ };
169
+
161
170
  declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
162
171
 
163
172
  /**