@incodetech/web 0.0.0-dev-20260407-2c382da → 0.0.0-dev-20260407-ebd92aa
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-DPWqJvFu.js +2482 -0
- package/dist/addressAutocomplete-t809rK3N.js +108 -0
- package/dist/aligndevicelottie-C9xl1spu.js +12757 -0
- package/dist/antifraud/antifraud.es.js +17 -18
- package/dist/antifraud/styles.css +1 -1
- package/dist/authentication/authentication.es.js +28 -50
- package/dist/back-horizontal-hint-Be3dUGk6.js +137 -0
- package/dist/back-tutorial-BNTyW-1N.js +14584 -0
- package/dist/back-vertical-hint-Bz_rnhd-.js +128 -0
- package/dist/backdevicelottie-DBB1YCtW.js +16678 -0
- package/dist/base.css +327 -67
- package/dist/blurdevicelottie-9WvZCZ6C.js +15939 -0
- package/dist/browser-ponyfill-B4Qc6yfW.js +299 -0
- package/dist/button-DrtZRYJX.js +123 -0
- package/dist/checkbox-kZerHUek.js +85 -0
- package/dist/consent/consent.es.js +82 -89
- package/dist/consent/styles.css +1 -1
- package/dist/countries-y2ydYDhN.js +8323 -0
- package/dist/curp-validation/curp-validation.es.js +271 -313
- package/dist/curp-validation/styles.css +1 -1
- package/dist/dateInputComposed-9zbxhNlX.js +94 -0
- package/dist/dateInputComposed-B36DI9FJ.js +2 -0
- package/dist/defineProperty-brqHEHA_.js +39 -0
- package/dist/document-capture/styles.css +1 -1
- package/dist/documentCapture-CY-g1OUT.js +784 -0
- package/dist/dropdownComposed-CWxUwv7E.js +258 -0
- package/dist/ekyb/ekyb.es.js +2 -0
- package/dist/ekyb/styles.css +1 -1
- package/dist/ekybModule-DGOhCY0S.js +286 -0
- package/dist/ekybModule-mBTq_Apn.js +2 -0
- package/dist/ekyc/ekyc.es.js +2 -0
- package/dist/ekyc/styles.css +1 -1
- package/dist/ekycModule-DZlqb6Bc.js +2 -0
- package/dist/ekycModule-rJxf46TS.js +233 -0
- package/dist/email/email.es.js +110 -154
- package/dist/email/styles.css +1 -1
- package/dist/extensibility-CcUfegWj.js +2248 -0
- package/dist/extensibility.es.js +22 -150
- package/dist/face-match/styles.css +147 -73
- package/dist/faceMatch-K9k9f1HF.js +191 -0
- package/dist/flip-animation-DOJzdXB-.js +6983 -0
- package/dist/flow/flow.es.js +2258 -2613
- package/dist/flow/styles.css +432 -73
- package/dist/formField-BBfAFfVZ.js +100 -0
- package/dist/front-horizontal-hint-aGAhadA2.js +380 -0
- package/dist/front-vertical-hint-DZz1VeNp.js +420 -0
- package/dist/frontdevicelottie-DadDp6be.js +17302 -0
- package/dist/geolocation/geolocation.es.js +852 -832
- package/dist/geolocation/styles.css +1 -1
- package/dist/glaredevicelottie-BfI84cPw.js +14466 -0
- package/dist/governmentValidation/governmentValidation.es.js +100 -106
- package/dist/governmentValidation/styles.css +1 -1
- package/dist/i18n-DZOHbK9q.js +1916 -0
- package/dist/icons-BHbofCgJ.js +245 -0
- package/dist/id/id.es.js +53 -59
- package/dist/id/styles.css +1 -1
- package/dist/id-laser-h-BWyU3VgL.js +467 -0
- package/dist/id-laser-v-JiWXUlv0.js +467 -0
- package/dist/id-tutorial-Cc9xg5_J.js +13152 -0
- package/dist/incodeModule-Bf6yJ8RB.js +18 -0
- package/dist/index.es.js +4 -25
- package/dist/inputComposed-rPAh6ptN.js +77 -0
- package/dist/loadingIcon-BDMR5L6z.js +147 -0
- package/dist/mandatoryConsent-ohmxTqe7.js +101 -0
- package/dist/numberedStep-CQVRixRP.js +11 -0
- package/dist/otpInput-DRZiayDi.js +143 -0
- package/dist/page-M9yWRw73.js +61 -0
- package/dist/passport-horizontal-hint-CFsGs7Dp.js +293 -0
- package/dist/passport-tutorial-z0LN7Hsp.js +11688 -0
- package/dist/passport-vertical-hint-BnCpKWeN.js +267 -0
- package/dist/phone/phone.es.js +87 -121
- package/dist/phone/styles.css +1 -1
- package/dist/phoneInput-C9T_8FJt.js +138 -0
- package/dist/phoneInputComposed-CXTXBQ0B.js +407 -0
- package/dist/processing-yJ5QEgaC.js +15 -0
- package/dist/redirect-to-mobile/styles.css +1 -1
- package/dist/richText-Db0PfpkE.js +1973 -0
- package/dist/rolldown-runtime-CjdbFOpI.js +13 -0
- package/dist/selfie/selfie.es.js +29 -50
- package/dist/selfie/styles.css +170 -66
- package/dist/selfieTutorial-B0MIyPrk.js +2676 -0
- package/dist/setup-Dq2bzNKH.js +15 -0
- package/dist/signature/signature.es.js +557 -707
- package/dist/signature/styles.css +1 -1
- package/dist/spacer-DCljE53A.js +59 -0
- package/dist/spinner-BK2pIUzB.js +41 -0
- package/dist/spinner-DjG-sUzI.js +1 -0
- package/dist/successIcon-AHrfmJvv.js +17 -0
- package/dist/tutorial-C2kSUHWe.js +2781 -0
- package/dist/types/ekyb.d.ts +29 -0
- package/dist/types/ekyc.d.ts +29 -0
- package/dist/types/extensibility.d.ts +3 -5
- package/dist/types/flow.d.ts +1 -1
- package/dist/types/index.d.ts +2 -10
- package/dist/typography-BQrJwR60.js +1 -0
- package/dist/typography-BtyuWjzC.js +29 -0
- package/dist/uiConfig-CwpQ-IM6.js +20 -0
- package/dist/vendor-preact-D6SntenC.js +958 -0
- package/dist/warningIcon-Cvj-ayg1.js +17 -0
- package/package.json +8 -11
- package/dist/AsYouType-D1H_js4X.js +0 -2607
- package/dist/Trans-aTzdT_SA.js +0 -55
- package/dist/addressAutocomplete-C8-wL1j_.js +0 -153
- package/dist/aligndevicelottie-DlQCRPfM.js +0 -29
- package/dist/back-horizontal-hint-CSlf9KI1.js +0 -5
- package/dist/back-tutorial-An9AcMSe.js +0 -29
- package/dist/back-vertical-hint-CNieqiCr.js +0 -5
- package/dist/backdevicelottie-B4NgyWmX.js +0 -29
- package/dist/blurdevicelottie-_BZRug1c.js +0 -29
- package/dist/browser-ponyfill-B6W6hHVY.js +0 -344
- package/dist/button-CE9kRlem.js +0 -184
- package/dist/cameraView-C2X7klNb.js +0 -55
- package/dist/captureOverlay-tCb4R4WE.js +0 -592
- package/dist/checkbox-B5X-mfqq.js +0 -137
- package/dist/chevronDown-DSHaPKbi.js +0 -23
- package/dist/closeIcon-9Hc97omv.js +0 -28
- package/dist/countries-DfLkrF0x.js +0 -616
- package/dist/dateInputComposed-C7PCzh-U.js +0 -173
- package/dist/documentCapture-C0mO-RGE.js +0 -692
- package/dist/dropdownComposed-BpinYlrx.js +0 -367
- package/dist/ekybModule-Dr6LJUg-.js +0 -357
- package/dist/ekycModule-C3mswduI.js +0 -291
- package/dist/errorContent-Cb8nmQAE.js +0 -44
- package/dist/errorIcon-DEARBrGx.js +0 -26
- package/dist/faceMatch-DbDp7D3d.js +0 -237
- package/dist/fileIcon-CCSvS10T.js +0 -52
- package/dist/flip-animation-COR596wy.js +0 -29
- package/dist/flipAnimation-BqV462TA.js +0 -2059
- package/dist/formField-CP6wDdfA.js +0 -106
- package/dist/front-horizontal-hint-lRLKd7vY.js +0 -7
- package/dist/front-vertical-hint-qQoJXRE3.js +0 -7
- package/dist/frontdevicelottie-KhKxT5n9.js +0 -29
- package/dist/glaredevicelottie-DLuIStvb.js +0 -29
- package/dist/id-laser-h-BBV3r3rz.js +0 -29
- package/dist/id-laser-v-BTHJaSfx.js +0 -29
- package/dist/id-tutorial-B-F5Q28m.js +0 -29
- package/dist/incodeModule-C4XIllao.js +0 -96
- package/dist/inputComposed-fUbAGrDy.js +0 -103
- package/dist/instance-BWYzq8dk.js +0 -2163
- package/dist/loadingIcon-DmuPXh70.js +0 -195
- package/dist/mandatoryConsent-5xPI0cor.js +0 -94
- package/dist/manualCaptureButton-BvFmTyJe.js +0 -372
- package/dist/numberedStep-DwUB__mh.js +0 -5
- package/dist/otpInput-BFXhqFRT.js +0 -156
- package/dist/page-SrUl0qtN.js +0 -69
- package/dist/passport-horizontal-hint-BCtpMp1Y.js +0 -5
- package/dist/passport-tutorial-CaYBFTqt.js +0 -29
- package/dist/passport-vertical-hint-GaLnzqHP.js +0 -5
- package/dist/permissions-DT4Fz9MR.js +0 -709
- package/dist/phoneInput-CGr8TxOO.js +0 -158
- package/dist/phoneInputComposed-Cm9O2Jba.js +0 -206
- package/dist/processing-szVOCQwZ.js +0 -19
- package/dist/richText-cspvNz2a.js +0 -1807
- package/dist/selfieTutorial-Dm_p0ke9.js +0 -29
- package/dist/spinner-DygONskw.js +0 -60
- package/dist/successIcon-Bjsdc4lF.js +0 -26
- package/dist/tutorial-Cdz1025D.js +0 -473
- package/dist/types/ekyb/styles.d.ts +0 -1
- package/dist/types/ekyc/styles.d.ts +0 -1
- package/dist/typography-BDACYR5i.js +0 -14
- package/dist/uiConfig-Dnt-2YWB.js +0 -23
- package/dist/useMediaQuery-lJdQBmC2.js +0 -18
- package/dist/vendor-preact-BoMmvSgn.js +0 -694
- package/dist/warningIcon-DQq_MrOB.js +0 -26
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { n as e } from "./i18n-DZOHbK9q.js";
|
|
2
|
+
import { _ as t, h as n, l as r, p as i, v as a } from "./vendor-preact-D6SntenC.js";
|
|
3
|
+
import { a as o } from "./loadingIcon-BDMR5L6z.js";
|
|
4
|
+
import { n as s } from "./formField-BBfAFfVZ.js";
|
|
5
|
+
import { t as c } from "./inputComposed-rPAh6ptN.js";
|
|
6
|
+
//#region src/modules/ekyc/addressAutocomplete.tsx
|
|
7
|
+
var l = ({ label: l, value: u, error: d, errorParams: f, suggestions: p, readonly: m, optional: h, onChange: g, onSearch: _, onSelect: v, onBlur: y }) => {
|
|
8
|
+
let { t: b } = e(), [x, S] = i(!1), [C, w] = i(!1), [T, E] = i(""), [D, O] = i(-1), k = r(null), A = "ekyc-address-listbox", j = o(), M = b(l), N = h ? `${M} (${b("common.optional")})` : M;
|
|
9
|
+
t(() => {
|
|
10
|
+
function e(e) {
|
|
11
|
+
k.current && !k.current.contains(e.target) && S(!1);
|
|
12
|
+
}
|
|
13
|
+
return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
|
|
14
|
+
}, []), t(() => {
|
|
15
|
+
O(-1);
|
|
16
|
+
}, [p]);
|
|
17
|
+
let P = n((e) => {
|
|
18
|
+
v(e), S(!1), w(!1), O(-1);
|
|
19
|
+
}, [v]), F = (e) => {
|
|
20
|
+
g(e), e.length >= 3 ? j ? (w(!0), E(e)) : (_(e), S(!0)) : S(!1);
|
|
21
|
+
}, I = (e) => {
|
|
22
|
+
!x || p.length === 0 || (e.key === "ArrowDown" ? (e.preventDefault(), O((e) => e < p.length - 1 ? e + 1 : 0)) : e.key === "ArrowUp" ? (e.preventDefault(), O((e) => e > 0 ? e - 1 : p.length - 1)) : e.key === "Enter" && D >= 0 ? (e.preventDefault(), P(p[D])) : e.key === "Escape" && (S(!1), O(-1)));
|
|
23
|
+
}, L = !j && x && p.length > 0, R = L && D >= 0 ? `${A}-option-${D}` : void 0;
|
|
24
|
+
return /* @__PURE__ */ a("div", {
|
|
25
|
+
className: "IncodeAddressAutocomplete",
|
|
26
|
+
ref: k,
|
|
27
|
+
children: [
|
|
28
|
+
/* @__PURE__ */ a(c, {
|
|
29
|
+
id: "ekyc-street",
|
|
30
|
+
label: N,
|
|
31
|
+
name: "street",
|
|
32
|
+
value: u,
|
|
33
|
+
readOnly: m,
|
|
34
|
+
error: s(b, d, f),
|
|
35
|
+
onInput: (e) => F(e.target.value),
|
|
36
|
+
onKeyDown: I,
|
|
37
|
+
onBlur: y,
|
|
38
|
+
role: "combobox",
|
|
39
|
+
"aria-expanded": L,
|
|
40
|
+
"aria-controls": A,
|
|
41
|
+
"aria-activedescendant": R,
|
|
42
|
+
"aria-autocomplete": "list",
|
|
43
|
+
"data-testid": "ekyc-address-input"
|
|
44
|
+
}),
|
|
45
|
+
L && /* @__PURE__ */ a("ul", {
|
|
46
|
+
id: A,
|
|
47
|
+
role: "listbox",
|
|
48
|
+
className: "IncodeAddressAutocompleteSuggestions",
|
|
49
|
+
children: p.map((e, t) => /* @__PURE__ */ a("li", {
|
|
50
|
+
id: `${A}-option-${t}`,
|
|
51
|
+
role: "option",
|
|
52
|
+
"aria-selected": t === D,
|
|
53
|
+
className: `IncodeAddressAutocompleteSuggestion${t === D ? "IncodeAddressAutocompleteSuggestionActive" : ""}`,
|
|
54
|
+
onClick: () => P(e),
|
|
55
|
+
children: e.label
|
|
56
|
+
}, e.id))
|
|
57
|
+
}),
|
|
58
|
+
j && C && /* @__PURE__ */ a("div", {
|
|
59
|
+
className: "IncodeAddressAutocompleteModalOverlay",
|
|
60
|
+
children: /* @__PURE__ */ a("div", {
|
|
61
|
+
className: "IncodeAddressAutocompleteModal",
|
|
62
|
+
children: [/* @__PURE__ */ a("div", {
|
|
63
|
+
className: "IncodeAddressAutocompleteModalHeader",
|
|
64
|
+
children: [/* @__PURE__ */ a("h3", { children: b("verification.addressSearch") }), /* @__PURE__ */ a("button", {
|
|
65
|
+
className: "IncodeAddressAutocompleteModalClose",
|
|
66
|
+
onClick: () => w(!1),
|
|
67
|
+
type: "button",
|
|
68
|
+
children: "×"
|
|
69
|
+
})]
|
|
70
|
+
}), /* @__PURE__ */ a("div", {
|
|
71
|
+
className: "IncodeAddressAutocompleteModalBody",
|
|
72
|
+
children: [
|
|
73
|
+
/* @__PURE__ */ a("input", {
|
|
74
|
+
className: "IncodeAddressAutocompleteModalInput",
|
|
75
|
+
type: "text",
|
|
76
|
+
value: T,
|
|
77
|
+
placeholder: b("verification.addressPlaceholder"),
|
|
78
|
+
onInput: (e) => {
|
|
79
|
+
let t = e.target.value;
|
|
80
|
+
E(t), t.length >= 3 && _(t);
|
|
81
|
+
},
|
|
82
|
+
autoFocus: !0
|
|
83
|
+
}),
|
|
84
|
+
p.length > 0 && /* @__PURE__ */ a("ul", {
|
|
85
|
+
role: "listbox",
|
|
86
|
+
className: "IncodeAddressAutocompleteModalSuggestions",
|
|
87
|
+
children: p.map((e) => /* @__PURE__ */ a("li", {
|
|
88
|
+
role: "option",
|
|
89
|
+
className: "IncodeAddressAutocompleteModalSuggestion",
|
|
90
|
+
onClick: () => P(e),
|
|
91
|
+
children: e.label
|
|
92
|
+
}, e.id))
|
|
93
|
+
}),
|
|
94
|
+
/* @__PURE__ */ a("button", {
|
|
95
|
+
className: "IncodeAddressAutocompleteEnterManually",
|
|
96
|
+
onClick: () => w(!1),
|
|
97
|
+
type: "button",
|
|
98
|
+
children: b("verification.enterManually")
|
|
99
|
+
})
|
|
100
|
+
]
|
|
101
|
+
})]
|
|
102
|
+
})
|
|
103
|
+
})
|
|
104
|
+
]
|
|
105
|
+
});
|
|
106
|
+
};
|
|
107
|
+
//#endregion
|
|
108
|
+
export { l as t };
|