@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
@@ -1,15 +1,51 @@
1
- import { o as useTranslation } from "./uiConfig-BA7U_zLr.js";
2
- import { S as k, _ as y, c as A, f as d, h as q, p as g, v as u } from "./vendor-preact-C0jX1Cbq.js";
3
- import { a as useAnimationData, d as cn, n as LoadingIcon, t as Spacer } from "./spacer-BvrtrwSF.js";
4
- import { t as Title } from "./typography-DKXgPZsU.js";
5
- import { t as TransitionSpinner } from "./transitionSpinner-Bkjw-WAJ.js";
6
- import { r as SuccessIcon } from "./icons-OQDvn5r2.js";
7
- import { t as Page } from "./page-BGUJaLaG.js";
8
- import { t as ErrorContent } from "./errorContent-YeJNVb1U.js";
9
- import { t as ConnectionError } from "./connectionError-DX3wd4vm.js";
10
- import { t as useCoverMedia } from "./useCoverMedia-VLw3OYN_.js";
11
- import { t as BaseTutorial } from "./baseTutorial-CL2A9XLh.js";
12
- import { t as ManualCaptureButton } from "./manualCaptureButton-D_tGP6tv.js";
1
+ import { c as useTranslation } from "./devWarn-Cr7MglXv.js";
2
+ import { S as k, _ as y, c as A, d as _, f as d, h as q, p as g, v as u } from "./vendor-preact-C0jX1Cbq.js";
3
+ import { a as useAnimationData, n as LoadingIcon, t as Spacer, u as cn } from "./spacer-CwyNauIk.js";
4
+ import { r as SuccessIcon } from "./icons-BdiCuWFP.js";
5
+ import { t as Title } from "./typography-BF9d8wEc.js";
6
+ import { t as Page } from "./page-utEpSa9Z.js";
7
+ import { w as ConnectionError } from "./incodeComponent-C1Bz5Qou.js";
8
+ import { t as TransitionSpinner } from "./transitionSpinner-DbrWrpRU.js";
9
+ import { t as ErrorContent } from "./errorContent-zY4jb6uY.js";
10
+ import { t as useCameraPreview } from "./useCameraPreview-BmkAmzAs.js";
11
+ import { t as BaseTutorial } from "./baseTutorial-BGU2Gcly.js";
12
+ import { t as ManualCaptureButton } from "./manualCaptureButton-Cd-FY05-.js";
13
+ import { getDeviceClass, isIPad } from "@incodetech/core/device";
14
+ //#region src/hooks/useRenewAfterRotation.ts
15
+ /**
16
+ * After an iPhone turns to landscape and back, Safari can keep a live
17
+ * `<video>`'s layer sized for the landscape frames and draw the portrait ones
18
+ * as a small rectangle in the middle of the element. JS can't see it
19
+ * (`videoWidth`/`videoHeight`, the box and `object-fit` all read correctly),
20
+ * and only a fresh element paints the same stream correctly (SDK 1: ENG-34170,
21
+ * ENG-58371).
22
+ *
23
+ * Calls `renew` when the element's frames turn portrait after it showed
24
+ * landscape ones, so the caller can hand the stream to a new element.
25
+ */
26
+ function useRenewAfterRotation(videoRef, renew, reattachKey) {
27
+ y(() => {
28
+ const video = videoRef.current;
29
+ if (!video || getDeviceClass() !== "ios" || isIPad()) return;
30
+ let showedLandscape = false;
31
+ const onResize = () => {
32
+ const { videoWidth, videoHeight } = video;
33
+ if (videoWidth <= 0 || videoHeight <= 0) return;
34
+ if (videoWidth > videoHeight) showedLandscape = true;
35
+ else if (showedLandscape && videoHeight > videoWidth) {
36
+ showedLandscape = false;
37
+ renew();
38
+ }
39
+ };
40
+ video.addEventListener("resize", onResize);
41
+ return () => video.removeEventListener("resize", onResize);
42
+ }, [
43
+ videoRef,
44
+ renew,
45
+ reattachKey
46
+ ]);
47
+ }
48
+ //#endregion
13
49
  //#region src/shared/capture/faceOutline.tsx
14
50
  var FaceOutline = () => {
15
51
  return /* @__PURE__ */ u("svg", {
@@ -202,6 +238,146 @@ var Notification = ({ detectionState, disabled, guideStyle = "silhouette" }) =>
202
238
  }), /* @__PURE__ */ u(Spacer, { size: 24 })] }) : null] });
203
239
  };
204
240
  //#endregion
241
+ //#region src/hooks/useCoverMedia.ts
242
+ var CONVERGENCE_TIMEOUT_MS = 1e4;
243
+ var CONVERGENCE_INTERVAL_MS = 100;
244
+ var PENDING_CLASS = "IncodeMediaCoverPending";
245
+ /**
246
+ * Returns the explicit box that produces `object-fit: cover` geometry.
247
+ * Kept pure so the visual calculation is independently testable.
248
+ */
249
+ function calculateCoverMediaGeometry(sourceWidth, sourceHeight, containerWidth, containerHeight) {
250
+ if (!Number.isFinite(sourceWidth) || !Number.isFinite(sourceHeight) || !Number.isFinite(containerWidth) || !Number.isFinite(containerHeight) || sourceWidth <= 0 || sourceHeight <= 0 || containerWidth <= 0 || containerHeight <= 0) return;
251
+ const scale = Math.max(containerWidth / sourceWidth, containerHeight / sourceHeight);
252
+ const width = sourceWidth * scale;
253
+ const height = sourceHeight * scale;
254
+ return {
255
+ width: `${width.toFixed(2)}px`,
256
+ height: `${height.toFixed(2)}px`,
257
+ left: `${((containerWidth - width) / 2).toFixed(2)}px`,
258
+ top: `${((containerHeight - height) / 2).toFixed(2)}px`
259
+ };
260
+ }
261
+ /**
262
+ * Safari reports `object-fit` support even when its MediaStream paint is
263
+ * incorrect, so CSS.supports cannot detect this bug. Keep the workaround
264
+ * narrowly scoped to the affected iOS/iPadOS 27 WebKit builds instead.
265
+ */
266
+ function needsExplicitMediaCover(userAgent, platform, maxTouchPoints) {
267
+ const iosDevice = /\b(?:iPhone|iPad|iPod)\b/.test(userAgent);
268
+ const iosVersion = userAgent.match(/CPU (?:iPhone )?OS (\d+)[_.]/)?.[1];
269
+ if (iosDevice && iosVersion === "27") return true;
270
+ const desktopModeIPad = platform === "MacIntel" && maxTouchPoints > 1;
271
+ const safariVersion = userAgent.match(/Version\/(\d+)[._]/)?.[1];
272
+ return desktopModeIPad && safariVersion === "27";
273
+ }
274
+ function isExplicitMediaCoverNeeded() {
275
+ if (typeof navigator === "undefined") return false;
276
+ return needsExplicitMediaCover(navigator.userAgent, navigator.platform, navigator.maxTouchPoints);
277
+ }
278
+ /**
279
+ * Explicit cover for iOS 27 avatar canvases only. Camera videos use native
280
+ * CSS object-fit without polling or inline geometry (ENG-61512).
281
+ * `reattachKey` restarts the avatar fit when its canvas is replaced.
282
+ */
283
+ function useCoverMedia(mediaRef, reattachKey) {
284
+ const explicitCoverNeeded = isExplicitMediaCoverNeeded();
285
+ const applyCover = q(() => {
286
+ const media = mediaRef.current;
287
+ const container = media?.parentElement;
288
+ if (!media || !container) return false;
289
+ const sourceWidth = media.width;
290
+ const sourceHeight = media.height;
291
+ const { width: containerWidth, height: containerHeight } = container.getBoundingClientRect();
292
+ const geometry = calculateCoverMediaGeometry(sourceWidth, sourceHeight, containerWidth, containerHeight);
293
+ if (!geometry) return false;
294
+ if (media.style.width === geometry.width && media.style.height === geometry.height && media.style.left === geometry.left && media.style.top === geometry.top) return true;
295
+ media.style.maxWidth = "none";
296
+ media.style.maxHeight = "none";
297
+ media.style.right = "auto";
298
+ media.style.bottom = "auto";
299
+ media.style.width = geometry.width;
300
+ media.style.height = geometry.height;
301
+ media.style.left = geometry.left;
302
+ media.style.top = geometry.top;
303
+ return true;
304
+ }, [mediaRef]);
305
+ y(() => {
306
+ if (!explicitCoverNeeded) return;
307
+ const media = mediaRef.current;
308
+ if (!media) return;
309
+ const cleanups = [];
310
+ media.classList.add(PENDING_CLASS);
311
+ cleanups.push(() => media.classList.remove(PENDING_CLASS));
312
+ const reveal = () => media.classList.remove(PENDING_CLASS);
313
+ let pollId;
314
+ let timeoutId;
315
+ const stopPolling = () => {
316
+ if (pollId !== void 0) {
317
+ clearInterval(pollId);
318
+ pollId = void 0;
319
+ }
320
+ if (timeoutId !== void 0) {
321
+ clearTimeout(timeoutId);
322
+ timeoutId = void 0;
323
+ }
324
+ };
325
+ cleanups.push(stopPolling);
326
+ const tryApply = () => {
327
+ const applied = applyCover();
328
+ if (applied) {
329
+ reveal();
330
+ stopPolling();
331
+ }
332
+ return applied;
333
+ };
334
+ let frame1 = 0;
335
+ let frame2 = 0;
336
+ const applyCoverSettled = () => {
337
+ tryApply();
338
+ cancelAnimationFrame(frame1);
339
+ cancelAnimationFrame(frame2);
340
+ frame1 = requestAnimationFrame(() => {
341
+ tryApply();
342
+ frame2 = requestAnimationFrame(tryApply);
343
+ });
344
+ };
345
+ if (typeof ResizeObserver !== "undefined") {
346
+ const observer = new ResizeObserver(() => tryApply());
347
+ const container = media.parentElement;
348
+ if (container) observer.observe(container);
349
+ observer.observe(media);
350
+ cleanups.push(() => observer.disconnect());
351
+ }
352
+ window.addEventListener("resize", applyCoverSettled);
353
+ window.addEventListener("orientationchange", applyCoverSettled);
354
+ cleanups.push(() => {
355
+ window.removeEventListener("resize", applyCoverSettled);
356
+ window.removeEventListener("orientationchange", applyCoverSettled);
357
+ });
358
+ const startPolling = () => {
359
+ pollId = setInterval(tryApply, CONVERGENCE_INTERVAL_MS);
360
+ timeoutId = setTimeout(() => {
361
+ stopPolling();
362
+ reveal();
363
+ }, CONVERGENCE_TIMEOUT_MS);
364
+ };
365
+ if (!tryApply()) startPolling();
366
+ applyCoverSettled();
367
+ return () => {
368
+ cancelAnimationFrame(frame1);
369
+ cancelAnimationFrame(frame2);
370
+ for (const cleanup of cleanups) cleanup();
371
+ };
372
+ }, [
373
+ applyCover,
374
+ explicitCoverNeeded,
375
+ mediaRef,
376
+ reattachKey
377
+ ]);
378
+ return applyCover;
379
+ }
380
+ //#endregion
205
381
  //#region src/modules/selfie/avatarCanvas.tsx
206
382
  /**
207
383
  * Mounts the avatar `<canvas>` in place of the live selfie video. The element
@@ -414,13 +590,18 @@ var ErrorModal = ({ error, attemptsRemaining, onTryAgain }) => {
414
590
  //#region src/modules/selfie/capture.tsx
415
591
  var Capture = ({ manager, state }) => {
416
592
  const { captureStatus, stream, detectionStatus, attemptsRemaining, uploadError, usingBackCamera, ageAssurance, onDeviceMode, obfuscateWithAvatar, avatarCanvas, avatarVariant } = state;
593
+ const [previewPending, setPreviewPending] = d(true);
417
594
  const [isManualCapturing, setIsManualCapturing] = d(false);
418
595
  const { t } = useTranslation();
419
596
  const manualCaptureRef = A(null);
420
597
  const lensLanded = obfuscateWithAvatar && avatarVariant === "privacy-lens" && !!avatarCanvas;
421
598
  y(() => {
422
- if (detectionStatus === "manualCapture") manualCaptureRef.current?.focus();
423
- }, [detectionStatus]);
599
+ if (detectionStatus === "manualCapture" && (!previewPending || obfuscateWithAvatar)) manualCaptureRef.current?.focus();
600
+ }, [
601
+ detectionStatus,
602
+ previewPending,
603
+ obfuscateWithAvatar
604
+ ]);
424
605
  if (captureStatus === "initializing") return /* @__PURE__ */ u(TransitionSpinner, { subtitleKey: "loadingCircle.preparingCamera" });
425
606
  if (captureStatus === "detecting") {
426
607
  if (detectionStatus === "offline") return /* @__PURE__ */ u(ConnectionError, { onRefresh: () => window.location.reload() });
@@ -434,6 +615,7 @@ var Capture = ({ manager, state }) => {
434
615
  return "idle";
435
616
  };
436
617
  return /* @__PURE__ */ u(Page, {
618
+ theme: "light",
437
619
  "data-testid": "capture-container",
438
620
  children: [
439
621
  /* @__PURE__ */ u(Title, {
@@ -459,7 +641,8 @@ var Capture = ({ manager, state }) => {
459
641
  mirrored: !usingBackCamera
460
642
  }) : /* @__PURE__ */ u(Video, {
461
643
  stream,
462
- mirrored: !usingBackCamera
644
+ mirrored: !usingBackCamera,
645
+ onPendingChange: setPreviewPending
463
646
  }), obfuscateWithAvatar && avatarVariant !== "privacy-lens" ? null : /* @__PURE__ */ u("div", {
464
647
  class: "IncodeCaptureVideo",
465
648
  children: /* @__PURE__ */ u(FaceOutline, {})
@@ -475,10 +658,11 @@ var Capture = ({ manager, state }) => {
475
658
  detectionStatus === "manualCapture" && !onDeviceMode ? /* @__PURE__ */ u(ManualCaptureButton, {
476
659
  ref: manualCaptureRef,
477
660
  onClick: () => {
661
+ if (previewPending && !obfuscateWithAvatar) return;
478
662
  setIsManualCapturing(true);
479
663
  manager.capture();
480
664
  },
481
- disabled: isManualCapturing
665
+ disabled: isManualCapturing || previewPending && !obfuscateWithAvatar
482
666
  }) : null
483
667
  ]
484
668
  }),
@@ -513,23 +697,23 @@ var Capture = ({ manager, state }) => {
513
697
  });
514
698
  return null;
515
699
  };
516
- var Video = ({ stream, mirrored }) => {
517
- const ref = A(null);
518
- useCoverMedia(ref, stream);
519
- y(() => {
520
- if (ref.current && stream) {
521
- ref.current.srcObject = stream;
522
- ref.current.play().catch(() => {});
523
- }
524
- }, [stream]);
525
- return /* @__PURE__ */ u("video", {
700
+ var Video = ({ stream, mirrored, onPendingChange }) => {
701
+ const [element, setElement] = d(0);
702
+ const renew = q(() => setElement((current) => current + 1), []);
703
+ const { videoRef: ref, key, pending } = useCameraPreview(stream, element);
704
+ useRenewAfterRotation(ref, renew, key);
705
+ _(() => onPendingChange(pending), [pending, onPendingChange]);
706
+ return /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u("video", {
526
707
  ref,
527
708
  autoplay: true,
528
709
  playsInline: true,
529
710
  muted: true,
530
711
  "aria-hidden": "true",
531
712
  class: mirrored ? "IncodeCaptureVideoElement IncodeCaptureVideoMirrored" : "IncodeCaptureVideoElement"
532
- });
713
+ }, key), pending && /* @__PURE__ */ u("div", {
714
+ class: "IncodeCameraPreviewCover",
715
+ "aria-hidden": "true"
716
+ })] });
533
717
  };
534
718
  //#endregion
535
719
  //#region src/modules/selfie/tutorial.tsx
@@ -60,7 +60,7 @@ declare type AssetOverrides = Partial<Record<AssetKey, AssetOverride>>;
60
60
  * the UI boundary so core config types (e.g. `IdCaptureConfig`) stay untouched;
61
61
  * `FlowConfig` also declares the maps directly.
62
62
  */
63
- declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides;
63
+ declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides & ModuleCancelOptions;
64
64
 
65
65
  /**
66
66
  * Extra context passed to `onFinish` alongside the result. Lets a host decide
@@ -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
  /**
@@ -60,7 +60,7 @@ declare type AssetOverrides = Partial<Record<AssetKey, AssetOverride>>;
60
60
  * the UI boundary so core config types (e.g. `IdCaptureConfig`) stay untouched;
61
61
  * `FlowConfig` also declares the maps directly.
62
62
  */
63
- declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides;
63
+ declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides & ModuleCancelOptions;
64
64
 
65
65
  /**
66
66
  * Extra context passed to `onFinish` alongside the result. Lets a host decide
@@ -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
  /**
@@ -62,7 +62,7 @@ declare type AuthenticationProps = IncodeModuleProps<AuthenticationConfig & {
62
62
  * the UI boundary so core config types (e.g. `IdCaptureConfig`) stay untouched;
63
63
  * `FlowConfig` also declares the maps directly.
64
64
  */
65
- declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides;
65
+ declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides & ModuleCancelOptions;
66
66
 
67
67
  /**
68
68
  * Extra context passed to `onFinish` alongside the result. Lets a host decide
@@ -163,6 +163,15 @@ declare type LottieAnimationData = {
163
163
  h: number;
164
164
  };
165
165
 
166
+ /**
167
+ * Behavior option on a module's `config` (flow, workflow or standalone module).
168
+ * Not a theme option: it decides whether the end user may quit, so it is set by
169
+ * the integrator's code and never read from a Studio export or the dashboard.
170
+ */
171
+ declare type ModuleCancelOptions = {
172
+ allowUserToCancel?: boolean;
173
+ };
174
+
166
175
  declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
167
176
 
168
177
  /**
@@ -60,7 +60,7 @@ declare type CertificateIssuanceProps = IncodeModuleProps<CertificateIssuanceCon
60
60
  * the UI boundary so core config types (e.g. `IdCaptureConfig`) stay untouched;
61
61
  * `FlowConfig` also declares the maps directly.
62
62
  */
63
- declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides;
63
+ declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides & ModuleCancelOptions;
64
64
 
65
65
  /**
66
66
  * Extra context passed to `onFinish` alongside the result. Lets a host decide
@@ -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 Consent: FC<Omit<ConsentProps, "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 CrossDocumentDataMatch: FC<Omit<CrossDocumentDataMatchProps, "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 CurpValidation: FC<Omit<CurpValidationProps, "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 DocumentCapture: FC<Omit<DocumentCaptureProps, "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 DynamicForms: FC<Omit<DynamicFormsProps, "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 EkybModule: FC<Omit<EkybModuleProps, "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 EkycModule: FC<Omit<EkycModuleProps, "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
  /**
@@ -56,7 +56,7 @@ declare type AssetOverrides = Partial<Record<AssetKey, AssetOverride>>;
56
56
  * the UI boundary so core config types (e.g. `IdCaptureConfig`) stay untouched;
57
57
  * `FlowConfig` also declares the maps directly.
58
58
  */
59
- declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides;
59
+ declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides & ModuleCancelOptions;
60
60
 
61
61
  export declare const ElectronicSignature: FC<ElectronicSignatureModuleProps>;
62
62
 
@@ -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 Email: FC<Omit<EmailProps, "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
  /**