@incodetech/web 0.0.0-dev-20260630-e7f88ed1 → 0.0.0-dev-20260701-bdeaa221

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.
Files changed (31) hide show
  1. package/dist/authentication/authentication.es.js +1 -1
  2. package/dist/certificate-issuance/certificate-issuance.es.js +1 -1
  3. package/dist/document-capture/document-capture.es.js +1 -1
  4. package/dist/{documentCapture-Cjo3gsn9.js → documentCapture-CohAcyLD.js} +2 -2
  5. package/dist/documentCapture-KR_zHvpu.js +2 -0
  6. package/dist/{dynamicForms-CDAJfFa9.js → dynamicForms-BaxWVHQf.js} +1 -1
  7. package/dist/ekyb/ekyb.es.js +1 -1
  8. package/dist/ekybModule-DEW9RKRp.js +2 -0
  9. package/dist/{ekybModule-DBn3RAik.js → ekybModule-RrHzyOYA.js} +1 -1
  10. package/dist/email/email.es.js +1 -1
  11. package/dist/{emailInput-XXM8f9aK.js → emailInput-9xyoY-ER.js} +1 -1
  12. package/dist/{extensibility-BLiIYbUG.js → extensibility-XhWGjN_a.js} +1 -1
  13. package/dist/extensibility.es.js +2 -2
  14. package/dist/field-comparison/field-comparison.es.js +1 -1
  15. package/dist/fieldComparison-BYLpwRzr.js +2 -0
  16. package/dist/{fieldComparison-Dgfu8caY.js → fieldComparison-CEz2MqzD.js} +1 -1
  17. package/dist/fiscal-qr/fiscal-qr.es.js +1 -1
  18. package/dist/flow/flow.es.js +2 -3
  19. package/dist/government-validation/government-validation.es.js +1 -1
  20. package/dist/id/id.es.js +2 -2
  21. package/dist/{idOcr-DnCJiO-i.js → idOcr-BQ9o6mpT.js} +1 -1
  22. package/dist/redirect-to-mobile/redirect-to-mobile.es.js +1 -1
  23. package/dist/selfie/selfie.es.js +1 -1
  24. package/dist/signature/signature.es.js +1 -1
  25. package/dist/{tutorial-CDDMCCUm.js → tutorial-D0oZb8ux.js} +5 -0
  26. package/dist/{useModuleLoader-CV5zWJ_U.js → useModuleLoader-BeDlINB-.js} +22 -9
  27. package/dist/workflow/workflow.es.js +2 -3
  28. package/package.json +2 -2
  29. package/dist/documentCapture-D_hbXITC.js +0 -2
  30. package/dist/ekybModule-BjEkQBpc.js +0 -2
  31. package/dist/fieldComparison-G97E1Eq_.js +0 -2
@@ -1,7 +1,7 @@
1
1
  import { v as u } from "../vendor-preact-DThS2ZQ_.js";
2
2
  import { c as useModuleTerminalCallbacks, s as isTerminalModuleState, u as useManager } from "../hooks-CNu7o-v8.js";
3
3
  import { t as IncodeComponent } from "../incodeComponent-CfzJGETt.js";
4
- import { n as Capture, t as Tutorial } from "../tutorial-CDDMCCUm.js";
4
+ import { n as Capture, t as Tutorial } from "../tutorial-D0oZb8ux.js";
5
5
  import { i as Permissions } from "../capture-RVEnDNR2.js";
6
6
  import { t as registerIncodeModuleElement } from "../incodeModule-B-4_3JrK.js";
7
7
  import { createAuthenticationManager } from "@incodetech/core/authentication";
@@ -4,7 +4,7 @@ import { c as useModuleTerminalCallbacks, u as useManager } from "../hooks-CNu7o
4
4
  import { t as IncodeComponent } from "../incodeComponent-CfzJGETt.js";
5
5
  import { r as Spacer } from "../loadingIcon-B0ysgiNq.js";
6
6
  import { t as Page } from "../page-DidH_RkX.js";
7
- import "../extensibility-BLiIYbUG.js";
7
+ import "../extensibility-XhWGjN_a.js";
8
8
  import { a as TypographyH5, o as TypographyP } from "../typography-BZIpjo97.js";
9
9
  import { t as Button } from "../button-Dz6AsbmF.js";
10
10
  import "../icons-CJJbIpBq.js";
@@ -1,2 +1,2 @@
1
- import { t as DocumentCapture } from "../documentCapture-Cjo3gsn9.js";
1
+ import { t as DocumentCapture } from "../documentCapture-CohAcyLD.js";
2
2
  export { DocumentCapture };
@@ -4,12 +4,12 @@ import { a as useIsMobileDeviceWidth, c as useModuleTerminalCallbacks, u as useM
4
4
  import { t as IncodeComponent } from "./incodeComponent-CfzJGETt.js";
5
5
  import { n as cn, r as Spacer } from "./loadingIcon-B0ysgiNq.js";
6
6
  import { t as Page } from "./page-DidH_RkX.js";
7
- import { _ as ProgressBar, d as CameraOverlay, l as CaptureFooter, u as CameraOverlayHeader, v as Overlay } from "./extensibility-BLiIYbUG.js";
7
+ import { _ as ProgressBar, d as CameraOverlay, l as CaptureFooter, u as CameraOverlayHeader, v as Overlay } from "./extensibility-XhWGjN_a.js";
8
8
  import { t as Spinner } from "./spinner-BRNNKqPN.js";
9
9
  import { t as Button } from "./button-Dz6AsbmF.js";
10
10
  import { a as FileIcon, p as CameraIcon, r as LockIcon } from "./icons-CJJbIpBq.js";
11
11
  import { t as SuccessIcon } from "./successIcon-B5mGvdx1.js";
12
- import { a as ErrorContent } from "./tutorial-CDDMCCUm.js";
12
+ import { a as ErrorContent } from "./tutorial-D0oZb8ux.js";
13
13
  import { t as BottomSheet } from "./bottomSheet-CnWbbUAM.js";
14
14
  import { n as CameraFrame, t as CameraView } from "./cameraView-DIEzM5ru.js";
15
15
  import { i as Permissions } from "./capture-RVEnDNR2.js";
@@ -0,0 +1,2 @@
1
+ import { t as DocumentCapture } from "./documentCapture-CohAcyLD.js";
2
+ export { DocumentCapture };
@@ -12,7 +12,7 @@ import { t as DropdownComposed } from "./dropdownComposed-CoU0enG6.js";
12
12
  import { t as DateInputComposed } from "./dateInputComposed-DuaofcBl.js";
13
13
  import { t as registerIncodeModuleElement } from "./incodeModule-B-4_3JrK.js";
14
14
  import { n as getRequiredHintMode, t as getFieldHint } from "./requiredLabelHint-D0RhuMed.js";
15
- import { t as EmailInput } from "./emailInput-XXM8f9aK.js";
15
+ import { t as EmailInput } from "./emailInput-9xyoY-ER.js";
16
16
  import { formatCPF, isValidCPF } from "@incodetech/core/cpf-ocr";
17
17
  import { createDynamicFormsManager } from "@incodetech/core/dynamic-forms";
18
18
  //#region src/modules/dynamic-forms/dynamicForms.tsx
@@ -1,2 +1,2 @@
1
- import { t as EkybModule } from "../ekybModule-DBn3RAik.js";
1
+ import { t as EkybModule } from "../ekybModule-RrHzyOYA.js";
2
2
  export { EkybModule };
@@ -0,0 +1,2 @@
1
+ import { t as EkybModule } from "./ekybModule-RrHzyOYA.js";
2
+ export { EkybModule };
@@ -4,7 +4,7 @@ import { c as useModuleTerminalCallbacks, o as useFormScrollable, u as useManage
4
4
  import { t as IncodeComponent } from "./incodeComponent-CfzJGETt.js";
5
5
  import { r as Spacer } from "./loadingIcon-B0ysgiNq.js";
6
6
  import { t as Page } from "./page-DidH_RkX.js";
7
- import "./extensibility-BLiIYbUG.js";
7
+ import "./extensibility-XhWGjN_a.js";
8
8
  import { t as Spinner } from "./spinner-BRNNKqPN.js";
9
9
  import { t as Button } from "./button-Dz6AsbmF.js";
10
10
  import { t as VerificationResult } from "./verificationResult-M9HdZino.js";
@@ -7,7 +7,7 @@ import { t as Page } from "../page-DidH_RkX.js";
7
7
  import { t as Button } from "../button-Dz6AsbmF.js";
8
8
  import { t as OtpInput } from "../otpInput-CnDc6pQm.js";
9
9
  import { t as registerIncodeModuleElement } from "../incodeModule-B-4_3JrK.js";
10
- import { t as EmailInput } from "../emailInput-XXM8f9aK.js";
10
+ import { t as EmailInput } from "../emailInput-9xyoY-ER.js";
11
11
  import { createEmailManager } from "@incodetech/core/email";
12
12
  //#region src/modules/email/email.tsx
13
13
  /**
@@ -1,6 +1,6 @@
1
1
  import { n as useTranslation } from "./i18n-CU4xq8qC.js";
2
2
  import { v as u } from "./vendor-preact-DThS2ZQ_.js";
3
- import "./extensibility-BLiIYbUG.js";
3
+ import "./extensibility-XhWGjN_a.js";
4
4
  import { t as InputComposed } from "./inputComposed-C1R2LAa3.js";
5
5
  //#region src/modules/email/emailInput.tsx
6
6
  var EMAIL_REGEX = /^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/;
@@ -14,7 +14,7 @@ import { t as ErrorIcon } from "./errorIcon-BA4T6iy-.js";
14
14
  import { f as CaptureButtonIcon, i as HelpIcon, m as CalendarIcon, r as LockIcon, s as ChevronRightIcon, t as SvgLightningIcon } from "./icons-CJJbIpBq.js";
15
15
  import { t as SuccessIcon } from "./successIcon-B5mGvdx1.js";
16
16
  import { t as Modal } from "./modal-OxkFuuiR.js";
17
- import { i as Lottie, r as BaseTutorial } from "./tutorial-CDDMCCUm.js";
17
+ import { i as Lottie, r as BaseTutorial } from "./tutorial-D0oZb8ux.js";
18
18
  import "./verificationResult-M9HdZino.js";
19
19
  import "./inputComposed-C1R2LAa3.js";
20
20
  import "./inputComposed-BaY5q9WM.js";
@@ -4,7 +4,7 @@ import { l as useScreenOrientation, u as useManager } from "./hooks-CNu7o-v8.js"
4
4
  import { n as LandscapeBlocker, t as IncodeComponent } from "./incodeComponent-CfzJGETt.js";
5
5
  import { r as Spacer } from "./loadingIcon-B0ysgiNq.js";
6
6
  import { t as Page } from "./page-DidH_RkX.js";
7
- import { _ as ProgressBar, c as ManualCapture, d as CameraOverlay, f as VerificationOptionCard, g as SegmentedDateInput, h as TextArea, i as Capture, l as CaptureFooter, m as TextAreaComposed, n as Chooser, o as IdExpired, p as VerificationOptionCardList, r as Tutorial, s as IdError, t as FlipAnimation, u as CameraOverlayHeader, v as Overlay } from "./extensibility-BLiIYbUG.js";
7
+ import { _ as ProgressBar, c as ManualCapture, d as CameraOverlay, f as VerificationOptionCard, g as SegmentedDateInput, h as TextArea, i as Capture, l as CaptureFooter, m as TextAreaComposed, n as Chooser, o as IdExpired, p as VerificationOptionCardList, r as Tutorial, s as IdError, t as FlipAnimation, u as CameraOverlayHeader, v as Overlay } from "./extensibility-XhWGjN_a.js";
8
8
  import { a as TypographyH5, i as TypographyH4, n as TypographyH1, o as TypographyP, r as TypographyH3, t as Title } from "./typography-BZIpjo97.js";
9
9
  import { t as Spinner } from "./spinner-BRNNKqPN.js";
10
10
  import { t as Processing } from "./processing-Bxr52oQG.js";
@@ -13,7 +13,7 @@ import { t as ErrorIcon } from "./errorIcon-BA4T6iy-.js";
13
13
  import { a as FileIcon, c as ChevronLeftIcon, d as CheckmarkIcon, f as CaptureButtonIcon, h as WarningIcon, i as HelpIcon, l as ChevronDown, m as CalendarIcon, n as SearchIcon, o as CloseIcon, p as CameraIcon, r as LockIcon, s as ChevronRightIcon, t as SvgLightningIcon, u as CheckmarkCompactIcon } from "./icons-CJJbIpBq.js";
14
14
  import { t as SuccessIcon } from "./successIcon-B5mGvdx1.js";
15
15
  import { t as Modal } from "./modal-OxkFuuiR.js";
16
- import { a as ErrorContent, i as Lottie, n as Capture$1, r as BaseTutorial, t as Tutorial$1 } from "./tutorial-CDDMCCUm.js";
16
+ import { a as ErrorContent, i as Lottie, n as Capture$1, r as BaseTutorial, t as Tutorial$1 } from "./tutorial-D0oZb8ux.js";
17
17
  import { t as VerificationResult } from "./verificationResult-M9HdZino.js";
18
18
  import { n as Input, t as InputComposed } from "./inputComposed-C1R2LAa3.js";
19
19
  import { t as OtpInput } from "./otpInput-CnDc6pQm.js";
@@ -1,2 +1,2 @@
1
- import { t as FieldComparison } from "../fieldComparison-Dgfu8caY.js";
1
+ import { t as FieldComparison } from "../fieldComparison-CEz2MqzD.js";
2
2
  export { FieldComparison };
@@ -0,0 +1,2 @@
1
+ import { t as FieldComparison } from "./fieldComparison-CEz2MqzD.js";
2
+ export { FieldComparison };
@@ -4,7 +4,7 @@ import { c as useModuleTerminalCallbacks, u as useManager } from "./hooks-CNu7o-
4
4
  import { t as IncodeComponent } from "./incodeComponent-CfzJGETt.js";
5
5
  import { r as Spacer } from "./loadingIcon-B0ysgiNq.js";
6
6
  import { t as Page } from "./page-DidH_RkX.js";
7
- import "./extensibility-BLiIYbUG.js";
7
+ import "./extensibility-XhWGjN_a.js";
8
8
  import { t as Button } from "./button-Dz6AsbmF.js";
9
9
  import { t as VerificationResult } from "./verificationResult-M9HdZino.js";
10
10
  import { t as InputComposed } from "./inputComposed-C1R2LAa3.js";
@@ -4,7 +4,7 @@ import { c as useModuleTerminalCallbacks, u as useManager } from "../hooks-CNu7o
4
4
  import { t as IncodeComponent } from "../incodeComponent-CfzJGETt.js";
5
5
  import { r as Spacer } from "../loadingIcon-B0ysgiNq.js";
6
6
  import { t as Page } from "../page-DidH_RkX.js";
7
- import { d as CameraOverlay, u as CameraOverlayHeader } from "../extensibility-BLiIYbUG.js";
7
+ import { d as CameraOverlay, u as CameraOverlayHeader } from "../extensibility-XhWGjN_a.js";
8
8
  import { t as Button } from "../button-Dz6AsbmF.js";
9
9
  import { t as VerificationResult } from "../verificationResult-M9HdZino.js";
10
10
  import { n as CameraFrame, t as CameraView } from "../cameraView-DIEzM5ru.js";
@@ -5,8 +5,7 @@ import { u as useManager } from "../hooks-CNu7o-v8.js";
5
5
  import { t as IncodeComponent } from "../incodeComponent-CfzJGETt.js";
6
6
  import { t as TransitionSpinner } from "../transitionSpinner-6-Pw_VTz.js";
7
7
  import { t as registerIncodeModuleElement } from "../incodeModule-B-4_3JrK.js";
8
- 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, y as TerminalErrorPage } from "../useModuleLoader-CV5zWJ_U.js";
9
- import { getDeviceClass } from "@incodetech/core/device";
8
+ import { a as resolveApiKey, b as TerminalErrorPage, c as HEADLESS_FLOW_MODULE_KEYS, d as fetchTheme, f as initializeFlowManager, g as preloadRedirectToMobile, h as preloadHomeScreen, l as LAZY_UI_MODULES, m as preloadFirstModule, n as useModulePreloader, o as extractIncodeStatus, p as isDesktopOrEmulated, r as usePrefetchNextModule, s as UnsupportedModule, t as useModuleLoader, u as createFlowManager, v as warmupWasmIfNeeded } from "../useModuleLoader-BeDlINB-.js";
10
9
  import { getRequiredWasmPipelines } from "@incodetech/core/flow";
11
10
  import { bootstrapSession, refreshQrUrlUuid } from "@incodetech/core/session";
12
11
  //#region src/shared/processing/useDelayedFlag.ts
@@ -160,7 +159,7 @@ function maybePreloadHomeScreen(flowManager) {
160
159
  if (flowManager.getState().presentation.shouldPrefetchHome) preloadHomeScreen();
161
160
  }
162
161
  function maybePreloadRedirectToMobile() {
163
- if (getDeviceClass() === "desktop") preloadRedirectToMobile();
162
+ if (isDesktopOrEmulated()) preloadRedirectToMobile();
164
163
  }
165
164
  function useFlowInitialization(options) {
166
165
  const { lang, disableDashboardTheme, enableHome, onError, useCPF } = options;
@@ -4,7 +4,7 @@ import { c as useModuleTerminalCallbacks, u as useManager } from "../hooks-CNu7o
4
4
  import { t as IncodeComponent } from "../incodeComponent-CfzJGETt.js";
5
5
  import { r as Spacer } from "../loadingIcon-B0ysgiNq.js";
6
6
  import { t as Page } from "../page-DidH_RkX.js";
7
- import "../extensibility-BLiIYbUG.js";
7
+ import "../extensibility-XhWGjN_a.js";
8
8
  import { t as AutoFocusTitle } from "../autoFocusTitle-CuRu2lPg.js";
9
9
  import { t as VerificationResult } from "../verificationResult-M9HdZino.js";
10
10
  import { t as OtpInput } from "../otpInput-CnDc6pQm.js";
package/dist/id/id.es.js CHANGED
@@ -4,7 +4,7 @@ import { c as useModuleTerminalCallbacks, u as useManager } from "../hooks-CNu7o
4
4
  import { t as IncodeComponent } from "../incodeComponent-CfzJGETt.js";
5
5
  import { n as cn } from "../loadingIcon-B0ysgiNq.js";
6
6
  import { t as Page } from "../page-DidH_RkX.js";
7
- import { _ as ProgressBar, a as IdNoAttempts, i as Capture, n as Chooser, o as IdExpired, r as Tutorial, s as IdError, t as FlipAnimation } from "../extensibility-BLiIYbUG.js";
7
+ import { _ as ProgressBar, a as IdNoAttempts, i as Capture, n as Chooser, o as IdExpired, r as Tutorial, s as IdError, t as FlipAnimation } from "../extensibility-XhWGjN_a.js";
8
8
  import { t as Spinner } from "../spinner-BRNNKqPN.js";
9
9
  import "../spinner-zRaUjXtH.js";
10
10
  import { t as TransitionSpinner } from "../transitionSpinner-6-Pw_VTz.js";
@@ -13,7 +13,7 @@ import { t as Button } from "../button-Dz6AsbmF.js";
13
13
  import { t as ErrorIcon } from "../errorIcon-BA4T6iy-.js";
14
14
  import { s as ChevronRightIcon } from "../icons-CJJbIpBq.js";
15
15
  import { t as SuccessIcon } from "../successIcon-B5mGvdx1.js";
16
- import { a as ErrorContent, i as Lottie } from "../tutorial-CDDMCCUm.js";
16
+ import { a as ErrorContent, i as Lottie } from "../tutorial-D0oZb8ux.js";
17
17
  import { i as Permissions } from "../capture-RVEnDNR2.js";
18
18
  import { t as PdfViewer } from "../pdfViewer-LTQA54iS.js";
19
19
  import { t as registerIncodeModuleElement } from "../incodeModule-B-4_3JrK.js";
@@ -3,7 +3,7 @@ import { d as T, v as u } from "./vendor-preact-DThS2ZQ_.js";
3
3
  import { c as useModuleTerminalCallbacks, u as useManager } from "./hooks-CNu7o-v8.js";
4
4
  import { t as IncodeComponent } from "./incodeComponent-CfzJGETt.js";
5
5
  import { t as Page } from "./page-DidH_RkX.js";
6
- import "./extensibility-BLiIYbUG.js";
6
+ import "./extensibility-XhWGjN_a.js";
7
7
  import { t as Button } from "./button-Dz6AsbmF.js";
8
8
  import { t as VerificationResult } from "./verificationResult-M9HdZino.js";
9
9
  import { t as InputComposed } from "./inputComposed-C1R2LAa3.js";
@@ -6,7 +6,7 @@ import { t as IncodeComponent } from "../incodeComponent-CfzJGETt.js";
6
6
  import { r as Spacer } from "../loadingIcon-B0ysgiNq.js";
7
7
  import { t as incode_logo_default } from "../incode-logo-57XFniXU.js";
8
8
  import { n as VerifiedByIncodeLogo, r as usePageUiConfig } from "../page-DidH_RkX.js";
9
- import "../extensibility-BLiIYbUG.js";
9
+ import "../extensibility-XhWGjN_a.js";
10
10
  import { t as TransitionSpinner } from "../transitionSpinner-6-Pw_VTz.js";
11
11
  import { t as Button } from "../button-Dz6AsbmF.js";
12
12
  import "../icons-CJJbIpBq.js";
@@ -3,7 +3,7 @@ import { c as useModuleTerminalCallbacks, s as isTerminalModuleState, u as useMa
3
3
  import { t as IncodeComponent } from "../incodeComponent-CfzJGETt.js";
4
4
  import { t as TransitionSpinner } from "../transitionSpinner-6-Pw_VTz.js";
5
5
  import { t as Processing } from "../processing-Bxr52oQG.js";
6
- import { n as Capture, t as Tutorial } from "../tutorial-CDDMCCUm.js";
6
+ import { n as Capture, t as Tutorial } from "../tutorial-D0oZb8ux.js";
7
7
  import { i as Permissions } from "../capture-RVEnDNR2.js";
8
8
  import { t as registerIncodeModuleElement } from "../incodeModule-B-4_3JrK.js";
9
9
  import { createSelfieManager } from "@incodetech/core/selfie";
@@ -4,7 +4,7 @@ import { c as useModuleTerminalCallbacks, u as useManager } from "../hooks-CNu7o
4
4
  import { t as IncodeComponent } from "../incodeComponent-CfzJGETt.js";
5
5
  import { r as Spacer } from "../loadingIcon-B0ysgiNq.js";
6
6
  import { t as Page } from "../page-DidH_RkX.js";
7
- import "../extensibility-BLiIYbUG.js";
7
+ import "../extensibility-XhWGjN_a.js";
8
8
  import { t as Button } from "../button-Dz6AsbmF.js";
9
9
  import { t as VerificationResult } from "../verificationResult-M9HdZino.js";
10
10
  import { t as registerIncodeModuleElement } from "../incodeModule-B-4_3JrK.js";
@@ -554,6 +554,7 @@ var Capture = ({ manager, state }) => {
554
554
  const [isManualCapturing, setIsManualCapturing] = d(false);
555
555
  const { t } = useTranslation();
556
556
  const manualCaptureRef = A(null);
557
+ const lensLanded = obfuscateWithAvatar && avatarVariant === "privacy-lens" && !!avatarCanvas;
557
558
  y(() => {
558
559
  if (detectionStatus === "manualCapture") manualCaptureRef.current?.focus();
559
560
  }, [detectionStatus]);
@@ -577,6 +578,10 @@ var Capture = ({ manager, state }) => {
577
578
  children: t("selfiev2.capture.title")
578
579
  }),
579
580
  /* @__PURE__ */ u(Spacer, { size: 48 }),
581
+ lensLanded ? /* @__PURE__ */ u("p", {
582
+ class: "IncodePrivacyLensBanner",
583
+ children: t("selfiev2.capture.privacyLensMessage")
584
+ }) : null,
580
585
  /* @__PURE__ */ u("div", {
581
586
  class: "IncodeCaptureContainer",
582
587
  children: [
@@ -5,7 +5,7 @@ import { t as Page } from "./page-DidH_RkX.js";
5
5
  import { t as Button } from "./button-Dz6AsbmF.js";
6
6
  import { t as ErrorIcon } from "./errorIcon-BA4T6iy-.js";
7
7
  import { initializeWasmUtil, resolveWasmConfig, setWasmConfig, upgradeToWasmHttpClient, warmupWasm } from "@incodetech/core/wasm";
8
- import { getDeviceClass } from "@incodetech/core/device";
8
+ import { getDeviceClass, isBrowserSimulated } from "@incodetech/core/device";
9
9
  import { createOrchestratedFlowManager, getFlow, getRequiredWasmPipelines } from "@incodetech/core/flow";
10
10
  import { getFinishStatus, initializeSession } from "@incodetech/core/session";
11
11
  import { api } from "@incodetech/core/http";
@@ -296,14 +296,14 @@ var LAZY_UI_MODULES = {
296
296
  INE_VALIDATION: () => import("./government-validation/government-validation.es.js").then((m) => m.GovernmentValidation),
297
297
  GEOLOCATION: () => import("./geolocation/geolocation.es.js").then((m) => m.Geolocation),
298
298
  EXTERNAL_VERIFICATION: () => import("./ekycModule-DjgDlyJZ.js").then((m) => m.EkycModule),
299
- EKYB: () => import("./ekybModule-BjEkQBpc.js").then((m) => m.EkybModule),
300
- DOCUMENT_CAPTURE: () => import("./documentCapture-D_hbXITC.js").then((m) => m.DocumentCapture),
301
- ADDRESS: () => import("./documentCapture-D_hbXITC.js").then((m) => m.DocumentCapture),
299
+ EKYB: () => import("./ekybModule-DEW9RKRp.js").then((m) => m.EkybModule),
300
+ DOCUMENT_CAPTURE: () => import("./documentCapture-KR_zHvpu.js").then((m) => m.DocumentCapture),
301
+ ADDRESS: () => import("./documentCapture-KR_zHvpu.js").then((m) => m.DocumentCapture),
302
302
  COMBINED_CONSENT: () => import("./consent/consent.es.js").then((m) => m.Consent),
303
303
  MANDATORY_CONSENT: () => import("./mandatoryConsent-DsF3O9xr.js").then((m) => m.MandatoryConsent),
304
304
  ML_CONSENT: () => import("./mandatoryConsent-DsF3O9xr.js").then((m) => m.MandatoryConsent),
305
305
  SIGNATURE: () => import("./signature/signature.es.js").then((m) => m.Signature),
306
- ID_OCR: () => import("./idOcr-DnCJiO-i.js").then((m) => m.IdOcr),
306
+ ID_OCR: () => import("./idOcr-BQ9o6mpT.js").then((m) => m.IdOcr),
307
307
  CPF_OCR: () => import("./cpfOcr-ByQpyh1h.js").then((m) => m.CpfOcr),
308
308
  ANTIFRAUD: () => import("./antifraud/antifraud.es.js").then((m) => m.Antifraud),
309
309
  CUSTOM_FIELDS: () => import("./customFields-BDsXR7A-.js").then((m) => m.CustomFields),
@@ -313,9 +313,9 @@ var LAZY_UI_MODULES = {
313
313
  AE_SIGNATURE: () => import("./ae-signature/ae-signature.es.js").then((m) => m.AeSignature),
314
314
  QE_SIGNATURE: () => import("./qe-signature/qe-signature.es.js").then((m) => m.QeSignature),
315
315
  CROSS_DOCUMENT_DATA_MATCH: () => import("./cross-document-data-match/cross-document-data-match.es.js").then((m) => m.CrossDocumentDataMatch),
316
- DYNAMIC_FORMS: () => import("./dynamicForms-CDAJfFa9.js").then((m) => m.DynamicForms),
316
+ DYNAMIC_FORMS: () => import("./dynamicForms-BaxWVHQf.js").then((m) => m.DynamicForms),
317
317
  CERTIFICATE_ISSUANCE: () => import("./certificate-issuance/certificate-issuance.es.js").then((m) => m.CertificateIssuance),
318
- FIELD_COMPARISON: () => import("./fieldComparison-G97E1Eq_.js").then((m) => m.FieldComparison),
318
+ FIELD_COMPARISON: () => import("./fieldComparison-BYLpwRzr.js").then((m) => m.FieldComparison),
319
319
  FISCAL_QR: () => import("./fiscal-qr/fiscal-qr.es.js").then((m) => m.FiscalQr),
320
320
  VIDEO_ONBOARDING: () => import("./video-selfie/video-selfie.es.js").then((m) => m.VideoSelfie)
321
321
  };
@@ -347,9 +347,22 @@ function preloadRedirectToMobile() {
347
347
  redirectToMobilePreloadPromise = void 0;
348
348
  });
349
349
  }
350
+ /**
351
+ * Whether the current browser should be treated as a desktop for the
352
+ * desktop-to-mobile redirect decision.
353
+ *
354
+ * A desktop browser emulating a phone (Chrome DevTools device toolbar) spoofs
355
+ * the user agent, so `getDeviceClass()` alone would report mobile and skip the
356
+ * dashboard-configured redirect. Treating a detected emulation as desktop keeps
357
+ * the redirect from being bypassed that way. Shared by the flow + workflow init
358
+ * paths so the "treat as desktop" rule lives in one place.
359
+ */
360
+ function isDesktopOrEmulated() {
361
+ return getDeviceClass() === "desktop" || isBrowserSimulated();
362
+ }
350
363
  function createFlowManager(options = {}) {
351
364
  const scopedLazyModules = {};
352
- const isDesktop = options.isDesktop ?? getDeviceClass() === "desktop";
365
+ const isDesktop = options.isDesktop ?? isDesktopOrEmulated();
353
366
  const { enableHome, ...flowFetchOptions } = options;
354
367
  let endScreen = {
355
368
  endScreenTitle: null,
@@ -673,4 +686,4 @@ function usePrefetchNextModule(steps, currentStepIndex, modules, currentModuleLo
673
686
  ]);
674
687
  }
675
688
  //#endregion
676
- export { warmupWasmIfNeeded as _, resolveApiKey as a, HEADLESS_FLOW_MODULE_KEYS as c, fetchTheme as d, initializeFlowManager as f, setupSDK as g, preloadRedirectToMobile as h, HEADLESS_WORKFLOW_MODULE_KEYS as i, LAZY_UI_MODULES as l, preloadHomeScreen as m, useModulePreloader as n, extractIncodeStatus as o, preloadFirstModule as p, usePrefetchNextModule as r, UnsupportedModule as s, useModuleLoader as t, createFlowManager as u, fetchAndApplyTheme as v, TerminalErrorPage as y };
689
+ export { setupSDK as _, resolveApiKey as a, TerminalErrorPage as b, HEADLESS_FLOW_MODULE_KEYS as c, fetchTheme as d, initializeFlowManager as f, preloadRedirectToMobile as g, preloadHomeScreen as h, HEADLESS_WORKFLOW_MODULE_KEYS as i, LAZY_UI_MODULES as l, preloadFirstModule as m, useModulePreloader as n, extractIncodeStatus as o, isDesktopOrEmulated as p, usePrefetchNextModule as r, UnsupportedModule as s, useModuleLoader as t, createFlowManager as u, warmupWasmIfNeeded as v, fetchAndApplyTheme as y };
@@ -7,9 +7,8 @@ import { t as Page } from "../page-DidH_RkX.js";
7
7
  import { t as TransitionSpinner } from "../transitionSpinner-6-Pw_VTz.js";
8
8
  import { t as AutoFocusTitle } from "../autoFocusTitle-CuRu2lPg.js";
9
9
  import { t as registerIncodeModuleElement } from "../incodeModule-B-4_3JrK.js";
10
- import { a as resolveApiKey, g as setupSDK, i as HEADLESS_WORKFLOW_MODULE_KEYS, l as LAZY_UI_MODULES, o as extractIncodeStatus, s as UnsupportedModule, t as useModuleLoader, v as fetchAndApplyTheme, y as TerminalErrorPage } from "../useModuleLoader-CV5zWJ_U.js";
10
+ import { _ as setupSDK, a as resolveApiKey, b as TerminalErrorPage, i as HEADLESS_WORKFLOW_MODULE_KEYS, l as LAZY_UI_MODULES, o as extractIncodeStatus, p as isDesktopOrEmulated, s as UnsupportedModule, t as useModuleLoader, y as fetchAndApplyTheme } from "../useModuleLoader-BeDlINB-.js";
11
11
  import { resolveWasmConfig, upgradeToWasmHttpClient, warmupWasm } from "@incodetech/core/wasm";
12
- import { getDeviceClass } from "@incodetech/core/device";
13
12
  import { classifyScoreStatus } from "@incodetech/core/flow";
14
13
  import { bootstrapSession, refreshQrUrlUuid } from "@incodetech/core/session";
15
14
  import { createWorkflowManager } from "@incodetech/core/workflow";
@@ -149,7 +148,7 @@ function createWorkflowUIManager(options = {}) {
149
148
  return createWorkflowManager({
150
149
  customModuleCallback: options.customModuleCallback,
151
150
  interviewId: options.interviewId,
152
- isDesktop: options.isDesktop ?? getDeviceClass() === "desktop"
151
+ isDesktop: options.isDesktop ?? isDesktopOrEmulated()
153
152
  });
154
153
  }
155
154
  function warmupWorkflowWasm(wasmConfig) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/web",
3
- "version": "0.0.0-dev-20260630-e7f88ed1",
3
+ "version": "0.0.0-dev-20260701-bdeaa221",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/IncodeTechnologies/incode-web-sdk.git"
@@ -291,7 +291,7 @@
291
291
  "qrcode": "^1.5.4",
292
292
  "signature_pad": "^5.1.3",
293
293
  "tailwindcss": "^4.1.17",
294
- "@incodetech/core": "0.0.0-dev-20260630-e7f88ed1"
294
+ "@incodetech/core": "0.0.0-dev-20260701-bdeaa221"
295
295
  },
296
296
  "devDependencies": {
297
297
  "@microsoft/api-extractor": "^7.53.3",
@@ -1,2 +0,0 @@
1
- import { t as DocumentCapture } from "./documentCapture-Cjo3gsn9.js";
2
- export { DocumentCapture };
@@ -1,2 +0,0 @@
1
- import { t as EkybModule } from "./ekybModule-DBn3RAik.js";
2
- export { EkybModule };
@@ -1,2 +0,0 @@
1
- import { t as FieldComparison } from "./fieldComparison-Dgfu8caY.js";
2
- export { FieldComparison };