@incodetech/web 0.0.0-dev-20260416-e8e67a4 → 0.0.0-dev-20260416-3692bda
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-RC03ULcj.js → AsYouType-C9ozHT0m.js} +1 -1
- package/dist/{addressAutocomplete-n0bBMSty.js → addressAutocomplete-BPpO7rrX.js} +4 -4
- package/dist/ae-signature/ae-signature.es.js +2 -2
- package/dist/antifraud/antifraud.es.js +3 -3
- package/dist/authentication/authentication.es.js +3 -3
- package/dist/{button-BlHmZn6D.js → button-wmLHLQxG.js} +1 -1
- package/dist/{checkbox-BNgPsssk.js → checkbox-CM72oZfM.js} +2 -2
- package/dist/consent/consent.es.js +9 -9
- package/dist/cross-document-data-match/cross-document-data-match.es.js +3 -3
- package/dist/curp-validation/curp-validation.es.js +14 -14
- package/dist/{dateInputComposed-B8nKYsUG.js → dateInputComposed-CvIDakYb.js} +4 -4
- package/dist/dateInputComposed-fdBzdL8N.js +1 -0
- package/dist/{documentCapture-DHtlw3Lu.js → documentCapture-BAvYoKZ7.js} +65 -64
- package/dist/{dropdownComposed-CR1bc7Z9.js → dropdownComposed-BE7-ghHI.js} +3 -3
- package/dist/dropdownComposed-ChSksPc2.js +1 -0
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/ekybModule-BeYiTLFg.js +2 -0
- package/dist/{ekybModule-BBSKwZZy.js → ekybModule-Dm6NrgtW.js} +14 -14
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/{ekycModule-Dca-zhQw.js → ekycModule-ChHA8VPJ.js} +19 -19
- package/dist/ekycModule-zakzAXhB.js +2 -0
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-DEAXKbsk.js → electronic-signature-CPfLwg-x.js} +9 -9
- package/dist/email/email.es.js +8 -8
- package/dist/{extensibility-BlGCucJR.js → extensibility-t-H5EpZ8.js} +96 -95
- package/dist/extensibility.es.js +22 -22
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/faceMatch-B74pDVYi.js +2 -0
- package/dist/{faceMatch-D6HVVSiY.js → faceMatch-ClWhkFUE.js} +6 -6
- package/dist/flow/flow.es.js +195 -186
- package/dist/{formField-B9_nvbhW.js → formField-9ouSScYr.js} +2 -2
- package/dist/geolocation/geolocation.es.js +6 -6
- package/dist/governmentValidation/governmentValidation.es.js +8 -8
- package/dist/homeScreen-C0-81utl.js +210 -0
- package/dist/{i18n-DUMvrSNM.js → i18n-BpEDCZi_.js} +1 -1
- package/dist/{icons-CVO6RxwW.js → icons-G_Ct2lZU.js} +1 -1
- package/dist/id/id.es.js +6 -6
- package/dist/identity-reuse/identity-reuse.es.js +6 -6
- package/dist/incode-logo-DX016usY.js +4 -0
- package/dist/{loadingIcon-ahC-hZN7.js → incodeComponent-DIb7wDAq.js} +2 -42
- package/dist/index.es.js +1 -1
- package/dist/inputComposed-BqRIZ9pG.js +1 -0
- package/dist/{inputComposed-COz9TuR1.js → inputComposed-d8s1aPjr.js} +3 -3
- package/dist/loadingIcon-HWY04StG.js +42 -0
- package/dist/{mandatoryConsent-DWwvkGGf.js → mandatoryConsent-BVrqZJDU.js} +9 -9
- package/dist/{modal-D75YXA_d.js → modal-BQF9tPLH.js} +2 -2
- package/dist/{otpInput-CNAOHZxZ.js → otpInput-OtCx4bG4.js} +4 -4
- package/dist/{page-kB-LDkaO.js → page-D5Mt-0zn.js} +4 -3
- package/dist/phone/phone.es.js +8 -8
- package/dist/{phoneInput-CzcmqH3C.js → phoneInput-DHepphBa.js} +3 -3
- package/dist/{phoneInputComposed-w9tF4xYB.js → phoneInputComposed-DOuz7g1p.js} +6 -6
- package/dist/{processing-CR7zb0TX.js → processing-LdRzxpWv.js} +2 -2
- package/dist/qe-signature/qe-signature.es.js +2 -2
- package/dist/{redirectToMobile-CYt-uhqB.js → redirectToMobile-1oLWg6QJ.js} +23 -21
- package/dist/{richText-MNrzpRze.js → richText-gJTUJEMX.js} +1 -1
- package/dist/selfie/selfie.es.js +4 -4
- package/dist/{setup-IE6CqyVs.js → setup-D7-7VjBv.js} +1 -1
- package/dist/signature/signature.es.js +9 -9
- package/dist/spinner-CFvndzMU.js +1 -0
- package/dist/{spinner-BAVCJLTE.js → spinner-l6dvYqCg.js} +7 -7
- package/dist/{tutorial-Dqk1zedL.js → tutorial-DMwavp-V.js} +43 -42
- package/dist/{typography-7cXma7kl.js → typography-CNNFm2Bl.js} +1 -1
- package/dist/typography-ClOy6Kmo.js +1 -0
- package/dist/{useModuleLoader-DPGKFaMr.js → useModuleLoader-C8N5qfo6.js} +109 -75
- package/dist/{verificationResult-LpiTdYIu.js → verificationResult-WLz8qNU8.js} +6 -6
- package/dist/{verifiedByIncode-CMPwRtA2.js → verifiedByIncode-ChZBpqNy.js} +12 -15
- package/dist/watchlist/watchlist.es.js +22 -21
- package/dist/workflow/workflow.es.js +18 -18
- package/package.json +2 -2
- package/dist/dateInputComposed-DnYA7nZG.js +0 -1
- package/dist/dropdownComposed-P1FeTlTM.js +0 -1
- package/dist/ekybModule-qBQ8sJSr.js +0 -2
- package/dist/ekycModule-R0YaUzV3.js +0 -2
- package/dist/faceMatch-CFxHH3ic.js +0 -2
- package/dist/home/home.es.js +0 -224
- package/dist/home/styles.css +0 -172
- package/dist/inputComposed-BWxnXHJf.js +0 -1
- package/dist/spinner-B-jf992b.js +0 -1
- package/dist/types/home.d.ts +0 -30
- package/dist/typography-CsEiWMTG.js +0 -1
- /package/dist/{aligndevicelottie-B9K1XnzC.js → aligndevicelottie-BfnvOtwi.js} +0 -0
- /package/dist/{back-horizontal-hint-Dy_Qglma.js → back-horizontal-hint-CpDPt7Pn.js} +0 -0
- /package/dist/{back-tutorial-Cc5SwoLa.js → back-tutorial-DRNlpp1o.js} +0 -0
- /package/dist/{back-vertical-hint-Dg3OKUKF.js → back-vertical-hint-CMS6HTd5.js} +0 -0
- /package/dist/{backdevicelottie-DPvn_MCA.js → backdevicelottie-DqTioBhp.js} +0 -0
- /package/dist/{blurdevicelottie-DGpZjyZE.js → blurdevicelottie-BCYf_azj.js} +0 -0
- /package/dist/{browser-ponyfill-CTu_YiCx.js → browser-ponyfill-CRq2EKxP.js} +0 -0
- /package/dist/{countries-DKKNtuUp.js → countries-Bbn2lyxr.js} +0 -0
- /package/dist/{defineProperty-DXvyTpBq.js → defineProperty-CqT6YdHJ.js} +0 -0
- /package/dist/{flip-animation-DwJvEqyX.js → flip-animation-Dj8sBkxM.js} +0 -0
- /package/dist/{front-horizontal-hint-DgopDgUF.js → front-horizontal-hint-C204EjG5.js} +0 -0
- /package/dist/{front-vertical-hint-nOpxcjqw.js → front-vertical-hint-BT8dqgFS.js} +0 -0
- /package/dist/{frontdevicelottie-DBrRXwKx.js → frontdevicelottie-BOCUyhYK.js} +0 -0
- /package/dist/{glaredevicelottie-DvG7qeiM.js → glaredevicelottie-g5gLJDcn.js} +0 -0
- /package/dist/{id-laser-h-BrG7qvHh.js → id-laser-h-C9wj3dpL.js} +0 -0
- /package/dist/{id-laser-v-Bt1xfH5h.js → id-laser-v-Bmnxnt0M.js} +0 -0
- /package/dist/{id-tutorial-WgpG0ahL.js → id-tutorial-CFTli-M3.js} +0 -0
- /package/dist/{incodeModule-Di2OUZ5_.js → incodeModule-D_r2n18O.js} +0 -0
- /package/dist/{numberedStep-LYLcVRNh.js → numberedStep-CR4w_BpM.js} +0 -0
- /package/dist/{passport-horizontal-hint-DXzBzsri.js → passport-horizontal-hint-DQ_bncwr.js} +0 -0
- /package/dist/{passport-tutorial-DEr1yuAg.js → passport-tutorial-Bihd5YfK.js} +0 -0
- /package/dist/{passport-vertical-hint-B8Sap2l6.js → passport-vertical-hint-Bck8hVuX.js} +0 -0
- /package/dist/{selfieTutorial-B5l5ny8O.js → selfieTutorial-Cu9vXjss.js} +0 -0
- /package/dist/{successIcon-AHrfmJvv.js → successIcon-C4GI_9SU.js} +0 -0
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CjdbFOpI.js";
|
|
2
|
-
import { n as t, t as n } from "./i18n-
|
|
2
|
+
import { n as t, t as n } from "./i18n-BpEDCZi_.js";
|
|
3
3
|
import { S as r, _ as i, c as a, g as o, h as s, o as c, p as l, v as u, x as d } from "./vendor-preact-D6SntenC.js";
|
|
4
|
-
import {
|
|
5
|
-
import { t as
|
|
6
|
-
import {
|
|
7
|
-
import { t as
|
|
8
|
-
import "./
|
|
9
|
-
import { t as
|
|
10
|
-
import "./
|
|
11
|
-
import { t as
|
|
12
|
-
import
|
|
13
|
-
import { t as
|
|
4
|
+
import { o as f, t as p } from "./incodeComponent-DIb7wDAq.js";
|
|
5
|
+
import { t as m } from "./spacer-DCljE53A.js";
|
|
6
|
+
import { t as h } from "./incode-logo-DX016usY.js";
|
|
7
|
+
import { n as g, t as _ } from "./verifiedByIncode-ChZBpqNy.js";
|
|
8
|
+
import { n as v } from "./loadingIcon-HWY04StG.js";
|
|
9
|
+
import { t as y } from "./spinner-l6dvYqCg.js";
|
|
10
|
+
import "./spinner-CFvndzMU.js";
|
|
11
|
+
import { t as b } from "./button-wmLHLQxG.js";
|
|
12
|
+
import "./icons-G_Ct2lZU.js";
|
|
13
|
+
import { t as x } from "./successIcon-C4GI_9SU.js";
|
|
14
|
+
import { n as S } from "./countries-Bbn2lyxr.js";
|
|
15
|
+
import { t as C } from "./incodeModule-D_r2n18O.js";
|
|
14
16
|
import { createRedirectToMobileManager as w } from "@incodetech/core/redirect-to-mobile";
|
|
15
17
|
//#region src/shared/tabs/tabs.tsx
|
|
16
18
|
var T = d(null), E = () => {
|
|
@@ -41,7 +43,7 @@ var T = d(null), E = () => {
|
|
|
41
43
|
let { activeValue: n, setActiveValue: r, triggerClassName: i, activeTriggerClassName: a } = E();
|
|
42
44
|
return /* @__PURE__ */ u("button", {
|
|
43
45
|
type: "button",
|
|
44
|
-
class:
|
|
46
|
+
class: v(i, n === e && a),
|
|
45
47
|
onClick: () => r(e),
|
|
46
48
|
children: t
|
|
47
49
|
});
|
|
@@ -63,12 +65,12 @@ var T = d(null), E = () => {
|
|
|
63
65
|
class: "IncodeRedirectLogo"
|
|
64
66
|
})
|
|
65
67
|
}),
|
|
66
|
-
/* @__PURE__ */ u(
|
|
68
|
+
/* @__PURE__ */ u(m, { size: 24 }),
|
|
67
69
|
/* @__PURE__ */ u("h1", {
|
|
68
70
|
class: "IncodeRedirectTitle",
|
|
69
71
|
children: n("v2.redirectToMobile.title")
|
|
70
72
|
}),
|
|
71
|
-
/* @__PURE__ */ u(
|
|
73
|
+
/* @__PURE__ */ u(m, { size: 12 }),
|
|
72
74
|
/* @__PURE__ */ u("p", {
|
|
73
75
|
class: "IncodeRedirectSubtitle",
|
|
74
76
|
children: n("v2.redirectToMobile.subtitle")
|
|
@@ -83,7 +85,7 @@ var T = d(null), E = () => {
|
|
|
83
85
|
variant: "link",
|
|
84
86
|
onClick: n,
|
|
85
87
|
children: r("redirect.continueOnDesktop")
|
|
86
|
-
}) : null, /* @__PURE__ */ u(
|
|
88
|
+
}) : null, /* @__PURE__ */ u(_, {})]
|
|
87
89
|
});
|
|
88
90
|
}, A = ({ visible: e }) => {
|
|
89
91
|
let { t: n } = t();
|
|
@@ -1355,17 +1357,17 @@ var T = d(null), E = () => {
|
|
|
1355
1357
|
class: "IncodeRedirectLinkSent",
|
|
1356
1358
|
children: [
|
|
1357
1359
|
/* @__PURE__ */ u(x, { size: 32 }),
|
|
1358
|
-
/* @__PURE__ */ u(
|
|
1360
|
+
/* @__PURE__ */ u(m, { size: 16 }),
|
|
1359
1361
|
/* @__PURE__ */ u("h2", {
|
|
1360
1362
|
class: "IncodeRedirectLinkSentTitle",
|
|
1361
1363
|
children: a("redirect.linkSent")
|
|
1362
1364
|
}),
|
|
1363
|
-
/* @__PURE__ */ u(
|
|
1365
|
+
/* @__PURE__ */ u(m, { size: 12 }),
|
|
1364
1366
|
/* @__PURE__ */ u("p", {
|
|
1365
1367
|
class: "IncodeRedirectLinkSentPhone",
|
|
1366
1368
|
children: a("redirect.linkSentTo", { phone: e })
|
|
1367
1369
|
}),
|
|
1368
|
-
/* @__PURE__ */ u(
|
|
1370
|
+
/* @__PURE__ */ u(m, { size: 32 }),
|
|
1369
1371
|
/* @__PURE__ */ u("div", {
|
|
1370
1372
|
class: "IncodeRedirectLinkSentActions",
|
|
1371
1373
|
children: /* @__PURE__ */ u(n, {
|
|
@@ -1385,7 +1387,7 @@ var T = d(null), E = () => {
|
|
|
1385
1387
|
})
|
|
1386
1388
|
]
|
|
1387
1389
|
});
|
|
1388
|
-
}, le = a(() => import("./phoneInput-
|
|
1390
|
+
}, le = a(() => import("./phoneInput-DHepphBa.js").then((e) => ({ default: e.PhoneInput }))), ue = ({ countryCode: e, phonePrefix: n, error: i, isSending: a, isPhoneValid: o, onPhoneChange: s, onSendSms: l }) => {
|
|
1389
1391
|
let { t: d } = t();
|
|
1390
1392
|
return /* @__PURE__ */ u(r, { children: [/* @__PURE__ */ u(c, {
|
|
1391
1393
|
fallback: /* @__PURE__ */ u(y, {}),
|
|
@@ -1506,7 +1508,7 @@ var T = d(null), E = () => {
|
|
|
1506
1508
|
hideHeader: void 0,
|
|
1507
1509
|
hideFooterBranding: void 0,
|
|
1508
1510
|
logo: void 0,
|
|
1509
|
-
defaultLogoSrc:
|
|
1511
|
+
defaultLogoSrc: h
|
|
1510
1512
|
});
|
|
1511
1513
|
i(() => {
|
|
1512
1514
|
a.status === "finished" && t?.();
|
|
@@ -1534,7 +1536,7 @@ var T = d(null), E = () => {
|
|
|
1534
1536
|
style: { "--logo-height": `${c}px` },
|
|
1535
1537
|
children: l
|
|
1536
1538
|
});
|
|
1537
|
-
}, $ = ({ config: e, onFinish: t, onContinue: n, onError: r }) => /* @__PURE__ */ u(
|
|
1539
|
+
}, $ = ({ config: e, onFinish: t, onContinue: n, onError: r }) => /* @__PURE__ */ u(p, { children: e ? /* @__PURE__ */ u(he, {
|
|
1538
1540
|
config: e,
|
|
1539
1541
|
onFinish: t,
|
|
1540
1542
|
onContinue: n,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e, v as t } from "./vendor-preact-D6SntenC.js";
|
|
2
|
-
import { t as n } from "./defineProperty-
|
|
2
|
+
import { t as n } from "./defineProperty-CqT6YdHJ.js";
|
|
3
3
|
//#region ../../node_modules/.pnpm/dompurify@3.3.3/node_modules/dompurify/dist/purify.es.mjs
|
|
4
4
|
var { entries: r, setPrototypeOf: i, isFrozen: a, getPrototypeOf: o, getOwnPropertyDescriptor: s } = Object, { freeze: c, seal: l, create: u } = Object, { apply: d, construct: f } = typeof Reflect < "u" && Reflect;
|
|
5
5
|
c ||= function(e) {
|
package/dist/selfie/selfie.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { v as e } from "../vendor-preact-D6SntenC.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as r } from "../processing-
|
|
4
|
-
import { n as i, r as a, t as o } from "../tutorial-
|
|
5
|
-
import { t as s } from "../incodeModule-
|
|
2
|
+
import { o as t, t as n } from "../incodeComponent-DIb7wDAq.js";
|
|
3
|
+
import { t as r } from "../processing-LdRzxpWv.js";
|
|
4
|
+
import { n as i, r as a, t as o } from "../tutorial-DMwavp-V.js";
|
|
5
|
+
import { t as s } from "../incodeModule-D_r2n18O.js";
|
|
6
6
|
import { createSelfieManager as c } from "@incodetech/core/selfie";
|
|
7
7
|
//#region src/modules/selfie/selfie.tsx
|
|
8
8
|
var l = ({ config: n, manager: s, onFinish: l, onError: u }) => {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { n as e } from "../i18n-
|
|
1
|
+
import { n as e } from "../i18n-BpEDCZi_.js";
|
|
2
2
|
import { _ as t, a as n, d as r, h as i, l as a, p as o, u as s, v as c } from "../vendor-preact-D6SntenC.js";
|
|
3
|
-
import {
|
|
3
|
+
import { o as l, t as u } from "../incodeComponent-DIb7wDAq.js";
|
|
4
4
|
import { t as d } from "../spacer-DCljE53A.js";
|
|
5
|
-
import { t as f } from "../page-
|
|
6
|
-
import { r as p } from "../typography-
|
|
7
|
-
import "../typography-
|
|
8
|
-
import { t as m } from "../button-
|
|
9
|
-
import { t as h } from "../successIcon-
|
|
10
|
-
import { t as g } from "../incodeModule-
|
|
11
|
-
import { t as _ } from "../defineProperty-
|
|
5
|
+
import { t as f } from "../page-D5Mt-0zn.js";
|
|
6
|
+
import { r as p } from "../typography-CNNFm2Bl.js";
|
|
7
|
+
import "../typography-ClOy6Kmo.js";
|
|
8
|
+
import { t as m } from "../button-wmLHLQxG.js";
|
|
9
|
+
import { t as h } from "../successIcon-C4GI_9SU.js";
|
|
10
|
+
import { t as g } from "../incodeModule-D_r2n18O.js";
|
|
11
|
+
import { t as _ } from "../defineProperty-CqT6YdHJ.js";
|
|
12
12
|
import { createSignatureManager as v } from "@incodetech/core/signature";
|
|
13
13
|
//#region ../../node_modules/.pnpm/signature_pad@5.1.3/node_modules/signature_pad/dist/signature_pad.js
|
|
14
14
|
var y = class {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./spinner-l6dvYqCg.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { S as e, _ as t, l as n, v as r } from "./vendor-preact-D6SntenC.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as o } from "./
|
|
4
|
-
import { t as s } from "./typography-
|
|
5
|
-
import "./typography-
|
|
2
|
+
import { t as i } from "./spacer-DCljE53A.js";
|
|
3
|
+
import { n as a, t as o } from "./loadingIcon-HWY04StG.js";
|
|
4
|
+
import { t as s } from "./typography-CNNFm2Bl.js";
|
|
5
|
+
import "./typography-ClOy6Kmo.js";
|
|
6
6
|
//#region src/shared/spinner/spinner.tsx
|
|
7
7
|
var c = {
|
|
8
8
|
small: 24,
|
|
@@ -13,7 +13,7 @@ var c = {
|
|
|
13
13
|
return t(() => {
|
|
14
14
|
l && h.current?.focus();
|
|
15
15
|
}, [l]), /* @__PURE__ */ r("div", {
|
|
16
|
-
class:
|
|
16
|
+
class: a("IncodeSpinner", f && "IncodeSpinnerFullScreen", p),
|
|
17
17
|
"data-testid": "spinner",
|
|
18
18
|
"data-title": l,
|
|
19
19
|
"data-subtitle": u,
|
|
@@ -22,14 +22,14 @@ var c = {
|
|
|
22
22
|
"aria-live": "polite",
|
|
23
23
|
children: /* @__PURE__ */ r("div", {
|
|
24
24
|
class: "IncodeSpinnerContent",
|
|
25
|
-
children: [/* @__PURE__ */ r(
|
|
25
|
+
children: [/* @__PURE__ */ r(o, { size: m }), (l || u) && /* @__PURE__ */ r(e, { children: [/* @__PURE__ */ r(i, { size: 16 }), /* @__PURE__ */ r("div", {
|
|
26
26
|
class: "IncodeSpinnerText",
|
|
27
27
|
children: [l && /* @__PURE__ */ r(s, {
|
|
28
28
|
ref: h,
|
|
29
29
|
tabIndex: -1,
|
|
30
30
|
className: "IncodeSpinnerTitle",
|
|
31
31
|
children: l
|
|
32
|
-
}), u && /* @__PURE__ */ r(e, { children: [l && /* @__PURE__ */ r(
|
|
32
|
+
}), u && /* @__PURE__ */ r(e, { children: [l && /* @__PURE__ */ r(i, { size: 12 }), /* @__PURE__ */ r("p", {
|
|
33
33
|
class: "IncodeSpinnerSubtitle",
|
|
34
34
|
children: u
|
|
35
35
|
})] })]
|
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
import { n as e, t } from "./i18n-
|
|
1
|
+
import { n as e, t } from "./i18n-BpEDCZi_.js";
|
|
2
2
|
import { S as n, _ as r, a as i, h as a, l as o, m as s, p as c, v as l } from "./vendor-preact-D6SntenC.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import {
|
|
7
|
-
import "./typography-
|
|
8
|
-
import
|
|
9
|
-
import "./spinner-
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
3
|
+
import { r as u } from "./incodeComponent-DIb7wDAq.js";
|
|
4
|
+
import { t as d } from "./spacer-DCljE53A.js";
|
|
5
|
+
import { t as f } from "./page-D5Mt-0zn.js";
|
|
6
|
+
import { n as p, t as m } from "./loadingIcon-HWY04StG.js";
|
|
7
|
+
import { a as h, n as g, o as _, t as v } from "./typography-CNNFm2Bl.js";
|
|
8
|
+
import "./typography-ClOy6Kmo.js";
|
|
9
|
+
import { t as y } from "./spinner-l6dvYqCg.js";
|
|
10
|
+
import "./spinner-CFvndzMU.js";
|
|
11
|
+
import { t as b } from "./button-wmLHLQxG.js";
|
|
12
|
+
import { m as x, p as S } from "./icons-G_Ct2lZU.js";
|
|
13
|
+
import { t as C } from "./successIcon-C4GI_9SU.js";
|
|
14
|
+
import { t as w } from "./modal-BQF9tPLH.js";
|
|
15
|
+
import { t as ee } from "./numberedStep-CR4w_BpM.js";
|
|
15
16
|
import { getBrowser as T, getDeviceClass as E } from "@incodetech/core/device";
|
|
16
17
|
import "@incodetech/core/camera";
|
|
17
18
|
//#region src/shared/errorContent/errorContent.tsx
|
|
18
19
|
var D = ({ title: t, description: n, attemptsRemaining: i, onButtonClick: a, "data-testid": s }) => {
|
|
19
|
-
let { t: c } = e(), u = i <= 0,
|
|
20
|
+
let { t: c } = e(), u = i <= 0, p = o(null);
|
|
20
21
|
return r(() => {
|
|
21
|
-
|
|
22
|
+
p.current?.focus();
|
|
22
23
|
}, []), /* @__PURE__ */ l("div", {
|
|
23
24
|
class: "IncodeErrorContent",
|
|
24
|
-
children: /* @__PURE__ */ l(
|
|
25
|
+
children: /* @__PURE__ */ l(f, {
|
|
25
26
|
"data-testid": s,
|
|
26
27
|
children: /* @__PURE__ */ l("div", {
|
|
27
28
|
class: "IncodeErrorContentContainer",
|
|
@@ -29,15 +30,15 @@ var D = ({ title: t, description: n, attemptsRemaining: i, onButtonClick: a, "da
|
|
|
29
30
|
class: "IncodeErrorContentIconContainer",
|
|
30
31
|
children: [
|
|
31
32
|
l(u ? x : S, { size: 32 }),
|
|
32
|
-
/* @__PURE__ */ l(
|
|
33
|
+
/* @__PURE__ */ l(d, { size: 16 }),
|
|
33
34
|
/* @__PURE__ */ l(v, {
|
|
34
|
-
ref:
|
|
35
|
+
ref: p,
|
|
35
36
|
id: "error-content-title",
|
|
36
37
|
tabIndex: -1,
|
|
37
38
|
className: "IncodeErrorContentTitle",
|
|
38
39
|
children: t
|
|
39
40
|
}),
|
|
40
|
-
/* @__PURE__ */ l(
|
|
41
|
+
/* @__PURE__ */ l(d, { size: 12 }),
|
|
41
42
|
/* @__PURE__ */ l("p", {
|
|
42
43
|
class: "IncodeErrorContentDescription",
|
|
43
44
|
children: n
|
|
@@ -50,7 +51,7 @@ var D = ({ title: t, description: n, attemptsRemaining: i, onButtonClick: a, "da
|
|
|
50
51
|
class: "IncodeErrorContentAttemptsText",
|
|
51
52
|
children: u ? c("notifications.noAttemptsRemaining") : c("common.attemptsRemaining", { count: i })
|
|
52
53
|
}),
|
|
53
|
-
/* @__PURE__ */ l(
|
|
54
|
+
/* @__PURE__ */ l(d, { size: 24 }),
|
|
54
55
|
/* @__PURE__ */ l(b, {
|
|
55
56
|
onClick: a,
|
|
56
57
|
children: c(u ? "common.continue" : "common.tryAgain")
|
|
@@ -133,8 +134,8 @@ function j({ animationData: e, loop: t = !0, autoplay: n = !0, reverse: i = !1,
|
|
|
133
134
|
}
|
|
134
135
|
//#endregion
|
|
135
136
|
//#region src/shared/baseTutorial/baseTutorial.tsx
|
|
136
|
-
var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle: i, onContinue: a, buttonText: o, disclaimerText: s, isLoading: c }) => /* @__PURE__ */ l(
|
|
137
|
-
className:
|
|
137
|
+
var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle: i, onContinue: a, buttonText: o, disclaimerText: s, isLoading: c }) => /* @__PURE__ */ l(f, {
|
|
138
|
+
className: p("IncodeTutorialPage", e),
|
|
138
139
|
title: n,
|
|
139
140
|
titleId: r,
|
|
140
141
|
subtitle: i,
|
|
@@ -1974,7 +1975,7 @@ var le = (e) => {
|
|
|
1974
1975
|
let { t: a } = e(), s = o(null);
|
|
1975
1976
|
return r(() => {
|
|
1976
1977
|
s.current?.focus();
|
|
1977
|
-
}, []), /* @__PURE__ */ l(
|
|
1978
|
+
}, []), /* @__PURE__ */ l(f, {
|
|
1978
1979
|
hideHeader: !0,
|
|
1979
1980
|
hideFooterBranding: !0,
|
|
1980
1981
|
className: "IncodeDeniedPage",
|
|
@@ -2009,7 +2010,7 @@ var le = (e) => {
|
|
|
2009
2010
|
let { t: s } = e(), c = o(null);
|
|
2010
2011
|
return r(() => {
|
|
2011
2012
|
c.current?.focus();
|
|
2012
|
-
}, []), /* @__PURE__ */ l(
|
|
2013
|
+
}, []), /* @__PURE__ */ l(f, {
|
|
2013
2014
|
className: "IncodeLearnMorePage",
|
|
2014
2015
|
hideHeader: !0,
|
|
2015
2016
|
hideFooterBranding: !0,
|
|
@@ -2093,7 +2094,7 @@ function ge({ onAllowPermissions: t, onDenyPermissions: n }) {
|
|
|
2093
2094
|
//#region src/shared/permissions/camera/permissions.tsx
|
|
2094
2095
|
var _e = ({ manager: t, permissionStatus: n }) => {
|
|
2095
2096
|
let r = u(), { t: i } = e();
|
|
2096
|
-
if (n === "requesting") return /* @__PURE__ */ l(
|
|
2097
|
+
if (n === "requesting") return /* @__PURE__ */ l(f, {
|
|
2097
2098
|
hideHeader: !0,
|
|
2098
2099
|
hideFooterBranding: !0,
|
|
2099
2100
|
className: "IncodePermissionsRequestingPage",
|
|
@@ -2129,7 +2130,7 @@ var _e = ({ manager: t, permissionStatus: n }) => {
|
|
|
2129
2130
|
children: i("idv2.permissions.allowV2")
|
|
2130
2131
|
})] })
|
|
2131
2132
|
] })
|
|
2132
|
-
}), /* @__PURE__ */ l(
|
|
2133
|
+
}), /* @__PURE__ */ l(f, {
|
|
2133
2134
|
className: "IncodePermissionsPage",
|
|
2134
2135
|
hideHeader: !0,
|
|
2135
2136
|
hideFooterBranding: !0,
|
|
@@ -2141,14 +2142,14 @@ var _e = ({ manager: t, permissionStatus: n }) => {
|
|
|
2141
2142
|
let i = o(null);
|
|
2142
2143
|
return r(() => {
|
|
2143
2144
|
i.current?.focus();
|
|
2144
|
-
}, []), /* @__PURE__ */ l(
|
|
2145
|
+
}, []), /* @__PURE__ */ l(f, {
|
|
2145
2146
|
className: `IncodeCaptureStatusPage ${n ?? ""}`,
|
|
2146
|
-
children: [/* @__PURE__ */ l(
|
|
2147
|
+
children: [/* @__PURE__ */ l(d, { size: 40 }), /* @__PURE__ */ l("div", {
|
|
2147
2148
|
class: "IncodeCaptureStatusContainer",
|
|
2148
2149
|
children: [
|
|
2149
|
-
/* @__PURE__ */ l(
|
|
2150
|
+
/* @__PURE__ */ l(d, { size: 120 }),
|
|
2150
2151
|
e,
|
|
2151
|
-
/* @__PURE__ */ l(
|
|
2152
|
+
/* @__PURE__ */ l(d, { size: 16 }),
|
|
2152
2153
|
/* @__PURE__ */ l(v, {
|
|
2153
2154
|
ref: i,
|
|
2154
2155
|
className: "IncodeCaptureStatusTitle",
|
|
@@ -2290,7 +2291,7 @@ var _e = ({ manager: t, permissionStatus: n }) => {
|
|
|
2290
2291
|
}, Ce = ({ borderState: e = "idle" }) => {
|
|
2291
2292
|
let t = s(), n = e === "loading" || e === "capturing", r = Se(e), i = n ? `url(#${t})` : r;
|
|
2292
2293
|
return /* @__PURE__ */ l("div", {
|
|
2293
|
-
class:
|
|
2294
|
+
class: p("IncodeLoadingBorder", { IncodeLoadingBorderSpinning: n }),
|
|
2294
2295
|
"aria-hidden": "true",
|
|
2295
2296
|
children: /* @__PURE__ */ l("svg", {
|
|
2296
2297
|
width: "100%",
|
|
@@ -2450,7 +2451,7 @@ var _e = ({ manager: t, permissionStatus: n }) => {
|
|
|
2450
2451
|
})
|
|
2451
2452
|
}) : null] });
|
|
2452
2453
|
}, De = ({ manager: t, state: i }) => {
|
|
2453
|
-
let { captureStatus: a, stream: s, detectionStatus: u, attemptsRemaining:
|
|
2454
|
+
let { captureStatus: a, stream: s, detectionStatus: u, attemptsRemaining: p, uploadError: h, assistedOnboarding: g } = i, [_, x] = c(!1), { t: S } = e(), w = o(null);
|
|
2454
2455
|
if (r(() => {
|
|
2455
2456
|
u === "manualCapture" && w.current?.focus();
|
|
2456
2457
|
}, [u]), a === "initializing") return /* @__PURE__ */ l(y, {
|
|
@@ -2459,16 +2460,16 @@ var _e = ({ manager: t, permissionStatus: n }) => {
|
|
|
2459
2460
|
className: "IncodeCameraLoading"
|
|
2460
2461
|
});
|
|
2461
2462
|
if (a === "detecting") {
|
|
2462
|
-
if (u === "offline") return /* @__PURE__ */ l(
|
|
2463
|
+
if (u === "offline") return /* @__PURE__ */ l(f, { title: "No internet connection" });
|
|
2463
2464
|
let e = () => _ ? "capturing" : u === "detecting" ? "idle" : u === "getReady" ? "loading" : u === "success" ? "success" : u === "error" ? "error" : "idle";
|
|
2464
|
-
return /* @__PURE__ */ l(
|
|
2465
|
+
return /* @__PURE__ */ l(f, {
|
|
2465
2466
|
"data-testid": "capture-container",
|
|
2466
2467
|
children: [
|
|
2467
2468
|
/* @__PURE__ */ l(v, {
|
|
2468
2469
|
className: "IncodeCaptureVisuallyHidden",
|
|
2469
2470
|
children: S("selfiev2.capture.title")
|
|
2470
2471
|
}),
|
|
2471
|
-
/* @__PURE__ */ l(
|
|
2472
|
+
/* @__PURE__ */ l(d, { size: 48 }),
|
|
2472
2473
|
/* @__PURE__ */ l("div", {
|
|
2473
2474
|
class: "IncodeCaptureContainer",
|
|
2474
2475
|
children: [
|
|
@@ -2487,11 +2488,11 @@ var _e = ({ manager: t, permissionStatus: n }) => {
|
|
|
2487
2488
|
})] }) : null
|
|
2488
2489
|
})
|
|
2489
2490
|
}),
|
|
2490
|
-
/* @__PURE__ */ l(
|
|
2491
|
+
/* @__PURE__ */ l(d, { size: 48 }),
|
|
2491
2492
|
u ? /* @__PURE__ */ l(n, { children: [/* @__PURE__ */ l(Ee, {
|
|
2492
2493
|
detectionState: u,
|
|
2493
2494
|
disabled: !!h || _
|
|
2494
|
-
}), /* @__PURE__ */ l(
|
|
2495
|
+
}), /* @__PURE__ */ l(d, { size: 24 })] }) : null,
|
|
2495
2496
|
u === "manualCapture" ? /* @__PURE__ */ l(Te, {
|
|
2496
2497
|
ref: w,
|
|
2497
2498
|
onClick: () => {
|
|
@@ -2503,7 +2504,7 @@ var _e = ({ manager: t, permissionStatus: n }) => {
|
|
|
2503
2504
|
}),
|
|
2504
2505
|
h ? /* @__PURE__ */ l($, {
|
|
2505
2506
|
error: h,
|
|
2506
|
-
attemptsRemaining:
|
|
2507
|
+
attemptsRemaining: p,
|
|
2507
2508
|
onTryAgain: () => {
|
|
2508
2509
|
t.retryCapture(), x(!1);
|
|
2509
2510
|
}
|
|
@@ -2511,7 +2512,7 @@ var _e = ({ manager: t, permissionStatus: n }) => {
|
|
|
2511
2512
|
]
|
|
2512
2513
|
});
|
|
2513
2514
|
}
|
|
2514
|
-
return a === "capturing" ? /* @__PURE__ */ l(
|
|
2515
|
+
return a === "capturing" ? /* @__PURE__ */ l(f, {
|
|
2515
2516
|
className: "IncodeCaptureCapturingPage",
|
|
2516
2517
|
title: "Capturing",
|
|
2517
2518
|
subtitle: "Taking photo...",
|
|
@@ -2524,11 +2525,11 @@ var _e = ({ manager: t, permissionStatus: n }) => {
|
|
|
2524
2525
|
})
|
|
2525
2526
|
}) : a === "uploading" ? /* @__PURE__ */ l(Z, {
|
|
2526
2527
|
className: "IncodeCaptureStatusUploading",
|
|
2527
|
-
icon: /* @__PURE__ */ l(
|
|
2528
|
+
icon: /* @__PURE__ */ l(m, { size: 64 }),
|
|
2528
2529
|
title: S("idv2.capture.processing.uploading")
|
|
2529
2530
|
}) : a === "uploadError" ? /* @__PURE__ */ l($, {
|
|
2530
2531
|
error: h,
|
|
2531
|
-
attemptsRemaining:
|
|
2532
|
+
attemptsRemaining: p,
|
|
2532
2533
|
onTryAgain: () => {
|
|
2533
2534
|
t.retryCapture(), x(!1);
|
|
2534
2535
|
}
|
|
@@ -2551,7 +2552,7 @@ var _e = ({ manager: t, permissionStatus: n }) => {
|
|
|
2551
2552
|
}, ke = ({ manager: t }) => {
|
|
2552
2553
|
let { t: n } = e(), [i, a] = c(!1), [o, s] = c(null);
|
|
2553
2554
|
return r(() => {
|
|
2554
|
-
import("./selfieTutorial-
|
|
2555
|
+
import("./selfieTutorial-Cu9vXjss.js").then((e) => {
|
|
2555
2556
|
s(e.default);
|
|
2556
2557
|
});
|
|
2557
2558
|
}, []), o ? /* @__PURE__ */ l(M, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as e, v as t } from "./vendor-preact-D6SntenC.js";
|
|
2
|
-
import { n } from "./loadingIcon-
|
|
2
|
+
import { n } from "./loadingIcon-HWY04StG.js";
|
|
3
3
|
//#region src/shared/typography/typography.tsx
|
|
4
4
|
var r = e(({ children: e, className: n, ...r }, i) => /* @__PURE__ */ t("h2", {
|
|
5
5
|
ref: i,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./typography-CNNFm2Bl.js";
|