@incodetech/web 0.0.0-dev-20260429-35afdca → 0.0.0-dev-20260430-9f41a18
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/ae-signature/ae-signature.es.js +3 -3
- package/dist/antifraud/antifraud.es.js +4 -4
- package/dist/authentication/authentication.es.js +4 -4
- package/dist/{back-horizontal-hint-Rivv4odH.js → back-horizontal-hint-DUuojsev.js} +1 -1
- package/dist/{back-vertical-hint-Bi2GKjAw.js → back-vertical-hint-CX_hCJhV.js} +1 -1
- package/dist/{bottomSheet-H576o2Ae.js → bottomSheet-BICziA8B.js} +2 -2
- package/dist/{button-DXxszYOu.js → button-i4SPU5G7.js} +2 -2
- package/dist/{checkbox-HMGMzcIv.js → checkbox-DSJ1kLyD.js} +3 -3
- package/dist/consent/consent.es.js +10 -10
- package/dist/{countrySelector-DcKjrQye.js → countrySelector-B3JOaReM.js} +3 -3
- package/dist/cross-document-data-match/cross-document-data-match.es.js +4 -4
- package/dist/curp-validation/curp-validation.es.js +16 -16
- package/dist/{customFields-D2wZYEIM.js → customFields-ClP-OHqQ.js} +13 -13
- package/dist/{customWatchlist-qxLVolwh.js → customWatchlist-DaNMXtkt.js} +7 -7
- package/dist/{dateInputComposed-B4m_OJ0f.js → dateInputComposed-BISaNEkl.js} +5 -5
- package/dist/dateInputComposed-DdtZcsfQ.js +1 -0
- package/dist/{documentCapture-Bmnd-HoI.js → documentCapture-BD-LU6Y1.js} +14 -14
- package/dist/dropdownComposed-C6mYVe2K.js +1 -0
- package/dist/{dropdownComposed-ysrtM_xo.js → dropdownComposed-D7l5VnKk.js} +4 -4
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/{ekybModule-DvXcZXil.js → ekybModule-Ckv1f8aB.js} +13 -13
- package/dist/ekybModule-pKz3HZFJ.js +2 -0
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekycModule-B_pmX3EX.js +2 -0
- package/dist/{ekycModule-DHpDUapu.js → ekycModule-CCJGIP0u.js} +14 -14
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-C-J7f37B.js → electronic-signature-nZfD6fzf.js} +13 -13
- package/dist/email/email.es.js +10 -10
- package/dist/{extensibility-DJ7uJJS5.js → extensibility-BhOLYPko.js} +39 -39
- package/dist/extensibility.es.js +24 -24
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/{faceMatch-aulhVGxo.js → faceMatch-BAOj4yMN.js} +10 -10
- package/dist/faceMatch-CsBQRvhN.js +2 -0
- package/dist/flow/flow.es.js +136 -139
- package/dist/flow/styles.css +4696 -169
- package/dist/{formField-9c3OJwOZ.js → formField-B34T3LAe.js} +3 -3
- package/dist/{front-horizontal-hint-ECtf7INv.js → front-horizontal-hint-2RcQjgHE.js} +1 -1
- package/dist/{front-vertical-hint-DBdptGwa.js → front-vertical-hint-CRhiWbkP.js} +1 -1
- package/dist/geolocation/geolocation.es.js +8 -8
- package/dist/governmentValidation/governmentValidation.es.js +10 -10
- package/dist/{homeScreen-nNYHPykv.js → homeScreen-Dc3ipd-q.js} +8 -8
- package/dist/{i18n-BNE9nYru.js → i18n-ntrVdqVv.js} +2 -2
- package/dist/{icons-B9-0K6zx.js → icons-Bk44oy5t.js} +2 -2
- package/dist/id/id.es.js +18 -18
- package/dist/id-ocr/styles.css +3 -31
- package/dist/idOcr-CzUlyrUX.js +89 -0
- package/dist/identity-reuse/identity-reuse.es.js +7 -7
- package/dist/{incodeComponent-Bj2iIi3-.js → incodeComponent-DexcYK3Y.js} +2 -2
- package/dist/incodeModule-CHzKl22Y.js +18 -0
- package/dist/index.es.js +2 -2
- package/dist/{inputComposed-CZYVA9pY.js → inputComposed-4aHO5YRK.js} +4 -4
- package/dist/inputComposed-vYWGxUXH.js +1 -0
- package/dist/{loadingIcon-BWeYwnoO.js → loadingIcon-C-Sq5v_K.js} +1 -1
- package/dist/{mandatoryConsent-BxmewvFy.js → mandatoryConsent-OCdxJMmo.js} +10 -10
- package/dist/{modal-BiHWHzbc.js → modal-dixIN7NV.js} +37 -37
- package/dist/{modal.hooks-BWHmspKt.js → modal.hooks-BzIVzVbq.js} +1 -1
- package/dist/{numberedStep-CB41HauU.js → numberedStep-DDP7_KWo.js} +1 -1
- package/dist/{optionAccessibleLabel-oqe5fTiF.js → optionAccessibleLabel-DGtiAlUq.js} +6 -6
- package/dist/{otpInput-DxekO34i.js → otpInput-DgtpWHON.js} +6 -6
- package/dist/{page-C_Z2vd8q.js → page-BB20C-zy.js} +3 -3
- package/dist/{passport-horizontal-hint-x0w1qXO5.js → passport-horizontal-hint-CAqrHNYZ.js} +1 -1
- package/dist/{passport-vertical-hint-BoPv9mev.js → passport-vertical-hint-BHH9yd1n.js} +1 -1
- package/dist/phone/phone.es.js +10 -10
- package/dist/{phoneInput-B5mP8vvS.js → phoneInput-C8OmjU3_.js} +3 -3
- package/dist/{phoneInputComposed-C6mrR5NJ.js → phoneInputComposed--GQv3M_5.js} +5 -5
- package/dist/{processing-C1ymzBNJ.js → processing-AM48BFTl.js} +2 -2
- package/dist/qe-signature/qe-signature.es.js +3 -3
- package/dist/{radioButtonComposed-yT_6g1qe.js → radioButtonComposed-CuKvBI5S.js} +3 -3
- package/dist/{redirectToMobile-BtsF6N0g.js → redirectToMobile-DfUzha84.js} +14 -14
- package/dist/{richText-uERDfLN2.js → richText-FMNMBzjD.js} +1 -1
- package/dist/selfie/selfie.es.js +7 -7
- package/dist/signature/signature.es.js +9 -9
- package/dist/{spacer-DCAl0Mjk.js → spacer-CN9uvb__.js} +1 -1
- package/dist/spinner-BYktSnQZ.js +1 -0
- package/dist/{spinner-DTwtoppQ.js → spinner-Cj7kdZ0T.js} +4 -4
- package/dist/{statusPage-BTF4FmJT.js → statusPage-DUnznjtg.js} +4 -4
- package/dist/{successIcon-COlazRl-.js → successIcon-SlKgTSty.js} +1 -1
- package/dist/{tabs-z-X6zD3C.js → tabs-sbbH0u2L.js} +2 -2
- package/dist/{transitionSpinner-C_573zFG.js → transitionSpinner-DqDwaNM6.js} +4 -4
- package/dist/{tutorial-DcuYI4JA.js → tutorial-B2lNnuWv.js} +15 -15
- package/dist/types/ae-signature.d.ts +0 -1
- package/dist/types/antifraud.d.ts +0 -1
- package/dist/types/authentication.d.ts +0 -1
- package/dist/types/consent.d.ts +0 -1
- package/dist/types/cross-document-data-match.d.ts +0 -1
- package/dist/types/curp-validation.d.ts +0 -1
- package/dist/types/ekyb.d.ts +0 -1
- package/dist/types/ekyc.d.ts +0 -1
- package/dist/types/electronic-signature.d.ts +0 -1
- package/dist/types/email.d.ts +0 -1
- package/dist/types/extensibility.d.ts +0 -1
- package/dist/types/face-match.d.ts +0 -1
- package/dist/types/flow.d.ts +0 -1
- package/dist/types/geolocation.d.ts +0 -1
- package/dist/types/governmentValidation.d.ts +0 -1
- package/dist/types/id.d.ts +0 -1
- package/dist/types/identity-reuse.d.ts +0 -1
- package/dist/types/phone.d.ts +0 -1
- package/dist/types/qe-signature.d.ts +0 -1
- package/dist/types/selfie.d.ts +0 -1
- package/dist/types/signature.d.ts +0 -1
- package/dist/types/watchlist.d.ts +0 -1
- package/dist/types/workflow.d.ts +0 -1
- package/dist/{typography-Dn_SWwB2.js → typography-Duug0raB.js} +2 -2
- package/dist/{uiConfig-BfJ9gLl7.js → uiConfig-CwpQ-IM6.js} +1 -1
- package/dist/{useModuleLoader-bEVfQbmU.js → useModuleLoader-BHKdXE3w.js} +169 -188
- package/dist/{vendor-preact-DYq0_Qbr.js → vendor-preact-D6SntenC.js} +1 -1
- package/dist/{verificationResult-1XSMhl4d.js → verificationResult-DTfsw2w2.js} +8 -8
- package/dist/{verifiedByIncode-aGOV-V9q.js → verifiedByIncode-CiuBhYBD.js} +2 -2
- package/dist/watchlist/watchlist.es.js +7 -7
- package/dist/{watchlistForBusiness-C_i_7Z6J.js → watchlistForBusiness-DirZZuYu.js} +11 -11
- package/dist/workflow/styles.css +3 -31
- package/dist/workflow/workflow.es.js +51 -50
- package/package.json +2 -2
- package/dist/ae-signature-D316IMg7.js +0 -5
- package/dist/antifraud-CB-yiVmj.js +0 -5
- package/dist/consent-CmVHHfh0.js +0 -5
- package/dist/curp-validation-BZu1862x.js +0 -5
- package/dist/custom-fields-Dy2zIWk5.js +0 -5
- package/dist/dateInputComposed-B1930wH-.js +0 -1
- package/dist/document-capture-klKhslw_.js +0 -5
- package/dist/dropdownComposed-D94RHyH9.js +0 -1
- package/dist/ekyb-AJ5pLamL.js +0 -5
- package/dist/ekybModule-uLHrvaE0.js +0 -2
- package/dist/ekyc-CGHe6KZF.js +0 -5
- package/dist/ekycModule-PeVktYEv.js +0 -2
- package/dist/electronic-signature-CmWQ5m7Z.js +0 -5
- package/dist/email-46LcB-zG.js +0 -5
- package/dist/face-match-fK60MxjZ.js +0 -5
- package/dist/faceMatch-B2oadZzM.js +0 -2
- package/dist/flow-rPJJbW6T.js +0 -5
- package/dist/geolocation-tgDRHF5G.js +0 -5
- package/dist/governmentValidation-CRpowRw3.js +0 -5
- package/dist/id-Czs29YjP.js +0 -5
- package/dist/id-ocr-De0CziTg.js +0 -5
- package/dist/idOcr-DWF6lFjq.js +0 -95
- package/dist/identity-reuse-DRaYjwgl.js +0 -5
- package/dist/incodeModule-4-Ij3Hzt.js +0 -74
- package/dist/inputComposed-BYIbvEZU.js +0 -1
- package/dist/mandatory-consent-Cwa_D62s.js +0 -5
- package/dist/phone-ChAbJlMB.js +0 -5
- package/dist/qe-signature-C4R5aFPn.js +0 -5
- package/dist/redirect-to-mobile-CEkqbyYW.js +0 -5
- package/dist/selfie-DoBsWHhr.js +0 -5
- package/dist/signature-CEHAjVar.js +0 -5
- package/dist/spinner-iH4HWMX6.js +0 -1
- package/dist/watchlist-BdGy5gvP.js +0 -5
- package/dist/watchlist-for-business-CubjHodP.js +0 -5
- package/dist/workflow-nsiRkTFR.js +0 -5
- /package/dist/{aligndevicelottie-DuYKqFRv.js → aligndevicelottie-m1gBGZsQ.js} +0 -0
- /package/dist/{back-tutorial-BveT-Gpg.js → back-tutorial-ClQ08AWx.js} +0 -0
- /package/dist/{backdevicelottie-CVSnQFM6.js → backdevicelottie-WEvEwLBA.js} +0 -0
- /package/dist/{blurdevicelottie-DXyCiuOu.js → blurdevicelottie-BNBU2EIM.js} +0 -0
- /package/dist/{browser-ponyfill-Dz8mnsAS.js → browser-ponyfill-DRrmY6DO.js} +0 -0
- /package/dist/{flip-animation-CpYPskQi.js → flip-animation-Tm2zxXjs.js} +0 -0
- /package/dist/{frontdevicelottie-7OcabHg2.js → frontdevicelottie-BtbZEtwd.js} +0 -0
- /package/dist/{glaredevicelottie-CU-7f-1E.js → glaredevicelottie-CGQ0DCXc.js} +0 -0
- /package/dist/{id-laser-h-DVprNART.js → id-laser-h-oGOFXEpO.js} +0 -0
- /package/dist/{id-laser-v-DHSmrhm6.js → id-laser-v-DfWJik9l.js} +0 -0
- /package/dist/{id-tutorial-DC_FMKi3.js → id-tutorial-C4q-3j3J.js} +0 -0
- /package/dist/{passport-tutorial-DglDEWHt.js → passport-tutorial-DhEHJZeD.js} +0 -0
- /package/dist/{pdf-CbjnpyBF.js → pdf-DmP3zO_j.js} +0 -0
- /package/dist/{selfieTutorial-Cssu-Gmy.js → selfieTutorial-D8I_4Oam.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
2
|
-
import { v as t } from "./vendor-preact-
|
|
3
|
-
import { t as n } from "./inputComposed-
|
|
1
|
+
import { n as e } from "./i18n-ntrVdqVv.js";
|
|
2
|
+
import { v as t } from "./vendor-preact-D6SntenC.js";
|
|
3
|
+
import { t as n } from "./inputComposed-4aHO5YRK.js";
|
|
4
4
|
//#region src/shared/errorParams.ts
|
|
5
5
|
function r(e, t) {
|
|
6
6
|
if (t?.fieldName && typeof t.fieldName == "string") {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { n as e, t } from "../i18n-
|
|
2
|
-
import {
|
|
3
|
-
import { o as a, t as o } from "../incodeComponent-
|
|
4
|
-
import { t as s } from "../spacer-
|
|
5
|
-
import { t as c } from "../page-
|
|
6
|
-
import { t as l } from "../button-
|
|
7
|
-
import { t as u } from "../numberedStep-
|
|
8
|
-
import { t as d } from "../incodeModule-
|
|
1
|
+
import { n as e, t } from "../i18n-ntrVdqVv.js";
|
|
2
|
+
import { S as n, _ as r, v as i } from "../vendor-preact-D6SntenC.js";
|
|
3
|
+
import { o as a, t as o } from "../incodeComponent-DexcYK3Y.js";
|
|
4
|
+
import { t as s } from "../spacer-CN9uvb__.js";
|
|
5
|
+
import { t as c } from "../page-BB20C-zy.js";
|
|
6
|
+
import { t as l } from "../button-i4SPU5G7.js";
|
|
7
|
+
import { t as u } from "../numberedStep-DDP7_KWo.js";
|
|
8
|
+
import { t as d } from "../incodeModule-CHzKl22Y.js";
|
|
9
9
|
import { getBrowser as f, getDeviceClass as p } from "@incodetech/core/device";
|
|
10
10
|
import { createGeolocationManager as m } from "@incodetech/core/geolocation";
|
|
11
11
|
//#region src/modules/geolocation/LocationActiveIcon.tsx
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as e } from "../i18n-
|
|
2
|
-
import { v as t } from "../vendor-preact-
|
|
3
|
-
import { o as n, t as r } from "../incodeComponent-
|
|
4
|
-
import { t as i } from "../spacer-
|
|
5
|
-
import { t as a } from "../page-
|
|
6
|
-
import { t as o } from "../spinner-
|
|
7
|
-
import { g as s, h as c } from "../icons-
|
|
8
|
-
import { t as l } from "../successIcon-
|
|
9
|
-
import { t as u } from "../otpInput-
|
|
10
|
-
import { t as d } from "../incodeModule-
|
|
1
|
+
import { n as e } from "../i18n-ntrVdqVv.js";
|
|
2
|
+
import { v as t } from "../vendor-preact-D6SntenC.js";
|
|
3
|
+
import { o as n, t as r } from "../incodeComponent-DexcYK3Y.js";
|
|
4
|
+
import { t as i } from "../spacer-CN9uvb__.js";
|
|
5
|
+
import { t as a } from "../page-BB20C-zy.js";
|
|
6
|
+
import { t as o } from "../spinner-Cj7kdZ0T.js";
|
|
7
|
+
import { g as s, h as c } from "../icons-Bk44oy5t.js";
|
|
8
|
+
import { t as l } from "../successIcon-SlKgTSty.js";
|
|
9
|
+
import { t as u } from "../otpInput-DgtpWHON.js";
|
|
10
|
+
import { t as d } from "../incodeModule-CHzKl22Y.js";
|
|
11
11
|
import { createGovernmentValidationManager as f } from "@incodetech/core/government-validation";
|
|
12
12
|
//#region src/modules/governmentValidation/governmentValidation.tsx
|
|
13
13
|
var p = ({ variant: e, icon: n, title: r, subtitle: i }) => /* @__PURE__ */ t("div", {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as e, n as t, o as n } from "./i18n-
|
|
2
|
-
import { _ as r, d as i, l as a, p as o, v as s } from "./vendor-preact-
|
|
3
|
-
import { n as c } from "./uiConfig-
|
|
4
|
-
import { t as l } from "./spacer-
|
|
1
|
+
import { a as e, n as t, o as n } from "./i18n-ntrVdqVv.js";
|
|
2
|
+
import { _ as r, d as i, l as a, p as o, v as s } from "./vendor-preact-D6SntenC.js";
|
|
3
|
+
import { n as c } from "./uiConfig-CwpQ-IM6.js";
|
|
4
|
+
import { t as l } from "./spacer-CN9uvb__.js";
|
|
5
5
|
import "./incode-logo-DhG3d-rP.js";
|
|
6
|
-
import { t as u } from "./button-
|
|
7
|
-
import { t as d } from "./dropdownComposed-
|
|
8
|
-
import "./dropdownComposed-
|
|
9
|
-
import { t as f } from "./modal-
|
|
6
|
+
import { t as u } from "./button-i4SPU5G7.js";
|
|
7
|
+
import { t as d } from "./dropdownComposed-D7l5VnKk.js";
|
|
8
|
+
import "./dropdownComposed-C6mYVe2K.js";
|
|
9
|
+
import { t as f } from "./modal-dixIN7NV.js";
|
|
10
10
|
//#region src/shared/homeScreen/language.ts
|
|
11
11
|
function p(e, t) {
|
|
12
12
|
let [n, ...r] = Array.from(e);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as e } from "./rolldown-runtime-CjdbFOpI.js";
|
|
2
|
-
import {
|
|
2
|
+
import { S as t, _ as n, b as r, d as i, p as a, v as o } from "./vendor-preact-D6SntenC.js";
|
|
3
3
|
//#region ../../node_modules/.pnpm/i18next@25.7.1_typescript@5.9.3/node_modules/i18next/dist/esm/i18next.js
|
|
4
4
|
var s = (e) => typeof e == "string", c = () => {
|
|
5
5
|
let e, t, n = new Promise((n, r) => {
|
|
@@ -1514,7 +1514,7 @@ var K;
|
|
|
1514
1514
|
Be() && (typeof global < "u" && global.XMLHttpRequest ? K = global.XMLHttpRequest : typeof window < "u" && window.XMLHttpRequest && (K = window.XMLHttpRequest));
|
|
1515
1515
|
var q;
|
|
1516
1516
|
if (typeof ActiveXObject == "function" && (typeof global < "u" && global.ActiveXObject ? q = global.ActiveXObject : typeof window < "u" && window.ActiveXObject && (q = window.ActiveXObject)), typeof G != "function" && (G = void 0), !G && !K && !q) try {
|
|
1517
|
-
import("./browser-ponyfill-
|
|
1517
|
+
import("./browser-ponyfill-DRrmY6DO.js").then((t) => /* @__PURE__ */ e(t.default, 1)).then(function(e) {
|
|
1518
1518
|
G = e.default;
|
|
1519
1519
|
}).catch(function() {});
|
|
1520
1520
|
} catch {}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { m as e, v as t } from "./vendor-preact-
|
|
2
|
-
import "./successIcon-
|
|
1
|
+
import { m as e, v as t } from "./vendor-preact-D6SntenC.js";
|
|
2
|
+
import "./successIcon-SlKgTSty.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,19 +1,19 @@
|
|
|
1
|
-
import { n as e } from "../i18n-
|
|
2
|
-
import { _ as t, c as n, l as r, o as i, v as a } from "../vendor-preact-
|
|
3
|
-
import { o, t as s } from "../incodeComponent-
|
|
4
|
-
import { t as c } from "../page-
|
|
5
|
-
import { a as l, i as u, n as d, o as f, r as p, t as m } from "../extensibility-
|
|
6
|
-
import { n as h } from "../loadingIcon-
|
|
7
|
-
import { t as g } from "../spinner-
|
|
8
|
-
import "../spinner-
|
|
9
|
-
import { t as _ } from "../transitionSpinner-
|
|
10
|
-
import { t as v } from "../processing-
|
|
11
|
-
import { t as y } from "../button-
|
|
12
|
-
import { g as b, s as x } from "../icons-
|
|
13
|
-
import { o as S, r as C } from "../tutorial-
|
|
14
|
-
import { t as w } from "../successIcon-
|
|
15
|
-
import { t as T } from "../incodeModule-
|
|
16
|
-
import { t as E } from "../tabs-
|
|
1
|
+
import { n as e } from "../i18n-ntrVdqVv.js";
|
|
2
|
+
import { _ as t, c as n, l as r, o as i, v as a } from "../vendor-preact-D6SntenC.js";
|
|
3
|
+
import { o, t as s } from "../incodeComponent-DexcYK3Y.js";
|
|
4
|
+
import { t as c } from "../page-BB20C-zy.js";
|
|
5
|
+
import { a as l, i as u, n as d, o as f, r as p, t as m } from "../extensibility-BhOLYPko.js";
|
|
6
|
+
import { n as h } from "../loadingIcon-C-Sq5v_K.js";
|
|
7
|
+
import { t as g } from "../spinner-Cj7kdZ0T.js";
|
|
8
|
+
import "../spinner-BYktSnQZ.js";
|
|
9
|
+
import { t as _ } from "../transitionSpinner-DqDwaNM6.js";
|
|
10
|
+
import { t as v } from "../processing-AM48BFTl.js";
|
|
11
|
+
import { t as y } from "../button-i4SPU5G7.js";
|
|
12
|
+
import { g as b, s as x } from "../icons-Bk44oy5t.js";
|
|
13
|
+
import { o as S, r as C } from "../tutorial-B2lNnuWv.js";
|
|
14
|
+
import { t as w } from "../successIcon-SlKgTSty.js";
|
|
15
|
+
import { t as T } from "../incodeModule-CHzKl22Y.js";
|
|
16
|
+
import { t as E } from "../tabs-sbbH0u2L.js";
|
|
17
17
|
import { createIdCaptureManager as D } from "@incodetech/core/id";
|
|
18
18
|
//#region src/shared/fonts/preloadDisplayFont.ts
|
|
19
19
|
var O = !1;
|
|
@@ -221,11 +221,11 @@ var j = ({ icon: e, label: t, uploaded: n, uploading: i, disabled: o, testId: s,
|
|
|
221
221
|
});
|
|
222
222
|
}, z = !1;
|
|
223
223
|
function B() {
|
|
224
|
-
z || (z = !0, import("../id-tutorial-
|
|
224
|
+
z || (z = !0, import("../id-tutorial-C4q-3j3J.js"), import("../back-tutorial-ClQ08AWx.js"), import("../passport-tutorial-DhEHJZeD.js"));
|
|
225
225
|
}
|
|
226
226
|
//#endregion
|
|
227
227
|
//#region src/modules/id/id.tsx
|
|
228
|
-
var V = n(() => import("../mandatoryConsent-
|
|
228
|
+
var V = n(() => import("../mandatoryConsent-OCdxJMmo.js").then((e) => ({ default: e.MandatoryConsent }))), H = ({ config: n, manager: r, onFinish: s, onError: c }) => {
|
|
229
229
|
A();
|
|
230
230
|
let { t: h } = e();
|
|
231
231
|
t(() => {
|
package/dist/id-ocr/styles.css
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
min-height: var(--spacing-0, var(--spacing-none, 0px));
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
.IncodeIdOcrForm {
|
|
25
|
+
.IncodeIdOcrPage .IncodeIdOcrForm {
|
|
26
26
|
margin-top: var(--spacing-32, var(--spacing-32, 32px));
|
|
27
27
|
height: 100%;
|
|
28
28
|
min-height: var(--spacing-0, var(--spacing-none, 0px));
|
|
@@ -35,40 +35,12 @@
|
|
|
35
35
|
overflow-y: auto;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
.IncodeIdOcrButton {
|
|
38
|
+
.IncodeIdOcrPage .IncodeIdOcrButton {
|
|
39
39
|
bottom: var(--spacing-0, var(--spacing-none, 0px));
|
|
40
40
|
width: 100%;
|
|
41
41
|
position: sticky;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
.
|
|
45
|
-
justify-content: center;
|
|
46
|
-
align-items: center;
|
|
47
|
-
gap: var(--spacing-16, var(--spacing-16, 16px));
|
|
48
|
-
flex-direction: column;
|
|
49
|
-
flex: 1;
|
|
50
|
-
display: flex;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.IncodeIdOcrRadioGroup {
|
|
54
|
-
width: 100%;
|
|
44
|
+
.IncodeIdOcrPage .IncodeIdOcrRadioGroup {
|
|
55
45
|
max-width: var(--incode-form-max-w);
|
|
56
|
-
gap: var(--spacing-16, var(--spacing-16, 16px));
|
|
57
|
-
flex-direction: column;
|
|
58
|
-
display: flex;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.IncodeIdOcrRadioOptionsLabel {
|
|
62
|
-
font-family: var(--typography-label-family);
|
|
63
|
-
font-size: var(--typography-label-m-size);
|
|
64
|
-
font-weight: var(--typography-label-m-weight);
|
|
65
|
-
line-height: var(--typography-label-m-line-height);
|
|
66
|
-
letter-spacing: var(--typography-label-m-letter-spacing);
|
|
67
|
-
color: var(--color-input-text-label-default, var(--input-text-label-default));
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.IncodeIdOcrRadioOptions {
|
|
71
|
-
gap: var(--spacing-20, var(--spacing-20, 20px));
|
|
72
|
-
width: 100%;
|
|
73
|
-
display: flex;
|
|
74
46
|
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { n as e } from "./i18n-ntrVdqVv.js";
|
|
2
|
+
import { v as t } from "./vendor-preact-D6SntenC.js";
|
|
3
|
+
import { o as n, t as r } from "./incodeComponent-DexcYK3Y.js";
|
|
4
|
+
import { t as i } from "./page-BB20C-zy.js";
|
|
5
|
+
import { _ as a } from "./extensibility-BhOLYPko.js";
|
|
6
|
+
import { t as o } from "./button-i4SPU5G7.js";
|
|
7
|
+
import { t as s } from "./verificationResult-DTfsw2w2.js";
|
|
8
|
+
import { t as c } from "./inputComposed-4aHO5YRK.js";
|
|
9
|
+
import { t as l } from "./dateInputComposed-BISaNEkl.js";
|
|
10
|
+
import { t as u } from "./incodeModule-CHzKl22Y.js";
|
|
11
|
+
import { createIdOcrManager as d, getOcrFields as f } from "@incodetech/core/id-ocr";
|
|
12
|
+
//#region src/modules/id-ocr/idOcrForm.tsx
|
|
13
|
+
var p = {
|
|
14
|
+
text: c,
|
|
15
|
+
date: l
|
|
16
|
+
}, m = ({ fields: n, data: r, validationErrors: i, isReadonly: s, onChange: c, onBlur: l, onContinue: u }) => {
|
|
17
|
+
let { t: d } = e(), f = i && Object.keys(i).length > 0;
|
|
18
|
+
return /* @__PURE__ */ t("div", {
|
|
19
|
+
className: "IncodeIdOcrForm",
|
|
20
|
+
children: [n.filter((e) => e.key === "issuingCountry" ? s === !0 : e.key === "documentNumber" && s ? !!r.documentNumber : !0).map((e) => {
|
|
21
|
+
let n = r[e.key] ?? "", o = i?.[e.key], u = o ? d(o) : void 0;
|
|
22
|
+
if (e.type === "radio") return /* @__PURE__ */ t(a, {
|
|
23
|
+
id: `id-ocr-${e.key}`,
|
|
24
|
+
class: "IncodeIdOcrRadioGroup",
|
|
25
|
+
label: d(e.labelKey),
|
|
26
|
+
value: n,
|
|
27
|
+
options: (e.options ?? []).map((e) => ({
|
|
28
|
+
value: e.value,
|
|
29
|
+
label: d(e.label)
|
|
30
|
+
})),
|
|
31
|
+
required: !s && e.required,
|
|
32
|
+
disabled: s,
|
|
33
|
+
onChange: (t) => c(e.key, t)
|
|
34
|
+
}, e.key);
|
|
35
|
+
let f = p[e.type], m = s ? !1 : e.required, h = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
|
|
36
|
+
return /* @__PURE__ */ t(f, {
|
|
37
|
+
id: `id-ocr-${e.key}`,
|
|
38
|
+
label: d(e.labelKey),
|
|
39
|
+
value: n,
|
|
40
|
+
disabled: s,
|
|
41
|
+
required: m,
|
|
42
|
+
error: u,
|
|
43
|
+
showErrorIcon: !!u,
|
|
44
|
+
onInput: (t) => c(e.key, t.target.value),
|
|
45
|
+
onBlur: s || !l ? void 0 : () => l(e.key),
|
|
46
|
+
...e.type === "date" && { max: h }
|
|
47
|
+
}, e.key);
|
|
48
|
+
}), /* @__PURE__ */ t("div", {
|
|
49
|
+
className: "IncodeIdOcrButton",
|
|
50
|
+
children: /* @__PURE__ */ t(o, {
|
|
51
|
+
onClick: u,
|
|
52
|
+
disabled: f,
|
|
53
|
+
children: d("common.continue")
|
|
54
|
+
})
|
|
55
|
+
})]
|
|
56
|
+
});
|
|
57
|
+
}, h = ({ config: r, onFinish: a }) => {
|
|
58
|
+
let { t: o } = e(), [c, l] = n(() => d({ config: r }));
|
|
59
|
+
return c.status === "finished" ? (a?.(), null) : c.status === "success" ? /* @__PURE__ */ t(s, {
|
|
60
|
+
status: "success",
|
|
61
|
+
successTitle: o("idOcr.successTitle")
|
|
62
|
+
}) : c.status === "error" ? /* @__PURE__ */ t(s, {
|
|
63
|
+
status: "failure",
|
|
64
|
+
onRetry: () => l.retry()
|
|
65
|
+
}) : c.status === "loading" || c.status === "submitting" ? /* @__PURE__ */ t(s, {
|
|
66
|
+
status: "submitting",
|
|
67
|
+
submittingTitle: o("common.holdOnASec"),
|
|
68
|
+
submittingSubtitle: o("idOcr.loadingSubtitle")
|
|
69
|
+
}) : c.status === "readonly" || c.status === "inputting" ? /* @__PURE__ */ t(i, {
|
|
70
|
+
title: o("idOcr.title"),
|
|
71
|
+
className: "IncodeIdOcrPage",
|
|
72
|
+
hideFooterBranding: !0,
|
|
73
|
+
children: /* @__PURE__ */ t(m, {
|
|
74
|
+
fields: f(r),
|
|
75
|
+
data: c.formData,
|
|
76
|
+
validationErrors: c.status === "inputting" ? c.validationErrors : void 0,
|
|
77
|
+
isReadonly: c.status === "readonly",
|
|
78
|
+
onChange: (e, t) => l.setField(e, t),
|
|
79
|
+
onBlur: c.status === "inputting" ? (e) => l.validateField(e) : void 0,
|
|
80
|
+
onContinue: () => l.continue()
|
|
81
|
+
}, c.ocrDocument)
|
|
82
|
+
}) : null;
|
|
83
|
+
}, g = ({ config: e, onFinish: n }) => /* @__PURE__ */ t(r, { children: e ? /* @__PURE__ */ t(h, {
|
|
84
|
+
config: e,
|
|
85
|
+
onFinish: n
|
|
86
|
+
}) : null });
|
|
87
|
+
u(g, "incode-id-ocr");
|
|
88
|
+
//#endregion
|
|
89
|
+
export { g as IdOcr };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as e } from "../i18n-
|
|
2
|
-
import { _ as t, v as n } from "../vendor-preact-
|
|
3
|
-
import { o as r, t as i } from "../incodeComponent-
|
|
4
|
-
import { t as a } from "../page-
|
|
5
|
-
import { t as o } from "../spinner-
|
|
6
|
-
import { t as s } from "../button-
|
|
7
|
-
import { t as c } from "../incodeModule-
|
|
1
|
+
import { n as e } from "../i18n-ntrVdqVv.js";
|
|
2
|
+
import { _ as t, v as n } from "../vendor-preact-D6SntenC.js";
|
|
3
|
+
import { o as r, t as i } from "../incodeComponent-DexcYK3Y.js";
|
|
4
|
+
import { t as a } from "../page-BB20C-zy.js";
|
|
5
|
+
import { t as o } from "../spinner-Cj7kdZ0T.js";
|
|
6
|
+
import { t as s } from "../button-i4SPU5G7.js";
|
|
7
|
+
import { t as c } from "../incodeModule-CHzKl22Y.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,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
2
|
-
import { _ as t, l as n, p as r, r as i, s as a, v as o } from "./vendor-preact-
|
|
1
|
+
import { n as e } from "./i18n-ntrVdqVv.js";
|
|
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";
|
|
5
5
|
//#region src/hooks/useManager.ts
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { n as e } from "./vendor-preact-D6SntenC.js";
|
|
2
|
+
//#region src/shared/webComponent/registerIncodeElement.ts
|
|
3
|
+
function t(t, n, r) {
|
|
4
|
+
customElements.get(n) === void 0 && e(t, n, [...r], { shadow: !1 });
|
|
5
|
+
}
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region src/shared/webComponent/incodeModule.ts
|
|
8
|
+
var n = [
|
|
9
|
+
"config",
|
|
10
|
+
"manager",
|
|
11
|
+
"onFinish",
|
|
12
|
+
"onError"
|
|
13
|
+
];
|
|
14
|
+
function r(e, r) {
|
|
15
|
+
t(e, r, n);
|
|
16
|
+
}
|
|
17
|
+
//#endregion
|
|
18
|
+
export { r as t };
|
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as e, r as t } from "./i18n-
|
|
2
|
-
import { t as n } from "./uiConfig-
|
|
1
|
+
import { i as e, r as t } from "./i18n-ntrVdqVv.js";
|
|
2
|
+
import { t as n } from "./uiConfig-CwpQ-IM6.js";
|
|
3
3
|
import { DEFAULT_WASM_VERSION as r } from "@incodetech/core/wasm";
|
|
4
4
|
import { setup as i } from "@incodetech/core";
|
|
5
5
|
//#region src/setup.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as e, v as t } from "./vendor-preact-
|
|
2
|
-
import { n } from "./loadingIcon-
|
|
3
|
-
import { g as r, o as i } from "./icons-
|
|
4
|
-
import { t as a } from "./successIcon-
|
|
1
|
+
import { a as e, v as t } from "./vendor-preact-D6SntenC.js";
|
|
2
|
+
import { n } from "./loadingIcon-C-Sq5v_K.js";
|
|
3
|
+
import { g as r, o as i } from "./icons-Bk44oy5t.js";
|
|
4
|
+
import { t as a } from "./successIcon-SlKgTSty.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-4aHO5YRK.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
2
|
-
import { _ as t, l as n, v as r } from "./vendor-preact-
|
|
3
|
-
import { o as i, t as a } from "./incodeComponent-
|
|
4
|
-
import { t as o } from "./page-
|
|
5
|
-
import { n as s } from "./typography-
|
|
6
|
-
import { t as c } from "./transitionSpinner-
|
|
7
|
-
import { t as l } from "./button-
|
|
8
|
-
import { t as u } from "./checkbox-
|
|
9
|
-
import { t as d } from "./incodeModule-
|
|
10
|
-
import { t as f } from "./richText-
|
|
1
|
+
import { n as e } from "./i18n-ntrVdqVv.js";
|
|
2
|
+
import { _ as t, l as n, v as r } from "./vendor-preact-D6SntenC.js";
|
|
3
|
+
import { o as i, t as a } from "./incodeComponent-DexcYK3Y.js";
|
|
4
|
+
import { t as o } from "./page-BB20C-zy.js";
|
|
5
|
+
import { n as s } from "./typography-Duug0raB.js";
|
|
6
|
+
import { t as c } from "./transitionSpinner-DqDwaNM6.js";
|
|
7
|
+
import { t as l } from "./button-i4SPU5G7.js";
|
|
8
|
+
import { t as u } from "./checkbox-DSJ1kLyD.js";
|
|
9
|
+
import { t as d } from "./incodeModule-CHzKl22Y.js";
|
|
10
|
+
import { t as f } from "./richText-FMNMBzjD.js";
|
|
11
11
|
import { createMandatoryConsentManager as p } from "@incodetech/core/mandatory-consent";
|
|
12
12
|
//#region src/modules/mandatory-consent/mandatoryConsent.tsx
|
|
13
13
|
var m = ({ config: a, manager: d, onFinish: m, onError: h }) => {
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as f } from "./loadingIcon-
|
|
3
|
-
import { o as p } from "./icons-
|
|
4
|
-
import { a as m, i as h, n as g, o as _, r as v, t as y } from "./modal.hooks-
|
|
1
|
+
import { C as e, b as t, d as n, f as r, g as i, h as a, l as o, p as s, r as c, v as l, x as u, y as d } from "./vendor-preact-D6SntenC.js";
|
|
2
|
+
import { n as f } from "./loadingIcon-C-Sq5v_K.js";
|
|
3
|
+
import { o as p } from "./icons-Bk44oy5t.js";
|
|
4
|
+
import { a as m, i as h, n as g, o as _, r as v, t as y } from "./modal.hooks-BzIVzVbq.js";
|
|
5
5
|
//#region src/shared/modal/modal.tsx
|
|
6
6
|
var b = u(null);
|
|
7
7
|
function x() {
|
|
8
|
-
let e =
|
|
8
|
+
let e = i(b);
|
|
9
9
|
if (!e) throw Error("Modal compound components must be used within Modal.Root");
|
|
10
10
|
return e;
|
|
11
11
|
}
|
|
12
|
-
function S({ open: e, children:
|
|
13
|
-
let S = m(e, u ?? void 0), [C, w] =
|
|
14
|
-
|
|
15
|
-
}, [
|
|
12
|
+
function S({ open: e, children: t, onOpenChange: r, dismissible: i = !0, portalContainer: u, class: d, hasBackdrop: p = !0, manageInitialFocus: y = !0, returnFocusRef: x }) {
|
|
13
|
+
let S = m(e, u ?? void 0), [C, w] = s(!1), T = o(null), E = a(() => {
|
|
14
|
+
i && r?.(!1);
|
|
15
|
+
}, [i, r]), D = n(() => ({
|
|
16
16
|
setHasDescription: w,
|
|
17
|
-
dismissible:
|
|
17
|
+
dismissible: i,
|
|
18
18
|
requestClose: E
|
|
19
|
-
}), [
|
|
20
|
-
return g(e), v(e,
|
|
19
|
+
}), [i, E]), O = e && !!S;
|
|
20
|
+
return g(e), v(e, i, E), h(O, T, y, x), _(O, T), !S || !e ? null : c(/* @__PURE__ */ l(b.Provider, {
|
|
21
21
|
value: D,
|
|
22
|
-
children: /* @__PURE__ */
|
|
22
|
+
children: /* @__PURE__ */ l("div", {
|
|
23
23
|
class: f("IncodeModalRoot", d),
|
|
24
24
|
"data-incode-modal": "",
|
|
25
|
-
children: [p && /* @__PURE__ */
|
|
25
|
+
children: [p && /* @__PURE__ */ l("div", {
|
|
26
26
|
class: "IncodeModalBackdrop",
|
|
27
27
|
"aria-hidden": "true",
|
|
28
28
|
onMouseDown: () => {
|
|
29
29
|
E();
|
|
30
30
|
}
|
|
31
|
-
}), /* @__PURE__ */
|
|
31
|
+
}), /* @__PURE__ */ l("div", {
|
|
32
32
|
ref: T,
|
|
33
33
|
class: "IncodeModalDialog",
|
|
34
34
|
role: "dialog",
|
|
@@ -39,13 +39,13 @@ function S({ open: e, children: n, onOpenChange: r, dismissible: l = !0, portalC
|
|
|
39
39
|
onMouseDown: (e) => {
|
|
40
40
|
e.stopPropagation();
|
|
41
41
|
},
|
|
42
|
-
children:
|
|
42
|
+
children: t
|
|
43
43
|
})]
|
|
44
44
|
})
|
|
45
45
|
}), S);
|
|
46
46
|
}
|
|
47
47
|
function C({ children: e, class: t }) {
|
|
48
|
-
return /* @__PURE__ */
|
|
48
|
+
return /* @__PURE__ */ l("div", {
|
|
49
49
|
class: f("IncodeModalContent", t),
|
|
50
50
|
children: e
|
|
51
51
|
});
|
|
@@ -56,13 +56,13 @@ function w({ "aria-label": e = "Close", title: t = "Close", class: n, onClick: r
|
|
|
56
56
|
let o = async () => {
|
|
57
57
|
r && await r(), a();
|
|
58
58
|
};
|
|
59
|
-
return /* @__PURE__ */
|
|
59
|
+
return /* @__PURE__ */ l("button", {
|
|
60
60
|
type: "button",
|
|
61
61
|
class: f("IncodeModalClose", n),
|
|
62
62
|
"aria-label": e,
|
|
63
63
|
title: t,
|
|
64
64
|
onClick: o,
|
|
65
|
-
children: /* @__PURE__ */
|
|
65
|
+
children: /* @__PURE__ */ l(p, {
|
|
66
66
|
height: 32,
|
|
67
67
|
width: 32,
|
|
68
68
|
fillColor: "var(--icon-neutral-300)"
|
|
@@ -70,7 +70,7 @@ function w({ "aria-label": e = "Close", title: t = "Close", class: n, onClick: r
|
|
|
70
70
|
});
|
|
71
71
|
}
|
|
72
72
|
function T({ children: e, class: t }) {
|
|
73
|
-
return /* @__PURE__ */
|
|
73
|
+
return /* @__PURE__ */ l("div", {
|
|
74
74
|
class: f("IncodeModalIcon", t),
|
|
75
75
|
children: e
|
|
76
76
|
});
|
|
@@ -80,13 +80,13 @@ function E({ children: e, align: t = "center" }) {
|
|
|
80
80
|
center: "IncodeModalTitleSectionCenter",
|
|
81
81
|
left: "IncodeModalTitleSectionLeft"
|
|
82
82
|
}[t];
|
|
83
|
-
return /* @__PURE__ */
|
|
83
|
+
return /* @__PURE__ */ l("div", {
|
|
84
84
|
class: n,
|
|
85
85
|
children: e
|
|
86
86
|
});
|
|
87
87
|
}
|
|
88
88
|
function D({ children: e, ref: t, class: n }) {
|
|
89
|
-
return /* @__PURE__ */
|
|
89
|
+
return /* @__PURE__ */ l("h2", {
|
|
90
90
|
id: "incode-modal-title",
|
|
91
91
|
ref: t,
|
|
92
92
|
className: f("IncodeModalTitle", n),
|
|
@@ -94,31 +94,31 @@ function D({ children: e, ref: t, class: n }) {
|
|
|
94
94
|
});
|
|
95
95
|
}
|
|
96
96
|
function O({ children: e, class: t }) {
|
|
97
|
-
let { setHasDescription:
|
|
98
|
-
return
|
|
97
|
+
let { setHasDescription: n } = x();
|
|
98
|
+
return r(() => (n(!0), () => n(!1)), [n]), /* @__PURE__ */ l("h5", {
|
|
99
99
|
id: "incode-modal-description",
|
|
100
100
|
className: f("IncodeModalSubtitle", t),
|
|
101
101
|
children: e
|
|
102
102
|
});
|
|
103
103
|
}
|
|
104
|
-
function k(
|
|
105
|
-
return
|
|
104
|
+
function k(t) {
|
|
105
|
+
return e(t) && t.props != null && typeof t.props == "object" && "autoFocus" in t.props;
|
|
106
106
|
}
|
|
107
|
-
function A({ children:
|
|
108
|
-
let
|
|
109
|
-
for (let
|
|
110
|
-
let
|
|
111
|
-
if (k(
|
|
112
|
-
class: f(
|
|
107
|
+
function A({ children: n, class: r, orientation: i = "vertical" }) {
|
|
108
|
+
let a = i === "vertical" ? "IncodeModalActionsVertical" : "IncodeModalActionsHorizontal", o = d(n), s = [];
|
|
109
|
+
for (let i = 0; i < o.length; i++) {
|
|
110
|
+
let c = o[i];
|
|
111
|
+
if (k(c)) return /* @__PURE__ */ l("div", {
|
|
112
|
+
class: f(a, r),
|
|
113
113
|
role: "group",
|
|
114
|
-
children:
|
|
114
|
+
children: n
|
|
115
115
|
});
|
|
116
|
-
|
|
116
|
+
s.push(e(c) && i === 0 ? t(c, { [y]: "" }) : c);
|
|
117
117
|
}
|
|
118
|
-
return /* @__PURE__ */
|
|
119
|
-
class: f(
|
|
118
|
+
return /* @__PURE__ */ l("div", {
|
|
119
|
+
class: f(a, r),
|
|
120
120
|
role: "group",
|
|
121
|
-
children:
|
|
121
|
+
children: s
|
|
122
122
|
});
|
|
123
123
|
}
|
|
124
124
|
var j = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as e, p as t } from "./vendor-preact-
|
|
1
|
+
import { _ as e, p as t } from "./vendor-preact-D6SntenC.js";
|
|
2
2
|
//#region src/shared/modal/modal.hooks.ts
|
|
3
3
|
var n = "IncodeModalScrollLock", r = "data-incode-modal-initial-focus", i = [
|
|
4
4
|
"button:not([disabled])",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
2
|
-
import { _ as t, h as n, l as r, p as i, v as a } from "./vendor-preact-
|
|
3
|
-
import { r as o } from "./incodeComponent-
|
|
4
|
-
import { t as s } from "./inputComposed-
|
|
5
|
-
import { n as c } from "./formField-
|
|
6
|
-
import { t as l } from "./bottomSheet-
|
|
1
|
+
import { n as e } from "./i18n-ntrVdqVv.js";
|
|
2
|
+
import { _ as t, h as n, l as r, p as i, v as a } from "./vendor-preact-D6SntenC.js";
|
|
3
|
+
import { r as o } from "./incodeComponent-DexcYK3Y.js";
|
|
4
|
+
import { t as s } from "./inputComposed-4aHO5YRK.js";
|
|
5
|
+
import { n as c } from "./formField-B34T3LAe.js";
|
|
6
|
+
import { t as l } from "./bottomSheet-BICziA8B.js";
|
|
7
7
|
//#region src/shared/addressAutocomplete/addressAutocomplete.tsx
|
|
8
8
|
var u = ({ label: u, value: d, error: f, errorParams: p, suggestions: m, readonly: h, optional: g, onChange: _, onSearch: v, onSelect: y, onBlur: b }) => {
|
|
9
9
|
let { t: x } = e(), [S, C] = i(!1), [w, T] = i(!1), [E, D] = i(""), [O, k] = i(-1), [A, j] = i(-1), M = r(null), N = r(null), P = r(null), F = "ekyc-address-listbox", I = "ekyc-address-mobile-listbox", L = "ekyc-address-modal-title", R = o(), z = x(u), B = g ? `${z} (${x("common.optional")})` : z;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
2
|
-
import { _ as t, h as n, l as r, p as i, v as a } from "./vendor-preact-
|
|
3
|
-
import { t as o } from "./spacer-
|
|
4
|
-
import { t as s } from "./button-
|
|
5
|
-
import { t as c } from "./inputComposed-
|
|
6
|
-
import "./inputComposed-
|
|
1
|
+
import { n as e } from "./i18n-ntrVdqVv.js";
|
|
2
|
+
import { _ as t, h as n, l as r, p as i, v as a } from "./vendor-preact-D6SntenC.js";
|
|
3
|
+
import { t as o } from "./spacer-CN9uvb__.js";
|
|
4
|
+
import { t as s } from "./button-i4SPU5G7.js";
|
|
5
|
+
import { t as c } from "./inputComposed-4aHO5YRK.js";
|
|
6
|
+
import "./inputComposed-vYWGxUXH.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) => {
|