@incodetech/web 0.0.0-dev-20260515-d3b786f → 0.0.0-dev-20260515-ec7243b

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 (97) hide show
  1. package/dist/ae-signature/ae-signature.es.js +2 -2
  2. package/dist/antifraud/antifraud.es.js +2 -2
  3. package/dist/authentication/authentication.es.js +3 -3
  4. package/dist/consent/consent.es.js +6 -6
  5. package/dist/{countrySelector-BsiZunSR.js → countrySelector-CE-JgIsv.js} +1 -1
  6. package/dist/{cpfOcr-Ce3VaOQN.js → cpfOcr-D_tbwbvh.js} +1 -1
  7. package/dist/cross-document-data-match/cross-document-data-match.es.js +2 -2
  8. package/dist/curp-validation/curp-validation.es.js +6 -6
  9. package/dist/{customFields-CXZRYgOg.js → customFields-CW38fQUv.js} +4 -4
  10. package/dist/{customWatchlist-C_wvVinF.js → customWatchlist-D9_yjEQd.js} +4 -4
  11. package/dist/{documentCapture-tQFMJyim.js → documentCapture-xX-JT7ZY.js} +6 -6
  12. package/dist/dynamic-forms/styles.css +4 -4
  13. package/dist/{dynamicForms-D8NINqt9.js → dynamicForms-CJP1Ia6Q.js} +5 -5
  14. package/dist/ekyb/ekyb.es.js +1 -1
  15. package/dist/ekyb/styles.css +1 -11
  16. package/dist/{ekybModule-lj4gnwFq.js → ekybModule-BSs7mndb.js} +112 -110
  17. package/dist/ekybModule-D9M3E2Gm.js +2 -0
  18. package/dist/ekyc/ekyc.es.js +1 -1
  19. package/dist/{ekycModule-Co4mDVc_.js → ekycModule-CU9pt5YN.js} +14 -15
  20. package/dist/ekycModule-CZw9cLno.js +2 -0
  21. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  22. package/dist/{electronic-signature-CNnrPjtf.js → electronic-signature-COYXjGdd.js} +5 -5
  23. package/dist/email/email.es.js +5 -5
  24. package/dist/{emailInput-B59IVE3b.js → emailInput-DppGf9pv.js} +2 -2
  25. package/dist/{expiredId-CkxF94M5.js → expiredId-BnmzE8T3.js} +1 -1
  26. package/dist/{extensibility-13QgMjhf.js → extensibility-CzEJfRwo.js} +21 -22
  27. package/dist/extensibility.es.js +13 -14
  28. package/dist/face-match/face-match.es.js +1 -1
  29. package/dist/faceMatch-B8j0g0Yo.js +2 -0
  30. package/dist/{faceMatch-Ce1ua8Ow.js → faceMatch-BV8UD7tj.js} +5 -5
  31. package/dist/flow/flow.es.js +6 -6
  32. package/dist/flow/styles.css +5 -15
  33. package/dist/geolocation/geolocation.es.js +4 -4
  34. package/dist/governmentValidation/governmentValidation.es.js +5 -5
  35. package/dist/{homeScreen-PKb7kxgP.js → homeScreen-DnP1jw9A.js} +1 -1
  36. package/dist/{i18n-CGlauRf5.js → i18n-9s4OSqwi.js} +1 -1
  37. package/dist/id/id.es.js +109 -76
  38. package/dist/id-verification/id-verification.es.js +3 -3
  39. package/dist/{idOcr-B0XJcd5T.js → idOcr-CCjfWQvH.js} +12 -12
  40. package/dist/identity-reuse/identity-reuse.es.js +3 -3
  41. package/dist/{incodeComponent-Daiq9rHs.js → incodeComponent-C1o4M0ZK.js} +1 -1
  42. package/dist/index.es.js +1 -1
  43. package/dist/{mandatoryConsent-XDDP9kUS.js → mandatoryConsent-DssKMC3v.js} +5 -5
  44. package/dist/{optionAccessibleLabel-oqlxZV0M.js → optionAccessibleLabel-CzEeX3Q4.js} +3 -3
  45. package/dist/{otpInput-fp48m4BY.js → otpInput-DqRA_egd.js} +1 -1
  46. package/dist/{pdf-BdiuemBY.js → pdf-BurGZ08w.js} +1 -1
  47. package/dist/{pdfViewer-DwAXjYrY.js → pdfViewer-BGBNL1Ea.js} +1 -1
  48. package/dist/phone/phone.es.js +4 -4
  49. package/dist/{processing-BYfs2GoV.js → processing-G_y3o32b.js} +1 -1
  50. package/dist/qe-signature/qe-signature.es.js +2 -2
  51. package/dist/radioGroupComposed-BbmvxmD2.js +177 -0
  52. package/dist/{redirectToMobile-N44AN0EK.js → redirectToMobile-C3k1gloW.js} +7 -7
  53. package/dist/{richText-FMNMBzjD.js → richText-DbJ5sl2n.js} +1 -1
  54. package/dist/selfie/selfie.es.js +6 -6
  55. package/dist/signature/signature.es.js +6 -6
  56. package/dist/{transitionSpinner-Dr4DShjh.js → transitionSpinner-PIEPU2Vx.js} +1 -1
  57. package/dist/{tutorial-DEXE3Q8-.js → tutorial-9vHAHvMK.js} +5 -5
  58. package/dist/{useModuleLoader-DVdmkeLL.js → useModuleLoader-BIfhXc2Z.js} +15 -15
  59. package/dist/{verificationResult-DMrfItOM.js → verificationResult-BrVbUJ4U.js} +1 -1
  60. package/dist/watchlist/watchlist.es.js +4 -4
  61. package/dist/{watchlistForBusiness-BE2lnPGU.js → watchlistForBusiness-BcSNtHCV.js} +5 -5
  62. package/dist/workflow/styles.css +1 -11
  63. package/dist/workflow/workflow.es.js +7 -7
  64. package/package.json +2 -2
  65. package/dist/ekybModule-BCRodgh_.js +0 -2
  66. package/dist/ekycModule-CC8qn1gC.js +0 -2
  67. package/dist/faceMatch-C3TpccCq.js +0 -2
  68. package/dist/formField-CXPGZEuh.js +0 -47
  69. package/dist/radioGroupComposed-B74fc1L3.js +0 -135
  70. /package/dist/{aligndevicelottie-B-l4oLgx.js → aligndevicelottie-DoV8xKjh.js} +0 -0
  71. /package/dist/{autoFocusTitle-G-kfvIN4.js → autoFocusTitle-QexamZ4i.js} +0 -0
  72. /package/dist/{back-horizontal-hint-CwqTQJfA.js → back-horizontal-hint-B8Brxh3U.js} +0 -0
  73. /package/dist/{back-tutorial-CRhanZzU.js → back-tutorial-1NOQobGO.js} +0 -0
  74. /package/dist/{back-vertical-hint-BgiXMkd1.js → back-vertical-hint-BBo36dxn.js} +0 -0
  75. /package/dist/{backdevicelottie-BD-VUg7T.js → backdevicelottie-C_ceuqY7.js} +0 -0
  76. /package/dist/{blurdevicelottie-CHfYCaY6.js → blurdevicelottie-UO14Y0WC.js} +0 -0
  77. /package/dist/{bottomSheet-CLMmiBQS.js → bottomSheet-DE_8TFEC.js} +0 -0
  78. /package/dist/{browser-ponyfill-N5WsrksH.js → browser-ponyfill-jOkuz57z.js} +0 -0
  79. /package/dist/{defineProperty-C5pRNti7.js → defineProperty-Dh8nSJpJ.js} +0 -0
  80. /package/dist/{flip-animation-DVFocXsi.js → flip-animation-CgwRsEmK.js} +0 -0
  81. /package/dist/{front-horizontal-hint-DmXr2DRB.js → front-horizontal-hint-DGGGi8e1.js} +0 -0
  82. /package/dist/{front-vertical-hint-DEq5JXmK.js → front-vertical-hint-CNr5mE6Q.js} +0 -0
  83. /package/dist/{frontdevicelottie-COQT75Pg.js → frontdevicelottie-Bu6f9fDE.js} +0 -0
  84. /package/dist/{glaredevicelottie-Dmxbf8DW.js → glaredevicelottie-B10axYs_.js} +0 -0
  85. /package/dist/{id-laser-h-3GiYaX6T.js → id-laser-h-mBAzHVOK.js} +0 -0
  86. /package/dist/{id-laser-v-CTSbH2dU.js → id-laser-v-CrFg4bcJ.js} +0 -0
  87. /package/dist/{id-tutorial-DGcHGLSH.js → id-tutorial-BCr42Pnn.js} +0 -0
  88. /package/dist/{incodeModule-CHzKl22Y.js → incodeModule-BqCjVgEI.js} +0 -0
  89. /package/dist/{numberedStep-CR4w_BpM.js → numberedStep-CT-alrK5.js} +0 -0
  90. /package/dist/{passport-horizontal-hint-BwWaH8K3.js → passport-horizontal-hint-Bgquwtac.js} +0 -0
  91. /package/dist/{passport-tutorial-WZtTidDg.js → passport-tutorial-DwRwtPVX.js} +0 -0
  92. /package/dist/{passport-vertical-hint-DfVc5-AR.js → passport-vertical-hint-BT1D5BrW.js} +0 -0
  93. /package/dist/{requiredLabelHint-CuA6awez.js → requiredLabelHint-BLwgqozE.js} +0 -0
  94. /package/dist/{selfieTutorial-CjEqN3wS.js → selfieTutorial-BgrlUMXP.js} +0 -0
  95. /package/dist/{snackbar-YzOg-BFn.js → snackbar-BDp8x7Cv.js} +0 -0
  96. /package/dist/{statusPage-DwY5vcgk.js → statusPage-CUI7ApcU.js} +0 -0
  97. /package/dist/{tabs-D4BYhNn4.js → tabs-DaPyP71c.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { v as e } from "../vendor-preact-D6SntenC.js";
2
- import { n as t } from "../electronic-signature-CNnrPjtf.js";
3
- import { t as n } from "../incodeModule-CHzKl22Y.js";
2
+ import { n as t } from "../electronic-signature-COYXjGdd.js";
3
+ import { t as n } from "../incodeModule-BqCjVgEI.js";
4
4
  //#region src/modules/ae-signature/ae-signature.tsx
5
5
  var r = ({ config: n, onFinish: r, onError: i }) => /* @__PURE__ */ e(t, {
6
6
  config: n ? {
@@ -1,8 +1,8 @@
1
1
  import { _ as e, v as t } from "../vendor-preact-D6SntenC.js";
2
2
  import { o as n } from "../hooks-BVnGysT7.js";
3
- import { t as r } from "../incodeComponent-Daiq9rHs.js";
3
+ import { t as r } from "../incodeComponent-C1o4M0ZK.js";
4
4
  import { t as i } from "../spinner-CKnjVHxw.js";
5
- import { t as a } from "../incodeModule-CHzKl22Y.js";
5
+ import { t as a } from "../incodeModule-BqCjVgEI.js";
6
6
  import { createAntifraudManager as o } from "@incodetech/core/antifraud";
7
7
  //#region src/modules/antifraud/antifraud.tsx
8
8
  var s = ({ onFinish: r }) => {
@@ -1,8 +1,8 @@
1
1
  import { v as e } from "../vendor-preact-D6SntenC.js";
2
2
  import { o as t } from "../hooks-BVnGysT7.js";
3
- import { t as n } from "../incodeComponent-Daiq9rHs.js";
4
- import { n as r, r as i, t as a } from "../tutorial-DEXE3Q8-.js";
5
- import { t as o } from "../incodeModule-CHzKl22Y.js";
3
+ import { t as n } from "../incodeComponent-C1o4M0ZK.js";
4
+ import { n as r, r as i, t as a } from "../tutorial-9vHAHvMK.js";
5
+ import { t as o } from "../incodeModule-BqCjVgEI.js";
6
6
  import { createAuthenticationManager as s } from "@incodetech/core/authentication";
7
7
  //#region src/modules/authentication/authentication.tsx
8
8
  var c = ({ config: n, authHint: o, manager: c, onFinish: l, onError: u }) => {
@@ -1,15 +1,15 @@
1
- import { n as e } from "../i18n-CGlauRf5.js";
1
+ import { n as e } from "../i18n-9s4OSqwi.js";
2
2
  import { _ as t, d as n, l as r, v as i } from "../vendor-preact-D6SntenC.js";
3
3
  import { o as a } from "../hooks-BVnGysT7.js";
4
- import { t as o } from "../incodeComponent-Daiq9rHs.js";
4
+ import { t as o } from "../incodeComponent-C1o4M0ZK.js";
5
5
  import { t as s } from "../page-C1yT4DLb.js";
6
6
  import { n as c } from "../typography-CxjaknHN.js";
7
- import { t as l } from "../transitionSpinner-Dr4DShjh.js";
7
+ import { t as l } from "../transitionSpinner-PIEPU2Vx.js";
8
8
  import { t as u } from "../button-DcCUEn2n.js";
9
9
  import { t as d } from "../checkbox-Cl57ltq_.js";
10
- import { t as f } from "../incodeModule-CHzKl22Y.js";
11
- import { t as p } from "../richText-FMNMBzjD.js";
12
- import { n as m, t as h } from "../requiredLabelHint-CuA6awez.js";
10
+ import { t as f } from "../incodeModule-BqCjVgEI.js";
11
+ import { t as p } from "../richText-DbJ5sl2n.js";
12
+ import { n as m, t as h } from "../requiredLabelHint-BLwgqozE.js";
13
13
  import { createConsentManager as g } from "@incodetech/core/consent";
14
14
  //#region src/modules/consent/consent.tsx
15
15
  var _ = ({ config: o, manager: f, onFinish: _, onError: v }) => {
@@ -1,4 +1,4 @@
1
- import { n as e } from "./i18n-CGlauRf5.js";
1
+ import { n as e } from "./i18n-9s4OSqwi.js";
2
2
  import { d as t, v as n } from "./vendor-preact-D6SntenC.js";
3
3
  import { t as r } from "./dropdownComposed-DFRBG22E.js";
4
4
  //#region src/shared/countrySelector/countrySelector.tsx
@@ -5,7 +5,7 @@ import { t as a } from "./page-C1yT4DLb.js";
5
5
  import { t as o } from "./spinner-CKnjVHxw.js";
6
6
  import "./spinner-B4dcie2T.js";
7
7
  import { t as s } from "./button-DcCUEn2n.js";
8
- import { t as c } from "./verificationResult-DMrfItOM.js";
8
+ import { t as c } from "./verificationResult-BrVbUJ4U.js";
9
9
  import { t as l } from "./inputComposed-APSw8C7o.js";
10
10
  import { createCpfOcrManager as u } from "@incodetech/core/cpf-ocr";
11
11
  //#region src/modules/cpf-ocr/cpfOcr.tsx
@@ -1,8 +1,8 @@
1
1
  import { _ as e, v as t } from "../vendor-preact-D6SntenC.js";
2
2
  import { o as n } from "../hooks-BVnGysT7.js";
3
- import { t as r } from "../incodeComponent-Daiq9rHs.js";
3
+ import { t as r } from "../incodeComponent-C1o4M0ZK.js";
4
4
  import { t as i } from "../spinner-CKnjVHxw.js";
5
- import { t as a } from "../incodeModule-CHzKl22Y.js";
5
+ import { t as a } from "../incodeModule-BqCjVgEI.js";
6
6
  import { createCrossDocumentDataMatchManager as o } from "@incodetech/core/cross-document-data-match";
7
7
  //#region src/modules/cross-document-data-match/cross-document-data-match.tsx
8
8
  var s = ({ onFinish: r }) => {
@@ -1,10 +1,10 @@
1
- import { n as e } from "../i18n-CGlauRf5.js";
1
+ import { n as e } from "../i18n-9s4OSqwi.js";
2
2
  import { S as t, d as n, v as r } from "../vendor-preact-D6SntenC.js";
3
3
  import { o as i } from "../hooks-BVnGysT7.js";
4
- import { t as a } from "../incodeComponent-Daiq9rHs.js";
4
+ import { t as a } from "../incodeComponent-C1o4M0ZK.js";
5
5
  import { r as o } from "../loadingIcon-BN5YRQUb.js";
6
6
  import { t as s } from "../page-C1yT4DLb.js";
7
- import { t as c } from "../transitionSpinner-Dr4DShjh.js";
7
+ import { t as c } from "../transitionSpinner-PIEPU2Vx.js";
8
8
  import { t as l } from "../button-DcCUEn2n.js";
9
9
  import { g as u } from "../icons-Cc7zwchP.js";
10
10
  import { t as d } from "../successIcon-DbILeIz_.js";
@@ -13,9 +13,9 @@ import { t as p } from "../dropdownComposed-DFRBG22E.js";
13
13
  import "../dropdownComposed-DwTzc2YU.js";
14
14
  import { t as m } from "../dateInputComposed-BpAGsjN6.js";
15
15
  import "../dateInputComposed-DU3o6PAV.js";
16
- import { t as h } from "../incodeModule-CHzKl22Y.js";
17
- import { n as g, t as _ } from "../requiredLabelHint-CuA6awez.js";
18
- import { t as v } from "../autoFocusTitle-G-kfvIN4.js";
16
+ import { t as h } from "../incodeModule-BqCjVgEI.js";
17
+ import { n as g, t as _ } from "../requiredLabelHint-BLwgqozE.js";
18
+ import { t as v } from "../autoFocusTitle-QexamZ4i.js";
19
19
  import { GENERATE_CURP_FIELDS as y, createCurpValidationManager as b, mexicanStates as x } from "@incodetech/core/curp-validation";
20
20
  //#region src/modules/curp-validation/curpInput.tsx
21
21
  var S = ({ curp: t, isValid: n, onCurpChange: i, onVerify: a, onSwitchToGenerate: s, disabled: c = !1, placeholder: u, continueLabel: d, dontHaveLabel: p }) => {
@@ -1,7 +1,7 @@
1
- import { n as e } from "./i18n-CGlauRf5.js";
1
+ import { n as e } from "./i18n-9s4OSqwi.js";
2
2
  import { _ as t, l as n, p as r, v as i } from "./vendor-preact-D6SntenC.js";
3
3
  import { o as a } from "./hooks-BVnGysT7.js";
4
- import { t as o } from "./incodeComponent-Daiq9rHs.js";
4
+ import { t as o } from "./incodeComponent-C1o4M0ZK.js";
5
5
  import { r as s, t as c } from "./loadingIcon-BN5YRQUb.js";
6
6
  import { t as l } from "./page-C1yT4DLb.js";
7
7
  import { t as u } from "./button-DcCUEn2n.js";
@@ -9,8 +9,8 @@ import { t as d } from "./successIcon-DbILeIz_.js";
9
9
  import { t as f } from "./inputComposed-APSw8C7o.js";
10
10
  import { t as p } from "./checkbox-Cl57ltq_.js";
11
11
  import { t as m } from "./dateInputComposed-BpAGsjN6.js";
12
- import { t as h } from "./incodeModule-CHzKl22Y.js";
13
- import { t as g } from "./statusPage-DwY5vcgk.js";
12
+ import { t as h } from "./incodeModule-BqCjVgEI.js";
13
+ import { t as g } from "./statusPage-CUI7ApcU.js";
14
14
  import { createCustomFieldsManager as _ } from "@incodetech/core/custom-fields";
15
15
  //#region src/modules/custom-fields/customFields.tsx
16
16
  var v = {
@@ -1,11 +1,11 @@
1
- import { n as e } from "./i18n-CGlauRf5.js";
1
+ import { n as e } from "./i18n-9s4OSqwi.js";
2
2
  import { _ as t, l as n, v as r } from "./vendor-preact-D6SntenC.js";
3
3
  import { o as i } from "./hooks-BVnGysT7.js";
4
- import { t as a } from "./incodeComponent-Daiq9rHs.js";
4
+ import { t as a } from "./incodeComponent-C1o4M0ZK.js";
5
5
  import { t as o } from "./loadingIcon-BN5YRQUb.js";
6
6
  import { t as s } from "./successIcon-DbILeIz_.js";
7
- import { t as c } from "./incodeModule-CHzKl22Y.js";
8
- import { t as l } from "./statusPage-DwY5vcgk.js";
7
+ import { t as c } from "./incodeModule-BqCjVgEI.js";
8
+ import { t as l } from "./statusPage-CUI7ApcU.js";
9
9
  import { createCustomWatchlistManager as u } from "@incodetech/core/custom-watchlist";
10
10
  //#region src/modules/custom-watchlist/customWatchlist.tsx
11
11
  var d = ({ onFinish: a }) => {
@@ -1,17 +1,17 @@
1
- import { n as e } from "./i18n-CGlauRf5.js";
1
+ import { n as e } from "./i18n-9s4OSqwi.js";
2
2
  import { S as t, _ as n, h as r, l as i, m as a, p as o, v as s } from "./vendor-preact-D6SntenC.js";
3
3
  import { o as c, r as l } from "./hooks-BVnGysT7.js";
4
- import { t as u } from "./incodeComponent-Daiq9rHs.js";
4
+ import { t as u } from "./incodeComponent-C1o4M0ZK.js";
5
5
  import { n as d, r as f } from "./loadingIcon-BN5YRQUb.js";
6
6
  import { t as p } from "./page-C1yT4DLb.js";
7
- import { b as m, d as h, f as g, l as _, p as v, u as y, y as b } from "./extensibility-13QgMjhf.js";
7
+ import { b as m, d as h, f as g, l as _, p as v, u as y, y as b } from "./extensibility-CzEJfRwo.js";
8
8
  import { t as x } from "./spinner-CKnjVHxw.js";
9
9
  import { t as S } from "./button-DcCUEn2n.js";
10
10
  import { a as C, p as w, r as T } from "./icons-Cc7zwchP.js";
11
11
  import { t as E } from "./successIcon-DbILeIz_.js";
12
- import { o as D } from "./tutorial-DEXE3Q8-.js";
13
- import { t as O } from "./bottomSheet-CLMmiBQS.js";
14
- import { t as k } from "./incodeModule-CHzKl22Y.js";
12
+ import { o as D } from "./tutorial-9vHAHvMK.js";
13
+ import { t as O } from "./bottomSheet-DE_8TFEC.js";
14
+ import { t as k } from "./incodeModule-BqCjVgEI.js";
15
15
  import { createDocumentCaptureManager as A } from "@incodetech/core/document-capture";
16
16
  //#region src/modules/document-capture/documentCameraView.tsx
17
17
  function j(e) {
@@ -11,6 +11,10 @@
11
11
  margin-top: var(--spacing-24, var(--spacing-24, 24px));
12
12
  }
13
13
 
14
+ .IncodeDynamicFormsPage .IncodePageContent {
15
+ align-items: center;
16
+ }
17
+
14
18
  .IncodeDynamicFormsForm {
15
19
  flex-direction: column;
16
20
  width: 100%;
@@ -30,7 +34,3 @@
30
34
  width: 100%;
31
35
  display: flex;
32
36
  }
33
-
34
- .IncodePageContent {
35
- align-items: center;
36
- }
@@ -1,18 +1,18 @@
1
- import { n as e } from "./i18n-CGlauRf5.js";
1
+ import { n as e } from "./i18n-9s4OSqwi.js";
2
2
  import { _ as t, d as n, p as r, v as i } from "./vendor-preact-D6SntenC.js";
3
3
  import { o as a } from "./hooks-BVnGysT7.js";
4
- import { t as o } from "./incodeComponent-Daiq9rHs.js";
4
+ import { t as o } from "./incodeComponent-C1o4M0ZK.js";
5
5
  import { r as s } from "./loadingIcon-BN5YRQUb.js";
6
6
  import { t as c } from "./page-C1yT4DLb.js";
7
7
  import { t as l } from "./button-DcCUEn2n.js";
8
- import { t as u } from "./verificationResult-DMrfItOM.js";
8
+ import { t as u } from "./verificationResult-BrVbUJ4U.js";
9
9
  import { t as d } from "./inputComposed-APSw8C7o.js";
10
10
  import { t as f } from "./checkbox-Cl57ltq_.js";
11
11
  import { n as p, t as m } from "./phoneInputComposed-bvWhGLFZ.js";
12
12
  import { t as h } from "./dropdownComposed-DFRBG22E.js";
13
13
  import { t as g } from "./dateInputComposed-BpAGsjN6.js";
14
- import { t as _ } from "./incodeModule-CHzKl22Y.js";
15
- import { t as v } from "./emailInput-B59IVE3b.js";
14
+ import { t as _ } from "./incodeModule-BqCjVgEI.js";
15
+ import { t as v } from "./emailInput-DppGf9pv.js";
16
16
  import { formatCPF as y } from "@incodetech/core/cpf-ocr";
17
17
  import { createDynamicFormsManager as b } from "@incodetech/core/dynamic-forms";
18
18
  //#region src/modules/dynamic-forms/dynamicForms.tsx
@@ -1,2 +1,2 @@
1
- import { t as e } from "../ekybModule-lj4gnwFq.js";
1
+ import { t as e } from "../ekybModule-BSs7mndb.js";
2
2
  export { e as EkybModule };
@@ -8,7 +8,6 @@
8
8
  }
9
9
 
10
10
  .IncodeEkybPage {
11
- max-width: 480px;
12
11
  margin-inline: auto;
13
12
  }
14
13
 
@@ -24,7 +23,7 @@
24
23
  display: flex;
25
24
  }
26
25
 
27
- .IncodeEkybPage .IncodeEkybForm .IncodeInputComposed, .IncodeEkybPage .IncodeEkybForm .IncodeDropdownComposed, .IncodeEkybPage .IncodeEkybForm .IncodeFormField {
26
+ .IncodeEkybPage .IncodeEkybForm .IncodeInputComposed, .IncodeEkybPage .IncodeEkybForm .IncodeDropdownComposed, .IncodeEkybPage .IncodeEkybForm .IncodeCountrySelector, .IncodeEkybPage .IncodeEkybForm .IncodeFormField {
28
27
  margin-inline: auto;
29
28
  }
30
29
 
@@ -109,14 +108,9 @@
109
108
  @media (min-width: 768px) {
110
109
  .IncodeEkybPage.IncodePageContainer {
111
110
  margin-top: var(--spacing-0, var(--spacing-none, 0px));
112
- height: 95dvh;
113
111
  max-height: none;
114
112
  }
115
113
 
116
- .IncodeEkybPage .IncodePageInner {
117
- height: 95%;
118
- }
119
-
120
114
  .IncodeEkybPage.IncodeEkybPageScrollable {
121
115
  max-width: 500px;
122
116
  }
@@ -131,10 +125,6 @@
131
125
  overflow-y: auto;
132
126
  }
133
127
 
134
- .IncodeEkybPage.IncodeEkybPageScrollable .IncodeEkybForm {
135
- margin-left: var(--spacing-8, var(--spacing-8, 8px));
136
- }
137
-
138
128
  .IncodeEkybPage .IncodeEkybFooter {
139
129
  flex-shrink: 0;
140
130
  }
@@ -1,34 +1,36 @@
1
- import { n as e } from "./i18n-CGlauRf5.js";
1
+ import { n as e } from "./i18n-9s4OSqwi.js";
2
2
  import { S as t, _ as n, d as r, h as i, l as a, p as o, v as s } from "./vendor-preact-D6SntenC.js";
3
3
  import { i as c, o as l } from "./hooks-BVnGysT7.js";
4
- import { t as u } from "./incodeComponent-Daiq9rHs.js";
5
- import { t as d } from "./page-C1yT4DLb.js";
6
- import { t as f } from "./spinner-CKnjVHxw.js";
7
- import { t as p } from "./button-DcCUEn2n.js";
8
- import { t as m } from "./verificationResult-DMrfItOM.js";
9
- import { t as h } from "./inputComposed-APSw8C7o.js";
10
- import { n as g, t as _ } from "./formField-CXPGZEuh.js";
11
- import { t as v } from "./dropdownComposed-DFRBG22E.js";
12
- import { t as y } from "./incodeModule-CHzKl22Y.js";
13
- import { n as b, t as x } from "./requiredLabelHint-CuA6awez.js";
14
- import { n as S, t as C } from "./optionAccessibleLabel-oqlxZV0M.js";
15
- import { t as w } from "./countrySelector-BsiZunSR.js";
16
- import { DEV_ONLY_COUNTRIES as T, SUPPORTED_COUNTRIES as E, computeEkybDisplayErrors as D, createEkybManager as O } from "@incodetech/core/ekyb";
4
+ import { t as u } from "./incodeComponent-C1o4M0ZK.js";
5
+ import { r as d } from "./loadingIcon-BN5YRQUb.js";
6
+ import { t as f } from "./page-C1yT4DLb.js";
7
+ import "./extensibility-CzEJfRwo.js";
8
+ import { t as p } from "./spinner-CKnjVHxw.js";
9
+ import { t as m } from "./button-DcCUEn2n.js";
10
+ import { t as h } from "./verificationResult-BrVbUJ4U.js";
11
+ import { t as g } from "./inputComposed-APSw8C7o.js";
12
+ import { i as _, r as v } from "./radioGroupComposed-BbmvxmD2.js";
13
+ import { t as y } from "./dropdownComposed-DFRBG22E.js";
14
+ import { t as b } from "./incodeModule-BqCjVgEI.js";
15
+ import { n as x, t as S } from "./requiredLabelHint-BLwgqozE.js";
16
+ import { n as C, t as w } from "./optionAccessibleLabel-CzEeX3Q4.js";
17
+ import { t as T } from "./countrySelector-CE-JgIsv.js";
18
+ import { DEV_ONLY_COUNTRIES as E, SUPPORTED_COUNTRIES as D, computeEkybDisplayErrors as O, createEkybManager as k } from "@incodetech/core/ekyb";
17
19
  //#region src/modules/ekyb/countrySelector.tsx
18
- var k = ({ value: t, onChange: n }) => {
20
+ var A = ({ value: t, onChange: n }) => {
19
21
  let { t: r } = e();
20
- return /* @__PURE__ */ s(w, {
22
+ return /* @__PURE__ */ s(T, {
21
23
  id: "ekyb-country",
22
24
  label: r("ekyb.country"),
23
25
  value: t,
24
26
  onChange: n,
25
- countryCodes: E,
26
- devOnlyCountryCodes: T,
27
+ countryCodes: D,
28
+ devOnlyCountryCodes: E,
27
29
  "data-testid": "ekyb-country-selector"
28
30
  });
29
- }, A = ({ field: t, value: n, error: r, errorParams: i, country: a, labelHint: o, onChange: c, onBlur: l }) => {
31
+ }, j = ({ field: t, value: n, error: r, errorParams: i, country: a, labelHint: o, onChange: c, onBlur: l }) => {
30
32
  let { t: u } = e();
31
- return t.type === "dropdown" ? /* @__PURE__ */ s(v, {
33
+ return t.type === "dropdown" ? /* @__PURE__ */ s(y, {
32
34
  id: `ekyb-${t.name}`,
33
35
  label: u(t.label),
34
36
  labelHint: o,
@@ -39,16 +41,16 @@ var k = ({ value: t, onChange: n }) => {
39
41
  return {
40
42
  ...e,
41
43
  label: t,
42
- ariaLabel: C(t)
44
+ ariaLabel: w(t)
43
45
  };
44
46
  }),
45
- error: g(u, r, i),
47
+ error: _(u, r, i),
46
48
  required: t.required,
47
49
  searchable: !0,
48
50
  onChange: (e) => c(t.name, e),
49
51
  onBlur: l ? () => l(t.name) : void 0,
50
52
  "data-testid": `ekyb-field-${t.name}`
51
- }) : /* @__PURE__ */ s(_, {
53
+ }) : /* @__PURE__ */ s(v, {
52
54
  name: t.name,
53
55
  label: t.label,
54
56
  displayLabel: t.displayLabel,
@@ -60,8 +62,8 @@ var k = ({ value: t, onChange: n }) => {
60
62
  onChange: c,
61
63
  onBlur: l
62
64
  });
63
- }, j = ({ ubos: t, errors: n, errorParams: r, canAddUbo: i, labelHint: a, onSetField: o, onBlur: c, onAdd: l, onRemove: u }) => {
64
- let { t: d } = e(), f = (e) => g(d, n[e], r[e]);
65
+ }, M = ({ ubos: t, errors: n, errorParams: r, canAddUbo: i, labelHint: a, onSetField: o, onBlur: c, onAdd: l, onRemove: u }) => {
66
+ let { t: d } = e(), f = (e) => _(d, n[e], r[e]);
65
67
  return t.length === 0 ? null : /* @__PURE__ */ s("div", {
66
68
  className: "IncodeEkybUbos",
67
69
  children: [t.map((e, t) => {
@@ -71,7 +73,7 @@ var k = ({ value: t, onChange: n }) => {
71
73
  role: "group",
72
74
  "aria-label": `UBO ${t + 1}`,
73
75
  children: [
74
- /* @__PURE__ */ s(h, {
76
+ /* @__PURE__ */ s(g, {
75
77
  id: `ubo-${t}-name`,
76
78
  label: n,
77
79
  labelHint: a,
@@ -83,7 +85,7 @@ var k = ({ value: t, onChange: n }) => {
83
85
  onBlur: c ? () => c(`ubo-${t}-name`) : void 0,
84
86
  "data-testid": `ekyb-ubo-${t}-name`
85
87
  }),
86
- /* @__PURE__ */ s(h, {
88
+ /* @__PURE__ */ s(g, {
87
89
  id: `ubo-${t}-surname`,
88
90
  label: r,
89
91
  labelHint: a,
@@ -112,61 +114,61 @@ var k = ({ value: t, onChange: n }) => {
112
114
  children: d("ekyb.addAnotherUbo")
113
115
  })]
114
116
  });
115
- }, M = ({ config: t, onFinish: r }) => {
116
- let { t: i } = e(), [a, o] = l(() => O({ config: t }));
117
+ }, N = ({ config: t, onFinish: r }) => {
118
+ let { t: i } = e(), [a, o] = l(() => k({ config: t }));
117
119
  return n(() => {
118
120
  (a.status === "finished" || a.status === "closed") && r?.();
119
- }, [a.status, r]), a.status === "finished" || a.status === "closed" ? null : a.status === "loading" ? /* @__PURE__ */ s(m, {
121
+ }, [a.status, r]), a.status === "finished" || a.status === "closed" ? null : a.status === "loading" ? /* @__PURE__ */ s(h, {
120
122
  status: "submitting",
121
123
  submittingTitle: i("common.loading")
122
- }) : a.status === "submitting" ? /* @__PURE__ */ s(d, {
124
+ }) : a.status === "submitting" ? /* @__PURE__ */ s(f, {
123
125
  className: "IncodeEkybPage",
124
- children: /* @__PURE__ */ s(f, {
126
+ children: /* @__PURE__ */ s(p, {
125
127
  fullScreen: !1,
126
128
  title: i("common.processing"),
127
129
  className: "IncodeEkybSpinner"
128
130
  })
129
- }) : a.status === "success" ? /* @__PURE__ */ s(m, { status: "success" }) : a.status === "error" ? /* @__PURE__ */ s(m, {
131
+ }) : a.status === "success" ? /* @__PURE__ */ s(h, { status: "success" }) : a.status === "error" ? /* @__PURE__ */ s(h, {
130
132
  status: "failure",
131
133
  onRetry: () => o.retry()
132
- }) : a.status === "form" ? /* @__PURE__ */ s(F, {
134
+ }) : a.status === "form" ? /* @__PURE__ */ s(I, {
133
135
  state: a,
134
136
  manager: o
135
137
  }) : null;
136
- }, N = new Set([
138
+ }, P = new Set([
137
139
  "street",
138
140
  "houseNo",
139
141
  "addressLine2",
140
142
  "city",
141
143
  "state",
142
144
  "postalCode"
143
- ]), P = [
145
+ ]), F = [
144
146
  "street",
145
147
  "city",
146
148
  "state",
147
149
  "postalCode",
148
150
  "houseNo"
149
- ], F = ({ state: l, manager: u }) => {
150
- let { country: f, fields: m, values: h, errors: g, isValid: _, ubos: v, canAddUbo: y, addressSuggestions: C, submitAttempted: w } = l, { t: T } = e(), E = a(null), O = a(null), M = a(void 0), F = c(E, m.length), [I, L] = o({}), R = i((e) => {
151
- L((t) => t[e] ? t : {
151
+ ], I = ({ state: l, manager: u }) => {
152
+ let { country: p, fields: h, values: g, errors: _, isValid: v, ubos: y, canAddUbo: b, addressSuggestions: w, submitAttempted: T } = l, { t: E } = e(), D = a(null), k = a(null), N = a(void 0), I = c(D, h.length), [L, R] = o({}), z = i((e) => {
153
+ R((t) => t[e] ? t : {
152
154
  ...t,
153
155
  [e]: !0
154
156
  });
155
- }, []), { displayErrors: z, errorParams: B } = r(() => D(g, I, w, f, m), [
156
- g,
157
- I,
158
- w,
159
- f,
160
- m
161
- ]), V = i((e) => R(e), [R]), H = i((e, t) => {
162
- R(e), u.setField(e, t);
163
- }, [u, R]), U = i((e, t, n) => {
164
- R(`ubo-${e}-${t}`), u.setUboField(e, t, n);
165
- }, [u, R]), W = i((e) => {
166
- for (let e of P) R(e);
157
+ }, []), { displayErrors: B, errorParams: V } = r(() => O(_, L, T, p, h), [
158
+ _,
159
+ L,
160
+ T,
161
+ p,
162
+ h
163
+ ]), H = i((e) => z(e), [z]), U = i((e, t) => {
164
+ z(e), u.setField(e, t);
165
+ }, [u, z]), W = i((e, t, n) => {
166
+ z(`ubo-${e}-${t}`), u.setUboField(e, t, n);
167
+ }, [u, z]), G = i((e) => {
168
+ for (let e of F) z(e);
167
169
  u.selectAddress(e);
168
- }, [u, R]), G = i((e) => {
169
- u.removeUbo(e), L((t) => {
170
+ }, [u, z]), K = i((e) => {
171
+ u.removeUbo(e), R((t) => {
170
172
  let n = {};
171
173
  for (let [r, i] of Object.entries(t)) {
172
174
  let t = r.match(/^ubo-(\d+)-(name|surname)$/);
@@ -183,96 +185,96 @@ var k = ({ value: t, onChange: n }) => {
183
185
  });
184
186
  }, [u]);
185
187
  n(() => {
186
- let e = z.postalCode, t = M.current;
187
- if (M.current = e, !e || t === e) return;
188
+ let e = B.postalCode, t = N.current;
189
+ if (N.current = e, !e || t === e) return;
188
190
  let n = requestAnimationFrame(() => {
189
- let e = O.current;
191
+ let e = k.current;
190
192
  e && (e.querySelector("#postalCode-error") ?? e).scrollIntoView({
191
193
  behavior: "smooth",
192
194
  block: "nearest"
193
195
  });
194
196
  });
195
197
  return () => cancelAnimationFrame(n);
196
- }, [z.postalCode]);
197
- let K = m.filter((e) => !N.has(e.name)), q = m.filter((e) => N.has(e.name)), J = r(() => b(m.map((e) => e.required)), [m]), Y = (e) => {
198
- let t = x(J, e);
199
- return t ? T(`forms.label.${t}`) : void 0;
198
+ }, [B.postalCode]);
199
+ let q = h.filter((e) => !P.has(e.name)), J = h.filter((e) => P.has(e.name)), Y = r(() => x(h.map((e) => e.required)), [h]), X = (e) => {
200
+ let t = S(Y, e);
201
+ return t ? E(`forms.label.${t}`) : void 0;
200
202
  };
201
- return /* @__PURE__ */ s(d, {
202
- className: `IncodeEkybPage${F ? " IncodeEkybPageScrollable" : ""}`,
203
- title: T("ekyb.title"),
203
+ return /* @__PURE__ */ s(f, {
204
+ className: `IncodeEkybPage${I ? " IncodeEkybPageScrollable" : ""}`,
205
+ title: E("ekyb.title"),
204
206
  children: [/* @__PURE__ */ s("div", {
205
- ref: E,
207
+ ref: D,
206
208
  className: "IncodeEkybForm",
207
209
  children: [
208
- /* @__PURE__ */ s(k, {
209
- value: f,
210
+ /* @__PURE__ */ s(A, {
211
+ value: p,
210
212
  onChange: (e) => u.setCountry(e)
211
213
  }),
212
- K.map((e) => /* @__PURE__ */ s(A, {
214
+ q.map((e) => /* @__PURE__ */ s(j, {
213
215
  field: e,
214
- value: h[e.name] ?? "",
215
- error: z[e.name],
216
- errorParams: B[e.name],
217
- country: f,
218
- labelHint: Y(e.required),
219
- onChange: H,
220
- onBlur: V
216
+ value: g[e.name] ?? "",
217
+ error: B[e.name],
218
+ errorParams: V[e.name],
219
+ country: p,
220
+ labelHint: X(e.required),
221
+ onChange: U,
222
+ onBlur: H
221
223
  }, e.name)),
222
- /* @__PURE__ */ s(j, {
223
- ubos: v,
224
- errors: z,
225
- errorParams: B,
226
- canAddUbo: y,
227
- labelHint: Y(!0),
228
- onSetField: U,
229
- onBlur: V,
224
+ /* @__PURE__ */ s(M, {
225
+ ubos: y,
226
+ errors: B,
227
+ errorParams: V,
228
+ canAddUbo: b,
229
+ labelHint: X(!0),
230
+ onSetField: W,
231
+ onBlur: H,
230
232
  onAdd: () => u.addUbo(),
231
- onRemove: G
233
+ onRemove: K
232
234
  }),
233
- q.length > 0 && /* @__PURE__ */ s(t, { children: [/* @__PURE__ */ s("h3", {
235
+ J.length > 0 && /* @__PURE__ */ s(t, { children: [/* @__PURE__ */ s("h3", {
234
236
  className: "IncodeEkybSectionHeader",
235
- children: T("ekyb.addressDetails")
236
- }), q.map((e) => e.name === "street" ? /* @__PURE__ */ s(S, {
237
+ children: E("ekyb.addressDetails")
238
+ }), J.map((e) => e.name === "street" ? /* @__PURE__ */ s(C, {
237
239
  label: e.label,
238
- labelHint: Y(e.required),
239
- value: h.street ?? "",
240
- error: z.street,
241
- errorParams: B.street,
242
- suggestions: C,
240
+ labelHint: X(e.required),
241
+ value: g.street ?? "",
242
+ error: B.street,
243
+ errorParams: V.street,
244
+ suggestions: w,
243
245
  required: e.required,
244
- onChange: (e) => H("street", e),
246
+ onChange: (e) => U("street", e),
245
247
  onSearch: (e) => u.searchAddress(e),
246
- onSelect: W,
247
- onBlur: () => V("street")
248
+ onSelect: G,
249
+ onBlur: () => H("street")
248
250
  }, e.name) : /* @__PURE__ */ s("div", {
249
- ref: e.name === "postalCode" ? O : void 0,
250
- children: /* @__PURE__ */ s(A, {
251
+ ref: e.name === "postalCode" ? k : void 0,
252
+ children: /* @__PURE__ */ s(j, {
251
253
  field: e,
252
- value: h[e.name] ?? "",
253
- error: z[e.name],
254
- errorParams: B[e.name],
255
- country: f,
256
- labelHint: Y(e.required),
257
- onChange: H,
258
- onBlur: V
254
+ value: g[e.name] ?? "",
255
+ error: B[e.name],
256
+ errorParams: V[e.name],
257
+ country: p,
258
+ labelHint: X(e.required),
259
+ onChange: U,
260
+ onBlur: H
259
261
  })
260
262
  }, e.name))] })
261
263
  ]
262
264
  }), /* @__PURE__ */ s("div", {
263
265
  className: "IncodeEkybFooter",
264
- children: /* @__PURE__ */ s(p, {
266
+ children: [/* @__PURE__ */ s(m, {
265
267
  onClick: () => u.submit(),
266
- disabled: !_,
268
+ disabled: !v,
267
269
  "data-testid": "ekyb-submit",
268
- children: T("ekyb.continue")
269
- })
270
+ children: E("ekyb.continue")
271
+ }), /* @__PURE__ */ s(d, { size: 16 })]
270
272
  })]
271
273
  });
272
- }, I = ({ config: e, onFinish: t }) => /* @__PURE__ */ s(u, { children: e ? /* @__PURE__ */ s(M, {
274
+ }, L = ({ config: e, onFinish: t }) => /* @__PURE__ */ s(u, { children: e ? /* @__PURE__ */ s(N, {
273
275
  config: e,
274
276
  onFinish: t
275
277
  }) : null });
276
- y(I, "incode-ekyb");
278
+ b(L, "incode-ekyb");
277
279
  //#endregion
278
- export { I as t };
280
+ export { L as t };
@@ -0,0 +1,2 @@
1
+ import { t as e } from "./ekybModule-BSs7mndb.js";
2
+ export { e as EkybModule };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../ekycModule-Co4mDVc_.js";
1
+ import { t as e } from "../ekycModule-CU9pt5YN.js";
2
2
  export { e as EkycModule };