@incodetech/web 0.0.0-dev-20260723-e73d5099 → 0.0.0-dev-20260723-397b76d8
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 +5 -3
- package/dist/antifraud/antifraud.es.js +6 -5
- package/dist/authentication/authentication.es.js +7 -6
- package/dist/{autoFocusTitle-IN4TR7QN.js → autoFocusTitle-DIuy3fAL.js} +1 -1
- package/dist/{bottomSheet-DIxxFBUN.js → bottomSheet-DLa3gA9I.js} +1 -1
- package/dist/{captureNotification-DatgEL_T.js → captureNotification-CYNo5vI6.js} +8 -8
- package/dist/certificate-issuance/certificate-issuance.es.js +13 -13
- package/dist/{checkbox-BZ3Vuawq.js → checkbox-CWH3awlJ.js} +3 -3
- package/dist/{connectionError-BILGlQvh.js → connectionError-CkMyPEEa.js} +3 -3
- package/dist/consent/consent.es.js +10 -11
- package/dist/{countrySelector-DSCcBRMz.js → countrySelector-7r0JHTbz.js} +2 -2
- package/dist/cpf-ocr/cpf-ocr.es.js +1 -1
- package/dist/{cpfOcr-DCIXCw5X.js → cpfOcr-C7oATNXA.js} +9 -10
- package/dist/cpfOcr-O8X5O6z1.js +2 -0
- package/dist/cross-document-data-match/cross-document-data-match.es.js +6 -5
- package/dist/curp-validation/curp-validation.es.js +17 -19
- package/dist/{customFields-CFRWCs3I.js → customFields-BgFMUeIp.js} +13 -13
- package/dist/{customWatchlist-CAGzLeIU.js → customWatchlist-DMz7aerw.js} +9 -8
- package/dist/dashboardTheme-C6I2WQPK.js +223 -0
- package/dist/dateInputComposed-6wvZi6m1.js +1 -0
- package/dist/{dateInputComposed-Dy8s_pst.js → dateInputComposed-BBgQB4tl.js} +4 -4
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/{documentCapture-Cdksl5DR.js → documentCapture-BC6DBpAG.js} +19 -19
- package/dist/documentCapture-diUvht9m.js +2 -0
- package/dist/{dropdownComposed-BHoaSeXB.js → dropdownComposed-C0IZ1uRF.js} +4 -4
- package/dist/dropdownComposed-DBnwuqE4.js +1 -0
- package/dist/{dynamicForms-CujcVUvG.js → dynamicForms-skhwHeCx.js} +14 -14
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/{ekybModule-CtJT7I0D.js → ekybModule-bGDvjIj7.js} +17 -17
- package/dist/ekybModule-bUgBSy9a.js +2 -0
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekycModule-D-ZKad8r.js +2 -0
- package/dist/{ekycModule-Clgu1ydz.js → ekycModule-DVVAasG2.js} +15 -15
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-C-eiNR8V.js → electronic-signature-Dy0hN6lu.js} +11 -12
- package/dist/email/email.es.js +10 -10
- package/dist/{emailInput-BIXyslAC.js → emailInput-CGDc3flM.js} +3 -3
- package/dist/{expiredId-DE_SO8Iy.js → expiredId-CDxPLhiW.js} +5 -5
- package/dist/{extensibility-Dv0Z50OE.js → extensibility-DMroM1OU.js} +37 -42
- package/dist/extensibility.es.js +24 -28
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/faceMatch-DxRtNWtc.js +2 -0
- package/dist/{faceMatch-DVkAPLup.js → faceMatch-si9UUQ3_.js} +10 -11
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/{fieldComparison-BbgIcdF5.js → fieldComparison-CR15MASU.js} +11 -11
- package/dist/fieldComparison-MLm7cnmM.js +2 -0
- package/dist/fiscal-qr/fiscal-qr.es.js +12 -11
- package/dist/flow/flow.es.js +10 -13
- package/dist/geolocation/geolocation.es.js +11 -11
- package/dist/government-validation/government-validation.es.js +11 -11
- package/dist/{homeScreen-CqhuW7le.js → homeScreen-0T3uPq2I.js} +6 -8
- package/dist/{page-DidH_RkX.js → hooks-Bl4BccV8.js} +374 -5
- package/dist/{icons-w6luRFtW.js → icons-CqDMnQ1g.js} +2 -2
- package/dist/id/id.es.js +22 -25
- package/dist/id-verification/id-verification.es.js +5 -5
- package/dist/{idOcr-Y8dKRIN4.js → idOcr-C9Cj1ino.js} +13 -13
- package/dist/identity-reuse/identity-reuse.es.js +6 -7
- package/dist/{incode-logo-57XFniXU.js → incode-logo-DasIBJw8.js} +64 -1
- package/dist/{incodeComponent-BCd_bJev.js → incodeComponent-DHbfYA-r.js} +2 -2
- package/dist/{incodeModule-Bgg06vwW.js → incodeModule-BiwGYtcv.js} +1 -1
- package/dist/index.es.js +14 -5
- package/dist/{inputComposed-DzyxybSu.js → inputComposed-C1Z4OxHI.js} +4 -4
- package/dist/inputComposed-DL1YD59E.js +1 -0
- package/dist/{mandatoryConsent-DnoDgtOT.js → mandatoryConsent-DEGcSJhx.js} +9 -10
- package/dist/{modal-C-Q9km3s.js → modal-BgjeiOv5.js} +3 -3
- package/dist/{optionAccessibleLabel-RW68xECf.js → optionAccessibleLabel-DAvz9vdG.js} +5 -5
- package/dist/{otpInput-H_Y9R8B8.js → otpInput-DLnLXnJo.js} +5 -5
- package/dist/{pdf-BAb2ezmC.js → pdf-BYHLDKvG.js} +1 -1
- package/dist/{pdfViewer-XeOSCt-S.js → pdfViewer-BVnrfnFA.js} +3 -3
- package/dist/{permissions-J6qPq98P.js → permissions-Bcn-2yHb.js} +9 -11
- package/dist/phone/phone.es.js +11 -11
- package/dist/{phoneInputComposed-DaBNd-wY.js → phoneInputComposed-CJavLkBe.js} +5 -5
- package/dist/{processing-BN2Mgw0p.js → processing-DBuq4_4J.js} +1 -1
- package/dist/qe-signature/qe-signature.es.js +5 -3
- package/dist/{radioGroupComposed-D2qsp3Vx.js → radioGroupComposed-YO_U82bM.js} +5 -5
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +15 -17
- package/dist/{richText-D-G1XXAw.js → richText-Bbp3TPzi.js} +1 -1
- package/dist/selfie/selfie.es.js +9 -9
- package/dist/signature/signature.es.js +11 -11
- package/dist/{snackbar-BsV5S3Z7.js → snackbar-CSODaFW4.js} +1 -1
- package/dist/{loadingIcon-B0ysgiNq.js → spacer-I8ILMQiA.js} +68 -68
- package/dist/{spinner-BMeIEK1d.js → spinner-YXqSOUqg.js} +45 -4
- package/dist/{statusPage-DPNU-L3H.js → statusPage-DUejG583.js} +3 -3
- package/dist/{tabs-CYtIZmR0.js → tabs-CG7W9rbn.js} +1 -1
- package/dist/{tutorial-CTCp3mrv.js → tutorial-hXqxb0q5.js} +10 -12
- package/dist/types/ae-signature.d.ts +6 -3
- package/dist/types/antifraud.d.ts +6 -3
- package/dist/types/authentication.d.ts +6 -3
- package/dist/types/certificate-issuance.d.ts +6 -3
- package/dist/types/consent.d.ts +6 -3
- package/dist/types/cpf-ocr.d.ts +56 -5
- package/dist/types/cross-document-data-match.d.ts +6 -3
- package/dist/types/curp-validation.d.ts +6 -3
- package/dist/types/document-capture.d.ts +6 -3
- package/dist/types/ekyb.d.ts +6 -3
- package/dist/types/ekyc.d.ts +6 -3
- package/dist/types/electronic-signature.d.ts +2 -2
- package/dist/types/email.d.ts +6 -26
- package/dist/types/extensibility.d.ts +2 -2
- package/dist/types/face-match.d.ts +6 -25
- package/dist/types/field-comparison.d.ts +6 -3
- package/dist/types/fiscal-qr.d.ts +9 -5
- package/dist/types/flow.d.ts +2 -2
- package/dist/types/geolocation.d.ts +6 -3
- package/dist/types/government-validation.d.ts +6 -3
- package/dist/types/id-verification.d.ts +2 -2
- package/dist/types/id.d.ts +6 -3
- package/dist/types/identity-reuse.d.ts +2 -2
- package/dist/types/index.d.ts +23 -1
- package/dist/types/phone.d.ts +6 -27
- package/dist/types/qe-signature.d.ts +6 -3
- package/dist/types/redirect-to-mobile.d.ts +4 -1
- package/dist/types/selfie.d.ts +6 -3
- package/dist/types/signature.d.ts +6 -3
- package/dist/types/video-selfie.d.ts +6 -9
- package/dist/types/watchlist.d.ts +6 -3
- package/dist/types/workflow.d.ts +2 -2
- package/dist/{i18n-CushpmmJ.js → uiConfig-DSGyRMSC.js} +26 -3
- package/dist/{useModuleLoader-BTo4NZuV.js → useModuleLoader-V8kW4raN.js} +32 -180
- package/dist/{verificationResult-xubIOKNi.js → verificationResult-4X7V8KzA.js} +8 -9
- package/dist/video-selfie/video-selfie.es.js +16 -19
- package/dist/watchlist/watchlist.es.js +9 -8
- package/dist/{watchlistForBusiness-BWaVfgeV.js → watchlistForBusiness-DWg7G4IB.js} +12 -12
- package/dist/workflow/workflow.es.js +17 -14
- package/package.json +2 -2
- package/dist/button-Dz6AsbmF.js +0 -40
- package/dist/cpfOcr-BToIikZC.js +0 -2
- package/dist/dateInputComposed-DDtUFSrC.js +0 -1
- package/dist/documentCapture-CgBRyZHX.js +0 -2
- package/dist/dropdownComposed-4RQ6KcIz.js +0 -1
- package/dist/ekybModule-CIhe-NjG.js +0 -2
- package/dist/ekycModule-CYdRFXyJ.js +0 -2
- package/dist/errorIcon-BA4T6iy-.js +0 -26
- package/dist/faceMatch-BnDfDC5l.js +0 -2
- package/dist/fieldComparison-DeH3dh5a.js +0 -2
- package/dist/hooks-CxG4XS7P.js +0 -175
- package/dist/inputComposed-CrmMDnMp.js +0 -1
- package/dist/spinner-BCDCoi9C.js +0 -1
- package/dist/terminalErrorPage-DwH-JDg0.js +0 -71
- package/dist/transitionSpinner-B7mmwUrc.js +0 -30
- package/dist/typography-BZIpjo97.js +0 -45
- package/dist/uiConfig-D2_wawvr.js +0 -25
- /package/dist/{aligndevicelottie-C9Mrj6AB.js → aligndevicelottie-t8IVRvKe.js} +0 -0
- /package/dist/{back-horizontal-hint-B-EHEYFx.js → back-horizontal-hint-Dk3Qx2Jy.js} +0 -0
- /package/dist/{back-tutorial-Bkm8BMI-.js → back-tutorial-Sa9INxfJ.js} +0 -0
- /package/dist/{back-vertical-hint-Yo_1LFB2.js → back-vertical-hint-BSXiELAo.js} +0 -0
- /package/dist/{backdevicelottie-FrU5aQgi.js → backdevicelottie--JZVcmsk.js} +0 -0
- /package/dist/{blurdevicelottie-jfRWrBAA.js → blurdevicelottie-D8d1O-r6.js} +0 -0
- /package/dist/{browser-ponyfill-vwGrGxYJ.js → browser-ponyfill-R_VWu0FU.js} +0 -0
- /package/dist/{defineProperty-BZW5EcGC.js → defineProperty-BsIK7Gws.js} +0 -0
- /package/dist/{flip-animation-RSWxSh3p.js → flip-animation-CulASaCy.js} +0 -0
- /package/dist/{front-horizontal-hint-BxmjB6HQ.js → front-horizontal-hint-GlNgmYkY.js} +0 -0
- /package/dist/{front-vertical-hint-BS4R8Ge4.js → front-vertical-hint-Bn2FOrKQ.js} +0 -0
- /package/dist/{frontdevicelottie-CvMs7jnY.js → frontdevicelottie-DGU1DFsb.js} +0 -0
- /package/dist/{glaredevicelottie-B_g3-Xay.js → glaredevicelottie-Dqjzhp2v.js} +0 -0
- /package/dist/{id-laser-h-DS31CxU-.js → id-laser-h-BXX4SvZX.js} +0 -0
- /package/dist/{id-laser-v-Cb982xnA.js → id-laser-v-BXUywa3r.js} +0 -0
- /package/dist/{id-tutorial-D2hF8yoN.js → id-tutorial-Dss1CIkf.js} +0 -0
- /package/dist/{lottie_light-B0mE6Bs2.js → lottie_light-XgO-x03h.js} +0 -0
- /package/dist/{modal.hooks-ZrzmHAUa.js → modal.hooks-BbFC-AOq.js} +0 -0
- /package/dist/{numberedStep-BOfeDZfJ.js → numberedStep-DtIEG6uM.js} +0 -0
- /package/dist/{passport-horizontal-hint-B0YSV7zH.js → passport-horizontal-hint-C0gW3Rvi.js} +0 -0
- /package/dist/{passport-tutorial-DvynHyve.js → passport-tutorial-B6e9nM9w.js} +0 -0
- /package/dist/{passport-vertical-hint-g5QGlFT5.js → passport-vertical-hint-lrBhacG3.js} +0 -0
- /package/dist/{registerIncodeElement-ClG0mgIF.js → registerIncodeElement-C9y6CNCw.js} +0 -0
- /package/dist/{requiredLabelHint-DmD8ZCH-.js → requiredLabelHint-Dx0WS2cR.js} +0 -0
- /package/dist/{selfieTutorial-eySh67am.js → selfieTutorial-DfjgQ9w5.js} +0 -0
- /package/dist/{successIcon-B5mGvdx1.js → successIcon-BshEyvXA.js} +0 -0
|
@@ -1,22 +1,20 @@
|
|
|
1
1
|
import { r as __toESM } from "./rolldown-runtime--E5BIlTp.js";
|
|
2
|
-
import {
|
|
2
|
+
import { i as useTranslation, r as Trans } from "./uiConfig-DSGyRMSC.js";
|
|
3
3
|
import { _ as y, l as A, v as u, x as k } from "./vendor-preact-DThS2ZQ_.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { t as
|
|
9
|
-
import {
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as BottomSheet } from "./bottomSheet-DIxxFBUN.js";
|
|
12
|
-
import { t as NumberedStep } from "./numberedStep-BOfeDZfJ.js";
|
|
4
|
+
import { d as useIsMobileDeviceWidth, i as Page, s as TransitionSpinner } from "./hooks-Bl4BccV8.js";
|
|
5
|
+
import { a as TypographyH4, n as Title, r as TypographyH1 } from "./spinner-YXqSOUqg.js";
|
|
6
|
+
import { r as Button } from "./incode-logo-DasIBJw8.js";
|
|
7
|
+
import { v as WarningIcon } from "./icons-CqDMnQ1g.js";
|
|
8
|
+
import { t as Modal } from "./modal-BgjeiOv5.js";
|
|
9
|
+
import { t as BottomSheet } from "./bottomSheet-DLa3gA9I.js";
|
|
10
|
+
import { t as NumberedStep } from "./numberedStep-DtIEG6uM.js";
|
|
13
11
|
import { getBrowser, getDeviceClass } from "@incodetech/core/device";
|
|
14
12
|
import "@incodetech/core/camera";
|
|
15
13
|
//#region src/shared/lottie/lottie.tsx
|
|
16
14
|
var lottiePromise = null;
|
|
17
15
|
async function loadLottie() {
|
|
18
16
|
if (lottiePromise) return lottiePromise;
|
|
19
|
-
lottiePromise = import("./lottie_light-
|
|
17
|
+
lottiePromise = import("./lottie_light-XgO-x03h.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1)).then((mod) => mod.default);
|
|
20
18
|
return lottiePromise;
|
|
21
19
|
}
|
|
22
20
|
var AUTO_STOP_AFTER_MS = 5e3;
|
package/dist/phone/phone.es.js
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as useTranslation } from "../uiConfig-DSGyRMSC.js";
|
|
2
2
|
import { h as q, v as u } from "../vendor-preact-DThS2ZQ_.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import { r as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-Bgg06vwW.js";
|
|
3
|
+
import { g as useManager, i as Page, m as useModuleTerminalCallbacks, p as isTerminalModuleState, t as withStandaloneModuleBootstrap } from "../hooks-Bl4BccV8.js";
|
|
4
|
+
import { t as Spacer } from "../spacer-I8ILMQiA.js";
|
|
5
|
+
import { r as Button } from "../incode-logo-DasIBJw8.js";
|
|
6
|
+
import { t as IncodeComponent } from "../incodeComponent-DHbfYA-r.js";
|
|
7
|
+
import { t as OtpInput } from "../otpInput-DLnLXnJo.js";
|
|
8
|
+
import { t as Checkbox } from "../checkbox-CWH3awlJ.js";
|
|
9
|
+
import { t as PhoneInputComposed } from "../phoneInputComposed-CJavLkBe.js";
|
|
10
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-BiwGYtcv.js";
|
|
12
11
|
import { createPhoneManager } from "@incodetech/core/phone";
|
|
13
12
|
//#region src/modules/phone/phone.tsx
|
|
14
13
|
/**
|
|
@@ -231,7 +230,7 @@ var PhoneContent = ({ config, manager: externalManager, onFinish, onError }) =>
|
|
|
231
230
|
*
|
|
232
231
|
* @see {@link createPhoneManager} for headless usage
|
|
233
232
|
*/
|
|
234
|
-
var
|
|
233
|
+
var PhoneWithLocalConfig = ({ config, manager, onFinish, onError }) => {
|
|
235
234
|
return /* @__PURE__ */ u(IncodeComponent, { children: config || manager ? /* @__PURE__ */ u(PhoneContent, {
|
|
236
235
|
config,
|
|
237
236
|
manager,
|
|
@@ -239,6 +238,7 @@ var Phone = ({ config, manager, onFinish, onError }) => {
|
|
|
239
238
|
onError
|
|
240
239
|
}) : null });
|
|
241
240
|
};
|
|
241
|
+
var Phone = withStandaloneModuleBootstrap(PhoneWithLocalConfig, "PHONE", { supportsExternalManager: true });
|
|
242
242
|
registerIncodeModuleElement(Phone, "incode-phone");
|
|
243
243
|
//#endregion
|
|
244
244
|
export { Phone };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { _ as y, a as D, d as T, h as q, l as A, p as d, v as u, x as k } from "./vendor-preact-DThS2ZQ_.js";
|
|
2
|
-
import {
|
|
3
|
-
import "./icons-
|
|
4
|
-
import { t as SuccessIcon } from "./successIcon-
|
|
5
|
-
import { t as InputComposed } from "./inputComposed-
|
|
6
|
-
import { t as DropdownComposed } from "./dropdownComposed-
|
|
2
|
+
import { n as ErrorIcon } from "./incode-logo-DasIBJw8.js";
|
|
3
|
+
import "./icons-CqDMnQ1g.js";
|
|
4
|
+
import { t as SuccessIcon } from "./successIcon-BshEyvXA.js";
|
|
5
|
+
import { t as InputComposed } from "./inputComposed-C1Z4OxHI.js";
|
|
6
|
+
import { t as DropdownComposed } from "./dropdownComposed-C0IZ1uRF.js";
|
|
7
7
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/metadata.min.json.js
|
|
8
8
|
var metadata_min_json_default = {
|
|
9
9
|
"version": 4,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
2
|
-
import {
|
|
2
|
+
import { s as TransitionSpinner } from "./hooks-Bl4BccV8.js";
|
|
3
3
|
//#region src/shared/processing/processing.tsx
|
|
4
4
|
var Processing = () => {
|
|
5
5
|
return /* @__PURE__ */ u(TransitionSpinner, {});
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { v as u } from "../vendor-preact-DThS2ZQ_.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { t as withStandaloneModuleBootstrap } from "../hooks-Bl4BccV8.js";
|
|
3
|
+
import { n as ElectronicSignature } from "../electronic-signature-Dy0hN6lu.js";
|
|
4
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-BiwGYtcv.js";
|
|
4
5
|
//#region src/modules/qe-signature/qe-signature.tsx
|
|
5
|
-
var
|
|
6
|
+
var QeSignatureWithLocalConfig = ({ config, onFinish, onError }) => {
|
|
6
7
|
return /* @__PURE__ */ u(ElectronicSignature, {
|
|
7
8
|
config: config ? {
|
|
8
9
|
...config,
|
|
@@ -12,6 +13,7 @@ var QeSignature = ({ config, onFinish, onError }) => {
|
|
|
12
13
|
onError
|
|
13
14
|
});
|
|
14
15
|
};
|
|
16
|
+
var QeSignature = withStandaloneModuleBootstrap(QeSignatureWithLocalConfig, "QE_SIGNATURE");
|
|
15
17
|
registerIncodeModuleElement(QeSignature, "incode-qe-signature");
|
|
16
18
|
//#endregion
|
|
17
19
|
export { QeSignature };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as useTranslation } from "./uiConfig-DSGyRMSC.js";
|
|
2
2
|
import { a as D, p as d, v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import "./icons-
|
|
6
|
-
import { t as InputComposed } from "./inputComposed-
|
|
3
|
+
import { r as cn } from "./spacer-I8ILMQiA.js";
|
|
4
|
+
import { n as ErrorIcon } from "./incode-logo-DasIBJw8.js";
|
|
5
|
+
import "./icons-CqDMnQ1g.js";
|
|
6
|
+
import { t as InputComposed } from "./inputComposed-C1Z4OxHI.js";
|
|
7
7
|
//#region src/shared/errorParams.ts
|
|
8
8
|
/**
|
|
9
9
|
* Resolves error params by translating the `fieldName` key
|
|
@@ -1,21 +1,18 @@
|
|
|
1
1
|
import { t as __commonJSMin } from "../rolldown-runtime--E5BIlTp.js";
|
|
2
|
-
import {
|
|
2
|
+
import { i as useTranslation, r as Trans } from "../uiConfig-DSGyRMSC.js";
|
|
3
3
|
import { _ as y, h as q, l as A, p as d, v as u, x as k } from "../vendor-preact-DThS2ZQ_.js";
|
|
4
|
-
import {
|
|
5
|
-
import { t as
|
|
6
|
-
import { r as
|
|
7
|
-
import { t as
|
|
8
|
-
import
|
|
9
|
-
import "../
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import "../
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import {
|
|
16
|
-
import { t as registerIncodeElement } from "../registerIncodeElement-ClG0mgIF.js";
|
|
17
|
-
import { t as Snackbar } from "../snackbar-BsV5S3Z7.js";
|
|
18
|
-
import { t as Tabs } from "../tabs-CYtIZmR0.js";
|
|
4
|
+
import { a as VerifiedByIncodeLogo, g as useManager, m as useModuleTerminalCallbacks, o as usePageUiConfig, s as TransitionSpinner, t as withStandaloneModuleBootstrap } from "../hooks-Bl4BccV8.js";
|
|
5
|
+
import { t as Spacer } from "../spacer-I8ILMQiA.js";
|
|
6
|
+
import { r as Button, t as incode_logo_default } from "../incode-logo-DasIBJw8.js";
|
|
7
|
+
import { t as IncodeComponent } from "../incodeComponent-DHbfYA-r.js";
|
|
8
|
+
import "../extensibility-DMroM1OU.js";
|
|
9
|
+
import "../icons-CqDMnQ1g.js";
|
|
10
|
+
import { t as SuccessIcon } from "../successIcon-BshEyvXA.js";
|
|
11
|
+
import { t as AutoFocusTitle } from "../autoFocusTitle-DIuy3fAL.js";
|
|
12
|
+
import { r as getCountryByCallingCode, t as PhoneInputComposed } from "../phoneInputComposed-CJavLkBe.js";
|
|
13
|
+
import { t as registerIncodeElement } from "../registerIncodeElement-C9y6CNCw.js";
|
|
14
|
+
import { t as Snackbar } from "../snackbar-CSODaFW4.js";
|
|
15
|
+
import { t as Tabs } from "../tabs-CG7W9rbn.js";
|
|
19
16
|
import { createRedirectToMobileManager } from "@incodetech/core/redirect-to-mobile";
|
|
20
17
|
//#region src/modules/redirect-to-mobile/redirectHeader.tsx
|
|
21
18
|
var RedirectHeader = ({ logoSrc }) => {
|
|
@@ -2757,7 +2754,7 @@ var RedirectToMobileContent = ({ config, manager: externalManager, services, onF
|
|
|
2757
2754
|
children: content
|
|
2758
2755
|
});
|
|
2759
2756
|
};
|
|
2760
|
-
var
|
|
2757
|
+
var RedirectToMobileWithLocalConfig = ({ config, manager, services, onFinish, onContinue, onError }) => {
|
|
2761
2758
|
return /* @__PURE__ */ u(IncodeComponent, { children: config || manager ? /* @__PURE__ */ u(RedirectToMobileContent, {
|
|
2762
2759
|
config,
|
|
2763
2760
|
manager,
|
|
@@ -2767,6 +2764,7 @@ var RedirectToMobile = ({ config, manager, services, onFinish, onContinue, onErr
|
|
|
2767
2764
|
onError
|
|
2768
2765
|
}) : null });
|
|
2769
2766
|
};
|
|
2767
|
+
var RedirectToMobile = withStandaloneModuleBootstrap(RedirectToMobileWithLocalConfig, "REDIRECT_TO_MOBILE", { supportsExternalManager: true });
|
|
2770
2768
|
registerIncodeElement(RedirectToMobile, "incode-redirect-to-mobile", [
|
|
2771
2769
|
"config",
|
|
2772
2770
|
"services",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as preact_markup_module_default, v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
2
|
-
import { t as _defineProperty } from "./defineProperty-
|
|
2
|
+
import { t as _defineProperty } from "./defineProperty-BsIK7Gws.js";
|
|
3
3
|
//#region ../../node_modules/.pnpm/dompurify@3.3.3/node_modules/dompurify/dist/purify.es.mjs
|
|
4
4
|
/*! @license DOMPurify 3.3.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.3/LICENSE */
|
|
5
5
|
var { entries, setPrototypeOf, isFrozen, getPrototypeOf, getOwnPropertyDescriptor } = Object;
|
package/dist/selfie/selfie.es.js
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import { _ as y, v as u } from "../vendor-preact-DThS2ZQ_.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as IncodeComponent } from "../incodeComponent-
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import {
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-Bgg06vwW.js";
|
|
2
|
+
import { g as useManager, m as useModuleTerminalCallbacks, p as isTerminalModuleState, s as TransitionSpinner, t as withStandaloneModuleBootstrap } from "../hooks-Bl4BccV8.js";
|
|
3
|
+
import { t as IncodeComponent } from "../incodeComponent-DHbfYA-r.js";
|
|
4
|
+
import { t as Processing } from "../processing-DBuq4_4J.js";
|
|
5
|
+
import { n as Capture, t as Tutorial } from "../tutorial-hXqxb0q5.js";
|
|
6
|
+
import { t as Permissions } from "../permissions-Bcn-2yHb.js";
|
|
7
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-BiwGYtcv.js";
|
|
9
8
|
import { createSelfieManager } from "@incodetech/core/selfie";
|
|
10
9
|
//#region src/modules/selfie/preloadTutorialAssets.ts
|
|
11
10
|
var started = false;
|
|
12
11
|
function preloadSelfieTutorialAssets() {
|
|
13
12
|
if (started) return;
|
|
14
13
|
started = true;
|
|
15
|
-
import("../selfieTutorial-
|
|
14
|
+
import("../selfieTutorial-DfjgQ9w5.js");
|
|
16
15
|
}
|
|
17
16
|
//#endregion
|
|
18
17
|
//#region src/modules/selfie/selfie.tsx
|
|
@@ -48,7 +47,7 @@ var SelfieContent = ({ config, manager: externalManager, onFinish, onError }) =>
|
|
|
48
47
|
if (isTerminalModuleState(state)) return null;
|
|
49
48
|
return null;
|
|
50
49
|
};
|
|
51
|
-
var
|
|
50
|
+
var SelfieWithLocalConfig = ({ config, manager, onFinish, onError }) => {
|
|
52
51
|
return /* @__PURE__ */ u(IncodeComponent, { children: config || manager ? /* @__PURE__ */ u(SelfieContent, {
|
|
53
52
|
config,
|
|
54
53
|
manager,
|
|
@@ -56,6 +55,7 @@ var Selfie = ({ config, manager, onFinish, onError }) => {
|
|
|
56
55
|
onError
|
|
57
56
|
}) : null });
|
|
58
57
|
};
|
|
58
|
+
var Selfie = withStandaloneModuleBootstrap(SelfieWithLocalConfig, "SELFIE", { supportsExternalManager: true });
|
|
59
59
|
registerIncodeModuleElement(Selfie, "incode-selfie");
|
|
60
60
|
//#endregion
|
|
61
61
|
export { Selfie };
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as useTranslation } from "../uiConfig-DSGyRMSC.js";
|
|
2
2
|
import { _ as y, a as D, h as q, l as A, p as d, u as F, v as u } from "../vendor-preact-DThS2ZQ_.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import { r as
|
|
6
|
-
import { t as
|
|
7
|
-
import "../extensibility-
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as _defineProperty } from "../defineProperty-BZW5EcGC.js";
|
|
3
|
+
import { g as useManager, i as Page, m as useModuleTerminalCallbacks, t as withStandaloneModuleBootstrap } from "../hooks-Bl4BccV8.js";
|
|
4
|
+
import { t as Spacer } from "../spacer-I8ILMQiA.js";
|
|
5
|
+
import { r as Button } from "../incode-logo-DasIBJw8.js";
|
|
6
|
+
import { t as IncodeComponent } from "../incodeComponent-DHbfYA-r.js";
|
|
7
|
+
import "../extensibility-DMroM1OU.js";
|
|
8
|
+
import { t as VerificationResult } from "../verificationResult-4X7V8KzA.js";
|
|
9
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-BiwGYtcv.js";
|
|
10
|
+
import { t as _defineProperty } from "../defineProperty-BsIK7Gws.js";
|
|
12
11
|
import { createSignatureManager } from "@incodetech/core/signature";
|
|
13
12
|
//#region ../../node_modules/.pnpm/signature_pad@5.1.3/node_modules/signature_pad/dist/signature_pad.js
|
|
14
13
|
/*!
|
|
@@ -909,11 +908,12 @@ var SignatureContent = ({ config, onFinish, onError }) => {
|
|
|
909
908
|
})]
|
|
910
909
|
});
|
|
911
910
|
};
|
|
912
|
-
var
|
|
911
|
+
var SignatureWithLocalConfig = ({ config, onFinish, onError }) => /* @__PURE__ */ u(IncodeComponent, { children: config ? /* @__PURE__ */ u(SignatureContent, {
|
|
913
912
|
config,
|
|
914
913
|
onFinish,
|
|
915
914
|
onError
|
|
916
915
|
}) : null });
|
|
916
|
+
var Signature = withStandaloneModuleBootstrap(SignatureWithLocalConfig, "SIGNATURE");
|
|
917
917
|
registerIncodeModuleElement(Signature, "incode-signature");
|
|
918
918
|
//#endregion
|
|
919
919
|
export { Signature };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
2
|
-
import {
|
|
2
|
+
import { r as cn } from "./spacer-I8ILMQiA.js";
|
|
3
3
|
//#region src/shared/snackbar/snackbar.tsx
|
|
4
4
|
var Snackbar = ({ variant = "neutral", children, className, ariaLive = "polite" }) => {
|
|
5
5
|
return /* @__PURE__ */ u("div", {
|
|
@@ -1,71 +1,4 @@
|
|
|
1
1
|
import { f as _, l as A, v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
2
|
-
//#region src/shared/spacer/spacer.tsx
|
|
3
|
-
var scaleTokens = new Set([
|
|
4
|
-
0,
|
|
5
|
-
2,
|
|
6
|
-
4,
|
|
7
|
-
8,
|
|
8
|
-
12,
|
|
9
|
-
16,
|
|
10
|
-
20,
|
|
11
|
-
24,
|
|
12
|
-
32,
|
|
13
|
-
40,
|
|
14
|
-
48,
|
|
15
|
-
64,
|
|
16
|
-
80,
|
|
17
|
-
96,
|
|
18
|
-
104,
|
|
19
|
-
120,
|
|
20
|
-
200
|
|
21
|
-
]);
|
|
22
|
-
var scaleToClassName = (size, direction) => {
|
|
23
|
-
if (direction === "horizontal") return {
|
|
24
|
-
0: "IncodeSpacerHorizontal0",
|
|
25
|
-
2: "IncodeSpacerHorizontal2",
|
|
26
|
-
4: "IncodeSpacerHorizontal4",
|
|
27
|
-
8: "IncodeSpacerHorizontal8",
|
|
28
|
-
12: "IncodeSpacerHorizontal12",
|
|
29
|
-
16: "IncodeSpacerHorizontal16",
|
|
30
|
-
20: "IncodeSpacerHorizontal20",
|
|
31
|
-
24: "IncodeSpacerHorizontal24",
|
|
32
|
-
32: "IncodeSpacerHorizontal32",
|
|
33
|
-
40: "IncodeSpacerHorizontal40",
|
|
34
|
-
48: "IncodeSpacerHorizontal48",
|
|
35
|
-
64: "IncodeSpacerHorizontal64",
|
|
36
|
-
80: "IncodeSpacerHorizontal80",
|
|
37
|
-
96: "IncodeSpacerHorizontal96",
|
|
38
|
-
104: "IncodeSpacerHorizontal104",
|
|
39
|
-
120: "IncodeSpacerHorizontal120",
|
|
40
|
-
200: "IncodeSpacerHorizontal200"
|
|
41
|
-
}[size];
|
|
42
|
-
return {
|
|
43
|
-
0: "IncodeSpacerVertical0",
|
|
44
|
-
2: "IncodeSpacerVertical2",
|
|
45
|
-
4: "IncodeSpacerVertical4",
|
|
46
|
-
8: "IncodeSpacerVertical8",
|
|
47
|
-
12: "IncodeSpacerVertical12",
|
|
48
|
-
16: "IncodeSpacerVertical16",
|
|
49
|
-
20: "IncodeSpacerVertical20",
|
|
50
|
-
24: "IncodeSpacerVertical24",
|
|
51
|
-
32: "IncodeSpacerVertical32",
|
|
52
|
-
40: "IncodeSpacerVertical40",
|
|
53
|
-
48: "IncodeSpacerVertical48",
|
|
54
|
-
64: "IncodeSpacerVertical64",
|
|
55
|
-
80: "IncodeSpacerVertical80",
|
|
56
|
-
96: "IncodeSpacerVertical96",
|
|
57
|
-
104: "IncodeSpacerVertical104",
|
|
58
|
-
120: "IncodeSpacerVertical120",
|
|
59
|
-
200: "IncodeSpacerVertical200"
|
|
60
|
-
}[size];
|
|
61
|
-
};
|
|
62
|
-
var Spacer = ({ size, className, direction = "vertical" }) => {
|
|
63
|
-
if (size === void 0) return /* @__PURE__ */ u("div", { class: `IncodeSpacerFlex ${className || ""}` });
|
|
64
|
-
if (!(direction === "horizontal" ? "w" : direction === "vertical" ? "h" : void 0)) return /* @__PURE__ */ u("div", { class: `${className || ""}` });
|
|
65
|
-
if (typeof size === "number" && scaleTokens.has(size)) return /* @__PURE__ */ u("div", { class: `${scaleToClassName(size, direction)} ${className || ""}` });
|
|
66
|
-
return /* @__PURE__ */ u("div", { class: `${className || ""}` });
|
|
67
|
-
};
|
|
68
|
-
//#endregion
|
|
69
2
|
//#region src/styles/cn.tsx
|
|
70
3
|
var cn = (...classes) => {
|
|
71
4
|
const result = [];
|
|
@@ -145,4 +78,71 @@ var LoadingIcon = ({ size = 30, secondaryClass, primaryClass }) => {
|
|
|
145
78
|
});
|
|
146
79
|
};
|
|
147
80
|
//#endregion
|
|
148
|
-
|
|
81
|
+
//#region src/shared/spacer/spacer.tsx
|
|
82
|
+
var scaleTokens = new Set([
|
|
83
|
+
0,
|
|
84
|
+
2,
|
|
85
|
+
4,
|
|
86
|
+
8,
|
|
87
|
+
12,
|
|
88
|
+
16,
|
|
89
|
+
20,
|
|
90
|
+
24,
|
|
91
|
+
32,
|
|
92
|
+
40,
|
|
93
|
+
48,
|
|
94
|
+
64,
|
|
95
|
+
80,
|
|
96
|
+
96,
|
|
97
|
+
104,
|
|
98
|
+
120,
|
|
99
|
+
200
|
|
100
|
+
]);
|
|
101
|
+
var scaleToClassName = (size, direction) => {
|
|
102
|
+
if (direction === "horizontal") return {
|
|
103
|
+
0: "IncodeSpacerHorizontal0",
|
|
104
|
+
2: "IncodeSpacerHorizontal2",
|
|
105
|
+
4: "IncodeSpacerHorizontal4",
|
|
106
|
+
8: "IncodeSpacerHorizontal8",
|
|
107
|
+
12: "IncodeSpacerHorizontal12",
|
|
108
|
+
16: "IncodeSpacerHorizontal16",
|
|
109
|
+
20: "IncodeSpacerHorizontal20",
|
|
110
|
+
24: "IncodeSpacerHorizontal24",
|
|
111
|
+
32: "IncodeSpacerHorizontal32",
|
|
112
|
+
40: "IncodeSpacerHorizontal40",
|
|
113
|
+
48: "IncodeSpacerHorizontal48",
|
|
114
|
+
64: "IncodeSpacerHorizontal64",
|
|
115
|
+
80: "IncodeSpacerHorizontal80",
|
|
116
|
+
96: "IncodeSpacerHorizontal96",
|
|
117
|
+
104: "IncodeSpacerHorizontal104",
|
|
118
|
+
120: "IncodeSpacerHorizontal120",
|
|
119
|
+
200: "IncodeSpacerHorizontal200"
|
|
120
|
+
}[size];
|
|
121
|
+
return {
|
|
122
|
+
0: "IncodeSpacerVertical0",
|
|
123
|
+
2: "IncodeSpacerVertical2",
|
|
124
|
+
4: "IncodeSpacerVertical4",
|
|
125
|
+
8: "IncodeSpacerVertical8",
|
|
126
|
+
12: "IncodeSpacerVertical12",
|
|
127
|
+
16: "IncodeSpacerVertical16",
|
|
128
|
+
20: "IncodeSpacerVertical20",
|
|
129
|
+
24: "IncodeSpacerVertical24",
|
|
130
|
+
32: "IncodeSpacerVertical32",
|
|
131
|
+
40: "IncodeSpacerVertical40",
|
|
132
|
+
48: "IncodeSpacerVertical48",
|
|
133
|
+
64: "IncodeSpacerVertical64",
|
|
134
|
+
80: "IncodeSpacerVertical80",
|
|
135
|
+
96: "IncodeSpacerVertical96",
|
|
136
|
+
104: "IncodeSpacerVertical104",
|
|
137
|
+
120: "IncodeSpacerVertical120",
|
|
138
|
+
200: "IncodeSpacerVertical200"
|
|
139
|
+
}[size];
|
|
140
|
+
};
|
|
141
|
+
var Spacer = ({ size, className, direction = "vertical" }) => {
|
|
142
|
+
if (size === void 0) return /* @__PURE__ */ u("div", { class: `IncodeSpacerFlex ${className || ""}` });
|
|
143
|
+
if (!(direction === "horizontal" ? "w" : direction === "vertical" ? "h" : void 0)) return /* @__PURE__ */ u("div", { class: `${className || ""}` });
|
|
144
|
+
if (typeof size === "number" && scaleTokens.has(size)) return /* @__PURE__ */ u("div", { class: `${scaleToClassName(size, direction)} ${className || ""}` });
|
|
145
|
+
return /* @__PURE__ */ u("div", { class: `${className || ""}` });
|
|
146
|
+
};
|
|
147
|
+
//#endregion
|
|
148
|
+
export { LoadingIcon as n, cn as r, Spacer as t };
|
|
@@ -1,6 +1,47 @@
|
|
|
1
|
-
import { _ as y, l as A, v as u, x as k } from "./vendor-preact-DThS2ZQ_.js";
|
|
2
|
-
import { n as
|
|
3
|
-
|
|
1
|
+
import { _ as y, a as D, l as A, v as u, x as k } from "./vendor-preact-DThS2ZQ_.js";
|
|
2
|
+
import { n as LoadingIcon, r as cn, t as Spacer } from "./spacer-I8ILMQiA.js";
|
|
3
|
+
//#region src/shared/typography/typography.tsx
|
|
4
|
+
var Title = D(({ children, className, ...rest }, ref) => {
|
|
5
|
+
return /* @__PURE__ */ u("h2", {
|
|
6
|
+
ref,
|
|
7
|
+
class: `IncodeTitle ${className ?? ""}`,
|
|
8
|
+
...rest,
|
|
9
|
+
children
|
|
10
|
+
});
|
|
11
|
+
});
|
|
12
|
+
var TypographyH1 = D(({ children, className, ...rest }, ref) => {
|
|
13
|
+
return /* @__PURE__ */ u("h1", {
|
|
14
|
+
ref,
|
|
15
|
+
class: cn("IncodeTypographyH1", className),
|
|
16
|
+
...rest,
|
|
17
|
+
children
|
|
18
|
+
});
|
|
19
|
+
});
|
|
20
|
+
var TypographyH3 = ({ children, className }) => {
|
|
21
|
+
return /* @__PURE__ */ u("h3", {
|
|
22
|
+
class: cn("IncodeTypographyH3", className),
|
|
23
|
+
children
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
var TypographyH4 = ({ children, className }) => {
|
|
27
|
+
return /* @__PURE__ */ u("h4", {
|
|
28
|
+
class: cn("IncodeTypographyH4", className),
|
|
29
|
+
children
|
|
30
|
+
});
|
|
31
|
+
};
|
|
32
|
+
var TypographyH5 = ({ children, className }) => {
|
|
33
|
+
return /* @__PURE__ */ u("h5", {
|
|
34
|
+
class: cn("IncodeTypographyH5", className),
|
|
35
|
+
children
|
|
36
|
+
});
|
|
37
|
+
};
|
|
38
|
+
var TypographyP = ({ children, className }) => {
|
|
39
|
+
return /* @__PURE__ */ u("p", {
|
|
40
|
+
class: cn("IncodeTypographyP", className),
|
|
41
|
+
children
|
|
42
|
+
});
|
|
43
|
+
};
|
|
44
|
+
//#endregion
|
|
4
45
|
//#region src/shared/spinner/spinner.tsx
|
|
5
46
|
var sizeMap = {
|
|
6
47
|
small: 24,
|
|
@@ -51,4 +92,4 @@ var Spinner = ({ title, subtitle, ariaLabel, size = "medium", fullScreen = true,
|
|
|
51
92
|
});
|
|
52
93
|
};
|
|
53
94
|
//#endregion
|
|
54
|
-
export { Spinner as t };
|
|
95
|
+
export { TypographyH4 as a, TypographyH3 as i, Title as n, TypographyH5 as o, TypographyH1 as r, TypographyP as s, Spinner as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as AutoFocusTitle } from "./autoFocusTitle-
|
|
2
|
+
import { i as Page } from "./hooks-Bl4BccV8.js";
|
|
3
|
+
import { t as Spacer } from "./spacer-I8ILMQiA.js";
|
|
4
|
+
import { t as AutoFocusTitle } from "./autoFocusTitle-DIuy3fAL.js";
|
|
5
5
|
//#region src/shared/statusPage/statusPage.tsx
|
|
6
6
|
var StatusPage = ({ variant, icon, title, subtitle, hideFooterBranding, actions, isLive }) => /* @__PURE__ */ u(Page, {
|
|
7
7
|
className: `IncodeStatusPage IncodeStatusPage--${variant}`,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { b as Q, g as x, m as g, p as d, v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
2
|
-
import {
|
|
2
|
+
import { r as cn } from "./spacer-I8ILMQiA.js";
|
|
3
3
|
//#region src/shared/tabs/tabs.tsx
|
|
4
4
|
var TabsContext = Q(null);
|
|
5
5
|
var useTabsContext = () => {
|
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as useTranslation } from "./uiConfig-DSGyRMSC.js";
|
|
2
2
|
import { _ as y, a as D, d as T, h as q, l as A, m as g, p as d, v as u, x as k } from "./vendor-preact-DThS2ZQ_.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { t as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { t as Modal } from "./modal-C-Q9km3s.js";
|
|
12
|
-
import { n as Lottie } from "./permissions-J6qPq98P.js";
|
|
3
|
+
import { i as Page, s as TransitionSpinner } from "./hooks-Bl4BccV8.js";
|
|
4
|
+
import { n as LoadingIcon, r as cn, t as Spacer } from "./spacer-I8ILMQiA.js";
|
|
5
|
+
import { n as Title } from "./spinner-YXqSOUqg.js";
|
|
6
|
+
import { n as ErrorIcon, r as Button } from "./incode-logo-DasIBJw8.js";
|
|
7
|
+
import { v as WarningIcon } from "./icons-CqDMnQ1g.js";
|
|
8
|
+
import { t as SuccessIcon } from "./successIcon-BshEyvXA.js";
|
|
9
|
+
import { t as Modal } from "./modal-BgjeiOv5.js";
|
|
10
|
+
import { n as Lottie } from "./permissions-Bcn-2yHb.js";
|
|
13
11
|
//#region src/shared/errorContent/errorContent.tsx
|
|
14
12
|
var ErrorContent = ({ title, description, attemptsRemaining, onButtonClick, "data-testid": testId }) => {
|
|
15
13
|
const { t } = useTranslation();
|
|
@@ -781,7 +779,7 @@ var Tutorial = ({ manager, ageAssurance = false }) => {
|
|
|
781
779
|
const [isLoading, setIsLoading] = d(false);
|
|
782
780
|
const [animationData, setAnimationData] = d(null);
|
|
783
781
|
y(() => {
|
|
784
|
-
import("./selfieTutorial-
|
|
782
|
+
import("./selfieTutorial-DfjgQ9w5.js").then((module) => {
|
|
785
783
|
setAnimationData(module.default);
|
|
786
784
|
});
|
|
787
785
|
}, []);
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { AeSignatureConfig } from '@incodetech/core/ae-signature';
|
|
2
|
+
import { DeepPartial } from '@incodetech/core/flow';
|
|
2
3
|
import { FC } from 'preact/compat';
|
|
3
4
|
|
|
4
|
-
export declare const AeSignature: FC<AeSignatureModuleProps
|
|
5
|
+
export declare const AeSignature: FC<Omit<AeSignatureModuleProps, "config"> & {
|
|
6
|
+
config?: (Omit<unknown, never> & DeepPartial<Pick<unknown, never>>) | undefined;
|
|
7
|
+
}>;
|
|
5
8
|
|
|
6
9
|
declare type AeSignatureModuleProps = IncodeModuleProps<AeSignatureConfig>;
|
|
7
10
|
|
|
@@ -25,12 +28,12 @@ declare type IncodeFinishMeta = {
|
|
|
25
28
|
sdkOwnsTerminalScreen?: boolean;
|
|
26
29
|
};
|
|
27
30
|
|
|
28
|
-
declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown> = {
|
|
31
|
+
declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TConfigInput = TConfig> = {
|
|
29
32
|
/**
|
|
30
33
|
* Module configuration required to render the flow.
|
|
31
34
|
* For Web Components, this is typically assigned via `element.config = ...`.
|
|
32
35
|
*/
|
|
33
|
-
config?:
|
|
36
|
+
config?: TConfigInput;
|
|
34
37
|
/**
|
|
35
38
|
* Optional pre-built manager. When provided, the module does not create or manage the manager lifecycle.
|
|
36
39
|
*/
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { AntifraudConfig } from '@incodetech/core/antifraud';
|
|
2
2
|
import { AntifraudManager } from '@incodetech/core/antifraud';
|
|
3
|
+
import { DeepPartial } from '@incodetech/core/flow';
|
|
3
4
|
import { FC } from 'preact/compat';
|
|
4
5
|
|
|
5
|
-
export declare const Antifraud: FC<AntifraudProps
|
|
6
|
+
export declare const Antifraud: FC<Omit<AntifraudProps, "config"> & {
|
|
7
|
+
config?: (Omit<unknown, never> & DeepPartial<Pick<unknown, never>>) | undefined;
|
|
8
|
+
}>;
|
|
6
9
|
|
|
7
10
|
declare type AntifraudProps = IncodeModuleProps<AntifraudConfig, void, AntifraudManager>;
|
|
8
11
|
|
|
@@ -26,12 +29,12 @@ declare type IncodeFinishMeta = {
|
|
|
26
29
|
sdkOwnsTerminalScreen?: boolean;
|
|
27
30
|
};
|
|
28
31
|
|
|
29
|
-
declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown> = {
|
|
32
|
+
declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TConfigInput = TConfig> = {
|
|
30
33
|
/**
|
|
31
34
|
* Module configuration required to render the flow.
|
|
32
35
|
* For Web Components, this is typically assigned via `element.config = ...`.
|
|
33
36
|
*/
|
|
34
|
-
config?:
|
|
37
|
+
config?: TConfigInput;
|
|
35
38
|
/**
|
|
36
39
|
* Optional pre-built manager. When provided, the module does not create or manage the manager lifecycle.
|
|
37
40
|
*/
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { AuthenticationConfig } from '@incodetech/core/authentication';
|
|
2
2
|
import { AuthenticationManager } from '@incodetech/core/authentication';
|
|
3
|
+
import { DeepPartial } from '@incodetech/core/flow';
|
|
3
4
|
import { FC } from 'preact/compat';
|
|
4
5
|
|
|
5
|
-
export declare const Authentication: FC<AuthenticationProps
|
|
6
|
+
export declare const Authentication: FC<Omit<AuthenticationProps, "config"> & {
|
|
7
|
+
config?: (Omit<unknown, never> & DeepPartial<Pick<unknown, never>>) | undefined;
|
|
8
|
+
}>;
|
|
6
9
|
|
|
7
10
|
declare type AuthenticationProps = IncodeModuleProps<AuthenticationConfig & {
|
|
8
11
|
authHint?: string;
|
|
@@ -28,12 +31,12 @@ declare type IncodeFinishMeta = {
|
|
|
28
31
|
sdkOwnsTerminalScreen?: boolean;
|
|
29
32
|
};
|
|
30
33
|
|
|
31
|
-
declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown> = {
|
|
34
|
+
declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TConfigInput = TConfig> = {
|
|
32
35
|
/**
|
|
33
36
|
* Module configuration required to render the flow.
|
|
34
37
|
* For Web Components, this is typically assigned via `element.config = ...`.
|
|
35
38
|
*/
|
|
36
|
-
config?:
|
|
39
|
+
config?: TConfigInput;
|
|
37
40
|
/**
|
|
38
41
|
* Optional pre-built manager. When provided, the module does not create or manage the manager lifecycle.
|
|
39
42
|
*/
|