@incodetech/web 2.3.2-rc.4 → 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-CA6Cuvy7.js → af-ZA-B5RfX0Do.js} +1 -0
  5. package/dist/ageVerification-BMwwu3EI.js +77 -0
  6. package/dist/{am-C9PowMKj.js → am-BE3vlUmQ.js} +1 -0
  7. package/dist/antifraud/antifraud.es.js +3 -3
  8. package/dist/antifraud/styles.css +0 -1
  9. package/dist/{ar-AE-CyVB3e6w.js → ar-AE-Dw0claA-.js} +2 -1
  10. package/dist/{ar-CA-xYPJY.js → ar-B3gZ5W2R.js} +1 -0
  11. package/dist/{ar-EG-CbZZLN4a.js → ar-EG-5pSqEbCR.js} +1 -0
  12. package/dist/authentication/authentication.es.js +4 -4
  13. package/dist/{autoFocusTitle-DIaSbuq7.js → autoFocusTitle-DTSPbDgY.js} +1 -1
  14. package/dist/{az-CKYeugV_.js → az-CtWu_6fI.js} +1 -0
  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-DO4gqrJQ.js → baseTutorial-CW-zwkOM.js} +13 -24
  19. package/dist/{bn-DmUH7q5R.js → bn-CXOCkHeB.js} +1 -0
  20. package/dist/{bottomSheet-BLJeBfa5.js → bottomSheet-DmQVpuxJ.js} +2 -2
  21. package/dist/{bs-CWfAeJNO.js → bs-B4mczUkN.js} +1 -0
  22. package/dist/{ca-DWaNc0fo.js → ca-DAE1dQj9.js} +1 -0
  23. package/dist/cameraOverlay-Bgpa6tky.js +2 -0
  24. package/dist/cameraOverlayHeader-BZlR-wkk.js +83 -0
  25. package/dist/{cameraView-rIbhv8fs.js → cameraView-DG425WNr.js} +2 -2
  26. package/dist/{ceb-BG6KB0JE.js → ceb-C9GCq8zw.js} +1 -0
  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-BhwI4wQM.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-yIGWfr2F.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-BACKrF5t.js → cs-CZ-CLmA_0jN.js} +1 -0
  41. package/dist/{cs-6iPoRnQs.js → cs-DJEcT5M8.js} +1 -0
  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-C69ImDUR.js → customFields-BNX1AHc3.js} +10 -9
  48. package/dist/{customWatchlist-4DzMKHnO.js → customWatchlist-BdCLsmp2.js} +6 -6
  49. package/dist/{da-DK-CST8ldZv.js → da-DK-B0G-1XCN.js} +1 -0
  50. package/dist/{dashboardTheme-byzaKQpO.js → dashboardTheme-B3JLw1w6.js} +1 -1
  51. package/dist/dateInputComposed-81cxVVay.js +1 -0
  52. package/dist/{dateInputComposed-BJ2i31Qg.js → dateInputComposed-BwqEyZNg.js} +4 -4
  53. package/dist/{de-DvBX387Q.js → de-Pw3Ziz4S.js} +1 -0
  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-BmmRBhhG.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-BthB9H5H.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-C92p0vvi.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-eBrLm0sR.js → ekycModule-Cb3HnENz.js} +46 -14
  78. package/dist/{el-BCSLBNUY.js → el-DlcHAcXD.js} +1 -0
  79. package/dist/{el-GR-DZW16R9N.js → el-GR-fXRg7fVy.js} +1 -0
  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-D1d_WObD.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-CZ-0HyRS.js → emailInput-DQlm6sys.js} +3 -3
  88. package/dist/{en-QnHXrrY7.js → en-BQfrZw2Q.js} +1 -0
  89. package/dist/{en-DG-Dlff-IsT.js → en-DG-Dbay0TVK.js} +1 -0
  90. package/dist/{errorContent-T3IsDggM.js → errorContent-i-XKbliC.js} +5 -5
  91. package/dist/{es-419-JaSs0Que.js → es-419-B494eoOQ.js} +1 -0
  92. package/dist/{es-xOhDko1G.js → es-CIaH0_TG.js} +1 -0
  93. package/dist/{es-ES-C7SEV5MS.js → es-ES-BAy8H_o4.js} +1 -0
  94. package/dist/{es-MX-8mD6Ru26.js → es-MX-mRlcVoSi.js} +1 -0
  95. package/dist/esm-15CISqPe.js +430 -0
  96. package/dist/{et-DVMXfkQT.js → et-BsM-KF4Y.js} +2 -1
  97. package/dist/{expiredId-BQukSylk.js → expiredId-Bc_tCf-R.js} +6 -6
  98. package/dist/extensibility.es.js +38 -36
  99. package/dist/{fa-IR-B7JNyhKz.js → fa-IR-DKPXxDgD.js} +1 -0
  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-CgZFjWp0.js → fi-FI-BehaswUi.js} +1 -0
  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-B79amZ7h.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-GbvrJ0-_.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-tq_XH-Th.js → formField-D1sSXdbf.js} +2 -2
  121. package/dist/{fr-CA-pLsuP6oV.js → fr-CA-DZcH7XE0.js} +1 -0
  122. package/dist/{fr-DWhWFv0v.js → fr-DuG6kscd.js} +1 -0
  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-BCXU1BJZ.js → he-B_PP0efY.js} +1 -0
  132. package/dist/{hi-DHKWk_3O.js → hi-D0rSX1o4.js} +1 -0
  133. package/dist/{hmn-DKxFifxf.js → hmn-DK7VD_xu.js} +1 -0
  134. package/dist/{homeScreen-C6n4tcTo.js → homeScreen-CKLvX3bf.js} +10 -11
  135. package/dist/{hr-Bb5L8s7b.js → hr-BpjWRIC0.js} +1 -0
  136. package/dist/{ht-NA3g5Q-7.js → ht-CG8o1xEm.js} +1 -0
  137. package/dist/{hu-D34RjbYg.js → hu-BmwC53l2.js} +1 -0
  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-lD25ONXO.js → id-CKlkbZdM.js} +1 -0
  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-B1KXgAbC.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-CdiXt7v7.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-8oVJL9fW.js → inputComposed-B27kZydt.js} +2 -2
  160. package/dist/inputComposed-DfPNjr7W.js +1 -0
  161. package/dist/{it-Bjpo7bkn.js → it-Ha3KMdAw.js} +1 -0
  162. package/dist/{ja-G_1vszjj.js → ja-BcpfEJD1.js} +1 -0
  163. package/dist/{ja-JP-SAKkGA9f.js → ja-JP-6Sg-lS3C.js} +2 -1
  164. package/dist/{jv-BP3Kidjb.js → jv-BhDDvojx.js} +1 -0
  165. package/dist/{ka-Byk8FCEP.js → ka-DSEmyiG7.js} +1 -0
  166. package/dist/{kk-C4-RGR2p.js → kk-DfTBM0Ac.js} +1 -0
  167. package/dist/{km-Cz7zimk3.js → km-DSH-1ryG.js} +6 -5
  168. package/dist/{ko-BDxjQ_OF.js → ko-DmCEEN9O.js} +1 -0
  169. package/dist/{ko-KP-BknUJpo0.js → ko-KP-DxNF6PVH.js} +1 -0
  170. package/dist/{ky-DwIO9bLp.js → ky-BYYkLAWt.js} +1 -0
  171. package/dist/{lo-c59MQX2S.js → lo-Dd7cFyNu.js} +1 -0
  172. package/dist/{lt-BrhZu2Vj.js → lt-DJemxo6s.js} +1 -0
  173. package/dist/{lv-Db2rbWSh.js → lv-DV6PxXYU.js} +1 -0
  174. package/dist/{mandatoryConsent-BLdpQxu2.js → mandatoryConsent-CEFsoyzd.js} +8 -6
  175. package/dist/{manualCaptureButton-wmNH54-0.js → manualCaptureButton-DghY-ZUO.js} +5 -5
  176. package/dist/{manualCaptureButton-BE9SVH5c.js → manualCaptureButton-DwcLDSMN.js} +43 -34
  177. package/dist/{mk-Uqn_8kGi.js → mk-0GH3TF8e.js} +1 -0
  178. package/dist/{mn-D7Jznd1-.js → mn-DhhnhyBd.js} +1 -0
  179. package/dist/{ms-BfMCHUa8.js → ms-DmVYGU6Y.js} +1 -0
  180. package/dist/{my-DsHXgcbs.js → my-DGXxog_l.js} +1 -0
  181. package/dist/{nb-NO-CPRHGQCR.js → nb-NO-SMmm3cOU.js} +1 -0
  182. package/dist/{ne-CMjCTP-p.js → ne-DVsGmeSd.js} +1 -0
  183. package/dist/{nl-CnBRdS5k.js → nl-CL7EuWSC.js} +2 -1
  184. package/dist/{optionAccessibleLabel-CI7JZggS.js → optionAccessibleLabel-BApMWddn.js} +5 -5
  185. package/dist/{otpInput-DxD_x747.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-CIM8-Hvd.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-plW5DkaX.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-Dk_XCbHn.js → pl-9hyt0nnb.js} +1 -0
  200. package/dist/policyUrls-B3M8nLRh.js +7 -0
  201. package/dist/{processing-BnNbgJs3.js → processing-Do2ee2et.js} +1 -1
  202. package/dist/progressBar-CNBUGgEc.js +27 -0
  203. package/dist/{pt-BR-BL7B4wuD.js → pt-BR-BBMw-S8O.js} +1 -0
  204. package/dist/{pt-PT-CNhvgKtg.js → pt-PT-fSxcH0NK.js} +1 -0
  205. package/dist/{pt-BLVxgywN.js → pt-WGxHmjdN.js} +1 -0
  206. package/dist/{spacer-BmQEPV3n.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-DFloG_N-.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-BdmoqbO1.js → resendTimer-C0tGof4N.js} +1 -1
  215. package/dist/{richText-lWTHIpaP.js → richText-aCnLd3j2.js} +2 -2
  216. package/dist/{ro-B_y2K2EA.js → ro-CRut2TFS.js} +1 -0
  217. package/dist/{ru-BYq3R3Mj.js → ru-DKaZyUKL.js} +1 -0
  218. package/dist/{ru-RU-CRVS8j8Y.js → ru-RU-C09Xv3Yg.js} +1 -0
  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-CezkyMyH.js → sk-CRgCa4Xy.js} +1 -0
  227. package/dist/{sl-BWF10Icq.js → sl-BnWo7ffO.js} +1 -0
  228. package/dist/{smsTabContent-ok2pyDhh.js → smsTabContent-DrX3JFpW.js} +6 -7
  229. package/dist/{so-BrcNZ8Mr.js → so-QQqlxuIj.js} +1 -0
  230. package/dist/spacer-CRMb016O.js +741 -0
  231. package/dist/{spinner-C4do7hWX.js → spinner-B2lU14AQ.js} +2 -2
  232. package/dist/{sr-BnXGxOH1.js → sr-B5E7ItZS.js} +1 -0
  233. package/dist/{sr-Latn-6U6Ovy-Q.js → sr-Latn-DYffMLFY.js} +4 -3
  234. package/dist/{sr-YU-9B3BK4Ps.js → sr-YU-wTH5Bs0f.js} +1 -0
  235. package/dist/{statusPage-CXHHTIXA.js → statusPage-BIL3xP5F.js} +3 -3
  236. package/dist/{sv-SE-CpuV8J7C.js → sv-SE-CWW4jCGJ.js} +1 -0
  237. package/dist/{sw-BT-fzBc4.js → sw-DQMkDT3g.js} +1 -0
  238. package/dist/{th-D3ufVPwG.js → th-3PSK_Dsh.js} +1 -0
  239. package/dist/{th-TH-B4rqmZvR.js → th-TH-BT3vwWPA.js} +1 -0
  240. package/dist/themes/dark.css +1 -1537
  241. package/dist/themes/light.css +1 -1413
  242. package/dist/{tl-CUyJhGKF.js → tl-BjxdIajM.js} +1 -0
  243. package/dist/{tl-PH-D6NzZs7e.js → tl-PH-C_wJmHt1.js} +1 -0
  244. package/dist/{tr-BTjhr_32.js → tr-BhmOJl6w.js} +3 -2
  245. package/dist/transitionSpinner-CPK1gaqC.js +76 -0
  246. package/dist/{tutorial-BywSwy2f.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-Cn7-Znpn.js → typography-CVggEHuL.js} +1 -1
  280. package/dist/{uiConfig-qMQHPoxa.js → uiConfig-CzjzpmLx.js} +256 -874
  281. package/dist/{uk-UA-YhEHqst_.js → uk-UA-D8etJPYS.js} +2 -1
  282. package/dist/{uk-ChhaHUBd.js → uk-XbgXa2Ga.js} +1 -0
  283. package/dist/{ur-BG91n7xX.js → ur-EvEZPGeH.js} +1 -0
  284. package/dist/useCaptureHelpButton-Dh2rCLy1.js +86 -0
  285. package/dist/useCoverMedia-VLw3OYN_.js +149 -0
  286. package/dist/{uz-BHE3Jn6i.js → uz-CLNoByCo.js} +1 -0
  287. package/dist/{verificationResult-C7wTXPts.js → verificationResult-CZbJPu23.js} +6 -6
  288. package/dist/{vi-BV5GRZ61.js → vi-Drg8ZYY0.js} +1 -0
  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-Bjh_-5Y6.js → watchlistForBusiness-CjEsaTUW.js} +265 -8
  296. package/dist/{resolveApiKey-D14Dir23.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-DGW8k_EJ.js → zh-CN-DgsFb5nA.js} +3 -2
  300. package/dist/{zh-DNadxa_J.js → zh-D9t3i09v.js} +1 -0
  301. package/dist/{zh-HANT-DZvzTGaC.js → zh-HANT-DA0DsBcr.js} +1 -0
  302. package/dist/{zh-TW-DNQrPdBy.js → zh-TW-BjJ6hVEd.js} +1 -0
  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-B_XWm0TM.js +0 -2
  307. package/dist/cameraOverlayHeader-DP6EP8Yu.js +0 -43
  308. package/dist/captureFooter-c_0jBnZ7.js +0 -67
  309. package/dist/connectionError-C7NJ8tzk.js +0 -45
  310. package/dist/countries-5e8kwG_m.js +0 -8560
  311. package/dist/dateInputComposed-D4OMicAE.js +0 -1
  312. package/dist/denied-D9PfdAvK.js +0 -2191
  313. package/dist/documentCapture-BSewRSbI.js +0 -2
  314. package/dist/dropdownComposed-09JlREPP.js +0 -1
  315. package/dist/ekybModule-DJhJoDkx.js +0 -2
  316. package/dist/ekycModule-CNshA9vz.js +0 -2
  317. package/dist/faceMatch-CbE3kMV1.js +0 -2
  318. package/dist/faceMatch-DdQuasoZ.js +0 -334
  319. package/dist/fieldComparison-fl8WhFZs.js +0 -2
  320. package/dist/finalSuccessScreen-DCG20NUQ.js +0 -499
  321. package/dist/front-horizontal-hint-mgovnJf3.js +0 -380
  322. package/dist/icons-lmBQFGnv.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-f_OUurEl.js +0 -31
  329. package/dist/inputComposed-DMfj1MDU.js +0 -1
  330. package/dist/modal-CDsyaY_Z.js +0 -140
  331. package/dist/modal.hooks-B0Wrc9s2.js +0 -201
  332. package/dist/pdfViewer-DZpdaUDt.js +0 -149
  333. package/dist/pdfViewer-O6xIPlaK.js +0 -2
  334. package/dist/phoneInputComposed-DZMfEBok.js +0 -3751
  335. package/dist/radioGroupComposed-B06_2Xwu.js +0 -1
  336. package/dist/tabs-CaZGiNK8.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
@@ -1,16 +1,87 @@
1
- import { i as useTranslationWithFallback, o as useTranslation, r as useUiConfig } from "./uiConfig-qMQHPoxa.js";
2
- import { S as k, _ as y, b as Q, c as A, f as d, g as x, h as q, m as h, n as $, o as gn, r as C, u as T, v as u } from "./vendor-preact-C0jX1Cbq.js";
3
- import { a as getStandaloneSetupPolicy, n as preloadDashboardTheme, t as getDashboardTheme } from "./dashboardTheme-byzaKQpO.js";
4
- import { d as cn, l as useInstanceOverrides, t as Spacer } from "./spacer-BmQEPV3n.js";
5
- import { a as TypographyH5, i as TypographyH4 } from "./typography-Cn7-Znpn.js";
6
- import { t as Spinner } from "./spinner-C4do7hWX.js";
7
- import { b as ErrorIcon, r as SuccessIcon, x as Button } from "./icons-lmBQFGnv.js";
8
- import { t as incode_logo_default } from "./incode-logo-BzJOZr3f.js";
9
- import { t as AutoFocusTitle } from "./autoFocusTitle-DIaSbuq7.js";
1
+ import { i as useTranslationWithFallback, o as useTranslation, r as useUiConfig } from "./uiConfig-CzjzpmLx.js";
2
+ import { S as k, _ as y, b as Q, c as A, d as _, f as d, g as x, h as q, m as h, n as $, o as gn, r as C, u as T, v as u } from "./vendor-preact-C0jX1Cbq.js";
3
+ import { a as getStandaloneSetupPolicy, n as preloadDashboardTheme, t as getDashboardTheme } from "./dashboardTheme-B3JLw1w6.js";
4
+ import { d as cn, t as Spacer, u as useInstanceOverrides } from "./spacer-CRMb016O.js";
5
+ import { a as TypographyH5, i as TypographyH4 } from "./typography-CVggEHuL.js";
6
+ import { t as TransitionSpinner } from "./transitionSpinner-CPK1gaqC.js";
7
+ import { b as ErrorIcon, r as SuccessIcon, x as Button } from "./icons-Cri5P1f0.js";
8
+ import { t as Page } from "./page-BzEithea.js";
9
+ import { t as AutoFocusTitle } from "./autoFocusTitle-DTSPbDgY.js";
10
+ import { onSessionExpired } from "@incodetech/core/session";
10
11
  import { ScreenOrientationProvider, createScreenOrientationObserver, getDeviceClass, isApplePlatform, isIPad, isSupportedBrowser } from "@incodetech/core/device";
12
+ import { preloadDashboardFlow, resolveDashboardModuleConfig } from "@incodetech/core/flow";
11
13
  import "@incodetech/core/events";
12
14
  import { getExperiment, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, subscribeFeatureManagement, updateFeatureManagementUser } from "@incodetech/core/feature-management";
13
- import { resolveDashboardModuleConfig } from "@incodetech/core/flow";
15
+ //#region src/shared/session/withSessionExpiry.tsx
16
+ var ExpiryOwner = Q(null);
17
+ function useSessionExpiryOwner() {
18
+ return x(ExpiryOwner);
19
+ }
20
+ /** The outermost mounted SDK surface owns teardown and host notification. */
21
+ function withSessionExpiry(Component) {
22
+ return function SessionExpiryBoundary(props) {
23
+ const parent = x(ExpiryOwner);
24
+ const owner = A({ expired: false }).current;
25
+ const scope = parent ?? owner;
26
+ const container = A(null);
27
+ const mounted = A(false);
28
+ const onError = A(props.onError);
29
+ onError.current = props.onError;
30
+ const [error, setError] = d();
31
+ _(() => {
32
+ mounted.current = true;
33
+ let unsubscribe;
34
+ const subscribe = () => {
35
+ unsubscribe = onSessionExpired((expired) => {
36
+ const root = container.current;
37
+ if (owner.expired || !root?.isConnected) return;
38
+ if (!root.hasChildNodes()) {
39
+ subscribe();
40
+ return;
41
+ }
42
+ owner.expired = true;
43
+ setError(expired);
44
+ });
45
+ };
46
+ if (!parent) subscribe();
47
+ return () => {
48
+ mounted.current = false;
49
+ unsubscribe?.();
50
+ };
51
+ }, [owner, parent]);
52
+ _(() => {
53
+ if (!error) return;
54
+ queueMicrotask(() => {
55
+ if (!mounted.current || !container.current?.isConnected) return;
56
+ try {
57
+ onError.current?.(error.message, error.statusCode, error.code, error);
58
+ } catch {}
59
+ });
60
+ }, [error]);
61
+ const child = error ? null : /* @__PURE__ */ u(Component, {
62
+ ...props,
63
+ onError: props.onError ? (...args) => {
64
+ if (mounted.current && !scope.expired) props.onError?.(...args);
65
+ } : void 0,
66
+ onFinish: props.onFinish ? (...args) => {
67
+ if (mounted.current && !scope.expired) props.onFinish?.(...args);
68
+ } : void 0,
69
+ onContinue: props.onContinue ? () => {
70
+ if (mounted.current && !scope.expired) props.onContinue?.();
71
+ } : void 0
72
+ });
73
+ if (parent) return child;
74
+ return /* @__PURE__ */ u(ExpiryOwner.Provider, {
75
+ value: owner,
76
+ children: /* @__PURE__ */ u("div", {
77
+ class: "IncodeSessionBoundary",
78
+ ref: container,
79
+ children: child
80
+ })
81
+ });
82
+ };
83
+ }
84
+ //#endregion
14
85
  //#region src/hooks/useManager.ts
15
86
  /**
16
87
  * Hook for subscribing to manager state updates
@@ -20,6 +91,7 @@ import { resolveDashboardModuleConfig } from "@incodetech/core/flow";
20
91
  */
21
92
  function useManager(factory, options = {}) {
22
93
  const { autoLoad = true, manageLifecycle = true } = options;
94
+ const expiryOwner = useSessionExpiryOwner();
23
95
  const [manager] = d(factory);
24
96
  const [state, setState] = d(() => manager.getState());
25
97
  y(() => {
@@ -27,12 +99,13 @@ function useManager(factory, options = {}) {
27
99
  if (manageLifecycle && autoLoad && manager.load) manager.load();
28
100
  return () => {
29
101
  unsubscribe();
30
- if (manageLifecycle) manager.stop?.();
102
+ if (manageLifecycle || expiryOwner?.expired) manager.stop?.();
31
103
  };
32
104
  }, [
33
105
  manager,
34
106
  autoLoad,
35
- manageLifecycle
107
+ manageLifecycle,
108
+ expiryOwner
36
109
  ]);
37
110
  return [state, manager];
38
111
  }
@@ -440,243 +513,6 @@ function useFeatureManagement(kind, name, options) {
440
513
  };
441
514
  }
442
515
  //#endregion
443
- //#region src/shared/spinner/resolveSpinnerPresentation.ts
444
- /**
445
- * Collapses the per-instance and global tiers into one presentation, mirroring
446
- * the tier order `resolveAsset` uses: instance wins, global fills the gaps.
447
- *
448
- * Resolution is **per field**, not per object, so a global `size` survives an
449
- * instance that only sets `renderMode`. Fields absent from both tiers come back
450
- * `undefined` rather than defaulted — the caller owns the fallback, because the
451
- * built-in default differs per call site.
452
- */
453
- function resolveSpinnerPresentation(scopes) {
454
- const { instance, global } = scopes;
455
- return {
456
- renderMode: instance?.renderMode ?? global?.renderMode,
457
- size: instance?.size ?? global?.size
458
- };
459
- }
460
- //#endregion
461
- //#region src/shared/spinner/useSpinnerPresentation.ts
462
- /**
463
- * Reads the host's loader presentation from the per-instance and global tiers.
464
- *
465
- * Mirrors `useAsset`: the instance tier rides on the module's `config` prop and
466
- * is published once at the module root by `registerIncodeModuleElement`, so a
467
- * deep `<TransitionSpinner>` reads it without prop drilling. Outside a provider
468
- * `useInstanceOverrides()` returns a stable empty object, so the dep array
469
- * never churns.
470
- */
471
- function useSpinnerPresentation() {
472
- const instance = useInstanceOverrides();
473
- const uiConfig = useUiConfig();
474
- return T(() => resolveSpinnerPresentation({
475
- instance: instance.spinner,
476
- global: uiConfig.spinner
477
- }), [instance.spinner, uiConfig.spinner]);
478
- }
479
- //#endregion
480
- //#region src/shared/processing/transitionSpinner.tsx
481
- /**
482
- * Canonical "we're getting ready / processing" loader.
483
- *
484
- * Renders a container-filling `Spinner` with the unified `loadingCircle.holdOn`
485
- * / `loadingCircle.validating` copy at `size="large"` so every cross-module
486
- * transition looks identical to the user.
487
- *
488
- * Presentation resolves per field as host instance → host global → call site →
489
- * built-in. Host tiers win so a single `setup({ uiConfig: { spinner } })` reaches
490
- * the module-internal loaders (ID camera prep, camera permissions) that a
491
- * flow-level config never could.
492
- */
493
- var TransitionSpinner = ({ spinnerConfig, className, titleKey, subtitleKey, renderMode, hideText = false, presentational = false, alwaysDark = false }) => {
494
- const { t } = useTranslation();
495
- const presentation = useSpinnerPresentation();
496
- const resolvedRenderMode = presentation.renderMode ?? spinnerConfig?.renderMode ?? renderMode ?? (hideText ? "spinnerOnly" : "spinnerAndText");
497
- const showText = resolvedRenderMode !== "spinnerOnly";
498
- const hideIcon = resolvedRenderMode === "textOnly";
499
- const title = showText ? spinnerConfig?.title ?? t(titleKey ?? "loadingCircle.holdOn") : void 0;
500
- const subtitle = showText ? spinnerConfig?.subtitle ?? t(subtitleKey ?? "loadingCircle.validating") : void 0;
501
- return /* @__PURE__ */ u(Spinner, {
502
- title,
503
- subtitle,
504
- ariaLabel: presentational ? void 0 : [title, subtitle].filter(Boolean).join(". ") || void 0,
505
- size: presentation.size ?? spinnerConfig?.size ?? "large",
506
- fullScreen: true,
507
- className,
508
- presentational,
509
- hideIcon,
510
- alwaysDark
511
- });
512
- };
513
- //#endregion
514
- //#region src/shared/page/pageUiConfig.ts
515
- function resolveFirst(values) {
516
- for (const value of values) if (value !== void 0) return value;
517
- }
518
- function parseLogoHeight(height) {
519
- if (!height) return void 0;
520
- if (/^\d+$/.test(height)) return Number(height);
521
- const px = height.match(/^(\d+)px$/);
522
- if (px) return Number(px[1]);
523
- }
524
- function resolvePageUiConfig(args) {
525
- const logoHeight = resolveFirst([args.logo?.height, args.uiConfig.logoHeight]);
526
- return {
527
- hideHeader: resolveFirst([args.hideHeader, args.uiConfig.hideHeader]) ?? false,
528
- hideFooterBranding: resolveFirst([args.hideFooterBranding, args.uiConfig.hideFooterBranding]) ?? false,
529
- logoSrc: resolveFirst([args.logo?.src, args.uiConfig.logoSrc]) ?? args.defaultLogoSrc,
530
- logoHeightPx: parseLogoHeight(logoHeight) ?? 80
531
- };
532
- }
533
- function usePageUiConfig(args) {
534
- const uiConfig = useUiConfig();
535
- return resolvePageUiConfig({
536
- ...args,
537
- uiConfig
538
- });
539
- }
540
- //#endregion
541
- //#region src/shared/page/verifiedByIncode.tsx
542
- var VerifiedByIncodeLogo = () => {
543
- return /* @__PURE__ */ u("svg", {
544
- width: "121",
545
- height: "15",
546
- viewBox: "0 0 121 15",
547
- fill: "none",
548
- xmlns: "http://www.w3.org/2000/svg",
549
- "aria-hidden": "true",
550
- children: [
551
- /* @__PURE__ */ u("title", { children: "Verified by Incode" }),
552
- /* @__PURE__ */ u("path", {
553
- d: "M14.0437 7.25848C14.0437 6.28039 13.5263 5.40448 12.7428 4.92273C12.9498 4.03223 12.6985 3.05413 11.9889 2.3534C11.2793 1.65268 10.3037 1.4191 9.38711 1.60888C8.89928 0.835165 8.01231 0.324219 7.02186 0.324219C6.03141 0.324219 5.14443 0.835165 4.6566 1.60888C3.75485 1.4045 2.76439 1.65268 2.05482 2.3534C1.34524 3.05413 1.10871 4.01763 1.30089 4.92273C0.5174 5.41908 0 6.28039 0 7.25848C0 8.23658 0.5174 9.11249 1.30089 9.59424C1.09393 10.4847 1.34524 11.4628 2.05482 12.1636C2.76439 12.8643 3.74006 13.1125 4.6566 12.9081C5.15922 13.6818 6.03141 14.1928 7.02186 14.1928C8.01231 14.1928 8.8845 13.6818 9.38711 12.9081C10.2889 13.1125 11.2793 12.8643 11.9889 12.1636C12.6985 11.4628 12.9498 10.4993 12.7428 9.59424C13.5263 9.11249 14.0437 8.23658 14.0437 7.25848ZM5.55835 9.55044L4.12442 8.13439C3.85833 7.87162 3.85833 7.46286 4.12442 7.20009C4.39051 6.93732 4.80443 6.93732 5.07052 7.20009L6.04619 8.14899L8.98798 5.2439C9.25407 4.98113 9.66799 4.98113 9.93408 5.2439C10.2002 5.50667 10.2002 5.91543 9.93408 6.1782L6.50446 9.55044C6.23837 9.81321 5.82445 9.81321 5.55835 9.55044Z",
554
- fill: "#006AFF"
555
- }),
556
- /* @__PURE__ */ u("g", {
557
- clipPath: "url(#clip0_3596_4926)",
558
- children: /* @__PURE__ */ u("path", {
559
- fillRule: "evenodd",
560
- clipRule: "evenodd",
561
- d: "M99.5615 4.77612C100.75 4.77612 101.65 5.10527 102.256 5.76745C102.859 6.42644 103.159 7.37568 103.159 8.61153C103.159 9.84729 102.85 10.8036 102.227 11.4773C101.602 12.1527 100.716 12.4896 99.5759 12.4896C98.3971 12.4896 97.5036 12.1576 96.9027 11.491L96.8294 11.4065C96.2795 10.7465 96.0061 9.81371 96.0061 8.61153C96.0061 6.06704 97.2 4.77612 99.5615 4.77612ZM116.24 4.77595C117.393 4.77595 118.246 5.14653 118.789 5.88871C119.303 6.59111 119.565 7.55709 119.578 8.78488L119.578 9.04737H114.512C114.571 9.67854 114.769 10.1565 115.104 10.4868C115.454 10.8329 115.956 11.0069 116.615 11.0069C117.05 11.0069 117.464 10.9536 117.858 10.8466C118.252 10.7404 118.601 10.603 118.903 10.436L119.045 10.3576V11.9732L118.988 11.9979C118.227 12.326 117.354 12.4894 116.369 12.4894C115.258 12.4894 114.38 12.1553 113.741 11.4857C113.103 10.8174 112.786 9.87133 112.786 8.65404C112.786 7.40904 113.086 6.45047 113.689 5.78164C114.294 5.11083 115.147 4.77595 116.24 4.77595ZM111.218 1.95898V10.6742C111.218 11.082 111.046 11.4288 110.708 11.7069C110.379 11.9768 109.968 12.175 109.474 12.3018C108.987 12.427 108.484 12.4894 107.966 12.4894C106.915 12.4894 106.047 12.1952 105.365 11.6057C104.678 11.0111 104.338 9.9826 104.338 8.52554C104.338 7.35747 104.629 6.43997 105.212 5.77535C105.799 5.10823 106.666 4.77591 107.807 4.77591C108.074 4.77591 108.38 4.80944 108.727 4.87649C109.019 4.93425 109.286 5.01533 109.528 5.12005V1.95898H111.218ZM92.4984 4.78985C93.2888 4.78985 94.041 4.93436 94.7545 5.22328L94.8137 5.24725V6.79043L94.6812 6.7353C93.9615 6.43578 93.3061 6.2866 92.7146 6.2866C91.9793 6.2866 91.4366 6.46615 91.0815 6.82095C90.7268 7.17578 90.5468 7.74741 90.5468 8.54031C90.5468 9.37268 90.7229 9.97449 91.0696 10.3476C91.4139 10.719 91.9746 10.907 92.7578 10.907C93.397 10.907 94.0415 10.754 94.6911 10.4472L94.8277 10.3826V11.9301L94.7711 11.955C94.0679 12.2641 93.315 12.4184 92.5128 12.4184C91.5213 12.4184 90.6848 12.1492 90.0066 11.6105L89.9061 11.5276L89.8297 11.4597C89.1796 10.8583 88.8568 9.9208 88.8568 8.65412C88.8568 7.30126 89.1995 6.31575 89.8903 5.70316C90.5765 5.0943 91.4474 4.78985 92.4984 4.78985ZM78.7839 4.98923L78.7987 12.2763H77.0797V4.98923H78.7839ZM84.2386 4.78989C85.269 4.78989 86.0353 5.00451 86.536 5.43937C87.0393 5.87696 87.2891 6.55203 87.2891 7.45911V12.2762H85.5847V7.6587C85.5847 6.7173 85.058 6.25861 83.9647 6.25861C83.5079 6.25861 83.0683 6.3224 82.6463 6.44993L82.4888 6.50074V12.2762H80.784V5.56576L80.836 5.53956C81.2757 5.31813 81.8089 5.13805 82.4373 4.99807L82.6453 4.95436C83.1971 4.84473 83.728 4.78989 84.2386 4.78989ZM99.5615 6.21555C98.8889 6.21555 98.4164 6.41444 98.133 6.8093C97.8433 7.21334 97.6965 7.8138 97.6965 8.61153C97.6965 9.40924 97.8479 10.014 98.1472 10.4277C98.44 10.8325 98.908 11.0355 99.5615 11.0355C100.829 11.0355 101.455 10.2427 101.455 8.61153C101.455 7.79594 101.302 7.19175 100.999 6.79759C100.702 6.41053 100.225 6.21555 99.5615 6.21555ZM108.023 6.24421C106.715 6.24421 106.071 7.00047 106.071 8.55441C106.071 9.33381 106.221 9.93931 106.517 10.3723C106.804 10.7945 107.312 11.0069 108.052 11.0069C108.485 11.0069 108.847 10.9565 109.138 10.8561C109.384 10.7709 109.507 10.6712 109.525 10.562L109.528 10.532V6.61748L109.42 6.56175C109.238 6.47248 109.04 6.40126 108.829 6.34843C108.552 6.27898 108.283 6.24421 108.023 6.24421ZM116.196 6.18776C115.709 6.18776 115.334 6.31243 115.065 6.56036C114.828 6.77872 114.661 7.13776 114.567 7.6393L114.548 7.74896H117.833L117.816 7.63679C117.737 7.16033 117.582 6.80857 117.354 6.57891C117.095 6.31917 116.711 6.18776 116.196 6.18776ZM78.8418 2.45642V3.99628H77.0361V2.45642H78.8418Z",
562
- fill: "#006AFF"
563
- })
564
- }),
565
- /* @__PURE__ */ u("path", {
566
- d: "M67.0422 14.1613L68.3952 11.1253H68.0762L65.8872 6.19727H67.0752L68.8132 10.2233L70.5622 6.19727H71.7172L68.1972 14.1613H67.0422Z",
567
- fill: "var(--text-body-500-secondary)"
568
- }),
569
- /* @__PURE__ */ u("path", {
570
- d: "M63.0542 11.8733C62.7536 11.8733 62.4786 11.8293 62.2292 11.7413C61.9872 11.6606 61.7746 11.547 61.5912 11.4003C61.4079 11.2536 61.2539 11.085 61.1292 10.8943L61.0192 11.7413H60.0292V3.82129H61.1292V7.06629C61.3052 6.78762 61.5509 6.55296 61.8662 6.36229C62.1889 6.16429 62.5849 6.06529 63.0542 6.06529C63.5822 6.06529 64.0479 6.19362 64.4512 6.45029C64.8546 6.69962 65.1662 7.04429 65.3862 7.48429C65.6136 7.91696 65.7272 8.41562 65.7272 8.98029C65.7272 9.53029 65.6136 10.0253 65.3862 10.4653C65.1662 10.9053 64.8546 11.25 64.4512 11.4993C64.0479 11.7486 63.5822 11.8733 63.0542 11.8733ZM62.8782 10.9163C63.2156 10.9163 63.5126 10.8356 63.7692 10.6743C64.0332 10.513 64.2386 10.2856 64.3852 9.99229C64.5392 9.69896 64.6162 9.35796 64.6162 8.96929C64.6162 8.58062 64.5392 8.24329 64.3852 7.95729C64.2386 7.66396 64.0332 7.43662 63.7692 7.27529C63.5126 7.10662 63.2156 7.02229 62.8782 7.02229C62.5336 7.02229 62.2292 7.10662 61.9652 7.27529C61.7086 7.43662 61.5069 7.66396 61.3602 7.95729C61.2136 8.24329 61.1402 8.58062 61.1402 8.96929C61.1402 9.35796 61.2136 9.69896 61.3602 9.99229C61.5069 10.2856 61.7086 10.513 61.9652 10.6743C61.2292 10.8356 62.5336 10.9163 62.8782 10.9163Z",
571
- fill: "var(--text-body-500-secondary)"
572
- }),
573
- /* @__PURE__ */ u("path", {
574
- d: "M52.9768 11.8733C52.4488 11.8733 51.9831 11.7486 51.5798 11.4993C51.1764 11.2426 50.8611 10.898 50.6338 10.4653C50.4138 10.0253 50.3038 9.52662 50.3038 8.96929C50.3038 8.40462 50.4138 7.90596 50.6338 7.47329C50.8611 7.04062 51.1764 6.69962 51.5798 6.45029C51.9904 6.19362 52.4598 6.06529 52.9878 6.06529C53.4204 6.06529 53.8018 6.15329 54.1318 6.32929C54.4618 6.49796 54.7184 6.73996 54.9018 7.05529V3.82129H56.0018V11.7413H55.0118L54.9018 10.8833C54.7918 11.052 54.6488 11.2133 54.4728 11.3673C54.2968 11.514 54.0841 11.635 53.8348 11.7303C53.5854 11.8256 53.2994 11.8733 52.9768 11.8733ZM53.1528 10.9163C53.4974 10.9163 53.8018 10.8356 54.0658 10.6743C54.3298 10.513 54.5314 10.2856 54.6708 9.99229C54.8174 9.69896 54.8908 9.35796 54.8908 8.96929C54.8908 8.58062 54.8174 8.24329 54.6708 7.95729C54.5314 7.66396 54.3298 7.43662 54.0658 7.27529C53.8018 7.10662 53.4974 7.02229 53.1528 7.02229C52.8228 7.02229 52.5258 7.10662 52.2618 7.27529C51.9978 7.43662 51.7924 7.66396 51.6458 7.95729C51.4991 8.24329 51.4258 8.58062 51.4258 8.96929C51.4258 9.35796 51.4991 9.69896 51.6458 9.99229C51.7924 10.2856 51.9978 10.513 52.2618 10.6743C52.5258 10.8356 52.8228 10.9163 53.1528 10.9163Z",
575
- fill: "var(--text-body-500-secondary)"
576
- }),
577
- /* @__PURE__ */ u("path", {
578
- d: "M46.7962 11.8734C46.2682 11.8734 45.7989 11.7524 45.3882 11.5104C44.9776 11.2684 44.6549 10.9311 44.4202 10.4984C44.1929 10.0658 44.0792 9.56343 44.0792 8.99143C44.0792 8.40476 44.1929 7.8951 44.4202 7.46243C44.6549 7.02243 44.9776 6.68143 45.3882 6.43943C45.7989 6.1901 46.2756 6.06543 46.8182 6.06543C47.3609 6.06543 47.8266 6.18643 48.2152 6.42843C48.6039 6.67043 48.9046 6.9931 49.1172 7.39643C49.3299 7.79243 49.4362 8.23243 49.4362 8.71643C49.4362 8.78976 49.4326 8.87043 49.4252 8.95843C49.4252 9.0391 49.4216 9.13076 49.4142 9.23343H44.8822V8.45243H48.3362C48.3142 7.99043 48.1602 7.6311 47.8742 7.37443C47.5882 7.11043 47.2326 6.97843 46.8072 6.97843C46.5066 6.97843 46.2316 7.0481 45.9822 7.18743C45.7329 7.31943 45.5312 7.51743 45.3772 7.78143C45.2306 8.0381 45.1572 8.36443 45.1572 8.76043V9.06843C45.1572 9.4791 45.2306 9.82743 45.3772 10.1134C45.5312 10.3921 45.7329 10.6048 45.9822 10.7514C46.2316 10.8908 46.5029 10.9604 46.7962 10.9604C47.1482 10.9604 47.4379 10.8834 47.6652 10.7294C47.8926 10.5754 48.0612 10.3664 48.1712 10.1024H49.2712C49.1759 10.4398 49.0146 10.7441 48.7872 11.0154C48.5599 11.2794 48.2776 11.4884 47.9402 11.6424C47.6102 11.7964 47.2289 11.8734 46.7962 11.8734Z",
579
- fill: "var(--text-body-500-secondary)"
580
- }),
581
- /* @__PURE__ */ u("path", {
582
- d: "M38.3714 11.7413V7.13229H37.5574V6.19729H38.3714V5.44929C38.3714 5.06796 38.4337 4.75629 38.5584 4.51429C38.6904 4.27229 38.881 4.09629 39.1304 3.98629C39.3797 3.87629 39.6804 3.82129 40.0324 3.82129H40.6044V4.75629H40.2084C39.9444 4.75629 39.7537 4.81129 39.6364 4.92129C39.5264 5.02396 39.4714 5.20729 39.4714 5.47129V6.19729H42.8484V11.7413H41.7484V7.13229H39.4714V11.7413H38.3714ZM42.3094 5.24029C42.104 5.24029 41.9317 5.17429 41.7924 5.04229C41.653 4.91029 41.5834 4.74162 41.5834 4.53629C41.5834 4.33829 41.653 4.17696 41.7924 4.05229C41.9317 3.92029 42.104 3.85429 42.3094 3.85429C42.522 3.85429 42.6944 3.92029 42.8264 4.05229C42.9657 4.17696 43.0354 4.33829 43.0354 4.53629C43.0354 4.74162 42.9657 4.91029 42.8264 5.04229C42.6944 5.17429 42.522 5.24029 42.3094 5.24029Z",
583
- fill: "var(--text-body-500-secondary)"
584
- }),
585
- /* @__PURE__ */ u("path", {
586
- d: "M35.547 11.7416V6.1976H36.647V11.7416H35.547ZM36.108 5.1526C35.8953 5.1526 35.7193 5.0866 35.58 4.9546C35.448 4.8226 35.382 4.65393 35.382 4.4486C35.382 4.2506 35.448 4.08927 35.58 3.9646C35.7193 3.8326 35.8953 3.7666 36.108 3.7666C36.3133 3.7666 36.4856 3.8326 36.625 3.9646C36.7643 4.08927 36.834 4.2506 36.834 4.4486C36.834 4.65393 36.7643 4.8226 36.625 4.9546C36.4856 5.0866 36.3133 5.1526 36.108 5.1526Z",
587
- fill: "var(--text-body-500-secondary)"
588
- }),
589
- /* @__PURE__ */ u("path", {
590
- d: "M31.4153 11.7414V6.19743H32.4053L32.5043 7.24243C32.6289 6.9931 32.7903 6.7841 32.9883 6.61543C33.1863 6.43943 33.4173 6.30376 33.6813 6.20843C33.9526 6.1131 34.2606 6.06543 34.6053 6.06543V7.23143H34.2093C33.9819 7.23143 33.7656 7.26076 33.5603 7.31943C33.3549 7.37076 33.1716 7.46243 33.0103 7.59443C32.8563 7.72643 32.7353 7.9061 32.6473 8.13343C32.5593 8.36076 32.5153 8.6431 32.5153 8.98043V11.7414H31.4153Z",
591
- fill: "var(--text-body-500-secondary)"
592
- }),
593
- /* @__PURE__ */ u("path", {
594
- d: "M27.6988 11.8734C27.1708 11.8734 26.7015 11.7524 26.2908 11.5104C25.8801 11.2684 25.5575 10.9311 25.3228 10.4984C25.0955 10.0658 24.9818 9.56343 24.9818 8.99143C24.9818 8.40476 25.0955 7.8951 25.3228 7.46243C25.5575 7.02243 25.8801 6.68143 26.2908 6.43943C26.7015 6.1901 27.1781 6.06543 27.7208 6.06543C28.2635 6.06543 28.7291 6.18643 29.1178 6.42843C29.5065 6.67043 29.8071 6.9931 30.0198 7.39643C30.2325 7.79243 30.3388 8.23243 30.3388 8.71643C30.3388 8.78976 30.3351 8.87043 30.3278 8.95843C30.3278 9.0391 30.3241 9.13076 30.3168 9.23343H25.7848V8.45243H29.2388C29.2168 7.99043 29.0628 7.6311 28.7768 7.37443C28.4908 7.11043 28.1351 6.97843 27.7098 6.97843C27.4091 6.97843 27.1341 7.0481 26.8848 7.18743C26.6355 7.31943 26.4338 7.51743 26.2798 7.78143C26.1331 8.0381 26.0598 8.36443 26.0598 8.76043V9.06843C26.0598 9.4791 26.1331 9.82743 26.2798 10.1134C26.4338 10.3921 26.6355 10.6048 26.8848 10.7514C27.1341 10.8908 27.4055 10.9604 27.6988 10.9604C28.0508 10.9604 28.3405 10.8834 28.5678 10.7294C28.7951 10.5754 28.9638 10.3664 29.0738 10.1024H30.1738C30.0785 10.4398 29.9171 10.7441 29.6898 11.0154C29.4625 11.2794 29.1801 11.4884 28.8428 11.6424C28.5128 11.7964 28.1315 11.8734 27.6988 11.8734Z",
595
- fill: "var(--text-body-500-secondary)"
596
- }),
597
- /* @__PURE__ */ u("path", {
598
- d: "M21.2482 11.7413L19.1692 6.19727H20.3242L21.8972 10.6853L23.4812 6.19727H24.6142L22.5462 11.7413H21.2482Z",
599
- fill: "var(--text-body-500-secondary)"
600
- }),
601
- /* @__PURE__ */ u("defs", { children: /* @__PURE__ */ u("clipPath", {
602
- id: "clip0_3596_4926",
603
- children: /* @__PURE__ */ u("rect", {
604
- width: "43.9938",
605
- height: "11.7457",
606
- fill: "white",
607
- transform: "translate(76.1276 1.35156)"
608
- })
609
- }) })
610
- ]
611
- });
612
- };
613
- //#endregion
614
- //#region src/shared/page/page.tsx
615
- var Page = ({ title, titleId, subtitle, titleTopSlot, className, logo, children, hideHeader, hideFooterBranding, footerBrandingSlot, "data-testid": dataTestId, "data-permission-status": dataPermissionStatus }) => {
616
- const titleRef = A(null);
617
- y(() => {
618
- titleRef.current?.focus();
619
- }, []);
620
- const uiConfig = usePageUiConfig({
621
- hideHeader,
622
- hideFooterBranding,
623
- logo,
624
- defaultLogoSrc: incode_logo_default
625
- });
626
- const shouldShowHeader = title || subtitle || titleTopSlot;
627
- return /* @__PURE__ */ u("div", {
628
- class: `IncodePageContainer ${className ?? ""}`,
629
- "data-testid": dataTestId,
630
- "data-permission-status": dataPermissionStatus,
631
- children: /* @__PURE__ */ u("main", {
632
- class: "IncodePageInner",
633
- children: [
634
- !uiConfig.hideHeader && /* @__PURE__ */ u("header", {
635
- class: "IncodePageHeader",
636
- children: /* @__PURE__ */ u("img", {
637
- src: uiConfig.logoSrc,
638
- height: uiConfig.logoHeightPx,
639
- class: "IncodePageLogo",
640
- "aria-hidden": "true",
641
- alt: ""
642
- })
643
- }),
644
- shouldShowHeader ? /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u(Spacer, { size: uiConfig.hideHeader ? 40 : 24 }), /* @__PURE__ */ u("div", {
645
- class: "IncodePageTitleContainer",
646
- children: [
647
- titleTopSlot ? /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u("div", {
648
- class: "IncodePageTitleTopSlot",
649
- children: titleTopSlot
650
- }), /* @__PURE__ */ u(Spacer, { size: 12 })] }) : null,
651
- title ? /* @__PURE__ */ u("h2", {
652
- ref: titleRef,
653
- id: titleId,
654
- class: "IncodePageTitle",
655
- tabIndex: -1,
656
- children: title
657
- }) : null,
658
- subtitle ? /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u(Spacer, { size: 12 }), /* @__PURE__ */ u("p", {
659
- class: "IncodePageSubtitle",
660
- children: subtitle
661
- })] }) : null
662
- ]
663
- })] }) : null,
664
- /* @__PURE__ */ u("div", {
665
- class: "IncodePageContent",
666
- children
667
- }),
668
- !uiConfig.hideFooterBranding ? /* @__PURE__ */ u("div", {
669
- class: "IncodePageFooter",
670
- children: /* @__PURE__ */ u("div", {
671
- class: "IncodePageFooterInner",
672
- children: footerBrandingSlot ?? /* @__PURE__ */ u(VerifiedByIncodeLogo, {})
673
- })
674
- }) : null
675
- ]
676
- })
677
- });
678
- };
679
- //#endregion
680
516
  //#region src/shared/terminalErrorPage/terminalErrorPage.tsx
681
517
  /**
682
518
  * Terminal error screen shown by `<incode-flow>` / `<incode-workflow>` when
@@ -831,7 +667,7 @@ function useStandaloneModuleBootstrap(moduleKey, config, skipConfigResolution) {
831
667
  return state;
832
668
  }
833
669
  function withStandaloneModuleBootstrap(Component, moduleKey, options = {}) {
834
- return function StandaloneModule(props) {
670
+ return withSessionExpiry(function StandaloneModule(props) {
835
671
  const { config, manager, onError } = props;
836
672
  const bootstrap = useStandaloneModuleBootstrap(moduleKey, config, options.supportsExternalManager === true && manager !== void 0);
837
673
  y(() => {
@@ -843,7 +679,7 @@ function withStandaloneModuleBootstrap(Component, moduleKey, options = {}) {
843
679
  ...props,
844
680
  config: bootstrap.config
845
681
  });
846
- };
682
+ });
847
683
  }
848
684
  //#endregion
849
685
  //#region src/shared/snackbar/snackbar.tsx
@@ -861,23 +697,18 @@ var Snackbar = ({ variant = "neutral", children, className, ariaLive = "polite"
861
697
  //#endregion
862
698
  //#region src/shared/browserNotSupported/browser-not-supported.svg?react
863
699
  var SvgBrowserNotSupported = (props) => /* @__PURE__ */ u("svg", {
700
+ xmlns: "http://www.w3.org/2000/svg",
864
701
  width: 32,
865
702
  height: 32,
866
- viewBox: "0 0 32 32",
867
703
  fill: "none",
868
- xmlns: "http://www.w3.org/2000/svg",
704
+ viewBox: "0 0 32 32",
869
705
  ...props,
870
- children: [/* @__PURE__ */ u("path", {
706
+ children: /* @__PURE__ */ u("path", {
707
+ fill: "#e71111",
871
708
  fillRule: "evenodd",
872
- clipRule: "evenodd",
873
- d: "M9.96204 3.84009C7.92242 3.84009 6.21575 4.5665 5.02208 5.84674C3.83305 7.12202 3.19995 8.89572 3.19995 10.9135V11.8301H27.5188V10.9135C27.5188 8.8966 26.8893 7.12281 25.7018 5.84712C24.5095 4.56624 22.8028 3.84009 20.7578 3.84009H9.96204ZM8.04995 8.06509C7.51976 8.06509 7.08995 8.4949 7.08995 9.02509C7.08995 9.55528 7.51976 9.98509 8.04995 9.98509H8.12094C8.65113 9.98509 9.08094 9.55528 9.08094 9.02509C9.08094 8.4949 8.65113 8.06509 8.12094 8.06509H8.04995ZM11.2314 8.06509C10.7012 8.06509 10.2714 8.4949 10.2714 9.02509C10.2714 9.55528 10.7012 9.98509 11.2314 9.98509H11.3024C11.8326 9.98509 12.2624 9.55528 12.2624 9.02509C12.2624 8.4949 11.8326 8.06509 11.3024 8.06509H11.2314ZM14.414 8.06509C13.8839 8.06509 13.454 8.4949 13.454 9.02509C13.454 9.55528 13.8839 9.98509 14.414 9.98509H14.4851C15.0152 9.98509 15.4451 9.55528 15.4451 9.02509C15.4451 8.4949 15.0152 8.06509 14.4851 8.06509H14.414Z",
874
- fill: "#E71111"
875
- }), /* @__PURE__ */ u("path", {
876
- fillRule: "evenodd",
877
- clipRule: "evenodd",
878
- d: "M3.19995 21.0853V13.75H27.5188V21.0853C27.5188 23.1022 26.8893 24.876 25.7016 26.1518C24.5091 27.4327 22.802 28.1588 20.7567 28.1588H9.96204C7.91724 28.1588 6.21022 27.4326 5.01759 26.1518C3.82976 24.8761 3.19995 23.1023 3.19995 21.0853ZM18.5646 17.6869C18.9395 18.0618 18.9395 18.6697 18.5646 19.0446L16.7197 20.8893L18.5637 22.7333C18.9386 23.1082 18.9386 23.7161 18.5637 24.091C18.1888 24.4658 17.5809 24.4658 17.206 24.091L15.3621 22.247L13.5153 24.0938C13.1404 24.4687 12.5326 24.4687 12.1577 24.0938C11.7828 23.7189 11.7828 23.111 12.1577 22.7361L14.0044 20.8893L12.1568 19.0418C11.7819 18.6669 11.7819 18.059 12.1568 17.6841C12.5317 17.3092 13.1395 17.3092 13.5144 17.6841L15.3621 19.5318L17.2069 17.6869C17.5818 17.312 18.1896 17.312 18.5646 17.6869Z",
879
- fill: "#E71111"
880
- })]
709
+ d: "M9.962 3.84c-2.04 0-3.746.726-4.94 2.007C3.833 7.122 3.2 8.896 3.2 10.914v.916h24.319v-.916c0-2.017-.63-3.791-1.817-5.067-1.193-1.28-2.9-2.007-4.944-2.007zM8.05 8.065a.96.96 0 0 0 0 1.92h.07a.96.96 0 0 0 0-1.92zm3.181 0a.96.96 0 1 0 0 1.92h.071a.96.96 0 1 0 0-1.92zm3.183 0a.96.96 0 0 0 0 1.92h.071a.96.96 0 0 0 0-1.92zM3.2 21.085V13.75h24.319v7.335c0 2.017-.63 3.791-1.817 5.067-1.193 1.28-2.9 2.007-4.945 2.007H9.962c-2.045 0-3.752-.726-4.944-2.007C3.83 24.876 3.2 23.102 3.2 21.085m15.365-3.398a.96.96 0 0 1 0 1.358l-1.845 1.844 1.844 1.844a.96.96 0 0 1-1.358 1.358l-1.844-1.844-1.847 1.847a.96.96 0 1 1-1.357-1.358l1.846-1.847-1.847-1.847a.96.96 0 0 1 1.357-1.358l1.848 1.848 1.845-1.845a.96.96 0 0 1 1.358 0",
710
+ clipRule: "evenodd"
711
+ })
881
712
  });
882
713
  //#endregion
883
714
  //#region src/shared/browserNotSupported/browserNotSupported.tsx
@@ -959,7 +790,7 @@ var BrowserNotSupported = ({ onContinue }) => {
959
790
  };
960
791
  //#endregion
961
792
  //#region src/shared/icons/rotate-icon.svg
962
- var rotate_icon_default = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='90'%20height='90'%20viewBox='0%200%2090%2090'%3e%3cg%20fill='%2320263D'%3e%3cpath%20d='M84.12%2027.54l-2.58-2.58L65.036%208.456l-2.58-2.58c-3.127-3.127-8.58-2.764-12.157.81L6.69%2050.306c-3.574%203.574-3.938%209.027-.81%2012.158l21.66%2021.66c3.128%203.127%208.58%202.764%2012.157-.81l43.617-43.616c3.574-3.578%203.937-9.03.806-12.158zm-5.524%208.617l-42.439%2042.44c-1.3%201.3-3.28%201.432-4.42.296l-20.63-20.63c-1.14-1.14-1.008-3.12.297-4.42l42.438-42.44c1.302-1.3%203.282-1.432%204.422-.296l1.031%201.032c1.14%201.14%201.009%203.12-.296%204.421-1.302%201.301-1.433%203.281-.297%204.421L69.02%2031.297c1.14%201.14%203.12%201.01%204.421-.296%201.301-1.301%203.281-1.432%204.421-.296l1.031%201.031c1.137%201.14%201.005%203.12-.296%204.421zM51.885%2090a3.135%203.135%200%2001-2.22-5.351l8.925-8.925a3.138%203.138%200%20014.646.233l3.308%204.046c10.114-5.374%2017.081-15.994%2017.178-28.14a3.136%203.136%200%20013.136-3.113h.026a3.14%203.14%200%20013.112%203.161C89.835%2072.746%2072.746%2089.835%2051.911%2090h-.026zM38.115%200a3.135%203.135%200%20012.22%205.351l-8.925%208.925a3.125%203.125%200%2001-2.378.915%203.138%203.138%200%2001-2.272-1.147l-3.308-4.046C13.34%2015.37%206.373%2025.99%206.274%2038.138a3.14%203.14%200%2001-3.139%203.112h-.026a3.139%203.139%200%2001-3.11-3.161C.166%2017.254%2017.255.165%2038.09%200h.026z'/%3e%3c/g%3e%3c/svg%3e";
793
+ var rotate_icon_default = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='90'%20height='90'%20viewBox='0%200%2090%2090'%3e%3cpath%20fill='%2320263d'%20d='m84.12%2027.54-2.58-2.58L65.036%208.456l-2.58-2.58c-3.127-3.127-8.58-2.764-12.157.81L6.69%2050.306c-3.574%203.574-3.938%209.027-.81%2012.158l21.66%2021.66c3.128%203.127%208.58%202.764%2012.157-.81l43.617-43.616c3.574-3.578%203.937-9.03.806-12.158m-5.524%208.617-42.439%2042.44c-1.3%201.3-3.28%201.432-4.42.296l-20.63-20.63c-1.14-1.14-1.008-3.12.297-4.42l42.438-42.44c1.302-1.3%203.282-1.432%204.422-.296l1.031%201.032c1.14%201.14%201.009%203.12-.296%204.421-1.302%201.301-1.433%203.281-.297%204.421L69.02%2031.297c1.14%201.14%203.12%201.01%204.421-.296%201.301-1.301%203.281-1.432%204.421-.296l1.031%201.031c1.137%201.14%201.005%203.12-.296%204.421zM51.885%2090a3.135%203.135%200%200%201-2.22-5.351l8.925-8.925a3.14%203.14%200%200%201%204.646.233l3.308%204.046c10.114-5.374%2017.081-15.994%2017.178-28.14a3.136%203.136%200%200%201%203.136-3.113h.026a3.14%203.14%200%200%201%203.112%203.161C89.835%2072.746%2072.746%2089.835%2051.911%2090zM38.115%200a3.135%203.135%200%200%201%202.22%205.351l-8.925%208.925a3.13%203.13%200%200%201-2.378.915%203.14%203.14%200%200%201-2.272-1.147l-3.308-4.046C13.34%2015.37%206.373%2025.99%206.274%2038.138a3.14%203.14%200%200%201-3.139%203.112h-.026a3.14%203.14%200%200%201-3.11-3.161C.166%2017.254%2017.255.165%2038.09%200h.026z'/%3e%3c/svg%3e";
963
794
  //#endregion
964
795
  //#region src/shared/landscapeBlocker/landscapeBlocker.tsx
965
796
  function usePortalContainer() {
@@ -1004,21 +835,68 @@ function LandscapeBlocker() {
1004
835
  }
1005
836
  //#endregion
1006
837
  //#region src/shared/componentRoot/incodeComponent.tsx
838
+ /** True below an `IncodeComponent`; only the outermost one checks. */
839
+ var BrowserCheckOwnerContext = Q(false);
840
+ /**
841
+ * The session Flow's `disableUnsupportedBrowserScreen`. False when Flow-backed
842
+ * configuration is off, there is no session, or the Flow fails to load, so the
843
+ * screen stays on by default.
844
+ */
845
+ function readFlowDisablesScreen(signal) {
846
+ if (!getStandaloneSetupPolicy().flow.enabled) return Promise.resolve(false);
847
+ return Promise.resolve().then(() => preloadDashboardFlow(signal)).then((flow) => flow.disableUnsupportedBrowserScreen === true, () => false);
848
+ }
849
+ /**
850
+ * Per-element `config.disableUnsupportedBrowserScreen` wins over
851
+ * `setup({ uiConfig })`, which wins over the session Flow. The Flow is read
852
+ * only on an unsupported browser with no host value.
853
+ */
854
+ function useBrowserGate(skip) {
855
+ const { isSupported, continueAnyway } = useIsBrowserSupported();
856
+ const instanceValue = useInstanceOverrides().disableUnsupportedBrowserScreen;
857
+ const globalValue = useUiConfig().disableUnsupportedBrowserScreen;
858
+ const hostValue = instanceValue ?? globalValue;
859
+ const needsFlowValue = !skip && !isSupported && hostValue === void 0;
860
+ const [flowValue, setFlowValue] = d();
861
+ y(() => {
862
+ if (!needsFlowValue) return;
863
+ const controller = new AbortController();
864
+ readFlowDisablesScreen(controller.signal).then((value) => {
865
+ if (!controller.signal.aborted) setFlowValue(value);
866
+ });
867
+ return () => controller.abort();
868
+ }, [needsFlowValue]);
869
+ const disabled = hostValue ?? flowValue;
870
+ let gate = "blocked";
871
+ if (skip || isSupported || disabled === true) gate = "open";
872
+ else if (disabled === void 0) gate = "checking";
873
+ return {
874
+ gate,
875
+ continueAnyway
876
+ };
877
+ }
1007
878
  /**
1008
879
  * Wraps UI modules with the standard container. Blocks unsupported browsers
1009
880
  * and shows a landscape blocker on rotated mobile (excluding iPad).
1010
881
  */
1011
- function IncodeComponent({ children }) {
882
+ function IncodeComponent({ children, deferBrowserCheck = false }) {
1012
883
  const { isLandscapeMobile } = useScreenOrientation();
1013
- const { isSupported, continueAnyway } = useIsBrowserSupported();
1014
- if (!isSupported) return /* @__PURE__ */ u("div", {
884
+ const { gate, continueAnyway } = useBrowserGate(x(BrowserCheckOwnerContext) || deferBrowserCheck);
885
+ if (gate === "blocked") return /* @__PURE__ */ u("div", {
1015
886
  class: "IncodeComponent",
1016
887
  children: /* @__PURE__ */ u(BrowserNotSupported, { onContinue: continueAnyway })
1017
888
  });
889
+ if (gate === "checking") return /* @__PURE__ */ u("div", {
890
+ class: "IncodeComponent",
891
+ children: /* @__PURE__ */ u(TransitionSpinner, { renderMode: "spinnerOnly" })
892
+ });
1018
893
  return /* @__PURE__ */ u("div", {
1019
894
  class: "IncodeComponent",
1020
- children: [children, isLandscapeMobile ? /* @__PURE__ */ u(LandscapeBlocker, {}) : null]
895
+ children: [/* @__PURE__ */ u(BrowserCheckOwnerContext.Provider, {
896
+ value: true,
897
+ children
898
+ }), isLandscapeMobile ? /* @__PURE__ */ u(LandscapeBlocker, {}) : null]
1021
899
  });
1022
900
  }
1023
901
  //#endregion
1024
- export { useManager as S, useIsMobileDeviceWidth as _, ResolvedConfigProvider as a, useModuleTerminalCallbacks as b, Page as c, TransitionSpinner as d, useFeatureManagement as f, useEventListener as g, useResizeObserver as h, withStandaloneModuleBootstrap as i, VerifiedByIncodeLogo as l, useTimeoutHandle as m, LandscapeBlocker as n, useHasResolvedConfig as o, usePresence as p, Snackbar as r, TerminalErrorPage as s, IncodeComponent as t, usePageUiConfig as u, useFormScrollable as v, useScreenOrientation as x, isTerminalModuleState as y };
902
+ export { withSessionExpiry as S, useFormScrollable as _, withStandaloneModuleBootstrap as a, useScreenOrientation as b, TerminalErrorPage as c, useAnimationSignal as d, useTimeoutHandle as f, useIsBrowserSupported as g, useIsMobileDeviceWidth as h, Snackbar as i, useFeatureManagement as l, useEventListener as m, LandscapeBlocker as n, ResolvedConfigProvider as o, useResizeObserver as p, BrowserNotSupported as r, useHasResolvedConfig as s, IncodeComponent as t, usePresence as u, isTerminalModuleState as v, useManager as x, useModuleTerminalCallbacks as y };
@@ -0,0 +1,68 @@
1
+ import { c as A, d as _, f as d, h as q, u as T, x as _$1 } from "./vendor-preact-C0jX1Cbq.js";
2
+ import { l as InstanceOverridesProvider } from "./spacer-CRMb016O.js";
3
+ import { a as ModuleCancelProvider } from "./page-BzEithea.js";
4
+ import { t as registerIncodeElement } from "./registerIncodeElement-D_cn4dSI.js";
5
+ //#region src/shared/webComponent/useModuleCancel.ts
6
+ var USER_CANCELLED = "USER_CANCELLED";
7
+ /**
8
+ * Quit handling for a module root: stop rendering the module (its managers
9
+ * release the camera on unmount), then tell the host once.
10
+ */
11
+ function useModuleCancel(onError) {
12
+ const [cancelled, setCancelled] = d(false);
13
+ const mounted = A(false);
14
+ const onErrorRef = A(onError);
15
+ onErrorRef.current = onError;
16
+ _(() => {
17
+ mounted.current = true;
18
+ return () => {
19
+ mounted.current = false;
20
+ };
21
+ }, []);
22
+ _(() => {
23
+ if (!cancelled) return;
24
+ queueMicrotask(() => {
25
+ if (mounted.current) onErrorRef.current?.(void 0, void 0, USER_CANCELLED);
26
+ });
27
+ }, [cancelled]);
28
+ return {
29
+ cancelled,
30
+ requestCancel: q(() => setCancelled(true), [])
31
+ };
32
+ }
33
+ //#endregion
34
+ //#region src/shared/webComponent/incodeModule.ts
35
+ var incodeModulePropKeys = [
36
+ "config",
37
+ "manager",
38
+ "onFinish",
39
+ "onError"
40
+ ];
41
+ function withInstanceOverrides(component) {
42
+ return function WithInstanceOverrides(props) {
43
+ const assets = props.config?.assets;
44
+ const animations = props.config?.animations;
45
+ const spinner = props.config?.spinner;
46
+ const disableUnsupportedBrowserScreen = props.config?.disableUnsupportedBrowserScreen;
47
+ const overrides = T(() => ({
48
+ assets,
49
+ animations,
50
+ spinner,
51
+ disableUnsupportedBrowserScreen
52
+ }), [
53
+ assets,
54
+ animations,
55
+ spinner,
56
+ disableUnsupportedBrowserScreen
57
+ ]);
58
+ const { cancelled, requestCancel } = useModuleCancel(props.onError);
59
+ const moduleCancel = T(() => ({ requestCancel }), [requestCancel]);
60
+ if (cancelled) return null;
61
+ return _$1(InstanceOverridesProvider, { value: overrides }, _$1(ModuleCancelProvider, { value: moduleCancel }, _$1(component, props)));
62
+ };
63
+ }
64
+ function registerIncodeModuleElement(component, tagName) {
65
+ registerIncodeElement(withInstanceOverrides(component), tagName, incodeModulePropKeys);
66
+ }
67
+ //#endregion
68
+ export { registerIncodeModuleElement as t };
package/dist/index.es.js CHANGED
@@ -1,12 +1,12 @@
1
- import { c as setI18nInstance, l as createI18n, n as setUiConfig } from "./uiConfig-qMQHPoxa.js";
2
- import { n as preloadDashboardTheme, o as resolveStandaloneSetupPolicy, r as resetDashboardThemeCache, s as setStandaloneSetupPolicy } from "./dashboardTheme-byzaKQpO.js";
1
+ import { c as setI18nInstance, l as createI18n, n as setUiConfig } from "./uiConfig-CzjzpmLx.js";
2
+ import { n as preloadDashboardTheme, o as resolveStandaloneSetupPolicy, r as resetDashboardThemeCache, s as setStandaloneSetupPolicy } from "./dashboardTheme-B3JLw1w6.js";
3
3
  import { DEFAULT_WASM_VERSION } from "@incodetech/core/wasm";
4
4
  import { setup as setup$1 } from "@incodetech/core";
5
5
  //#region src/setup.ts
6
6
  function preloadOptionalDashboardTheme(token) {
7
7
  return Promise.resolve().then(() => preloadDashboardTheme(token)).then(() => void 0).catch(() => void 0);
8
8
  }
9
- async function setup({ apiURL, token, customHeaders, timeout, wasm, ipLookup, hostingApp, fingerprint, devMode, featureManagement, environment, i18n, uiConfig, flow, theme }) {
9
+ async function setup({ apiURL, token, customHeaders, timeout, wasm, ipLookup, hostingApp, fingerprint, devMode, deviceWallet, featureManagement, environment, i18n, uiConfig, flow, theme }) {
10
10
  const standaloneSetupPolicy = resolveStandaloneSetupPolicy(flow, theme, token);
11
11
  setStandaloneSetupPolicy(standaloneSetupPolicy);
12
12
  resetDashboardThemeCache();
@@ -21,6 +21,7 @@ async function setup({ apiURL, token, customHeaders, timeout, wasm, ipLookup, ho
21
21
  hostingApp,
22
22
  fingerprint,
23
23
  devMode,
24
+ deviceWallet,
24
25
  featureManagement,
25
26
  environment,
26
27
  flow
@@ -1,6 +1,6 @@
1
1
  import { i as D, v as u } from "./vendor-preact-C0jX1Cbq.js";
2
- import { d as cn } from "./spacer-BmQEPV3n.js";
3
- import { b as ErrorIcon, d as CloseIcon, r as SuccessIcon } from "./icons-lmBQFGnv.js";
2
+ import { d as cn } from "./spacer-CRMb016O.js";
3
+ import { b as ErrorIcon, d as CloseIcon, r as SuccessIcon } from "./icons-Cri5P1f0.js";
4
4
  import { t as FieldLabelHint } from "./fieldLabelHint-CxjArYkQ.js";
5
5
  //#region src/shared/input/input.tsx
6
6
  var Input = D((props, ref) => {
@@ -0,0 +1 @@
1
+ import "./inputComposed-B27kZydt.js";
@@ -3127,6 +3127,7 @@ var it_default = {
3127
3127
  "invalidSessionResponse": "Risposta di sessione non valida.",
3128
3128
  "missingFlowConfiguration": "Configurazione del flusso mancante.",
3129
3129
  "restartLabel": "Riprendi la procedura di inserimento",
3130
+ "sessionExpiredMessage": "La tua sessione è scaduta. Avvia nuovamente la procedura per continuare.",
3130
3131
  "sessionInvalidMessage": "Questa sessione di verifica non è più disponibile. Per continuare, avvia una nuova sessione.",
3131
3132
  "sessionRestartDisabledMessage": "Questa sessione di verifica è già stata completata e non può più essere riaperta.",
3132
3133
  "sessionUnavailableTitle": "La sessione non è più disponibile",
@@ -3121,6 +3121,7 @@ var ja_default = {
3121
3121
  "invalidSessionResponse": "セッション応答が無効です。",
3122
3122
  "missingFlowConfiguration": "フロー構成が見つかりません。",
3123
3123
  "restartLabel": "オンボーディングを再開する",
3124
+ "sessionExpiredMessage": "セッションの有効期限が切れました。続行するには、手順を最初からやり直してください。",
3124
3125
  "sessionInvalidMessage": "この検証セッションは利用できなくなりました。続行するには、新しいセッションを開始してください。",
3125
3126
  "sessionRestartDisabledMessage": "この検証セッションはすでに完了しており、再開することはできません。",
3126
3127
  "sessionUnavailableTitle": "このセッションは利用できなくなりました",