@incodetech/web 0.0.0-dev-20260415-20a2fc4 → 0.0.0-dev-20260416-64c00e5
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-B4o16RK-.js → AsYouType-RC03ULcj.js} +1 -1
- package/dist/{addressAutocomplete-DWVphfl5.js → addressAutocomplete-n0bBMSty.js} +4 -4
- package/dist/ae-signature/ae-signature.es.js +1 -1
- package/dist/antifraud/antifraud.es.js +2 -2
- package/dist/authentication/authentication.es.js +2 -2
- package/dist/{button-jwSm4U5l.js → button-BlHmZn6D.js} +1 -1
- package/dist/{checkbox-B6sowIi8.js → checkbox-BNgPsssk.js} +2 -2
- package/dist/consent/consent.es.js +6 -6
- package/dist/cross-document-data-match/cross-document-data-match.es.js +2 -2
- package/dist/curp-validation/curp-validation.es.js +12 -12
- package/dist/{dateInputComposed-DnHTS15O.js → dateInputComposed-B8nKYsUG.js} +4 -4
- package/dist/dateInputComposed-DnYA7nZG.js +1 -0
- package/dist/{documentCapture-CQ32GpB4.js → documentCapture-DHtlw3Lu.js} +65 -66
- package/dist/{dropdownComposed-C6vVF6YA.js → dropdownComposed-CR1bc7Z9.js} +3 -3
- package/dist/dropdownComposed-P1FeTlTM.js +1 -0
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/{ekybModule-NJtVSNt8.js → ekybModule-BBSKwZZy.js} +12 -12
- package/dist/ekybModule-qBQ8sJSr.js +2 -0
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/{ekycModule-CHJc0y79.js → ekycModule-Dca-zhQw.js} +17 -17
- package/dist/ekycModule-R0YaUzV3.js +2 -0
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-C7D9PxFO.js → electronic-signature-DEAXKbsk.js} +7 -7
- package/dist/email/email.es.js +6 -6
- package/dist/{extensibility-BzbZC3Uh.js → extensibility-BlGCucJR.js} +102 -102
- package/dist/extensibility.es.js +21 -20
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/faceMatch-CFxHH3ic.js +2 -0
- package/dist/{faceMatch-Don75gXW.js → faceMatch-D6HVVSiY.js} +4 -4
- package/dist/flow/flow.es.js +5 -5
- package/dist/flow/styles.css +28 -28
- package/dist/{formField-DRqCjJYu.js → formField-B9_nvbhW.js} +2 -2
- package/dist/geolocation/geolocation.es.js +3 -3
- package/dist/governmentValidation/governmentValidation.es.js +6 -6
- package/dist/home/home.es.js +156 -59
- package/dist/home/styles.css +28 -28
- package/dist/{i18n-BijwYtJr.js → i18n-DUMvrSNM.js} +1 -1
- package/dist/{icons-BNwTyDPs.js → icons-CVO6RxwW.js} +1 -1
- package/dist/id/id.es.js +5 -5
- package/dist/identity-reuse/identity-reuse.es.js +4 -4
- package/dist/index.es.js +1 -1
- package/dist/inputComposed-BWxnXHJf.js +1 -0
- package/dist/{inputComposed-Cd-Hl-nY.js → inputComposed-COz9TuR1.js} +3 -3
- package/dist/{incodeComponent-Cd290pHH.js → loadingIcon-ahC-hZN7.js} +42 -2
- package/dist/{mandatoryConsent-7CnQf3lz.js → mandatoryConsent-DWwvkGGf.js} +6 -6
- package/dist/modal-D75YXA_d.js +239 -0
- package/dist/{otpInput-BiUL8Ebu.js → otpInput-CNAOHZxZ.js} +4 -4
- package/dist/phone/phone.es.js +6 -6
- package/dist/{phoneInput-3AdvQaEd.js → phoneInput-CzcmqH3C.js} +3 -3
- package/dist/{phoneInputComposed-BnOmNQTz.js → phoneInputComposed-w9tF4xYB.js} +6 -6
- package/dist/{processing-CMIsTP-t.js → processing-CR7zb0TX.js} +2 -2
- package/dist/qe-signature/qe-signature.es.js +1 -1
- package/dist/{redirectToMobile-CFzDfmuH.js → redirectToMobile-CYt-uhqB.js} +21 -22
- package/dist/selfie/selfie.es.js +3 -3
- package/dist/{setup-n7xLstSl.js → setup-IE6CqyVs.js} +1 -1
- package/dist/signature/signature.es.js +6 -6
- package/dist/spinner-B-jf992b.js +1 -0
- package/dist/{spinner-Dg3lumvu.js → spinner-BAVCJLTE.js} +7 -7
- package/dist/{tutorial-gP0l4CuT.js → tutorial-Dqk1zedL.js} +640 -872
- package/dist/{typography-BeNe2WRr.js → typography-7cXma7kl.js} +1 -1
- package/dist/typography-CsEiWMTG.js +1 -0
- package/dist/{useModuleLoader-D_WjZsnk.js → useModuleLoader-BTfoFcVy.js} +9 -9
- package/dist/{verificationResult-_HH0v_HX.js → verificationResult-LpiTdYIu.js} +5 -5
- package/dist/watchlist/watchlist.es.js +20 -21
- package/dist/workflow/workflow.es.js +6 -6
- package/package.json +2 -2
- package/dist/dateInputComposed-tjb_YiSz.js +0 -1
- package/dist/dropdownComposed-DkSZPhUb.js +0 -1
- package/dist/ekybModule-IxSxK7ET.js +0 -2
- package/dist/ekycModule-D8YFovqq.js +0 -2
- package/dist/faceMatch-Z6cCZZMi.js +0 -2
- package/dist/inputComposed-WTfutu_d.js +0 -1
- package/dist/language-Dvo4jXwx.js +0 -50
- package/dist/loadingIcon-YV3D_mg8.js +0 -42
- package/dist/settings-tMRrQul_.js +0 -68
- package/dist/spinner-BEm5Wf_k.js +0 -1
- package/dist/typography-eCzT8rG3.js +0 -1
- /package/dist/{aligndevicelottie-BfnvOtwi.js → aligndevicelottie-B9K1XnzC.js} +0 -0
- /package/dist/{back-horizontal-hint-CpDPt7Pn.js → back-horizontal-hint-Dy_Qglma.js} +0 -0
- /package/dist/{back-tutorial-DRNlpp1o.js → back-tutorial-Cc5SwoLa.js} +0 -0
- /package/dist/{back-vertical-hint-CMS6HTd5.js → back-vertical-hint-Dg3OKUKF.js} +0 -0
- /package/dist/{backdevicelottie-DqTioBhp.js → backdevicelottie-DPvn_MCA.js} +0 -0
- /package/dist/{blurdevicelottie-BCYf_azj.js → blurdevicelottie-DGpZjyZE.js} +0 -0
- /package/dist/{browser-ponyfill-DcR_MTou.js → browser-ponyfill-CTu_YiCx.js} +0 -0
- /package/dist/{countries-BntFjJJG.js → countries-DKKNtuUp.js} +0 -0
- /package/dist/{flip-animation-Dj8sBkxM.js → flip-animation-DwJvEqyX.js} +0 -0
- /package/dist/{front-horizontal-hint-C204EjG5.js → front-horizontal-hint-DgopDgUF.js} +0 -0
- /package/dist/{front-vertical-hint-BT8dqgFS.js → front-vertical-hint-nOpxcjqw.js} +0 -0
- /package/dist/{frontdevicelottie-BOCUyhYK.js → frontdevicelottie-DBrRXwKx.js} +0 -0
- /package/dist/{glaredevicelottie-g5gLJDcn.js → glaredevicelottie-DvG7qeiM.js} +0 -0
- /package/dist/{id-laser-h-C9wj3dpL.js → id-laser-h-BrG7qvHh.js} +0 -0
- /package/dist/{id-laser-v-Bmnxnt0M.js → id-laser-v-Bt1xfH5h.js} +0 -0
- /package/dist/{id-tutorial-CFTli-M3.js → id-tutorial-WgpG0ahL.js} +0 -0
- /package/dist/{passport-horizontal-hint-DQ_bncwr.js → passport-horizontal-hint-DXzBzsri.js} +0 -0
- /package/dist/{passport-tutorial-Bihd5YfK.js → passport-tutorial-DEr1yuAg.js} +0 -0
- /package/dist/{passport-vertical-hint-Bck8hVuX.js → passport-vertical-hint-B8Sap2l6.js} +0 -0
- /package/dist/{selfieTutorial-Cu9vXjss.js → selfieTutorial-B5l5ny8O.js} +0 -0
- /package/dist/{successIcon-Dklx5JWI.js → successIcon-AHrfmJvv.js} +0 -0
package/dist/id/id.es.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { c as e, o as t, v as n } from "../vendor-preact-D6SntenC.js";
|
|
2
|
-
import {
|
|
3
|
-
import { a, i as o, n as s, o as c, r as l, t as u } from "../extensibility-
|
|
4
|
-
import { t as d } from "../processing-
|
|
5
|
-
import { r as f } from "../tutorial-
|
|
2
|
+
import { c as r, r as i } from "../loadingIcon-ahC-hZN7.js";
|
|
3
|
+
import { a, i as o, n as s, o as c, r as l, t as u } from "../extensibility-BlGCucJR.js";
|
|
4
|
+
import { t as d } from "../processing-CR7zb0TX.js";
|
|
5
|
+
import { r as f } from "../tutorial-Dqk1zedL.js";
|
|
6
6
|
import { t as p } from "../incodeModule-Di2OUZ5_.js";
|
|
7
7
|
import { createIdCaptureManager as m } from "@incodetech/core/id";
|
|
8
8
|
//#region src/modules/id/id.tsx
|
|
9
|
-
var h = e(() => import("../mandatoryConsent-
|
|
9
|
+
var h = e(() => import("../mandatoryConsent-DWwvkGGf.js").then((e) => ({ default: e.MandatoryConsent }))), g = ({ config: e, manager: i, onFinish: p, onError: g }) => {
|
|
10
10
|
let [_, v] = r(() => {
|
|
11
11
|
if (i) return i;
|
|
12
12
|
if (!e) throw Error("ID capture config is required when no manager is provided");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as e } from "../i18n-
|
|
1
|
+
import { n as e } from "../i18n-DUMvrSNM.js";
|
|
2
2
|
import { _ as t, v as n } from "../vendor-preact-D6SntenC.js";
|
|
3
|
-
import {
|
|
3
|
+
import { c as r, r as i } from "../loadingIcon-ahC-hZN7.js";
|
|
4
4
|
import { t as a } from "../page-kB-LDkaO.js";
|
|
5
|
-
import { t as o } from "../spinner-
|
|
6
|
-
import { t as s } from "../button-
|
|
5
|
+
import { t as o } from "../spinner-BAVCJLTE.js";
|
|
6
|
+
import { t as s } from "../button-BlHmZn6D.js";
|
|
7
7
|
import { t as c } from "../incodeModule-Di2OUZ5_.js";
|
|
8
8
|
import { createIdentityReuseManager as l } from "@incodetech/core/identity-reuse";
|
|
9
9
|
//#region src/modules/identity-reuse/identity-reuse.tsx
|
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { t as e } from "./uiConfig-CwpQ-IM6.js";
|
|
2
|
-
import { t } from "./setup-
|
|
2
|
+
import { t } from "./setup-IE6CqyVs.js";
|
|
3
3
|
import { DEFAULT_WASM_VERSION as n } from "@incodetech/core/wasm";
|
|
4
4
|
export { n as DEFAULT_WASM_VERSION, e as setUiConfig, t as setup };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./inputComposed-COz9TuR1.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as e, v as t } from "./vendor-preact-D6SntenC.js";
|
|
2
|
-
import { n } from "./loadingIcon-
|
|
3
|
-
import { m as r, o as i } from "./icons-
|
|
4
|
-
import { t as a } from "./successIcon-
|
|
2
|
+
import { n } from "./loadingIcon-ahC-hZN7.js";
|
|
3
|
+
import { m as r, o as i } from "./icons-CVO6RxwW.js";
|
|
4
|
+
import { t as a } from "./successIcon-AHrfmJvv.js";
|
|
5
5
|
//#region src/shared/input/input.tsx
|
|
6
6
|
var o = e((e, r) => {
|
|
7
7
|
let { class: i, type: a = "text", ...o } = e;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
1
|
+
import { n as e } from "./i18n-DUMvrSNM.js";
|
|
2
2
|
import { _ as t, l as n, p as r, r as i, s as a, v as o } from "./vendor-preact-D6SntenC.js";
|
|
3
3
|
import { ScreenOrientationProvider as s, createScreenOrientationObserver as c, getDeviceClass as l, isIPad as u } from "@incodetech/core/device";
|
|
4
4
|
import "@incodetech/core/events";
|
|
@@ -104,4 +104,44 @@ function S({ children: e }) {
|
|
|
104
104
|
});
|
|
105
105
|
}
|
|
106
106
|
//#endregion
|
|
107
|
-
|
|
107
|
+
//#region src/styles/cn.tsx
|
|
108
|
+
var C = (...e) => {
|
|
109
|
+
let t = [];
|
|
110
|
+
for (let n of e) if (n) {
|
|
111
|
+
if (typeof n == "string") t.push(n);
|
|
112
|
+
else if (typeof n == "object") for (let [e, r] of Object.entries(n)) r && t.push(e);
|
|
113
|
+
}
|
|
114
|
+
return t.join(" ");
|
|
115
|
+
}, w = ({ size: e, className: t }) => /* @__PURE__ */ o("svg", {
|
|
116
|
+
width: e,
|
|
117
|
+
height: e,
|
|
118
|
+
viewBox: "0 0 31 31",
|
|
119
|
+
fill: "none",
|
|
120
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
121
|
+
class: C("IncodeLoadingIconPrimaryIcon", t),
|
|
122
|
+
"aria-hidden": "true",
|
|
123
|
+
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" })
|
|
124
|
+
}), T = ({ size: e, className: t }) => /* @__PURE__ */ o("svg", {
|
|
125
|
+
width: e,
|
|
126
|
+
height: e,
|
|
127
|
+
viewBox: "0 0 31 31",
|
|
128
|
+
fill: "none",
|
|
129
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
130
|
+
class: C("IncodeLoadingIconSecondaryIcon", t),
|
|
131
|
+
"aria-hidden": "true",
|
|
132
|
+
children: [/* @__PURE__ */ o("title", { children: "Spinner Outer part" }), /* @__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" })]
|
|
133
|
+
}), E = ({ size: e = 30, secondaryClass: t, primaryClass: n }) => /* @__PURE__ */ o("div", {
|
|
134
|
+
class: "IncodeLoadingIcon",
|
|
135
|
+
children: [/* @__PURE__ */ o(T, {
|
|
136
|
+
size: e,
|
|
137
|
+
className: t
|
|
138
|
+
}), /* @__PURE__ */ o("div", {
|
|
139
|
+
class: "IncodeLoadingIconPrimary",
|
|
140
|
+
children: /* @__PURE__ */ o(w, {
|
|
141
|
+
size: e,
|
|
142
|
+
className: n
|
|
143
|
+
})
|
|
144
|
+
})]
|
|
145
|
+
});
|
|
146
|
+
//#endregion
|
|
147
|
+
export { v as a, d as c, x as i, C as n, h as o, S as r, m as s, E as t };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
1
|
+
import { n as e } from "./i18n-DUMvrSNM.js";
|
|
2
2
|
import { _ as t, v as n } from "./vendor-preact-D6SntenC.js";
|
|
3
|
-
import {
|
|
3
|
+
import { c as r, r as i } from "./loadingIcon-ahC-hZN7.js";
|
|
4
4
|
import { t as a } from "./page-kB-LDkaO.js";
|
|
5
|
-
import { t as o } from "./spinner-
|
|
6
|
-
import "./spinner-
|
|
7
|
-
import { t as s } from "./button-
|
|
8
|
-
import { t as c } from "./checkbox-
|
|
5
|
+
import { t as o } from "./spinner-BAVCJLTE.js";
|
|
6
|
+
import "./spinner-B-jf992b.js";
|
|
7
|
+
import { t as s } from "./button-BlHmZn6D.js";
|
|
8
|
+
import { t as c } from "./checkbox-BNgPsssk.js";
|
|
9
9
|
import { t as l } from "./incodeModule-Di2OUZ5_.js";
|
|
10
10
|
import { t as u } from "./richText-MNrzpRze.js";
|
|
11
11
|
import { createMandatoryConsentManager as d } from "@incodetech/core/mandatory-consent";
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
import { C as e, _ as t, b as n, d as r, f as i, g as a, h as o, l as s, p as c, r as l, v as u, x as d, y as f } from "./vendor-preact-D6SntenC.js";
|
|
2
|
+
import { n as p } from "./loadingIcon-ahC-hZN7.js";
|
|
3
|
+
import { o as m } from "./icons-CVO6RxwW.js";
|
|
4
|
+
//#region src/shared/modal/modal.hooks.ts
|
|
5
|
+
var h = "IncodeModalScrollLock", g = "data-incode-modal-initial-focus", _ = [
|
|
6
|
+
"button:not([disabled])",
|
|
7
|
+
"[href]",
|
|
8
|
+
"input:not([disabled])",
|
|
9
|
+
"select:not([disabled])",
|
|
10
|
+
"textarea:not([disabled])",
|
|
11
|
+
"[tabindex]:not([tabindex=\"-1\"])"
|
|
12
|
+
].join(", ");
|
|
13
|
+
function v(e) {
|
|
14
|
+
return Array.from(e.querySelectorAll(_));
|
|
15
|
+
}
|
|
16
|
+
function y(e) {
|
|
17
|
+
try {
|
|
18
|
+
return e.matches(_);
|
|
19
|
+
} catch {
|
|
20
|
+
return !1;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
function b(e) {
|
|
24
|
+
let t = e.querySelector("[autofocus]");
|
|
25
|
+
if (t && y(t)) return t;
|
|
26
|
+
let n = e.querySelector(`[${g}]`);
|
|
27
|
+
if (n) {
|
|
28
|
+
if (y(n)) return n;
|
|
29
|
+
let e = n.querySelector(_);
|
|
30
|
+
if (e) return e;
|
|
31
|
+
}
|
|
32
|
+
return v(e)[0] ?? e;
|
|
33
|
+
}
|
|
34
|
+
function x(e, n) {
|
|
35
|
+
let [r, i] = c(null);
|
|
36
|
+
return t(() => {
|
|
37
|
+
if (!e) {
|
|
38
|
+
i(null);
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
if (n) return i(n), () => {
|
|
42
|
+
i(null);
|
|
43
|
+
};
|
|
44
|
+
let t = document.createElement("div");
|
|
45
|
+
return t.setAttribute("data-incode-modal-portal", ""), (document.querySelector(".IncodeComponent") ?? document.body).appendChild(t), i(t), () => {
|
|
46
|
+
t.remove(), i(null);
|
|
47
|
+
};
|
|
48
|
+
}, [e, n]), r;
|
|
49
|
+
}
|
|
50
|
+
function S(e) {
|
|
51
|
+
t(() => {
|
|
52
|
+
if (!e) return;
|
|
53
|
+
let t = document.querySelector(".IncodeComponent");
|
|
54
|
+
return (t ?? document.body).classList.add(h), () => {
|
|
55
|
+
(t ?? document.body).classList.remove(h);
|
|
56
|
+
};
|
|
57
|
+
}, [e]);
|
|
58
|
+
}
|
|
59
|
+
function C(e, n, r) {
|
|
60
|
+
t(() => {
|
|
61
|
+
if (!e || !n) return;
|
|
62
|
+
let t = (e) => {
|
|
63
|
+
e.key === "Escape" && (e.preventDefault(), r());
|
|
64
|
+
};
|
|
65
|
+
return document.addEventListener("keydown", t), () => document.removeEventListener("keydown", t);
|
|
66
|
+
}, [
|
|
67
|
+
e,
|
|
68
|
+
n,
|
|
69
|
+
r
|
|
70
|
+
]);
|
|
71
|
+
}
|
|
72
|
+
function w(e, n, r = !0) {
|
|
73
|
+
t(() => {
|
|
74
|
+
if (!e) return;
|
|
75
|
+
let t = document.activeElement;
|
|
76
|
+
if (r) {
|
|
77
|
+
let e = n.current;
|
|
78
|
+
e && b(e).focus();
|
|
79
|
+
}
|
|
80
|
+
return () => {
|
|
81
|
+
t && typeof t.focus == "function" && t.focus();
|
|
82
|
+
};
|
|
83
|
+
}, [
|
|
84
|
+
e,
|
|
85
|
+
n,
|
|
86
|
+
r
|
|
87
|
+
]);
|
|
88
|
+
}
|
|
89
|
+
function T(e, n) {
|
|
90
|
+
t(() => {
|
|
91
|
+
if (!e) return;
|
|
92
|
+
let t = (e) => {
|
|
93
|
+
if (e.key !== "Tab") return;
|
|
94
|
+
let t = n.current;
|
|
95
|
+
if (!t) return;
|
|
96
|
+
let r = v(t);
|
|
97
|
+
if (r.length === 0 && document.activeElement === t) {
|
|
98
|
+
e.preventDefault();
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
101
|
+
if (r.length === 0) return;
|
|
102
|
+
let i = r[0], a = r[r.length - 1];
|
|
103
|
+
e.shiftKey ? document.activeElement === i && (e.preventDefault(), a.focus()) : document.activeElement === a && (e.preventDefault(), i.focus());
|
|
104
|
+
};
|
|
105
|
+
return document.addEventListener("keydown", t), () => document.removeEventListener("keydown", t);
|
|
106
|
+
}, [e, n]);
|
|
107
|
+
}
|
|
108
|
+
//#endregion
|
|
109
|
+
//#region src/shared/modal/modal.tsx
|
|
110
|
+
var E = d(null);
|
|
111
|
+
function D() {
|
|
112
|
+
let e = a(E);
|
|
113
|
+
if (!e) throw Error("Modal compound components must be used within Modal.Root");
|
|
114
|
+
return e;
|
|
115
|
+
}
|
|
116
|
+
function O({ open: e, children: t, onOpenChange: n, dismissible: i = !0, portalContainer: a, class: d, hasBackdrop: f = !0, manageInitialFocus: m = !0 }) {
|
|
117
|
+
let h = x(e, a ?? void 0), [g, _] = c(!1), v = s(null), y = o(() => {
|
|
118
|
+
i && n?.(!1);
|
|
119
|
+
}, [i, n]), b = r(() => ({
|
|
120
|
+
setHasDescription: _,
|
|
121
|
+
dismissible: i,
|
|
122
|
+
requestClose: y
|
|
123
|
+
}), [i, y]), D = e && !!h;
|
|
124
|
+
return S(e), C(e, i, y), w(D, v, m), T(D, v), !h || !e ? null : l(/* @__PURE__ */ u(E.Provider, {
|
|
125
|
+
value: b,
|
|
126
|
+
children: /* @__PURE__ */ u("div", {
|
|
127
|
+
class: p("IncodeModalRoot", d),
|
|
128
|
+
"data-incode-modal": "",
|
|
129
|
+
children: [f && /* @__PURE__ */ u("div", {
|
|
130
|
+
class: "IncodeModalBackdrop",
|
|
131
|
+
"aria-hidden": "true",
|
|
132
|
+
onMouseDown: () => {
|
|
133
|
+
y();
|
|
134
|
+
}
|
|
135
|
+
}), /* @__PURE__ */ u("div", {
|
|
136
|
+
ref: v,
|
|
137
|
+
class: "IncodeModalDialog",
|
|
138
|
+
role: "dialog",
|
|
139
|
+
"aria-modal": "true",
|
|
140
|
+
"aria-labelledby": "incode-modal-title",
|
|
141
|
+
"aria-describedby": g ? "incode-modal-description" : void 0,
|
|
142
|
+
tabIndex: -1,
|
|
143
|
+
onMouseDown: (e) => {
|
|
144
|
+
e.stopPropagation();
|
|
145
|
+
},
|
|
146
|
+
children: t
|
|
147
|
+
})]
|
|
148
|
+
})
|
|
149
|
+
}), h);
|
|
150
|
+
}
|
|
151
|
+
function k({ children: e, class: t }) {
|
|
152
|
+
return /* @__PURE__ */ u("div", {
|
|
153
|
+
class: p("IncodeModalContent", t),
|
|
154
|
+
children: e
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
function A({ "aria-label": e = "Close", title: t = "Close", class: n, onClick: r }) {
|
|
158
|
+
let { dismissible: i, requestClose: a } = D();
|
|
159
|
+
if (!i) return null;
|
|
160
|
+
let o = async () => {
|
|
161
|
+
r && await r(), a();
|
|
162
|
+
};
|
|
163
|
+
return /* @__PURE__ */ u("button", {
|
|
164
|
+
type: "button",
|
|
165
|
+
class: p("IncodeModalClose", n),
|
|
166
|
+
"aria-label": e,
|
|
167
|
+
title: t,
|
|
168
|
+
onClick: o,
|
|
169
|
+
children: /* @__PURE__ */ u(m, {
|
|
170
|
+
height: 32,
|
|
171
|
+
width: 32,
|
|
172
|
+
fillColor: "var(--icon-neutral-300)"
|
|
173
|
+
})
|
|
174
|
+
});
|
|
175
|
+
}
|
|
176
|
+
function j({ children: e, class: t }) {
|
|
177
|
+
return /* @__PURE__ */ u("div", {
|
|
178
|
+
class: p("IncodeModalIcon", t),
|
|
179
|
+
children: e
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
function M({ children: e, align: t = "center" }) {
|
|
183
|
+
let n = {
|
|
184
|
+
center: "IncodeModalTitleSectionCenter",
|
|
185
|
+
left: "IncodeModalTitleSectionLeft"
|
|
186
|
+
}[t];
|
|
187
|
+
return /* @__PURE__ */ u("div", {
|
|
188
|
+
class: n,
|
|
189
|
+
children: e
|
|
190
|
+
});
|
|
191
|
+
}
|
|
192
|
+
function N({ children: e, ref: t, class: n }) {
|
|
193
|
+
return /* @__PURE__ */ u("h2", {
|
|
194
|
+
id: "incode-modal-title",
|
|
195
|
+
ref: t,
|
|
196
|
+
className: p("IncodeModalTitle", n),
|
|
197
|
+
children: e
|
|
198
|
+
});
|
|
199
|
+
}
|
|
200
|
+
function P({ children: e, class: t }) {
|
|
201
|
+
let { setHasDescription: n } = D();
|
|
202
|
+
return i(() => (n(!0), () => n(!1)), [n]), /* @__PURE__ */ u("h5", {
|
|
203
|
+
id: "incode-modal-description",
|
|
204
|
+
className: p("IncodeModalSubtitle", t),
|
|
205
|
+
children: e
|
|
206
|
+
});
|
|
207
|
+
}
|
|
208
|
+
function F(t) {
|
|
209
|
+
return e(t) && t.props != null && typeof t.props == "object" && "autoFocus" in t.props;
|
|
210
|
+
}
|
|
211
|
+
function I({ children: t, class: r, orientation: i = "vertical" }) {
|
|
212
|
+
let a = i === "vertical" ? "IncodeModalActionsVertical" : "IncodeModalActionsHorizontal", o = f(t), s = [];
|
|
213
|
+
for (let i = 0; i < o.length; i++) {
|
|
214
|
+
let c = o[i];
|
|
215
|
+
if (F(c)) return /* @__PURE__ */ u("div", {
|
|
216
|
+
class: p(a, r),
|
|
217
|
+
role: "group",
|
|
218
|
+
children: t
|
|
219
|
+
});
|
|
220
|
+
s.push(e(c) && i === 0 ? n(c, { [g]: "" }) : c);
|
|
221
|
+
}
|
|
222
|
+
return /* @__PURE__ */ u("div", {
|
|
223
|
+
class: p(a, r),
|
|
224
|
+
role: "group",
|
|
225
|
+
children: s
|
|
226
|
+
});
|
|
227
|
+
}
|
|
228
|
+
var L = {
|
|
229
|
+
Root: O,
|
|
230
|
+
Content: k,
|
|
231
|
+
Close: A,
|
|
232
|
+
Icon: j,
|
|
233
|
+
TitleSection: M,
|
|
234
|
+
Title: N,
|
|
235
|
+
Subtitle: P,
|
|
236
|
+
Actions: I
|
|
237
|
+
};
|
|
238
|
+
//#endregion
|
|
239
|
+
export { L as t };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
1
|
+
import { n as e } from "./i18n-DUMvrSNM.js";
|
|
2
2
|
import { _ as t, h as n, l as r, p as i, v as a } from "./vendor-preact-D6SntenC.js";
|
|
3
3
|
import { t as o } from "./spacer-DCljE53A.js";
|
|
4
|
-
import { t as s } from "./button-
|
|
5
|
-
import { t as c } from "./inputComposed-
|
|
6
|
-
import "./inputComposed-
|
|
4
|
+
import { t as s } from "./button-BlHmZn6D.js";
|
|
5
|
+
import { t as c } from "./inputComposed-COz9TuR1.js";
|
|
6
|
+
import "./inputComposed-BWxnXHJf.js";
|
|
7
7
|
//#region src/shared/otpInput/otpInput.tsx
|
|
8
8
|
var l = 6, u = (e) => `${Math.floor(e / 60)}:${(e % 60).toString().padStart(2, "0")}`, d = (e) => e.replace(/[^a-zA-Z0-9]/g, "").toUpperCase().slice(0, l), f = ({ resendTimer: f, canResend: p, error: m, onSubmit: h, onResend: g, onBack: _, backLinkText: v = "otp.changePhoneNumber", disabled: y = !1, isLoading: b = !1 }) => {
|
|
9
9
|
let { t: x } = e(), [S, C] = i(""), w = r(null), T = r(0), E = r(null), D = r(null), O = r(p), k = r(!1), A = r(), j = n((e) => {
|
package/dist/phone/phone.es.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { n as e } from "../i18n-
|
|
1
|
+
import { n as e } from "../i18n-DUMvrSNM.js";
|
|
2
2
|
import { p as t, v as n } from "../vendor-preact-D6SntenC.js";
|
|
3
|
-
import {
|
|
3
|
+
import { c as r, r as i } from "../loadingIcon-ahC-hZN7.js";
|
|
4
4
|
import { t as a } from "../spacer-DCljE53A.js";
|
|
5
5
|
import { t as o } from "../page-kB-LDkaO.js";
|
|
6
|
-
import { t as s } from "../button-
|
|
7
|
-
import { t as c } from "../otpInput-
|
|
8
|
-
import { t as l } from "../checkbox-
|
|
9
|
-
import { t as u } from "../phoneInputComposed-
|
|
6
|
+
import { t as s } from "../button-BlHmZn6D.js";
|
|
7
|
+
import { t as c } from "../otpInput-CNAOHZxZ.js";
|
|
8
|
+
import { t as l } from "../checkbox-BNgPsssk.js";
|
|
9
|
+
import { t as u } from "../phoneInputComposed-w9tF4xYB.js";
|
|
10
10
|
import { t as d } from "../incodeModule-Di2OUZ5_.js";
|
|
11
11
|
import { createPhoneManager as f } from "@incodetech/core/phone";
|
|
12
12
|
//#region src/modules/phone/phone.tsx
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { S as e, _ as t, l as n, p as r, v as i } from "./vendor-preact-D6SntenC.js";
|
|
2
2
|
import { t as a } from "./spacer-DCljE53A.js";
|
|
3
|
-
import { c as o } from "./icons-
|
|
4
|
-
import { r as s, t as c } from "./countries-
|
|
5
|
-
import { n as l, t as u } from "./AsYouType-
|
|
3
|
+
import { c as o } from "./icons-CVO6RxwW.js";
|
|
4
|
+
import { r as s, t as c } from "./countries-DKKNtuUp.js";
|
|
5
|
+
import { n as l, t as u } from "./AsYouType-RC03ULcj.js";
|
|
6
6
|
//#region src/modules/phone/phoneInput.tsx
|
|
7
7
|
var d = ({ countryCode: d, prefilledPhone: f, phoneError: p, optinEnabled: m = !1, disabled: h = !1, autoFocus: g = !1, onPhoneChange: _, onOptInChange: v }) => {
|
|
8
8
|
let [y, b] = r(null), [x, S] = r(!1), [C, w] = r(""), [T, E] = r(!1), D = n(null), O = n(null);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { _ as e, a as t, d as n, h as r, l as i, p as a, v as o } from "./vendor-preact-D6SntenC.js";
|
|
2
|
-
import { m as s } from "./icons-
|
|
3
|
-
import { t as c } from "./successIcon-
|
|
4
|
-
import { t as l } from "./inputComposed-
|
|
5
|
-
import { i as u, r as d, t as f, u as p } from "./countries-
|
|
6
|
-
import { n as m, r as h, t as g } from "./AsYouType-
|
|
7
|
-
import { t as _ } from "./dropdownComposed-
|
|
2
|
+
import { m as s } from "./icons-CVO6RxwW.js";
|
|
3
|
+
import { t as c } from "./successIcon-AHrfmJvv.js";
|
|
4
|
+
import { t as l } from "./inputComposed-COz9TuR1.js";
|
|
5
|
+
import { i as u, r as d, t as f, u as p } from "./countries-DKKNtuUp.js";
|
|
6
|
+
import { n as m, r as h, t as g } from "./AsYouType-RC03ULcj.js";
|
|
7
|
+
import { t as _ } from "./dropdownComposed-CR1bc7Z9.js";
|
|
8
8
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/getExampleNumber.js
|
|
9
9
|
function v(e, t, n) {
|
|
10
10
|
if (t[e]) return new h(e, t[e], n);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
1
|
+
import { n as e } from "./i18n-DUMvrSNM.js";
|
|
2
2
|
import { v as t } from "./vendor-preact-D6SntenC.js";
|
|
3
|
-
import { t as n } from "./spinner-
|
|
3
|
+
import { t as n } from "./spinner-BAVCJLTE.js";
|
|
4
4
|
//#region src/shared/processing/processing.tsx
|
|
5
5
|
var r = () => {
|
|
6
6
|
let { t: r } = e();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { v as e } from "../vendor-preact-D6SntenC.js";
|
|
2
|
-
import { n as t } from "../electronic-signature-
|
|
2
|
+
import { n as t } from "../electronic-signature-DEAXKbsk.js";
|
|
3
3
|
import { t as n } from "../incodeModule-Di2OUZ5_.js";
|
|
4
4
|
//#region src/modules/qe-signature/qe-signature.tsx
|
|
5
5
|
var r = ({ config: n, onFinish: r, onError: i }) => /* @__PURE__ */ e(t, {
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CjdbFOpI.js";
|
|
2
|
-
import { n as t, t as n } from "./i18n-
|
|
2
|
+
import { n as t, t as n } from "./i18n-DUMvrSNM.js";
|
|
3
3
|
import { S as r, _ as i, c as a, g as o, h as s, o as c, p as l, v as u, x as d } from "./vendor-preact-D6SntenC.js";
|
|
4
|
-
import {
|
|
5
|
-
import { t as
|
|
6
|
-
import { n as
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import "./
|
|
10
|
-
import
|
|
11
|
-
import "./
|
|
12
|
-
import {
|
|
13
|
-
import { n as S } from "./countries-BntFjJJG.js";
|
|
4
|
+
import { c as f, n as p, r as m } from "./loadingIcon-ahC-hZN7.js";
|
|
5
|
+
import { t as h } from "./spacer-DCljE53A.js";
|
|
6
|
+
import { n as g, r as _, t as v } from "./verifiedByIncode-CMPwRtA2.js";
|
|
7
|
+
import { t as y } from "./spinner-BAVCJLTE.js";
|
|
8
|
+
import "./spinner-B-jf992b.js";
|
|
9
|
+
import { t as b } from "./button-BlHmZn6D.js";
|
|
10
|
+
import "./icons-CVO6RxwW.js";
|
|
11
|
+
import { t as x } from "./successIcon-AHrfmJvv.js";
|
|
12
|
+
import { n as S } from "./countries-DKKNtuUp.js";
|
|
14
13
|
import { t as C } from "./incodeModule-Di2OUZ5_.js";
|
|
15
14
|
import { createRedirectToMobileManager as w } from "@incodetech/core/redirect-to-mobile";
|
|
16
15
|
//#region src/shared/tabs/tabs.tsx
|
|
@@ -42,7 +41,7 @@ var T = d(null), E = () => {
|
|
|
42
41
|
let { activeValue: n, setActiveValue: r, triggerClassName: i, activeTriggerClassName: a } = E();
|
|
43
42
|
return /* @__PURE__ */ u("button", {
|
|
44
43
|
type: "button",
|
|
45
|
-
class:
|
|
44
|
+
class: p(i, n === e && a),
|
|
46
45
|
onClick: () => r(e),
|
|
47
46
|
children: t
|
|
48
47
|
});
|
|
@@ -64,12 +63,12 @@ var T = d(null), E = () => {
|
|
|
64
63
|
class: "IncodeRedirectLogo"
|
|
65
64
|
})
|
|
66
65
|
}),
|
|
67
|
-
/* @__PURE__ */ u(
|
|
66
|
+
/* @__PURE__ */ u(h, { size: 24 }),
|
|
68
67
|
/* @__PURE__ */ u("h1", {
|
|
69
68
|
class: "IncodeRedirectTitle",
|
|
70
69
|
children: n("v2.redirectToMobile.title")
|
|
71
70
|
}),
|
|
72
|
-
/* @__PURE__ */ u(
|
|
71
|
+
/* @__PURE__ */ u(h, { size: 12 }),
|
|
73
72
|
/* @__PURE__ */ u("p", {
|
|
74
73
|
class: "IncodeRedirectSubtitle",
|
|
75
74
|
children: n("v2.redirectToMobile.subtitle")
|
|
@@ -84,7 +83,7 @@ var T = d(null), E = () => {
|
|
|
84
83
|
variant: "link",
|
|
85
84
|
onClick: n,
|
|
86
85
|
children: r("redirect.continueOnDesktop")
|
|
87
|
-
}) : null, /* @__PURE__ */ u(
|
|
86
|
+
}) : null, /* @__PURE__ */ u(v, {})]
|
|
88
87
|
});
|
|
89
88
|
}, A = ({ visible: e }) => {
|
|
90
89
|
let { t: n } = t();
|
|
@@ -1356,17 +1355,17 @@ var T = d(null), E = () => {
|
|
|
1356
1355
|
class: "IncodeRedirectLinkSent",
|
|
1357
1356
|
children: [
|
|
1358
1357
|
/* @__PURE__ */ u(x, { size: 32 }),
|
|
1359
|
-
/* @__PURE__ */ u(
|
|
1358
|
+
/* @__PURE__ */ u(h, { size: 16 }),
|
|
1360
1359
|
/* @__PURE__ */ u("h2", {
|
|
1361
1360
|
class: "IncodeRedirectLinkSentTitle",
|
|
1362
1361
|
children: a("redirect.linkSent")
|
|
1363
1362
|
}),
|
|
1364
|
-
/* @__PURE__ */ u(
|
|
1363
|
+
/* @__PURE__ */ u(h, { size: 12 }),
|
|
1365
1364
|
/* @__PURE__ */ u("p", {
|
|
1366
1365
|
class: "IncodeRedirectLinkSentPhone",
|
|
1367
1366
|
children: a("redirect.linkSentTo", { phone: e })
|
|
1368
1367
|
}),
|
|
1369
|
-
/* @__PURE__ */ u(
|
|
1368
|
+
/* @__PURE__ */ u(h, { size: 32 }),
|
|
1370
1369
|
/* @__PURE__ */ u("div", {
|
|
1371
1370
|
class: "IncodeRedirectLinkSentActions",
|
|
1372
1371
|
children: /* @__PURE__ */ u(n, {
|
|
@@ -1386,7 +1385,7 @@ var T = d(null), E = () => {
|
|
|
1386
1385
|
})
|
|
1387
1386
|
]
|
|
1388
1387
|
});
|
|
1389
|
-
}, le = a(() => import("./phoneInput-
|
|
1388
|
+
}, le = a(() => import("./phoneInput-CzcmqH3C.js").then((e) => ({ default: e.PhoneInput }))), ue = ({ countryCode: e, phonePrefix: n, error: i, isSending: a, isPhoneValid: o, onPhoneChange: s, onSendSms: l }) => {
|
|
1390
1389
|
let { t: d } = t();
|
|
1391
1390
|
return /* @__PURE__ */ u(r, { children: [/* @__PURE__ */ u(c, {
|
|
1392
1391
|
fallback: /* @__PURE__ */ u(y, {}),
|
|
@@ -1503,11 +1502,11 @@ var T = d(null), E = () => {
|
|
|
1503
1502
|
]
|
|
1504
1503
|
});
|
|
1505
1504
|
}, he = ({ config: e, onFinish: t, onContinue: n, onError: r }) => {
|
|
1506
|
-
let [a, o] = f(() => w({ config: e })), { logoSrc: s, logoHeightPx: c } =
|
|
1505
|
+
let [a, o] = f(() => w({ config: e })), { logoSrc: s, logoHeightPx: c } = g({
|
|
1507
1506
|
hideHeader: void 0,
|
|
1508
1507
|
hideFooterBranding: void 0,
|
|
1509
1508
|
logo: void 0,
|
|
1510
|
-
defaultLogoSrc:
|
|
1509
|
+
defaultLogoSrc: _
|
|
1511
1510
|
});
|
|
1512
1511
|
i(() => {
|
|
1513
1512
|
a.status === "finished" && t?.();
|
|
@@ -1535,7 +1534,7 @@ var T = d(null), E = () => {
|
|
|
1535
1534
|
style: { "--logo-height": `${c}px` },
|
|
1536
1535
|
children: l
|
|
1537
1536
|
});
|
|
1538
|
-
}, $ = ({ config: e, onFinish: t, onContinue: n, onError: r }) => /* @__PURE__ */ u(
|
|
1537
|
+
}, $ = ({ config: e, onFinish: t, onContinue: n, onError: r }) => /* @__PURE__ */ u(m, { children: e ? /* @__PURE__ */ u(he, {
|
|
1539
1538
|
config: e,
|
|
1540
1539
|
onFinish: t,
|
|
1541
1540
|
onContinue: n,
|
package/dist/selfie/selfie.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { v as e } from "../vendor-preact-D6SntenC.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as r } from "../processing-
|
|
4
|
-
import { n as i, r as a, t as o } from "../tutorial-
|
|
2
|
+
import { c as t, r as n } from "../loadingIcon-ahC-hZN7.js";
|
|
3
|
+
import { t as r } from "../processing-CR7zb0TX.js";
|
|
4
|
+
import { n as i, r as a, t as o } from "../tutorial-Dqk1zedL.js";
|
|
5
5
|
import { t as s } from "../incodeModule-Di2OUZ5_.js";
|
|
6
6
|
import { createSelfieManager as c } from "@incodetech/core/selfie";
|
|
7
7
|
//#region src/modules/selfie/selfie.tsx
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { n as e } from "../i18n-
|
|
1
|
+
import { n as e } from "../i18n-DUMvrSNM.js";
|
|
2
2
|
import { _ as t, a as n, d as r, h as i, l as a, p as o, u as s, v as c } from "../vendor-preact-D6SntenC.js";
|
|
3
|
-
import {
|
|
3
|
+
import { c as l, r as u } from "../loadingIcon-ahC-hZN7.js";
|
|
4
4
|
import { t as d } from "../spacer-DCljE53A.js";
|
|
5
5
|
import { t as f } from "../page-kB-LDkaO.js";
|
|
6
|
-
import { r as p } from "../typography-
|
|
7
|
-
import "../typography-
|
|
8
|
-
import { t as m } from "../button-
|
|
9
|
-
import { t as h } from "../successIcon-
|
|
6
|
+
import { r as p } from "../typography-7cXma7kl.js";
|
|
7
|
+
import "../typography-CsEiWMTG.js";
|
|
8
|
+
import { t as m } from "../button-BlHmZn6D.js";
|
|
9
|
+
import { t as h } from "../successIcon-AHrfmJvv.js";
|
|
10
10
|
import { t as g } from "../incodeModule-Di2OUZ5_.js";
|
|
11
11
|
import { t as _ } from "../defineProperty-DXvyTpBq.js";
|
|
12
12
|
import { createSignatureManager as v } from "@incodetech/core/signature";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./spinner-BAVCJLTE.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { S as e, _ as t, l as n, v as r } from "./vendor-preact-D6SntenC.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as s } from "./typography-
|
|
5
|
-
import "./typography-
|
|
2
|
+
import { n as i, t as a } from "./loadingIcon-ahC-hZN7.js";
|
|
3
|
+
import { t as o } from "./spacer-DCljE53A.js";
|
|
4
|
+
import { t as s } from "./typography-7cXma7kl.js";
|
|
5
|
+
import "./typography-CsEiWMTG.js";
|
|
6
6
|
//#region src/shared/spinner/spinner.tsx
|
|
7
7
|
var c = {
|
|
8
8
|
small: 24,
|
|
@@ -13,7 +13,7 @@ var c = {
|
|
|
13
13
|
return t(() => {
|
|
14
14
|
l && h.current?.focus();
|
|
15
15
|
}, [l]), /* @__PURE__ */ r("div", {
|
|
16
|
-
class:
|
|
16
|
+
class: i("IncodeSpinner", f && "IncodeSpinnerFullScreen", p),
|
|
17
17
|
"data-testid": "spinner",
|
|
18
18
|
"data-title": l,
|
|
19
19
|
"data-subtitle": u,
|
|
@@ -22,14 +22,14 @@ var c = {
|
|
|
22
22
|
"aria-live": "polite",
|
|
23
23
|
children: /* @__PURE__ */ r("div", {
|
|
24
24
|
class: "IncodeSpinnerContent",
|
|
25
|
-
children: [/* @__PURE__ */ r(
|
|
25
|
+
children: [/* @__PURE__ */ r(a, { size: m }), (l || u) && /* @__PURE__ */ r(e, { children: [/* @__PURE__ */ r(o, { size: 16 }), /* @__PURE__ */ r("div", {
|
|
26
26
|
class: "IncodeSpinnerText",
|
|
27
27
|
children: [l && /* @__PURE__ */ r(s, {
|
|
28
28
|
ref: h,
|
|
29
29
|
tabIndex: -1,
|
|
30
30
|
className: "IncodeSpinnerTitle",
|
|
31
31
|
children: l
|
|
32
|
-
}), u && /* @__PURE__ */ r(e, { children: [l && /* @__PURE__ */ r(
|
|
32
|
+
}), u && /* @__PURE__ */ r(e, { children: [l && /* @__PURE__ */ r(o, { size: 12 }), /* @__PURE__ */ r("p", {
|
|
33
33
|
class: "IncodeSpinnerSubtitle",
|
|
34
34
|
children: u
|
|
35
35
|
})] })]
|