@incodetech/web 2.3.2 → 2.4.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (354) hide show
  1. package/THIRD_PARTY_NOTICES.txt +0 -3
  2. package/dist/GeolocationPermissionDenied-ChCQ6Mhi.js +444 -0
  3. package/dist/ae-signature/ae-signature.es.js +3 -3
  4. package/dist/{af-ZA-OntsEubt.js → af-ZA-B5RfX0Do.js} +32 -5
  5. package/dist/ageVerification-BMwwu3EI.js +77 -0
  6. package/dist/{am-yUcnt3vq.js → am-BE3vlUmQ.js} +32 -5
  7. package/dist/antifraud/antifraud.es.js +3 -3
  8. package/dist/antifraud/styles.css +0 -1
  9. package/dist/{ar-AE-BfxiKovT.js → ar-AE-Dw0claA-.js} +32 -5
  10. package/dist/{ar-57Dd-l4I.js → ar-B3gZ5W2R.js} +33 -6
  11. package/dist/{ar-EG-BgDjHJBi.js → ar-EG-5pSqEbCR.js} +32 -5
  12. package/dist/authentication/authentication.es.js +4 -4
  13. package/dist/{autoFocusTitle-DebebrwQ.js → autoFocusTitle-DTSPbDgY.js} +1 -1
  14. package/dist/{az-dT363k-q.js → az-CtWu_6fI.js} +32 -5
  15. package/dist/back-horizontal-hint-BztyPanp.js +134 -0
  16. package/dist/back-vertical-hint-BSzA4QbJ.js +127 -0
  17. package/dist/base.css +1 -7230
  18. package/dist/{baseTutorial-CyVBbj9b.js → baseTutorial-CW-zwkOM.js} +13 -24
  19. package/dist/{bn-CKZ00roT.js → bn-CXOCkHeB.js} +32 -5
  20. package/dist/{bottomSheet-DpSr7d9-.js → bottomSheet-DmQVpuxJ.js} +2 -2
  21. package/dist/{bs-BnLdLnmZ.js → bs-B4mczUkN.js} +32 -5
  22. package/dist/{ca-D3PGkuQc.js → ca-DAE1dQj9.js} +32 -5
  23. package/dist/cameraOverlay-Bgpa6tky.js +2 -0
  24. package/dist/cameraOverlayHeader-BZlR-wkk.js +83 -0
  25. package/dist/{cameraView-CoWyMnTT.js → cameraView-DG425WNr.js} +2 -2
  26. package/dist/{ceb-R-2VANeF.js → ceb-C9GCq8zw.js} +32 -5
  27. package/dist/certificate-issuance/certificate-issuance.es.js +9 -8
  28. package/dist/certificate-issuance/styles.css +1 -72
  29. package/dist/certificate-issuance/styles.css.js +1 -1
  30. package/dist/check-icon-BpjpKqhJ.js +48 -0
  31. package/dist/{checkbox-CNc8kQS0.js → checkbox-ClDWA_GP.js} +2 -2
  32. package/dist/connectionError-DnLv1SEA.js +45 -0
  33. package/dist/consent/consent.es.js +8 -6
  34. package/dist/consent/styles.css +1 -129
  35. package/dist/consent/styles.css.js +1 -1
  36. package/dist/countryDefinitions-BO9OSKQO.js +555 -0
  37. package/dist/countryFlag-2Vj85OIZ.js +67 -0
  38. package/dist/{countrySelector-BlC5_2rW.js → countrySelector-65mrWgRB.js} +6 -5
  39. package/dist/cross-document-data-match/cross-document-data-match.es.js +3 -3
  40. package/dist/{cs-CZ-CEidLhWp.js → cs-CZ-CLmA_0jN.js} +32 -5
  41. package/dist/{cs-bm9MEri0.js → cs-DJEcT5M8.js} +32 -5
  42. package/dist/curp-validation/curp-validation.es.js +13 -11
  43. package/dist/curp-validation/styles.css +1 -128
  44. package/dist/curp-validation/styles.css.js +1 -1
  45. package/dist/custom-fields/styles.css +1 -21
  46. package/dist/custom-fields/styles.css.js +1 -1
  47. package/dist/{customFields-C_iIhQYG.js → customFields-BNX1AHc3.js} +10 -9
  48. package/dist/{customWatchlist-utPTNwCU.js → customWatchlist-BdCLsmp2.js} +6 -6
  49. package/dist/{da-DK-BuSuFTsg.js → da-DK-B0G-1XCN.js} +32 -5
  50. package/dist/{dashboardTheme-DdWs3tlN.js → dashboardTheme-B3JLw1w6.js} +1 -1
  51. package/dist/dateInputComposed-81cxVVay.js +1 -0
  52. package/dist/{dateInputComposed-CylyZPCj.js → dateInputComposed-BwqEyZNg.js} +4 -4
  53. package/dist/{de-BCPdribE.js → de-Pw3Ziz4S.js} +32 -5
  54. package/dist/denied-D977k8ju.js +1871 -0
  55. package/dist/deviceWallet-CoXT8GNt.js +66 -0
  56. package/dist/digitalIdRedirect-CI0JpjXY.js +162 -0
  57. package/dist/digitalIdUpload-DTrEj4Q3.js +496 -0
  58. package/dist/document-capture/document-capture.es.js +1 -1
  59. package/dist/document-capture/styles.css +1 -378
  60. package/dist/document-capture/styles.css.js +1 -1
  61. package/dist/{documentCapture-BrhKPBNZ.js → documentCapture-BVs_R-Aj.js} +127 -180
  62. package/dist/documentCapture-CE3xt7Qu.js +2 -0
  63. package/dist/dropdownComposed-BBeW4gkE.js +1 -0
  64. package/dist/{dropdownComposed-B0WxIm-I.js → dropdownComposed-CB55QqNd.js} +8 -14
  65. package/dist/dynamic-forms/dynamic-forms.es.js +13 -12
  66. package/dist/dynamic-forms/styles.css +1 -104
  67. package/dist/dynamic-forms/styles.css.js +1 -1
  68. package/dist/ekyb/ekyb.es.js +1 -1
  69. package/dist/ekyb/styles.css +1 -113
  70. package/dist/ekyb/styles.css.js +1 -1
  71. package/dist/ekybModule-BiVsuQhj.js +2 -0
  72. package/dist/{ekybModule-BwD2ohHx.js → ekybModule-Deru8qGu.js} +13 -12
  73. package/dist/ekyc/ekyc.es.js +1 -1
  74. package/dist/ekyc/styles.css +1 -108
  75. package/dist/ekyc/styles.css.js +1 -1
  76. package/dist/ekycModule-CGS7oZAu.js +2 -0
  77. package/dist/{ekycModule-Y9GYfYAt.js → ekycModule-Cb3HnENz.js} +46 -14
  78. package/dist/{el-60ThHM2U.js → el-DlcHAcXD.js} +32 -5
  79. package/dist/{el-GR-D6WIhwC3.js → el-GR-fXRg7fVy.js} +32 -5
  80. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  81. package/dist/electronic-signature/styles.css +1 -407
  82. package/dist/electronic-signature/styles.css.js +1 -1
  83. package/dist/{electronic-signature-Bmn4AOpj.js → electronic-signature-Bt644x6v.js} +24 -21
  84. package/dist/email/email.es.js +8 -7
  85. package/dist/email/styles.css +1 -11
  86. package/dist/email/styles.css.js +1 -1
  87. package/dist/{emailInput-DgQXpURU.js → emailInput-DQlm6sys.js} +3 -3
  88. package/dist/{en-ISV8KwbL.js → en-BQfrZw2Q.js} +32 -5
  89. package/dist/{en-DG-Crvtj3p2.js → en-DG-Dbay0TVK.js} +32 -5
  90. package/dist/{errorContent-XVdZTMAl.js → errorContent-i-XKbliC.js} +5 -5
  91. package/dist/{es-419-pXqNpSti.js → es-419-B494eoOQ.js} +32 -5
  92. package/dist/{es-1QCV_aoe.js → es-CIaH0_TG.js} +32 -5
  93. package/dist/{es-ES-BIYzpL_B.js → es-ES-BAy8H_o4.js} +32 -5
  94. package/dist/{es-MX-Cih_nZPr.js → es-MX-mRlcVoSi.js} +32 -5
  95. package/dist/esm-15CISqPe.js +430 -0
  96. package/dist/{et-CgCGIoIQ.js → et-BsM-KF4Y.js} +33 -6
  97. package/dist/{expiredId-BhQM_AcZ.js → expiredId-Bc_tCf-R.js} +6 -6
  98. package/dist/extensibility.es.js +38 -36
  99. package/dist/{fa-IR-YnGtqwsy.js → fa-IR-DKPXxDgD.js} +32 -5
  100. package/dist/face-match/face-match.es.js +1 -1
  101. package/dist/face-match/styles.css +1 -535
  102. package/dist/face-match/styles.css.js +1 -1
  103. package/dist/faceMatch-KF3QElE7.js +2 -0
  104. package/dist/faceMatch-MVYGreUC.js +336 -0
  105. package/dist/{fi-FI-3XXKPtj1.js → fi-FI-BehaswUi.js} +32 -5
  106. package/dist/field-comparison/field-comparison.es.js +1 -1
  107. package/dist/field-comparison/styles.css +1 -27
  108. package/dist/field-comparison/styles.css.js +1 -1
  109. package/dist/fieldComparison-CQG-0wfE.js +2 -0
  110. package/dist/{fieldComparison-D7rZ657j.js → fieldComparison-D4FRpZlC.js} +13 -7
  111. package/dist/finalSuccessScreen-DS4fm_uM.js +500 -0
  112. package/dist/fiscal-qr/fiscal-qr.es.js +28 -23
  113. package/dist/fiscal-qr/styles.css +1 -82
  114. package/dist/fiscal-qr/styles.css.js +1 -1
  115. package/dist/{flipAnimation-BGXItWj0.js → flipAnimation-NcDmqbnT.js} +643 -355
  116. package/dist/flow/flow.es.js +41 -24
  117. package/dist/flow/shell/styles.css +1 -401
  118. package/dist/flow/shell/styles.css.js +1 -1
  119. package/dist/flow/styles.css +1 -5702
  120. package/dist/{formField-Cf25rdkJ.js → formField-D1sSXdbf.js} +2 -2
  121. package/dist/{fr-CA-DULWz0cf.js → fr-CA-DZcH7XE0.js} +32 -5
  122. package/dist/{fr-BwDYP0LQ.js → fr-DuG6kscd.js} +32 -5
  123. package/dist/front-horizontal-hint-DEHmtcdg.js +379 -0
  124. package/dist/{front-vertical-hint-qXMVdLri.js → front-vertical-hint-Cb1NO-xT.js} +71 -72
  125. package/dist/geolocation/geolocation.es.js +26 -459
  126. package/dist/geolocation/styles.css +1 -165
  127. package/dist/geolocation/styles.css.js +1 -1
  128. package/dist/government-validation/government-validation.es.js +15 -13
  129. package/dist/government-validation/styles.css +1 -4
  130. package/dist/government-validation/styles.css.js +1 -1
  131. package/dist/{he-BZVxeCzZ.js → he-B_PP0efY.js} +32 -5
  132. package/dist/{hi-Bp8GM653.js → hi-D0rSX1o4.js} +32 -5
  133. package/dist/{hmn-Bj6F8ToZ.js → hmn-DK7VD_xu.js} +32 -5
  134. package/dist/{homeScreen-eYD0Zo8Y.js → homeScreen-CKLvX3bf.js} +10 -11
  135. package/dist/{hr-uz9DXHS8.js → hr-BpjWRIC0.js} +32 -5
  136. package/dist/{ht-BGd4L5Je.js → ht-CG8o1xEm.js} +32 -5
  137. package/dist/{hu-BvTVDhN5.js → hu-BmwC53l2.js} +32 -5
  138. package/dist/icons-Cri5P1f0.js +535 -0
  139. package/dist/id/id.es.js +315 -1174
  140. package/dist/id/styles.css +1 -1691
  141. package/dist/id/styles.css.js +1 -1
  142. package/dist/{id-D0EG-hya.js → id-CKlkbZdM.js} +32 -5
  143. package/dist/id-back-of-card-C7Au2tqk.js +71 -0
  144. package/dist/id-back-of-card-vertical-CtQBFw8w.js +74 -0
  145. package/dist/id-front-of-card-BmHL_keG.js +305 -0
  146. package/dist/id-front-of-card-vertical-DkNUn2Vx.js +253 -0
  147. package/dist/id-ocr/styles.css +1 -55
  148. package/dist/id-ocr/styles.css.js +1 -1
  149. package/dist/id-selfie-flow/id-selfie-flow.es.js +12 -9
  150. package/dist/id-selfie-flow/styles.css +1 -780
  151. package/dist/id-verification/id-verification.es.js +6 -5
  152. package/dist/{idOcr-66OmIUeD.js → idOcr-vWU87y1x.js} +12 -11
  153. package/dist/identity-reuse/identity-reuse.es.js +167 -139
  154. package/dist/identity-reuse/styles.css +1 -216
  155. package/dist/incode-logo-r5UBM52t.js +341 -0
  156. package/dist/{incodeComponent--XJZ07QN.js → incodeComponent-I3JIdKa5.js} +147 -269
  157. package/dist/incodeModule-t2FDQ-II.js +68 -0
  158. package/dist/index.es.js +4 -3
  159. package/dist/{inputComposed-ByIWAPSr.js → inputComposed-B27kZydt.js} +2 -2
  160. package/dist/inputComposed-DfPNjr7W.js +1 -0
  161. package/dist/{it-DWY7_sYa.js → it-Ha3KMdAw.js} +32 -5
  162. package/dist/{ja-z6DqLSKX.js → ja-BcpfEJD1.js} +32 -5
  163. package/dist/{ja-JP-DvHAizEm.js → ja-JP-6Sg-lS3C.js} +33 -6
  164. package/dist/{jv-CkRJjzon.js → jv-BhDDvojx.js} +32 -5
  165. package/dist/{ka-BvgWMiTW.js → ka-DSEmyiG7.js} +32 -5
  166. package/dist/{kk-BAYGOXZ1.js → kk-DfTBM0Ac.js} +32 -5
  167. package/dist/{km-Bn1-UMaR.js → km-DSH-1ryG.js} +40 -13
  168. package/dist/{ko-CtAqOkND.js → ko-DmCEEN9O.js} +32 -5
  169. package/dist/{ko-KP-kVzak00f.js → ko-KP-DxNF6PVH.js} +32 -5
  170. package/dist/{ky-Cegtfua2.js → ky-BYYkLAWt.js} +32 -5
  171. package/dist/{lo-DtW4luOG.js → lo-Dd7cFyNu.js} +32 -5
  172. package/dist/{lt-CnaDc_UD.js → lt-DJemxo6s.js} +33 -6
  173. package/dist/{lv-SBquFvpr.js → lv-DV6PxXYU.js} +32 -5
  174. package/dist/{mandatoryConsent-BMvNiuiY.js → mandatoryConsent-CEFsoyzd.js} +8 -6
  175. package/dist/{manualCaptureButton-6HOiu1ud.js → manualCaptureButton-DghY-ZUO.js} +5 -5
  176. package/dist/{manualCaptureButton-CI-lIiuA.js → manualCaptureButton-DwcLDSMN.js} +43 -34
  177. package/dist/{mk-Bym8Rbmu.js → mk-0GH3TF8e.js} +32 -5
  178. package/dist/{mn-C-EiXg08.js → mn-DhhnhyBd.js} +32 -5
  179. package/dist/{ms-k_GCoKmE.js → ms-DmVYGU6Y.js} +32 -5
  180. package/dist/{my-v5GqdpqS.js → my-DGXxog_l.js} +32 -5
  181. package/dist/{nb-NO-Ca1WyJtF.js → nb-NO-SMmm3cOU.js} +32 -5
  182. package/dist/{ne-DZ1xJQOA.js → ne-DVsGmeSd.js} +32 -5
  183. package/dist/{nl-DsWJVGHj.js → nl-CL7EuWSC.js} +33 -6
  184. package/dist/{optionAccessibleLabel-CkP9Zu6D.js → optionAccessibleLabel-BApMWddn.js} +5 -5
  185. package/dist/{otpInput-CmcE2rnQ.js → otpInput-D0RomcH9.js} +6 -6
  186. package/dist/page-BzEithea.js +299 -0
  187. package/dist/{passport-horizontal-hint-6Ghn2EEN.js → passport-horizontal-hint-DgNc6F0-.js} +48 -49
  188. package/dist/{passport-vertical-hint-UPFFpdf4.js → passport-vertical-hint-B-toVsfT.js} +42 -42
  189. package/dist/{passwordInputComposed-DkHtXfpN.js → passwordInputComposed-DqiG9IUM.js} +4 -4
  190. package/dist/{pdf-CFubyG0B.js → pdf-BKHLi5Ac.js} +2 -2
  191. package/dist/pdf.worker.min-BM1b2w9V.js +4 -0
  192. package/dist/pdfViewer-6PrH9fHg.js +2 -0
  193. package/dist/pdfViewer-DZurXIAg.js +154 -0
  194. package/dist/{permissions-D85sVpRH.js → permissions-C6NE4tvm.js} +41 -14
  195. package/dist/phone/phone.es.js +9 -8
  196. package/dist/phone/styles.css +1 -10
  197. package/dist/phone/styles.css.js +1 -1
  198. package/dist/phoneInputComposed-CVDIUrRy.js +249 -0
  199. package/dist/{pl-B32zvfat.js → pl-9hyt0nnb.js} +32 -5
  200. package/dist/policyUrls-B3M8nLRh.js +7 -0
  201. package/dist/{processing-DB6ZtByy.js → processing-Do2ee2et.js} +1 -1
  202. package/dist/progressBar-CNBUGgEc.js +27 -0
  203. package/dist/{pt-BR-CZSBmrhf.js → pt-BR-BBMw-S8O.js} +32 -5
  204. package/dist/{pt-PT-dD8X7Uk-.js → pt-PT-fSxcH0NK.js} +32 -5
  205. package/dist/{pt-CI9A94gT.js → pt-WGxHmjdN.js} +32 -5
  206. package/dist/{spacer-Csi6kZZI.js → purify.es-0fCPkEV1.js} +2 -740
  207. package/dist/qe-signature/qe-signature.es.js +3 -3
  208. package/dist/radioGroupComposed-Cy6hgLBE.js +1 -0
  209. package/dist/{radioGroupComposed-BKEEwEPO.js → radioGroupComposed-FYYC8SNS.js} +2 -2
  210. package/dist/redirect-to-mobile/redirect-to-mobile.es.js +116 -13
  211. package/dist/redirect-to-mobile/styles.css +1 -323
  212. package/dist/redirect-to-mobile/styles.css.js +1 -1
  213. package/dist/reload-icon-elAFo9-k.js +70 -0
  214. package/dist/{resendTimer-QICiM2K0.js → resendTimer-C0tGof4N.js} +1 -1
  215. package/dist/{richText-2CpStx6w.js → richText-aCnLd3j2.js} +2 -2
  216. package/dist/{ro-9pJ4k0ri.js → ro-CRut2TFS.js} +32 -5
  217. package/dist/{ru-DU8F6ner.js → ru-DKaZyUKL.js} +32 -5
  218. package/dist/{ru-RU-Bbq_NDQg.js → ru-RU-C09Xv3Yg.js} +32 -5
  219. package/dist/sanitizeSvg-BC-qLUgS.js +35 -0
  220. package/dist/selfie/selfie.es.js +9 -184
  221. package/dist/selfie/styles.css +1 -501
  222. package/dist/selfie/styles.css.js +1 -1
  223. package/dist/signature/signature.es.js +8 -7
  224. package/dist/signature/styles.css +1 -116
  225. package/dist/signature/styles.css.js +1 -1
  226. package/dist/{sk-COjINm80.js → sk-CRgCa4Xy.js} +35 -8
  227. package/dist/{sl-BHEN5hgb.js → sl-BnWo7ffO.js} +32 -5
  228. package/dist/{smsTabContent-6ehe5Tx-.js → smsTabContent-DrX3JFpW.js} +6 -7
  229. package/dist/{so-BK_1PgA0.js → so-QQqlxuIj.js} +32 -5
  230. package/dist/spacer-CRMb016O.js +741 -0
  231. package/dist/{spinner-C9D0Usrj.js → spinner-B2lU14AQ.js} +2 -2
  232. package/dist/{sr-CXHt_PCR.js → sr-B5E7ItZS.js} +32 -5
  233. package/dist/{sr-Latn-BBXL4zhk.js → sr-Latn-DYffMLFY.js} +40 -13
  234. package/dist/{sr-YU-D3DxWT8Q.js → sr-YU-wTH5Bs0f.js} +32 -5
  235. package/dist/{statusPage-BbOa8Zsp.js → statusPage-BIL3xP5F.js} +3 -3
  236. package/dist/{sv-SE-B6_0mJU7.js → sv-SE-CWW4jCGJ.js} +32 -5
  237. package/dist/{sw-BUZuOFDH.js → sw-DQMkDT3g.js} +32 -5
  238. package/dist/{th-DZN2Iv8L.js → th-3PSK_Dsh.js} +32 -5
  239. package/dist/{th-TH-B5S1TAOp.js → th-TH-BT3vwWPA.js} +32 -5
  240. package/dist/themes/dark.css +1 -1537
  241. package/dist/themes/light.css +1 -1413
  242. package/dist/{tl-DO_ExzG4.js → tl-BjxdIajM.js} +32 -5
  243. package/dist/{tl-PH-CbqgynTp.js → tl-PH-C_wJmHt1.js} +32 -5
  244. package/dist/{tr-DuzhV6aC.js → tr-BhmOJl6w.js} +34 -7
  245. package/dist/transitionSpinner-CPK1gaqC.js +76 -0
  246. package/dist/{tutorial-CGHCyHq1.js → tutorial-D9Tr_r15.js} +14 -18
  247. package/dist/types/ae-signature.d.ts +27 -5
  248. package/dist/types/antifraud.d.ts +27 -5
  249. package/dist/types/authentication.d.ts +27 -5
  250. package/dist/types/certificate-issuance.d.ts +27 -5
  251. package/dist/types/consent.d.ts +27 -3
  252. package/dist/types/cross-document-data-match.d.ts +32 -2
  253. package/dist/types/curp-validation.d.ts +27 -5
  254. package/dist/types/document-capture.d.ts +32 -2
  255. package/dist/types/dynamic-forms.d.ts +27 -5
  256. package/dist/types/ekyb.d.ts +32 -2
  257. package/dist/types/ekyc.d.ts +32 -2
  258. package/dist/types/electronic-signature.d.ts +27 -5
  259. package/dist/types/email.d.ts +27 -3
  260. package/dist/types/extensibility.d.ts +135 -27
  261. package/dist/types/face-match.d.ts +32 -2
  262. package/dist/types/field-comparison.d.ts +32 -2
  263. package/dist/types/fiscal-qr.d.ts +27 -3
  264. package/dist/types/flow.d.ts +27 -3
  265. package/dist/types/geolocation.d.ts +27 -3
  266. package/dist/types/government-validation.d.ts +32 -2
  267. package/dist/types/id-selfie-flow.d.ts +27 -14
  268. package/dist/types/id-verification.d.ts +27 -5
  269. package/dist/types/id.d.ts +27 -3
  270. package/dist/types/identity-reuse.d.ts +27 -5
  271. package/dist/types/index.d.ts +52 -1
  272. package/dist/types/phone.d.ts +27 -3
  273. package/dist/types/qe-signature.d.ts +27 -5
  274. package/dist/types/selfie.d.ts +27 -3
  275. package/dist/types/signature.d.ts +27 -5
  276. package/dist/types/video-selfie.d.ts +5 -2
  277. package/dist/types/watchlist.d.ts +27 -5
  278. package/dist/types/workflow.d.ts +50 -4
  279. package/dist/{typography-Ck7V6DNZ.js → typography-CVggEHuL.js} +1 -1
  280. package/dist/{uiConfig-Dd7jp1PI.js → uiConfig-CzjzpmLx.js} +256 -874
  281. package/dist/{uk-UA-D6AgqKAE.js → uk-UA-D8etJPYS.js} +33 -6
  282. package/dist/{uk-BLrKoj8p.js → uk-XbgXa2Ga.js} +32 -5
  283. package/dist/{ur-uciedoGK.js → ur-EvEZPGeH.js} +32 -5
  284. package/dist/useCaptureHelpButton-Dh2rCLy1.js +86 -0
  285. package/dist/useCoverMedia-VLw3OYN_.js +149 -0
  286. package/dist/{uz-D1RcQJml.js → uz-CLNoByCo.js} +32 -5
  287. package/dist/{verificationResult-CMeZfcp-.js → verificationResult-CZbJPu23.js} +6 -6
  288. package/dist/{vi-ftDWx05b.js → vi-Drg8ZYY0.js} +32 -5
  289. package/dist/video-selfie/styles.css +1 -864
  290. package/dist/video-selfie/styles.css.js +1 -1
  291. package/dist/video-selfie/video-selfie.es.js +15 -12
  292. package/dist/watchlist/watchlist.es.js +6 -6
  293. package/dist/watchlist-for-business/styles.css +1 -17
  294. package/dist/watchlist-for-business/styles.css.js +1 -1
  295. package/dist/{watchlistForBusiness-CAVtOlvf.js → watchlistForBusiness-CjEsaTUW.js} +265 -8
  296. package/dist/{resolveApiKey-uVJm2km3.js → withEndScreenTexts-CFZVBpbY.js} +53 -25
  297. package/dist/workflow/styles.css +1 -5116
  298. package/dist/workflow/workflow.es.js +83 -28
  299. package/dist/{zh-CN-C6BX8R6-.js → zh-CN-DgsFb5nA.js} +32 -5
  300. package/dist/{zh-CJ974_0X.js → zh-D9t3i09v.js} +32 -5
  301. package/dist/{zh-HANT-CbCj1ENS.js → zh-HANT-DA0DsBcr.js} +32 -5
  302. package/dist/{zh-TW-DGxz1fli.js → zh-TW-BjJ6hVEd.js} +32 -5
  303. package/package.json +8 -6
  304. package/dist/back-horizontal-hint-UQ7Nof6k.js +0 -137
  305. package/dist/back-vertical-hint-Crc8ybfk.js +0 -128
  306. package/dist/cameraOverlay-Dp8micQ1.js +0 -2
  307. package/dist/cameraOverlayHeader-BMfNitmC.js +0 -43
  308. package/dist/captureFooter-xMZdYH2O.js +0 -67
  309. package/dist/connectionError-BhxGYSwy.js +0 -45
  310. package/dist/countries-5e8kwG_m.js +0 -8560
  311. package/dist/dateInputComposed-DM6MXdpn.js +0 -1
  312. package/dist/denied-PJnw8fbL.js +0 -2191
  313. package/dist/documentCapture-Bcw3g1Q1.js +0 -2
  314. package/dist/dropdownComposed-C2bmup-w.js +0 -1
  315. package/dist/ekybModule-DHJWniii.js +0 -2
  316. package/dist/ekycModule-5d4qgrAk.js +0 -2
  317. package/dist/faceMatch-B7ayVA3N.js +0 -2
  318. package/dist/faceMatch-Tj39bhkm.js +0 -334
  319. package/dist/fieldComparison-75FGbygj.js +0 -2
  320. package/dist/finalSuccessScreen-ikiIjPhC.js +0 -499
  321. package/dist/front-horizontal-hint-mgovnJf3.js +0 -380
  322. package/dist/icons-DO-rf5yd.js +0 -533
  323. package/dist/id-back-of-card-B6EcmiCs.js +0 -83
  324. package/dist/id-back-of-card-vertical-B3FXhPpj.js +0 -88
  325. package/dist/id-front-of-card-V_BlLaZr.js +0 -308
  326. package/dist/id-front-of-card-vertical-CuZjL8kc.js +0 -278
  327. package/dist/incode-logo-BzJOZr3f.js +0 -4
  328. package/dist/incodeModule-n_Am6zwM.js +0 -31
  329. package/dist/inputComposed-B33LMERA.js +0 -1
  330. package/dist/modal-DNfrzKC7.js +0 -140
  331. package/dist/modal.hooks-B0Wrc9s2.js +0 -201
  332. package/dist/pdfViewer-CygtdQPU.js +0 -149
  333. package/dist/pdfViewer-Yf7ZKXLz.js +0 -2
  334. package/dist/phoneInputComposed-7i6GGW1B.js +0 -3751
  335. package/dist/radioGroupComposed-Bm3iEn-6.js +0 -1
  336. package/dist/tabs-CW12_glt.js +0 -104
  337. /package/dist/{aligndevicelottie-B12hbVhG.js → aligndevicelottie-BARt-rhe.js} +0 -0
  338. /package/dist/{back-tutorial-XdmQ0Wml.js → back-tutorial-CZrMmj1_.js} +0 -0
  339. /package/dist/{backdevicelottie-m_DOD8xE.js → backdevicelottie-CIM3ekd8.js} +0 -0
  340. /package/dist/{blurdevicelottie-DQo_hTMD.js → blurdevicelottie-BRyXfLB6.js} +0 -0
  341. /package/dist/{browser-ponyfill-ZkeBm4ji.js → browser-ponyfill-DT11p-Ob.js} +0 -0
  342. /package/dist/{defineProperty-BojnCa44.js → defineProperty-CjeJoXkx.js} +0 -0
  343. /package/dist/{flip-animation-VicedlT5.js → flip-animation-BU5LNKYx.js} +0 -0
  344. /package/dist/{frontdevicelottie-CyIerlMv.js → frontdevicelottie-arpyu_Fz.js} +0 -0
  345. /package/dist/{glaredevicelottie-QM2C6Ivp.js → glaredevicelottie-TwTFxe7h.js} +0 -0
  346. /package/dist/{id-laser-h-B0-iXcvl.js → id-laser-h-Dr-hBxrq.js} +0 -0
  347. /package/dist/{id-laser-v-Bqh6vimi.js → id-laser-v-D_r0QNY8.js} +0 -0
  348. /package/dist/{id-tutorial-IhmAzrIF.js → id-tutorial-DM9Pkfs-.js} +0 -0
  349. /package/dist/{lottie_light-CzZ3CHBk.js → lottie_light-aMg9Q9iO.js} +0 -0
  350. /package/dist/{numberedStep-C8e_uPaz.js → numberedStep-CvbL3ht2.js} +0 -0
  351. /package/dist/{passport-tutorial-61vlloJS.js → passport-tutorial-CKZZuDf_.js} +0 -0
  352. /package/dist/{registerIncodeElement-CbZczi4S.js → registerIncodeElement-D_cn4dSI.js} +0 -0
  353. /package/dist/{selfieTutorial-BRQ2QNxQ.js → selfieTutorial-Dz6lDFMn.js} +0 -0
  354. /package/dist/{useModuleLoader-DpcbSKBH.js → useModuleLoader-BdIp6TNQ.js} +0 -0
@@ -2,6 +2,7 @@ import { ElectronicSignatureConfig } from '@incodetech/core/electronic-signature
2
2
  import { ElectronicSignatureManager } from '@incodetech/core/electronic-signature';
3
3
  import { FC } from 'preact/compat';
4
4
  import { FunctionComponent } from 'preact';
5
+ import { SessionExpiredError } from '@incodetech/core/session';
5
6
  import { SVGProps } from 'preact/compat';
6
7
 
7
8
  /** @deprecated Use {@link ElectronicSignature} */
@@ -79,6 +80,15 @@ declare type IncodeFinishMeta = {
79
80
  * replace the SDK screen. Not a guarantee.
80
81
  */
81
82
  sdkOwnsTerminalScreen?: boolean;
83
+ /**
84
+ * True when the workflow is OAuth2-secured. The OAuth authorization server
85
+ * owns the redirect back to the client's `redirect_uri`, so the host must not
86
+ * navigate to `redirectionUrl` itself. A host redirect drops the `error` and
87
+ * `state` parameters, and the client reads a failed authentication as a
88
+ * success. The workflow always sets it on finish; treat a missing value as
89
+ * unknown.
90
+ */
91
+ oauth2Secured?: boolean;
82
92
  };
83
93
 
84
94
  declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TConfigInput = ConfigWithOverrides<TConfig>> = {
@@ -92,7 +102,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
92
102
  */
93
103
  config?: TConfigInput;
94
104
  /**
95
- * Optional pre-built manager. When provided, the module does not create or manage the manager lifecycle.
105
+ * Optional pre-built manager. The host owns its ordinary lifecycle.
106
+ * Session expiry always stops it to release capture resources, even when
107
+ * supplied by the host. Create a new manager for a replacement session;
108
+ * do not reuse the stopped instance in another mounted module.
96
109
  */
97
110
  manager?: TManager;
98
111
  /**
@@ -112,8 +125,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
112
125
  * @param moduleErrorCode - Optional machine-readable error code (e.g. a
113
126
  * `FaceErrorCode` such as `NONEXISTENT_CUSTOMER`). Lets an orchestrator
114
127
  * branch on the specific terminal error without parsing the message string.
128
+ * @param details - Structured session-expiry error with statusCode 401 and
129
+ * code/type SESSION_EXPIRED. The first three arguments stay compatible.
115
130
  */
116
- onError?: (error: string | undefined, errorCode?: number, moduleErrorCode?: string) => void;
131
+ onError?: ModuleErrorHandler;
117
132
  };
118
133
 
119
134
  /**
@@ -128,6 +143,13 @@ declare type InstanceOverrides = {
128
143
  assets?: AssetOverrides;
129
144
  animations?: AnimationOverrides;
130
145
  spinner?: SpinnerPresentation;
146
+ /**
147
+ * `true` hides the unsupported-browser screen for this element; `false`
148
+ * forces it on. Wins over `setup({ uiConfig })`. When both are omitted, the
149
+ * session Flow's setting applies. `<incode-flow>` and `<incode-workflow>`
150
+ * ignore it and always use their server setting.
151
+ */
152
+ disableUnsupportedBrowserScreen?: boolean;
131
153
  };
132
154
 
133
155
  declare type LottieAnimationData = {
@@ -139,6 +161,8 @@ declare type LottieAnimationData = {
139
161
  h: number;
140
162
  };
141
163
 
164
+ declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
165
+
142
166
  /**
143
167
  * Host-facing loader presentation, settable globally via
144
168
  * `setup({ uiConfig: { spinner } })` or per element via `config.spinner`.
@@ -170,8 +194,6 @@ export { }
170
194
 
171
195
  declare global {
172
196
  interface HTMLElementTagNameMap {
173
- 'incode-electronic-signature': HTMLElement & IncodeModuleProps<ElectronicSignatureConfig,
174
- void,
175
- ElectronicSignatureManager>;
197
+ 'incode-electronic-signature': HTMLElement & import('preact').ComponentProps<typeof ElectronicSignature>;
176
198
  }
177
199
  }
@@ -3,6 +3,7 @@ import { EmailConfig } from '@incodetech/core/email';
3
3
  import { EmailManager } from '@incodetech/core/email';
4
4
  import { FC } from 'preact/compat';
5
5
  import { FunctionComponent } from 'preact';
6
+ import { SessionExpiredError } from '@incodetech/core/session';
6
7
  import { SVGProps } from 'preact/compat';
7
8
 
8
9
  /**
@@ -82,6 +83,15 @@ declare type IncodeFinishMeta = {
82
83
  * replace the SDK screen. Not a guarantee.
83
84
  */
84
85
  sdkOwnsTerminalScreen?: boolean;
86
+ /**
87
+ * True when the workflow is OAuth2-secured. The OAuth authorization server
88
+ * owns the redirect back to the client's `redirect_uri`, so the host must not
89
+ * navigate to `redirectionUrl` itself. A host redirect drops the `error` and
90
+ * `state` parameters, and the client reads a failed authentication as a
91
+ * success. The workflow always sets it on finish; treat a missing value as
92
+ * unknown.
93
+ */
94
+ oauth2Secured?: boolean;
85
95
  };
86
96
 
87
97
  declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TConfigInput = ConfigWithOverrides<TConfig>> = {
@@ -95,7 +105,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
95
105
  */
96
106
  config?: TConfigInput;
97
107
  /**
98
- * Optional pre-built manager. When provided, the module does not create or manage the manager lifecycle.
108
+ * Optional pre-built manager. The host owns its ordinary lifecycle.
109
+ * Session expiry always stops it to release capture resources, even when
110
+ * supplied by the host. Create a new manager for a replacement session;
111
+ * do not reuse the stopped instance in another mounted module.
99
112
  */
100
113
  manager?: TManager;
101
114
  /**
@@ -115,8 +128,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
115
128
  * @param moduleErrorCode - Optional machine-readable error code (e.g. a
116
129
  * `FaceErrorCode` such as `NONEXISTENT_CUSTOMER`). Lets an orchestrator
117
130
  * branch on the specific terminal error without parsing the message string.
131
+ * @param details - Structured session-expiry error with statusCode 401 and
132
+ * code/type SESSION_EXPIRED. The first three arguments stay compatible.
118
133
  */
119
- onError?: (error: string | undefined, errorCode?: number, moduleErrorCode?: string) => void;
134
+ onError?: ModuleErrorHandler;
120
135
  };
121
136
 
122
137
  /**
@@ -131,6 +146,13 @@ declare type InstanceOverrides = {
131
146
  assets?: AssetOverrides;
132
147
  animations?: AnimationOverrides;
133
148
  spinner?: SpinnerPresentation;
149
+ /**
150
+ * `true` hides the unsupported-browser screen for this element; `false`
151
+ * forces it on. Wins over `setup({ uiConfig })`. When both are omitted, the
152
+ * session Flow's setting applies. `<incode-flow>` and `<incode-workflow>`
153
+ * ignore it and always use their server setting.
154
+ */
155
+ disableUnsupportedBrowserScreen?: boolean;
134
156
  };
135
157
 
136
158
  declare type LottieAnimationData = {
@@ -142,6 +164,8 @@ declare type LottieAnimationData = {
142
164
  h: number;
143
165
  };
144
166
 
167
+ declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
168
+
145
169
  /**
146
170
  * Host-facing loader presentation, settable globally via
147
171
  * `setup({ uiConfig: { spinner } })` or per element via `config.spinner`.
@@ -173,6 +197,6 @@ export { }
173
197
 
174
198
  declare global {
175
199
  interface HTMLElementTagNameMap {
176
- 'incode-email': HTMLElement & IncodeModuleProps<EmailConfig, void, EmailManager>;
200
+ 'incode-email': HTMLElement & import('preact').ComponentProps<typeof Email>;
177
201
  }
178
202
  }
@@ -1,4 +1,5 @@
1
1
  import { ComponentChildren } from 'preact';
2
+ import { CountryCode } from '@incodetech/core/phone-number';
2
3
  import { CSSProperties } from 'preact';
3
4
  import { FC } from 'preact/compat';
4
5
  import { FunctionalComponent } from 'preact';
@@ -11,7 +12,6 @@ import { IdCaptureState } from '@incodetech/core/id';
11
12
  import { IdDocumentType } from '@incodetech/core/id';
12
13
  import { InputHTMLAttributes } from 'preact';
13
14
  import { JSX } from 'preact';
14
- import { default as LightningIcon } from './lightningIcon.svg?react';
15
15
  import { PermissionStatus as PermissionStatus_2 } from '@incodetech/core/camera';
16
16
  import { PropsWithoutRef } from 'preact/compat';
17
17
  import { Ref } from 'preact';
@@ -19,6 +19,7 @@ import { RefObject } from 'preact';
19
19
  import { RefObject as RefObject_2 } from 'preact/compat';
20
20
  import { SelfieManager } from '@incodetech/core/selfie';
21
21
  import { SelfieState } from '@incodetech/core/selfie';
22
+ import { SessionExpiredError } from '@incodetech/core/session';
22
23
  import { SVGProps } from 'preact/compat';
23
24
  import { TargetedEvent } from 'preact';
24
25
  import { VNode } from 'preact';
@@ -66,7 +67,7 @@ export declare type AssetOverride = string | {
66
67
 
67
68
  export declare type AssetOverrides = Partial<Record<AssetKey, AssetOverride>>;
68
69
 
69
- export declare const BaseTutorial: ({ className, animationData, title, titleId, subtitle, onContinue, buttonText, disclaimerText, isLoading, secondaryAction, actionsSlot, stopFramePosition, recolor, shouldScaleAnimationContainer, }: BaseTutorialProps) => JSX.Element;
70
+ export declare const BaseTutorial: ({ className, animationData, title, titleId, subtitle, onContinue, buttonText, disclaimerText, isLoading, actionsSlot, stopFramePosition, recolor, shouldScaleAnimationContainer, }: BaseTutorialProps) => JSX.Element;
70
71
 
71
72
  declare type BaseTutorialProps = {
72
73
  className?: string;
@@ -78,12 +79,6 @@ declare type BaseTutorialProps = {
78
79
  buttonText: string;
79
80
  disclaimerText: string;
80
81
  isLoading?: boolean;
81
- /** Optional alternative to the primary CTA, rendered as a link below it. */
82
- secondaryAction?: {
83
- label: string;
84
- onClick: () => void;
85
- testId?: string;
86
- };
87
82
  /** Rendered below the primary CTA inside the button stack (e.g. a link action). */
88
83
  actionsSlot?: ComponentChildren;
89
84
  stopFramePosition?: 'first' | 'middle' | 'last';
@@ -184,11 +179,20 @@ declare type CameraOverlayHeaderProps = {
184
179
  className?: string;
185
180
  titleId?: string;
186
181
  titleRef?: RefObject_2<HTMLHeadingElement>;
182
+ /**
183
+ * Defer the title's focus move. A screen that reveals itself with an
184
+ * animation must keep focus off the heading until the reveal completes —
185
+ * see the crossfade ownership rule in `.agents/standards/accessibility.md`.
186
+ * Defaults to `true` (focus on mount), which is what live capture wants.
187
+ */
188
+ autoFocusTitle?: boolean;
187
189
  };
188
190
 
189
191
  declare type CameraOverlayProps = {
190
192
  children: ComponentChildren;
191
193
  className?: string;
194
+ floatingHelpButton?: FloatingHelpButton;
195
+ floatingCloseButton?: FloatingCloseButton;
192
196
  };
193
197
 
194
198
  export declare const CameraView: FC<CameraViewProps>;
@@ -223,6 +227,16 @@ declare type CaptureFooterProps = {
223
227
  encryptionLabel?: string;
224
228
  children?: ComponentChildren;
225
229
  hideActions?: boolean;
230
+ showHelpButton?: boolean;
231
+ className?: string;
232
+ inactive?: boolean;
233
+ };
234
+
235
+ /** Everything the help button needs, independent of where it mounts. */
236
+ declare type CaptureHelpButton = {
237
+ onOpenHelp: () => void;
238
+ ariaLabel: string;
239
+ buttonRef?: Ref<HTMLButtonElement>;
226
240
  };
227
241
 
228
242
  declare type CaptureProps = {
@@ -309,20 +323,20 @@ declare type ChooserProps = {
309
323
  }>;
310
324
  };
311
325
 
312
- declare type CloseButtonOptions = {
313
- show?: boolean;
314
- onClose?: () => void;
315
- position?: 'left' | 'right';
316
- offset?: string;
317
- onCancel?: () => void;
318
- color?: string;
326
+ /** Close button data, independent of where it mounts. */
327
+ declare type CloseButton = {
328
+ onQuit: () => void;
329
+ ariaLabel: string;
319
330
  };
320
331
 
321
- declare type CloseButtonOptions_2 = {
332
+ declare type CloseButtonOptions = {
322
333
  show?: boolean;
323
334
  onClose?: () => void;
324
335
  };
325
336
 
337
+ /** Corner the close button renders in. Defaults to `topRight`. */
338
+ declare type CloseButtonPosition = 'topRight' | 'topLeft';
339
+
326
340
  export declare const CloseIcon: FC<CloseIconProps>;
327
341
 
328
342
  declare type CloseIconProps = {
@@ -363,8 +377,6 @@ declare type ConnectionErrorProps = {
363
377
 
364
378
  export declare const countries: CountryData[];
365
379
 
366
- declare type CountryCode = 'AC' | 'AD' | 'AE' | 'AF' | 'AG' | 'AI' | 'AL' | 'AM' | 'AO' | 'AR' | 'AS' | 'AT' | 'AU' | 'AW' | 'AX' | 'AZ' | 'BA' | 'BB' | 'BD' | 'BE' | 'BF' | 'BG' | 'BH' | 'BI' | 'BJ' | 'BL' | 'BM' | 'BN' | 'BO' | 'BQ' | 'BR' | 'BS' | 'BT' | 'BW' | 'BY' | 'BZ' | 'CA' | 'CC' | 'CD' | 'CF' | 'CG' | 'CH' | 'CI' | 'CK' | 'CL' | 'CM' | 'CN' | 'CO' | 'CR' | 'CU' | 'CV' | 'CW' | 'CX' | 'CY' | 'CZ' | 'DE' | 'DJ' | 'DK' | 'DM' | 'DO' | 'DZ' | 'EC' | 'EE' | 'EG' | 'EH' | 'ER' | 'ES' | 'ET' | 'FI' | 'FJ' | 'FK' | 'FM' | 'FO' | 'FR' | 'GA' | 'GB' | 'GD' | 'GE' | 'GF' | 'GG' | 'GH' | 'GI' | 'GL' | 'GM' | 'GN' | 'GP' | 'GQ' | 'GR' | 'GT' | 'GU' | 'GW' | 'GY' | 'HK' | 'HN' | 'HR' | 'HT' | 'HU' | 'ID' | 'IE' | 'IL' | 'IM' | 'IN' | 'IO' | 'IQ' | 'IR' | 'IS' | 'IT' | 'JE' | 'JM' | 'JO' | 'JP' | 'KE' | 'KG' | 'KH' | 'KI' | 'KM' | 'KN' | 'KP' | 'KR' | 'KW' | 'KY' | 'KZ' | 'LA' | 'LB' | 'LC' | 'LI' | 'LK' | 'LR' | 'LS' | 'LT' | 'LU' | 'LV' | 'LY' | 'MA' | 'MC' | 'MD' | 'ME' | 'MF' | 'MG' | 'MH' | 'MK' | 'ML' | 'MM' | 'MN' | 'MO' | 'MP' | 'MQ' | 'MR' | 'MS' | 'MT' | 'MU' | 'MV' | 'MW' | 'MX' | 'MY' | 'MZ' | 'NA' | 'NC' | 'NE' | 'NF' | 'NG' | 'NI' | 'NL' | 'NO' | 'NP' | 'NR' | 'NU' | 'NZ' | 'OM' | 'PA' | 'PE' | 'PF' | 'PG' | 'PH' | 'PK' | 'PL' | 'PM' | 'PR' | 'PS' | 'PT' | 'PW' | 'PY' | 'QA' | 'RE' | 'RO' | 'RS' | 'RU' | 'RW' | 'SA' | 'SB' | 'SC' | 'SD' | 'SE' | 'SG' | 'SH' | 'SI' | 'SJ' | 'SK' | 'SL' | 'SM' | 'SN' | 'SO' | 'SR' | 'SS' | 'ST' | 'SV' | 'SX' | 'SY' | 'SZ' | 'TA' | 'TC' | 'TD' | 'TG' | 'TH' | 'TJ' | 'TK' | 'TL' | 'TM' | 'TN' | 'TO' | 'TR' | 'TT' | 'TV' | 'TW' | 'TZ' | 'UA' | 'UG' | 'US' | 'UY' | 'UZ' | 'VA' | 'VC' | 'VE' | 'VG' | 'VI' | 'VN' | 'VU' | 'WF' | 'WS' | 'XK' | 'YE' | 'YT' | 'ZA' | 'ZM' | 'ZW';
367
-
368
380
  declare type CountryData = {
369
381
  code: CountryCode;
370
382
  /** ISO 3166-1 alpha-3 code, for backends that report alpha-3 (e.g. MRZ). */
@@ -466,6 +478,18 @@ declare type FlipAnimationProps = {
466
478
  direction: 'toBack' | 'toFront';
467
479
  };
468
480
 
481
+ /** Close button resolved to a corner — shared by `Page`'s header and the floating overlay control. */
482
+ declare type FloatingCloseButton = CloseButton & {
483
+ position: CloseButtonPosition;
484
+ };
485
+
486
+ declare type FloatingHelpButton = CaptureHelpButton & {
487
+ position: FloatingHelpButtonPosition;
488
+ };
489
+
490
+ /** Placements that render outside `CaptureFooter`, on the camera overlay. */
491
+ declare type FloatingHelpButtonPosition = 'topRight' | 'topLeft';
492
+
469
493
  export declare const FormField: FC<FormFieldProps>;
470
494
 
471
495
  declare type FormFieldProps = {
@@ -496,6 +520,13 @@ export declare function getCountryByCallingCode(callingCode: string): CountryDat
496
520
 
497
521
  export declare function getCountryByCode(code: string | undefined): CountryData | undefined;
498
522
 
523
+ /**
524
+ * Where the capture help button renders. `topLeft`/`topRight` float outside
525
+ * the footer — the footer's own box only covers the bottom of the screen, so
526
+ * a top offset inside it would land mid-screen, not near the header.
527
+ */
528
+ export declare type HelpButtonPosition = 'bottomRight' | 'topRight' | 'topLeft';
529
+
499
530
  export declare const HelpIcon: FC<HelpIconProps>;
500
531
 
501
532
  declare type HelpIconProps = {
@@ -552,10 +583,16 @@ export declare const IdTutorial: FC<TutorialProps_2>;
552
583
  * Wraps UI modules with the standard container. Blocks unsupported browsers
553
584
  * and shows a landscape blocker on rotated mobile (excluding iPad).
554
585
  */
555
- export declare function IncodeComponent({ children }: IncodeComponentProps): VNode;
586
+ export declare function IncodeComponent({ children, deferBrowserCheck, }: IncodeComponentProps): VNode;
556
587
 
557
588
  declare type IncodeComponentProps = {
558
589
  children?: ComponentChildren;
590
+ /**
591
+ * Skips the browser check here. `<incode-flow>` and `<incode-workflow>` set
592
+ * it and run the check themselves once their server config has loaded,
593
+ * because that config owns `disableUnsupportedBrowserScreen` for them.
594
+ */
595
+ deferBrowserCheck?: boolean;
559
596
  };
560
597
 
561
598
  /**
@@ -576,6 +613,15 @@ declare type IncodeFinishMeta = {
576
613
  * replace the SDK screen. Not a guarantee.
577
614
  */
578
615
  sdkOwnsTerminalScreen?: boolean;
616
+ /**
617
+ * True when the workflow is OAuth2-secured. The OAuth authorization server
618
+ * owns the redirect back to the client's `redirect_uri`, so the host must not
619
+ * navigate to `redirectionUrl` itself. A host redirect drops the `error` and
620
+ * `state` parameters, and the client reads a failed authentication as a
621
+ * success. The workflow always sets it on finish; treat a missing value as
622
+ * unknown.
623
+ */
624
+ oauth2Secured?: boolean;
579
625
  };
580
626
 
581
627
  export declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TConfigInput = ConfigWithOverrides<TConfig>> = {
@@ -589,7 +635,10 @@ export declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknow
589
635
  */
590
636
  config?: TConfigInput;
591
637
  /**
592
- * Optional pre-built manager. When provided, the module does not create or manage the manager lifecycle.
638
+ * Optional pre-built manager. The host owns its ordinary lifecycle.
639
+ * Session expiry always stops it to release capture resources, even when
640
+ * supplied by the host. Create a new manager for a replacement session;
641
+ * do not reuse the stopped instance in another mounted module.
593
642
  */
594
643
  manager?: TManager;
595
644
  /**
@@ -609,8 +658,10 @@ export declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknow
609
658
  * @param moduleErrorCode - Optional machine-readable error code (e.g. a
610
659
  * `FaceErrorCode` such as `NONEXISTENT_CUSTOMER`). Lets an orchestrator
611
660
  * branch on the specific terminal error without parsing the message string.
661
+ * @param details - Structured session-expiry error with statusCode 401 and
662
+ * code/type SESSION_EXPIRED. The first three arguments stay compatible.
612
663
  */
613
- onError?: (error: string | undefined, errorCode?: number, moduleErrorCode?: string) => void;
664
+ onError?: ModuleErrorHandler;
614
665
  };
615
666
 
616
667
  declare type InferState<T> = T extends {
@@ -634,7 +685,7 @@ declare type InputComposedProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'i
634
685
  helper?: string;
635
686
  showErrorIcon?: boolean;
636
687
  showHelperIcon?: boolean;
637
- closeButton?: CloseButtonOptions_2;
688
+ closeButton?: CloseButtonOptions;
638
689
  rightIcon?: ComponentChildren;
639
690
  suppressMessages?: boolean;
640
691
  class?: string;
@@ -658,11 +709,18 @@ declare type InstanceOverrides = {
658
709
  assets?: AssetOverrides;
659
710
  animations?: AnimationOverrides;
660
711
  spinner?: SpinnerPresentation;
712
+ /**
713
+ * `true` hides the unsupported-browser screen for this element; `false`
714
+ * forces it on. Wins over `setup({ uiConfig })`. When both are omitted, the
715
+ * session Flow's setting applies. `<incode-flow>` and `<incode-workflow>`
716
+ * ignore it and always use their server setting.
717
+ */
718
+ disableUnsupportedBrowserScreen?: boolean;
661
719
  };
662
720
 
663
721
  export declare function LandscapeBlocker(): VNode | null;
664
722
 
665
- export { LightningIcon }
723
+ export declare const LightningIcon: SvgComponent;
666
724
 
667
725
  export declare const LockIcon: FC<LockIconProps>;
668
726
 
@@ -802,6 +860,8 @@ declare type ModalTitleSectionProps = {
802
860
  align?: 'center' | 'left';
803
861
  };
804
862
 
863
+ declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
864
+
805
865
  export declare const OtpInput: FC<OtpInputProps>;
806
866
 
807
867
  declare type OtpInputProps = {
@@ -852,7 +912,6 @@ declare type PageProps = {
852
912
  };
853
913
  hideFooterBranding?: boolean;
854
914
  hideHeader?: boolean;
855
- closeButton?: CloseButtonOptions;
856
915
  footerBrandingSlot?: ComponentChildren;
857
916
  'data-testid'?: string;
858
917
  'data-permission-status'?: string;
@@ -938,6 +997,12 @@ declare type ProgressBarProps = {
938
997
  label?: string;
939
998
  className?: string;
940
999
  labelledById?: string;
1000
+ /**
1001
+ * Also creep the bar forward on its own for a few seconds, in CSS, while
1002
+ * `progress` has not moved yet. The bar shows whichever fill is longer.
1003
+ * Starts after `--progress-bar-simulated-delay` (default 0s).
1004
+ */
1005
+ simulated?: boolean;
941
1006
  };
942
1007
 
943
1008
  export declare const RadioButtonComposed: FunctionalComponent<PropsWithoutRef<RadioButtonComposedProps> & {
@@ -994,6 +1059,16 @@ declare type RadioGroupOption = {
994
1059
  disabled?: boolean;
995
1060
  };
996
1061
 
1062
+ /**
1063
+ * How the realtime feedback message (the live capture cues — not aligned, too
1064
+ * blurry, glare, show front, show back) presents itself.
1065
+ *
1066
+ * - `standard` — the full message: Lottie animation beside the copy.
1067
+ * - `minimal` — compact: no animation, copy centred. More legible on small
1068
+ * screens, where the animation crowds the text out of the frame.
1069
+ */
1070
+ export declare type RealtimeFeedbackMessageUIFlavor = 'standard' | 'minimal';
1071
+
997
1072
  export declare const SearchIcon: FC<SearchIconProps>;
998
1073
 
999
1074
  declare type SearchIconProps = {
@@ -1019,7 +1094,7 @@ export declare type SegmentedDateInputProps = Omit<InputComposedProps, 'type' |
1019
1094
 
1020
1095
  export declare const SelfieCapture: FC<CaptureProps>;
1021
1096
 
1022
- export declare const SelfieTutorial: ({ manager, ageAssurance, showManualUploadLink, }: TutorialProps) => JSX.Element;
1097
+ export declare const SelfieTutorial: ({ manager, ageAssurance }: TutorialProps) => JSX.Element;
1023
1098
 
1024
1099
  /**
1025
1100
  * Sets global UI configuration defaults for `@incodetech/ui`.
@@ -1163,7 +1238,6 @@ declare type TitleProps = HTMLAttributes_2<HTMLHeadingElement> & {
1163
1238
  declare type TutorialProps = {
1164
1239
  manager: SelfieManager;
1165
1240
  ageAssurance?: boolean;
1166
- showManualUploadLink?: boolean;
1167
1241
  };
1168
1242
 
1169
1243
  /**
@@ -1214,6 +1288,29 @@ export declare type UiConfig = {
1214
1288
  * {@link SpinnerPresentation}.
1215
1289
  */
1216
1290
  spinner?: SpinnerPresentation;
1291
+ /** Where the capture help button renders. Defaults to `'bottomRight'`. */
1292
+ helpButtonPosition?: HelpButtonPosition;
1293
+ /** Shows an X close button that cancels the current module. Off by default. */
1294
+ showCloseButton?: boolean;
1295
+ /**
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.
1299
+ */
1300
+ closeButtonPosition?: CloseButtonPosition;
1301
+ /**
1302
+ * How the ID-capture realtime feedback message (live cues) renders.
1303
+ * Defaults to `'standard'` — see {@link RealtimeFeedbackMessageUIFlavor}.
1304
+ */
1305
+ realtimeFeedbackMessageUIFlavor?: RealtimeFeedbackMessageUIFlavor;
1306
+ /**
1307
+ * `true` hides the unsupported-browser screen in standalone modules; `false`
1308
+ * forces it on. A per-element `config.disableUnsupportedBrowserScreen` wins
1309
+ * over this. When both are omitted, the session Flow's setting applies.
1310
+ * `<incode-flow>` and `<incode-workflow>` ignore it and always use their
1311
+ * server setting.
1312
+ */
1313
+ disableUnsupportedBrowserScreen?: boolean;
1217
1314
  };
1218
1315
 
1219
1316
  /**
@@ -1231,6 +1328,11 @@ export declare function useManager<TManager extends {
1231
1328
 
1232
1329
  declare type UseManagerOptions = {
1233
1330
  autoLoad?: boolean;
1331
+ /**
1332
+ * 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.
1335
+ */
1234
1336
  manageLifecycle?: boolean;
1235
1337
  };
1236
1338
 
@@ -1242,7 +1344,7 @@ export declare function useScreenOrientation(): {
1242
1344
  isLandscapeMobile: boolean;
1243
1345
  };
1244
1346
 
1245
- export declare function VerificationOptionCard({ icon: Icon, title, testId, onClick, tag, }: Readonly<VerificationOptionCardProps>): JSX.Element;
1347
+ export declare function VerificationOptionCard({ icon: Icon, iconSrc, title, testId, onClick, tag, }: Readonly<VerificationOptionCardProps>): JSX.Element;
1246
1348
 
1247
1349
  export declare function VerificationOptionCardList({ children, }: Readonly<VerificationOptionCardListProps>): JSX.Element;
1248
1350
 
@@ -1251,9 +1353,15 @@ declare type VerificationOptionCardListProps = {
1251
1353
  };
1252
1354
 
1253
1355
  declare type VerificationOptionCardProps = {
1356
+ /** Glyph rendered in the icon slot; the fallback when `iconSrc` is absent. */
1254
1357
  icon: FC<{
1255
1358
  className?: string;
1256
1359
  }>;
1360
+ /**
1361
+ * Image URL (e.g. a digital-ID provider logo) rendered in the icon slot
1362
+ * instead of `icon`. Decorative — the card is labelled by its title.
1363
+ */
1364
+ iconSrc?: string;
1257
1365
  title: string;
1258
1366
  testId: string;
1259
1367
  onClick: () => void;
@@ -3,6 +3,7 @@ import { FaceMatchConfig } from '@incodetech/core/face-match';
3
3
  import { FaceMatchManager } from '@incodetech/core/face-match';
4
4
  import { FC } from 'preact/compat';
5
5
  import { FunctionComponent } from 'preact';
6
+ import { SessionExpiredError } from '@incodetech/core/session';
6
7
  import { SVGProps } from 'preact/compat';
7
8
 
8
9
  /**
@@ -82,6 +83,15 @@ declare type IncodeFinishMeta = {
82
83
  * replace the SDK screen. Not a guarantee.
83
84
  */
84
85
  sdkOwnsTerminalScreen?: boolean;
86
+ /**
87
+ * True when the workflow is OAuth2-secured. The OAuth authorization server
88
+ * owns the redirect back to the client's `redirect_uri`, so the host must not
89
+ * navigate to `redirectionUrl` itself. A host redirect drops the `error` and
90
+ * `state` parameters, and the client reads a failed authentication as a
91
+ * success. The workflow always sets it on finish; treat a missing value as
92
+ * unknown.
93
+ */
94
+ oauth2Secured?: boolean;
85
95
  };
86
96
 
87
97
  declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TConfigInput = ConfigWithOverrides<TConfig>> = {
@@ -95,7 +105,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
95
105
  */
96
106
  config?: TConfigInput;
97
107
  /**
98
- * Optional pre-built manager. When provided, the module does not create or manage the manager lifecycle.
108
+ * Optional pre-built manager. The host owns its ordinary lifecycle.
109
+ * Session expiry always stops it to release capture resources, even when
110
+ * supplied by the host. Create a new manager for a replacement session;
111
+ * do not reuse the stopped instance in another mounted module.
99
112
  */
100
113
  manager?: TManager;
101
114
  /**
@@ -115,8 +128,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
115
128
  * @param moduleErrorCode - Optional machine-readable error code (e.g. a
116
129
  * `FaceErrorCode` such as `NONEXISTENT_CUSTOMER`). Lets an orchestrator
117
130
  * branch on the specific terminal error without parsing the message string.
131
+ * @param details - Structured session-expiry error with statusCode 401 and
132
+ * code/type SESSION_EXPIRED. The first three arguments stay compatible.
118
133
  */
119
- onError?: (error: string | undefined, errorCode?: number, moduleErrorCode?: string) => void;
134
+ onError?: ModuleErrorHandler;
120
135
  };
121
136
 
122
137
  /**
@@ -131,6 +146,13 @@ declare type InstanceOverrides = {
131
146
  assets?: AssetOverrides;
132
147
  animations?: AnimationOverrides;
133
148
  spinner?: SpinnerPresentation;
149
+ /**
150
+ * `true` hides the unsupported-browser screen for this element; `false`
151
+ * forces it on. Wins over `setup({ uiConfig })`. When both are omitted, the
152
+ * session Flow's setting applies. `<incode-flow>` and `<incode-workflow>`
153
+ * ignore it and always use their server setting.
154
+ */
155
+ disableUnsupportedBrowserScreen?: boolean;
134
156
  };
135
157
 
136
158
  declare type LottieAnimationData = {
@@ -142,6 +164,8 @@ declare type LottieAnimationData = {
142
164
  h: number;
143
165
  };
144
166
 
167
+ declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
168
+
145
169
  /**
146
170
  * Host-facing loader presentation, settable globally via
147
171
  * `setup({ uiConfig: { spinner } })` or per element via `config.spinner`.
@@ -170,3 +194,9 @@ declare type SpinnerSize = 'small' | 'medium' | 'large';
170
194
  declare type SvgComponent = FunctionComponent<SVGProps<SVGSVGElement>>;
171
195
 
172
196
  export { }
197
+
198
+ declare global {
199
+ interface HTMLElementTagNameMap {
200
+ 'incode-face-match': HTMLElement & import('preact').ComponentProps<typeof FaceMatch>;
201
+ }
202
+ }