@incodetech/web 0.0.0-dev-20260609-11ba3e8a → 0.0.0-dev-20260609-155c16bf
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/ae-signature/styles2.css +12 -4
- package/dist/antifraud/antifraud.es.js +5 -5
- package/dist/authentication/authentication.es.js +5 -5
- package/dist/{autoFocusTitle-DM6PvgcP.js → autoFocusTitle-BzkUiELM.js} +2 -2
- package/dist/{back-horizontal-hint-BXYix0Wj.js → back-horizontal-hint-D_8LptLm.js} +1 -1
- package/dist/{back-vertical-hint-DNSh6JNH.js → back-vertical-hint-C1evxxq2.js} +1 -1
- package/dist/base.css +2 -0
- package/dist/{bottomSheet-BuzqNQtG.js → bottomSheet-F1GJfQx_.js} +2 -2
- package/dist/{button-B-qlr4iI.js → button-CM_hgyIP.js} +2 -2
- package/dist/{checkbox-CTPETqo5.js → checkbox-BoeLHKgp.js} +4 -4
- package/dist/consent/consent.es.js +10 -10
- package/dist/{countrySelector-CzyuaDIs.js → countrySelector-mSWyHSy4.js} +3 -3
- package/dist/cpf-ocr/cpf-ocr.es.js +1 -1
- package/dist/{cpfOcr-DQVs3r8N.js → cpfOcr-MtpRztkG.js} +9 -9
- package/dist/cpfOcr-jJkYCfsX.js +2 -0
- package/dist/cross-document-data-match/cross-document-data-match.es.js +5 -5
- package/dist/curp-validation/curp-validation.es.js +18 -18
- package/dist/{customFields-B4MqqDI6.js → customFields-DXXt9HGM.js} +13 -13
- package/dist/{customWatchlist-Dfqw1DQP.js → customWatchlist-DsW04UF6.js} +8 -8
- package/dist/{dateInputComposed-DY97tQVK.js → dateInputComposed-C_mh4XBg.js} +5 -5
- package/dist/dateInputComposed-Cy6a7ymh.js +1 -0
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/documentCapture-BzbWPrvP.js +2 -0
- package/dist/{documentCapture-BE78MIlR.js → documentCapture-XGW3_KHY.js} +15 -15
- package/dist/dropdownComposed-CEWBSdGl.js +1 -0
- package/dist/{dropdownComposed-BF4L-7mJ.js → dropdownComposed-_fgAlo_C.js} +5 -5
- package/dist/{dynamicForms-BYGGAQoc.js → dynamicForms-DyfnsS7E.js} +14 -14
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/{ekybModule-CkTXu-4u.js → ekybModule-CIPGmCvD.js} +16 -16
- package/dist/ekybModule-DFoYpheB.js +2 -0
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekycModule-BGzwgjl1.js +2 -0
- package/dist/{ekycModule-BWsVX39d.js → ekycModule-BuTaC5ct.js} +14 -14
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-BJSyzex9.js → electronic-signature-BDcXZ6kN.js} +12 -12
- package/dist/email/email.es.js +10 -10
- package/dist/{emailInput-BHp4Apt4.js → emailInput-KZmhjOdZ.js} +4 -4
- package/dist/{errorIcon-B0rmz3rw.js → errorIcon-DJRZpd8j.js} +1 -1
- package/dist/{expiredId-C105HVKv.js → expiredId-Q1t6aVpk.js} +6 -6
- package/dist/{extensibility-DJwVxojG.js → extensibility-Cs3KQQdC.js} +34 -34
- package/dist/extensibility.es.js +25 -25
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/{faceMatch-BOFGxzzx.js → faceMatch--RDHJe4t.js} +11 -11
- package/dist/faceMatch-yEKPYaym.js +2 -0
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/{fieldComparison-BMDmQ8eA.js → fieldComparison-CAF86bTC.js} +11 -11
- package/dist/fieldComparison-D0an7T_g.js +2 -0
- package/dist/flow/flow.es.js +9 -9
- package/dist/flow/styles.css +1 -5
- package/dist/{front-horizontal-hint-CLSU0iVo.js → front-horizontal-hint-Uf5bHCsd.js} +1 -1
- package/dist/{front-vertical-hint-BWq-yWQ8.js → front-vertical-hint-DdWNA45v.js} +1 -1
- package/dist/geolocation/geolocation.es.js +9 -9
- package/dist/governmentValidation/governmentValidation.es.js +11 -11
- package/dist/{homeScreen-BsEYyiDB.js → homeScreen-BZnIEDrV.js} +8 -8
- package/dist/{hooks-BtgmGvba.js → hooks-Da_yP_Dr.js} +1 -1
- package/dist/{i18n-gTHArCl9.js → i18n-CoCO2ZuN.js} +1 -1
- package/dist/{icons-DKY3xDkf.js → icons-Dbs9ZfYM.js} +3 -3
- package/dist/id/id.es.js +20 -20
- package/dist/id-verification/id-verification.es.js +6 -6
- package/dist/{idOcr-BS77o1VC.js → idOcr-CjGbb4dB.js} +12 -12
- package/dist/identity-reuse/identity-reuse.es.js +8 -8
- package/dist/{incodeComponent-CDJxFZvS.js → incodeComponent-wfnHlnXx.js} +3 -3
- package/dist/{incodeModule-DkA_yd0X.js → incodeModule-BUDoTwT9.js} +1 -1
- package/dist/index.es.js +2 -2
- package/dist/inputComposed-BEn7_nZd.js +1 -0
- package/dist/{inputComposed-5V2nLTqH.js → inputComposed-CQ4AsvZg.js} +5 -5
- package/dist/{loadingIcon-DN62ugKs.js → loadingIcon-B0ysgiNq.js} +1 -1
- package/dist/{mandatoryConsent-DP189TUn.js → mandatoryConsent-r0PQHmv-.js} +10 -10
- package/dist/{modal-B5QeulDu.js → modal-nTSaG7nB.js} +9 -23
- package/dist/{modal.hooks-C7K9k_pY.js → modal.hooks-D2xhIuHA.js} +11 -18
- package/dist/{numberedStep-DVAyTPv1.js → numberedStep-CEtwZqLp.js} +1 -1
- package/dist/{optionAccessibleLabel-Czc2YC8z.js → optionAccessibleLabel-CnA-mNAU.js} +6 -6
- package/dist/{otpInput-2IQ-JCK8.js → otpInput-_JmtVwa0.js} +6 -6
- package/dist/{page-BZ-0eNWq.js → page-DxGQj7Gk.js} +3 -3
- package/dist/{passport-horizontal-hint-DfVsf4Cc.js → passport-horizontal-hint-Bbm2mvSn.js} +1 -1
- package/dist/{passport-vertical-hint-DVxbTyQp.js → passport-vertical-hint-DJbCtBiM.js} +1 -1
- package/dist/{pdfViewer-Dr63sJ51.js → pdfViewer-BK-yVIve.js} +3 -3
- package/dist/phone/phone.es.js +11 -11
- package/dist/{phoneInputComposed-D_IabWKJ.js → phoneInputComposed-DjNdsmPE.js} +6 -6
- package/dist/{processing-B_u8wUB7.js → processing-BM-wT-1W.js} +2 -2
- package/dist/qe-signature/qe-signature.es.js +3 -3
- package/dist/{radioGroupComposed-DwYW-Ld-.js → radioGroupComposed-BNuaopVr.js} +6 -6
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +15 -15
- package/dist/{registerIncodeElement-BJJGzVdq.js → registerIncodeElement-77NGCDsy.js} +1 -1
- package/dist/{richText-C7GUm0WL.js → richText-Cf9aMOCk.js} +1 -1
- package/dist/selfie/selfie.es.js +7 -7
- package/dist/signature/signature.es.js +27 -14
- package/dist/{snackbar-Dz9crm39.js → snackbar-CxepGC3e.js} +2 -2
- package/dist/spinner-B6RxGFrI.js +1 -0
- package/dist/{spinner-BfBIZkDQ.js → spinner-D8a_2LvW.js} +3 -3
- package/dist/{statusPage-CVCoieyd.js → statusPage-DMYPUwRZ.js} +4 -4
- package/dist/{successIcon-rmzr-pxu.js → successIcon-BAyDPT7I.js} +1 -1
- package/dist/{tabs--UMd6eEB.js → tabs-C8npVBbk.js} +2 -2
- package/dist/{transitionSpinner-CWhGcr7c.js → transitionSpinner-DRRz-NV8.js} +4 -4
- package/dist/{tutorial-Jv0noW4z.js → tutorial-D1qaY2Tm.js} +18 -15
- package/dist/types/extensibility.d.ts +1 -1
- package/dist/{typography-BK4AmfKX.js → typography-YLgHHuao.js} +2 -2
- package/dist/{uiConfig-sgEkFuuA.js → uiConfig-D2_wawvr.js} +1 -1
- package/dist/{useModuleLoader-CuhHtmgr.js → useModuleLoader-DcMXbv0V.js} +21 -21
- package/dist/{vendor-preact-BH7vOa2r.js → vendor-preact-DThS2ZQ_.js} +3 -5
- package/dist/{verificationResult-CJ0JyV6A.js → verificationResult-Do5SpZ6X.js} +9 -9
- package/dist/{verifiedByIncode-8QBn-kgZ.js → verifiedByIncode-DjXOdCml.js} +2 -2
- package/dist/watchlist/watchlist.es.js +8 -8
- package/dist/{watchlistForBusiness-RZcnjVDb.js → watchlistForBusiness-BFFXC9d-.js} +12 -12
- package/dist/workflow/styles.css +12 -4
- package/dist/workflow/workflow.es.js +9 -9
- package/package.json +2 -2
- package/dist/cpfOcr-WNklFuxT.js +0 -2
- package/dist/dateInputComposed-BsPQHG5o.js +0 -1
- package/dist/documentCapture-BVfNZL29.js +0 -2
- package/dist/dropdownComposed-mvHuRFHn.js +0 -1
- package/dist/ekybModule-BUPX0QhW.js +0 -2
- package/dist/ekycModule-DNDPqvUc.js +0 -2
- package/dist/faceMatch-CDMcFQwR.js +0 -2
- package/dist/fieldComparison-Z1NleSxD.js +0 -2
- package/dist/inputComposed-BPOYwUBl.js +0 -1
- package/dist/spinner-DEDtE7Pz.js +0 -1
package/dist/id/id.es.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { n as useTranslation } from "../i18n-
|
|
2
|
-
import {
|
|
3
|
-
import { c as useManager, o as useModuleTerminalCallbacks } from "../hooks-
|
|
4
|
-
import { t as IncodeComponent } from "../incodeComponent-
|
|
5
|
-
import { n as cn } from "../loadingIcon-
|
|
6
|
-
import { t as Page } from "../page-
|
|
7
|
-
import { a as IdNoAttempts, i as Capture, n as Chooser, o as IdExpired, r as Tutorial, s as IdError, t as FlipAnimation, y as ProgressBar } from "../extensibility-
|
|
8
|
-
import { t as Spinner } from "../spinner-
|
|
9
|
-
import "../spinner-
|
|
10
|
-
import { t as TransitionSpinner } from "../transitionSpinner-
|
|
11
|
-
import { t as Processing } from "../processing-
|
|
12
|
-
import { t as Button } from "../button-
|
|
13
|
-
import { t as ErrorIcon } from "../errorIcon-
|
|
14
|
-
import { s as ChevronRightIcon } from "../icons-
|
|
15
|
-
import { t as SuccessIcon } from "../successIcon-
|
|
16
|
-
import { a as Lottie, o as ErrorContent, r as Permissions } from "../tutorial-
|
|
17
|
-
import { t as PdfViewer } from "../pdfViewer-
|
|
18
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
1
|
+
import { n as useTranslation } from "../i18n-CoCO2ZuN.js";
|
|
2
|
+
import { _ as y, c as z, d as T, l as A, o as P, p as d, v as u, x as k } from "../vendor-preact-DThS2ZQ_.js";
|
|
3
|
+
import { c as useManager, o as useModuleTerminalCallbacks } from "../hooks-Da_yP_Dr.js";
|
|
4
|
+
import { t as IncodeComponent } from "../incodeComponent-wfnHlnXx.js";
|
|
5
|
+
import { n as cn } from "../loadingIcon-B0ysgiNq.js";
|
|
6
|
+
import { t as Page } from "../page-DxGQj7Gk.js";
|
|
7
|
+
import { a as IdNoAttempts, i as Capture, n as Chooser, o as IdExpired, r as Tutorial, s as IdError, t as FlipAnimation, y as ProgressBar } from "../extensibility-Cs3KQQdC.js";
|
|
8
|
+
import { t as Spinner } from "../spinner-D8a_2LvW.js";
|
|
9
|
+
import "../spinner-B6RxGFrI.js";
|
|
10
|
+
import { t as TransitionSpinner } from "../transitionSpinner-DRRz-NV8.js";
|
|
11
|
+
import { t as Processing } from "../processing-BM-wT-1W.js";
|
|
12
|
+
import { t as Button } from "../button-CM_hgyIP.js";
|
|
13
|
+
import { t as ErrorIcon } from "../errorIcon-DJRZpd8j.js";
|
|
14
|
+
import { s as ChevronRightIcon } from "../icons-Dbs9ZfYM.js";
|
|
15
|
+
import { t as SuccessIcon } from "../successIcon-BAyDPT7I.js";
|
|
16
|
+
import { a as Lottie, o as ErrorContent, r as Permissions } from "../tutorial-D1qaY2Tm.js";
|
|
17
|
+
import { t as PdfViewer } from "../pdfViewer-BK-yVIve.js";
|
|
18
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-BUDoTwT9.js";
|
|
19
19
|
import { t as id_laser_v_default } from "../id-laser-v-DhnHdjlB.js";
|
|
20
|
-
import { t as Tabs } from "../tabs
|
|
20
|
+
import { t as Tabs } from "../tabs-C8npVBbk.js";
|
|
21
21
|
import { createIdCaptureManager } from "@incodetech/core/id";
|
|
22
22
|
//#region src/shared/fonts/preloadDisplayFont.ts
|
|
23
23
|
function preloadDisplayFont() {
|
|
@@ -913,7 +913,7 @@ function preloadIdTutorialAssets() {
|
|
|
913
913
|
}
|
|
914
914
|
//#endregion
|
|
915
915
|
//#region src/modules/id/id.tsx
|
|
916
|
-
var MandatoryConsent = z(() => import("../mandatoryConsent-
|
|
916
|
+
var MandatoryConsent = z(() => import("../mandatoryConsent-r0PQHmv-.js").then((module) => ({ default: module.MandatoryConsent })));
|
|
917
917
|
var IdContent = ({ config, manager: externalManager, onFinish, onError }) => {
|
|
918
918
|
usePreloadDisplayFont();
|
|
919
919
|
const { t } = useTranslation();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { v as u } from "../vendor-preact-
|
|
2
|
-
import { c as useManager, o as useModuleTerminalCallbacks } from "../hooks-
|
|
3
|
-
import { t as IncodeComponent } from "../incodeComponent-
|
|
4
|
-
import { t as Spinner } from "../spinner-
|
|
5
|
-
import { t as ExpiredId } from "../expiredId-
|
|
6
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
1
|
+
import { v as u } from "../vendor-preact-DThS2ZQ_.js";
|
|
2
|
+
import { c as useManager, o as useModuleTerminalCallbacks } from "../hooks-Da_yP_Dr.js";
|
|
3
|
+
import { t as IncodeComponent } from "../incodeComponent-wfnHlnXx.js";
|
|
4
|
+
import { t as Spinner } from "../spinner-D8a_2LvW.js";
|
|
5
|
+
import { t as ExpiredId } from "../expiredId-Q1t6aVpk.js";
|
|
6
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-BUDoTwT9.js";
|
|
7
7
|
import { createIdVerificationManager } from "@incodetech/core/id-verification";
|
|
8
8
|
//#region src/modules/id-verification/id-verification.tsx
|
|
9
9
|
var IdVerificationContent = ({ config, onFinish }) => {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { n as useTranslation } from "./i18n-
|
|
2
|
-
import { d as T, v as u } from "./vendor-preact-
|
|
3
|
-
import { c as useManager, o as useModuleTerminalCallbacks } from "./hooks-
|
|
4
|
-
import { t as IncodeComponent } from "./incodeComponent-
|
|
5
|
-
import { t as Page } from "./page-
|
|
6
|
-
import "./extensibility-
|
|
7
|
-
import { t as Button } from "./button-
|
|
8
|
-
import { t as VerificationResult } from "./verificationResult-
|
|
9
|
-
import { t as InputComposed } from "./inputComposed-
|
|
10
|
-
import { t as RadioGroupComposed } from "./radioGroupComposed-
|
|
11
|
-
import { t as DateInputComposed } from "./dateInputComposed-
|
|
12
|
-
import { t as registerIncodeModuleElement } from "./incodeModule-
|
|
1
|
+
import { n as useTranslation } from "./i18n-CoCO2ZuN.js";
|
|
2
|
+
import { d as T, v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
3
|
+
import { c as useManager, o as useModuleTerminalCallbacks } from "./hooks-Da_yP_Dr.js";
|
|
4
|
+
import { t as IncodeComponent } from "./incodeComponent-wfnHlnXx.js";
|
|
5
|
+
import { t as Page } from "./page-DxGQj7Gk.js";
|
|
6
|
+
import "./extensibility-Cs3KQQdC.js";
|
|
7
|
+
import { t as Button } from "./button-CM_hgyIP.js";
|
|
8
|
+
import { t as VerificationResult } from "./verificationResult-Do5SpZ6X.js";
|
|
9
|
+
import { t as InputComposed } from "./inputComposed-CQ4AsvZg.js";
|
|
10
|
+
import { t as RadioGroupComposed } from "./radioGroupComposed-BNuaopVr.js";
|
|
11
|
+
import { t as DateInputComposed } from "./dateInputComposed-C_mh4XBg.js";
|
|
12
|
+
import { t as registerIncodeModuleElement } from "./incodeModule-BUDoTwT9.js";
|
|
13
13
|
import { n as getRequiredHintMode, t as getFieldHint } from "./requiredLabelHint-DEadtiwx.js";
|
|
14
14
|
import { createIdOcrManager, getOcrFields } from "@incodetech/core/id-ocr";
|
|
15
15
|
//#region src/modules/id-ocr/idOcrForm.tsx
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { n as useTranslation } from "../i18n-
|
|
2
|
-
import { _ as y, v as u } from "../vendor-preact-
|
|
3
|
-
import { c as useManager, o as useModuleTerminalCallbacks } from "../hooks-
|
|
4
|
-
import { t as IncodeComponent } from "../incodeComponent-
|
|
5
|
-
import { t as Page } from "../page-
|
|
6
|
-
import { t as Spinner } from "../spinner-
|
|
7
|
-
import { t as Button } from "../button-
|
|
8
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
1
|
+
import { n as useTranslation } from "../i18n-CoCO2ZuN.js";
|
|
2
|
+
import { _ as y, v as u } from "../vendor-preact-DThS2ZQ_.js";
|
|
3
|
+
import { c as useManager, o as useModuleTerminalCallbacks } from "../hooks-Da_yP_Dr.js";
|
|
4
|
+
import { t as IncodeComponent } from "../incodeComponent-wfnHlnXx.js";
|
|
5
|
+
import { t as Page } from "../page-DxGQj7Gk.js";
|
|
6
|
+
import { t as Spinner } from "../spinner-D8a_2LvW.js";
|
|
7
|
+
import { t as Button } from "../button-CM_hgyIP.js";
|
|
8
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-BUDoTwT9.js";
|
|
9
9
|
import { SCAN_NEW_DOCUMENT, createIdentityReuseManager } from "@incodetech/core/identity-reuse";
|
|
10
10
|
//#region src/modules/identity-reuse/identity-reuse.tsx
|
|
11
11
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as useTranslation } from "./i18n-
|
|
2
|
-
import { _ as y, l as A, p as d, r as $, v as u } from "./vendor-preact-
|
|
3
|
-
import { s as useScreenOrientation } from "./hooks-
|
|
1
|
+
import { n as useTranslation } from "./i18n-CoCO2ZuN.js";
|
|
2
|
+
import { _ as y, l as A, p as d, r as $, v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
3
|
+
import { s as useScreenOrientation } from "./hooks-Da_yP_Dr.js";
|
|
4
4
|
import { isIPad } from "@incodetech/core/device";
|
|
5
5
|
//#region src/shared/icons/rotate-icon.svg
|
|
6
6
|
var rotate_icon_default = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='90'%20height='90'%20viewBox='0%200%2090%2090'%3e%3cg%20fill='%2320263D'%3e%3cpath%20d='M84.12%2027.54l-2.58-2.58L65.036%208.456l-2.58-2.58c-3.127-3.127-8.58-2.764-12.157.81L6.69%2050.306c-3.574%203.574-3.938%209.027-.81%2012.158l21.66%2021.66c3.128%203.127%208.58%202.764%2012.157-.81l43.617-43.616c3.574-3.578%203.937-9.03.806-12.158zm-5.524%208.617l-42.439%2042.44c-1.3%201.3-3.28%201.432-4.42.296l-20.63-20.63c-1.14-1.14-1.008-3.12.297-4.42l42.438-42.44c1.302-1.3%203.282-1.432%204.422-.296l1.031%201.032c1.14%201.14%201.009%203.12-.296%204.421-1.302%201.301-1.433%203.281-.297%204.421L69.02%2031.297c1.14%201.14%203.12%201.01%204.421-.296%201.301-1.301%203.281-1.432%204.421-.296l1.031%201.031c1.137%201.14%201.005%203.12-.296%204.421zM51.885%2090a3.135%203.135%200%2001-2.22-5.351l8.925-8.925a3.138%203.138%200%20014.646.233l3.308%204.046c10.114-5.374%2017.081-15.994%2017.178-28.14a3.136%203.136%200%20013.136-3.113h.026a3.14%203.14%200%20013.112%203.161C89.835%2072.746%2072.746%2089.835%2051.911%2090h-.026zM38.115%200a3.135%203.135%200%20012.22%205.351l-8.925%208.925a3.125%203.125%200%2001-2.378.915%203.138%203.138%200%2001-2.272-1.147l-3.308-4.046C13.34%2015.37%206.373%2025.99%206.274%2038.138a3.14%203.14%200%2001-3.139%203.112h-.026a3.139%203.139%200%2001-3.11-3.161C.166%2017.254%2017.255.165%2038.09%200h.026z'/%3e%3c/g%3e%3c/svg%3e";
|
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as createI18n, i as setI18nInstance } from "./i18n-
|
|
2
|
-
import { t as setUiConfig } from "./uiConfig-
|
|
1
|
+
import { a as createI18n, i as setI18nInstance } from "./i18n-CoCO2ZuN.js";
|
|
2
|
+
import { t as setUiConfig } from "./uiConfig-D2_wawvr.js";
|
|
3
3
|
import { DEFAULT_WASM_VERSION } from "@incodetech/core/wasm";
|
|
4
4
|
import { setup as setup$1 } from "@incodetech/core";
|
|
5
5
|
//#region src/setup.ts
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./inputComposed-CQ4AsvZg.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as D, v as u } from "./vendor-preact-
|
|
2
|
-
import { n as cn } from "./loadingIcon-
|
|
3
|
-
import { t as ErrorIcon } from "./errorIcon-
|
|
4
|
-
import { o as CloseIcon } from "./icons-
|
|
5
|
-
import { t as SuccessIcon } from "./successIcon-
|
|
1
|
+
import { a as D, v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
2
|
+
import { n as cn } from "./loadingIcon-B0ysgiNq.js";
|
|
3
|
+
import { t as ErrorIcon } from "./errorIcon-DJRZpd8j.js";
|
|
4
|
+
import { o as CloseIcon } from "./icons-Dbs9ZfYM.js";
|
|
5
|
+
import { t as SuccessIcon } from "./successIcon-BAyDPT7I.js";
|
|
6
6
|
//#region src/shared/input/input.tsx
|
|
7
7
|
var Input = D((props, ref) => {
|
|
8
8
|
const { class: className, type = "text", ...restProps } = props;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as useTranslation } from "./i18n-
|
|
2
|
-
import { _ as y, l as A, v as u } from "./vendor-preact-
|
|
3
|
-
import { a as isTerminalModuleState, c as useManager, o as useModuleTerminalCallbacks } from "./hooks-
|
|
4
|
-
import { t as IncodeComponent } from "./incodeComponent-
|
|
5
|
-
import { t as Page } from "./page-
|
|
6
|
-
import { t as TransitionSpinner } from "./transitionSpinner-
|
|
7
|
-
import { t as Button } from "./button-
|
|
8
|
-
import { t as Checkbox } from "./checkbox-
|
|
9
|
-
import { t as registerIncodeModuleElement } from "./incodeModule-
|
|
10
|
-
import { t as RichText } from "./richText-
|
|
1
|
+
import { n as useTranslation } from "./i18n-CoCO2ZuN.js";
|
|
2
|
+
import { _ as y, l as A, v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
3
|
+
import { a as isTerminalModuleState, c as useManager, o as useModuleTerminalCallbacks } from "./hooks-Da_yP_Dr.js";
|
|
4
|
+
import { t as IncodeComponent } from "./incodeComponent-wfnHlnXx.js";
|
|
5
|
+
import { t as Page } from "./page-DxGQj7Gk.js";
|
|
6
|
+
import { t as TransitionSpinner } from "./transitionSpinner-DRRz-NV8.js";
|
|
7
|
+
import { t as Button } from "./button-CM_hgyIP.js";
|
|
8
|
+
import { t as Checkbox } from "./checkbox-BoeLHKgp.js";
|
|
9
|
+
import { t as registerIncodeModuleElement } from "./incodeModule-BUDoTwT9.js";
|
|
10
|
+
import { t as RichText } from "./richText-Cf9aMOCk.js";
|
|
11
11
|
import { createMandatoryConsentManager } from "@incodetech/core/mandatory-consent";
|
|
12
12
|
//#region src/modules/mandatory-consent/mandatoryConsent.tsx
|
|
13
13
|
var stopLinkPropagation = (event) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as cn } from "./loadingIcon-
|
|
3
|
-
import { o as CloseIcon } from "./icons-
|
|
4
|
-
import { a as useModalPortalTarget, i as useModalFocusCapture, n as useModalBodyScrollLock, o as useModalTabCycle, r as useModalEscapeDismiss, t as
|
|
1
|
+
import { b as Q, d as T, f as _, g as x, h as q, l as A, p as d, r as $, v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
2
|
+
import { n as cn } from "./loadingIcon-B0ysgiNq.js";
|
|
3
|
+
import { o as CloseIcon } from "./icons-Dbs9ZfYM.js";
|
|
4
|
+
import { a as useModalPortalTarget, i as useModalFocusCapture, n as useModalBodyScrollLock, o as useModalTabCycle, r as useModalEscapeDismiss, t as MODAL_TITLE_ID } from "./modal.hooks-D2xhIuHA.js";
|
|
5
5
|
//#region src/shared/modal/modal.tsx
|
|
6
6
|
var ModalContext = Q(null);
|
|
7
7
|
function useModalContext() {
|
|
@@ -44,7 +44,7 @@ function ModalRoot({ open, children, onOpenChange, dismissible = true, portalCon
|
|
|
44
44
|
class: "IncodeModalDialog",
|
|
45
45
|
role: "dialog",
|
|
46
46
|
"aria-modal": "true",
|
|
47
|
-
"aria-labelledby":
|
|
47
|
+
"aria-labelledby": MODAL_TITLE_ID,
|
|
48
48
|
"aria-describedby": hasDescription ? "incode-modal-description" : void 0,
|
|
49
49
|
tabIndex: -1,
|
|
50
50
|
onMouseDown: (event) => {
|
|
@@ -99,8 +99,9 @@ function ModalTitleSection({ children, align = "center" }) {
|
|
|
99
99
|
}
|
|
100
100
|
function ModalTitle({ children, ref, class: className }) {
|
|
101
101
|
return /* @__PURE__ */ u("h2", {
|
|
102
|
-
id:
|
|
102
|
+
id: MODAL_TITLE_ID,
|
|
103
103
|
ref,
|
|
104
|
+
tabIndex: -1,
|
|
104
105
|
className: cn("IncodeModalTitle", className),
|
|
105
106
|
children
|
|
106
107
|
});
|
|
@@ -117,26 +118,11 @@ function ModalSubtitle({ children, class: className }) {
|
|
|
117
118
|
children
|
|
118
119
|
});
|
|
119
120
|
}
|
|
120
|
-
function childHasAutoFocusProp(child) {
|
|
121
|
-
return t(child) && child.props != null && typeof child.props === "object" && "autoFocus" in child.props;
|
|
122
|
-
}
|
|
123
121
|
function ModalActions({ children, class: className, orientation = "vertical" }) {
|
|
124
|
-
const baseClassName = orientation === "vertical" ? "IncodeModalActionsVertical" : "IncodeModalActionsHorizontal";
|
|
125
|
-
const childArray = H(children);
|
|
126
|
-
const adjustedChildren = [];
|
|
127
|
-
for (let i = 0; i < childArray.length; i++) {
|
|
128
|
-
const child = childArray[i];
|
|
129
|
-
if (childHasAutoFocusProp(child)) return /* @__PURE__ */ u("div", {
|
|
130
|
-
class: cn(baseClassName, className),
|
|
131
|
-
role: "group",
|
|
132
|
-
children
|
|
133
|
-
});
|
|
134
|
-
adjustedChildren.push(t(child) && i === 0 ? K(child, { [MODAL_INITIAL_FOCUS_ATTR]: "" }) : child);
|
|
135
|
-
}
|
|
136
122
|
return /* @__PURE__ */ u("div", {
|
|
137
|
-
class: cn(
|
|
123
|
+
class: cn(orientation === "vertical" ? "IncodeModalActionsVertical" : "IncodeModalActionsHorizontal", className),
|
|
138
124
|
role: "group",
|
|
139
|
-
children
|
|
125
|
+
children
|
|
140
126
|
});
|
|
141
127
|
}
|
|
142
128
|
var Modal = {
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import { _ as y, p as d } from "./vendor-preact-
|
|
1
|
+
import { _ as y, p as d } from "./vendor-preact-DThS2ZQ_.js";
|
|
2
2
|
//#region src/shared/modal/modal.hooks.ts
|
|
3
3
|
var MODAL_SCROLL_LOCK_CLASS = "IncodeModalScrollLock";
|
|
4
|
-
/**
|
|
5
|
-
|
|
6
|
-
* `ModalActions` clones this onto the first child when no `autoFocus` child is present.
|
|
7
|
-
*/
|
|
8
|
-
var MODAL_INITIAL_FOCUS_ATTR = "data-incode-modal-initial-focus";
|
|
4
|
+
/** `id` of the `Modal.Title` heading; also the dialog's `aria-labelledby`. */
|
|
5
|
+
var MODAL_TITLE_ID = "incode-modal-title";
|
|
9
6
|
/**
|
|
10
7
|
* Selector for focusable elements that participate in Tab cycling inside the dialog.
|
|
11
8
|
*/
|
|
@@ -28,19 +25,16 @@ function isTabFocusableElement(element) {
|
|
|
28
25
|
}
|
|
29
26
|
}
|
|
30
27
|
/**
|
|
31
|
-
* Picks the dialog's initial focus
|
|
32
|
-
*
|
|
28
|
+
* Picks the dialog's initial focus. By default focus lands on the `Modal.Title`
|
|
29
|
+
* heading so screen readers announce it on open, rather than the dialog
|
|
30
|
+
* role / item count or an action control. A dialog can opt a specific control
|
|
31
|
+
* into initial focus by marking it with the `autofocus` attribute. Falls back
|
|
32
|
+
* to the dialog container when no title is present.
|
|
33
33
|
*/
|
|
34
34
|
function resolveModalInitialFocusTarget(dialog) {
|
|
35
35
|
const autofocusEl = dialog.querySelector("[autofocus]");
|
|
36
36
|
if (autofocusEl && isTabFocusableElement(autofocusEl)) return autofocusEl;
|
|
37
|
-
|
|
38
|
-
if (region) {
|
|
39
|
-
if (isTabFocusableElement(region)) return region;
|
|
40
|
-
const nested = region.querySelector(TAB_FOCUSABLE_SELECTOR);
|
|
41
|
-
if (nested) return nested;
|
|
42
|
-
}
|
|
43
|
-
return getTabFocusableElements(dialog)[0] ?? dialog;
|
|
37
|
+
return dialog.querySelector(`#incode-modal-title`) ?? dialog;
|
|
44
38
|
}
|
|
45
39
|
/**
|
|
46
40
|
* Renders the modal into `.IncodeComponent` by default, falling back to `document.body`.
|
|
@@ -177,11 +171,10 @@ function useModalTabCycle(active, dialogRef) {
|
|
|
177
171
|
const dialog = dialogRef.current;
|
|
178
172
|
if (!dialog) return;
|
|
179
173
|
const focusables = getTabFocusableElements(dialog);
|
|
180
|
-
if (focusables.length === 0
|
|
174
|
+
if (focusables.length === 0) {
|
|
181
175
|
event.preventDefault();
|
|
182
176
|
return;
|
|
183
177
|
}
|
|
184
|
-
if (focusables.length === 0) return;
|
|
185
178
|
const first = focusables[0];
|
|
186
179
|
const last = focusables[focusables.length - 1];
|
|
187
180
|
if (event.shiftKey) {
|
|
@@ -199,4 +192,4 @@ function useModalTabCycle(active, dialogRef) {
|
|
|
199
192
|
}, [active, dialogRef]);
|
|
200
193
|
}
|
|
201
194
|
//#endregion
|
|
202
|
-
export { useModalPortalTarget as a, useModalFocusCapture as i, useModalBodyScrollLock as n, useModalTabCycle as o, useModalEscapeDismiss as r, useModalVisualViewportBounds as s,
|
|
195
|
+
export { useModalPortalTarget as a, useModalFocusCapture as i, useModalBodyScrollLock as n, useModalTabCycle as o, useModalEscapeDismiss as r, useModalVisualViewportBounds as s, MODAL_TITLE_ID as t };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as useTranslation } from "./i18n-
|
|
2
|
-
import { _ as y, h as q, l as A, p as d, v as u } from "./vendor-preact-
|
|
3
|
-
import { r as useIsMobileDeviceWidth } from "./hooks-
|
|
4
|
-
import { t as InputComposed } from "./inputComposed-
|
|
5
|
-
import { i as translateError } from "./radioGroupComposed-
|
|
6
|
-
import { t as BottomSheet } from "./bottomSheet-
|
|
1
|
+
import { n as useTranslation } from "./i18n-CoCO2ZuN.js";
|
|
2
|
+
import { _ as y, h as q, l as A, p as d, v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
3
|
+
import { r as useIsMobileDeviceWidth } from "./hooks-Da_yP_Dr.js";
|
|
4
|
+
import { t as InputComposed } from "./inputComposed-CQ4AsvZg.js";
|
|
5
|
+
import { i as translateError } from "./radioGroupComposed-BNuaopVr.js";
|
|
6
|
+
import { t as BottomSheet } from "./bottomSheet-F1GJfQx_.js";
|
|
7
7
|
//#region src/shared/addressAutocomplete/addressAutocomplete.tsx
|
|
8
8
|
var AddressAutocomplete = ({ label, value, error, errorParams, suggestions, readonly, required, labelHint, onChange, onSearch, onSelect, onBlur }) => {
|
|
9
9
|
const { t } = useTranslation();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as useTranslation } from "./i18n-
|
|
2
|
-
import { _ as y, h as q, l as A, v as u } from "./vendor-preact-
|
|
3
|
-
import { r as Spacer } from "./loadingIcon-
|
|
4
|
-
import { t as Button } from "./button-
|
|
5
|
-
import { t as InputComposed } from "./inputComposed-
|
|
6
|
-
import "./inputComposed-
|
|
1
|
+
import { n as useTranslation } from "./i18n-CoCO2ZuN.js";
|
|
2
|
+
import { _ as y, h as q, l as A, v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
3
|
+
import { r as Spacer } from "./loadingIcon-B0ysgiNq.js";
|
|
4
|
+
import { t as Button } from "./button-CM_hgyIP.js";
|
|
5
|
+
import { t as InputComposed } from "./inputComposed-CQ4AsvZg.js";
|
|
6
|
+
import "./inputComposed-BEn7_nZd.js";
|
|
7
7
|
//#region src/shared/otpInput/otpInput.tsx
|
|
8
8
|
var formatTimer = (seconds) => {
|
|
9
9
|
return `${Math.floor(seconds / 60)}:${(seconds % 60).toString().padStart(2, "0")}`;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as Spacer } from "./loadingIcon-
|
|
1
|
+
import { _ as y, l as A, v as u, x as k } from "./vendor-preact-DThS2ZQ_.js";
|
|
2
|
+
import { r as Spacer } from "./loadingIcon-B0ysgiNq.js";
|
|
3
3
|
import { t as incode_logo_default } from "./incode-logo-57XFniXU.js";
|
|
4
|
-
import { n as usePageUiConfig, t as VerifiedByIncodeLogo } from "./verifiedByIncode-
|
|
4
|
+
import { n as usePageUiConfig, t as VerifiedByIncodeLogo } from "./verifiedByIncode-DjXOdCml.js";
|
|
5
5
|
//#region src/shared/page/page.tsx
|
|
6
6
|
var Page = ({ title, titleId, subtitle, titleTopSlot, className, logo, children, hideHeader, hideFooterBranding, footerBrandingSlot, "data-testid": dataTestId, "data-permission-status": dataPermissionStatus }) => {
|
|
7
7
|
const titleRef = A(null);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { v as u } from "./vendor-preact-
|
|
1
|
+
import { v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
2
2
|
//#region src/modules/id/capture/assets/hints/passport-horizontal-hint.svg?react
|
|
3
3
|
var SvgPassportHorizontalHint = (props) => /* @__PURE__ */ u("svg", {
|
|
4
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { v as u } from "./vendor-preact-
|
|
1
|
+
import { v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
2
2
|
//#region src/modules/id/capture/assets/hints/passport-vertical-hint.svg?react
|
|
3
3
|
var SvgPassportVerticalHint = (props) => /* @__PURE__ */ u("svg", {
|
|
4
4
|
xmlns: "http://www.w3.org/2000/svg",
|