@incodetech/web 2.1.0-rc.0 → 2.1.0-rc.2

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 (139) 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-BzkUiELM.js → autoFocusTitle-CuRu2lPg.js} +1 -1
  5. package/dist/base.css +13 -1
  6. package/dist/{bottomSheet-F1GJfQx_.js → bottomSheet-CnWbbUAM.js} +1 -1
  7. package/dist/{button-CM_hgyIP.js → button-Ch5-QgHB.js} +5 -1
  8. package/dist/certificate-issuance/certificate-issuance.es.js +249 -0
  9. package/dist/certificate-issuance/styles.css +114 -0
  10. package/dist/{checkbox-BoeLHKgp.js → checkbox-1wUHSoaK.js} +2 -2
  11. package/dist/consent/consent.es.js +10 -10
  12. package/dist/{countrySelector-mSWyHSy4.js → countrySelector-B4WuNUya.js} +2 -2
  13. package/dist/cpf-ocr/cpf-ocr.es.js +1 -1
  14. package/dist/cpfOcr-BJOYoITy.js +2 -0
  15. package/dist/{cpfOcr-MtpRztkG.js → cpfOcr-liTE9e70.js} +6 -6
  16. package/dist/cross-document-data-match/cross-document-data-match.es.js +3 -3
  17. package/dist/curp-validation/curp-validation.es.js +16 -16
  18. package/dist/{customFields-DXXt9HGM.js → customFields-BQ4scZfL.js} +10 -10
  19. package/dist/{customWatchlist-DsW04UF6.js → customWatchlist-7s0_wGtE.js} +5 -5
  20. package/dist/dateInputComposed-DRzZi6uy.js +1 -0
  21. package/dist/{dateInputComposed-C_mh4XBg.js → dateInputComposed-DuaofcBl.js} +3 -3
  22. package/dist/document-capture/document-capture.es.js +1 -1
  23. package/dist/documentCapture-3RHCHepT.js +2 -0
  24. package/dist/{documentCapture-BDV_921m.js → documentCapture-CwoSD_Iq.js} +12 -12
  25. package/dist/dropdownComposed-BAoxIIsE.js +1 -0
  26. package/dist/{dropdownComposed-_fgAlo_C.js → dropdownComposed-CoU0enG6.js} +9 -10
  27. package/dist/{dynamicForms-DyfnsS7E.js → dynamicForms-DvTU65bW.js} +12 -12
  28. package/dist/ekyb/ekyb.es.js +1 -1
  29. package/dist/ekybModule-BkVQBQvW.js +2 -0
  30. package/dist/{ekybModule-CIPGmCvD.js → ekybModule-CwZvxios.js} +14 -14
  31. package/dist/ekyc/ekyc.es.js +1 -1
  32. package/dist/ekycModule-BIbj7hr1.js +2 -0
  33. package/dist/{ekycModule-BuTaC5ct.js → ekycModule-jkXByPXe.js} +13 -13
  34. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  35. package/dist/{electronic-signature-B-Q7M0wK.js → electronic-signature-h1sAGg7l.js} +11 -11
  36. package/dist/email/email.es.js +7 -7
  37. package/dist/{emailInput-KZmhjOdZ.js → emailInput-BRMJMJV6.js} +3 -3
  38. package/dist/{expiredId-Q1t6aVpk.js → expiredId-D17oN5K2.js} +4 -4
  39. package/dist/{extensibility-Cs3KQQdC.js → extensibility-CTmAsaji.js} +41 -41
  40. package/dist/extensibility.es.js +22 -22
  41. package/dist/face-match/face-match.es.js +1 -1
  42. package/dist/faceMatch-C0-RPzrc.js +2 -0
  43. package/dist/{faceMatch--RDHJe4t.js → faceMatch-Dez_bq3n.js} +8 -8
  44. package/dist/field-comparison/field-comparison.es.js +1 -1
  45. package/dist/fieldComparison-7FUznk_9.js +2 -0
  46. package/dist/{fieldComparison-CAF86bTC.js → fieldComparison-BelzSC48.js} +8 -8
  47. package/dist/fiscal-qr/fiscal-qr.es.js +7 -7
  48. package/dist/flow/flow.es.js +19 -9
  49. package/dist/flow/styles.css +173 -12
  50. package/dist/geolocation/geolocation.es.js +181 -322
  51. package/dist/geolocation/styles.css +8 -0
  52. package/dist/governmentValidation/governmentValidation.es.js +8 -8
  53. package/dist/{homeScreen-BZnIEDrV.js → homeScreen-BIdVm9KA.js} +5 -5
  54. package/dist/{i18n-CoCO2ZuN.js → i18n-DoP1NB7u.js} +1 -1
  55. package/dist/{icons-Dbs9ZfYM.js → icons-CJJbIpBq.js} +2 -2
  56. package/dist/id/id.es.js +21 -21
  57. package/dist/id-verification/id-verification.es.js +4 -4
  58. package/dist/{idOcr-CjGbb4dB.js → idOcr-C4K2XVJr.js} +11 -11
  59. package/dist/identity-reuse/identity-reuse.es.js +6 -6
  60. package/dist/{incodeComponent-wfnHlnXx.js → incodeComponent-Cmi1rlWs.js} +2 -1
  61. package/dist/{incodeModule-BUDoTwT9.js → incodeModule-M8DszCee.js} +1 -1
  62. package/dist/index.es.js +4 -3
  63. package/dist/inputComposed-BaY5q9WM.js +1 -0
  64. package/dist/{inputComposed-CQ4AsvZg.js → inputComposed-C1R2LAa3.js} +3 -3
  65. package/dist/{mandatoryConsent-r0PQHmv-.js → mandatoryConsent-DOQ0DKgM.js} +9 -9
  66. package/dist/{modal-nTSaG7nB.js → modal-OxkFuuiR.js} +2 -2
  67. package/dist/{optionAccessibleLabel-CnA-mNAU.js → optionAccessibleLabel-_nvVCTSL.js} +4 -4
  68. package/dist/{otpInput-_JmtVwa0.js → otpInput-Q_kzSZeD.js} +4 -4
  69. package/dist/{verifiedByIncode-DjXOdCml.js → page-DidH_RkX.js} +70 -2
  70. package/dist/{pdf-BZA70WbM.js → pdf-BMUXKJuC.js} +1 -1
  71. package/dist/{pdfViewer-BK-yVIve.js → pdfViewer-BewML6eg.js} +2 -2
  72. package/dist/phone/phone.es.js +8 -8
  73. package/dist/{phoneInputComposed-DjNdsmPE.js → phoneInputComposed-DMiXfF-1.js} +5 -5
  74. package/dist/{processing-BM-wT-1W.js → processing-Boki1Z8j.js} +1 -1
  75. package/dist/qe-signature/qe-signature.es.js +2 -2
  76. package/dist/{radioGroupComposed-BNuaopVr.js → radioGroupComposed-TuAWUAFK.js} +4 -4
  77. package/dist/redirect-to-mobile/redirect-to-mobile.es.js +28 -23
  78. package/dist/redirect-to-mobile/styles.css +1 -0
  79. package/dist/{richText-Cf9aMOCk.js → richText-DsTP4H3j.js} +1 -1
  80. package/dist/selfie/selfie.es.js +6 -6
  81. package/dist/signature/signature.es.js +8 -8
  82. package/dist/{spinner-D8a_2LvW.js → spinner-BRNNKqPN.js} +10 -4
  83. package/dist/spinner-zRaUjXtH.js +1 -0
  84. package/dist/{statusPage-DMYPUwRZ.js → statusPage-BUm5gtQY.js} +2 -2
  85. package/dist/themes/dark.css +8 -2
  86. package/dist/themes/light.css +8 -2
  87. package/dist/{transitionSpinner-DRRz-NV8.js → transitionSpinner-4rPkt-KM.js} +8 -5
  88. package/dist/{tutorial-D1qaY2Tm.js → tutorial-Cap8qKvM.js} +13 -13
  89. package/dist/types/certificate-issuance.d.ts +46 -0
  90. package/dist/types/extensibility.d.ts +1 -1
  91. package/dist/types/index.d.ts +7 -1
  92. package/dist/{useModuleLoader-CeJ2jL25.js → useModuleLoader-Kt78XfNR.js} +21 -19
  93. package/dist/{verificationResult-Do5SpZ6X.js → verificationResult-B6PBXbp9.js} +8 -8
  94. package/dist/watchlist/watchlist.es.js +5 -5
  95. package/dist/{watchlistForBusiness-BFFXC9d-.js → watchlistForBusiness-DCKlKG81.js} +9 -9
  96. package/dist/workflow/styles.css +106 -0
  97. package/dist/workflow/workflow.es.js +143 -10
  98. package/package.json +15 -5
  99. package/dist/cpfOcr-jJkYCfsX.js +0 -2
  100. package/dist/dateInputComposed-Cy6a7ymh.js +0 -1
  101. package/dist/documentCapture-8ypBJehw.js +0 -2
  102. package/dist/dropdownComposed-CEWBSdGl.js +0 -1
  103. package/dist/ekybModule-DFoYpheB.js +0 -2
  104. package/dist/ekycModule-BGzwgjl1.js +0 -2
  105. package/dist/faceMatch-yEKPYaym.js +0 -2
  106. package/dist/fieldComparison-D0an7T_g.js +0 -2
  107. package/dist/inputComposed-BEn7_nZd.js +0 -1
  108. package/dist/page-DxGQj7Gk.js +0 -71
  109. package/dist/spinner-B6RxGFrI.js +0 -1
  110. /package/dist/{aligndevicelottie-DY_bX_p8.js → aligndevicelottie-DMXPhIDs.js} +0 -0
  111. /package/dist/{back-horizontal-hint-D_8LptLm.js → back-horizontal-hint-DNIIDrEW.js} +0 -0
  112. /package/dist/{back-tutorial-vb1MxlrT.js → back-tutorial-B8JJSJBB.js} +0 -0
  113. /package/dist/{back-vertical-hint-C1evxxq2.js → back-vertical-hint-CW6ZS7bP.js} +0 -0
  114. /package/dist/{backdevicelottie-HypPqBz7.js → backdevicelottie-By75Bznp.js} +0 -0
  115. /package/dist/{blurdevicelottie-CBXtBFiJ.js → blurdevicelottie-C_9VAHkM.js} +0 -0
  116. /package/dist/{browser-ponyfill-CLLvZCVg.js → browser-ponyfill-C_DpU0lQ.js} +0 -0
  117. /package/dist/{defineProperty-mefzVtTv.js → defineProperty-CTu-cLWm.js} +0 -0
  118. /package/dist/{errorIcon-DJRZpd8j.js → errorIcon-BA4T6iy-.js} +0 -0
  119. /package/dist/{flip-animation-BGRvygw9.js → flip-animation-st9bra1p.js} +0 -0
  120. /package/dist/{front-horizontal-hint-Uf5bHCsd.js → front-horizontal-hint-DvME-aVk.js} +0 -0
  121. /package/dist/{front-vertical-hint-DdWNA45v.js → front-vertical-hint-BUG1VMsP.js} +0 -0
  122. /package/dist/{frontdevicelottie-CLqitJhG.js → frontdevicelottie-uObOEs8p.js} +0 -0
  123. /package/dist/{glaredevicelottie-BS04U6Fc.js → glaredevicelottie-CsfIgqIc.js} +0 -0
  124. /package/dist/{id-laser-h-DX8UbVNH.js → id-laser-h-BvVSaLyU.js} +0 -0
  125. /package/dist/{id-laser-v-DhnHdjlB.js → id-laser-v-Dj_RN_s9.js} +0 -0
  126. /package/dist/{id-tutorial-lj4iKtYT.js → id-tutorial-BOOsXlAJ.js} +0 -0
  127. /package/dist/{lottie_light-Dp9Bz3mf.js → lottie_light-BG-RL2Iu.js} +0 -0
  128. /package/dist/{modal.hooks-D2xhIuHA.js → modal.hooks-ZrzmHAUa.js} +0 -0
  129. /package/dist/{numberedStep-CEtwZqLp.js → numberedStep-Dc0BUU-j.js} +0 -0
  130. /package/dist/{passport-horizontal-hint-Bbm2mvSn.js → passport-horizontal-hint-BhpVt73n.js} +0 -0
  131. /package/dist/{passport-tutorial-zT1ZoA-D.js → passport-tutorial-CeSup6m9.js} +0 -0
  132. /package/dist/{passport-vertical-hint-DJbCtBiM.js → passport-vertical-hint-CVRBnZXS.js} +0 -0
  133. /package/dist/{registerIncodeElement-77NGCDsy.js → registerIncodeElement-CdlNRRv5.js} +0 -0
  134. /package/dist/{requiredLabelHint-DEadtiwx.js → requiredLabelHint-DX3oVNtu.js} +0 -0
  135. /package/dist/{selfieTutorial-CtruLyO2.js → selfieTutorial-CYa8bq6B.js} +0 -0
  136. /package/dist/{snackbar-CxepGC3e.js → snackbar-CGL6gp9u.js} +0 -0
  137. /package/dist/{successIcon-BAyDPT7I.js → successIcon-B5mGvdx1.js} +0 -0
  138. /package/dist/{tabs-C8npVBbk.js → tabs-DUkWjBGk.js} +0 -0
  139. /package/dist/{typography-YLgHHuao.js → typography-BZIpjo97.js} +0 -0
package/dist/id/id.es.js CHANGED
@@ -1,23 +1,23 @@
1
- import { n as useTranslation } from "../i18n-CoCO2ZuN.js";
1
+ import { n as useTranslation } from "../i18n-DoP1NB7u.js";
2
2
  import { _ as y, c as z, d as T, l as A, o as P, p as d, v as u, x as k } from "../vendor-preact-DThS2ZQ_.js";
3
3
  import { c as useManager, o as useModuleTerminalCallbacks } from "../hooks-Da_yP_Dr.js";
4
- import { t as IncodeComponent } from "../incodeComponent-wfnHlnXx.js";
4
+ import { t as IncodeComponent } from "../incodeComponent-Cmi1rlWs.js";
5
5
  import { n as cn } from "../loadingIcon-B0ysgiNq.js";
6
- import { t as Page } from "../page-DxGQj7Gk.js";
7
- import { a as IdNoAttempts, i as Capture, n as Chooser, o as IdExpired, r as Tutorial, s as IdError, t as FlipAnimation, y as ProgressBar } from "../extensibility-Cs3KQQdC.js";
8
- import { t as Spinner } from "../spinner-D8a_2LvW.js";
9
- import "../spinner-B6RxGFrI.js";
10
- import { t as TransitionSpinner } from "../transitionSpinner-DRRz-NV8.js";
11
- import { t as Processing } from "../processing-BM-wT-1W.js";
12
- import { t as Button } from "../button-CM_hgyIP.js";
13
- import { t as ErrorIcon } from "../errorIcon-DJRZpd8j.js";
14
- import { s as ChevronRightIcon } from "../icons-Dbs9ZfYM.js";
15
- import { t as SuccessIcon } from "../successIcon-BAyDPT7I.js";
16
- import { a as Lottie, o as ErrorContent, r as Permissions } from "../tutorial-D1qaY2Tm.js";
17
- import { t as PdfViewer } from "../pdfViewer-BK-yVIve.js";
18
- import { t as registerIncodeModuleElement } from "../incodeModule-BUDoTwT9.js";
19
- import { t as id_laser_v_default } from "../id-laser-v-DhnHdjlB.js";
20
- import { t as Tabs } from "../tabs-C8npVBbk.js";
6
+ import { t as Page } from "../page-DidH_RkX.js";
7
+ import { a as IdNoAttempts, i as Capture, n as Chooser, o as IdExpired, r as Tutorial, s as IdError, t as FlipAnimation, y as ProgressBar } from "../extensibility-CTmAsaji.js";
8
+ import { t as Spinner } from "../spinner-BRNNKqPN.js";
9
+ import "../spinner-zRaUjXtH.js";
10
+ import { t as TransitionSpinner } from "../transitionSpinner-4rPkt-KM.js";
11
+ import { t as Processing } from "../processing-Boki1Z8j.js";
12
+ import { t as Button } from "../button-Ch5-QgHB.js";
13
+ import { t as ErrorIcon } from "../errorIcon-BA4T6iy-.js";
14
+ import { s as ChevronRightIcon } from "../icons-CJJbIpBq.js";
15
+ import { t as SuccessIcon } from "../successIcon-B5mGvdx1.js";
16
+ import { a as Lottie, o as ErrorContent, r as Permissions } from "../tutorial-Cap8qKvM.js";
17
+ import { t as PdfViewer } from "../pdfViewer-BewML6eg.js";
18
+ import { t as registerIncodeModuleElement } from "../incodeModule-M8DszCee.js";
19
+ import { t as id_laser_v_default } from "../id-laser-v-Dj_RN_s9.js";
20
+ import { t as Tabs } from "../tabs-DUkWjBGk.js";
21
21
  import { createIdCaptureManager } from "@incodetech/core/id";
22
22
  //#region src/shared/fonts/preloadDisplayFont.ts
23
23
  function preloadDisplayFont() {
@@ -907,13 +907,13 @@ var started = false;
907
907
  function preloadIdTutorialAssets() {
908
908
  if (started) return;
909
909
  started = true;
910
- import("../id-tutorial-lj4iKtYT.js");
911
- import("../back-tutorial-vb1MxlrT.js");
912
- import("../passport-tutorial-zT1ZoA-D.js");
910
+ import("../id-tutorial-BOOsXlAJ.js");
911
+ import("../back-tutorial-B8JJSJBB.js");
912
+ import("../passport-tutorial-CeSup6m9.js");
913
913
  }
914
914
  //#endregion
915
915
  //#region src/modules/id/id.tsx
916
- var MandatoryConsent = z(() => import("../mandatoryConsent-r0PQHmv-.js").then((module) => ({ default: module.MandatoryConsent })));
916
+ var MandatoryConsent = z(() => import("../mandatoryConsent-DOQ0DKgM.js").then((module) => ({ default: module.MandatoryConsent })));
917
917
  var IdContent = ({ config, manager: externalManager, onFinish, onError }) => {
918
918
  usePreloadDisplayFont();
919
919
  const { t } = useTranslation();
@@ -1,9 +1,9 @@
1
1
  import { v as u } from "../vendor-preact-DThS2ZQ_.js";
2
2
  import { c as useManager, o as useModuleTerminalCallbacks } from "../hooks-Da_yP_Dr.js";
3
- import { t as IncodeComponent } from "../incodeComponent-wfnHlnXx.js";
4
- import { t as Spinner } from "../spinner-D8a_2LvW.js";
5
- import { t as ExpiredId } from "../expiredId-Q1t6aVpk.js";
6
- import { t as registerIncodeModuleElement } from "../incodeModule-BUDoTwT9.js";
3
+ import { t as IncodeComponent } from "../incodeComponent-Cmi1rlWs.js";
4
+ import { t as Spinner } from "../spinner-BRNNKqPN.js";
5
+ import { t as ExpiredId } from "../expiredId-D17oN5K2.js";
6
+ import { t as registerIncodeModuleElement } from "../incodeModule-M8DszCee.js";
7
7
  import { createIdVerificationManager } from "@incodetech/core/id-verification";
8
8
  //#region src/modules/id-verification/id-verification.tsx
9
9
  var IdVerificationContent = ({ config, onFinish }) => {
@@ -1,16 +1,16 @@
1
- import { n as useTranslation } from "./i18n-CoCO2ZuN.js";
1
+ import { n as useTranslation } from "./i18n-DoP1NB7u.js";
2
2
  import { d as T, v as u } from "./vendor-preact-DThS2ZQ_.js";
3
3
  import { c as useManager, o as useModuleTerminalCallbacks } from "./hooks-Da_yP_Dr.js";
4
- import { t as IncodeComponent } from "./incodeComponent-wfnHlnXx.js";
5
- import { t as Page } from "./page-DxGQj7Gk.js";
6
- import "./extensibility-Cs3KQQdC.js";
7
- import { t as Button } from "./button-CM_hgyIP.js";
8
- import { t as VerificationResult } from "./verificationResult-Do5SpZ6X.js";
9
- import { t as InputComposed } from "./inputComposed-CQ4AsvZg.js";
10
- import { t as RadioGroupComposed } from "./radioGroupComposed-BNuaopVr.js";
11
- import { t as DateInputComposed } from "./dateInputComposed-C_mh4XBg.js";
12
- import { t as registerIncodeModuleElement } from "./incodeModule-BUDoTwT9.js";
13
- import { n as getRequiredHintMode, t as getFieldHint } from "./requiredLabelHint-DEadtiwx.js";
4
+ import { t as IncodeComponent } from "./incodeComponent-Cmi1rlWs.js";
5
+ import { t as Page } from "./page-DidH_RkX.js";
6
+ import "./extensibility-CTmAsaji.js";
7
+ import { t as Button } from "./button-Ch5-QgHB.js";
8
+ import { t as VerificationResult } from "./verificationResult-B6PBXbp9.js";
9
+ import { t as InputComposed } from "./inputComposed-C1R2LAa3.js";
10
+ import { t as RadioGroupComposed } from "./radioGroupComposed-TuAWUAFK.js";
11
+ import { t as DateInputComposed } from "./dateInputComposed-DuaofcBl.js";
12
+ import { t as registerIncodeModuleElement } from "./incodeModule-M8DszCee.js";
13
+ import { n as getRequiredHintMode, t as getFieldHint } from "./requiredLabelHint-DX3oVNtu.js";
14
14
  import { createIdOcrManager, getOcrFields } from "@incodetech/core/id-ocr";
15
15
  //#region src/modules/id-ocr/idOcrForm.tsx
16
16
  var TEXT_FIELD_COMPONENTS = {
@@ -1,11 +1,11 @@
1
- import { n as useTranslation } from "../i18n-CoCO2ZuN.js";
1
+ import { n as useTranslation } from "../i18n-DoP1NB7u.js";
2
2
  import { _ as y, v as u } from "../vendor-preact-DThS2ZQ_.js";
3
3
  import { c as useManager, o as useModuleTerminalCallbacks } from "../hooks-Da_yP_Dr.js";
4
- import { t as IncodeComponent } from "../incodeComponent-wfnHlnXx.js";
5
- import { t as Page } from "../page-DxGQj7Gk.js";
6
- import { t as Spinner } from "../spinner-D8a_2LvW.js";
7
- import { t as Button } from "../button-CM_hgyIP.js";
8
- import { t as registerIncodeModuleElement } from "../incodeModule-BUDoTwT9.js";
4
+ import { t as IncodeComponent } from "../incodeComponent-Cmi1rlWs.js";
5
+ import { t as Page } from "../page-DidH_RkX.js";
6
+ import { t as Spinner } from "../spinner-BRNNKqPN.js";
7
+ import { t as Button } from "../button-Ch5-QgHB.js";
8
+ import { t as registerIncodeModuleElement } from "../incodeModule-M8DszCee.js";
9
9
  import { SCAN_NEW_DOCUMENT, createIdentityReuseManager } from "@incodetech/core/identity-reuse";
10
10
  //#region src/modules/identity-reuse/identity-reuse.tsx
11
11
  /**
@@ -1,4 +1,4 @@
1
- import { n as useTranslation } from "./i18n-CoCO2ZuN.js";
1
+ import { n as useTranslation } from "./i18n-DoP1NB7u.js";
2
2
  import { _ as y, l as A, p as d, r as $, v as u } from "./vendor-preact-DThS2ZQ_.js";
3
3
  import { s as useScreenOrientation } from "./hooks-Da_yP_Dr.js";
4
4
  import { isIPad } from "@incodetech/core/device";
@@ -56,6 +56,7 @@ function IncodeComponent({ children }) {
56
56
  const { isLandscapeMobile } = useScreenOrientation();
57
57
  return /* @__PURE__ */ u("div", {
58
58
  class: "IncodeComponent",
59
+ tabIndex: 0,
59
60
  children: [children, isLandscapeMobile ? /* @__PURE__ */ u(LandscapeBlocker, {}) : null]
60
61
  });
61
62
  }
@@ -1,4 +1,4 @@
1
- import { t as registerIncodeElement } from "./registerIncodeElement-77NGCDsy.js";
1
+ import { t as registerIncodeElement } from "./registerIncodeElement-CdlNRRv5.js";
2
2
  //#region src/shared/webComponent/incodeModule.ts
3
3
  var incodeModulePropKeys = [
4
4
  "config",
package/dist/index.es.js CHANGED
@@ -1,9 +1,9 @@
1
- import { a as createI18n, i as setI18nInstance } from "./i18n-CoCO2ZuN.js";
1
+ import { a as createI18n, i as setI18nInstance } from "./i18n-DoP1NB7u.js";
2
2
  import { t as setUiConfig } from "./uiConfig-D2_wawvr.js";
3
3
  import { DEFAULT_WASM_VERSION } from "@incodetech/core/wasm";
4
4
  import { setup as setup$1 } from "@incodetech/core";
5
5
  //#region src/setup.ts
6
- async function setup({ apiURL, token, customHeaders, timeout, wasm, ipLookup, i18n, uiConfig }) {
6
+ async function setup({ apiURL, token, customHeaders, timeout, wasm, ipLookup, devMode, i18n, uiConfig }) {
7
7
  if (uiConfig) setUiConfig(uiConfig);
8
8
  await setup$1({
9
9
  apiURL,
@@ -11,7 +11,8 @@ async function setup({ apiURL, token, customHeaders, timeout, wasm, ipLookup, i1
11
11
  customHeaders,
12
12
  timeout,
13
13
  wasm,
14
- ipLookup
14
+ ipLookup,
15
+ devMode
15
16
  });
16
17
  setI18nInstance(createI18n(i18n));
17
18
  }
@@ -0,0 +1 @@
1
+ import "./inputComposed-C1R2LAa3.js";
@@ -1,8 +1,8 @@
1
1
  import { a as D, v as u } from "./vendor-preact-DThS2ZQ_.js";
2
2
  import { n as cn } from "./loadingIcon-B0ysgiNq.js";
3
- import { t as ErrorIcon } from "./errorIcon-DJRZpd8j.js";
4
- import { o as CloseIcon } from "./icons-Dbs9ZfYM.js";
5
- import { t as SuccessIcon } from "./successIcon-BAyDPT7I.js";
3
+ import { t as ErrorIcon } from "./errorIcon-BA4T6iy-.js";
4
+ import { o as CloseIcon } from "./icons-CJJbIpBq.js";
5
+ import { t as SuccessIcon } from "./successIcon-B5mGvdx1.js";
6
6
  //#region src/shared/input/input.tsx
7
7
  var Input = D((props, ref) => {
8
8
  const { class: className, type = "text", ...restProps } = props;
@@ -1,13 +1,13 @@
1
- import { n as useTranslation } from "./i18n-CoCO2ZuN.js";
1
+ import { n as useTranslation } from "./i18n-DoP1NB7u.js";
2
2
  import { _ as y, l as A, v as u } from "./vendor-preact-DThS2ZQ_.js";
3
3
  import { a as isTerminalModuleState, c as useManager, o as useModuleTerminalCallbacks } from "./hooks-Da_yP_Dr.js";
4
- import { t as IncodeComponent } from "./incodeComponent-wfnHlnXx.js";
5
- import { t as Page } from "./page-DxGQj7Gk.js";
6
- import { t as TransitionSpinner } from "./transitionSpinner-DRRz-NV8.js";
7
- import { t as Button } from "./button-CM_hgyIP.js";
8
- import { t as Checkbox } from "./checkbox-BoeLHKgp.js";
9
- import { t as registerIncodeModuleElement } from "./incodeModule-BUDoTwT9.js";
10
- import { t as RichText } from "./richText-Cf9aMOCk.js";
4
+ import { t as IncodeComponent } from "./incodeComponent-Cmi1rlWs.js";
5
+ import { t as Page } from "./page-DidH_RkX.js";
6
+ import { t as TransitionSpinner } from "./transitionSpinner-4rPkt-KM.js";
7
+ import { t as Button } from "./button-Ch5-QgHB.js";
8
+ import { t as Checkbox } from "./checkbox-1wUHSoaK.js";
9
+ import { t as registerIncodeModuleElement } from "./incodeModule-M8DszCee.js";
10
+ import { t as RichText } from "./richText-DsTP4H3j.js";
11
11
  import { createMandatoryConsentManager } from "@incodetech/core/mandatory-consent";
12
12
  //#region src/modules/mandatory-consent/mandatoryConsent.tsx
13
13
  var stopLinkPropagation = (event) => {
@@ -21,7 +21,7 @@ var MandatoryConsentContent = ({ config, manager: externalManager, onFinish, onE
21
21
  if (!config) throw new Error("MandatoryConsent config is required when no manager is provided");
22
22
  return createMandatoryConsentManager({ config: {
23
23
  ...config,
24
- language: i18n.language
24
+ language: config.language ?? i18n.language
25
25
  } });
26
26
  }, { manageLifecycle: !externalManager });
27
27
  y(() => {
@@ -1,7 +1,7 @@
1
1
  import { b as Q, d as T, f as _, g as x, h as q, l as A, p as d, r as $, v as u } from "./vendor-preact-DThS2ZQ_.js";
2
2
  import { n as cn } from "./loadingIcon-B0ysgiNq.js";
3
- import { o as CloseIcon } from "./icons-Dbs9ZfYM.js";
4
- import { a as useModalPortalTarget, i as useModalFocusCapture, n as useModalBodyScrollLock, o as useModalTabCycle, r as useModalEscapeDismiss, t as MODAL_TITLE_ID } from "./modal.hooks-D2xhIuHA.js";
3
+ import { o as CloseIcon } from "./icons-CJJbIpBq.js";
4
+ import { a as useModalPortalTarget, i as useModalFocusCapture, n as useModalBodyScrollLock, o as useModalTabCycle, r as useModalEscapeDismiss, t as MODAL_TITLE_ID } from "./modal.hooks-ZrzmHAUa.js";
5
5
  //#region src/shared/modal/modal.tsx
6
6
  var ModalContext = Q(null);
7
7
  function useModalContext() {
@@ -1,9 +1,9 @@
1
- import { n as useTranslation } from "./i18n-CoCO2ZuN.js";
1
+ import { n as useTranslation } from "./i18n-DoP1NB7u.js";
2
2
  import { _ as y, h as q, l as A, p as d, v as u } from "./vendor-preact-DThS2ZQ_.js";
3
3
  import { r as useIsMobileDeviceWidth } from "./hooks-Da_yP_Dr.js";
4
- import { t as InputComposed } from "./inputComposed-CQ4AsvZg.js";
5
- import { i as translateError } from "./radioGroupComposed-BNuaopVr.js";
6
- import { t as BottomSheet } from "./bottomSheet-F1GJfQx_.js";
4
+ import { t as InputComposed } from "./inputComposed-C1R2LAa3.js";
5
+ import { i as translateError } from "./radioGroupComposed-TuAWUAFK.js";
6
+ import { t as BottomSheet } from "./bottomSheet-CnWbbUAM.js";
7
7
  //#region src/shared/addressAutocomplete/addressAutocomplete.tsx
8
8
  var AddressAutocomplete = ({ label, value, error, errorParams, suggestions, readonly, required, labelHint, onChange, onSearch, onSelect, onBlur }) => {
9
9
  const { t } = useTranslation();
@@ -1,9 +1,9 @@
1
- import { n as useTranslation } from "./i18n-CoCO2ZuN.js";
1
+ import { n as useTranslation } from "./i18n-DoP1NB7u.js";
2
2
  import { _ as y, h as q, l as A, v as u } from "./vendor-preact-DThS2ZQ_.js";
3
3
  import { r as Spacer } from "./loadingIcon-B0ysgiNq.js";
4
- import { t as Button } from "./button-CM_hgyIP.js";
5
- import { t as InputComposed } from "./inputComposed-CQ4AsvZg.js";
6
- import "./inputComposed-BEn7_nZd.js";
4
+ import { t as Button } from "./button-Ch5-QgHB.js";
5
+ import { t as InputComposed } from "./inputComposed-C1R2LAa3.js";
6
+ import "./inputComposed-BaY5q9WM.js";
7
7
  //#region src/shared/otpInput/otpInput.tsx
8
8
  var formatTimer = (seconds) => {
9
9
  return `${Math.floor(seconds / 60)}:${(seconds % 60).toString().padStart(2, "0")}`;
@@ -1,5 +1,7 @@
1
- import { v as u } from "./vendor-preact-DThS2ZQ_.js";
1
+ import { _ as y, l as A, v as u, x as k } from "./vendor-preact-DThS2ZQ_.js";
2
2
  import { n as useUiConfig } from "./uiConfig-D2_wawvr.js";
3
+ import { r as Spacer } from "./loadingIcon-B0ysgiNq.js";
4
+ import { t as incode_logo_default } from "./incode-logo-57XFniXU.js";
3
5
  //#region src/shared/page/pageUiConfig.ts
4
6
  function resolveFirst(values) {
5
7
  for (const value of values) if (value !== void 0) return value;
@@ -100,4 +102,70 @@ var VerifiedByIncodeLogo = () => {
100
102
  });
101
103
  };
102
104
  //#endregion
103
- export { usePageUiConfig as n, VerifiedByIncodeLogo as t };
105
+ //#region src/shared/page/page.tsx
106
+ var Page = ({ title, titleId, subtitle, titleTopSlot, className, logo, children, hideHeader, hideFooterBranding, footerBrandingSlot, "data-testid": dataTestId, "data-permission-status": dataPermissionStatus }) => {
107
+ const titleRef = A(null);
108
+ y(() => {
109
+ titleRef.current?.focus();
110
+ }, []);
111
+ const uiConfig = usePageUiConfig({
112
+ hideHeader,
113
+ hideFooterBranding,
114
+ logo,
115
+ defaultLogoSrc: incode_logo_default
116
+ });
117
+ const shouldShowHeader = title || subtitle || titleTopSlot;
118
+ return /* @__PURE__ */ u("div", {
119
+ class: `IncodePageContainer ${className ?? ""}`,
120
+ "data-testid": dataTestId,
121
+ "data-permission-status": dataPermissionStatus,
122
+ children: /* @__PURE__ */ u("main", {
123
+ class: "IncodePageInner",
124
+ children: [
125
+ !uiConfig.hideHeader && /* @__PURE__ */ u("header", {
126
+ class: "IncodePageHeader",
127
+ children: /* @__PURE__ */ u("img", {
128
+ src: uiConfig.logoSrc,
129
+ height: uiConfig.logoHeightPx,
130
+ class: "IncodePageLogo",
131
+ "aria-hidden": "true",
132
+ alt: ""
133
+ })
134
+ }),
135
+ shouldShowHeader ? /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u(Spacer, { size: uiConfig.hideHeader ? 40 : 24 }), /* @__PURE__ */ u("div", {
136
+ class: "IncodePageTitleContainer",
137
+ children: [
138
+ titleTopSlot ? /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u("div", {
139
+ class: "IncodePageTitleTopSlot",
140
+ children: titleTopSlot
141
+ }), /* @__PURE__ */ u(Spacer, { size: 12 })] }) : null,
142
+ title ? /* @__PURE__ */ u("h2", {
143
+ ref: titleRef,
144
+ id: titleId,
145
+ class: "IncodePageTitle",
146
+ tabIndex: -1,
147
+ children: title
148
+ }) : null,
149
+ subtitle ? /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u(Spacer, { size: 12 }), /* @__PURE__ */ u("p", {
150
+ class: "IncodePageSubtitle",
151
+ children: subtitle
152
+ })] }) : null
153
+ ]
154
+ })] }) : null,
155
+ /* @__PURE__ */ u("div", {
156
+ class: "IncodePageContent",
157
+ children
158
+ }),
159
+ !uiConfig.hideFooterBranding ? /* @__PURE__ */ u("div", {
160
+ class: "IncodePageFooter",
161
+ children: /* @__PURE__ */ u("div", {
162
+ class: "IncodePageFooterInner",
163
+ children: footerBrandingSlot ?? /* @__PURE__ */ u(VerifiedByIncodeLogo, {})
164
+ })
165
+ }) : null
166
+ ]
167
+ })
168
+ });
169
+ };
170
+ //#endregion
171
+ export { VerifiedByIncodeLogo as n, usePageUiConfig as r, Page as t };
@@ -1,4 +1,4 @@
1
- import { t as _defineProperty } from "./defineProperty-mefzVtTv.js";
1
+ import { t as _defineProperty } from "./defineProperty-CTu-cLWm.js";
2
2
  //#region \0@oxc-project+runtime@0.122.0/helpers/assertClassBrand.js
3
3
  function _assertClassBrand(e, t, n) {
4
4
  if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n;