@incodetech/web 2.4.0 → 2.4.1-agentic.1

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 (345) hide show
  1. package/THIRD_PARTY_NOTICES.txt +1 -4
  2. package/dist/{GeolocationPermissionDenied-NCe8TBk4.js → GeolocationPermissionDenied-ClGp0a23.js} +13 -8
  3. package/dist/ae-signature/ae-signature.es.js +4 -4
  4. package/dist/{af-ZA-BbU0OdlG.js → af-ZA-BKpmmWDe.js} +165 -869
  5. package/dist/{ageVerification-B5ownHdO.js → ageVerification-CtuJDuRV.js} +11 -8
  6. package/dist/{am-BuvQtV50.js → am-CW_ro5Ws.js} +165 -869
  7. package/dist/antifraud/antifraud.es.js +5 -4
  8. package/dist/applyStudioConfig-C6-Ak0q6.js +127 -0
  9. package/dist/{ar-AE-Bdk7NfI2.js → ar-AE-D9h8UMbm.js} +165 -869
  10. package/dist/{ar-Ba-wMBXP.js → ar-B5ToweVl.js} +166 -870
  11. package/dist/{ar-EG-C9FVwsEB.js → ar-EG-DQqE9B26.js} +165 -869
  12. package/dist/assertClassBrand-DJr5K93j.js +17 -0
  13. package/dist/asset-Ctwd_20H.js +355 -0
  14. package/dist/authentication/authentication.es.js +7 -5
  15. package/dist/{autoFocusTitle-BQltp_Nn.js → autoFocusTitle-CzaCWWW5.js} +2 -2
  16. package/dist/{az-DHRJfgCV.js → az-DAZq-CQj.js} +165 -869
  17. package/dist/{back-horizontal-hint-BztyPanp.js → back-horizontal-hint-qzSaNkEU.js} +1 -1
  18. package/dist/{back-vertical-hint-BSzA4QbJ.js → back-vertical-hint-DkYLOege.js} +1 -1
  19. package/dist/base.css +1 -1
  20. package/dist/{baseTutorial-CL2A9XLh.js → baseTutorial-CF6WiVYt.js} +10 -7
  21. package/dist/{bn-BfE2MHPG.js → bn-DRTyq2Y9.js} +165 -869
  22. package/dist/{bottomSheet-DU4SrMOH.js → bottomSheet-DylE2INk.js} +3 -3
  23. package/dist/{bs-Ck9dCVYh.js → bs-B8q0B86-.js} +164 -868
  24. package/dist/{ca-yJUG5zqw.js → ca-DvsHXRB-.js} +164 -868
  25. package/dist/cameraOverlay-DNf0PEF4.js +2 -0
  26. package/dist/{cameraOverlayHeader-Bp7NCrl9.js → cameraOverlayHeader-CuVGnyXI.js} +9 -8
  27. package/dist/{cameraView-CLlWARBI.js → cameraView-D9ZxLKtA.js} +13 -14
  28. package/dist/capture-0jMDSGCE.js +762 -0
  29. package/dist/{tutorial-Bwt7rxfr.js → capture-BlGlXoTx.js} +212 -51
  30. package/dist/capture-DKBA5j5A.js +3 -0
  31. package/dist/capture-D_Dwrj1F.js +2 -0
  32. package/dist/captureButtonIcon-A9kn2E_m.js +1 -0
  33. package/dist/captureFocusContext-9789qOe3.js +729 -0
  34. package/dist/captureFooter-B6WUFQCV.js +47 -0
  35. package/dist/{ceb-oov4R9JM.js → ceb-pvlomXHV.js} +165 -869
  36. package/dist/certificate-issuance/certificate-issuance.es.js +23 -13
  37. package/dist/{check-icon-BpjpKqhJ.js → check-icon-BdHltEK6.js} +1 -1
  38. package/dist/{checkbox-DbYUeTao.js → checkbox-BwUQ0Rs9.js} +4 -4
  39. package/dist/chooser-CmG71-lh.js +1589 -0
  40. package/dist/connectionError-DexRpKWs.js +90 -0
  41. package/dist/consent/consent.es.js +19 -14
  42. package/dist/consent/styles.css +1 -1
  43. package/dist/consent/styles.css.js +1 -1
  44. package/dist/{countryFlag-2Vj85OIZ.js → countryFlag-CQMfCnE9.js} +1 -1
  45. package/dist/{countrySelector-El6_zLMs.js → countrySelector-C0OEKMqL.js} +6 -5
  46. package/dist/cross-document-data-match/cross-document-data-match.es.js +5 -4
  47. package/dist/{cs-CZ-B9jWzmE_.js → cs-CZ-GgvnJLMj.js} +164 -868
  48. package/dist/{cs-ovOFxGB0.js → cs-DB5PLEdt.js} +164 -868
  49. package/dist/curp-validation/curp-validation.es.js +34 -19
  50. package/dist/curp-validation/styles.css +1 -1
  51. package/dist/curp-validation/styles.css.js +1 -1
  52. package/dist/{customFields-BlYfgYje.js → customFields-DQgRumW0.js} +17 -12
  53. package/dist/{customWatchlist-BsBTzCCN.js → customWatchlist-BbC0fA-6.js} +8 -7
  54. package/dist/{da-DK-C0l5MGWM.js → da-DK-ZhpcfE_F.js} +164 -868
  55. package/dist/{dashboardTheme-MVQerNVn.js → dashboardTheme-DtXsx9IK.js} +22 -23
  56. package/dist/{dateInputComposed-DXCc1HRe.js → dateInputComposed-1IcnucPq.js} +5 -5
  57. package/dist/dateInputComposed-BFlCk-sg.js +1 -0
  58. package/dist/{de-B0IRPjwJ.js → de-DEBjzaow.js} +164 -868
  59. package/dist/{denied-wXsbFjy_.js → denied-CwdVWAUw.js} +12 -9
  60. package/dist/devWarn-CW20j1Qd.js +9 -0
  61. package/dist/deviceWallet-CMjguFJO.js +37 -0
  62. package/dist/{digitalIdRedirect-CF7zG3wS.js → digitalIdRedirect-MNty16-5.js} +4 -4
  63. package/dist/{digitalIdUpload-CbPm090z.js → digitalIdUpload-CUzTaoaI.js} +39 -15
  64. package/dist/document-capture/document-capture.es.js +1 -1
  65. package/dist/document-capture/styles.css +1 -1
  66. package/dist/document-capture/styles.css.js +1 -1
  67. package/dist/{documentCapture-CgpHXm_8.js → documentCapture-BUMyJ8vw.js} +115 -44
  68. package/dist/documentCapture-rECLkwpi.js +2 -0
  69. package/dist/dropdownComposed-C9sLQE6i.js +1 -0
  70. package/dist/{dropdownComposed-qb9GgX5X.js → dropdownComposed-x3ewHxbT.js} +4 -4
  71. package/dist/dynamic-forms/dynamic-forms.es.js +20 -15
  72. package/dist/ekyb/ekyb.es.js +1 -1
  73. package/dist/ekyb/styles.css +1 -1
  74. package/dist/ekyb/styles.css.js +1 -1
  75. package/dist/ekybModule-B5IEiSyi.js +2 -0
  76. package/dist/{ekybModule-BgZIkVVl.js → ekybModule-C5hEBLMs.js} +27 -23
  77. package/dist/ekyc/ekyc.es.js +1 -1
  78. package/dist/ekyc/styles.css +1 -1
  79. package/dist/ekyc/styles.css.js +1 -1
  80. package/dist/ekycModule-B7OFnP3H.js +2 -0
  81. package/dist/{ekycModule-DEVrRrnH.js → ekycModule-TVKk0qdS.js} +71 -44
  82. package/dist/{el-Do7wYurZ.js → el-Dplr_D5N.js} +164 -868
  83. package/dist/{el-GR-BZEKLkvc.js → el-GR-IZ4reOR7.js} +164 -868
  84. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  85. package/dist/{electronic-signature-DE6FJfvu.js → electronic-signature-BMda_cf3.js} +49 -34
  86. package/dist/email/email.es.js +15 -11
  87. package/dist/{emailInput-Cp77LavN.js → emailInput-BI8gWC0D.js} +4 -4
  88. package/dist/{en-DG-Cvwm0nfj.js → en-DG-C6tsWvHi.js} +165 -869
  89. package/dist/{en-CJ6l68pH.js → en-Db1L_u7B.js} +165 -869
  90. package/dist/{errorContent-YeJNVb1U.js → errorContent-pPAgyy2i.js} +10 -7
  91. package/dist/es-419-DxKrJq7W.js +5 -0
  92. package/dist/{es-rayGAvsH.js → es-C5unKsaF.js} +164 -868
  93. package/dist/{es-ES-B8h3jMgN.js → es-ES-sHbsufzT.js} +164 -868
  94. package/dist/{es-MX-DA__jQOC.js → es-MX-Cd_DCR0A.js} +164 -868
  95. package/dist/{et-DvX7tm-R.js → et-BoGq2cx8.js} +165 -869
  96. package/dist/{expiredId-CsKNCK5M.js → expiredId-DWjw94rT.js} +12 -8
  97. package/dist/extensibility.es.js +100 -55
  98. package/dist/{fa-IR-DfrzWcH0.js → fa-IR-DuUxGXrf.js} +165 -869
  99. package/dist/face-match/face-match.es.js +1 -1
  100. package/dist/face-match/styles.css +1 -1
  101. package/dist/face-match/styles.css.js +1 -1
  102. package/dist/faceMatch-B2aMz3X2.js +2 -0
  103. package/dist/{faceMatch-Bqspq0cw.js → faceMatch-DV7NxYu_.js} +15 -20
  104. package/dist/{fi-FI-CcFDkeiE.js → fi-FI-DMOBNTjA.js} +164 -868
  105. package/dist/field-comparison/field-comparison.es.js +1 -1
  106. package/dist/fieldComparison-BY2XXsp3.js +2 -0
  107. package/dist/{fieldComparison-CmQN2MEj.js → fieldComparison-CFLU1h6n.js} +15 -11
  108. package/dist/{fieldLabelHint-CxjArYkQ.js → fieldLabelHint-CjrLxBaj.js} +3 -3
  109. package/dist/{finalSuccessScreen-1Ea3wZWM.js → finalSuccessScreen-C50L96j9.js} +20 -16
  110. package/dist/fiscal-qr/fiscal-qr.es.js +24 -18
  111. package/dist/flipAnimation-8x-qdtF_.js +33 -0
  112. package/dist/flipCapturedCardEligibility-DLr9F2g2.js +210 -0
  113. package/dist/flow/flow.es.js +209 -186
  114. package/dist/flow/shell/styles.css +1 -1
  115. package/dist/flow/shell/styles.css.js +1 -1
  116. package/dist/flow/styles.css +1 -1
  117. package/dist/{formField-DoXWcoL9.js → formField-CfQKYeGF.js} +19 -11
  118. package/dist/{fr-CA-CeL7RQc-.js → fr-CA-DZ8jlsp3.js} +164 -868
  119. package/dist/{fr-DtdqfaF8.js → fr-DSR-AP0e.js} +164 -868
  120. package/dist/{front-horizontal-hint-DEHmtcdg.js → front-horizontal-hint-DOphQZg2.js} +1 -1
  121. package/dist/{front-vertical-hint-Cb1NO-xT.js → front-vertical-hint-S6PcS9_m.js} +1 -1
  122. package/dist/geolocation/geolocation.es.js +15 -12
  123. package/dist/government-validation/government-validation.es.js +7 -6
  124. package/dist/{he-CPeNHo0I.js → he-N5dfJeyd.js} +165 -869
  125. package/dist/helpButtonConfig-CjbrBQaV.js +24 -0
  126. package/dist/{hi-DIbkmie6.js → hi-JR6K9zbd.js} +165 -869
  127. package/dist/{hmn-CscGik4W.js → hmn-j2YA7FxW.js} +165 -869
  128. package/dist/{homeScreen-C0j_8KKD.js → homeScreen-C3pPw52y.js} +24 -13
  129. package/dist/{incodeComponent-CMBg2gpq.js → hooks-BFP0WaJM.js} +192 -262
  130. package/dist/{hr-DWUsAZnf.js → hr-8cOdwB0t.js} +164 -868
  131. package/dist/{ht-DgaboG3c.js → ht-DDNL4C__.js} +165 -869
  132. package/dist/{hu-Lz2qVC3S.js → hu-CynQQUFQ.js} +166 -870
  133. package/dist/i18n-Dp014ljG.js +942 -0
  134. package/dist/{icons-OQDvn5r2.js → icons-c-hFaG4L.js} +153 -56
  135. package/dist/id/id.es.js +101 -197
  136. package/dist/id/styles.css +1 -1
  137. package/dist/id/styles.css.js +1 -1
  138. package/dist/{id-back-of-card-C7Au2tqk.js → id-back-of-card-Bk6ZQUE9.js} +1 -1
  139. package/dist/{id-back-of-card-vertical-CtQBFw8w.js → id-back-of-card-vertical-BZo00s50.js} +1 -1
  140. package/dist/{id-front-of-card-BmHL_keG.js → id-front-of-card-BJ96se7u.js} +1 -1
  141. package/dist/{id-front-of-card-vertical-DkNUn2Vx.js → id-front-of-card-vertical-DSfJB0lX.js} +1 -1
  142. package/dist/{id-C5eOEjgu.js → id-o_Yg0n8W.js} +165 -869
  143. package/dist/id-selfie-flow/id-selfie-flow.es.js +12 -11
  144. package/dist/id-selfie-flow/styles.css +1 -1
  145. package/dist/id-verification/id-verification.es.js +6 -5
  146. package/dist/idFlipTransition-DXdtXYza.js +158 -0
  147. package/dist/{idOcr-C-kHrU_d.js → idOcr-CjqfkRJ7.js} +18 -14
  148. package/dist/identity-reuse/identity-reuse.es.js +28 -18
  149. package/dist/incodeComponent-DtKh-UUm.js +237 -0
  150. package/dist/incodeModule-DCHXAeYU.js +41 -0
  151. package/dist/index.es.js +5 -3
  152. package/dist/{inputComposed-CR1IW-mQ.js → inputComposed-CmVsaHOa.js} +4 -4
  153. package/dist/inputComposed-DvGrso7g.js +1 -0
  154. package/dist/{it-CQGuLrxZ.js → it-BXevrtHn.js} +165 -869
  155. package/dist/{ja-CBD-jOkP.js → ja-DiTXnTx-.js} +165 -869
  156. package/dist/{ja-JP-Dgbzh2aL.js → ja-JP-D1IRWR-p.js} +166 -870
  157. package/dist/{jv-C-E67yDR.js → jv-Us70GzGp.js} +164 -868
  158. package/dist/{ka-CcCqDmzw.js → ka-BSsWQ4yU.js} +165 -869
  159. package/dist/{kk-B_5WgCfa.js → kk-D5R6r4H7.js} +164 -868
  160. package/dist/{km-CucJh4em.js → km-CCCb2Rnt.js} +171 -875
  161. package/dist/{ko-KP-BSjl3hdX.js → ko-KP-JF4khv1Y.js} +165 -869
  162. package/dist/{ko-BEd2Jz4C.js → ko-kQioCg2w.js} +165 -869
  163. package/dist/{ky-Bb9MfmYr.js → ky-CLOemVjC.js} +164 -868
  164. package/dist/kyb-checks/kyb-checks.es.js +2 -0
  165. package/dist/kyb-checks/styles.css +2 -0
  166. package/dist/kyb-checks/styles.css.js +1 -0
  167. package/dist/kybChecksModule-C6Y9Hxpr.js +329 -0
  168. package/dist/kybChecksModule-r3MIpFhS.js +2 -0
  169. package/dist/{lo-CD_Ehkf5.js → lo-tzHUt1CQ.js} +165 -869
  170. package/dist/{lt-DHkwvJ8e.js → lt-B2ZI-Cgu.js} +165 -869
  171. package/dist/{lv-CPuPO_jU.js → lv-BJnxtSYw.js} +165 -869
  172. package/dist/{mandatoryConsent-BHMWyBUp.js → mandatoryConsent-BiQuEZRu.js} +23 -16
  173. package/dist/{manualCaptureButton-D_tGP6tv.js → manualCaptureButton-BRSmPTeR.js} +8 -7
  174. package/dist/{manualCaptureButton-D5XP3Oaf.js → manualCaptureButton-Dw0MMSkc.js} +17 -12
  175. package/dist/{mk-DO85nJp4.js → mk-Cj7Iw2Q4.js} +165 -869
  176. package/dist/{mn-D5fhne6X.js → mn-CA_rNxtz.js} +164 -868
  177. package/dist/{ms-D_FFGDor.js → ms-BydA1Zjz.js} +164 -868
  178. package/dist/{my-D1JKF20F.js → my-gFKufKaG.js} +165 -869
  179. package/dist/{nb-NO-oEMuavpl.js → nb-NO-CDsGQbOZ.js} +164 -868
  180. package/dist/{ne-Ds3QEMQ4.js → ne-Cyfi0vFI.js} +165 -869
  181. package/dist/{nl-DGyLucC1.js → nl-e1gbmAFO.js} +165 -869
  182. package/dist/{numberedStep-CvbL3ht2.js → numberedStep-CeN77hnQ.js} +1 -1
  183. package/dist/{optionAccessibleLabel-SwDCMYKc.js → optionAccessibleLabel-BTUieMxH.js} +8 -7
  184. package/dist/{otpInput-DIUf37GR.js → otpInput-D3L3QhnR.js} +24 -17
  185. package/dist/{page-BGUJaLaG.js → page-U6jZ7BBI.js} +85 -58
  186. package/dist/{incode-logo-BBYHyycP.js → pageUiConfig-Qf6ItVv9.js} +28 -4
  187. package/dist/{passport-horizontal-hint-DgNc6F0-.js → passport-horizontal-hint-Ddsh6fUS.js} +1 -1
  188. package/dist/{passport-vertical-hint-B-toVsfT.js → passport-vertical-hint-Dukxq6-T.js} +1 -1
  189. package/dist/{passwordInputComposed-Cd-3kyua.js → passwordInputComposed-CW_1DcB8.js} +5 -5
  190. package/dist/{pdf-BKHLi5Ac.js → pdf-Bd5QplFS.js} +2 -17
  191. package/dist/{pdfViewer-EDgSzrdc.js → pdfViewer-BrqSEtbr.js} +11 -14
  192. package/dist/pdfViewer-rDnnHzmw.js +2 -0
  193. package/dist/{permissions-Vh-QG2Tj.js → permissions-KUDhffd9.js} +36 -23
  194. package/dist/phone/phone.es.js +16 -12
  195. package/dist/{phoneInputComposed-wZaDiedP.js → phoneInputComposed-DlJMTavK.js} +49 -12
  196. package/dist/{pl-nEtI_VZQ.js → pl-BSMcCWS-.js} +164 -868
  197. package/dist/preloadableLazy-C8_OYaTC.js +37 -0
  198. package/dist/{processing-SzW6Mfrg.js → processing-B5EH7yNg.js} +2 -2
  199. package/dist/{progressBar-KEnpi8uj.js → progressBar-CSpS29pV.js} +2 -2
  200. package/dist/{pt-EmaaUJGm.js → pt-BNFC2quK.js} +165 -869
  201. package/dist/{pt-BR-BkLAWIbx.js → pt-BR-bH8DC2gH.js} +165 -869
  202. package/dist/{pt-PT-Py_4_Z05.js → pt-PT-B8PXmgwU.js} +165 -869
  203. package/dist/qe-signature/qe-signature.es.js +4 -4
  204. package/dist/{radioGroupComposed-CRr_78He.js → radioGroupComposed-CW8ElYSR.js} +4 -4
  205. package/dist/radioGroupComposed-flIYNffL.js +1 -0
  206. package/dist/realtimeFeedbackConfig-tBX94SOm.js +16 -0
  207. package/dist/redirect-to-mobile/redirect-to-mobile.es.js +51 -50
  208. package/dist/redirect-to-mobile/styles.css +1 -1
  209. package/dist/redirect-to-mobile/styles.css.js +1 -1
  210. package/dist/{registerIncodeElement-D_cn4dSI.js → registerIncodeElement-oiLvm6xq.js} +1 -1
  211. package/dist/{reload-icon-elAFo9-k.js → reload-icon-FD2e9Wet.js} +1 -1
  212. package/dist/{resendTimer-EhLnxeID.js → resendTimer-D1H3gwkI.js} +2 -2
  213. package/dist/richText-sUdTiRDE.js +1761 -0
  214. package/dist/{ro-BKmZhZl1.js → ro-DnN8QNYa.js} +165 -869
  215. package/dist/{ru-BYQKvZtn.js → ru-DAwUFXHq.js} +165 -869
  216. package/dist/{ru-RU-BdhCs3uF.js → ru-RU-Coxt0VCU.js} +164 -868
  217. package/dist/{sanitizeSvg-BC-qLUgS.js → sanitizeSvg-OdNh1mqY.js} +1 -1
  218. package/dist/selfie/selfie.es.js +36 -14
  219. package/dist/selfie/styles.css +1 -1
  220. package/dist/selfie/styles.css.js +1 -1
  221. package/dist/signature/signature.es.js +18 -13
  222. package/dist/{sk-CZipa19k.js → sk-AB8sSlNw.js} +166 -870
  223. package/dist/{sl-_sx3gvEv.js → sl-6Dfzfi7s.js} +165 -869
  224. package/dist/{smsTabContent-DHuEgl3E.js → smsTabContent-CBEKgzFv.js} +32 -23
  225. package/dist/{so-D3T7YyfC.js → so-X5BdrDvV.js} +165 -869
  226. package/dist/spacer-Jaru_3sb.js +82 -0
  227. package/dist/spinner-51btbot0.js +407 -0
  228. package/dist/{sr-D0lglPAd.js → sr-JHjMcbGs.js} +164 -868
  229. package/dist/{sr-Latn-Dy2rgSEv.js → sr-Latn-DgT7eTG2.js} +171 -875
  230. package/dist/sr-YU-BBhB_G63.js +5 -0
  231. package/dist/{sv-SE-VsDd4VP5.js → sv-SE-CvX8mC8T.js} +164 -868
  232. package/dist/{sw-D2VfTj6a.js → sw-CN0TdnY4.js} +165 -869
  233. package/dist/{th-BzmKSnbD.js → th-BmFntKib.js} +165 -869
  234. package/dist/{th-TH-BU_NqN97.js → th-TH-CWr4z3JK.js} +165 -869
  235. package/dist/themes/dark.css +1 -1
  236. package/dist/themes/light.css +1 -1
  237. package/dist/{tl-PH-BJJNA9rs.js → tl-PH-BRIbtBRN.js} +165 -869
  238. package/dist/{tl-GXkKKnzb.js → tl-rzkk5P_n.js} +165 -869
  239. package/dist/{tr-C1MJnwIJ.js → tr-DKuVBwqW.js} +166 -870
  240. package/dist/{transitionSpinner-Bkjw-WAJ.js → transitionSpinner-Di0XBAix.js} +5 -4
  241. package/dist/tutorial-C9psDR2i.js +28 -0
  242. package/dist/types/ae-signature.d.ts +10 -1
  243. package/dist/types/antifraud.d.ts +10 -1
  244. package/dist/types/authentication.d.ts +10 -1
  245. package/dist/types/certificate-issuance.d.ts +10 -1
  246. package/dist/types/consent.d.ts +10 -1
  247. package/dist/types/cross-document-data-match.d.ts +10 -1
  248. package/dist/types/curp-validation.d.ts +10 -1
  249. package/dist/types/document-capture.d.ts +10 -1
  250. package/dist/types/dynamic-forms.d.ts +10 -1
  251. package/dist/types/ekyb.d.ts +10 -1
  252. package/dist/types/ekyc.d.ts +10 -1
  253. package/dist/types/electronic-signature.d.ts +10 -1
  254. package/dist/types/email.d.ts +10 -1
  255. package/dist/types/extensibility.d.ts +147 -21
  256. package/dist/types/face-match.d.ts +10 -1
  257. package/dist/types/field-comparison.d.ts +10 -1
  258. package/dist/types/fiscal-qr.d.ts +10 -1
  259. package/dist/types/flow.d.ts +22 -2
  260. package/dist/types/geolocation.d.ts +10 -1
  261. package/dist/types/government-validation.d.ts +10 -1
  262. package/dist/types/id-selfie-flow.d.ts +10 -1
  263. package/dist/types/id-verification.d.ts +10 -1
  264. package/dist/types/id.d.ts +10 -1
  265. package/dist/types/identity-reuse.d.ts +10 -1
  266. package/dist/types/index.d.ts +92 -10
  267. package/dist/types/kyb-checks.d.ts +209 -0
  268. package/dist/types/phone.d.ts +10 -1
  269. package/dist/types/qe-signature.d.ts +10 -1
  270. package/dist/types/redirect-to-mobile.d.ts +1 -1
  271. package/dist/types/selfie.d.ts +10 -1
  272. package/dist/types/signature.d.ts +10 -1
  273. package/dist/types/video-selfie.d.ts +1 -1
  274. package/dist/types/watchlist.d.ts +10 -1
  275. package/dist/types/workflow.d.ts +10 -1
  276. package/dist/{typography-DKXgPZsU.js → typography-CiGhKJGx.js} +2 -2
  277. package/dist/uiConfig-BJAuZQWc.js +77 -0
  278. package/dist/{uk-DFL26I5l.js → uk-CXjqq4lX.js} +164 -868
  279. package/dist/{uk-UA-3o9Xbam-.js → uk-UA-BIE9WByU.js} +165 -869
  280. package/dist/{ur-DXJAfyQA.js → ur-vNGesC3r.js} +165 -869
  281. package/dist/useCameraPreview-Bd7AYE9h.js +93 -0
  282. package/dist/useCaptureHelpButton-Dj-jESrS.js +43 -0
  283. package/dist/useIsDarkTheme-Bu9CvKxW.js +27 -0
  284. package/dist/{useModuleLoader-BdIp6TNQ.js → useModuleLoader-BBCNkJmc.js} +2 -2
  285. package/dist/{uz-BXvj8vlH.js → uz-Gmw1XRgv.js} +165 -869
  286. package/dist/{vendor-preact-C0jX1Cbq.js → vendor-preact-DHGqBGMH.js} +19 -1
  287. package/dist/{verificationResult-BVrKFRMf.js → verificationResult-Clxdxm_s.js} +18 -10
  288. package/dist/{vi-DRfsxu1a.js → vi-DTxxRUw0.js} +165 -869
  289. package/dist/video-selfie/styles.css +1 -1
  290. package/dist/video-selfie/styles.css.js +1 -1
  291. package/dist/video-selfie/video-selfie.es.js +103 -67
  292. package/dist/watchlist/watchlist.es.js +8 -7
  293. package/dist/{watchlistForBusiness-CyAmoIrv.js → watchlistForBusiness-CpFp2EYX.js} +44 -14
  294. package/dist/{withEndScreenTexts-MHocOODe.js → withEndScreenTexts-Bd3mof3s.js} +225 -45
  295. package/dist/workflow/styles.css +1 -1
  296. package/dist/workflow/workflow.es.js +32 -21
  297. package/dist/{zh-CN-DMfj1_Nh.js → zh-CN-aB48G_R1.js} +164 -868
  298. package/dist/{zh-Ct8GKGhw.js → zh-DjtyfO4e.js} +164 -868
  299. package/dist/{zh-HANT-NZFdeKuE.js → zh-HANT-8p8SH8C3.js} +165 -869
  300. package/dist/{zh-TW-8wkrOHM8.js → zh-TW-CCsz9gKq.js} +165 -869
  301. package/package.json +35 -10
  302. package/dist/browser-ponyfill-DT11p-Ob.js +0 -441
  303. package/dist/cameraOverlay-CBTjtbNP.js +0 -2
  304. package/dist/connectionError-DX3wd4vm.js +0 -45
  305. package/dist/dateInputComposed-BzW0cv1o.js +0 -1
  306. package/dist/deviceWallet-CImevqFB.js +0 -66
  307. package/dist/documentCapture-CmWd-wNL.js +0 -2
  308. package/dist/dropdownComposed-B76j7pz9.js +0 -1
  309. package/dist/ekybModule-Bshc_ANM.js +0 -2
  310. package/dist/ekycModule-MmJYwp1l.js +0 -2
  311. package/dist/es-419-DlCbbvcc.js +0 -3145
  312. package/dist/esm-15CISqPe.js +0 -430
  313. package/dist/faceMatch-BVSCpwmA.js +0 -2
  314. package/dist/fieldComparison-nFj9pSeZ.js +0 -2
  315. package/dist/flipAnimation-DY9K2zel.js +0 -3048
  316. package/dist/incodeModule-D6oey1Mb.js +0 -68
  317. package/dist/inputComposed-45HxIMO0.js +0 -1
  318. package/dist/pdfViewer-CFkuHOV4.js +0 -2
  319. package/dist/radioGroupComposed-DJ71F9KK.js +0 -1
  320. package/dist/richText-aCnLd3j2.js +0 -1549
  321. package/dist/spacer-BvrtrwSF.js +0 -741
  322. package/dist/spinner-CkN8sW0d.js +0 -88
  323. package/dist/sr-YU-UEhyvXZ-.js +0 -3149
  324. package/dist/statusPage-3zRxvkSE.js +0 -36
  325. package/dist/uiConfig-BA7U_zLr.js +0 -2589
  326. package/dist/useCaptureHelpButton-CSG3fO48.js +0 -86
  327. package/dist/useCoverMedia-VLw3OYN_.js +0 -149
  328. /package/dist/{aligndevicelottie-BARt-rhe.js → aligndevicelottie-BEKzL4SB.js} +0 -0
  329. /package/dist/{back-tutorial-CZrMmj1_.js → back-tutorial-B9W63fa-.js} +0 -0
  330. /package/dist/{backdevicelottie-CIM3ekd8.js → backdevicelottie-DsN8QBV3.js} +0 -0
  331. /package/dist/{blurdevicelottie-BRyXfLB6.js → blurdevicelottie-DkV7Kwo4.js} +0 -0
  332. /package/dist/{countryDefinitions-BO9OSKQO.js → countryDefinitions-RBVGM1D_.js} +0 -0
  333. /package/dist/{defineProperty-CjeJoXkx.js → defineProperty-E9wRIIo9.js} +0 -0
  334. /package/dist/{flip-animation-BU5LNKYx.js → flip-animation-DJVnWWL5.js} +0 -0
  335. /package/dist/{frontdevicelottie-arpyu_Fz.js → frontdevicelottie-DiW1Wmya.js} +0 -0
  336. /package/dist/{glaredevicelottie-TwTFxe7h.js → glaredevicelottie-CK-fnX_s.js} +0 -0
  337. /package/dist/{id-laser-h-Dr-hBxrq.js → id-laser-h-6Am_cjM8.js} +0 -0
  338. /package/dist/{id-laser-v-D_r0QNY8.js → id-laser-v-DXoF3flH.js} +0 -0
  339. /package/dist/{id-tutorial-DM9Pkfs-.js → id-tutorial-DkKH3eTE.js} +0 -0
  340. /package/dist/{lottie_light-aMg9Q9iO.js → lottie_light-B819EhaL.js} +0 -0
  341. /package/dist/{passport-tutorial-CKZZuDf_.js → passport-tutorial-D3Fpk-Tj.js} +0 -0
  342. /package/dist/{pdf.worker.min-BM1b2w9V.js → pdf.worker.min-DzBNMoKS.js} +0 -0
  343. /package/dist/{policyUrls-B3M8nLRh.js → policyUrls-Benduf-R.js} +0 -0
  344. /package/dist/{purify.es-0fCPkEV1.js → purify.es-CSPoFViI.js} +0 -0
  345. /package/dist/{selfieTutorial-Dz6lDFMn.js → selfieTutorial-DnsRD1Z9.js} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/web",
3
- "version": "2.4.0",
3
+ "version": "2.4.1-agentic.1",
4
4
  "license": "ISC",
5
5
  "repository": {
6
6
  "type": "git",
@@ -108,6 +108,15 @@
108
108
  "source": "./src/modules/face-match/styles.css",
109
109
  "default": "./dist/face-match/styles.css"
110
110
  },
111
+ "./authentication": {
112
+ "source": "./src/modules/authentication/authentication.tsx",
113
+ "types": "./dist/types/authentication.d.ts",
114
+ "import": "./dist/authentication/authentication.es.js"
115
+ },
116
+ "./authentication/styles.css": {
117
+ "source": "./src/modules/selfie/styles.css",
118
+ "default": "./dist/selfie/styles.css"
119
+ },
111
120
  "./curp-validation": {
112
121
  "source": "./src/modules/curp-validation/curp-validation.tsx",
113
122
  "types": "./dist/types/curp-validation.d.ts",
@@ -162,6 +171,15 @@
162
171
  "source": "./src/modules/ekyb/styles.css",
163
172
  "default": "./dist/ekyb/styles.css"
164
173
  },
174
+ "./kyb-checks": {
175
+ "source": "./src/modules/kyb-checks/kybChecksModule.tsx",
176
+ "types": "./dist/types/kyb-checks.d.ts",
177
+ "import": "./dist/kyb-checks/kyb-checks.es.js"
178
+ },
179
+ "./kyb-checks/styles.css": {
180
+ "source": "./src/modules/kyb-checks/styles.css",
181
+ "default": "./dist/kyb-checks/styles.css"
182
+ },
165
183
  "./document-capture": {
166
184
  "source": "./src/modules/document-capture/documentCapture.tsx",
167
185
  "types": "./dist/types/document-capture.d.ts",
@@ -286,12 +304,14 @@
286
304
  "THIRD_PARTY_NOTICES.txt"
287
305
  ],
288
306
  "dependencies": {
307
+ "@incodetech/prizma-core-web": "0.17.0",
289
308
  "preact": "^10.27.2",
290
- "@incodetech/core": "2.4.0"
309
+ "@incodetech/core": "2.4.1-agentic.1"
291
310
  },
292
311
  "devDependencies": {
293
312
  "@fontsource/dm-sans": "^5.2.8",
294
313
  "@fontsource/rethink-sans": "^5.2.8",
314
+ "@incodetech/prizma-core-tokens": "^0.13.0",
295
315
  "@microsoft/api-extractor": "^7.53.3",
296
316
  "@preact/preset-vite": "^2.10.5",
297
317
  "@storybook/addon-a11y": "^10.4.1",
@@ -313,10 +333,9 @@
313
333
  "dompurify": "^3.3.3",
314
334
  "happy-dom": "^20.7.0",
315
335
  "i18next": "^25.7.1",
316
- "i18next-http-backend": "^3.0.2",
317
336
  "lightningcss": "^1.32.0",
318
337
  "lottie-web": "5.13.0",
319
- "marked": "^17.0.5",
338
+ "marked": "^18.1.3",
320
339
  "pdfjs-dist": "~5.4.624",
321
340
  "playwright": "1.60.0",
322
341
  "postcss": "^8.5.6",
@@ -339,23 +358,29 @@
339
358
  },
340
359
  "scripts": {
341
360
  "build": "rm -rf dist && vite build && pnpm check:i18n-bundle && pnpm check:dist-types",
342
- "build:cdn": "rm -rf dist && NODE_OPTIONS=--experimental-strip-types BUILD_TARGET=cdn vite build && pnpm check:i18n-bundle && pnpm check:dist-types",
343
- "check:css-scope": "node scripts/check-css-scope.mjs",
344
- "check:dist-types": "tsgo -p tsconfig.dist-types.json",
361
+ "build:cdn": "rm -rf dist && NODE_OPTIONS=--experimental-strip-types BUILD_TARGET=cdn vite build && pnpm check:i18n-bundle && pnpm check:dist-types && pnpm check:cdn-imports",
362
+ "check:cdn-imports": "node scripts/check-cdn-hoisted-imports.mjs",
363
+ "check:css-scope": "node --test scripts/check-css-scope.test.mjs && node scripts/check-css-scope.mjs",
364
+ "check:dist-types": "bun check -p tsconfig.dist-types.json --no-script",
345
365
  "check:i18n-bundle": "node scripts/check-i18n-bundle.mjs",
366
+ "generate:prizma-bridge": "node scripts/generate-prizma-bridge.mjs && prettier --write src/styles/tokens/prizmaBridge.css",
367
+ "generate:studio-theme": "node scripts/generate-studio-theme.mjs && prettier --write src/styles/tokens/studioTheme.css",
346
368
  "build:dev": "NODE_ENV=development vite build",
347
369
  "build:analyze": "rm -rf dist && ANALYZE=1 vite build && echo '\\nBundle report: packages/ui/dist/stats.html\\n'",
348
370
  "optimize:svg": "svgo -rf src --quiet",
349
371
  "test": "vitest run --project=unit",
372
+ "test:shard": "vitest run --project=unit --shard=$VITEST_SHARD",
373
+ "test:changed": "vitest run --project=unit --changed origin/main --passWithNoTests",
350
374
  "test:storybook": "vitest run --project=storybook",
351
375
  "test:a11y": "VITE_STORYBOOK_A11Y=true vitest run --project=storybook",
376
+ "test:a11y:shard": "VITE_STORYBOOK_A11Y=true vitest run --project=storybook --shard=$VITEST_SHARD",
352
377
  "coverage": "vitest run --project=unit --coverage",
353
- "lint": "eslint . && pnpm lint:styles",
354
- "lint:fix": "eslint . --fix && pnpm lint:styles",
378
+ "lint": "oxlint . && pnpm lint:styles",
379
+ "lint:fix": "oxlint . --fix && pnpm lint:styles",
355
380
  "lint:styles": "stylelint \"src/**/*.css\"",
356
381
  "format": "prettier --write . --ignore-path ../../.prettierignore",
357
382
  "format:check": "prettier --check . --ignore-path ../../.prettierignore",
358
- "typecheck": "tsgo -p tsconfig.json --noEmit",
383
+ "typecheck": "bun check -p tsconfig.json --noEmit --no-script",
359
384
  "storybook": "NODE_OPTIONS=--experimental-strip-types storybook dev -p 6006",
360
385
  "build-storybook": "NODE_OPTIONS=--experimental-strip-types storybook build"
361
386
  }
@@ -1,441 +0,0 @@
1
- import { t as __commonJSMin } from "./rolldown-runtime--E5BIlTp.js";
2
- //#region ../../node_modules/.pnpm/cross-fetch@4.0.0/node_modules/cross-fetch/dist/browser-ponyfill.js
3
- var require_browser_ponyfill = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4
- var __global__ = typeof globalThis !== "undefined" && globalThis || typeof self !== "undefined" && self || typeof global !== "undefined" && global;
5
- var __globalThis__ = (function() {
6
- function F() {
7
- this.fetch = false;
8
- this.DOMException = __global__.DOMException;
9
- }
10
- F.prototype = __global__;
11
- return new F();
12
- })();
13
- (function(globalThis) {
14
- (function(exports$1) {
15
- var global = typeof globalThis !== "undefined" && globalThis || typeof self !== "undefined" && self || typeof global !== "undefined" && global;
16
- var support = {
17
- searchParams: "URLSearchParams" in global,
18
- iterable: "Symbol" in global && "iterator" in Symbol,
19
- blob: "FileReader" in global && "Blob" in global && (function() {
20
- try {
21
- new Blob();
22
- return true;
23
- } catch (e) {
24
- return false;
25
- }
26
- })(),
27
- formData: "FormData" in global,
28
- arrayBuffer: "ArrayBuffer" in global
29
- };
30
- function isDataView(obj) {
31
- return obj && DataView.prototype.isPrototypeOf(obj);
32
- }
33
- if (support.arrayBuffer) {
34
- var viewClasses = [
35
- "[object Int8Array]",
36
- "[object Uint8Array]",
37
- "[object Uint8ClampedArray]",
38
- "[object Int16Array]",
39
- "[object Uint16Array]",
40
- "[object Int32Array]",
41
- "[object Uint32Array]",
42
- "[object Float32Array]",
43
- "[object Float64Array]"
44
- ];
45
- var isArrayBufferView = ArrayBuffer.isView || function(obj) {
46
- return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1;
47
- };
48
- }
49
- function normalizeName(name) {
50
- if (typeof name !== "string") name = String(name);
51
- if (/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(name) || name === "") throw new TypeError("Invalid character in header field name: \"" + name + "\"");
52
- return name.toLowerCase();
53
- }
54
- function normalizeValue(value) {
55
- if (typeof value !== "string") value = String(value);
56
- return value;
57
- }
58
- function iteratorFor(items) {
59
- var iterator = { next: function() {
60
- var value = items.shift();
61
- return {
62
- done: value === void 0,
63
- value
64
- };
65
- } };
66
- if (support.iterable) iterator[Symbol.iterator] = function() {
67
- return iterator;
68
- };
69
- return iterator;
70
- }
71
- function Headers(headers) {
72
- this.map = {};
73
- if (headers instanceof Headers) headers.forEach(function(value, name) {
74
- this.append(name, value);
75
- }, this);
76
- else if (Array.isArray(headers)) headers.forEach(function(header) {
77
- this.append(header[0], header[1]);
78
- }, this);
79
- else if (headers) Object.getOwnPropertyNames(headers).forEach(function(name) {
80
- this.append(name, headers[name]);
81
- }, this);
82
- }
83
- Headers.prototype.append = function(name, value) {
84
- name = normalizeName(name);
85
- value = normalizeValue(value);
86
- var oldValue = this.map[name];
87
- this.map[name] = oldValue ? oldValue + ", " + value : value;
88
- };
89
- Headers.prototype["delete"] = function(name) {
90
- delete this.map[normalizeName(name)];
91
- };
92
- Headers.prototype.get = function(name) {
93
- name = normalizeName(name);
94
- return this.has(name) ? this.map[name] : null;
95
- };
96
- Headers.prototype.has = function(name) {
97
- return this.map.hasOwnProperty(normalizeName(name));
98
- };
99
- Headers.prototype.set = function(name, value) {
100
- this.map[normalizeName(name)] = normalizeValue(value);
101
- };
102
- Headers.prototype.forEach = function(callback, thisArg) {
103
- for (var name in this.map) if (this.map.hasOwnProperty(name)) callback.call(thisArg, this.map[name], name, this);
104
- };
105
- Headers.prototype.keys = function() {
106
- var items = [];
107
- this.forEach(function(value, name) {
108
- items.push(name);
109
- });
110
- return iteratorFor(items);
111
- };
112
- Headers.prototype.values = function() {
113
- var items = [];
114
- this.forEach(function(value) {
115
- items.push(value);
116
- });
117
- return iteratorFor(items);
118
- };
119
- Headers.prototype.entries = function() {
120
- var items = [];
121
- this.forEach(function(value, name) {
122
- items.push([name, value]);
123
- });
124
- return iteratorFor(items);
125
- };
126
- if (support.iterable) Headers.prototype[Symbol.iterator] = Headers.prototype.entries;
127
- function consumed(body) {
128
- if (body.bodyUsed) return Promise.reject(/* @__PURE__ */ new TypeError("Already read"));
129
- body.bodyUsed = true;
130
- }
131
- function fileReaderReady(reader) {
132
- return new Promise(function(resolve, reject) {
133
- reader.onload = function() {
134
- resolve(reader.result);
135
- };
136
- reader.onerror = function() {
137
- reject(reader.error);
138
- };
139
- });
140
- }
141
- function readBlobAsArrayBuffer(blob) {
142
- var reader = new FileReader();
143
- var promise = fileReaderReady(reader);
144
- reader.readAsArrayBuffer(blob);
145
- return promise;
146
- }
147
- function readBlobAsText(blob) {
148
- var reader = new FileReader();
149
- var promise = fileReaderReady(reader);
150
- reader.readAsText(blob);
151
- return promise;
152
- }
153
- function readArrayBufferAsText(buf) {
154
- var view = new Uint8Array(buf);
155
- var chars = new Array(view.length);
156
- for (var i = 0; i < view.length; i++) chars[i] = String.fromCharCode(view[i]);
157
- return chars.join("");
158
- }
159
- function bufferClone(buf) {
160
- if (buf.slice) return buf.slice(0);
161
- else {
162
- var view = new Uint8Array(buf.byteLength);
163
- view.set(new Uint8Array(buf));
164
- return view.buffer;
165
- }
166
- }
167
- function Body() {
168
- this.bodyUsed = false;
169
- this._initBody = function(body) {
170
- this.bodyUsed = this.bodyUsed;
171
- this._bodyInit = body;
172
- if (!body) this._bodyText = "";
173
- else if (typeof body === "string") this._bodyText = body;
174
- else if (support.blob && Blob.prototype.isPrototypeOf(body)) this._bodyBlob = body;
175
- else if (support.formData && FormData.prototype.isPrototypeOf(body)) this._bodyFormData = body;
176
- else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) this._bodyText = body.toString();
177
- else if (support.arrayBuffer && support.blob && isDataView(body)) {
178
- this._bodyArrayBuffer = bufferClone(body.buffer);
179
- this._bodyInit = new Blob([this._bodyArrayBuffer]);
180
- } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) this._bodyArrayBuffer = bufferClone(body);
181
- else this._bodyText = body = Object.prototype.toString.call(body);
182
- if (!this.headers.get("content-type")) {
183
- if (typeof body === "string") this.headers.set("content-type", "text/plain;charset=UTF-8");
184
- else if (this._bodyBlob && this._bodyBlob.type) this.headers.set("content-type", this._bodyBlob.type);
185
- else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8");
186
- }
187
- };
188
- if (support.blob) {
189
- this.blob = function() {
190
- var rejected = consumed(this);
191
- if (rejected) return rejected;
192
- if (this._bodyBlob) return Promise.resolve(this._bodyBlob);
193
- else if (this._bodyArrayBuffer) return Promise.resolve(new Blob([this._bodyArrayBuffer]));
194
- else if (this._bodyFormData) throw new Error("could not read FormData body as blob");
195
- else return Promise.resolve(new Blob([this._bodyText]));
196
- };
197
- this.arrayBuffer = function() {
198
- if (this._bodyArrayBuffer) {
199
- var isConsumed = consumed(this);
200
- if (isConsumed) return isConsumed;
201
- if (ArrayBuffer.isView(this._bodyArrayBuffer)) return Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset, this._bodyArrayBuffer.byteOffset + this._bodyArrayBuffer.byteLength));
202
- else return Promise.resolve(this._bodyArrayBuffer);
203
- } else return this.blob().then(readBlobAsArrayBuffer);
204
- };
205
- }
206
- this.text = function() {
207
- var rejected = consumed(this);
208
- if (rejected) return rejected;
209
- if (this._bodyBlob) return readBlobAsText(this._bodyBlob);
210
- else if (this._bodyArrayBuffer) return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer));
211
- else if (this._bodyFormData) throw new Error("could not read FormData body as text");
212
- else return Promise.resolve(this._bodyText);
213
- };
214
- if (support.formData) this.formData = function() {
215
- return this.text().then(decode);
216
- };
217
- this.json = function() {
218
- return this.text().then(JSON.parse);
219
- };
220
- return this;
221
- }
222
- var methods = [
223
- "DELETE",
224
- "GET",
225
- "HEAD",
226
- "OPTIONS",
227
- "POST",
228
- "PUT"
229
- ];
230
- function normalizeMethod(method) {
231
- var upcased = method.toUpperCase();
232
- return methods.indexOf(upcased) > -1 ? upcased : method;
233
- }
234
- function Request(input, options) {
235
- if (!(this instanceof Request)) throw new TypeError("Please use the \"new\" operator, this DOM object constructor cannot be called as a function.");
236
- options = options || {};
237
- var body = options.body;
238
- if (input instanceof Request) {
239
- if (input.bodyUsed) throw new TypeError("Already read");
240
- this.url = input.url;
241
- this.credentials = input.credentials;
242
- if (!options.headers) this.headers = new Headers(input.headers);
243
- this.method = input.method;
244
- this.mode = input.mode;
245
- this.signal = input.signal;
246
- if (!body && input._bodyInit != null) {
247
- body = input._bodyInit;
248
- input.bodyUsed = true;
249
- }
250
- } else this.url = String(input);
251
- this.credentials = options.credentials || this.credentials || "same-origin";
252
- if (options.headers || !this.headers) this.headers = new Headers(options.headers);
253
- this.method = normalizeMethod(options.method || this.method || "GET");
254
- this.mode = options.mode || this.mode || null;
255
- this.signal = options.signal || this.signal;
256
- this.referrer = null;
257
- if ((this.method === "GET" || this.method === "HEAD") && body) throw new TypeError("Body not allowed for GET or HEAD requests");
258
- this._initBody(body);
259
- if (this.method === "GET" || this.method === "HEAD") {
260
- if (options.cache === "no-store" || options.cache === "no-cache") {
261
- var reParamSearch = /([?&])_=[^&]*/;
262
- if (reParamSearch.test(this.url)) this.url = this.url.replace(reParamSearch, "$1_=" + (/* @__PURE__ */ new Date()).getTime());
263
- else this.url += (/\?/.test(this.url) ? "&" : "?") + "_=" + (/* @__PURE__ */ new Date()).getTime();
264
- }
265
- }
266
- }
267
- Request.prototype.clone = function() {
268
- return new Request(this, { body: this._bodyInit });
269
- };
270
- function decode(body) {
271
- var form = new FormData();
272
- body.trim().split("&").forEach(function(bytes) {
273
- if (bytes) {
274
- var split = bytes.split("=");
275
- var name = split.shift().replace(/\+/g, " ");
276
- var value = split.join("=").replace(/\+/g, " ");
277
- form.append(decodeURIComponent(name), decodeURIComponent(value));
278
- }
279
- });
280
- return form;
281
- }
282
- function parseHeaders(rawHeaders) {
283
- var headers = new Headers();
284
- rawHeaders.replace(/\r?\n[\t ]+/g, " ").split("\r").map(function(header) {
285
- return header.indexOf("\n") === 0 ? header.substr(1, header.length) : header;
286
- }).forEach(function(line) {
287
- var parts = line.split(":");
288
- var key = parts.shift().trim();
289
- if (key) {
290
- var value = parts.join(":").trim();
291
- headers.append(key, value);
292
- }
293
- });
294
- return headers;
295
- }
296
- Body.call(Request.prototype);
297
- function Response(bodyInit, options) {
298
- if (!(this instanceof Response)) throw new TypeError("Please use the \"new\" operator, this DOM object constructor cannot be called as a function.");
299
- if (!options) options = {};
300
- this.type = "default";
301
- this.status = options.status === void 0 ? 200 : options.status;
302
- this.ok = this.status >= 200 && this.status < 300;
303
- this.statusText = options.statusText === void 0 ? "" : "" + options.statusText;
304
- this.headers = new Headers(options.headers);
305
- this.url = options.url || "";
306
- this._initBody(bodyInit);
307
- }
308
- Body.call(Response.prototype);
309
- Response.prototype.clone = function() {
310
- return new Response(this._bodyInit, {
311
- status: this.status,
312
- statusText: this.statusText,
313
- headers: new Headers(this.headers),
314
- url: this.url
315
- });
316
- };
317
- Response.error = function() {
318
- var response = new Response(null, {
319
- status: 0,
320
- statusText: ""
321
- });
322
- response.type = "error";
323
- return response;
324
- };
325
- var redirectStatuses = [
326
- 301,
327
- 302,
328
- 303,
329
- 307,
330
- 308
331
- ];
332
- Response.redirect = function(url, status) {
333
- if (redirectStatuses.indexOf(status) === -1) throw new RangeError("Invalid status code");
334
- return new Response(null, {
335
- status,
336
- headers: { location: url }
337
- });
338
- };
339
- exports$1.DOMException = global.DOMException;
340
- try {
341
- new exports$1.DOMException();
342
- } catch (err) {
343
- exports$1.DOMException = function(message, name) {
344
- this.message = message;
345
- this.name = name;
346
- this.stack = Error(message).stack;
347
- };
348
- exports$1.DOMException.prototype = Object.create(Error.prototype);
349
- exports$1.DOMException.prototype.constructor = exports$1.DOMException;
350
- }
351
- function fetch(input, init) {
352
- return new Promise(function(resolve, reject) {
353
- var request = new Request(input, init);
354
- if (request.signal && request.signal.aborted) return reject(new exports$1.DOMException("Aborted", "AbortError"));
355
- var xhr = new XMLHttpRequest();
356
- function abortXhr() {
357
- xhr.abort();
358
- }
359
- xhr.onload = function() {
360
- var options = {
361
- status: xhr.status,
362
- statusText: xhr.statusText,
363
- headers: parseHeaders(xhr.getAllResponseHeaders() || "")
364
- };
365
- options.url = "responseURL" in xhr ? xhr.responseURL : options.headers.get("X-Request-URL");
366
- var body = "response" in xhr ? xhr.response : xhr.responseText;
367
- setTimeout(function() {
368
- resolve(new Response(body, options));
369
- }, 0);
370
- };
371
- xhr.onerror = function() {
372
- setTimeout(function() {
373
- reject(/* @__PURE__ */ new TypeError("Network request failed"));
374
- }, 0);
375
- };
376
- xhr.ontimeout = function() {
377
- setTimeout(function() {
378
- reject(/* @__PURE__ */ new TypeError("Network request failed"));
379
- }, 0);
380
- };
381
- xhr.onabort = function() {
382
- setTimeout(function() {
383
- reject(new exports$1.DOMException("Aborted", "AbortError"));
384
- }, 0);
385
- };
386
- function fixUrl(url) {
387
- try {
388
- return url === "" && global.location.href ? global.location.href : url;
389
- } catch (e) {
390
- return url;
391
- }
392
- }
393
- xhr.open(request.method, fixUrl(request.url), true);
394
- if (request.credentials === "include") xhr.withCredentials = true;
395
- else if (request.credentials === "omit") xhr.withCredentials = false;
396
- if ("responseType" in xhr) {
397
- if (support.blob) xhr.responseType = "blob";
398
- else if (support.arrayBuffer && request.headers.get("Content-Type") && request.headers.get("Content-Type").indexOf("application/octet-stream") !== -1) xhr.responseType = "arraybuffer";
399
- }
400
- if (init && typeof init.headers === "object" && !(init.headers instanceof Headers)) Object.getOwnPropertyNames(init.headers).forEach(function(name) {
401
- xhr.setRequestHeader(name, normalizeValue(init.headers[name]));
402
- });
403
- else request.headers.forEach(function(value, name) {
404
- xhr.setRequestHeader(name, value);
405
- });
406
- if (request.signal) {
407
- request.signal.addEventListener("abort", abortXhr);
408
- xhr.onreadystatechange = function() {
409
- if (xhr.readyState === 4) request.signal.removeEventListener("abort", abortXhr);
410
- };
411
- }
412
- xhr.send(typeof request._bodyInit === "undefined" ? null : request._bodyInit);
413
- });
414
- }
415
- fetch.polyfill = true;
416
- if (!global.fetch) {
417
- global.fetch = fetch;
418
- global.Headers = Headers;
419
- global.Request = Request;
420
- global.Response = Response;
421
- }
422
- exports$1.Headers = Headers;
423
- exports$1.Request = Request;
424
- exports$1.Response = Response;
425
- exports$1.fetch = fetch;
426
- return exports$1;
427
- })({});
428
- })(__globalThis__);
429
- __globalThis__.fetch.ponyfill = true;
430
- delete __globalThis__.fetch.polyfill;
431
- var ctx = __global__.fetch ? __global__ : __globalThis__;
432
- exports = ctx.fetch;
433
- exports.default = ctx.fetch;
434
- exports.fetch = ctx.fetch;
435
- exports.Headers = ctx.Headers;
436
- exports.Request = ctx.Request;
437
- exports.Response = ctx.Response;
438
- module.exports = exports;
439
- }));
440
- //#endregion
441
- export default require_browser_ponyfill();
@@ -1,2 +0,0 @@
1
- import "./cameraView-CLlWARBI.js";
2
- import "./cameraOverlayHeader-Bp7NCrl9.js";
@@ -1,45 +0,0 @@
1
- import { o as useTranslation } from "./uiConfig-BA7U_zLr.js";
2
- import { v as u } from "./vendor-preact-C0jX1Cbq.js";
3
- import { x as Button } from "./icons-OQDvn5r2.js";
4
- import { t as StatusPage } from "./statusPage-3zRxvkSE.js";
5
- //#region src/shared/connectionError/NoNetworkIcon.tsx
6
- var NoNetworkIcon = ({ size = 32 }) => /* @__PURE__ */ u("svg", {
7
- width: size,
8
- height: size,
9
- viewBox: "0 0 32 32",
10
- fill: "none",
11
- "aria-hidden": "true",
12
- xmlns: "http://www.w3.org/2000/svg",
13
- children: /* @__PURE__ */ u("path", {
14
- d: "M5.769 4.741a1.333 1.333 0 0 1 1.882.09l12.734 14.006q.168.124.332.258c.178.148.309.333.388.535l5.165 5.681a1.333 1.333 0 0 1-1.973 1.793l-5.686-6.253a4.59 4.59 0 0 0-5.69.514 1.334 1.334 0 0 1-1.842-1.929 7.26 7.26 0 0 1 4.441-1.986l-2.327-2.56a10.15 10.15 0 0 0-4.315 2.507 1.334 1.334 0 0 1-1.865-1.906 12.8 12.8 0 0 1 4.227-2.749l-2.07-2.277a15.6 15.6 0 0 0-4.232 2.982 1.333 1.333 0 0 1-1.877-1.895 18.3 18.3 0 0 1 4.25-3.133L5.678 6.624a1.333 1.333 0 0 1 .09-1.883Zm10.23 17.925a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm1.485-9.462c.177-.715.9-1.15 1.615-.974a12.7 12.7 0 0 1 5.838 3.264 1.333 1.333 0 0 1-1.869 1.902 10 10 0 0 0-4.61-2.578 1.334 1.334 0 0 1-.974-1.614Zm-1.51-6.947a18.28 18.28 0 0 1 12.913 5.296 1.334 1.334 0 1 1-1.877 1.893 15.6 15.6 0 0 0-11.033-4.524h-.004q-1.126-.001-2.239.16a1.334 1.334 0 0 1-.384-2.638 18 18 0 0 1 2.62-.187v-.001zh.002z",
15
- fill: "var(--icon-status-negative)"
16
- })
17
- });
18
- //#endregion
19
- //#region src/shared/connectionError/connectionError.tsx
20
- /**
21
- * Full-screen "no internet connection" state, shown whenever a backend request
22
- * fails due to lost connectivity. Flow-agnostic and cross-cutting — any module
23
- * can render it on a connectivity failure — so it lives in `shared/` rather
24
- * than inside a single module. Composes the shared `StatusPage` primitive
25
- * (icon + title + subtitle + actions) so it stays visually consistent with the
26
- * rest of the status/result screens. Copy defaults to the shared
27
- * `connectionError.*` namespace and can be overridden per caller.
28
- */
29
- var ConnectionError = ({ onRefresh, title, subtitle, refreshLabel }) => {
30
- const { t } = useTranslation();
31
- return /* @__PURE__ */ u(StatusPage, {
32
- variant: "connectionError",
33
- hideFooterBranding: true,
34
- icon: /* @__PURE__ */ u(NoNetworkIcon, { size: 32 }),
35
- title: title ?? t("connectionError.title"),
36
- subtitle: subtitle ?? t("connectionError.subtitle"),
37
- actions: /* @__PURE__ */ u(Button, {
38
- onClick: onRefresh,
39
- "data-testid": "connection-error-refresh",
40
- children: refreshLabel ?? t("connectionError.refresh")
41
- })
42
- });
43
- };
44
- //#endregion
45
- export { ConnectionError as t };
@@ -1 +0,0 @@
1
- import "./dateInputComposed-DXCc1HRe.js";
@@ -1,66 +0,0 @@
1
- import { o as useTranslation } from "./uiConfig-BA7U_zLr.js";
2
- import { v as u } from "./vendor-preact-C0jX1Cbq.js";
3
- import { t as TransitionSpinner } from "./transitionSpinner-Bkjw-WAJ.js";
4
- import { t as VerificationResult } from "./verificationResult-BVrKFRMf.js";
5
- //#region src/modules/id/deviceWallet/errorScreen.tsx
6
- /**
7
- * Failure screen for the device-wallet (mDL) handshake. Renders the shared
8
- * `VerificationResult` (same look as the digital-ID redirect failure screen)
9
- * with per-reason copy. Keys are static literals so i18nexus can extract them
10
- * (author EN + supported locales in i18nexus); the subtitle keys match the
11
- * core `DEVICE_WALLET_ERROR_KEYS` map, kept local here — like
12
- * `digitalIdRedirect/failureScreen.tsx` — to avoid a runtime value import
13
- * from `@incodetech/core`. Failure is non-blocking: retry restarts the
14
- * handshake, or fall back to the ID-Capture chooser.
15
- */
16
- var COPY_KEYS = {
17
- UNSUPPORTED_PLATFORM: {
18
- title: "idv2.deviceWallet.unsupportedPlatformTitle",
19
- subtitle: "idv2.deviceWallet.unsupportedPlatformDescription"
20
- },
21
- NO_CREDENTIAL: {
22
- title: "idv2.deviceWallet.noCredentialTitle",
23
- subtitle: "idv2.deviceWallet.noCredentialDescription"
24
- },
25
- WALLET_ERROR: {
26
- title: "idv2.deviceWallet.errorTitle",
27
- subtitle: "idv2.deviceWallet.errorDescription"
28
- }
29
- };
30
- var GENERIC_KEYS = {
31
- title: "idv2.deviceWallet.errorTitle",
32
- subtitle: "idv2.deviceWallet.errorDescription"
33
- };
34
- var ErrorScreen = ({ failReason, onRetry, onUseAnotherMethod }) => {
35
- const { t } = useTranslation();
36
- const { title, subtitle } = failReason ? COPY_KEYS[failReason] : GENERIC_KEYS;
37
- const canRetry = failReason !== "UNSUPPORTED_PLATFORM";
38
- return /* @__PURE__ */ u(VerificationResult, {
39
- status: "failure",
40
- failureTitle: t(title),
41
- errorMessage: t(subtitle),
42
- onRetry: canRetry ? onRetry : void 0,
43
- retryLabel: t("common.tryAgain"),
44
- onSkip: onUseAnotherMethod,
45
- skipLabel: t("idv2.deviceWallet.useAnotherMethodButton")
46
- });
47
- };
48
- //#endregion
49
- //#region src/modules/id/deviceWallet/deviceWallet.tsx
50
- /**
51
- * Device-wallet (mDL) handshake rendered INSIDE ID-Capture as a child machine
52
- * — mirrors `digitalIdRedirect/digitalIdRedirect.tsx`. The core child owns
53
- * request → wallet sheet → decrypt; this layer only renders the phase. During
54
- * `presenting` the OS wallet sheet covers the page, so a spinner is all the
55
- * page itself needs.
56
- */
57
- var DeviceWallet = ({ manager, state }) => {
58
- if (state.phase === "failed") return /* @__PURE__ */ u(ErrorScreen, {
59
- failReason: state.failReason,
60
- onRetry: () => manager.deviceWalletRetry(),
61
- onUseAnotherMethod: () => manager.deviceWalletUseAnotherMethod()
62
- });
63
- return /* @__PURE__ */ u(TransitionSpinner, { hideText: true });
64
- };
65
- //#endregion
66
- export { DeviceWallet };
@@ -1,2 +0,0 @@
1
- import { t as DocumentCapture } from "./documentCapture-CgpHXm_8.js";
2
- export { DocumentCapture };
@@ -1 +0,0 @@
1
- import "./dropdownComposed-qb9GgX5X.js";
@@ -1,2 +0,0 @@
1
- import { t as EkybModule } from "./ekybModule-BgZIkVVl.js";
2
- export { EkybModule };
@@ -1,2 +0,0 @@
1
- import { t as EkycModule } from "./ekycModule-DEVrRrnH.js";
2
- export { EkycModule };