@incodetech/web 2.2.0-rc.1 → 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-D7VzaZ2P.js → autoFocusTitle-Edt8-trP.js} +1 -1
- package/dist/certificate-issuance/certificate-issuance.es.js +8 -8
- package/dist/{checkbox-Jgwh943i.js → checkbox-gbHumlEi.js} +3 -3
- package/dist/{connectionError-Bl5E35Qm.js → connectionError-CvH1vnCt.js} +2 -2
- package/dist/consent/consent.es.js +6 -6
- package/dist/{countrySelector-Sd-u1WGf.js → countrySelector-DzLvpCfs.js} +1 -1
- package/dist/cross-document-data-match/cross-document-data-match.es.js +3 -3
- package/dist/curp-validation/curp-validation.es.js +13 -13
- package/dist/{customFields-CiEguXX9.js → customFields-DiOcfhlB.js} +8 -8
- package/dist/{customWatchlist-BSAW87qq.js → customWatchlist-CC9ZN7fk.js} +4 -4
- package/dist/{dateInputComposed-D0WEYWkS.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-GFNkI1ly.js → documentCapture-Dc9Q2wYc.js} +13 -13
- package/dist/{dropdownComposed-BXleSN7n.js → dropdownComposed-Bk8viDop.js} +3 -3
- package/dist/dropdownComposed-DLaj01jA.js +1 -0
- package/dist/{dynamicForms-DU5fT72-.js → dynamicForms-BZB8JDkM.js} +9 -9
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/{ekybModule-CMcpoTgh.js → ekybModule-C9UhcxKV.js} +12 -12
- package/dist/ekybModule-QcD4hQFD.js +2 -0
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/{ekycModule-BTO8iIwh.js → ekycModule-Cp7kPhFr.js} +10 -10
- package/dist/ekycModule-DqX1bTFN.js +2 -0
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-COBKJBjU.js → electronic-signature-DGL6y3os.js} +8 -8
- package/dist/email/email.es.js +6 -6
- package/dist/{emailInput-mPPvterQ.js → emailInput-Du_BH960.js} +2 -2
- package/dist/{expiredId-CD5ETLV9.js → expiredId-Cf7_dJQE.js} +4 -4
- package/dist/{extensibility-DBilbbhC.js → extensibility-CFhCNmsm.js} +22 -23
- package/dist/extensibility.es.js +20 -20
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/{faceMatch-CwDBO9Is.js → faceMatch-BOJD6ZCq.js} +6 -6
- package/dist/faceMatch-Dhm-H0Pg.js +2 -0
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/{fieldComparison-dDvSYYQP.js → fieldComparison-D_cMCcwa.js} +7 -7
- package/dist/fieldComparison-Fnup635x.js +2 -0
- package/dist/{finalSuccessScreen-B9kb72WR.js → finalSuccessScreen-DL08U8_o.js} +8 -8
- package/dist/fiscal-qr/fiscal-qr.es.js +7 -7
- package/dist/flow/flow.es.js +11 -11
- package/dist/geolocation/geolocation.es.js +6 -6
- package/dist/government-validation/government-validation.es.js +7 -7
- package/dist/{homeScreen-Dycy1yhN.js → homeScreen-D2XpU5z_.js} +5 -5
- package/dist/{icons-D0cfSCBM.js → icons-CIjsoS44.js} +1 -1
- package/dist/id/id.es.js +18 -19
- package/dist/id-selfie-flow/id-selfie-flow.es.js +7 -8
- package/dist/id-verification/id-verification.es.js +4 -4
- package/dist/{idOcr-riTHUOlr.js → idOcr-DkmZyLVu.js} +8 -8
- package/dist/identity-reuse/identity-reuse.es.js +4 -4
- package/dist/{incode-logo-cGsd55rc.js → incode-logo-DkPbEPiI.js} +1 -1
- package/dist/{incodeComponent-B-daxouV.js → incodeComponent-B6hBTDEE.js} +57 -12
- package/dist/{incodeModule-uyUrSSUM.js → incodeModule-CCI32xbn.js} +9 -3
- package/dist/{inputComposed-Pp_XN1-h.js → inputComposed-CGB8zKbd.js} +3 -3
- package/dist/inputComposed-DDFdXKT3.js +1 -0
- package/dist/{mandatoryConsent-DSAjFc0h.js → mandatoryConsent-L7Tpj3tg.js} +6 -6
- package/dist/{manualCaptureButton-BY8dRhGA.js → manualCaptureButton-B3ZD52_f.js} +3 -3
- package/dist/{manualCaptureButton-BldgUGso.js → manualCaptureButton-ByWujoAK.js} +8 -10
- package/dist/{modal-BlczH_pL.js → modal-9-lPt5Hj.js} +2 -2
- package/dist/{optionAccessibleLabel-Dmz3eRsO.js → optionAccessibleLabel-Cc91L4JK.js} +3 -3
- package/dist/{otpInput-B3vUjmBF.js → otpInput-BWiL_nBW.js} +4 -4
- package/dist/{pdfViewer-BGFFFvmi.js → pdfViewer-BbRv7mHX.js} +2 -2
- package/dist/pdfViewer-DHgpC35P.js +2 -0
- package/dist/phone/phone.es.js +7 -7
- package/dist/{phoneInputComposed-D1ZBsd4S.js → phoneInputComposed-Bvy15RAe.js} +4 -4
- package/dist/{processing-vGhs5Gvb.js → processing-DN0NyNqR.js} +1 -1
- package/dist/qe-signature/qe-signature.es.js +3 -3
- package/dist/{radioGroupComposed-CYPHpI6a.js → radioGroupComposed-CPFZJOtR.js} +4 -4
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +11 -11
- package/dist/{richText-2OnIN9ff.js → richText-DnGJiTPl.js} +1 -1
- package/dist/selfie/selfie.es.js +7 -7
- package/dist/signature/signature.es.js +6 -6
- package/dist/{snackbar-BzyWgQ7J.js → snackbar-zbTKBgCx.js} +1 -1
- package/dist/{spacer-Bnmh-DfR.js → spacer-C6GdxqM-.js} +1 -1
- package/dist/{spinner-HP_c74K-.js → spinner-CaEPC8gQ.js} +4 -4
- package/dist/{statusPage-C0vTVW0Q.js → statusPage-C-2V2g63.js} +3 -3
- package/dist/{tabs-B_TxQ9ZQ.js → tabs-BjLPiKhZ.js} +1 -1
- package/dist/{tutorial-Cuy2ZEG9.js → tutorial-B1F5C8Si.js} +8 -8
- 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 +55 -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 +46 -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/{useModuleLoader-BImpfi_R.js → useModuleLoader-DVvqx4RT.js} +16 -16
- package/dist/{verificationResult-IUf0w1aR.js → verificationResult-tgNeUuHO.js} +6 -6
- package/dist/video-selfie/video-selfie.es.js +13 -14
- package/dist/watchlist/watchlist.es.js +4 -4
- package/dist/{watchlistForBusiness-zT9gCfTc.js → watchlistForBusiness-3bO7BVcy.js} +7 -7
- package/dist/workflow/workflow.es.js +9 -9
- package/package.json +2 -2
- package/dist/dateInputComposed-DKQJz0kJ.js +0 -1
- package/dist/documentCapture-sB2_X-we.js +0 -2
- package/dist/dropdownComposed-DE-VJgcR.js +0 -1
- package/dist/ekybModule-CR9A6Fqb.js +0 -2
- package/dist/ekycModule-CewwzYvk.js +0 -2
- package/dist/faceMatch-2pfSeXeA.js +0 -2
- package/dist/fieldComparison-DUYp39WI.js +0 -2
- package/dist/inputComposed-CABc288U.js +0 -1
- package/dist/pdfViewer-4xNYiBI1.js +0 -2
package/dist/extensibility.es.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
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-
|
|
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-
|
|
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
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
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
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
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
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
|
|
@@ -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
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
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
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
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
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
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
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 = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as useTranslation, r as useUiConfig } from "./uiConfig-D7ezQeZ7.js";
|
|
2
2
|
import { S as k, _ as y, b as Q, d as T, g as x, h as q, i as C, l as A, p as d, r as $, s as gn, v as u } from "./vendor-preact-mvwZ8mJj.js";
|
|
3
3
|
import { a as getStandaloneSetupPolicy, n as preloadDashboardTheme, t as getDashboardTheme } from "./dashboardTheme-FtPiizV0.js";
|
|
4
|
-
import { t as Spacer } from "./spacer-
|
|
5
|
-
import { t as Spinner } from "./spinner-
|
|
6
|
-
import { n as ErrorIcon, r as Button, t as incode_logo_default } from "./incode-logo-
|
|
4
|
+
import { l as useInstanceOverrides, t as Spacer } from "./spacer-C6GdxqM-.js";
|
|
5
|
+
import { t as Spinner } from "./spinner-CaEPC8gQ.js";
|
|
6
|
+
import { n as ErrorIcon, r as Button, t as incode_logo_default } from "./incode-logo-DkPbEPiI.js";
|
|
7
7
|
import { ScreenOrientationProvider, createScreenOrientationObserver, getDeviceClass, isIPad } from "@incodetech/core/device";
|
|
8
8
|
import "@incodetech/core/events";
|
|
9
9
|
import { getExperiment, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, subscribeFeatureManagement, updateFeatureManagementUser } from "@incodetech/core/feature-management";
|
|
@@ -293,28 +293,73 @@ function useFeatureManagement(kind, name, options) {
|
|
|
293
293
|
};
|
|
294
294
|
}
|
|
295
295
|
//#endregion
|
|
296
|
+
//#region src/shared/spinner/resolveSpinnerPresentation.ts
|
|
297
|
+
/**
|
|
298
|
+
* Collapses the per-instance and global tiers into one presentation, mirroring
|
|
299
|
+
* the tier order `resolveAsset` uses: instance wins, global fills the gaps.
|
|
300
|
+
*
|
|
301
|
+
* Resolution is **per field**, not per object, so a global `size` survives an
|
|
302
|
+
* instance that only sets `renderMode`. Fields absent from both tiers come back
|
|
303
|
+
* `undefined` rather than defaulted — the caller owns the fallback, because the
|
|
304
|
+
* built-in default differs per call site.
|
|
305
|
+
*/
|
|
306
|
+
function resolveSpinnerPresentation(scopes) {
|
|
307
|
+
const { instance, global } = scopes;
|
|
308
|
+
return {
|
|
309
|
+
renderMode: instance?.renderMode ?? global?.renderMode,
|
|
310
|
+
size: instance?.size ?? global?.size
|
|
311
|
+
};
|
|
312
|
+
}
|
|
313
|
+
//#endregion
|
|
314
|
+
//#region src/shared/spinner/useSpinnerPresentation.ts
|
|
315
|
+
/**
|
|
316
|
+
* Reads the host's loader presentation from the per-instance and global tiers.
|
|
317
|
+
*
|
|
318
|
+
* Mirrors `useAsset`: the instance tier rides on the module's `config` prop and
|
|
319
|
+
* is published once at the module root by `registerIncodeModuleElement`, so a
|
|
320
|
+
* deep `<TransitionSpinner>` reads it without prop drilling. Outside a provider
|
|
321
|
+
* `useInstanceOverrides()` returns a stable empty object, so the dep array
|
|
322
|
+
* never churns.
|
|
323
|
+
*/
|
|
324
|
+
function useSpinnerPresentation() {
|
|
325
|
+
const instance = useInstanceOverrides();
|
|
326
|
+
const uiConfig = useUiConfig();
|
|
327
|
+
return T(() => resolveSpinnerPresentation({
|
|
328
|
+
instance: instance.spinner,
|
|
329
|
+
global: uiConfig.spinner
|
|
330
|
+
}), [instance.spinner, uiConfig.spinner]);
|
|
331
|
+
}
|
|
332
|
+
//#endregion
|
|
296
333
|
//#region src/shared/processing/transitionSpinner.tsx
|
|
297
334
|
/**
|
|
298
335
|
* Canonical "we're getting ready / processing" loader.
|
|
299
336
|
*
|
|
300
337
|
* Renders a container-filling `Spinner` with the unified `loadingCircle.holdOn`
|
|
301
338
|
* / `loadingCircle.validating` copy at `size="large"` so every cross-module
|
|
302
|
-
* transition looks identical to the user.
|
|
303
|
-
*
|
|
304
|
-
*
|
|
339
|
+
* transition looks identical to the user.
|
|
340
|
+
*
|
|
341
|
+
* Presentation resolves per field as host instance → host global → call site →
|
|
342
|
+
* built-in. Host tiers win so a single `setup({ uiConfig: { spinner } })` reaches
|
|
343
|
+
* the module-internal loaders (ID camera prep, camera permissions) that a
|
|
344
|
+
* flow-level config never could.
|
|
305
345
|
*/
|
|
306
|
-
var TransitionSpinner = ({ spinnerConfig, className, hideText = false, presentational = false }) => {
|
|
346
|
+
var TransitionSpinner = ({ spinnerConfig, className, titleKey, subtitleKey, renderMode, hideText = false, presentational = false }) => {
|
|
307
347
|
const { t } = useTranslation();
|
|
308
|
-
const
|
|
309
|
-
const
|
|
348
|
+
const presentation = useSpinnerPresentation();
|
|
349
|
+
const resolvedRenderMode = presentation.renderMode ?? spinnerConfig?.renderMode ?? renderMode ?? (hideText ? "spinnerOnly" : "spinnerAndText");
|
|
350
|
+
const showText = resolvedRenderMode !== "spinnerOnly";
|
|
351
|
+
const hideIcon = resolvedRenderMode === "textOnly";
|
|
352
|
+
const title = showText ? spinnerConfig?.title ?? t(titleKey ?? "loadingCircle.holdOn") : void 0;
|
|
353
|
+
const subtitle = showText ? spinnerConfig?.subtitle ?? t(subtitleKey ?? "loadingCircle.validating") : void 0;
|
|
310
354
|
return /* @__PURE__ */ u(Spinner, {
|
|
311
355
|
title,
|
|
312
356
|
subtitle,
|
|
313
357
|
ariaLabel: presentational ? void 0 : [title, subtitle].filter(Boolean).join(". ") || void 0,
|
|
314
|
-
size: spinnerConfig?.size ?? "large",
|
|
358
|
+
size: presentation.size ?? spinnerConfig?.size ?? "large",
|
|
315
359
|
fullScreen: true,
|
|
316
360
|
className,
|
|
317
|
-
presentational
|
|
361
|
+
presentational,
|
|
362
|
+
hideIcon
|
|
318
363
|
});
|
|
319
364
|
};
|
|
320
365
|
//#endregion
|
|
@@ -643,7 +688,7 @@ function withStandaloneModuleBootstrap(Component, moduleKey, options = {}) {
|
|
|
643
688
|
y(() => {
|
|
644
689
|
if (bootstrap.status === "error") onError?.(bootstrap.error);
|
|
645
690
|
}, [bootstrap, onError]);
|
|
646
|
-
if (bootstrap.status === "loading") return /* @__PURE__ */ u(TransitionSpinner, {
|
|
691
|
+
if (bootstrap.status === "loading") return /* @__PURE__ */ u(TransitionSpinner, { renderMode: "spinnerOnly" });
|
|
647
692
|
if (bootstrap.status === "error") return /* @__PURE__ */ u(TerminalErrorPage, { message: bootstrap.error });
|
|
648
693
|
return /* @__PURE__ */ u(Component, {
|
|
649
694
|
...props,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as T, x as _ } from "./vendor-preact-mvwZ8mJj.js";
|
|
2
|
-
import { c as InstanceOverridesProvider } from "./spacer-
|
|
2
|
+
import { c as InstanceOverridesProvider } from "./spacer-C6GdxqM-.js";
|
|
3
3
|
import { t as registerIncodeElement } from "./registerIncodeElement-BduCekz5.js";
|
|
4
4
|
//#region src/shared/webComponent/incodeModule.ts
|
|
5
5
|
var incodeModulePropKeys = [
|
|
@@ -12,10 +12,16 @@ function withInstanceOverrides(component) {
|
|
|
12
12
|
return function WithInstanceOverrides(props) {
|
|
13
13
|
const assets = props.config?.assets;
|
|
14
14
|
const animations = props.config?.animations;
|
|
15
|
+
const spinner = props.config?.spinner;
|
|
15
16
|
return _(InstanceOverridesProvider, { value: T(() => ({
|
|
16
17
|
assets,
|
|
17
|
-
animations
|
|
18
|
-
|
|
18
|
+
animations,
|
|
19
|
+
spinner
|
|
20
|
+
}), [
|
|
21
|
+
assets,
|
|
22
|
+
animations,
|
|
23
|
+
spinner
|
|
24
|
+
]) }, _(component, props));
|
|
19
25
|
};
|
|
20
26
|
}
|
|
21
27
|
function registerIncodeModuleElement(component, tagName) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as D, v as u } from "./vendor-preact-mvwZ8mJj.js";
|
|
2
|
-
import {
|
|
3
|
-
import { n as ErrorIcon } from "./incode-logo-
|
|
4
|
-
import { l as CloseIcon } from "./icons-
|
|
2
|
+
import { d as cn } from "./spacer-C6GdxqM-.js";
|
|
3
|
+
import { n as ErrorIcon } from "./incode-logo-DkPbEPiI.js";
|
|
4
|
+
import { l as CloseIcon } from "./icons-CIjsoS44.js";
|
|
5
5
|
import { t as SuccessIcon } from "./successIcon-Bj8Y9CuI.js";
|
|
6
6
|
//#region src/shared/input/input.tsx
|
|
7
7
|
var Input = D((props, ref) => {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./inputComposed-CGB8zKbd.js";
|