@incodetech/web 0.0.0-dev-20260422-96fafd7 → 0.0.0-dev-20260422-4a0d0e6
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.
- package/dist/{addressAutocomplete-DgObOJ6o.js → addressAutocomplete-uNWmxnW9.js} +47 -38
- package/dist/ae-signature/ae-signature.es.js +2 -2
- package/dist/antifraud/antifraud.es.js +2 -2
- package/dist/authentication/authentication.es.js +3 -3
- package/dist/base.css +193 -0
- package/dist/{bottomSheet-D7Bcy6_9.js → bottomSheet-CGGwLnNk.js} +1 -1
- package/dist/consent/consent.es.js +5 -5
- package/dist/cross-document-data-match/cross-document-data-match.es.js +2 -2
- package/dist/curp-validation/curp-validation.es.js +7 -7
- package/dist/{customFields-DVVoO-1L.js → customFields-b8kG_fbg.js} +5 -5
- package/dist/dateInputComposed-Cl0jXQeM.js +1 -0
- package/dist/{documentCapture-DNi_TybD.js → documentCapture-BU03c8_o.js} +6 -6
- package/dist/dropdownComposed-CqGD8hIq.js +1 -0
- package/dist/{dropdownComposed-D33V63q7.js → dropdownComposed-DU_6BWvm.js} +79 -74
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/ekyb/styles.css +65 -69
- package/dist/{ekybModule-DV8eZFTA.js → ekybModule-BRgihGGi.js} +64 -52
- package/dist/ekybModule-WrjoLCeG.js +2 -0
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekyc/styles.css +44 -216
- package/dist/ekycModule-DhqJ91mU.js +2 -0
- package/dist/{ekycModule-Dyvfm_Jh.js → ekycModule-UDNvS-6q.js} +89 -84
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-BY_fGpGt.js → electronic-signature-BKwtUgEE.js} +4 -4
- package/dist/email/email.es.js +5 -5
- package/dist/{extensibility-65EUn2O_.js → extensibility-DB2FMvgl.js} +25 -25
- package/dist/extensibility.es.js +14 -14
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/faceMatch-DebacUAf.js +2 -0
- package/dist/{faceMatch-BJCmMX5x.js → faceMatch-h23LiePK.js} +4 -4
- package/dist/flow/flow.es.js +6 -6
- package/dist/flow/styles.css +103 -266
- package/dist/{formField-CXgBxbyE.js → formField-ClatQUGJ.js} +1 -1
- package/dist/geolocation/geolocation.es.js +4 -4
- package/dist/governmentValidation/governmentValidation.es.js +4 -4
- package/dist/{homeScreen-DUHiJ4GS.js → homeScreen-Bjhy5dd2.js} +26 -18
- package/dist/{i18n-ntrVdqVv.js → i18n-D6pCC7RL.js} +1 -1
- package/dist/id/id.es.js +10 -10
- package/dist/identity-reuse/identity-reuse.es.js +3 -3
- package/dist/{incodeComponent-pGWsrcca.js → incodeComponent-BWl9Ashv.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{mandatoryConsent-BrkTmUBW.js → mandatoryConsent-CDozBEhf.js} +5 -5
- package/dist/{modal-Cqqyt9fy.js → modal-Bf_qRThy.js} +1 -1
- package/dist/optionAccessibleLabel-BReW7dz0.js +7 -0
- package/dist/{otpInput-qhbE2Zg-.js → otpInput-DxAGjXgh.js} +1 -1
- package/dist/phone/phone.es.js +5 -5
- package/dist/{phoneInputComposed-DpKgzd72.js → phoneInputComposed-DCDOTz3f.js} +3 -2
- package/dist/{processing-CjYwR8Kd.js → processing-xR2O8tqC.js} +1 -1
- package/dist/qe-signature/qe-signature.es.js +2 -2
- package/dist/{redirectToMobile-DmpYpZzP.js → redirectToMobile-DxQlNvpk.js} +5 -5
- package/dist/{richText-BNC8z_ah.js → richText-DPdexfgN.js} +1 -1
- package/dist/selfie/selfie.es.js +6 -6
- package/dist/{setup-I7T65zl7.js → setup-ChZeqzsD.js} +1 -1
- package/dist/signature/signature.es.js +4 -4
- package/dist/{transitionSpinner-tJrx3vrs.js → transitionSpinner-sh3UfuCy.js} +1 -1
- package/dist/{tutorial-DcOKYchw.js → tutorial-BOtBSUmR.js} +7 -7
- package/dist/types/extensibility.d.ts +1 -0
- package/dist/{useModuleLoader-DmFt81vp.js → useModuleLoader-Df0yiCB_.js} +10 -10
- package/dist/{verificationResult-D7grOTth.js → verificationResult-BHMdAEeF.js} +1 -1
- package/dist/watchlist/watchlist.es.js +4 -4
- package/dist/workflow/styles.css +103 -266
- package/dist/workflow/workflow.es.js +6 -6
- package/package.json +2 -2
- package/dist/dateInputComposed-CUH00OCL.js +0 -1
- package/dist/dropdownComposed-PPsdKIj2.js +0 -1
- package/dist/ekybModule-DLvvDnRl.js +0 -2
- package/dist/ekycModule-CPcoffMp.js +0 -2
- package/dist/faceMatch-BnEBg97b.js +0 -2
- /package/dist/{aligndevicelottie-BhvH4U01.js → aligndevicelottie-DUyHV4eP.js} +0 -0
- /package/dist/{back-horizontal-hint-BEQsJQaS.js → back-horizontal-hint-ZM3I2Su5.js} +0 -0
- /package/dist/{back-tutorial-C4HG-Te-.js → back-tutorial-DhUXausb.js} +0 -0
- /package/dist/{back-vertical-hint-CSLZhIcN.js → back-vertical-hint-BoFBMTQl.js} +0 -0
- /package/dist/{backdevicelottie-D6IX_UYC.js → backdevicelottie-2h0aSor1.js} +0 -0
- /package/dist/{blurdevicelottie-BEU1SUJQ.js → blurdevicelottie-DZ0ZYTB5.js} +0 -0
- /package/dist/{browser-ponyfill-DRrmY6DO.js → browser-ponyfill-Dqca0y49.js} +0 -0
- /package/dist/{dateInputComposed-CvsKvXv5.js → dateInputComposed-CWYfz2YB.js} +0 -0
- /package/dist/{defineProperty-DB5OmvER.js → defineProperty-xczUyn-m.js} +0 -0
- /package/dist/{flip-animation-CRXEefAE.js → flip-animation-D88PnoMb.js} +0 -0
- /package/dist/{front-horizontal-hint-D0Lp8Tc3.js → front-horizontal-hint-BA7UvUjV.js} +0 -0
- /package/dist/{front-vertical-hint-DJQMKe8l.js → front-vertical-hint-RvpOhnkZ.js} +0 -0
- /package/dist/{frontdevicelottie-CL7-XewR.js → frontdevicelottie-J_Zc1ljM.js} +0 -0
- /package/dist/{glaredevicelottie-BDSlWlxa.js → glaredevicelottie-Didb-aCx.js} +0 -0
- /package/dist/{id-laser-h-CDewGAXj.js → id-laser-h-BCzdFxdH.js} +0 -0
- /package/dist/{id-laser-v-B-1IpVK0.js → id-laser-v-CJRj1dvt.js} +0 -0
- /package/dist/{id-tutorial-BOXQEtNg.js → id-tutorial-BhI3Igyz.js} +0 -0
- /package/dist/{incodeModule-BH9gV7jI.js → incodeModule-DcwjDRyJ.js} +0 -0
- /package/dist/{modal.hooks-B9B0KVgR.js → modal.hooks-CBKrvoyb.js} +0 -0
- /package/dist/{numberedStep-CSQrc-lB.js → numberedStep-PCuBJ6Se.js} +0 -0
- /package/dist/{passport-horizontal-hint-jl1fWxGQ.js → passport-horizontal-hint-W3GW8sLP.js} +0 -0
- /package/dist/{passport-tutorial-CEKyiZFm.js → passport-tutorial-DdIJCsab.js} +0 -0
- /package/dist/{passport-vertical-hint-BjR1TP5l.js → passport-vertical-hint-CrYbjg-J.js} +0 -0
- /package/dist/{phoneInput-C6mELMZ6.js → phoneInput-BAp0yrwm.js} +0 -0
- /package/dist/{radioButtonComposed-Db8-Oprl.js → radioButtonComposed-DiEo4Uj1.js} +0 -0
- /package/dist/{selfieTutorial-CZV5edrl.js → selfieTutorial-DewP31sm.js} +0 -0
- /package/dist/{statusPage-BlENJN0V.js → statusPage-DaLOUtil.js} +0 -0
- /package/dist/{tabs-DnpffRKI.js → tabs-BMnWocEX.js} +0 -0
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
1
|
+
import { n as e } from "./i18n-D6pCC7RL.js";
|
|
2
2
|
import { _ as t, d as n, h as r, l as i, p as a, v as o } from "./vendor-preact-D6SntenC.js";
|
|
3
|
-
import { i as s, o as c, t as l } from "./incodeComponent-
|
|
3
|
+
import { i as s, o as c, t as l } from "./incodeComponent-BWl9Ashv.js";
|
|
4
4
|
import { t as u } from "./page-D5Mt-0zn.js";
|
|
5
5
|
import { t as d } from "./spinner-DyRQfsz_.js";
|
|
6
6
|
import { t as f } from "./button-4-ToV5B_.js";
|
|
7
|
-
import { t as p } from "./verificationResult-
|
|
8
|
-
import { n as m, t as h } from "./formField-
|
|
9
|
-
import { t as g } from "./phoneInputComposed-
|
|
10
|
-
import { t as _ } from "./dropdownComposed-
|
|
11
|
-
import { t as v } from "./
|
|
12
|
-
import { t as y } from "./
|
|
13
|
-
import { t as b } from "./
|
|
14
|
-
import { t as x } from "./
|
|
15
|
-
import {
|
|
7
|
+
import { t as p } from "./verificationResult-BHMdAEeF.js";
|
|
8
|
+
import { n as m, t as h } from "./formField-ClatQUGJ.js";
|
|
9
|
+
import { t as g } from "./phoneInputComposed-DCDOTz3f.js";
|
|
10
|
+
import { t as _ } from "./dropdownComposed-DU_6BWvm.js";
|
|
11
|
+
import { t as v } from "./optionAccessibleLabel-BReW7dz0.js";
|
|
12
|
+
import { t as y } from "./dateInputComposed-CWYfz2YB.js";
|
|
13
|
+
import { t as b } from "./radioButtonComposed-DiEo4Uj1.js";
|
|
14
|
+
import { t as x } from "./incodeModule-DcwjDRyJ.js";
|
|
15
|
+
import { t as S } from "./addressAutocomplete-uNWmxnW9.js";
|
|
16
|
+
import { computeEkycDisplayErrors as C, createEkycManager as w } from "@incodetech/core/ekyc";
|
|
16
17
|
//#region src/modules/ekyc/ekycModule.tsx
|
|
17
|
-
var
|
|
18
|
-
let { t: i } = e(), [a, s] = c(() =>
|
|
18
|
+
var T = ({ config: n, onFinish: r }) => {
|
|
19
|
+
let { t: i } = e(), [a, s] = c(() => w({ config: n }));
|
|
19
20
|
return t(() => {
|
|
20
21
|
(a.status === "finished" || a.status === "closed") && r?.();
|
|
21
22
|
}, [a.status, r]), a.status === "finished" || a.status === "closed" ? null : a.status === "loading" ? /* @__PURE__ */ o(p, {
|
|
@@ -37,126 +38,130 @@ var w = ({ config: n, onFinish: r }) => {
|
|
|
37
38
|
failureTitle: i("verification.noFormFields"),
|
|
38
39
|
onSkip: () => s.close(),
|
|
39
40
|
skipLabel: i("common.close")
|
|
40
|
-
}) : a.status === "form" ? /* @__PURE__ */ o(
|
|
41
|
+
}) : a.status === "form" ? /* @__PURE__ */ o(D, {
|
|
41
42
|
state: a,
|
|
42
43
|
manager: s
|
|
43
44
|
}) : null;
|
|
44
|
-
},
|
|
45
|
+
}, E = [
|
|
45
46
|
"street",
|
|
46
47
|
"city",
|
|
47
48
|
"state",
|
|
48
49
|
"postalCode",
|
|
49
50
|
"houseNo"
|
|
50
|
-
],
|
|
51
|
-
let { fields: d, values: p, errors:
|
|
52
|
-
|
|
51
|
+
], D = ({ state: c, manager: l }) => {
|
|
52
|
+
let { fields: d, values: p, errors: x, isValid: w, addressSuggestions: T, prefilled: D, hideEmail: O, fieldsCountry: k, submitError: A, submitAttempted: j } = c, { t: M } = e(), N = i(null), P = i(null), F = i(void 0), I = s(N, d.length), [L, R] = a({}), z = r((e) => {
|
|
53
|
+
R((t) => t[e] ? t : {
|
|
53
54
|
...t,
|
|
54
55
|
[e]: !0
|
|
55
56
|
});
|
|
56
|
-
}, []), { displayErrors:
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
57
|
+
}, []), { displayErrors: B, errorParams: V } = n(() => C(x, L, j, k, d), [
|
|
58
|
+
x,
|
|
59
|
+
L,
|
|
60
|
+
j,
|
|
61
|
+
k,
|
|
61
62
|
d
|
|
62
|
-
]),
|
|
63
|
-
|
|
64
|
-
}, [l,
|
|
65
|
-
for (let e of
|
|
63
|
+
]), H = r((e) => z(e), [z]), U = r((e, t) => {
|
|
64
|
+
z(e), l.setField(e, t);
|
|
65
|
+
}, [l, z]), W = r((e) => {
|
|
66
|
+
for (let e of E) z(e);
|
|
66
67
|
l.selectAddress(e);
|
|
67
|
-
}, [l,
|
|
68
|
+
}, [l, z]);
|
|
68
69
|
t(() => {
|
|
69
|
-
let e =
|
|
70
|
-
if (
|
|
70
|
+
let e = B.postalCode, t = F.current;
|
|
71
|
+
if (F.current = e, !e || t === e) return;
|
|
71
72
|
let n = requestAnimationFrame(() => {
|
|
72
|
-
let e =
|
|
73
|
+
let e = P.current;
|
|
73
74
|
e && (e.querySelector("#postalCode-error") ?? e).scrollIntoView({
|
|
74
75
|
behavior: "smooth",
|
|
75
76
|
block: "nearest"
|
|
76
77
|
});
|
|
77
78
|
});
|
|
78
79
|
return () => cancelAnimationFrame(n);
|
|
79
|
-
}, [
|
|
80
|
-
let
|
|
80
|
+
}, [B.postalCode]);
|
|
81
|
+
let G = (e, t) => m(M, t, V[e]), K;
|
|
81
82
|
return /* @__PURE__ */ o(u, {
|
|
82
|
-
className: `IncodeEkycPage${
|
|
83
|
-
title:
|
|
83
|
+
className: `IncodeEkycPage${I ? " IncodeEkycPageScrollable" : ""}`,
|
|
84
|
+
title: M("verification.title"),
|
|
84
85
|
children: [/* @__PURE__ */ o("div", {
|
|
85
|
-
ref:
|
|
86
|
+
ref: N,
|
|
86
87
|
className: "IncodeEkycForm",
|
|
87
88
|
children: d.map((e) => {
|
|
88
|
-
if (e.name === "email" &&
|
|
89
|
+
if (e.name === "email" && O) return null;
|
|
89
90
|
let t = null;
|
|
90
|
-
e.section && e.section !==
|
|
91
|
+
e.section && e.section !== K && (K = e.section, t = /* @__PURE__ */ o("h3", {
|
|
91
92
|
className: "IncodeEkycSectionHeader",
|
|
92
|
-
children:
|
|
93
|
+
children: M({
|
|
93
94
|
address: "verification.labels.addressDetailsSection",
|
|
94
95
|
driverLicense: "verification.labels.dlDetailsSection"
|
|
95
96
|
}[e.section] ?? e.section)
|
|
96
97
|
}));
|
|
97
|
-
let n = e.readonly ||
|
|
98
|
-
if (e.name === "street" && e.section === "address") return /* @__PURE__ */ o("div", { children: [t, /* @__PURE__ */ o(
|
|
98
|
+
let n = e.readonly || D[e.name], r = p[e.name] ?? "", i = B[e.name];
|
|
99
|
+
if (e.name === "street" && e.section === "address") return /* @__PURE__ */ o("div", { children: [t, /* @__PURE__ */ o(S, {
|
|
99
100
|
label: e.label,
|
|
100
101
|
value: r,
|
|
101
102
|
error: i,
|
|
102
|
-
errorParams:
|
|
103
|
-
suggestions:
|
|
103
|
+
errorParams: V[e.name],
|
|
104
|
+
suggestions: T,
|
|
104
105
|
readonly: n,
|
|
105
106
|
optional: !e.required,
|
|
106
|
-
onChange: (e) =>
|
|
107
|
+
onChange: (e) => U("street", e),
|
|
107
108
|
onSearch: (e) => l.searchAddress(e),
|
|
108
|
-
onSelect:
|
|
109
|
-
onBlur: () =>
|
|
109
|
+
onSelect: W,
|
|
110
|
+
onBlur: () => H("street")
|
|
110
111
|
})] }, e.name);
|
|
111
112
|
if (e.type === "dropdown") {
|
|
112
|
-
let a =
|
|
113
|
+
let a = M(e.label);
|
|
113
114
|
return /* @__PURE__ */ o("div", { children: [t, /* @__PURE__ */ o(_, {
|
|
114
115
|
id: `ekyc-${e.name}`,
|
|
115
116
|
label: a,
|
|
116
|
-
placeholder: e.placeholder ?
|
|
117
|
+
placeholder: e.placeholder ? M(e.placeholder) : void 0,
|
|
117
118
|
value: r,
|
|
118
|
-
options: (e.options ?? []).map((e) =>
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
119
|
+
options: (e.options ?? []).map((e) => {
|
|
120
|
+
let t = M(e.label);
|
|
121
|
+
return {
|
|
122
|
+
...e,
|
|
123
|
+
label: t,
|
|
124
|
+
ariaLabel: v(t)
|
|
125
|
+
};
|
|
126
|
+
}),
|
|
127
|
+
error: G(e.name, i),
|
|
123
128
|
disabled: n,
|
|
124
129
|
searchable: !0,
|
|
125
|
-
onChange: (t) =>
|
|
126
|
-
onBlur: () =>
|
|
130
|
+
onChange: (t) => U(e.name, t),
|
|
131
|
+
onBlur: () => H(e.name),
|
|
127
132
|
"data-testid": `ekyc-field-${e.name}`
|
|
128
133
|
})] }, e.name);
|
|
129
134
|
}
|
|
130
135
|
if (e.type === "date") {
|
|
131
|
-
let a =
|
|
132
|
-
return /* @__PURE__ */ o("div", { children: [t, /* @__PURE__ */ o(
|
|
136
|
+
let a = M(e.label);
|
|
137
|
+
return /* @__PURE__ */ o("div", { children: [t, /* @__PURE__ */ o(y, {
|
|
133
138
|
id: `ekyc-${e.name}`,
|
|
134
139
|
label: a,
|
|
135
140
|
value: r,
|
|
136
|
-
error:
|
|
141
|
+
error: G(e.name, i),
|
|
137
142
|
disabled: n,
|
|
138
143
|
onInput: (t) => {
|
|
139
144
|
let n = t.target;
|
|
140
|
-
|
|
145
|
+
U(e.name, n.value);
|
|
141
146
|
},
|
|
142
|
-
onBlur: () =>
|
|
147
|
+
onBlur: () => H(e.name),
|
|
143
148
|
"data-testid": `ekyc-field-${e.name}`
|
|
144
149
|
})] }, e.name);
|
|
145
150
|
}
|
|
146
151
|
if (e.type === "phone") {
|
|
147
|
-
let a =
|
|
152
|
+
let a = M(e.label);
|
|
148
153
|
return /* @__PURE__ */ o("div", { children: [t, /* @__PURE__ */ o(g, {
|
|
149
154
|
id: `ekyc-${e.name}`,
|
|
150
155
|
label: a,
|
|
151
|
-
countryCode:
|
|
156
|
+
countryCode: k,
|
|
152
157
|
value: r,
|
|
153
158
|
placeholder: e.placeholder,
|
|
154
|
-
error:
|
|
159
|
+
error: G(e.name, i),
|
|
155
160
|
disabled: n,
|
|
156
161
|
disableCountrySelector: e.disableCountrySelector,
|
|
157
162
|
required: !1,
|
|
158
|
-
onChange: (t) =>
|
|
159
|
-
onBlur: () =>
|
|
163
|
+
onChange: (t) => U(e.name, t),
|
|
164
|
+
onBlur: () => H(e.name),
|
|
160
165
|
"data-testid": `ekyc-field-${e.name}`
|
|
161
166
|
})] }, e.name);
|
|
162
167
|
}
|
|
@@ -170,18 +175,18 @@ var w = ({ config: n, onFinish: r }) => {
|
|
|
170
175
|
/* @__PURE__ */ o("span", {
|
|
171
176
|
id: a,
|
|
172
177
|
className: "IncodeEkycRadioLabel",
|
|
173
|
-
children:
|
|
178
|
+
children: M(e.label)
|
|
174
179
|
}),
|
|
175
180
|
/* @__PURE__ */ o("div", {
|
|
176
181
|
className: "IncodeEkycRadioOptions",
|
|
177
|
-
children: e.options?.map((t) => /* @__PURE__ */ o(
|
|
182
|
+
children: e.options?.map((t) => /* @__PURE__ */ o(b, {
|
|
178
183
|
id: `ekyc-${e.name}-${t.value}`,
|
|
179
184
|
name: e.name,
|
|
180
|
-
label:
|
|
185
|
+
label: M(t.label),
|
|
181
186
|
checked: r === t.value,
|
|
182
187
|
value: t.value,
|
|
183
|
-
onChange: () =>
|
|
184
|
-
onBlur: () =>
|
|
188
|
+
onChange: () => U(e.name, t.value),
|
|
189
|
+
onBlur: () => H(e.name),
|
|
185
190
|
disabled: n,
|
|
186
191
|
"aria-describedby": i ? s : void 0,
|
|
187
192
|
"aria-invalid": !!i,
|
|
@@ -192,20 +197,20 @@ var w = ({ config: n, onFinish: r }) => {
|
|
|
192
197
|
id: s,
|
|
193
198
|
className: "IncodeEkycFieldError",
|
|
194
199
|
role: "alert",
|
|
195
|
-
children:
|
|
200
|
+
children: G(e.name, i)
|
|
196
201
|
})
|
|
197
202
|
]
|
|
198
203
|
})] }, e.name);
|
|
199
204
|
}
|
|
200
205
|
return /* @__PURE__ */ o("div", {
|
|
201
|
-
ref: e.name === "postalCode" ?
|
|
206
|
+
ref: e.name === "postalCode" ? P : void 0,
|
|
202
207
|
children: [t, /* @__PURE__ */ o(h, {
|
|
203
208
|
name: e.name,
|
|
204
209
|
label: e.label,
|
|
205
210
|
displayLabel: e.displayLabel,
|
|
206
211
|
value: r,
|
|
207
212
|
error: i,
|
|
208
|
-
errorParams:
|
|
213
|
+
errorParams: V[e.name],
|
|
209
214
|
type: e.type,
|
|
210
215
|
placeholder: e.placeholder,
|
|
211
216
|
placeholderParams: e.placeholderParams,
|
|
@@ -213,38 +218,38 @@ var w = ({ config: n, onFinish: r }) => {
|
|
|
213
218
|
optional: e.optional,
|
|
214
219
|
readonly: n,
|
|
215
220
|
maxLength: e.maxLength,
|
|
216
|
-
onChange:
|
|
217
|
-
onBlur:
|
|
221
|
+
onChange: U,
|
|
222
|
+
onBlur: H
|
|
218
223
|
})]
|
|
219
224
|
}, e.name);
|
|
220
225
|
})
|
|
221
226
|
}), /* @__PURE__ */ o("div", {
|
|
222
227
|
className: "IncodeEkycFooter",
|
|
223
228
|
children: [
|
|
224
|
-
|
|
229
|
+
A && /* @__PURE__ */ o("p", {
|
|
225
230
|
className: "IncodeEkycSubmitError",
|
|
226
231
|
role: "alert",
|
|
227
|
-
children:
|
|
232
|
+
children: M(A)
|
|
228
233
|
}),
|
|
229
234
|
/* @__PURE__ */ o(f, {
|
|
230
235
|
onClick: () => l.submit(),
|
|
231
|
-
disabled: !
|
|
236
|
+
disabled: !w,
|
|
232
237
|
"data-testid": "ekyc-submit",
|
|
233
|
-
children:
|
|
238
|
+
children: M("common.continue")
|
|
234
239
|
}),
|
|
235
|
-
|
|
240
|
+
A === "verification.errors.countryNotSupported" && /* @__PURE__ */ o(f, {
|
|
236
241
|
variant: "link",
|
|
237
242
|
onClick: () => l.skip(),
|
|
238
243
|
"data-testid": "ekyc-skip",
|
|
239
|
-
children:
|
|
244
|
+
children: M("verification.labels.skip")
|
|
240
245
|
})
|
|
241
246
|
]
|
|
242
247
|
})]
|
|
243
248
|
});
|
|
244
|
-
},
|
|
249
|
+
}, O = ({ config: e, onFinish: t }) => /* @__PURE__ */ o(l, { children: e ? /* @__PURE__ */ o(T, {
|
|
245
250
|
config: e,
|
|
246
251
|
onFinish: t
|
|
247
252
|
}) : null });
|
|
248
|
-
|
|
253
|
+
x(O, "incode-ekyc");
|
|
249
254
|
//#endregion
|
|
250
|
-
export {
|
|
255
|
+
export { O as t };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../electronic-signature-
|
|
1
|
+
import { n as e, t } from "../electronic-signature-BKwtUgEE.js";
|
|
2
2
|
export { t as AeSignature, e as ElectronicSignature };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as e, t } from "./i18n-
|
|
1
|
+
import { n as e, t } from "./i18n-D6pCC7RL.js";
|
|
2
2
|
import { _ as n, h as r, l as i, v as a } from "./vendor-preact-D6SntenC.js";
|
|
3
|
-
import { o, t as s } from "./incodeComponent-
|
|
3
|
+
import { o, t as s } from "./incodeComponent-BWl9Ashv.js";
|
|
4
4
|
import { t as c } from "./page-D5Mt-0zn.js";
|
|
5
5
|
import { t as l } from "./button-4-ToV5B_.js";
|
|
6
6
|
import { c as u, r as d } from "./icons-GsJu_yZn.js";
|
|
7
7
|
import { t as f } from "./successIcon-C4GI_9SU.js";
|
|
8
|
-
import { t as p } from "./verificationResult-
|
|
8
|
+
import { t as p } from "./verificationResult-BHMdAEeF.js";
|
|
9
9
|
import { t as m } from "./checkbox-CUOVvO_K.js";
|
|
10
|
-
import { t as h } from "./incodeModule-
|
|
10
|
+
import { t as h } from "./incodeModule-DcwjDRyJ.js";
|
|
11
11
|
import { createElectronicSignatureManager as g } from "@incodetech/core/electronic-signature";
|
|
12
12
|
//#region src/modules/electronic-signature/documentIllustration.tsx
|
|
13
13
|
var _ = () => /* @__PURE__ */ a("svg", {
|
package/dist/email/email.es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as e } from "../i18n-
|
|
1
|
+
import { n as e } from "../i18n-D6pCC7RL.js";
|
|
2
2
|
import { _ as t, p as n, v as r } from "../vendor-preact-D6SntenC.js";
|
|
3
|
-
import { o as i, t as a } from "../incodeComponent-
|
|
3
|
+
import { o as i, t as a } from "../incodeComponent-BWl9Ashv.js";
|
|
4
4
|
import { t as o } from "../spacer-DCljE53A.js";
|
|
5
5
|
import { t as s } from "../page-D5Mt-0zn.js";
|
|
6
|
-
import "../extensibility-
|
|
6
|
+
import "../extensibility-DB2FMvgl.js";
|
|
7
7
|
import { t as c } from "../button-4-ToV5B_.js";
|
|
8
8
|
import { t as l } from "../inputComposed-BXGBX7oR.js";
|
|
9
|
-
import { t as u } from "../otpInput-
|
|
10
|
-
import { t as d } from "../incodeModule-
|
|
9
|
+
import { t as u } from "../otpInput-DxAGjXgh.js";
|
|
10
|
+
import { t as d } from "../incodeModule-DcwjDRyJ.js";
|
|
11
11
|
import { createEmailManager as f } from "@incodetech/core/email";
|
|
12
12
|
//#region src/modules/email/emailInput.tsx
|
|
13
13
|
var p = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, m = ({ prefilledEmail: i, emailError: a, label: o, disabled: s = !1, required: c = !1, onEmailChange: u }) => {
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
1
|
+
import { n as e } from "./i18n-D6pCC7RL.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
|
-
import "./incodeComponent-
|
|
4
|
+
import "./incodeComponent-BWl9Ashv.js";
|
|
5
5
|
import { t as d } from "./spacer-DCljE53A.js";
|
|
6
6
|
import { t as f } from "./page-D5Mt-0zn.js";
|
|
7
7
|
import { n as p } from "./loadingIcon-wTrHZMGC.js";
|
|
8
8
|
import { t as m } from "./typography-B7nxauEL.js";
|
|
9
9
|
import { t as h } from "./spinner-DyRQfsz_.js";
|
|
10
10
|
import "./spinner-BmFWJNHp.js";
|
|
11
|
-
import "./processing-
|
|
11
|
+
import "./processing-xR2O8tqC.js";
|
|
12
12
|
import { t as g } from "./button-4-ToV5B_.js";
|
|
13
13
|
import { d as _, h as v, i as y, r as b, s as x, t as S } from "./icons-GsJu_yZn.js";
|
|
14
|
-
import { a as C, i as w } from "./tutorial-
|
|
14
|
+
import { a as C, i as w } from "./tutorial-BOtBSUmR.js";
|
|
15
15
|
import { t as T } from "./successIcon-C4GI_9SU.js";
|
|
16
|
-
import "./verificationResult-
|
|
16
|
+
import "./verificationResult-BHMdAEeF.js";
|
|
17
17
|
import "./inputComposed-BXGBX7oR.js";
|
|
18
18
|
import "./inputComposed-e3nC8j25.js";
|
|
19
|
-
import "./otpInput-
|
|
19
|
+
import "./otpInput-DxAGjXgh.js";
|
|
20
20
|
import "./checkbox-CUOVvO_K.js";
|
|
21
|
-
import "./formField-
|
|
21
|
+
import "./formField-ClatQUGJ.js";
|
|
22
22
|
import "./countries-Bbn2lyxr.js";
|
|
23
|
-
import "./phoneInputComposed-
|
|
24
|
-
import "./dropdownComposed-
|
|
25
|
-
import "./dateInputComposed-
|
|
26
|
-
import "./radioButtonComposed-
|
|
27
|
-
import { t as E } from "./modal-
|
|
28
|
-
import "./bottomSheet-
|
|
23
|
+
import "./phoneInputComposed-DCDOTz3f.js";
|
|
24
|
+
import "./dropdownComposed-CqGD8hIq.js";
|
|
25
|
+
import "./dateInputComposed-Cl0jXQeM.js";
|
|
26
|
+
import "./radioButtonComposed-DiEo4Uj1.js";
|
|
27
|
+
import { t as E } from "./modal-Bf_qRThy.js";
|
|
28
|
+
import "./bottomSheet-CGGwLnNk.js";
|
|
29
29
|
import "@incodetech/core/id";
|
|
30
30
|
//#region src/shared/overlay/overlay.tsx
|
|
31
31
|
var D = ({ children: e, "aria-labelledby": t, class: n }) => /* @__PURE__ */ u("div", {
|
|
@@ -561,9 +561,9 @@ var z = ({ stream: e, onCapture: t, disabled: r }) => {
|
|
|
561
561
|
return n(() => {
|
|
562
562
|
c.current?.focus();
|
|
563
563
|
}, []), n(() => {
|
|
564
|
-
d ? import("./id-laser-h-
|
|
564
|
+
d ? import("./id-laser-h-BCzdFxdH.js").then((e) => {
|
|
565
565
|
p(e.default);
|
|
566
|
-
}) : import("./id-laser-v-
|
|
566
|
+
}) : import("./id-laser-v-CJRj1dvt.js").then((e) => {
|
|
567
567
|
p(e.default);
|
|
568
568
|
});
|
|
569
569
|
}, [d]), /* @__PURE__ */ u(V, {
|
|
@@ -730,11 +730,11 @@ var z = ({ stream: e, onCapture: t, disabled: r }) => {
|
|
|
730
730
|
})]
|
|
731
731
|
});
|
|
732
732
|
}, Y = /* @__PURE__ */ new Map(), X = !1, Z = {
|
|
733
|
-
blur: () => import("./blurdevicelottie-
|
|
734
|
-
glare: () => import("./glaredevicelottie-
|
|
735
|
-
align: () => import("./aligndevicelottie-
|
|
736
|
-
front: () => import("./frontdevicelottie-
|
|
737
|
-
back: () => import("./backdevicelottie-
|
|
733
|
+
blur: () => import("./blurdevicelottie-DZ0ZYTB5.js"),
|
|
734
|
+
glare: () => import("./glaredevicelottie-Didb-aCx.js"),
|
|
735
|
+
align: () => import("./aligndevicelottie-DUyHV4eP.js"),
|
|
736
|
+
front: () => import("./frontdevicelottie-J_Zc1ljM.js"),
|
|
737
|
+
back: () => import("./backdevicelottie-2h0aSor1.js")
|
|
738
738
|
};
|
|
739
739
|
function Q(e) {
|
|
740
740
|
X || (X = !0, Promise.all([
|
|
@@ -896,7 +896,7 @@ var le = ({ detectionStatus: r, mode: i, isCapturing: a }) => {
|
|
|
896
896
|
]
|
|
897
897
|
})
|
|
898
898
|
}) : null] });
|
|
899
|
-
}, ue = i(() => import("./front-horizontal-hint-
|
|
899
|
+
}, ue = i(() => import("./front-horizontal-hint-BA7UvUjV.js")), de = i(() => import("./front-vertical-hint-RvpOhnkZ.js")), fe = i(() => import("./back-horizontal-hint-ZM3I2Su5.js")), pe = i(() => import("./back-vertical-hint-BoFBMTQl.js")), me = i(() => import("./passport-horizontal-hint-W3GW8sLP.js")), he = i(() => import("./passport-vertical-hint-CrYbjg-J.js")), ge = {
|
|
900
900
|
"front-horizontal": 348,
|
|
901
901
|
"back-horizontal": 348,
|
|
902
902
|
"passport-horizontal": 342
|
|
@@ -1123,11 +1123,11 @@ var ye = ({ mode: e, orientation: t }) => {
|
|
|
1123
1123
|
}, Se = ({ manager: t, state: r }) => {
|
|
1124
1124
|
let { t: i } = e(), [a, o] = l(!1), [s, c] = l(null), d = r.selectedDocumentType === "passport", f = r.currentMode === "back";
|
|
1125
1125
|
n(() => {
|
|
1126
|
-
d ? import("./passport-tutorial-
|
|
1126
|
+
d ? import("./passport-tutorial-DdIJCsab.js").then((e) => {
|
|
1127
1127
|
c(e.default);
|
|
1128
|
-
}) : f ? import("./back-tutorial-
|
|
1128
|
+
}) : f ? import("./back-tutorial-DhUXausb.js").then((e) => {
|
|
1129
1129
|
c(e.default);
|
|
1130
|
-
}) : import("./id-tutorial-
|
|
1130
|
+
}) : import("./id-tutorial-BhI3Igyz.js").then((e) => {
|
|
1131
1131
|
c(e.default);
|
|
1132
1132
|
});
|
|
1133
1133
|
}, [d, f]);
|
|
@@ -2211,7 +2211,7 @@ var Te = ({ manager: t, state: n }) => {
|
|
|
2211
2211
|
}, Ee = ({ manager: t, direction: r }) => {
|
|
2212
2212
|
let [i, a] = l(null), [s, c] = l(!1), { t: f } = e();
|
|
2213
2213
|
n(() => {
|
|
2214
|
-
import("./flip-animation-
|
|
2214
|
+
import("./flip-animation-D88PnoMb.js").then((e) => {
|
|
2215
2215
|
a(e.default);
|
|
2216
2216
|
});
|
|
2217
2217
|
}, []);
|
package/dist/extensibility.es.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
1
|
+
import { n as e } from "./i18n-D6pCC7RL.js";
|
|
2
2
|
import { t } from "./uiConfig-CwpQ-IM6.js";
|
|
3
|
-
import { a as n, n as r, o as i, t as a } from "./incodeComponent-
|
|
3
|
+
import { a as n, n as r, o as i, t as a } from "./incodeComponent-BWl9Ashv.js";
|
|
4
4
|
import { t as o } from "./spacer-DCljE53A.js";
|
|
5
5
|
import { t as s } from "./page-D5Mt-0zn.js";
|
|
6
|
-
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 } from "./extensibility-
|
|
6
|
+
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 } from "./extensibility-DB2FMvgl.js";
|
|
7
7
|
import { a as E, i as D, n as O, o as k, s as A, t as j } from "./typography-B7nxauEL.js";
|
|
8
8
|
import { t as M } from "./spinner-DyRQfsz_.js";
|
|
9
|
-
import { t as N } from "./processing-
|
|
9
|
+
import { t as N } from "./processing-xR2O8tqC.js";
|
|
10
10
|
import { t as P } from "./button-4-ToV5B_.js";
|
|
11
11
|
import { a as F, c as I, d as L, f as R, h as z, i as B, l as V, m as H, n as U, o as W, p as G, r as K, s as q, t as J, u as Y } from "./icons-GsJu_yZn.js";
|
|
12
|
-
import { a as X, i as Z, n as Q, o as $, r as ee, t as te } from "./tutorial-
|
|
12
|
+
import { a as X, i as Z, n as Q, o as $, r as ee, t as te } from "./tutorial-BOtBSUmR.js";
|
|
13
13
|
import { t as ne } from "./successIcon-C4GI_9SU.js";
|
|
14
|
-
import { t as re } from "./verificationResult-
|
|
14
|
+
import { t as re } from "./verificationResult-BHMdAEeF.js";
|
|
15
15
|
import { n as ie, t as ae } from "./inputComposed-BXGBX7oR.js";
|
|
16
|
-
import { t as oe } from "./otpInput-
|
|
16
|
+
import { t as oe } from "./otpInput-DxAGjXgh.js";
|
|
17
17
|
import { t as se } from "./checkbox-CUOVvO_K.js";
|
|
18
|
-
import { t as ce } from "./formField-
|
|
18
|
+
import { t as ce } from "./formField-ClatQUGJ.js";
|
|
19
19
|
import { n as le, r as ue, t as de } from "./countries-Bbn2lyxr.js";
|
|
20
|
-
import { t as fe } from "./phoneInputComposed-
|
|
21
|
-
import { t as pe } from "./dropdownComposed-
|
|
22
|
-
import { t as me } from "./dateInputComposed-
|
|
23
|
-
import { t as he } from "./radioButtonComposed-
|
|
24
|
-
import { t as ge } from "./modal-
|
|
25
|
-
import { t as _e } from "./bottomSheet-
|
|
20
|
+
import { t as fe } from "./phoneInputComposed-DCDOTz3f.js";
|
|
21
|
+
import { t as pe } from "./dropdownComposed-DU_6BWvm.js";
|
|
22
|
+
import { t as me } from "./dateInputComposed-CWYfz2YB.js";
|
|
23
|
+
import { t as he } from "./radioButtonComposed-DiEo4Uj1.js";
|
|
24
|
+
import { t as ge } from "./modal-Bf_qRThy.js";
|
|
25
|
+
import { t as _e } from "./bottomSheet-CGGwLnNk.js";
|
|
26
26
|
export { Z as BaseTutorial, _e as BottomSheet, P as Button, G as CalendarIcon, f as CameraFrame, R as CameraIcon, d as CameraOverlay, w as CameraOverlayHeader, g as CameraView, L as CaptureButtonIcon, u as CaptureFooter, se as Checkbox, Y as CheckmarkIcon, V as ChevronDown, I as ChevronLeftIcon, q as ChevronRightIcon, W as CloseIcon, me as DateInputComposed, pe as DropdownComposed, $ as ErrorContent, z as ErrorIcon, F as FileIcon, ce as FormField, B as HelpIcon, h as IdCapture, v as IdChooser, y as IdError, l as IdExpired, C as IdFlipAnimation, x as IdTutorial, a as IncodeComponent, ie as Input, ae as InputComposed, r as LandscapeBlocker, J as LightningIcon, K as LockIcon, X as Lottie, S as ManualCapture, ge as Modal, oe as OtpInput, T as Overlay, s as Page, ee as Permissions, fe as PhoneInputComposed, N as Processing, c as ProgressBar, he as RadioButtonComposed, U as SearchIcon, Q as SelfieCapture, te as SelfieTutorial, o as Spacer, M as Spinner, ne as SuccessIcon, p as TextArea, m as TextAreaComposed, j as Title, O as TypographyH1, D as TypographyH3, E as TypographyH4, k as TypographyH5, A as TypographyP, b as VerificationOptionCard, _ as VerificationOptionCardList, re as VerificationResult, H as WarningIcon, de as countries, le as getCountryByCallingCode, ue as getCountryByCode, t as setUiConfig, i as useManager, n as useScreenOrientation, e as useTranslation };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../faceMatch-
|
|
1
|
+
import { t as e } from "../faceMatch-h23LiePK.js";
|
|
2
2
|
export { e as FaceMatch };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
1
|
+
import { n as e } from "./i18n-D6pCC7RL.js";
|
|
2
2
|
import { S as t, _ as n, l as r, v as i } from "./vendor-preact-D6SntenC.js";
|
|
3
|
-
import { o as a, t as o } from "./incodeComponent-
|
|
3
|
+
import { o as a, t as o } from "./incodeComponent-BWl9Ashv.js";
|
|
4
4
|
import { t as s } from "./spacer-DCljE53A.js";
|
|
5
5
|
import { t as c } from "./page-D5Mt-0zn.js";
|
|
6
6
|
import { n as l } from "./loadingIcon-wTrHZMGC.js";
|
|
7
7
|
import { t as u } from "./typography-B7nxauEL.js";
|
|
8
|
-
import { t as d } from "./transitionSpinner-
|
|
8
|
+
import { t as d } from "./transitionSpinner-sh3UfuCy.js";
|
|
9
9
|
import { t as f } from "./button-4-ToV5B_.js";
|
|
10
|
-
import { t as p } from "./incodeModule-
|
|
10
|
+
import { t as p } from "./incodeModule-DcwjDRyJ.js";
|
|
11
11
|
import { createFaceMatchManager as m } from "@incodetech/core/face-match";
|
|
12
12
|
//#region src/shared/snackbar/snackbar.tsx
|
|
13
13
|
var h = ({ variant: e = "neutral", children: t, className: n, ariaLive: r = "polite" }) => /* @__PURE__ */ i("div", {
|
package/dist/flow/flow.es.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as e } from "../i18n-
|
|
1
|
+
import { n as e } from "../i18n-D6pCC7RL.js";
|
|
2
2
|
import { _ as t, c as n, l as r, o as i, p as a, v as o } from "../vendor-preact-D6SntenC.js";
|
|
3
3
|
import { t as s } from "../uiConfig-CwpQ-IM6.js";
|
|
4
|
-
import { o as c, t as l } from "../incodeComponent-
|
|
5
|
-
import { t as u } from "../transitionSpinner-
|
|
6
|
-
import { t as d } from "../incodeModule-
|
|
7
|
-
import { a as f, c as p, d as m, i as h, l as g, n as _, o as v, p as y, r as b, s as x, t as S, u as C } from "../useModuleLoader-
|
|
4
|
+
import { o as c, t as l } from "../incodeComponent-BWl9Ashv.js";
|
|
5
|
+
import { t as u } from "../transitionSpinner-sh3UfuCy.js";
|
|
6
|
+
import { t as d } from "../incodeModule-DcwjDRyJ.js";
|
|
7
|
+
import { a as f, c as p, d as m, i as h, l as g, n as _, o as v, p as y, r as b, s as x, t as S, u as C } from "../useModuleLoader-Df0yiCB_.js";
|
|
8
8
|
import { getDeviceClass as w } from "@incodetech/core/device";
|
|
9
9
|
import { getRequiredWasmPipelines as T } from "@incodetech/core/flow";
|
|
10
10
|
import { createSession as E, validateQrUuid as D } from "@incodetech/core/session";
|
|
@@ -226,7 +226,7 @@ function U(e) {
|
|
|
226
226
|
}
|
|
227
227
|
//#endregion
|
|
228
228
|
//#region src/modules/flow/flow.tsx
|
|
229
|
-
var W = n(() => import("../homeScreen-
|
|
229
|
+
var W = n(() => import("../homeScreen-Bjhy5dd2.js").then((e) => ({ default: e.HomeScreen }))), G = ({ config: n, onFinish: r, onError: a }) => {
|
|
230
230
|
let { i18n: s } = e(), l = U({
|
|
231
231
|
...n,
|
|
232
232
|
onError: a
|