@incodetech/web 2.1.0-rc.1 → 2.1.0-rc.2
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 +2 -2
- package/dist/antifraud/antifraud.es.js +3 -3
- package/dist/authentication/authentication.es.js +3 -3
- package/dist/{autoFocusTitle-BzkUiELM.js → autoFocusTitle-CuRu2lPg.js} +1 -1
- package/dist/base.css +13 -1
- package/dist/{bottomSheet-F1GJfQx_.js → bottomSheet-CnWbbUAM.js} +1 -1
- package/dist/{button-CM_hgyIP.js → button-Ch5-QgHB.js} +5 -1
- package/dist/certificate-issuance/certificate-issuance.es.js +249 -0
- package/dist/certificate-issuance/styles.css +114 -0
- package/dist/{checkbox-BoeLHKgp.js → checkbox-1wUHSoaK.js} +2 -2
- package/dist/consent/consent.es.js +10 -10
- package/dist/{countrySelector-mSWyHSy4.js → countrySelector-B4WuNUya.js} +2 -2
- package/dist/cpf-ocr/cpf-ocr.es.js +1 -1
- package/dist/cpfOcr-BJOYoITy.js +2 -0
- package/dist/{cpfOcr-MtpRztkG.js → cpfOcr-liTE9e70.js} +6 -6
- package/dist/cross-document-data-match/cross-document-data-match.es.js +3 -3
- package/dist/curp-validation/curp-validation.es.js +16 -16
- package/dist/{customFields-DXXt9HGM.js → customFields-BQ4scZfL.js} +10 -10
- package/dist/{customWatchlist-DsW04UF6.js → customWatchlist-7s0_wGtE.js} +5 -5
- package/dist/dateInputComposed-DRzZi6uy.js +1 -0
- package/dist/{dateInputComposed-C_mh4XBg.js → dateInputComposed-DuaofcBl.js} +3 -3
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/documentCapture-3RHCHepT.js +2 -0
- package/dist/{documentCapture-BDV_921m.js → documentCapture-CwoSD_Iq.js} +12 -12
- package/dist/dropdownComposed-BAoxIIsE.js +1 -0
- package/dist/{dropdownComposed-_fgAlo_C.js → dropdownComposed-CoU0enG6.js} +9 -10
- package/dist/{dynamicForms-DyfnsS7E.js → dynamicForms-DvTU65bW.js} +12 -12
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/ekybModule-BkVQBQvW.js +2 -0
- package/dist/{ekybModule-CIPGmCvD.js → ekybModule-CwZvxios.js} +14 -14
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekycModule-BIbj7hr1.js +2 -0
- package/dist/{ekycModule-BuTaC5ct.js → ekycModule-jkXByPXe.js} +13 -13
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-B-Q7M0wK.js → electronic-signature-h1sAGg7l.js} +11 -11
- package/dist/email/email.es.js +7 -7
- package/dist/{emailInput-KZmhjOdZ.js → emailInput-BRMJMJV6.js} +3 -3
- package/dist/{expiredId-Q1t6aVpk.js → expiredId-D17oN5K2.js} +4 -4
- package/dist/{extensibility-Cs3KQQdC.js → extensibility-CTmAsaji.js} +41 -41
- package/dist/extensibility.es.js +22 -22
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/faceMatch-C0-RPzrc.js +2 -0
- package/dist/{faceMatch--RDHJe4t.js → faceMatch-Dez_bq3n.js} +8 -8
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/fieldComparison-7FUznk_9.js +2 -0
- package/dist/{fieldComparison-CAF86bTC.js → fieldComparison-BelzSC48.js} +8 -8
- package/dist/fiscal-qr/fiscal-qr.es.js +7 -7
- package/dist/flow/flow.es.js +19 -9
- package/dist/flow/styles.css +173 -12
- package/dist/geolocation/geolocation.es.js +181 -322
- package/dist/geolocation/styles.css +8 -0
- package/dist/governmentValidation/governmentValidation.es.js +8 -8
- package/dist/{homeScreen-BZnIEDrV.js → homeScreen-BIdVm9KA.js} +5 -5
- package/dist/{i18n-CoCO2ZuN.js → i18n-DoP1NB7u.js} +1 -1
- package/dist/{icons-Dbs9ZfYM.js → icons-CJJbIpBq.js} +2 -2
- package/dist/id/id.es.js +21 -21
- package/dist/id-verification/id-verification.es.js +4 -4
- package/dist/{idOcr-CjGbb4dB.js → idOcr-C4K2XVJr.js} +11 -11
- package/dist/identity-reuse/identity-reuse.es.js +6 -6
- package/dist/{incodeComponent-wfnHlnXx.js → incodeComponent-Cmi1rlWs.js} +2 -1
- package/dist/{incodeModule-BUDoTwT9.js → incodeModule-M8DszCee.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/inputComposed-BaY5q9WM.js +1 -0
- package/dist/{inputComposed-CQ4AsvZg.js → inputComposed-C1R2LAa3.js} +3 -3
- package/dist/{mandatoryConsent-r0PQHmv-.js → mandatoryConsent-DOQ0DKgM.js} +9 -9
- package/dist/{modal-nTSaG7nB.js → modal-OxkFuuiR.js} +2 -2
- package/dist/{optionAccessibleLabel-CnA-mNAU.js → optionAccessibleLabel-_nvVCTSL.js} +4 -4
- package/dist/{otpInput-_JmtVwa0.js → otpInput-Q_kzSZeD.js} +4 -4
- package/dist/{verifiedByIncode-DjXOdCml.js → page-DidH_RkX.js} +70 -2
- package/dist/{pdf-BZA70WbM.js → pdf-BMUXKJuC.js} +1 -1
- package/dist/{pdfViewer-BK-yVIve.js → pdfViewer-BewML6eg.js} +2 -2
- package/dist/phone/phone.es.js +8 -8
- package/dist/{phoneInputComposed-DjNdsmPE.js → phoneInputComposed-DMiXfF-1.js} +5 -5
- package/dist/{processing-BM-wT-1W.js → processing-Boki1Z8j.js} +1 -1
- package/dist/qe-signature/qe-signature.es.js +2 -2
- package/dist/{radioGroupComposed-BNuaopVr.js → radioGroupComposed-TuAWUAFK.js} +4 -4
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +28 -23
- package/dist/redirect-to-mobile/styles.css +1 -0
- package/dist/{richText-Cf9aMOCk.js → richText-DsTP4H3j.js} +1 -1
- package/dist/selfie/selfie.es.js +6 -6
- package/dist/signature/signature.es.js +8 -8
- package/dist/{spinner-D8a_2LvW.js → spinner-BRNNKqPN.js} +10 -4
- package/dist/spinner-zRaUjXtH.js +1 -0
- package/dist/{statusPage-DMYPUwRZ.js → statusPage-BUm5gtQY.js} +2 -2
- package/dist/themes/dark.css +8 -2
- package/dist/themes/light.css +8 -2
- package/dist/{transitionSpinner-DRRz-NV8.js → transitionSpinner-4rPkt-KM.js} +8 -5
- package/dist/{tutorial-D1qaY2Tm.js → tutorial-Cap8qKvM.js} +13 -13
- package/dist/types/certificate-issuance.d.ts +46 -0
- package/dist/types/extensibility.d.ts +1 -1
- package/dist/{useModuleLoader-CeJ2jL25.js → useModuleLoader-Kt78XfNR.js} +21 -19
- package/dist/{verificationResult-Do5SpZ6X.js → verificationResult-B6PBXbp9.js} +8 -8
- package/dist/watchlist/watchlist.es.js +5 -5
- package/dist/{watchlistForBusiness-BFFXC9d-.js → watchlistForBusiness-DCKlKG81.js} +9 -9
- package/dist/workflow/styles.css +106 -0
- package/dist/workflow/workflow.es.js +143 -10
- package/package.json +15 -5
- package/dist/cpfOcr-jJkYCfsX.js +0 -2
- package/dist/dateInputComposed-Cy6a7ymh.js +0 -1
- package/dist/documentCapture-8ypBJehw.js +0 -2
- package/dist/dropdownComposed-CEWBSdGl.js +0 -1
- package/dist/ekybModule-DFoYpheB.js +0 -2
- package/dist/ekycModule-BGzwgjl1.js +0 -2
- package/dist/faceMatch-yEKPYaym.js +0 -2
- package/dist/fieldComparison-D0an7T_g.js +0 -2
- package/dist/inputComposed-BEn7_nZd.js +0 -1
- package/dist/page-DxGQj7Gk.js +0 -71
- package/dist/spinner-B6RxGFrI.js +0 -1
- /package/dist/{aligndevicelottie-DY_bX_p8.js → aligndevicelottie-DMXPhIDs.js} +0 -0
- /package/dist/{back-horizontal-hint-D_8LptLm.js → back-horizontal-hint-DNIIDrEW.js} +0 -0
- /package/dist/{back-tutorial-vb1MxlrT.js → back-tutorial-B8JJSJBB.js} +0 -0
- /package/dist/{back-vertical-hint-C1evxxq2.js → back-vertical-hint-CW6ZS7bP.js} +0 -0
- /package/dist/{backdevicelottie-HypPqBz7.js → backdevicelottie-By75Bznp.js} +0 -0
- /package/dist/{blurdevicelottie-CBXtBFiJ.js → blurdevicelottie-C_9VAHkM.js} +0 -0
- /package/dist/{browser-ponyfill-CLLvZCVg.js → browser-ponyfill-C_DpU0lQ.js} +0 -0
- /package/dist/{defineProperty-mefzVtTv.js → defineProperty-CTu-cLWm.js} +0 -0
- /package/dist/{errorIcon-DJRZpd8j.js → errorIcon-BA4T6iy-.js} +0 -0
- /package/dist/{flip-animation-BGRvygw9.js → flip-animation-st9bra1p.js} +0 -0
- /package/dist/{front-horizontal-hint-Uf5bHCsd.js → front-horizontal-hint-DvME-aVk.js} +0 -0
- /package/dist/{front-vertical-hint-DdWNA45v.js → front-vertical-hint-BUG1VMsP.js} +0 -0
- /package/dist/{frontdevicelottie-CLqitJhG.js → frontdevicelottie-uObOEs8p.js} +0 -0
- /package/dist/{glaredevicelottie-BS04U6Fc.js → glaredevicelottie-CsfIgqIc.js} +0 -0
- /package/dist/{id-laser-h-DX8UbVNH.js → id-laser-h-BvVSaLyU.js} +0 -0
- /package/dist/{id-laser-v-DhnHdjlB.js → id-laser-v-Dj_RN_s9.js} +0 -0
- /package/dist/{id-tutorial-lj4iKtYT.js → id-tutorial-BOOsXlAJ.js} +0 -0
- /package/dist/{lottie_light-Dp9Bz3mf.js → lottie_light-BG-RL2Iu.js} +0 -0
- /package/dist/{modal.hooks-D2xhIuHA.js → modal.hooks-ZrzmHAUa.js} +0 -0
- /package/dist/{numberedStep-CEtwZqLp.js → numberedStep-Dc0BUU-j.js} +0 -0
- /package/dist/{passport-horizontal-hint-Bbm2mvSn.js → passport-horizontal-hint-BhpVt73n.js} +0 -0
- /package/dist/{passport-tutorial-zT1ZoA-D.js → passport-tutorial-CeSup6m9.js} +0 -0
- /package/dist/{passport-vertical-hint-DJbCtBiM.js → passport-vertical-hint-CVRBnZXS.js} +0 -0
- /package/dist/{registerIncodeElement-77NGCDsy.js → registerIncodeElement-CdlNRRv5.js} +0 -0
- /package/dist/{requiredLabelHint-DEadtiwx.js → requiredLabelHint-DX3oVNtu.js} +0 -0
- /package/dist/{selfieTutorial-CtruLyO2.js → selfieTutorial-CYa8bq6B.js} +0 -0
- /package/dist/{snackbar-CxepGC3e.js → snackbar-CGL6gp9u.js} +0 -0
- /package/dist/{successIcon-BAyDPT7I.js → successIcon-B5mGvdx1.js} +0 -0
- /package/dist/{tabs-C8npVBbk.js → tabs-DUkWjBGk.js} +0 -0
- /package/dist/{typography-YLgHHuao.js → typography-BZIpjo97.js} +0 -0
package/dist/id/id.es.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { n as useTranslation } from "../i18n-
|
|
1
|
+
import { n as useTranslation } from "../i18n-DoP1NB7u.js";
|
|
2
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
3
|
import { c as useManager, o as useModuleTerminalCallbacks } from "../hooks-Da_yP_Dr.js";
|
|
4
|
-
import { t as IncodeComponent } from "../incodeComponent-
|
|
4
|
+
import { t as IncodeComponent } from "../incodeComponent-Cmi1rlWs.js";
|
|
5
5
|
import { n as cn } from "../loadingIcon-B0ysgiNq.js";
|
|
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-
|
|
19
|
-
import { t as id_laser_v_default } from "../id-laser-v-
|
|
20
|
-
import { t as Tabs } from "../tabs-
|
|
6
|
+
import { t as Page } from "../page-DidH_RkX.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-CTmAsaji.js";
|
|
8
|
+
import { t as Spinner } from "../spinner-BRNNKqPN.js";
|
|
9
|
+
import "../spinner-zRaUjXtH.js";
|
|
10
|
+
import { t as TransitionSpinner } from "../transitionSpinner-4rPkt-KM.js";
|
|
11
|
+
import { t as Processing } from "../processing-Boki1Z8j.js";
|
|
12
|
+
import { t as Button } from "../button-Ch5-QgHB.js";
|
|
13
|
+
import { t as ErrorIcon } from "../errorIcon-BA4T6iy-.js";
|
|
14
|
+
import { s as ChevronRightIcon } from "../icons-CJJbIpBq.js";
|
|
15
|
+
import { t as SuccessIcon } from "../successIcon-B5mGvdx1.js";
|
|
16
|
+
import { a as Lottie, o as ErrorContent, r as Permissions } from "../tutorial-Cap8qKvM.js";
|
|
17
|
+
import { t as PdfViewer } from "../pdfViewer-BewML6eg.js";
|
|
18
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-M8DszCee.js";
|
|
19
|
+
import { t as id_laser_v_default } from "../id-laser-v-Dj_RN_s9.js";
|
|
20
|
+
import { t as Tabs } from "../tabs-DUkWjBGk.js";
|
|
21
21
|
import { createIdCaptureManager } from "@incodetech/core/id";
|
|
22
22
|
//#region src/shared/fonts/preloadDisplayFont.ts
|
|
23
23
|
function preloadDisplayFont() {
|
|
@@ -907,13 +907,13 @@ var started = false;
|
|
|
907
907
|
function preloadIdTutorialAssets() {
|
|
908
908
|
if (started) return;
|
|
909
909
|
started = true;
|
|
910
|
-
import("../id-tutorial-
|
|
911
|
-
import("../back-tutorial-
|
|
912
|
-
import("../passport-tutorial-
|
|
910
|
+
import("../id-tutorial-BOOsXlAJ.js");
|
|
911
|
+
import("../back-tutorial-B8JJSJBB.js");
|
|
912
|
+
import("../passport-tutorial-CeSup6m9.js");
|
|
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-DOQ0DKgM.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
1
|
import { v as u } from "../vendor-preact-DThS2ZQ_.js";
|
|
2
2
|
import { c as useManager, o as useModuleTerminalCallbacks } from "../hooks-Da_yP_Dr.js";
|
|
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-
|
|
3
|
+
import { t as IncodeComponent } from "../incodeComponent-Cmi1rlWs.js";
|
|
4
|
+
import { t as Spinner } from "../spinner-BRNNKqPN.js";
|
|
5
|
+
import { t as ExpiredId } from "../expiredId-D17oN5K2.js";
|
|
6
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-M8DszCee.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,16 +1,16 @@
|
|
|
1
|
-
import { n as useTranslation } from "./i18n-
|
|
1
|
+
import { n as useTranslation } from "./i18n-DoP1NB7u.js";
|
|
2
2
|
import { d as T, v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
3
3
|
import { c as useManager, o as useModuleTerminalCallbacks } from "./hooks-Da_yP_Dr.js";
|
|
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-
|
|
13
|
-
import { n as getRequiredHintMode, t as getFieldHint } from "./requiredLabelHint-
|
|
4
|
+
import { t as IncodeComponent } from "./incodeComponent-Cmi1rlWs.js";
|
|
5
|
+
import { t as Page } from "./page-DidH_RkX.js";
|
|
6
|
+
import "./extensibility-CTmAsaji.js";
|
|
7
|
+
import { t as Button } from "./button-Ch5-QgHB.js";
|
|
8
|
+
import { t as VerificationResult } from "./verificationResult-B6PBXbp9.js";
|
|
9
|
+
import { t as InputComposed } from "./inputComposed-C1R2LAa3.js";
|
|
10
|
+
import { t as RadioGroupComposed } from "./radioGroupComposed-TuAWUAFK.js";
|
|
11
|
+
import { t as DateInputComposed } from "./dateInputComposed-DuaofcBl.js";
|
|
12
|
+
import { t as registerIncodeModuleElement } from "./incodeModule-M8DszCee.js";
|
|
13
|
+
import { n as getRequiredHintMode, t as getFieldHint } from "./requiredLabelHint-DX3oVNtu.js";
|
|
14
14
|
import { createIdOcrManager, getOcrFields } from "@incodetech/core/id-ocr";
|
|
15
15
|
//#region src/modules/id-ocr/idOcrForm.tsx
|
|
16
16
|
var TEXT_FIELD_COMPONENTS = {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { n as useTranslation } from "../i18n-
|
|
1
|
+
import { n as useTranslation } from "../i18n-DoP1NB7u.js";
|
|
2
2
|
import { _ as y, v as u } from "../vendor-preact-DThS2ZQ_.js";
|
|
3
3
|
import { c as useManager, o as useModuleTerminalCallbacks } from "../hooks-Da_yP_Dr.js";
|
|
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-
|
|
4
|
+
import { t as IncodeComponent } from "../incodeComponent-Cmi1rlWs.js";
|
|
5
|
+
import { t as Page } from "../page-DidH_RkX.js";
|
|
6
|
+
import { t as Spinner } from "../spinner-BRNNKqPN.js";
|
|
7
|
+
import { t as Button } from "../button-Ch5-QgHB.js";
|
|
8
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-M8DszCee.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,4 +1,4 @@
|
|
|
1
|
-
import { n as useTranslation } from "./i18n-
|
|
1
|
+
import { n as useTranslation } from "./i18n-DoP1NB7u.js";
|
|
2
2
|
import { _ as y, l as A, p as d, r as $, v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
3
3
|
import { s as useScreenOrientation } from "./hooks-Da_yP_Dr.js";
|
|
4
4
|
import { isIPad } from "@incodetech/core/device";
|
|
@@ -56,6 +56,7 @@ function IncodeComponent({ children }) {
|
|
|
56
56
|
const { isLandscapeMobile } = useScreenOrientation();
|
|
57
57
|
return /* @__PURE__ */ u("div", {
|
|
58
58
|
class: "IncodeComponent",
|
|
59
|
+
tabIndex: 0,
|
|
59
60
|
children: [children, isLandscapeMobile ? /* @__PURE__ */ u(LandscapeBlocker, {}) : null]
|
|
60
61
|
});
|
|
61
62
|
}
|
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as createI18n, i as setI18nInstance } from "./i18n-
|
|
1
|
+
import { a as createI18n, i as setI18nInstance } from "./i18n-DoP1NB7u.js";
|
|
2
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";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./inputComposed-C1R2LAa3.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as D, v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
2
2
|
import { n as cn } from "./loadingIcon-B0ysgiNq.js";
|
|
3
|
-
import { t as ErrorIcon } from "./errorIcon-
|
|
4
|
-
import { o as CloseIcon } from "./icons-
|
|
5
|
-
import { t as SuccessIcon } from "./successIcon-
|
|
3
|
+
import { t as ErrorIcon } from "./errorIcon-BA4T6iy-.js";
|
|
4
|
+
import { o as CloseIcon } from "./icons-CJJbIpBq.js";
|
|
5
|
+
import { t as SuccessIcon } from "./successIcon-B5mGvdx1.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-
|
|
1
|
+
import { n as useTranslation } from "./i18n-DoP1NB7u.js";
|
|
2
2
|
import { _ as y, l as A, v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
3
3
|
import { a as isTerminalModuleState, c as useManager, o as useModuleTerminalCallbacks } from "./hooks-Da_yP_Dr.js";
|
|
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-
|
|
4
|
+
import { t as IncodeComponent } from "./incodeComponent-Cmi1rlWs.js";
|
|
5
|
+
import { t as Page } from "./page-DidH_RkX.js";
|
|
6
|
+
import { t as TransitionSpinner } from "./transitionSpinner-4rPkt-KM.js";
|
|
7
|
+
import { t as Button } from "./button-Ch5-QgHB.js";
|
|
8
|
+
import { t as Checkbox } from "./checkbox-1wUHSoaK.js";
|
|
9
|
+
import { t as registerIncodeModuleElement } from "./incodeModule-M8DszCee.js";
|
|
10
|
+
import { t as RichText } from "./richText-DsTP4H3j.js";
|
|
11
11
|
import { createMandatoryConsentManager } from "@incodetech/core/mandatory-consent";
|
|
12
12
|
//#region src/modules/mandatory-consent/mandatoryConsent.tsx
|
|
13
13
|
var stopLinkPropagation = (event) => {
|
|
@@ -21,7 +21,7 @@ var MandatoryConsentContent = ({ config, manager: externalManager, onFinish, onE
|
|
|
21
21
|
if (!config) throw new Error("MandatoryConsent config is required when no manager is provided");
|
|
22
22
|
return createMandatoryConsentManager({ config: {
|
|
23
23
|
...config,
|
|
24
|
-
language: i18n.language
|
|
24
|
+
language: config.language ?? i18n.language
|
|
25
25
|
} });
|
|
26
26
|
}, { manageLifecycle: !externalManager });
|
|
27
27
|
y(() => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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
2
|
import { n as cn } from "./loadingIcon-B0ysgiNq.js";
|
|
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 MODAL_TITLE_ID } from "./modal.hooks-
|
|
3
|
+
import { o as CloseIcon } from "./icons-CJJbIpBq.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-ZrzmHAUa.js";
|
|
5
5
|
//#region src/shared/modal/modal.tsx
|
|
6
6
|
var ModalContext = Q(null);
|
|
7
7
|
function useModalContext() {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as useTranslation } from "./i18n-
|
|
1
|
+
import { n as useTranslation } from "./i18n-DoP1NB7u.js";
|
|
2
2
|
import { _ as y, h as q, l as A, p as d, v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
3
3
|
import { r as useIsMobileDeviceWidth } from "./hooks-Da_yP_Dr.js";
|
|
4
|
-
import { t as InputComposed } from "./inputComposed-
|
|
5
|
-
import { i as translateError } from "./radioGroupComposed-
|
|
6
|
-
import { t as BottomSheet } from "./bottomSheet-
|
|
4
|
+
import { t as InputComposed } from "./inputComposed-C1R2LAa3.js";
|
|
5
|
+
import { i as translateError } from "./radioGroupComposed-TuAWUAFK.js";
|
|
6
|
+
import { t as BottomSheet } from "./bottomSheet-CnWbbUAM.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-
|
|
1
|
+
import { n as useTranslation } from "./i18n-DoP1NB7u.js";
|
|
2
2
|
import { _ as y, h as q, l as A, v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
3
3
|
import { r as Spacer } from "./loadingIcon-B0ysgiNq.js";
|
|
4
|
-
import { t as Button } from "./button-
|
|
5
|
-
import { t as InputComposed } from "./inputComposed-
|
|
6
|
-
import "./inputComposed-
|
|
4
|
+
import { t as Button } from "./button-Ch5-QgHB.js";
|
|
5
|
+
import { t as InputComposed } from "./inputComposed-C1R2LAa3.js";
|
|
6
|
+
import "./inputComposed-BaY5q9WM.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,5 +1,7 @@
|
|
|
1
|
-
import { v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
1
|
+
import { _ as y, l as A, v as u, x as k } from "./vendor-preact-DThS2ZQ_.js";
|
|
2
2
|
import { n as useUiConfig } from "./uiConfig-D2_wawvr.js";
|
|
3
|
+
import { r as Spacer } from "./loadingIcon-B0ysgiNq.js";
|
|
4
|
+
import { t as incode_logo_default } from "./incode-logo-57XFniXU.js";
|
|
3
5
|
//#region src/shared/page/pageUiConfig.ts
|
|
4
6
|
function resolveFirst(values) {
|
|
5
7
|
for (const value of values) if (value !== void 0) return value;
|
|
@@ -100,4 +102,70 @@ var VerifiedByIncodeLogo = () => {
|
|
|
100
102
|
});
|
|
101
103
|
};
|
|
102
104
|
//#endregion
|
|
103
|
-
|
|
105
|
+
//#region src/shared/page/page.tsx
|
|
106
|
+
var Page = ({ title, titleId, subtitle, titleTopSlot, className, logo, children, hideHeader, hideFooterBranding, footerBrandingSlot, "data-testid": dataTestId, "data-permission-status": dataPermissionStatus }) => {
|
|
107
|
+
const titleRef = A(null);
|
|
108
|
+
y(() => {
|
|
109
|
+
titleRef.current?.focus();
|
|
110
|
+
}, []);
|
|
111
|
+
const uiConfig = usePageUiConfig({
|
|
112
|
+
hideHeader,
|
|
113
|
+
hideFooterBranding,
|
|
114
|
+
logo,
|
|
115
|
+
defaultLogoSrc: incode_logo_default
|
|
116
|
+
});
|
|
117
|
+
const shouldShowHeader = title || subtitle || titleTopSlot;
|
|
118
|
+
return /* @__PURE__ */ u("div", {
|
|
119
|
+
class: `IncodePageContainer ${className ?? ""}`,
|
|
120
|
+
"data-testid": dataTestId,
|
|
121
|
+
"data-permission-status": dataPermissionStatus,
|
|
122
|
+
children: /* @__PURE__ */ u("main", {
|
|
123
|
+
class: "IncodePageInner",
|
|
124
|
+
children: [
|
|
125
|
+
!uiConfig.hideHeader && /* @__PURE__ */ u("header", {
|
|
126
|
+
class: "IncodePageHeader",
|
|
127
|
+
children: /* @__PURE__ */ u("img", {
|
|
128
|
+
src: uiConfig.logoSrc,
|
|
129
|
+
height: uiConfig.logoHeightPx,
|
|
130
|
+
class: "IncodePageLogo",
|
|
131
|
+
"aria-hidden": "true",
|
|
132
|
+
alt: ""
|
|
133
|
+
})
|
|
134
|
+
}),
|
|
135
|
+
shouldShowHeader ? /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u(Spacer, { size: uiConfig.hideHeader ? 40 : 24 }), /* @__PURE__ */ u("div", {
|
|
136
|
+
class: "IncodePageTitleContainer",
|
|
137
|
+
children: [
|
|
138
|
+
titleTopSlot ? /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u("div", {
|
|
139
|
+
class: "IncodePageTitleTopSlot",
|
|
140
|
+
children: titleTopSlot
|
|
141
|
+
}), /* @__PURE__ */ u(Spacer, { size: 12 })] }) : null,
|
|
142
|
+
title ? /* @__PURE__ */ u("h2", {
|
|
143
|
+
ref: titleRef,
|
|
144
|
+
id: titleId,
|
|
145
|
+
class: "IncodePageTitle",
|
|
146
|
+
tabIndex: -1,
|
|
147
|
+
children: title
|
|
148
|
+
}) : null,
|
|
149
|
+
subtitle ? /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u(Spacer, { size: 12 }), /* @__PURE__ */ u("p", {
|
|
150
|
+
class: "IncodePageSubtitle",
|
|
151
|
+
children: subtitle
|
|
152
|
+
})] }) : null
|
|
153
|
+
]
|
|
154
|
+
})] }) : null,
|
|
155
|
+
/* @__PURE__ */ u("div", {
|
|
156
|
+
class: "IncodePageContent",
|
|
157
|
+
children
|
|
158
|
+
}),
|
|
159
|
+
!uiConfig.hideFooterBranding ? /* @__PURE__ */ u("div", {
|
|
160
|
+
class: "IncodePageFooter",
|
|
161
|
+
children: /* @__PURE__ */ u("div", {
|
|
162
|
+
class: "IncodePageFooterInner",
|
|
163
|
+
children: footerBrandingSlot ?? /* @__PURE__ */ u(VerifiedByIncodeLogo, {})
|
|
164
|
+
})
|
|
165
|
+
}) : null
|
|
166
|
+
]
|
|
167
|
+
})
|
|
168
|
+
});
|
|
169
|
+
};
|
|
170
|
+
//#endregion
|
|
171
|
+
export { VerifiedByIncodeLogo as n, usePageUiConfig as r, Page as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as _defineProperty } from "./defineProperty-
|
|
1
|
+
import { t as _defineProperty } from "./defineProperty-CTu-cLWm.js";
|
|
2
2
|
//#region \0@oxc-project+runtime@0.122.0/helpers/assertClassBrand.js
|
|
3
3
|
function _assertClassBrand(e, t, n) {
|
|
4
4
|
if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
|