@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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as e, v as t } from "./vendor-preact-D6SntenC.js";
|
|
2
|
-
import { n } from "./loadingIcon-
|
|
2
|
+
import { n } from "./loadingIcon-ahC-hZN7.js";
|
|
3
3
|
//#region src/shared/typography/typography.tsx
|
|
4
4
|
var r = e(({ children: e, className: n, ...r }, i) => /* @__PURE__ */ t("h2", {
|
|
5
5
|
ref: i,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./typography-7cXma7kl.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as e, l as t, p as n, v as r } from "./vendor-preact-D6SntenC.js";
|
|
2
2
|
import { t as i } from "./uiConfig-CwpQ-IM6.js";
|
|
3
|
-
import { t as a } from "./setup-
|
|
4
|
-
import { t as o } from "./button-
|
|
3
|
+
import { t as a } from "./setup-IE6CqyVs.js";
|
|
4
|
+
import { t as o } from "./button-BlHmZn6D.js";
|
|
5
5
|
import { resolveWasmConfig as s, warmupWasm as c } from "@incodetech/core/wasm";
|
|
6
6
|
import { getDeviceClass as l } from "@incodetech/core/device";
|
|
7
7
|
import { createOrchestratedFlowManager as u, getFlow as d, getRequiredWasmPipelines as f } from "@incodetech/core/flow";
|
|
@@ -153,7 +153,7 @@ function E(e) {
|
|
|
153
153
|
}
|
|
154
154
|
var D = {
|
|
155
155
|
[w]: () => import("./home/home.es.js").then((e) => e.Home),
|
|
156
|
-
REDIRECT_TO_MOBILE: () => import("./redirectToMobile-
|
|
156
|
+
REDIRECT_TO_MOBILE: () => import("./redirectToMobile-CYt-uhqB.js").then((e) => e.RedirectToMobile),
|
|
157
157
|
PHONE: () => import("./phone/phone.es.js").then((e) => e.Phone),
|
|
158
158
|
EMAIL: () => import("./email/email.es.js").then((e) => e.Email),
|
|
159
159
|
SELFIE: () => import("./selfie/selfie.es.js").then((e) => e.Selfie),
|
|
@@ -162,16 +162,16 @@ var D = {
|
|
|
162
162
|
ID_CAPTURE: C,
|
|
163
163
|
TUTORIAL_ID: C,
|
|
164
164
|
SECOND_ID: C,
|
|
165
|
-
FACE_MATCH: () => import("./faceMatch-
|
|
165
|
+
FACE_MATCH: () => import("./faceMatch-CFxHH3ic.js").then((e) => e.FaceMatch),
|
|
166
166
|
CURP_VALIDATION: () => import("./curp-validation/curp-validation.es.js").then((e) => e.CurpValidation),
|
|
167
167
|
GOVT_VALIDATION_PROVISIONING: () => import("./governmentValidation/governmentValidation.es.js").then((e) => e.GovernmentValidation),
|
|
168
168
|
GEOLOCATION: () => import("./geolocation/geolocation.es.js").then((e) => e.Geolocation),
|
|
169
|
-
EXTERNAL_VERIFICATION: () => import("./ekycModule-
|
|
170
|
-
EKYB: () => import("./ekybModule-
|
|
171
|
-
DOCUMENT_CAPTURE: () => import("./documentCapture-
|
|
172
|
-
ADDRESS: () => import("./documentCapture-
|
|
169
|
+
EXTERNAL_VERIFICATION: () => import("./ekycModule-R0YaUzV3.js").then((e) => e.EkycModule),
|
|
170
|
+
EKYB: () => import("./ekybModule-qBQ8sJSr.js").then((e) => e.EkybModule),
|
|
171
|
+
DOCUMENT_CAPTURE: () => import("./documentCapture-DHtlw3Lu.js").then((e) => e.DocumentCapture),
|
|
172
|
+
ADDRESS: () => import("./documentCapture-DHtlw3Lu.js").then((e) => e.DocumentCapture),
|
|
173
173
|
COMBINED_CONSENT: () => import("./consent/consent.es.js").then((e) => e.Consent),
|
|
174
|
-
MANDATORY_CONSENT: () => import("./mandatoryConsent-
|
|
174
|
+
MANDATORY_CONSENT: () => import("./mandatoryConsent-DWwvkGGf.js").then((e) => e.MandatoryConsent),
|
|
175
175
|
SIGNATURE: () => import("./signature/signature.es.js").then((e) => e.Signature),
|
|
176
176
|
ANTIFRAUD: () => import("./antifraud/antifraud.es.js").then((e) => e.Antifraud),
|
|
177
177
|
WATCHLIST: () => import("./watchlist/watchlist.es.js").then((e) => e.Watchlist),
|
|
@@ -1,10 +1,10 @@
|
|
|
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
3
|
import { t as n } from "./page-kB-LDkaO.js";
|
|
4
|
-
import { t as r } from "./spinner-
|
|
5
|
-
import { t as i } from "./button-
|
|
6
|
-
import { m as a, p as o } from "./icons-
|
|
7
|
-
import { t as s } from "./successIcon-
|
|
4
|
+
import { t as r } from "./spinner-BAVCJLTE.js";
|
|
5
|
+
import { t as i } from "./button-BlHmZn6D.js";
|
|
6
|
+
import { m as a, p as o } from "./icons-CVO6RxwW.js";
|
|
7
|
+
import { t as s } from "./successIcon-AHrfmJvv.js";
|
|
8
8
|
//#region src/shared/verificationResult/verificationResult.tsx
|
|
9
9
|
var c = ({ status: c, submittingTitle: l, successTitle: u, failureTitle: d, warningTitle: f, onRetry: p, onSkip: m, retryLabel: h, skipLabel: g }) => {
|
|
10
10
|
let { t: _ } = e();
|
|
@@ -1,23 +1,22 @@
|
|
|
1
|
-
import { n as e } from "../i18n-
|
|
1
|
+
import { n as e } from "../i18n-DUMvrSNM.js";
|
|
2
2
|
import { _ as t, l as n, v as r } from "../vendor-preact-D6SntenC.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import
|
|
8
|
-
import "../
|
|
9
|
-
import { t as u } from "../successIcon-Dklx5JWI.js";
|
|
3
|
+
import { c as i, r as a, t as o } from "../loadingIcon-ahC-hZN7.js";
|
|
4
|
+
import { t as s } from "../spacer-DCljE53A.js";
|
|
5
|
+
import { t as c } from "../page-kB-LDkaO.js";
|
|
6
|
+
import { t as l } from "../typography-7cXma7kl.js";
|
|
7
|
+
import "../typography-CsEiWMTG.js";
|
|
8
|
+
import { t as u } from "../successIcon-AHrfmJvv.js";
|
|
10
9
|
import { t as d } from "../incodeModule-Di2OUZ5_.js";
|
|
11
10
|
import { createWatchlistManager as f } from "@incodetech/core/watchlist";
|
|
12
11
|
//#region src/modules/watchlist/watchlistStatusPage.tsx
|
|
13
|
-
var p = ({ variant: e, icon: t, title: n, subtitle: i, titleRef: a }) => /* @__PURE__ */ r(
|
|
12
|
+
var p = ({ variant: e, icon: t, title: n, subtitle: i, titleRef: a }) => /* @__PURE__ */ r(c, {
|
|
14
13
|
className: `IncodeWatchlistStatusPage IncodeWatchlistStatusPage--${e}`,
|
|
15
|
-
children: [/* @__PURE__ */ r(
|
|
14
|
+
children: [/* @__PURE__ */ r(s, { size: 40 }), /* @__PURE__ */ r("div", {
|
|
16
15
|
class: "IncodeWatchlistStatusContainer",
|
|
17
16
|
children: [
|
|
18
|
-
/* @__PURE__ */ r(
|
|
17
|
+
/* @__PURE__ */ r(s, { size: 120 }),
|
|
19
18
|
t,
|
|
20
|
-
/* @__PURE__ */ r(
|
|
19
|
+
/* @__PURE__ */ r(s, { size: 16 }),
|
|
21
20
|
/* @__PURE__ */ r(l, {
|
|
22
21
|
ref: a,
|
|
23
22
|
className: "IncodeWatchlistStatusTitle",
|
|
@@ -31,23 +30,23 @@ var p = ({ variant: e, icon: t, title: n, subtitle: i, titleRef: a }) => /* @__P
|
|
|
31
30
|
]
|
|
32
31
|
})]
|
|
33
32
|
}), m = ({ onFinish: a }) => {
|
|
34
|
-
let { t:
|
|
33
|
+
let { t: s } = e(), [c, l] = i(() => f()), d = n(null);
|
|
35
34
|
return t(() => {
|
|
36
35
|
l.load();
|
|
37
36
|
}, [l]), t(() => {
|
|
38
|
-
|
|
39
|
-
}, [
|
|
40
|
-
|
|
41
|
-
}, [
|
|
37
|
+
c.status === "finished" && a?.();
|
|
38
|
+
}, [c.status, a]), t(() => {
|
|
39
|
+
c.status === "success" && d.current?.focus();
|
|
40
|
+
}, [c.status]), c.status === "success" ? /* @__PURE__ */ r(p, {
|
|
42
41
|
variant: "success",
|
|
43
42
|
icon: /* @__PURE__ */ r(u, { size: 64 }),
|
|
44
|
-
title:
|
|
43
|
+
title: s("watchList.complete"),
|
|
45
44
|
titleRef: d
|
|
46
45
|
}) : /* @__PURE__ */ r(p, {
|
|
47
46
|
variant: "loading",
|
|
48
|
-
icon: /* @__PURE__ */ r(
|
|
49
|
-
title:
|
|
50
|
-
subtitle:
|
|
47
|
+
icon: /* @__PURE__ */ r(o, { size: 64 }),
|
|
48
|
+
title: s("watchList.processing"),
|
|
49
|
+
subtitle: s("watchList.thisMigthTake")
|
|
51
50
|
});
|
|
52
51
|
}, h = ({ onFinish: e }) => /* @__PURE__ */ r(a, { children: /* @__PURE__ */ r(m, { onFinish: e }) });
|
|
53
52
|
d(h, "incode-watchlist");
|
|
@@ -1,17 +1,17 @@
|
|
|
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, v as i } from "../vendor-preact-D6SntenC.js";
|
|
3
3
|
import { t as a } from "../uiConfig-CwpQ-IM6.js";
|
|
4
|
-
import { o,
|
|
5
|
-
import { t as c } from "../spinner-
|
|
6
|
-
import "../spinner-
|
|
4
|
+
import { c as o, r as s } from "../loadingIcon-ahC-hZN7.js";
|
|
5
|
+
import { t as c } from "../spinner-BAVCJLTE.js";
|
|
6
|
+
import "../spinner-B-jf992b.js";
|
|
7
7
|
import { t as l } from "../incodeModule-Di2OUZ5_.js";
|
|
8
|
-
import { d as u, i as d, l as f, r as p, t as m } from "../useModuleLoader-
|
|
8
|
+
import { d as u, i as d, l as f, r as p, t as m } from "../useModuleLoader-BTfoFcVy.js";
|
|
9
9
|
import { resolveWasmConfig as h, warmupWasm as g } from "@incodetech/core/wasm";
|
|
10
10
|
import { createWorkflowManager as _ } from "@incodetech/core/workflow";
|
|
11
11
|
//#region src/modules/workflow/workflowInit.ts
|
|
12
12
|
var v = {
|
|
13
13
|
...d,
|
|
14
|
-
REDIRECT_TO_MOBILE: () => import("../redirectToMobile-
|
|
14
|
+
REDIRECT_TO_MOBILE: () => import("../redirectToMobile-CYt-uhqB.js").then((e) => e.RedirectToMobile)
|
|
15
15
|
};
|
|
16
16
|
async function y() {
|
|
17
17
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@incodetech/web",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20260416-64c00e5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.es.js",
|
|
6
6
|
"types": "./dist/types/index.d.ts",
|
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
"qrcode": "^1.5.4",
|
|
184
184
|
"signature_pad": "^5.1.3",
|
|
185
185
|
"tailwindcss": "^4.1.17",
|
|
186
|
-
"@incodetech/core": "0.0.0-dev-
|
|
186
|
+
"@incodetech/core": "0.0.0-dev-20260416-64c00e5"
|
|
187
187
|
},
|
|
188
188
|
"devDependencies": {
|
|
189
189
|
"@microsoft/api-extractor": "^7.53.3",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./dateInputComposed-DnHTS15O.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./dropdownComposed-C6vVF6YA.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./inputComposed-Cd-Hl-nY.js";
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { a as e, n as t, o as n } from "./i18n-BijwYtJr.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 };
|
|
@@ -1,42 +0,0 @@
|
|
|
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,68 +0,0 @@
|
|
|
1
|
-
import { n as e } from "./i18n-BijwYtJr.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-BNwTyDPs.js";
|
|
7
|
-
import { t as o } from "./dropdownComposed-C6vVF6YA.js";
|
|
8
|
-
import "./dropdownComposed-DkSZPhUb.js";
|
|
9
|
-
import { t as s } from "./language-Dvo4jXwx.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 };
|
package/dist/spinner-BEm5Wf_k.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./spinner-Dg3lumvu.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./typography-BeNe2WRr.js";
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|