@incodetech/web 0.0.0-dev-20260626-da30041d → 0.0.0-dev-20260629-eb925e50

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 (37) hide show
  1. package/dist/authentication/authentication.es.js +1 -1
  2. package/dist/base.css +5 -1
  3. package/dist/certificate-issuance/certificate-issuance.es.js +1 -1
  4. package/dist/document-capture/document-capture.es.js +1 -1
  5. package/dist/{documentCapture-CYclogp7.js → documentCapture-BkRkd0Qx.js} +2 -2
  6. package/dist/documentCapture-RpqoYlXR.js +2 -0
  7. package/dist/{dynamicForms-BQv-wsBl.js → dynamicForms-SmaO8p4v.js} +1 -1
  8. package/dist/ekyb/ekyb.es.js +1 -1
  9. package/dist/{ekybModule-CEb7KvEp.js → ekybModule-CxH-kSSd.js} +1 -1
  10. package/dist/ekybModule-D_TN29rO.js +2 -0
  11. package/dist/email/email.es.js +1 -1
  12. package/dist/{emailInput-DAuSH3Cg.js → emailInput-B3oo7VFm.js} +1 -1
  13. package/dist/{extensibility-BAAGWrEk.js → extensibility-3rfqIVQV.js} +1 -1
  14. package/dist/extensibility.es.js +2 -2
  15. package/dist/face-match/styles.css +4 -0
  16. package/dist/field-comparison/field-comparison.es.js +1 -1
  17. package/dist/{fieldComparison-CS_pL3oH.js → fieldComparison-Bczmo2t5.js} +1 -1
  18. package/dist/fieldComparison-C3pECIF4.js +2 -0
  19. package/dist/fiscal-qr/fiscal-qr.es.js +1 -1
  20. package/dist/flow/flow.es.js +1 -1
  21. package/dist/flow/styles.css +5 -21
  22. package/dist/governmentValidation/governmentValidation.es.js +1 -1
  23. package/dist/id/id.es.js +2 -2
  24. package/dist/id/styles.css +1 -9
  25. package/dist/{idOcr-XA2Xs3h-.js → idOcr-D6dnubi6.js} +1 -1
  26. package/dist/redirect-to-mobile/redirect-to-mobile.es.js +1 -1
  27. package/dist/selfie/selfie.es.js +1 -1
  28. package/dist/selfie/styles.css +4 -12
  29. package/dist/signature/signature.es.js +1 -1
  30. package/dist/{tutorial-lK0cKQhw.js → tutorial-CDnd3u3f.js} +108 -3
  31. package/dist/{useModuleLoader-D2dAsd4A.js → useModuleLoader-w57va3eB.js} +6 -6
  32. package/dist/workflow/styles.css +5 -21
  33. package/dist/workflow/workflow.es.js +1 -1
  34. package/package.json +2 -2
  35. package/dist/documentCapture-CIo4u9dy.js +0 -2
  36. package/dist/ekybModule-UEW1CfUF.js +0 -2
  37. package/dist/fieldComparison-DwbYI5GV.js +0 -2
@@ -1,7 +1,7 @@
1
1
  import { v as u } from "../vendor-preact-DThS2ZQ_.js";
2
2
  import { a as isTerminalModuleState, c as useManager, o as useModuleTerminalCallbacks } from "../hooks-Da_yP_Dr.js";
3
3
  import { t as IncodeComponent } from "../incodeComponent-Cmi1rlWs.js";
4
- import { n as Capture, r as Permissions, t as Tutorial } from "../tutorial-lK0cKQhw.js";
4
+ import { n as Capture, r as Permissions, t as Tutorial } from "../tutorial-CDnd3u3f.js";
5
5
  import { t as registerIncodeModuleElement } from "../incodeModule-M8DszCee.js";
6
6
  import { createAuthenticationManager } from "@incodetech/core/authentication";
7
7
  //#region src/modules/authentication/authentication.tsx
package/dist/base.css CHANGED
@@ -2694,6 +2694,10 @@
2694
2694
  justify-content: space-between;
2695
2695
  }
2696
2696
 
2697
+ .rounded {
2698
+ border-radius: .25rem;
2699
+ }
2700
+
2697
2701
  .border {
2698
2702
  border-style: var(--tw-border-style);
2699
2703
  border-width: 1px;
@@ -7974,7 +7978,7 @@
7974
7978
  }
7975
7979
 
7976
7980
  .IncodeCameraFrame.IncodeCameraFrameCapturing, .IncodeCameraFrame.IncodeCameraFrameFocus {
7977
- --frame-border-color: var(--border-status-focus);
7981
+ --frame-border-color: var(--border-brand-500);
7978
7982
  }
7979
7983
 
7980
7984
  .IncodeCameraFrame.IncodeCameraFrameAnalyzing, .IncodeCameraFrame.IncodeCameraFrameSuccess {
@@ -4,7 +4,7 @@ import { c as useManager, o as useModuleTerminalCallbacks } from "../hooks-Da_yP
4
4
  import { t as IncodeComponent } from "../incodeComponent-Cmi1rlWs.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-BAAGWrEk.js";
7
+ import "../extensibility-3rfqIVQV.js";
8
8
  import { a as TypographyH5, o as TypographyP } from "../typography-BZIpjo97.js";
9
9
  import { t as Button } from "../button-Ch5-QgHB.js";
10
10
  import "../icons-CJJbIpBq.js";
@@ -1,2 +1,2 @@
1
- import { t as DocumentCapture } from "../documentCapture-CYclogp7.js";
1
+ import { t as DocumentCapture } from "../documentCapture-BkRkd0Qx.js";
2
2
  export { DocumentCapture };
@@ -4,12 +4,12 @@ import { c as useManager, o as useModuleTerminalCallbacks, r as useIsMobileDevic
4
4
  import { t as IncodeComponent } from "./incodeComponent-Cmi1rlWs.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 { b as Overlay, d as CameraOverlayHeader, f as CameraOverlay, l as CaptureFooter, p as CameraFrame, u as CameraView, y as ProgressBar } from "./extensibility-BAAGWrEk.js";
7
+ import { b as Overlay, d as CameraOverlayHeader, f as CameraOverlay, l as CaptureFooter, p as CameraFrame, u as CameraView, y as ProgressBar } from "./extensibility-3rfqIVQV.js";
8
8
  import { t as Spinner } from "./spinner-BRNNKqPN.js";
9
9
  import { t as Button } from "./button-Ch5-QgHB.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 { o as ErrorContent, r as Permissions } from "./tutorial-lK0cKQhw.js";
12
+ import { o as ErrorContent, r as Permissions } from "./tutorial-CDnd3u3f.js";
13
13
  import { t as BottomSheet } from "./bottomSheet-CnWbbUAM.js";
14
14
  import { t as registerIncodeModuleElement } from "./incodeModule-M8DszCee.js";
15
15
  import { createDocumentCaptureManager } from "@incodetech/core/document-capture";
@@ -0,0 +1,2 @@
1
+ import { t as DocumentCapture } from "./documentCapture-BkRkd0Qx.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-M8DszCee.js";
14
14
  import { n as getRequiredHintMode, t as getFieldHint } from "./requiredLabelHint-DX3oVNtu.js";
15
- import { t as EmailInput } from "./emailInput-DAuSH3Cg.js";
15
+ import { t as EmailInput } from "./emailInput-B3oo7VFm.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-CEb7KvEp.js";
1
+ import { t as EkybModule } from "../ekybModule-CxH-kSSd.js";
2
2
  export { EkybModule };
@@ -4,7 +4,7 @@ import { c as useManager, i as useFormScrollable, o as useModuleTerminalCallback
4
4
  import { t as IncodeComponent } from "./incodeComponent-Cmi1rlWs.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-BAAGWrEk.js";
7
+ import "./extensibility-3rfqIVQV.js";
8
8
  import { t as Spinner } from "./spinner-BRNNKqPN.js";
9
9
  import { t as Button } from "./button-Ch5-QgHB.js";
10
10
  import { t as VerificationResult } from "./verificationResult-B6PBXbp9.js";
@@ -0,0 +1,2 @@
1
+ import { t as EkybModule } from "./ekybModule-CxH-kSSd.js";
2
+ export { EkybModule };
@@ -7,7 +7,7 @@ import { t as Page } from "../page-DidH_RkX.js";
7
7
  import { t as Button } from "../button-Ch5-QgHB.js";
8
8
  import { t as OtpInput } from "../otpInput-Q_kzSZeD.js";
9
9
  import { t as registerIncodeModuleElement } from "../incodeModule-M8DszCee.js";
10
- import { t as EmailInput } from "../emailInput-DAuSH3Cg.js";
10
+ import { t as EmailInput } from "../emailInput-B3oo7VFm.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-DoP1NB7u.js";
2
2
  import { v as u } from "./vendor-preact-DThS2ZQ_.js";
3
- import "./extensibility-BAAGWrEk.js";
3
+ import "./extensibility-3rfqIVQV.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 { a as Lottie, i as BaseTutorial } from "./tutorial-lK0cKQhw.js";
17
+ import { a as Lottie, i as BaseTutorial } from "./tutorial-CDnd3u3f.js";
18
18
  import "./verificationResult-B6PBXbp9.js";
19
19
  import "./inputComposed-C1R2LAa3.js";
20
20
  import "./inputComposed-BaY5q9WM.js";
@@ -4,7 +4,7 @@ import { c as useManager, s as useScreenOrientation } from "./hooks-Da_yP_Dr.js"
4
4
  import { n as LandscapeBlocker, t as IncodeComponent } from "./incodeComponent-Cmi1rlWs.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 TextArea, b as Overlay, c as ManualCapture, d as CameraOverlayHeader, f as CameraOverlay, g as TextAreaComposed, h as VerificationOptionCardList, i as Capture, l as CaptureFooter, m as VerificationOptionCard, n as Chooser, o as IdExpired, p as CameraFrame, r as Tutorial, s as IdError, t as FlipAnimation, u as CameraView, v as SegmentedDateInput, y as ProgressBar } from "./extensibility-BAAGWrEk.js";
7
+ import { _ as TextArea, b as Overlay, c as ManualCapture, d as CameraOverlayHeader, f as CameraOverlay, g as TextAreaComposed, h as VerificationOptionCardList, i as Capture, l as CaptureFooter, m as VerificationOptionCard, n as Chooser, o as IdExpired, p as CameraFrame, r as Tutorial, s as IdError, t as FlipAnimation, u as CameraView, v as SegmentedDateInput, y as ProgressBar } from "./extensibility-3rfqIVQV.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-Boki1Z8j.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 Lottie, i as BaseTutorial, n as Capture$1, o as ErrorContent, r as Permissions, t as Tutorial$1 } from "./tutorial-lK0cKQhw.js";
16
+ import { a as Lottie, i as BaseTutorial, n as Capture$1, o as ErrorContent, r as Permissions, t as Tutorial$1 } from "./tutorial-CDnd3u3f.js";
17
17
  import { t as VerificationResult } from "./verificationResult-B6PBXbp9.js";
18
18
  import { n as Input, t as InputComposed } from "./inputComposed-C1R2LAa3.js";
19
19
  import { t as OtpInput } from "./otpInput-Q_kzSZeD.js";
@@ -334,6 +334,10 @@
334
334
  justify-content: space-between;
335
335
  }
336
336
 
337
+ .rounded {
338
+ border-radius: .25rem;
339
+ }
340
+
337
341
  .border {
338
342
  border-style: var(--tw-border-style);
339
343
  border-width: 1px;
@@ -1,2 +1,2 @@
1
- import { t as FieldComparison } from "../fieldComparison-CS_pL3oH.js";
1
+ import { t as FieldComparison } from "../fieldComparison-Bczmo2t5.js";
2
2
  export { FieldComparison };
@@ -4,7 +4,7 @@ import { c as useManager, o as useModuleTerminalCallbacks } from "./hooks-Da_yP_
4
4
  import { t as IncodeComponent } from "./incodeComponent-Cmi1rlWs.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-BAAGWrEk.js";
7
+ import "./extensibility-3rfqIVQV.js";
8
8
  import { t as Button } from "./button-Ch5-QgHB.js";
9
9
  import { t as VerificationResult } from "./verificationResult-B6PBXbp9.js";
10
10
  import { t as InputComposed } from "./inputComposed-C1R2LAa3.js";
@@ -0,0 +1,2 @@
1
+ import { t as FieldComparison } from "./fieldComparison-Bczmo2t5.js";
2
+ export { FieldComparison };
@@ -4,7 +4,7 @@ import { c as useManager, o as useModuleTerminalCallbacks } from "../hooks-Da_yP
4
4
  import { t as IncodeComponent } from "../incodeComponent-Cmi1rlWs.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 CameraOverlayHeader, f as CameraOverlay, p as CameraFrame, u as CameraView } from "../extensibility-BAAGWrEk.js";
7
+ import { d as CameraOverlayHeader, f as CameraOverlay, p as CameraFrame, u as CameraView } from "../extensibility-3rfqIVQV.js";
8
8
  import { t as Button } from "../button-Ch5-QgHB.js";
9
9
  import { t as VerificationResult } from "../verificationResult-B6PBXbp9.js";
10
10
  import { t as registerIncodeModuleElement } from "../incodeModule-M8DszCee.js";
@@ -5,7 +5,7 @@ import { c as useManager } from "../hooks-Da_yP_Dr.js";
5
5
  import { t as IncodeComponent } from "../incodeComponent-Cmi1rlWs.js";
6
6
  import { t as TransitionSpinner } from "../transitionSpinner-4rPkt-KM.js";
7
7
  import { t as registerIncodeModuleElement } from "../incodeModule-M8DszCee.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-D2dAsd4A.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-w57va3eB.js";
9
9
  import { getDeviceClass } from "@incodetech/core/device";
10
10
  import { getRequiredWasmPipelines } from "@incodetech/core/flow";
11
11
  import { bootstrapSession, refreshQrUrlUuid } from "@incodetech/core/session";
@@ -3580,6 +3580,10 @@
3580
3580
  justify-content: space-between;
3581
3581
  }
3582
3582
 
3583
+ .rounded {
3584
+ border-radius: .25rem;
3585
+ }
3586
+
3583
3587
  .border {
3584
3588
  border-style: var(--tw-border-style);
3585
3589
  border-width: 1px;
@@ -4236,18 +4240,6 @@
4236
4240
  color: var(--color-text-body-primary, var(--text-body-800-primary));
4237
4241
  }
4238
4242
 
4239
- .IncodeSelfieTutorial {
4240
- --brand-color: var(--surface-brand-500);
4241
- }
4242
-
4243
- .IncodeSelfieTutorial .IncodeBaseTutorialAnimation svg linearGradient#__lottie_element_29 stop {
4244
- stop-color: var(--brand-color);
4245
- }
4246
-
4247
- .IncodeSelfieTutorial .IncodeBaseTutorialAnimation svg > g > g > g:first-child > g:first-child > g > g > g:nth-child(2) > g:nth-child(3) > g > path, .IncodeSelfieTutorial .IncodeBaseTutorialAnimation svg > g > g > g:first-child > g:first-child > g > g > g:nth-child(2) > g:first-child > g > path {
4248
- fill: var(--brand-color);
4249
- }
4250
-
4251
4243
  .IncodePhonePage .IncodePageContent {
4252
4244
  padding-top: var(--spacing-32, var(--spacing-32, 32px));
4253
4245
  padding-bottom: var(--spacing-16, var(--spacing-16, 16px));
@@ -5205,10 +5197,6 @@
5205
5197
  margin-inline: auto;
5206
5198
  }
5207
5199
 
5208
- .IncodeIdTutorial {
5209
- --brand-color: var(--surface-brand-500);
5210
- }
5211
-
5212
5200
  .IncodeIdTutorial .IncodePageTitleContainer {
5213
5201
  padding-block: var(--spacing-16, var(--spacing-16, 16px));
5214
5202
  }
@@ -5221,10 +5209,6 @@
5221
5209
  padding: var(--spacing-0, var(--spacing-none, 0px));
5222
5210
  }
5223
5211
 
5224
- .IncodeIdTutorial.IncodeIdTutorialId .IncodeBaseTutorialAnimation svg > g > g > g:nth-child(2) > g:nth-child(5) > g > g > g:nth-child(3) > g > path, .IncodeIdTutorial.IncodeIdTutorialId .IncodeBaseTutorialAnimation svg > g > g > g:first-child > g > path, .IncodeIdTutorial.IncodeIdTutorialPassport .IncodeBaseTutorialAnimation svg > g > g:nth-child(2) > g:nth-child(2) > g:nth-child(2) > g:nth-child(2) > g > g > g > g:nth-child(4) > g > path, .IncodeIdTutorial.IncodeIdTutorialPassport .IncodeBaseTutorialAnimation svg > g > g:first-child > g > path {
5225
- fill: var(--brand-color);
5226
- }
5227
-
5228
5212
  .IncodeFlipAnimation {
5229
5213
  background-color: var(--color-surface-neutral-0, var(--surface-neutral-0));
5230
5214
  height: 100%;
@@ -5364,7 +5348,7 @@
5364
5348
  }
5365
5349
 
5366
5350
  .IncodeCaptureFrame.IncodeCaptureFrameCapturing, .IncodeCaptureFrame.IncodeCaptureFrameFocus {
5367
- --frame-border-color: var(--border-status-focus);
5351
+ --frame-border-color: var(--border-brand-500);
5368
5352
  }
5369
5353
 
5370
5354
  .IncodeCaptureFrame.IncodeCaptureFrameAnalyzing, .IncodeCaptureFrame.IncodeCaptureFrameSuccess {
@@ -4,7 +4,7 @@ import { c as useManager, o as useModuleTerminalCallbacks } from "../hooks-Da_yP
4
4
  import { t as IncodeComponent } from "../incodeComponent-Cmi1rlWs.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-BAAGWrEk.js";
7
+ import "../extensibility-3rfqIVQV.js";
8
8
  import { t as AutoFocusTitle } from "../autoFocusTitle-CuRu2lPg.js";
9
9
  import { t as VerificationResult } from "../verificationResult-B6PBXbp9.js";
10
10
  import { t as OtpInput } from "../otpInput-Q_kzSZeD.js";
package/dist/id/id.es.js CHANGED
@@ -4,7 +4,7 @@ import { c as useManager, o as useModuleTerminalCallbacks } from "../hooks-Da_yP
4
4
  import { t as IncodeComponent } from "../incodeComponent-Cmi1rlWs.js";
5
5
  import { n as cn } from "../loadingIcon-B0ysgiNq.js";
6
6
  import { t as Page } from "../page-DidH_RkX.js";
7
- import { a as IdNoAttempts, i as Capture, n as Chooser, o as IdExpired, r as Tutorial, s as IdError, t as FlipAnimation, y as ProgressBar } from "../extensibility-BAAGWrEk.js";
7
+ import { a as IdNoAttempts, i as Capture, n as Chooser, o as IdExpired, r as Tutorial, s as IdError, t as FlipAnimation, y as ProgressBar } from "../extensibility-3rfqIVQV.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-4rPkt-KM.js";
@@ -13,7 +13,7 @@ import { t as Button } from "../button-Ch5-QgHB.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 Lottie, o as ErrorContent, r as Permissions } from "../tutorial-lK0cKQhw.js";
16
+ import { a as Lottie, o as ErrorContent, r as Permissions } from "../tutorial-CDnd3u3f.js";
17
17
  import { t as PdfViewer } from "../pdfViewer-bx59Lwwt.js";
18
18
  import { t as registerIncodeModuleElement } from "../incodeModule-M8DszCee.js";
19
19
  import { t as id_laser_v_default } from "../id-laser-v-Dj_RN_s9.js";
@@ -110,10 +110,6 @@
110
110
  margin-inline: auto;
111
111
  }
112
112
 
113
- .IncodeIdTutorial {
114
- --brand-color: var(--surface-brand-500);
115
- }
116
-
117
113
  .IncodeIdTutorial .IncodePageTitleContainer {
118
114
  padding-block: var(--spacing-16, var(--spacing-16, 16px));
119
115
  }
@@ -126,10 +122,6 @@
126
122
  padding: var(--spacing-0, var(--spacing-none, 0px));
127
123
  }
128
124
 
129
- .IncodeIdTutorial.IncodeIdTutorialId .IncodeBaseTutorialAnimation svg > g > g > g:nth-child(2) > g:nth-child(5) > g > g > g:nth-child(3) > g > path, .IncodeIdTutorial.IncodeIdTutorialId .IncodeBaseTutorialAnimation svg > g > g > g:first-child > g > path, .IncodeIdTutorial.IncodeIdTutorialPassport .IncodeBaseTutorialAnimation svg > g > g:nth-child(2) > g:nth-child(2) > g:nth-child(2) > g:nth-child(2) > g > g > g > g:nth-child(4) > g > path, .IncodeIdTutorial.IncodeIdTutorialPassport .IncodeBaseTutorialAnimation svg > g > g:first-child > g > path {
130
- fill: var(--brand-color);
131
- }
132
-
133
125
  .IncodeFlipAnimation {
134
126
  background-color: var(--color-surface-neutral-0, var(--surface-neutral-0));
135
127
  height: 100%;
@@ -269,7 +261,7 @@
269
261
  }
270
262
 
271
263
  .IncodeCaptureFrame.IncodeCaptureFrameCapturing, .IncodeCaptureFrame.IncodeCaptureFrameFocus {
272
- --frame-border-color: var(--border-status-focus);
264
+ --frame-border-color: var(--border-brand-500);
273
265
  }
274
266
 
275
267
  .IncodeCaptureFrame.IncodeCaptureFrameAnalyzing, .IncodeCaptureFrame.IncodeCaptureFrameSuccess {
@@ -3,7 +3,7 @@ import { d as T, v as u } from "./vendor-preact-DThS2ZQ_.js";
3
3
  import { c as useManager, o as useModuleTerminalCallbacks } from "./hooks-Da_yP_Dr.js";
4
4
  import { t as IncodeComponent } from "./incodeComponent-Cmi1rlWs.js";
5
5
  import { t as Page } from "./page-DidH_RkX.js";
6
- import "./extensibility-BAAGWrEk.js";
6
+ import "./extensibility-3rfqIVQV.js";
7
7
  import { t as Button } from "./button-Ch5-QgHB.js";
8
8
  import { t as VerificationResult } from "./verificationResult-B6PBXbp9.js";
9
9
  import { t as InputComposed } from "./inputComposed-C1R2LAa3.js";
@@ -6,7 +6,7 @@ import { t as IncodeComponent } from "../incodeComponent-Cmi1rlWs.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-BAAGWrEk.js";
9
+ import "../extensibility-3rfqIVQV.js";
10
10
  import { t as TransitionSpinner } from "../transitionSpinner-4rPkt-KM.js";
11
11
  import { t as Button } from "../button-Ch5-QgHB.js";
12
12
  import "../icons-CJJbIpBq.js";
@@ -3,7 +3,7 @@ import { a as isTerminalModuleState, c as useManager, o as useModuleTerminalCall
3
3
  import { t as IncodeComponent } from "../incodeComponent-Cmi1rlWs.js";
4
4
  import { t as TransitionSpinner } from "../transitionSpinner-4rPkt-KM.js";
5
5
  import { t as Processing } from "../processing-Boki1Z8j.js";
6
- import { n as Capture, r as Permissions, t as Tutorial } from "../tutorial-lK0cKQhw.js";
6
+ import { n as Capture, r as Permissions, t as Tutorial } from "../tutorial-CDnd3u3f.js";
7
7
  import { t as registerIncodeModuleElement } from "../incodeModule-M8DszCee.js";
8
8
  import { createSelfieManager } from "@incodetech/core/selfie";
9
9
  //#region src/modules/selfie/preloadTutorialAssets.ts
@@ -609,6 +609,10 @@
609
609
  justify-content: space-between;
610
610
  }
611
611
 
612
+ .rounded {
613
+ border-radius: .25rem;
614
+ }
615
+
612
616
  .border {
613
617
  border-style: var(--tw-border-style);
614
618
  border-width: 1px;
@@ -933,18 +937,6 @@
933
937
  color: var(--color-text-body-primary, var(--text-body-800-primary));
934
938
  }
935
939
 
936
- .IncodeSelfieTutorial {
937
- --brand-color: var(--surface-brand-500);
938
- }
939
-
940
- .IncodeSelfieTutorial .IncodeBaseTutorialAnimation svg linearGradient#__lottie_element_29 stop {
941
- stop-color: var(--brand-color);
942
- }
943
-
944
- .IncodeSelfieTutorial .IncodeBaseTutorialAnimation svg > g > g > g:first-child > g:first-child > g > g > g:nth-child(2) > g:nth-child(3) > g > path, .IncodeSelfieTutorial .IncodeBaseTutorialAnimation svg > g > g > g:first-child > g:first-child > g > g > g:nth-child(2) > g:first-child > g > path {
945
- fill: var(--brand-color);
946
- }
947
-
948
940
  @property --tw-rotate-x {
949
941
  syntax: "*";
950
942
  inherits: false
@@ -4,7 +4,7 @@ import { c as useManager, o as useModuleTerminalCallbacks } from "../hooks-Da_yP
4
4
  import { t as IncodeComponent } from "../incodeComponent-Cmi1rlWs.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-BAAGWrEk.js";
7
+ import "../extensibility-3rfqIVQV.js";
8
8
  import { t as Button } from "../button-Ch5-QgHB.js";
9
9
  import { t as VerificationResult } from "../verificationResult-B6PBXbp9.js";
10
10
  import { t as registerIncodeModuleElement } from "../incodeModule-M8DszCee.js";
@@ -1,6 +1,6 @@
1
1
  import { r as __toESM } from "./rolldown-runtime--E5BIlTp.js";
2
2
  import { n as useTranslation, t as Trans } from "./i18n-DoP1NB7u.js";
3
- import { _ as y, a as D, 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 { _ 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";
4
4
  import { r as useIsMobileDeviceWidth } from "./hooks-Da_yP_Dr.js";
5
5
  import { n as cn, r as Spacer, t as LoadingIcon } from "./loadingIcon-B0ysgiNq.js";
6
6
  import { t as Page } from "./page-DidH_RkX.js";
@@ -156,8 +156,113 @@ function Lottie({ animationData, loop = true, autoplay = true, reverse = false,
156
156
  });
157
157
  }
158
158
  //#endregion
159
+ //#region src/shared/baseTutorial/replaceBaseTutorial.ts
160
+ /**
161
+ * The brand blues baked into the tutorial animations. The selfie oval/shoulders
162
+ * use `#007aff`; the ID/passport tutorials additionally use `#006aff` (the
163
+ * default brand blue) for their accent. Both are re-tinted to the active
164
+ * branding color.
165
+ *
166
+ * Authored as hex and converted to Lottie's normalized `[r, g, b]` (0–1) form.
167
+ * The two greens are ~0.06 apart, comfortably outside `COLOR_MATCH_TOLERANCE`,
168
+ * so they neither cross-match nor catch the (grayscale/white) document and
169
+ * face artwork.
170
+ */
171
+ var SOURCE_BRAND_COLORS = ["#007aff", "#006aff"].map(hexToRgbUnit).filter((color) => color !== null);
172
+ /**
173
+ * Per-channel tolerance when matching a source color. The baked values are
174
+ * authored as rounded decimals (e.g. `0.48`), so an exact comparison is too
175
+ * brittle; a small tolerance keeps the match robust without catching
176
+ * unrelated colors.
177
+ */
178
+ var COLOR_MATCH_TOLERANCE = .02;
179
+ /**
180
+ * Reads a CSS custom property off the document root and returns its value.
181
+ * Returns `fallback` (empty by default) when the property is unset or
182
+ * unavailable (e.g. during SSR / tests). With the default empty fallback the
183
+ * recolor no-ops, leaving the animation's authored colors in place — which are
184
+ * the default brand blue, so no theme-specific literal is needed here.
185
+ */
186
+ function getCssVariableAsHex(variableName, fallback = "") {
187
+ if (typeof document === "undefined") return fallback;
188
+ return getComputedStyle(document.documentElement).getPropertyValue(variableName).trim() || fallback;
189
+ }
190
+ function hexToRgbUnit(hex) {
191
+ let normalized = hex.replace("#", "").trim();
192
+ if (normalized.length === 3) normalized = normalized.split("").map((char) => char + char).join("");
193
+ const result = /^([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(normalized);
194
+ if (!result) return null;
195
+ return [
196
+ Number.parseInt(result[1], 16) / 255,
197
+ Number.parseInt(result[2], 16) / 255,
198
+ Number.parseInt(result[3], 16) / 255
199
+ ];
200
+ }
201
+ function channelMatches(a, b) {
202
+ return Math.abs(a - b) <= COLOR_MATCH_TOLERANCE;
203
+ }
204
+ function isSourceColor(r, g, b) {
205
+ return SOURCE_BRAND_COLORS.some(([sr, sg, sb]) => channelMatches(r, sr) && channelMatches(g, sg) && channelMatches(b, sb));
206
+ }
207
+ function isStaticColorArray(value) {
208
+ return Array.isArray(value) && value.length >= 3 && value.every((entry) => typeof entry === "number");
209
+ }
210
+ function recolorSolid(node, target) {
211
+ const colorHolder = node.c;
212
+ if (!colorHolder || typeof colorHolder !== "object") return;
213
+ const k = colorHolder.k;
214
+ if (isStaticColorArray(k) && isSourceColor(k[0], k[1], k[2])) {
215
+ k[0] = target[0];
216
+ k[1] = target[1];
217
+ k[2] = target[2];
218
+ }
219
+ }
220
+ function recolorGradient(node, target) {
221
+ const gradient = node.g;
222
+ if (!gradient || typeof gradient !== "object") return;
223
+ const { p, k } = gradient;
224
+ const stopCount = typeof p === "number" ? p : 0;
225
+ const stops = k?.k;
226
+ if (stopCount <= 0 || !Array.isArray(stops)) return;
227
+ for (let stop = 0; stop < stopCount; stop++) {
228
+ const base = stop * 4;
229
+ const r = stops[base + 1];
230
+ const g = stops[base + 2];
231
+ const b = stops[base + 3];
232
+ if (typeof r === "number" && typeof g === "number" && typeof b === "number" && isSourceColor(r, g, b)) {
233
+ stops[base + 1] = target[0];
234
+ stops[base + 2] = target[1];
235
+ stops[base + 3] = target[2];
236
+ }
237
+ }
238
+ }
239
+ function recolorNode(node, target) {
240
+ if (Array.isArray(node)) {
241
+ for (const child of node) recolorNode(child, target);
242
+ return;
243
+ }
244
+ if (!node || typeof node !== "object") return;
245
+ const obj = node;
246
+ if (obj.ty === "fl" || obj.ty === "st") recolorSolid(obj, target);
247
+ else if (obj.ty === "gf" || obj.ty === "gs") recolorGradient(obj, target);
248
+ for (const key of Object.keys(obj)) recolorNode(obj[key], target);
249
+ }
250
+ /**
251
+ * Returns a deep copy of `animationData` with the baked-in brand blue swapped
252
+ * for `hexColor`. The input is never mutated. Unparseable colors leave the
253
+ * animation untouched.
254
+ */
255
+ function replaceLottieColor(animationData, hexColor) {
256
+ const target = hexToRgbUnit(hexColor);
257
+ if (!target) return animationData;
258
+ const clone = JSON.parse(JSON.stringify(animationData));
259
+ recolorNode(clone, target);
260
+ return clone;
261
+ }
262
+ //#endregion
159
263
  //#region src/shared/baseTutorial/baseTutorial.tsx
160
264
  var BaseTutorial = ({ className = "", animationData, title, titleId, subtitle, onContinue, buttonText, disclaimerText, isLoading, stopFramePosition = "middle" }) => {
265
+ const themedAnimationData = T(() => animationData ? replaceLottieColor(animationData, getCssVariableAsHex("--primitive-color-brand-500")) : null, [animationData]);
161
266
  return /* @__PURE__ */ u(Page, {
162
267
  className: cn("IncodeTutorialPage", className),
163
268
  title,
@@ -168,8 +273,8 @@ var BaseTutorial = ({ className = "", animationData, title, titleId, subtitle, o
168
273
  children: /* @__PURE__ */ u("div", {
169
274
  class: "IncodeBaseTutorialAnimationContainer",
170
275
  "aria-hidden": "true",
171
- children: animationData ? /* @__PURE__ */ u(Lottie, {
172
- animationData,
276
+ children: themedAnimationData ? /* @__PURE__ */ u(Lottie, {
277
+ animationData: themedAnimationData,
173
278
  className: "IncodeBaseTutorialAnimation",
174
279
  autoStop: true,
175
280
  stopFramePosition
@@ -295,14 +295,14 @@ var LAZY_UI_MODULES = {
295
295
  INE_VALIDATION: () => import("./governmentValidation/governmentValidation.es.js").then((m) => m.GovernmentValidation),
296
296
  GEOLOCATION: () => import("./geolocation/geolocation.es.js").then((m) => m.Geolocation),
297
297
  EXTERNAL_VERIFICATION: () => import("./ekycModule-BIbj7hr1.js").then((m) => m.EkycModule),
298
- EKYB: () => import("./ekybModule-UEW1CfUF.js").then((m) => m.EkybModule),
299
- DOCUMENT_CAPTURE: () => import("./documentCapture-CIo4u9dy.js").then((m) => m.DocumentCapture),
300
- ADDRESS: () => import("./documentCapture-CIo4u9dy.js").then((m) => m.DocumentCapture),
298
+ EKYB: () => import("./ekybModule-D_TN29rO.js").then((m) => m.EkybModule),
299
+ DOCUMENT_CAPTURE: () => import("./documentCapture-RpqoYlXR.js").then((m) => m.DocumentCapture),
300
+ ADDRESS: () => import("./documentCapture-RpqoYlXR.js").then((m) => m.DocumentCapture),
301
301
  COMBINED_CONSENT: () => import("./consent/consent.es.js").then((m) => m.Consent),
302
302
  MANDATORY_CONSENT: () => import("./mandatoryConsent-DOQ0DKgM.js").then((m) => m.MandatoryConsent),
303
303
  ML_CONSENT: () => import("./mandatoryConsent-DOQ0DKgM.js").then((m) => m.MandatoryConsent),
304
304
  SIGNATURE: () => import("./signature/signature.es.js").then((m) => m.Signature),
305
- ID_OCR: () => import("./idOcr-XA2Xs3h-.js").then((m) => m.IdOcr),
305
+ ID_OCR: () => import("./idOcr-D6dnubi6.js").then((m) => m.IdOcr),
306
306
  CPF_OCR: () => import("./cpfOcr-BJOYoITy.js").then((m) => m.CpfOcr),
307
307
  ANTIFRAUD: () => import("./antifraud/antifraud.es.js").then((m) => m.Antifraud),
308
308
  CUSTOM_FIELDS: () => import("./customFields-BQ4scZfL.js").then((m) => m.CustomFields),
@@ -312,9 +312,9 @@ var LAZY_UI_MODULES = {
312
312
  AE_SIGNATURE: () => import("./ae-signature/ae-signature.es.js").then((m) => m.AeSignature),
313
313
  QE_SIGNATURE: () => import("./qe-signature/qe-signature.es.js").then((m) => m.QeSignature),
314
314
  CROSS_DOCUMENT_DATA_MATCH: () => import("./cross-document-data-match/cross-document-data-match.es.js").then((m) => m.CrossDocumentDataMatch),
315
- DYNAMIC_FORMS: () => import("./dynamicForms-BQv-wsBl.js").then((m) => m.DynamicForms),
315
+ DYNAMIC_FORMS: () => import("./dynamicForms-SmaO8p4v.js").then((m) => m.DynamicForms),
316
316
  CERTIFICATE_ISSUANCE: () => import("./certificate-issuance/certificate-issuance.es.js").then((m) => m.CertificateIssuance),
317
- FIELD_COMPARISON: () => import("./fieldComparison-DwbYI5GV.js").then((m) => m.FieldComparison),
317
+ FIELD_COMPARISON: () => import("./fieldComparison-C3pECIF4.js").then((m) => m.FieldComparison),
318
318
  FISCAL_QR: () => import("./fiscal-qr/fiscal-qr.es.js").then((m) => m.FiscalQr)
319
319
  };
320
320
  function loadHomeScreen() {
@@ -3130,6 +3130,10 @@
3130
3130
  justify-content: space-between;
3131
3131
  }
3132
3132
 
3133
+ .rounded {
3134
+ border-radius: .25rem;
3135
+ }
3136
+
3133
3137
  .border {
3134
3138
  border-style: var(--tw-border-style);
3135
3139
  border-width: 1px;
@@ -3736,18 +3740,6 @@
3736
3740
  color: var(--color-text-body-primary, var(--text-body-800-primary));
3737
3741
  }
3738
3742
 
3739
- .IncodeSelfieTutorial {
3740
- --brand-color: var(--surface-brand-500);
3741
- }
3742
-
3743
- .IncodeSelfieTutorial .IncodeBaseTutorialAnimation svg linearGradient#__lottie_element_29 stop {
3744
- stop-color: var(--brand-color);
3745
- }
3746
-
3747
- .IncodeSelfieTutorial .IncodeBaseTutorialAnimation svg > g > g > g:first-child > g:first-child > g > g > g:nth-child(2) > g:nth-child(3) > g > path, .IncodeSelfieTutorial .IncodeBaseTutorialAnimation svg > g > g > g:first-child > g:first-child > g > g > g:nth-child(2) > g:first-child > g > path {
3748
- fill: var(--brand-color);
3749
- }
3750
-
3751
3743
  .IncodePhonePage .IncodePageContent {
3752
3744
  padding-top: var(--spacing-32, var(--spacing-32, 32px));
3753
3745
  padding-bottom: var(--spacing-16, var(--spacing-16, 16px));
@@ -4366,10 +4358,6 @@
4366
4358
  margin-inline: auto;
4367
4359
  }
4368
4360
 
4369
- .IncodeIdTutorial {
4370
- --brand-color: var(--surface-brand-500);
4371
- }
4372
-
4373
4361
  .IncodeIdTutorial .IncodePageTitleContainer {
4374
4362
  padding-block: var(--spacing-16, var(--spacing-16, 16px));
4375
4363
  }
@@ -4382,10 +4370,6 @@
4382
4370
  padding: var(--spacing-0, var(--spacing-none, 0px));
4383
4371
  }
4384
4372
 
4385
- .IncodeIdTutorial.IncodeIdTutorialId .IncodeBaseTutorialAnimation svg > g > g > g:nth-child(2) > g:nth-child(5) > g > g > g:nth-child(3) > g > path, .IncodeIdTutorial.IncodeIdTutorialId .IncodeBaseTutorialAnimation svg > g > g > g:first-child > g > path, .IncodeIdTutorial.IncodeIdTutorialPassport .IncodeBaseTutorialAnimation svg > g > g:nth-child(2) > g:nth-child(2) > g:nth-child(2) > g:nth-child(2) > g > g > g > g:nth-child(4) > g > path, .IncodeIdTutorial.IncodeIdTutorialPassport .IncodeBaseTutorialAnimation svg > g > g:first-child > g > path {
4386
- fill: var(--brand-color);
4387
- }
4388
-
4389
4373
  .IncodeFlipAnimation {
4390
4374
  background-color: var(--color-surface-neutral-0, var(--surface-neutral-0));
4391
4375
  height: 100%;
@@ -4525,7 +4509,7 @@
4525
4509
  }
4526
4510
 
4527
4511
  .IncodeCaptureFrame.IncodeCaptureFrameCapturing, .IncodeCaptureFrame.IncodeCaptureFrameFocus {
4528
- --frame-border-color: var(--border-status-focus);
4512
+ --frame-border-color: var(--border-brand-500);
4529
4513
  }
4530
4514
 
4531
4515
  .IncodeCaptureFrame.IncodeCaptureFrameAnalyzing, .IncodeCaptureFrame.IncodeCaptureFrameSuccess {
@@ -7,7 +7,7 @@ import { t as Page } from "../page-DidH_RkX.js";
7
7
  import { t as TransitionSpinner } from "../transitionSpinner-4rPkt-KM.js";
8
8
  import { t as AutoFocusTitle } from "../autoFocusTitle-CuRu2lPg.js";
9
9
  import { t as registerIncodeModuleElement } from "../incodeModule-M8DszCee.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-D2dAsd4A.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-w57va3eB.js";
11
11
  import { resolveWasmConfig, upgradeToWasmHttpClient, warmupWasm } from "@incodetech/core/wasm";
12
12
  import { getDeviceClass } from "@incodetech/core/device";
13
13
  import { classifyScoreStatus } from "@incodetech/core/flow";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/web",
3
- "version": "0.0.0-dev-20260626-da30041d",
3
+ "version": "0.0.0-dev-20260629-eb925e50",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/IncodeTechnologies/incode-web-sdk.git"
@@ -264,7 +264,7 @@
264
264
  "qrcode": "^1.5.4",
265
265
  "signature_pad": "^5.1.3",
266
266
  "tailwindcss": "^4.1.17",
267
- "@incodetech/core": "0.0.0-dev-20260626-da30041d"
267
+ "@incodetech/core": "0.0.0-dev-20260629-eb925e50"
268
268
  },
269
269
  "devDependencies": {
270
270
  "@microsoft/api-extractor": "^7.53.3",
@@ -1,2 +0,0 @@
1
- import { t as DocumentCapture } from "./documentCapture-CYclogp7.js";
2
- export { DocumentCapture };
@@ -1,2 +0,0 @@
1
- import { t as EkybModule } from "./ekybModule-CEb7KvEp.js";
2
- export { EkybModule };
@@ -1,2 +0,0 @@
1
- import { t as FieldComparison } from "./fieldComparison-CS_pL3oH.js";
2
- export { FieldComparison };