@incodetech/web 0.0.0-dev-20260427-2d786e0 → 0.0.0-dev-20260427-0672a89

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 (82) hide show
  1. package/dist/{addressAutocomplete-DrmyWZPD.js → addressAutocomplete-DUoB1KJ6.js} +2 -2
  2. package/dist/ae-signature/ae-signature.es.js +1 -1
  3. package/dist/ae-signature/styles.css +13 -5
  4. package/dist/ae-signature/styles2.css +5 -13
  5. package/dist/antifraud/antifraud.es.js +1 -1
  6. package/dist/authentication/authentication.es.js +1 -1
  7. package/dist/base.css +9 -0
  8. package/dist/{checkbox-U9Zb6MbF.js → checkbox-SiI-r4kC.js} +1 -1
  9. package/dist/consent/consent.es.js +3 -3
  10. package/dist/{countrySelector-BXTh4LLh.js → countrySelector-Dav_CkB-.js} +1 -1
  11. package/dist/cross-document-data-match/cross-document-data-match.es.js +1 -1
  12. package/dist/curp-validation/curp-validation.es.js +9 -9
  13. package/dist/{customFields-BWOldedm.js → customFields-CaAfAnVY.js} +5 -5
  14. package/dist/{customWatchlist-CAYrsaB4.js → customWatchlist-CK4WRhQ8.js} +2 -2
  15. package/dist/{dateInputComposed-DVAMP-vG.js → dateInputComposed-DyEq4g_Z.js} +3 -3
  16. package/dist/dateInputComposed-JZ5KaINe.js +1 -0
  17. package/dist/{documentCapture-B0KbfIGJ.js → documentCapture-Ctg4QrzO.js} +5 -5
  18. package/dist/{dropdownComposed-mYhdUOGA.js → dropdownComposed-B6ke-f1Z.js} +2 -2
  19. package/dist/dropdownComposed-Cf0EWLpo.js +1 -0
  20. package/dist/ekyb/ekyb.es.js +1 -1
  21. package/dist/{ekybModule-DkHEUA8E.js → ekybModule-C-wzzWM_.js} +7 -7
  22. package/dist/ekybModule-DR6h10u6.js +2 -0
  23. package/dist/ekyc/ekyc.es.js +1 -1
  24. package/dist/ekycModule-CPYIy1qc.js +2 -0
  25. package/dist/{ekycModule-B8Wtdhhz.js → ekycModule-D1aJaqZb.js} +8 -8
  26. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  27. package/dist/{electronic-signature-BWYYa2Hn.js → electronic-signature-GJJ9ym6W.js} +6 -6
  28. package/dist/email/email.es.js +3 -3
  29. package/dist/{extensibility-Bja1pQCo.js → extensibility-B2WcKcDG.js} +18 -18
  30. package/dist/extensibility.es.js +18 -18
  31. package/dist/face-match/face-match.es.js +1 -1
  32. package/dist/face-match/styles.css +12 -12
  33. package/dist/{faceMatch-Cnb0bWfn.js → faceMatch-BnEdonTI.js} +2 -2
  34. package/dist/faceMatch-Ci5DPoTD.js +2 -0
  35. package/dist/flow/flow.es.js +3 -3
  36. package/dist/flow/styles.css +34 -20
  37. package/dist/{formField-CJyEH-3m.js → formField-CT-rR5yU.js} +1 -1
  38. package/dist/governmentValidation/governmentValidation.es.js +4 -4
  39. package/dist/{homeScreen-Deg2Ewpz.js → homeScreen-CEiEx-YX.js} +3 -3
  40. package/dist/{icons-CR0w16NT.js → icons-fruAkt2C.js} +12 -5
  41. package/dist/id/id.es.js +9 -9
  42. package/dist/id-ocr/styles.css +2 -14
  43. package/dist/{idOcr-D-4o9mp_.js → idOcr-wZ5lwb96.js} +39 -39
  44. package/dist/identity-reuse/identity-reuse.es.js +1 -1
  45. package/dist/{inputComposed-snw2V0ak.js → inputComposed-BJ9PlS_q.js} +2 -2
  46. package/dist/inputComposed-CxQBDZYq.js +1 -0
  47. package/dist/{mandatoryConsent-Bfy5ubtU.js → mandatoryConsent-rgIsyt74.js} +3 -3
  48. package/dist/{modal-T42EZVfc.js → modal-CVCFEIu4.js} +1 -1
  49. package/dist/{otpInput-96a2tuz5.js → otpInput-B1CBXCKi.js} +2 -2
  50. package/dist/phone/phone.es.js +3 -3
  51. package/dist/{phoneInput-29FjtawS.js → phoneInput-oIZdtS9S.js} +1 -1
  52. package/dist/{phoneInputComposed-p1-AvgLf.js → phoneInputComposed-DyCqFvsP.js} +4 -4
  53. package/dist/{processing-B4uYww40.js → processing-CKYorOmO.js} +1 -1
  54. package/dist/qe-signature/qe-signature.es.js +1 -1
  55. package/dist/{radioButtonComposed-DB8PavEd.js → radioButtonComposed-Db52rFVN.js} +1 -1
  56. package/dist/{redirectToMobile-a_68n3x8.js → redirectToMobile-DMWfOeZL.js} +6 -6
  57. package/dist/selfie/selfie.es.js +3 -3
  58. package/dist/selfie/styles.css +10 -0
  59. package/dist/signature/signature.es.js +63 -71
  60. package/dist/spinner-BYktSnQZ.js +1 -0
  61. package/dist/{spinner-DLV8Z1TT.js → spinner-Cj7kdZ0T.js} +1 -1
  62. package/dist/{statusPage-IRhwu69S.js → statusPage-jf5BOazK.js} +1 -1
  63. package/dist/successIcon-SlKgTSty.js +28 -0
  64. package/dist/{transitionSpinner-CU8-yMmE.js → transitionSpinner-CT6kTJyR.js} +2 -2
  65. package/dist/{tutorial-DiBKm_nx.js → tutorial-Dtl1dbQf.js} +9 -9
  66. package/dist/types/extensibility.d.ts +1 -0
  67. package/dist/{typography-C-fmXMN1.js → typography-Duug0raB.js} +5 -8
  68. package/dist/{useModuleLoader-rt24SpRg.js → useModuleLoader-xzLBvyxm.js} +12 -12
  69. package/dist/{verificationResult-DJOc6_hf.js → verificationResult-BAVisg6H.js} +30 -27
  70. package/dist/watchlist/watchlist.es.js +2 -2
  71. package/dist/{watchlistForBusiness-Dhqv_L0m.js → watchlistForBusiness-Bo8AmCpO.js} +4 -4
  72. package/dist/workflow/styles.css +21 -15
  73. package/dist/workflow/workflow.es.js +4 -4
  74. package/package.json +2 -2
  75. package/dist/dateInputComposed-B0uPsoHC.js +0 -1
  76. package/dist/dropdownComposed-C4zoRTo2.js +0 -1
  77. package/dist/ekybModule-38dEoZU4.js +0 -2
  78. package/dist/ekycModule-DTIvpHnX.js +0 -2
  79. package/dist/faceMatch-CzhtPfJ-.js +0 -2
  80. package/dist/inputComposed-t5grm0d4.js +0 -1
  81. package/dist/spinner-CcWzwNeZ.js +0 -1
  82. package/dist/successIcon-Dklx5JWI.js +0 -17
@@ -2,9 +2,9 @@ import { n as e } from "../i18n-D6pCC7RL.js";
2
2
  import { _ as t, c as n, l as r, o as i, p as a, v as o } from "../vendor-preact-D6SntenC.js";
3
3
  import { t as s } from "../uiConfig-CwpQ-IM6.js";
4
4
  import { o as c, t as l } from "../incodeComponent-DmPlyJO-.js";
5
- import { t as u } from "../transitionSpinner-CU8-yMmE.js";
5
+ import { t as u } from "../transitionSpinner-CT6kTJyR.js";
6
6
  import { t as d } from "../incodeModule-BH9gV7jI.js";
7
- import { a as f, c as p, d as m, i as h, l as g, n as _, o as v, p as y, r as b, s as x, t as S, u as C } from "../useModuleLoader-rt24SpRg.js";
7
+ import { a as f, c as p, d as m, i as h, l as g, n as _, o as v, p as y, r as b, s as x, t as S, u as C } from "../useModuleLoader-xzLBvyxm.js";
8
8
  import { getDeviceClass as w } from "@incodetech/core/device";
9
9
  import { getRequiredWasmPipelines as T } from "@incodetech/core/flow";
10
10
  import { createSession as E, validateQrUuid as D } from "@incodetech/core/session";
@@ -227,7 +227,7 @@ function U(e) {
227
227
  }
228
228
  //#endregion
229
229
  //#region src/modules/flow/flow.tsx
230
- var W = n(() => import("../homeScreen-Deg2Ewpz.js").then((e) => ({ default: e.HomeScreen }))), G = ({ config: n, onFinish: r, onError: a }) => {
230
+ var W = n(() => import("../homeScreen-CEiEx-YX.js").then((e) => ({ default: e.HomeScreen }))), G = ({ config: n, onFinish: r, onError: a }) => {
231
231
  let { i18n: s } = e(), l = U({
232
232
  ...n,
233
233
  onError: a
@@ -559,6 +559,18 @@
559
559
  }
560
560
  }
561
561
 
562
+ @keyframes fadeIn {
563
+ from {
564
+ opacity: 0;
565
+ transform: translateY(8px);
566
+ }
567
+
568
+ to {
569
+ opacity: 1;
570
+ transform: translateY(0);
571
+ }
572
+ }
573
+
562
574
  .IncodeCameraButton {
563
575
  justify-content: center;
564
576
  align-items: center;
@@ -909,16 +921,6 @@
909
921
  transform: translateY(0);
910
922
  }
911
923
 
912
- @keyframes fadeIn {
913
- from {
914
- opacity: 0;
915
- }
916
-
917
- to {
918
- opacity: 1;
919
- }
920
- }
921
-
922
924
  .IncodeFaceMatchTooltip {
923
925
  background: var(--surface-neutral-50);
924
926
  border: 1px solid var(--border-neutral-100);
@@ -5588,8 +5590,9 @@
5588
5590
  .IncodeIdOcrPage {
5589
5591
  width: 100%;
5590
5592
  height: 100%;
5593
+ animation: fadeIn var(--motion-fade-in-duration, .7s) ease-out;
5591
5594
  margin-inline: auto;
5592
- animation: .4s ease-out fadeIn;
5595
+ animation-fill-mode: both;
5593
5596
  }
5594
5597
 
5595
5598
  @media (min-width: 48rem) {
@@ -5623,7 +5626,6 @@
5623
5626
  .IncodeIdOcrButton {
5624
5627
  bottom: var(--spacing-0, var(--spacing-none, 0px));
5625
5628
  width: 100%;
5626
- padding-block: var(--spacing-16, var(--spacing-16, 16px));
5627
5629
  position: sticky;
5628
5630
  }
5629
5631
 
@@ -7262,8 +7264,9 @@
7262
7264
  margin-block: var(--spacing-16, var(--spacing-16, 16px));
7263
7265
  }
7264
7266
 
7265
- .IncodeSignature.IncodeSignatureFadeIn, .IncodeSignature.IncodeSignatureFadeIn .IncodeSignatureSuccess {
7266
- animation: .7s ease-out both fadeIn;
7267
+ .IncodeSignature.IncodeSignatureFadeIn {
7268
+ animation: fadeIn var(--motion-fade-in-duration, .7s) ease-out;
7269
+ animation-fill-mode: both;
7267
7270
  }
7268
7271
 
7269
7272
  .IncodeSignature .IncodeSignatureButtonContainer .IncodeButton.IncodeButtonPrimary {
@@ -7306,7 +7309,8 @@
7306
7309
  -webkit-user-select: none;
7307
7310
  user-select: none;
7308
7311
  width: 100%;
7309
- animation: .7s ease-out fadeIn;
7312
+ animation: fadeIn var(--motion-fade-in-duration, .7s) ease-out;
7313
+ animation-fill-mode: both;
7310
7314
  position: absolute;
7311
7315
  top: 50%;
7312
7316
  left: 50%;
@@ -7354,11 +7358,13 @@
7354
7358
  }
7355
7359
 
7356
7360
  .IncodeElectronicSignatureUploadBody {
7361
+ min-height: var(--spacing-0, var(--spacing-none, 0px));
7357
7362
  flex-direction: column;
7358
7363
  flex: 1;
7359
7364
  justify-content: center;
7360
7365
  align-items: center;
7361
7366
  display: flex;
7367
+ container-type: size;
7362
7368
  }
7363
7369
 
7364
7370
  .IncodeElectronicSignatureIllustration {
@@ -7367,8 +7373,7 @@
7367
7373
  background-color: var(--color-surface-brand-50, var(--surface-brand-50));
7368
7374
  justify-content: center;
7369
7375
  align-items: center;
7370
- width: 100%;
7371
- max-width: 297px;
7376
+ width: min(100cqw, 100cqh - 32px, 297px);
7372
7377
  display: flex;
7373
7378
  overflow: visible;
7374
7379
  }
@@ -7389,6 +7394,7 @@
7389
7394
  }
7390
7395
 
7391
7396
  .IncodeElectronicSignatureReviewBody {
7397
+ min-height: var(--spacing-0, var(--spacing-none, 0px));
7392
7398
  justify-content: center;
7393
7399
  align-items: center;
7394
7400
  gap: var(--spacing-16, var(--spacing-16, 16px));
@@ -7402,6 +7408,7 @@
7402
7408
  }
7403
7409
 
7404
7410
  .IncodeElectronicSignatureReviewCard {
7411
+ min-height: var(--spacing-0, var(--spacing-none, 0px));
7405
7412
  align-items: center;
7406
7413
  gap: var(--spacing-24, var(--spacing-24, 24px));
7407
7414
  border-radius: var(--radius-large, var(--border-radius-large));
@@ -7418,13 +7425,15 @@
7418
7425
 
7419
7426
  .IncodeElectronicSignatureDocPreview {
7420
7427
  pointer-events: none;
7428
+ aspect-ratio: 113 / 150;
7421
7429
  border-style: var(--tw-border-style);
7422
7430
  border-width: 1px;
7423
7431
  border-color: var(--color-border-neutral-100, var(--border-neutral-100));
7424
7432
  background-color: var(--color-surface-neutral-0, var(--surface-neutral-0));
7425
7433
  border-radius: 6px;
7426
- width: 113px;
7427
- height: 150px;
7434
+ flex-grow: 0;
7435
+ flex-basis: 150px;
7436
+ min-height: 64px;
7428
7437
  position: relative;
7429
7438
  overflow: hidden;
7430
7439
  }
@@ -7466,18 +7475,20 @@
7466
7475
  }
7467
7476
 
7468
7477
  .IncodeElectronicSignatureSigningTop {
7469
- min-height: var(--spacing-0, var(--spacing-none, 0px));
7470
7478
  flex-direction: column;
7479
+ flex-shrink: 0;
7471
7480
  align-items: center;
7472
7481
  display: flex;
7473
7482
  }
7474
7483
 
7475
7484
  .IncodeElectronicSignatureSigningBottom {
7476
7485
  min-height: var(--spacing-0, var(--spacing-none, 0px));
7486
+ justify-content: flex-end;
7477
7487
  align-items: center;
7478
7488
  gap: var(--spacing-12, var(--spacing-12, 12px));
7479
7489
  padding-top: var(--spacing-16, var(--spacing-16, 16px));
7480
7490
  flex-direction: column;
7491
+ flex: 1;
7481
7492
  display: flex;
7482
7493
  }
7483
7494
 
@@ -7539,6 +7550,7 @@
7539
7550
  }
7540
7551
 
7541
7552
  .IncodeElectronicSignatureConsents {
7553
+ min-height: var(--spacing-0, var(--spacing-none, 0px));
7542
7554
  gap: var(--spacing-4, var(--spacing-4, 4px));
7543
7555
  flex-direction: column;
7544
7556
  width: 100%;
@@ -7642,6 +7654,8 @@
7642
7654
  .IncodeVerificationResult .IncodePageContent {
7643
7655
  gap: var(--spacing-16, var(--spacing-16, 16px));
7644
7656
  padding-bottom: var(--spacing-16, var(--spacing-16, 16px));
7657
+ animation: fadeIn var(--motion-fade-in-duration, .7s) ease-out;
7658
+ animation-fill-mode: both;
7645
7659
  }
7646
7660
 
7647
7661
  .IncodeVerificationResult__center {
@@ -1,6 +1,6 @@
1
1
  import { n as e } from "./i18n-D6pCC7RL.js";
2
2
  import { v as t } from "./vendor-preact-D6SntenC.js";
3
- import { t as n } from "./inputComposed-snw2V0ak.js";
3
+ import { t as n } from "./inputComposed-BJ9PlS_q.js";
4
4
  //#region src/shared/errorParams.ts
5
5
  function r(e, t) {
6
6
  if (t?.fieldName && typeof t.fieldName == "string") {
@@ -3,10 +3,10 @@ import { v as t } from "../vendor-preact-D6SntenC.js";
3
3
  import { o as n, t as r } from "../incodeComponent-DmPlyJO-.js";
4
4
  import { t as i } from "../spacer-CN9uvb__.js";
5
5
  import { t as a } from "../page-BB20C-zy.js";
6
- import { t as o } from "../spinner-DLV8Z1TT.js";
7
- import { h as s, m as c } from "../icons-CR0w16NT.js";
8
- import { t as l } from "../successIcon-Dklx5JWI.js";
9
- import { t as u } from "../otpInput-96a2tuz5.js";
6
+ import { t as o } from "../spinner-Cj7kdZ0T.js";
7
+ import { h as s, m as c } from "../icons-fruAkt2C.js";
8
+ import { t as l } from "../successIcon-SlKgTSty.js";
9
+ import { t as u } from "../otpInput-B1CBXCKi.js";
10
10
  import { t as d } from "../incodeModule-BH9gV7jI.js";
11
11
  import { createGovernmentValidationManager as f } from "@incodetech/core/government-validation";
12
12
  //#region src/modules/governmentValidation/governmentValidation.tsx
@@ -4,9 +4,9 @@ import { n as c } from "./uiConfig-CwpQ-IM6.js";
4
4
  import { t as l } from "./spacer-CN9uvb__.js";
5
5
  import "./incode-logo-DhG3d-rP.js";
6
6
  import { t as u } from "./button-i4SPU5G7.js";
7
- import { t as d } from "./dropdownComposed-mYhdUOGA.js";
8
- import "./dropdownComposed-C4zoRTo2.js";
9
- import { t as f } from "./modal-T42EZVfc.js";
7
+ import { t as d } from "./dropdownComposed-B6ke-f1Z.js";
8
+ import "./dropdownComposed-Cf0EWLpo.js";
9
+ import { t as f } from "./modal-CVCFEIu4.js";
10
10
  //#region src/shared/homeScreen/language.ts
11
11
  function p(e, t) {
12
12
  let [n, ...r] = Array.from(e);
@@ -1,18 +1,25 @@
1
1
  import { m as e, v as t } from "./vendor-preact-D6SntenC.js";
2
- import "./successIcon-Dklx5JWI.js";
2
+ import "./successIcon-SlKgTSty.js";
3
3
  //#region src/shared/icons/errorIcon.tsx
4
4
  var n = ({ size: e = 32 }) => /* @__PURE__ */ t("svg", {
5
5
  xmlns: "http://www.w3.org/2000/svg",
6
6
  width: e,
7
7
  height: e,
8
- viewBox: "0 0 32 32",
8
+ viewBox: "0 0 64 64",
9
9
  fill: "none",
10
10
  class: "IncodeErrorIcon",
11
11
  "aria-hidden": "true",
12
- children: /* @__PURE__ */ t("path", {
13
- d: "M16 0C24.8219 0 32 7.17642 32 16C32 24.8219 24.8219 32 16 32C7.17811 32 0 24.8219 0 16C0 7.17642 7.17811 0 16 0ZM13.1553 11.3701C12.6618 10.8767 11.8636 10.8767 11.3701 11.3701C10.8767 11.8636 10.8767 12.6618 11.3701 13.1553L14.4053 16.1924L11.3721 19.2256C10.8803 19.7191 10.8803 20.5173 11.3721 21.0107C11.8656 21.504 12.6658 21.5041 13.1592 21.0107L16.1924 17.9775L19.2334 21.0205C19.481 21.2664 19.8029 21.3916 20.1279 21.3916C20.4513 21.3916 20.7746 21.2664 21.0205 21.0205C21.514 20.527 21.514 19.7269 21.0205 19.2334L17.9775 16.1924L21.0107 13.1572C21.5041 12.6638 21.504 11.8639 21.0107 11.3721C20.5173 10.8786 19.7191 10.8786 19.2256 11.3721L16.1904 14.4053L13.1553 11.3701Z",
12
+ children: [/* @__PURE__ */ t("path", {
13
+ "fill-rule": "evenodd",
14
+ "clip-rule": "evenodd",
15
+ d: "M32 6.66669C18.032 6.66669 6.66669 18.0294 6.66669 32C6.66669 45.968 18.032 57.3334 32 57.3334C45.968 57.3334 57.3334 45.968 57.3334 32C57.3334 18.0294 45.968 6.66669 32 6.66669Z",
14
16
  fill: "var(--icon-status-negative)"
15
- })
17
+ }), /* @__PURE__ */ t("path", {
18
+ "fill-rule": "evenodd",
19
+ "clip-rule": "evenodd",
20
+ d: "M39.6426 39.6368C39.2533 40.0261 38.7413 40.2235 38.2293 40.2235C37.7146 40.2235 37.2053 40.0261 36.8133 39.6368L31.9973 34.8181L27.1946 39.6208C26.4133 40.4021 25.1467 40.4021 24.3653 39.6208C23.5867 38.8395 23.5867 37.5755 24.3653 36.7941L29.168 31.9915L24.3627 27.1835C23.5813 26.4021 23.5813 25.1381 24.3627 24.3568C25.144 23.5755 26.408 23.5755 27.1893 24.3568L31.9946 29.1621L36.8 24.3595C37.5813 23.5781 38.8453 23.5781 39.6266 24.3595C40.408 25.1381 40.408 26.4048 39.6266 27.1861L34.824 31.9915L39.6426 36.8075C40.424 37.5888 40.424 38.8555 39.6426 39.6368Z",
21
+ fill: "var(--icon-neutral-0)"
22
+ })]
16
23
  }), r = ({ size: e = 32 }) => /* @__PURE__ */ t("svg", {
17
24
  xmlns: "http://www.w3.org/2000/svg",
18
25
  width: e,
package/dist/id/id.es.js CHANGED
@@ -2,16 +2,16 @@ import { n as e } from "../i18n-D6pCC7RL.js";
2
2
  import { _ as t, c as n, l as r, o as i, v as a } from "../vendor-preact-D6SntenC.js";
3
3
  import { o, t as s } from "../incodeComponent-DmPlyJO-.js";
4
4
  import { t as c } from "../page-BB20C-zy.js";
5
- import { a as l, i as u, n as d, o as f, r as p, t as m } from "../extensibility-Bja1pQCo.js";
5
+ import { a as l, i as u, n as d, o as f, r as p, t as m } from "../extensibility-B2WcKcDG.js";
6
6
  import { n as h } from "../loadingIcon-C-Sq5v_K.js";
7
- import { t as g } from "../spinner-DLV8Z1TT.js";
8
- import "../spinner-CcWzwNeZ.js";
9
- import { t as _ } from "../transitionSpinner-CU8-yMmE.js";
10
- import { t as v } from "../processing-B4uYww40.js";
7
+ import { t as g } from "../spinner-Cj7kdZ0T.js";
8
+ import "../spinner-BYktSnQZ.js";
9
+ import { t as _ } from "../transitionSpinner-CT6kTJyR.js";
10
+ import { t as v } from "../processing-CKYorOmO.js";
11
11
  import { t as y } from "../button-i4SPU5G7.js";
12
- import { h as b, s as x } from "../icons-CR0w16NT.js";
13
- import { o as S, r as C } from "../tutorial-DiBKm_nx.js";
14
- import { t as w } from "../successIcon-Dklx5JWI.js";
12
+ import { h as b, s as x } from "../icons-fruAkt2C.js";
13
+ import { o as S, r as C } from "../tutorial-Dtl1dbQf.js";
14
+ import { t as w } from "../successIcon-SlKgTSty.js";
15
15
  import { t as T } from "../incodeModule-BH9gV7jI.js";
16
16
  import { t as E } from "../tabs-NxklvgNU.js";
17
17
  import { createIdCaptureManager as D } from "@incodetech/core/id";
@@ -219,7 +219,7 @@ function B() {
219
219
  }
220
220
  //#endregion
221
221
  //#region src/modules/id/id.tsx
222
- var V = n(() => import("../mandatoryConsent-Bfy5ubtU.js").then((e) => ({ default: e.MandatoryConsent }))), H = ({ config: n, manager: r, onFinish: s, onError: c }) => {
222
+ var V = n(() => import("../mandatoryConsent-rgIsyt74.js").then((e) => ({ default: e.MandatoryConsent }))), H = ({ config: n, manager: r, onFinish: s, onError: c }) => {
223
223
  A();
224
224
  let { t: h } = e();
225
225
  t(() => {
@@ -1,21 +1,10 @@
1
1
  /*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
2
- @keyframes fadeIn {
3
- from {
4
- opacity: 0;
5
- transform: translateY(8px);
6
- }
7
-
8
- to {
9
- opacity: 1;
10
- transform: translateY(0);
11
- }
12
- }
13
-
14
2
  .IncodeIdOcrPage {
15
3
  width: 100%;
16
4
  height: 100%;
5
+ animation: fadeIn var(--motion-fade-in-duration, .7s) ease-out;
17
6
  margin-inline: auto;
18
- animation: .4s ease-out fadeIn;
7
+ animation-fill-mode: both;
19
8
  }
20
9
 
21
10
  @media (min-width: 48rem) {
@@ -49,7 +38,6 @@
49
38
  .IncodeIdOcrButton {
50
39
  bottom: var(--spacing-0, var(--spacing-none, 0px));
51
40
  width: 100%;
52
- padding-block: var(--spacing-16, var(--spacing-16, 16px));
53
41
  position: sticky;
54
42
  }
55
43
 
@@ -2,30 +2,30 @@ import { n as e } from "./i18n-D6pCC7RL.js";
2
2
  import { v as t } from "./vendor-preact-D6SntenC.js";
3
3
  import { o as n, t as r } from "./incodeComponent-DmPlyJO-.js";
4
4
  import { t as i } from "./page-BB20C-zy.js";
5
- import "./extensibility-Bja1pQCo.js";
6
- import { t as a } from "./spinner-DLV8Z1TT.js";
7
- import { t as o } from "./button-i4SPU5G7.js";
8
- import { t as s } from "./inputComposed-snw2V0ak.js";
9
- import { t as c } from "./dateInputComposed-DVAMP-vG.js";
10
- import { t as l } from "./radioButtonComposed-DB8PavEd.js";
5
+ import "./extensibility-B2WcKcDG.js";
6
+ import { t as a } from "./button-i4SPU5G7.js";
7
+ import { t as o } from "./verificationResult-BAVisg6H.js";
8
+ import { t as s } from "./inputComposed-BJ9PlS_q.js";
9
+ import { t as c } from "./dateInputComposed-DyEq4g_Z.js";
10
+ import { t as l } from "./radioButtonComposed-Db52rFVN.js";
11
11
  import { t as u } from "./incodeModule-BH9gV7jI.js";
12
12
  import { createIdOcrManager as d, getOcrFields as f } from "@incodetech/core/id-ocr";
13
13
  //#region src/modules/id-ocr/idOcrForm.tsx
14
14
  var p = {
15
15
  text: s,
16
16
  date: c
17
- }, m = ({ fields: n, data: r, validationErrors: i, isReadonly: a, onChange: s, onBlur: c, onContinue: u }) => {
17
+ }, m = ({ fields: n, data: r, validationErrors: i, isReadonly: o, onChange: s, onBlur: c, onContinue: u }) => {
18
18
  let { t: d } = e(), f = i && Object.keys(i).length > 0;
19
19
  return /* @__PURE__ */ t("div", {
20
20
  className: "IncodeIdOcrForm",
21
- children: [(n.length === 1 && n[0]?.key === "documentNumber" ? n : n.filter((e) => e.key === "documentNumber" ? !!r.documentNumber : e.key === "issuingCountry" ? a === !0 : !0)).map((e) => {
22
- let n = r[e.key] ?? "", o = i?.[e.key], u = o ? d(o) : void 0;
21
+ children: [(n.length === 1 && n[0]?.key === "documentNumber" ? n : n.filter((e) => e.key === "documentNumber" ? !!r.documentNumber : e.key === "issuingCountry" ? o === !0 : !0)).map((e) => {
22
+ let n = r[e.key] ?? "", a = i?.[e.key], u = a ? d(a) : void 0;
23
23
  if (e.type === "radio") return /* @__PURE__ */ t("div", {
24
24
  className: "IncodeIdOcrRadioGroup",
25
25
  children: [/* @__PURE__ */ t("label", {
26
26
  className: "IncodeIdOcrRadioOptionsLabel",
27
27
  htmlFor: e.key,
28
- children: `${!a && e.required ? "*" : ""}${d(e.labelKey)}`
28
+ children: `${!o && e.required ? "*" : ""}${d(e.labelKey)}`
29
29
  }), /* @__PURE__ */ t("div", {
30
30
  className: "IncodeIdOcrRadioOptions",
31
31
  children: e.options?.map((r) => /* @__PURE__ */ t(l, {
@@ -33,62 +33,62 @@ var p = {
33
33
  label: d(r.label),
34
34
  checked: n === r.value,
35
35
  value: r.value,
36
- disabled: a,
36
+ disabled: o,
37
37
  onChange: () => s(e.key, r.value)
38
38
  }, `${e.key}-${r.value}`))
39
39
  })]
40
40
  });
41
- let f = p[e.type], m = a ? !1 : e.required, h = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
41
+ let f = p[e.type], m = o ? !1 : e.required, h = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
42
42
  return /* @__PURE__ */ t(f, {
43
43
  id: `id-ocr-${e.key}`,
44
44
  label: d(e.labelKey),
45
45
  value: n,
46
- disabled: a,
46
+ disabled: o,
47
47
  required: m,
48
48
  error: u,
49
49
  showErrorIcon: !!u,
50
50
  onInput: (t) => s(e.key, t.target.value),
51
- onBlur: a || !c ? void 0 : () => c(e.key),
51
+ onBlur: o || !c ? void 0 : () => c(e.key),
52
52
  ...e.type === "date" && { max: h }
53
53
  }, e.key);
54
54
  }), /* @__PURE__ */ t("div", {
55
55
  className: "IncodeIdOcrButton",
56
- children: /* @__PURE__ */ t(o, {
56
+ children: /* @__PURE__ */ t(a, {
57
57
  onClick: u,
58
58
  disabled: f,
59
59
  children: d("common.continue")
60
60
  })
61
61
  })]
62
62
  });
63
- }, h = ({ config: r, onFinish: o, onError: s }) => {
64
- let { t: c } = e(), [l, u] = n(() => d({ config: r }));
65
- return l.status === "finished" ? (o?.(), null) : l.status === "error" ? (s?.(l.error), null) : l.status === "loading" || l.status === "submitting" ? /* @__PURE__ */ t(i, {
66
- hideHeader: !0,
67
- hideFooterBranding: !0,
68
- children: /* @__PURE__ */ t("div", {
69
- class: "IncodeIdOcrSpinner",
70
- children: /* @__PURE__ */ t(a, {
71
- size: "large",
72
- title: c("common.processing")
73
- })
74
- })
75
- }) : l.status === "readonly" || l.status === "inputting" ? /* @__PURE__ */ t(i, {
76
- title: c("idOcr.title"),
63
+ }, h = ({ config: r, onFinish: a }) => {
64
+ let { t: s } = e(), [c, l] = n(() => d({ config: r }));
65
+ return c.status === "finished" ? (a?.(), null) : c.status === "success" ? /* @__PURE__ */ t(o, {
66
+ status: "success",
67
+ successTitle: s("idOcr.successTitle")
68
+ }) : c.status === "error" ? /* @__PURE__ */ t(o, {
69
+ status: "failure",
70
+ onRetry: () => l.retry()
71
+ }) : c.status === "loading" || c.status === "submitting" ? /* @__PURE__ */ t(o, {
72
+ status: "submitting",
73
+ submittingTitle: s("common.processing"),
74
+ submittingSubtitle: s("idOcr.loadingSubtitle")
75
+ }) : c.status === "readonly" || c.status === "inputting" ? /* @__PURE__ */ t(i, {
76
+ title: s("idOcr.title"),
77
77
  className: "IncodeIdOcrPage",
78
+ hideFooterBranding: !0,
78
79
  children: /* @__PURE__ */ t(m, {
79
80
  fields: f(r),
80
- data: l.formData,
81
- validationErrors: l.status === "inputting" ? l.validationErrors : void 0,
82
- isReadonly: l.status === "readonly",
83
- onChange: (e, t) => u.setField(e, t),
84
- onBlur: l.status === "inputting" ? (e) => u.validateField(e) : void 0,
85
- onContinue: () => u.continue()
86
- }, l.ocrDocument)
81
+ data: c.formData,
82
+ validationErrors: c.status === "inputting" ? c.validationErrors : void 0,
83
+ isReadonly: c.status === "readonly",
84
+ onChange: (e, t) => l.setField(e, t),
85
+ onBlur: c.status === "inputting" ? (e) => l.validateField(e) : void 0,
86
+ onContinue: () => l.continue()
87
+ }, c.ocrDocument)
87
88
  }) : null;
88
- }, g = ({ config: e, onFinish: n, onError: i }) => /* @__PURE__ */ t(r, { children: e ? /* @__PURE__ */ t(h, {
89
+ }, g = ({ config: e, onFinish: n }) => /* @__PURE__ */ t(r, { children: e ? /* @__PURE__ */ t(h, {
89
90
  config: e,
90
- onFinish: n,
91
- onError: i
91
+ onFinish: n
92
92
  }) : null });
93
93
  u(g, "incode-id-ocr");
94
94
  //#endregion
@@ -2,7 +2,7 @@ import { n as e } from "../i18n-D6pCC7RL.js";
2
2
  import { _ as t, v as n } from "../vendor-preact-D6SntenC.js";
3
3
  import { o as r, t as i } from "../incodeComponent-DmPlyJO-.js";
4
4
  import { t as a } from "../page-BB20C-zy.js";
5
- import { t as o } from "../spinner-DLV8Z1TT.js";
5
+ import { t as o } from "../spinner-Cj7kdZ0T.js";
6
6
  import { t as s } from "../button-i4SPU5G7.js";
7
7
  import { t as c } from "../incodeModule-BH9gV7jI.js";
8
8
  import { createIdentityReuseManager as l } from "@incodetech/core/identity-reuse";
@@ -1,7 +1,7 @@
1
1
  import { a as e, v as t } from "./vendor-preact-D6SntenC.js";
2
2
  import { n } from "./loadingIcon-C-Sq5v_K.js";
3
- import { h as r, o as i } from "./icons-CR0w16NT.js";
4
- import { t as a } from "./successIcon-Dklx5JWI.js";
3
+ import { h as r, o as i } from "./icons-fruAkt2C.js";
4
+ import { t as a } from "./successIcon-SlKgTSty.js";
5
5
  //#region src/shared/input/input.tsx
6
6
  var o = e((e, r) => {
7
7
  let { class: i, type: a = "text", ...o } = e;
@@ -0,0 +1 @@
1
+ import "./inputComposed-BJ9PlS_q.js";
@@ -2,10 +2,10 @@ import { n as e } from "./i18n-D6pCC7RL.js";
2
2
  import { _ as t, l as n, v as r } from "./vendor-preact-D6SntenC.js";
3
3
  import { o as i, t as a } from "./incodeComponent-DmPlyJO-.js";
4
4
  import { t as o } from "./page-BB20C-zy.js";
5
- import { n as s } from "./typography-C-fmXMN1.js";
6
- import { t as c } from "./transitionSpinner-CU8-yMmE.js";
5
+ import { n as s } from "./typography-Duug0raB.js";
6
+ import { t as c } from "./transitionSpinner-CT6kTJyR.js";
7
7
  import { t as l } from "./button-i4SPU5G7.js";
8
- import { t as u } from "./checkbox-U9Zb6MbF.js";
8
+ import { t as u } from "./checkbox-SiI-r4kC.js";
9
9
  import { t as d } from "./incodeModule-BH9gV7jI.js";
10
10
  import { t as f } from "./richText-BNC8z_ah.js";
11
11
  import { createMandatoryConsentManager as p } from "@incodetech/core/mandatory-consent";
@@ -1,6 +1,6 @@
1
1
  import { C as e, b as t, d as n, f as r, g as i, h as a, l as o, p as s, r as c, v as l, x as u, y as d } from "./vendor-preact-D6SntenC.js";
2
2
  import { n as f } from "./loadingIcon-C-Sq5v_K.js";
3
- import { o as p } from "./icons-CR0w16NT.js";
3
+ import { o as p } from "./icons-fruAkt2C.js";
4
4
  import { a as m, i as h, n as g, o as _, r as v, t as y } from "./modal.hooks-DlvGTmPr.js";
5
5
  //#region src/shared/modal/modal.tsx
6
6
  var b = u(null);
@@ -2,8 +2,8 @@ import { n as e } from "./i18n-D6pCC7RL.js";
2
2
  import { _ as t, h as n, l as r, p as i, v as a } from "./vendor-preact-D6SntenC.js";
3
3
  import { t as o } from "./spacer-CN9uvb__.js";
4
4
  import { t as s } from "./button-i4SPU5G7.js";
5
- import { t as c } from "./inputComposed-snw2V0ak.js";
6
- import "./inputComposed-t5grm0d4.js";
5
+ import { t as c } from "./inputComposed-BJ9PlS_q.js";
6
+ import "./inputComposed-CxQBDZYq.js";
7
7
  //#region src/shared/otpInput/otpInput.tsx
8
8
  var l = 6, u = (e) => `${Math.floor(e / 60)}:${(e % 60).toString().padStart(2, "0")}`, d = (e) => e.replace(/[^a-zA-Z0-9]/g, "").toUpperCase().slice(0, l), f = ({ resendTimer: f, canResend: p, error: m, onSubmit: h, onResend: g, onBack: _, backLinkText: v = "otp.changePhoneNumber", disabled: y = !1, isLoading: b = !1 }) => {
9
9
  let { t: x } = e(), [S, C] = i(""), w = r(null), T = r(0), E = r(null), D = r(null), O = r(p), k = r(!1), A = r(), j = n((e) => {
@@ -4,9 +4,9 @@ import { o as r, t as i } from "../incodeComponent-DmPlyJO-.js";
4
4
  import { t as a } from "../spacer-CN9uvb__.js";
5
5
  import { t as o } from "../page-BB20C-zy.js";
6
6
  import { t as s } from "../button-i4SPU5G7.js";
7
- import { t as c } from "../otpInput-96a2tuz5.js";
8
- import { t as l } from "../checkbox-U9Zb6MbF.js";
9
- import { t as u } from "../phoneInputComposed-p1-AvgLf.js";
7
+ import { t as c } from "../otpInput-B1CBXCKi.js";
8
+ import { t as l } from "../checkbox-SiI-r4kC.js";
9
+ import { t as u } from "../phoneInputComposed-DyCqFvsP.js";
10
10
  import { t as d } from "../incodeModule-BH9gV7jI.js";
11
11
  import { createPhoneManager as f } from "@incodetech/core/phone";
12
12
  //#region src/modules/phone/phone.tsx
@@ -1,6 +1,6 @@
1
1
  import { S as e, _ as t, l as n, p as r, v as i } from "./vendor-preact-D6SntenC.js";
2
2
  import { t as a } from "./spacer-CN9uvb__.js";
3
- import { l as o } from "./icons-CR0w16NT.js";
3
+ import { l as o } from "./icons-fruAkt2C.js";
4
4
  import { r as s, t as c } from "./countries-BntFjJJG.js";
5
5
  import { n as l, t as u } from "./AsYouType-B4o16RK-.js";
6
6
  //#region src/modules/phone/phoneInput.tsx
@@ -1,10 +1,10 @@
1
1
  import { _ as e, a as t, d as n, h as r, l as i, p as a, v as o } from "./vendor-preact-D6SntenC.js";
2
- import { h as s } from "./icons-CR0w16NT.js";
3
- import { t as c } from "./successIcon-Dklx5JWI.js";
4
- import { t as l } from "./inputComposed-snw2V0ak.js";
2
+ import { h as s } from "./icons-fruAkt2C.js";
3
+ import { t as c } from "./successIcon-SlKgTSty.js";
4
+ import { t as l } from "./inputComposed-BJ9PlS_q.js";
5
5
  import { i as u, r as d, t as f, u as p } from "./countries-BntFjJJG.js";
6
6
  import { n as m, r as h, t as g } from "./AsYouType-B4o16RK-.js";
7
- import { t as _ } from "./dropdownComposed-mYhdUOGA.js";
7
+ import { t as _ } from "./dropdownComposed-B6ke-f1Z.js";
8
8
  //#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/getExampleNumber.js
9
9
  function v(e, t, n) {
10
10
  if (t[e]) return new h(e, t[e], n);
@@ -1,5 +1,5 @@
1
1
  import { v as e } from "./vendor-preact-D6SntenC.js";
2
- import { t } from "./transitionSpinner-CU8-yMmE.js";
2
+ import { t } from "./transitionSpinner-CT6kTJyR.js";
3
3
  //#region src/shared/processing/processing.tsx
4
4
  var n = () => /* @__PURE__ */ e(t, {});
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { v as e } from "../vendor-preact-D6SntenC.js";
2
- import { n as t } from "../electronic-signature-BWYYa2Hn.js";
2
+ import { n as t } from "../electronic-signature-GJJ9ym6W.js";
3
3
  import { t as n } from "../incodeModule-BH9gV7jI.js";
4
4
  //#region src/modules/qe-signature/qe-signature.tsx
5
5
  var r = ({ config: n, onFinish: r, onError: i }) => /* @__PURE__ */ e(t, {
@@ -1,6 +1,6 @@
1
1
  import { a as e, p as t, v as n } from "./vendor-preact-D6SntenC.js";
2
2
  import { n as r } from "./loadingIcon-C-Sq5v_K.js";
3
- import { h as i } from "./icons-CR0w16NT.js";
3
+ import { h as i } from "./icons-fruAkt2C.js";
4
4
  //#region src/shared/radioButtonComposed/radioButtonComposed.tsx
5
5
  var a = e(({ id: e, label: a, checked: o, defaultChecked: s, disabled: c = !1, required: l = !1, name: u, value: d, onChange: f, error: p, helper: m, showErrorIcon: h = !0, class: g, "aria-label": _, "aria-labelledby": v, "aria-describedby": y, "aria-invalid": b, ...x }, S) => {
6
6
  let [C, w] = t(!!s), T = o !== void 0, E = T ? !!o : C, D = !!c, O = !!l, k = typeof g == "string" ? g : void 0, A = (e) => {
@@ -5,12 +5,12 @@ import { o as u, t as d } from "./incodeComponent-DmPlyJO-.js";
5
5
  import { t as f } from "./spacer-CN9uvb__.js";
6
6
  import { t as p } from "./incode-logo-DhG3d-rP.js";
7
7
  import { n as m, t as h } from "./verifiedByIncode-CiuBhYBD.js";
8
- import { t as g } from "./spinner-DLV8Z1TT.js";
9
- import "./spinner-CcWzwNeZ.js";
10
- import { t as _ } from "./transitionSpinner-CU8-yMmE.js";
8
+ import { t as g } from "./spinner-Cj7kdZ0T.js";
9
+ import "./spinner-BYktSnQZ.js";
10
+ import { t as _ } from "./transitionSpinner-CT6kTJyR.js";
11
11
  import { t as v } from "./button-i4SPU5G7.js";
12
- import "./icons-CR0w16NT.js";
13
- import { t as y } from "./successIcon-Dklx5JWI.js";
12
+ import "./icons-fruAkt2C.js";
13
+ import { t as y } from "./successIcon-SlKgTSty.js";
14
14
  import { n as b } from "./countries-BntFjJJG.js";
15
15
  import { t as x } from "./incodeModule-BH9gV7jI.js";
16
16
  import { t as S } from "./tabs-NxklvgNU.js";
@@ -1351,7 +1351,7 @@ var w = ({ logoSrc: e }) => {
1351
1351
  })
1352
1352
  ]
1353
1353
  });
1354
- }, oe = a(() => import("./phoneInput-29FjtawS.js").then((e) => ({ default: e.PhoneInput }))), se = ({ countryCode: e, phonePrefix: n, error: i, isSending: a, isPhoneValid: o, onPhoneChange: c, onSendSms: u }) => {
1354
+ }, oe = a(() => import("./phoneInput-oIZdtS9S.js").then((e) => ({ default: e.PhoneInput }))), se = ({ countryCode: e, phonePrefix: n, error: i, isSending: a, isPhoneValid: o, onPhoneChange: c, onSendSms: u }) => {
1355
1355
  let { t: d } = t();
1356
1356
  return /* @__PURE__ */ l(r, { children: [/* @__PURE__ */ l(s, {
1357
1357
  fallback: /* @__PURE__ */ l(g, {}),
@@ -1,8 +1,8 @@
1
1
  import { _ as e, v as t } from "../vendor-preact-D6SntenC.js";
2
2
  import { o as n, t as r } from "../incodeComponent-DmPlyJO-.js";
3
- import { t as i } from "../transitionSpinner-CU8-yMmE.js";
4
- import { t as a } from "../processing-B4uYww40.js";
5
- import { n as o, r as s, t as c } from "../tutorial-DiBKm_nx.js";
3
+ import { t as i } from "../transitionSpinner-CT6kTJyR.js";
4
+ import { t as a } from "../processing-CKYorOmO.js";
5
+ import { n as o, r as s, t as c } from "../tutorial-Dtl1dbQf.js";
6
6
  import { t as l } from "../incodeModule-BH9gV7jI.js";
7
7
  import { createSelfieManager as u } from "@incodetech/core/selfie";
8
8
  //#region src/modules/selfie/preloadTutorialAssets.ts