@incodetech/web 2.4.1-agentic → 2.4.1-agentic.10

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 (352) hide show
  1. package/THIRD_PARTY_NOTICES.txt +1 -4
  2. package/dist/{GeolocationPermissionDenied-CUt-uebQ.js → GeolocationPermissionDenied-Dag9fchQ.js} +23 -8
  3. package/dist/Password-4ht2vsqv.js +212 -0
  4. package/dist/RadioGroup-Cf6xDIm5.js +123 -0
  5. package/dist/RequiredLegend-DwaAzhid.js +16 -0
  6. package/dist/RequiredMarker-CGQR8lsb.js +16 -0
  7. package/dist/TextField-o3qwE7KD.js +166 -0
  8. package/dist/ae-signature/ae-signature.es.js +4 -4
  9. package/dist/{af-ZA-BWKMRc6V.js → af-ZA-CdJRBJEg.js} +107 -881
  10. package/dist/{ageVerification-CMIp0I--.js → ageVerification-u2zo-WUl.js} +10 -8
  11. package/dist/{am-DPyjIvQV.js → am-Df9uoE6e.js} +107 -881
  12. package/dist/antifraud/antifraud.es.js +5 -4
  13. package/dist/{applyStudioConfig-DxtP9221.js → applyStudioConfig-Deh55YNW.js} +2 -2
  14. package/dist/{ar-AE-CxCvbyoW.js → ar-AE-CAoWsgnA.js} +107 -881
  15. package/dist/{ar-EG-B1hHB55j.js → ar-EG-CXi0p-DV.js} +107 -881
  16. package/dist/{ar-10SoqF1i.js → ar-hyEIwsq9.js} +108 -882
  17. package/dist/assertClassBrand-CuHX5JcR.js +17 -0
  18. package/dist/authentication/authentication.es.js +7 -5
  19. package/dist/autoFocusTitle-CNeT8ydU.js +19 -0
  20. package/dist/{az-cmuBNn_5.js → az-CUehzrK3.js} +107 -881
  21. package/dist/{back-horizontal-hint-Dl2C4J4u.js → back-horizontal-hint-D5xvRtEe.js} +1 -1
  22. package/dist/{back-vertical-hint-CM4_HjWk.js → back-vertical-hint-DoKJSQhY.js} +1 -1
  23. package/dist/base.css +1 -1
  24. package/dist/{baseTutorial-BGU2Gcly.js → baseTutorial-xDkp34JC.js} +9 -7
  25. package/dist/{bn-CuGYlngZ.js → bn-DStUscj0.js} +107 -881
  26. package/dist/{bottomSheet-x20yd6eP.js → bottomSheet-COrgITc6.js} +3 -3
  27. package/dist/{bs-vwpJzaHm.js → bs-Lq1FPKJj.js} +107 -881
  28. package/dist/{ca-DXZs5vtr.js → ca-K83Ys4Fe.js} +107 -881
  29. package/dist/cameraOverlay-Bciqav_0.js +2 -0
  30. package/dist/{cameraOverlayHeader-BxutAKy-.js → cameraOverlayHeader-C7Pi5eIm.js} +9 -8
  31. package/dist/{cameraView-DVzaEGW8.js → cameraView-B7l40Opf.js} +3 -3
  32. package/dist/capture-D7HVD1ht.js +754 -0
  33. package/dist/capture-Do7z-u0d.js +3 -0
  34. package/dist/{tutorial-BKPHj5To.js → capture-I1enj-0M.js} +28 -68
  35. package/dist/capture-WaSNv1Wn.js +2 -0
  36. package/dist/captureButtonIcon-DVbAZ8TK.js +1 -0
  37. package/dist/captureFocusContext-CNtkY3Lk.js +718 -0
  38. package/dist/captureFooter-CucCxqz-.js +47 -0
  39. package/dist/{ceb-CmhS_VOs.js → ceb-NR8sWgTh.js} +107 -881
  40. package/dist/certificate-issuance/certificate-issuance.es.js +68 -41
  41. package/dist/certificate-issuance/styles.css +1 -1
  42. package/dist/certificate-issuance/styles.css.js +1 -1
  43. package/dist/{checkbox-BC26Qbxh.js → checkbox-C5k2pepr.js} +4 -4
  44. package/dist/chooser-CNm0MKQl.js +1517 -0
  45. package/dist/connectionError-Bs3TO2RP.js +100 -0
  46. package/dist/consent/consent.es.js +16 -12
  47. package/dist/{countryFlag-DXSVHiby.js → countryFlag-CZUyZ06G.js} +1 -1
  48. package/dist/{countrySelector-0PDDFsZF.js → countrySelector-CPgaMT7n.js} +4 -4
  49. package/dist/cross-document-data-match/cross-document-data-match.es.js +5 -4
  50. package/dist/{cs-CZ-Dg5O-Vom.js → cs-CZ-KpSXcWZT.js} +107 -881
  51. package/dist/{cs-CoJlE7De.js → cs-UYoUjOrG.js} +107 -881
  52. package/dist/curp-validation/curp-validation.es.js +97 -96
  53. package/dist/curp-validation/styles.css +1 -1
  54. package/dist/curp-validation/styles.css.js +1 -1
  55. package/dist/{customFields-COYGTuuK.js → customFields-BcubL9au.js} +33 -19
  56. package/dist/{customWatchlist-B0wY6Rwb.js → customWatchlist-D4RK0ow6.js} +11 -8
  57. package/dist/{da-DK-C_JAndM-.js → da-DK-Bds8n-Rj.js} +107 -881
  58. package/dist/dashboardTheme-DQaxmEq3.js +383 -0
  59. package/dist/dateInputComposed-BrpUtswb.js +1 -0
  60. package/dist/{dateInputComposed-QkmLGLHg.js → dateInputComposed-BzCDzTM3.js} +4 -5
  61. package/dist/{de-11hHLedu.js → de-CZlvE1Xz.js} +107 -881
  62. package/dist/denied-BeVKpBem.js +272 -0
  63. package/dist/devWarn-B4kGEiva.js +1056 -0
  64. package/dist/{deviceWallet-BeTpokSL.js → deviceWallet-7b1VpcGm.js} +4 -4
  65. package/dist/{digitalIdRedirect-BnljwZV3.js → digitalIdRedirect-CG9jzrQh.js} +4 -4
  66. package/dist/{digitalIdUpload-DNhqqMHT.js → digitalIdUpload-BUJcgYY5.js} +37 -15
  67. package/dist/document-capture/document-capture.es.js +1 -1
  68. package/dist/document-capture/styles.css +1 -1
  69. package/dist/document-capture/styles.css.js +1 -1
  70. package/dist/documentCapture-BdEStEoH.js +2 -0
  71. package/dist/{documentCapture-uAKPK1U-.js → documentCapture-JcxukEgT.js} +113 -59
  72. package/dist/dropdownComposed-C36c9ZOm.js +1 -0
  73. package/dist/{dropdownComposed-D_RQd0Z9.js → dropdownComposed-yNmLuHxU.js} +8 -6
  74. package/dist/dynamic-forms/dynamic-forms.es.js +62 -35
  75. package/dist/ekyb/ekyb.es.js +1 -1
  76. package/dist/{ekybModule-Bsqag_MS.js → ekybModule-Cp-7fs23.js} +109 -89
  77. package/dist/ekybModule-ccZRVb7E.js +2 -0
  78. package/dist/ekyc/ekyc.es.js +1 -1
  79. package/dist/ekyc-prefill/ekyc-prefill.es.js +2 -0
  80. package/dist/ekyc-prefill/styles.css +2 -0
  81. package/dist/ekyc-prefill/styles.css.js +1 -0
  82. package/dist/ekycModule-CcZTIgGK.js +2 -0
  83. package/dist/ekycModule-DKUZp3Ww.js +358 -0
  84. package/dist/ekycPrefillModule-Bou_Ig42.js +2 -0
  85. package/dist/ekycPrefillModule-DJoeviHP.js +233 -0
  86. package/dist/{el-CRGmVrep.js → el-C6tFl9i9.js} +107 -881
  87. package/dist/{el-GR-CjtJiRTo.js → el-GR-BLkQ_dbO.js} +107 -881
  88. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  89. package/dist/{electronic-signature-Cm2BEiQu.js → electronic-signature-D-4uTJdE.js} +55 -36
  90. package/dist/email/email.es.js +21 -16
  91. package/dist/{emailInput-JmK2JIFS.js → emailInput-C5VHG66O.js} +23 -12
  92. package/dist/{en-DG-Cruu6Woh.js → en-DG-BEuiDKtl.js} +107 -881
  93. package/dist/{en-CSjoG3e4.js → en-DNBypQuu.js} +107 -881
  94. package/dist/{errorContent-zY4jb6uY.js → errorContent-BC8mDFld.js} +21 -20
  95. package/dist/{formField-C3MNhFKI.js → errorParams-W7NX72mI.js} +2 -33
  96. package/dist/es-419-BCIRYhZK.js +5 -0
  97. package/dist/{es-C_LAY-Yu.js → es-DjQEM4f9.js} +108 -882
  98. package/dist/{es-ES-D7O0P5Mg.js → es-ES-Q6nMptUM.js} +107 -881
  99. package/dist/{es-MX-DVzFaANh.js → es-MX-Df5g3bAX.js} +107 -881
  100. package/dist/{et-DdSwjU5d.js → et-BYRhgB8X.js} +108 -882
  101. package/dist/expiredId-BVa13c9u.js +67 -0
  102. package/dist/extensibility.es.js +368 -42
  103. package/dist/{fa-IR-CdK8XLkS.js → fa-IR-DP-FPc-r.js} +107 -881
  104. package/dist/face-match/face-match.es.js +1 -1
  105. package/dist/face-match/styles.css +1 -1
  106. package/dist/face-match/styles.css.js +1 -1
  107. package/dist/faceMatch-B2n0FPIm.js +2 -0
  108. package/dist/{faceMatch-B0IzR9_u.js → faceMatch-C5QmR3Vt.js} +44 -53
  109. package/dist/{fi-FI-CYlEPu44.js → fi-FI-rnIjEC7X.js} +107 -881
  110. package/dist/field-comparison/field-comparison.es.js +1 -1
  111. package/dist/fieldComparison-CDGiqzsu.js +126 -0
  112. package/dist/fieldComparison-D-LmR1LR.js +2 -0
  113. package/dist/{fieldLabelHint-gdoE5nLQ.js → fieldLabelHint-eF42wLDJ.js} +3 -3
  114. package/dist/{finalSuccessScreen-BM9oeJDH.js → finalSuccessScreen-vOR061dK.js} +31 -22
  115. package/dist/fiscal-qr/fiscal-qr.es.js +25 -22
  116. package/dist/flipAnimation-CGP9Fu9J.js +46 -0
  117. package/dist/flipCapturedCardEligibility-C8wQ0_No.js +210 -0
  118. package/dist/flow/flow.es.js +216 -191
  119. package/dist/flow/shell/styles.css +1 -1
  120. package/dist/flow/shell/styles.css.js +1 -1
  121. package/dist/flow/styles.css +1 -1
  122. package/dist/formField-DrSwXufE.js +49 -0
  123. package/dist/{fr-CA-DD_s9NuV.js → fr-CA-vPsubqTC.js} +107 -881
  124. package/dist/{fr-C4cP8ZNE.js → fr-P8YbBMxT.js} +107 -881
  125. package/dist/{front-horizontal-hint-Dol0Lpc6.js → front-horizontal-hint-CDHj9LQF.js} +1 -1
  126. package/dist/{front-vertical-hint-CAhAzw92.js → front-vertical-hint-B_pU27Iv.js} +1 -1
  127. package/dist/geolocation/geolocation.es.js +15 -10
  128. package/dist/government-validation/government-validation.es.js +7 -6
  129. package/dist/{he-D3fvMZAl.js → he-DfptjOXC.js} +107 -881
  130. package/dist/{hi-DLf6_opn.js → hi-C7tSzMcB.js} +107 -881
  131. package/dist/{hmn-DzoODzbN.js → hmn-jKsUYgaq.js} +107 -881
  132. package/dist/{homeScreen-D1Xd93In.js → homeScreen-C1b8yg4y.js} +21 -14
  133. package/dist/{incodeComponent-C1Bz5Qou.js → hooks-COiwxC3h.js} +39 -325
  134. package/dist/{hr-C-jP0DrB.js → hr-ehtrddz3.js} +107 -881
  135. package/dist/{ht-CVt9koJf.js → ht-CA5NNkri.js} +107 -881
  136. package/dist/{hu-9fSzIeAd.js → hu-DYgOdNXH.js} +107 -881
  137. package/dist/{icons-BdiCuWFP.js → icons-CLoob8B-.js} +129 -56
  138. package/dist/id/id.es.js +166 -197
  139. package/dist/id/styles.css +1 -1
  140. package/dist/id/styles.css.js +1 -1
  141. package/dist/{id-Dgi5uGHK.js → id-CMBxWcTV.js} +107 -881
  142. package/dist/{id-back-of-card-CHFxXTEq.js → id-back-of-card-BEAthtU0.js} +1 -1
  143. package/dist/{id-back-of-card-vertical-CUBdKGbw.js → id-back-of-card-vertical-Ce0d7tp5.js} +1 -1
  144. package/dist/{id-front-of-card-DplNJr13.js → id-front-of-card-DS0lS9jP.js} +1 -1
  145. package/dist/{id-front-of-card-vertical-D1duHEsV.js → id-front-of-card-vertical-BLWn85NX.js} +1 -1
  146. package/dist/id-selfie-flow/id-selfie-flow.es.js +13 -11
  147. package/dist/id-selfie-flow/styles.css +1 -1
  148. package/dist/id-verification/id-verification.es.js +6 -5
  149. package/dist/idFlipTransition-3z8Lqcab.js +154 -0
  150. package/dist/{idOcr-sknZwQNF.js → idOcr-qPEZSG5D.js} +64 -37
  151. package/dist/identity-reuse/identity-reuse.es.js +36 -24
  152. package/dist/incodeComponent-CxWTvgqz.js +235 -0
  153. package/dist/{incodeModule-DJToJb00.js → incodeModule-BQVPjhJE.js} +5 -5
  154. package/dist/index.es.js +3 -3
  155. package/dist/{inputComposed-BuE0iZlw.js → inputComposed-oWeKvdES.js} +4 -4
  156. package/dist/{it-CEFstYFG.js → it-DNcyH3GL.js} +107 -881
  157. package/dist/{ja-BNdVd9B6.js → ja-BkVsn7yw.js} +107 -881
  158. package/dist/{ja-JP-B5TPMV1q.js → ja-JP-BI4iShf-.js} +108 -882
  159. package/dist/{jv-CMxkkXUk.js → jv-Bpp0lYl-.js} +107 -881
  160. package/dist/{ka-C70bUmEK.js → ka-__y8BNrb.js} +107 -881
  161. package/dist/{kk-C_55EmWt.js → kk-C8RZv7Y9.js} +107 -881
  162. package/dist/{km-D4Ig0NhN.js → km-CdNpEVlv.js} +114 -888
  163. package/dist/{ko-DfUa3dzQ.js → ko-Db8jh_Pq.js} +107 -881
  164. package/dist/{ko-KP-BwBB8ahu.js → ko-KP-Cn4RuF_b.js} +107 -881
  165. package/dist/{ky-CnJichOm.js → ky-DljlRCIf.js} +107 -881
  166. package/dist/kyb-checks/kyb-checks.es.js +2 -0
  167. package/dist/kyb-checks/styles.css +2 -0
  168. package/dist/kyb-checks/styles.css.js +1 -0
  169. package/dist/kybChecksModule-B2nSWMuy.js +2 -0
  170. package/dist/kybChecksModule-DGXAS1Sc.js +345 -0
  171. package/dist/{lo-ww1DXVAP.js → lo-DXJI47k7.js} +107 -881
  172. package/dist/{lt-IJ8qpluI.js → lt-CUHwdgrq.js} +107 -881
  173. package/dist/{lv-DMfsmqyK.js → lv-BFrYWmGH.js} +107 -881
  174. package/dist/{mandatoryConsent-Bp8sQoiu.js → mandatoryConsent-Dc0PQou0.js} +20 -14
  175. package/dist/{manualCaptureButton-Cd-FY05-.js → manualCaptureButton-DIlebb4i.js} +8 -7
  176. package/dist/{manualCaptureButton-BXOTp2PS.js → manualCaptureButton-t0b_hCKH.js} +15 -12
  177. package/dist/{mk-ByafmFak.js → mk-BRpnPevj.js} +107 -881
  178. package/dist/{mn-DjO9p3xN.js → mn-tly7Lz7o.js} +107 -881
  179. package/dist/{ms-3Vf1QpHl.js → ms-DFpRACK3.js} +107 -881
  180. package/dist/{my-C5hpE5P1.js → my-G2jJl4tA.js} +107 -881
  181. package/dist/{nb-NO-DGCWCOul.js → nb-NO-CaDPgzxb.js} +107 -881
  182. package/dist/{ne-CpJxcVhV.js → ne-BaCq8Imv.js} +107 -881
  183. package/dist/{nl-R2RykJHB.js → nl-BK-jT4yQ.js} +107 -881
  184. package/dist/{optionAccessibleLabel-BQl8HooZ.js → optionAccessibleLabel-CDKKh7c3.js} +25 -10
  185. package/dist/otpInput-B4mH5be-.js +245 -0
  186. package/dist/{page-utEpSa9Z.js → page-5CklyQnq.js} +86 -44
  187. package/dist/{pageUiConfig-rOL18JSI.js → pageUiConfig-DZQHreIo.js} +67 -25
  188. package/dist/{passport-horizontal-hint-BfTXA2LB.js → passport-horizontal-hint-JdWoLKa5.js} +1 -1
  189. package/dist/{passport-vertical-hint-C7dzd2ks.js → passport-vertical-hint-BgtJXbvC.js} +1 -1
  190. package/dist/passwordRequirements-bbbHZACR.js +49 -0
  191. package/dist/{pdf-BnPw8ZaT.js → pdf-CLcY9ugT.js} +2 -17
  192. package/dist/pdfViewer-2NTW2bZn.js +2 -0
  193. package/dist/{pdfViewer-DNMZsDFD.js → pdfViewer-D4xu2J13.js} +11 -14
  194. package/dist/permissionInstructionList-Dmy2y4cX.js +43 -0
  195. package/dist/{permissions-CCEc9lKM.js → permissions-BPh2QNoI.js} +84 -53
  196. package/dist/phone/phone.es.js +16 -12
  197. package/dist/{phoneInputComposed-ByiK_6Hu.js → phoneInputComposed-Dzt9xdrF.js} +6 -6
  198. package/dist/{pl-B1LgnPj1.js → pl-CoWZGdbr.js} +107 -881
  199. package/dist/preloadableLazy-2hqV2Q8z.js +43 -0
  200. package/dist/{processing-Ci_Kl-Rh.js → processing-DStiN9XK.js} +2 -2
  201. package/dist/{progressBar-Caj-Vu1e.js → progressBar-CJqJXzAh.js} +2 -2
  202. package/dist/{pt-CPVeH0hD.js → pt-BDByRgpr.js} +107 -881
  203. package/dist/{pt-BR-DSJDHb-K.js → pt-BR-BRMyrqIN.js} +107 -881
  204. package/dist/{pt-PT-BWJTVPZY.js → pt-PT-CfwlYo6V.js} +107 -881
  205. package/dist/qe-signature/qe-signature.es.js +4 -4
  206. package/dist/redirect-to-mobile/redirect-to-mobile.es.js +34 -33
  207. package/dist/redirect-to-mobile/styles.css +1 -1
  208. package/dist/redirect-to-mobile/styles.css.js +1 -1
  209. package/dist/{registerIncodeElement-Dtw9dM3O.js → registerIncodeElement-B5W7SqS3.js} +1 -1
  210. package/dist/{resendTimer-ODOCcKyh.js → resendTimer-COMRdeDC.js} +2 -2
  211. package/dist/richText-BMvr5dhl.js +1761 -0
  212. package/dist/{ro-8gGEWeHO.js → ro-ju058j4P.js} +107 -881
  213. package/dist/{ru-C4EVku5S.js → ru-DYwhf4Hw.js} +107 -881
  214. package/dist/{ru-RU-Dr0NOGjg.js → ru-RU-BAvJW-vp.js} +107 -881
  215. package/dist/{sanitizeSvg-ilJ8VQmH.js → sanitizeSvg-BZoCoRr0.js} +1 -1
  216. package/dist/selfie/selfie.es.js +30 -14
  217. package/dist/selfie/styles.css +1 -1
  218. package/dist/selfie/styles.css.js +1 -1
  219. package/dist/signature/signature.es.js +18 -13
  220. package/dist/{sk-BSTzMa__.js → sk-Cl6F-Kaz.js} +108 -882
  221. package/dist/{sl-_HvO-HVX.js → sl-BxsNneWx.js} +107 -881
  222. package/dist/{smsTabContent-CWBrtP4u.js → smsTabContent-BLJM1Hbk.js} +40 -27
  223. package/dist/{so-pyCaqonl.js → so-D8izvKPD.js} +107 -881
  224. package/dist/spacer-NanHQwzu.js +1100 -0
  225. package/dist/spinner-bRH4yw9e.js +69 -0
  226. package/dist/{sr-Bpxtt0kk.js → sr-BtsYxFKz.js} +107 -881
  227. package/dist/{sr-Latn-BjueCJSI.js → sr-Latn-BTn5o62j.js} +112 -886
  228. package/dist/sr-YU-BNViLYA5.js +5 -0
  229. package/dist/step-up/step-up.es.js +483 -0
  230. package/dist/step-up/styles.css +2 -0
  231. package/dist/{sv-SE-sv5v6ZWe.js → sv-SE-f5R8i8ue.js} +107 -881
  232. package/dist/{sw-BseJSmdR.js → sw-BgHNoEGs.js} +107 -881
  233. package/dist/{th-TH-D0WNW-3l.js → th-TH-DmfU-a6A.js} +107 -881
  234. package/dist/{th-C2G8Ur12.js → th-aFkhFNxp.js} +107 -881
  235. package/dist/themes/dark.css +1 -1
  236. package/dist/themes/light.css +1 -1
  237. package/dist/{tl-CBOmxz5r.js → tl-CA42NVfv.js} +107 -881
  238. package/dist/{tl-PH-CwafDrED.js → tl-PH-DMCUe7pP.js} +107 -881
  239. package/dist/{tr-C4iH8UJx.js → tr-BVjID0jl.js} +108 -882
  240. package/dist/{transitionSpinner-DbrWrpRU.js → transitionSpinner-MclJtdHE.js} +5 -5
  241. package/dist/tutorial-fC2iei2v.js +28 -0
  242. package/dist/types/ae-signature.d.ts +7 -3
  243. package/dist/types/antifraud.d.ts +7 -3
  244. package/dist/types/authentication.d.ts +7 -3
  245. package/dist/types/certificate-issuance.d.ts +7 -3
  246. package/dist/types/consent.d.ts +7 -3
  247. package/dist/types/cross-document-data-match.d.ts +7 -3
  248. package/dist/types/curp-validation.d.ts +7 -3
  249. package/dist/types/document-capture.d.ts +7 -3
  250. package/dist/types/dynamic-forms.d.ts +7 -3
  251. package/dist/types/ekyb.d.ts +7 -3
  252. package/dist/types/ekyc-prefill.d.ts +213 -0
  253. package/dist/types/ekyc.d.ts +7 -3
  254. package/dist/types/electronic-signature.d.ts +7 -3
  255. package/dist/types/email.d.ts +7 -3
  256. package/dist/types/extensibility.d.ts +63 -17
  257. package/dist/types/face-match.d.ts +7 -3
  258. package/dist/types/field-comparison.d.ts +7 -3
  259. package/dist/types/fiscal-qr.d.ts +7 -3
  260. package/dist/types/flow.d.ts +16 -3
  261. package/dist/types/geolocation.d.ts +7 -3
  262. package/dist/types/government-validation.d.ts +7 -3
  263. package/dist/types/id-selfie-flow.d.ts +7 -3
  264. package/dist/types/id-verification.d.ts +7 -3
  265. package/dist/types/id.d.ts +7 -3
  266. package/dist/types/identity-reuse.d.ts +7 -3
  267. package/dist/types/index.d.ts +4 -0
  268. package/dist/types/kyb-checks.d.ts +213 -0
  269. package/dist/types/phone.d.ts +7 -3
  270. package/dist/types/qe-signature.d.ts +7 -3
  271. package/dist/types/selfie.d.ts +7 -3
  272. package/dist/types/signature.d.ts +7 -3
  273. package/dist/types/step-up.d.ts +85 -0
  274. package/dist/types/watchlist.d.ts +7 -3
  275. package/dist/types/workflow.d.ts +7 -3
  276. package/dist/{typography-BF9d8wEc.js → typography-Dncyo-3D.js} +3 -11
  277. package/dist/{uk-BGYlvKb_.js → uk-HjZTXCOA.js} +107 -881
  278. package/dist/{uk-UA-CbxzkCL_.js → uk-UA-ChpoWDcU.js} +108 -882
  279. package/dist/{ur-BQgtsAfv.js → ur-CZkQHBM4.js} +107 -881
  280. package/dist/{useCameraPreview-BmkAmzAs.js → useCameraPreview-DrteOjaq.js} +1 -1
  281. package/dist/useCaptureHelpButton-B5zEGcaB.js +43 -0
  282. package/dist/{useIsDarkTheme-COJZngNK.js → useIsDarkTheme-DAs5RhsW.js} +1 -1
  283. package/dist/{useModuleLoader-CceEKjsh.js → useModuleLoader-C2fbLotc.js} +8 -3
  284. package/dist/{uz-DqOg1Fdv.js → uz-BCp_m_Om.js} +107 -881
  285. package/dist/{vendor-preact-C0jX1Cbq.js → vendor-preact-HIccnts1.js} +19 -1
  286. package/dist/{verificationResult-m99Ragq6.js → verificationResult-sh4xut0K.js} +30 -27
  287. package/dist/{vi-COxdKkHn.js → vi-BvxcvDgc.js} +107 -881
  288. package/dist/video-selfie/styles.css +1 -1
  289. package/dist/video-selfie/styles.css.js +1 -1
  290. package/dist/video-selfie/video-selfie.es.js +64 -42
  291. package/dist/watchlist/watchlist.es.js +12 -8
  292. package/dist/{watchlistForBusiness-C2zxbavl.js → watchlistForBusiness-DnS1r-Ml.js} +38 -22
  293. package/dist/{withEndScreenTexts-BwNU-8-X.js → withEndScreenTexts-CHWofhk5.js} +212 -46
  294. package/dist/workflow/styles.css +1 -1
  295. package/dist/workflow/workflow.es.js +1 -530
  296. package/dist/workflow-DBS9eyu4.js +533 -0
  297. package/dist/{zh-CN-DfvYQGdE.js → zh-CN-DZRia1ir.js} +108 -882
  298. package/dist/{zh-CPQoDPxf.js → zh-DN_kUZaR.js} +107 -881
  299. package/dist/{zh-HANT-B4LzHH2y.js → zh-HANT-DisU_Tal.js} +107 -881
  300. package/dist/{zh-TW-DtvvhBYL.js → zh-TW-BJzCsdPP.js} +107 -881
  301. package/package.json +44 -12
  302. package/dist/autoFocusTitle-BxsSeMSB.js +0 -32
  303. package/dist/browser-ponyfill-CHlXHPpU.js +0 -441
  304. package/dist/cameraOverlay-Be1PFI8S.js +0 -2
  305. package/dist/check-icon-BWTjhSuA.js +0 -48
  306. package/dist/dashboardTheme-COBidrbH.js +0 -246
  307. package/dist/dateInputComposed-CONPVayx.js +0 -1
  308. package/dist/denied-Btt81vUD.js +0 -1871
  309. package/dist/devWarn-Cr7MglXv.js +0 -2628
  310. package/dist/documentCapture-DGCraCO3.js +0 -2
  311. package/dist/dropdownComposed-DyZXfcTf.js +0 -1
  312. package/dist/ekybModule-D-czIusz.js +0 -2
  313. package/dist/ekycModule-CkBRa6h2.js +0 -2
  314. package/dist/ekycModule-WlhVn8AO.js +0 -321
  315. package/dist/es-419-CTB15v-l.js +0 -3231
  316. package/dist/esm-BTUEHyry.js +0 -430
  317. package/dist/expiredId-DpbWqSzB.js +0 -80
  318. package/dist/faceMatch-CRbIcwK2.js +0 -2
  319. package/dist/fieldComparison-DKQNK0-r.js +0 -2
  320. package/dist/fieldComparison-OwGIeOM5.js +0 -109
  321. package/dist/flipAnimation-D-5tokFC.js +0 -3275
  322. package/dist/inputComposed-5mLbxAZJ.js +0 -1
  323. package/dist/numberedStep-CqgNwc_a.js +0 -13
  324. package/dist/otpInput-B_iLvmIn.js +0 -157
  325. package/dist/passwordInputComposed-NtiseM85.js +0 -74
  326. package/dist/pdfViewer-7FzYV8l3.js +0 -2
  327. package/dist/radioGroupComposed-CocqpoKe.js +0 -160
  328. package/dist/radioGroupComposed-DlQ-fNrF.js +0 -1
  329. package/dist/reload-icon-BR1POqkD.js +0 -70
  330. package/dist/richText-CRWB2afV.js +0 -1549
  331. package/dist/spacer-CwyNauIk.js +0 -733
  332. package/dist/spinner-DEZJxLSc.js +0 -88
  333. package/dist/sr-YU-xCb5qxap.js +0 -3235
  334. package/dist/useCaptureHelpButton-D40hYyD7.js +0 -88
  335. /package/dist/{aligndevicelottie-BHWuptBk.js → aligndevicelottie-DroBRtbt.js} +0 -0
  336. /package/dist/{back-tutorial-BYZr11eV.js → back-tutorial-ydxRtY-Y.js} +0 -0
  337. /package/dist/{backdevicelottie-JflQKxT_.js → backdevicelottie-hv8vbwYH.js} +0 -0
  338. /package/dist/{blurdevicelottie-CWuMQEHL.js → blurdevicelottie-Cgu4hKn7.js} +0 -0
  339. /package/dist/{countryDefinitions-6FOOLcB2.js → countryDefinitions-DlsV3Tf8.js} +0 -0
  340. /package/dist/{defineProperty-CUC2zCmh.js → defineProperty-CRYuXE79.js} +0 -0
  341. /package/dist/{flip-animation-BqTKEBcW.js → flip-animation-CJhh7l_J.js} +0 -0
  342. /package/dist/{frontdevicelottie-BWD-NCfG.js → frontdevicelottie-vyO3BJJe.js} +0 -0
  343. /package/dist/{glaredevicelottie-Cjy50jGc.js → glaredevicelottie-DrgkRjFh.js} +0 -0
  344. /package/dist/{id-laser-h-By7lMim8.js → id-laser-h-CUz29uFc.js} +0 -0
  345. /package/dist/{id-laser-v-BCPAN2x5.js → id-laser-v-Bnf10QJp.js} +0 -0
  346. /package/dist/{id-tutorial-B9cUQuf0.js → id-tutorial-DGwvKAMs.js} +0 -0
  347. /package/dist/{lottie_light-DywVSPMT.js → lottie_light-BXXuEKyZ.js} +0 -0
  348. /package/dist/{passport-tutorial-TSZzEGqb.js → passport-tutorial-DoqqyBXo.js} +0 -0
  349. /package/dist/{pdf.worker.min-D7ZNTVBZ.js → pdf.worker.min-Cm2oniEB.js} +0 -0
  350. /package/dist/{policyUrls-Bpacx_pp.js → policyUrls-Hvb4jPfF.js} +0 -0
  351. /package/dist/{purify.es-DZazHwBu.js → purify.es-DIIgrZ-E.js} +0 -0
  352. /package/dist/{selfieTutorial-CLJAEuXG.js → selfieTutorial-BTewRjM5.js} +0 -0
@@ -1,430 +0,0 @@
1
- import { r as __toESM } from "./rolldown-runtime--E5BIlTp.js";
2
- //#region ../../node_modules/.pnpm/i18next-http-backend@3.0.2/node_modules/i18next-http-backend/esm/utils.js
3
- function _typeof$2(o) {
4
- "@babel/helpers - typeof";
5
- return _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
6
- return typeof o;
7
- } : function(o) {
8
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
9
- }, _typeof$2(o);
10
- }
11
- var arr = [];
12
- arr.forEach;
13
- arr.slice;
14
- function hasXMLHttpRequest() {
15
- return typeof XMLHttpRequest === "function" || (typeof XMLHttpRequest === "undefined" ? "undefined" : _typeof$2(XMLHttpRequest)) === "object";
16
- }
17
- function isPromise(maybePromise) {
18
- return !!maybePromise && typeof maybePromise.then === "function";
19
- }
20
- function makePromise(maybePromise) {
21
- if (isPromise(maybePromise)) return maybePromise;
22
- return Promise.resolve(maybePromise);
23
- }
24
- //#endregion
25
- //#region ../../node_modules/.pnpm/i18next-http-backend@3.0.2/node_modules/i18next-http-backend/esm/request.js
26
- function ownKeys$1(e, r) {
27
- var t = Object.keys(e);
28
- if (Object.getOwnPropertySymbols) {
29
- var o = Object.getOwnPropertySymbols(e);
30
- r && (o = o.filter(function(r) {
31
- return Object.getOwnPropertyDescriptor(e, r).enumerable;
32
- })), t.push.apply(t, o);
33
- }
34
- return t;
35
- }
36
- function _objectSpread$1(e) {
37
- for (var r = 1; r < arguments.length; r++) {
38
- var t = null != arguments[r] ? arguments[r] : {};
39
- r % 2 ? ownKeys$1(Object(t), !0).forEach(function(r) {
40
- _defineProperty$1(e, r, t[r]);
41
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function(r) {
42
- Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
43
- });
44
- }
45
- return e;
46
- }
47
- function _defineProperty$1(e, r, t) {
48
- return (r = _toPropertyKey$1(r)) in e ? Object.defineProperty(e, r, {
49
- value: t,
50
- enumerable: !0,
51
- configurable: !0,
52
- writable: !0
53
- }) : e[r] = t, e;
54
- }
55
- function _toPropertyKey$1(t) {
56
- var i = _toPrimitive$1(t, "string");
57
- return "symbol" == _typeof$1(i) ? i : i + "";
58
- }
59
- function _toPrimitive$1(t, r) {
60
- if ("object" != _typeof$1(t) || !t) return t;
61
- var e = t[Symbol.toPrimitive];
62
- if (void 0 !== e) {
63
- var i = e.call(t, r || "default");
64
- if ("object" != _typeof$1(i)) return i;
65
- throw new TypeError("@@toPrimitive must return a primitive value.");
66
- }
67
- return ("string" === r ? String : Number)(t);
68
- }
69
- function _typeof$1(o) {
70
- "@babel/helpers - typeof";
71
- return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
72
- return typeof o;
73
- } : function(o) {
74
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
75
- }, _typeof$1(o);
76
- }
77
- var fetchApi = typeof fetch === "function" ? fetch : void 0;
78
- if (typeof global !== "undefined" && global.fetch) fetchApi = global.fetch;
79
- else if (typeof window !== "undefined" && window.fetch) fetchApi = window.fetch;
80
- var XmlHttpRequestApi;
81
- if (hasXMLHttpRequest()) {
82
- if (typeof global !== "undefined" && global.XMLHttpRequest) XmlHttpRequestApi = global.XMLHttpRequest;
83
- else if (typeof window !== "undefined" && window.XMLHttpRequest) XmlHttpRequestApi = window.XMLHttpRequest;
84
- }
85
- var ActiveXObjectApi;
86
- if (typeof ActiveXObject === "function") {
87
- if (typeof global !== "undefined" && global.ActiveXObject) ActiveXObjectApi = global.ActiveXObject;
88
- else if (typeof window !== "undefined" && window.ActiveXObject) ActiveXObjectApi = window.ActiveXObject;
89
- }
90
- if (typeof fetchApi !== "function") fetchApi = void 0;
91
- if (!fetchApi && !XmlHttpRequestApi && !ActiveXObjectApi) try {
92
- import("./browser-ponyfill-CHlXHPpU.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1)).then(function(mod) {
93
- fetchApi = mod.default;
94
- }).catch(function() {});
95
- } catch (e) {}
96
- var addQueryString = function addQueryString(url, params) {
97
- if (params && _typeof$1(params) === "object") {
98
- var queryString = "";
99
- for (var paramName in params) queryString += "&" + encodeURIComponent(paramName) + "=" + encodeURIComponent(params[paramName]);
100
- if (!queryString) return url;
101
- url = url + (url.indexOf("?") !== -1 ? "&" : "?") + queryString.slice(1);
102
- }
103
- return url;
104
- };
105
- var fetchIt = function fetchIt(url, fetchOptions, callback, altFetch) {
106
- var resolver = function resolver(response) {
107
- if (!response.ok) return callback(response.statusText || "Error", { status: response.status });
108
- response.text().then(function(data) {
109
- callback(null, {
110
- status: response.status,
111
- data
112
- });
113
- }).catch(callback);
114
- };
115
- if (altFetch) {
116
- var altResponse = altFetch(url, fetchOptions);
117
- if (altResponse instanceof Promise) {
118
- altResponse.then(resolver).catch(callback);
119
- return;
120
- }
121
- }
122
- if (typeof fetch === "function") fetch(url, fetchOptions).then(resolver).catch(callback);
123
- else fetchApi(url, fetchOptions).then(resolver).catch(callback);
124
- };
125
- var omitFetchOptions = false;
126
- var requestWithFetch = function requestWithFetch(options, url, payload, callback) {
127
- if (options.queryStringParams) url = addQueryString(url, options.queryStringParams);
128
- var headers = _objectSpread$1({}, typeof options.customHeaders === "function" ? options.customHeaders() : options.customHeaders);
129
- if (typeof window === "undefined" && typeof global !== "undefined" && typeof global.process !== "undefined" && global.process.versions && global.process.versions.node) headers["User-Agent"] = "i18next-http-backend (node/".concat(global.process.version, "; ").concat(global.process.platform, " ").concat(global.process.arch, ")");
130
- if (payload) headers["Content-Type"] = "application/json";
131
- var reqOptions = typeof options.requestOptions === "function" ? options.requestOptions(payload) : options.requestOptions;
132
- var fetchOptions = _objectSpread$1({
133
- method: payload ? "POST" : "GET",
134
- body: payload ? options.stringify(payload) : void 0,
135
- headers
136
- }, omitFetchOptions ? {} : reqOptions);
137
- var altFetch = typeof options.alternateFetch === "function" && options.alternateFetch.length >= 1 ? options.alternateFetch : void 0;
138
- try {
139
- fetchIt(url, fetchOptions, callback, altFetch);
140
- } catch (e) {
141
- if (!reqOptions || Object.keys(reqOptions).length === 0 || !e.message || e.message.indexOf("not implemented") < 0) return callback(e);
142
- try {
143
- Object.keys(reqOptions).forEach(function(opt) {
144
- delete fetchOptions[opt];
145
- });
146
- fetchIt(url, fetchOptions, callback, altFetch);
147
- omitFetchOptions = true;
148
- } catch (err) {
149
- callback(err);
150
- }
151
- }
152
- };
153
- var requestWithXmlHttpRequest = function requestWithXmlHttpRequest(options, url, payload, callback) {
154
- if (payload && _typeof$1(payload) === "object") payload = addQueryString("", payload).slice(1);
155
- if (options.queryStringParams) url = addQueryString(url, options.queryStringParams);
156
- try {
157
- var x = XmlHttpRequestApi ? new XmlHttpRequestApi() : new ActiveXObjectApi("MSXML2.XMLHTTP.3.0");
158
- x.open(payload ? "POST" : "GET", url, 1);
159
- if (!options.crossDomain) x.setRequestHeader("X-Requested-With", "XMLHttpRequest");
160
- x.withCredentials = !!options.withCredentials;
161
- if (payload) x.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
162
- if (x.overrideMimeType) x.overrideMimeType("application/json");
163
- var h = options.customHeaders;
164
- h = typeof h === "function" ? h() : h;
165
- if (h) for (var i in h) x.setRequestHeader(i, h[i]);
166
- x.onreadystatechange = function() {
167
- x.readyState > 3 && callback(x.status >= 400 ? x.statusText : null, {
168
- status: x.status,
169
- data: x.responseText
170
- });
171
- };
172
- x.send(payload);
173
- } catch (e) {
174
- console && console.log(e);
175
- }
176
- };
177
- var request = function request(options, url, payload, callback) {
178
- if (typeof payload === "function") {
179
- callback = payload;
180
- payload = void 0;
181
- }
182
- callback = callback || function() {};
183
- if (fetchApi && url.indexOf("file:") !== 0) return requestWithFetch(options, url, payload, callback);
184
- if (hasXMLHttpRequest() || typeof ActiveXObject === "function") return requestWithXmlHttpRequest(options, url, payload, callback);
185
- callback(/* @__PURE__ */ new Error("No fetch and no xhr implementation found!"));
186
- };
187
- //#endregion
188
- //#region ../../node_modules/.pnpm/i18next-http-backend@3.0.2/node_modules/i18next-http-backend/esm/index.js
189
- function _typeof(o) {
190
- "@babel/helpers - typeof";
191
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
192
- return typeof o;
193
- } : function(o) {
194
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
195
- }, _typeof(o);
196
- }
197
- function ownKeys(e, r) {
198
- var t = Object.keys(e);
199
- if (Object.getOwnPropertySymbols) {
200
- var o = Object.getOwnPropertySymbols(e);
201
- r && (o = o.filter(function(r) {
202
- return Object.getOwnPropertyDescriptor(e, r).enumerable;
203
- })), t.push.apply(t, o);
204
- }
205
- return t;
206
- }
207
- function _objectSpread(e) {
208
- for (var r = 1; r < arguments.length; r++) {
209
- var t = null != arguments[r] ? arguments[r] : {};
210
- r % 2 ? ownKeys(Object(t), !0).forEach(function(r) {
211
- _defineProperty(e, r, t[r]);
212
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r) {
213
- Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
214
- });
215
- }
216
- return e;
217
- }
218
- function _classCallCheck(a, n) {
219
- if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
220
- }
221
- function _defineProperties(e, r) {
222
- for (var t = 0; t < r.length; t++) {
223
- var o = r[t];
224
- o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
225
- }
226
- }
227
- function _createClass(e, r, t) {
228
- return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
229
- }
230
- function _defineProperty(e, r, t) {
231
- return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
232
- value: t,
233
- enumerable: !0,
234
- configurable: !0,
235
- writable: !0
236
- }) : e[r] = t, e;
237
- }
238
- function _toPropertyKey(t) {
239
- var i = _toPrimitive(t, "string");
240
- return "symbol" == _typeof(i) ? i : i + "";
241
- }
242
- function _toPrimitive(t, r) {
243
- if ("object" != _typeof(t) || !t) return t;
244
- var e = t[Symbol.toPrimitive];
245
- if (void 0 !== e) {
246
- var i = e.call(t, r || "default");
247
- if ("object" != _typeof(i)) return i;
248
- throw new TypeError("@@toPrimitive must return a primitive value.");
249
- }
250
- return ("string" === r ? String : Number)(t);
251
- }
252
- var getDefaults = function getDefaults() {
253
- return {
254
- loadPath: "/locales/{{lng}}/{{ns}}.json",
255
- addPath: "/locales/add/{{lng}}/{{ns}}",
256
- parse: function parse(data) {
257
- return JSON.parse(data);
258
- },
259
- stringify: JSON.stringify,
260
- parsePayload: function parsePayload(namespace, key, fallbackValue) {
261
- return _defineProperty({}, key, fallbackValue || "");
262
- },
263
- parseLoadPayload: function parseLoadPayload(languages, namespaces) {},
264
- request,
265
- reloadInterval: typeof window !== "undefined" ? false : 3600 * 1e3,
266
- customHeaders: {},
267
- queryStringParams: {},
268
- crossDomain: false,
269
- withCredentials: false,
270
- overrideMimeType: false,
271
- requestOptions: {
272
- mode: "cors",
273
- credentials: "same-origin",
274
- cache: "default"
275
- }
276
- };
277
- };
278
- var Backend = function() {
279
- function Backend(services) {
280
- var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
281
- var allOptions = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
282
- _classCallCheck(this, Backend);
283
- this.services = services;
284
- this.options = options;
285
- this.allOptions = allOptions;
286
- this.type = "backend";
287
- this.init(services, options, allOptions);
288
- }
289
- return _createClass(Backend, [
290
- {
291
- key: "init",
292
- value: function init(services) {
293
- var _this = this;
294
- var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
295
- var allOptions = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
296
- this.services = services;
297
- this.options = _objectSpread(_objectSpread(_objectSpread({}, getDefaults()), this.options || {}), options);
298
- this.allOptions = allOptions;
299
- if (this.services && this.options.reloadInterval) {
300
- var timer = setInterval(function() {
301
- return _this.reload();
302
- }, this.options.reloadInterval);
303
- if (_typeof(timer) === "object" && typeof timer.unref === "function") timer.unref();
304
- }
305
- }
306
- },
307
- {
308
- key: "readMulti",
309
- value: function readMulti(languages, namespaces, callback) {
310
- this._readAny(languages, languages, namespaces, namespaces, callback);
311
- }
312
- },
313
- {
314
- key: "read",
315
- value: function read(language, namespace, callback) {
316
- this._readAny([language], language, [namespace], namespace, callback);
317
- }
318
- },
319
- {
320
- key: "_readAny",
321
- value: function _readAny(languages, loadUrlLanguages, namespaces, loadUrlNamespaces, callback) {
322
- var _this2 = this;
323
- var loadPath = this.options.loadPath;
324
- if (typeof this.options.loadPath === "function") loadPath = this.options.loadPath(languages, namespaces);
325
- loadPath = makePromise(loadPath);
326
- loadPath.then(function(resolvedLoadPath) {
327
- if (!resolvedLoadPath) return callback(null, {});
328
- var url = _this2.services.interpolator.interpolate(resolvedLoadPath, {
329
- lng: languages.join("+"),
330
- ns: namespaces.join("+")
331
- });
332
- _this2.loadUrl(url, callback, loadUrlLanguages, loadUrlNamespaces);
333
- });
334
- }
335
- },
336
- {
337
- key: "loadUrl",
338
- value: function loadUrl(url, callback, languages, namespaces) {
339
- var _this3 = this;
340
- var lng = typeof languages === "string" ? [languages] : languages;
341
- var ns = typeof namespaces === "string" ? [namespaces] : namespaces;
342
- var payload = this.options.parseLoadPayload(lng, ns);
343
- this.options.request(this.options, url, payload, function(err, res) {
344
- if (res && (res.status >= 500 && res.status < 600 || !res.status)) return callback("failed loading " + url + "; status code: " + res.status, true);
345
- if (res && res.status >= 400 && res.status < 500) return callback("failed loading " + url + "; status code: " + res.status, false);
346
- if (!res && err && err.message) {
347
- var errorMessage = err.message.toLowerCase();
348
- if ([
349
- "failed",
350
- "fetch",
351
- "network",
352
- "load"
353
- ].find(function(term) {
354
- return errorMessage.indexOf(term) > -1;
355
- })) return callback("failed loading " + url + ": " + err.message, true);
356
- }
357
- if (err) return callback(err, false);
358
- var ret, parseErr;
359
- try {
360
- if (typeof res.data === "string") ret = _this3.options.parse(res.data, languages, namespaces);
361
- else ret = res.data;
362
- } catch (e) {
363
- parseErr = "failed parsing " + url + " to json";
364
- }
365
- if (parseErr) return callback(parseErr, false);
366
- callback(null, ret);
367
- });
368
- }
369
- },
370
- {
371
- key: "create",
372
- value: function create(languages, namespace, key, fallbackValue, callback) {
373
- var _this4 = this;
374
- if (!this.options.addPath) return;
375
- if (typeof languages === "string") languages = [languages];
376
- var payload = this.options.parsePayload(namespace, key, fallbackValue);
377
- var finished = 0;
378
- var dataArray = [];
379
- var resArray = [];
380
- languages.forEach(function(lng) {
381
- var addPath = _this4.options.addPath;
382
- if (typeof _this4.options.addPath === "function") addPath = _this4.options.addPath(lng, namespace);
383
- var url = _this4.services.interpolator.interpolate(addPath, {
384
- lng,
385
- ns: namespace
386
- });
387
- _this4.options.request(_this4.options, url, payload, function(data, res) {
388
- finished += 1;
389
- dataArray.push(data);
390
- resArray.push(res);
391
- if (finished === languages.length) {
392
- if (typeof callback === "function") callback(dataArray, resArray);
393
- }
394
- });
395
- });
396
- }
397
- },
398
- {
399
- key: "reload",
400
- value: function reload() {
401
- var _this5 = this;
402
- var _this$services = this.services, backendConnector = _this$services.backendConnector, languageUtils = _this$services.languageUtils, logger = _this$services.logger;
403
- var currentLanguage = backendConnector.language;
404
- if (currentLanguage && currentLanguage.toLowerCase() === "cimode") return;
405
- var toLoad = [];
406
- var append = function append(lng) {
407
- languageUtils.toResolveHierarchy(lng).forEach(function(l) {
408
- if (toLoad.indexOf(l) < 0) toLoad.push(l);
409
- });
410
- };
411
- append(currentLanguage);
412
- if (this.allOptions.preload) this.allOptions.preload.forEach(function(l) {
413
- return append(l);
414
- });
415
- toLoad.forEach(function(lng) {
416
- _this5.allOptions.ns.forEach(function(ns) {
417
- backendConnector.read(lng, ns, "read", null, null, function(err, data) {
418
- if (err) logger.warn("loading namespace ".concat(ns, " for language ").concat(lng, " failed"), err);
419
- if (!err && data) logger.log("loaded namespace ".concat(ns, " for language ").concat(lng), data);
420
- backendConnector.loaded("".concat(lng, "|").concat(ns), err, data);
421
- });
422
- });
423
- });
424
- }
425
- }
426
- ]);
427
- }();
428
- Backend.type = "backend";
429
- //#endregion
430
- export { Backend as default };
@@ -1,80 +0,0 @@
1
- import { c as useTranslation } from "./devWarn-Cr7MglXv.js";
2
- import { _ as y, c as A, v as u } from "./vendor-preact-C0jX1Cbq.js";
3
- import { t as Spacer } from "./spacer-CwyNauIk.js";
4
- import { x as Button } from "./icons-BdiCuWFP.js";
5
- import { t as Title } from "./typography-BF9d8wEc.js";
6
- import { t as Page } from "./page-utEpSa9Z.js";
7
- //#region src/shared/icons/redStrikeIcon.tsx
8
- var RedStrikeIcon = ({ className, ...rest }) => /* @__PURE__ */ u("svg", {
9
- class: className,
10
- width: "33",
11
- height: "32",
12
- viewBox: "0 0 33 32",
13
- fill: "none",
14
- xmlns: "http://www.w3.org/2000/svg",
15
- "aria-hidden": "true",
16
- ...rest,
17
- children: /* @__PURE__ */ u("path", {
18
- d: "M16.5 0c8.822 0 16 7.176 16 16 0 8.822-7.178 16-16 16S.5 24.822.5 16c0-8.824 7.178-16 16-16Zm-2.845 11.37a1.262 1.262 0 1 0-1.785 1.785l3.035 3.037-3.033 3.034a1.264 1.264 0 0 0 1.787 1.785l3.033-3.033 3.041 3.042a1.265 1.265 0 0 0 1.787 0 1.264 1.264 0 0 0 0-1.787l-3.043-3.04 3.034-3.036a1.262 1.262 0 1 0-1.785-1.785l-3.036 3.033z",
19
- fill: "#E71111"
20
- })
21
- });
22
- //#endregion
23
- //#region src/shared/expiredId/expiredId.tsx
24
- /**
25
- * Shown when the backend reports `isDocumentExpired: true`. Exactly one of
26
- * `onRetry` / `onContinue` should be provided; if both are passed, retry
27
- * takes precedence.
28
- *
29
- * Visual contract mirrors the SDK 1 UXv2 Expired ID screen (red strike icon,
30
- * centered title + subtitle, full-width primary button anchored near the
31
- * bottom). The optional attempts counter (added by core PR #439 / SDK 1
32
- * `IdError` parity) renders only when `attemptsRemaining` is supplied.
33
- */
34
- var ExpiredId = ({ onRetry, onContinue, attemptsRemaining, isBackSide }) => {
35
- const { t } = useTranslation();
36
- const titleRef = A(null);
37
- y(() => {
38
- titleRef.current?.focus();
39
- }, []);
40
- return /* @__PURE__ */ u(Page, {
41
- hideHeader: true,
42
- hideFooterBranding: true,
43
- className: "IncodeIdExpiredPage",
44
- "data-testid": "expired-id",
45
- children: [/* @__PURE__ */ u("div", {
46
- class: "IncodeIdExpiredContent",
47
- role: "alert",
48
- children: [
49
- /* @__PURE__ */ u(RedStrikeIcon, { className: "IncodeIdExpiredIcon" }),
50
- /* @__PURE__ */ u(Title, {
51
- ref: titleRef,
52
- tabIndex: -1,
53
- className: "IncodeIdExpiredTitle",
54
- children: t("idv2.capture.notifications.expiredId")
55
- }),
56
- /* @__PURE__ */ u(Spacer, { size: 12 }),
57
- /* @__PURE__ */ u("p", {
58
- class: "IncodeIdExpiredSubtitle",
59
- children: isBackSide ? t("idv2.digitalIdUpload.wrongDocumentTypeScreen.errorSubtitle") : t("idv2.capture.expiredId.pleaseTryWithADifferentId")
60
- })
61
- ]
62
- }), /* @__PURE__ */ u("div", { children: [attemptsRemaining !== void 0 ? /* @__PURE__ */ u("p", {
63
- class: "IncodeIdExpiredAttemptsCounter",
64
- "data-testid": "expired-id-attempts-counter",
65
- children: `${attemptsRemaining} ${t("idv2.capture.processing.attemptsRemainingLabel")}`
66
- }) : null, onRetry ? /* @__PURE__ */ u(Button, {
67
- variant: "primary",
68
- onClick: onRetry,
69
- "data-testid": "expired-id-retry",
70
- children: t("idv2.capture.processing.tryAgain")
71
- }) : onContinue ? /* @__PURE__ */ u(Button, {
72
- variant: "primary",
73
- onClick: onContinue,
74
- "data-testid": "expired-id-continue",
75
- children: t("idv2.capture.processing.continue")
76
- }) : null] })]
77
- });
78
- };
79
- //#endregion
80
- export { RedStrikeIcon as n, ExpiredId as t };
@@ -1,2 +0,0 @@
1
- import { t as FaceMatch } from "./faceMatch-B0IzR9_u.js";
2
- export { FaceMatch };
@@ -1,2 +0,0 @@
1
- import { t as FieldComparison } from "./fieldComparison-OwGIeOM5.js";
2
- export { FieldComparison };
@@ -1,109 +0,0 @@
1
- import { c as useTranslation } from "./devWarn-Cr7MglXv.js";
2
- import { v as u } from "./vendor-preact-C0jX1Cbq.js";
3
- import { t as Spacer } from "./spacer-CwyNauIk.js";
4
- import { x as Button } from "./icons-BdiCuWFP.js";
5
- import { t as Page } from "./page-utEpSa9Z.js";
6
- import { a as withStandaloneModuleBootstrap, t as IncodeComponent, x as useManager, y as useModuleTerminalCallbacks } from "./incodeComponent-C1Bz5Qou.js";
7
- import { t as VerificationResult } from "./verificationResult-m99Ragq6.js";
8
- import { t as InputComposed } from "./inputComposed-BuE0iZlw.js";
9
- import { t as registerIncodeModuleElement } from "./incodeModule-DJToJb00.js";
10
- import { createFieldComparisonManager } from "@incodetech/core/field-comparison";
11
- //#region src/modules/field-comparison/fieldComparison.tsx
12
- var FieldComparisonContent = ({ config, manager: externalManager, onFinish }) => {
13
- const { t } = useTranslation();
14
- const [state, manager] = useManager(() => externalManager ?? createFieldComparisonManager({ config }), {
15
- manageLifecycle: !externalManager,
16
- autoLoad: true
17
- });
18
- useModuleTerminalCallbacks({
19
- status: state.status === "finished" ? "finished" : "loading",
20
- onFinish
21
- });
22
- const handleSubmit = (e) => {
23
- e.preventDefault();
24
- manager.submit();
25
- };
26
- if (state.status === "finished") return null;
27
- if (state.status === "error") return /* @__PURE__ */ u(VerificationResult, {
28
- status: "failure",
29
- onRetry: manager.retry,
30
- onSkip: manager.skip
31
- });
32
- if (state.status === "success") return /* @__PURE__ */ u(VerificationResult, {
33
- status: "success",
34
- successTitle: t("customFields.completed")
35
- });
36
- if (state.status === "submitting" || state.status === "inputting") {
37
- const isDisabled = state.status === "submitting";
38
- const canSubmit = state.status === "inputting" && state.canSubmit;
39
- const validationErrors = state.status === "inputting" ? state.validationErrors : void 0;
40
- return /* @__PURE__ */ u(Page, {
41
- className: "IncodeFieldComparisonPage",
42
- title: t("fieldComparison.title"),
43
- subtitle: t("forms.subtitle"),
44
- hideFooterBranding: true,
45
- "data-testid": "field-comparison-page",
46
- children: [isDisabled ? /* @__PURE__ */ u("div", {
47
- class: "IncodeSrOnly",
48
- role: "status",
49
- "aria-live": "polite",
50
- "data-testid": "field-comparison-status",
51
- children: t("common.processing")
52
- }) : null, /* @__PURE__ */ u("div", {
53
- class: "IncodeFieldComparisonForm",
54
- "data-testid": "field-comparison-fields",
55
- children: [
56
- /* @__PURE__ */ u(InputComposed, {
57
- id: "field-comparison-first-name",
58
- name: "firstName",
59
- label: t("verification.labels.firstName"),
60
- "data-testid": "field-comparison-first-name",
61
- autoComplete: "given-name",
62
- required: true,
63
- disabled: isDisabled,
64
- value: state.fields.firstName,
65
- error: validationErrors?.firstName ? t(validationErrors.firstName) : void 0,
66
- showErrorIcon: !!validationErrors?.firstName,
67
- onInput: (e) => {
68
- manager.setField("firstName", e.target.value);
69
- }
70
- }),
71
- /* @__PURE__ */ u(InputComposed, {
72
- id: "field-comparison-last-name",
73
- name: "lastName",
74
- label: t("verification.labels.lastName"),
75
- "data-testid": "field-comparison-last-name",
76
- autoComplete: "family-name",
77
- required: true,
78
- disabled: isDisabled,
79
- value: state.fields.lastName,
80
- error: validationErrors?.lastName ? t(validationErrors.lastName) : void 0,
81
- showErrorIcon: !!validationErrors?.lastName,
82
- onInput: (e) => {
83
- manager.setField("lastName", e.target.value);
84
- }
85
- }),
86
- /* @__PURE__ */ u(Spacer, {}),
87
- /* @__PURE__ */ u(Button, {
88
- type: "submit",
89
- "data-testid": "field-comparison-submit",
90
- disabled: !canSubmit || isDisabled,
91
- isLoading: isDisabled,
92
- onClick: handleSubmit,
93
- children: t("common.continue")
94
- })
95
- ]
96
- })]
97
- });
98
- }
99
- return null;
100
- };
101
- var FieldComparisonWithLocalConfig = ({ config = {}, manager, onFinish }) => /* @__PURE__ */ u(IncodeComponent, { children: /* @__PURE__ */ u(FieldComparisonContent, {
102
- config,
103
- manager,
104
- onFinish
105
- }) });
106
- var FieldComparison = withStandaloneModuleBootstrap(FieldComparisonWithLocalConfig, "FIELD_COMPARISON", { supportsExternalManager: true });
107
- registerIncodeModuleElement(FieldComparison, "incode-field-comparison");
108
- //#endregion
109
- export { FieldComparison as t };