@incodetech/web 0.0.0-dev-20260331-a4ec4fe → 0.0.0-dev-20260401-620f105
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-BSLSJO1_.js → Trans-DiTufE_D.js} +1 -1
- package/dist/{addressAutocomplete-BhUbJEuH.js → addressAutocomplete-BSE71Kua.js} +3 -3
- package/dist/authentication/authentication.es.js +3 -3
- package/dist/{button-B2Ewo0rX.js → button-DXIWeie9.js} +90 -91
- package/dist/{cameraView-CT9-WWcG.js → cameraView-DXT7CWqE.js} +1 -1
- package/dist/{captureFooter-B_3eu8kq.js → captureFooter-CKqO4KY2.js} +2 -2
- package/dist/captureOverlay-Crv6ZBp_.js +399 -0
- package/dist/{checkbox-CXnQVsbJ.js → checkbox-wo8qk7tM.js} +2 -2
- package/dist/{chevronDown-DKyU4xPP.js → chevronDown-BksFjKhp.js} +1 -1
- package/dist/{closeIcon-DjWL_arL.js → closeIcon-5Xq6MCZa.js} +1 -1
- package/dist/consent/consent.es.js +5 -5
- package/dist/curp-validation/curp-validation.es.js +8 -8
- package/dist/{dateInputComposed-DmlHvCmR.js → dateInputComposed-D5kgh_aC.js} +3 -3
- package/dist/{documentCapture-DYsIVkcU.js → documentCapture-DyhxCgpZ.js} +8 -8
- package/dist/{dropdownComposed-DFrqye1c.js → dropdownComposed-CzAsPPqv.js} +4 -4
- package/dist/{ekybModule-Ct3A65tt.js → ekybModule-G2eXzUMi.js} +7 -7
- package/dist/{ekycModule-Hi5yRFs3.js → ekycModule-CT6sxv3k.js} +8 -8
- package/dist/email/email.es.js +11 -11
- package/dist/{errorContent-CqNelsXg.js → errorContent-CnY-Deoi.js} +5 -5
- package/dist/{errorIcon-C-Zd24vb.js → errorIcon-DOuc6ONw.js} +1 -1
- package/dist/extensibility.es.js +26 -26
- package/dist/{faceMatch-BVsE7czZ.js → faceMatch-DPa3pI88.js} +3 -3
- package/dist/{fileIcon-DIVwt0SD.js → fileIcon-DEli4GR_.js} +1 -1
- package/dist/{flipAnimation-B48PXORR.js → flipAnimation-Bq6Yj6PU.js} +13 -13
- package/dist/flow/flow.es.js +11 -11
- package/dist/{formField-CPfeaz8y.js → formField-BoozuV2w.js} +6 -6
- package/dist/geolocation/geolocation.es.js +4 -4
- package/dist/governmentValidation/governmentValidation.es.js +7 -7
- package/dist/id/id.es.js +7 -7
- package/dist/{inputComposed-CJQTXKNA.js → inputComposed-QzDneavl.js} +4 -4
- package/dist/{mandatoryConsent-B2zqptlI.js → mandatoryConsent-fZUmh40x.js} +5 -5
- package/dist/{manualCaptureButton-CUq6VXLb.js → manualCaptureButton-CPZ2xxEI.js} +2 -2
- package/dist/{numberedStep-BPgRIYlh.js → numberedStep-DiiXAKRd.js} +1 -1
- package/dist/{otpInput-CGlYkmvB.js → otpInput-B85heGC5.js} +2 -2
- package/dist/{page-DiscPBzz.js → page-D4OThpFS.js} +1 -1
- package/dist/{permissions-DbPRF91z.js → permissions-BeU3HuVB.js} +8 -8
- package/dist/phone/phone.es.js +5 -5
- package/dist/{phoneInput-TwyIF7PG.js → phoneInput-nmmFFaXI.js} +2 -2
- package/dist/{phoneInputComposed-Dsf9ZDTj.js → phoneInputComposed-FjM87j1t.js} +76 -70
- package/dist/{processing-De8XWnFp.js → processing-Ss26Ad0W.js} +2 -2
- package/dist/{richText-DHl4ibE9.js → richText-Bxe6Ywla.js} +1 -1
- package/dist/selfie/selfie.es.js +4 -4
- package/dist/signature/signature.es.js +4 -4
- package/dist/{spinner-DfUoOZN4.js → spinner-CLwSl2tJ.js} +2 -2
- package/dist/{successIcon-DyHNp_UT.js → successIcon-BZphSsQr.js} +1 -1
- package/dist/{tutorial-BnO6iyLI.js → tutorial-BcX5EaL9.js} +8 -8
- package/dist/{typography-zMrvftfB.js → typography-CBPoLoAP.js} +1 -1
- package/dist/{warningIcon-MsE5PaSQ.js → warningIcon-xqaHPxjF.js} +1 -1
- package/package.json +2 -2
- package/dist/captureOverlay-rwQkQuBD.js +0 -390
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { d, y as M, A as F, q as K } from "./vendor-preact-BoMmvSgn.js";
|
|
2
|
-
import { b as Q, u as l } from "./button-
|
|
2
|
+
import { b as Q, u as l } from "./button-DXIWeie9.js";
|
|
3
3
|
import "./uiConfig-DmIn-g8M.js";
|
|
4
|
-
import { t as R } from "./formField-
|
|
5
|
-
import { a as q } from "./inputComposed-
|
|
4
|
+
import { t as R } from "./formField-BoozuV2w.js";
|
|
5
|
+
import { a as q } from "./inputComposed-QzDneavl.js";
|
|
6
6
|
import "@incodetech/core";
|
|
7
7
|
import { u as z } from "./useMediaQuery-lJdQBmC2.js";
|
|
8
8
|
function J(c, f) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as e, I as o, a as m } from "../button-
|
|
1
|
+
import { u as e, I as o, a as m } from "../button-DXIWeie9.js";
|
|
2
2
|
import { createAuthenticationManager as l } from "@incodetech/core/authentication";
|
|
3
3
|
import "../vendor-preact-BoMmvSgn.js";
|
|
4
4
|
import "@incodetech/core";
|
|
5
|
-
import { P as c } from "../permissions-
|
|
5
|
+
import { P as c } from "../permissions-BeU3HuVB.js";
|
|
6
6
|
import { r as p } from "../incodeModule-C4XIllao.js";
|
|
7
|
-
import { T as f, C as d } from "../tutorial-
|
|
7
|
+
import { T as f, C as d } from "../tutorial-BcX5EaL9.js";
|
|
8
8
|
const h = ({
|
|
9
9
|
config: r,
|
|
10
10
|
authHint: s,
|
|
@@ -1,80 +1,79 @@
|
|
|
1
|
-
import { d as l, y as f, l as I,
|
|
2
|
-
import { isIPad as
|
|
3
|
-
import { g as
|
|
4
|
-
function
|
|
5
|
-
const { autoLoad:
|
|
6
|
-
() =>
|
|
1
|
+
import { d as l, y as f, l as I, T as V, $ as v, A as S, D as m, k as y } from "./vendor-preact-BoMmvSgn.js";
|
|
2
|
+
import { isIPad as M } from "@incodetech/core";
|
|
3
|
+
import { g as Z, u as w, a as b } from "./uiConfig-DmIn-g8M.js";
|
|
4
|
+
function G(e, n = {}) {
|
|
5
|
+
const { autoLoad: t = !0, manageLifecycle: C = !0 } = n, [c] = l(e), [a, i] = l(
|
|
6
|
+
() => c.getState()
|
|
7
7
|
);
|
|
8
8
|
return f(() => {
|
|
9
|
-
const
|
|
10
|
-
return
|
|
11
|
-
|
|
9
|
+
const r = c.subscribe(i);
|
|
10
|
+
return C && t && c.load && c.load(), () => {
|
|
11
|
+
r(), C && c.stop?.();
|
|
12
12
|
};
|
|
13
|
-
}, [t, C
|
|
13
|
+
}, [c, t, C]), [a, c];
|
|
14
14
|
}
|
|
15
|
-
var
|
|
16
|
-
function o(e, n,
|
|
15
|
+
var x = 0;
|
|
16
|
+
function o(e, n, t, C, c, a) {
|
|
17
17
|
n || (n = {});
|
|
18
|
-
var
|
|
19
|
-
if ("ref" in d) for (
|
|
20
|
-
var s = { type: e, props: d, key:
|
|
21
|
-
if (typeof e == "function" && (
|
|
18
|
+
var i, r, d = n;
|
|
19
|
+
if ("ref" in d) for (r in d = {}, n) r == "ref" ? i = n[r] : d[r] = n[r];
|
|
20
|
+
var s = { type: e, props: d, key: t, ref: i, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --x, __i: -1, __u: 0, __source: c, __self: a };
|
|
21
|
+
if (typeof e == "function" && (i = e.defaultProps)) for (r in i) d[r] === void 0 && (d[r] = i[r]);
|
|
22
22
|
return I.vnode && I.vnode(s), s;
|
|
23
23
|
}
|
|
24
|
-
function
|
|
25
|
-
const e =
|
|
24
|
+
function B() {
|
|
25
|
+
const e = Z(), [, n] = l(0), [t, C] = l(e.isInitialized);
|
|
26
26
|
return f(() => {
|
|
27
|
-
const
|
|
28
|
-
n((
|
|
27
|
+
const a = () => {
|
|
28
|
+
n((r) => r + 1);
|
|
29
29
|
}, i = () => {
|
|
30
|
-
|
|
30
|
+
C(!0), n((r) => r + 1);
|
|
31
31
|
};
|
|
32
|
-
return e.on("languageChanged",
|
|
33
|
-
e.off("languageChanged",
|
|
32
|
+
return e.on("languageChanged", a), e.on("initialized", i), e.on("loaded", a), () => {
|
|
33
|
+
e.off("languageChanged", a), e.off("initialized", i), e.off("loaded", a);
|
|
34
34
|
};
|
|
35
|
-
}, [e]), {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
};
|
|
35
|
+
}, [e]), { t: V(
|
|
36
|
+
() => e.t.bind(e),
|
|
37
|
+
[e]
|
|
38
|
+
), ready: t, i18n: e };
|
|
40
39
|
}
|
|
41
|
-
const
|
|
42
|
-
function
|
|
43
|
-
const [e, n] = l(null),
|
|
40
|
+
const _ = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='90'%20height='90'%20viewBox='0%200%2090%2090'%3e%3cg%20fill='%2320263D'%3e%3cpath%20d='M84.12%2027.54l-2.58-2.58L65.036%208.456l-2.58-2.58c-3.127-3.127-8.58-2.764-12.157.81L6.69%2050.306c-3.574%203.574-3.938%209.027-.81%2012.158l21.66%2021.66c3.128%203.127%208.58%202.764%2012.157-.81l43.617-43.616c3.574-3.578%203.937-9.03.806-12.158zm-5.524%208.617l-42.439%2042.44c-1.3%201.3-3.28%201.432-4.42.296l-20.63-20.63c-1.14-1.14-1.008-3.12.297-4.42l42.438-42.44c1.302-1.3%203.282-1.432%204.422-.296l1.031%201.032c1.14%201.14%201.009%203.12-.296%204.421-1.302%201.301-1.433%203.281-.297%204.421L69.02%2031.297c1.14%201.14%203.12%201.01%204.421-.296%201.301-1.301%203.281-1.432%204.421-.296l1.031%201.031c1.137%201.14%201.005%203.12-.296%204.421zM51.885%2090a3.135%203.135%200%2001-2.22-5.351l8.925-8.925a3.138%203.138%200%20014.646.233l3.308%204.046c10.114-5.374%2017.081-15.994%2017.178-28.14a3.136%203.136%200%20013.136-3.113h.026a3.14%203.14%200%20013.112%203.161C89.835%2072.746%2072.746%2089.835%2051.911%2090h-.026zM38.115%200a3.135%203.135%200%20012.22%205.351l-8.925%208.925a3.125%203.125%200%2001-2.378.915%203.138%203.138%200%2001-2.272-1.147l-3.308-4.046C13.34%2015.37%206.373%2025.99%206.274%2038.138a3.14%203.14%200%2001-3.139%203.112h-.026a3.139%203.139%200%2001-3.11-3.161C.166%2017.254%2017.255.165%2038.09%200h.026z'/%3e%3c/g%3e%3c/svg%3e";
|
|
41
|
+
function z() {
|
|
42
|
+
const [e, n] = l(null), t = S(null);
|
|
44
43
|
return f(() => {
|
|
45
|
-
const
|
|
46
|
-
return
|
|
47
|
-
|
|
44
|
+
const C = document.createElement("div");
|
|
45
|
+
return C.setAttribute("data-incode-landscape-portal", ""), document.body.appendChild(C), t.current = C, n(C), () => {
|
|
46
|
+
C.remove(), t.current = null;
|
|
48
47
|
};
|
|
49
48
|
}, []), e;
|
|
50
49
|
}
|
|
51
|
-
function
|
|
52
|
-
const { t: e } =
|
|
53
|
-
return n ?
|
|
50
|
+
function k() {
|
|
51
|
+
const { t: e } = B(), n = z();
|
|
52
|
+
return n ? v(
|
|
54
53
|
/* @__PURE__ */ o("div", { class: "IncodeLandscapeBlocker", children: [
|
|
55
54
|
/* @__PURE__ */ o(
|
|
56
55
|
"img",
|
|
57
56
|
{
|
|
58
57
|
class: "IncodeLandscapeBlocker-icon",
|
|
59
|
-
src:
|
|
58
|
+
src: _,
|
|
60
59
|
alt: "",
|
|
61
60
|
"aria-hidden": !0
|
|
62
61
|
}
|
|
63
62
|
),
|
|
64
63
|
/* @__PURE__ */ o("p", { class: "IncodeLandscapeBlocker-text", children: e("common.landscape") }),
|
|
65
|
-
/* @__PURE__ */ o("p", { class: "IncodeLandscapeBlocker-text", children:
|
|
64
|
+
/* @__PURE__ */ o("p", { class: "IncodeLandscapeBlocker-text", children: M() ? e("common.rotateIpad") : e("common.rotate") })
|
|
66
65
|
] }),
|
|
67
66
|
n
|
|
68
67
|
) : null;
|
|
69
68
|
}
|
|
70
|
-
function
|
|
71
|
-
const { isLandscapeMobile: n } =
|
|
69
|
+
function J({ children: e }) {
|
|
70
|
+
const { isLandscapeMobile: n } = w();
|
|
72
71
|
return /* @__PURE__ */ o("div", { class: "IncodeComponent", children: [
|
|
73
72
|
e,
|
|
74
|
-
n ? /* @__PURE__ */ o(
|
|
73
|
+
n ? /* @__PURE__ */ o(k, {}) : null
|
|
75
74
|
] });
|
|
76
75
|
}
|
|
77
|
-
const
|
|
76
|
+
const P = /* @__PURE__ */ new Set([
|
|
78
77
|
0,
|
|
79
78
|
2,
|
|
80
79
|
4,
|
|
@@ -92,7 +91,7 @@ const k = /* @__PURE__ */ new Set([
|
|
|
92
91
|
104,
|
|
93
92
|
120,
|
|
94
93
|
200
|
|
95
|
-
]),
|
|
94
|
+
]), F = (e, n) => n === "horizontal" ? {
|
|
96
95
|
0: "IncodeSpacerHorizontal0",
|
|
97
96
|
2: "IncodeSpacerHorizontal2",
|
|
98
97
|
4: "IncodeSpacerHorizontal4",
|
|
@@ -128,22 +127,22 @@ const k = /* @__PURE__ */ new Set([
|
|
|
128
127
|
104: "IncodeSpacerVertical104",
|
|
129
128
|
120: "IncodeSpacerVertical120",
|
|
130
129
|
200: "IncodeSpacerVertical200"
|
|
131
|
-
}[e],
|
|
130
|
+
}[e], K = ({
|
|
132
131
|
size: e,
|
|
133
132
|
className: n,
|
|
134
|
-
direction:
|
|
135
|
-
}) => e === void 0 ? /* @__PURE__ */ o("div", { class: `IncodeSpacerFlex ${n || ""}` }) : (
|
|
133
|
+
direction: t = "vertical"
|
|
134
|
+
}) => e === void 0 ? /* @__PURE__ */ o("div", { class: `IncodeSpacerFlex ${n || ""}` }) : (t === "horizontal" ? "w" : t === "vertical" ? "h" : void 0) ? typeof e == "number" && P.has(e) ? /* @__PURE__ */ o("div", { class: `${F(e, t)} ${n || ""}` }) : /* @__PURE__ */ o("div", { class: `${n || ""}` }) : /* @__PURE__ */ o("div", { class: `${n || ""}` }), Q = "data:image/svg+xml,%3csvg%20width='76'%20height='20'%20viewBox='0%200%2076%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M40.1687%206.01811C42.2312%206.01811%2043.7927%206.59655%2044.8446%207.76024C45.8919%208.91831%2046.4126%2010.5865%2046.4126%2012.7583C46.4126%2014.93%2045.8748%2016.6105%2044.794%2017.7944C43.7102%2018.9815%2042.1729%2019.5735%2040.1937%2019.5735C38.1479%2019.5735%2036.5973%2018.99%2035.5546%2017.8187L35.4273%2017.6701C34.4729%2016.5101%2033.9984%2014.871%2033.9984%2012.7583C33.9984%208.28671%2036.0703%206.01811%2040.1687%206.01811ZM69.1127%206.01781C71.1144%206.01781%2072.5953%206.66904%2073.5373%207.97333C74.4288%209.2077%2074.8837%2010.9053%2074.9066%2013.0629L74.9058%2013.5242H66.1149C66.2174%2014.6334%2066.5602%2015.4734%2067.141%2016.0538C67.7488%2016.662%2068.6195%2016.9679%2069.7639%2016.9679C70.5188%2016.9679%2071.2373%2016.8742%2071.921%2016.6862C72.6048%2016.4995%2073.2105%2016.2581%2073.735%2015.9646L73.9814%2015.8267V18.666L73.8821%2018.7093C72.5607%2019.286%2071.0464%2019.5732%2069.3379%2019.5732C67.4088%2019.5732%2065.8853%2018.986%2064.7769%2017.8093C63.6699%2016.6348%2063.1183%2014.9722%2063.1183%2012.833C63.1183%2010.6451%2063.6389%208.96055%2064.6862%207.78517C65.7359%206.60632%2067.2157%206.01781%2069.1127%206.01781ZM60.3976%201.06738V16.3832C60.3976%2017.0998%2060.0996%2017.7092%2059.5124%2018.198C58.9425%2018.6724%2058.2282%2019.0207%2057.3718%2019.2435C56.5257%2019.4635%2055.6531%2019.5731%2054.7534%2019.5731C52.9298%2019.5731%2051.4237%2019.056%2050.2406%2018.0202C49.0485%2016.9752%2048.4588%2015.1678%2048.4588%2012.6072C48.4588%2010.5545%2048.9627%208.9421%2049.9753%207.77411C50.9938%206.60175%2052.4982%206.01774%2054.4782%206.01774C54.9416%206.01774%2055.4735%206.07665%2056.0742%206.19449C56.582%206.296%2057.0453%206.43849%2057.4648%206.62252V1.06738H60.3976ZM27.911%206.04223C29.2828%206.04223%2030.5881%206.29619%2031.8264%206.80393L31.9291%206.84604V9.55797L31.6992%209.46109C30.4503%208.93473%2029.3127%208.67257%2028.2863%208.67257C27.0102%208.67257%2026.0684%208.98809%2025.4521%209.61162C24.8366%2010.2352%2024.5242%2011.2397%2024.5242%2012.6331C24.5242%2014.0959%2024.8298%2015.1535%2025.4314%2015.8092C26.029%2016.4619%2027.002%2016.7923%2028.3613%2016.7923C29.4706%2016.7923%2030.589%2016.5234%2031.7164%2015.9842L31.9534%2015.8708V18.5903L31.8552%2018.634C30.6349%2019.1773%2029.3283%2019.4483%2027.936%2019.4483C26.2154%2019.4483%2024.7637%2018.9753%2023.5868%2018.0285L23.4123%2017.8829L23.2796%2017.7636C22.1516%2016.7067%2021.5914%2015.0592%2021.5914%2012.8332C21.5914%2010.4557%2022.186%208.72379%2023.3849%207.64725C24.5757%206.57726%2026.0871%206.04223%2027.911%206.04223ZM4.11045%206.39262L4.13613%2019.1987H1.15293V6.39262H4.11045ZM13.5766%206.0423C15.365%206.0423%2016.6948%206.41948%2017.5636%207.18368C18.4372%207.95269%2018.8706%209.13902%2018.8706%2010.7331V19.1984H15.9127V11.0838C15.9127%209.42945%2014.9988%208.62337%2013.1013%208.62337C12.3086%208.62337%2011.5458%208.73548%2010.8133%208.95959L10.5401%209.04888V19.1984H7.58147V7.40579L7.67177%207.35974C8.43481%206.97061%209.36013%206.65415%2010.4506%206.40815L10.8116%206.33134C11.7692%206.13867%2012.6905%206.0423%2013.5766%206.0423ZM40.1687%208.5477C39.0014%208.5477%2038.1814%208.89722%2037.6896%209.59114C37.1869%2010.3012%2036.932%2011.3564%2036.932%2012.7583C36.932%2014.1602%2037.1948%2015.223%2037.7142%2015.9499C38.2224%2016.6613%2039.0345%2017.0182%2040.1687%2017.0182C42.3685%2017.0182%2043.4555%2015.6249%2043.4555%2012.7583C43.4555%2011.325%2043.1888%2010.2632%2042.6636%209.57056C42.1472%208.89036%2041.3203%208.5477%2040.1687%208.5477ZM54.8535%208.59807C52.5835%208.59807%2051.4659%209.9271%2051.4659%2012.6579C51.4659%2014.0276%2051.7253%2015.0917%2052.2391%2015.8527C52.7378%2016.5945%2053.6185%2016.9678%2054.9035%2016.9678C55.6556%2016.9678%2056.2834%2016.8792%2056.7876%2016.7028C57.2156%2016.553%2057.4279%2016.378%2057.4604%2016.186L57.4648%2016.1332V9.25404L57.2778%209.15611C56.9611%208.99923%2056.6189%208.87406%2056.2512%208.78123C55.7705%208.65917%2055.3045%208.59807%2054.8535%208.59807ZM69.0377%208.49888C68.192%208.49888%2067.5412%208.71795%2067.0743%209.15366C66.6631%209.5374%2066.3731%2010.1684%2066.2101%2011.0498L66.1771%2011.2425H71.8784L71.8489%2011.0453C71.7111%2010.208%2071.4421%209.58986%2071.0461%209.18626C70.5969%208.72981%2069.9303%208.49888%2069.0377%208.49888ZM4.21085%201.94156V4.64764H1.07715V1.94156H4.21085Z'%20fill='%23006AFF'/%3e%3c/svg%3e";
|
|
136
135
|
function u(e) {
|
|
137
136
|
for (const n of e)
|
|
138
137
|
if (n !== void 0) return n;
|
|
139
138
|
}
|
|
140
|
-
function
|
|
139
|
+
function $(e) {
|
|
141
140
|
if (!e) return;
|
|
142
141
|
if (/^\d+$/.test(e)) return Number(e);
|
|
143
142
|
const n = e.match(/^(\d+)px$/);
|
|
144
143
|
if (n) return Number(n[1]);
|
|
145
144
|
}
|
|
146
|
-
function
|
|
145
|
+
function A(e) {
|
|
147
146
|
const n = u([
|
|
148
147
|
e.logo?.height,
|
|
149
148
|
e.uiConfig.logoHeight
|
|
@@ -155,14 +154,14 @@ function $(e) {
|
|
|
155
154
|
e.uiConfig.hideFooterBranding
|
|
156
155
|
]) ?? !1,
|
|
157
156
|
logoSrc: u([e.logo?.src, e.uiConfig.logoSrc]) ?? e.defaultLogoSrc,
|
|
158
|
-
logoHeightPx:
|
|
157
|
+
logoHeightPx: $(n) ?? 80
|
|
159
158
|
};
|
|
160
159
|
}
|
|
161
|
-
function
|
|
162
|
-
const n =
|
|
163
|
-
return
|
|
160
|
+
function W(e) {
|
|
161
|
+
const n = b();
|
|
162
|
+
return A({ ...e, uiConfig: n });
|
|
164
163
|
}
|
|
165
|
-
const
|
|
164
|
+
const X = () => /* @__PURE__ */ o(
|
|
166
165
|
"svg",
|
|
167
166
|
{
|
|
168
167
|
width: "121",
|
|
@@ -265,16 +264,16 @@ const W = () => /* @__PURE__ */ o(
|
|
|
265
264
|
}
|
|
266
265
|
), h = (...e) => {
|
|
267
266
|
const n = [];
|
|
268
|
-
for (const
|
|
269
|
-
if (
|
|
270
|
-
if (typeof
|
|
271
|
-
n.push(
|
|
272
|
-
else if (typeof
|
|
273
|
-
for (const [
|
|
274
|
-
|
|
267
|
+
for (const t of e)
|
|
268
|
+
if (t) {
|
|
269
|
+
if (typeof t == "string")
|
|
270
|
+
n.push(t);
|
|
271
|
+
else if (typeof t == "object")
|
|
272
|
+
for (const [C, c] of Object.entries(t))
|
|
273
|
+
c && n.push(C);
|
|
275
274
|
}
|
|
276
275
|
return n.join(" ");
|
|
277
|
-
},
|
|
276
|
+
}, O = ({
|
|
278
277
|
size: e,
|
|
279
278
|
className: n
|
|
280
279
|
}) => /* @__PURE__ */ o(
|
|
@@ -289,7 +288,7 @@ const W = () => /* @__PURE__ */ o(
|
|
|
289
288
|
"aria-hidden": "true",
|
|
290
289
|
children: /* @__PURE__ */ o("path", { d: "M28.1614 15.2837C29.453 15.2837 30.5186 14.2304 30.3181 12.9545C30.1344 11.7862 29.8129 10.6411 29.3582 9.54344C28.6044 7.72356 27.4995 6.06997 26.1066 4.67709C24.7137 3.28421 23.0601 2.17932 21.2403 1.4255C20.1426 0.970841 18.9974 0.649265 17.8292 0.46563C16.5533 0.265073 15.5 1.33073 15.5 2.62232C15.5 3.91391 16.5601 4.93461 17.8187 5.22473C18.3748 5.35291 18.9206 5.52729 19.4503 5.74672C20.7028 6.26548 21.8407 7.02585 22.7993 7.98441C23.7578 8.94296 24.5182 10.0809 25.037 11.3333C25.2564 11.8631 25.4308 12.4089 25.559 12.965C25.8491 14.2236 26.8698 15.2837 28.1614 15.2837Z" })
|
|
291
290
|
}
|
|
292
|
-
),
|
|
291
|
+
), U = ({
|
|
293
292
|
size: e,
|
|
294
293
|
className: n
|
|
295
294
|
}) => /* @__PURE__ */ o(
|
|
@@ -307,14 +306,14 @@ const W = () => /* @__PURE__ */ o(
|
|
|
307
306
|
/* @__PURE__ */ o("path", { d: "M30.5 15.2837C30.5 23.568 23.7843 30.2837 15.5 30.2837C7.21573 30.2837 0.5 23.568 0.5 15.2837C0.5 6.99942 7.21573 0.283691 15.5 0.283691C23.7843 0.283691 30.5 6.99942 30.5 15.2837ZM5.17725 15.2837C5.17725 20.9848 9.7989 25.6064 15.5 25.6064C21.2011 25.6064 25.8227 20.9848 25.8227 15.2837C25.8227 9.5826 21.2011 4.96095 15.5 4.96095C9.7989 4.96095 5.17725 9.5826 5.17725 15.2837Z" })
|
|
308
307
|
]
|
|
309
308
|
}
|
|
310
|
-
),
|
|
309
|
+
), R = ({
|
|
311
310
|
size: e = 30,
|
|
312
311
|
secondaryClass: n,
|
|
313
|
-
primaryClass:
|
|
312
|
+
primaryClass: t
|
|
314
313
|
}) => /* @__PURE__ */ o("div", { class: "IncodeLoadingIcon", children: [
|
|
315
|
-
/* @__PURE__ */ o(
|
|
316
|
-
/* @__PURE__ */ o("div", { class: "IncodeLoadingIconPrimary", children: /* @__PURE__ */ o(
|
|
317
|
-
] }),
|
|
314
|
+
/* @__PURE__ */ o(U, { size: e, className: n }),
|
|
315
|
+
/* @__PURE__ */ o("div", { class: "IncodeLoadingIconPrimary", children: /* @__PURE__ */ o(O, { size: e, className: t }) })
|
|
316
|
+
] }), T = 30, j = {
|
|
318
317
|
primary: "IncodeButtonPrimary",
|
|
319
318
|
secondary: "IncodeButtonSecondary",
|
|
320
319
|
link: "IncodeButtonLink"
|
|
@@ -322,21 +321,21 @@ const W = () => /* @__PURE__ */ o(
|
|
|
322
321
|
L: "IncodeButtonL",
|
|
323
322
|
M: "IncodeButtonM",
|
|
324
323
|
S: "IncodeButtonS"
|
|
325
|
-
},
|
|
324
|
+
}, Y = m(
|
|
326
325
|
(e, n) => {
|
|
327
326
|
const {
|
|
328
|
-
isLoading:
|
|
329
|
-
variant:
|
|
330
|
-
size:
|
|
331
|
-
icon:
|
|
332
|
-
class:
|
|
333
|
-
type:
|
|
327
|
+
isLoading: t = !1,
|
|
328
|
+
variant: C = "primary",
|
|
329
|
+
size: c = "L",
|
|
330
|
+
icon: a,
|
|
331
|
+
class: i,
|
|
332
|
+
type: r = "button",
|
|
334
333
|
children: d,
|
|
335
334
|
disabled: s,
|
|
336
335
|
...g
|
|
337
|
-
} = e, L = !d && !!
|
|
336
|
+
} = e, L = !d && !!a, p = t && c === "L", H = () => p ? /* @__PURE__ */ o(R, { size: T }) : L ? a : a ? /* @__PURE__ */ o(y, { children: [
|
|
338
337
|
d,
|
|
339
|
-
|
|
338
|
+
a
|
|
340
339
|
] }) : d;
|
|
341
340
|
return /* @__PURE__ */ o(
|
|
342
341
|
"button",
|
|
@@ -345,30 +344,30 @@ const W = () => /* @__PURE__ */ o(
|
|
|
345
344
|
...g,
|
|
346
345
|
class: h(
|
|
347
346
|
"IncodeButton",
|
|
348
|
-
j[
|
|
349
|
-
D[
|
|
347
|
+
j[C],
|
|
348
|
+
D[c],
|
|
350
349
|
p ? "IncodeButtonLoading" : "",
|
|
351
350
|
L ? "IncodeButtonIconOnly" : "",
|
|
352
|
-
|
|
351
|
+
i
|
|
353
352
|
),
|
|
354
353
|
disabled: s || p,
|
|
355
|
-
type:
|
|
354
|
+
type: r,
|
|
356
355
|
children: H()
|
|
357
356
|
}
|
|
358
357
|
);
|
|
359
358
|
}
|
|
360
359
|
);
|
|
361
360
|
export {
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
361
|
+
Y as B,
|
|
362
|
+
J as I,
|
|
363
|
+
k as L,
|
|
364
|
+
K as S,
|
|
365
|
+
X as V,
|
|
366
|
+
G as a,
|
|
367
|
+
B as b,
|
|
369
368
|
h as c,
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
369
|
+
R as d,
|
|
370
|
+
W as e,
|
|
371
|
+
Q as i,
|
|
373
372
|
o as u
|
|
374
373
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as e, c as s, b as h, B as p } from "./button-
|
|
1
|
+
import { u as e, c as s, b as h, B as p } from "./button-DXIWeie9.js";
|
|
2
2
|
import { D as m, A as v, y as I } from "./vendor-preact-BoMmvSgn.js";
|
|
3
|
-
import { T as w } from "./typography-
|
|
3
|
+
import { T as w } from "./typography-CBPoLoAP.js";
|
|
4
4
|
import "./uiConfig-DmIn-g8M.js";
|
|
5
5
|
const f = ({
|
|
6
6
|
className: a
|