@incodetech/web 2.0.1 → 2.1.0-rc.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 (253) hide show
  1. package/dist/ae-signature/ae-signature.es.js +15 -13
  2. package/dist/ae-signature/styles.css +3 -17
  3. package/dist/ae-signature/styles2.css +15 -5
  4. package/dist/aligndevicelottie-DY_bX_p8.js +12769 -0
  5. package/dist/antifraud/antifraud.es.js +23 -16
  6. package/dist/authentication/authentication.es.js +42 -27
  7. package/dist/autoFocusTitle-BzkUiELM.js +29 -0
  8. package/dist/{back-horizontal-hint-B8Brxh3U.js → back-horizontal-hint-D_8LptLm.js} +26 -26
  9. package/dist/back-tutorial-vb1MxlrT.js +14597 -0
  10. package/dist/{back-vertical-hint-BBo36dxn.js → back-vertical-hint-C1evxxq2.js} +27 -27
  11. package/dist/backdevicelottie-HypPqBz7.js +16690 -0
  12. package/dist/base.css +1258 -104
  13. package/dist/blurdevicelottie-CBXtBFiJ.js +15951 -0
  14. package/dist/bottomSheet-F1GJfQx_.js +39 -0
  15. package/dist/browser-ponyfill-CLLvZCVg.js +441 -0
  16. package/dist/button-CM_hgyIP.js +35 -0
  17. package/dist/checkbox-BoeLHKgp.js +96 -0
  18. package/dist/consent/consent.es.js +89 -73
  19. package/dist/consent/styles.css +35 -22
  20. package/dist/countrySelector-mSWyHSy4.js +60 -0
  21. package/dist/cpf-ocr/cpf-ocr.es.js +2 -0
  22. package/dist/cpfOcr-MtpRztkG.js +92 -0
  23. package/dist/cpfOcr-jJkYCfsX.js +2 -0
  24. package/dist/cross-document-data-match/cross-document-data-match.es.js +20 -16
  25. package/dist/curp-validation/curp-validation.es.js +247 -203
  26. package/dist/customFields-DXXt9HGM.js +140 -0
  27. package/dist/customWatchlist-DsW04UF6.js +36 -0
  28. package/dist/dateInputComposed-C_mh4XBg.js +69 -0
  29. package/dist/dateInputComposed-Cy6a7ymh.js +1 -0
  30. package/dist/defineProperty-mefzVtTv.js +39 -0
  31. package/dist/document-capture/document-capture.es.js +2 -0
  32. package/dist/document-capture/styles.css +2 -5
  33. package/dist/documentCapture-8ypBJehw.js +2 -0
  34. package/dist/documentCapture-BDV_921m.js +880 -0
  35. package/dist/dropdownComposed-CEWBSdGl.js +1 -0
  36. package/dist/dropdownComposed-_fgAlo_C.js +380 -0
  37. package/dist/dynamic-forms/styles.css +25 -13
  38. package/dist/dynamicForms-DyfnsS7E.js +352 -0
  39. package/dist/ekyb/ekyb.es.js +2 -2
  40. package/dist/ekyb/styles.css +2 -0
  41. package/dist/ekybModule-CIPGmCvD.js +279 -0
  42. package/dist/ekybModule-DFoYpheB.js +2 -0
  43. package/dist/ekyc/ekyc.es.js +2 -2
  44. package/dist/ekyc/styles.css +9 -7
  45. package/dist/ekycModule-BGzwgjl1.js +2 -0
  46. package/dist/ekycModule-BuTaC5ct.js +257 -0
  47. package/dist/electronic-signature/electronic-signature.es.js +2 -2
  48. package/dist/electronic-signature-B-Q7M0wK.js +430 -0
  49. package/dist/email/email.es.js +199 -66
  50. package/dist/emailInput-KZmhjOdZ.js +39 -0
  51. package/dist/errorIcon-DJRZpd8j.js +26 -0
  52. package/dist/expiredId-Q1t6aVpk.js +85 -0
  53. package/dist/extensibility-Cs3KQQdC.js +3070 -0
  54. package/dist/extensibility.es.js +26 -25
  55. package/dist/face-match/face-match.es.js +2 -2
  56. package/dist/face-match/styles.css +0 -4
  57. package/dist/faceMatch--RDHJe4t.js +343 -0
  58. package/dist/faceMatch-yEKPYaym.js +2 -0
  59. package/dist/field-comparison/field-comparison.es.js +2 -0
  60. package/dist/field-comparison/styles.css +16 -0
  61. package/dist/fieldComparison-CAF86bTC.js +88 -0
  62. package/dist/fieldComparison-D0an7T_g.js +2 -0
  63. package/dist/fiscal-qr/fiscal-qr.es.js +224 -0
  64. package/dist/fiscal-qr/styles.css +71 -0
  65. package/dist/{flip-animation-CgwRsEmK.js → flip-animation-BGRvygw9.js} +4221 -4221
  66. package/dist/flow/flow.es.js +619 -484
  67. package/dist/flow/styles.css +378 -418
  68. package/dist/{front-horizontal-hint-DGGGi8e1.js → front-horizontal-hint-Uf5bHCsd.js} +70 -70
  69. package/dist/{front-vertical-hint-CNr5mE6Q.js → front-vertical-hint-DdWNA45v.js} +81 -81
  70. package/dist/frontdevicelottie-CLqitJhG.js +17314 -0
  71. package/dist/geolocation/geolocation.es.js +486 -395
  72. package/dist/glaredevicelottie-BS04U6Fc.js +14478 -0
  73. package/dist/governmentValidation/governmentValidation.es.js +166 -93
  74. package/dist/governmentValidation/styles.css +0 -17
  75. package/dist/homeScreen-BZnIEDrV.js +264 -0
  76. package/dist/hooks-Da_yP_Dr.js +149 -0
  77. package/dist/i18n-CoCO2ZuN.js +2971 -0
  78. package/dist/icons-Dbs9ZfYM.js +360 -0
  79. package/dist/id/id.es.js +583 -414
  80. package/dist/id/styles.css +59 -43
  81. package/dist/id-laser-h-DX8UbVNH.js +467 -0
  82. package/dist/id-laser-v-DhnHdjlB.js +490 -0
  83. package/dist/id-tutorial-lj4iKtYT.js +13165 -0
  84. package/dist/id-verification/id-verification.es.js +21 -17
  85. package/dist/idOcr-CjGbb4dB.js +123 -0
  86. package/dist/identity-reuse/identity-reuse.es.js +311 -182
  87. package/dist/identity-reuse/styles.css +134 -80
  88. package/dist/incode-logo-57XFniXU.js +4 -0
  89. package/dist/incodeComponent-wfnHlnXx.js +63 -0
  90. package/dist/incodeModule-BUDoTwT9.js +13 -0
  91. package/dist/index.es.js +17 -13
  92. package/dist/inputComposed-BEn7_nZd.js +1 -0
  93. package/dist/inputComposed-CQ4AsvZg.js +99 -0
  94. package/dist/loadingIcon-B0ysgiNq.js +148 -0
  95. package/dist/lottie_light-Dp9Bz3mf.js +9031 -0
  96. package/dist/mandatoryConsent-r0PQHmv-.js +107 -0
  97. package/dist/modal-nTSaG7nB.js +139 -0
  98. package/dist/modal.hooks-D2xhIuHA.js +195 -0
  99. package/dist/numberedStep-CEtwZqLp.js +13 -0
  100. package/dist/optionAccessibleLabel-CnA-mNAU.js +202 -0
  101. package/dist/otpInput-_JmtVwa0.js +195 -0
  102. package/dist/page-DxGQj7Gk.js +71 -0
  103. package/dist/{passport-horizontal-hint-Bgquwtac.js → passport-horizontal-hint-Bbm2mvSn.js} +55 -55
  104. package/dist/{passport-tutorial-DwRwtPVX.js → passport-tutorial-zT1ZoA-D.js} +7096 -7084
  105. package/dist/{passport-vertical-hint-BT1D5BrW.js → passport-vertical-hint-DJbCtBiM.js} +49 -49
  106. package/dist/pdf-BZA70WbM.js +22398 -0
  107. package/dist/pdfViewer-BK-yVIve.js +114 -0
  108. package/dist/phone/phone.es.js +214 -70
  109. package/dist/phoneInputComposed-DjNdsmPE.js +12142 -0
  110. package/dist/processing-BM-wT-1W.js +8 -0
  111. package/dist/qe-signature/qe-signature.es.js +15 -13
  112. package/dist/radioGroupComposed-BNuaopVr.js +215 -0
  113. package/dist/redirect-to-mobile/redirect-to-mobile.es.js +2774 -0
  114. package/dist/redirect-to-mobile/styles.css +19 -269
  115. package/dist/registerIncodeElement-77NGCDsy.js +11 -0
  116. package/dist/requiredLabelHint-DEadtiwx.js +17 -0
  117. package/dist/richText-Cf9aMOCk.js +3153 -0
  118. package/dist/rolldown-runtime--E5BIlTp.js +33 -0
  119. package/dist/selfie/selfie.es.js +54 -37
  120. package/dist/selfie/styles.css +0 -4
  121. package/dist/selfieTutorial-CtruLyO2.js +2689 -0
  122. package/dist/signature/signature.es.js +778 -405
  123. package/dist/snackbar-CxepGC3e.js +16 -0
  124. package/dist/spinner-B6RxGFrI.js +1 -0
  125. package/dist/spinner-D8a_2LvW.js +42 -0
  126. package/dist/statusPage-DMYPUwRZ.js +28 -0
  127. package/dist/successIcon-BAyDPT7I.js +30 -0
  128. package/dist/tabs-C8npVBbk.js +103 -0
  129. package/dist/themes/dark.css +5 -0
  130. package/dist/themes/light.css +4 -0
  131. package/dist/transitionSpinner-DRRz-NV8.js +26 -0
  132. package/dist/{tutorial-9vHAHvMK.js → tutorial-D1qaY2Tm.js} +1105 -856
  133. package/dist/types/ae-signature.d.ts +4 -1
  134. package/dist/types/antifraud.d.ts +9 -3
  135. package/dist/types/authentication.d.ts +4 -1
  136. package/dist/types/consent.d.ts +4 -1
  137. package/dist/types/cpf-ocr.d.ts +12 -0
  138. package/dist/types/cross-document-data-match.d.ts +4 -1
  139. package/dist/types/curp-validation.d.ts +9 -3
  140. package/dist/types/document-capture.d.ts +37 -0
  141. package/dist/types/ekyb.d.ts +4 -1
  142. package/dist/types/ekyc.d.ts +4 -1
  143. package/dist/types/electronic-signature.d.ts +4 -1
  144. package/dist/types/email.d.ts +4 -1
  145. package/dist/types/extensibility.d.ts +40 -15
  146. package/dist/types/face-match.d.ts +4 -1
  147. package/dist/types/field-comparison.d.ts +38 -0
  148. package/dist/types/fiscal-qr.d.ts +43 -0
  149. package/dist/types/flow.d.ts +5 -2
  150. package/dist/types/geolocation.d.ts +4 -1
  151. package/dist/types/governmentValidation.d.ts +4 -1
  152. package/dist/types/id-verification.d.ts +4 -1
  153. package/dist/types/id.d.ts +4 -1
  154. package/dist/types/identity-reuse.d.ts +4 -1
  155. package/dist/types/index.d.ts +26 -2
  156. package/dist/types/phone.d.ts +4 -1
  157. package/dist/types/qe-signature.d.ts +4 -1
  158. package/dist/types/redirect-to-mobile.d.ts +17 -0
  159. package/dist/types/selfie.d.ts +4 -1
  160. package/dist/types/signature.d.ts +4 -1
  161. package/dist/types/watchlist.d.ts +4 -1
  162. package/dist/types/workflow.d.ts +55 -11
  163. package/dist/typography-YLgHHuao.js +45 -0
  164. package/dist/uiConfig-D2_wawvr.js +25 -0
  165. package/dist/useModuleLoader-CeJ2jL25.js +672 -0
  166. package/dist/vendor-preact-DThS2ZQ_.js +955 -0
  167. package/dist/verificationResult-Do5SpZ6X.js +64 -0
  168. package/dist/verifiedByIncode-DjXOdCml.js +103 -0
  169. package/dist/watchlist/watchlist.es.js +31 -28
  170. package/dist/watchlistForBusiness-BFFXC9d-.js +80 -0
  171. package/dist/workflow/styles.css +449 -427
  172. package/dist/workflow/workflow.es.js +268 -182
  173. package/package.json +32 -10
  174. package/dist/aligndevicelottie-DoV8xKjh.js +0 -12757
  175. package/dist/autoFocusTitle-QexamZ4i.js +0 -16
  176. package/dist/back-tutorial-1NOQobGO.js +0 -14585
  177. package/dist/backdevicelottie-C_ceuqY7.js +0 -16678
  178. package/dist/blurdevicelottie-UO14Y0WC.js +0 -15939
  179. package/dist/bottomSheet-DE_8TFEC.js +0 -31
  180. package/dist/browser-ponyfill-jOkuz57z.js +0 -299
  181. package/dist/button-DcCUEn2n.js +0 -24
  182. package/dist/checkbox-Cl57ltq_.js +0 -85
  183. package/dist/countrySelector-CE-JgIsv.js +0 -58
  184. package/dist/cpfOcr-D_tbwbvh.js +0 -78
  185. package/dist/customFields-CW38fQUv.js +0 -127
  186. package/dist/customWatchlist-D9_yjEQd.js +0 -33
  187. package/dist/dateInputComposed-BpAGsjN6.js +0 -55
  188. package/dist/dateInputComposed-DU3o6PAV.js +0 -1
  189. package/dist/defineProperty-Dh8nSJpJ.js +0 -39
  190. package/dist/documentCapture-xX-JT7ZY.js +0 -763
  191. package/dist/dropdownComposed-DFRBG22E.js +0 -284
  192. package/dist/dropdownComposed-DwTzc2YU.js +0 -1
  193. package/dist/dynamicForms-CJP1Ia6Q.js +0 -262
  194. package/dist/ekybModule-BSs7mndb.js +0 -280
  195. package/dist/ekybModule-D9M3E2Gm.js +0 -2
  196. package/dist/ekycModule-CU9pt5YN.js +0 -246
  197. package/dist/ekycModule-CZw9cLno.js +0 -2
  198. package/dist/electronic-signature-COYXjGdd.js +0 -410
  199. package/dist/emailInput-DppGf9pv.js +0 -37
  200. package/dist/expiredId-BnmzE8T3.js +0 -70
  201. package/dist/extensibility-CzEJfRwo.js +0 -2586
  202. package/dist/faceMatch-B8j0g0Yo.js +0 -2
  203. package/dist/faceMatch-BV8UD7tj.js +0 -201
  204. package/dist/frontdevicelottie-Bu6f9fDE.js +0 -17302
  205. package/dist/glaredevicelottie-B10axYs_.js +0 -14466
  206. package/dist/homeScreen-DnP1jw9A.js +0 -227
  207. package/dist/hooks-BVnGysT7.js +0 -80
  208. package/dist/i18n-9s4OSqwi.js +0 -2010
  209. package/dist/icons-Cc7zwchP.js +0 -310
  210. package/dist/id-laser-h-mBAzHVOK.js +0 -467
  211. package/dist/id-laser-v-CrFg4bcJ.js +0 -483
  212. package/dist/id-tutorial-BCr42Pnn.js +0 -13153
  213. package/dist/idOcr-CCjfWQvH.js +0 -94
  214. package/dist/incode-logo-DX016usY.js +0 -4
  215. package/dist/incodeComponent-C1o4M0ZK.js +0 -50
  216. package/dist/incodeModule-BqCjVgEI.js +0 -18
  217. package/dist/inputComposed-APSw8C7o.js +0 -89
  218. package/dist/inputComposed-XYrarFxS.js +0 -1
  219. package/dist/loadingIcon-BN5YRQUb.js +0 -104
  220. package/dist/mandatoryConsent-DssKMC3v.js +0 -100
  221. package/dist/modal-NMxsQHAO.js +0 -135
  222. package/dist/modal.hooks-CAjcIFZK.js +0 -126
  223. package/dist/numberedStep-CT-alrK5.js +0 -11
  224. package/dist/optionAccessibleLabel-CzEeX3Q4.js +0 -140
  225. package/dist/otpInput-DqRA_egd.js +0 -145
  226. package/dist/page-C1yT4DLb.js +0 -69
  227. package/dist/pdf-BurGZ08w.js +0 -14967
  228. package/dist/pdfViewer-BGBNL1Ea.js +0 -63
  229. package/dist/phoneInputComposed-bvWhGLFZ.js +0 -11206
  230. package/dist/processing-G_y3o32b.js +0 -6
  231. package/dist/radioGroupComposed-BbmvxmD2.js +0 -177
  232. package/dist/redirectToMobile-C3k1gloW.js +0 -1514
  233. package/dist/requiredLabelHint-BLwgqozE.js +0 -13
  234. package/dist/richText-DbJ5sl2n.js +0 -1973
  235. package/dist/rolldown-runtime-CYMK-g2i.js +0 -20
  236. package/dist/selfieTutorial-BgrlUMXP.js +0 -2677
  237. package/dist/snackbar-BDp8x7Cv.js +0 -14
  238. package/dist/spinner-B4dcie2T.js +0 -1
  239. package/dist/spinner-CKnjVHxw.js +0 -39
  240. package/dist/statusPage-CUI7ApcU.js +0 -28
  241. package/dist/successIcon-DbILeIz_.js +0 -28
  242. package/dist/tabs-DaPyP71c.js +0 -78
  243. package/dist/transitionSpinner-PIEPU2Vx.js +0 -17
  244. package/dist/types/cpf-ocr/styles.d.ts +0 -1
  245. package/dist/types/document-capture/styles.d.ts +0 -1
  246. package/dist/types/redirect-to-mobile/styles.d.ts +0 -1
  247. package/dist/typography-CxjaknHN.js +0 -28
  248. package/dist/uiConfig-CwpQ-IM6.js +0 -20
  249. package/dist/useModuleLoader-BFiVA41N.js +0 -432
  250. package/dist/vendor-preact-D6SntenC.js +0 -958
  251. package/dist/verificationResult-BrVbUJ4U.js +0 -97
  252. package/dist/verifiedByIncode-ChZBpqNy.js +0 -101
  253. package/dist/watchlistForBusiness-BcSNtHCV.js +0 -77
@@ -1,410 +0,0 @@
1
- import { n as e, t } from "./i18n-9s4OSqwi.js";
2
- import { _ as n, h as r, l as i, v as a } from "./vendor-preact-D6SntenC.js";
3
- import { o } from "./hooks-BVnGysT7.js";
4
- import { t as s } from "./incodeComponent-C1o4M0ZK.js";
5
- import { t as c } from "./page-C1yT4DLb.js";
6
- import { t as l } from "./button-DcCUEn2n.js";
7
- import { c as u, r as d } from "./icons-Cc7zwchP.js";
8
- import { t as f } from "./successIcon-DbILeIz_.js";
9
- import { t as p } from "./verificationResult-BrVbUJ4U.js";
10
- import { t as m } from "./checkbox-Cl57ltq_.js";
11
- import { t as h } from "./pdfViewer-BGBNL1Ea.js";
12
- import { t as g } from "./incodeModule-BqCjVgEI.js";
13
- import { createElectronicSignatureManager as _ } from "@incodetech/core/electronic-signature";
14
- //#region src/modules/electronic-signature/documentIllustration.tsx
15
- var v = () => /* @__PURE__ */ a("svg", {
16
- xmlns: "http://www.w3.org/2000/svg",
17
- width: "233",
18
- height: "289",
19
- viewBox: "0 0 233 289",
20
- fill: "none",
21
- "aria-hidden": "true",
22
- children: [
23
- /* @__PURE__ */ a("g", {
24
- filter: "url(#aes-doc-shadow)",
25
- children: [/* @__PURE__ */ a("path", {
26
- d: "M24 26C24 23.2386 26.2386 21 29 21H203.757C206.518 21 208.757 23.2386 208.757 26V256.421C208.757 259.182 206.518 261.421 203.757 261.421H29C26.2386 261.421 24 259.182 24 256.421V26Z",
27
- fill: "white"
28
- }), /* @__PURE__ */ a("path", {
29
- d: "M24 26C24 23.2386 26.2386 21 29 21H203.757C206.518 21 208.757 23.2386 208.757 26V256.421C208.757 259.182 206.518 261.421 203.757 261.421H29C26.2386 261.421 24 259.182 24 256.421V26Z",
30
- fill: "black",
31
- "fill-opacity": "0.01"
32
- })]
33
- }),
34
- /* @__PURE__ */ a("g", {
35
- opacity: "0.5",
36
- children: [
37
- /* @__PURE__ */ a("path", {
38
- "fill-rule": "evenodd",
39
- "clip-rule": "evenodd",
40
- d: "M39.7534 55.606C39.7534 55.1047 40.1599 54.6982 40.6613 54.6982H192.611C193.113 54.6982 193.519 55.1047 193.519 55.606V58.4219C193.519 58.9233 193.113 59.3297 192.611 59.3297H40.6613C40.1599 59.3297 39.7534 58.9233 39.7534 58.4219V55.606Z",
41
- fill: "#C6C8D2"
42
- }),
43
- /* @__PURE__ */ a("path", {
44
- "fill-rule": "evenodd",
45
- "clip-rule": "evenodd",
46
- d: "M39.7534 226.972C39.7534 226.47 40.1599 226.064 40.6613 226.064H192.611C193.113 226.064 193.519 226.47 193.519 226.972V229.788C193.519 230.289 193.113 230.695 192.611 230.695H40.6613C40.1599 230.695 39.7534 230.289 39.7534 229.788V226.972Z",
47
- fill: "#C6C8D2"
48
- }),
49
- /* @__PURE__ */ a("path", {
50
- d: "M39.7534 80.6165C39.7534 80.1152 40.1599 79.7087 40.6613 79.7087H100.908C101.409 79.7087 101.816 80.1152 101.816 80.6165V88.9902C101.816 89.4916 101.409 89.898 100.908 89.898H40.6613C40.1599 89.898 39.7534 89.4916 39.7534 88.9902L39.7534 80.6165Z",
51
- fill: "#C6C8D2"
52
- }),
53
- /* @__PURE__ */ a("path", {
54
- d: "M39.7534 100.069C39.7534 99.5676 40.1598 99.1612 40.6612 99.1612H100.908C101.409 99.1612 101.815 99.5676 101.815 100.069V108.443C101.815 108.944 101.409 109.35 100.908 109.35H40.6612C40.1598 109.35 39.7534 108.944 39.7534 108.443L39.7534 100.069Z",
55
- fill: "#C6C8D2"
56
- }),
57
- /* @__PURE__ */ a("path", {
58
- d: "M39.7376 119.521C39.7463 119.019 40.1598 118.62 40.6611 118.629L125.905 120.117C126.406 120.125 126.805 120.539 126.796 121.04L126.65 129.413C126.642 129.914 126.228 130.313 125.727 130.304L40.4833 128.817C39.982 128.808 39.5827 128.394 39.5914 127.893L39.7376 119.521Z",
59
- fill: "#C6C8D2"
60
- }),
61
- /* @__PURE__ */ a("path", {
62
- d: "M39.7376 138.973C39.7463 138.472 40.1598 138.072 40.6611 138.081L65.7043 138.518C66.2056 138.527 66.6049 138.941 66.5962 139.442L66.4824 145.962C66.4736 146.463 66.0602 146.862 65.5589 146.854L40.5156 146.417C40.0143 146.408 39.615 145.994 39.6238 145.493L39.7376 138.973Z",
63
- fill: "#C6C8D2"
64
- }),
65
- /* @__PURE__ */ a("path", {
66
- d: "M39.7534 32.4487C39.7534 31.9473 40.1599 31.5409 40.6613 31.5409H153.707C154.208 31.5409 154.615 31.9473 154.615 32.4487V41.7487C154.615 42.25 154.208 42.6565 153.707 42.6565H40.6613C40.1599 42.6565 39.7534 42.25 39.7534 41.7487V32.4487Z",
67
- fill: "#C6C8D2"
68
- }),
69
- /* @__PURE__ */ a("path", {
70
- d: "M170.362 31.5221C170.362 31.0208 170.768 30.6143 171.27 30.6143H192.611C193.113 30.6143 193.519 31.0208 193.519 31.5221V40.8221C193.519 41.3235 193.113 41.7299 192.611 41.7299H171.27C170.768 41.7299 170.362 41.3235 170.362 40.8221V31.5221Z",
71
- fill: "#C6C8D2"
72
- })
73
- ]
74
- }),
75
- /* @__PURE__ */ a("defs", { children: /* @__PURE__ */ a("filter", {
76
- id: "aes-doc-shadow",
77
- x: "0",
78
- y: "0",
79
- width: "232.757",
80
- height: "288.421",
81
- filterUnits: "userSpaceOnUse",
82
- "color-interpolation-filters": "sRGB",
83
- children: [
84
- /* @__PURE__ */ a("feFlood", {
85
- "flood-opacity": "0",
86
- result: "BackgroundImageFix"
87
- }),
88
- /* @__PURE__ */ a("feColorMatrix", {
89
- in: "SourceAlpha",
90
- type: "matrix",
91
- values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
92
- result: "hardAlpha"
93
- }),
94
- /* @__PURE__ */ a("feOffset", { dy: "3" }),
95
- /* @__PURE__ */ a("feGaussianBlur", { stdDeviation: "12" }),
96
- /* @__PURE__ */ a("feComposite", {
97
- in2: "hardAlpha",
98
- operator: "out"
99
- }),
100
- /* @__PURE__ */ a("feColorMatrix", {
101
- type: "matrix",
102
- values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"
103
- }),
104
- /* @__PURE__ */ a("feBlend", {
105
- mode: "normal",
106
- in2: "BackgroundImageFix",
107
- result: "effect1_dropShadow"
108
- }),
109
- /* @__PURE__ */ a("feBlend", {
110
- mode: "normal",
111
- in: "SourceGraphic",
112
- in2: "effect1_dropShadow",
113
- result: "shape"
114
- })
115
- ]
116
- }) })
117
- ]
118
- });
119
- //#endregion
120
- //#region src/modules/electronic-signature/consentItems.tsx
121
- function y() {
122
- return /* @__PURE__ */ a("span", { children: /* @__PURE__ */ a(t, {
123
- i18nKey: "aes.confirmSignature.terms1.title",
124
- components: { 2: /* @__PURE__ */ a("a", {
125
- href: "https://psc.incode.com/repositorio/",
126
- target: "_blank",
127
- rel: "noopener noreferrer"
128
- }) }
129
- }) });
130
- }
131
- function b(e) {
132
- return [
133
- {
134
- id: "terms",
135
- label: /* @__PURE__ */ a(y, {})
136
- },
137
- {
138
- id: "signElectronically",
139
- label: e("aes.confirmSignature.terms2.title")
140
- },
141
- {
142
- id: "signDisplayed",
143
- label: e("aes.confirmSignature.terms3.title")
144
- }
145
- ];
146
- }
147
- function x() {
148
- return /* @__PURE__ */ a("span", { children: /* @__PURE__ */ a(t, {
149
- i18nKey: "qes.newTermsCheck",
150
- components: {
151
- 2: /* @__PURE__ */ a("a", {
152
- href: "https://policies.incodesmile.com/terms-of-use/",
153
- target: "_blank",
154
- rel: "noopener noreferrer"
155
- }),
156
- 6: /* @__PURE__ */ a("a", {
157
- href: "https://policies.incodesmile.com/privacy-policy/",
158
- target: "_blank",
159
- rel: "noopener noreferrer"
160
- })
161
- }
162
- }) });
163
- }
164
- function S(e) {
165
- return [
166
- {
167
- id: "issuance",
168
- label: e("qes.issuanceCheck")
169
- },
170
- {
171
- id: "qesAcknowledgement",
172
- label: e("qes.qesAcknowledgementCheck")
173
- },
174
- {
175
- id: "qscdConfirmation",
176
- label: e("qes.qscdConfirmationCheck")
177
- },
178
- {
179
- id: "termsAgreement",
180
- label: /* @__PURE__ */ a(x, {})
181
- },
182
- {
183
- id: "documentsReviewed",
184
- label: e("qes.documentsReviewedCheck")
185
- }
186
- ];
187
- }
188
- function C(e, t) {
189
- return e === "qe" ? S(t) : b(t);
190
- }
191
- function w(e, t) {
192
- return e === "qe" ? {
193
- signingTitle: t("qes.consent.title"),
194
- signingSubtitle: t("qes.consent.text"),
195
- signButtonLabel: t("forms.button.continue")
196
- } : {
197
- signingTitle: t("aes.confirmSignature.title"),
198
- signingSubtitle: t("aes.confirmSignature.subtitle"),
199
- signButtonLabel: t("aes.confirmSignature.finishSigning")
200
- };
201
- }
202
- //#endregion
203
- //#region src/modules/electronic-signature/electronic-signature.tsx
204
- var T = ({ config: t, onFinish: s, onError: d }) => {
205
- let { t: g } = e(), [y, b] = o(() => _({ config: t })), x = i(null);
206
- n(() => {
207
- b.load();
208
- }, [b]);
209
- let S = y.status === "error" ? y.errorMessage : y.status;
210
- n(() => {
211
- y.status === "finished" ? s?.() : y.status === "closed" ? d?.("closed") : y.status === "error" && d?.(S);
212
- }, [
213
- y.status,
214
- S,
215
- s,
216
- d
217
- ]);
218
- let T = r((e) => {
219
- let t = e.target.files?.[0];
220
- if (!t) return;
221
- let n = new FileReader();
222
- n.onload = () => {
223
- if (n.result instanceof ArrayBuffer) {
224
- let e = URL.createObjectURL(new Blob([n.result], { type: "application/pdf" }));
225
- b.selectFile(t.name, n.result, e);
226
- }
227
- }, n.readAsArrayBuffer(t);
228
- }, [b]), D = r(() => {
229
- x.current?.click();
230
- }, []);
231
- if (y.status === "finished" || y.status === "closed") return null;
232
- if (y.status === "loading") return /* @__PURE__ */ a(p, {
233
- status: "submitting",
234
- submittingTitle: g("common.processing")
235
- });
236
- if (y.status === "uploading") return /* @__PURE__ */ a(c, {
237
- className: "IncodeElectronicSignature",
238
- title: g("aes.confirmSignature.uploadTitle"),
239
- subtitle: g("aes.confirmSignature.uploadDescription"),
240
- children: [/* @__PURE__ */ a("div", {
241
- className: "IncodeElectronicSignatureUploadBody",
242
- children: [/* @__PURE__ */ a("div", {
243
- className: "IncodeElectronicSignatureIllustration",
244
- children: /* @__PURE__ */ a(v, {})
245
- }), /* @__PURE__ */ a("input", {
246
- ref: x,
247
- type: "file",
248
- accept: "application/pdf",
249
- className: "IncodeElectronicSignatureFileInput",
250
- onChange: T
251
- })]
252
- }), /* @__PURE__ */ a("div", {
253
- className: "IncodeElectronicSignatureFooter",
254
- children: /* @__PURE__ */ a(l, {
255
- onClick: D,
256
- children: g("aes.confirmSignature.addDocument")
257
- })
258
- })]
259
- });
260
- if (y.status === "reviewing") return /* @__PURE__ */ a(E, {
261
- state: y,
262
- manager: b,
263
- t: g
264
- });
265
- if (y.status === "processing") return /* @__PURE__ */ a(p, {
266
- status: "submitting",
267
- submittingTitle: g("common.processing")
268
- });
269
- if (y.status === "success") return y.downloadDocument ? /* @__PURE__ */ a(c, {
270
- className: "IncodeElectronicSignature IncodeElectronicSignatureSuccess",
271
- children: [/* @__PURE__ */ a("div", {
272
- className: "IncodeElectronicSignatureSuccessCenter",
273
- children: [/* @__PURE__ */ a(f, { size: 64 }), /* @__PURE__ */ a("p", {
274
- className: "IncodeElectronicSignatureSuccessTitle",
275
- children: g("signature.successTitle")
276
- })]
277
- }), /* @__PURE__ */ a("div", {
278
- className: "IncodeElectronicSignatureFooter",
279
- children: [/* @__PURE__ */ a(l, {
280
- onClick: () => b.finish(),
281
- children: g("common.continue")
282
- }), y.signedDocuments.map((e, t) => /* @__PURE__ */ a("a", {
283
- href: e.signedDocumentUrl,
284
- target: "_blank",
285
- rel: "noopener noreferrer",
286
- className: "IncodeElectronicSignatureDownloadLink",
287
- children: g("aes.confirmSignature.downloadDocument")
288
- }, t))]
289
- })]
290
- }) : /* @__PURE__ */ a(p, {
291
- status: "success",
292
- successTitle: g("signature.successTitle")
293
- });
294
- if (y.status === "error") return /* @__PURE__ */ a(p, {
295
- status: "warning",
296
- warningTitle: g("aes.confirmSignature.fail"),
297
- onRetry: () => b.retry()
298
- });
299
- if (y.status === "signing") {
300
- if (y.viewingDocumentUrl) return /* @__PURE__ */ a(c, {
301
- className: "IncodeElectronicSignature",
302
- children: [/* @__PURE__ */ a("div", {
303
- className: "IncodeElectronicSignatureDocViewHeader",
304
- children: /* @__PURE__ */ a(l, {
305
- size: "M",
306
- variant: "link",
307
- class: "IncodeElectronicSignatureBackButton",
308
- icon: /* @__PURE__ */ a(u, { variant: "m" }),
309
- onClick: () => b.closeDocumentView(),
310
- "aria-label": g("common.back")
311
- })
312
- }), /* @__PURE__ */ a(h, {
313
- url: y.viewingDocumentUrl,
314
- mode: "full",
315
- className: "IncodeElectronicSignatureDocViewer",
316
- "aria-label": g("aes.confirmSignature.viewDocument")
317
- })]
318
- });
319
- let e = y.variant, t = C(e, g), n = w(e, g);
320
- return /* @__PURE__ */ a(c, {
321
- className: "IncodeElectronicSignature",
322
- title: n.signingTitle,
323
- subtitle: n.signingSubtitle,
324
- children: [/* @__PURE__ */ a("div", {
325
- className: "IncodeElectronicSignatureSigningTop",
326
- children: /* @__PURE__ */ a("div", {
327
- className: "IncodeElectronicSignatureDocContainer",
328
- children: y.documents.map((e, t) => /* @__PURE__ */ a("div", {
329
- className: "IncodeElectronicSignatureDocRow",
330
- children: [/* @__PURE__ */ a("span", {
331
- className: "IncodeElectronicSignatureDocRowName",
332
- children: [
333
- g("aes.confirmSignature.contract"),
334
- t === 0 ? "" : `${t + 1}`,
335
- ".pdf"
336
- ]
337
- }), /* @__PURE__ */ a("button", {
338
- type: "button",
339
- className: "IncodeElectronicSignatureDocRowAction",
340
- onClick: () => b.viewDocument(e.documentUrl),
341
- children: g("aes.confirmSignature.viewDocument")
342
- })]
343
- }, e.documentRef))
344
- })
345
- }), /* @__PURE__ */ a("div", {
346
- className: "IncodeElectronicSignatureSigningBottom",
347
- children: [/* @__PURE__ */ a("div", {
348
- className: "IncodeElectronicSignatureConsents",
349
- children: t.map((e) => /* @__PURE__ */ a(m, {
350
- id: `es-${e.id}`,
351
- label: e.label,
352
- size: "s",
353
- checked: !!y.consentChecks[e.id],
354
- onChange: () => b.setConsent(e.id, !y.consentChecks[e.id])
355
- }, e.id))
356
- }), /* @__PURE__ */ a("div", {
357
- className: "IncodeElectronicSignatureFooter",
358
- children: /* @__PURE__ */ a(l, {
359
- onClick: () => b.sign(),
360
- disabled: !y.allConsented,
361
- children: n.signButtonLabel
362
- })
363
- })]
364
- })]
365
- });
366
- }
367
- return null;
368
- }, E = ({ state: e, manager: t, t: r }) => (n(() => () => URL.revokeObjectURL(e.fileUrl), [e.fileUrl]), /* @__PURE__ */ a(c, {
369
- className: "IncodeElectronicSignature",
370
- title: r("aes.reviewDocument.title"),
371
- subtitle: r("aes.reviewDocument.subtitle"),
372
- children: [/* @__PURE__ */ a("div", {
373
- className: "IncodeElectronicSignatureReviewBody",
374
- children: [/* @__PURE__ */ a("div", {
375
- className: "IncodeElectronicSignatureReviewCard",
376
- children: [/* @__PURE__ */ a("div", {
377
- className: "IncodeElectronicSignatureDocPreview",
378
- children: /* @__PURE__ */ a(h, {
379
- url: e.fileUrl,
380
- mode: "thumbnail",
381
- className: "IncodeElectronicSignatureDocPreviewObject",
382
- "aria-label": e.fileName
383
- })
384
- }), /* @__PURE__ */ a("p", {
385
- className: "IncodeElectronicSignatureDocName",
386
- children: e.fileName
387
- })]
388
- }), /* @__PURE__ */ a("div", {
389
- className: "IncodeElectronicSignatureEncrypted",
390
- children: [/* @__PURE__ */ a(d, { className: "IncodeElectronicSignatureEncryptedIcon" }), /* @__PURE__ */ a("span", { children: r("encryptionLabel.encryptedPhotos") })]
391
- })]
392
- }), /* @__PURE__ */ a("div", {
393
- className: "IncodeElectronicSignatureFooter",
394
- children: [/* @__PURE__ */ a(l, {
395
- onClick: () => t.confirmFile(),
396
- children: r("common.continue")
397
- }), /* @__PURE__ */ a(l, {
398
- variant: "secondary",
399
- onClick: () => t.replaceFile(),
400
- children: r("aes.reviewDocument.replace")
401
- })]
402
- })]
403
- })), D = ({ config: e, onFinish: t, onError: n }) => /* @__PURE__ */ a(s, { children: e ? /* @__PURE__ */ a(T, {
404
- config: e,
405
- onFinish: t,
406
- onError: n
407
- }) : null }), O = D;
408
- g(D, "incode-electronic-signature");
409
- //#endregion
410
- export { D as n, O as t };
@@ -1,37 +0,0 @@
1
- import { n as e } from "./i18n-9s4OSqwi.js";
2
- import { v as t } from "./vendor-preact-D6SntenC.js";
3
- import "./extensibility-CzEJfRwo.js";
4
- import { t as n } from "./inputComposed-APSw8C7o.js";
5
- //#region src/modules/email/emailInput.tsx
6
- var r = /^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/, i = ({ value: i, emailError: a, label: o, disabled: s = !1, required: c = !1, onEmailChange: l, onBlur: u }) => {
7
- let { t: d } = e(), f = (e) => {
8
- let t = e.target.value.trim();
9
- l(t, t.length > 0 && r.test(t));
10
- }, p = a ? "email-error" : void 0;
11
- return /* @__PURE__ */ t("div", {
12
- class: "IncodeEmailInput",
13
- children: /* @__PURE__ */ t("div", {
14
- class: "IncodeEmailInputContainer",
15
- onFocusOut: u,
16
- children: /* @__PURE__ */ t(n, {
17
- id: "email-input",
18
- type: "email",
19
- value: i,
20
- onInput: f,
21
- placeholder: d("email.placeholder"),
22
- disabled: s,
23
- required: c,
24
- label: o,
25
- "data-testid": "email-input",
26
- "aria-label": o ? void 0 : "Email address",
27
- "aria-invalid": a ? "true" : void 0,
28
- "aria-describedby": p || void 0,
29
- autocomplete: "email",
30
- error: a,
31
- showErrorIcon: !0
32
- })
33
- })
34
- });
35
- };
36
- //#endregion
37
- export { i as t };
@@ -1,70 +0,0 @@
1
- import { n as e } from "./i18n-9s4OSqwi.js";
2
- import { _ as t, l as n, v as r } from "./vendor-preact-D6SntenC.js";
3
- import { r as i } from "./loadingIcon-BN5YRQUb.js";
4
- import { t as a } from "./page-C1yT4DLb.js";
5
- import { t as o } from "./typography-CxjaknHN.js";
6
- import { t as s } from "./button-DcCUEn2n.js";
7
- //#region src/shared/icons/redStrikeIcon.tsx
8
- var c = ({ className: e, ...t }) => /* @__PURE__ */ r("svg", {
9
- class: e,
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
- ...t,
17
- children: /* @__PURE__ */ r("path", {
18
- d: "M16.5 0C25.3219 0 32.5 7.17642 32.5 16C32.5 24.8219 25.3219 32 16.5 32C7.67811 32 0.5 24.8219 0.5 16C0.5 7.17642 7.67811 0 16.5 0ZM13.6553 11.3701C13.1618 10.8767 12.3636 10.8767 11.8701 11.3701C11.3767 11.8636 11.3767 12.6618 11.8701 13.1553L14.9053 16.1924L11.8721 19.2256C11.3803 19.7191 11.3803 20.5173 11.8721 21.0107C12.3656 21.504 13.1658 21.5041 13.6592 21.0107L16.6924 17.9775L19.7334 21.0205C19.981 21.2664 20.3029 21.3916 20.6279 21.3916C20.9513 21.3916 21.2746 21.2664 21.5205 21.0205C22.014 20.527 22.014 19.7269 21.5205 19.2334L18.4775 16.1924L21.5107 13.1572C22.0041 12.6638 22.004 11.8639 21.5107 11.3721C21.0173 10.8786 20.2191 10.8786 19.7256 11.3721L16.6904 14.4053L13.6553 11.3701Z",
19
- fill: "#E71111"
20
- })
21
- }), l = ({ onRetry: l, onContinue: u, attemptsRemaining: d }) => {
22
- let { t: f } = e(), p = n(null);
23
- return t(() => {
24
- p.current?.focus();
25
- }, []), /* @__PURE__ */ r(a, {
26
- hideHeader: !0,
27
- hideFooterBranding: !0,
28
- className: "IncodeIdExpiredPage",
29
- "data-testid": "expired-id",
30
- children: [/* @__PURE__ */ r("div", {
31
- class: "IncodeIdExpiredContent",
32
- role: "alert",
33
- children: [
34
- /* @__PURE__ */ r(c, { className: "IncodeIdExpiredIcon" }),
35
- /* @__PURE__ */ r(o, {
36
- ref: p,
37
- tabIndex: -1,
38
- className: "IncodeIdExpiredTitle",
39
- children: f("idv2.capture.notifications.expiredId")
40
- }),
41
- /* @__PURE__ */ r(i, { size: 12 }),
42
- /* @__PURE__ */ r("p", {
43
- class: "IncodeIdExpiredSubtitle",
44
- children: f("idv2.capture.expiredId.pleaseTryWithADifferentId")
45
- }),
46
- /* @__PURE__ */ r(i, { size: 80 }),
47
- d === void 0 ? null : /* @__PURE__ */ r("p", {
48
- class: "IncodeIdExpiredAttemptsCounter",
49
- "data-testid": "expired-id-attempts-counter",
50
- children: `${d} ${f("idv2.capture.processing.attemptsRemainingLabel")}`
51
- })
52
- ]
53
- }), /* @__PURE__ */ r("div", {
54
- class: "IncodeIdExpiredButtonContainer",
55
- children: l ? /* @__PURE__ */ r(s, {
56
- variant: "primary",
57
- onClick: l,
58
- "data-testid": "expired-id-retry",
59
- children: f("idv2.capture.processing.tryAgain")
60
- }) : u ? /* @__PURE__ */ r(s, {
61
- variant: "primary",
62
- onClick: u,
63
- "data-testid": "expired-id-continue",
64
- children: f("idv2.capture.processing.continue")
65
- }) : null
66
- })]
67
- });
68
- };
69
- //#endregion
70
- export { c as n, l as t };