@incodetech/web 0.0.0-dev-20260313-486e658 → 0.0.0-dev-20260313-bc2dab4
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-BtKe6-rC.js → AsYouType-CpH-Rmtj.js} +1 -1
- package/dist/{Trans-C2X8WLEu.js → Trans-CA9a3vKp.js} +1 -1
- package/dist/authentication/authentication.es.js +25 -20
- package/dist/base.css +9 -4
- package/dist/{browser-ponyfill-CLXJUgvu.js → browser-ponyfill-B6W6hHVY.js} +49 -46
- package/dist/{incodeModule-DLGHhn9E.js → button-Ca1tRSTI.js} +153 -239
- package/dist/{captureFooter-C2Yrou50.js → captureFooter-X2qN1773.js} +72 -70
- package/dist/{chevronDown-D5uHEaU-.js → chevronDown-BUaOuf9J.js} +1 -1
- package/dist/{closeIcon-BMPoRQCd.js → closeIcon-BM7WLbKp.js} +1 -1
- package/dist/{countries-3p5tkqcx.js → countries-C9bhJe4u.js} +3 -3
- package/dist/curp-validation/curp-validation.es.js +26 -25
- package/dist/{dateInputComposed-CqHIiKPV.js → dateInputComposed-CvFmQpJ0.js} +11 -10
- package/dist/document-capture/styles.css +1 -0
- package/dist/{documentCapture-CzGmGxzA.js → documentCapture-PdKA2frR.js} +113 -157
- package/dist/{dropdownComposed-BgGKKaXv.js → dropdownComposed-DBm7cotT.js} +8 -6
- package/dist/{ekybModule-Bttpjr3j.js → ekybModule-DiFpO2sE.js} +16 -14
- package/dist/ekycModule-DdD1iChB.js +370 -0
- package/dist/email/email.es.js +86 -63
- package/dist/{errorContent-6xl4ArMV.js → errorContent-yUAdbZ5o.js} +5 -5
- package/dist/{errorIcon-Cxcv4ISP.js → errorIcon-BL647nVh.js} +1 -1
- package/dist/extensibility.es.js +290 -0
- package/dist/face-match/styles.css +8 -0
- package/dist/{faceMatch-DKqzUCml.js → faceMatch-BjdNG_e0.js} +12 -11
- package/dist/fileIcon-DOyMcRWU.js +52 -0
- package/dist/flipAnimation-DoMQoFPb.js +1355 -0
- package/dist/flow/flow.es.js +157 -157
- package/dist/flow/styles.css +15 -3
- package/dist/formField-C91ckby4.js +94 -0
- package/dist/geolocation/geolocation.es.js +15 -14
- package/dist/governmentValidation/governmentValidation.es.js +19 -18
- package/dist/id/id.es.js +30 -1354
- package/dist/id/styles.css +2 -0
- package/dist/incodeModule-aE-LkKwM.js +96 -0
- package/dist/index.es.js +7 -7
- package/dist/{otpInput-BT0ZXrAt.js → otpInput-cazUY73p.js} +1 -1
- package/dist/{page-BJDfLRpO.js → page-BVHG3h0V.js} +1 -1
- package/dist/permissions-DwF2Ez1N.js +754 -0
- package/dist/phone/phone.es.js +53 -30
- package/dist/{phoneInput-d3sq4X5R.js → phoneInput-Duuochsh.js} +4 -4
- package/dist/phoneInputComposed-B1gXoSzr.js +107 -0
- package/dist/{processing-CGb_3dSE.js → processing-CDgOueI3.js} +3 -3
- package/dist/selfie/selfie.es.js +29 -18
- package/dist/selfie/styles.css +12 -3
- package/dist/{spinner--i134wYq.js → spinner-Cx3FPUCD.js} +13 -11
- package/dist/{successIcon-1BcPFhum.js → successIcon-BybULRRU.js} +1 -1
- package/dist/{tutorial-DXgOS41l.js → tutorial-Dagmccxh.js} +21 -21
- package/dist/types/authentication.d.ts +10 -3
- package/dist/types/curp-validation.d.ts +5 -1
- package/dist/types/email.d.ts +8 -3
- package/dist/types/extensibility.d.ts +671 -0
- package/dist/types/flow.d.ts +5 -1
- package/dist/types/geolocation.d.ts +5 -1
- package/dist/types/governmentValidation.d.ts +5 -1
- package/dist/types/id.d.ts +8 -3
- package/dist/types/phone.d.ts +8 -3
- package/dist/types/selfie.d.ts +8 -3
- package/dist/{uiConfig-DisZ_yFB.js → uiConfig-Z6RT23Sl.js} +3 -3
- package/dist/useFormScrollable-3O3GeT4m.js +15 -0
- package/dist/{warningIcon-WqI5X7cK.js → warningIcon-DyoKeqDd.js} +1 -1
- package/package.json +6 -2
- package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
- package/dist/baseTutorial-hbezn8sT.js +0 -755
- package/dist/ekycModule-DfwZMKdL.js +0 -467
- package/dist/verificationResult-CKZqPXb9.js +0 -106
package/dist/id/styles.css
CHANGED
|
@@ -1075,6 +1075,8 @@
|
|
|
1075
1075
|
|
|
1076
1076
|
.IncodeIdManualCaptureButton .IncodeButtonLink {
|
|
1077
1077
|
height: 100%;
|
|
1078
|
+
padding: var(--spacing-0, var(--spacing-none, 0px));
|
|
1079
|
+
color: var(--color-text-body-primary, var(--text-body-800-primary));
|
|
1078
1080
|
}
|
|
1079
1081
|
|
|
1080
1082
|
.IncodeIdManualCaptureButton .IncodeIdManualCaptureTooltipContainer .IncodeIdManualCaptureTooltip {
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { _ as l, J as y, G as d, K as m, k as C } from "./vendor-preact-BXf0bkEs.js";
|
|
2
|
+
function c() {
|
|
3
|
+
return c = Object.assign ? Object.assign.bind() : function(t) {
|
|
4
|
+
for (var o = 1; o < arguments.length; o++) {
|
|
5
|
+
var e = arguments[o];
|
|
6
|
+
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && (t[r] = e[r]);
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
}, c.apply(this, arguments);
|
|
10
|
+
}
|
|
11
|
+
function v(t, o) {
|
|
12
|
+
if (t == null) return {};
|
|
13
|
+
var e, r, s = {}, n = Object.keys(t);
|
|
14
|
+
for (r = 0; r < n.length; r++) o.indexOf(e = n[r]) >= 0 || (s[e] = t[e]);
|
|
15
|
+
return s;
|
|
16
|
+
}
|
|
17
|
+
var E = ["context", "children"], O = ["useFragment"];
|
|
18
|
+
function w(t, o, e, r) {
|
|
19
|
+
function s() {
|
|
20
|
+
var n, i = Reflect.construct(HTMLElement, [], s);
|
|
21
|
+
return i._vdomComponent = t, r && r.shadow ? (i._root = i.attachShadow({ mode: r.mode || "open", serializable: (n = r.serializable) != null && n }), r.adoptedStyleSheets && (i._root.adoptedStyleSheets = r.adoptedStyleSheets)) : i._root = i, i;
|
|
22
|
+
}
|
|
23
|
+
return (s.prototype = Object.create(HTMLElement.prototype)).constructor = s, s.prototype.connectedCallback = function() {
|
|
24
|
+
j.call(this, r);
|
|
25
|
+
}, s.prototype.attributeChangedCallback = k, s.prototype.disconnectedCallback = S, e = e || t.observedAttributes || Object.keys(t.propTypes || {}), s.observedAttributes = e, t.formAssociated && (s.formAssociated = !0), e.forEach(function(n) {
|
|
26
|
+
Object.defineProperty(s.prototype, n, { get: function() {
|
|
27
|
+
return this._vdom ? this._vdom.props[n] : this._props[n];
|
|
28
|
+
}, set: function(i) {
|
|
29
|
+
this._vdom ? this.attributeChangedCallback(n, null, i) : (this._props || (this._props = {}), this._props[n] = i);
|
|
30
|
+
var a = typeof i;
|
|
31
|
+
i != null && a !== "string" && a !== "boolean" && a !== "number" || this.setAttribute(n, i);
|
|
32
|
+
} });
|
|
33
|
+
}), customElements.define(o || t.tagName || t.displayName || t.name, s), s;
|
|
34
|
+
}
|
|
35
|
+
function x(t) {
|
|
36
|
+
this.getChildContext = function() {
|
|
37
|
+
return t.context;
|
|
38
|
+
};
|
|
39
|
+
var o = t.children, e = v(t, E);
|
|
40
|
+
return m(o, e);
|
|
41
|
+
}
|
|
42
|
+
function j(t) {
|
|
43
|
+
var o = new CustomEvent("_preact", { detail: {}, bubbles: !0, cancelable: !0 });
|
|
44
|
+
this.dispatchEvent(o), this._vdom = l(x, c({}, this._props, { context: o.detail.context }), b(this, this._vdomComponent, t)), (this.hasAttribute("hydrate") ? y : d)(this._vdom, this._root);
|
|
45
|
+
}
|
|
46
|
+
function _(t) {
|
|
47
|
+
return t.replace(/-(\w)/g, function(o, e) {
|
|
48
|
+
return e ? e.toUpperCase() : "";
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
function k(t, o, e) {
|
|
52
|
+
if (this._vdom) {
|
|
53
|
+
var r = {};
|
|
54
|
+
r[t] = e = e ?? void 0, r[_(t)] = e, this._vdom = m(this._vdom, r), d(this._vdom, this._root);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
function S() {
|
|
58
|
+
d(this._vdom = null, this._root);
|
|
59
|
+
}
|
|
60
|
+
function f(t, o) {
|
|
61
|
+
var e = this, r = t.useFragment, s = v(t, O);
|
|
62
|
+
return l(r ? C : "slot", c({}, s, { ref: function(n) {
|
|
63
|
+
n ? (e.ref = n, e._listener || (e._listener = function(i) {
|
|
64
|
+
i.stopPropagation(), i.detail.context = o;
|
|
65
|
+
}, n.addEventListener("_preact", e._listener))) : e.ref.removeEventListener("_preact", e._listener);
|
|
66
|
+
} }));
|
|
67
|
+
}
|
|
68
|
+
function b(t, o, e) {
|
|
69
|
+
if (t.nodeType === 3) return t.data;
|
|
70
|
+
if (t.nodeType !== 1) return null;
|
|
71
|
+
var r = [], s = {}, n = 0, i = t.attributes, a = t.childNodes;
|
|
72
|
+
for (n = i.length; n--; ) i[n].name !== "slot" && (s[i[n].name] = i[n].value, s[_(i[n].name)] = i[n].value);
|
|
73
|
+
for (n = a.length; n--; ) {
|
|
74
|
+
var p = b(a[n], null, e), u = a[n].slot;
|
|
75
|
+
u ? s[u] = l(f, { name: u }, p) : r[n] = p;
|
|
76
|
+
}
|
|
77
|
+
var h = !(!e || !e.shadow), g = o ? l(f, { useFragment: !h }, r) : r;
|
|
78
|
+
return !h && o && (t.innerHTML = ""), l(o || t.nodeName.toLowerCase(), s, g);
|
|
79
|
+
}
|
|
80
|
+
function A(t, o, e) {
|
|
81
|
+
customElements.get(o) === void 0 && w(t, o, [...e], {
|
|
82
|
+
shadow: !1
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
const L = [
|
|
86
|
+
"config",
|
|
87
|
+
"manager",
|
|
88
|
+
"onFinish",
|
|
89
|
+
"onError"
|
|
90
|
+
];
|
|
91
|
+
function M(t, o) {
|
|
92
|
+
A(t, o, L);
|
|
93
|
+
}
|
|
94
|
+
export {
|
|
95
|
+
M as r
|
|
96
|
+
};
|
package/dist/index.es.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { setup as p } from "@incodetech/core";
|
|
2
2
|
import { DEFAULT_WASM_VERSION as O } from "@incodetech/core";
|
|
3
3
|
import "./vendor-preact-BXf0bkEs.js";
|
|
4
|
-
import { s as c, c as m, b as f } from "./uiConfig-
|
|
5
|
-
import {
|
|
4
|
+
import { s as c, c as m, b as f } from "./uiConfig-Z6RT23Sl.js";
|
|
5
|
+
import { u as _ } from "./uiConfig-Z6RT23Sl.js";
|
|
6
6
|
async function S({
|
|
7
7
|
apiURL: e,
|
|
8
8
|
token: s,
|
|
9
9
|
customHeaders: n,
|
|
10
|
-
timeout:
|
|
11
|
-
wasm:
|
|
12
|
-
i18n:
|
|
10
|
+
timeout: o,
|
|
11
|
+
wasm: r,
|
|
12
|
+
i18n: a,
|
|
13
13
|
uiConfig: t
|
|
14
14
|
}) {
|
|
15
|
-
t && c(t), await p({ apiURL: e, token: s, customHeaders: n, timeout:
|
|
16
|
-
const i = m(
|
|
15
|
+
t && c(t), await p({ apiURL: e, token: s, customHeaders: n, timeout: o, wasm: r });
|
|
16
|
+
const i = m(a);
|
|
17
17
|
f(i);
|
|
18
18
|
}
|
|
19
19
|
export {
|