@incodetech/web 0.0.0-dev-20260407-4580f1c → 0.0.0-dev-20260407-2c382da
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-D1H_js4X.js +2607 -0
- package/dist/Trans-aTzdT_SA.js +55 -0
- package/dist/addressAutocomplete-C8-wL1j_.js +153 -0
- package/dist/aligndevicelottie-DlQCRPfM.js +29 -0
- package/dist/antifraud/antifraud.es.js +18 -17
- package/dist/antifraud/styles.css +1 -1
- package/dist/authentication/authentication.es.js +50 -28
- package/dist/back-horizontal-hint-CSlf9KI1.js +5 -0
- package/dist/back-tutorial-An9AcMSe.js +29 -0
- package/dist/back-vertical-hint-CNieqiCr.js +5 -0
- package/dist/backdevicelottie-B4NgyWmX.js +29 -0
- package/dist/base.css +67 -327
- package/dist/blurdevicelottie-_BZRug1c.js +29 -0
- package/dist/browser-ponyfill-B6W6hHVY.js +344 -0
- package/dist/button-CE9kRlem.js +184 -0
- package/dist/cameraView-C2X7klNb.js +55 -0
- package/dist/captureOverlay-tCb4R4WE.js +592 -0
- package/dist/checkbox-B5X-mfqq.js +137 -0
- package/dist/chevronDown-DSHaPKbi.js +23 -0
- package/dist/closeIcon-9Hc97omv.js +28 -0
- package/dist/consent/consent.es.js +89 -82
- package/dist/consent/styles.css +1 -1
- package/dist/countries-DfLkrF0x.js +616 -0
- package/dist/curp-validation/curp-validation.es.js +313 -271
- package/dist/curp-validation/styles.css +1 -1
- package/dist/dateInputComposed-C7PCzh-U.js +173 -0
- package/dist/document-capture/styles.css +1 -1
- package/dist/documentCapture-C0mO-RGE.js +692 -0
- package/dist/dropdownComposed-BpinYlrx.js +367 -0
- package/dist/ekyb/styles.css +1 -1
- package/dist/ekybModule-Dr6LJUg-.js +357 -0
- package/dist/ekyc/styles.css +1 -1
- package/dist/ekycModule-C3mswduI.js +291 -0
- package/dist/email/email.es.js +154 -110
- package/dist/email/styles.css +1 -1
- package/dist/errorContent-Cb8nmQAE.js +44 -0
- package/dist/errorIcon-DEARBrGx.js +26 -0
- package/dist/extensibility.es.js +150 -22
- package/dist/face-match/styles.css +73 -147
- package/dist/faceMatch-DbDp7D3d.js +237 -0
- package/dist/fileIcon-CCSvS10T.js +52 -0
- package/dist/flip-animation-COR596wy.js +29 -0
- package/dist/flipAnimation-BqV462TA.js +2059 -0
- package/dist/flow/flow.es.js +2613 -2273
- package/dist/flow/styles.css +73 -432
- package/dist/formField-CP6wDdfA.js +106 -0
- package/dist/front-horizontal-hint-lRLKd7vY.js +7 -0
- package/dist/front-vertical-hint-qQoJXRE3.js +7 -0
- package/dist/frontdevicelottie-KhKxT5n9.js +29 -0
- package/dist/geolocation/geolocation.es.js +832 -852
- package/dist/geolocation/styles.css +1 -1
- package/dist/glaredevicelottie-DLuIStvb.js +29 -0
- package/dist/governmentValidation/governmentValidation.es.js +106 -100
- package/dist/governmentValidation/styles.css +1 -1
- package/dist/id/id.es.js +59 -53
- package/dist/id/styles.css +1 -1
- package/dist/id-laser-h-BBV3r3rz.js +29 -0
- package/dist/id-laser-v-BTHJaSfx.js +29 -0
- package/dist/id-tutorial-B-F5Q28m.js +29 -0
- package/dist/incodeModule-C4XIllao.js +96 -0
- package/dist/index.es.js +25 -4
- package/dist/inputComposed-fUbAGrDy.js +103 -0
- package/dist/instance-BWYzq8dk.js +2163 -0
- package/dist/loadingIcon-DmuPXh70.js +195 -0
- package/dist/mandatoryConsent-5xPI0cor.js +94 -0
- package/dist/manualCaptureButton-BvFmTyJe.js +372 -0
- package/dist/numberedStep-DwUB__mh.js +5 -0
- package/dist/otpInput-BFXhqFRT.js +156 -0
- package/dist/page-SrUl0qtN.js +69 -0
- package/dist/passport-horizontal-hint-BCtpMp1Y.js +5 -0
- package/dist/passport-tutorial-CaYBFTqt.js +29 -0
- package/dist/passport-vertical-hint-GaLnzqHP.js +5 -0
- package/dist/permissions-DT4Fz9MR.js +709 -0
- package/dist/phone/phone.es.js +121 -87
- package/dist/phone/styles.css +1 -1
- package/dist/phoneInput-CGr8TxOO.js +158 -0
- package/dist/phoneInputComposed-Cm9O2Jba.js +206 -0
- package/dist/processing-szVOCQwZ.js +19 -0
- package/dist/redirect-to-mobile/styles.css +1 -1
- package/dist/richText-cspvNz2a.js +1807 -0
- package/dist/selfie/selfie.es.js +50 -29
- package/dist/selfie/styles.css +66 -170
- package/dist/selfieTutorial-Dm_p0ke9.js +29 -0
- package/dist/signature/signature.es.js +707 -557
- package/dist/signature/styles.css +1 -1
- package/dist/spinner-DygONskw.js +60 -0
- package/dist/successIcon-Bjsdc4lF.js +26 -0
- package/dist/tutorial-Cdz1025D.js +473 -0
- package/dist/types/ekyb/styles.d.ts +1 -0
- package/dist/types/ekyc/styles.d.ts +1 -0
- package/dist/types/index.d.ts +8 -0
- package/dist/typography-BDACYR5i.js +14 -0
- package/dist/uiConfig-Dnt-2YWB.js +23 -0
- package/dist/useMediaQuery-lJdQBmC2.js +18 -0
- package/dist/vendor-preact-BoMmvSgn.js +694 -0
- package/dist/warningIcon-DQq_MrOB.js +26 -0
- package/package.json +11 -8
- package/dist/AsYouType-DPWqJvFu.js +0 -2482
- package/dist/addressAutocomplete-B3f6PGTT.js +0 -108
- package/dist/aligndevicelottie-C9xl1spu.js +0 -12757
- package/dist/back-horizontal-hint-Be3dUGk6.js +0 -137
- package/dist/back-tutorial-BNTyW-1N.js +0 -14584
- package/dist/back-vertical-hint-Bz_rnhd-.js +0 -128
- package/dist/backdevicelottie-DBB1YCtW.js +0 -16678
- package/dist/blurdevicelottie-9WvZCZ6C.js +0 -15939
- package/dist/browser-ponyfill-B4Qc6yfW.js +0 -299
- package/dist/button-DhL5eRT3.js +0 -123
- package/dist/checkbox-l8NxPf4o.js +0 -85
- package/dist/countries-y2ydYDhN.js +0 -8323
- package/dist/dateInputComposed-B9WqdYx9.js +0 -2
- package/dist/dateInputComposed-ndsGHX1M.js +0 -94
- package/dist/defineProperty-brqHEHA_.js +0 -39
- package/dist/documentCapture-wDgRLdon.js +0 -784
- package/dist/dropdownComposed-_Ey7wJNG.js +0 -258
- package/dist/ekyb/ekyb.es.js +0 -2
- package/dist/ekybModule-BBOm1y49.js +0 -2
- package/dist/ekybModule-fz6i9ZRt.js +0 -286
- package/dist/ekyc/ekyc.es.js +0 -2
- package/dist/ekycModule-SeTFG3AJ.js +0 -233
- package/dist/ekycModule-hxIcNX8n.js +0 -2
- package/dist/extensibility-DJihqIzM.js +0 -2248
- package/dist/faceMatch-DH8sLx34.js +0 -191
- package/dist/flip-animation-DOJzdXB-.js +0 -6983
- package/dist/formField-BRTbY8w9.js +0 -100
- package/dist/front-horizontal-hint-aGAhadA2.js +0 -380
- package/dist/front-vertical-hint-DZz1VeNp.js +0 -420
- package/dist/frontdevicelottie-DadDp6be.js +0 -17302
- package/dist/glaredevicelottie-BfI84cPw.js +0 -14466
- package/dist/i18n-DZOHbK9q.js +0 -1916
- package/dist/icons-BHbofCgJ.js +0 -245
- package/dist/id-laser-h-BWyU3VgL.js +0 -467
- package/dist/id-laser-v-JiWXUlv0.js +0 -467
- package/dist/id-tutorial-Cc9xg5_J.js +0 -13152
- package/dist/incodeModule-Bf6yJ8RB.js +0 -18
- package/dist/inputComposed-BhbfD8Ru.js +0 -77
- package/dist/loadingIcon-CeQt7Zgb.js +0 -146
- package/dist/mandatoryConsent-LBS8E0rj.js +0 -101
- package/dist/numberedStep-CQVRixRP.js +0 -11
- package/dist/otpInput-CDIG9el7.js +0 -143
- package/dist/page-SvlJWUfz.js +0 -61
- package/dist/passport-horizontal-hint-CFsGs7Dp.js +0 -293
- package/dist/passport-tutorial-z0LN7Hsp.js +0 -11688
- package/dist/passport-vertical-hint-BnCpKWeN.js +0 -267
- package/dist/phoneInput-C9T_8FJt.js +0 -138
- package/dist/phoneInputComposed-B-0zieIW.js +0 -407
- package/dist/processing-B5zhNH6I.js +0 -15
- package/dist/richText-Db0PfpkE.js +0 -1973
- package/dist/rolldown-runtime-CjdbFOpI.js +0 -13
- package/dist/selfieTutorial-B0MIyPrk.js +0 -2676
- package/dist/setup-Dq2bzNKH.js +0 -15
- package/dist/spacer-DCljE53A.js +0 -59
- package/dist/spinner-Bk0YuoLu.js +0 -1
- package/dist/spinner-snIGzmm8.js +0 -41
- package/dist/successIcon-AHrfmJvv.js +0 -17
- package/dist/tutorial-DNOd11tg.js +0 -2780
- package/dist/types/ekyb.d.ts +0 -29
- package/dist/types/ekyc.d.ts +0 -29
- package/dist/typography-BNbFNFek.js +0 -1
- package/dist/typography-DvHeVWfY.js +0 -29
- package/dist/uiConfig-CwpQ-IM6.js +0 -20
- package/dist/vendor-preact-D6SntenC.js +0 -958
- package/dist/warningIcon-Cvj-ayg1.js +0 -17
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { u as n, b as T } from "./loadingIcon-DmuPXh70.js";
|
|
2
|
+
import { K as m, k as w } from "./vendor-preact-BoMmvSgn.js";
|
|
3
|
+
const v = ({ class: l }) => /* @__PURE__ */ n(
|
|
4
|
+
"svg",
|
|
5
|
+
{
|
|
6
|
+
width: "13",
|
|
7
|
+
height: "14",
|
|
8
|
+
viewBox: "0 0 13 14",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
"aria-hidden": "true",
|
|
12
|
+
class: l,
|
|
13
|
+
children: /* @__PURE__ */ n(
|
|
14
|
+
"path",
|
|
15
|
+
{
|
|
16
|
+
d: "M0 8.08009V5.92009H9.198L4.698 1.87009L6.228 0.340088L12.6 6.28009V7.70209L6.228 13.6601L4.698 12.1301L9.198 8.08009H0Z",
|
|
17
|
+
fill: "currentColor"
|
|
18
|
+
}
|
|
19
|
+
)
|
|
20
|
+
}
|
|
21
|
+
), B = ({
|
|
22
|
+
i18nKey: l,
|
|
23
|
+
boldClass: g = "IncodeTransBold",
|
|
24
|
+
arrowClass: $ = "IncodeTransArrow",
|
|
25
|
+
components: t,
|
|
26
|
+
defaultValue: i
|
|
27
|
+
}) => {
|
|
28
|
+
const { t: u } = T(), d = i ? u(l, { defaultValue: i }) : u(l), a = "<strong>|<\\/strong>|<br\\s*\\/?>|<arrow\\s*\\/>", f = t ? Object.keys(t).map((r) => `<${r}>|<\\/${r}>`).join("|") : "", b = f ? `${a}|${f}` : a, L = d.split(new RegExp(`(${b})`, "g"));
|
|
29
|
+
let o = !1, e = null;
|
|
30
|
+
return /* @__PURE__ */ n(w, { children: L.map((r, s) => {
|
|
31
|
+
if (r === "<strong>")
|
|
32
|
+
return o = !0, null;
|
|
33
|
+
if (r === "</strong>")
|
|
34
|
+
return o = !1, null;
|
|
35
|
+
if (/^<br\s*\/?>$/.test(r)) return /* @__PURE__ */ n("br", {}, s);
|
|
36
|
+
if (/^<arrow\s*\/>$/.test(r))
|
|
37
|
+
return /* @__PURE__ */ n(v, { class: $ }, s);
|
|
38
|
+
if (t) {
|
|
39
|
+
const c = r.match(/^<(\w+)>$/);
|
|
40
|
+
if (c && t[c[1]])
|
|
41
|
+
return e = c[1], null;
|
|
42
|
+
const h = r.match(/^<\/(\w+)>$/);
|
|
43
|
+
if (h && t[h[1]])
|
|
44
|
+
return e = null, null;
|
|
45
|
+
}
|
|
46
|
+
return r ? e && t ? m(
|
|
47
|
+
t[e],
|
|
48
|
+
{ key: s },
|
|
49
|
+
r
|
|
50
|
+
) : o ? /* @__PURE__ */ n("span", { class: g, children: r }, s) : /* @__PURE__ */ n(w, { children: r }, s) : null;
|
|
51
|
+
}) });
|
|
52
|
+
};
|
|
53
|
+
export {
|
|
54
|
+
B as T
|
|
55
|
+
};
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { d, y as M, A as F, q as K } from "./vendor-preact-BoMmvSgn.js";
|
|
2
|
+
import { b as Q, u as l } from "./loadingIcon-DmuPXh70.js";
|
|
3
|
+
import "./instance-BWYzq8dk.js";
|
|
4
|
+
import { t as R } from "./formField-CP6wDdfA.js";
|
|
5
|
+
import { a as q } from "./inputComposed-fUbAGrDy.js";
|
|
6
|
+
import "@incodetech/core";
|
|
7
|
+
import { u as z } from "./useMediaQuery-lJdQBmC2.js";
|
|
8
|
+
function J(c, f) {
|
|
9
|
+
const [A, h] = d(!1);
|
|
10
|
+
return M(() => {
|
|
11
|
+
const o = c.current;
|
|
12
|
+
if (!o) return;
|
|
13
|
+
const i = () => h(o.scrollHeight > o.clientHeight);
|
|
14
|
+
i();
|
|
15
|
+
const u = new ResizeObserver(i);
|
|
16
|
+
return u.observe(o), () => u.disconnect();
|
|
17
|
+
}, [f, c]), A;
|
|
18
|
+
}
|
|
19
|
+
const V = ({
|
|
20
|
+
label: c,
|
|
21
|
+
value: f,
|
|
22
|
+
error: A,
|
|
23
|
+
errorParams: h,
|
|
24
|
+
suggestions: o,
|
|
25
|
+
readonly: i,
|
|
26
|
+
optional: u,
|
|
27
|
+
onChange: w,
|
|
28
|
+
onSearch: k,
|
|
29
|
+
onSelect: N,
|
|
30
|
+
onBlur: D
|
|
31
|
+
}) => {
|
|
32
|
+
const { t: n } = Q(), [x, a] = d(!1), [C, m] = d(!1), [E, S] = d(""), [s, r] = d(-1), v = F(null), p = "ekyc-address-listbox", I = z(), g = n(c), $ = u ? `${g} (${n("common.optional")})` : g;
|
|
33
|
+
M(() => {
|
|
34
|
+
function e(t) {
|
|
35
|
+
v.current && !v.current.contains(t.target) && a(!1);
|
|
36
|
+
}
|
|
37
|
+
return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
|
|
38
|
+
}, []), M(() => {
|
|
39
|
+
r(-1);
|
|
40
|
+
}, [o]);
|
|
41
|
+
const b = K(
|
|
42
|
+
(e) => {
|
|
43
|
+
N(e), a(!1), m(!1), r(-1);
|
|
44
|
+
},
|
|
45
|
+
[N]
|
|
46
|
+
), O = (e) => {
|
|
47
|
+
w(e), e.length >= 3 ? I ? (m(!0), S(e)) : (k(e), a(!0)) : a(!1);
|
|
48
|
+
}, L = (e) => {
|
|
49
|
+
!x || o.length === 0 || (e.key === "ArrowDown" ? (e.preventDefault(), r((t) => t < o.length - 1 ? t + 1 : 0)) : e.key === "ArrowUp" ? (e.preventDefault(), r((t) => t > 0 ? t - 1 : o.length - 1)) : e.key === "Enter" && s >= 0 ? (e.preventDefault(), b(o[s])) : e.key === "Escape" && (a(!1), r(-1)));
|
|
50
|
+
}, y = !I && x && o.length > 0, H = y && s >= 0 ? `${p}-option-${s}` : void 0;
|
|
51
|
+
return /* @__PURE__ */ l("div", { className: "IncodeAddressAutocomplete", ref: v, children: [
|
|
52
|
+
/* @__PURE__ */ l(
|
|
53
|
+
q,
|
|
54
|
+
{
|
|
55
|
+
id: "ekyc-street",
|
|
56
|
+
label: $,
|
|
57
|
+
name: "street",
|
|
58
|
+
value: f,
|
|
59
|
+
readOnly: i,
|
|
60
|
+
error: R(n, A, h),
|
|
61
|
+
onInput: (e) => O(e.target.value),
|
|
62
|
+
onKeyDown: L,
|
|
63
|
+
onBlur: D,
|
|
64
|
+
role: "combobox",
|
|
65
|
+
"aria-expanded": y,
|
|
66
|
+
"aria-controls": p,
|
|
67
|
+
"aria-activedescendant": H,
|
|
68
|
+
"aria-autocomplete": "list",
|
|
69
|
+
"data-testid": "ekyc-address-input"
|
|
70
|
+
}
|
|
71
|
+
),
|
|
72
|
+
y && /* @__PURE__ */ l(
|
|
73
|
+
"ul",
|
|
74
|
+
{
|
|
75
|
+
id: p,
|
|
76
|
+
role: "listbox",
|
|
77
|
+
className: "IncodeAddressAutocompleteSuggestions",
|
|
78
|
+
children: o.map((e, t) => /* @__PURE__ */ l(
|
|
79
|
+
"li",
|
|
80
|
+
{
|
|
81
|
+
id: `${p}-option-${t}`,
|
|
82
|
+
role: "option",
|
|
83
|
+
"aria-selected": t === s,
|
|
84
|
+
className: `IncodeAddressAutocompleteSuggestion${t === s ? "IncodeAddressAutocompleteSuggestionActive" : ""}`,
|
|
85
|
+
onClick: () => b(e),
|
|
86
|
+
children: e.label
|
|
87
|
+
},
|
|
88
|
+
e.id
|
|
89
|
+
))
|
|
90
|
+
}
|
|
91
|
+
),
|
|
92
|
+
I && C && /* @__PURE__ */ l("div", { className: "IncodeAddressAutocompleteModalOverlay", children: /* @__PURE__ */ l("div", { className: "IncodeAddressAutocompleteModal", children: [
|
|
93
|
+
/* @__PURE__ */ l("div", { className: "IncodeAddressAutocompleteModalHeader", children: [
|
|
94
|
+
/* @__PURE__ */ l("h3", { children: n("verification.addressSearch") }),
|
|
95
|
+
/* @__PURE__ */ l(
|
|
96
|
+
"button",
|
|
97
|
+
{
|
|
98
|
+
className: "IncodeAddressAutocompleteModalClose",
|
|
99
|
+
onClick: () => m(!1),
|
|
100
|
+
type: "button",
|
|
101
|
+
children: "×"
|
|
102
|
+
}
|
|
103
|
+
)
|
|
104
|
+
] }),
|
|
105
|
+
/* @__PURE__ */ l("div", { className: "IncodeAddressAutocompleteModalBody", children: [
|
|
106
|
+
/* @__PURE__ */ l(
|
|
107
|
+
"input",
|
|
108
|
+
{
|
|
109
|
+
className: "IncodeAddressAutocompleteModalInput",
|
|
110
|
+
type: "text",
|
|
111
|
+
value: E,
|
|
112
|
+
placeholder: n("verification.addressPlaceholder"),
|
|
113
|
+
onInput: (e) => {
|
|
114
|
+
const t = e.target.value;
|
|
115
|
+
S(t), t.length >= 3 && k(t);
|
|
116
|
+
},
|
|
117
|
+
autoFocus: !0
|
|
118
|
+
}
|
|
119
|
+
),
|
|
120
|
+
o.length > 0 && /* @__PURE__ */ l(
|
|
121
|
+
"ul",
|
|
122
|
+
{
|
|
123
|
+
role: "listbox",
|
|
124
|
+
className: "IncodeAddressAutocompleteModalSuggestions",
|
|
125
|
+
children: o.map((e) => /* @__PURE__ */ l(
|
|
126
|
+
"li",
|
|
127
|
+
{
|
|
128
|
+
role: "option",
|
|
129
|
+
className: "IncodeAddressAutocompleteModalSuggestion",
|
|
130
|
+
onClick: () => b(e),
|
|
131
|
+
children: e.label
|
|
132
|
+
},
|
|
133
|
+
e.id
|
|
134
|
+
))
|
|
135
|
+
}
|
|
136
|
+
),
|
|
137
|
+
/* @__PURE__ */ l(
|
|
138
|
+
"button",
|
|
139
|
+
{
|
|
140
|
+
className: "IncodeAddressAutocompleteEnterManually",
|
|
141
|
+
onClick: () => m(!1),
|
|
142
|
+
type: "button",
|
|
143
|
+
children: n("verification.enterManually")
|
|
144
|
+
}
|
|
145
|
+
)
|
|
146
|
+
] })
|
|
147
|
+
] }) })
|
|
148
|
+
] });
|
|
149
|
+
};
|
|
150
|
+
export {
|
|
151
|
+
V as A,
|
|
152
|
+
J as u
|
|
153
|
+
};
|