@incodetech/web 0.0.0-dev-20260318-3b4a19c → 0.0.0-dev-20260318-deddf15
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as r, I as Y, b as
|
|
1
|
+
import { u as r, I as Y, b as $, a as G, B as L } from "./button-Ca1tRSTI.js";
|
|
2
2
|
import { computeEkycDisplayErrors as j, createEkycManager as z } from "@incodetech/core/ekyc";
|
|
3
|
-
import { y as
|
|
3
|
+
import { y as q, A as F, d as J, q as E, T as Q } from "./vendor-preact-BXf0bkEs.js";
|
|
4
4
|
import "./uiConfig-Z6RT23Sl.js";
|
|
5
5
|
import "@incodetech/core";
|
|
6
6
|
import { u as U, A as W } from "./addressAutocomplete-DetZGxBZ.js";
|
|
@@ -12,8 +12,8 @@ import { S as re } from "./spinner-Cx3FPUCD.js";
|
|
|
12
12
|
import { r as oe } from "./incodeModule-aE-LkKwM.js";
|
|
13
13
|
import { P as te } from "./phoneInputComposed-CwtJKvGh.js";
|
|
14
14
|
const ae = ({ config: p, onFinish: s }) => {
|
|
15
|
-
const { t: l } =
|
|
16
|
-
return
|
|
15
|
+
const { t: l } = $(), [a, d] = G(() => z({ config: p }));
|
|
16
|
+
return q(() => {
|
|
17
17
|
(a.status === "finished" || a.status === "closed") && s?.();
|
|
18
18
|
}, [a.status, s]), a.status === "finished" || a.status === "closed" ? null : a.status === "loading" ? /* @__PURE__ */ r(
|
|
19
19
|
v,
|
|
@@ -62,7 +62,7 @@ const ae = ({ config: p, onFinish: s }) => {
|
|
|
62
62
|
fieldsCountry: C,
|
|
63
63
|
submitError: S,
|
|
64
64
|
submitAttempted: P
|
|
65
|
-
} = p, { t: n } =
|
|
65
|
+
} = p, { t: n } = $(), N = F(null), A = F(null), R = F(void 0), x = U(N, l.length), [D, _] = J({}), h = E((e) => {
|
|
66
66
|
_((o) => o[e] ? o : { ...o, [e]: !0 });
|
|
67
67
|
}, []), { displayErrors: g, errorParams: I } = Q(
|
|
68
68
|
() => j(
|
|
@@ -88,7 +88,7 @@ const ae = ({ config: p, onFinish: s }) => {
|
|
|
88
88
|
},
|
|
89
89
|
[s, h]
|
|
90
90
|
);
|
|
91
|
-
|
|
91
|
+
q(() => {
|
|
92
92
|
const e = g.postalCode, o = R.current;
|
|
93
93
|
if (R.current = e, !e || o === e)
|
|
94
94
|
return;
|
|
@@ -195,7 +195,7 @@ const ae = ({ config: p, onFinish: s }) => {
|
|
|
195
195
|
error: k(e.name, u),
|
|
196
196
|
disabled: i,
|
|
197
197
|
disableCountrySelector: e.disableCountrySelector,
|
|
198
|
-
required:
|
|
198
|
+
required: !1,
|
|
199
199
|
onChange: (m) => b(e.name, m),
|
|
200
200
|
onBlur: () => y(e.name),
|
|
201
201
|
"data-testid": `ekyc-field-${e.name}`
|
package/dist/flow/flow.es.js
CHANGED
|
@@ -2000,7 +2000,7 @@ const Pe = () => import("../id/id.es.js").then((e) => e.Id), ke = {
|
|
|
2000
2000
|
(e) => e.GovernmentValidation
|
|
2001
2001
|
),
|
|
2002
2002
|
GEOLOCATION: () => import("../geolocation/geolocation.es.js").then((e) => e.Geolocation),
|
|
2003
|
-
EXTERNAL_VERIFICATION: () => import("../ekycModule-
|
|
2003
|
+
EXTERNAL_VERIFICATION: () => import("../ekycModule-CzPxqzT6.js").then((e) => e.EkycModule),
|
|
2004
2004
|
EKYB: () => import("../ekybModule-9m8cnkfH.js").then((e) => e.EkybModule),
|
|
2005
2005
|
DOCUMENT_CAPTURE: () => import("../documentCapture-PdKA2frR.js").then(
|
|
2006
2006
|
(e) => e.DocumentCapture
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@incodetech/web",
|
|
3
|
-
"version": "0.0.0-dev-20260318-
|
|
3
|
+
"version": "0.0.0-dev-20260318-deddf15",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.es.js",
|
|
6
6
|
"types": "./dist/types/index.d.ts",
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
"preact-custom-element": "^4.6.0",
|
|
120
120
|
"qrcode": "^1.5.4",
|
|
121
121
|
"tailwindcss": "^4.1.17",
|
|
122
|
-
"@incodetech/core": "0.0.0-dev-20260318-
|
|
122
|
+
"@incodetech/core": "0.0.0-dev-20260318-deddf15"
|
|
123
123
|
},
|
|
124
124
|
"devDependencies": {
|
|
125
125
|
"@microsoft/api-extractor": "^7.53.3",
|