@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,126 @@
|
|
|
1
|
+
import { n as e } from "./i18n-B3g2cb7v.js";
|
|
2
|
+
import { _ as t, h as n, l as r, p as i, v as a } from "./vendor-preact-D6SntenC.js";
|
|
3
|
+
import { r as o } from "./incodeComponent-dxwR00fd.js";
|
|
4
|
+
import { t as s } from "./inputComposed-D7vq-JYi.js";
|
|
5
|
+
import { n as c } from "./formField-Co4Kh1a4.js";
|
|
6
|
+
import { t as l } from "./bottomSheet-D7Bcy6_9.js";
|
|
7
|
+
//#region src/modules/ekyc/addressAutocomplete.tsx
|
|
8
|
+
var u = ({ label: u, value: d, error: f, errorParams: p, suggestions: m, readonly: h, optional: g, onChange: _, onSearch: v, onSelect: y, onBlur: b }) => {
|
|
9
|
+
let { t: x } = e(), [S, C] = i(!1), [w, T] = i(!1), [E, D] = i(""), [O, k] = i(-1), [A, j] = i(-1), M = r(null), N = "ekyc-address-listbox", P = "ekyc-address-mobile-listbox", F = "ekyc-address-modal-title", I = o(), L = x(u), R = g ? `${L} (${x("common.optional")})` : L;
|
|
10
|
+
t(() => {
|
|
11
|
+
function e(e) {
|
|
12
|
+
M.current && !M.current.contains(e.target) && C(!1);
|
|
13
|
+
}
|
|
14
|
+
return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
|
|
15
|
+
}, []), t(() => {
|
|
16
|
+
k(-1), j(-1);
|
|
17
|
+
}, [m]);
|
|
18
|
+
let z = n((e) => {
|
|
19
|
+
y(e), C(!1), T(!1), k(-1), j(-1);
|
|
20
|
+
}, [y]), B = n(() => {
|
|
21
|
+
T(!1), j(-1);
|
|
22
|
+
}, []), V = (e) => {
|
|
23
|
+
_(e), e.length >= 3 ? I ? (T(!0), D(e), v(e)) : (v(e), C(!0)) : C(!1);
|
|
24
|
+
}, H = (e) => {
|
|
25
|
+
!S || m.length === 0 || (e.key === "ArrowDown" ? (e.preventDefault(), k((e) => e < m.length - 1 ? e + 1 : 0)) : e.key === "ArrowUp" ? (e.preventDefault(), k((e) => e > 0 ? e - 1 : m.length - 1)) : e.key === "Enter" && O >= 0 ? (e.preventDefault(), z(m[O])) : e.key === "Escape" && (C(!1), k(-1)));
|
|
26
|
+
}, U = (e) => {
|
|
27
|
+
m.length !== 0 && (e.key === "ArrowDown" ? (e.preventDefault(), j((e) => e < m.length - 1 ? e + 1 : 0)) : e.key === "ArrowUp" ? (e.preventDefault(), j((e) => e > 0 ? e - 1 : m.length - 1)) : e.key === "Enter" && A >= 0 && (e.preventDefault(), z(m[A])));
|
|
28
|
+
}, W = !I && S && m.length > 0, G = W && O >= 0 ? `${N}-option-${O}` : void 0;
|
|
29
|
+
return /* @__PURE__ */ a("div", {
|
|
30
|
+
className: "IncodeAddressAutocomplete",
|
|
31
|
+
ref: M,
|
|
32
|
+
children: [
|
|
33
|
+
/* @__PURE__ */ a(s, {
|
|
34
|
+
id: "ekyc-street",
|
|
35
|
+
label: R,
|
|
36
|
+
name: "street",
|
|
37
|
+
value: d,
|
|
38
|
+
readOnly: h,
|
|
39
|
+
error: c(x, f, p),
|
|
40
|
+
onInput: (e) => V(e.target.value),
|
|
41
|
+
onKeyDown: H,
|
|
42
|
+
onBlur: b,
|
|
43
|
+
role: "combobox",
|
|
44
|
+
"aria-expanded": W,
|
|
45
|
+
"aria-controls": N,
|
|
46
|
+
"aria-activedescendant": G,
|
|
47
|
+
"aria-autocomplete": "list",
|
|
48
|
+
"data-testid": "ekyc-address-input"
|
|
49
|
+
}),
|
|
50
|
+
W && /* @__PURE__ */ a("ul", {
|
|
51
|
+
id: N,
|
|
52
|
+
role: "listbox",
|
|
53
|
+
className: "IncodeAddressAutocompleteSuggestions",
|
|
54
|
+
children: m.map((e, t) => /* @__PURE__ */ a("li", {
|
|
55
|
+
id: `${N}-option-${t}`,
|
|
56
|
+
role: "option",
|
|
57
|
+
"aria-selected": t === O,
|
|
58
|
+
className: `IncodeAddressAutocompleteSuggestion ${t === O ? "IncodeAddressAutocompleteSuggestionActive" : ""}`,
|
|
59
|
+
onClick: () => z(e),
|
|
60
|
+
children: e.label
|
|
61
|
+
}, e.id))
|
|
62
|
+
}),
|
|
63
|
+
I && /* @__PURE__ */ a(l, {
|
|
64
|
+
isOpen: w,
|
|
65
|
+
onClose: B,
|
|
66
|
+
labelledById: F,
|
|
67
|
+
children: [/* @__PURE__ */ a("div", {
|
|
68
|
+
className: "IncodeAddressAutocompleteModalHeader",
|
|
69
|
+
children: [/* @__PURE__ */ a("h3", {
|
|
70
|
+
id: F,
|
|
71
|
+
children: x("verification.addressSearch")
|
|
72
|
+
}), /* @__PURE__ */ a("button", {
|
|
73
|
+
className: "IncodeAddressAutocompleteModalClose",
|
|
74
|
+
onClick: B,
|
|
75
|
+
type: "button",
|
|
76
|
+
"aria-label": x("common.close"),
|
|
77
|
+
children: "×"
|
|
78
|
+
})]
|
|
79
|
+
}), /* @__PURE__ */ a("div", {
|
|
80
|
+
className: "IncodeAddressAutocompleteModalBody",
|
|
81
|
+
children: [
|
|
82
|
+
/* @__PURE__ */ a("input", {
|
|
83
|
+
className: "IncodeAddressAutocompleteModalInput",
|
|
84
|
+
type: "text",
|
|
85
|
+
value: E,
|
|
86
|
+
placeholder: x("verification.addressPlaceholder"),
|
|
87
|
+
"aria-label": x("verification.addressSearch"),
|
|
88
|
+
role: "combobox",
|
|
89
|
+
"aria-expanded": m.length > 0,
|
|
90
|
+
"aria-controls": P,
|
|
91
|
+
"aria-activedescendant": A >= 0 ? `${P}-option-${A}` : void 0,
|
|
92
|
+
"aria-autocomplete": "list",
|
|
93
|
+
onInput: (e) => {
|
|
94
|
+
let t = e.target.value;
|
|
95
|
+
D(t), t.length >= 3 && v(t);
|
|
96
|
+
},
|
|
97
|
+
onKeyDown: U,
|
|
98
|
+
autoFocus: !0
|
|
99
|
+
}),
|
|
100
|
+
m.length > 0 && /* @__PURE__ */ a("ul", {
|
|
101
|
+
id: P,
|
|
102
|
+
role: "listbox",
|
|
103
|
+
className: "IncodeAddressAutocompleteModalSuggestions",
|
|
104
|
+
children: m.map((e, t) => /* @__PURE__ */ a("li", {
|
|
105
|
+
id: `${P}-option-${t}`,
|
|
106
|
+
role: "option",
|
|
107
|
+
"aria-selected": t === A,
|
|
108
|
+
className: `IncodeAddressAutocompleteModalSuggestion ${t === A ? "IncodeAddressAutocompleteModalSuggestionActive" : ""}`,
|
|
109
|
+
onClick: () => z(e),
|
|
110
|
+
children: e.label
|
|
111
|
+
}, e.id))
|
|
112
|
+
}),
|
|
113
|
+
/* @__PURE__ */ a("button", {
|
|
114
|
+
className: "IncodeAddressAutocompleteEnterManually",
|
|
115
|
+
onClick: B,
|
|
116
|
+
type: "button",
|
|
117
|
+
children: x("verification.enterManually")
|
|
118
|
+
})
|
|
119
|
+
]
|
|
120
|
+
})]
|
|
121
|
+
})
|
|
122
|
+
]
|
|
123
|
+
});
|
|
124
|
+
};
|
|
125
|
+
//#endregion
|
|
126
|
+
export { u as t };
|
|
@@ -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/ae-signature/ae-signature.tsx
|
|
5
5
|
var r = ({ config: n, onFinish: r, onError: i }) => /* @__PURE__ */ e(t, {
|
|
6
6
|
config: n ? {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as e, v as t } from "../vendor-preact-D6SntenC.js";
|
|
2
|
-
import { o as n, t as r } from "../incodeComponent-
|
|
2
|
+
import { o as n, t as r } from "../incodeComponent-dxwR00fd.js";
|
|
3
3
|
import { t as i } from "../spinner-DyRQfsz_.js";
|
|
4
|
-
import { t as a } from "../incodeModule-
|
|
4
|
+
import { t as a } from "../incodeModule-BH9gV7jI.js";
|
|
5
5
|
import { createAntifraudManager as o } from "@incodetech/core/antifraud";
|
|
6
6
|
//#region src/modules/antifraud/antifraud.tsx
|
|
7
7
|
var s = ({ onFinish: r }) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { v as e } from "../vendor-preact-D6SntenC.js";
|
|
2
|
-
import { o as t, t as n } from "../incodeComponent-
|
|
3
|
-
import { n as r, r as i, t as a } from "../tutorial-
|
|
4
|
-
import { t as o } from "../incodeModule-
|
|
2
|
+
import { o as t, t as n } from "../incodeComponent-dxwR00fd.js";
|
|
3
|
+
import { n as r, r as i, t as a } from "../tutorial-5LMEfxn3.js";
|
|
4
|
+
import { t as o } from "../incodeModule-BH9gV7jI.js";
|
|
5
5
|
import { createAuthenticationManager as s } from "@incodetech/core/authentication";
|
|
6
6
|
//#region src/modules/authentication/authentication.tsx
|
|
7
7
|
var c = ({ config: n, authHint: o, manager: c, onFinish: l, onError: u }) => {
|
package/dist/base.css
CHANGED
|
@@ -436,6 +436,11 @@
|
|
|
436
436
|
font-weight: var(--typography-button-m-underlined-weight);
|
|
437
437
|
line-height: var(--typography-button-m-underlined-line-height);
|
|
438
438
|
letter-spacing: var(--typography-button-m-underlined-letter-spacing);
|
|
439
|
+
font-family: var(--typography-button-family);
|
|
440
|
+
font-size: var(--typography-button-m-underlined-size);
|
|
441
|
+
font-weight: var(--typography-button-m-underlined-weight);
|
|
442
|
+
line-height: var(--typography-button-m-underlined-line-height);
|
|
443
|
+
letter-spacing: var(--typography-button-m-underlined-letter-spacing);
|
|
439
444
|
text-decoration-line: underline;
|
|
440
445
|
text-decoration-style: solid;
|
|
441
446
|
text-decoration-thickness: auto;
|
|
@@ -3259,6 +3264,45 @@
|
|
|
3259
3264
|
}
|
|
3260
3265
|
}
|
|
3261
3266
|
}
|
|
3267
|
+
@media (min-width: 40rem) {
|
|
3268
|
+
.IncodePageContainer .IncodePageInner {
|
|
3269
|
+
max-width: 40rem;
|
|
3270
|
+
}
|
|
3271
|
+
}
|
|
3272
|
+
@media (min-width: 48rem) {
|
|
3273
|
+
.IncodePageContainer .IncodePageInner {
|
|
3274
|
+
max-width: 48rem;
|
|
3275
|
+
}
|
|
3276
|
+
}
|
|
3277
|
+
@media (min-width: 64rem) {
|
|
3278
|
+
.IncodePageContainer .IncodePageInner {
|
|
3279
|
+
max-width: 64rem;
|
|
3280
|
+
}
|
|
3281
|
+
}
|
|
3282
|
+
@media (min-width: 80rem) {
|
|
3283
|
+
.IncodePageContainer .IncodePageInner {
|
|
3284
|
+
max-width: 80rem;
|
|
3285
|
+
}
|
|
3286
|
+
}
|
|
3287
|
+
@media (min-width: 96rem) {
|
|
3288
|
+
.IncodePageContainer .IncodePageInner {
|
|
3289
|
+
max-width: 96rem;
|
|
3290
|
+
}
|
|
3291
|
+
}
|
|
3292
|
+
@media (min-width: 48rem) {
|
|
3293
|
+
.IncodePageContainer .IncodePageInner {
|
|
3294
|
+
max-height: var(--incode-page-max-h);
|
|
3295
|
+
max-width: var(--incode-page-max-w);
|
|
3296
|
+
}
|
|
3297
|
+
|
|
3298
|
+
@media not all and (min-width: 80rem) {
|
|
3299
|
+
@media (orientation: landscape) {
|
|
3300
|
+
.IncodePageContainer .IncodePageInner {
|
|
3301
|
+
max-height: var(--incode-page-max-h-landscape);
|
|
3302
|
+
}
|
|
3303
|
+
}
|
|
3304
|
+
}
|
|
3305
|
+
}
|
|
3262
3306
|
.IncodePageContainer .IncodePageInner {
|
|
3263
3307
|
width: 100%;
|
|
3264
3308
|
}
|
|
@@ -4212,9 +4256,11 @@
|
|
|
4212
4256
|
border-color: var(--color-border-neutral-300, var(--border-neutral-300));
|
|
4213
4257
|
}
|
|
4214
4258
|
.IncodeBottomSheetOverlay {
|
|
4215
|
-
inset: var(--spacing-0, var(--spacing-none, 0px));
|
|
4259
|
+
inset-inline: var(--spacing-0, var(--spacing-none, 0px));
|
|
4216
4260
|
z-index: 999999;
|
|
4217
4261
|
background-color: var(--color-surface-neutral-1000-80-static, var(--surface-neutral-1000-80-static));
|
|
4262
|
+
top: var(--incode-visual-viewport-offset-top, 0);
|
|
4263
|
+
height: var(--incode-visual-viewport-height, 100vh);
|
|
4218
4264
|
position: fixed;
|
|
4219
4265
|
}
|
|
4220
4266
|
.IncodeBottomSheetOverlay .IncodeBottomSheetContainer {
|
|
@@ -4243,6 +4289,43 @@
|
|
|
4243
4289
|
transform: translateY(0);
|
|
4244
4290
|
}
|
|
4245
4291
|
}
|
|
4292
|
+
.IncodeSnackbar {
|
|
4293
|
+
align-items: center;
|
|
4294
|
+
gap: var(--spacing-12, var(--spacing-12, 12px));
|
|
4295
|
+
padding-inline: var(--spacing-24, var(--spacing-24, 24px));
|
|
4296
|
+
padding-block: var(--spacing-16, var(--spacing-16, 16px));
|
|
4297
|
+
border-radius: var(--radius-medium, var(--border-radius-medium));
|
|
4298
|
+
border-style: var(--tw-border-style);
|
|
4299
|
+
--tw-border-style: solid;
|
|
4300
|
+
border-style: solid;
|
|
4301
|
+
border-width: 1px;
|
|
4302
|
+
border-color: var(--color-snackbar-border-neutral, var(--snackbar-border-neutral));
|
|
4303
|
+
background-color: var(--color-snackbar-surface-neutral, var(--snackbar-surface-neutral));
|
|
4304
|
+
color: var(--color-snackbar-text-neutral, var(--snackbar-text-neutral));
|
|
4305
|
+
font-family: var(--typography-headline-family);
|
|
4306
|
+
font-size: var(--typography-headline-h5-size);
|
|
4307
|
+
font-weight: var(--typography-headline-h5-weight);
|
|
4308
|
+
line-height: var(--typography-headline-h5-line-height);
|
|
4309
|
+
letter-spacing: var(--typography-headline-h5-letter-spacing);
|
|
4310
|
+
box-shadow: var(--snackbar-shadow);
|
|
4311
|
+
display: inline-flex;
|
|
4312
|
+
}
|
|
4313
|
+
.IncodeSnackbar.IncodeSnackbar--positive {
|
|
4314
|
+
border-color: var(--color-snackbar-border-positive, var(--snackbar-border-positive));
|
|
4315
|
+
background-color: var(--color-snackbar-surface-positive, var(--snackbar-surface-positive));
|
|
4316
|
+
}
|
|
4317
|
+
.IncodeSnackbar.IncodeSnackbar--negative {
|
|
4318
|
+
border-color: var(--color-snackbar-border-negative, var(--snackbar-border-negative));
|
|
4319
|
+
background-color: var(--color-snackbar-surface-negative, var(--snackbar-surface-negative));
|
|
4320
|
+
}
|
|
4321
|
+
.IncodeSnackbar.IncodeSnackbar--warning {
|
|
4322
|
+
border-color: var(--color-snackbar-border-warning, var(--snackbar-border-warning));
|
|
4323
|
+
background-color: var(--color-snackbar-surface-warning, var(--snackbar-surface-warning));
|
|
4324
|
+
}
|
|
4325
|
+
.IncodeSnackbar .IncodeSnackbarContent {
|
|
4326
|
+
align-items: center;
|
|
4327
|
+
display: inline-flex;
|
|
4328
|
+
}
|
|
4246
4329
|
.IncodePermissionsPage {
|
|
4247
4330
|
background-color: var(--color-surface-neutral-900-static, var(--surface-neutral-900-static));
|
|
4248
4331
|
margin: auto;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { h as e, l as t, v as n } from "./vendor-preact-D6SntenC.js";
|
|
2
|
+
import { i as r, n as i, o as a, r as o, s } from "./modal.hooks-B9B0KVgR.js";
|
|
3
|
+
//#region src/shared/bottomSheet/bottomSheet.tsx
|
|
4
|
+
var c = ({ isOpen: c = !1, onClose: l, labelledById: u, children: d }) => {
|
|
5
|
+
let f = t(null), p = t(null), m = e(() => {
|
|
6
|
+
l?.();
|
|
7
|
+
}, [l]);
|
|
8
|
+
return i(c), o(c, !0, m), r(c, f), a(c, f), s(c, p), c ? /* @__PURE__ */ n("div", {
|
|
9
|
+
ref: p,
|
|
10
|
+
class: "IncodeBottomSheetOverlay",
|
|
11
|
+
onClick: (e) => {
|
|
12
|
+
e.target === e.currentTarget && m();
|
|
13
|
+
},
|
|
14
|
+
children: /* @__PURE__ */ n("div", {
|
|
15
|
+
class: "IncodeBottomSheetContainer",
|
|
16
|
+
onClick: m,
|
|
17
|
+
children: /* @__PURE__ */ n("div", {
|
|
18
|
+
ref: f,
|
|
19
|
+
class: "IncodeBottomSheet",
|
|
20
|
+
role: "dialog",
|
|
21
|
+
"aria-modal": "true",
|
|
22
|
+
"aria-labelledby": u,
|
|
23
|
+
tabIndex: -1,
|
|
24
|
+
onClick: (e) => e.stopPropagation(),
|
|
25
|
+
children: d
|
|
26
|
+
})
|
|
27
|
+
})
|
|
28
|
+
}) : null;
|
|
29
|
+
};
|
|
30
|
+
//#endregion
|
|
31
|
+
export { c as t };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as e } from "../i18n-
|
|
1
|
+
import { n as e } from "../i18n-B3g2cb7v.js";
|
|
2
2
|
import { v as t } from "../vendor-preact-D6SntenC.js";
|
|
3
|
-
import { o as n, t as r } from "../incodeComponent-
|
|
3
|
+
import { o as n, t as r } from "../incodeComponent-dxwR00fd.js";
|
|
4
4
|
import { t as i } from "../page-D5Mt-0zn.js";
|
|
5
5
|
import { t as a } from "../spinner-DyRQfsz_.js";
|
|
6
6
|
import "../spinner-BmFWJNHp.js";
|
|
7
7
|
import { t as o } from "../button-4-ToV5B_.js";
|
|
8
8
|
import { t as s } from "../checkbox-Xh75AgKT.js";
|
|
9
|
-
import { t as c } from "../incodeModule-
|
|
10
|
-
import { t as l } from "../richText-
|
|
9
|
+
import { t as c } from "../incodeModule-BH9gV7jI.js";
|
|
10
|
+
import { t as l } from "../richText-BNC8z_ah.js";
|
|
11
11
|
import { createConsentManager as u } from "@incodetech/core/consent";
|
|
12
12
|
//#region src/modules/consent/consent.tsx
|
|
13
13
|
var d = ({ config: r, manager: c, onFinish: d, onError: f }) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as e, v as t } from "../vendor-preact-D6SntenC.js";
|
|
2
|
-
import { o as n, t as r } from "../incodeComponent-
|
|
2
|
+
import { o as n, t as r } from "../incodeComponent-dxwR00fd.js";
|
|
3
3
|
import { t as i } from "../spinner-DyRQfsz_.js";
|
|
4
|
-
import { t as a } from "../incodeModule-
|
|
4
|
+
import { t as a } from "../incodeModule-BH9gV7jI.js";
|
|
5
5
|
import { createCrossDocumentDataMatchManager as o } from "@incodetech/core/cross-document-data-match";
|
|
6
6
|
//#region src/modules/cross-document-data-match/cross-document-data-match.tsx
|
|
7
7
|
var s = ({ onFinish: r }) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e } from "../i18n-
|
|
1
|
+
import { n as e } from "../i18n-B3g2cb7v.js";
|
|
2
2
|
import { S 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 "../spinner-DyRQfsz_.js";
|
|
@@ -13,7 +13,7 @@ import { t as f } from "../dropdownComposed-B4Ebk486.js";
|
|
|
13
13
|
import "../dropdownComposed-3cFHAdBp.js";
|
|
14
14
|
import { t as p } from "../dateInputComposed-CBvZmLBy.js";
|
|
15
15
|
import "../dateInputComposed-DLOh-eXS.js";
|
|
16
|
-
import { t as m } from "../incodeModule-
|
|
16
|
+
import { t as m } from "../incodeModule-BH9gV7jI.js";
|
|
17
17
|
import { createCurpValidationManager as h, mexicanStates as g } from "@incodetech/core/curp-validation";
|
|
18
18
|
//#region src/modules/curp-validation/curpInput.tsx
|
|
19
19
|
var _ = ({ curp: t, isValid: r, onCurpChange: i, onVerify: o, onSwitchToGenerate: s, disabled: l = !1, placeholder: u, continueLabel: f, dontHaveLabel: p }) => {
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
1
|
+
import { n as e } from "./i18n-B3g2cb7v.js";
|
|
2
2
|
import { S as t, _ as n, h as r, l as i, m as a, p as o, v as s } from "./vendor-preact-D6SntenC.js";
|
|
3
|
-
import { o as c, r as l, t as u } from "./incodeComponent-
|
|
3
|
+
import { o as c, r 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
|
-
import {
|
|
6
|
+
import { _ as p, c as m, d as h, f as g, l as _, u as v, v as y } from "./extensibility-DbkDY7L4.js";
|
|
7
7
|
import { n as b } from "./loadingIcon-wTrHZMGC.js";
|
|
8
8
|
import { t as x } from "./spinner-DyRQfsz_.js";
|
|
9
9
|
import { t as S } from "./button-4-ToV5B_.js";
|
|
10
10
|
import { a as C, d as w, r as T } from "./icons-Cj7hJH7f.js";
|
|
11
|
-
import { o as E
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
11
|
+
import { o as E } from "./tutorial-5LMEfxn3.js";
|
|
12
|
+
import { t as D } from "./successIcon-C4GI_9SU.js";
|
|
13
|
+
import { t as O } from "./bottomSheet-D7Bcy6_9.js";
|
|
14
|
+
import { t as k } from "./incodeModule-BH9gV7jI.js";
|
|
14
15
|
import { createDocumentCaptureManager as A } from "@incodetech/core/document-capture";
|
|
15
16
|
//#region src/modules/document-capture/documentCameraView.tsx
|
|
16
17
|
function j(e) {
|
|
@@ -29,18 +30,18 @@ var M = ({ stream: t, manager: n, onOpenHelp: a }) => {
|
|
|
29
30
|
let r = new Blob([Uint8Array.from(atob(t), (e) => e.charCodeAt(0))], { type: "image/jpeg" }), i = new File([r], "document.jpg", { type: "image/jpeg" });
|
|
30
31
|
n.setFile(i, `data:image/jpeg;base64,${t}`);
|
|
31
32
|
}, [n]);
|
|
32
|
-
return /* @__PURE__ */ s(
|
|
33
|
+
return /* @__PURE__ */ s(_, {
|
|
33
34
|
stream: t,
|
|
34
35
|
videoRef: c,
|
|
35
36
|
"data-testid": "document-capture-camera",
|
|
36
|
-
children: /* @__PURE__ */ s(
|
|
37
|
-
/* @__PURE__ */ s(
|
|
37
|
+
children: /* @__PURE__ */ s(h, { children: [
|
|
38
|
+
/* @__PURE__ */ s(v, {
|
|
38
39
|
title: o("documentCapture.camera.title"),
|
|
39
40
|
subtitle: o("documentCapture.camera.subtitle")
|
|
40
41
|
}),
|
|
41
42
|
/* @__PURE__ */ s(d, { size: 16 }),
|
|
42
|
-
/* @__PURE__ */ s(
|
|
43
|
-
/* @__PURE__ */ s(
|
|
43
|
+
/* @__PURE__ */ s(g, { variant: "fill" }),
|
|
44
|
+
/* @__PURE__ */ s(m, {
|
|
44
45
|
onOpenHelp: a,
|
|
45
46
|
onCapture: l,
|
|
46
47
|
isManualCapture: !0,
|
|
@@ -259,7 +260,7 @@ var M = ({ stream: t, manager: n, onOpenHelp: a }) => {
|
|
|
259
260
|
}, R = () => {
|
|
260
261
|
let { t: n } = e();
|
|
261
262
|
return /* @__PURE__ */ s(t, { children: [
|
|
262
|
-
/* @__PURE__ */ s(
|
|
263
|
+
/* @__PURE__ */ s(D, { size: 30 }),
|
|
263
264
|
/* @__PURE__ */ s(d, { size: 16 }),
|
|
264
265
|
/* @__PURE__ */ s("h2", {
|
|
265
266
|
class: "IncodeDocumentCaptureReviewTitle",
|
|
@@ -268,13 +269,13 @@ var M = ({ stream: t, manager: n, onOpenHelp: a }) => {
|
|
|
268
269
|
] });
|
|
269
270
|
}, z = ({ progress: n, isFilePdf: r }) => {
|
|
270
271
|
let { t: i } = e(), a = i(r ? "documentCapture.review.uploading" : "documentCapture.review.analyzing");
|
|
271
|
-
return /* @__PURE__ */ s(t, { children: [/* @__PURE__ */ s(d, { size: 8 }), /* @__PURE__ */ s(
|
|
272
|
+
return /* @__PURE__ */ s(t, { children: [/* @__PURE__ */ s(d, { size: 8 }), /* @__PURE__ */ s(p, {
|
|
272
273
|
progress: n,
|
|
273
274
|
label: a
|
|
274
275
|
})] });
|
|
275
276
|
}, B = ({ state: n, manager: r }) => {
|
|
276
277
|
let { t: i } = e();
|
|
277
|
-
if (n.status === "failure") return /* @__PURE__ */ s(
|
|
278
|
+
if (n.status === "failure") return /* @__PURE__ */ s(E, {
|
|
278
279
|
"data-testid": "document-capture-error",
|
|
279
280
|
title: i("documentCapture.review.error.title"),
|
|
280
281
|
description: n.attemptsRemaining <= 0 ? i("notifications.noTries") : i("documentCapture.review.error.description"),
|
|
@@ -542,7 +543,7 @@ var M = ({ stream: t, manager: n, onOpenHelp: a }) => {
|
|
|
542
543
|
]
|
|
543
544
|
}), H = ({ isOpen: t, onClose: n, onCameraClick: r, onUploadClick: i, cameraOptionTestId: o, uploadOptionTestId: c }) => {
|
|
544
545
|
let { t: l } = e(), u = a();
|
|
545
|
-
return t ? /* @__PURE__ */ s(
|
|
546
|
+
return t ? /* @__PURE__ */ s(O, {
|
|
546
547
|
isOpen: t,
|
|
547
548
|
onClose: n,
|
|
548
549
|
labelledById: u,
|
package/dist/ekyb/ekyb.es.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../ekybModule-
|
|
1
|
+
import { t as e } from "../ekybModule-B4Xva8gU.js";
|
|
2
2
|
export { e as EkybModule };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
1
|
+
import { n as e } from "./i18n-B3g2cb7v.js";
|
|
2
2
|
import { S as t, _ as n, d as r, h as i, l as a, p as o, v as s } from "./vendor-preact-D6SntenC.js";
|
|
3
|
-
import { i as c, o as l, t as u } from "./incodeComponent-
|
|
3
|
+
import { i as c, o as l, t as u } from "./incodeComponent-dxwR00fd.js";
|
|
4
4
|
import { t as d } from "./page-D5Mt-0zn.js";
|
|
5
5
|
import { t as f } from "./spinner-DyRQfsz_.js";
|
|
6
6
|
import { t as p } from "./button-4-ToV5B_.js";
|
|
7
|
-
import { t as m } from "./verificationResult-
|
|
7
|
+
import { t as m } from "./verificationResult-VtriXVEd.js";
|
|
8
8
|
import { t as h } from "./inputComposed-D7vq-JYi.js";
|
|
9
|
-
import { n as g, t as _ } from "./formField-
|
|
9
|
+
import { n as g, t as _ } from "./formField-Co4Kh1a4.js";
|
|
10
10
|
import { t as v } from "./dropdownComposed-B4Ebk486.js";
|
|
11
|
-
import { t as y } from "./incodeModule-
|
|
12
|
-
import { t as b } from "./addressAutocomplete-
|
|
11
|
+
import { t as y } from "./incodeModule-BH9gV7jI.js";
|
|
12
|
+
import { t as b } from "./addressAutocomplete-DTrgJzUp.js";
|
|
13
13
|
import { DEV_ONLY_COUNTRIES as x, SUPPORTED_COUNTRIES as S, computeEkybDisplayErrors as C, createEkybManager as w } from "@incodetech/core/ekyb";
|
|
14
14
|
//#region src/modules/ekyb/countrySelector.tsx
|
|
15
15
|
function T(e) {
|
package/dist/ekyc/ekyc.es.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../ekycModule-
|
|
1
|
+
import { t as e } from "../ekycModule-DOVTiBfn.js";
|
|
2
2
|
export { e as EkycModule };
|