@incodetech/web 0.0.0-dev-20260302-ad37d43 → 0.0.0-dev-20260302-e38ab90
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/{Trans-Bdg0o_Cr.js → Trans-BHurUlNG.js} +3 -3
- package/dist/authentication/authentication.es.js +5 -5
- package/dist/base.css +41 -1
- package/dist/{baseTutorial-BgA1dpRi.js → baseTutorial-Bbadb04i.js} +5 -5
- package/dist/{chevronDown-C5Kn1woB.js → chevronDown-CIyU9-x9.js} +1 -1
- package/dist/countries-DDCxQhGs.js +3206 -0
- package/dist/curp-validation/curp-validation.es.js +182 -797
- package/dist/curp-validation/styles.css +4 -1
- package/dist/dateInputComposed-BwjWmZFc.js +172 -0
- package/dist/{documentUpload-h5GfSa2m.js → documentUpload-BnXvLmkL.js} +4 -4
- package/dist/dropdownComposed-vWK3dHjS.js +461 -0
- package/dist/ekyb/styles.css +107 -0
- package/dist/ekybModule-Dm04An2k.js +243 -0
- package/dist/ekyc/styles.css +274 -0
- package/dist/ekycModule-DQO4I6h1.js +451 -0
- package/dist/email/email.es.js +4 -4
- package/dist/{errorIcon-BT7Rf4z7.js → errorIcon-hyIEsKoP.js} +1 -1
- package/dist/{faceMatch-DL5ICOMJ.js → faceMatch-CTYWaJ2M.js} +4 -4
- package/dist/flow/flow.es.js +191 -161
- package/dist/flow/styles.css +536 -1
- package/dist/geolocation/geolocation.es.js +5 -5
- package/dist/governmentValidation/governmentValidation.es.js +8 -8
- package/dist/id/id.es.js +7 -7
- package/dist/{incodeComponent-BUltqUSz.js → incodeComponent-DSqGVqSo.js} +3 -3
- package/dist/{incodeModule-BwGymwZT.js → incodeModule-_kfNnq5z.js} +1 -1
- package/dist/index.es.js +2 -2
- package/dist/{otpInput-B7TR21xE.js → otpInput-Bx16y6dR.js} +2 -2
- package/dist/phone/phone.es.js +133 -3332
- package/dist/{processing-B7fzlPZl.js → processing-BuaxyhmY.js} +3 -3
- package/dist/selfie/selfie.es.js +6 -6
- package/dist/{setup-CFo1IZlN.js → setup-B6jZts5S.js} +2 -2
- package/dist/{spinner-BiENeSCl.js → spinner-Ogo-u91P.js} +2 -2
- package/dist/{successIcon-CTA9p_2h.js → successIcon-Ci24t3I5.js} +1 -1
- package/dist/{tutorial-DGo0fw3f.js → tutorial-637lvO4s.js} +7 -7
- package/dist/types/ekyb/styles.d.ts +1 -0
- package/dist/types/ekyc/styles.d.ts +1 -0
- package/dist/{uiConfig-BG6lJ_HG.js → uiConfig-CbMyDWix.js} +1 -1
- package/dist/{useTranslation-Cm51-Wm-.js → useTranslation-B1jrtqlW.js} +1 -1
- package/dist/{vendor-preact-CM6KQyKc.js → vendor-preact-BDue3y7V.js} +1 -0
- package/dist/verificationResult-BMHBsZ8s.js +106 -0
- package/package.json +17 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as i } from "./incodeModule-
|
|
2
|
-
import { S as t } from "./spinner-
|
|
3
|
-
import { u as e } from "./useTranslation-
|
|
1
|
+
import { u as i } from "./incodeModule-_kfNnq5z.js";
|
|
2
|
+
import { S as t } from "./spinner-Ogo-u91P.js";
|
|
3
|
+
import { u as e } from "./useTranslation-B1jrtqlW.js";
|
|
4
4
|
const l = () => {
|
|
5
5
|
const { t: r } = e();
|
|
6
6
|
return /* @__PURE__ */ i(
|
package/dist/selfie/selfie.es.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { r as o, u as r, a as u } from "../incodeModule-
|
|
1
|
+
import { r as o, u as r, a as u } from "../incodeModule-_kfNnq5z.js";
|
|
2
2
|
import { createSelfieManager as a } from "@incodetech/core/selfie";
|
|
3
|
-
import "../vendor-preact-
|
|
3
|
+
import "../vendor-preact-BDue3y7V.js";
|
|
4
4
|
import "@incodetech/core";
|
|
5
|
-
import { P as l } from "../baseTutorial-
|
|
6
|
-
import { I as m } from "../incodeComponent-
|
|
7
|
-
import { P as f } from "../processing-
|
|
8
|
-
import { T as p, C as c } from "../tutorial-
|
|
5
|
+
import { P as l } from "../baseTutorial-Bbadb04i.js";
|
|
6
|
+
import { I as m } from "../incodeComponent-DSqGVqSo.js";
|
|
7
|
+
import { P as f } from "../processing-BuaxyhmY.js";
|
|
8
|
+
import { T as p, C as c } from "../tutorial-637lvO4s.js";
|
|
9
9
|
const d = ({
|
|
10
10
|
config: e,
|
|
11
11
|
onFinish: i,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { setup as p } from "@incodetech/core";
|
|
2
2
|
import { c, s as m } from "./instance-B-q0ZREN.js";
|
|
3
|
-
import "./vendor-preact-
|
|
4
|
-
import { s as f } from "./uiConfig-
|
|
3
|
+
import "./vendor-preact-BDue3y7V.js";
|
|
4
|
+
import { s as f } from "./uiConfig-CbMyDWix.js";
|
|
5
5
|
async function y({
|
|
6
6
|
apiURL: t,
|
|
7
7
|
token: a,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as n, c as t, L as p, S as r } from "./incodeModule-
|
|
2
|
-
import { k as s } from "./vendor-preact-
|
|
1
|
+
import { u as n, c as t, L as p, S as r } from "./incodeModule-_kfNnq5z.js";
|
|
2
|
+
import { k as s } from "./vendor-preact-BDue3y7V.js";
|
|
3
3
|
const S = ({ children: e, className: c }) => /* @__PURE__ */ n("h2", { class: `IncodeTitle ${c ?? ""}`, children: e }), m = {
|
|
4
4
|
small: 24,
|
|
5
5
|
medium: 48,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { u as t, S as s, B as R, c as m, L as I } from "./incodeModule-
|
|
2
|
-
import { g as L, d as f, k as g, A as D, y as T } from "./vendor-preact-
|
|
3
|
-
import { u as d } from "./useTranslation-
|
|
4
|
-
import { S } from "./successIcon-
|
|
5
|
-
import { P as u } from "./incodeComponent-
|
|
6
|
-
import { S as v, T as A } from "./spinner-
|
|
1
|
+
import { u as t, S as s, B as R, c as m, L as I } from "./incodeModule-_kfNnq5z.js";
|
|
2
|
+
import { g as L, d as f, k as g, A as D, y as T } from "./vendor-preact-BDue3y7V.js";
|
|
3
|
+
import { u as d } from "./useTranslation-B1jrtqlW.js";
|
|
4
|
+
import { S } from "./successIcon-Ci24t3I5.js";
|
|
5
|
+
import { P as u } from "./incodeComponent-DSqGVqSo.js";
|
|
6
|
+
import { S as v, T as A } from "./spinner-Ogo-u91P.js";
|
|
7
7
|
import "./instance-B-q0ZREN.js";
|
|
8
|
-
import { B as M } from "./baseTutorial-
|
|
8
|
+
import { B as M } from "./baseTutorial-Bbadb04i.js";
|
|
9
9
|
const O = ({
|
|
10
10
|
title: i,
|
|
11
11
|
description: e,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { d as b, y as g } from "./vendor-preact-BDue3y7V.js";
|
|
2
|
+
import { u as e, B as I } from "./incodeModule-_kfNnq5z.js";
|
|
3
|
+
import "./instance-B-q0ZREN.js";
|
|
4
|
+
import { u as h } from "./useTranslation-B1jrtqlW.js";
|
|
5
|
+
import { I as F } from "./dropdownComposed-vWK3dHjS.js";
|
|
6
|
+
import { E as S } from "./errorIcon-hyIEsKoP.js";
|
|
7
|
+
import { S as y } from "./successIcon-Ci24t3I5.js";
|
|
8
|
+
import { P as u } from "./incodeComponent-DSqGVqSo.js";
|
|
9
|
+
import { S as k } from "./spinner-Ogo-u91P.js";
|
|
10
|
+
function O(i, s) {
|
|
11
|
+
const [a, o] = b(!1);
|
|
12
|
+
return g(() => {
|
|
13
|
+
const t = i.current;
|
|
14
|
+
if (!t) return;
|
|
15
|
+
const r = () => o(t.scrollHeight > t.clientHeight);
|
|
16
|
+
r();
|
|
17
|
+
const n = new ResizeObserver(r);
|
|
18
|
+
return n.observe(t), () => n.disconnect();
|
|
19
|
+
}, [s, i]), a;
|
|
20
|
+
}
|
|
21
|
+
const P = ({
|
|
22
|
+
name: i,
|
|
23
|
+
label: s,
|
|
24
|
+
value: a = "",
|
|
25
|
+
error: o,
|
|
26
|
+
type: t = "text",
|
|
27
|
+
placeholder: r,
|
|
28
|
+
placeholderParams: n,
|
|
29
|
+
required: f,
|
|
30
|
+
readonly: c,
|
|
31
|
+
maxLength: m,
|
|
32
|
+
disabled: l,
|
|
33
|
+
optional: v,
|
|
34
|
+
onChange: _
|
|
35
|
+
}) => {
|
|
36
|
+
const { t: d } = h(), p = d(s), V = v ? `${p} (${d("common.optional")})` : p;
|
|
37
|
+
return /* @__PURE__ */ e("div", { className: "IncodeFormField", children: /* @__PURE__ */ e(
|
|
38
|
+
F,
|
|
39
|
+
{
|
|
40
|
+
id: i,
|
|
41
|
+
label: V,
|
|
42
|
+
name: i,
|
|
43
|
+
type: t,
|
|
44
|
+
value: a,
|
|
45
|
+
placeholder: r ? d(r, n) : void 0,
|
|
46
|
+
readOnly: c,
|
|
47
|
+
disabled: l,
|
|
48
|
+
maxLength: m,
|
|
49
|
+
error: o ? d(o) : void 0,
|
|
50
|
+
onInput: (N) => {
|
|
51
|
+
const R = N.target;
|
|
52
|
+
_(i, R.value);
|
|
53
|
+
},
|
|
54
|
+
"data-testid": `form-field-${i}`
|
|
55
|
+
}
|
|
56
|
+
) });
|
|
57
|
+
}, T = ({
|
|
58
|
+
status: i,
|
|
59
|
+
submittingTitle: s,
|
|
60
|
+
successTitle: a,
|
|
61
|
+
failureTitle: o,
|
|
62
|
+
onRetry: t,
|
|
63
|
+
onSkip: r,
|
|
64
|
+
retryLabel: n,
|
|
65
|
+
skipLabel: f
|
|
66
|
+
}) => {
|
|
67
|
+
const { t: c } = h();
|
|
68
|
+
if (i === "submitting") {
|
|
69
|
+
const l = s ?? c("verification.processing");
|
|
70
|
+
return /* @__PURE__ */ e(u, { className: "IncodeVerificationResult", children: /* @__PURE__ */ e("div", { className: "IncodeVerificationResult__center", children: [
|
|
71
|
+
/* @__PURE__ */ e(k, {}),
|
|
72
|
+
/* @__PURE__ */ e("p", { className: "IncodeVerificationResult__title", children: l })
|
|
73
|
+
] }) });
|
|
74
|
+
}
|
|
75
|
+
if (i === "success") {
|
|
76
|
+
const l = a ?? c("verification.success");
|
|
77
|
+
return /* @__PURE__ */ e(u, { className: "IncodeVerificationResult", children: /* @__PURE__ */ e("div", { className: "IncodeVerificationResult__center", children: [
|
|
78
|
+
/* @__PURE__ */ e(y, { size: 64 }),
|
|
79
|
+
/* @__PURE__ */ e("p", { className: "IncodeVerificationResult__title", children: l })
|
|
80
|
+
] }) });
|
|
81
|
+
}
|
|
82
|
+
const m = o ?? c("verification.failureTitle");
|
|
83
|
+
return /* @__PURE__ */ e(u, { className: "IncodeVerificationResult", children: [
|
|
84
|
+
/* @__PURE__ */ e("div", { className: "IncodeVerificationResult__center", children: [
|
|
85
|
+
/* @__PURE__ */ e(S, { size: 64 }),
|
|
86
|
+
/* @__PURE__ */ e("p", { className: "IncodeVerificationResult__title", children: m })
|
|
87
|
+
] }),
|
|
88
|
+
/* @__PURE__ */ e("div", { className: "IncodeVerificationResult__actions", children: [
|
|
89
|
+
t && /* @__PURE__ */ e(I, { onClick: t, "data-testid": "verification-retry", children: n ?? c("common.tryAgain") }),
|
|
90
|
+
r && /* @__PURE__ */ e(
|
|
91
|
+
I,
|
|
92
|
+
{
|
|
93
|
+
onClick: r,
|
|
94
|
+
variant: "secondary",
|
|
95
|
+
"data-testid": "verification-skip",
|
|
96
|
+
children: f ?? c("common.skip")
|
|
97
|
+
}
|
|
98
|
+
)
|
|
99
|
+
] })
|
|
100
|
+
] });
|
|
101
|
+
};
|
|
102
|
+
export {
|
|
103
|
+
P as F,
|
|
104
|
+
T as V,
|
|
105
|
+
O as u
|
|
106
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@incodetech/web",
|
|
3
|
-
"version": "0.0.0-dev-20260302-
|
|
3
|
+
"version": "0.0.0-dev-20260302-e38ab90",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.es.js",
|
|
6
6
|
"types": "./dist/types/index.d.ts",
|
|
@@ -73,6 +73,20 @@
|
|
|
73
73
|
},
|
|
74
74
|
"./geolocation/styles.css": {
|
|
75
75
|
"default": "./dist/geolocation/styles.css"
|
|
76
|
+
},
|
|
77
|
+
"./ekyc": {
|
|
78
|
+
"types": "./dist/types/ekyc.d.ts",
|
|
79
|
+
"import": "./dist/ekyc/ekyc.es.js"
|
|
80
|
+
},
|
|
81
|
+
"./ekyc/styles.css": {
|
|
82
|
+
"default": "./dist/ekyc/styles.css"
|
|
83
|
+
},
|
|
84
|
+
"./ekyb": {
|
|
85
|
+
"types": "./dist/types/ekyb.d.ts",
|
|
86
|
+
"import": "./dist/ekyb/ekyb.es.js"
|
|
87
|
+
},
|
|
88
|
+
"./ekyb/styles.css": {
|
|
89
|
+
"default": "./dist/ekyb/styles.css"
|
|
76
90
|
}
|
|
77
91
|
},
|
|
78
92
|
"files": [
|
|
@@ -86,7 +100,7 @@
|
|
|
86
100
|
"libphonenumber-js": "^1.11.0",
|
|
87
101
|
"preact-custom-element": "^4.6.0",
|
|
88
102
|
"tailwindcss": "^4.1.17",
|
|
89
|
-
"@incodetech/core": "0.0.0-dev-20260302-
|
|
103
|
+
"@incodetech/core": "0.0.0-dev-20260302-e38ab90"
|
|
90
104
|
},
|
|
91
105
|
"devDependencies": {
|
|
92
106
|
"@microsoft/api-extractor": "^7.53.3",
|
|
@@ -114,7 +128,7 @@
|
|
|
114
128
|
"@incodetech/config": "1.0.0"
|
|
115
129
|
},
|
|
116
130
|
"scripts": {
|
|
117
|
-
"dev": "vite",
|
|
131
|
+
"dev": "vite --host",
|
|
118
132
|
"build:dev": "vite build --watch",
|
|
119
133
|
"build": "vite build",
|
|
120
134
|
"test": "vitest run",
|