@incodetech/web 2.2.0-rc.0 → 2.2.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 +3 -3
- package/dist/antifraud/antifraud.es.js +3 -3
- package/dist/authentication/authentication.es.js +4 -4
- package/dist/{autoFocusTitle-gLba2mgp.js → autoFocusTitle-Edt8-trP.js} +1 -1
- package/dist/certificate-issuance/certificate-issuance.es.js +9 -9
- package/dist/{checkbox-C38Elx0O.js → checkbox-gbHumlEi.js} +3 -3
- package/dist/{connectionError-DAeXp8sE.js → connectionError-CvH1vnCt.js} +3 -3
- package/dist/consent/consent.es.js +7 -7
- package/dist/{countrySelector-2t-ZTgGo.js → countrySelector-DzLvpCfs.js} +2 -2
- package/dist/cross-document-data-match/cross-document-data-match.es.js +3 -3
- package/dist/curp-validation/curp-validation.es.js +14 -14
- package/dist/{customFields-B8HQZ7Mh.js → customFields-DiOcfhlB.js} +9 -9
- package/dist/{customWatchlist-_tUmZ855.js → customWatchlist-CC9ZN7fk.js} +5 -5
- package/dist/{dashboardTheme-CVliZSR-.js → dashboardTheme-FtPiizV0.js} +2 -2
- package/dist/{dateInputComposed-eRcbt_SL.js → dateInputComposed-3jXySs6M.js} +4 -4
- package/dist/dateInputComposed-BMauTxWJ.js +1 -0
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/documentCapture-CcnnR36G.js +2 -0
- package/dist/{documentCapture-BvEGCYj-.js → documentCapture-Dc9Q2wYc.js} +14 -14
- package/dist/{dropdownComposed-OHDHzt1Q.js → dropdownComposed-Bk8viDop.js} +3 -3
- package/dist/dropdownComposed-DLaj01jA.js +1 -0
- package/dist/{dynamicForms-P-4E42IA.js → dynamicForms-BZB8JDkM.js} +10 -10
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/{ekybModule-DmjkzVWE.js → ekybModule-C9UhcxKV.js} +13 -13
- package/dist/ekybModule-QcD4hQFD.js +2 -0
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/{ekycModule-Da1Fm7ai.js → ekycModule-Cp7kPhFr.js} +11 -11
- package/dist/ekycModule-DqX1bTFN.js +2 -0
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-yamI6zHM.js → electronic-signature-DGL6y3os.js} +9 -9
- package/dist/email/email.es.js +7 -7
- package/dist/{emailInput-B0P2Q-pk.js → emailInput-Du_BH960.js} +3 -3
- package/dist/{expiredId-BXXE3srN.js → expiredId-Cf7_dJQE.js} +5 -5
- package/dist/{extensibility-iJYzpW6H.js → extensibility-CFhCNmsm.js} +23 -24
- package/dist/extensibility.es.js +21 -21
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/{faceMatch-VtEZvsen.js → faceMatch-BOJD6ZCq.js} +7 -7
- package/dist/faceMatch-Dhm-H0Pg.js +2 -0
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/{fieldComparison-NLdDSOEh.js → fieldComparison-D_cMCcwa.js} +8 -8
- package/dist/fieldComparison-Fnup635x.js +2 -0
- package/dist/{finalSuccessScreen-DryADx1n.js → finalSuccessScreen-DL08U8_o.js} +9 -9
- package/dist/fiscal-qr/fiscal-qr.es.js +8 -8
- package/dist/flow/flow.es.js +15 -15
- package/dist/geolocation/geolocation.es.js +7 -7
- package/dist/government-validation/government-validation.es.js +8 -8
- package/dist/{homeScreen-Pv3v_0ji.js → homeScreen-D2XpU5z_.js} +6 -6
- package/dist/{icons--ezYG2Fb.js → icons-CIjsoS44.js} +1 -1
- package/dist/id/id.es.js +19 -20
- package/dist/id-selfie-flow/id-selfie-flow.es.js +8 -9
- package/dist/id-verification/id-verification.es.js +4 -4
- package/dist/{idOcr-gsIXHq6R.js → idOcr-DkmZyLVu.js} +9 -9
- package/dist/identity-reuse/identity-reuse.es.js +5 -5
- package/dist/{incode-logo-rGFjZHqi.js → incode-logo-DkPbEPiI.js} +1 -1
- package/dist/{incodeComponent-K9ZWg302.js → incodeComponent-B6hBTDEE.js} +59 -14
- package/dist/{incodeModule-CcLzar_X.js → incodeModule-CCI32xbn.js} +9 -3
- package/dist/index.es.js +2 -2
- package/dist/{inputComposed-BeROn635.js → inputComposed-CGB8zKbd.js} +3 -3
- package/dist/inputComposed-DDFdXKT3.js +1 -0
- package/dist/{mandatoryConsent-BtqB-FxY.js → mandatoryConsent-L7Tpj3tg.js} +7 -7
- package/dist/{manualCaptureButton-t_oIol88.js → manualCaptureButton-B3ZD52_f.js} +4 -4
- package/dist/{manualCaptureButton-quGa2ufS.js → manualCaptureButton-ByWujoAK.js} +9 -11
- package/dist/{modal-BjjJFpZu.js → modal-9-lPt5Hj.js} +2 -2
- package/dist/{optionAccessibleLabel-DgfHD_mx.js → optionAccessibleLabel-Cc91L4JK.js} +4 -4
- package/dist/{otpInput-D5dLXrmC.js → otpInput-BWiL_nBW.js} +5 -5
- package/dist/{pdfViewer-vud1VZv6.js → pdfViewer-BbRv7mHX.js} +2 -2
- package/dist/pdfViewer-DHgpC35P.js +2 -0
- package/dist/phone/phone.es.js +8 -8
- package/dist/{phoneInputComposed-CeVWTS_O.js → phoneInputComposed-Bvy15RAe.js} +4 -4
- package/dist/{processing-BsvHyDWa.js → processing-DN0NyNqR.js} +1 -1
- package/dist/qe-signature/qe-signature.es.js +3 -3
- package/dist/{radioGroupComposed-DzNGUbZQ.js → radioGroupComposed-CPFZJOtR.js} +5 -5
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +12 -12
- package/dist/{richText-CTHBpZOw.js → richText-DnGJiTPl.js} +1 -1
- package/dist/selfie/selfie.es.js +7 -7
- package/dist/signature/signature.es.js +7 -7
- package/dist/{snackbar-C9Mqrh0e.js → snackbar-zbTKBgCx.js} +1 -1
- package/dist/{spacer-CDlQd12V.js → spacer-C6GdxqM-.js} +2 -2
- package/dist/{spinner-CLZ2fz4u.js → spinner-CaEPC8gQ.js} +4 -4
- package/dist/{statusPage--GVFSUJp.js → statusPage-C-2V2g63.js} +3 -3
- package/dist/{tabs-DweBZTV2.js → tabs-BjLPiKhZ.js} +1 -1
- package/dist/{tutorial-BZZC93Ur.js → tutorial-B1F5C8Si.js} +9 -9
- package/dist/types/ae-signature.d.ts +28 -2
- package/dist/types/antifraud.d.ts +28 -2
- package/dist/types/authentication.d.ts +28 -2
- package/dist/types/certificate-issuance.d.ts +28 -2
- package/dist/types/consent.d.ts +28 -2
- package/dist/types/cross-document-data-match.d.ts +28 -2
- package/dist/types/curp-validation.d.ts +28 -2
- package/dist/types/document-capture.d.ts +28 -2
- package/dist/types/ekyb.d.ts +28 -2
- package/dist/types/ekyc.d.ts +28 -2
- package/dist/types/electronic-signature.d.ts +28 -2
- package/dist/types/email.d.ts +28 -2
- package/dist/types/extensibility.d.ts +58 -2
- package/dist/types/face-match.d.ts +28 -2
- package/dist/types/field-comparison.d.ts +28 -2
- package/dist/types/fiscal-qr.d.ts +28 -2
- package/dist/types/flow.d.ts +43 -3
- package/dist/types/geolocation.d.ts +28 -2
- package/dist/types/government-validation.d.ts +28 -2
- package/dist/types/id-selfie-flow.d.ts +28 -2
- package/dist/types/id-verification.d.ts +28 -2
- package/dist/types/id.d.ts +28 -2
- package/dist/types/identity-reuse.d.ts +28 -2
- package/dist/types/index.d.ts +49 -0
- package/dist/types/phone.d.ts +28 -2
- package/dist/types/qe-signature.d.ts +28 -2
- package/dist/types/selfie.d.ts +28 -2
- package/dist/types/signature.d.ts +28 -2
- package/dist/types/video-selfie.d.ts +28 -2
- package/dist/types/watchlist.d.ts +28 -2
- package/dist/types/workflow.d.ts +44 -3
- package/dist/{uiConfig-B5ASPUL4.js → uiConfig-D7ezQeZ7.js} +42 -5
- package/dist/{useModuleLoader-D_YpuVsS.js → useModuleLoader-DVvqx4RT.js} +18 -18
- package/dist/{verificationResult-B8HwR07t.js → verificationResult-tgNeUuHO.js} +7 -7
- package/dist/video-selfie/video-selfie.es.js +14 -15
- package/dist/watchlist/watchlist.es.js +5 -5
- package/dist/{watchlistForBusiness-D8Is99bZ.js → watchlistForBusiness-3bO7BVcy.js} +8 -8
- package/dist/workflow/workflow.es.js +12 -12
- package/package.json +2 -2
- package/dist/dateInputComposed-ks0-opuq.js +0 -1
- package/dist/documentCapture-DdHdRPzR.js +0 -2
- package/dist/dropdownComposed-kjG4UblM.js +0 -1
- package/dist/ekybModule-CiaxFHXo.js +0 -2
- package/dist/ekycModule-BVt10kgv.js +0 -2
- package/dist/faceMatch-D4XFihTc.js +0 -2
- package/dist/fieldComparison-B_r9Bal7.js +0 -2
- package/dist/inputComposed-CADVQW-o.js +0 -1
- package/dist/pdfViewer-CZb6obcZ.js +0 -2
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as useTranslation } from "./uiConfig-D7ezQeZ7.js";
|
|
2
2
|
import { S as k, _ as y, a as D, c as z, d as T, f as _, h as q, l as A, o as P, p as d, v as u } from "./vendor-preact-mvwZ8mJj.js";
|
|
3
|
-
import { d as useTimeoutHandle, f as useResizeObserver, l as TransitionSpinner, o as Page, p as useEventListener, u as useFeatureManagement } from "./incodeComponent-
|
|
4
|
-
import { a as useAnimationData,
|
|
5
|
-
import { n as Title, t as Spinner } from "./spinner-
|
|
6
|
-
import { n as ErrorIcon, r as Button } from "./incode-logo-
|
|
7
|
-
import "./processing-
|
|
8
|
-
import { _ as CalendarIcon, c as EllipseIcon, h as CaptureButtonIcon, i as HelpIcon, o as EyeOffIcon, r as LockIcon, s as EyeIcon, t as SvgLightningIcon, u as ChevronRightIcon } from "./icons
|
|
3
|
+
import { d as useTimeoutHandle, f as useResizeObserver, l as TransitionSpinner, o as Page, p as useEventListener, u as useFeatureManagement } from "./incodeComponent-B6hBTDEE.js";
|
|
4
|
+
import { a as useAnimationData, d as cn, r as AnimatedAsset, t as Spacer } from "./spacer-C6GdxqM-.js";
|
|
5
|
+
import { n as Title, t as Spinner } from "./spinner-CaEPC8gQ.js";
|
|
6
|
+
import { n as ErrorIcon, r as Button } from "./incode-logo-DkPbEPiI.js";
|
|
7
|
+
import "./processing-DN0NyNqR.js";
|
|
8
|
+
import { _ as CalendarIcon, c as EllipseIcon, h as CaptureButtonIcon, i as HelpIcon, o as EyeOffIcon, r as LockIcon, s as EyeIcon, t as SvgLightningIcon, u as ChevronRightIcon } from "./icons-CIjsoS44.js";
|
|
9
9
|
import { t as SuccessIcon } from "./successIcon-Bj8Y9CuI.js";
|
|
10
|
-
import { t as Modal } from "./modal-
|
|
11
|
-
import { r as BaseTutorial } from "./tutorial-
|
|
12
|
-
import "./verificationResult-
|
|
13
|
-
import "./connectionError-
|
|
14
|
-
import { t as InputComposed } from "./inputComposed-
|
|
15
|
-
import "./inputComposed-
|
|
16
|
-
import "./otpInput-
|
|
17
|
-
import "./checkbox-
|
|
18
|
-
import "./radioGroupComposed-
|
|
19
|
-
import "./phoneInputComposed-
|
|
20
|
-
import "./dropdownComposed-
|
|
21
|
-
import "./dateInputComposed-
|
|
10
|
+
import { t as Modal } from "./modal-9-lPt5Hj.js";
|
|
11
|
+
import { r as BaseTutorial } from "./tutorial-B1F5C8Si.js";
|
|
12
|
+
import "./verificationResult-tgNeUuHO.js";
|
|
13
|
+
import "./connectionError-CvH1vnCt.js";
|
|
14
|
+
import { t as InputComposed } from "./inputComposed-CGB8zKbd.js";
|
|
15
|
+
import "./inputComposed-DDFdXKT3.js";
|
|
16
|
+
import "./otpInput-BWiL_nBW.js";
|
|
17
|
+
import "./checkbox-gbHumlEi.js";
|
|
18
|
+
import "./radioGroupComposed-CPFZJOtR.js";
|
|
19
|
+
import "./phoneInputComposed-Bvy15RAe.js";
|
|
20
|
+
import "./dropdownComposed-DLaj01jA.js";
|
|
21
|
+
import "./dateInputComposed-BMauTxWJ.js";
|
|
22
22
|
import "./bottomSheet-Cp8DLulN.js";
|
|
23
|
-
import { a as CameraView, i as usePreloadCaptureAnimations, n as CaptureNotification, o as CameraFrame } from "./manualCaptureButton-
|
|
24
|
-
import "./manualCaptureButton-
|
|
25
|
-
import { n as RedStrikeIcon, t as ExpiredId } from "./expiredId-
|
|
23
|
+
import { a as CameraView, i as usePreloadCaptureAnimations, n as CaptureNotification, o as CameraFrame } from "./manualCaptureButton-B3ZD52_f.js";
|
|
24
|
+
import "./manualCaptureButton-ByWujoAK.js";
|
|
25
|
+
import { n as RedStrikeIcon, t as ExpiredId } from "./expiredId-Cf7_dJQE.js";
|
|
26
26
|
import { getDeviceClass } from "@incodetech/core/device";
|
|
27
27
|
import { eventModuleNames, recordExperimentAssignmentOnce } from "@incodetech/core/events";
|
|
28
28
|
import { ONBOARDING_WEB_SDK_PARAMETER_STORE, booleanParam, defineExperimentParams, resolveExperiment } from "@incodetech/core/feature-management";
|
|
@@ -1816,9 +1816,8 @@ function getCaptureMode(state) {
|
|
|
1816
1816
|
//#endregion
|
|
1817
1817
|
//#region src/modules/id/capture/capture.tsx
|
|
1818
1818
|
var Capture = ({ manager, state }) => {
|
|
1819
|
-
const { t } = useTranslation();
|
|
1820
1819
|
const { enabled: captureResultPreviewEnabled, isCrossfading, onCrossfadeEnd } = useCaptureResultPreview(manager, state);
|
|
1821
|
-
if (state.captureStatus === "holdOn") return /* @__PURE__ */ u(TransitionSpinner, {
|
|
1820
|
+
if (state.captureStatus === "holdOn") return /* @__PURE__ */ u(TransitionSpinner, { subtitleKey: "idv2.capture.holdOn.subtitle" });
|
|
1822
1821
|
if (state.captureStatus === "success" && (state.previewImageUrl || state.barcodeFastPathCaptured)) return /* @__PURE__ */ u(IdSuccess, {
|
|
1823
1822
|
manager,
|
|
1824
1823
|
state,
|
package/dist/extensibility.es.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as LandscapeBlocker, o as Page, t as IncodeComponent, v as useScreenOrientation, y as useManager } from "./incodeComponent-
|
|
3
|
-
import { o as Lottie, t as Spacer } from "./spacer-
|
|
4
|
-
import { a as TypographyH4, i as TypographyH3, n as Title, o as TypographyH5, r as TypographyH1, s as TypographyP, t as Spinner } from "./spinner-
|
|
5
|
-
import { n as ErrorIcon, r as Button } from "./incode-logo-
|
|
6
|
-
import { _ as TextArea, b as ProgressBar, d as CaptureFooter, f as CameraOverlayHeader, g as TextAreaComposed, h as VerificationOptionCardList, i as Capture, m as VerificationOptionCard, n as Chooser, o as IdExpired, p as CameraOverlay, r as Tutorial, s as IdError, t as FlipAnimation, u as ManualCapture, v as SegmentedDateInput, x as Overlay, y as PasswordInputComposed } from "./extensibility-
|
|
7
|
-
import { t as Processing } from "./processing-
|
|
8
|
-
import { _ as CalendarIcon, a as FileIcon, c as EllipseIcon, d as ChevronLeftIcon, f as ChevronDown, g as CameraIcon, h as CaptureButtonIcon, i as HelpIcon, l as CloseIcon, m as CheckmarkIcon, n as SearchIcon, o as EyeOffIcon, p as CheckmarkCompactIcon, r as LockIcon, s as EyeIcon, t as SvgLightningIcon, u as ChevronRightIcon, v as WarningIcon } from "./icons
|
|
1
|
+
import { a as useTranslation, n as setUiConfig } from "./uiConfig-D7ezQeZ7.js";
|
|
2
|
+
import { n as LandscapeBlocker, o as Page, t as IncodeComponent, v as useScreenOrientation, y as useManager } from "./incodeComponent-B6hBTDEE.js";
|
|
3
|
+
import { o as Lottie, t as Spacer } from "./spacer-C6GdxqM-.js";
|
|
4
|
+
import { a as TypographyH4, i as TypographyH3, n as Title, o as TypographyH5, r as TypographyH1, s as TypographyP, t as Spinner } from "./spinner-CaEPC8gQ.js";
|
|
5
|
+
import { n as ErrorIcon, r as Button } from "./incode-logo-DkPbEPiI.js";
|
|
6
|
+
import { _ as TextArea, b as ProgressBar, d as CaptureFooter, f as CameraOverlayHeader, g as TextAreaComposed, h as VerificationOptionCardList, i as Capture, m as VerificationOptionCard, n as Chooser, o as IdExpired, p as CameraOverlay, r as Tutorial, s as IdError, t as FlipAnimation, u as ManualCapture, v as SegmentedDateInput, x as Overlay, y as PasswordInputComposed } from "./extensibility-CFhCNmsm.js";
|
|
7
|
+
import { t as Processing } from "./processing-DN0NyNqR.js";
|
|
8
|
+
import { _ as CalendarIcon, a as FileIcon, c as EllipseIcon, d as ChevronLeftIcon, f as ChevronDown, g as CameraIcon, h as CaptureButtonIcon, i as HelpIcon, l as CloseIcon, m as CheckmarkIcon, n as SearchIcon, o as EyeOffIcon, p as CheckmarkCompactIcon, r as LockIcon, s as EyeIcon, t as SvgLightningIcon, u as ChevronRightIcon, v as WarningIcon } from "./icons-CIjsoS44.js";
|
|
9
9
|
import { t as SuccessIcon } from "./successIcon-Bj8Y9CuI.js";
|
|
10
|
-
import { t as Modal } from "./modal-
|
|
11
|
-
import { i as ErrorContent, n as Capture$1, r as BaseTutorial, t as Tutorial$1 } from "./tutorial-
|
|
12
|
-
import { t as VerificationResult } from "./verificationResult-
|
|
13
|
-
import { t as ConnectionError } from "./connectionError-
|
|
14
|
-
import { n as Input, t as InputComposed } from "./inputComposed-
|
|
15
|
-
import { t as OtpInput } from "./otpInput-
|
|
16
|
-
import { t as Checkbox } from "./checkbox-
|
|
17
|
-
import { n as RadioButtonComposed, r as FormField, t as RadioGroupComposed } from "./radioGroupComposed-
|
|
18
|
-
import { i as getCountryByCode, n as countries, r as getCountryByCallingCode, t as PhoneInputComposed } from "./phoneInputComposed-
|
|
19
|
-
import { t as DropdownComposed } from "./dropdownComposed-
|
|
20
|
-
import { t as DateInputComposed } from "./dateInputComposed-
|
|
10
|
+
import { t as Modal } from "./modal-9-lPt5Hj.js";
|
|
11
|
+
import { i as ErrorContent, n as Capture$1, r as BaseTutorial, t as Tutorial$1 } from "./tutorial-B1F5C8Si.js";
|
|
12
|
+
import { t as VerificationResult } from "./verificationResult-tgNeUuHO.js";
|
|
13
|
+
import { t as ConnectionError } from "./connectionError-CvH1vnCt.js";
|
|
14
|
+
import { n as Input, t as InputComposed } from "./inputComposed-CGB8zKbd.js";
|
|
15
|
+
import { t as OtpInput } from "./otpInput-BWiL_nBW.js";
|
|
16
|
+
import { t as Checkbox } from "./checkbox-gbHumlEi.js";
|
|
17
|
+
import { n as RadioButtonComposed, r as FormField, t as RadioGroupComposed } from "./radioGroupComposed-CPFZJOtR.js";
|
|
18
|
+
import { i as getCountryByCode, n as countries, r as getCountryByCallingCode, t as PhoneInputComposed } from "./phoneInputComposed-Bvy15RAe.js";
|
|
19
|
+
import { t as DropdownComposed } from "./dropdownComposed-Bk8viDop.js";
|
|
20
|
+
import { t as DateInputComposed } from "./dateInputComposed-3jXySs6M.js";
|
|
21
21
|
import { t as BottomSheet } from "./bottomSheet-Cp8DLulN.js";
|
|
22
|
-
import { a as CameraView, o as CameraFrame } from "./manualCaptureButton-
|
|
23
|
-
import { n as Permissions } from "./manualCaptureButton-
|
|
22
|
+
import { a as CameraView, o as CameraFrame } from "./manualCaptureButton-B3ZD52_f.js";
|
|
23
|
+
import { n as Permissions } from "./manualCaptureButton-ByWujoAK.js";
|
|
24
24
|
export { BaseTutorial, BottomSheet, Button, CalendarIcon, CameraFrame, CameraIcon, CameraOverlay, CameraOverlayHeader, CameraView, CaptureButtonIcon, CaptureFooter, Checkbox, CheckmarkCompactIcon, CheckmarkIcon, ChevronDown, ChevronLeftIcon, ChevronRightIcon, CloseIcon, ConnectionError, DateInputComposed, DropdownComposed, EllipseIcon, ErrorContent, ErrorIcon, EyeIcon, EyeOffIcon, FileIcon, FormField, HelpIcon, Capture as IdCapture, Chooser as IdChooser, IdError, IdExpired, FlipAnimation as IdFlipAnimation, Tutorial as IdTutorial, IncodeComponent, Input, InputComposed, LandscapeBlocker, SvgLightningIcon as LightningIcon, LockIcon, Lottie, ManualCapture, Modal, OtpInput, Overlay, Page, PasswordInputComposed, Permissions, PhoneInputComposed, Processing, ProgressBar, RadioButtonComposed, RadioGroupComposed, SearchIcon, SegmentedDateInput, Capture$1 as SelfieCapture, Tutorial$1 as SelfieTutorial, Spacer, Spinner, SuccessIcon, TextArea, TextAreaComposed, Title, TypographyH1, TypographyH3, TypographyH4, TypographyH5, TypographyP, VerificationOptionCard, VerificationOptionCardList, VerificationResult, WarningIcon, countries, getCountryByCallingCode, getCountryByCode, setUiConfig, useManager, useScreenOrientation, useTranslation };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as FaceMatch } from "../faceMatch-
|
|
1
|
+
import { t as FaceMatch } from "../faceMatch-BOJD6ZCq.js";
|
|
2
2
|
export { FaceMatch };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as useTranslation } from "./uiConfig-D7ezQeZ7.js";
|
|
2
2
|
import { S as k, _ as y, l as A, v as u } from "./vendor-preact-mvwZ8mJj.js";
|
|
3
|
-
import { _ as useModuleTerminalCallbacks, g as isTerminalModuleState, l as TransitionSpinner, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, y as useManager } from "./incodeComponent-
|
|
4
|
-
import { s as Asset, t as Spacer } from "./spacer-
|
|
5
|
-
import { n as Title } from "./spinner-
|
|
6
|
-
import { r as Button } from "./incode-logo-
|
|
7
|
-
import { t as registerIncodeModuleElement } from "./incodeModule-
|
|
8
|
-
import { t as Snackbar } from "./snackbar-
|
|
3
|
+
import { _ as useModuleTerminalCallbacks, g as isTerminalModuleState, l as TransitionSpinner, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, y as useManager } from "./incodeComponent-B6hBTDEE.js";
|
|
4
|
+
import { s as Asset, t as Spacer } from "./spacer-C6GdxqM-.js";
|
|
5
|
+
import { n as Title } from "./spinner-CaEPC8gQ.js";
|
|
6
|
+
import { r as Button } from "./incode-logo-DkPbEPiI.js";
|
|
7
|
+
import { t as registerIncodeModuleElement } from "./incodeModule-CCI32xbn.js";
|
|
8
|
+
import { t as Snackbar } from "./snackbar-zbTKBgCx.js";
|
|
9
9
|
import { createFaceMatchManager } from "@incodetech/core/face-match";
|
|
10
10
|
//#region src/modules/face-match/assets/match-success.svg?react
|
|
11
11
|
var SvgMatchSuccess = (props) => /* @__PURE__ */ u("svg", {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as FieldComparison } from "../fieldComparison-
|
|
1
|
+
import { t as FieldComparison } from "../fieldComparison-D_cMCcwa.js";
|
|
2
2
|
export { FieldComparison };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as useTranslation } from "./uiConfig-D7ezQeZ7.js";
|
|
2
2
|
import { v as u } from "./vendor-preact-mvwZ8mJj.js";
|
|
3
|
-
import { _ as useModuleTerminalCallbacks, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, y as useManager } from "./incodeComponent-
|
|
4
|
-
import { t as Spacer } from "./spacer-
|
|
5
|
-
import { r as Button } from "./incode-logo-
|
|
6
|
-
import "./extensibility-
|
|
7
|
-
import { t as VerificationResult } from "./verificationResult-
|
|
8
|
-
import { t as InputComposed } from "./inputComposed-
|
|
9
|
-
import { t as registerIncodeModuleElement } from "./incodeModule-
|
|
3
|
+
import { _ as useModuleTerminalCallbacks, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, y as useManager } from "./incodeComponent-B6hBTDEE.js";
|
|
4
|
+
import { t as Spacer } from "./spacer-C6GdxqM-.js";
|
|
5
|
+
import { r as Button } from "./incode-logo-DkPbEPiI.js";
|
|
6
|
+
import "./extensibility-CFhCNmsm.js";
|
|
7
|
+
import { t as VerificationResult } from "./verificationResult-tgNeUuHO.js";
|
|
8
|
+
import { t as InputComposed } from "./inputComposed-CGB8zKbd.js";
|
|
9
|
+
import { t as registerIncodeModuleElement } from "./incodeModule-CCI32xbn.js";
|
|
10
10
|
import { createFieldComparisonManager } from "@incodetech/core/field-comparison";
|
|
11
11
|
//#region src/modules/field-comparison/fieldComparison.tsx
|
|
12
12
|
var FieldComparisonContent = ({ config, manager: externalManager, onFinish }) => {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as useTranslation } from "./uiConfig-D7ezQeZ7.js";
|
|
2
2
|
import { S as k, _ as y, h as q, l as A, p as d, v as u } from "./vendor-preact-mvwZ8mJj.js";
|
|
3
|
-
import { d as useTimeoutHandle, o as Page } from "./incodeComponent-
|
|
4
|
-
import { n as LoadingIcon, o as Lottie, s as Asset
|
|
5
|
-
import { n as ErrorIcon, r as Button } from "./incode-logo-
|
|
6
|
-
import "./icons
|
|
3
|
+
import { d as useTimeoutHandle, o as Page } from "./incodeComponent-B6hBTDEE.js";
|
|
4
|
+
import { d as cn, n as LoadingIcon, o as Lottie, s as Asset } from "./spacer-C6GdxqM-.js";
|
|
5
|
+
import { n as ErrorIcon, r as Button } from "./incode-logo-DkPbEPiI.js";
|
|
6
|
+
import "./icons-CIjsoS44.js";
|
|
7
7
|
import { t as SuccessIcon } from "./successIcon-Bj8Y9CuI.js";
|
|
8
|
-
import { t as Modal } from "./modal-
|
|
9
|
-
import { t as AutoFocusTitle } from "./autoFocusTitle-
|
|
10
|
-
import { n as CaptureNotification, o as CameraFrame, t as ManualCaptureButton } from "./manualCaptureButton-
|
|
11
|
-
import { t as ManualCaptureButton$1 } from "./manualCaptureButton-
|
|
8
|
+
import { t as Modal } from "./modal-9-lPt5Hj.js";
|
|
9
|
+
import { t as AutoFocusTitle } from "./autoFocusTitle-Edt8-trP.js";
|
|
10
|
+
import { n as CaptureNotification, o as CameraFrame, t as ManualCaptureButton } from "./manualCaptureButton-B3ZD52_f.js";
|
|
11
|
+
import { t as ManualCaptureButton$1 } from "./manualCaptureButton-ByWujoAK.js";
|
|
12
12
|
import { checkCameraPermission, requestCameraPermission } from "@incodetech/core/camera";
|
|
13
13
|
import { resolveVideoSelfieSteps } from "@incodetech/core/video-selfie";
|
|
14
14
|
//#region src/modules/video-selfie/useVideoSelfiePermissions.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as useTranslation } from "../uiConfig-D7ezQeZ7.js";
|
|
2
2
|
import { v as u } from "../vendor-preact-mvwZ8mJj.js";
|
|
3
|
-
import { _ as useModuleTerminalCallbacks, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, y as useManager } from "../incodeComponent-
|
|
4
|
-
import { t as Spacer } from "../spacer-
|
|
5
|
-
import { r as Button } from "../incode-logo-
|
|
6
|
-
import { f as CameraOverlayHeader, p as CameraOverlay } from "../extensibility-
|
|
7
|
-
import { t as VerificationResult } from "../verificationResult-
|
|
8
|
-
import { a as CameraView, o as CameraFrame } from "../manualCaptureButton-
|
|
9
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
3
|
+
import { _ as useModuleTerminalCallbacks, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, y as useManager } from "../incodeComponent-B6hBTDEE.js";
|
|
4
|
+
import { t as Spacer } from "../spacer-C6GdxqM-.js";
|
|
5
|
+
import { r as Button } from "../incode-logo-DkPbEPiI.js";
|
|
6
|
+
import { f as CameraOverlayHeader, p as CameraOverlay } from "../extensibility-CFhCNmsm.js";
|
|
7
|
+
import { t as VerificationResult } from "../verificationResult-tgNeUuHO.js";
|
|
8
|
+
import { a as CameraView, o as CameraFrame } from "../manualCaptureButton-B3ZD52_f.js";
|
|
9
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-CCI32xbn.js";
|
|
10
10
|
import { createFiscalQrManager } from "@incodetech/core/fiscal-qr";
|
|
11
11
|
//#region src/modules/fiscal-qr/fiscalQrCapture.tsx
|
|
12
12
|
function getFrameState(status) {
|
package/dist/flow/flow.es.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as useTranslation, l as readStoredLanguage, t as setThemeUiConfig } from "../uiConfig-D7ezQeZ7.js";
|
|
2
2
|
import { _ as y, c as z, d as T, l as A, o as P, p as d, v as u } from "../vendor-preact-mvwZ8mJj.js";
|
|
3
|
-
import { a as TerminalErrorPage, i as ResolvedConfigProvider, l as TransitionSpinner, t as IncodeComponent, y as useManager } from "../incodeComponent-
|
|
4
|
-
import { n as ErrorIcon } from "../incode-logo-
|
|
5
|
-
import { t as StatusPage } from "../statusPage
|
|
6
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
7
|
-
import { _ as warmupWasmIfNeeded, a as resolveApiKey, c as HEADLESS_FLOW_MODULE_KEYS, d as fetchTheme, f as initializeFlowManager, h as preloadRedirectToMobile, l as LAZY_UI_MODULES, m as preloadHomeScreen, n as useModulePreloader, o as extractIncodeStatus, p as preloadFirstModule, r as usePrefetchNextModule, s as UnsupportedModule, t as useModuleLoader, u as createFlowManager, v as isDesktopOrEmulated } from "../useModuleLoader-
|
|
3
|
+
import { a as TerminalErrorPage, i as ResolvedConfigProvider, l as TransitionSpinner, t as IncodeComponent, y as useManager } from "../incodeComponent-B6hBTDEE.js";
|
|
4
|
+
import { n as ErrorIcon } from "../incode-logo-DkPbEPiI.js";
|
|
5
|
+
import { t as StatusPage } from "../statusPage-C-2V2g63.js";
|
|
6
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-CCI32xbn.js";
|
|
7
|
+
import { _ as warmupWasmIfNeeded, a as resolveApiKey, c as HEADLESS_FLOW_MODULE_KEYS, d as fetchTheme, f as initializeFlowManager, h as preloadRedirectToMobile, l as LAZY_UI_MODULES, m as preloadHomeScreen, n as useModulePreloader, o as extractIncodeStatus, p as preloadFirstModule, r as usePrefetchNextModule, s as UnsupportedModule, t as useModuleLoader, u as createFlowManager, v as isDesktopOrEmulated } from "../useModuleLoader-DVvqx4RT.js";
|
|
8
8
|
import { getRequiredWasmPipelines } from "@incodetech/core/flow";
|
|
9
9
|
import { bootstrapSession, refreshQrUrlUuid } from "@incodetech/core/session";
|
|
10
10
|
//#region src/shared/processing/useDelayedFlag.ts
|
|
@@ -190,7 +190,7 @@ function useFlowInitialization(options) {
|
|
|
190
190
|
flowManagerRef.current = consumed.flowManager;
|
|
191
191
|
maybePreloadHomeScreen(consumed.flowManager);
|
|
192
192
|
maybePreloadRedirectToMobile();
|
|
193
|
-
if (consumed.uiConfig)
|
|
193
|
+
if (consumed.uiConfig) setThemeUiConfig(consumed.uiConfig);
|
|
194
194
|
return {
|
|
195
195
|
status: "ready",
|
|
196
196
|
flowManager: consumed.flowManager
|
|
@@ -248,7 +248,7 @@ function useFlowInitialization(options) {
|
|
|
248
248
|
flowManagerRef.current = consumed.flowManager;
|
|
249
249
|
maybePreloadHomeScreen(consumed.flowManager);
|
|
250
250
|
maybePreloadRedirectToMobile();
|
|
251
|
-
if (consumed.uiConfig)
|
|
251
|
+
if (consumed.uiConfig) setThemeUiConfig(consumed.uiConfig);
|
|
252
252
|
setState({
|
|
253
253
|
status: "ready",
|
|
254
254
|
flowManager: consumed.flowManager
|
|
@@ -293,7 +293,7 @@ function useFlowInitialization(options) {
|
|
|
293
293
|
flowManager: state.flowManager
|
|
294
294
|
});
|
|
295
295
|
const themePromise = disableDashboardTheme ? Promise.resolve() : fetchTheme(resolvedToken).then((result) => {
|
|
296
|
-
if (result.uiConfig)
|
|
296
|
+
if (result.uiConfig) setThemeUiConfig(result.uiConfig);
|
|
297
297
|
});
|
|
298
298
|
const flowReadyPromise = state.flowManager.waitForReady();
|
|
299
299
|
await Promise.all([flowReadyPromise, themePromise]);
|
|
@@ -330,7 +330,7 @@ function useFlowInitialization(options) {
|
|
|
330
330
|
}
|
|
331
331
|
//#endregion
|
|
332
332
|
//#region src/modules/flow/flow.tsx
|
|
333
|
-
var LazyHomeScreen = z(() => import("../homeScreen-
|
|
333
|
+
var LazyHomeScreen = z(() => import("../homeScreen-D2XpU5z_.js").then((module) => ({ default: module.HomeScreen })));
|
|
334
334
|
var IncodeFlowContent = ({ config, onFinish, onError }) => {
|
|
335
335
|
const { i18n } = useTranslation();
|
|
336
336
|
const initState = useFlowInitialization(T(() => ({
|
|
@@ -400,7 +400,7 @@ var IncodeFlowContent = ({ config, onFinish, onError }) => {
|
|
|
400
400
|
y(() => {
|
|
401
401
|
if (flowState?.status === "ready" && flowState.currentStep === "ID" && flowState.steps.includes("TUTORIAL_ID")) flowManager.completeModule();
|
|
402
402
|
}, [flowState, flowManager]);
|
|
403
|
-
const
|
|
403
|
+
const spinnerRenderMode = config.spinnerConfig?.title || config.spinnerConfig?.subtitle ? "spinnerAndText" : "spinnerOnly";
|
|
404
404
|
if (flowState.status === "error" && flowState.moduleErrorCode === "SESSION_FINISHED") return /* @__PURE__ */ u("div", {
|
|
405
405
|
class: "IncodeFlow",
|
|
406
406
|
children: /* @__PURE__ */ u(SessionFinishedPage, {})
|
|
@@ -423,7 +423,7 @@ var IncodeFlowContent = ({ config, onFinish, onError }) => {
|
|
|
423
423
|
class: "IncodeFlow",
|
|
424
424
|
children: /* @__PURE__ */ u(TransitionSpinner, {
|
|
425
425
|
spinnerConfig: config.spinnerConfig,
|
|
426
|
-
|
|
426
|
+
renderMode: spinnerRenderMode
|
|
427
427
|
})
|
|
428
428
|
});
|
|
429
429
|
if (flowState.presentation.isAwaitingReady) {
|
|
@@ -432,7 +432,7 @@ var IncodeFlowContent = ({ config, onFinish, onError }) => {
|
|
|
432
432
|
class: "IncodeFlow",
|
|
433
433
|
children: /* @__PURE__ */ u(TransitionSpinner, {
|
|
434
434
|
spinnerConfig: config.spinnerConfig,
|
|
435
|
-
|
|
435
|
+
renderMode: spinnerRenderMode
|
|
436
436
|
})
|
|
437
437
|
});
|
|
438
438
|
}
|
|
@@ -452,7 +452,7 @@ var IncodeFlowContent = ({ config, onFinish, onError }) => {
|
|
|
452
452
|
class: "IncodeFlow",
|
|
453
453
|
children: /* @__PURE__ */ u(TransitionSpinner, {
|
|
454
454
|
spinnerConfig: config.spinnerConfig,
|
|
455
|
-
|
|
455
|
+
renderMode: spinnerRenderMode
|
|
456
456
|
})
|
|
457
457
|
});
|
|
458
458
|
if (HEADLESS_FLOW_MODULE_KEYS.has(currentStep)) return /* @__PURE__ */ u("div", { class: "IncodeFlow" });
|
|
@@ -469,7 +469,7 @@ var IncodeFlowContent = ({ config, onFinish, onError }) => {
|
|
|
469
469
|
class: "IncodeFlow",
|
|
470
470
|
children: /* @__PURE__ */ u(TransitionSpinner, {
|
|
471
471
|
spinnerConfig: config.spinnerConfig,
|
|
472
|
-
|
|
472
|
+
renderMode: spinnerRenderMode
|
|
473
473
|
})
|
|
474
474
|
});
|
|
475
475
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as useTranslation, i as Trans } from "../uiConfig-D7ezQeZ7.js";
|
|
2
2
|
import { S as k, v as u } from "../vendor-preact-mvwZ8mJj.js";
|
|
3
|
-
import { _ as useModuleTerminalCallbacks, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, y as useManager } from "../incodeComponent-
|
|
4
|
-
import { t as Spacer } from "../spacer-
|
|
5
|
-
import { r as Button } from "../incode-logo-
|
|
6
|
-
import { t as VerificationResult } from "../verificationResult-
|
|
7
|
-
import { t as ConnectionError } from "../connectionError-
|
|
3
|
+
import { _ as useModuleTerminalCallbacks, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, y as useManager } from "../incodeComponent-B6hBTDEE.js";
|
|
4
|
+
import { t as Spacer } from "../spacer-C6GdxqM-.js";
|
|
5
|
+
import { r as Button } from "../incode-logo-DkPbEPiI.js";
|
|
6
|
+
import { t as VerificationResult } from "../verificationResult-tgNeUuHO.js";
|
|
7
|
+
import { t as ConnectionError } from "../connectionError-CvH1vnCt.js";
|
|
8
8
|
import { t as NumberedStep } from "../numberedStep-DUs77Gy3.js";
|
|
9
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
9
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-CCI32xbn.js";
|
|
10
10
|
import { getBrowser, getDeviceClass } from "@incodetech/core/device";
|
|
11
11
|
import { createGeolocationManager } from "@incodetech/core/geolocation";
|
|
12
12
|
//#region src/modules/geolocation/LocationActiveIcon.tsx
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as useTranslation } from "../uiConfig-D7ezQeZ7.js";
|
|
2
2
|
import { S as k, v as u } from "../vendor-preact-mvwZ8mJj.js";
|
|
3
|
-
import { _ as useModuleTerminalCallbacks, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, y as useManager } from "../incodeComponent-
|
|
4
|
-
import { t as Spacer } from "../spacer-
|
|
5
|
-
import "../extensibility-
|
|
6
|
-
import { t as AutoFocusTitle } from "../autoFocusTitle-
|
|
7
|
-
import { t as VerificationResult } from "../verificationResult-
|
|
8
|
-
import { t as OtpInput } from "../otpInput-
|
|
9
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
3
|
+
import { _ as useModuleTerminalCallbacks, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, y as useManager } from "../incodeComponent-B6hBTDEE.js";
|
|
4
|
+
import { t as Spacer } from "../spacer-C6GdxqM-.js";
|
|
5
|
+
import "../extensibility-CFhCNmsm.js";
|
|
6
|
+
import { t as AutoFocusTitle } from "../autoFocusTitle-Edt8-trP.js";
|
|
7
|
+
import { t as VerificationResult } from "../verificationResult-tgNeUuHO.js";
|
|
8
|
+
import { t as OtpInput } from "../otpInput-BWiL_nBW.js";
|
|
9
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-CCI32xbn.js";
|
|
10
10
|
import { createGovernmentValidationManager } from "@incodetech/core/government-validation";
|
|
11
11
|
//#region src/modules/government-validation/governmentIncodeLogo.tsx
|
|
12
12
|
var VerifiedByGovIncodeLogo = () => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as useTranslation, d as supportedLanguages, r as useUiConfig, u as getLanguageEmoji } from "./uiConfig-D7ezQeZ7.js";
|
|
2
2
|
import { _ as y, d as T, l as A, p as d, v as u } from "./vendor-preact-mvwZ8mJj.js";
|
|
3
|
-
import { t as Spacer } from "./spacer-
|
|
4
|
-
import { r as Button } from "./incode-logo-
|
|
5
|
-
import { t as Modal } from "./modal-
|
|
6
|
-
import { t as DropdownComposed } from "./dropdownComposed-
|
|
7
|
-
import "./dropdownComposed-
|
|
3
|
+
import { t as Spacer } from "./spacer-C6GdxqM-.js";
|
|
4
|
+
import { r as Button } from "./incode-logo-DkPbEPiI.js";
|
|
5
|
+
import { t as Modal } from "./modal-9-lPt5Hj.js";
|
|
6
|
+
import { t as DropdownComposed } from "./dropdownComposed-Bk8viDop.js";
|
|
7
|
+
import "./dropdownComposed-DLaj01jA.js";
|
|
8
8
|
//#region src/shared/homeScreen/language.ts
|
|
9
9
|
function capitalizeLabel(text, locale) {
|
|
10
10
|
const [firstCharacter, ...rest] = Array.from(text);
|
package/dist/id/id.es.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as useTranslation } from "../uiConfig-D7ezQeZ7.js";
|
|
2
2
|
import { S as k, _ as y, c as z, d as T, l as A, o as P, p as d, v as u } from "../vendor-preact-mvwZ8mJj.js";
|
|
3
|
-
import { _ as useModuleTerminalCallbacks, d as useTimeoutHandle, l as TransitionSpinner, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, u as useFeatureManagement, y as useManager } from "../incodeComponent-
|
|
4
|
-
import { i as preloadAnimations, r as AnimatedAsset, s as Asset, t as Spacer
|
|
5
|
-
import { n as Title, t as Spinner } from "../spinner-
|
|
6
|
-
import { n as ErrorIcon, r as Button } from "../incode-logo-
|
|
7
|
-
import { a as IdNoAttempts, b as ProgressBar, c as useIdExperiment, i as Capture, l as CaptureFrame, n as Chooser, o as IdExpired, r as Tutorial, s as IdError, t as FlipAnimation } from "../extensibility-
|
|
8
|
-
import { t as Processing } from "../processing-
|
|
9
|
-
import { r as LockIcon, u as ChevronRightIcon } from "../icons
|
|
3
|
+
import { _ as useModuleTerminalCallbacks, d as useTimeoutHandle, l as TransitionSpinner, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, u as useFeatureManagement, y as useManager } from "../incodeComponent-B6hBTDEE.js";
|
|
4
|
+
import { d as cn, i as preloadAnimations, r as AnimatedAsset, s as Asset, t as Spacer } from "../spacer-C6GdxqM-.js";
|
|
5
|
+
import { n as Title, t as Spinner } from "../spinner-CaEPC8gQ.js";
|
|
6
|
+
import { n as ErrorIcon, r as Button } from "../incode-logo-DkPbEPiI.js";
|
|
7
|
+
import { a as IdNoAttempts, b as ProgressBar, c as useIdExperiment, i as Capture, l as CaptureFrame, n as Chooser, o as IdExpired, r as Tutorial, s as IdError, t as FlipAnimation } from "../extensibility-CFhCNmsm.js";
|
|
8
|
+
import { t as Processing } from "../processing-DN0NyNqR.js";
|
|
9
|
+
import { r as LockIcon, u as ChevronRightIcon } from "../icons-CIjsoS44.js";
|
|
10
10
|
import { t as SuccessIcon } from "../successIcon-Bj8Y9CuI.js";
|
|
11
|
-
import { i as ErrorContent } from "../tutorial-
|
|
12
|
-
import { n as Permissions } from "../manualCaptureButton-
|
|
13
|
-
import { t as PdfViewer } from "../pdfViewer-
|
|
14
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
11
|
+
import { i as ErrorContent } from "../tutorial-B1F5C8Si.js";
|
|
12
|
+
import { n as Permissions } from "../manualCaptureButton-ByWujoAK.js";
|
|
13
|
+
import { t as PdfViewer } from "../pdfViewer-BbRv7mHX.js";
|
|
14
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-CCI32xbn.js";
|
|
15
15
|
import { t as SvgIdBackOfCard } from "../id-back-of-card-DO593HH8.js";
|
|
16
16
|
import { t as SvgIdBackOfCardVertical } from "../id-back-of-card-vertical-DArEQ0hE.js";
|
|
17
17
|
import { t as SvgIdFrontOfCard } from "../id-front-of-card-Bcit7Pnq.js";
|
|
18
18
|
import { t as SvgIdFrontOfCardVertical } from "../id-front-of-card-vertical-Bcr-KXcl.js";
|
|
19
|
-
import { t as Tabs } from "../tabs-
|
|
19
|
+
import { t as Tabs } from "../tabs-BjLPiKhZ.js";
|
|
20
20
|
import { ONBOARDING_WEB_SDK_PARAMETER_STORE } from "@incodetech/core/feature-management";
|
|
21
21
|
import { createIdCaptureManager } from "@incodetech/core/id";
|
|
22
22
|
//#region src/shared/fonts/preloadDisplayFont.ts
|
|
@@ -1109,10 +1109,9 @@ function preloadIdTutorialAssets() {
|
|
|
1109
1109
|
}
|
|
1110
1110
|
//#endregion
|
|
1111
1111
|
//#region src/modules/id/id.tsx
|
|
1112
|
-
var MandatoryConsent = z(() => import("../mandatoryConsent-
|
|
1112
|
+
var MandatoryConsent = z(() => import("../mandatoryConsent-L7Tpj3tg.js").then((module) => ({ default: module.MandatoryConsent })));
|
|
1113
1113
|
var IdContent = ({ config, manager: externalManager, onFinish, onError }) => {
|
|
1114
1114
|
usePreloadDisplayFont();
|
|
1115
|
-
const { t } = useTranslation();
|
|
1116
1115
|
y(() => {
|
|
1117
1116
|
preloadIdTutorialAssets();
|
|
1118
1117
|
}, []);
|
|
@@ -1130,11 +1129,11 @@ var IdContent = ({ config, manager: externalManager, onFinish, onError }) => {
|
|
|
1130
1129
|
onFinish,
|
|
1131
1130
|
onError
|
|
1132
1131
|
});
|
|
1133
|
-
if (state.status === "idle") return /* @__PURE__ */ u(TransitionSpinner, {
|
|
1134
|
-
if (state.status === "loading") return /* @__PURE__ */ u(TransitionSpinner, {
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
}
|
|
1132
|
+
if (state.status === "idle") return /* @__PURE__ */ u(TransitionSpinner, { renderMode: "spinnerOnly" });
|
|
1133
|
+
if (state.status === "loading") return /* @__PURE__ */ u(TransitionSpinner, {
|
|
1134
|
+
titleKey: "loadingCircle.holdOn",
|
|
1135
|
+
subtitleKey: "loadingCircle.preparingCamera"
|
|
1136
|
+
});
|
|
1138
1137
|
if (state.status === "chooser") return /* @__PURE__ */ u(Chooser, {
|
|
1139
1138
|
manager,
|
|
1140
1139
|
state
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as useTranslation } from "../uiConfig-D7ezQeZ7.js";
|
|
2
2
|
import { _ as y, d as T, p as d, v as u } from "../vendor-preact-mvwZ8mJj.js";
|
|
3
|
-
import { _ as useModuleTerminalCallbacks, a as TerminalErrorPage, l as TransitionSpinner, o as Page, t as IncodeComponent, y as useManager } from "../incodeComponent-
|
|
4
|
-
import { n as Title } from "../spinner-
|
|
5
|
-
import { a as CameraView, r as preloadCaptureAnimations } from "../manualCaptureButton-
|
|
6
|
-
import { n as Permissions } from "../manualCaptureButton-
|
|
7
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
8
|
-
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 { _ as useModuleTerminalCallbacks, a as TerminalErrorPage, l as TransitionSpinner, o as Page, t as IncodeComponent, y as useManager } from "../incodeComponent-B6hBTDEE.js";
|
|
4
|
+
import { n as Title } from "../spinner-CaEPC8gQ.js";
|
|
5
|
+
import { a as CameraView, r as preloadCaptureAnimations } from "../manualCaptureButton-B3ZD52_f.js";
|
|
6
|
+
import { n as Permissions } from "../manualCaptureButton-ByWujoAK.js";
|
|
7
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-CCI32xbn.js";
|
|
8
|
+
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-DL08U8_o.js";
|
|
9
9
|
import { createIdSelfieFlowManager, resolveIdSelfieFlowConfig, warmupIdSelfieFlowWasm } from "@incodetech/core/id-selfie-flow";
|
|
10
10
|
import { facingModeForStep } from "@incodetech/core/video-selfie";
|
|
11
11
|
//#region src/modules/id-selfie-flow/id-selfie-flow.tsx
|
|
@@ -52,10 +52,9 @@ var getSelfieVariant = (detectionStatus) => {
|
|
|
52
52
|
};
|
|
53
53
|
/** Full-screen spinner while `process/id` validates the captured document. */
|
|
54
54
|
var ProcessingIdScreen = () => {
|
|
55
|
-
const { t } = useTranslation();
|
|
56
55
|
return /* @__PURE__ */ u(Page, {
|
|
57
56
|
hideHeader: true,
|
|
58
|
-
children: /* @__PURE__ */ u(TransitionSpinner, {
|
|
57
|
+
children: /* @__PURE__ */ u(TransitionSpinner, { titleKey: "common.processing" })
|
|
59
58
|
});
|
|
60
59
|
};
|
|
61
60
|
var IdSelfieFlowContent = ({ config, onFinish, onError }) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { v as u } from "../vendor-preact-mvwZ8mJj.js";
|
|
2
|
-
import { _ as useModuleTerminalCallbacks, t as IncodeComponent, y as useManager } from "../incodeComponent-
|
|
3
|
-
import { t as Spinner } from "../spinner-
|
|
4
|
-
import { t as ExpiredId } from "../expiredId-
|
|
5
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
2
|
+
import { _ as useModuleTerminalCallbacks, t as IncodeComponent, y as useManager } from "../incodeComponent-B6hBTDEE.js";
|
|
3
|
+
import { t as Spinner } from "../spinner-CaEPC8gQ.js";
|
|
4
|
+
import { t as ExpiredId } from "../expiredId-Cf7_dJQE.js";
|
|
5
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-CCI32xbn.js";
|
|
6
6
|
import { createIdVerificationManager } from "@incodetech/core/id-verification";
|
|
7
7
|
//#region src/modules/id-verification/id-verification.tsx
|
|
8
8
|
var IdVerificationContent = ({ config, manager: externalManager, onFinish }) => {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as useTranslation } from "./uiConfig-D7ezQeZ7.js";
|
|
2
2
|
import { d as T, v as u } from "./vendor-preact-mvwZ8mJj.js";
|
|
3
|
-
import { _ as useModuleTerminalCallbacks, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, y as useManager } from "./incodeComponent-
|
|
4
|
-
import { r as Button } from "./incode-logo-
|
|
5
|
-
import "./extensibility-
|
|
6
|
-
import { t as VerificationResult } from "./verificationResult-
|
|
7
|
-
import { t as InputComposed } from "./inputComposed-
|
|
8
|
-
import { t as RadioGroupComposed } from "./radioGroupComposed-
|
|
9
|
-
import { t as DateInputComposed } from "./dateInputComposed-
|
|
10
|
-
import { t as registerIncodeModuleElement } from "./incodeModule-
|
|
3
|
+
import { _ as useModuleTerminalCallbacks, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, y as useManager } from "./incodeComponent-B6hBTDEE.js";
|
|
4
|
+
import { r as Button } from "./incode-logo-DkPbEPiI.js";
|
|
5
|
+
import "./extensibility-CFhCNmsm.js";
|
|
6
|
+
import { t as VerificationResult } from "./verificationResult-tgNeUuHO.js";
|
|
7
|
+
import { t as InputComposed } from "./inputComposed-CGB8zKbd.js";
|
|
8
|
+
import { t as RadioGroupComposed } from "./radioGroupComposed-CPFZJOtR.js";
|
|
9
|
+
import { t as DateInputComposed } from "./dateInputComposed-3jXySs6M.js";
|
|
10
|
+
import { t as registerIncodeModuleElement } from "./incodeModule-CCI32xbn.js";
|
|
11
11
|
import { n as getRequiredHintMode, t as getFieldHint } from "./requiredLabelHint-Dx0WS2cR.js";
|
|
12
12
|
import { createIdOcrManager, getOcrFields } from "@incodetech/core/id-ocr";
|
|
13
13
|
//#region src/modules/id-ocr/idOcrForm.tsx
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as useTranslation } from "../uiConfig-D7ezQeZ7.js";
|
|
2
2
|
import { _ as y, v as u } from "../vendor-preact-mvwZ8mJj.js";
|
|
3
|
-
import { _ as useModuleTerminalCallbacks, o as Page, t as IncodeComponent, y as useManager } from "../incodeComponent-
|
|
4
|
-
import { t as Spinner } from "../spinner-
|
|
5
|
-
import { r as Button } from "../incode-logo-
|
|
6
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
3
|
+
import { _ as useModuleTerminalCallbacks, o as Page, t as IncodeComponent, y as useManager } from "../incodeComponent-B6hBTDEE.js";
|
|
4
|
+
import { t as Spinner } from "../spinner-CaEPC8gQ.js";
|
|
5
|
+
import { r as Button } from "../incode-logo-DkPbEPiI.js";
|
|
6
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-CCI32xbn.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 k, a as D, v as u } from "./vendor-preact-mvwZ8mJj.js";
|
|
2
|
-
import {
|
|
2
|
+
import { d as cn, n as LoadingIcon } from "./spacer-C6GdxqM-.js";
|
|
3
3
|
//#region src/shared/button/button.tsx
|
|
4
4
|
var LOADER_SIZE = 30;
|
|
5
5
|
var variantClass = {
|