@incodetech/web 0.0.0-dev-20260512-e44bacb → 0.0.0-dev-20260512-cffbe28

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 (98) hide show
  1. package/dist/ae-signature/ae-signature.es.js +2 -2
  2. package/dist/antifraud/antifraud.es.js +2 -2
  3. package/dist/authentication/authentication.es.js +3 -3
  4. package/dist/base.css +6 -0
  5. package/dist/{browser-ponyfill-Dxc09_1M.js → browser-ponyfill-jOkuz57z.js} +1 -1
  6. package/dist/consent/consent.es.js +7 -7
  7. package/dist/{countrySelector-B_dpv3Ku.js → countrySelector-CE-JgIsv.js} +1 -1
  8. package/dist/{cpfOcr-BzoRvWuh.js → cpfOcr-D_tbwbvh.js} +2 -2
  9. package/dist/cross-document-data-match/cross-document-data-match.es.js +2 -2
  10. package/dist/curp-validation/curp-validation.es.js +7 -7
  11. package/dist/{customFields-DMNKnPeF.js → customFields-XNSZW9aT.js} +5 -5
  12. package/dist/{customWatchlist-BT1PQfoG.js → customWatchlist-D9_yjEQd.js} +4 -4
  13. package/dist/{documentCapture-C2ShzJz0.js → documentCapture-CmpDAi-b.js} +6 -6
  14. package/dist/{dynamicForms-BskEgMp6.js → dynamicForms-C87184mM.js} +6 -6
  15. package/dist/ekyb/ekyb.es.js +1 -1
  16. package/dist/{ekybModule-C-ai_jbO.js → ekybModule-B7aXUyND.js} +9 -9
  17. package/dist/ekybModule-CjorSMlz.js +2 -0
  18. package/dist/ekyc/ekyc.es.js +1 -1
  19. package/dist/ekycModule-BEV9bscS.js +2 -0
  20. package/dist/{ekycModule-D8hE3f2j.js → ekycModule-BhJZJtUg.js} +8 -8
  21. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  22. package/dist/electronic-signature-COYXjGdd.js +410 -0
  23. package/dist/email/email.es.js +6 -6
  24. package/dist/{emailInput-DVWYLpWZ.js → emailInput-DxOUZ6q9.js} +2 -2
  25. package/dist/{extensibility-DLD2ewgY.js → extensibility-nooh7iBl.js} +20 -20
  26. package/dist/extensibility.es.js +9 -9
  27. package/dist/face-match/face-match.es.js +1 -1
  28. package/dist/faceMatch-B8j0g0Yo.js +2 -0
  29. package/dist/{faceMatch-B6hGcl2-.js → faceMatch-BV8UD7tj.js} +6 -6
  30. package/dist/flow/flow.es.js +6 -6
  31. package/dist/flow/styles.css +211 -0
  32. package/dist/{formField-BkU7EVsS.js → formField-D64FA7nt.js} +1 -1
  33. package/dist/geolocation/geolocation.es.js +4 -4
  34. package/dist/governmentValidation/governmentValidation.es.js +6 -6
  35. package/dist/{homeScreen-DprCAAmv.js → homeScreen-3D6x-cBC.js} +1 -1
  36. package/dist/{i18n-BnVa5Y-_.js → i18n-9s4OSqwi.js} +2 -2
  37. package/dist/id/id.es.js +566 -106
  38. package/dist/id/styles.css +206 -0
  39. package/dist/id-laser-v-CrFg4bcJ.js +483 -0
  40. package/dist/{idOcr-jPSf8Tqv.js → idOcr-DBKHD3Bj.js} +7 -7
  41. package/dist/identity-reuse/identity-reuse.es.js +4 -4
  42. package/dist/{incodeComponent-9ZUPvQgC.js → incodeComponent-C1o4M0ZK.js} +1 -1
  43. package/dist/index.es.js +1 -1
  44. package/dist/{mandatoryConsent-BVUiGOKK.js → mandatoryConsent-DssKMC3v.js} +6 -6
  45. package/dist/{optionAccessibleLabel-BNqnKbwB.js → optionAccessibleLabel-C7-aj_mC.js} +2 -2
  46. package/dist/{otpInput-CLo5__yb.js → otpInput-DqRA_egd.js} +1 -1
  47. package/dist/page-C1yT4DLb.js +69 -0
  48. package/dist/{pdf-BK9eYHAw.js → pdf-BurGZ08w.js} +1 -1
  49. package/dist/{electronic-signature-BeiUCIMV.js → pdfViewer-BGBNL1Ea.js} +40 -444
  50. package/dist/phone/phone.es.js +5 -5
  51. package/dist/{processing-c8ep-KSh.js → processing-G_y3o32b.js} +1 -1
  52. package/dist/qe-signature/qe-signature.es.js +2 -2
  53. package/dist/{redirectToMobile-Cg-BpzrT.js → redirectToMobile-DOeLyMDI.js} +8 -8
  54. package/dist/{richText-gJTUJEMX.js → richText-DbJ5sl2n.js} +1 -1
  55. package/dist/{rolldown-runtime-CjdbFOpI.js → rolldown-runtime-CYMK-g2i.js} +10 -3
  56. package/dist/selfie/selfie.es.js +6 -6
  57. package/dist/signature/signature.es.js +7 -7
  58. package/dist/{statusPage-BvmC0O1t.js → statusPage-CUI7ApcU.js} +1 -1
  59. package/dist/themes/dark.css +13 -0
  60. package/dist/themes/light.css +13 -0
  61. package/dist/{transitionSpinner-av72n-l1.js → transitionSpinner-PIEPU2Vx.js} +1 -1
  62. package/dist/{tutorial-BvRU4P4P.js → tutorial-1c6hXrCH.js} +4 -4
  63. package/dist/types/extensibility.d.ts +3 -1
  64. package/dist/{useModuleLoader-Ba3tFoor.js → useModuleLoader-B5mEMi4X.js} +15 -15
  65. package/dist/{verificationResult-9weGpvn5.js → verificationResult-BrVbUJ4U.js} +2 -2
  66. package/dist/watchlist/watchlist.es.js +4 -4
  67. package/dist/{watchlistForBusiness-CmUsOcQQ.js → watchlistForBusiness-BcSNtHCV.js} +6 -6
  68. package/dist/workflow/styles.css +211 -0
  69. package/dist/workflow/workflow.es.js +7 -7
  70. package/package.json +2 -2
  71. package/dist/ekybModule-B7UFEkEF.js +0 -2
  72. package/dist/ekycModule-DiBt3eF8.js +0 -2
  73. package/dist/faceMatch-Dh01E8Zv.js +0 -2
  74. package/dist/id-laser-v-BLY6XMRK.js +0 -467
  75. package/dist/page-DCsXSlHl.js +0 -62
  76. /package/dist/{aligndevicelottie-CpAPbotJ.js → aligndevicelottie-DoV8xKjh.js} +0 -0
  77. /package/dist/{autoFocusTitle-C01okScG.js → autoFocusTitle-QexamZ4i.js} +0 -0
  78. /package/dist/{back-horizontal-hint-C_wAUpW0.js → back-horizontal-hint-B8Brxh3U.js} +0 -0
  79. /package/dist/{back-tutorial-H9SCe0gx.js → back-tutorial-1NOQobGO.js} +0 -0
  80. /package/dist/{back-vertical-hint-C9xK0aN8.js → back-vertical-hint-BBo36dxn.js} +0 -0
  81. /package/dist/{backdevicelottie-Dx1dP2K0.js → backdevicelottie-C_ceuqY7.js} +0 -0
  82. /package/dist/{blurdevicelottie-DCVb3_MF.js → blurdevicelottie-UO14Y0WC.js} +0 -0
  83. /package/dist/{defineProperty-CqT6YdHJ.js → defineProperty-Dh8nSJpJ.js} +0 -0
  84. /package/dist/{flip-animation-CviBXTS-.js → flip-animation-CgwRsEmK.js} +0 -0
  85. /package/dist/{front-horizontal-hint-SvDdygvL.js → front-horizontal-hint-DGGGi8e1.js} +0 -0
  86. /package/dist/{front-vertical-hint-vIniWZ_9.js → front-vertical-hint-CNr5mE6Q.js} +0 -0
  87. /package/dist/{frontdevicelottie-6sxr3oQH.js → frontdevicelottie-Bu6f9fDE.js} +0 -0
  88. /package/dist/{glaredevicelottie--PlYPjZt.js → glaredevicelottie-B10axYs_.js} +0 -0
  89. /package/dist/{id-laser-h-D0KN9qFd.js → id-laser-h-mBAzHVOK.js} +0 -0
  90. /package/dist/{id-tutorial-Dnuu_ZUb.js → id-tutorial-BCr42Pnn.js} +0 -0
  91. /package/dist/{incodeModule-D_r2n18O.js → incodeModule-BqCjVgEI.js} +0 -0
  92. /package/dist/{passport-horizontal-hint-Bxb4tVrA.js → passport-horizontal-hint-Bgquwtac.js} +0 -0
  93. /package/dist/{passport-tutorial-CFp2zeDJ.js → passport-tutorial-DwRwtPVX.js} +0 -0
  94. /package/dist/{passport-vertical-hint-D6hgaXKT.js → passport-vertical-hint-BT1D5BrW.js} +0 -0
  95. /package/dist/{requiredLabelHint-J9rEJWcF.js → requiredLabelHint-BLwgqozE.js} +0 -0
  96. /package/dist/{selfieTutorial-1QMt37Us.js → selfieTutorial-BgrlUMXP.js} +0 -0
  97. /package/dist/{snackbar-BVeXpux9.js → snackbar-BDp8x7Cv.js} +0 -0
  98. /package/dist/{tabs-MPYTnMQG.js → tabs-BOKcbiVy.js} +0 -0
@@ -0,0 +1,410 @@
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,13 +1,13 @@
1
- import { n as e } from "../i18n-BnVa5Y-_.js";
1
+ import { n as e } from "../i18n-9s4OSqwi.js";
2
2
  import { _ as t, p as n, v as r } from "../vendor-preact-D6SntenC.js";
3
3
  import { o as i } from "../hooks-BVnGysT7.js";
4
- import { t as a } from "../incodeComponent-9ZUPvQgC.js";
4
+ import { t as a } from "../incodeComponent-C1o4M0ZK.js";
5
5
  import { r as o } from "../loadingIcon-BN5YRQUb.js";
6
- import { t as s } from "../page-DCsXSlHl.js";
6
+ import { t as s } from "../page-C1yT4DLb.js";
7
7
  import { t as c } from "../button-DcCUEn2n.js";
8
- import { t as l } from "../otpInput-CLo5__yb.js";
9
- import { t as u } from "../incodeModule-D_r2n18O.js";
10
- import { t as d } from "../emailInput-DVWYLpWZ.js";
8
+ import { t as l } from "../otpInput-DqRA_egd.js";
9
+ import { t as u } from "../incodeModule-BqCjVgEI.js";
10
+ import { t as d } from "../emailInput-DxOUZ6q9.js";
11
11
  import { createEmailManager as f } from "@incodetech/core/email";
12
12
  //#region src/modules/email/email.tsx
13
13
  function p(e) {
@@ -1,6 +1,6 @@
1
- import { n as e } from "./i18n-BnVa5Y-_.js";
1
+ import { n as e } from "./i18n-9s4OSqwi.js";
2
2
  import { v as t } from "./vendor-preact-D6SntenC.js";
3
- import "./extensibility-DLD2ewgY.js";
3
+ import "./extensibility-nooh7iBl.js";
4
4
  import { t as n } from "./inputComposed-APSw8C7o.js";
5
5
  //#region src/modules/email/emailInput.tsx
6
6
  var r = /^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/, i = ({ value: i, emailError: a, label: o, disabled: s = !1, required: c = !1, onEmailChange: l, onBlur: u }) => {
@@ -1,25 +1,25 @@
1
- import { n as e } from "./i18n-BnVa5Y-_.js";
1
+ import { n as e } from "./i18n-9s4OSqwi.js";
2
2
  import { S as t, _ as n, a as r, c as i, d as a, h as o, l as s, o as c, p as l, v as u } from "./vendor-preact-D6SntenC.js";
3
3
  import "./uiConfig-CwpQ-IM6.js";
4
4
  import { n as d, t as f } from "./hooks-BVnGysT7.js";
5
- import "./incodeComponent-9ZUPvQgC.js";
5
+ import "./incodeComponent-C1o4M0ZK.js";
6
6
  import { n as p, r as m } from "./loadingIcon-BN5YRQUb.js";
7
- import { t as h } from "./page-DCsXSlHl.js";
7
+ import { t as h } from "./page-C1yT4DLb.js";
8
8
  import { t as g } from "./typography-CxjaknHN.js";
9
9
  import { t as _ } from "./spinner-CKnjVHxw.js";
10
10
  import "./spinner-B4dcie2T.js";
11
- import "./processing-c8ep-KSh.js";
11
+ import "./processing-G_y3o32b.js";
12
12
  import { t as v } from "./button-DcCUEn2n.js";
13
13
  import { f as y, g as b, i as x, m as S, r as C, s as w, t as T } from "./icons-Cc7zwchP.js";
14
14
  import { t as E } from "./successIcon-DbILeIz_.js";
15
15
  import { t as D } from "./modal-XTO80Vsu.js";
16
- import { a as O, i as k } from "./tutorial-BvRU4P4P.js";
17
- import "./verificationResult-9weGpvn5.js";
16
+ import { a as O, i as k } from "./tutorial-1c6hXrCH.js";
17
+ import "./verificationResult-BrVbUJ4U.js";
18
18
  import "./inputComposed-APSw8C7o.js";
19
19
  import "./inputComposed-XYrarFxS.js";
20
- import "./otpInput-CLo5__yb.js";
20
+ import "./otpInput-DqRA_egd.js";
21
21
  import "./checkbox-Cl57ltq_.js";
22
- import "./formField-BkU7EVsS.js";
22
+ import "./formField-D64FA7nt.js";
23
23
  import "./phoneInputComposed-bvWhGLFZ.js";
24
24
  import "./dropdownComposed-DwTzc2YU.js";
25
25
  import "./dateInputComposed-DU3o6PAV.js";
@@ -910,9 +910,9 @@ var q = ({ stream: e, onCapture: t, disabled: r }) => {
910
910
  return n(() => {
911
911
  d.current?.focus();
912
912
  }, []), n(() => {
913
- f ? import("./id-laser-h-D0KN9qFd.js").then((e) => {
913
+ f ? import("./id-laser-h-mBAzHVOK.js").then((e) => {
914
914
  m(e.default);
915
- }) : import("./id-laser-v-BLY6XMRK.js").then((e) => {
915
+ }) : import("./id-laser-v-CrFg4bcJ.js").then((e) => e.n).then((e) => {
916
916
  m(e.default);
917
917
  });
918
918
  }, [f]), /* @__PURE__ */ u(me, {
@@ -1083,11 +1083,11 @@ var q = ({ stream: e, onCapture: t, disabled: r }) => {
1083
1083
  })]
1084
1084
  });
1085
1085
  }, Q = /* @__PURE__ */ new Map(), be = !1, $ = {
1086
- blur: () => import("./blurdevicelottie-DCVb3_MF.js"),
1087
- glare: () => import("./glaredevicelottie--PlYPjZt.js"),
1088
- align: () => import("./aligndevicelottie-CpAPbotJ.js"),
1089
- front: () => import("./frontdevicelottie-6sxr3oQH.js"),
1090
- back: () => import("./backdevicelottie-Dx1dP2K0.js")
1086
+ blur: () => import("./blurdevicelottie-UO14Y0WC.js"),
1087
+ glare: () => import("./glaredevicelottie-B10axYs_.js"),
1088
+ align: () => import("./aligndevicelottie-DoV8xKjh.js"),
1089
+ front: () => import("./frontdevicelottie-Bu6f9fDE.js"),
1090
+ back: () => import("./backdevicelottie-C_ceuqY7.js")
1091
1091
  };
1092
1092
  function xe(e) {
1093
1093
  be || (be = !0, Promise.all([
@@ -1249,7 +1249,7 @@ var Te = ({ detectionStatus: r, mode: i, isCapturing: a }) => {
1249
1249
  ]
1250
1250
  })
1251
1251
  }) : null] });
1252
- }, Ee = i(() => import("./front-horizontal-hint-SvDdygvL.js")), De = i(() => import("./front-vertical-hint-vIniWZ_9.js")), Oe = i(() => import("./back-horizontal-hint-C_wAUpW0.js")), ke = i(() => import("./back-vertical-hint-C9xK0aN8.js")), Ae = i(() => import("./passport-horizontal-hint-Bxb4tVrA.js")), je = i(() => import("./passport-vertical-hint-D6hgaXKT.js")), Me = {
1252
+ }, Ee = i(() => import("./front-horizontal-hint-DGGGi8e1.js")), De = i(() => import("./front-vertical-hint-CNr5mE6Q.js")), Oe = i(() => import("./back-horizontal-hint-B8Brxh3U.js")), ke = i(() => import("./back-vertical-hint-BBo36dxn.js")), Ae = i(() => import("./passport-horizontal-hint-Bgquwtac.js")), je = i(() => import("./passport-vertical-hint-BT1D5BrW.js")), Me = {
1253
1253
  "front-horizontal": 348,
1254
1254
  "back-horizontal": 348,
1255
1255
  "passport-horizontal": 342
@@ -1477,11 +1477,11 @@ var Fe = ({ mode: e, orientation: t, onAnimationEnd: r }) => {
1477
1477
  }, ze = ({ manager: t, state: r }) => {
1478
1478
  let { t: i } = e(), [a, o] = l(!1), [s, c] = l(null), d = r.selectedDocumentType === "passport", f = r.currentMode === "back";
1479
1479
  n(() => {
1480
- d ? import("./passport-tutorial-CFp2zeDJ.js").then((e) => {
1480
+ d ? import("./passport-tutorial-DwRwtPVX.js").then((e) => {
1481
1481
  c(e.default);
1482
- }) : f ? import("./back-tutorial-H9SCe0gx.js").then((e) => {
1482
+ }) : f ? import("./back-tutorial-1NOQobGO.js").then((e) => {
1483
1483
  c(e.default);
1484
- }) : import("./id-tutorial-Dnuu_ZUb.js").then((e) => {
1484
+ }) : import("./id-tutorial-BCr42Pnn.js").then((e) => {
1485
1485
  c(e.default);
1486
1486
  });
1487
1487
  }, [d, f]);
@@ -2565,7 +2565,7 @@ var He = ({ manager: t, state: n }) => {
2565
2565
  }, Ue = ({ manager: t, direction: r }) => {
2566
2566
  let [i, a] = l(null), [s, c] = l(!1), { t: d } = e();
2567
2567
  n(() => {
2568
- import("./flip-animation-CviBXTS-.js").then((e) => {
2568
+ import("./flip-animation-CgwRsEmK.js").then((e) => {
2569
2569
  a(e.default);
2570
2570
  });
2571
2571
  }, []);
@@ -1,23 +1,23 @@
1
- import { n as e } from "./i18n-BnVa5Y-_.js";
1
+ import { n as e } from "./i18n-9s4OSqwi.js";
2
2
  import { t } from "./uiConfig-CwpQ-IM6.js";
3
3
  import { a as n, o as r } from "./hooks-BVnGysT7.js";
4
- import { n as i, t as a } from "./incodeComponent-9ZUPvQgC.js";
4
+ import { n as i, t as a } from "./incodeComponent-C1o4M0ZK.js";
5
5
  import { r as o } from "./loadingIcon-BN5YRQUb.js";
6
- import { t as s } from "./page-DCsXSlHl.js";
7
- import { _ as c, a as l, c as u, d, f, g as p, h as m, i as h, l as g, m as _, n as v, o as y, p as b, r as x, s as S, t as C, u as w, v as T, y as E } from "./extensibility-DLD2ewgY.js";
6
+ import { t as s } from "./page-C1yT4DLb.js";
7
+ import { _ as c, a as l, c as u, d, f, g as p, h as m, i as h, l as g, m as _, n as v, o as y, p as b, r as x, s as S, t as C, u as w, v as T, y as E } from "./extensibility-nooh7iBl.js";
8
8
  import { a as D, i as O, n as k, o as A, r as j, t as M } from "./typography-CxjaknHN.js";
9
9
  import { t as N } from "./spinner-CKnjVHxw.js";
10
- import { t as P } from "./processing-c8ep-KSh.js";
10
+ import { t as P } from "./processing-G_y3o32b.js";
11
11
  import { t as F } from "./button-DcCUEn2n.js";
12
12
  import { a as I, c as L, d as R, f as z, g as B, h as V, i as H, l as U, m as W, n as G, o as K, p as q, r as J, s as Y, t as X, u as Z } from "./icons-Cc7zwchP.js";
13
13
  import { t as Q } from "./successIcon-DbILeIz_.js";
14
14
  import { t as $ } from "./modal-XTO80Vsu.js";
15
- import { a as ee, i as te, n as ne, o as re, r as ie, t as ae } from "./tutorial-BvRU4P4P.js";
16
- import { t as oe } from "./verificationResult-9weGpvn5.js";
15
+ import { a as ee, i as te, n as ne, o as re, r as ie, t as ae } from "./tutorial-1c6hXrCH.js";
16
+ import { t as oe } from "./verificationResult-BrVbUJ4U.js";
17
17
  import { n as se, t as ce } from "./inputComposed-APSw8C7o.js";
18
- import { t as le } from "./otpInput-CLo5__yb.js";
18
+ import { t as le } from "./otpInput-DqRA_egd.js";
19
19
  import { t as ue } from "./checkbox-Cl57ltq_.js";
20
- import { t as de } from "./formField-BkU7EVsS.js";
20
+ import { t as de } from "./formField-D64FA7nt.js";
21
21
  import { i as fe, n as pe, r as me, t as he } from "./phoneInputComposed-bvWhGLFZ.js";
22
22
  import { t as ge } from "./dropdownComposed-DFRBG22E.js";
23
23
  import { t as _e } from "./dateInputComposed-BpAGsjN6.js";
@@ -1,2 +1,2 @@
1
- import { t as e } from "../faceMatch-B6hGcl2-.js";
1
+ import { t as e } from "../faceMatch-BV8UD7tj.js";
2
2
  export { e as FaceMatch };
@@ -0,0 +1,2 @@
1
+ import { t as e } from "./faceMatch-BV8UD7tj.js";
2
+ export { e as FaceMatch };