@incodetech/web 0.0.0-dev-20260409-a38d5e8 → 0.0.0-dev-20260409-09dfd52
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-C-VEC826.js → AsYouType-RC03ULcj.js} +1 -1
- package/dist/{addressAutocomplete-BuldQv2L.js → addressAutocomplete-BELDwueU.js} +4 -4
- package/dist/antifraud/antifraud.es.js +3 -3
- package/dist/authentication/authentication.es.js +3 -3
- package/dist/button-Dt72Wn3U.js +24 -0
- package/dist/{checkbox-CCxy6DN4.js → checkbox-BcJjkRs3.js} +2 -2
- package/dist/consent/consent.es.js +13 -13
- package/dist/cross-document-data-match/cross-document-data-match.es.js +3 -3
- package/dist/curp-validation/curp-validation.es.js +37 -37
- package/dist/dateInputComposed-DU2hZfnf.js +2 -0
- package/dist/{dateInputComposed-DX7hO6l8.js → dateInputComposed-wl-LTsul.js} +4 -4
- package/dist/{documentCapture-CYW_KpEI.js → documentCapture-CrE9NA0-.js} +54 -54
- package/dist/{dropdownComposed-DbHLLS0N.js → dropdownComposed-C2cDpZSB.js} +3 -3
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/ekybModule-BQUyYqJO.js +2 -0
- package/dist/{ekybModule-BKCFm27J.js → ekybModule-tHnD9IyU.js} +19 -19
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekycModule-ByS2oj23.js +2 -0
- package/dist/{ekycModule-BVXMAI6j.js → ekycModule-Cc2l9FNN.js} +19 -19
- package/dist/email/email.es.js +11 -11
- package/dist/{extensibility-CGYf1tlJ.js → extensibility-Due2cIvN.js} +58 -58
- package/dist/extensibility.es.js +20 -20
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/{faceMatch-BMdxb9CE.js → faceMatch-8wF_NjAI.js} +11 -11
- package/dist/faceMatch-k9ZKksto.js +2 -0
- package/dist/flow/flow.es.js +269 -2134
- package/dist/{formField-BVEXt76v.js → formField-DRI6PubM.js} +13 -13
- package/dist/geolocation/geolocation.es.js +11 -11
- package/dist/governmentValidation/governmentValidation.es.js +9 -9
- package/dist/{i18n-CcMrDzmw.js → i18n-DGG1zc7t.js} +1 -1
- package/dist/{icons-CvPvuYCm.js → icons-CkLer5E1.js} +1 -1
- package/dist/id/id.es.js +6 -6
- package/dist/index.es.js +1 -1
- package/dist/inputComposed-C3Q-eQ1V.js +1 -0
- package/dist/{inputComposed-6ZSkf7Za.js → inputComposed-yULlZXg1.js} +3 -3
- package/dist/{loadingIcon-DEN5B0ju.js → loadingIcon-B3xEpDvA.js} +1 -1
- package/dist/{mandatoryConsent-DpejBjwV.js → mandatoryConsent-CWA8z4z-.js} +14 -14
- package/dist/{otpInput-DAwkcaQi.js → otpInput-2FjlqNe0.js} +4 -4
- package/dist/{page-B61t4D13.js → page-kB-LDkaO.js} +4 -4
- package/dist/phone/phone.es.js +11 -11
- package/dist/{phoneInput-BezqS95v.js → phoneInput-CYbUN3oz.js} +3 -3
- package/dist/{phoneInputComposed-DbSTCw_p.js → phoneInputComposed-CkL_nMPT.js} +6 -6
- package/dist/{processing-CD5TYh41.js → processing-BB9pxvN2.js} +2 -2
- package/dist/redirectToMobile-CYLzR4ck.js +2 -0
- package/dist/redirectToMobile-CxEfitZM.js +1545 -0
- package/dist/{richText-nIDjB47u.js → richText-C9m4iMuF.js} +1 -1
- package/dist/selfie/selfie.es.js +4 -4
- package/dist/{setup-CNelwOWO.js → setup-CATCmh3T.js} +1 -1
- package/dist/signature/signature.es.js +15 -15
- package/dist/{spinner-CBuVSVRP.js → spinner-4epdvlck.js} +3 -3
- package/dist/spinner-CbGt1yZr.js +1 -0
- package/dist/{tutorial-qFq58awW.js → tutorial-s3gx4OxF.js} +63 -63
- package/dist/types/workflow.d.ts +62 -0
- package/dist/{typography-PQSaYBgR.js → typography-R9HuMYSQ.js} +1 -1
- package/dist/typography-ePPfV-Xg.js +1 -0
- package/dist/useModuleLoader-Jq27P9t5.js +325 -0
- package/dist/{button-D85zGTiU.js → verifiedByIncode-CMPwRtA2.js} +32 -51
- package/dist/workflow/styles.css +6697 -0
- package/dist/workflow/workflow.es.js +219 -0
- package/package.json +9 -2
- package/dist/dateInputComposed-BaWm6bmT.js +0 -2
- package/dist/ekybModule-DviRZ6bj.js +0 -2
- package/dist/ekycModule-B8z7i5gA.js +0 -2
- package/dist/faceMatch-BRVU6adg.js +0 -2
- package/dist/inputComposed-C2QhOo1q.js +0 -1
- package/dist/spinner-BOBu0_7y.js +0 -1
- package/dist/typography-BveyW5lr.js +0 -1
- /package/dist/{aligndevicelottie-BESyjja3.js → aligndevicelottie-Dzk0EYVz.js} +0 -0
- /package/dist/{back-horizontal-hint-CalX75a7.js → back-horizontal-hint-BgG85hNR.js} +0 -0
- /package/dist/{back-tutorial-BQwJgaGG.js → back-tutorial-CJwYD2hu.js} +0 -0
- /package/dist/{back-vertical-hint-2SOVPN8l.js → back-vertical-hint-BhG7RS-O.js} +0 -0
- /package/dist/{backdevicelottie-D5kOlV31.js → backdevicelottie-TJ3pa5kD.js} +0 -0
- /package/dist/{blurdevicelottie-YEyIrlUI.js → blurdevicelottie-gPcFwLJO.js} +0 -0
- /package/dist/{browser-ponyfill-cMyrYa4p.js → browser-ponyfill-CYOHdF5Y.js} +0 -0
- /package/dist/{countries-BGpsb-UE.js → countries-DKKNtuUp.js} +0 -0
- /package/dist/{defineProperty-DSVcWjt2.js → defineProperty-eqPYf0qG.js} +0 -0
- /package/dist/{flip-animation-DbofaTty.js → flip-animation-ygeHr8Wk.js} +0 -0
- /package/dist/{front-horizontal-hint-DI3Uaq97.js → front-horizontal-hint-yIMvej7H.js} +0 -0
- /package/dist/{front-vertical-hint-Bc4LWUVG.js → front-vertical-hint-ZYgpMlDz.js} +0 -0
- /package/dist/{frontdevicelottie-BEk_Z_Up.js → frontdevicelottie-CJbKuefM.js} +0 -0
- /package/dist/{glaredevicelottie-COKmclSi.js → glaredevicelottie-DeGIxDRx.js} +0 -0
- /package/dist/{id-laser-h-CY76JXmk.js → id-laser-h-B7ddWmEe.js} +0 -0
- /package/dist/{id-laser-v-CyjBWjkL.js → id-laser-v-CI4GubjY.js} +0 -0
- /package/dist/{id-tutorial-Cqp9EUbW.js → id-tutorial-B1vsh6Wp.js} +0 -0
- /package/dist/{incodeModule-nXHV_p_Y.js → incodeModule-C3p8eAh_.js} +0 -0
- /package/dist/{numberedStep-a4kHo4t-.js → numberedStep-CoxrYWYg.js} +0 -0
- /package/dist/{passport-horizontal-hint-h_yTQfgD.js → passport-horizontal-hint-BLM_Rdz4.js} +0 -0
- /package/dist/{passport-tutorial-DNr-AgHL.js → passport-tutorial-DH7UEOHu.js} +0 -0
- /package/dist/{passport-vertical-hint-DzvJ1Cas.js → passport-vertical-hint-BVKS-R7d.js} +0 -0
- /package/dist/{selfieTutorial-6N-Fb6dA.js → selfieTutorial-BZFLHPco.js} +0 -0
- /package/dist/{successIcon-AHrfmJvv.js → successIcon-Dklx5JWI.js} +0 -0
- /package/dist/{warningIcon-Cvj-ayg1.js → warningIcon-Bv_pDQV-.js} +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
1
|
+
import { n as e } from "./i18n-DGG1zc7t.js";
|
|
2
2
|
import { v as t } from "./vendor-preact-D6SntenC.js";
|
|
3
|
-
import { t as n } from "./
|
|
4
|
-
import { t as r } from "./
|
|
5
|
-
import { t as i } from "./
|
|
6
|
-
import { p as a } from "./icons-
|
|
7
|
-
import { t as o } from "./successIcon-
|
|
8
|
-
import { t as s } from "./inputComposed-
|
|
3
|
+
import { t as n } from "./page-kB-LDkaO.js";
|
|
4
|
+
import { t as r } from "./spinner-4epdvlck.js";
|
|
5
|
+
import { t as i } from "./button-Dt72Wn3U.js";
|
|
6
|
+
import { p as a } from "./icons-CkLer5E1.js";
|
|
7
|
+
import { t as o } from "./successIcon-Dklx5JWI.js";
|
|
8
|
+
import { t as s } from "./inputComposed-yULlZXg1.js";
|
|
9
9
|
//#region src/shared/verificationResult/verificationResult.tsx
|
|
10
10
|
var c = ({ status: s, submittingTitle: c, successTitle: l, failureTitle: u, onRetry: d, onSkip: f, retryLabel: p, skipLabel: m }) => {
|
|
11
11
|
let { t: h } = e();
|
|
12
12
|
if (s === "submitting") {
|
|
13
13
|
let e = c ?? h("verification.processing");
|
|
14
|
-
return /* @__PURE__ */ t(
|
|
14
|
+
return /* @__PURE__ */ t(n, {
|
|
15
15
|
className: "IncodeVerificationResult",
|
|
16
16
|
children: /* @__PURE__ */ t("div", {
|
|
17
17
|
className: "IncodeVerificationResult__center",
|
|
18
|
-
children: [/* @__PURE__ */ t(
|
|
18
|
+
children: [/* @__PURE__ */ t(r, {}), /* @__PURE__ */ t("p", {
|
|
19
19
|
className: "IncodeVerificationResult__title",
|
|
20
20
|
children: e
|
|
21
21
|
})]
|
|
@@ -24,7 +24,7 @@ var c = ({ status: s, submittingTitle: c, successTitle: l, failureTitle: u, onRe
|
|
|
24
24
|
}
|
|
25
25
|
if (s === "success") {
|
|
26
26
|
let e = l ?? h("verification.successTitle");
|
|
27
|
-
return /* @__PURE__ */ t(
|
|
27
|
+
return /* @__PURE__ */ t(n, {
|
|
28
28
|
className: "IncodeVerificationResult",
|
|
29
29
|
children: /* @__PURE__ */ t("div", {
|
|
30
30
|
className: "IncodeVerificationResult__center",
|
|
@@ -36,7 +36,7 @@ var c = ({ status: s, submittingTitle: c, successTitle: l, failureTitle: u, onRe
|
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
38
|
let g = u ?? h("verification.failureTitle");
|
|
39
|
-
return /* @__PURE__ */ t(
|
|
39
|
+
return /* @__PURE__ */ t(n, {
|
|
40
40
|
className: "IncodeVerificationResult",
|
|
41
41
|
children: [/* @__PURE__ */ t("div", {
|
|
42
42
|
className: "IncodeVerificationResult__center",
|
|
@@ -46,11 +46,11 @@ var c = ({ status: s, submittingTitle: c, successTitle: l, failureTitle: u, onRe
|
|
|
46
46
|
})]
|
|
47
47
|
}), /* @__PURE__ */ t("div", {
|
|
48
48
|
className: "IncodeVerificationResult__actions",
|
|
49
|
-
children: [d && /* @__PURE__ */ t(
|
|
49
|
+
children: [d && /* @__PURE__ */ t(i, {
|
|
50
50
|
onClick: d,
|
|
51
51
|
"data-testid": "verification-retry",
|
|
52
52
|
children: p ?? h("common.tryAgain")
|
|
53
|
-
}), f && /* @__PURE__ */ t(
|
|
53
|
+
}), f && /* @__PURE__ */ t(i, {
|
|
54
54
|
onClick: f,
|
|
55
55
|
variant: "secondary",
|
|
56
56
|
"data-testid": "verification-skip",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { n as e, t } from "../i18n-
|
|
1
|
+
import { n as e, t } from "../i18n-DGG1zc7t.js";
|
|
2
2
|
import { S as n, _ as r, v as i } from "../vendor-preact-D6SntenC.js";
|
|
3
|
-
import { c as a, r as o } from "../loadingIcon-
|
|
3
|
+
import { c as a, r as o } from "../loadingIcon-B3xEpDvA.js";
|
|
4
4
|
import { t as s } from "../spacer-DCljE53A.js";
|
|
5
|
-
import { t as c } from "../
|
|
6
|
-
import { t as l } from "../
|
|
7
|
-
import { t as u } from "../numberedStep-
|
|
8
|
-
import { t as d } from "../incodeModule-
|
|
5
|
+
import { t as c } from "../page-kB-LDkaO.js";
|
|
6
|
+
import { t as l } from "../button-Dt72Wn3U.js";
|
|
7
|
+
import { t as u } from "../numberedStep-CoxrYWYg.js";
|
|
8
|
+
import { t as d } from "../incodeModule-C3p8eAh_.js";
|
|
9
9
|
import { getBrowser as f, getDeviceClass as p } from "@incodetech/core/device";
|
|
10
10
|
import { createGeolocationManager as m } from "@incodetech/core/geolocation";
|
|
11
11
|
//#region src/modules/geolocation/LocationActiveIcon.tsx
|
|
@@ -784,17 +784,17 @@ var h = () => /* @__PURE__ */ i("svg", {
|
|
|
784
784
|
}, e.titleKey || "default"))
|
|
785
785
|
}), J = ({ canSkip: t, onSkip: r, onRefresh: a }) => {
|
|
786
786
|
let { t: o } = e(), u = p();
|
|
787
|
-
return /* @__PURE__ */ i(
|
|
787
|
+
return /* @__PURE__ */ i(c, {
|
|
788
788
|
className: "IncodeGeolocationPage IncodeGeolocationPermissionPage",
|
|
789
789
|
title: o("geolocationv2.allowLocationAccess"),
|
|
790
790
|
children: [
|
|
791
791
|
i(u === "ios" ? q : u === "android" ? M : I, {}),
|
|
792
792
|
/* @__PURE__ */ i(s, {}),
|
|
793
|
-
/* @__PURE__ */ i(
|
|
793
|
+
/* @__PURE__ */ i(l, {
|
|
794
794
|
onClick: a,
|
|
795
795
|
children: o("geolocationv2.refreshPage")
|
|
796
796
|
}),
|
|
797
|
-
t ? /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ i(s, { size: 12 }), /* @__PURE__ */ i(
|
|
797
|
+
t ? /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ i(s, { size: 12 }), /* @__PURE__ */ i(l, {
|
|
798
798
|
variant: "secondary",
|
|
799
799
|
onClick: r,
|
|
800
800
|
children: o("geolocationv2.skip")
|
|
@@ -803,14 +803,14 @@ var h = () => /* @__PURE__ */ i("svg", {
|
|
|
803
803
|
});
|
|
804
804
|
}, Y = ({ icon: t, title: n, subtitle: r, onContinue: a, isLoading: o }) => {
|
|
805
805
|
let { t: s } = e();
|
|
806
|
-
return /* @__PURE__ */ i(
|
|
806
|
+
return /* @__PURE__ */ i(c, {
|
|
807
807
|
className: "IncodeGeolocationPage",
|
|
808
808
|
title: n,
|
|
809
809
|
subtitle: r,
|
|
810
810
|
children: [/* @__PURE__ */ i("div", {
|
|
811
811
|
class: "IncodeGeolocationIconWrapper",
|
|
812
812
|
children: /* @__PURE__ */ i(t, {})
|
|
813
|
-
}), /* @__PURE__ */ i(
|
|
813
|
+
}), /* @__PURE__ */ i(l, {
|
|
814
814
|
isLoading: o,
|
|
815
815
|
onClick: a,
|
|
816
816
|
"aria-label": o ? s("geolocation.continue") : void 0,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { n as e } from "../i18n-
|
|
1
|
+
import { n as e } from "../i18n-DGG1zc7t.js";
|
|
2
2
|
import { v as t } from "../vendor-preact-D6SntenC.js";
|
|
3
|
-
import { c as n, r } from "../loadingIcon-
|
|
3
|
+
import { c as n, r } from "../loadingIcon-B3xEpDvA.js";
|
|
4
4
|
import { t as i } from "../spacer-DCljE53A.js";
|
|
5
|
-
import { t as a } from "../page-
|
|
6
|
-
import { t as o } from "../spinner-
|
|
7
|
-
import { p as s } from "../icons-
|
|
8
|
-
import { t as c } from "../warningIcon-
|
|
9
|
-
import { t as l } from "../successIcon-
|
|
10
|
-
import { t as u } from "../otpInput-
|
|
11
|
-
import { t as d } from "../incodeModule-
|
|
5
|
+
import { t as a } from "../page-kB-LDkaO.js";
|
|
6
|
+
import { t as o } from "../spinner-4epdvlck.js";
|
|
7
|
+
import { p as s } from "../icons-CkLer5E1.js";
|
|
8
|
+
import { t as c } from "../warningIcon-Bv_pDQV-.js";
|
|
9
|
+
import { t as l } from "../successIcon-Dklx5JWI.js";
|
|
10
|
+
import { t as u } from "../otpInput-2FjlqNe0.js";
|
|
11
|
+
import { t as d } from "../incodeModule-C3p8eAh_.js";
|
|
12
12
|
import { createGovernmentValidationManager as f } from "@incodetech/core/government-validation";
|
|
13
13
|
//#region src/modules/governmentValidation/governmentValidation.tsx
|
|
14
14
|
var p = ({ variant: e, icon: n, title: r, subtitle: i }) => /* @__PURE__ */ t("div", {
|
|
@@ -1514,7 +1514,7 @@ var q;
|
|
|
1514
1514
|
ze() && (typeof global < "u" && global.XMLHttpRequest ? q = global.XMLHttpRequest : typeof window < "u" && window.XMLHttpRequest && (q = window.XMLHttpRequest));
|
|
1515
1515
|
var J;
|
|
1516
1516
|
if (typeof ActiveXObject == "function" && (typeof global < "u" && global.ActiveXObject ? J = global.ActiveXObject : typeof window < "u" && window.ActiveXObject && (J = window.ActiveXObject)), typeof K != "function" && (K = void 0), !K && !q && !J) try {
|
|
1517
|
-
import("./browser-ponyfill-
|
|
1517
|
+
import("./browser-ponyfill-CYOHdF5Y.js").then((t) => /* @__PURE__ */ e(t.default, 1)).then(function(e) {
|
|
1518
1518
|
K = e.default;
|
|
1519
1519
|
}).catch(function() {});
|
|
1520
1520
|
} catch {}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { m as e, v as t } from "./vendor-preact-D6SntenC.js";
|
|
2
|
-
import "./successIcon-
|
|
2
|
+
import "./successIcon-Dklx5JWI.js";
|
|
3
3
|
//#region src/shared/icons/errorIcon.tsx
|
|
4
4
|
var n = ({ size: e = 32 }) => /* @__PURE__ */ t("svg", {
|
|
5
5
|
xmlns: "http://www.w3.org/2000/svg",
|
package/dist/id/id.es.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { c as e, o as t, v as n } from "../vendor-preact-D6SntenC.js";
|
|
2
|
-
import { c as r, r as i } from "../loadingIcon-
|
|
3
|
-
import { a, i as o, n as s, o as c, r as l, t as u } from "../extensibility-
|
|
4
|
-
import { t as d } from "../processing-
|
|
5
|
-
import { r as f } from "../tutorial-
|
|
6
|
-
import { t as p } from "../incodeModule-
|
|
2
|
+
import { c as r, r as i } from "../loadingIcon-B3xEpDvA.js";
|
|
3
|
+
import { a, i as o, n as s, o as c, r as l, t as u } from "../extensibility-Due2cIvN.js";
|
|
4
|
+
import { t as d } from "../processing-BB9pxvN2.js";
|
|
5
|
+
import { r as f } from "../tutorial-s3gx4OxF.js";
|
|
6
|
+
import { t as p } from "../incodeModule-C3p8eAh_.js";
|
|
7
7
|
import { createIdCaptureManager as m } from "@incodetech/core/id";
|
|
8
8
|
//#region src/modules/id/id.tsx
|
|
9
|
-
var h = e(() => import("../mandatoryConsent-
|
|
9
|
+
var h = e(() => import("../mandatoryConsent-CWA8z4z-.js").then((e) => ({ default: e.MandatoryConsent }))), g = ({ config: e, manager: i, onFinish: p, onError: g }) => {
|
|
10
10
|
let [_, v] = r(() => {
|
|
11
11
|
if (i) return i;
|
|
12
12
|
if (!e) throw Error("ID capture config is required when no manager is provided");
|
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { t as e } from "./uiConfig-CwpQ-IM6.js";
|
|
2
|
-
import { t } from "./setup-
|
|
2
|
+
import { t } from "./setup-CATCmh3T.js";
|
|
3
3
|
import { DEFAULT_WASM_VERSION as n } from "@incodetech/core/wasm";
|
|
4
4
|
export { n as DEFAULT_WASM_VERSION, e as setUiConfig, t as setup };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./inputComposed-yULlZXg1.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as e, v as t } from "./vendor-preact-D6SntenC.js";
|
|
2
|
-
import { n } from "./loadingIcon-
|
|
3
|
-
import { o as r, p as i } from "./icons-
|
|
4
|
-
import { t as a } from "./successIcon-
|
|
2
|
+
import { n } from "./loadingIcon-B3xEpDvA.js";
|
|
3
|
+
import { o as r, p as i } from "./icons-CkLer5E1.js";
|
|
4
|
+
import { t as a } from "./successIcon-Dklx5JWI.js";
|
|
5
5
|
//#region src/shared/input/input.tsx
|
|
6
6
|
var o = e((e, r) => {
|
|
7
7
|
let { class: i, type: a = "text", ...o } = e;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
1
|
+
import { n as e } from "./i18n-DGG1zc7t.js";
|
|
2
2
|
import { _ as t, l as n, p as r, r as i, s as a, v as o } from "./vendor-preact-D6SntenC.js";
|
|
3
3
|
import { ScreenOrientationProvider as s, createScreenOrientationObserver as c, getDeviceClass as l, isIPad as u } from "@incodetech/core/device";
|
|
4
4
|
import "@incodetech/core/events";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
1
|
+
import { n as e } from "./i18n-DGG1zc7t.js";
|
|
2
2
|
import { _ as t, v as n } from "./vendor-preact-D6SntenC.js";
|
|
3
|
-
import { c as r, r as i } from "./loadingIcon-
|
|
4
|
-
import { t as a } from "./
|
|
5
|
-
import { t as o } from "./
|
|
6
|
-
import
|
|
7
|
-
import "./
|
|
8
|
-
import { t as c } from "./checkbox-
|
|
9
|
-
import { t as l } from "./incodeModule-
|
|
10
|
-
import { t as u } from "./richText-
|
|
3
|
+
import { c as r, r as i } from "./loadingIcon-B3xEpDvA.js";
|
|
4
|
+
import { t as a } from "./page-kB-LDkaO.js";
|
|
5
|
+
import { t as o } from "./spinner-4epdvlck.js";
|
|
6
|
+
import "./spinner-CbGt1yZr.js";
|
|
7
|
+
import { t as s } from "./button-Dt72Wn3U.js";
|
|
8
|
+
import { t as c } from "./checkbox-BcJjkRs3.js";
|
|
9
|
+
import { t as l } from "./incodeModule-C3p8eAh_.js";
|
|
10
|
+
import { t as u } from "./richText-C9m4iMuF.js";
|
|
11
11
|
import { createMandatoryConsentManager as d } from "@incodetech/core/mandatory-consent";
|
|
12
12
|
//#region src/modules/mandatory-consent/mandatoryConsent.tsx
|
|
13
13
|
var f = ({ config: i, manager: l, onFinish: f, onError: p }) => {
|
|
@@ -27,15 +27,15 @@ var f = ({ config: i, manager: l, onFinish: f, onError: p }) => {
|
|
|
27
27
|
f,
|
|
28
28
|
p
|
|
29
29
|
]), h.status === "finished" || h.status === "closed" || h.status === "error") return null;
|
|
30
|
-
if (h.status === "idle" || h.status === "loading") return /* @__PURE__ */ n(
|
|
30
|
+
if (h.status === "idle" || h.status === "loading") return /* @__PURE__ */ n(a, {
|
|
31
31
|
className: "IncodeConsentPage",
|
|
32
32
|
children: /* @__PURE__ */ n("div", {
|
|
33
33
|
class: "IncodeConsentCentered",
|
|
34
|
-
children: /* @__PURE__ */ n(
|
|
34
|
+
children: /* @__PURE__ */ n(o, {})
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
let _ = h.text.split("\n").filter((e) => e.trim().length > 0).join(" ");
|
|
38
|
-
return /* @__PURE__ */ n(
|
|
38
|
+
return /* @__PURE__ */ n(a, {
|
|
39
39
|
className: "IncodeConsentPage",
|
|
40
40
|
hideFooterBranding: !0,
|
|
41
41
|
hideHeader: !0,
|
|
@@ -75,14 +75,14 @@ var f = ({ config: i, manager: l, onFinish: f, onError: p }) => {
|
|
|
75
75
|
]
|
|
76
76
|
}), /* @__PURE__ */ n("div", {
|
|
77
77
|
class: "IncodeConsentActions",
|
|
78
|
-
children: [/* @__PURE__ */ n(
|
|
78
|
+
children: [/* @__PURE__ */ n(s, {
|
|
79
79
|
"data-testid": "mandatory-consent-submit",
|
|
80
80
|
class: "IncodeConsentButton",
|
|
81
81
|
onClick: () => g.submit(),
|
|
82
82
|
disabled: !h.canSubmit,
|
|
83
83
|
isLoading: h.status === "submitting",
|
|
84
84
|
children: m("biometricConsent.button.continue")
|
|
85
|
-
}), /* @__PURE__ */ n(
|
|
85
|
+
}), /* @__PURE__ */ n(s, {
|
|
86
86
|
variant: "link",
|
|
87
87
|
onClick: () => g.cancel(),
|
|
88
88
|
children: m("biometricConsent.button.cancel")
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
1
|
+
import { n as e } from "./i18n-DGG1zc7t.js";
|
|
2
2
|
import { _ as t, h as n, l as r, p as i, v as a } from "./vendor-preact-D6SntenC.js";
|
|
3
3
|
import { t as o } from "./spacer-DCljE53A.js";
|
|
4
|
-
import { t as s } from "./button-
|
|
5
|
-
import { t as c } from "./inputComposed-
|
|
6
|
-
import "./inputComposed-
|
|
4
|
+
import { t as s } from "./button-Dt72Wn3U.js";
|
|
5
|
+
import { t as c } from "./inputComposed-yULlZXg1.js";
|
|
6
|
+
import "./inputComposed-C3Q-eQ1V.js";
|
|
7
7
|
//#region src/shared/otpInput/otpInput.tsx
|
|
8
8
|
var l = 6, u = (e) => `${Math.floor(e / 60)}:${(e % 60).toString().padStart(2, "0")}`, d = (e) => e.replace(/[^a-zA-Z0-9]/g, "").toUpperCase().slice(0, l), f = ({ resendTimer: f, canResend: p, error: m, onSubmit: h, onResend: g, onBack: _, backLinkText: v = "otp.changePhoneNumber", disabled: y = !1, isLoading: b = !1 }) => {
|
|
9
9
|
let { t: x } = e(), [S, C] = i(""), w = r(null), T = r(0), E = r(null), D = r(null), O = r(p), k = r(!1), A = r(), j = n((e) => {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { S as e, _ as t, l as n, v as r } from "./vendor-preact-D6SntenC.js";
|
|
2
2
|
import { t as i } from "./spacer-DCljE53A.js";
|
|
3
|
-
import {
|
|
3
|
+
import { n as a, r as o, t as s } from "./verifiedByIncode-CMPwRtA2.js";
|
|
4
4
|
//#region src/shared/page/page.tsx
|
|
5
5
|
var c = ({ title: c, titleId: l, subtitle: u, className: d, logo: f, children: p, hideHeader: m, hideFooterBranding: h, "data-testid": g, "data-permission-status": _ }) => {
|
|
6
6
|
let v = n(null);
|
|
7
7
|
t(() => {
|
|
8
8
|
v.current?.focus();
|
|
9
9
|
}, []);
|
|
10
|
-
let y =
|
|
10
|
+
let y = a({
|
|
11
11
|
hideHeader: m,
|
|
12
12
|
hideFooterBranding: h,
|
|
13
13
|
logo: f,
|
|
14
|
-
defaultLogoSrc:
|
|
14
|
+
defaultLogoSrc: o
|
|
15
15
|
}), b = c || u;
|
|
16
16
|
return /* @__PURE__ */ r("div", {
|
|
17
17
|
class: `IncodePageContainer ${d ?? ""}`,
|
|
@@ -50,7 +50,7 @@ var c = ({ title: c, titleId: l, subtitle: u, className: d, logo: f, children: p
|
|
|
50
50
|
class: "IncodePageFooter",
|
|
51
51
|
children: /* @__PURE__ */ r("div", {
|
|
52
52
|
class: "IncodePageFooterInner",
|
|
53
|
-
children: /* @__PURE__ */ r(
|
|
53
|
+
children: /* @__PURE__ */ r(s, {})
|
|
54
54
|
})
|
|
55
55
|
})
|
|
56
56
|
]
|
package/dist/phone/phone.es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as e } from "../i18n-
|
|
1
|
+
import { n as e } from "../i18n-DGG1zc7t.js";
|
|
2
2
|
import { p as t, v as n } from "../vendor-preact-D6SntenC.js";
|
|
3
|
-
import { c as r, r as i } from "../loadingIcon-
|
|
3
|
+
import { c as r, r as i } from "../loadingIcon-B3xEpDvA.js";
|
|
4
4
|
import { t as a } from "../spacer-DCljE53A.js";
|
|
5
|
-
import { t as o } from "../
|
|
6
|
-
import { t as s } from "../
|
|
7
|
-
import { t as c } from "../otpInput-
|
|
8
|
-
import { t as l } from "../checkbox-
|
|
9
|
-
import { t as u } from "../phoneInputComposed-
|
|
10
|
-
import { t as d } from "../incodeModule-
|
|
5
|
+
import { t as o } from "../page-kB-LDkaO.js";
|
|
6
|
+
import { t as s } from "../button-Dt72Wn3U.js";
|
|
7
|
+
import { t as c } from "../otpInput-2FjlqNe0.js";
|
|
8
|
+
import { t as l } from "../checkbox-BcJjkRs3.js";
|
|
9
|
+
import { t as u } from "../phoneInputComposed-CkL_nMPT.js";
|
|
10
|
+
import { t as d } from "../incodeModule-C3p8eAh_.js";
|
|
11
11
|
import { createPhoneManager as f } from "@incodetech/core/phone";
|
|
12
12
|
//#region src/modules/phone/phone.tsx
|
|
13
13
|
var p = ({ config: i, manager: d, onFinish: p, onError: m }) => {
|
|
@@ -18,7 +18,7 @@ var p = ({ config: i, manager: d, onFinish: p, onError: m }) => {
|
|
|
18
18
|
}, { manageLifecycle: !d }), [v, y] = t(!1);
|
|
19
19
|
if (g.status === "idle" || g.status === "loadingPrefill" || g.status === "inputting" || g.status === "submitting" || g.status === "sendingInitialOtp") {
|
|
20
20
|
let e = g.status === "idle" || g.status === "loadingPrefill" || g.status === "submitting" || g.status === "sendingInitialOtp", t = g.status === "inputting" ? g.countryCode : "US", r = g.status === "inputting" ? g.prefilledPhone : void 0, i = g.status === "inputting" && g.phoneError ? h(g.phoneError) : void 0, c = g.status === "inputting" ? g.otpVerification ?? !1 : !1, d = g.status === "inputting" ? g.optinEnabled ?? !1 : !1;
|
|
21
|
-
return /* @__PURE__ */ n(
|
|
21
|
+
return /* @__PURE__ */ n(o, {
|
|
22
22
|
className: "IncodePhonePage",
|
|
23
23
|
title: h("phone.verify"),
|
|
24
24
|
subtitle: c ? h("email.willSendCode") : void 0,
|
|
@@ -48,7 +48,7 @@ var p = ({ config: i, manager: d, onFinish: p, onError: m }) => {
|
|
|
48
48
|
]
|
|
49
49
|
}),
|
|
50
50
|
/* @__PURE__ */ n(a, {}),
|
|
51
|
-
/* @__PURE__ */ n(
|
|
51
|
+
/* @__PURE__ */ n(s, {
|
|
52
52
|
onClick: () => _.submit(),
|
|
53
53
|
disabled: !v,
|
|
54
54
|
isLoading: e,
|
|
@@ -60,7 +60,7 @@ var p = ({ config: i, manager: d, onFinish: p, onError: m }) => {
|
|
|
60
60
|
}
|
|
61
61
|
if (g.status === "awaitingOtp" || g.status === "verifyingOtp" || g.status === "otpError" || g.status === "resendingOtp") {
|
|
62
62
|
let e = g.status === "verifyingOtp", t = g.status === "otpError", r = g.status === "awaitingOtp", i = g.status === "resendingOtp", a = r || t || e;
|
|
63
|
-
return /* @__PURE__ */ n(
|
|
63
|
+
return /* @__PURE__ */ n(o, {
|
|
64
64
|
className: "IncodePhonePage",
|
|
65
65
|
title: h("otp.enterCodeSMS"),
|
|
66
66
|
children: /* @__PURE__ */ n(c, {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { S as e, _ as t, l as n, p as r, v as i } from "./vendor-preact-D6SntenC.js";
|
|
2
2
|
import { t as a } from "./spacer-DCljE53A.js";
|
|
3
|
-
import { c as o } from "./icons-
|
|
4
|
-
import { r as s, t as c } from "./countries-
|
|
5
|
-
import { n as l, t as u } from "./AsYouType-
|
|
3
|
+
import { c as o } from "./icons-CkLer5E1.js";
|
|
4
|
+
import { r as s, t as c } from "./countries-DKKNtuUp.js";
|
|
5
|
+
import { n as l, t as u } from "./AsYouType-RC03ULcj.js";
|
|
6
6
|
//#region src/modules/phone/phoneInput.tsx
|
|
7
7
|
var d = ({ countryCode: d, prefilledPhone: f, phoneError: p, optinEnabled: m = !1, disabled: h = !1, autoFocus: g = !1, onPhoneChange: _, onOptInChange: v }) => {
|
|
8
8
|
let [y, b] = r(null), [x, S] = r(!1), [C, w] = r(""), [T, E] = r(!1), D = n(null), O = n(null);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { _ as e, a as t, d as n, h as r, l as i, p as a, v as o } from "./vendor-preact-D6SntenC.js";
|
|
2
|
-
import { p as s } from "./icons-
|
|
3
|
-
import { t as c } from "./successIcon-
|
|
4
|
-
import { t as l } from "./inputComposed-
|
|
5
|
-
import { i as u, r as d, t as f, u as p } from "./countries-
|
|
6
|
-
import { n as m, r as h, t as g } from "./AsYouType-
|
|
7
|
-
import { t as _ } from "./dropdownComposed-
|
|
2
|
+
import { p as s } from "./icons-CkLer5E1.js";
|
|
3
|
+
import { t as c } from "./successIcon-Dklx5JWI.js";
|
|
4
|
+
import { t as l } from "./inputComposed-yULlZXg1.js";
|
|
5
|
+
import { i as u, r as d, t as f, u as p } from "./countries-DKKNtuUp.js";
|
|
6
|
+
import { n as m, r as h, t as g } from "./AsYouType-RC03ULcj.js";
|
|
7
|
+
import { t as _ } from "./dropdownComposed-C2cDpZSB.js";
|
|
8
8
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/getExampleNumber.js
|
|
9
9
|
function v(e, t, n) {
|
|
10
10
|
if (t[e]) return new h(e, t[e], n);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
1
|
+
import { n as e } from "./i18n-DGG1zc7t.js";
|
|
2
2
|
import { v as t } from "./vendor-preact-D6SntenC.js";
|
|
3
|
-
import { t as n } from "./spinner-
|
|
3
|
+
import { t as n } from "./spinner-4epdvlck.js";
|
|
4
4
|
//#region src/shared/processing/processing.tsx
|
|
5
5
|
var r = () => {
|
|
6
6
|
let { t: r } = e();
|