@incodetech/web 0.0.0-dev-20260413-de45fd6 → 0.0.0-dev-20260414-db434be
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-RC03ULcj.js → AsYouType-B4o16RK-.js} +1 -1
- package/dist/{addressAutocomplete-BzKQlke5.js → addressAutocomplete-clIKNkjY.js} +4 -4
- package/dist/antifraud/antifraud.es.js +3 -3
- package/dist/authentication/authentication.es.js +3 -3
- package/dist/{button-Dt72Wn3U.js → button-jwSm4U5l.js} +1 -1
- package/dist/{checkbox-BcJjkRs3.js → checkbox-wWm8XoSW.js} +2 -2
- package/dist/consent/consent.es.js +8 -8
- package/dist/cross-document-data-match/cross-document-data-match.es.js +3 -3
- package/dist/curp-validation/curp-validation.es.js +13 -12
- package/dist/{dateInputComposed-wl-LTsul.js → dateInputComposed-B8M1S8IE.js} +4 -4
- package/dist/dateInputComposed-CMXsd3e8.js +1 -0
- package/dist/{documentCapture-Dq3f3k8G.js → documentCapture-C-BU1TtU.js} +65 -64
- package/dist/{dropdownComposed-C2cDpZSB.js → dropdownComposed-B7Rf3npJ.js} +3 -3
- package/dist/dropdownComposed-CxqviEIA.js +1 -0
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/{ekybModule-BYVTPcyc.js → ekybModule-BsOrYRG0.js} +12 -12
- package/dist/ekybModule-sjS57QPL.js +2 -0
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/{ekycModule-B1lCL9iB.js → ekycModule-_vdfs1a4.js} +17 -17
- package/dist/ekycModule-kRl81T6E.js +2 -0
- package/dist/email/email.es.js +7 -7
- package/dist/{extensibility-CmPLnDak.js → extensibility-tO37wsbP.js} +94 -92
- package/dist/extensibility.es.js +19 -19
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/{faceMatch-DZckqChs.js → faceMatch-D1GjnGfn.js} +5 -5
- package/dist/faceMatch-DUwmH-m0.js +2 -0
- package/dist/flow/flow.es.js +53 -31
- package/dist/flow/styles.css +383 -0
- package/dist/{formField-_F-aIXct.js → formField-CZ3jGB7v.js} +6 -6
- package/dist/geolocation/geolocation.es.js +5 -5
- package/dist/governmentValidation/governmentValidation.es.js +8 -8
- package/dist/home/home.es.js +127 -0
- package/dist/home/styles.css +172 -0
- package/dist/{i18n-DGG1zc7t.js → i18n-BpEDCZi_.js} +264 -173
- package/dist/{icons-CkLer5E1.js → icons-BQHZM1UW.js} +1 -1
- package/dist/id/id.es.js +6 -6
- package/dist/identity-reuse/identity-reuse.es.js +5 -5
- package/dist/{loadingIcon-B3xEpDvA.js → incodeComponent-DIb7wDAq.js} +2 -42
- package/dist/index.es.js +1 -1
- package/dist/{inputComposed-yULlZXg1.js → inputComposed-CE-pW9An.js} +3 -3
- package/dist/inputComposed-CQ1wB4Ic.js +1 -0
- package/dist/language-BWPDK42W.js +50 -0
- package/dist/loadingIcon-YV3D_mg8.js +42 -0
- package/dist/{mandatoryConsent-2R7jBWsg.js → mandatoryConsent-BHSXliQf.js} +8 -8
- package/dist/{otpInput-2FjlqNe0.js → otpInput-CmaZThVX.js} +4 -4
- package/dist/phone/phone.es.js +7 -7
- package/dist/{phoneInput-CYbUN3oz.js → phoneInput-BZ2_X-FN.js} +3 -3
- package/dist/{phoneInputComposed-CkL_nMPT.js → phoneInputComposed-DjoMRkpP.js} +6 -6
- package/dist/{processing-DQZbnwZT.js → processing-DzUxOOaV.js} +2 -2
- package/dist/{redirectToMobile-D5bLaBcP.js → redirectToMobile-CZ-BH-_k.js} +23 -22
- package/dist/redirectToMobile-UmMOoiLd.js +2 -0
- package/dist/{richText-C9m4iMuF.js → richText-x3PUEJXl.js} +1 -1
- package/dist/selfie/selfie.es.js +4 -4
- package/dist/settings-BZAx3g3s.js +68 -0
- package/dist/{setup-CATCmh3T.js → setup-D7-7VjBv.js} +1 -1
- package/dist/signature/signature.es.js +8 -8
- package/dist/spinner-BEm5Wf_k.js +1 -0
- package/dist/{spinner-Bg7qBKjN.js → spinner-Dg3lumvu.js} +7 -7
- package/dist/themes/dark.css +4 -0
- package/dist/themes/light.css +4 -0
- package/dist/{tutorial-CBnrTcCn.js → tutorial-BjD2xHi5.js} +87 -86
- package/dist/types/extensibility.d.ts +1 -0
- package/dist/types/flow.d.ts +2 -0
- package/dist/types/home.d.ts +30 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/watchlist.d.ts +35 -0
- package/dist/{typography-zTCXRf-k.js → typography-BeNe2WRr.js} +1 -1
- package/dist/typography-eCzT8rG3.js +1 -0
- package/dist/{useModuleLoader-CBGcrysg.js → useModuleLoader-1zMHjvrq.js} +36 -31
- package/dist/watchlist/styles.css +50 -0
- package/dist/watchlist/watchlist.es.js +55 -0
- package/dist/workflow/workflow.es.js +7 -7
- package/package.json +2 -2
- package/dist/dateInputComposed-DU2hZfnf.js +0 -2
- package/dist/ekybModule-DmJn-l9y.js +0 -2
- package/dist/ekycModule-7NvOShMA.js +0 -2
- package/dist/faceMatch-DNtfzTrd.js +0 -2
- package/dist/inputComposed-C3Q-eQ1V.js +0 -1
- package/dist/redirectToMobile-CPO4Gb0B.js +0 -2
- package/dist/spinner-QBqW9mDr.js +0 -1
- package/dist/typography-CwxsnrN2.js +0 -1
- /package/dist/{aligndevicelottie-Dzk0EYVz.js → aligndevicelottie-qUSV6Le7.js} +0 -0
- /package/dist/{back-horizontal-hint-BgG85hNR.js → back-horizontal-hint-iEWk08tl.js} +0 -0
- /package/dist/{back-tutorial-CJwYD2hu.js → back-tutorial-BZmE2nCI.js} +0 -0
- /package/dist/{back-vertical-hint-BhG7RS-O.js → back-vertical-hint-CB37PPBM.js} +0 -0
- /package/dist/{backdevicelottie-TJ3pa5kD.js → backdevicelottie-DFySVtix.js} +0 -0
- /package/dist/{blurdevicelottie-gPcFwLJO.js → blurdevicelottie-Vrw4Q73g.js} +0 -0
- /package/dist/{browser-ponyfill-CYOHdF5Y.js → browser-ponyfill-CRq2EKxP.js} +0 -0
- /package/dist/{countries-DKKNtuUp.js → countries-BntFjJJG.js} +0 -0
- /package/dist/{defineProperty-eqPYf0qG.js → defineProperty-85sU8KgM.js} +0 -0
- /package/dist/{flip-animation-ygeHr8Wk.js → flip-animation-C5qWdHLD.js} +0 -0
- /package/dist/{front-horizontal-hint-yIMvej7H.js → front-horizontal-hint-pRbh84gx.js} +0 -0
- /package/dist/{front-vertical-hint-ZYgpMlDz.js → front-vertical-hint-BAKFge2R.js} +0 -0
- /package/dist/{frontdevicelottie-CJbKuefM.js → frontdevicelottie-oZ1W9xZw.js} +0 -0
- /package/dist/{glaredevicelottie-DeGIxDRx.js → glaredevicelottie-sI8UXrQF.js} +0 -0
- /package/dist/{id-laser-h-B7ddWmEe.js → id-laser-h-DeeqVBeU.js} +0 -0
- /package/dist/{id-laser-v-CI4GubjY.js → id-laser-v-CWbE_3-e.js} +0 -0
- /package/dist/{id-tutorial-B1vsh6Wp.js → id-tutorial-CSjRVua_.js} +0 -0
- /package/dist/{incodeModule-C3p8eAh_.js → incodeModule-CXOUgU0z.js} +0 -0
- /package/dist/{numberedStep-CoxrYWYg.js → numberedStep-LYLcVRNh.js} +0 -0
- /package/dist/{passport-horizontal-hint-BLM_Rdz4.js → passport-horizontal-hint-CKL1CfSO.js} +0 -0
- /package/dist/{passport-tutorial-DH7UEOHu.js → passport-tutorial-CfuYKkED.js} +0 -0
- /package/dist/{passport-vertical-hint-BVKS-R7d.js → passport-vertical-hint-BK1gSSwh.js} +0 -0
- /package/dist/{selfieTutorial-BZFLHPco.js → selfieTutorial-Cu9vXjss.js} +0 -0
- /package/dist/{successIcon-Dklx5JWI.js → successIcon-C4GI_9SU.js} +0 -0
- /package/dist/{warningIcon-Bv_pDQV-.js → warningIcon-DG65BSMr.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { m as e, v as t } from "./vendor-preact-D6SntenC.js";
|
|
2
|
-
import "./successIcon-
|
|
2
|
+
import "./successIcon-C4GI_9SU.js";
|
|
3
3
|
//#region src/shared/icons/errorIcon.tsx
|
|
4
4
|
var n = ({ size: e = 32 }) => /* @__PURE__ */ t("svg", {
|
|
5
5
|
xmlns: "http://www.w3.org/2000/svg",
|
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-
|
|
6
|
-
import { t as p } from "../incodeModule-
|
|
2
|
+
import { o as r, t as i } from "../incodeComponent-DIb7wDAq.js";
|
|
3
|
+
import { a, i as o, n as s, o as c, r as l, t as u } from "../extensibility-tO37wsbP.js";
|
|
4
|
+
import { t as d } from "../processing-DzUxOOaV.js";
|
|
5
|
+
import { r as f } from "../tutorial-BjD2xHi5.js";
|
|
6
|
+
import { t as p } from "../incodeModule-CXOUgU0z.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-BHSXliQf.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,10 +1,10 @@
|
|
|
1
|
-
import { n as e } from "../i18n-
|
|
1
|
+
import { n as e } from "../i18n-BpEDCZi_.js";
|
|
2
2
|
import { _ as t, v as n } from "../vendor-preact-D6SntenC.js";
|
|
3
|
-
import {
|
|
3
|
+
import { o as r, t as i } from "../incodeComponent-DIb7wDAq.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-
|
|
7
|
-
import { t as c } from "../incodeModule-
|
|
5
|
+
import { t as o } from "../spinner-Dg3lumvu.js";
|
|
6
|
+
import { t as s } from "../button-jwSm4U5l.js";
|
|
7
|
+
import { t as c } from "../incodeModule-CXOUgU0z.js";
|
|
8
8
|
import { createIdentityReuseManager as l } from "@incodetech/core/identity-reuse";
|
|
9
9
|
//#region src/modules/identity-reuse/identity-reuse.tsx
|
|
10
10
|
var u = ({ name: e }) => /* @__PURE__ */ n("div", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
1
|
+
import { n as e } from "./i18n-BpEDCZi_.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,44 +104,4 @@ function S({ children: e }) {
|
|
|
104
104
|
});
|
|
105
105
|
}
|
|
106
106
|
//#endregion
|
|
107
|
-
|
|
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 };
|
|
107
|
+
export { m as a, h as i, x as n, d as o, v as r, S as t };
|
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-D7-7VjBv.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 };
|
|
@@ -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 { o as r, p as i } from "./icons-
|
|
4
|
-
import { t as a } from "./successIcon-
|
|
2
|
+
import { n } from "./loadingIcon-YV3D_mg8.js";
|
|
3
|
+
import { o as r, p as i } from "./icons-BQHZM1UW.js";
|
|
4
|
+
import { t as a } from "./successIcon-C4GI_9SU.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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./inputComposed-CE-pW9An.js";
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { a as e, n as t, o as n } from "./i18n-BpEDCZi_.js";
|
|
2
|
+
import { d as r } from "./vendor-preact-D6SntenC.js";
|
|
3
|
+
//#region src/modules/home/language.ts
|
|
4
|
+
function i(e, t) {
|
|
5
|
+
let [n, ...r] = Array.from(e);
|
|
6
|
+
return n ? `${n.toLocaleUpperCase(t)}${r.join("")}` : e;
|
|
7
|
+
}
|
|
8
|
+
function a(t) {
|
|
9
|
+
let [, n] = t.split("-");
|
|
10
|
+
if (n && /^[A-Z]{2}$/.test(n)) return n;
|
|
11
|
+
let r = e(t), i = Array.from(r).map((e) => e.codePointAt(0));
|
|
12
|
+
if (i.length !== 2) return null;
|
|
13
|
+
let a = i.map((e) => !e || e < 127462 || e > 127487 ? null : String.fromCharCode(e - 127462 + 65));
|
|
14
|
+
return a.some((e) => e === null) ? null : a.join("");
|
|
15
|
+
}
|
|
16
|
+
function o(e, t) {
|
|
17
|
+
return typeof Intl < "u" && Intl.DisplayNames !== void 0 ? i(new Intl.DisplayNames([t, "en"], { type: "language" }).of(e) ?? e, t) : i(e, t);
|
|
18
|
+
}
|
|
19
|
+
function s(t, n) {
|
|
20
|
+
let r = t.split("-")[0] || t, i = a(t), s = o(r, n), c = i ? ` (${i})` : "";
|
|
21
|
+
return `${e(t)} ${s}${c}`;
|
|
22
|
+
}
|
|
23
|
+
function c(t, n) {
|
|
24
|
+
let r = e(t), [o, s] = t.split("-"), c = o || t, l = i(new Intl.DisplayNames([n, "en"], { type: "language" }).of(c) ?? c, n);
|
|
25
|
+
if (s && !/^[A-Z]{2}$/.test(s)) return `${r} ${i(new Intl.DisplayNames([n, "en"], { type: "language" }).of(t) ?? t, n)}`;
|
|
26
|
+
if (s) return `${r} ${l} (${new Intl.DisplayNames([n, "en"], { type: "region" }).of(s) ?? s})`;
|
|
27
|
+
let u = a(t);
|
|
28
|
+
return u ? `${r} ${l} (${u})` : `${r} ${l}`;
|
|
29
|
+
}
|
|
30
|
+
function l(e) {
|
|
31
|
+
let t = [...new Set(n)].map((t) => ({
|
|
32
|
+
value: t,
|
|
33
|
+
label: c(t, e)
|
|
34
|
+
}));
|
|
35
|
+
return t.sort((e, t) => e.label.localeCompare(t.label)), t;
|
|
36
|
+
}
|
|
37
|
+
async function u(e, t) {
|
|
38
|
+
await e(t), typeof localStorage < "u" && localStorage.setItem("language", t), typeof document < "u" && (document.documentElement.lang = t);
|
|
39
|
+
}
|
|
40
|
+
function d() {
|
|
41
|
+
let { i18n: e } = t(), n = e.language || "en", i = r(() => l(n), [n]);
|
|
42
|
+
return {
|
|
43
|
+
selectedLanguage: n,
|
|
44
|
+
selectedMainLanguageLabel: s(n, n),
|
|
45
|
+
languageOptions: i,
|
|
46
|
+
changeLanguage: (t) => u(e.changeLanguage.bind(e), t)
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
//#endregion
|
|
50
|
+
export { d as t };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { v as e } from "./vendor-preact-D6SntenC.js";
|
|
2
|
+
//#region src/styles/cn.tsx
|
|
3
|
+
var t = (...e) => {
|
|
4
|
+
let t = [];
|
|
5
|
+
for (let n of e) if (n) {
|
|
6
|
+
if (typeof n == "string") t.push(n);
|
|
7
|
+
else if (typeof n == "object") for (let [e, r] of Object.entries(n)) r && t.push(e);
|
|
8
|
+
}
|
|
9
|
+
return t.join(" ");
|
|
10
|
+
}, n = ({ size: n, className: r }) => /* @__PURE__ */ e("svg", {
|
|
11
|
+
width: n,
|
|
12
|
+
height: n,
|
|
13
|
+
viewBox: "0 0 31 31",
|
|
14
|
+
fill: "none",
|
|
15
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
16
|
+
class: t("IncodeLoadingIconPrimaryIcon", r),
|
|
17
|
+
"aria-hidden": "true",
|
|
18
|
+
children: /* @__PURE__ */ e("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" })
|
|
19
|
+
}), r = ({ size: n, className: r }) => /* @__PURE__ */ e("svg", {
|
|
20
|
+
width: n,
|
|
21
|
+
height: n,
|
|
22
|
+
viewBox: "0 0 31 31",
|
|
23
|
+
fill: "none",
|
|
24
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
25
|
+
class: t("IncodeLoadingIconSecondaryIcon", r),
|
|
26
|
+
"aria-hidden": "true",
|
|
27
|
+
children: [/* @__PURE__ */ e("title", { children: "Spinner Outer part" }), /* @__PURE__ */ e("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" })]
|
|
28
|
+
}), i = ({ size: t = 30, secondaryClass: i, primaryClass: a }) => /* @__PURE__ */ e("div", {
|
|
29
|
+
class: "IncodeLoadingIcon",
|
|
30
|
+
children: [/* @__PURE__ */ e(r, {
|
|
31
|
+
size: t,
|
|
32
|
+
className: i
|
|
33
|
+
}), /* @__PURE__ */ e("div", {
|
|
34
|
+
class: "IncodeLoadingIconPrimary",
|
|
35
|
+
children: /* @__PURE__ */ e(n, {
|
|
36
|
+
size: t,
|
|
37
|
+
className: a
|
|
38
|
+
})
|
|
39
|
+
})]
|
|
40
|
+
});
|
|
41
|
+
//#endregion
|
|
42
|
+
export { t as n, i as t };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
1
|
+
import { n as e } from "./i18n-BpEDCZi_.js";
|
|
2
2
|
import { _ as t, v as n } from "./vendor-preact-D6SntenC.js";
|
|
3
|
-
import {
|
|
3
|
+
import { o as r, t as i } from "./incodeComponent-DIb7wDAq.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-
|
|
9
|
-
import { t as l } from "./incodeModule-
|
|
10
|
-
import { t as u } from "./richText-
|
|
5
|
+
import { t as o } from "./spinner-Dg3lumvu.js";
|
|
6
|
+
import "./spinner-BEm5Wf_k.js";
|
|
7
|
+
import { t as s } from "./button-jwSm4U5l.js";
|
|
8
|
+
import { t as c } from "./checkbox-wWm8XoSW.js";
|
|
9
|
+
import { t as l } from "./incodeModule-CXOUgU0z.js";
|
|
10
|
+
import { t as u } from "./richText-x3PUEJXl.js";
|
|
11
11
|
import { createMandatoryConsentManager as d } from "@incodetech/core/mandatory-consent";
|
|
12
12
|
//#region src/modules/mandatory-consent/mandatoryConsent.tsx
|
|
13
13
|
var f = ({ config: i, manager: l, onFinish: f, onError: p }) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
1
|
+
import { n as e } from "./i18n-BpEDCZi_.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-jwSm4U5l.js";
|
|
5
|
+
import { t as c } from "./inputComposed-CE-pW9An.js";
|
|
6
|
+
import "./inputComposed-CQ1wB4Ic.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,13 +1,13 @@
|
|
|
1
|
-
import { n as e } from "../i18n-
|
|
1
|
+
import { n as e } from "../i18n-BpEDCZi_.js";
|
|
2
2
|
import { p as t, v as n } from "../vendor-preact-D6SntenC.js";
|
|
3
|
-
import {
|
|
3
|
+
import { o as r, t as i } from "../incodeComponent-DIb7wDAq.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-
|
|
10
|
-
import { t as d } from "../incodeModule-
|
|
6
|
+
import { t as s } from "../button-jwSm4U5l.js";
|
|
7
|
+
import { t as c } from "../otpInput-CmaZThVX.js";
|
|
8
|
+
import { t as l } from "../checkbox-wWm8XoSW.js";
|
|
9
|
+
import { t as u } from "../phoneInputComposed-DjoMRkpP.js";
|
|
10
|
+
import { t as d } from "../incodeModule-CXOUgU0z.js";
|
|
11
11
|
import { createPhoneManager as f } from "@incodetech/core/phone";
|
|
12
12
|
//#region src/modules/phone/phone.tsx
|
|
13
13
|
var p = ({ config: i, manager: d, onFinish: p, onError: m }) => {
|
|
@@ -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-BQHZM1UW.js";
|
|
4
|
+
import { r as s, t as c } from "./countries-BntFjJJG.js";
|
|
5
|
+
import { n as l, t as u } from "./AsYouType-B4o16RK-.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 { p 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 { p as s } from "./icons-BQHZM1UW.js";
|
|
3
|
+
import { t as c } from "./successIcon-C4GI_9SU.js";
|
|
4
|
+
import { t as l } from "./inputComposed-CE-pW9An.js";
|
|
5
|
+
import { i as u, r as d, t as f, u as p } from "./countries-BntFjJJG.js";
|
|
6
|
+
import { n as m, r as h, t as g } from "./AsYouType-B4o16RK-.js";
|
|
7
|
+
import { t as _ } from "./dropdownComposed-B7Rf3npJ.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-BpEDCZi_.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-Dg3lumvu.js";
|
|
4
4
|
//#region src/shared/processing/processing.tsx
|
|
5
5
|
var r = () => {
|
|
6
6
|
let { t: r } = e();
|
|
@@ -1,16 +1,17 @@
|
|
|
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-BpEDCZi_.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 "./spinner-
|
|
9
|
-
import
|
|
10
|
-
import "./
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
4
|
+
import { o as f, t as p } from "./incodeComponent-DIb7wDAq.js";
|
|
5
|
+
import { t as m } from "./spacer-DCljE53A.js";
|
|
6
|
+
import { n as h, r as g, t as _ } from "./verifiedByIncode-CMPwRtA2.js";
|
|
7
|
+
import { n as v } from "./loadingIcon-YV3D_mg8.js";
|
|
8
|
+
import { t as y } from "./spinner-Dg3lumvu.js";
|
|
9
|
+
import "./spinner-BEm5Wf_k.js";
|
|
10
|
+
import { t as b } from "./button-jwSm4U5l.js";
|
|
11
|
+
import "./icons-BQHZM1UW.js";
|
|
12
|
+
import { t as x } from "./successIcon-C4GI_9SU.js";
|
|
13
|
+
import { n as S } from "./countries-BntFjJJG.js";
|
|
14
|
+
import { t as C } from "./incodeModule-CXOUgU0z.js";
|
|
14
15
|
import { createRedirectToMobileManager as w } from "@incodetech/core/redirect-to-mobile";
|
|
15
16
|
//#region src/shared/tabs/tabs.tsx
|
|
16
17
|
var T = d(null), E = () => {
|
|
@@ -41,7 +42,7 @@ var T = d(null), E = () => {
|
|
|
41
42
|
let { activeValue: n, setActiveValue: r, triggerClassName: i, activeTriggerClassName: a } = E();
|
|
42
43
|
return /* @__PURE__ */ u("button", {
|
|
43
44
|
type: "button",
|
|
44
|
-
class:
|
|
45
|
+
class: v(i, n === e && a),
|
|
45
46
|
onClick: () => r(e),
|
|
46
47
|
children: t
|
|
47
48
|
});
|
|
@@ -63,12 +64,12 @@ var T = d(null), E = () => {
|
|
|
63
64
|
class: "IncodeRedirectLogo"
|
|
64
65
|
})
|
|
65
66
|
}),
|
|
66
|
-
/* @__PURE__ */ u(
|
|
67
|
+
/* @__PURE__ */ u(m, { size: 24 }),
|
|
67
68
|
/* @__PURE__ */ u("h1", {
|
|
68
69
|
class: "IncodeRedirectTitle",
|
|
69
70
|
children: n("v2.redirectToMobile.title")
|
|
70
71
|
}),
|
|
71
|
-
/* @__PURE__ */ u(
|
|
72
|
+
/* @__PURE__ */ u(m, { size: 12 }),
|
|
72
73
|
/* @__PURE__ */ u("p", {
|
|
73
74
|
class: "IncodeRedirectSubtitle",
|
|
74
75
|
children: n("v2.redirectToMobile.subtitle")
|
|
@@ -83,7 +84,7 @@ var T = d(null), E = () => {
|
|
|
83
84
|
variant: "link",
|
|
84
85
|
onClick: n,
|
|
85
86
|
children: r("redirect.continueOnDesktop")
|
|
86
|
-
}) : null, /* @__PURE__ */ u(
|
|
87
|
+
}) : null, /* @__PURE__ */ u(_, {})]
|
|
87
88
|
});
|
|
88
89
|
}, A = ({ visible: e }) => {
|
|
89
90
|
let { t: n } = t();
|
|
@@ -1355,17 +1356,17 @@ var T = d(null), E = () => {
|
|
|
1355
1356
|
class: "IncodeRedirectLinkSent",
|
|
1356
1357
|
children: [
|
|
1357
1358
|
/* @__PURE__ */ u(x, { size: 32 }),
|
|
1358
|
-
/* @__PURE__ */ u(
|
|
1359
|
+
/* @__PURE__ */ u(m, { size: 16 }),
|
|
1359
1360
|
/* @__PURE__ */ u("h2", {
|
|
1360
1361
|
class: "IncodeRedirectLinkSentTitle",
|
|
1361
1362
|
children: a("redirect.linkSent")
|
|
1362
1363
|
}),
|
|
1363
|
-
/* @__PURE__ */ u(
|
|
1364
|
+
/* @__PURE__ */ u(m, { size: 12 }),
|
|
1364
1365
|
/* @__PURE__ */ u("p", {
|
|
1365
1366
|
class: "IncodeRedirectLinkSentPhone",
|
|
1366
1367
|
children: a("redirect.linkSentTo", { phone: e })
|
|
1367
1368
|
}),
|
|
1368
|
-
/* @__PURE__ */ u(
|
|
1369
|
+
/* @__PURE__ */ u(m, { size: 32 }),
|
|
1369
1370
|
/* @__PURE__ */ u("div", {
|
|
1370
1371
|
class: "IncodeRedirectLinkSentActions",
|
|
1371
1372
|
children: /* @__PURE__ */ u(n, {
|
|
@@ -1385,7 +1386,7 @@ var T = d(null), E = () => {
|
|
|
1385
1386
|
})
|
|
1386
1387
|
]
|
|
1387
1388
|
});
|
|
1388
|
-
}, le = a(() => import("./phoneInput-
|
|
1389
|
+
}, le = a(() => import("./phoneInput-BZ2_X-FN.js").then((e) => ({ default: e.PhoneInput }))), ue = ({ countryCode: e, phonePrefix: n, error: i, isSending: a, isPhoneValid: o, onPhoneChange: s, onSendSms: l }) => {
|
|
1389
1390
|
let { t: d } = t();
|
|
1390
1391
|
return /* @__PURE__ */ u(r, { children: [/* @__PURE__ */ u(c, {
|
|
1391
1392
|
fallback: /* @__PURE__ */ u(y, {}),
|
|
@@ -1502,11 +1503,11 @@ var T = d(null), E = () => {
|
|
|
1502
1503
|
]
|
|
1503
1504
|
});
|
|
1504
1505
|
}, he = ({ config: e, onFinish: t, onContinue: n, onError: r }) => {
|
|
1505
|
-
let [a, o] = f(() => w({ config: e })), { logoSrc: s, logoHeightPx: c } =
|
|
1506
|
+
let [a, o] = f(() => w({ config: e })), { logoSrc: s, logoHeightPx: c } = h({
|
|
1506
1507
|
hideHeader: void 0,
|
|
1507
1508
|
hideFooterBranding: void 0,
|
|
1508
1509
|
logo: void 0,
|
|
1509
|
-
defaultLogoSrc:
|
|
1510
|
+
defaultLogoSrc: g
|
|
1510
1511
|
});
|
|
1511
1512
|
i(() => {
|
|
1512
1513
|
a.status === "finished" && t?.();
|
|
@@ -1534,7 +1535,7 @@ var T = d(null), E = () => {
|
|
|
1534
1535
|
style: { "--logo-height": `${c}px` },
|
|
1535
1536
|
children: l
|
|
1536
1537
|
});
|
|
1537
|
-
}, $ = ({ config: e, onFinish: t, onContinue: n, onError: r }) => /* @__PURE__ */ u(
|
|
1538
|
+
}, $ = ({ config: e, onFinish: t, onContinue: n, onError: r }) => /* @__PURE__ */ u(p, { children: e ? /* @__PURE__ */ u(he, {
|
|
1538
1539
|
config: e,
|
|
1539
1540
|
onFinish: t,
|
|
1540
1541
|
onContinue: n,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e, v as t } from "./vendor-preact-D6SntenC.js";
|
|
2
|
-
import { t as n } from "./defineProperty-
|
|
2
|
+
import { t as n } from "./defineProperty-85sU8KgM.js";
|
|
3
3
|
//#region ../../node_modules/.pnpm/dompurify@3.3.3/node_modules/dompurify/dist/purify.es.mjs
|
|
4
4
|
var { entries: r, setPrototypeOf: i, isFrozen: a, getPrototypeOf: o, getOwnPropertyDescriptor: s } = Object, { freeze: c, seal: l, create: u } = Object, { apply: d, construct: f } = typeof Reflect < "u" && Reflect;
|
|
5
5
|
c ||= function(e) {
|
package/dist/selfie/selfie.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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-
|
|
5
|
-
import { t as s } from "../incodeModule-
|
|
2
|
+
import { o as t, t as n } from "../incodeComponent-DIb7wDAq.js";
|
|
3
|
+
import { t as r } from "../processing-DzUxOOaV.js";
|
|
4
|
+
import { n as i, r as a, t as o } from "../tutorial-BjD2xHi5.js";
|
|
5
|
+
import { t as s } from "../incodeModule-CXOUgU0z.js";
|
|
6
6
|
import { createSelfieManager as c } from "@incodetech/core/selfie";
|
|
7
7
|
//#region src/modules/selfie/selfie.tsx
|
|
8
8
|
var l = ({ config: n, manager: s, onFinish: l, onError: u }) => {
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { n as e } from "./i18n-BpEDCZi_.js";
|
|
2
|
+
import { v as t } from "./vendor-preact-D6SntenC.js";
|
|
3
|
+
import { t as n } from "./spacer-DCljE53A.js";
|
|
4
|
+
import { t as r } from "./page-kB-LDkaO.js";
|
|
5
|
+
import { t as i } from "./button-jwSm4U5l.js";
|
|
6
|
+
import { o as a } from "./icons-BQHZM1UW.js";
|
|
7
|
+
import { t as o } from "./dropdownComposed-B7Rf3npJ.js";
|
|
8
|
+
import "./dropdownComposed-CxqviEIA.js";
|
|
9
|
+
import { t as s } from "./language-BWPDK42W.js";
|
|
10
|
+
//#region src/modules/home/settings.tsx
|
|
11
|
+
function c({ onClose: c }) {
|
|
12
|
+
let { t: l } = e(), { selectedLanguage: u, languageOptions: d, changeLanguage: f } = s();
|
|
13
|
+
return /* @__PURE__ */ t(r, {
|
|
14
|
+
hideHeader: !0,
|
|
15
|
+
hideFooterBranding: !0,
|
|
16
|
+
children: /* @__PURE__ */ t("section", {
|
|
17
|
+
class: "IncodeHomeSettingsContainer",
|
|
18
|
+
"aria-live": "polite",
|
|
19
|
+
children: [
|
|
20
|
+
/* @__PURE__ */ t("header", {
|
|
21
|
+
class: "IncodeHomeSettingsHeader",
|
|
22
|
+
children: /* @__PURE__ */ t("button", {
|
|
23
|
+
type: "button",
|
|
24
|
+
class: "IncodeHomeSettingsCloseButton",
|
|
25
|
+
onClick: c,
|
|
26
|
+
"data-testid": "home-settings-close-button",
|
|
27
|
+
children: /* @__PURE__ */ t(a, {
|
|
28
|
+
width: 24,
|
|
29
|
+
height: 24
|
|
30
|
+
})
|
|
31
|
+
})
|
|
32
|
+
}),
|
|
33
|
+
/* @__PURE__ */ t("div", {
|
|
34
|
+
class: "IncodeHomeSettingsBody",
|
|
35
|
+
children: [
|
|
36
|
+
/* @__PURE__ */ t("h1", {
|
|
37
|
+
class: "IncodeHomeSettingsTitle",
|
|
38
|
+
tabIndex: -1,
|
|
39
|
+
children: l("settings.settings")
|
|
40
|
+
}),
|
|
41
|
+
/* @__PURE__ */ t(n, { size: 32 }),
|
|
42
|
+
/* @__PURE__ */ t(o, {
|
|
43
|
+
id: "home-language",
|
|
44
|
+
label: l("v2.settings.language"),
|
|
45
|
+
value: u,
|
|
46
|
+
options: d,
|
|
47
|
+
onChange: async (e) => {
|
|
48
|
+
await f(e);
|
|
49
|
+
},
|
|
50
|
+
searchable: !0,
|
|
51
|
+
"data-testid": "home-language-select"
|
|
52
|
+
})
|
|
53
|
+
]
|
|
54
|
+
}),
|
|
55
|
+
/* @__PURE__ */ t("div", {
|
|
56
|
+
class: "IncodeHomeSettingsFooter",
|
|
57
|
+
children: /* @__PURE__ */ t(i, {
|
|
58
|
+
onClick: c,
|
|
59
|
+
"data-testid": "home-settings-done-button",
|
|
60
|
+
children: l("settings.done")
|
|
61
|
+
})
|
|
62
|
+
})
|
|
63
|
+
]
|
|
64
|
+
})
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
//#endregion
|
|
68
|
+
export { c as Settings };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { n as e } from "../i18n-
|
|
1
|
+
import { n as e } from "../i18n-BpEDCZi_.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 { o as l, t as u } from "../incodeComponent-DIb7wDAq.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-
|
|
10
|
-
import { t as g } from "../incodeModule-
|
|
11
|
-
import { t as _ } from "../defineProperty-
|
|
6
|
+
import { r as p } from "../typography-BeNe2WRr.js";
|
|
7
|
+
import "../typography-eCzT8rG3.js";
|
|
8
|
+
import { t as m } from "../button-jwSm4U5l.js";
|
|
9
|
+
import { t as h } from "../successIcon-C4GI_9SU.js";
|
|
10
|
+
import { t as g } from "../incodeModule-CXOUgU0z.js";
|
|
11
|
+
import { t as _ } from "../defineProperty-85sU8KgM.js";
|
|
12
12
|
import { createSignatureManager as v } from "@incodetech/core/signature";
|
|
13
13
|
//#region ../../node_modules/.pnpm/signature_pad@5.1.3/node_modules/signature_pad/dist/signature_pad.js
|
|
14
14
|
var y = class {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./spinner-Dg3lumvu.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 { t as o } from "./
|
|
4
|
-
import { t as s } from "./typography-
|
|
5
|
-
import "./typography-
|
|
2
|
+
import { t as i } from "./spacer-DCljE53A.js";
|
|
3
|
+
import { n as a, t as o } from "./loadingIcon-YV3D_mg8.js";
|
|
4
|
+
import { t as s } from "./typography-BeNe2WRr.js";
|
|
5
|
+
import "./typography-eCzT8rG3.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: a("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(o, { size: m }), (l || u) && /* @__PURE__ */ r(e, { children: [/* @__PURE__ */ r(i, { 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(i, { size: 12 }), /* @__PURE__ */ r("p", {
|
|
33
33
|
class: "IncodeSpinnerSubtitle",
|
|
34
34
|
children: u
|
|
35
35
|
})] })]
|
package/dist/themes/dark.css
CHANGED
|
@@ -1009,6 +1009,10 @@
|
|
|
1009
1009
|
/* focus outline */
|
|
1010
1010
|
--focus-outline-width: 2px;
|
|
1011
1011
|
--focus-outline-offset: 2px;
|
|
1012
|
+
|
|
1013
|
+
/* home module */
|
|
1014
|
+
--home-logo-container-max-width: 180px;
|
|
1015
|
+
--home-logo-max-height: 250px;
|
|
1012
1016
|
}
|
|
1013
1017
|
[data-incode-theme='dark'] {
|
|
1014
1018
|
/* Surface / Neutral */
|