@incodetech/web 0.0.0-dev-20260506-66d407a → 0.0.0-dev-20260506-135ee70

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 (127) hide show
  1. package/dist/ae-signature/ae-signature.es.js +2 -2
  2. package/dist/antifraud/antifraud.es.js +3 -3
  3. package/dist/authentication/authentication.es.js +3 -3
  4. package/dist/{autoFocusTitle-Cbh_s_F3.js → autoFocusTitle-C01okScG.js} +1 -1
  5. package/dist/base.css +58 -15
  6. package/dist/{bottomSheet-BXIzn-hy.js → bottomSheet-CLMmiBQS.js} +1 -1
  7. package/dist/{button-4-ToV5B_.js → button-DcCUEn2n.js} +1 -1
  8. package/dist/checkbox-Cl57ltq_.js +85 -0
  9. package/dist/consent/consent.es.js +64 -57
  10. package/dist/consent/styles.css +0 -6
  11. package/dist/{countrySelector-CgUcwTFy.js → countrySelector-6tyguJJ3.js} +2 -2
  12. package/dist/{cpfOcr-x1a7kugo.js → cpfOcr-C1NNPNiv.js} +7 -7
  13. package/dist/cross-document-data-match/cross-document-data-match.es.js +3 -3
  14. package/dist/curp-validation/curp-validation.es.js +155 -138
  15. package/dist/{customFields-BnSONYn5.js → customFields-IrNw7FK_.js} +13 -14
  16. package/dist/{customWatchlist-D6bC85Id.js → customWatchlist-DBKYqZFo.js} +6 -6
  17. package/dist/dateInputComposed-B4IHGFn2.js +1 -0
  18. package/dist/{dateInputComposed-CVqyqQIV.js → dateInputComposed-YUmNQwOo.js} +4 -4
  19. package/dist/{documentCapture-BgCvTvm0.js → documentCapture-5sArwFr_.js} +41 -42
  20. package/dist/dropdownComposed-BP11clgh.js +284 -0
  21. package/dist/dropdownComposed-D3Pd7_tT.js +1 -0
  22. package/dist/ekyb/ekyb.es.js +1 -1
  23. package/dist/ekybModule-Dgc00cCc.js +267 -0
  24. package/dist/ekybModule-fSRpSP1j.js +2 -0
  25. package/dist/ekyc/ekyc.es.js +1 -1
  26. package/dist/{ekycModule-Du3Jtaz0.js → ekycModule-CNu2fPZW.js} +112 -96
  27. package/dist/ekycModule-DR5NfJjJ.js +2 -0
  28. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  29. package/dist/{electronic-signature-C-QUmNr8.js → electronic-signature-DZNQCizH.js} +39 -39
  30. package/dist/email/email.es.js +10 -9
  31. package/dist/{extensibility-Dt-TGklI.js → extensibility-C5wHEamm.js} +97 -98
  32. package/dist/extensibility.es.js +24 -25
  33. package/dist/face-match/face-match.es.js +1 -1
  34. package/dist/{faceMatch-soVUfKae.js → faceMatch-Bv8Sa132.js} +47 -55
  35. package/dist/faceMatch-DNnR3D9Y.js +2 -0
  36. package/dist/flow/flow.es.js +6 -6
  37. package/dist/flow/styles.css +9 -40
  38. package/dist/{formField-Dr_wRS1M.js → formField-DVxrqXxH.js} +7 -5
  39. package/dist/geolocation/geolocation.es.js +7 -7
  40. package/dist/governmentValidation/governmentValidation.es.js +10 -10
  41. package/dist/{homeScreen-BsnPnOwW.js → homeScreen-erBPunoI.js} +6 -6
  42. package/dist/{i18n-BnVa5Y-_.js → i18n-D6pCC7RL.js} +1 -1
  43. package/dist/{icons-BtdVuyUn.js → icons-Cc7zwchP.js} +1 -1
  44. package/dist/id/id.es.js +47 -47
  45. package/dist/idOcr-cqvEUFU7.js +94 -0
  46. package/dist/identity-reuse/identity-reuse.es.js +6 -6
  47. package/dist/{incodeComponent-9ZUPvQgC.js → incodeComponent-BRtpx7iO.js} +1 -1
  48. package/dist/index.es.js +1 -1
  49. package/dist/{inputComposed-28d14HXP.js → inputComposed-APSw8C7o.js} +32 -31
  50. package/dist/inputComposed-XYrarFxS.js +1 -0
  51. package/dist/loadingIcon-BN5YRQUb.js +104 -0
  52. package/dist/{mandatoryConsent-CB7gSJjK.js → mandatoryConsent-CUkwi7Am.js} +9 -9
  53. package/dist/{modal-CfeQw93y.js → modal-XTO80Vsu.js} +3 -3
  54. package/dist/{optionAccessibleLabel-BJn-fXDH.js → optionAccessibleLabel-BNmB1NZB.js} +48 -46
  55. package/dist/{otpInput-BsMvwuxV.js → otpInput-C28CqSoT.js} +6 -5
  56. package/dist/{page-D5Mt-0zn.js → page-DCsXSlHl.js} +1 -1
  57. package/dist/{pdf-4UQzn_KC.js → pdf-CERc26GI.js} +1 -1
  58. package/dist/phone/phone.es.js +9 -9
  59. package/dist/{countries-DZqcdgA4.js → phoneInputComposed-G97ecK_X.js} +2953 -70
  60. package/dist/{processing-C9xzJOq0.js → processing-Byt0PHxP.js} +1 -1
  61. package/dist/qe-signature/qe-signature.es.js +2 -2
  62. package/dist/radioGroupComposed-B74fc1L3.js +135 -0
  63. package/dist/redirect-to-mobile/styles.css +9 -34
  64. package/dist/{redirectToMobile---pcfaJC.js → redirectToMobile-B34StIWz.js} +136 -135
  65. package/dist/requiredLabelHint-J9rEJWcF.js +13 -0
  66. package/dist/{richText-BNC8z_ah.js → richText-gJTUJEMX.js} +1 -1
  67. package/dist/selfie/selfie.es.js +6 -6
  68. package/dist/signature/signature.es.js +9 -9
  69. package/dist/snackbar-B3hIVhgk.js +14 -0
  70. package/dist/spinner-B4dcie2T.js +1 -0
  71. package/dist/{spinner-CNteWaxs.js → spinner-CKnjVHxw.js} +5 -6
  72. package/dist/{statusPage-VScoN9zO.js → statusPage-DXmurxxX.js} +3 -3
  73. package/dist/{tabs-Iu2gptzB.js → tabs-D-xvkepW.js} +1 -1
  74. package/dist/themes/dark.css +5 -0
  75. package/dist/themes/light.css +5 -0
  76. package/dist/{transitionSpinner-Dmj-tzXU.js → transitionSpinner-DHelnP9m.js} +3 -3
  77. package/dist/{tutorial-BdUoUyaE.js → tutorial-n8Rcb2Xw.js} +46 -47
  78. package/dist/types/extensibility.d.ts +13 -1
  79. package/dist/{typography-BU5GeRw-.js → typography-CxjaknHN.js} +1 -1
  80. package/dist/{useModuleLoader-CRXhrZ1v.js → useModuleLoader-Wx57i1Nv.js} +15 -15
  81. package/dist/{verificationResult-BInhP13F.js → verificationResult-Zcgwq6Cv.js} +7 -7
  82. package/dist/watchlist/watchlist.es.js +6 -6
  83. package/dist/{watchlistForBusiness-C19sUpN3.js → watchlistForBusiness-BbKEWVqz.js} +12 -12
  84. package/dist/workflow/styles.css +9 -40
  85. package/dist/workflow/workflow.es.js +7 -7
  86. package/package.json +2 -2
  87. package/dist/AsYouType-Cfm-gVja.js +0 -2482
  88. package/dist/checkbox-B35BL_3X.js +0 -85
  89. package/dist/dateInputComposed-BE3SBKOa.js +0 -1
  90. package/dist/dropdownComposed-BDHVzek1.js +0 -1
  91. package/dist/dropdownComposed-z3-qcyhl.js +0 -283
  92. package/dist/ekybModule-DLP7LXB1.js +0 -257
  93. package/dist/ekybModule-UcHJIiFm.js +0 -2
  94. package/dist/ekycModule-DgBJwzgp.js +0 -2
  95. package/dist/faceMatch-B9l5cU4z.js +0 -2
  96. package/dist/idOcr-CLXVOmx5.js +0 -91
  97. package/dist/inputComposed-CXXUBANr.js +0 -1
  98. package/dist/loadingIcon-wTrHZMGC.js +0 -50
  99. package/dist/phoneInput-CIuylABp.js +0 -138
  100. package/dist/phoneInputComposed-qGTl0-jI.js +0 -408
  101. package/dist/radioGroupComposed-BPJ5Gj6B.js +0 -135
  102. package/dist/spacer-DCljE53A.js +0 -59
  103. package/dist/spinner-BiPJCr9Q.js +0 -1
  104. /package/dist/{aligndevicelottie-Dfs3Ku2-.js → aligndevicelottie-xrVoNCX1.js} +0 -0
  105. /package/dist/{back-horizontal-hint-Cch8dR2s.js → back-horizontal-hint-CafoL5Hr.js} +0 -0
  106. /package/dist/{back-tutorial-DCeMC-YK.js → back-tutorial-D8gxTBif.js} +0 -0
  107. /package/dist/{back-vertical-hint-Dzn5uXKH.js → back-vertical-hint-vsXVE8cE.js} +0 -0
  108. /package/dist/{backdevicelottie-B4ve1L_u.js → backdevicelottie-D6ViC7os.js} +0 -0
  109. /package/dist/{blurdevicelottie-DIQrsw9H.js → blurdevicelottie-XvW-0MTp.js} +0 -0
  110. /package/dist/{browser-ponyfill-Dxc09_1M.js → browser-ponyfill-Dqca0y49.js} +0 -0
  111. /package/dist/{defineProperty-DB5OmvER.js → defineProperty-CqT6YdHJ.js} +0 -0
  112. /package/dist/{flip-animation-B1zV6oY9.js → flip-animation-C6-P7Ueu.js} +0 -0
  113. /package/dist/{front-horizontal-hint-CNu99K_l.js → front-horizontal-hint-B-ym65-G.js} +0 -0
  114. /package/dist/{front-vertical-hint-CpQjOGpU.js → front-vertical-hint-D7fluj79.js} +0 -0
  115. /package/dist/{frontdevicelottie-D3Gw7Qab.js → frontdevicelottie-C0TbU3F-.js} +0 -0
  116. /package/dist/{glaredevicelottie-BPRxXRbG.js → glaredevicelottie-z5dv0nBA.js} +0 -0
  117. /package/dist/{id-laser-h-BUV5ROmy.js → id-laser-h-BniGIPai.js} +0 -0
  118. /package/dist/{id-laser-v-DzsdfzVM.js → id-laser-v-DFo-b0WI.js} +0 -0
  119. /package/dist/{id-tutorial-B2d6DkZv.js → id-tutorial-CKackIBs.js} +0 -0
  120. /package/dist/{incodeModule-BH9gV7jI.js → incodeModule-D_r2n18O.js} +0 -0
  121. /package/dist/{modal.hooks-LdusROLW.js → modal.hooks-CAjcIFZK.js} +0 -0
  122. /package/dist/{numberedStep-CSQrc-lB.js → numberedStep-CR4w_BpM.js} +0 -0
  123. /package/dist/{passport-horizontal-hint-WqdYMc9Y.js → passport-horizontal-hint-DXy5C55p.js} +0 -0
  124. /package/dist/{passport-tutorial-DYBRCYAN.js → passport-tutorial-DwhO4uTV.js} +0 -0
  125. /package/dist/{passport-vertical-hint-rNP6GykM.js → passport-vertical-hint-D0iTF_ih.js} +0 -0
  126. /package/dist/{selfieTutorial-1QMt37Us.js → selfieTutorial-CmGGVE4q.js} +0 -0
  127. /package/dist/{successIcon-SlKgTSty.js → successIcon-DbILeIz_.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-C-QUmNr8.js";
3
- import { t as n } from "../incodeModule-BH9gV7jI.js";
2
+ import { n as t } from "../electronic-signature-DZNQCizH.js";
3
+ import { t as n } from "../incodeModule-D_r2n18O.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-9ZUPvQgC.js";
4
- import { t as i } from "../spinner-CNteWaxs.js";
5
- import { t as a } from "../incodeModule-BH9gV7jI.js";
3
+ import { t as r } from "../incodeComponent-BRtpx7iO.js";
4
+ import { t as i } from "../spinner-CKnjVHxw.js";
5
+ import { t as a } from "../incodeModule-D_r2n18O.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-9ZUPvQgC.js";
4
- import { n as r, r as i, t as a } from "../tutorial-BdUoUyaE.js";
5
- import { t as o } from "../incodeModule-BH9gV7jI.js";
3
+ import { t as n } from "../incodeComponent-BRtpx7iO.js";
4
+ import { n as r, r as i, t as a } from "../tutorial-n8Rcb2Xw.js";
5
+ import { t as o } from "../incodeModule-D_r2n18O.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,5 +1,5 @@
1
1
  import { _ as e, l as t, v as n } from "./vendor-preact-D6SntenC.js";
2
- import { t as r } from "./typography-BU5GeRw-.js";
2
+ import { t as r } from "./typography-CxjaknHN.js";
3
3
  //#region src/shared/autoFocusTitle/autoFocusTitle.tsx
4
4
  var i = ({ children: i, className: a }) => {
5
5
  let o = t(null);
package/dist/base.css CHANGED
@@ -797,9 +797,12 @@
797
797
  .IncodeCheckboxTextDisabled {
798
798
  color: var(--color-checkbox-text-disabled, var(--checkbox-text-disabled));
799
799
  }
800
- .IncodeCheckboxRequired {
801
- color: var(--color-text-status-negative, var(--text-status-negative));
800
+ .IncodeCheckboxLabelHint {
802
801
  margin-left: var(--spacing-4, var(--spacing-4, 4px));
802
+ font-size: var(--text-14, var(--primitive-typography-size-14));
803
+ --tw-font-weight: var(--font-weight-normal, 400);
804
+ font-weight: var(--font-weight-normal, 400);
805
+ color: var(--color-text-body-secondary, var(--text-body-500-secondary));
803
806
  }
804
807
  .IncodeCheckboxMessageWrapper {
805
808
  margin-top: var(--spacing-8, var(--spacing-8, 8px));
@@ -927,9 +930,16 @@
927
930
  .IncodeRadioButton .IncodeRadioButtonTextDisabled {
928
931
  color: var(--color-radio-button-text-disabled, var(--radio-button-text-disabled));
929
932
  }
930
- .IncodeRadioButton .IncodeRadioButtonRequired {
931
- color: var(--color-text-status-negative, var(--text-status-negative));
933
+ .IncodeRadioButton .IncodeRadioButtonLabelHint {
932
934
  margin-left: var(--spacing-4, var(--spacing-4, 4px));
935
+ font-family: var(--typography-checkbox-radio-family);
936
+ font-size: var(--typography-checkbox-radio-m-size);
937
+ font-weight: var(--typography-checkbox-radio-m-weight);
938
+ line-height: var(--typography-checkbox-radio-m-line-height);
939
+ letter-spacing: var(--typography-checkbox-radio-m-letter-spacing);
940
+ --tw-font-weight: var(--font-weight-normal, 400);
941
+ font-weight: var(--font-weight-normal, 400);
942
+ color: var(--color-text-body-secondary, var(--text-body-500-secondary));
933
943
  }
934
944
  .IncodeRadioButton .IncodeRadioButtonMessageWrapper {
935
945
  margin-top: var(--spacing-8, var(--spacing-8, 8px));
@@ -978,9 +988,16 @@
978
988
  line-height: 1;
979
989
  display: block;
980
990
  }
981
- .IncodeRadioGroupComposed .IncodeRadioGroupComposedRequired {
991
+ .IncodeRadioGroupComposed .IncodeRadioGroupComposedLabelHint {
982
992
  margin-left: var(--spacing-4, var(--spacing-4, 4px));
983
- color: var(--color-text-status-negative, var(--text-status-negative));
993
+ font-family: var(--typography-label-family);
994
+ font-size: var(--typography-label-m-size);
995
+ font-weight: var(--typography-label-m-weight);
996
+ line-height: var(--typography-label-m-line-height);
997
+ letter-spacing: var(--typography-label-m-letter-spacing);
998
+ --tw-font-weight: var(--font-weight-normal, 400);
999
+ font-weight: var(--font-weight-normal, 400);
1000
+ color: var(--color-text-body-secondary, var(--text-body-500-secondary));
984
1001
  }
985
1002
  .IncodeRadioGroupComposed .IncodeRadioGroupComposedOptions {
986
1003
  display: flex;
@@ -1180,14 +1197,16 @@
1180
1197
  padding: var(--spacing-0, var(--spacing-none, 0px));
1181
1198
  display: inline-block;
1182
1199
  }
1183
- .IncodeInputComposedAsterics {
1184
- margin-right: var(--spacing-2, var(--spacing-2, 2px));
1200
+ .IncodeInputComposedLabelHint {
1201
+ margin-left: var(--spacing-4, var(--spacing-4, 4px));
1185
1202
  font-family: var(--typography-label-family);
1186
1203
  font-size: var(--typography-label-m-size);
1187
1204
  font-weight: var(--typography-label-m-weight);
1188
1205
  line-height: var(--typography-label-m-line-height);
1189
1206
  letter-spacing: var(--typography-label-m-letter-spacing);
1190
- color: var(--color-input-text-label-default, var(--input-text-label-default));
1207
+ --tw-font-weight: var(--font-weight-normal, 400);
1208
+ font-weight: var(--font-weight-normal, 400);
1209
+ color: var(--color-input-text-helper-default, var(--input-text-helper-default));
1191
1210
  }
1192
1211
  .IncodeInputComposedWrapper {
1193
1212
  position: relative;
@@ -1304,8 +1323,16 @@
1304
1323
  padding: var(--spacing-0, var(--spacing-none, 0px));
1305
1324
  display: inline-block;
1306
1325
  }
1307
- .IncodeTextAreaComposedRequired {
1308
- color: var(--color-input-text-helper-negative, var(--input-text-helper-negative));
1326
+ .IncodeTextAreaComposedLabelHint {
1327
+ margin-left: var(--spacing-4, var(--spacing-4, 4px));
1328
+ font-family: var(--typography-label-family);
1329
+ font-size: var(--typography-label-m-size);
1330
+ font-weight: var(--typography-label-m-weight);
1331
+ line-height: var(--typography-label-m-line-height);
1332
+ letter-spacing: var(--typography-label-m-letter-spacing);
1333
+ --tw-font-weight: var(--font-weight-normal, 400);
1334
+ font-weight: var(--font-weight-normal, 400);
1335
+ color: var(--color-input-text-helper-default, var(--input-text-helper-default));
1309
1336
  }
1310
1337
  .IncodeTextAreaComposedWrapper {
1311
1338
  position: relative;
@@ -1358,8 +1385,16 @@
1358
1385
  color: var(--color-dropdown-text-label-default, var(--dropdown-text-label-default));
1359
1386
  display: inline-block;
1360
1387
  }
1361
- .IncodeDropdownComposedRequired {
1362
- color: var(--color-dropdown-text-helper-negative, var(--dropdown-text-helper-negative));
1388
+ .IncodeDropdownComposedLabelHint {
1389
+ margin-left: var(--spacing-4, var(--spacing-4, 4px));
1390
+ font-family: var(--typography-label-family);
1391
+ font-size: var(--typography-label-m-size);
1392
+ font-weight: var(--typography-label-m-weight);
1393
+ line-height: var(--typography-label-m-line-height);
1394
+ letter-spacing: var(--typography-label-m-letter-spacing);
1395
+ --tw-font-weight: var(--font-weight-normal, 400);
1396
+ font-weight: var(--font-weight-normal, 400);
1397
+ color: var(--color-dropdown-text-helper-default, var(--dropdown-text-helper-default));
1363
1398
  }
1364
1399
  .IncodeDropdownComposedWrapper {
1365
1400
  position: relative;
@@ -1634,8 +1669,16 @@
1634
1669
  letter-spacing: var(--typography-label-m-letter-spacing);
1635
1670
  display: inline-block;
1636
1671
  }
1637
- .IncodePhoneInputComposedRequired {
1638
- color: var(--color-input-text-helper-negative, var(--input-text-helper-negative));
1672
+ .IncodePhoneInputComposedLabelHint {
1673
+ margin-left: var(--spacing-4, var(--spacing-4, 4px));
1674
+ font-family: var(--typography-label-family);
1675
+ font-size: var(--typography-label-m-size);
1676
+ font-weight: var(--typography-label-m-weight);
1677
+ line-height: var(--typography-label-m-line-height);
1678
+ letter-spacing: var(--typography-label-m-letter-spacing);
1679
+ --tw-font-weight: var(--font-weight-normal, 400);
1680
+ font-weight: var(--font-weight-normal, 400);
1681
+ color: var(--color-input-text-helper-default, var(--input-text-helper-default));
1639
1682
  }
1640
1683
  .IncodePhoneInputComposedDropdown {
1641
1684
  max-width: none;
@@ -1,5 +1,5 @@
1
1
  import { h as e, l as t, v as n } from "./vendor-preact-D6SntenC.js";
2
- import { i as r, n as i, o as a, r as o, s } from "./modal.hooks-LdusROLW.js";
2
+ import { i as r, n as i, o as a, r as o, s } from "./modal.hooks-CAjcIFZK.js";
3
3
  //#region src/shared/bottomSheet/bottomSheet.tsx
4
4
  var c = ({ isOpen: c = !1, onClose: l, labelledById: u, children: d }) => {
5
5
  let f = t(null), p = t(null), m = e(() => {
@@ -1,5 +1,5 @@
1
1
  import { S as e, a as t, v as n } from "./vendor-preact-D6SntenC.js";
2
- import { n as r, t as i } from "./loadingIcon-wTrHZMGC.js";
2
+ import { n as r, t as i } from "./loadingIcon-BN5YRQUb.js";
3
3
  //#region src/shared/button/button.tsx
4
4
  var a = 30, o = {
5
5
  primary: "IncodeButtonPrimary",
@@ -0,0 +1,85 @@
1
+ import { a as e, p as t, v as n } from "./vendor-preact-D6SntenC.js";
2
+ import { n as r } from "./loadingIcon-BN5YRQUb.js";
3
+ import { d as i, g as a } from "./icons-Cc7zwchP.js";
4
+ //#region src/shared/checkbox/checkbox.tsx
5
+ var o = e(({ id: e, label: o, labelHint: s, size: c = "m", checked: l, defaultChecked: u, disabled: d = !1, required: f = !1, name: p, value: m, onChange: h, error: g, helper: _, showErrorIcon: v = !0, class: y, "aria-label": b, "aria-labelledby": x, "aria-describedby": S, "aria-invalid": C, ...w }, T) => {
6
+ let [E, D] = t(!!u), O = l !== void 0, k = O ? !!l : E, A = !!d, j = !!f, M = typeof y == "string" ? y : void 0, N = (e) => {
7
+ O || D(e.target.checked), h?.(e);
8
+ }, P = _ ? `${e}-helper` : void 0, F = g ? `${e}-error` : void 0, I = [
9
+ S,
10
+ F,
11
+ P
12
+ ].filter(Boolean).join(" ") || void 0;
13
+ return /* @__PURE__ */ n("div", {
14
+ class: r("IncodeCheckbox", M),
15
+ children: [
16
+ /* @__PURE__ */ n("label", {
17
+ class: r("IncodeCheckboxLabel", { IncodeCheckboxLabelDisabled: A }),
18
+ htmlFor: e,
19
+ children: [/* @__PURE__ */ n("div", {
20
+ class: "relative inline-flex",
21
+ children: [/* @__PURE__ */ n("input", {
22
+ ref: T,
23
+ type: "checkbox",
24
+ class: "IncodeCheckboxInput",
25
+ id: e,
26
+ name: p,
27
+ value: m,
28
+ ...O ? { checked: l } : { defaultChecked: u },
29
+ disabled: d,
30
+ required: f,
31
+ onChange: N,
32
+ "aria-label": b,
33
+ "aria-labelledby": x,
34
+ "aria-describedby": I,
35
+ "aria-invalid": C || !!g,
36
+ "aria-required": j,
37
+ ...w
38
+ }), /* @__PURE__ */ n("div", {
39
+ class: r("IncodeCheckboxVisual", {
40
+ IncodeCheckboxVisualChecked: k,
41
+ IncodeCheckboxVisualDisabled: A,
42
+ IncodeCheckboxVisualError: !!g
43
+ }),
44
+ children: k && /* @__PURE__ */ n(i, { size: 28 })
45
+ })]
46
+ }), o && /* @__PURE__ */ n("span", {
47
+ class: r("IncodeCheckboxText", {
48
+ IncodeCheckboxTextS: c === "s",
49
+ IncodeCheckboxTextM: c === "m",
50
+ IncodeCheckboxTextDisabled: A
51
+ }),
52
+ "aria-hidden": x ? "true" : void 0,
53
+ children: [o, s && /* @__PURE__ */ n("span", {
54
+ class: "IncodeCheckboxLabelHint",
55
+ "data-testid": `${e}-label-hint`,
56
+ children: s
57
+ })]
58
+ })]
59
+ }),
60
+ g && /* @__PURE__ */ n("div", {
61
+ class: "IncodeCheckboxMessageWrapper",
62
+ "data-testid": `${e}-error-wrapper`,
63
+ children: [v && /* @__PURE__ */ n("div", {
64
+ class: "IncodeCheckboxIconWrapper",
65
+ children: /* @__PURE__ */ n(a, { size: 17 })
66
+ }), /* @__PURE__ */ n("p", {
67
+ id: F,
68
+ class: "IncodeCheckboxErrorText",
69
+ children: g
70
+ })]
71
+ }),
72
+ _ && !g && /* @__PURE__ */ n("div", {
73
+ class: "IncodeCheckboxMessageWrapper",
74
+ "data-testid": `${e}-helper-wrapper`,
75
+ children: /* @__PURE__ */ n("p", {
76
+ id: P,
77
+ class: "IncodeCheckboxHelperText",
78
+ children: _
79
+ })
80
+ })
81
+ ]
82
+ });
83
+ });
84
+ //#endregion
85
+ export { o as t };
@@ -1,83 +1,90 @@
1
- import { n as e } from "../i18n-BnVa5Y-_.js";
2
- import { _ as t, l as n, v as r } from "../vendor-preact-D6SntenC.js";
3
- import { o as i } from "../hooks-BVnGysT7.js";
4
- import { t as a } from "../incodeComponent-9ZUPvQgC.js";
5
- import { t as o } from "../page-D5Mt-0zn.js";
6
- import { n as s } from "../typography-BU5GeRw-.js";
7
- import { t as c } from "../transitionSpinner-Dmj-tzXU.js";
8
- import { t as l } from "../button-4-ToV5B_.js";
9
- import { t as u } from "../checkbox-B35BL_3X.js";
10
- import { t as d } from "../incodeModule-BH9gV7jI.js";
11
- import { t as f } from "../richText-BNC8z_ah.js";
12
- import { createConsentManager as p } from "@incodetech/core/consent";
1
+ import { n as e } from "../i18n-D6pCC7RL.js";
2
+ import { _ as t, d as n, l as r, v as i } from "../vendor-preact-D6SntenC.js";
3
+ import { o as a } from "../hooks-BVnGysT7.js";
4
+ import { t as o } from "../incodeComponent-BRtpx7iO.js";
5
+ import { t as s } from "../page-DCsXSlHl.js";
6
+ import { n as c } from "../typography-CxjaknHN.js";
7
+ import { t as l } from "../transitionSpinner-DHelnP9m.js";
8
+ import { t as u } from "../button-DcCUEn2n.js";
9
+ import { t as d } from "../checkbox-Cl57ltq_.js";
10
+ import { t as f } from "../incodeModule-D_r2n18O.js";
11
+ import { t as p } from "../richText-gJTUJEMX.js";
12
+ import { n as m, t as h } from "../requiredLabelHint-J9rEJWcF.js";
13
+ import { createConsentManager as g } from "@incodetech/core/consent";
13
14
  //#region src/modules/consent/consent.tsx
14
- var m = ({ config: a, manager: d, onFinish: m, onError: h }) => {
15
- let { t: g } = e(), _ = n(null), [v, y] = i(() => {
16
- if (d) return d;
17
- if (!a) throw Error("Consent config is required");
18
- return p({ config: a });
19
- }, { manageLifecycle: !d });
20
- return t(() => {
21
- v.status === "display" && _.current?.focus();
22
- }, [v.status]), v.status === "finished" ? (m?.(), null) : v.status === "error" ? (h?.(v.error), null) : v.status === "idle" || v.status === "loading" ? /* @__PURE__ */ r(c, { hideText: !0 }) : /* @__PURE__ */ r(o, {
15
+ var _ = ({ config: o, manager: f, onFinish: _, onError: v }) => {
16
+ let { t: y } = e(), b = r(null), [x, S] = a(() => {
17
+ if (f) return f;
18
+ if (!o) throw Error("Consent config is required");
19
+ return g({ config: o });
20
+ }, { manageLifecycle: !f });
21
+ t(() => {
22
+ x.status === "display" && b.current?.focus();
23
+ }, [x.status]);
24
+ let C = "checkboxes" in x ? x.checkboxes : void 0, w = n(() => m(C?.map((e) => e.required) ?? []), [C]);
25
+ return x.status === "finished" ? (_?.(), null) : x.status === "error" ? (v?.(x.error), null) : x.status === "idle" || x.status === "loading" ? /* @__PURE__ */ i(l, { hideText: !0 }) : /* @__PURE__ */ i(s, {
23
26
  className: "IncodeConsentPage",
24
27
  hideFooterBranding: !0,
25
28
  hideHeader: !0,
26
- children: /* @__PURE__ */ r("div", {
29
+ children: /* @__PURE__ */ i("div", {
27
30
  class: "IncodeConsentContent",
28
- children: [/* @__PURE__ */ r("div", {
31
+ children: [/* @__PURE__ */ i("div", {
29
32
  class: "IncodeConsentBody",
30
33
  children: [
31
- /* @__PURE__ */ r(s, {
32
- ref: _,
34
+ /* @__PURE__ */ i(c, {
35
+ ref: b,
33
36
  className: "IncodeConsentTitle",
34
37
  tabIndex: -1,
35
- children: v.title
38
+ children: x.title
36
39
  }),
37
- /* @__PURE__ */ r(f, {
38
- content: v.richText,
40
+ /* @__PURE__ */ i(p, {
41
+ content: x.richText,
39
42
  class: "IncodeRichText"
40
43
  }),
41
- /* @__PURE__ */ r("div", {
44
+ /* @__PURE__ */ i("div", {
42
45
  class: "IncodeConsentCheckboxList",
43
46
  role: "group",
44
- "aria-label": g("biometricConsent.consentOptions"),
45
- children: v.checkboxes.map((e) => /* @__PURE__ */ r(u, {
46
- id: `consent-checkbox-${e.id}`,
47
- class: "IncodeConsentCheckbox",
48
- size: "s",
49
- checked: e.checked,
50
- required: e.required,
51
- onChange: () => y.toggleCheckbox(e.id),
52
- label: /* @__PURE__ */ r("span", {
53
- class: "IncodeConsentCheckboxLabel",
54
- onClick: (e) => {
55
- e.target.closest("a") && e.stopPropagation();
56
- },
57
- children: /* @__PURE__ */ r(f, {
58
- content: e.label,
59
- class: "IncodeRichText",
60
- disallowedTags: ["img"]
47
+ "aria-label": y("biometricConsent.consentOptions"),
48
+ children: x.checkboxes.map((e) => {
49
+ let t = h(w, e.required), n = t ? y(`forms.label.${t}`) : void 0;
50
+ return /* @__PURE__ */ i(d, {
51
+ id: `consent-checkbox-${e.id}`,
52
+ class: "IncodeConsentCheckbox",
53
+ size: "s",
54
+ checked: e.checked,
55
+ required: e.required,
56
+ labelHint: n,
57
+ onChange: () => S.toggleCheckbox(e.id),
58
+ label: /* @__PURE__ */ i("span", {
59
+ class: "IncodeConsentCheckboxLabel",
60
+ onClick: (e) => {
61
+ e.target.closest("a") && e.stopPropagation();
62
+ },
63
+ children: /* @__PURE__ */ i(p, {
64
+ content: e.label,
65
+ class: "IncodeRichText",
66
+ disallowedTags: ["img"]
67
+ })
61
68
  })
62
- })
63
- }, e.id))
69
+ }, e.id);
70
+ })
64
71
  })
65
72
  ]
66
- }), /* @__PURE__ */ r(l, {
73
+ }), /* @__PURE__ */ i(u, {
67
74
  "data-testid": "consent-submit",
68
- onClick: () => y.submit(),
69
- disabled: !v.canSubmit,
70
- isLoading: v.status === "submitting",
71
- children: g("biometricConsent.button.continue")
75
+ onClick: () => S.submit(),
76
+ disabled: !x.canSubmit,
77
+ isLoading: x.status === "submitting",
78
+ children: y("biometricConsent.button.continue")
72
79
  })]
73
80
  })
74
81
  }, "ready");
75
- }, h = ({ config: e, manager: t, onFinish: n, onError: i }) => /* @__PURE__ */ r(a, { children: e ? /* @__PURE__ */ r(m, {
82
+ }, v = ({ config: e, manager: t, onFinish: n, onError: r }) => /* @__PURE__ */ i(o, { children: e ? /* @__PURE__ */ i(_, {
76
83
  config: e,
77
84
  manager: t,
78
85
  onFinish: n,
79
- onError: i
86
+ onError: r
80
87
  }) : null });
81
- d(h, "incode-consent");
88
+ f(v, "incode-consent");
82
89
  //#endregion
83
- export { h as Consent };
90
+ export { v as Consent };
@@ -103,12 +103,6 @@
103
103
  color: var(--color-surface-brand-600, var(--surface-brand-600-static));
104
104
  }
105
105
 
106
- .IncodeConsentPage .IncodeCheckboxRequired {
107
- margin-left: var(--spacing-0, var(--spacing-none, 0px));
108
- color: var(--color-text-body-primary, var(--text-body-800-primary));
109
- white-space: nowrap;
110
- }
111
-
112
106
  .IncodeConsentPage .IncodeConsentButton {
113
107
  width: 100%;
114
108
  }
@@ -1,6 +1,6 @@
1
- import { n as e } from "./i18n-BnVa5Y-_.js";
1
+ import { n as e } from "./i18n-D6pCC7RL.js";
2
2
  import { d as t, v as n } from "./vendor-preact-D6SntenC.js";
3
- import { t as r } from "./dropdownComposed-z3-qcyhl.js";
3
+ import { t as r } from "./dropdownComposed-BP11clgh.js";
4
4
  import { DEV_ONLY_COUNTRIES as i, SUPPORTED_COUNTRIES as a } from "@incodetech/core/ekyb";
5
5
  //#region src/modules/ekyb/countrySelector.tsx
6
6
  function o(e) {
@@ -1,12 +1,12 @@
1
1
  import { _ as e, p as t, v as n } from "./vendor-preact-D6SntenC.js";
2
2
  import { o as r } from "./hooks-BVnGysT7.js";
3
- import { t as i } from "./spacer-DCljE53A.js";
4
- import { t as a } from "./page-D5Mt-0zn.js";
5
- import { t as o } from "./spinner-CNteWaxs.js";
6
- import "./spinner-BiPJCr9Q.js";
7
- import { t as s } from "./button-4-ToV5B_.js";
8
- import { t as c } from "./verificationResult-BInhP13F.js";
9
- import { t as l } from "./inputComposed-28d14HXP.js";
3
+ import { r as i } from "./loadingIcon-BN5YRQUb.js";
4
+ import { t as a } from "./page-DCsXSlHl.js";
5
+ import { t as o } from "./spinner-CKnjVHxw.js";
6
+ import "./spinner-B4dcie2T.js";
7
+ import { t as s } from "./button-DcCUEn2n.js";
8
+ import { t as c } from "./verificationResult-Zcgwq6Cv.js";
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
12
12
  var d = (e) => e.status === "inputting" ? {
@@ -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-9ZUPvQgC.js";
4
- import { t as i } from "../spinner-CNteWaxs.js";
5
- import { t as a } from "../incodeModule-BH9gV7jI.js";
3
+ import { t as r } from "../incodeComponent-BRtpx7iO.js";
4
+ import { t as i } from "../spinner-CKnjVHxw.js";
5
+ import { t as a } from "../incodeModule-D_r2n18O.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 }) => {