@incodetech/web 0.0.0-dev-20260415-20a2fc4 → 0.0.0-dev-20260416-64c00e5
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/{AsYouType-B4o16RK-.js → AsYouType-RC03ULcj.js} +1 -1
- package/dist/{addressAutocomplete-DWVphfl5.js → addressAutocomplete-n0bBMSty.js} +4 -4
- package/dist/ae-signature/ae-signature.es.js +1 -1
- package/dist/antifraud/antifraud.es.js +2 -2
- package/dist/authentication/authentication.es.js +2 -2
- package/dist/{button-jwSm4U5l.js → button-BlHmZn6D.js} +1 -1
- package/dist/{checkbox-B6sowIi8.js → checkbox-BNgPsssk.js} +2 -2
- package/dist/consent/consent.es.js +6 -6
- package/dist/cross-document-data-match/cross-document-data-match.es.js +2 -2
- package/dist/curp-validation/curp-validation.es.js +12 -12
- package/dist/{dateInputComposed-DnHTS15O.js → dateInputComposed-B8nKYsUG.js} +4 -4
- package/dist/dateInputComposed-DnYA7nZG.js +1 -0
- package/dist/{documentCapture-CQ32GpB4.js → documentCapture-DHtlw3Lu.js} +65 -66
- package/dist/{dropdownComposed-C6vVF6YA.js → dropdownComposed-CR1bc7Z9.js} +3 -3
- package/dist/dropdownComposed-P1FeTlTM.js +1 -0
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/{ekybModule-NJtVSNt8.js → ekybModule-BBSKwZZy.js} +12 -12
- package/dist/ekybModule-qBQ8sJSr.js +2 -0
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/{ekycModule-CHJc0y79.js → ekycModule-Dca-zhQw.js} +17 -17
- package/dist/ekycModule-R0YaUzV3.js +2 -0
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-C7D9PxFO.js → electronic-signature-DEAXKbsk.js} +7 -7
- package/dist/email/email.es.js +6 -6
- package/dist/{extensibility-BzbZC3Uh.js → extensibility-BlGCucJR.js} +102 -102
- package/dist/extensibility.es.js +21 -20
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/faceMatch-CFxHH3ic.js +2 -0
- package/dist/{faceMatch-Don75gXW.js → faceMatch-D6HVVSiY.js} +4 -4
- package/dist/flow/flow.es.js +5 -5
- package/dist/flow/styles.css +28 -28
- package/dist/{formField-DRqCjJYu.js → formField-B9_nvbhW.js} +2 -2
- package/dist/geolocation/geolocation.es.js +3 -3
- package/dist/governmentValidation/governmentValidation.es.js +6 -6
- package/dist/home/home.es.js +156 -59
- package/dist/home/styles.css +28 -28
- package/dist/{i18n-BijwYtJr.js → i18n-DUMvrSNM.js} +1 -1
- package/dist/{icons-BNwTyDPs.js → icons-CVO6RxwW.js} +1 -1
- package/dist/id/id.es.js +5 -5
- package/dist/identity-reuse/identity-reuse.es.js +4 -4
- package/dist/index.es.js +1 -1
- package/dist/inputComposed-BWxnXHJf.js +1 -0
- package/dist/{inputComposed-Cd-Hl-nY.js → inputComposed-COz9TuR1.js} +3 -3
- package/dist/{incodeComponent-Cd290pHH.js → loadingIcon-ahC-hZN7.js} +42 -2
- package/dist/{mandatoryConsent-7CnQf3lz.js → mandatoryConsent-DWwvkGGf.js} +6 -6
- package/dist/modal-D75YXA_d.js +239 -0
- package/dist/{otpInput-BiUL8Ebu.js → otpInput-CNAOHZxZ.js} +4 -4
- package/dist/phone/phone.es.js +6 -6
- package/dist/{phoneInput-3AdvQaEd.js → phoneInput-CzcmqH3C.js} +3 -3
- package/dist/{phoneInputComposed-BnOmNQTz.js → phoneInputComposed-w9tF4xYB.js} +6 -6
- package/dist/{processing-CMIsTP-t.js → processing-CR7zb0TX.js} +2 -2
- package/dist/qe-signature/qe-signature.es.js +1 -1
- package/dist/{redirectToMobile-CFzDfmuH.js → redirectToMobile-CYt-uhqB.js} +21 -22
- package/dist/selfie/selfie.es.js +3 -3
- package/dist/{setup-n7xLstSl.js → setup-IE6CqyVs.js} +1 -1
- package/dist/signature/signature.es.js +6 -6
- package/dist/spinner-B-jf992b.js +1 -0
- package/dist/{spinner-Dg3lumvu.js → spinner-BAVCJLTE.js} +7 -7
- package/dist/{tutorial-gP0l4CuT.js → tutorial-Dqk1zedL.js} +640 -872
- package/dist/{typography-BeNe2WRr.js → typography-7cXma7kl.js} +1 -1
- package/dist/typography-CsEiWMTG.js +1 -0
- package/dist/{useModuleLoader-D_WjZsnk.js → useModuleLoader-BTfoFcVy.js} +9 -9
- package/dist/{verificationResult-_HH0v_HX.js → verificationResult-LpiTdYIu.js} +5 -5
- package/dist/watchlist/watchlist.es.js +20 -21
- package/dist/workflow/workflow.es.js +6 -6
- package/package.json +2 -2
- package/dist/dateInputComposed-tjb_YiSz.js +0 -1
- package/dist/dropdownComposed-DkSZPhUb.js +0 -1
- package/dist/ekybModule-IxSxK7ET.js +0 -2
- package/dist/ekycModule-D8YFovqq.js +0 -2
- package/dist/faceMatch-Z6cCZZMi.js +0 -2
- package/dist/inputComposed-WTfutu_d.js +0 -1
- package/dist/language-Dvo4jXwx.js +0 -50
- package/dist/loadingIcon-YV3D_mg8.js +0 -42
- package/dist/settings-tMRrQul_.js +0 -68
- package/dist/spinner-BEm5Wf_k.js +0 -1
- package/dist/typography-eCzT8rG3.js +0 -1
- /package/dist/{aligndevicelottie-BfnvOtwi.js → aligndevicelottie-B9K1XnzC.js} +0 -0
- /package/dist/{back-horizontal-hint-CpDPt7Pn.js → back-horizontal-hint-Dy_Qglma.js} +0 -0
- /package/dist/{back-tutorial-DRNlpp1o.js → back-tutorial-Cc5SwoLa.js} +0 -0
- /package/dist/{back-vertical-hint-CMS6HTd5.js → back-vertical-hint-Dg3OKUKF.js} +0 -0
- /package/dist/{backdevicelottie-DqTioBhp.js → backdevicelottie-DPvn_MCA.js} +0 -0
- /package/dist/{blurdevicelottie-BCYf_azj.js → blurdevicelottie-DGpZjyZE.js} +0 -0
- /package/dist/{browser-ponyfill-DcR_MTou.js → browser-ponyfill-CTu_YiCx.js} +0 -0
- /package/dist/{countries-BntFjJJG.js → countries-DKKNtuUp.js} +0 -0
- /package/dist/{flip-animation-Dj8sBkxM.js → flip-animation-DwJvEqyX.js} +0 -0
- /package/dist/{front-horizontal-hint-C204EjG5.js → front-horizontal-hint-DgopDgUF.js} +0 -0
- /package/dist/{front-vertical-hint-BT8dqgFS.js → front-vertical-hint-nOpxcjqw.js} +0 -0
- /package/dist/{frontdevicelottie-BOCUyhYK.js → frontdevicelottie-DBrRXwKx.js} +0 -0
- /package/dist/{glaredevicelottie-g5gLJDcn.js → glaredevicelottie-DvG7qeiM.js} +0 -0
- /package/dist/{id-laser-h-C9wj3dpL.js → id-laser-h-BrG7qvHh.js} +0 -0
- /package/dist/{id-laser-v-Bmnxnt0M.js → id-laser-v-Bt1xfH5h.js} +0 -0
- /package/dist/{id-tutorial-CFTli-M3.js → id-tutorial-WgpG0ahL.js} +0 -0
- /package/dist/{passport-horizontal-hint-DQ_bncwr.js → passport-horizontal-hint-DXzBzsri.js} +0 -0
- /package/dist/{passport-tutorial-Bihd5YfK.js → passport-tutorial-DEr1yuAg.js} +0 -0
- /package/dist/{passport-vertical-hint-Bck8hVuX.js → passport-vertical-hint-B8Sap2l6.js} +0 -0
- /package/dist/{selfieTutorial-Cu9vXjss.js → selfieTutorial-B5l5ny8O.js} +0 -0
- /package/dist/{successIcon-Dklx5JWI.js → successIcon-AHrfmJvv.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { n as e, t } from "./i18n-
|
|
1
|
+
import { n as e, t } from "./i18n-DUMvrSNM.js";
|
|
2
2
|
import { _ as n, h as r, l as i, v as a } from "./vendor-preact-D6SntenC.js";
|
|
3
|
-
import { o,
|
|
3
|
+
import { c as o, r as s } from "./loadingIcon-ahC-hZN7.js";
|
|
4
4
|
import { t as c } from "./page-kB-LDkaO.js";
|
|
5
|
-
import { t as l } from "./button-
|
|
6
|
-
import { r as u } from "./icons-
|
|
7
|
-
import { t as d } from "./successIcon-
|
|
8
|
-
import { t as f } from "./verificationResult-
|
|
9
|
-
import { t as p } from "./checkbox-
|
|
5
|
+
import { t as l } from "./button-BlHmZn6D.js";
|
|
6
|
+
import { r as u } from "./icons-CVO6RxwW.js";
|
|
7
|
+
import { t as d } from "./successIcon-AHrfmJvv.js";
|
|
8
|
+
import { t as f } from "./verificationResult-LpiTdYIu.js";
|
|
9
|
+
import { t as p } from "./checkbox-BNgPsssk.js";
|
|
10
10
|
import { t as m } from "./incodeModule-Di2OUZ5_.js";
|
|
11
11
|
import { createElectronicSignatureManager as h } from "@incodetech/core/electronic-signature";
|
|
12
12
|
//#region src/modules/electronic-signature/documentIllustration.tsx
|
package/dist/email/email.es.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { n as e } from "../i18n-
|
|
1
|
+
import { n as e } from "../i18n-DUMvrSNM.js";
|
|
2
2
|
import { _ as t, p as n, v as r } from "../vendor-preact-D6SntenC.js";
|
|
3
|
-
import {
|
|
3
|
+
import { c as i, r as a } from "../loadingIcon-ahC-hZN7.js";
|
|
4
4
|
import { t as o } from "../spacer-DCljE53A.js";
|
|
5
5
|
import { t as s } from "../page-kB-LDkaO.js";
|
|
6
|
-
import "../extensibility-
|
|
7
|
-
import { t as c } from "../button-
|
|
8
|
-
import { t as l } from "../inputComposed-
|
|
9
|
-
import { t as u } from "../otpInput-
|
|
6
|
+
import "../extensibility-BlGCucJR.js";
|
|
7
|
+
import { t as c } from "../button-BlHmZn6D.js";
|
|
8
|
+
import { t as l } from "../inputComposed-COz9TuR1.js";
|
|
9
|
+
import { t as u } from "../otpInput-CNAOHZxZ.js";
|
|
10
10
|
import { t as d } from "../incodeModule-Di2OUZ5_.js";
|
|
11
11
|
import { createEmailManager as f } from "@incodetech/core/email";
|
|
12
12
|
//#region src/modules/email/emailInput.tsx
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
1
|
+
import { n as e } from "./i18n-DUMvrSNM.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 "./
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import "./
|
|
10
|
-
import
|
|
11
|
-
import "./
|
|
12
|
-
import "./
|
|
13
|
-
import { t as
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import
|
|
17
|
-
import "./
|
|
18
|
-
import "./inputComposed-
|
|
19
|
-
import "./
|
|
20
|
-
import "./
|
|
21
|
-
import "./
|
|
22
|
-
import "./
|
|
23
|
-
import "./
|
|
24
|
-
import "./
|
|
25
|
-
import "./
|
|
26
|
-
import "./
|
|
4
|
+
import { n as d } from "./loadingIcon-ahC-hZN7.js";
|
|
5
|
+
import { t as f } from "./spacer-DCljE53A.js";
|
|
6
|
+
import { t as p } from "./page-kB-LDkaO.js";
|
|
7
|
+
import { t as m } from "./typography-7cXma7kl.js";
|
|
8
|
+
import "./typography-CsEiWMTG.js";
|
|
9
|
+
import { t as h } from "./spinner-BAVCJLTE.js";
|
|
10
|
+
import "./spinner-B-jf992b.js";
|
|
11
|
+
import "./processing-CR7zb0TX.js";
|
|
12
|
+
import { t as g } from "./button-BlHmZn6D.js";
|
|
13
|
+
import { i as _, m as v, r as y, s as b, t as x, u as S } from "./icons-CVO6RxwW.js";
|
|
14
|
+
import { a as C, i as w } from "./tutorial-Dqk1zedL.js";
|
|
15
|
+
import { t as T } from "./successIcon-AHrfmJvv.js";
|
|
16
|
+
import "./verificationResult-LpiTdYIu.js";
|
|
17
|
+
import "./inputComposed-COz9TuR1.js";
|
|
18
|
+
import "./inputComposed-BWxnXHJf.js";
|
|
19
|
+
import "./otpInput-CNAOHZxZ.js";
|
|
20
|
+
import "./checkbox-BNgPsssk.js";
|
|
21
|
+
import "./formField-B9_nvbhW.js";
|
|
22
|
+
import "./countries-DKKNtuUp.js";
|
|
23
|
+
import "./phoneInputComposed-w9tF4xYB.js";
|
|
24
|
+
import "./dropdownComposed-P1FeTlTM.js";
|
|
25
|
+
import "./dateInputComposed-DnYA7nZG.js";
|
|
26
|
+
import { t as E } from "./modal-D75YXA_d.js";
|
|
27
27
|
import "@incodetech/core/id";
|
|
28
28
|
//#region src/shared/overlay/overlay.tsx
|
|
29
29
|
var D = ({ children: e, "aria-labelledby": t, class: n }) => /* @__PURE__ */ u("div", {
|
|
@@ -39,7 +39,7 @@ var D = ({ children: e, "aria-labelledby": t, class: n }) => /* @__PURE__ */ u("
|
|
|
39
39
|
})
|
|
40
40
|
})
|
|
41
41
|
}), O = ({ progress: e, label: n, className: r }) => /* @__PURE__ */ u("div", {
|
|
42
|
-
class:
|
|
42
|
+
class: d("IncodeProgressBarContainer", r),
|
|
43
43
|
children: [/* @__PURE__ */ u("div", {
|
|
44
44
|
class: "IncodeProgressBar",
|
|
45
45
|
role: "progressbar",
|
|
@@ -51,23 +51,23 @@ var D = ({ children: e, "aria-labelledby": t, class: n }) => /* @__PURE__ */ u("
|
|
|
51
51
|
class: "IncodeProgressBarFill",
|
|
52
52
|
style: { width: `${e}%` }
|
|
53
53
|
})
|
|
54
|
-
}), n ? /* @__PURE__ */ u(t, { children: [/* @__PURE__ */ u(
|
|
54
|
+
}), n ? /* @__PURE__ */ u(t, { children: [/* @__PURE__ */ u(f, { size: 24 }), /* @__PURE__ */ u("p", {
|
|
55
55
|
class: "IncodeProgressBarLabel",
|
|
56
56
|
children: n
|
|
57
57
|
})] }) : null]
|
|
58
|
-
}), k = r(({ id: e, label: t, checked: n, defaultChecked: r, disabled: i = !1, required: a = !1, name: o, value: s, onChange: c, error:
|
|
58
|
+
}), k = r(({ id: e, label: t, checked: n, defaultChecked: r, disabled: i = !1, required: a = !1, name: o, value: s, onChange: c, error: f, helper: p, showErrorIcon: m = !0, class: h, "aria-label": g, "aria-labelledby": _, "aria-describedby": y, "aria-invalid": b, ...x }, S) => {
|
|
59
59
|
let [C, w] = l(!!r), T = n !== void 0, E = T ? !!n : C, D = !!i, O = !!a, k = typeof h == "string" ? h : void 0, A = (e) => {
|
|
60
60
|
T || w(e.target.checked), c?.(e);
|
|
61
|
-
}, j =
|
|
61
|
+
}, j = p ? `${e}-helper` : void 0, M = f ? `${e}-error` : void 0, N = [
|
|
62
62
|
y,
|
|
63
63
|
M,
|
|
64
64
|
j
|
|
65
65
|
].filter(Boolean).join(" ") || void 0;
|
|
66
66
|
return /* @__PURE__ */ u("div", {
|
|
67
|
-
class:
|
|
67
|
+
class: d("IncodeRadioButton", k),
|
|
68
68
|
children: [
|
|
69
69
|
/* @__PURE__ */ u("label", {
|
|
70
|
-
class:
|
|
70
|
+
class: d("IncodeRadioButtonLabel", { IncodeRadioButtonLabelDisabled: D }),
|
|
71
71
|
htmlFor: e,
|
|
72
72
|
children: [/* @__PURE__ */ u("div", {
|
|
73
73
|
class: "relative inline-flex",
|
|
@@ -85,20 +85,20 @@ var D = ({ children: e, "aria-labelledby": t, class: n }) => /* @__PURE__ */ u("
|
|
|
85
85
|
"aria-label": g,
|
|
86
86
|
"aria-labelledby": _,
|
|
87
87
|
"aria-describedby": N,
|
|
88
|
-
"aria-invalid": b || !!
|
|
88
|
+
"aria-invalid": b || !!f,
|
|
89
89
|
"aria-required": O,
|
|
90
90
|
...x
|
|
91
91
|
}), /* @__PURE__ */ u("div", {
|
|
92
|
-
class:
|
|
92
|
+
class: d("IncodeRadioButtonVisual", {
|
|
93
93
|
IncodeRadioButtonVisualChecked: E,
|
|
94
94
|
IncodeRadioButtonVisualDisabled: D,
|
|
95
|
-
IncodeRadioButtonVisualError: !!
|
|
95
|
+
IncodeRadioButtonVisualError: !!f
|
|
96
96
|
}),
|
|
97
97
|
"aria-hidden": "true",
|
|
98
|
-
children: /* @__PURE__ */ u("span", { class:
|
|
98
|
+
children: /* @__PURE__ */ u("span", { class: d("IncodeRadioButtonDot", { IncodeRadioButtonDotVisible: E }) })
|
|
99
99
|
})]
|
|
100
100
|
}), t && /* @__PURE__ */ u("span", {
|
|
101
|
-
class:
|
|
101
|
+
class: d("IncodeRadioButtonText", { IncodeRadioButtonTextDisabled: D }),
|
|
102
102
|
"aria-hidden": _ ? "true" : void 0,
|
|
103
103
|
children: [t, O && /* @__PURE__ */ u("span", {
|
|
104
104
|
class: "IncodeRadioButtonRequired",
|
|
@@ -107,7 +107,7 @@ var D = ({ children: e, "aria-labelledby": t, class: n }) => /* @__PURE__ */ u("
|
|
|
107
107
|
})]
|
|
108
108
|
})]
|
|
109
109
|
}),
|
|
110
|
-
|
|
110
|
+
f && /* @__PURE__ */ u("div", {
|
|
111
111
|
class: "IncodeRadioButtonMessageWrapper",
|
|
112
112
|
"data-testid": `${e}-error-wrapper`,
|
|
113
113
|
children: [m && /* @__PURE__ */ u("div", {
|
|
@@ -116,16 +116,16 @@ var D = ({ children: e, "aria-labelledby": t, class: n }) => /* @__PURE__ */ u("
|
|
|
116
116
|
}), /* @__PURE__ */ u("p", {
|
|
117
117
|
id: M,
|
|
118
118
|
class: "IncodeRadioButtonErrorText",
|
|
119
|
-
children:
|
|
119
|
+
children: f
|
|
120
120
|
})]
|
|
121
121
|
}),
|
|
122
|
-
|
|
122
|
+
p && !f && /* @__PURE__ */ u("div", {
|
|
123
123
|
class: "IncodeRadioButtonMessageWrapper",
|
|
124
124
|
"data-testid": `${e}-helper-wrapper`,
|
|
125
125
|
children: /* @__PURE__ */ u("p", {
|
|
126
126
|
id: j,
|
|
127
127
|
class: "IncodeRadioButtonHelperText",
|
|
128
|
-
children:
|
|
128
|
+
children: p
|
|
129
129
|
})
|
|
130
130
|
})
|
|
131
131
|
]
|
|
@@ -136,12 +136,12 @@ var D = ({ children: e, "aria-labelledby": t, class: n }) => /* @__PURE__ */ u("
|
|
|
136
136
|
...i,
|
|
137
137
|
ref: t,
|
|
138
138
|
rows: r,
|
|
139
|
-
class:
|
|
139
|
+
class: d("IncodeTextArea", n)
|
|
140
140
|
});
|
|
141
|
-
}), j = r(({ id: e, label: t, "aria-label": n, error: r, showErrorIcon: i, helper: a, showHelperIcon: o, required: s, rows: c = 4, class: l, ...
|
|
141
|
+
}), j = r(({ id: e, label: t, "aria-label": n, error: r, showErrorIcon: i, helper: a, showHelperIcon: o, required: s, rows: c = 4, class: l, ...f }, p) => {
|
|
142
142
|
let m = `${e}-helper`, h = `${e}-error`, g = [a ? m : null, r ? h : null].filter(Boolean).join(" ");
|
|
143
143
|
return /* @__PURE__ */ u("div", {
|
|
144
|
-
class:
|
|
144
|
+
class: d("IncodeTextAreaComposed", l),
|
|
145
145
|
children: [
|
|
146
146
|
t && /* @__PURE__ */ u("label", {
|
|
147
147
|
class: "IncodeTextAreaComposedLabel",
|
|
@@ -157,8 +157,8 @@ var D = ({ children: e, "aria-labelledby": t, class: n }) => /* @__PURE__ */ u("
|
|
|
157
157
|
children: /* @__PURE__ */ u(A, {
|
|
158
158
|
id: e,
|
|
159
159
|
rows: c,
|
|
160
|
-
...
|
|
161
|
-
ref:
|
|
160
|
+
...f,
|
|
161
|
+
ref: p,
|
|
162
162
|
required: s,
|
|
163
163
|
...!t && n ? { "aria-label": n } : {},
|
|
164
164
|
"aria-describedby": g || void 0,
|
|
@@ -183,7 +183,7 @@ var D = ({ children: e, "aria-labelledby": t, class: n }) => /* @__PURE__ */ u("
|
|
|
183
183
|
"data-testid": `${e}-helper-wrapper`,
|
|
184
184
|
children: [o && /* @__PURE__ */ u("div", {
|
|
185
185
|
class: "IncodeTextAreaComposedIconWrapper",
|
|
186
|
-
children: /* @__PURE__ */ u(
|
|
186
|
+
children: /* @__PURE__ */ u(T, { size: 17 })
|
|
187
187
|
}), /* @__PURE__ */ u("p", {
|
|
188
188
|
id: m,
|
|
189
189
|
class: "IncodeTextAreaComposedHelper",
|
|
@@ -246,20 +246,20 @@ var P = r(({ variant: e, aspectRatio: t, orientation: n = "horizontal", frameSta
|
|
|
246
246
|
let s = `IncodeCameraFrame${r.charAt(0).toUpperCase()}${r.slice(1)}`;
|
|
247
247
|
return /* @__PURE__ */ u("div", {
|
|
248
248
|
ref: o,
|
|
249
|
-
class:
|
|
249
|
+
class: d("IncodeCameraFrame", e === "fill" && "IncodeCameraFrameFill", e === "locked" && "IncodeCameraFrameLocked", e === "locked" && n === "horizontal" && "IncodeCameraFrameHorizontal", e === "locked" && n === "vertical" && "IncodeCameraFrameVertical", s, i),
|
|
250
250
|
style: t ? { aspectRatio: t } : void 0,
|
|
251
251
|
"aria-hidden": !0,
|
|
252
252
|
children: a
|
|
253
253
|
});
|
|
254
254
|
}), F = ({ children: e, className: t }) => /* @__PURE__ */ u("div", {
|
|
255
|
-
class:
|
|
255
|
+
class: d("IncodeCameraOverlay", t),
|
|
256
256
|
children: e
|
|
257
257
|
}), I = ({ title: e, subtitle: t, visible: r = !0, className: i, titleId: a }) => {
|
|
258
258
|
let o = s(null);
|
|
259
259
|
return n(() => {
|
|
260
260
|
o.current?.focus();
|
|
261
261
|
}, []), /* @__PURE__ */ u("div", {
|
|
262
|
-
class:
|
|
262
|
+
class: d("IncodeCameraOverlayHeader", !r && "IncodeCameraOverlayHeaderHidden", i),
|
|
263
263
|
children: [/* @__PURE__ */ u(m, {
|
|
264
264
|
ref: o,
|
|
265
265
|
id: a,
|
|
@@ -278,7 +278,7 @@ var P = r(({ variant: e, aspectRatio: t, orientation: n = "horizontal", frameSta
|
|
|
278
278
|
return n(() => {
|
|
279
279
|
o.current && e && (o.current.srcObject = e, o.current.play().catch(() => {}));
|
|
280
280
|
}, [e]), /* @__PURE__ */ u("div", {
|
|
281
|
-
class:
|
|
281
|
+
class: d("IncodeCameraView", i),
|
|
282
282
|
...a,
|
|
283
283
|
children: [/* @__PURE__ */ u("div", {
|
|
284
284
|
class: "IncodeCameraViewVideo",
|
|
@@ -486,7 +486,7 @@ var B = ({ stream: e, onCapture: t, disabled: r }) => {
|
|
|
486
486
|
}, []), c = () => {
|
|
487
487
|
r(), n();
|
|
488
488
|
};
|
|
489
|
-
return /* @__PURE__ */ u(
|
|
489
|
+
return /* @__PURE__ */ u(E.Root, {
|
|
490
490
|
open: t,
|
|
491
491
|
onOpenChange: (e) => {
|
|
492
492
|
e || n();
|
|
@@ -495,15 +495,15 @@ var B = ({ stream: e, onCapture: t, disabled: r }) => {
|
|
|
495
495
|
hasBackdrop: !1,
|
|
496
496
|
portalContainer: i ?? void 0,
|
|
497
497
|
manageInitialFocus: !1,
|
|
498
|
-
children: /* @__PURE__ */ u(
|
|
498
|
+
children: /* @__PURE__ */ u(E.Content, {
|
|
499
499
|
class: "IncodeCommonIssuesContent",
|
|
500
500
|
children: [
|
|
501
|
-
/* @__PURE__ */ u(
|
|
502
|
-
/* @__PURE__ */ u(
|
|
501
|
+
/* @__PURE__ */ u(E.Close, { "aria-label": a("commonIssues.close") }),
|
|
502
|
+
/* @__PURE__ */ u(E.Icon, {
|
|
503
503
|
class: "IncodeCommonIssuesQuestionIcon",
|
|
504
504
|
children: /* @__PURE__ */ u(re, {})
|
|
505
505
|
}),
|
|
506
|
-
/* @__PURE__ */ u(
|
|
506
|
+
/* @__PURE__ */ u(E.TitleSection, { children: /* @__PURE__ */ u(m, {
|
|
507
507
|
id: "incode-modal-title",
|
|
508
508
|
ref: s,
|
|
509
509
|
className: "IncodeCommonIssuesTitle",
|
|
@@ -566,7 +566,7 @@ var B = ({ stream: e, onCapture: t, disabled: r }) => {
|
|
|
566
566
|
})
|
|
567
567
|
]
|
|
568
568
|
}),
|
|
569
|
-
/* @__PURE__ */ u(
|
|
569
|
+
/* @__PURE__ */ u(E.Actions, {
|
|
570
570
|
class: "IncodeCommonIssuesButtons",
|
|
571
571
|
children: [/* @__PURE__ */ u(g, {
|
|
572
572
|
variant: "link",
|
|
@@ -585,14 +585,14 @@ var B = ({ stream: e, onCapture: t, disabled: r }) => {
|
|
|
585
585
|
}, ae = ({ orientation: e, mode: t, state: n, children: r, className: i }) => {
|
|
586
586
|
let a = e !== "vertical" || t === "passport", o = t === "passport", s = `IncodeCaptureFrame${n.charAt(0).toUpperCase() + n.slice(1)}`;
|
|
587
587
|
return /* @__PURE__ */ u("div", {
|
|
588
|
-
class:
|
|
588
|
+
class: d("IncodeCaptureFrame", a ? "IncodeCaptureFrameHorizontal" : "IncodeCaptureFrameVertical", s, o && "IncodeCaptureFramePassport", i),
|
|
589
589
|
"aria-hidden": "true",
|
|
590
590
|
role: "presentation",
|
|
591
591
|
children: r
|
|
592
592
|
});
|
|
593
593
|
}, H = ({ imageUrl: t, orientation: n, mode: r, borderState: i, topContent: a, bottomContent: o, overlayContent: s }) => {
|
|
594
594
|
let { t: c } = e();
|
|
595
|
-
return /* @__PURE__ */ u(
|
|
595
|
+
return /* @__PURE__ */ u(p, {
|
|
596
596
|
hideHeader: !0,
|
|
597
597
|
hideFooterBranding: !0,
|
|
598
598
|
children: /* @__PURE__ */ u("div", {
|
|
@@ -635,9 +635,9 @@ var B = ({ stream: e, onCapture: t, disabled: r }) => {
|
|
|
635
635
|
return n(() => {
|
|
636
636
|
c.current?.focus();
|
|
637
637
|
}, []), n(() => {
|
|
638
|
-
d ? import("./id-laser-h-
|
|
638
|
+
d ? import("./id-laser-h-BrG7qvHh.js").then((e) => {
|
|
639
639
|
p(e.default);
|
|
640
|
-
}) : import("./id-laser-v-
|
|
640
|
+
}) : import("./id-laser-v-Bt1xfH5h.js").then((e) => {
|
|
641
641
|
p(e.default);
|
|
642
642
|
});
|
|
643
643
|
}, [d]), /* @__PURE__ */ u(H, {
|
|
@@ -687,7 +687,7 @@ var B = ({ stream: e, onCapture: t, disabled: r }) => {
|
|
|
687
687
|
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",
|
|
688
688
|
fill: "#E71111"
|
|
689
689
|
})
|
|
690
|
-
}), K = ({ variant: r, imageUrl: i, orientation: a, mode: o, title: c, subtitle: l, buttonText:
|
|
690
|
+
}), K = ({ variant: r, imageUrl: i, orientation: a, mode: o, title: c, subtitle: l, buttonText: d, onButtonClick: p, attemptsRemaining: h }) => {
|
|
691
691
|
let { t: _ } = e(), v = s(null);
|
|
692
692
|
return n(() => {
|
|
693
693
|
v.current?.focus();
|
|
@@ -701,14 +701,14 @@ var B = ({ stream: e, onCapture: t, disabled: r }) => {
|
|
|
701
701
|
role: "status",
|
|
702
702
|
children: [
|
|
703
703
|
u(r === "success" ? W : G, { className: "IncodeIdProcessingResultIcon" }),
|
|
704
|
-
/* @__PURE__ */ u(
|
|
704
|
+
/* @__PURE__ */ u(f, { size: 16 }),
|
|
705
705
|
c && /* @__PURE__ */ u(m, {
|
|
706
706
|
ref: v,
|
|
707
707
|
className: "IncodeIdProcessingResultTitle",
|
|
708
708
|
tabIndex: -1,
|
|
709
709
|
children: c
|
|
710
710
|
}),
|
|
711
|
-
l && /* @__PURE__ */ u(t, { children: [/* @__PURE__ */ u(
|
|
711
|
+
l && /* @__PURE__ */ u(t, { children: [/* @__PURE__ */ u(f, { size: 12 }), /* @__PURE__ */ u("p", {
|
|
712
712
|
class: "IncodeIdProcessingResultSubtitle",
|
|
713
713
|
children: l
|
|
714
714
|
})] })
|
|
@@ -722,7 +722,7 @@ var B = ({ stream: e, onCapture: t, disabled: r }) => {
|
|
|
722
722
|
}), /* @__PURE__ */ u(g, {
|
|
723
723
|
onClick: p,
|
|
724
724
|
"data-testid": "retry-button",
|
|
725
|
-
children:
|
|
725
|
+
children: d
|
|
726
726
|
})]
|
|
727
727
|
})
|
|
728
728
|
});
|
|
@@ -770,7 +770,7 @@ var B = ({ stream: e, onCapture: t, disabled: r }) => {
|
|
|
770
770
|
let { t: r } = e(), i = s(null);
|
|
771
771
|
return n(() => {
|
|
772
772
|
i.current?.focus();
|
|
773
|
-
}, []), /* @__PURE__ */ u(
|
|
773
|
+
}, []), /* @__PURE__ */ u(p, {
|
|
774
774
|
hideHeader: !0,
|
|
775
775
|
hideFooterBranding: !0,
|
|
776
776
|
className: "IncodeIdExpiredPage",
|
|
@@ -785,12 +785,12 @@ var B = ({ stream: e, onCapture: t, disabled: r }) => {
|
|
|
785
785
|
className: "IncodeIdExpiredTitle",
|
|
786
786
|
children: r("idv2.capture.notifications.expiredId")
|
|
787
787
|
}),
|
|
788
|
-
/* @__PURE__ */ u(
|
|
788
|
+
/* @__PURE__ */ u(f, { size: 12 }),
|
|
789
789
|
/* @__PURE__ */ u("p", {
|
|
790
790
|
class: "IncodeIdExpiredSubtitle",
|
|
791
791
|
children: r("idv2.capture.notifications.useDifferent")
|
|
792
792
|
}),
|
|
793
|
-
/* @__PURE__ */ u(
|
|
793
|
+
/* @__PURE__ */ u(f, { size: 80 })
|
|
794
794
|
]
|
|
795
795
|
}), /* @__PURE__ */ u("div", {
|
|
796
796
|
class: "IncodeIdExpiredButtonContainer",
|
|
@@ -804,11 +804,11 @@ var B = ({ stream: e, onCapture: t, disabled: r }) => {
|
|
|
804
804
|
})]
|
|
805
805
|
});
|
|
806
806
|
}, Y = /* @__PURE__ */ new Map(), X = !1, Z = {
|
|
807
|
-
blur: () => import("./blurdevicelottie-
|
|
808
|
-
glare: () => import("./glaredevicelottie-
|
|
809
|
-
align: () => import("./aligndevicelottie-
|
|
810
|
-
front: () => import("./frontdevicelottie-
|
|
811
|
-
back: () => import("./backdevicelottie-
|
|
807
|
+
blur: () => import("./blurdevicelottie-DGpZjyZE.js"),
|
|
808
|
+
glare: () => import("./glaredevicelottie-DvG7qeiM.js"),
|
|
809
|
+
align: () => import("./aligndevicelottie-B9K1XnzC.js"),
|
|
810
|
+
front: () => import("./frontdevicelottie-DBrRXwKx.js"),
|
|
811
|
+
back: () => import("./backdevicelottie-DPvn_MCA.js")
|
|
812
812
|
};
|
|
813
813
|
function Q(e) {
|
|
814
814
|
X || (X = !0, Promise.all([
|
|
@@ -861,7 +861,7 @@ function le(t, r) {
|
|
|
861
861
|
//#endregion
|
|
862
862
|
//#region src/modules/id/capture/captureNotification.tsx
|
|
863
863
|
var ue = ({ detectionStatus: r, mode: i, isCapturing: a }) => {
|
|
864
|
-
let { t: c } = e(), l = le(r, i),
|
|
864
|
+
let { t: c } = e(), l = le(r, i), p = s(null), m = s({
|
|
865
865
|
message: "",
|
|
866
866
|
at: 0
|
|
867
867
|
}), h = s(r), g = s(!1), _ = s(), v = s(), y = r === "detecting" || r === "idNotDetected" || r === "manualCapture", b = r === "manualCapture", x = r === "wrongSide", S = r === "farAway", w = r === "glare", T = r === "blur", E = o((e) => {
|
|
@@ -871,7 +871,7 @@ var ue = ({ detectionStatus: r, mode: i, isCapturing: a }) => {
|
|
|
871
871
|
message: e,
|
|
872
872
|
at: t
|
|
873
873
|
};
|
|
874
|
-
let r =
|
|
874
|
+
let r = p.current;
|
|
875
875
|
r && (clearTimeout(_.current), r.textContent = "", v.current = setTimeout(() => {
|
|
876
876
|
r.textContent = e, _.current = setTimeout(() => {
|
|
877
877
|
r.textContent = "";
|
|
@@ -936,18 +936,18 @@ var ue = ({ detectionStatus: r, mode: i, isCapturing: a }) => {
|
|
|
936
936
|
]), n(() => () => {
|
|
937
937
|
clearTimeout(v.current), clearTimeout(_.current);
|
|
938
938
|
}, []), /* @__PURE__ */ u(t, { children: [/* @__PURE__ */ u("div", {
|
|
939
|
-
ref:
|
|
939
|
+
ref: p,
|
|
940
940
|
class: "IncodeSrOnly",
|
|
941
941
|
"aria-live": "assertive",
|
|
942
942
|
"aria-atomic": "true"
|
|
943
943
|
}), l ? /* @__PURE__ */ u("div", {
|
|
944
|
-
class:
|
|
944
|
+
class: d("IncodeIdCaptureNotification"),
|
|
945
945
|
"aria-hidden": "true",
|
|
946
946
|
children: /* @__PURE__ */ u("div", {
|
|
947
947
|
class: "IncodeIdCaptureNotificationContent",
|
|
948
948
|
children: [
|
|
949
949
|
/* @__PURE__ */ u("div", {
|
|
950
|
-
class:
|
|
950
|
+
class: d("IncodeIdCaptureNotificationText"),
|
|
951
951
|
children: [/* @__PURE__ */ u("div", {
|
|
952
952
|
class: "IncodeIdCaptureNotificationTitle",
|
|
953
953
|
children: l.title
|
|
@@ -956,7 +956,7 @@ var ue = ({ detectionStatus: r, mode: i, isCapturing: a }) => {
|
|
|
956
956
|
children: l.description
|
|
957
957
|
})]
|
|
958
958
|
}),
|
|
959
|
-
/* @__PURE__ */ u(
|
|
959
|
+
/* @__PURE__ */ u(f, {
|
|
960
960
|
size: 16,
|
|
961
961
|
direction: "horizontal"
|
|
962
962
|
}),
|
|
@@ -970,7 +970,7 @@ var ue = ({ detectionStatus: r, mode: i, isCapturing: a }) => {
|
|
|
970
970
|
]
|
|
971
971
|
})
|
|
972
972
|
}) : null] });
|
|
973
|
-
}, de = i(() => import("./front-horizontal-hint-
|
|
973
|
+
}, de = i(() => import("./front-horizontal-hint-DgopDgUF.js")), fe = i(() => import("./front-vertical-hint-nOpxcjqw.js")), pe = i(() => import("./back-horizontal-hint-Dy_Qglma.js")), me = i(() => import("./back-vertical-hint-Dg3OKUKF.js")), he = i(() => import("./passport-horizontal-hint-DXzBzsri.js")), ge = i(() => import("./passport-vertical-hint-B8Sap2l6.js")), _e = {
|
|
974
974
|
"front-horizontal": 348,
|
|
975
975
|
"back-horizontal": 348,
|
|
976
976
|
"passport-horizontal": 342
|
|
@@ -1015,7 +1015,7 @@ var be = ({ mode: e, orientation: t }) => {
|
|
|
1015
1015
|
})
|
|
1016
1016
|
})
|
|
1017
1017
|
});
|
|
1018
|
-
}, $ = r(({ mode: t, orientation: r, detectionStatus: i, counterValue: o, isCapturing: s, showManualCapture: c, onCapture: l, onOpenHelp:
|
|
1018
|
+
}, $ = r(({ mode: t, orientation: r, detectionStatus: i, counterValue: o, isCapturing: s, showManualCapture: c, onCapture: l, onOpenHelp: f, helpButtonRef: p, captureButtonRef: m }, h) => {
|
|
1019
1019
|
let { t: g } = e();
|
|
1020
1020
|
ce(), n(() => {
|
|
1021
1021
|
c && m && m.current?.focus();
|
|
@@ -1046,7 +1046,7 @@ var be = ({ mode: e, orientation: t }) => {
|
|
|
1046
1046
|
g
|
|
1047
1047
|
]), y = _(), b = t === "passport", x = r !== "vertical" || b, S = x ? "horizontal" : "vertical";
|
|
1048
1048
|
return /* @__PURE__ */ u(F, {
|
|
1049
|
-
className:
|
|
1049
|
+
className: d("IncodeCaptureOverlayId", !x && "IncodeCaptureOverlayVertical"),
|
|
1050
1050
|
children: [
|
|
1051
1051
|
/* @__PURE__ */ u("div", {
|
|
1052
1052
|
class: "IncodeCaptureTopSection",
|
|
@@ -1066,7 +1066,7 @@ var be = ({ mode: e, orientation: t }) => {
|
|
|
1066
1066
|
variant: "locked",
|
|
1067
1067
|
orientation: S,
|
|
1068
1068
|
frameState: y,
|
|
1069
|
-
className:
|
|
1069
|
+
className: d(b && "IncodeCaptureFramePassport"),
|
|
1070
1070
|
children: [s && o > 0 && /* @__PURE__ */ u("div", {
|
|
1071
1071
|
class: "IncodeCaptureCounter",
|
|
1072
1072
|
children: o
|
|
@@ -1082,10 +1082,10 @@ var be = ({ mode: e, orientation: t }) => {
|
|
|
1082
1082
|
children: s && o > 0 ? o : ""
|
|
1083
1083
|
}),
|
|
1084
1084
|
/* @__PURE__ */ u(R, {
|
|
1085
|
-
onOpenHelp:
|
|
1085
|
+
onOpenHelp: f,
|
|
1086
1086
|
onCapture: l,
|
|
1087
1087
|
isManualCapture: c,
|
|
1088
|
-
helpButtonRef:
|
|
1088
|
+
helpButtonRef: p,
|
|
1089
1089
|
captureButtonRef: m,
|
|
1090
1090
|
captureAriaDescribedBy: c ? "manual-capture-tooltip" : void 0,
|
|
1091
1091
|
children: c ? /* @__PURE__ */ u("div", {
|
|
@@ -1105,7 +1105,7 @@ var be = ({ mode: e, orientation: t }) => {
|
|
|
1105
1105
|
});
|
|
1106
1106
|
}), xe = ({ manager: t, state: n }) => {
|
|
1107
1107
|
let { t: r } = e();
|
|
1108
|
-
if (n.captureStatus === "initializing") return /* @__PURE__ */ u(
|
|
1108
|
+
if (n.captureStatus === "initializing") return /* @__PURE__ */ u(p, {
|
|
1109
1109
|
hideHeader: !0,
|
|
1110
1110
|
hideFooterBranding: !0,
|
|
1111
1111
|
className: "IncodeIdCapturePage",
|
|
@@ -1134,7 +1134,7 @@ var be = ({ mode: e, orientation: t }) => {
|
|
|
1134
1134
|
state: n
|
|
1135
1135
|
});
|
|
1136
1136
|
}, Se = ({ manager: e, state: t }) => {
|
|
1137
|
-
let r = s(null), i = s(null), a = s(null), o = s(null), c = s(null), [d,
|
|
1137
|
+
let r = s(null), i = s(null), a = s(null), o = s(null), c = s(null), [d, f] = l(!1), [m, h] = l(!1);
|
|
1138
1138
|
n(() => {
|
|
1139
1139
|
let e = r.current;
|
|
1140
1140
|
if (!e || !t.stream) {
|
|
@@ -1163,17 +1163,17 @@ var be = ({ mode: e, orientation: t }) => {
|
|
|
1163
1163
|
m
|
|
1164
1164
|
]);
|
|
1165
1165
|
let g = t.captureStatus === "capturing" || t.detectionStatus === "capturing", _ = t.detectionStatus, v = _ === "manualCapture" || t.showCaptureButtonInAuto && t.captureStatus === "detecting" && _ !== "capturing", y = () => {
|
|
1166
|
-
|
|
1166
|
+
f(!0);
|
|
1167
1167
|
}, b = () => {
|
|
1168
|
-
|
|
1168
|
+
f(!1), requestAnimationFrame(() => {
|
|
1169
1169
|
o.current ? o.current.focus() : a.current?.focus();
|
|
1170
1170
|
});
|
|
1171
1171
|
}, x = () => {
|
|
1172
|
-
|
|
1172
|
+
f(!1), e.switchToManualCapture();
|
|
1173
1173
|
}, S = () => {
|
|
1174
1174
|
e.capture();
|
|
1175
1175
|
};
|
|
1176
|
-
return /* @__PURE__ */ u(
|
|
1176
|
+
return /* @__PURE__ */ u(p, {
|
|
1177
1177
|
hideHeader: !0,
|
|
1178
1178
|
hideFooterBranding: !0,
|
|
1179
1179
|
className: "IncodeIdCapturePage",
|
|
@@ -1205,17 +1205,17 @@ var be = ({ mode: e, orientation: t }) => {
|
|
|
1205
1205
|
]
|
|
1206
1206
|
});
|
|
1207
1207
|
}, Ce = ({ manager: t, state: r }) => {
|
|
1208
|
-
let { t: i } = e(), [a, o] = l(!1), [s, c] = l(null),
|
|
1208
|
+
let { t: i } = e(), [a, o] = l(!1), [s, c] = l(null), f = r.selectedDocumentType === "passport", p = r.currentMode === "back";
|
|
1209
1209
|
if (n(() => {
|
|
1210
|
-
|
|
1210
|
+
f ? import("./passport-tutorial-DEr1yuAg.js").then((e) => {
|
|
1211
1211
|
c(e.default);
|
|
1212
|
-
}) :
|
|
1212
|
+
}) : p ? import("./back-tutorial-Cc5SwoLa.js").then((e) => {
|
|
1213
1213
|
c(e.default);
|
|
1214
|
-
}) : import("./id-tutorial-
|
|
1214
|
+
}) : import("./id-tutorial-WgpG0ahL.js").then((e) => {
|
|
1215
1215
|
c(e.default);
|
|
1216
1216
|
});
|
|
1217
|
-
}, [
|
|
1218
|
-
let m = i(
|
|
1217
|
+
}, [f, p]), !s) return null;
|
|
1218
|
+
let m = i(f ? "idv2.capture.passport.title" : p ? "idv2.backTutorial.title" : "idv2.tutorial.v2.title"), h = i(f ? "idv2.capture.passport.subtitle" : p ? "idv2.backTutorial.subtitle" : "idv2.tutorial.subtitle"), g = i(p ? "idv2.backTutorial.disclaimer" : "idv2.tutorial.v2.autocapture");
|
|
1219
1219
|
return /* @__PURE__ */ u(w, {
|
|
1220
1220
|
animationData: s,
|
|
1221
1221
|
title: m,
|
|
@@ -1226,7 +1226,7 @@ var be = ({ mode: e, orientation: t }) => {
|
|
|
1226
1226
|
buttonText: i("idv2.tutorial.startScan"),
|
|
1227
1227
|
disclaimerText: g,
|
|
1228
1228
|
isLoading: a,
|
|
1229
|
-
className:
|
|
1229
|
+
className: d("IncodeIdTutorial", f ? "IncodeIdTutorialPassport" : "IncodeIdTutorialId")
|
|
1230
1230
|
});
|
|
1231
1231
|
}, we = {
|
|
1232
1232
|
digitalIdUpload: {
|
|
@@ -2277,7 +2277,7 @@ var Ee = ({ manager: t, state: n }) => {
|
|
|
2277
2277
|
let { t: r } = e(), i = a(() => Te(n.availableDocumentTypes), [n.availableDocumentTypes]), o = (e) => {
|
|
2278
2278
|
t.selectDocument(e);
|
|
2279
2279
|
};
|
|
2280
|
-
return /* @__PURE__ */ u(
|
|
2280
|
+
return /* @__PURE__ */ u(p, {
|
|
2281
2281
|
title: r("idv2.chooser.chooseHowToVerifyTitle"),
|
|
2282
2282
|
"data-testid": "document-chooser-page",
|
|
2283
2283
|
className: "IncodeChooserPage",
|
|
@@ -2293,9 +2293,9 @@ var Ee = ({ manager: t, state: n }) => {
|
|
|
2293
2293
|
})
|
|
2294
2294
|
});
|
|
2295
2295
|
}, De = ({ manager: t, direction: r }) => {
|
|
2296
|
-
let [i, a] = l(null), [s, c] = l(!1), { t:
|
|
2296
|
+
let [i, a] = l(null), [s, c] = l(!1), { t: d } = e();
|
|
2297
2297
|
n(() => {
|
|
2298
|
-
import("./flip-animation-
|
|
2298
|
+
import("./flip-animation-DwJvEqyX.js").then((e) => {
|
|
2299
2299
|
a(e.default);
|
|
2300
2300
|
});
|
|
2301
2301
|
}, []);
|
|
@@ -2304,16 +2304,16 @@ var Ee = ({ manager: t, state: n }) => {
|
|
|
2304
2304
|
}, [r, t]);
|
|
2305
2305
|
return s ? /* @__PURE__ */ u(h, {
|
|
2306
2306
|
size: "large",
|
|
2307
|
-
title: `${
|
|
2307
|
+
title: `${d("webcam.loading")}...`
|
|
2308
2308
|
}) : i ? /* @__PURE__ */ u("div", {
|
|
2309
2309
|
class: "IncodeFlipAnimation",
|
|
2310
2310
|
children: [
|
|
2311
2311
|
/* @__PURE__ */ u(m, {
|
|
2312
2312
|
role: "status",
|
|
2313
2313
|
className: "IncodeFlipAnimationTitle",
|
|
2314
|
-
children:
|
|
2314
|
+
children: d(r === "toBack" ? "idv2.flipAnimation.title" : "idv2.flipAnimation.titleToFront")
|
|
2315
2315
|
}),
|
|
2316
|
-
/* @__PURE__ */ u(
|
|
2316
|
+
/* @__PURE__ */ u(f, { size: 32 }),
|
|
2317
2317
|
/* @__PURE__ */ u(C, {
|
|
2318
2318
|
animationData: i,
|
|
2319
2319
|
loop: !1,
|