@incodetech/web 0.0.0-dev-20260901-1ac66c0f → 0.0.0-dev-20260902-b423eb4c
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/{af-ZA-DL1Rs-NR.js → af-ZA-DKsV_Ex3.js} +1 -0
- package/dist/{am-Cj_JM4rL.js → am-CogWj1Jf.js} +1 -0
- package/dist/antifraud/antifraud.es.js +3 -3
- package/dist/{ar-AE-VNseUPF5.js → ar-AE-CxPnqMRc.js} +1 -0
- package/dist/{ar-ChbSCcC2.js → ar-BRG8Sd8K.js} +1 -0
- package/dist/{ar-EG-DsvbMod-.js → ar-EG-C0nwcKxi.js} +1 -0
- package/dist/authentication/authentication.es.js +2 -2
- package/dist/{az-CG1ZWdHB.js → az-DmgRG3V_.js} +1 -0
- package/dist/base.css +349 -3
- package/dist/{bn-B0_3KAKc.js → bn-iDqSpfVF.js} +1 -0
- package/dist/{bs-BfLlSoFe.js → bs-D6z9Pk8U.js} +1 -0
- package/dist/{ca-zf7e_pfR.js → ca-Bb9jg5vy.js} +1 -0
- package/dist/{ceb-Sl_ryOzZ.js → ceb-Di1aDqdQ.js} +1 -0
- package/dist/certificate-issuance/certificate-issuance.es.js +5 -5
- package/dist/consent/consent.es.js +5 -5
- package/dist/{countrySelector-BHA6GDsN.js → countrySelector-CZccmi4z.js} +3 -3
- package/dist/cross-document-data-match/cross-document-data-match.es.js +3 -3
- package/dist/{cs-CZ-CfqC64MA.js → cs-CZ-d7uYvc-P.js} +1 -0
- package/dist/{cs-B3wWkzmc.js → cs-nfK2HQKu.js} +1 -0
- package/dist/curp-validation/curp-validation.es.js +5 -5
- package/dist/{customFields-CQ6rHt7I.js → customFields-CaOTIR_e.js} +5 -5
- package/dist/{customWatchlist-CKBbjq3B.js → customWatchlist-B83i5Ubd.js} +5 -5
- package/dist/{da-DK-B7Bx1As6.js → da-DK-C4noYMcl.js} +1 -0
- package/dist/{dashboardTheme-CYMabVVu.js → dashboardTheme-NKUM6vAI.js} +1 -1
- package/dist/{de-1h890scz.js → de-icofTp3b.js} +1 -0
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/{documentCapture-guWsqYCJ.js → documentCapture-B7T8XbL5.js} +7 -7
- package/dist/documentCapture-pXKP1Tbe.js +2 -0
- package/dist/{dropdownComposed-DgwGkwlL.js → dropdownComposed-Bp28bptM.js} +10 -3
- package/dist/{dynamicForms-BZzNPt1d.js → dynamicForms-DvTAF24O.js} +5 -5
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/ekybModule-DyROxp2N.js +2 -0
- package/dist/{ekybModule-BqQn8u7K.js → ekybModule-x8d73Kdl.js} +8 -8
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekycModule-4yjbMN_L.js +2 -0
- package/dist/{ekycModule-hqI1f98x.js → ekycModule-DzJz3lYC.js} +6 -6
- package/dist/{el-DuDmBhhX.js → el-4Yh-4jWz.js} +2 -1
- package/dist/{el-GR-Cr_q-OQL.js → el-GR-CzH1ZHEZ.js} +1 -0
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/electronic-signature/styles.css +62 -2
- package/dist/{electronic-signature-BsCeu1JX.js → electronic-signature-Cov9BKJ-.js} +61 -12
- package/dist/email/email.es.js +6 -6
- package/dist/{emailInput-68B1aOjX.js → emailInput-CN48lIrg.js} +2 -2
- package/dist/{en-D2dHFjce.js → en-CM36Z7Qh.js} +1 -0
- package/dist/{en-DG-C1r7DmNh.js → en-DG-BX3Mhg-X.js} +1 -0
- package/dist/{es-419-Vy_zeEaR.js → es-419-CK1_SFaK.js} +1 -0
- package/dist/{es-rQQGVK4S.js → es-BheZdqh1.js} +1 -0
- package/dist/{es-ES-CoqW6MNQ.js → es-ES-C_JAIqQv.js} +1 -0
- package/dist/{es-MX-QrDI5xS_.js → es-MX-qzdj0RXw.js} +1 -0
- package/dist/{et-BXAuX_MU.js → et-IT1XE4S0.js} +1 -0
- package/dist/{extensibility-C5-dzGB9.js → extensibility-C_4OSwNj.js} +617 -190
- package/dist/extensibility.es.js +5 -5
- package/dist/{fa-IR-_PiyQI42.js → fa-IR-C1h-E0lZ.js} +1 -0
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/{faceMatch-C9eg9m7p.js → faceMatch-CJwGNK5J.js} +6 -6
- package/dist/faceMatch-Rl9qO8Fy.js +2 -0
- package/dist/{fi-FI-kLhBbF-W.js → fi-FI-CNsM3XrX.js} +1 -0
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/fieldComparison-7yzuwmhT.js +2 -0
- package/dist/{fieldComparison-MM_rtNmV.js → fieldComparison-BKGJa1-Z.js} +5 -5
- package/dist/{finalSuccessScreen-UY1WRmFI.js → finalSuccessScreen-BGvHT0Nb.js} +4 -4
- package/dist/fiscal-qr/fiscal-qr.es.js +5 -5
- package/dist/flow/flow.es.js +10 -7
- package/dist/flow/styles.css +96 -3
- package/dist/{fr-CA-DGt9R6Xt.js → fr-CA-BFJa7kyf.js} +1 -0
- package/dist/{fr-Dj79iLxP.js → fr-DWDxafAY.js} +1 -0
- package/dist/geolocation/geolocation.es.js +5 -5
- package/dist/government-validation/government-validation.es.js +3 -3
- package/dist/{he-Biej7cfB.js → he-D7DVvU9N.js} +1 -0
- package/dist/{hi-gumowzrc.js → hi-wVkp0Jk5.js} +1 -0
- package/dist/{hmn-KIbKCobg.js → hmn-Ci7YP0lZ.js} +1 -0
- package/dist/{homeScreen-Dx9BTr1O.js → homeScreen-CGwTFNOv.js} +3 -3
- package/dist/{hr-iKQKWlBR.js → hr-C4yja_Ys.js} +1 -0
- package/dist/{ht-BjJVaAq3.js → ht-munP_qAb.js} +1 -0
- package/dist/{hu-Cz2-tuR5.js → hu-C90KTHI3.js} +2 -1
- package/dist/id/id.es.js +300 -13
- package/dist/id/styles.css +34 -1
- package/dist/{id-BA-wl3qw.js → id-qC41mNnn.js} +2 -1
- package/dist/id-selfie-flow/id-selfie-flow.es.js +5 -5
- package/dist/id-verification/id-verification.es.js +3 -3
- package/dist/{idOcr-DafjN-gA.js → idOcr-KAbQjIuE.js} +4 -4
- package/dist/identity-reuse/identity-reuse.es.js +5 -5
- package/dist/{incodeModule-MEI6idNa.js → incodeModule-BJ-HCYmb.js} +1 -1
- package/dist/index.es.js +2 -2
- package/dist/{it-B4ZxNAgd.js → it-DI10PqSV.js} +2 -1
- package/dist/{ja-JP-DBqIekzB.js → ja-JP-CA4AXxTr.js} +1 -0
- package/dist/{ja-8vuOC_Um.js → ja-MzfyL-D7.js} +1 -0
- package/dist/{jv-YfLjXl-Z.js → jv-CVDppS6O.js} +1 -0
- package/dist/{ka-Dbq1craV.js → ka-fWNGcQJB.js} +1 -0
- package/dist/{kk-BtzLSaQD.js → kk-CdkVXCt8.js} +1 -0
- package/dist/{km-BvGideop.js → km-w72ZVMQE.js} +7 -6
- package/dist/{ko-KP-Ckue-qZl.js → ko-KP-DzUqVwCH.js} +1 -0
- package/dist/{ko-CrLFFLPU.js → ko-Yv-0llXS.js} +1 -0
- package/dist/{ky-D1f1BhgJ.js → ky-ve1IsqQ4.js} +1 -0
- package/dist/{lo-BkX9eO0p.js → lo-DErT0B9M.js} +1 -0
- package/dist/{lt-DEt9tgoR.js → lt-DUpfkS_o.js} +2 -1
- package/dist/{lv-BALLlBIy.js → lv-C67c3sx0.js} +2 -1
- package/dist/{mandatoryConsent-BdmJ-3O0.js → mandatoryConsent-gofFwZJb.js} +5 -5
- package/dist/{mk-BDvZSZuI.js → mk-BAMhJ8St.js} +1 -0
- package/dist/{mn-Dy6FxwUI.js → mn-C7b_xep_.js} +1 -0
- package/dist/{ms-DFic8nOa.js → ms-BNePU_Gx.js} +1 -0
- package/dist/{my-D19Gvy6S.js → my-NZpjG86b.js} +1 -0
- package/dist/{nb-NO-DPnsITh8.js → nb-NO-BlQuLcnl.js} +1 -0
- package/dist/{ne-UcFVlh-J.js → ne-CREnlwWI.js} +1 -0
- package/dist/{nl-Bp9dl65m.js → nl-RDjBXUCz.js} +3 -2
- package/dist/{optionAccessibleLabel-CMOxbRAi.js → optionAccessibleLabel-DdnoFUd4.js} +2 -2
- package/dist/pdfViewer-BVWBcRqJ.js +2 -0
- package/dist/{pdfViewer-Dy13J875.js → pdfViewer-ewa3CipR.js} +2 -2
- package/dist/phone/phone.es.js +5 -5
- package/dist/{pl-BVmorQqr.js → pl-EawYXaSx.js} +1 -0
- package/dist/{pt-BR-B2-39vwT.js → pt-BR-4P22-DCp.js} +1 -0
- package/dist/{pt-C5HBWUpp.js → pt-CJvsYnmN.js} +1 -0
- package/dist/{pt-PT-CkRkgTwG.js → pt-PT-BzGLGAMJ.js} +1 -0
- package/dist/qe-signature/qe-signature.es.js +3 -3
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +5 -5
- package/dist/{richText-Cg-svMS_.js → richText-DCnMn7nM.js} +1 -1
- package/dist/{ro-S0-1Kd16.js → ro-DwDFAX_u.js} +1 -0
- package/dist/{ru-2AU75QKx.js → ru-CrPFJvYl.js} +2 -1
- package/dist/{ru-RU-Bnz17gfl.js → ru-RU-BHAEyJd2.js} +1 -0
- package/dist/selfie/selfie.es.js +6 -6
- package/dist/signature/signature.es.js +5 -5
- package/dist/{sk-C1fUSB6r.js → sk-OMBeVmQc.js} +3 -2
- package/dist/{sl-CTMp41Ci.js → sl-DkZoEs1z.js} +1 -0
- package/dist/{so-ay9PdIOq.js → so-C3Qi5y9Z.js} +1 -0
- package/dist/{spacer-Dnkw3rCV.js → spacer-6MHVWssc.js} +1 -1
- package/dist/{spinner-CbzMb0df.js → spinner-CKRC7C1a.js} +46 -4
- package/dist/{sr-BGlnNf9t.js → sr-Bs8F7Q2U.js} +1 -0
- package/dist/{sr-Latn-DHtEPYdA.js → sr-Latn-CKM_b-Cy.js} +7 -6
- package/dist/{sr-YU-Dkf07ZzJ.js → sr-YU-Czlf6QBm.js} +1 -0
- package/dist/{sv-SE-BQGEIpvA.js → sv-SE-F_js51u7.js} +1 -0
- package/dist/{sw-B69V2V3r.js → sw-C2lGdJlV.js} +1 -0
- package/dist/{tabs-Csmo-geL.js → tabs-ORRydng_.js} +1 -1
- package/dist/{th-BvEquZt8.js → th-B-QmzZUR.js} +1 -0
- package/dist/{th-TH-BhShsfIn.js → th-TH-DNSCzjJR.js} +1 -0
- package/dist/themes/dark.css +19 -1
- package/dist/themes/light.css +18 -1
- package/dist/{tl-CCDSFvx6.js → tl-CCmBQ7MX.js} +1 -0
- package/dist/{tl-PH-yqDEC8xn.js → tl-PH-CqAHCo4v.js} +1 -0
- package/dist/{tr-BvT5pqAQ.js → tr-DgyDseMN.js} +3 -2
- package/dist/types/extensibility.d.ts +49 -6
- package/dist/{uiConfig-_Xz7h9zF.js → uiConfig-S9TzEYvT.js} +83 -83
- package/dist/{uk-DW7cee8E.js → uk-BTW7Vs57.js} +1 -0
- package/dist/{uk-UA-we9YYvUm.js → uk-UA-C9-bG9M1.js} +1 -0
- package/dist/{ur-CA0yWorH.js → ur-C4G7YirV.js} +1 -0
- package/dist/{useModuleLoader-CVBQq93G.js → useModuleLoader-Dt7j-gwI.js} +18 -18
- package/dist/{uz-B-OlIfsm.js → uz-DK8QJLXz.js} +1 -0
- package/dist/{vi-CYh561-0.js → vi-DiQNP3Vc.js} +1 -0
- package/dist/video-selfie/video-selfie.es.js +7 -7
- package/dist/watchlist/watchlist.es.js +5 -5
- package/dist/{watchlistForBusiness-B-SuLpI7.js → watchlistForBusiness-CwlS0dKZ.js} +6 -6
- package/dist/workflow/styles.css +34 -1
- package/dist/workflow/workflow.es.js +6 -6
- package/dist/{zh-cyX67pt9.js → zh-BHvjBF-A.js} +1 -0
- package/dist/{zh-CN-DXSZpY8j.js → zh-CN-91qPLDFO.js} +2 -1
- package/dist/{zh-HANT-Cns9qKq6.js → zh-HANT-CwFLP6Na.js} +1 -0
- package/dist/{zh-TW-LE3VBz_2.js → zh-TW-ZFiX8OEz.js} +1 -0
- package/package.json +2 -2
- package/dist/documentCapture-BB56hYVB.js +0 -2
- package/dist/ekybModule-BFG3hSpH.js +0 -2
- package/dist/ekycModule-B8Ewzkkr.js +0 -2
- package/dist/faceMatch-3Z6-nWy3.js +0 -2
- package/dist/fieldComparison-DLym-Iow.js +0 -2
- package/dist/pdfViewer-Do3jC3Kh.js +0 -2
package/dist/id/id.es.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { o as useTranslation } from "../uiConfig-
|
|
1
|
+
import { o as useTranslation } from "../uiConfig-S9TzEYvT.js";
|
|
2
2
|
import { C as k, c as z, d as T, g as q, l as A, o as P, p as d, v as y, y as u } from "../vendor-preact-BPXMFRom.js";
|
|
3
|
-
import {
|
|
4
|
-
import { d as cn, i as preloadAnimations, r as AnimatedAsset, s as Asset, t as Spacer } from "../spacer-
|
|
5
|
-
import { n as Title, t as Spinner } from "../spinner-
|
|
6
|
-
import { A as Button, b as ChevronRightIcon, d as SuccessIcon, k as ErrorIcon, p as LockIcon } from "../dropdownComposed-
|
|
7
|
-
import { t as PdfViewer } from "../pdfViewer-
|
|
8
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
3
|
+
import { At as useModuleTerminalCallbacks, C as Permissions, D as SvgPersonCardIcon, Dt as useIsMobileDeviceWidth, E as SvgCheckV2Icon, Et as useTimeoutHandle, I as BottomSheet, Mt as useManager, O as SvgReloadIcon, St as VerifiedByIncodeLogo, Tt as useFeatureManagement, _ as ID_CAPTURE_LOADING_PHASE, _t as withStandaloneModuleBootstrap, a as Capture, c as IdNoAttempts, d as IdError, dt as Processing, f as CaptureFrame, g as EXPERIMENT_LIFECYCLE_STATUS, h as CONTINUING_TUTORIAL_PHASES, ht as AutoFocusTitle, l as IdExpired, lt as VerificationResult, m as CAMERA_PERMISSION_UX, n as Chooser, ot as ProgressBar, p as useIdExperiment, pt as IncodeComponent, r as Tutorial, t as FlipAnimation, ut as ErrorContent, v as ID_CAPTURE_STATUS, w as PermissionsDialog, wt as TransitionSpinner, xt as Page, y as PERMISSION_DIALOG_STATUS, yt as useHasResolvedConfig } from "../extensibility-C_4OSwNj.js";
|
|
4
|
+
import { d as cn, i as preloadAnimations, r as AnimatedAsset, s as Asset, t as Spacer } from "../spacer-6MHVWssc.js";
|
|
5
|
+
import { n as Title, s as TypographyP, t as Spinner } from "../spinner-CKRC7C1a.js";
|
|
6
|
+
import { A as Button, b as ChevronRightIcon, d as SuccessIcon, k as ErrorIcon, p as LockIcon, r as Modal } from "../dropdownComposed-Bp28bptM.js";
|
|
7
|
+
import { t as PdfViewer } from "../pdfViewer-ewa3CipR.js";
|
|
8
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-BJ-HCYmb.js";
|
|
9
9
|
import { t as SvgIdBackOfCard } from "../id-back-of-card-Cp-OinG6.js";
|
|
10
10
|
import { t as SvgIdBackOfCardVertical } from "../id-back-of-card-vertical-DOKxMdys.js";
|
|
11
11
|
import { t as SvgIdFrontOfCard } from "../id-front-of-card-BRgptNWd.js";
|
|
12
12
|
import { t as SvgIdFrontOfCardVertical } from "../id-front-of-card-vertical-CdWPzfay.js";
|
|
13
|
-
import { t as Tabs } from "../tabs-
|
|
13
|
+
import { t as Tabs } from "../tabs-ORRydng_.js";
|
|
14
14
|
import { ONBOARDING_WEB_SDK_PARAMETER_STORE } from "@incodetech/core/feature-management";
|
|
15
15
|
import { createIdCaptureManager } from "@incodetech/core/id";
|
|
16
16
|
//#region src/shared/fonts/preloadDisplayFont.ts
|
|
@@ -1290,8 +1290,288 @@ function preloadIdTutorialAssets() {
|
|
|
1290
1290
|
import("../id-front-of-card-vertical-CdWPzfay.js").then((n) => n.n);
|
|
1291
1291
|
}
|
|
1292
1292
|
//#endregion
|
|
1293
|
+
//#region src/modules/id/tutorialWithPermissions/howItWorksOverlay.constants.ts
|
|
1294
|
+
var HOW_IT_WORKS_TITLE_ID = "how-it-works-title";
|
|
1295
|
+
var HOW_IT_WORKS_INSTRUCTIONS_LABELS = {
|
|
1296
|
+
TITLE: "idv2.tutorial.howItWorks.title",
|
|
1297
|
+
SUBTITLE: "idv2.tutorial.howItWorks.subtitle",
|
|
1298
|
+
STEP_1: "idv2.tutorial.howItWorks.instructions.step1",
|
|
1299
|
+
STEP_2: "idv2.tutorial.howItWorks.instructions.step2",
|
|
1300
|
+
STEP_3: "idv2.tutorial.howItWorks.instructions.step3",
|
|
1301
|
+
START_SCAN: "idv2.tutorial.startScan"
|
|
1302
|
+
};
|
|
1303
|
+
var HOW_IT_WORKS_INSTRUCTIONS = [
|
|
1304
|
+
{
|
|
1305
|
+
icon: SvgReloadIcon,
|
|
1306
|
+
labelKey: HOW_IT_WORKS_INSTRUCTIONS_LABELS.STEP_1
|
|
1307
|
+
},
|
|
1308
|
+
{
|
|
1309
|
+
icon: SvgPersonCardIcon,
|
|
1310
|
+
labelKey: HOW_IT_WORKS_INSTRUCTIONS_LABELS.STEP_2
|
|
1311
|
+
},
|
|
1312
|
+
{
|
|
1313
|
+
icon: SvgCheckV2Icon,
|
|
1314
|
+
labelKey: HOW_IT_WORKS_INSTRUCTIONS_LABELS.STEP_3
|
|
1315
|
+
}
|
|
1316
|
+
];
|
|
1317
|
+
//#endregion
|
|
1318
|
+
//#region src/modules/id/tutorialWithPermissions/howItWorksOverlay.tsx
|
|
1319
|
+
function HowItWorksContent({ onContinue, isLoading }) {
|
|
1320
|
+
const { t } = useTranslation();
|
|
1321
|
+
return /* @__PURE__ */ u("div", {
|
|
1322
|
+
class: "IncodeHowItWorksOverlay",
|
|
1323
|
+
"data-testid": "how-it-works-overlay",
|
|
1324
|
+
children: [
|
|
1325
|
+
/* @__PURE__ */ u("div", {
|
|
1326
|
+
class: "IncodeHowItWorksOverlayHeader",
|
|
1327
|
+
children: [/* @__PURE__ */ u(AutoFocusTitle, {
|
|
1328
|
+
id: HOW_IT_WORKS_TITLE_ID,
|
|
1329
|
+
className: "IncodeHowItWorksOverlayTitle",
|
|
1330
|
+
children: t(HOW_IT_WORKS_INSTRUCTIONS_LABELS.TITLE)
|
|
1331
|
+
}), /* @__PURE__ */ u(TypographyP, {
|
|
1332
|
+
className: "IncodeHowItWorksOverlaySubtitle",
|
|
1333
|
+
children: t(HOW_IT_WORKS_INSTRUCTIONS_LABELS.SUBTITLE)
|
|
1334
|
+
})]
|
|
1335
|
+
}),
|
|
1336
|
+
/* @__PURE__ */ u("ul", {
|
|
1337
|
+
class: "IncodeHowItWorksOverlayInstructions",
|
|
1338
|
+
children: HOW_IT_WORKS_INSTRUCTIONS.map(({ icon: Icon, labelKey }) => /* @__PURE__ */ u("li", {
|
|
1339
|
+
class: "IncodeHowItWorksOverlayInstruction",
|
|
1340
|
+
children: [/* @__PURE__ */ u("div", {
|
|
1341
|
+
class: "IncodeHowItWorksOverlayInstructionIcon",
|
|
1342
|
+
"aria-hidden": "true",
|
|
1343
|
+
children: /* @__PURE__ */ u(Icon, {
|
|
1344
|
+
height: 24,
|
|
1345
|
+
width: 24
|
|
1346
|
+
})
|
|
1347
|
+
}), /* @__PURE__ */ u("span", { children: t(labelKey) })]
|
|
1348
|
+
}, labelKey))
|
|
1349
|
+
}),
|
|
1350
|
+
/* @__PURE__ */ u("div", {
|
|
1351
|
+
class: "IncodeHowItWorksOverlayActions",
|
|
1352
|
+
children: /* @__PURE__ */ u(Button, {
|
|
1353
|
+
onClick: onContinue,
|
|
1354
|
+
disabled: isLoading,
|
|
1355
|
+
isLoading,
|
|
1356
|
+
class: "IncodeHowItWorksOverlayActionButton",
|
|
1357
|
+
children: t(HOW_IT_WORKS_INSTRUCTIONS_LABELS.START_SCAN)
|
|
1358
|
+
})
|
|
1359
|
+
}),
|
|
1360
|
+
/* @__PURE__ */ u("div", {
|
|
1361
|
+
class: "IncodeHowItWorksOverlayFooter",
|
|
1362
|
+
children: /* @__PURE__ */ u(VerifiedByIncodeLogo, {})
|
|
1363
|
+
})
|
|
1364
|
+
]
|
|
1365
|
+
});
|
|
1366
|
+
}
|
|
1367
|
+
var HowItWorksOverlay = ({ isOpen, onClose, onContinue, isLoading = false }) => {
|
|
1368
|
+
const isMobileWidth = useIsMobileDeviceWidth();
|
|
1369
|
+
const handleClose = isLoading ? void 0 : onClose;
|
|
1370
|
+
if (!isOpen) return null;
|
|
1371
|
+
if (isMobileWidth) return /* @__PURE__ */ u(BottomSheet, {
|
|
1372
|
+
isOpen: true,
|
|
1373
|
+
labelledById: HOW_IT_WORKS_TITLE_ID,
|
|
1374
|
+
manageInitialFocus: false,
|
|
1375
|
+
onClose: handleClose,
|
|
1376
|
+
"data-testid": "how-it-works-sheet",
|
|
1377
|
+
children: /* @__PURE__ */ u(HowItWorksContent, {
|
|
1378
|
+
onContinue,
|
|
1379
|
+
isLoading
|
|
1380
|
+
})
|
|
1381
|
+
});
|
|
1382
|
+
return /* @__PURE__ */ u(Modal.Root, {
|
|
1383
|
+
open: true,
|
|
1384
|
+
dismissible: !isLoading,
|
|
1385
|
+
labelledById: HOW_IT_WORKS_TITLE_ID,
|
|
1386
|
+
manageInitialFocus: false,
|
|
1387
|
+
onOpenChange: (open) => {
|
|
1388
|
+
if (!open) handleClose?.();
|
|
1389
|
+
},
|
|
1390
|
+
children: /* @__PURE__ */ u(Modal.Content, { children: /* @__PURE__ */ u(HowItWorksContent, {
|
|
1391
|
+
onContinue,
|
|
1392
|
+
isLoading
|
|
1393
|
+
}) })
|
|
1394
|
+
});
|
|
1395
|
+
};
|
|
1396
|
+
//#endregion
|
|
1397
|
+
//#region src/modules/id/tutorialWithPermissions/tutorialWithPermissions.tsx
|
|
1398
|
+
/**
|
|
1399
|
+
* Variant-specific overlay / CTA slots for the permission UX family.
|
|
1400
|
+
* Layer exclusivity means only one of IDC-01 / IDC-02 is active — `else if`
|
|
1401
|
+
* keeps that invariant in the UI composition.
|
|
1402
|
+
*/
|
|
1403
|
+
function createSlots({ manager, stage, howItWorksOpen, onOpenHowItWorks, onCloseHowItWorks, onContinue, t }) {
|
|
1404
|
+
let permissionDialog = null;
|
|
1405
|
+
let howItWorksOverlay = null;
|
|
1406
|
+
let actions = null;
|
|
1407
|
+
if (stage.ux.id === CAMERA_PERMISSION_UX.PERMISSION_SHEET && stage.permissionStatus) permissionDialog = /* @__PURE__ */ u(PermissionsDialog, {
|
|
1408
|
+
manager,
|
|
1409
|
+
permissionStatus: stage.permissionStatus,
|
|
1410
|
+
isDismissible: true
|
|
1411
|
+
});
|
|
1412
|
+
else if (stage.ux.id === CAMERA_PERMISSION_UX.HOW_IT_WORKS) {
|
|
1413
|
+
const isRequesting = stage.permissionStatus === PERMISSION_DIALOG_STATUS.REQUESTING;
|
|
1414
|
+
actions = /* @__PURE__ */ u(Button, {
|
|
1415
|
+
variant: "link",
|
|
1416
|
+
onClick: onOpenHowItWorks,
|
|
1417
|
+
children: t("idv2.tutorial.howItWorks.link")
|
|
1418
|
+
});
|
|
1419
|
+
howItWorksOverlay = /* @__PURE__ */ u(HowItWorksOverlay, {
|
|
1420
|
+
isOpen: howItWorksOpen,
|
|
1421
|
+
onClose: onCloseHowItWorks,
|
|
1422
|
+
onContinue,
|
|
1423
|
+
isLoading: isRequesting
|
|
1424
|
+
});
|
|
1425
|
+
}
|
|
1426
|
+
return {
|
|
1427
|
+
permissionDialog,
|
|
1428
|
+
howItWorksOverlay,
|
|
1429
|
+
actions
|
|
1430
|
+
};
|
|
1431
|
+
}
|
|
1432
|
+
var TutorialWithPermissions = ({ manager, stage }) => {
|
|
1433
|
+
const { t } = useTranslation();
|
|
1434
|
+
const [howItWorksOpen, setHowItWorksOpen] = d(false);
|
|
1435
|
+
const isHowItWorks = stage.ux.id === CAMERA_PERMISSION_UX.HOW_IT_WORKS;
|
|
1436
|
+
const isCtaLoading = stage.tutorialPhase !== null ? CONTINUING_TUTORIAL_PHASES.has(stage.tutorialPhase) || stage.ux.id === CAMERA_PERMISSION_UX.PENDING : true;
|
|
1437
|
+
const requestPermissionFromTutorial = () => manager.requestPermission();
|
|
1438
|
+
function handleContinue() {
|
|
1439
|
+
if (isHowItWorks) {
|
|
1440
|
+
requestPermissionFromTutorial();
|
|
1441
|
+
return;
|
|
1442
|
+
}
|
|
1443
|
+
manager.nextStep();
|
|
1444
|
+
}
|
|
1445
|
+
const slots = createSlots({
|
|
1446
|
+
manager,
|
|
1447
|
+
stage,
|
|
1448
|
+
howItWorksOpen,
|
|
1449
|
+
onOpenHowItWorks: () => setHowItWorksOpen(true),
|
|
1450
|
+
onCloseHowItWorks: () => setHowItWorksOpen(false),
|
|
1451
|
+
onContinue: handleContinue,
|
|
1452
|
+
t
|
|
1453
|
+
});
|
|
1454
|
+
let disclaimerText = void 0;
|
|
1455
|
+
if (isHowItWorks) disclaimerText = t("idv2.tutorial.v2.allowCameraAccessDisclaimer");
|
|
1456
|
+
return /* @__PURE__ */ u(k, { children: [
|
|
1457
|
+
/* @__PURE__ */ u(Tutorial, {
|
|
1458
|
+
manager,
|
|
1459
|
+
documentType: stage.documentType,
|
|
1460
|
+
mode: stage.mode,
|
|
1461
|
+
isLoading: isCtaLoading,
|
|
1462
|
+
actionsSlot: slots.actions,
|
|
1463
|
+
onContinue: handleContinue,
|
|
1464
|
+
disclaimerText,
|
|
1465
|
+
shouldScaleAnimationContainer: true
|
|
1466
|
+
}),
|
|
1467
|
+
slots.permissionDialog,
|
|
1468
|
+
slots.howItWorksOverlay
|
|
1469
|
+
] });
|
|
1470
|
+
};
|
|
1471
|
+
//#endregion
|
|
1472
|
+
//#region src/modules/id/experiments/useCameraPermissionUx.ts
|
|
1473
|
+
/** Permission surfaces the treatment can alter — the dialog ones, not the full-screen ones. */
|
|
1474
|
+
function isPermissionDialogSurface(state) {
|
|
1475
|
+
return state.status === ID_CAPTURE_STATUS.PERMISSIONS && (state.permissionStatus === PERMISSION_DIALOG_STATUS.IDLE || state.permissionStatus === PERMISSION_DIALOG_STATUS.MOTION_ONLY || state.permissionStatus === PERMISSION_DIALOG_STATUS.REQUESTING);
|
|
1476
|
+
}
|
|
1477
|
+
/**
|
|
1478
|
+
* `permissions.idle` collapsed into `status: 'loading'` — the silent
|
|
1479
|
+
* re-check between the tutorial CTA and the permission dialog. Treating it
|
|
1480
|
+
* as on-surface lets the arm resolve natively across the blip instead of
|
|
1481
|
+
* caching the last resolution: `resolveExperiment` is deterministic given
|
|
1482
|
+
* the store, so re-resolving here returns the same arm.
|
|
1483
|
+
*/
|
|
1484
|
+
function isPermissionsIdleBlip(state) {
|
|
1485
|
+
return state.status === ID_CAPTURE_STATUS.LOADING && state.phase === ID_CAPTURE_LOADING_PHASE.PERMISSIONS_IDLE;
|
|
1486
|
+
}
|
|
1487
|
+
function isCameraPermissionExperimentSurface(state) {
|
|
1488
|
+
if (state.status === ID_CAPTURE_STATUS.TUTORIAL) return true;
|
|
1489
|
+
return isPermissionDialogSurface(state) || isPermissionsIdleBlip(state);
|
|
1490
|
+
}
|
|
1491
|
+
function isCameraPermissionTreatmentSurface(state) {
|
|
1492
|
+
if (state.status === ID_CAPTURE_STATUS.TUTORIAL) return true;
|
|
1493
|
+
if (isPermissionsIdleBlip(state)) return state.tutorialEnabled;
|
|
1494
|
+
return state.status === ID_CAPTURE_STATUS.PERMISSIONS && state.tutorialEnabled && isPermissionDialogSurface(state);
|
|
1495
|
+
}
|
|
1496
|
+
function resolveTutorialEnabled(state) {
|
|
1497
|
+
if (state.status === ID_CAPTURE_STATUS.TUTORIAL) return true;
|
|
1498
|
+
if (state.status === ID_CAPTURE_STATUS.PERMISSIONS || state.status === ID_CAPTURE_STATUS.LOADING) return state.tutorialEnabled;
|
|
1499
|
+
return false;
|
|
1500
|
+
}
|
|
1501
|
+
function collapseCameraPermissionUx(showHowItWorks, showPermissionSheet) {
|
|
1502
|
+
if (showHowItWorks) return { id: CAMERA_PERMISSION_UX.HOW_IT_WORKS };
|
|
1503
|
+
if (showPermissionSheet) return { id: CAMERA_PERMISSION_UX.PERMISSION_SHEET };
|
|
1504
|
+
return { id: CAMERA_PERMISSION_UX.CONTROL };
|
|
1505
|
+
}
|
|
1506
|
+
function useCameraPermissionUx(state) {
|
|
1507
|
+
const onExperimentSurface = isCameraPermissionExperimentSurface(state);
|
|
1508
|
+
const onTreatmentSurface = isCameraPermissionTreatmentSurface(state);
|
|
1509
|
+
const conditions = { tutorialEnabled: resolveTutorialEnabled(state) };
|
|
1510
|
+
const howItWorksExperiment = useIdExperiment({
|
|
1511
|
+
key: "cameraPermissionHowItWorks",
|
|
1512
|
+
enabled: onExperimentSurface,
|
|
1513
|
+
conditions
|
|
1514
|
+
});
|
|
1515
|
+
const permissionSheetExperiment = useIdExperiment({
|
|
1516
|
+
key: "cameraPermissionSheet",
|
|
1517
|
+
enabled: onExperimentSurface,
|
|
1518
|
+
conditions
|
|
1519
|
+
});
|
|
1520
|
+
if (!onTreatmentSurface) return { id: CAMERA_PERMISSION_UX.CONTROL };
|
|
1521
|
+
if (howItWorksExperiment.status === EXPERIMENT_LIFECYCLE_STATUS.PENDING || permissionSheetExperiment.status === EXPERIMENT_LIFECYCLE_STATUS.PENDING) return { id: CAMERA_PERMISSION_UX.PENDING };
|
|
1522
|
+
return collapseCameraPermissionUx(howItWorksExperiment.params.showHowItWorks, permissionSheetExperiment.params.showPermissionSheet);
|
|
1523
|
+
}
|
|
1524
|
+
//#endregion
|
|
1525
|
+
//#region src/modules/id/useIdTutorialWithPermissionsUxStage.ts
|
|
1526
|
+
/**
|
|
1527
|
+
* Which arm-specific permission statuses keep the tutorial mounted as a
|
|
1528
|
+
* backdrop behind the dialog surface. IDC-01 shows its sheet across the
|
|
1529
|
+
* whole idle/motionOnly/requesting range; IDC-02 has no dialog of its own —
|
|
1530
|
+
* only the native prompt (`requesting`) sits over the tutorial. Dismissing
|
|
1531
|
+
* that prompt (→ `waitingForUser`) falls through to the standard full-screen
|
|
1532
|
+
* explainer instead of leaving IDC-02 on a dead-end tutorial.
|
|
1533
|
+
*/
|
|
1534
|
+
function isDialogBackdropStatus(ux, permissionStatus) {
|
|
1535
|
+
if (ux.id === CAMERA_PERMISSION_UX.HOW_IT_WORKS) return permissionStatus === PERMISSION_DIALOG_STATUS.REQUESTING;
|
|
1536
|
+
if (ux.id === CAMERA_PERMISSION_UX.PERMISSION_SHEET) return permissionStatus === PERMISSION_DIALOG_STATUS.IDLE || permissionStatus === PERMISSION_DIALOG_STATUS.MOTION_ONLY || permissionStatus === PERMISSION_DIALOG_STATUS.REQUESTING;
|
|
1537
|
+
return false;
|
|
1538
|
+
}
|
|
1539
|
+
/**
|
|
1540
|
+
* Resolves when `TutorialWithPermissions` should render instead of the plain
|
|
1541
|
+
* tutorial or permissions screens.
|
|
1542
|
+
*
|
|
1543
|
+
* - Default (non-experimental): `state.status === 'tutorial'`.
|
|
1544
|
+
* - Camera-permission experiment: permissions dialog with tutorial backdrop
|
|
1545
|
+
* when `tutorialEnabled` and the treatment is not control.
|
|
1546
|
+
*/
|
|
1547
|
+
function useIdTutorialWithPermissionsUxStage(state) {
|
|
1548
|
+
const ux = useCameraPermissionUx(state);
|
|
1549
|
+
if (state.status === ID_CAPTURE_STATUS.LOADING && state.phase === "permissionsIdle" && state.tutorialEnabled && ux.id !== CAMERA_PERMISSION_UX.CONTROL && ux.id !== CAMERA_PERMISSION_UX.PENDING) return {
|
|
1550
|
+
documentType: state.selectedDocumentType,
|
|
1551
|
+
mode: state.currentMode,
|
|
1552
|
+
ux,
|
|
1553
|
+
tutorialPhase: null,
|
|
1554
|
+
permissionStatus: "checking"
|
|
1555
|
+
};
|
|
1556
|
+
if (state.status === ID_CAPTURE_STATUS.TUTORIAL) return {
|
|
1557
|
+
documentType: state.selectedDocumentType,
|
|
1558
|
+
mode: state.currentMode,
|
|
1559
|
+
ux,
|
|
1560
|
+
tutorialPhase: state.phase,
|
|
1561
|
+
permissionStatus: null
|
|
1562
|
+
};
|
|
1563
|
+
if (state.status === ID_CAPTURE_STATUS.PERMISSIONS && state.tutorialEnabled && isDialogBackdropStatus(ux, state.permissionStatus)) return {
|
|
1564
|
+
documentType: state.selectedDocumentType,
|
|
1565
|
+
mode: state.currentMode,
|
|
1566
|
+
ux,
|
|
1567
|
+
tutorialPhase: null,
|
|
1568
|
+
permissionStatus: state.permissionStatus
|
|
1569
|
+
};
|
|
1570
|
+
return null;
|
|
1571
|
+
}
|
|
1572
|
+
//#endregion
|
|
1293
1573
|
//#region src/modules/id/id.tsx
|
|
1294
|
-
var MandatoryConsent = z(() => import("../mandatoryConsent-
|
|
1574
|
+
var MandatoryConsent = z(() => import("../mandatoryConsent-gofFwZJb.js").then((module) => ({ default: module.MandatoryConsent })));
|
|
1295
1575
|
var IdContent = ({ config, manager: externalManager, onFinish, onError }) => {
|
|
1296
1576
|
usePreloadDisplayFont();
|
|
1297
1577
|
y(() => {
|
|
@@ -1311,19 +1591,26 @@ var IdContent = ({ config, manager: externalManager, onFinish, onError }) => {
|
|
|
1311
1591
|
onFinish,
|
|
1312
1592
|
onError
|
|
1313
1593
|
});
|
|
1594
|
+
const tutorialWithPermissionsUxStage = useIdTutorialWithPermissionsUxStage(state);
|
|
1595
|
+
const isPreparingCameraLoader = state.status === "loading" && tutorialWithPermissionsUxStage?.ux.id !== CAMERA_PERMISSION_UX.PERMISSION_SHEET;
|
|
1596
|
+
const { params: darkCameraLoadingParams } = useIdExperiment({
|
|
1597
|
+
key: "darkCameraLoading",
|
|
1598
|
+
enabled: isPreparingCameraLoader
|
|
1599
|
+
});
|
|
1314
1600
|
if (state.status === "idle") return /* @__PURE__ */ u(TransitionSpinner, { renderMode: "spinnerOnly" });
|
|
1315
|
-
if (
|
|
1601
|
+
if (isPreparingCameraLoader) return /* @__PURE__ */ u(TransitionSpinner, {
|
|
1316
1602
|
titleKey: "loadingCircle.holdOn",
|
|
1317
|
-
subtitleKey: "loadingCircle.preparingCamera"
|
|
1603
|
+
subtitleKey: "loadingCircle.preparingCamera",
|
|
1604
|
+
alwaysDark: darkCameraLoadingParams.showDarkCameraLoading
|
|
1318
1605
|
});
|
|
1319
1606
|
if (state.status === "chooser") return /* @__PURE__ */ u(Chooser, {
|
|
1320
1607
|
manager,
|
|
1321
1608
|
state
|
|
1322
1609
|
});
|
|
1323
1610
|
if (state.status === "ageVerification") return /* @__PURE__ */ u(AgeVerification, { manager });
|
|
1324
|
-
if (
|
|
1611
|
+
if (tutorialWithPermissionsUxStage) return /* @__PURE__ */ u(TutorialWithPermissions, {
|
|
1325
1612
|
manager,
|
|
1326
|
-
|
|
1613
|
+
stage: tutorialWithPermissionsUxStage
|
|
1327
1614
|
});
|
|
1328
1615
|
if (state.status === "permissions") return /* @__PURE__ */ u(Permissions, {
|
|
1329
1616
|
manager,
|
package/dist/id/styles.css
CHANGED
|
@@ -664,8 +664,8 @@
|
|
|
664
664
|
width: max-content;
|
|
665
665
|
left: 50%;
|
|
666
666
|
bottom: calc(100% - ( var(--manual-capture-tooltip-button-top-offset) - var(--manual-capture-tooltip-button-gap) ));
|
|
667
|
+
animation: manualCaptureTooltipExit .35s ease-in var(--manual-capture-tooltip-dismiss-delay, 3.5s) forwards;
|
|
667
668
|
justify-content: center;
|
|
668
|
-
animation: .35s ease-in 3.5s forwards manualCaptureTooltipExit;
|
|
669
669
|
display: flex;
|
|
670
670
|
position: absolute;
|
|
671
671
|
transform: translateX(-50%);
|
|
@@ -698,6 +698,27 @@
|
|
|
698
698
|
color: var(--color-text-body-0-static, var(--text-body-0-static));
|
|
699
699
|
}
|
|
700
700
|
|
|
701
|
+
.IncodeCaptureOverlayId .IncodeCaptureFooter .IncodeIdManualCaptureTooltipContainer.IncodeIdManualCaptureTooltipContainerSrOnly {
|
|
702
|
+
clip-path: inset(50%);
|
|
703
|
+
white-space: nowrap;
|
|
704
|
+
border-width: 0;
|
|
705
|
+
width: 1px;
|
|
706
|
+
height: 1px;
|
|
707
|
+
margin: -1px;
|
|
708
|
+
padding: 0;
|
|
709
|
+
animation: none;
|
|
710
|
+
position: absolute;
|
|
711
|
+
overflow: hidden;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
.IncodeCaptureOverlayId .IncodeCaptureFooter .IncodeIdManualCaptureTooltipContainer.IncodeIdManualCaptureTooltipContainerSrOnly .IncodeIdManualCaptureTooltip {
|
|
715
|
+
animation: none;
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
.IncodeCaptureOverlayId .IncodeCaptureFooter .IncodeIdManualCaptureTooltipContainer.IncodeIdManualCaptureTooltipContainerAutoDismiss {
|
|
719
|
+
animation-name: manualCaptureTooltipExitAutoDismiss;
|
|
720
|
+
}
|
|
721
|
+
|
|
701
722
|
.IncodeCaptureOverlayId .IncodeCameraFrameHorizontal.IncodeCaptureFramePassport {
|
|
702
723
|
aspect-ratio: 42 / 30;
|
|
703
724
|
}
|
|
@@ -718,6 +739,18 @@
|
|
|
718
739
|
}
|
|
719
740
|
}
|
|
720
741
|
|
|
742
|
+
@keyframes manualCaptureTooltipExitAutoDismiss {
|
|
743
|
+
from {
|
|
744
|
+
opacity: 1;
|
|
745
|
+
transform: translateX(-50%) scale(1);
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
to {
|
|
749
|
+
opacity: .5;
|
|
750
|
+
transform: translate(-50%, calc(25% + var(--manual-capture-tooltip-button-center-offset))) scale(.5);
|
|
751
|
+
}
|
|
752
|
+
}
|
|
753
|
+
|
|
721
754
|
.IncodeIdManualCaptureButton {
|
|
722
755
|
bottom: var(--spacing-24, var(--spacing-24, 24px));
|
|
723
756
|
z-index: 100;
|
|
@@ -2139,7 +2139,7 @@ var id_default = {
|
|
|
2139
2139
|
"selfieCaptureFailed": "Pengambilan foto selfie gagal",
|
|
2140
2140
|
"selfieCaptureFailedDescription": "Jumlah percobaan maksimum yang dicapai",
|
|
2141
2141
|
"selfieImageLowQuality": "Selfie berkualitas rendah",
|
|
2142
|
-
"selfieImageLowQualityDescription": "Pastikan wajah Anda bersih,
|
|
2142
|
+
"selfieImageLowQualityDescription": "Pastikan wajah Anda bersih, pencahayaannya cukup, dan terlihat jelas seluruhnya, lalu coba lagi",
|
|
2143
2143
|
"serverError": "Server error",
|
|
2144
2144
|
"shadowDectected": "Bayangan terdeteksi",
|
|
2145
2145
|
"showBackId": "Tunjukkan bagian belakang kartu identitas",
|
|
@@ -2734,6 +2734,7 @@ var id_default = {
|
|
|
2734
2734
|
"countryNotSupported": "Permintaan tidak berhasil. Negara tidak didukung untuk EKYC.",
|
|
2735
2735
|
"countryRequired": "Negara diperlukan",
|
|
2736
2736
|
"dateOfBirthRequired": "Tanggal Lahir diperlukan",
|
|
2737
|
+
"DK": { "phoneInvalid": "Nomor telepon tidak valid untuk Denmark" },
|
|
2737
2738
|
"dlExpireAtRequired": "Diperlukan Tanggal Kadaluarsa Surat Izin Mengemudi",
|
|
2738
2739
|
"dlNumber": "Diperlukan Nomor Surat Izin Mengemudi",
|
|
2739
2740
|
"dlStateRequired": "Diperlukan Surat Izin Mengemudi (SIM)",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { o as useTranslation } from "../uiConfig-
|
|
1
|
+
import { o as useTranslation } from "../uiConfig-S9TzEYvT.js";
|
|
2
2
|
import { d as T, p as d, v as y, y as u } from "../vendor-preact-BPXMFRom.js";
|
|
3
|
-
import {
|
|
4
|
-
import { n as Title } from "../spinner-
|
|
5
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
6
|
-
import { a as IdFlipModal, c as VideoSelfieTutorial, i as IdMask, l as useVideoSelfiePermissions, n as SwitchingCameraScreen, o as preloadIdFlipAnimation, r as StepsHeader, s as SelfieMask, t as VideoSelfieFinalSuccessScreen } from "../finalSuccessScreen-
|
|
3
|
+
import { At as useModuleTerminalCallbacks, C as Permissions, M as CameraView, Mt as useManager, bt as TerminalErrorPage, pt as IncodeComponent, s as preloadCaptureAnimations, wt as TransitionSpinner, xt as Page } from "../extensibility-C_4OSwNj.js";
|
|
4
|
+
import { n as Title } from "../spinner-CKRC7C1a.js";
|
|
5
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-BJ-HCYmb.js";
|
|
6
|
+
import { a as IdFlipModal, c as VideoSelfieTutorial, i as IdMask, l as useVideoSelfiePermissions, n as SwitchingCameraScreen, o as preloadIdFlipAnimation, r as StepsHeader, s as SelfieMask, t as VideoSelfieFinalSuccessScreen } from "../finalSuccessScreen-BGvHT0Nb.js";
|
|
7
7
|
import { createIdSelfieFlowManager, resolveIdSelfieFlowConfig, warmupIdSelfieFlowWasm } from "@incodetech/core/id-selfie-flow";
|
|
8
8
|
import { facingModeForStep } from "@incodetech/core/video-selfie";
|
|
9
9
|
//#region src/modules/id-selfie-flow/id-selfie-flow.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { y as u } from "../vendor-preact-BPXMFRom.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as Spinner } from "../spinner-
|
|
4
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
2
|
+
import { At as useModuleTerminalCallbacks, Mt as useManager, pt as IncodeComponent, u as ExpiredId } from "../extensibility-C_4OSwNj.js";
|
|
3
|
+
import { t as Spinner } from "../spinner-CKRC7C1a.js";
|
|
4
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-BJ-HCYmb.js";
|
|
5
5
|
import { createIdVerificationManager } from "@incodetech/core/id-verification";
|
|
6
6
|
//#region src/modules/id-verification/id-verification.tsx
|
|
7
7
|
var IdVerificationContent = ({ config, manager: externalManager, onFinish }) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { o as useTranslation } from "./uiConfig-
|
|
1
|
+
import { o as useTranslation } from "./uiConfig-S9TzEYvT.js";
|
|
2
2
|
import { y as u } from "./vendor-preact-BPXMFRom.js";
|
|
3
|
-
import {
|
|
4
|
-
import { A as Button } from "./dropdownComposed-
|
|
5
|
-
import { t as registerIncodeModuleElement } from "./incodeModule-
|
|
3
|
+
import { At as useModuleTerminalCallbacks, Mt as useManager, V as RadioGroupComposed, W as DateInputComposed, _t as withStandaloneModuleBootstrap, it as InputComposed, lt as VerificationResult, pt as IncodeComponent, xt as Page } from "./extensibility-C_4OSwNj.js";
|
|
4
|
+
import { A as Button } from "./dropdownComposed-Bp28bptM.js";
|
|
5
|
+
import { t as registerIncodeModuleElement } from "./incodeModule-BJ-HCYmb.js";
|
|
6
6
|
import { createIdOcrManager, getOcrFields } from "@incodetech/core/id-ocr";
|
|
7
7
|
//#region src/modules/id-ocr/idOcrForm.tsx
|
|
8
8
|
var TEXT_FIELD_COMPONENTS = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { o as useTranslation } from "../uiConfig-
|
|
1
|
+
import { o as useTranslation } from "../uiConfig-S9TzEYvT.js";
|
|
2
2
|
import { v as y, y as u } from "../vendor-preact-BPXMFRom.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as Spinner } from "../spinner-
|
|
5
|
-
import { A as Button } from "../dropdownComposed-
|
|
6
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
3
|
+
import { At as useModuleTerminalCallbacks, K as countryFlagEmoji, Mt as useManager, pt as IncodeComponent, xt as Page } from "../extensibility-C_4OSwNj.js";
|
|
4
|
+
import { t as Spinner } from "../spinner-CKRC7C1a.js";
|
|
5
|
+
import { A as Button } from "../dropdownComposed-Bp28bptM.js";
|
|
6
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-BJ-HCYmb.js";
|
|
7
7
|
import { SCAN_NEW_DOCUMENT, createIdentityReuseManager } from "@incodetech/core/identity-reuse";
|
|
8
8
|
//#region src/modules/identity-reuse/identity-reuse.tsx
|
|
9
9
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S as _, d as T } from "./vendor-preact-BPXMFRom.js";
|
|
2
|
-
import { c as InstanceOverridesProvider } from "./spacer-
|
|
2
|
+
import { c as InstanceOverridesProvider } from "./spacer-6MHVWssc.js";
|
|
3
3
|
import { t as registerIncodeElement } from "./registerIncodeElement-BlqIsaEs.js";
|
|
4
4
|
//#region src/shared/webComponent/incodeModule.ts
|
|
5
5
|
var incodeModulePropKeys = [
|
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as setI18nInstance, l as createI18n, n as setUiConfig } from "./uiConfig-
|
|
2
|
-
import { n as preloadDashboardTheme, o as resolveStandaloneSetupPolicy, r as resetDashboardThemeCache, s as setStandaloneSetupPolicy } from "./dashboardTheme-
|
|
1
|
+
import { c as setI18nInstance, l as createI18n, n as setUiConfig } from "./uiConfig-S9TzEYvT.js";
|
|
2
|
+
import { n as preloadDashboardTheme, o as resolveStandaloneSetupPolicy, r as resetDashboardThemeCache, s as setStandaloneSetupPolicy } from "./dashboardTheme-NKUM6vAI.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
|
|
@@ -869,7 +869,7 @@ var it_default = {
|
|
|
869
869
|
"title": "Preparare la seconda pagina"
|
|
870
870
|
}
|
|
871
871
|
},
|
|
872
|
-
"needHelp": { "open": "Apri finestra modale \"Hai bisogno di aiuto?\"" },
|
|
872
|
+
"needHelp": { "open": "Apri la finestra modale \"Hai bisogno di aiuto?\"" },
|
|
873
873
|
"review": {
|
|
874
874
|
"analyzing": "Analizzare...",
|
|
875
875
|
"continue": "Continua",
|
|
@@ -2740,6 +2740,7 @@ var it_default = {
|
|
|
2740
2740
|
"countryNotSupported": "Richiesta non riuscita. Paese non supportato per EKYC.",
|
|
2741
2741
|
"countryRequired": "Il paese è richiesto",
|
|
2742
2742
|
"dateOfBirthRequired": "È richiesta la data di nascita",
|
|
2743
|
+
"DK": { "phoneInvalid": "Numero di telefono non valido per la Danimarca" },
|
|
2743
2744
|
"dlExpireAtRequired": "È richiesta la data di scadenza della patente di guida",
|
|
2744
2745
|
"dlNumber": "È richiesto il numero di patente di guida",
|
|
2745
2746
|
"dlStateRequired": "È richiesto lo stato della patente di guida",
|
|
@@ -2734,6 +2734,7 @@ var ja_JP_default = {
|
|
|
2734
2734
|
"countryNotSupported": "リクエストに失敗しました。国がEKYCに対応していません。",
|
|
2735
2735
|
"countryRequired": "国名が必要",
|
|
2736
2736
|
"dateOfBirthRequired": "生年月日が必要",
|
|
2737
|
+
"DK": { "phoneInvalid": "デンマークの電話番号が無効です" },
|
|
2737
2738
|
"dlExpireAtRequired": "運転免許証の有効期限が必要",
|
|
2738
2739
|
"dlNumber": "運転免許証番号が必要",
|
|
2739
2740
|
"dlStateRequired": "運転免許証の提示が必要",
|
|
@@ -2734,6 +2734,7 @@ var ja_default = {
|
|
|
2734
2734
|
"countryNotSupported": "リクエストに失敗しました。国がEKYCに対応していません。",
|
|
2735
2735
|
"countryRequired": "国名が必要",
|
|
2736
2736
|
"dateOfBirthRequired": "生年月日が必要",
|
|
2737
|
+
"DK": { "phoneInvalid": "デンマークの電話番号が無効です" },
|
|
2737
2738
|
"dlExpireAtRequired": "運転免許証の有効期限が必要",
|
|
2738
2739
|
"dlNumber": "運転免許証番号が必要",
|
|
2739
2740
|
"dlStateRequired": "運転免許証の提示が必要",
|
|
@@ -2734,6 +2734,7 @@ var jv_default = {
|
|
|
2734
2734
|
"countryNotSupported": "Panjaluk ora kasil. Negara ora didhukung kanggo EKYC.",
|
|
2735
2735
|
"countryRequired": "Negara dibutuhake",
|
|
2736
2736
|
"dateOfBirthRequired": "Tanggal Lair dibutuhake",
|
|
2737
|
+
"DK": { "phoneInvalid": "Telpon ora valid kanggo Denmark" },
|
|
2737
2738
|
"dlExpireAtRequired": "Tanggal kadaluwarsa Lisensi Driver dibutuhake",
|
|
2738
2739
|
"dlNumber": "Nomer Lisensi Driver dibutuhake",
|
|
2739
2740
|
"dlStateRequired": "Negara Lisensi Driver dibutuhake",
|
|
@@ -2740,6 +2740,7 @@ var ka_default = {
|
|
|
2740
2740
|
"countryNotSupported": "მოთხოვნა წარუმატებელი აღმოჩნდა. ქვეყანა EKYC-ისთვის მხარდაჭერილი არ არის.",
|
|
2741
2741
|
"countryRequired": "ქვეყანა სავალდებულოა",
|
|
2742
2742
|
"dateOfBirthRequired": "დაბადების თარიღი სავალდებულოა",
|
|
2743
|
+
"DK": { "phoneInvalid": "დანიისთვის არასწორი ტელეფონის ნომერი" },
|
|
2743
2744
|
"dlExpireAtRequired": "მართვის მოწმობის ვადის გასვლის თარიღი აუცილებელია",
|
|
2744
2745
|
"dlNumber": "მართვის მოწმობის ნომერი სავალდებულოა",
|
|
2745
2746
|
"dlStateRequired": "მართვის მოწმობის შტატი სავალდებულოა",
|
|
@@ -2740,6 +2740,7 @@ var kk_default = {
|
|
|
2740
2740
|
"countryNotSupported": "Сұрау сәтсіз аяқталды. Ел EKYC үшін қолдау көрсетілмейді.",
|
|
2741
2741
|
"countryRequired": "Ел қажет",
|
|
2742
2742
|
"dateOfBirthRequired": "Туған күні қажет",
|
|
2743
|
+
"DK": { "phoneInvalid": "Дания үшін жарамсыз телефон" },
|
|
2743
2744
|
"dlExpireAtRequired": "Жүргізуші куәлігінің жарамдылық мерзімі қажет",
|
|
2744
2745
|
"dlNumber": "Жүргізуші куәлігінің нөмірі қажет",
|
|
2745
2746
|
"dlStateRequired": "Жүргізуші куәлігінің мемлекеті қажет",
|
|
@@ -868,7 +868,7 @@ var km_default = {
|
|
|
868
868
|
"title": "រៀបចំទំព័រទីពីរ"
|
|
869
869
|
}
|
|
870
870
|
},
|
|
871
|
-
"needHelp": { "open": "
|
|
871
|
+
"needHelp": { "open": "បើកម៉ូដជំនួយ" },
|
|
872
872
|
"review": {
|
|
873
873
|
"analyzing": "កំពុងវិភាគ...",
|
|
874
874
|
"continue": "បន្ត",
|
|
@@ -1402,13 +1402,13 @@ var km_default = {
|
|
|
1402
1402
|
"cta": {
|
|
1403
1403
|
"confirm": "បន្តជាមួយការបញ្ជាក់លឿន",
|
|
1404
1404
|
"continue": "បន្តជាមួយការត្រួតពិនិត្យយ៉ាងឆាប់រហ័ស",
|
|
1405
|
-
"retry": "
|
|
1405
|
+
"retry": "សូមព្យាយាមម្តងទៀត",
|
|
1406
1406
|
"scanNew": "ពិនិត្យមើលដោយប្រើអត្តសញ្ញាណ",
|
|
1407
1407
|
"skip": "រំលង",
|
|
1408
1408
|
"verify": "ផ្ទៀងផ្ទាត់ដោយប្រើ ID"
|
|
1409
1409
|
},
|
|
1410
1410
|
"description": "យើងនឹងផ្ទេរទិន្នន័យដែលបានស្នើសុំដោយ {{companyName}} តែប៉ុណ្ណោះ ដើម្បីបញ្ចប់ការបញ្ជាក់របស់អ្នក",
|
|
1411
|
-
"errorTitle": "
|
|
1411
|
+
"errorTitle": "មានអ្វីមួយកើតឡើងមិនបាន",
|
|
1412
1412
|
"loading": "កំពុងផ្ទុកព័ត៌មានរបស់អ្នក...",
|
|
1413
1413
|
"scanANewDocument": "ស្កេនឯកសារថ្មី",
|
|
1414
1414
|
"subtitle": "អ្នកបានបញ្ជាក់ជាមួយមិត្តរួមការងារមួយរបស់យើង។ ចែករំលែកទិន្នន័យរបស់អ្នកដើម្បីសន្សំសំចៃពេលវេលានិងបញ្ជាក់ឲ្យបានលឿន។",
|
|
@@ -2138,8 +2138,8 @@ var km_default = {
|
|
|
2138
2138
|
},
|
|
2139
2139
|
"selfieCaptureFailed": "ការចាប់រូបសែលហ្វីបានបរាជ័យ",
|
|
2140
2140
|
"selfieCaptureFailedDescription": "បានដល់ចំនួនកំណត់នៃការប៉ុនប៉ង",
|
|
2141
|
-
"selfieImageLowQuality": "
|
|
2142
|
-
"selfieImageLowQualityDescription": "
|
|
2141
|
+
"selfieImageLowQuality": "រូបថតខ្លួនដែលមានគុណភាពទាប",
|
|
2142
|
+
"selfieImageLowQualityDescription": "ធានាថាមុខរបស់អ្នកច្បាស់ ស្រទាប់ល្អ និងមើលឃើញពេញលេញ បន្ទាប់មកសូមព្យាយាមម្តងទៀត",
|
|
2143
2143
|
"serverError": "កំហុសម៉ាស៊ីនមេ",
|
|
2144
2144
|
"shadowDectected": "មានស្រមោលត្រូវបានរកឃើញ",
|
|
2145
2145
|
"showBackId": "បង្ហាញខាងក្រោយនៃ ID",
|
|
@@ -2734,6 +2734,7 @@ var km_default = {
|
|
|
2734
2734
|
"countryNotSupported": "ការស្នើសុំមិនជោគជ័យ។ ប្រទេសមិនគាំទ្រសម្រាប់ EKYC។",
|
|
2735
2735
|
"countryRequired": "ប្រទេសត្រូវការព័ត៌មាន",
|
|
2736
2736
|
"dateOfBirthRequired": "ថ្ងៃខែឆ្នាំកំណើតត្រូវការនៅក្នុង",
|
|
2737
|
+
"DK": { "phoneInvalid": "លេខទូរស័ព្ទមិនត្រឹមត្រូវសម្រាប់ប្រទេសដាណឺម៉ាក" },
|
|
2737
2738
|
"dlExpireAtRequired": "ថ្ងៃផុតកំណត់លេខអត្តសញ្ញាណប័ណ្ណបើកបរ ត្រូវការនៅក្នុង",
|
|
2738
2739
|
"dlNumber": "លេខអត្តសញ្ញាណប័ណ្ណបើកបរ ត្រូវការនៅក្នុង",
|
|
2739
2740
|
"dlStateRequired": "រដ្ឋលេខអត្តសញ្ញាណប័ណ្ណបើកបរ ត្រូវការនៅក្នុង",
|
|
@@ -2918,7 +2919,7 @@ var km_default = {
|
|
|
2918
2919
|
"processing": "កំពុងដំណើរការវីដេអូ...",
|
|
2919
2920
|
"processingSelfie": "កំពុងដំណើរការ…",
|
|
2920
2921
|
"processingStep": "កំពុងដំណើរការ...",
|
|
2921
|
-
"progressSteps": "
|
|
2922
|
+
"progressSteps": "ជំហានកំណត់",
|
|
2922
2923
|
"readyAnswer": "ខ្ញុំមានស្រាប់ដើម្បីឆ្លើយតប",
|
|
2923
2924
|
"recordConsentAllow": "\"អនុញ្ញាតឱ្យកត់ត្រាអេក្រង់ និងមីក្រូហ្វូន\"",
|
|
2924
2925
|
"recordConsentReasons": "ដោយសារមូលហេតុផ្លូវច្បាប់ យើងត្រូវការឱ្យអ្នក",
|
|
@@ -2734,6 +2734,7 @@ var ko_KP_default = {
|
|
|
2734
2734
|
"countryNotSupported": "요청이 실패했습니다. EKYC가 지원되지 않는 국가입니다.",
|
|
2735
2735
|
"countryRequired": "국가 필수 입력",
|
|
2736
2736
|
"dateOfBirthRequired": "생년월일 필수",
|
|
2737
|
+
"DK": { "phoneInvalid": "덴마크의 유효하지 않은 전화번호" },
|
|
2737
2738
|
"dlExpireAtRequired": "운전면허증 유효기간이 필요합니다.",
|
|
2738
2739
|
"dlNumber": "운전면허증 번호 필수",
|
|
2739
2740
|
"dlStateRequired": "운전면허증 국가 필수",
|
|
@@ -2734,6 +2734,7 @@ var ko_default = {
|
|
|
2734
2734
|
"countryNotSupported": "요청이 실패했습니다. EKYC가 지원되지 않는 국가입니다.",
|
|
2735
2735
|
"countryRequired": "국가 필수 입력",
|
|
2736
2736
|
"dateOfBirthRequired": "생년월일 필수",
|
|
2737
|
+
"DK": { "phoneInvalid": "덴마크의 유효하지 않은 전화번호" },
|
|
2737
2738
|
"dlExpireAtRequired": "운전면허증 유효기간이 필요합니다.",
|
|
2738
2739
|
"dlNumber": "운전면허증 번호 필수",
|
|
2739
2740
|
"dlStateRequired": "운전면허증 국가 필수",
|