@incodetech/web 0.0.0-dev-20260421-b19fd5f → 0.0.0-dev-20260421-3d3274a

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 (94) hide show
  1. package/dist/{addressAutocomplete-DTrgJzUp.js → addressAutocomplete-DgObOJ6o.js} +4 -4
  2. package/dist/ae-signature/ae-signature.es.js +1 -1
  3. package/dist/ae-signature/styles.css +6 -16
  4. package/dist/antifraud/antifraud.es.js +1 -1
  5. package/dist/authentication/authentication.es.js +2 -2
  6. package/dist/base.css +66 -0
  7. package/dist/{checkbox-Xh75AgKT.js → checkbox-CUOVvO_K.js} +3 -3
  8. package/dist/consent/consent.es.js +3 -3
  9. package/dist/cross-document-data-match/cross-document-data-match.es.js +1 -1
  10. package/dist/curp-validation/curp-validation.es.js +8 -8
  11. package/dist/custom-fields/styles.css +21 -0
  12. package/dist/customFields-DVVoO-1L.js +126 -0
  13. package/dist/dateInputComposed-CUH00OCL.js +1 -0
  14. package/dist/{dateInputComposed-CBvZmLBy.js → dateInputComposed-CvsKvXv5.js} +3 -3
  15. package/dist/{documentCapture-C64T-PaN.js → documentCapture-B2xLZjOb.js} +5 -5
  16. package/dist/{dropdownComposed-B4Ebk486.js → dropdownComposed-D33V63q7.js} +3 -3
  17. package/dist/dropdownComposed-PPsdKIj2.js +1 -0
  18. package/dist/ekyb/ekyb.es.js +1 -1
  19. package/dist/ekybModule-DLvvDnRl.js +2 -0
  20. package/dist/{ekybModule-B4Xva8gU.js → ekybModule-DV8eZFTA.js} +7 -7
  21. package/dist/ekyc/ekyc.es.js +1 -1
  22. package/dist/ekycModule-CPcoffMp.js +2 -0
  23. package/dist/{ekycModule-DOVTiBfn.js → ekycModule-Dyvfm_Jh.js} +9 -9
  24. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  25. package/dist/{electronic-signature-AVBIN1f_.js → electronic-signature-BY_fGpGt.js} +87 -87
  26. package/dist/email/email.es.js +5 -5
  27. package/dist/{extensibility-CgleSPdz.js → extensibility-DQEOFw2F.js} +34 -34
  28. package/dist/extensibility.es.js +20 -20
  29. package/dist/face-match/face-match.es.js +1 -1
  30. package/dist/faceMatch-C3cT9S78.js +2 -0
  31. package/dist/{faceMatch-SlCovmDB.js → faceMatch-SsK7Fny4.js} +3 -3
  32. package/dist/flow/flow.es.js +15 -5
  33. package/dist/flow/styles.css +77 -41
  34. package/dist/{formField-Co4Kh1a4.js → formField-CXgBxbyE.js} +2 -2
  35. package/dist/geolocation/geolocation.es.js +2 -2
  36. package/dist/governmentValidation/governmentValidation.es.js +4 -4
  37. package/dist/{homeScreen-CC6U7vbU.js → homeScreen-DUHiJ4GS.js} +4 -4
  38. package/dist/{i18n-B3g2cb7v.js → i18n-ntrVdqVv.js} +1 -1
  39. package/dist/{icons-Cj7hJH7f.js → icons-GsJu_yZn.js} +39 -7
  40. package/dist/id/id.es.js +9 -9
  41. package/dist/identity-reuse/identity-reuse.es.js +2 -2
  42. package/dist/{incodeComponent-dxwR00fd.js → incodeComponent-pGWsrcca.js} +1 -1
  43. package/dist/index.es.js +1 -1
  44. package/dist/{inputComposed-D7vq-JYi.js → inputComposed-BXGBX7oR.js} +1 -1
  45. package/dist/inputComposed-e3nC8j25.js +1 -0
  46. package/dist/{mandatoryConsent-wpJR_1w0.js → mandatoryConsent-Cq1ZYojD.js} +3 -3
  47. package/dist/{modal-BxXKrclm.js → modal-Cqqyt9fy.js} +1 -1
  48. package/dist/{otpInput-Br-1AWsA.js → otpInput-qhbE2Zg-.js} +3 -3
  49. package/dist/phone/phone.es.js +5 -5
  50. package/dist/{phoneInput-q1YF0o-q.js → phoneInput-C6mELMZ6.js} +1 -1
  51. package/dist/{phoneInputComposed-BSn0WlMA.js → phoneInputComposed-DpKgzd72.js} +3 -3
  52. package/dist/{processing-BuNhGQnB.js → processing-DCGDmzi-.js} +1 -1
  53. package/dist/qe-signature/qe-signature.es.js +1 -1
  54. package/dist/{radioButtonComposed-o86b9OGB.js → radioButtonComposed-Db8-Oprl.js} +1 -1
  55. package/dist/{redirectToMobile-BjhYByLI.js → redirectToMobile-DmpYpZzP.js} +4 -4
  56. package/dist/selfie/selfie.es.js +5 -5
  57. package/dist/{setup-da1N2VR6.js → setup-I7T65zl7.js} +1 -1
  58. package/dist/signature/signature.es.js +2 -2
  59. package/dist/statusPage-BlENJN0V.js +29 -0
  60. package/dist/{transitionSpinner-CpwivARH.js → transitionSpinner-BPyrHizA.js} +1 -1
  61. package/dist/{tutorial-B_1LffFG.js → tutorial--guc-r5j.js} +6 -6
  62. package/dist/types/custom-fields/styles.d.ts +1 -0
  63. package/dist/types/extensibility.d.ts +13 -0
  64. package/dist/{useModuleLoader-DUM7XmDw.js → useModuleLoader-nhyL4PCH.js} +11 -9
  65. package/dist/{verificationResult-VtriXVEd.js → verificationResult-D7grOTth.js} +2 -2
  66. package/dist/watchlist/watchlist.es.js +26 -48
  67. package/dist/workflow/workflow.es.js +5 -5
  68. package/package.json +2 -2
  69. package/dist/dateInputComposed-DLOh-eXS.js +0 -1
  70. package/dist/dropdownComposed-3cFHAdBp.js +0 -1
  71. package/dist/ekybModule-Craxr9wc.js +0 -2
  72. package/dist/ekycModule-Bw-Zs4MH.js +0 -2
  73. package/dist/faceMatch-DO9ECAq7.js +0 -2
  74. package/dist/inputComposed-HqPLwoEb.js +0 -1
  75. package/dist/watchlist/styles.css +0 -50
  76. /package/dist/{aligndevicelottie-C6Ed_QzW.js → aligndevicelottie-BhvH4U01.js} +0 -0
  77. /package/dist/{back-horizontal-hint-DvZDkdvV.js → back-horizontal-hint-BEQsJQaS.js} +0 -0
  78. /package/dist/{back-tutorial-DpuqsjF-.js → back-tutorial-C4HG-Te-.js} +0 -0
  79. /package/dist/{back-vertical-hint-CzuG1Hve.js → back-vertical-hint-CSLZhIcN.js} +0 -0
  80. /package/dist/{backdevicelottie-mGREI6Py.js → backdevicelottie-D6IX_UYC.js} +0 -0
  81. /package/dist/{blurdevicelottie-Bw43-G1P.js → blurdevicelottie-BEU1SUJQ.js} +0 -0
  82. /package/dist/{browser-ponyfill-CYk5g-nD.js → browser-ponyfill-DRrmY6DO.js} +0 -0
  83. /package/dist/{flip-animation-CAqT4nr6.js → flip-animation-CRXEefAE.js} +0 -0
  84. /package/dist/{front-horizontal-hint-BSKWj6i6.js → front-horizontal-hint-D0Lp8Tc3.js} +0 -0
  85. /package/dist/{front-vertical-hint-BYdzIVbN.js → front-vertical-hint-DJQMKe8l.js} +0 -0
  86. /package/dist/{frontdevicelottie-Cho1olXp.js → frontdevicelottie-CL7-XewR.js} +0 -0
  87. /package/dist/{glaredevicelottie-dg9fVsGy.js → glaredevicelottie-BDSlWlxa.js} +0 -0
  88. /package/dist/{id-laser-h-DWh_BVEp.js → id-laser-h-CDewGAXj.js} +0 -0
  89. /package/dist/{id-laser-v-Dvk7U4fL.js → id-laser-v-B-1IpVK0.js} +0 -0
  90. /package/dist/{id-tutorial-BUcAvyY6.js → id-tutorial-BOXQEtNg.js} +0 -0
  91. /package/dist/{passport-horizontal-hint-2XF3bnIM.js → passport-horizontal-hint-jl1fWxGQ.js} +0 -0
  92. /package/dist/{passport-tutorial-DZ4aKOp7.js → passport-tutorial-CEKyiZFm.js} +0 -0
  93. /package/dist/{passport-vertical-hint-BcYR5CAS.js → passport-vertical-hint-BjR1TP5l.js} +0 -0
  94. /package/dist/{selfieTutorial-D6fvZzJP.js → selfieTutorial-CZV5edrl.js} +0 -0
@@ -1,8 +1,8 @@
1
- import { n as e } from "./i18n-B3g2cb7v.js";
1
+ import { n as e } from "./i18n-ntrVdqVv.js";
2
2
  import { _ as t, h as n, l as r, p as i, v as a } from "./vendor-preact-D6SntenC.js";
3
- import { r as o } from "./incodeComponent-dxwR00fd.js";
4
- import { t as s } from "./inputComposed-D7vq-JYi.js";
5
- import { n as c } from "./formField-Co4Kh1a4.js";
3
+ import { r as o } from "./incodeComponent-pGWsrcca.js";
4
+ import { t as s } from "./inputComposed-BXGBX7oR.js";
5
+ import { n as c } from "./formField-CXgBxbyE.js";
6
6
  import { t as l } from "./bottomSheet-D7Bcy6_9.js";
7
7
  //#region src/modules/ekyc/addressAutocomplete.tsx
8
8
  var u = ({ label: u, value: d, error: f, errorParams: p, suggestions: m, readonly: h, optional: g, onChange: _, onSearch: v, onSelect: y, onBlur: b }) => {
@@ -1,5 +1,5 @@
1
1
  import { v as e } from "../vendor-preact-D6SntenC.js";
2
- import { n as t } from "../electronic-signature-AVBIN1f_.js";
2
+ import { n as t } from "../electronic-signature-BY_fGpGt.js";
3
3
  import { t as n } from "../incodeModule-BH9gV7jI.js";
4
4
  //#region src/modules/ae-signature/ae-signature.tsx
5
5
  var r = ({ config: n, onFinish: r, onError: i }) => /* @__PURE__ */ e(t, {
@@ -16,7 +16,7 @@
16
16
  justify-content: space-between;
17
17
  }
18
18
 
19
- .IncodeElectronicSignature .IncodePageContent:has(.IncodeElectronicSignatureUploadBody) {
19
+ .IncodeElectronicSignature .IncodePageContent:has(.IncodeElectronicSignatureUploadBody), .IncodeElectronicSignature .IncodePageContent:has(.IncodeElectronicSignatureDocViewHeader) {
20
20
  padding-top: var(--spacing-0, var(--spacing-none, 0px));
21
21
  }
22
22
 
@@ -297,27 +297,17 @@
297
297
  }
298
298
 
299
299
  .IncodeElectronicSignatureDocViewHeader {
300
- padding-inline: var(--spacing-8, var(--spacing-8, 8px));
301
- padding-block: var(--spacing-12, var(--spacing-12, 12px));
300
+ z-index: 10;
301
+ height: var(--page-header-height);
302
+ margin-top: calc(-1 * var(--page-header-height));
303
+ align-self: flex-start;
302
304
  align-items: center;
303
305
  display: flex;
306
+ position: relative;
304
307
  }
305
308
 
306
309
  .IncodeElectronicSignatureBackButton {
307
- width: var(--spacing-40, var(--spacing-40, 40px));
308
- height: var(--spacing-40, var(--spacing-40, 40px));
309
- cursor: pointer;
310
- border-radius: var(--radius-full, var(--border-radius-full));
311
- border-style: var(--tw-border-style);
312
- border-width: var(--border-width-none, var(--primitive-border-width-0));
313
- --tw-border-style: none;
314
310
  color: var(--color-text-body-primary, var(--text-body-800-primary));
315
- background-color: #0000;
316
- border-style: none;
317
- justify-content: center;
318
- align-items: center;
319
- font-size: 1.5rem;
320
- display: flex;
321
311
  }
322
312
 
323
313
  .IncodeElectronicSignatureDocViewer {
@@ -1,5 +1,5 @@
1
1
  import { _ as e, v as t } from "../vendor-preact-D6SntenC.js";
2
- import { o as n, t as r } from "../incodeComponent-dxwR00fd.js";
2
+ import { o as n, t as r } from "../incodeComponent-pGWsrcca.js";
3
3
  import { t as i } from "../spinner-DyRQfsz_.js";
4
4
  import { t as a } from "../incodeModule-BH9gV7jI.js";
5
5
  import { createAntifraudManager as o } from "@incodetech/core/antifraud";
@@ -1,6 +1,6 @@
1
1
  import { v as e } from "../vendor-preact-D6SntenC.js";
2
- import { o as t, t as n } from "../incodeComponent-dxwR00fd.js";
3
- import { n as r, r as i, t as a } from "../tutorial-B_1LffFG.js";
2
+ import { o as t, t as n } from "../incodeComponent-pGWsrcca.js";
3
+ import { n as r, r as i, t as a } from "../tutorial--guc-r5j.js";
4
4
  import { t as o } from "../incodeModule-BH9gV7jI.js";
5
5
  import { createAuthenticationManager as s } from "@incodetech/core/authentication";
6
6
  //#region src/modules/authentication/authentication.tsx
package/dist/base.css CHANGED
@@ -441,6 +441,11 @@
441
441
  font-weight: var(--typography-button-m-underlined-weight);
442
442
  line-height: var(--typography-button-m-underlined-line-height);
443
443
  letter-spacing: var(--typography-button-m-underlined-letter-spacing);
444
+ font-family: var(--typography-button-family);
445
+ font-size: var(--typography-button-m-underlined-size);
446
+ font-weight: var(--typography-button-m-underlined-weight);
447
+ line-height: var(--typography-button-m-underlined-line-height);
448
+ letter-spacing: var(--typography-button-m-underlined-letter-spacing);
444
449
  text-decoration-line: underline;
445
450
  text-decoration-style: solid;
446
451
  text-decoration-thickness: auto;
@@ -3303,6 +3308,45 @@
3303
3308
  }
3304
3309
  }
3305
3310
  }
3311
+ @media (min-width: 40rem) {
3312
+ .IncodePageContainer .IncodePageInner {
3313
+ max-width: 40rem;
3314
+ }
3315
+ }
3316
+ @media (min-width: 48rem) {
3317
+ .IncodePageContainer .IncodePageInner {
3318
+ max-width: 48rem;
3319
+ }
3320
+ }
3321
+ @media (min-width: 64rem) {
3322
+ .IncodePageContainer .IncodePageInner {
3323
+ max-width: 64rem;
3324
+ }
3325
+ }
3326
+ @media (min-width: 80rem) {
3327
+ .IncodePageContainer .IncodePageInner {
3328
+ max-width: 80rem;
3329
+ }
3330
+ }
3331
+ @media (min-width: 96rem) {
3332
+ .IncodePageContainer .IncodePageInner {
3333
+ max-width: 96rem;
3334
+ }
3335
+ }
3336
+ @media (min-width: 48rem) {
3337
+ .IncodePageContainer .IncodePageInner {
3338
+ max-height: var(--incode-page-max-h);
3339
+ max-width: var(--incode-page-max-w);
3340
+ }
3341
+
3342
+ @media not all and (min-width: 80rem) {
3343
+ @media (orientation: landscape) {
3344
+ .IncodePageContainer .IncodePageInner {
3345
+ max-height: var(--incode-page-max-h-landscape);
3346
+ }
3347
+ }
3348
+ }
3349
+ }
3306
3350
  .IncodePageContainer .IncodePageInner {
3307
3351
  width: 100%;
3308
3352
  }
@@ -4297,6 +4341,28 @@
4297
4341
  transform: translateY(0);
4298
4342
  }
4299
4343
  }
4344
+ .IncodeStatusPage .IncodeStatusPageContainer {
4345
+ flex-direction: column;
4346
+ flex: 1;
4347
+ align-items: center;
4348
+ display: flex;
4349
+ }
4350
+ .IncodeStatusPage .IncodeStatusPageTitle {
4351
+ text-align: center;
4352
+ font-size: var(--text-2xl, 1.5rem);
4353
+ line-height: var(--tw-leading, var(--text-2xl--line-height, calc(2 / 1.5)));
4354
+ --tw-leading: 125%;
4355
+ --tw-font-weight: var(--font-weight-bold, var(--primitive-typography-weight-bold));
4356
+ line-height: 125%;
4357
+ font-weight: var(--font-weight-bold, var(--primitive-typography-weight-bold));
4358
+ --tw-tracking: -1px;
4359
+ letter-spacing: -1px;
4360
+ color: var(--color-text-body-primary, var(--text-body-800-primary));
4361
+ }
4362
+ .IncodeStatusPage .IncodeStatusPageSubtitle {
4363
+ text-align: center;
4364
+ color: var(--color-text-body-secondary, var(--text-body-500-secondary));
4365
+ }
4300
4366
  .IncodeSnackbar {
4301
4367
  align-items: center;
4302
4368
  gap: var(--spacing-12, var(--spacing-12, 12px));
@@ -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-wTrHZMGC.js";
3
- import { l as i, m as a } from "./icons-Cj7hJH7f.js";
3
+ import { h as i, u as a } from "./icons-GsJu_yZn.js";
4
4
  //#region src/shared/checkbox/checkbox.tsx
5
5
  var o = e(({ id: e, label: o, size: s = "m", checked: c, defaultChecked: l, disabled: u = !1, required: d = !1, name: f, value: p, onChange: m, error: h, helper: g, showErrorIcon: _ = !0, class: v, "aria-label": y, "aria-labelledby": b, "aria-describedby": x, "aria-invalid": S, ...C }, w) => {
6
6
  let [T, E] = t(!!l), D = c !== void 0, O = D ? !!c : T, k = !!u, A = !!d, j = typeof v == "string" ? v : void 0, M = (e) => {
@@ -41,7 +41,7 @@ var o = e(({ id: e, label: o, size: s = "m", checked: c, defaultChecked: l, disa
41
41
  IncodeCheckboxVisualDisabled: k,
42
42
  IncodeCheckboxVisualError: !!h
43
43
  }),
44
- children: O && /* @__PURE__ */ n(i, { size: 28 })
44
+ children: O && /* @__PURE__ */ n(a, { size: 28 })
45
45
  })]
46
46
  }), o && /* @__PURE__ */ n("span", {
47
47
  class: r("IncodeCheckboxText", {
@@ -62,7 +62,7 @@ var o = e(({ id: e, label: o, size: s = "m", checked: c, defaultChecked: l, disa
62
62
  "data-testid": `${e}-error-wrapper`,
63
63
  children: [_ && /* @__PURE__ */ n("div", {
64
64
  class: "IncodeCheckboxIconWrapper",
65
- children: /* @__PURE__ */ n(a, { size: 17 })
65
+ children: /* @__PURE__ */ n(i, { size: 17 })
66
66
  }), /* @__PURE__ */ n("p", {
67
67
  id: P,
68
68
  class: "IncodeCheckboxErrorText",
@@ -1,11 +1,11 @@
1
- import { n as e } from "../i18n-B3g2cb7v.js";
1
+ import { n as e } from "../i18n-ntrVdqVv.js";
2
2
  import { v as t } from "../vendor-preact-D6SntenC.js";
3
- import { o as n, t as r } from "../incodeComponent-dxwR00fd.js";
3
+ import { o as n, t as r } from "../incodeComponent-pGWsrcca.js";
4
4
  import { t as i } from "../page-D5Mt-0zn.js";
5
5
  import { t as a } from "../spinner-DyRQfsz_.js";
6
6
  import "../spinner-BmFWJNHp.js";
7
7
  import { t as o } from "../button-4-ToV5B_.js";
8
- import { t as s } from "../checkbox-Xh75AgKT.js";
8
+ import { t as s } from "../checkbox-CUOVvO_K.js";
9
9
  import { t as c } from "../incodeModule-BH9gV7jI.js";
10
10
  import { t as l } from "../richText-BNC8z_ah.js";
11
11
  import { createConsentManager as u } from "@incodetech/core/consent";
@@ -1,5 +1,5 @@
1
1
  import { _ as e, v as t } from "../vendor-preact-D6SntenC.js";
2
- import { o as n, t as r } from "../incodeComponent-dxwR00fd.js";
2
+ import { o as n, t as r } from "../incodeComponent-pGWsrcca.js";
3
3
  import { t as i } from "../spinner-DyRQfsz_.js";
4
4
  import { t as a } from "../incodeModule-BH9gV7jI.js";
5
5
  import { createCrossDocumentDataMatchManager as o } from "@incodetech/core/cross-document-data-match";
@@ -1,18 +1,18 @@
1
- import { n as e } from "../i18n-B3g2cb7v.js";
1
+ import { n as e } from "../i18n-ntrVdqVv.js";
2
2
  import { S as t, v as n } from "../vendor-preact-D6SntenC.js";
3
- import { o as r, t as i } from "../incodeComponent-dxwR00fd.js";
3
+ import { o as r, t as i } from "../incodeComponent-pGWsrcca.js";
4
4
  import { t as a } from "../spacer-DCljE53A.js";
5
5
  import { t as o } from "../page-D5Mt-0zn.js";
6
6
  import { t as s } from "../spinner-DyRQfsz_.js";
7
7
  import "../spinner-BmFWJNHp.js";
8
8
  import { t as c } from "../button-4-ToV5B_.js";
9
- import { m as l } from "../icons-Cj7hJH7f.js";
9
+ import { h as l } from "../icons-GsJu_yZn.js";
10
10
  import { t as u } from "../successIcon-C4GI_9SU.js";
11
- import { t as d } from "../inputComposed-D7vq-JYi.js";
12
- import { t as f } from "../dropdownComposed-B4Ebk486.js";
13
- import "../dropdownComposed-3cFHAdBp.js";
14
- import { t as p } from "../dateInputComposed-CBvZmLBy.js";
15
- import "../dateInputComposed-DLOh-eXS.js";
11
+ import { t as d } from "../inputComposed-BXGBX7oR.js";
12
+ import { t as f } from "../dropdownComposed-D33V63q7.js";
13
+ import "../dropdownComposed-PPsdKIj2.js";
14
+ import { t as p } from "../dateInputComposed-CvsKvXv5.js";
15
+ import "../dateInputComposed-CUH00OCL.js";
16
16
  import { t as m } from "../incodeModule-BH9gV7jI.js";
17
17
  import { createCurpValidationManager as h, mexicanStates as g } from "@incodetech/core/curp-validation";
18
18
  //#region src/modules/curp-validation/curpInput.tsx
@@ -0,0 +1,21 @@
1
+ /*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
2
+ .IncodeCustomFieldsForm {
3
+ margin-top: var(--spacing-32, var(--spacing-32, 32px));
4
+ margin-bottom: var(--spacing-16, var(--spacing-16, 16px));
5
+ gap: var(--spacing-16, var(--spacing-16, 16px));
6
+ flex-direction: column;
7
+ flex: 1;
8
+ width: 100%;
9
+ display: flex;
10
+ overflow-y: auto;
11
+ }
12
+
13
+ .IncodeCustomFieldsForm .IncodeCustomFieldsField {
14
+ flex-direction: column;
15
+ width: 100%;
16
+ display: flex;
17
+ }
18
+
19
+ .IncodeCustomFieldsPage .IncodePageHeader {
20
+ margin-bottom: var(--spacing-16, var(--spacing-16, 16px));
21
+ }
@@ -0,0 +1,126 @@
1
+ import { n as e } from "./i18n-ntrVdqVv.js";
2
+ import { _ as t, l as n, p as r, v as i } from "./vendor-preact-D6SntenC.js";
3
+ import { o as a, t as o } from "./incodeComponent-pGWsrcca.js";
4
+ import { t as s } from "./spacer-DCljE53A.js";
5
+ import { t as c } from "./page-D5Mt-0zn.js";
6
+ import { t as l } from "./loadingIcon-wTrHZMGC.js";
7
+ import { t as u } from "./button-4-ToV5B_.js";
8
+ import { t as d } from "./successIcon-C4GI_9SU.js";
9
+ import { t as f } from "./inputComposed-BXGBX7oR.js";
10
+ import { t as p } from "./checkbox-CUOVvO_K.js";
11
+ import { t as m } from "./dateInputComposed-CvsKvXv5.js";
12
+ import { t as h } from "./incodeModule-BH9gV7jI.js";
13
+ import { t as g } from "./statusPage-BlENJN0V.js";
14
+ import { createCustomFieldsManager as _ } from "@incodetech/core/custom-fields";
15
+ //#region src/modules/custom-fields/customFields.tsx
16
+ var v = {
17
+ INTEGER: "number",
18
+ DOUBLE: "number",
19
+ STRING: "text"
20
+ }, y = ({ field: e, isDisabled: t, onChange: n }) => {
21
+ let [a, o] = r("");
22
+ return /* @__PURE__ */ i("div", {
23
+ class: "IncodeCustomFieldsField",
24
+ children: /* @__PURE__ */ i(m, {
25
+ id: `custom-field-${e.name}`,
26
+ name: e.name,
27
+ label: e.label,
28
+ disabled: t,
29
+ value: a,
30
+ onInput: (t) => {
31
+ let r = t.target.value;
32
+ o(r), n(e.name, r);
33
+ }
34
+ })
35
+ });
36
+ }, b = ({ field: e, isDisabled: t, onChange: n }) => {
37
+ let r = `custom-field-${e.name}`;
38
+ return e.type === "BOOLEAN" ? /* @__PURE__ */ i("div", {
39
+ class: "IncodeCustomFieldsField",
40
+ children: /* @__PURE__ */ i(p, {
41
+ id: r,
42
+ name: e.name,
43
+ label: e.label,
44
+ disabled: t,
45
+ onChange: (t) => n(e.name, t.target.checked)
46
+ })
47
+ }) : e.type === "DATE" ? /* @__PURE__ */ i(y, {
48
+ field: e,
49
+ isDisabled: t,
50
+ onChange: n
51
+ }) : /* @__PURE__ */ i("div", {
52
+ class: "IncodeCustomFieldsField",
53
+ children: /* @__PURE__ */ i(f, {
54
+ id: r,
55
+ name: e.name,
56
+ label: e.label,
57
+ type: v[e.type] ?? "text",
58
+ disabled: t,
59
+ onInput: (t) => n(e.name, t.target.value)
60
+ })
61
+ });
62
+ }, x = ({ config: r, manager: o, onFinish: f, onError: p }) => {
63
+ let { t: m } = e(), h = n(null), [v, y] = a(() => {
64
+ if (o) return o;
65
+ if (!r) throw Error("CustomFields config is required");
66
+ return _({ config: r });
67
+ }, {
68
+ manageLifecycle: !o,
69
+ autoLoad: !0
70
+ });
71
+ if (t(() => {
72
+ v.status === "finished" && f?.();
73
+ }, [v, f]), t(() => {
74
+ v.status === "success" && h.current?.focus();
75
+ }, [v.status]), v.status === "success") return /* @__PURE__ */ i(g, {
76
+ variant: "success",
77
+ icon: /* @__PURE__ */ i(d, { size: 64 }),
78
+ title: m("customFields.completed"),
79
+ titleRef: h,
80
+ hideFooterBranding: !0
81
+ });
82
+ if (v.status === "finished") return null;
83
+ let x = v.status === "inputting" || v.status === "submitting" ? v.title ? m(v.title) : m("customFields.title") : "";
84
+ if (v.status === "submitting") return /* @__PURE__ */ i(g, {
85
+ variant: "loading",
86
+ icon: /* @__PURE__ */ i(l, { size: 64 }),
87
+ title: m("customFields.processing"),
88
+ hideFooterBranding: !0
89
+ });
90
+ let S = v.status === "inputting" ? v.canSubmit : !1, C = v.status === "inputting" ? v.customFields : [], w = (e, t) => {
91
+ y.setField(e, t);
92
+ };
93
+ return /* @__PURE__ */ i(c, {
94
+ className: "IncodeCustomFieldsPage",
95
+ title: x,
96
+ hideFooterBranding: !0,
97
+ children: /* @__PURE__ */ i("form", {
98
+ class: "IncodeCustomFieldsForm",
99
+ onSubmit: (e) => {
100
+ e.preventDefault(), y.submit();
101
+ },
102
+ autoComplete: "off",
103
+ children: [
104
+ C.map((e) => /* @__PURE__ */ i(b, {
105
+ field: e,
106
+ isDisabled: !1,
107
+ onChange: w
108
+ }, e.name)),
109
+ /* @__PURE__ */ i(s, {}),
110
+ /* @__PURE__ */ i(u, {
111
+ type: "submit",
112
+ disabled: !S,
113
+ children: m("customFields.continue")
114
+ })
115
+ ]
116
+ })
117
+ });
118
+ }, S = ({ config: e, manager: t, onFinish: n, onError: r }) => /* @__PURE__ */ i(o, { children: e || t ? /* @__PURE__ */ i(x, {
119
+ config: e,
120
+ manager: t,
121
+ onFinish: n,
122
+ onError: r
123
+ }) : null });
124
+ h(S, "incode-custom-fields");
125
+ //#endregion
126
+ export { S as CustomFields };
@@ -0,0 +1 @@
1
+ import "./dateInputComposed-CvsKvXv5.js";
@@ -1,8 +1,8 @@
1
1
  import { a as e, l as t, v as n } from "./vendor-preact-D6SntenC.js";
2
2
  import { n as r } from "./loadingIcon-wTrHZMGC.js";
3
- import { f as i } from "./icons-Cj7hJH7f.js";
4
- import { t as a } from "./inputComposed-D7vq-JYi.js";
5
- import "./inputComposed-HqPLwoEb.js";
3
+ import { p as i } from "./icons-GsJu_yZn.js";
4
+ import { t as a } from "./inputComposed-BXGBX7oR.js";
5
+ import "./inputComposed-e3nC8j25.js";
6
6
  //#region src/shared/dateInputComposed/dateInputComposed.tsx
7
7
  var o = e(({ id: e, label: o, disabled: s, class: c, ...l }, u) => {
8
8
  let d = t(null), f = (e) => {
@@ -1,14 +1,14 @@
1
- import { n as e } from "./i18n-B3g2cb7v.js";
1
+ import { n as e } from "./i18n-ntrVdqVv.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
- import { o as c, r as l, t as u } from "./incodeComponent-dxwR00fd.js";
3
+ import { o as c, r as l, t as u } from "./incodeComponent-pGWsrcca.js";
4
4
  import { t as d } from "./spacer-DCljE53A.js";
5
5
  import { t as f } from "./page-D5Mt-0zn.js";
6
- import { _ as p, c as m, d as h, f as g, l as _, u as v, v as y } from "./extensibility-CgleSPdz.js";
6
+ import { _ as p, c as m, d as h, f as g, l as _, u as v, v as y } from "./extensibility-DQEOFw2F.js";
7
7
  import { n as b } from "./loadingIcon-wTrHZMGC.js";
8
8
  import { t as x } from "./spinner-DyRQfsz_.js";
9
9
  import { t as S } from "./button-4-ToV5B_.js";
10
- import { a as C, d as w, r as T } from "./icons-Cj7hJH7f.js";
11
- import { o as E } from "./tutorial-B_1LffFG.js";
10
+ import { a as C, f as w, r as T } from "./icons-GsJu_yZn.js";
11
+ import { o as E } from "./tutorial--guc-r5j.js";
12
12
  import { t as D } from "./successIcon-C4GI_9SU.js";
13
13
  import { t as O } from "./bottomSheet-D7Bcy6_9.js";
14
14
  import { t as k } from "./incodeModule-BH9gV7jI.js";
@@ -1,6 +1,6 @@
1
1
  import { _ as e, l as t, p as n, v as r } from "./vendor-preact-D6SntenC.js";
2
2
  import { n as i } from "./loadingIcon-wTrHZMGC.js";
3
- import { c as a, m as o, n as s } from "./icons-Cj7hJH7f.js";
3
+ import { h as a, l as o, n as s } from "./icons-GsJu_yZn.js";
4
4
  import { t as ee } from "./successIcon-C4GI_9SU.js";
5
5
  //#region src/shared/dropdownComposed/dropdownComposed.tsx
6
6
  var c = ({ id: c, label: l, placeholder: u = "Choose an option", value: d, options: f, onChange: p, error: m, helper: h, showErrorIcon: te, showHelperIcon: g, suppressMessages: _ = !1, disabled: v = !1, required: y, searchable: b = !1, searchPlaceholder: x = "Search...", noResultsText: S = "No results found", name: C, tabIndex: w, onKeyDown: T, onBlur: E, renderSelectedLabel: D, siblingElement: O, enterKeyHint: ne, class: k, "aria-label": A, "data-testid": j }) => {
@@ -157,7 +157,7 @@ var c = ({ id: c, label: l, placeholder: u = "Choose an option", value: d, optio
157
157
  class: "IncodeDropdownComposedTriggerIcon",
158
158
  "aria-hidden": "true",
159
159
  "data-open": M,
160
- children: /* @__PURE__ */ r(a, {})
160
+ children: /* @__PURE__ */ r(o, {})
161
161
  })]
162
162
  }), O && /* @__PURE__ */ r("div", {
163
163
  class: "IncodeDropdownComposedSibling",
@@ -232,7 +232,7 @@ var c = ({ id: c, label: l, placeholder: u = "Choose an option", value: d, optio
232
232
  "data-testid": `${c}-error-wrapper`,
233
233
  children: [te && /* @__PURE__ */ r("div", {
234
234
  class: "IncodeDropdownComposedIconWrapper",
235
- children: /* @__PURE__ */ r(o, { size: 17 })
235
+ children: /* @__PURE__ */ r(a, { size: 17 })
236
236
  }), /* @__PURE__ */ r("p", {
237
237
  id: Q,
238
238
  class: "IncodeDropdownComposedError",
@@ -0,0 +1 @@
1
+ import "./dropdownComposed-D33V63q7.js";
@@ -1,2 +1,2 @@
1
- import { t as e } from "../ekybModule-B4Xva8gU.js";
1
+ import { t as e } from "../ekybModule-DV8eZFTA.js";
2
2
  export { e as EkybModule };
@@ -0,0 +1,2 @@
1
+ import { t as e } from "./ekybModule-DV8eZFTA.js";
2
+ export { e as EkybModule };
@@ -1,15 +1,15 @@
1
- import { n as e } from "./i18n-B3g2cb7v.js";
1
+ import { n as e } from "./i18n-ntrVdqVv.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
- import { i as c, o as l, t as u } from "./incodeComponent-dxwR00fd.js";
3
+ import { i as c, o as l, t as u } from "./incodeComponent-pGWsrcca.js";
4
4
  import { t as d } from "./page-D5Mt-0zn.js";
5
5
  import { t as f } from "./spinner-DyRQfsz_.js";
6
6
  import { t as p } from "./button-4-ToV5B_.js";
7
- import { t as m } from "./verificationResult-VtriXVEd.js";
8
- import { t as h } from "./inputComposed-D7vq-JYi.js";
9
- import { n as g, t as _ } from "./formField-Co4Kh1a4.js";
10
- import { t as v } from "./dropdownComposed-B4Ebk486.js";
7
+ import { t as m } from "./verificationResult-D7grOTth.js";
8
+ import { t as h } from "./inputComposed-BXGBX7oR.js";
9
+ import { n as g, t as _ } from "./formField-CXgBxbyE.js";
10
+ import { t as v } from "./dropdownComposed-D33V63q7.js";
11
11
  import { t as y } from "./incodeModule-BH9gV7jI.js";
12
- import { t as b } from "./addressAutocomplete-DTrgJzUp.js";
12
+ import { t as b } from "./addressAutocomplete-DgObOJ6o.js";
13
13
  import { DEV_ONLY_COUNTRIES as x, SUPPORTED_COUNTRIES as S, computeEkybDisplayErrors as C, createEkybManager as w } from "@incodetech/core/ekyb";
14
14
  //#region src/modules/ekyb/countrySelector.tsx
15
15
  function T(e) {
@@ -1,2 +1,2 @@
1
- import { t as e } from "../ekycModule-DOVTiBfn.js";
1
+ import { t as e } from "../ekycModule-Dyvfm_Jh.js";
2
2
  export { e as EkycModule };
@@ -0,0 +1,2 @@
1
+ import { t as e } from "./ekycModule-Dyvfm_Jh.js";
2
+ export { e as EkycModule };
@@ -1,17 +1,17 @@
1
- import { n as e } from "./i18n-B3g2cb7v.js";
1
+ import { n as e } from "./i18n-ntrVdqVv.js";
2
2
  import { _ as t, d as n, h as r, l as i, p as a, v as o } from "./vendor-preact-D6SntenC.js";
3
- import { i as s, o as c, t as l } from "./incodeComponent-dxwR00fd.js";
3
+ import { i as s, o as c, t as l } from "./incodeComponent-pGWsrcca.js";
4
4
  import { t as u } from "./page-D5Mt-0zn.js";
5
5
  import { t as d } from "./spinner-DyRQfsz_.js";
6
6
  import { t as f } from "./button-4-ToV5B_.js";
7
- import { t as p } from "./verificationResult-VtriXVEd.js";
8
- import { n as m, t as h } from "./formField-Co4Kh1a4.js";
9
- import { t as g } from "./phoneInputComposed-BSn0WlMA.js";
10
- import { t as _ } from "./dropdownComposed-B4Ebk486.js";
11
- import { t as v } from "./dateInputComposed-CBvZmLBy.js";
12
- import { t as y } from "./radioButtonComposed-o86b9OGB.js";
7
+ import { t as p } from "./verificationResult-D7grOTth.js";
8
+ import { n as m, t as h } from "./formField-CXgBxbyE.js";
9
+ import { t as g } from "./phoneInputComposed-DpKgzd72.js";
10
+ import { t as _ } from "./dropdownComposed-D33V63q7.js";
11
+ import { t as v } from "./dateInputComposed-CvsKvXv5.js";
12
+ import { t as y } from "./radioButtonComposed-Db8-Oprl.js";
13
13
  import { t as b } from "./incodeModule-BH9gV7jI.js";
14
- import { t as x } from "./addressAutocomplete-DTrgJzUp.js";
14
+ import { t as x } from "./addressAutocomplete-DgObOJ6o.js";
15
15
  import { computeEkycDisplayErrors as S, createEkycManager as C } from "@incodetech/core/ekyc";
16
16
  //#region src/modules/ekyc/ekycModule.tsx
17
17
  var w = ({ config: n, onFinish: r }) => {
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../electronic-signature-AVBIN1f_.js";
1
+ import { n as e, t } from "../electronic-signature-BY_fGpGt.js";
2
2
  export { t as AeSignature, e as ElectronicSignature };