@incodetech/web 0.0.0-dev-20260421-aeeff81 → 0.0.0-dev-20260421-b9de520
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/addressAutocomplete-DTrgJzUp.js +126 -0
- package/dist/ae-signature/ae-signature.es.js +2 -2
- package/dist/antifraud/antifraud.es.js +2 -2
- package/dist/authentication/authentication.es.js +3 -3
- package/dist/base.css +84 -1
- package/dist/bottomSheet-D7Bcy6_9.js +31 -0
- package/dist/consent/consent.es.js +4 -4
- package/dist/cross-document-data-match/cross-document-data-match.es.js +2 -2
- package/dist/curp-validation/curp-validation.es.js +3 -3
- package/dist/{documentCapture-CpF6kCf5.js → documentCapture-BEV5dOjJ.js} +16 -15
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/{ekybModule-B7k5uaCZ.js → ekybModule-B4Xva8gU.js} +6 -6
- package/dist/ekybModule-Craxr9wc.js +2 -0
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekyc/styles.css +103 -154
- package/dist/ekycModule-Bw-Zs4MH.js +2 -0
- package/dist/ekycModule-DOVTiBfn.js +250 -0
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-C021QkIh.js → electronic-signature-AVBIN1f_.js} +4 -4
- package/dist/email/email.es.js +5 -5
- package/dist/{extensibility-CfU7fTHy.js → extensibility-DbkDY7L4.js} +90 -163
- package/dist/extensibility.es.js +23 -21
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/face-match/styles.css +23 -3
- package/dist/faceMatch-DO9ECAq7.js +2 -0
- package/dist/{faceMatch-BEoxDC42.js → faceMatch-SlCovmDB.js} +73 -57
- package/dist/flow/flow.es.js +6 -6
- package/dist/flow/styles.css +126 -151
- package/dist/{formField-CWGwTjU0.js → formField-Co4Kh1a4.js} +1 -1
- package/dist/geolocation/geolocation.es.js +4 -4
- package/dist/governmentValidation/governmentValidation.es.js +4 -4
- package/dist/{homeScreen-CAFKUlMd.js → homeScreen-CC6U7vbU.js} +2 -2
- package/dist/{i18n-CeGVT08F.js → i18n-B3g2cb7v.js} +1 -1
- package/dist/id/id.es.js +11 -11
- package/dist/identity-reuse/identity-reuse.es.js +3 -3
- package/dist/{incodeComponent-DzIDROLm.js → incodeComponent-dxwR00fd.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{mandatoryConsent-Bhydm83e.js → mandatoryConsent-wpJR_1w0.js} +4 -4
- package/dist/modal-BxXKrclm.js +135 -0
- package/dist/modal.hooks-B9B0KVgR.js +121 -0
- package/dist/{otpInput-DGxQcqVQ.js → otpInput-Br-1AWsA.js} +1 -1
- package/dist/phone/phone.es.js +4 -4
- package/dist/{processing-DahN4NlZ.js → processing-BuNhGQnB.js} +1 -1
- package/dist/qe-signature/qe-signature.es.js +2 -2
- package/dist/radioButtonComposed-o86b9OGB.js +82 -0
- package/dist/{redirectToMobile-BNMTUUuv.js → redirectToMobile-BjhYByLI.js} +5 -5
- package/dist/{richText-gJTUJEMX.js → richText-BNC8z_ah.js} +1 -1
- package/dist/selfie/selfie.es.js +5 -5
- package/dist/{setup-CYffoS2y.js → setup-da1N2VR6.js} +1 -1
- package/dist/signature/signature.es.js +4 -4
- package/dist/themes/dark.css +3 -0
- package/dist/themes/light.css +3 -0
- package/dist/{transitionSpinner-DMz65Cb2.js → transitionSpinner-CpwivARH.js} +1 -1
- package/dist/{tutorial-vB6h6wPK.js → tutorial-5LMEfxn3.js} +53 -81
- package/dist/{useModuleLoader-J38RiuMO.js → useModuleLoader-B4EtGg2Y.js} +9 -9
- package/dist/verificationResult-VtriXVEd.js +90 -0
- package/dist/watchlist/watchlist.es.js +3 -3
- package/dist/workflow/styles.css +126 -151
- package/dist/workflow/workflow.es.js +6 -6
- package/package.json +2 -2
- package/dist/addressAutocomplete-Xdp9mPRT.js +0 -108
- package/dist/ekybModule-CXY_Mv5-.js +0 -2
- package/dist/ekycModule-BdPdWLQa.js +0 -2
- package/dist/ekycModule-OS6Kw_iX.js +0 -235
- package/dist/faceMatch-C_JTA6_f.js +0 -2
- package/dist/modal-CfWL75re.js +0 -239
- package/dist/verificationResult-BwV7ZiOq.js +0 -81
- /package/dist/{aligndevicelottie-qUSV6Le7.js → aligndevicelottie-C6Ed_QzW.js} +0 -0
- /package/dist/{back-horizontal-hint-iEWk08tl.js → back-horizontal-hint-DvZDkdvV.js} +0 -0
- /package/dist/{back-tutorial-BZmE2nCI.js → back-tutorial-CG_LPTUE.js} +0 -0
- /package/dist/{back-vertical-hint-CB37PPBM.js → back-vertical-hint-CzuG1Hve.js} +0 -0
- /package/dist/{backdevicelottie-DFySVtix.js → backdevicelottie-mGREI6Py.js} +0 -0
- /package/dist/{blurdevicelottie-Vrw4Q73g.js → blurdevicelottie-Bw43-G1P.js} +0 -0
- /package/dist/{browser-ponyfill-VSeGKSP8.js → browser-ponyfill-CYk5g-nD.js} +0 -0
- /package/dist/{defineProperty-CqT6YdHJ.js → defineProperty-DB5OmvER.js} +0 -0
- /package/dist/{flip-animation-C5qWdHLD.js → flip-animation-CAqT4nr6.js} +0 -0
- /package/dist/{front-horizontal-hint-pRbh84gx.js → front-horizontal-hint-BSKWj6i6.js} +0 -0
- /package/dist/{front-vertical-hint-BAKFge2R.js → front-vertical-hint-BYdzIVbN.js} +0 -0
- /package/dist/{frontdevicelottie-oZ1W9xZw.js → frontdevicelottie-Cho1olXp.js} +0 -0
- /package/dist/{glaredevicelottie-sI8UXrQF.js → glaredevicelottie-dg9fVsGy.js} +0 -0
- /package/dist/{id-laser-h-DeeqVBeU.js → id-laser-h-DWh_BVEp.js} +0 -0
- /package/dist/{id-laser-v-CWbE_3-e.js → id-laser-v-Dvk7U4fL.js} +0 -0
- /package/dist/{id-tutorial-CSjRVua_.js → id-tutorial-DsrHcnNV.js} +0 -0
- /package/dist/{incodeModule-D_r2n18O.js → incodeModule-BH9gV7jI.js} +0 -0
- /package/dist/{numberedStep-CR4w_BpM.js → numberedStep-CSQrc-lB.js} +0 -0
- /package/dist/{passport-horizontal-hint-CKL1CfSO.js → passport-horizontal-hint-2XF3bnIM.js} +0 -0
- /package/dist/{passport-tutorial-CfuYKkED.js → passport-tutorial-cKfi7FGo.js} +0 -0
- /package/dist/{passport-vertical-hint-BK1gSSwh.js → passport-vertical-hint-BcYR5CAS.js} +0 -0
- /package/dist/{phoneInput-DtBeLyeD.js → phoneInput-q1YF0o-q.js} +0 -0
- /package/dist/{selfieTutorial-DE1_g-Lg.js → selfieTutorial-CJQBQ-KM.js} +0 -0
- /package/dist/{tabs-CIk4tOL2.js → tabs-DnpffRKI.js} +0 -0
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { C as e, b as t, d as n, f as r, g as i, h as a, l as o, p as s, r as c, v as l, x as u, y as d } from "./vendor-preact-D6SntenC.js";
|
|
2
|
+
import { n as f } from "./loadingIcon-wTrHZMGC.js";
|
|
3
|
+
import { o as p } from "./icons-Cj7hJH7f.js";
|
|
4
|
+
import { a as m, i as h, n as g, o as _, r as v, t as y } from "./modal.hooks-B9B0KVgR.js";
|
|
5
|
+
//#region src/shared/modal/modal.tsx
|
|
6
|
+
var b = u(null);
|
|
7
|
+
function x() {
|
|
8
|
+
let e = i(b);
|
|
9
|
+
if (!e) throw Error("Modal compound components must be used within Modal.Root");
|
|
10
|
+
return e;
|
|
11
|
+
}
|
|
12
|
+
function S({ open: e, children: t, onOpenChange: r, dismissible: i = !0, portalContainer: u, class: d, hasBackdrop: p = !0, manageInitialFocus: y = !0 }) {
|
|
13
|
+
let x = m(e, u ?? void 0), [S, C] = s(!1), w = o(null), T = a(() => {
|
|
14
|
+
i && r?.(!1);
|
|
15
|
+
}, [i, r]), E = n(() => ({
|
|
16
|
+
setHasDescription: C,
|
|
17
|
+
dismissible: i,
|
|
18
|
+
requestClose: T
|
|
19
|
+
}), [i, T]), D = e && !!x;
|
|
20
|
+
return g(e), v(e, i, T), h(D, w, y), _(D, w), !x || !e ? null : c(/* @__PURE__ */ l(b.Provider, {
|
|
21
|
+
value: E,
|
|
22
|
+
children: /* @__PURE__ */ l("div", {
|
|
23
|
+
class: f("IncodeModalRoot", d),
|
|
24
|
+
"data-incode-modal": "",
|
|
25
|
+
children: [p && /* @__PURE__ */ l("div", {
|
|
26
|
+
class: "IncodeModalBackdrop",
|
|
27
|
+
"aria-hidden": "true",
|
|
28
|
+
onMouseDown: () => {
|
|
29
|
+
T();
|
|
30
|
+
}
|
|
31
|
+
}), /* @__PURE__ */ l("div", {
|
|
32
|
+
ref: w,
|
|
33
|
+
class: "IncodeModalDialog",
|
|
34
|
+
role: "dialog",
|
|
35
|
+
"aria-modal": "true",
|
|
36
|
+
"aria-labelledby": "incode-modal-title",
|
|
37
|
+
"aria-describedby": S ? "incode-modal-description" : void 0,
|
|
38
|
+
tabIndex: -1,
|
|
39
|
+
onMouseDown: (e) => {
|
|
40
|
+
e.stopPropagation();
|
|
41
|
+
},
|
|
42
|
+
children: t
|
|
43
|
+
})]
|
|
44
|
+
})
|
|
45
|
+
}), x);
|
|
46
|
+
}
|
|
47
|
+
function C({ children: e, class: t }) {
|
|
48
|
+
return /* @__PURE__ */ l("div", {
|
|
49
|
+
class: f("IncodeModalContent", t),
|
|
50
|
+
children: e
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
function w({ "aria-label": e = "Close", title: t = "Close", class: n, onClick: r }) {
|
|
54
|
+
let { dismissible: i, requestClose: a } = x();
|
|
55
|
+
if (!i) return null;
|
|
56
|
+
let o = async () => {
|
|
57
|
+
r && await r(), a();
|
|
58
|
+
};
|
|
59
|
+
return /* @__PURE__ */ l("button", {
|
|
60
|
+
type: "button",
|
|
61
|
+
class: f("IncodeModalClose", n),
|
|
62
|
+
"aria-label": e,
|
|
63
|
+
title: t,
|
|
64
|
+
onClick: o,
|
|
65
|
+
children: /* @__PURE__ */ l(p, {
|
|
66
|
+
height: 32,
|
|
67
|
+
width: 32,
|
|
68
|
+
fillColor: "var(--icon-neutral-300)"
|
|
69
|
+
})
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
function T({ children: e, class: t }) {
|
|
73
|
+
return /* @__PURE__ */ l("div", {
|
|
74
|
+
class: f("IncodeModalIcon", t),
|
|
75
|
+
children: e
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
function E({ children: e, align: t = "center" }) {
|
|
79
|
+
let n = {
|
|
80
|
+
center: "IncodeModalTitleSectionCenter",
|
|
81
|
+
left: "IncodeModalTitleSectionLeft"
|
|
82
|
+
}[t];
|
|
83
|
+
return /* @__PURE__ */ l("div", {
|
|
84
|
+
class: n,
|
|
85
|
+
children: e
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
function D({ children: e, ref: t, class: n }) {
|
|
89
|
+
return /* @__PURE__ */ l("h2", {
|
|
90
|
+
id: "incode-modal-title",
|
|
91
|
+
ref: t,
|
|
92
|
+
className: f("IncodeModalTitle", n),
|
|
93
|
+
children: e
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
function O({ children: e, class: t }) {
|
|
97
|
+
let { setHasDescription: n } = x();
|
|
98
|
+
return r(() => (n(!0), () => n(!1)), [n]), /* @__PURE__ */ l("h5", {
|
|
99
|
+
id: "incode-modal-description",
|
|
100
|
+
className: f("IncodeModalSubtitle", t),
|
|
101
|
+
children: e
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
function k(t) {
|
|
105
|
+
return e(t) && t.props != null && typeof t.props == "object" && "autoFocus" in t.props;
|
|
106
|
+
}
|
|
107
|
+
function A({ children: n, class: r, orientation: i = "vertical" }) {
|
|
108
|
+
let a = i === "vertical" ? "IncodeModalActionsVertical" : "IncodeModalActionsHorizontal", o = d(n), s = [];
|
|
109
|
+
for (let i = 0; i < o.length; i++) {
|
|
110
|
+
let c = o[i];
|
|
111
|
+
if (k(c)) return /* @__PURE__ */ l("div", {
|
|
112
|
+
class: f(a, r),
|
|
113
|
+
role: "group",
|
|
114
|
+
children: n
|
|
115
|
+
});
|
|
116
|
+
s.push(e(c) && i === 0 ? t(c, { [y]: "" }) : c);
|
|
117
|
+
}
|
|
118
|
+
return /* @__PURE__ */ l("div", {
|
|
119
|
+
class: f(a, r),
|
|
120
|
+
role: "group",
|
|
121
|
+
children: s
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
var j = {
|
|
125
|
+
Root: S,
|
|
126
|
+
Content: C,
|
|
127
|
+
Close: w,
|
|
128
|
+
Icon: T,
|
|
129
|
+
TitleSection: E,
|
|
130
|
+
Title: D,
|
|
131
|
+
Subtitle: O,
|
|
132
|
+
Actions: A
|
|
133
|
+
};
|
|
134
|
+
//#endregion
|
|
135
|
+
export { j as t };
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { _ as e, p as t } from "./vendor-preact-D6SntenC.js";
|
|
2
|
+
//#region src/shared/modal/modal.hooks.ts
|
|
3
|
+
var n = "IncodeModalScrollLock", r = "data-incode-modal-initial-focus", i = [
|
|
4
|
+
"button:not([disabled])",
|
|
5
|
+
"[href]",
|
|
6
|
+
"input:not([disabled])",
|
|
7
|
+
"select:not([disabled])",
|
|
8
|
+
"textarea:not([disabled])",
|
|
9
|
+
"[tabindex]:not([tabindex=\"-1\"])"
|
|
10
|
+
].join(", ");
|
|
11
|
+
function a(e) {
|
|
12
|
+
return Array.from(e.querySelectorAll(i));
|
|
13
|
+
}
|
|
14
|
+
function o(e) {
|
|
15
|
+
try {
|
|
16
|
+
return e.matches(i);
|
|
17
|
+
} catch {
|
|
18
|
+
return !1;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
function s(e) {
|
|
22
|
+
let t = e.querySelector("[autofocus]");
|
|
23
|
+
if (t && o(t)) return t;
|
|
24
|
+
let n = e.querySelector(`[${r}]`);
|
|
25
|
+
if (n) {
|
|
26
|
+
if (o(n)) return n;
|
|
27
|
+
let e = n.querySelector(i);
|
|
28
|
+
if (e) return e;
|
|
29
|
+
}
|
|
30
|
+
return a(e)[0] ?? e;
|
|
31
|
+
}
|
|
32
|
+
function c(n, r) {
|
|
33
|
+
let [i, a] = t(null);
|
|
34
|
+
return e(() => {
|
|
35
|
+
if (!n) {
|
|
36
|
+
a(null);
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
if (r) return a(r), () => {
|
|
40
|
+
a(null);
|
|
41
|
+
};
|
|
42
|
+
let e = document.createElement("div");
|
|
43
|
+
return e.setAttribute("data-incode-modal-portal", ""), (document.querySelector(".IncodeComponent") ?? document.body).appendChild(e), a(e), () => {
|
|
44
|
+
e.remove(), a(null);
|
|
45
|
+
};
|
|
46
|
+
}, [n, r]), i;
|
|
47
|
+
}
|
|
48
|
+
function l(t) {
|
|
49
|
+
e(() => {
|
|
50
|
+
if (!t) return;
|
|
51
|
+
let e = document.querySelector(".IncodeComponent");
|
|
52
|
+
return (e ?? document.body).classList.add(n), () => {
|
|
53
|
+
(e ?? document.body).classList.remove(n);
|
|
54
|
+
};
|
|
55
|
+
}, [t]);
|
|
56
|
+
}
|
|
57
|
+
function u(t, n, r) {
|
|
58
|
+
e(() => {
|
|
59
|
+
if (!t || !n) return;
|
|
60
|
+
let e = (e) => {
|
|
61
|
+
e.key === "Escape" && (e.preventDefault(), r());
|
|
62
|
+
};
|
|
63
|
+
return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
|
|
64
|
+
}, [
|
|
65
|
+
t,
|
|
66
|
+
n,
|
|
67
|
+
r
|
|
68
|
+
]);
|
|
69
|
+
}
|
|
70
|
+
function d(t, n, r = !0) {
|
|
71
|
+
e(() => {
|
|
72
|
+
if (!t) return;
|
|
73
|
+
let e = document.activeElement;
|
|
74
|
+
if (r) {
|
|
75
|
+
let e = n.current;
|
|
76
|
+
e && s(e).focus();
|
|
77
|
+
}
|
|
78
|
+
return () => {
|
|
79
|
+
e && typeof e.focus == "function" && e.focus();
|
|
80
|
+
};
|
|
81
|
+
}, [
|
|
82
|
+
t,
|
|
83
|
+
n,
|
|
84
|
+
r
|
|
85
|
+
]);
|
|
86
|
+
}
|
|
87
|
+
function f(t, n) {
|
|
88
|
+
e(() => {
|
|
89
|
+
if (!t || typeof window > "u") return;
|
|
90
|
+
let e = window.visualViewport;
|
|
91
|
+
if (!e) return;
|
|
92
|
+
let r = () => {
|
|
93
|
+
let t = n.current;
|
|
94
|
+
t && (t.style.setProperty("--incode-visual-viewport-height", `${e.height}px`), t.style.setProperty("--incode-visual-viewport-offset-top", `${e.offsetTop}px`));
|
|
95
|
+
};
|
|
96
|
+
return r(), e.addEventListener("resize", r), e.addEventListener("scroll", r), () => {
|
|
97
|
+
e.removeEventListener("resize", r), e.removeEventListener("scroll", r);
|
|
98
|
+
};
|
|
99
|
+
}, [t, n]);
|
|
100
|
+
}
|
|
101
|
+
function p(t, n) {
|
|
102
|
+
e(() => {
|
|
103
|
+
if (!t) return;
|
|
104
|
+
let e = (e) => {
|
|
105
|
+
if (e.key !== "Tab") return;
|
|
106
|
+
let t = n.current;
|
|
107
|
+
if (!t) return;
|
|
108
|
+
let r = a(t);
|
|
109
|
+
if (r.length === 0 && document.activeElement === t) {
|
|
110
|
+
e.preventDefault();
|
|
111
|
+
return;
|
|
112
|
+
}
|
|
113
|
+
if (r.length === 0) return;
|
|
114
|
+
let i = r[0], o = r[r.length - 1];
|
|
115
|
+
e.shiftKey ? document.activeElement === i && (e.preventDefault(), o.focus()) : document.activeElement === o && (e.preventDefault(), i.focus());
|
|
116
|
+
};
|
|
117
|
+
return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
|
|
118
|
+
}, [t, n]);
|
|
119
|
+
}
|
|
120
|
+
//#endregion
|
|
121
|
+
export { c as a, d as i, l as n, p as o, u as r, f as s, r as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
1
|
+
import { n as e } from "./i18n-B3g2cb7v.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
4
|
import { t as s } from "./button-4-ToV5B_.js";
|
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-B3g2cb7v.js";
|
|
2
2
|
import { p as t, v as n } from "../vendor-preact-D6SntenC.js";
|
|
3
|
-
import { o as r, t as i } from "../incodeComponent-
|
|
3
|
+
import { o as r, t as i } from "../incodeComponent-dxwR00fd.js";
|
|
4
4
|
import { t as a } from "../spacer-DCljE53A.js";
|
|
5
5
|
import { t as o } from "../page-D5Mt-0zn.js";
|
|
6
6
|
import { t as s } from "../button-4-ToV5B_.js";
|
|
7
|
-
import { t as c } from "../otpInput-
|
|
7
|
+
import { t as c } from "../otpInput-Br-1AWsA.js";
|
|
8
8
|
import { t as l } from "../checkbox-Xh75AgKT.js";
|
|
9
9
|
import { t as u } from "../phoneInputComposed-BSn0WlMA.js";
|
|
10
|
-
import { t as d } from "../incodeModule-
|
|
10
|
+
import { t as d } from "../incodeModule-BH9gV7jI.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 }) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { v as e } from "../vendor-preact-D6SntenC.js";
|
|
2
|
-
import { n as t } from "../electronic-signature-
|
|
3
|
-
import { t as n } from "../incodeModule-
|
|
2
|
+
import { n as t } from "../electronic-signature-AVBIN1f_.js";
|
|
3
|
+
import { t as n } from "../incodeModule-BH9gV7jI.js";
|
|
4
4
|
//#region src/modules/qe-signature/qe-signature.tsx
|
|
5
5
|
var r = ({ config: n, onFinish: r, onError: i }) => /* @__PURE__ */ e(t, {
|
|
6
6
|
config: n ? {
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { a as e, p as t, v as n } from "./vendor-preact-D6SntenC.js";
|
|
2
|
+
import { n as r } from "./loadingIcon-wTrHZMGC.js";
|
|
3
|
+
import { m as i } from "./icons-Cj7hJH7f.js";
|
|
4
|
+
//#region src/shared/radioButtonComposed/radioButtonComposed.tsx
|
|
5
|
+
var a = e(({ id: e, label: a, checked: o, defaultChecked: s, disabled: c = !1, required: l = !1, name: u, value: d, onChange: f, error: p, helper: m, showErrorIcon: h = !0, class: g, "aria-label": _, "aria-labelledby": v, "aria-describedby": y, "aria-invalid": b, ...x }, S) => {
|
|
6
|
+
let [C, w] = t(!!s), T = o !== void 0, E = T ? !!o : C, D = !!c, O = !!l, k = typeof g == "string" ? g : void 0, A = (e) => {
|
|
7
|
+
T || w(e.target.checked), f?.(e);
|
|
8
|
+
}, j = m ? `${e}-helper` : void 0, M = p ? `${e}-error` : void 0, N = [
|
|
9
|
+
y,
|
|
10
|
+
M,
|
|
11
|
+
j
|
|
12
|
+
].filter(Boolean).join(" ") || void 0;
|
|
13
|
+
return /* @__PURE__ */ n("div", {
|
|
14
|
+
class: r("IncodeRadioButton", k),
|
|
15
|
+
children: [
|
|
16
|
+
/* @__PURE__ */ n("label", {
|
|
17
|
+
class: r("IncodeRadioButtonLabel", { IncodeRadioButtonLabelDisabled: D }),
|
|
18
|
+
htmlFor: e,
|
|
19
|
+
children: [/* @__PURE__ */ n("div", {
|
|
20
|
+
class: "relative inline-flex",
|
|
21
|
+
children: [/* @__PURE__ */ n("input", {
|
|
22
|
+
ref: S,
|
|
23
|
+
type: "radio",
|
|
24
|
+
class: "IncodeRadioButtonInput",
|
|
25
|
+
id: e,
|
|
26
|
+
name: u,
|
|
27
|
+
value: d,
|
|
28
|
+
...T ? { checked: o } : { defaultChecked: s },
|
|
29
|
+
disabled: c,
|
|
30
|
+
required: l,
|
|
31
|
+
onChange: A,
|
|
32
|
+
"aria-label": _,
|
|
33
|
+
"aria-labelledby": v,
|
|
34
|
+
"aria-describedby": N,
|
|
35
|
+
"aria-invalid": b || !!p,
|
|
36
|
+
"aria-required": O,
|
|
37
|
+
...x
|
|
38
|
+
}), /* @__PURE__ */ n("div", {
|
|
39
|
+
class: r("IncodeRadioButtonVisual", {
|
|
40
|
+
IncodeRadioButtonVisualChecked: E,
|
|
41
|
+
IncodeRadioButtonVisualDisabled: D,
|
|
42
|
+
IncodeRadioButtonVisualError: !!p
|
|
43
|
+
}),
|
|
44
|
+
"aria-hidden": "true",
|
|
45
|
+
children: /* @__PURE__ */ n("span", { class: r("IncodeRadioButtonDot", { IncodeRadioButtonDotVisible: E }) })
|
|
46
|
+
})]
|
|
47
|
+
}), a && /* @__PURE__ */ n("span", {
|
|
48
|
+
class: r("IncodeRadioButtonText", { IncodeRadioButtonTextDisabled: D }),
|
|
49
|
+
"aria-hidden": v ? "true" : void 0,
|
|
50
|
+
children: [a, O && /* @__PURE__ */ n("span", {
|
|
51
|
+
class: "IncodeRadioButtonRequired",
|
|
52
|
+
"aria-hidden": "true",
|
|
53
|
+
children: "*"
|
|
54
|
+
})]
|
|
55
|
+
})]
|
|
56
|
+
}),
|
|
57
|
+
p && /* @__PURE__ */ n("div", {
|
|
58
|
+
class: "IncodeRadioButtonMessageWrapper",
|
|
59
|
+
"data-testid": `${e}-error-wrapper`,
|
|
60
|
+
children: [h && /* @__PURE__ */ n("div", {
|
|
61
|
+
class: "IncodeRadioButtonIconWrapper",
|
|
62
|
+
children: /* @__PURE__ */ n(i, { size: 17 })
|
|
63
|
+
}), /* @__PURE__ */ n("p", {
|
|
64
|
+
id: M,
|
|
65
|
+
class: "IncodeRadioButtonErrorText",
|
|
66
|
+
children: p
|
|
67
|
+
})]
|
|
68
|
+
}),
|
|
69
|
+
m && !p && /* @__PURE__ */ n("div", {
|
|
70
|
+
class: "IncodeRadioButtonMessageWrapper",
|
|
71
|
+
"data-testid": `${e}-helper-wrapper`,
|
|
72
|
+
children: /* @__PURE__ */ n("p", {
|
|
73
|
+
id: j,
|
|
74
|
+
class: "IncodeRadioButtonHelperText",
|
|
75
|
+
children: m
|
|
76
|
+
})
|
|
77
|
+
})
|
|
78
|
+
]
|
|
79
|
+
});
|
|
80
|
+
});
|
|
81
|
+
//#endregion
|
|
82
|
+
export { a as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
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-B3g2cb7v.js";
|
|
3
3
|
import { S as r, _ as i, c as a, h as o, o as s, p as c, v as l } from "./vendor-preact-D6SntenC.js";
|
|
4
|
-
import { o as u, t as d } from "./incodeComponent-
|
|
4
|
+
import { o as u, t as d } from "./incodeComponent-dxwR00fd.js";
|
|
5
5
|
import { t as f } from "./spacer-DCljE53A.js";
|
|
6
6
|
import { t as p } from "./incode-logo-DX016usY.js";
|
|
7
7
|
import { n as m, t as h } from "./verifiedByIncode-ChZBpqNy.js";
|
|
@@ -11,8 +11,8 @@ import { t as _ } from "./button-4-ToV5B_.js";
|
|
|
11
11
|
import "./icons-Cj7hJH7f.js";
|
|
12
12
|
import { t as v } from "./successIcon-C4GI_9SU.js";
|
|
13
13
|
import { n as y } from "./countries-Bbn2lyxr.js";
|
|
14
|
-
import { t as b } from "./incodeModule-
|
|
15
|
-
import { t as x } from "./tabs-
|
|
14
|
+
import { t as b } from "./incodeModule-BH9gV7jI.js";
|
|
15
|
+
import { t as x } from "./tabs-DnpffRKI.js";
|
|
16
16
|
import { createRedirectToMobileManager as S } from "@incodetech/core/redirect-to-mobile";
|
|
17
17
|
//#region src/modules/redirect-to-mobile/redirectHeader.tsx
|
|
18
18
|
var C = ({ logoSrc: e }) => {
|
|
@@ -1350,7 +1350,7 @@ var C = ({ logoSrc: e }) => {
|
|
|
1350
1350
|
})
|
|
1351
1351
|
]
|
|
1352
1352
|
});
|
|
1353
|
-
}, ae = a(() => import("./phoneInput-
|
|
1353
|
+
}, ae = a(() => import("./phoneInput-q1YF0o-q.js").then((e) => ({ default: e.PhoneInput }))), oe = ({ countryCode: e, phonePrefix: n, error: i, isSending: a, isPhoneValid: o, onPhoneChange: c, onSendSms: u }) => {
|
|
1354
1354
|
let { t: d } = t();
|
|
1355
1355
|
return /* @__PURE__ */ l(r, { children: [/* @__PURE__ */ l(s, {
|
|
1356
1356
|
fallback: /* @__PURE__ */ l(g, {}),
|
|
@@ -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-DB5OmvER.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,9 +1,9 @@
|
|
|
1
1
|
import { v as e } from "../vendor-preact-D6SntenC.js";
|
|
2
|
-
import { o as t, t as n } from "../incodeComponent-
|
|
3
|
-
import { t as r } from "../transitionSpinner-
|
|
4
|
-
import { t as i } from "../processing-
|
|
5
|
-
import { n as a, r as o, t as s } from "../tutorial-
|
|
6
|
-
import { t as c } from "../incodeModule-
|
|
2
|
+
import { o as t, t as n } from "../incodeComponent-dxwR00fd.js";
|
|
3
|
+
import { t as r } from "../transitionSpinner-CpwivARH.js";
|
|
4
|
+
import { t as i } from "../processing-BuNhGQnB.js";
|
|
5
|
+
import { n as a, r as o, t as s } from "../tutorial-5LMEfxn3.js";
|
|
6
|
+
import { t as c } from "../incodeModule-BH9gV7jI.js";
|
|
7
7
|
import { createSelfieManager as l } from "@incodetech/core/selfie";
|
|
8
8
|
//#region src/modules/selfie/selfie.tsx
|
|
9
9
|
var u = ({ config: n, manager: c, onFinish: u, onError: d }) => {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as e } from "../i18n-
|
|
1
|
+
import { n as e } from "../i18n-B3g2cb7v.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 { o as l, t as u } from "../incodeComponent-
|
|
3
|
+
import { o as l, t as u } from "../incodeComponent-dxwR00fd.js";
|
|
4
4
|
import { t as d } from "../spacer-DCljE53A.js";
|
|
5
5
|
import { t as f } from "../page-D5Mt-0zn.js";
|
|
6
6
|
import { r as p } from "../typography-B7nxauEL.js";
|
|
7
7
|
import { t as m } from "../button-4-ToV5B_.js";
|
|
8
8
|
import { t as h } from "../successIcon-C4GI_9SU.js";
|
|
9
|
-
import { t as g } from "../incodeModule-
|
|
10
|
-
import { t as _ } from "../defineProperty-
|
|
9
|
+
import { t as g } from "../incodeModule-BH9gV7jI.js";
|
|
10
|
+
import { t as _ } from "../defineProperty-DB5OmvER.js";
|
|
11
11
|
import { createSignatureManager as v } from "@incodetech/core/signature";
|
|
12
12
|
//#region ../../node_modules/.pnpm/signature_pad@5.1.3/node_modules/signature_pad/dist/signature_pad.js
|
|
13
13
|
var y = class {
|
package/dist/themes/dark.css
CHANGED
|
@@ -1187,6 +1187,9 @@
|
|
|
1187
1187
|
/* home module */
|
|
1188
1188
|
--home-logo-container-max-width: 180px;
|
|
1189
1189
|
--home-logo-max-height: 250px;
|
|
1190
|
+
|
|
1191
|
+
/* snackbar */
|
|
1192
|
+
--snackbar-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.08);
|
|
1190
1193
|
}
|
|
1191
1194
|
[data-incode-theme='dark'] {
|
|
1192
1195
|
/* Surface / Neutral */
|
package/dist/themes/light.css
CHANGED