@incodetech/web 0.0.0-dev-20260729-37d96d3d → 0.0.0-dev-20260729-5e1819bc
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-iZIKJfYJ.js → autoFocusTitle-CvZ2oKGw.js} +1 -1
- package/dist/{browser-ponyfill-D1icr7Vh.js → browser-ponyfill-uS1iX5_X.js} +1 -1
- package/dist/{captureNotification-BQY39v7i.js → captureNotification-CZJAUALL.js} +7 -7
- package/dist/certificate-issuance/certificate-issuance.es.js +9 -9
- package/dist/{checkbox-Bar2Q75h.js → checkbox-CjLNtXmu.js} +3 -3
- package/dist/{connectionError-DJ9joMSc.js → connectionError-DbDaaT-B.js} +3 -3
- package/dist/consent/consent.es.js +6 -6
- package/dist/{countrySelector-nRjpjFZr.js → countrySelector-DWK-Q92b.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 +12 -12
- package/dist/{customFields-DWHlj3fI.js → customFields-JRAHfQtj.js} +9 -9
- package/dist/{customWatchlist-B1WtVx_C.js → customWatchlist-DaP3FwDS.js} +5 -5
- package/dist/{dashboardTheme-BBWzF-Rl.js → dashboardTheme-BExWWw2E.js} +1 -1
- package/dist/{dateInputComposed-_hgrTAHv.js → dateInputComposed-Bmm1u44s.js} +4 -4
- package/dist/dateInputComposed-CWtAGa8F.js +1 -0
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/{documentCapture-BnY5a6sE.js → documentCapture-BCOt7KyE.js} +14 -14
- package/dist/documentCapture-Bc70RpRy.js +2 -0
- package/dist/{dropdownComposed-Df6I0kfH.js → dropdownComposed-B6FF4cVZ.js} +3 -3
- package/dist/dropdownComposed-D_Nb9dcy.js +1 -0
- package/dist/{dynamicForms-DacHmxMI.js → dynamicForms-BG9SsLRx.js} +10 -10
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/ekybModule-CBw9UvDy.js +2 -0
- package/dist/{ekybModule-BuJN0kRM.js → ekybModule-CNypaHrH.js} +13 -13
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekycModule-BCVOgvs0.js +2 -0
- package/dist/{ekycModule-Cl-dSGS3.js → ekycModule-BxT6xyZU.js} +11 -11
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-2q7K_-4S.js → electronic-signature-ClbcVTNk.js} +9 -9
- package/dist/email/email.es.js +7 -7
- package/dist/{emailInput-C7xTN_6s.js → emailInput-MPmRwMLh.js} +3 -3
- package/dist/{expiredId-DFathPvh.js → expiredId-CJXzq12W.js} +5 -5
- package/dist/{extensibility-BApUHk3S.js → extensibility-BP_5DPas.js} +191 -40
- package/dist/extensibility.es.js +21 -21
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/{faceMatch-DeBTtmW8.js → faceMatch-BHuxQw6x.js} +7 -7
- package/dist/faceMatch-BKvaCYWC.js +2 -0
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/{fieldComparison-DNKTX27t.js → fieldComparison-7elKN-uq.js} +8 -8
- package/dist/fieldComparison-DPzftT2Z.js +2 -0
- package/dist/fiscal-qr/fiscal-qr.es.js +8 -8
- package/dist/flow/flow.es.js +7 -7
- package/dist/flow/styles.css +286 -0
- package/dist/geolocation/geolocation.es.js +7 -7
- package/dist/government-validation/government-validation.es.js +8 -8
- package/dist/{homeScreen-C13L_5E7.js → homeScreen-ayC3SHjN.js} +6 -6
- package/dist/{icons-DDslhJwK.js → icons-CnHH5IUi.js} +1 -1
- package/dist/id/id.es.js +161 -20
- package/dist/id/styles.css +234 -0
- package/dist/id-back-of-card-DO593HH8.js +83 -0
- package/dist/id-back-of-card-vertical-DArEQ0hE.js +88 -0
- package/dist/id-front-of-card-Bcit7Pnq.js +308 -0
- package/dist/id-front-of-card-vertical-Bcr-KXcl.js +278 -0
- package/dist/id-verification/id-verification.es.js +4 -4
- package/dist/{idOcr-CYgQjeIP.js → idOcr-C-1COH6w.js} +9 -9
- package/dist/identity-reuse/identity-reuse.es.js +5 -5
- package/dist/{incode-logo-BfEQiVwv.js → incode-logo-B44XBmUF.js} +1 -1
- package/dist/{incodeComponent-DbuDabZM.js → incodeComponent-CaVm81Om.js} +106 -8
- package/dist/{incodeModule-CWPPP3RX.js → incodeModule-B02hDGir.js} +1 -1
- package/dist/index.es.js +2 -2
- package/dist/{inputComposed-DyOp4913.js → inputComposed-CWQkki5v.js} +3 -3
- package/dist/inputComposed-DwUPrwiA.js +1 -0
- package/dist/{lottie_light-Cu005p6V.js → lottie_light-DpbDagTe.js} +1 -1
- package/dist/{mandatoryConsent-Cg_zIcY1.js → mandatoryConsent-CfBlj5BM.js} +6 -6
- package/dist/{modal-DWVP-wFJ.js → modal-B9tF0ldx.js} +2 -2
- package/dist/{optionAccessibleLabel-CJODcySE.js → optionAccessibleLabel-DeFMUVpn.js} +4 -4
- package/dist/{otpInput-BwCTe5DW.js → otpInput-Dju8N2oD.js} +5 -5
- package/dist/{pdfViewer-CEamEnkS.js → pdfViewer-CvCy4uwi.js} +3 -3
- package/dist/pdfViewer-tQrHCTu2.js +2 -0
- package/dist/{permissions-B59Yz1WE.js → permissions-CVWfTL-t.js} +6 -6
- package/dist/phone/phone.es.js +8 -8
- package/dist/{phoneInputComposed-FIxKA289.js → phoneInputComposed-DgMwulFN.js} +4 -4
- package/dist/{processing-cWTcAmb0.js → processing-DIUdk0S7.js} +1 -1
- package/dist/qe-signature/qe-signature.es.js +3 -3
- package/dist/{radioGroupComposed-Dhukt-7o.js → radioGroupComposed-CRePkzYH.js} +5 -5
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +12 -12
- package/dist/{richText-CdJoyVMH.js → richText-BTiSRN0z.js} +1 -1
- package/dist/{rolldown-runtime-Ck0Mdiqz.js → rolldown-runtime--E5BIlTp.js} +10 -1
- package/dist/selfie/selfie.es.js +6 -6
- package/dist/signature/signature.es.js +7 -7
- package/dist/{snackbar-CAhCVEPK.js → snackbar-6nHZdZCi.js} +1 -1
- package/dist/{spacer-xw40ekwM.js → spacer-D52odyVb.js} +10 -10
- package/dist/{spinner-BXQ7_eed.js → spinner-CEzuAsxR.js} +1 -1
- package/dist/{statusPage-gvob9oXs.js → statusPage-BpxFc-P6.js} +3 -3
- package/dist/{tabs-BXS3PjHE.js → tabs-CbAXowHB.js} +1 -1
- package/dist/{tutorial-CmnpJOSN.js → tutorial-CiSCBe8S.js} +7 -7
- package/dist/{uiConfig-CXjf9USC.js → uiConfig-Ar3UWfPc.js} +2 -2
- package/dist/{useModuleLoader-CcbKux2n.js → useModuleLoader-d9qDkGgg.js} +18 -18
- package/dist/{verificationResult-kFjl5_9K.js → verificationResult-Bn1_erQu.js} +7 -7
- package/dist/video-selfie/video-selfie.es.js +12 -12
- package/dist/watchlist/watchlist.es.js +5 -5
- package/dist/{watchlistForBusiness-BgMXBwY1.js → watchlistForBusiness-Bgao5oZx.js} +8 -8
- package/dist/workflow/styles.css +286 -0
- package/dist/workflow/workflow.es.js +7 -7
- package/package.json +2 -2
- package/dist/dateInputComposed-CGMz5UVE.js +0 -1
- package/dist/documentCapture-RezFAvKe.js +0 -2
- package/dist/dropdownComposed-ZNxRG80x.js +0 -1
- package/dist/ekybModule-l4Ybh7Cb.js +0 -2
- package/dist/ekycModule-DBpLOI2s.js +0 -2
- package/dist/faceMatch-C3ruQ-2t.js +0 -2
- package/dist/fieldComparison-yT4MOoSF.js +0 -2
- package/dist/inputComposed-CWWfge4m.js +0 -1
- package/dist/pdfViewer-D7yXDe2C.js +0 -2
- /package/dist/{aligndevicelottie-BjTimcBP.js → aligndevicelottie-DXalhkKB.js} +0 -0
- /package/dist/{back-horizontal-hint-CzsSwNtZ.js → back-horizontal-hint-DTbSbMez.js} +0 -0
- /package/dist/{back-tutorial-C-IKYN_q.js → back-tutorial-v9Hk3XFo.js} +0 -0
- /package/dist/{back-vertical-hint-C7dxEdEh.js → back-vertical-hint-DflUmM1H.js} +0 -0
- /package/dist/{backdevicelottie-Cx2kiMEX.js → backdevicelottie-Bo_klJll.js} +0 -0
- /package/dist/{blurdevicelottie-4yFix9E8.js → blurdevicelottie-CxKLM4Vs.js} +0 -0
- /package/dist/{flip-animation-A-yVbFVH.js → flip-animation-DTAAOpEa.js} +0 -0
- /package/dist/{front-horizontal-hint-DYxWgGKI.js → front-horizontal-hint-ClzgOBfO.js} +0 -0
- /package/dist/{front-vertical-hint-CzlxVSQB.js → front-vertical-hint-Bg_PjoFD.js} +0 -0
- /package/dist/{frontdevicelottie-Dl0lwBuC.js → frontdevicelottie-DC_J26cw.js} +0 -0
- /package/dist/{glaredevicelottie-CWu-Dn9r.js → glaredevicelottie-v7rkW_o-.js} +0 -0
- /package/dist/{id-laser-h-BVmX_IOw.js → id-laser-h-B5wVlgYu.js} +0 -0
- /package/dist/{id-laser-v-Bkm7n4bH.js → id-laser-v-Dt8NRFVP.js} +0 -0
- /package/dist/{id-tutorial-CalDlCwr.js → id-tutorial-B5rsdHAH.js} +0 -0
- /package/dist/{passport-horizontal-hint-DJQIorOg.js → passport-horizontal-hint-BWVt9PyV.js} +0 -0
- /package/dist/{passport-tutorial-B85bIDro.js → passport-tutorial-CDUEHwmA.js} +0 -0
- /package/dist/{passport-vertical-hint-CIjdflxJ.js → passport-vertical-hint-BCO4926p.js} +0 -0
- /package/dist/{pdf-DmATU8Co.js → pdf-yaBNakba.js} +0 -0
- /package/dist/{selfieTutorial-Dt7Scw4z.js → selfieTutorial-UOaWO8hK.js} +0 -0
|
@@ -1,29 +1,31 @@
|
|
|
1
|
-
import { i as useTranslation } from "./uiConfig-
|
|
1
|
+
import { i as useTranslation } from "./uiConfig-Ar3UWfPc.js";
|
|
2
2
|
import { S as k, _ as y, a as D, c as z, d as T, h as q, l as A, o as P, p as d, v as u } from "./vendor-preact-mvwZ8mJj.js";
|
|
3
|
-
import { d as
|
|
4
|
-
import { a as useAnimationData, r as AnimatedAsset, t as Spacer, u as cn } from "./spacer-
|
|
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-CaVm81Om.js";
|
|
4
|
+
import { a as useAnimationData, r as AnimatedAsset, t as Spacer, u as cn } from "./spacer-D52odyVb.js";
|
|
5
|
+
import { n as Title, t as Spinner } from "./spinner-CEzuAsxR.js";
|
|
6
|
+
import { n as ErrorIcon, r as Button } from "./incode-logo-B44XBmUF.js";
|
|
7
|
+
import "./processing-DIUdk0S7.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-CnHH5IUi.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-B9tF0ldx.js";
|
|
11
|
+
import { r as BaseTutorial } from "./tutorial-CiSCBe8S.js";
|
|
12
|
+
import "./verificationResult-Bn1_erQu.js";
|
|
13
|
+
import "./connectionError-DbDaaT-B.js";
|
|
14
|
+
import { t as InputComposed } from "./inputComposed-CWQkki5v.js";
|
|
15
|
+
import "./inputComposed-DwUPrwiA.js";
|
|
16
|
+
import "./otpInput-Dju8N2oD.js";
|
|
17
|
+
import "./checkbox-CjLNtXmu.js";
|
|
18
|
+
import "./radioGroupComposed-CRePkzYH.js";
|
|
19
|
+
import "./phoneInputComposed-DgMwulFN.js";
|
|
20
|
+
import "./dropdownComposed-D_Nb9dcy.js";
|
|
21
|
+
import "./dateInputComposed-CWtAGa8F.js";
|
|
22
22
|
import "./bottomSheet-Cp8DLulN.js";
|
|
23
|
-
import { a as CameraFrame, i as CameraView, r as usePreloadCaptureAnimations, t as CaptureNotification } from "./captureNotification-
|
|
24
|
-
import "./permissions-
|
|
25
|
-
import { n as RedStrikeIcon, t as ExpiredId } from "./expiredId-
|
|
23
|
+
import { a as CameraFrame, i as CameraView, r as usePreloadCaptureAnimations, t as CaptureNotification } from "./captureNotification-CZJAUALL.js";
|
|
24
|
+
import "./permissions-CVWfTL-t.js";
|
|
25
|
+
import { n as RedStrikeIcon, t as ExpiredId } from "./expiredId-CJXzq12W.js";
|
|
26
26
|
import { getDeviceClass } from "@incodetech/core/device";
|
|
27
|
+
import { eventModuleNames, recordExperimentAssignmentOnce } from "@incodetech/core/events";
|
|
28
|
+
import { ONBOARDING_WEB_SDK_PARAMETER_STORE } from "@incodetech/core/feature-management";
|
|
27
29
|
import "@incodetech/core/id";
|
|
28
30
|
//#region src/shared/overlay/overlay.tsx
|
|
29
31
|
var Overlay = ({ children, "aria-labelledby": ariaLabelledBy, class: className }) => {
|
|
@@ -1147,11 +1149,12 @@ var CaptureFrame = ({ orientation, mode, state, children, className }) => {
|
|
|
1147
1149
|
//#region src/modules/id/processing/idProcessingLayout.tsx
|
|
1148
1150
|
var IdProcessingLayout = ({ imageUrl, orientation, mode, borderState, topContent, bottomContent, overlayContent, blurImage }) => {
|
|
1149
1151
|
const { t } = useTranslation();
|
|
1152
|
+
const frameMode = mode === "id" ? "front" : mode;
|
|
1150
1153
|
return /* @__PURE__ */ u(Page, {
|
|
1151
1154
|
hideHeader: true,
|
|
1152
1155
|
hideFooterBranding: true,
|
|
1153
1156
|
children: /* @__PURE__ */ u("div", {
|
|
1154
|
-
class: "IncodeIdProcessingLayout",
|
|
1157
|
+
class: cn("IncodeIdProcessingLayout", !imageUrl && "IncodeIdProcessingLayoutNoImage"),
|
|
1155
1158
|
children: /* @__PURE__ */ u("div", {
|
|
1156
1159
|
class: "IncodeIdProcessingLayoutContent",
|
|
1157
1160
|
children: [
|
|
@@ -1159,9 +1162,9 @@ var IdProcessingLayout = ({ imageUrl, orientation, mode, borderState, topContent
|
|
|
1159
1162
|
class: "IncodeIdProcessingTopArea",
|
|
1160
1163
|
children: topContent
|
|
1161
1164
|
}),
|
|
1162
|
-
/* @__PURE__ */ u(CaptureFrame, {
|
|
1165
|
+
imageUrl && /* @__PURE__ */ u(CaptureFrame, {
|
|
1163
1166
|
orientation,
|
|
1164
|
-
mode:
|
|
1167
|
+
mode: frameMode,
|
|
1165
1168
|
state: borderState,
|
|
1166
1169
|
children: [/* @__PURE__ */ u("img", {
|
|
1167
1170
|
src: imageUrl,
|
|
@@ -1176,7 +1179,7 @@ var IdProcessingLayout = ({ imageUrl, orientation, mode, borderState, topContent
|
|
|
1176
1179
|
}),
|
|
1177
1180
|
/* @__PURE__ */ u("div", {
|
|
1178
1181
|
class: "IncodeIdProcessingBottomArea",
|
|
1179
|
-
children: [/* @__PURE__ */ u("div", {
|
|
1182
|
+
children: [imageUrl && /* @__PURE__ */ u("div", {
|
|
1180
1183
|
class: "IncodeCaptureEncryptionLabel",
|
|
1181
1184
|
children: [/* @__PURE__ */ u(LockIcon, { className: "IncodeCaptureEncryptionIcon" }), /* @__PURE__ */ u("span", { children: t("v2.capture.label") })]
|
|
1182
1185
|
}), bottomContent]
|
|
@@ -1241,12 +1244,35 @@ var GreenCheckIcon = ({ className, ...rest }) => /* @__PURE__ */ u("svg", {
|
|
|
1241
1244
|
});
|
|
1242
1245
|
//#endregion
|
|
1243
1246
|
//#region src/modules/id/processing/idProcessingResult.tsx
|
|
1244
|
-
var
|
|
1247
|
+
var FADE_OUT_ANIMATION_NAME = "incodeIdProcessingResultFadeOut";
|
|
1248
|
+
var EXIT_WATCHDOG_MS = 3500;
|
|
1249
|
+
var IdProcessingResult = ({ variant, imageUrl, orientation, mode, title, subtitle, buttonText, onButtonClick, attemptsRemaining, blurImage, fadeOutOnClick }) => {
|
|
1245
1250
|
const { t } = useTranslation();
|
|
1246
1251
|
const titleRef = A(null);
|
|
1252
|
+
const [isExiting, setIsExiting] = d(false);
|
|
1253
|
+
const hasFiredButtonClickRef = A(false);
|
|
1254
|
+
const { schedule: scheduleExitWatchdog, clear: clearExitWatchdog } = useTimeoutHandle();
|
|
1247
1255
|
y(() => {
|
|
1248
1256
|
titleRef.current?.focus();
|
|
1249
1257
|
}, []);
|
|
1258
|
+
const fireButtonClick = () => {
|
|
1259
|
+
if (hasFiredButtonClickRef.current) return;
|
|
1260
|
+
hasFiredButtonClickRef.current = true;
|
|
1261
|
+
onButtonClick();
|
|
1262
|
+
};
|
|
1263
|
+
const handleButtonClick = () => {
|
|
1264
|
+
if (fadeOutOnClick) {
|
|
1265
|
+
setIsExiting(true);
|
|
1266
|
+
scheduleExitWatchdog(fireButtonClick, EXIT_WATCHDOG_MS);
|
|
1267
|
+
return;
|
|
1268
|
+
}
|
|
1269
|
+
onButtonClick();
|
|
1270
|
+
};
|
|
1271
|
+
const handleExitAnimationEnd = (event) => {
|
|
1272
|
+
if (event.animationName !== FADE_OUT_ANIMATION_NAME) return;
|
|
1273
|
+
clearExitWatchdog();
|
|
1274
|
+
fireButtonClick();
|
|
1275
|
+
};
|
|
1250
1276
|
return /* @__PURE__ */ u(IdProcessingLayout, {
|
|
1251
1277
|
imageUrl,
|
|
1252
1278
|
orientation,
|
|
@@ -1254,8 +1280,9 @@ var IdProcessingResult = ({ variant, imageUrl, orientation, mode, title, subtitl
|
|
|
1254
1280
|
borderState: variant,
|
|
1255
1281
|
blurImage,
|
|
1256
1282
|
topContent: /* @__PURE__ */ u("div", {
|
|
1257
|
-
class: "IncodeIdProcessingResultContent",
|
|
1283
|
+
class: cn("IncodeIdProcessingResultContent", isExiting && "IncodeIdProcessingResultContentExiting"),
|
|
1258
1284
|
role: "status",
|
|
1285
|
+
onAnimationEnd: handleExitAnimationEnd,
|
|
1259
1286
|
children: [
|
|
1260
1287
|
variant === "success" ? /* @__PURE__ */ u(GreenCheckIcon, { className: "IncodeIdProcessingResultIcon" }) : /* @__PURE__ */ u(RedStrikeIcon, { className: "IncodeIdProcessingResultIcon" }),
|
|
1261
1288
|
/* @__PURE__ */ u(Spacer, { size: 16 }),
|
|
@@ -1272,12 +1299,14 @@ var IdProcessingResult = ({ variant, imageUrl, orientation, mode, title, subtitl
|
|
|
1272
1299
|
]
|
|
1273
1300
|
}),
|
|
1274
1301
|
bottomContent: /* @__PURE__ */ u("div", {
|
|
1275
|
-
class: "IncodeIdProcessingResultButtonContainer",
|
|
1302
|
+
class: cn("IncodeIdProcessingResultButtonContainer", isExiting && "IncodeIdProcessingResultButtonContainerExiting"),
|
|
1303
|
+
onAnimationEnd: handleExitAnimationEnd,
|
|
1276
1304
|
children: [attemptsRemaining !== void 0 && attemptsRemaining > 0 && /* @__PURE__ */ u("p", {
|
|
1277
1305
|
class: "IncodeIdProcessingResultAttempts",
|
|
1278
1306
|
children: t("v2.idError.attemptsLeft", { count: attemptsRemaining })
|
|
1279
1307
|
}), /* @__PURE__ */ u(Button, {
|
|
1280
|
-
onClick:
|
|
1308
|
+
onClick: handleButtonClick,
|
|
1309
|
+
disabled: isExiting,
|
|
1281
1310
|
"data-testid": "retry-button",
|
|
1282
1311
|
children: buttonText
|
|
1283
1312
|
})]
|
|
@@ -1285,10 +1314,131 @@ var IdProcessingResult = ({ variant, imageUrl, orientation, mode, title, subtitl
|
|
|
1285
1314
|
});
|
|
1286
1315
|
};
|
|
1287
1316
|
//#endregion
|
|
1317
|
+
//#region src/experiments/experimentDefinition.ts
|
|
1318
|
+
/**
|
|
1319
|
+
* Resolves each declared param against the live experiment via `get`,
|
|
1320
|
+
* falling back to the registry-declared default. Keyed, same shape as
|
|
1321
|
+
* `defs` — `params.version` stays typed, no positional access.
|
|
1322
|
+
*/
|
|
1323
|
+
function resolveExperimentParams(defs, get) {
|
|
1324
|
+
const resolved = {};
|
|
1325
|
+
for (const key of Object.keys(defs)) resolved[key] = get(key, defs[key]);
|
|
1326
|
+
return resolved;
|
|
1327
|
+
}
|
|
1328
|
+
/**
|
|
1329
|
+
* Identity helper that pins a registry entry's precise `params` type and
|
|
1330
|
+
* enforces, at definition time, that `armParam` names a `string`-valued key
|
|
1331
|
+
* of that entry's `params`. A typo'd or non-string `armParam` is a compile
|
|
1332
|
+
* error here rather than a silent `variant: 'undefined'` at runtime.
|
|
1333
|
+
*
|
|
1334
|
+
* Use it per entry when authoring a module registry:
|
|
1335
|
+
*
|
|
1336
|
+
* ```ts
|
|
1337
|
+
* export const ID_EXPERIMENTS = {
|
|
1338
|
+
* flipInCapturedState: defineExperiment({
|
|
1339
|
+
* // ...
|
|
1340
|
+
* params: { flipInCaptureStateBehavior: 'unset' },
|
|
1341
|
+
* armParam: 'flipInCaptureStateBehavior',
|
|
1342
|
+
* }),
|
|
1343
|
+
* };
|
|
1344
|
+
* ```
|
|
1345
|
+
*/
|
|
1346
|
+
function defineExperiment(definition) {
|
|
1347
|
+
return definition;
|
|
1348
|
+
}
|
|
1349
|
+
//#endregion
|
|
1350
|
+
//#region src/experiments/makeUseModuleExperiment.ts
|
|
1351
|
+
var EXPERIMENT_ASSIGNED_ANALYTICS_EVENT_GATE = "experiment_assigned_analytics_event";
|
|
1352
|
+
var NOT_ALLOCATED = "unset";
|
|
1353
|
+
/**
|
|
1354
|
+
* Builds a per-module experiment hook bound to `registry` (e.g.
|
|
1355
|
+
* `ID_EXPERIMENTS`). Every experiment declared in the registry is read
|
|
1356
|
+
* through the shared `onboarding_web_sdk_ps` parameter store rather than a
|
|
1357
|
+
* direct per-experiment read — every declared param resolves to `'unset' |
|
|
1358
|
+
* 'control' | 'test'`: `'unset'` means the current user isn't allocated to
|
|
1359
|
+
* that experiment. A Layer configured upstream of the store in the Statsig
|
|
1360
|
+
* console guarantees at most one of the registered experiments is ever
|
|
1361
|
+
* non-`'unset'` for a given user, so callers reading different experiments
|
|
1362
|
+
* from different surfaces don't need to coordinate that themselves.
|
|
1363
|
+
*
|
|
1364
|
+
* Each mounted caller re-reads the store via `useFeatureManagement`, but
|
|
1365
|
+
* the resulting `experimentAssigned` interview-event fires only once per
|
|
1366
|
+
* flagKey for the session — deduped by core's `recordExperimentAssignmentOnce`
|
|
1367
|
+
* (reset-aware: cleared by SDK `reset()`), no matter how many surfaces read
|
|
1368
|
+
* it — and only while the `experiment_assigned_analytics_event` gate is
|
|
1369
|
+
* enabled (defaults to `false`). Both arms (`'control'` and `'test'`) fire
|
|
1370
|
+
* the assignment; only `'unset'` (not allocated) does not — this is
|
|
1371
|
+
* intentional so control-arm users are still recorded.
|
|
1372
|
+
*
|
|
1373
|
+
* Callers can pass `enabled: false` for a surface/mode the treatment can
|
|
1374
|
+
* never apply to so that surface neither logs an exposure nor records an
|
|
1375
|
+
* assignment; `params` still resolves to the registry-declared `'unset'`
|
|
1376
|
+
* defaults so callers don't need a separate branch.
|
|
1377
|
+
*/
|
|
1378
|
+
function makeUseModuleExperiment(registry) {
|
|
1379
|
+
return function useModuleExperiment({ key, enabled = true, conditions }) {
|
|
1380
|
+
const experimentDefinition = registry[key];
|
|
1381
|
+
const { value, status } = useFeatureManagement("parameterStore", ONBOARDING_WEB_SDK_PARAMETER_STORE, { enabled });
|
|
1382
|
+
const { value: analyticsEventGate } = useFeatureManagement("gate", EXPERIMENT_ASSIGNED_ANALYTICS_EVENT_GATE, { enabled });
|
|
1383
|
+
const conditionsKey = conditions ? JSON.stringify(conditions) : "";
|
|
1384
|
+
const params = resolveExperimentParams(experimentDefinition.params, value.get.bind(value));
|
|
1385
|
+
const armValue = params[experimentDefinition.armParam];
|
|
1386
|
+
const variant = armValue !== NOT_ALLOCATED ? String(armValue) : null;
|
|
1387
|
+
y(() => {
|
|
1388
|
+
if (!enabled || status !== "ready" || !variant || !analyticsEventGate.enabled) return;
|
|
1389
|
+
recordExperimentAssignmentOnce(experimentDefinition.module, {
|
|
1390
|
+
flagKey: experimentDefinition.flagKey,
|
|
1391
|
+
experimentId: experimentDefinition.experimentId,
|
|
1392
|
+
experimentName: experimentDefinition.experimentName,
|
|
1393
|
+
variant,
|
|
1394
|
+
conditions: conditionsKey ? JSON.parse(conditionsKey) : void 0
|
|
1395
|
+
});
|
|
1396
|
+
}, [
|
|
1397
|
+
enabled,
|
|
1398
|
+
status,
|
|
1399
|
+
variant,
|
|
1400
|
+
experimentDefinition,
|
|
1401
|
+
conditionsKey,
|
|
1402
|
+
analyticsEventGate.enabled
|
|
1403
|
+
]);
|
|
1404
|
+
return {
|
|
1405
|
+
variant,
|
|
1406
|
+
status,
|
|
1407
|
+
params
|
|
1408
|
+
};
|
|
1409
|
+
};
|
|
1410
|
+
}
|
|
1411
|
+
//#endregion
|
|
1412
|
+
//#region src/modules/id/experiments/useIdExperiment.ts
|
|
1413
|
+
/**
|
|
1414
|
+
* ID-module binding of `makeUseModuleExperiment` (see `@/experiments` for
|
|
1415
|
+
* the shared parameter-store/analytics-gate/assignment-recording mechanics),
|
|
1416
|
+
* bound to `ID_EXPERIMENTS`.
|
|
1417
|
+
*
|
|
1418
|
+
* Pass `enabled: false` for a surface/mode the treatment can never apply to
|
|
1419
|
+
* (e.g. passport in `flipInCapturedState`) so that surface neither logs an
|
|
1420
|
+
* exposure nor records an assignment; `params` still resolves to the
|
|
1421
|
+
* registry-declared `'unset'` defaults so callers don't need a separate
|
|
1422
|
+
* branch.
|
|
1423
|
+
*/
|
|
1424
|
+
var useIdExperiment = makeUseModuleExperiment({ flipInCapturedState: defineExperiment({
|
|
1425
|
+
flagKey: "uxp_idc_exp07_flip_in_captured_state",
|
|
1426
|
+
experimentId: "IDC-07",
|
|
1427
|
+
experimentName: "flipInCapturedState",
|
|
1428
|
+
module: eventModuleNames.idCapture,
|
|
1429
|
+
params: { flipInCaptureStateBehavior: "unset" },
|
|
1430
|
+
armParam: "flipInCaptureStateBehavior"
|
|
1431
|
+
}) });
|
|
1432
|
+
//#endregion
|
|
1288
1433
|
//#region src/modules/id/processing/idSuccess.tsx
|
|
1289
1434
|
var IdSuccess = ({ manager, state, blurImage }) => {
|
|
1290
1435
|
const { t } = useTranslation();
|
|
1291
|
-
|
|
1436
|
+
const { params } = useIdExperiment({
|
|
1437
|
+
key: "flipInCapturedState",
|
|
1438
|
+
enabled: state.currentMode !== "passport"
|
|
1439
|
+
});
|
|
1440
|
+
const flipInCapturedState = params.flipInCaptureStateBehavior === "test";
|
|
1441
|
+
if (!state.previewImageUrl && !state.barcodeFastPathCaptured) return null;
|
|
1292
1442
|
const mode = state.currentMode === "passport" ? "passport" : "id";
|
|
1293
1443
|
const getSubtitle = () => {
|
|
1294
1444
|
if (state.needsBackCapture) return t("idv2.capture.processing.successFrontSubtitle");
|
|
@@ -1309,7 +1459,8 @@ var IdSuccess = ({ manager, state, blurImage }) => {
|
|
|
1309
1459
|
subtitle: getSubtitle(),
|
|
1310
1460
|
buttonText: getButtonText(),
|
|
1311
1461
|
onButtonClick: () => manager.nextStep(),
|
|
1312
|
-
blurImage
|
|
1462
|
+
blurImage,
|
|
1463
|
+
fadeOutOnClick: flipInCapturedState
|
|
1313
1464
|
});
|
|
1314
1465
|
};
|
|
1315
1466
|
//#endregion
|
|
@@ -1408,12 +1559,12 @@ var IdNoAttempts = ({ manager }) => {
|
|
|
1408
1559
|
};
|
|
1409
1560
|
//#endregion
|
|
1410
1561
|
//#region src/modules/id/capture/idHint.tsx
|
|
1411
|
-
var FrontHorizontalHintSvg = z(() => import("./front-horizontal-hint-
|
|
1412
|
-
var FrontVerticalHintSvg = z(() => import("./front-vertical-hint-
|
|
1413
|
-
var BackHorizontalHintSvg = z(() => import("./back-horizontal-hint-
|
|
1414
|
-
var BackVerticalHintSvg = z(() => import("./back-vertical-hint-
|
|
1415
|
-
var PassportHorizontalHintSvg = z(() => import("./passport-horizontal-hint-
|
|
1416
|
-
var PassportVerticalHintSvg = z(() => import("./passport-vertical-hint-
|
|
1562
|
+
var FrontHorizontalHintSvg = z(() => import("./front-horizontal-hint-ClzgOBfO.js"));
|
|
1563
|
+
var FrontVerticalHintSvg = z(() => import("./front-vertical-hint-Bg_PjoFD.js"));
|
|
1564
|
+
var BackHorizontalHintSvg = z(() => import("./back-horizontal-hint-DTbSbMez.js"));
|
|
1565
|
+
var BackVerticalHintSvg = z(() => import("./back-vertical-hint-DflUmM1H.js"));
|
|
1566
|
+
var PassportHorizontalHintSvg = z(() => import("./passport-horizontal-hint-BWVt9PyV.js"));
|
|
1567
|
+
var PassportVerticalHintSvg = z(() => import("./passport-vertical-hint-BCO4926p.js"));
|
|
1417
1568
|
var CARD_WIDTH_IN_SVG = {
|
|
1418
1569
|
"front-horizontal": 348,
|
|
1419
1570
|
"back-horizontal": 348,
|
|
@@ -1613,7 +1764,7 @@ var Capture = ({ manager, state }) => {
|
|
|
1613
1764
|
blurImage: state.ageAssurance
|
|
1614
1765
|
});
|
|
1615
1766
|
}
|
|
1616
|
-
if (state.captureStatus === "success" && state.previewImageUrl) return /* @__PURE__ */ u(IdSuccess, {
|
|
1767
|
+
if (state.captureStatus === "success" && (state.previewImageUrl || state.barcodeFastPathCaptured)) return /* @__PURE__ */ u(IdSuccess, {
|
|
1617
1768
|
manager,
|
|
1618
1769
|
state,
|
|
1619
1770
|
blurImage: state.ageAssurance
|
|
@@ -2859,4 +3010,4 @@ var FlipAnimation = ({ manager, direction }) => {
|
|
|
2859
3010
|
});
|
|
2860
3011
|
};
|
|
2861
3012
|
//#endregion
|
|
2862
|
-
export {
|
|
3013
|
+
export { TextArea as _, IdNoAttempts as a, ProgressBar as b, useIdExperiment as c, CaptureFooter as d, CameraOverlayHeader as f, TextAreaComposed as g, VerificationOptionCardList as h, Capture as i, CaptureFrame as l, VerificationOptionCard as m, Chooser as n, IdExpired as o, CameraOverlay as p, Tutorial as r, IdError as s, FlipAnimation as t, ManualCapture as u, SegmentedDateInput as v, Overlay as x, PasswordInputComposed as y };
|
package/dist/extensibility.es.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { i as useTranslation, t as setUiConfig } from "./uiConfig-
|
|
2
|
-
import {
|
|
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
|
|
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 { i as useTranslation, t as setUiConfig } from "./uiConfig-Ar3UWfPc.js";
|
|
2
|
+
import { n as LandscapeBlocker, o as Page, t as IncodeComponent, v as useScreenOrientation, y as useManager } from "./incodeComponent-CaVm81Om.js";
|
|
3
|
+
import { o as Lottie, t as Spacer } from "./spacer-D52odyVb.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-CEzuAsxR.js";
|
|
5
|
+
import { n as ErrorIcon, r as Button } from "./incode-logo-B44XBmUF.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-BP_5DPas.js";
|
|
7
|
+
import { t as Processing } from "./processing-DIUdk0S7.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-CnHH5IUi.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-B9tF0ldx.js";
|
|
11
|
+
import { i as ErrorContent, n as Capture$1, r as BaseTutorial, t as Tutorial$1 } from "./tutorial-CiSCBe8S.js";
|
|
12
|
+
import { t as VerificationResult } from "./verificationResult-Bn1_erQu.js";
|
|
13
|
+
import { t as ConnectionError } from "./connectionError-DbDaaT-B.js";
|
|
14
|
+
import { n as Input, t as InputComposed } from "./inputComposed-CWQkki5v.js";
|
|
15
|
+
import { t as OtpInput } from "./otpInput-Dju8N2oD.js";
|
|
16
|
+
import { t as Checkbox } from "./checkbox-CjLNtXmu.js";
|
|
17
|
+
import { n as RadioButtonComposed, r as FormField, t as RadioGroupComposed } from "./radioGroupComposed-CRePkzYH.js";
|
|
18
|
+
import { i as getCountryByCode, n as countries, r as getCountryByCallingCode, t as PhoneInputComposed } from "./phoneInputComposed-DgMwulFN.js";
|
|
19
|
+
import { t as DropdownComposed } from "./dropdownComposed-B6FF4cVZ.js";
|
|
20
|
+
import { t as DateInputComposed } from "./dateInputComposed-Bmm1u44s.js";
|
|
21
21
|
import { t as BottomSheet } from "./bottomSheet-Cp8DLulN.js";
|
|
22
|
-
import { a as CameraFrame, i as CameraView } from "./captureNotification-
|
|
23
|
-
import { t as Permissions } from "./permissions-
|
|
22
|
+
import { a as CameraFrame, i as CameraView } from "./captureNotification-CZJAUALL.js";
|
|
23
|
+
import { t as Permissions } from "./permissions-CVWfTL-t.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-BHuxQw6x.js";
|
|
2
2
|
export { FaceMatch };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { i as useTranslation } from "./uiConfig-
|
|
1
|
+
import { i as useTranslation } from "./uiConfig-Ar3UWfPc.js";
|
|
2
2
|
import { S as k, _ as y, l as A, v as u } from "./vendor-preact-mvwZ8mJj.js";
|
|
3
|
-
import {
|
|
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-CaVm81Om.js";
|
|
4
|
+
import { s as Asset, t as Spacer } from "./spacer-D52odyVb.js";
|
|
5
|
+
import { n as Title } from "./spinner-CEzuAsxR.js";
|
|
6
|
+
import { r as Button } from "./incode-logo-B44XBmUF.js";
|
|
7
|
+
import { t as registerIncodeModuleElement } from "./incodeModule-B02hDGir.js";
|
|
8
|
+
import { t as Snackbar } from "./snackbar-6nHZdZCi.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-7elKN-uq.js";
|
|
2
2
|
export { FieldComparison };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { i as useTranslation } from "./uiConfig-
|
|
1
|
+
import { i as useTranslation } from "./uiConfig-Ar3UWfPc.js";
|
|
2
2
|
import { v as u } from "./vendor-preact-mvwZ8mJj.js";
|
|
3
|
-
import {
|
|
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-CaVm81Om.js";
|
|
4
|
+
import { t as Spacer } from "./spacer-D52odyVb.js";
|
|
5
|
+
import { r as Button } from "./incode-logo-B44XBmUF.js";
|
|
6
|
+
import "./extensibility-BP_5DPas.js";
|
|
7
|
+
import { t as VerificationResult } from "./verificationResult-Bn1_erQu.js";
|
|
8
|
+
import { t as InputComposed } from "./inputComposed-CWQkki5v.js";
|
|
9
|
+
import { t as registerIncodeModuleElement } from "./incodeModule-B02hDGir.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,12 +1,12 @@
|
|
|
1
|
-
import { i as useTranslation } from "../uiConfig-
|
|
1
|
+
import { i as useTranslation } from "../uiConfig-Ar3UWfPc.js";
|
|
2
2
|
import { v as u } from "../vendor-preact-mvwZ8mJj.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as Spacer } from "../spacer-
|
|
5
|
-
import { r as Button } from "../incode-logo-
|
|
6
|
-
import {
|
|
7
|
-
import { t as VerificationResult } from "../verificationResult-
|
|
8
|
-
import { a as CameraFrame, i as CameraView } from "../captureNotification-
|
|
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-CaVm81Om.js";
|
|
4
|
+
import { t as Spacer } from "../spacer-D52odyVb.js";
|
|
5
|
+
import { r as Button } from "../incode-logo-B44XBmUF.js";
|
|
6
|
+
import { f as CameraOverlayHeader, p as CameraOverlay } from "../extensibility-BP_5DPas.js";
|
|
7
|
+
import { t as VerificationResult } from "../verificationResult-Bn1_erQu.js";
|
|
8
|
+
import { a as CameraFrame, i as CameraView } from "../captureNotification-CZJAUALL.js";
|
|
9
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-B02hDGir.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 { c as readStoredLanguage, i as useTranslation, t as setUiConfig } from "../uiConfig-
|
|
1
|
+
import { c as readStoredLanguage, i as useTranslation, t as setUiConfig } from "../uiConfig-Ar3UWfPc.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,
|
|
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-CaVm81Om.js";
|
|
4
|
+
import { n as ErrorIcon } from "../incode-logo-B44XBmUF.js";
|
|
5
|
+
import { t as StatusPage } from "../statusPage-BpxFc-P6.js";
|
|
6
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-B02hDGir.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-d9qDkGgg.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-ayC3SHjN.js").then((module) => ({ default: module.HomeScreen })));
|
|
334
334
|
var IncodeFlowContent = ({ config, onFinish, onError }) => {
|
|
335
335
|
const { i18n } = useTranslation();
|
|
336
336
|
const initState = useFlowInitialization(T(() => ({
|