@incodetech/web 2.2.0-rc.0 → 2.2.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 (130) hide show
  1. package/dist/ae-signature/ae-signature.es.js +3 -3
  2. package/dist/antifraud/antifraud.es.js +3 -3
  3. package/dist/authentication/authentication.es.js +4 -4
  4. package/dist/{autoFocusTitle-gLba2mgp.js → autoFocusTitle-Edt8-trP.js} +1 -1
  5. package/dist/certificate-issuance/certificate-issuance.es.js +9 -9
  6. package/dist/{checkbox-C38Elx0O.js → checkbox-gbHumlEi.js} +3 -3
  7. package/dist/{connectionError-DAeXp8sE.js → connectionError-CvH1vnCt.js} +3 -3
  8. package/dist/consent/consent.es.js +7 -7
  9. package/dist/{countrySelector-2t-ZTgGo.js → countrySelector-DzLvpCfs.js} +2 -2
  10. package/dist/cross-document-data-match/cross-document-data-match.es.js +3 -3
  11. package/dist/curp-validation/curp-validation.es.js +14 -14
  12. package/dist/{customFields-B8HQZ7Mh.js → customFields-DiOcfhlB.js} +9 -9
  13. package/dist/{customWatchlist-_tUmZ855.js → customWatchlist-CC9ZN7fk.js} +5 -5
  14. package/dist/{dashboardTheme-CVliZSR-.js → dashboardTheme-FtPiizV0.js} +2 -2
  15. package/dist/{dateInputComposed-eRcbt_SL.js → dateInputComposed-3jXySs6M.js} +4 -4
  16. package/dist/dateInputComposed-BMauTxWJ.js +1 -0
  17. package/dist/document-capture/document-capture.es.js +1 -1
  18. package/dist/documentCapture-CcnnR36G.js +2 -0
  19. package/dist/{documentCapture-BvEGCYj-.js → documentCapture-Dc9Q2wYc.js} +14 -14
  20. package/dist/{dropdownComposed-OHDHzt1Q.js → dropdownComposed-Bk8viDop.js} +3 -3
  21. package/dist/dropdownComposed-DLaj01jA.js +1 -0
  22. package/dist/{dynamicForms-P-4E42IA.js → dynamicForms-BZB8JDkM.js} +10 -10
  23. package/dist/ekyb/ekyb.es.js +1 -1
  24. package/dist/{ekybModule-DmjkzVWE.js → ekybModule-C9UhcxKV.js} +13 -13
  25. package/dist/ekybModule-QcD4hQFD.js +2 -0
  26. package/dist/ekyc/ekyc.es.js +1 -1
  27. package/dist/{ekycModule-Da1Fm7ai.js → ekycModule-Cp7kPhFr.js} +11 -11
  28. package/dist/ekycModule-DqX1bTFN.js +2 -0
  29. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  30. package/dist/{electronic-signature-yamI6zHM.js → electronic-signature-DGL6y3os.js} +9 -9
  31. package/dist/email/email.es.js +7 -7
  32. package/dist/{emailInput-B0P2Q-pk.js → emailInput-Du_BH960.js} +3 -3
  33. package/dist/{expiredId-BXXE3srN.js → expiredId-Cf7_dJQE.js} +5 -5
  34. package/dist/{extensibility-iJYzpW6H.js → extensibility-CFhCNmsm.js} +23 -24
  35. package/dist/extensibility.es.js +21 -21
  36. package/dist/face-match/face-match.es.js +1 -1
  37. package/dist/{faceMatch-VtEZvsen.js → faceMatch-BOJD6ZCq.js} +7 -7
  38. package/dist/faceMatch-Dhm-H0Pg.js +2 -0
  39. package/dist/field-comparison/field-comparison.es.js +1 -1
  40. package/dist/{fieldComparison-NLdDSOEh.js → fieldComparison-D_cMCcwa.js} +8 -8
  41. package/dist/fieldComparison-Fnup635x.js +2 -0
  42. package/dist/{finalSuccessScreen-DryADx1n.js → finalSuccessScreen-DL08U8_o.js} +9 -9
  43. package/dist/fiscal-qr/fiscal-qr.es.js +8 -8
  44. package/dist/flow/flow.es.js +15 -15
  45. package/dist/geolocation/geolocation.es.js +7 -7
  46. package/dist/government-validation/government-validation.es.js +8 -8
  47. package/dist/{homeScreen-Pv3v_0ji.js → homeScreen-D2XpU5z_.js} +6 -6
  48. package/dist/{icons--ezYG2Fb.js → icons-CIjsoS44.js} +1 -1
  49. package/dist/id/id.es.js +19 -20
  50. package/dist/id-selfie-flow/id-selfie-flow.es.js +8 -9
  51. package/dist/id-verification/id-verification.es.js +4 -4
  52. package/dist/{idOcr-gsIXHq6R.js → idOcr-DkmZyLVu.js} +9 -9
  53. package/dist/identity-reuse/identity-reuse.es.js +5 -5
  54. package/dist/{incode-logo-rGFjZHqi.js → incode-logo-DkPbEPiI.js} +1 -1
  55. package/dist/{incodeComponent-K9ZWg302.js → incodeComponent-B6hBTDEE.js} +59 -14
  56. package/dist/{incodeModule-CcLzar_X.js → incodeModule-CCI32xbn.js} +9 -3
  57. package/dist/index.es.js +2 -2
  58. package/dist/{inputComposed-BeROn635.js → inputComposed-CGB8zKbd.js} +3 -3
  59. package/dist/inputComposed-DDFdXKT3.js +1 -0
  60. package/dist/{mandatoryConsent-BtqB-FxY.js → mandatoryConsent-L7Tpj3tg.js} +7 -7
  61. package/dist/{manualCaptureButton-t_oIol88.js → manualCaptureButton-B3ZD52_f.js} +4 -4
  62. package/dist/{manualCaptureButton-quGa2ufS.js → manualCaptureButton-ByWujoAK.js} +9 -11
  63. package/dist/{modal-BjjJFpZu.js → modal-9-lPt5Hj.js} +2 -2
  64. package/dist/{optionAccessibleLabel-DgfHD_mx.js → optionAccessibleLabel-Cc91L4JK.js} +4 -4
  65. package/dist/{otpInput-D5dLXrmC.js → otpInput-BWiL_nBW.js} +5 -5
  66. package/dist/{pdfViewer-vud1VZv6.js → pdfViewer-BbRv7mHX.js} +2 -2
  67. package/dist/pdfViewer-DHgpC35P.js +2 -0
  68. package/dist/phone/phone.es.js +8 -8
  69. package/dist/{phoneInputComposed-CeVWTS_O.js → phoneInputComposed-Bvy15RAe.js} +4 -4
  70. package/dist/{processing-BsvHyDWa.js → processing-DN0NyNqR.js} +1 -1
  71. package/dist/qe-signature/qe-signature.es.js +3 -3
  72. package/dist/{radioGroupComposed-DzNGUbZQ.js → radioGroupComposed-CPFZJOtR.js} +5 -5
  73. package/dist/redirect-to-mobile/redirect-to-mobile.es.js +12 -12
  74. package/dist/{richText-CTHBpZOw.js → richText-DnGJiTPl.js} +1 -1
  75. package/dist/selfie/selfie.es.js +7 -7
  76. package/dist/signature/signature.es.js +7 -7
  77. package/dist/{snackbar-C9Mqrh0e.js → snackbar-zbTKBgCx.js} +1 -1
  78. package/dist/{spacer-CDlQd12V.js → spacer-C6GdxqM-.js} +2 -2
  79. package/dist/{spinner-CLZ2fz4u.js → spinner-CaEPC8gQ.js} +4 -4
  80. package/dist/{statusPage--GVFSUJp.js → statusPage-C-2V2g63.js} +3 -3
  81. package/dist/{tabs-DweBZTV2.js → tabs-BjLPiKhZ.js} +1 -1
  82. package/dist/{tutorial-BZZC93Ur.js → tutorial-B1F5C8Si.js} +9 -9
  83. package/dist/types/ae-signature.d.ts +28 -2
  84. package/dist/types/antifraud.d.ts +28 -2
  85. package/dist/types/authentication.d.ts +28 -2
  86. package/dist/types/certificate-issuance.d.ts +28 -2
  87. package/dist/types/consent.d.ts +28 -2
  88. package/dist/types/cross-document-data-match.d.ts +28 -2
  89. package/dist/types/curp-validation.d.ts +28 -2
  90. package/dist/types/document-capture.d.ts +28 -2
  91. package/dist/types/ekyb.d.ts +28 -2
  92. package/dist/types/ekyc.d.ts +28 -2
  93. package/dist/types/electronic-signature.d.ts +28 -2
  94. package/dist/types/email.d.ts +28 -2
  95. package/dist/types/extensibility.d.ts +58 -2
  96. package/dist/types/face-match.d.ts +28 -2
  97. package/dist/types/field-comparison.d.ts +28 -2
  98. package/dist/types/fiscal-qr.d.ts +28 -2
  99. package/dist/types/flow.d.ts +43 -3
  100. package/dist/types/geolocation.d.ts +28 -2
  101. package/dist/types/government-validation.d.ts +28 -2
  102. package/dist/types/id-selfie-flow.d.ts +28 -2
  103. package/dist/types/id-verification.d.ts +28 -2
  104. package/dist/types/id.d.ts +28 -2
  105. package/dist/types/identity-reuse.d.ts +28 -2
  106. package/dist/types/index.d.ts +49 -0
  107. package/dist/types/phone.d.ts +28 -2
  108. package/dist/types/qe-signature.d.ts +28 -2
  109. package/dist/types/selfie.d.ts +28 -2
  110. package/dist/types/signature.d.ts +28 -2
  111. package/dist/types/video-selfie.d.ts +28 -2
  112. package/dist/types/watchlist.d.ts +28 -2
  113. package/dist/types/workflow.d.ts +44 -3
  114. package/dist/{uiConfig-B5ASPUL4.js → uiConfig-D7ezQeZ7.js} +42 -5
  115. package/dist/{useModuleLoader-D_YpuVsS.js → useModuleLoader-DVvqx4RT.js} +18 -18
  116. package/dist/{verificationResult-B8HwR07t.js → verificationResult-tgNeUuHO.js} +7 -7
  117. package/dist/video-selfie/video-selfie.es.js +14 -15
  118. package/dist/watchlist/watchlist.es.js +5 -5
  119. package/dist/{watchlistForBusiness-D8Is99bZ.js → watchlistForBusiness-3bO7BVcy.js} +8 -8
  120. package/dist/workflow/workflow.es.js +12 -12
  121. package/package.json +2 -2
  122. package/dist/dateInputComposed-ks0-opuq.js +0 -1
  123. package/dist/documentCapture-DdHdRPzR.js +0 -2
  124. package/dist/dropdownComposed-kjG4UblM.js +0 -1
  125. package/dist/ekybModule-CiaxFHXo.js +0 -2
  126. package/dist/ekycModule-BVt10kgv.js +0 -2
  127. package/dist/faceMatch-D4XFihTc.js +0 -2
  128. package/dist/fieldComparison-B_r9Bal7.js +0 -2
  129. package/dist/inputComposed-CADVQW-o.js +0 -1
  130. package/dist/pdfViewer-CZb6obcZ.js +0 -2
@@ -0,0 +1,2 @@
1
+ import { t as PdfViewer } from "./pdfViewer-BbRv7mHX.js";
2
+ export { PdfViewer };
@@ -1,12 +1,12 @@
1
- import { i as useTranslation } from "../uiConfig-B5ASPUL4.js";
1
+ import { a as useTranslation } from "../uiConfig-D7ezQeZ7.js";
2
2
  import { h as q, v as u } from "../vendor-preact-mvwZ8mJj.js";
3
- import { _ as useModuleTerminalCallbacks, g as isTerminalModuleState, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, y as useManager } from "../incodeComponent-K9ZWg302.js";
4
- import { t as Spacer } from "../spacer-CDlQd12V.js";
5
- import { r as Button } from "../incode-logo-rGFjZHqi.js";
6
- import { t as OtpInput } from "../otpInput-D5dLXrmC.js";
7
- import { t as Checkbox } from "../checkbox-C38Elx0O.js";
8
- import { t as PhoneInputComposed } from "../phoneInputComposed-CeVWTS_O.js";
9
- import { t as registerIncodeModuleElement } from "../incodeModule-CcLzar_X.js";
3
+ import { _ as useModuleTerminalCallbacks, g as isTerminalModuleState, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, y as useManager } from "../incodeComponent-B6hBTDEE.js";
4
+ import { t as Spacer } from "../spacer-C6GdxqM-.js";
5
+ import { r as Button } from "../incode-logo-DkPbEPiI.js";
6
+ import { t as OtpInput } from "../otpInput-BWiL_nBW.js";
7
+ import { t as Checkbox } from "../checkbox-gbHumlEi.js";
8
+ import { t as PhoneInputComposed } from "../phoneInputComposed-Bvy15RAe.js";
9
+ import { t as registerIncodeModuleElement } from "../incodeModule-CCI32xbn.js";
10
10
  import { createPhoneManager } from "@incodetech/core/phone";
11
11
  //#region src/modules/phone/phone.tsx
12
12
  /**
@@ -1,9 +1,9 @@
1
1
  import { S as k, _ as y, a as D, d as T, h as q, l as A, p as d, v as u } from "./vendor-preact-mvwZ8mJj.js";
2
- import { n as ErrorIcon } from "./incode-logo-rGFjZHqi.js";
3
- import "./icons--ezYG2Fb.js";
2
+ import { n as ErrorIcon } from "./incode-logo-DkPbEPiI.js";
3
+ import "./icons-CIjsoS44.js";
4
4
  import { t as SuccessIcon } from "./successIcon-Bj8Y9CuI.js";
5
- import { t as InputComposed } from "./inputComposed-BeROn635.js";
6
- import { t as DropdownComposed } from "./dropdownComposed-OHDHzt1Q.js";
5
+ import { t as InputComposed } from "./inputComposed-CGB8zKbd.js";
6
+ import { t as DropdownComposed } from "./dropdownComposed-Bk8viDop.js";
7
7
  //#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/metadata.min.json.js
8
8
  var metadata_min_json_default = {
9
9
  "version": 4,
@@ -1,5 +1,5 @@
1
1
  import { v as u } from "./vendor-preact-mvwZ8mJj.js";
2
- import { l as TransitionSpinner } from "./incodeComponent-K9ZWg302.js";
2
+ import { l as TransitionSpinner } from "./incodeComponent-B6hBTDEE.js";
3
3
  //#region src/shared/processing/processing.tsx
4
4
  var Processing = () => {
5
5
  return /* @__PURE__ */ u(TransitionSpinner, {});
@@ -1,7 +1,7 @@
1
1
  import { v as u } from "../vendor-preact-mvwZ8mJj.js";
2
- import { r as withStandaloneModuleBootstrap } from "../incodeComponent-K9ZWg302.js";
3
- import { n as ElectronicSignature } from "../electronic-signature-yamI6zHM.js";
4
- import { t as registerIncodeModuleElement } from "../incodeModule-CcLzar_X.js";
2
+ import { r as withStandaloneModuleBootstrap } from "../incodeComponent-B6hBTDEE.js";
3
+ import { n as ElectronicSignature } from "../electronic-signature-DGL6y3os.js";
4
+ import { t as registerIncodeModuleElement } from "../incodeModule-CCI32xbn.js";
5
5
  //#region src/modules/qe-signature/qe-signature.tsx
6
6
  var QeSignatureWithLocalConfig = ({ config, manager, onFinish, onError }) => {
7
7
  return /* @__PURE__ */ u(ElectronicSignature, {
@@ -1,9 +1,9 @@
1
- import { i as useTranslation } from "./uiConfig-B5ASPUL4.js";
1
+ import { a as useTranslation } from "./uiConfig-D7ezQeZ7.js";
2
2
  import { a as D, p as d, v as u } from "./vendor-preact-mvwZ8mJj.js";
3
- import { u as cn } from "./spacer-CDlQd12V.js";
4
- import { n as ErrorIcon } from "./incode-logo-rGFjZHqi.js";
5
- import "./icons--ezYG2Fb.js";
6
- import { t as InputComposed } from "./inputComposed-BeROn635.js";
3
+ import { d as cn } from "./spacer-C6GdxqM-.js";
4
+ import { n as ErrorIcon } from "./incode-logo-DkPbEPiI.js";
5
+ import "./icons-CIjsoS44.js";
6
+ import { t as InputComposed } from "./inputComposed-CGB8zKbd.js";
7
7
  //#region src/shared/errorParams.ts
8
8
  /**
9
9
  * Resolves error params by translating the `fieldName` key
@@ -1,18 +1,18 @@
1
1
  import { t as __commonJSMin } from "../rolldown-runtime--E5BIlTp.js";
2
- import { i as useTranslation, r as Trans } from "../uiConfig-B5ASPUL4.js";
2
+ import { a as useTranslation, i as Trans } from "../uiConfig-D7ezQeZ7.js";
3
3
  import { S as k, _ as y, h as q, l as A, m as g, p as d, v as u } from "../vendor-preact-mvwZ8mJj.js";
4
- import { _ as useModuleTerminalCallbacks, c as usePageUiConfig, l as TransitionSpinner, r as withStandaloneModuleBootstrap, s as VerifiedByIncodeLogo, t as IncodeComponent, y as useManager } from "../incodeComponent-K9ZWg302.js";
5
- import { t as Spacer } from "../spacer-CDlQd12V.js";
6
- import { n as ErrorIcon, r as Button, t as incode_logo_default } from "../incode-logo-rGFjZHqi.js";
7
- import "../extensibility-iJYzpW6H.js";
8
- import "../icons--ezYG2Fb.js";
4
+ import { _ as useModuleTerminalCallbacks, c as usePageUiConfig, l as TransitionSpinner, r as withStandaloneModuleBootstrap, s as VerifiedByIncodeLogo, t as IncodeComponent, y as useManager } from "../incodeComponent-B6hBTDEE.js";
5
+ import { t as Spacer } from "../spacer-C6GdxqM-.js";
6
+ import { n as ErrorIcon, r as Button, t as incode_logo_default } from "../incode-logo-DkPbEPiI.js";
7
+ import "../extensibility-CFhCNmsm.js";
8
+ import "../icons-CIjsoS44.js";
9
9
  import { t as SuccessIcon } from "../successIcon-Bj8Y9CuI.js";
10
- import { t as AutoFocusTitle } from "../autoFocusTitle-gLba2mgp.js";
11
- import { n as formatResendTimer, r as useResendTimerAnnouncements } from "../otpInput-D5dLXrmC.js";
12
- import { r as getCountryByCallingCode, t as PhoneInputComposed } from "../phoneInputComposed-CeVWTS_O.js";
10
+ import { t as AutoFocusTitle } from "../autoFocusTitle-Edt8-trP.js";
11
+ import { n as formatResendTimer, r as useResendTimerAnnouncements } from "../otpInput-BWiL_nBW.js";
12
+ import { r as getCountryByCallingCode, t as PhoneInputComposed } from "../phoneInputComposed-Bvy15RAe.js";
13
13
  import { t as registerIncodeElement } from "../registerIncodeElement-BduCekz5.js";
14
- import { t as Snackbar } from "../snackbar-C9Mqrh0e.js";
15
- import { t as Tabs } from "../tabs-DweBZTV2.js";
14
+ import { t as Snackbar } from "../snackbar-zbTKBgCx.js";
15
+ import { t as Tabs } from "../tabs-BjLPiKhZ.js";
16
16
  import { createRedirectToMobileManager } from "@incodetech/core/redirect-to-mobile";
17
17
  //#region src/modules/redirect-to-mobile/redirectHeader.tsx
18
18
  var RedirectHeader = ({ logoSrc }) => {
@@ -2820,7 +2820,7 @@ var RedirectToMobileContent = ({ config, manager: externalManager, services, onF
2820
2820
  }
2821
2821
  }, [state.status, onContinue]);
2822
2822
  const content = (() => {
2823
- if (state.status === "idle" || state.status === "loading") return /* @__PURE__ */ u(TransitionSpinner, { hideText: true });
2823
+ if (state.status === "idle" || state.status === "loading") return /* @__PURE__ */ u(TransitionSpinner, { renderMode: "spinnerOnly" });
2824
2824
  if (state.status === "redirecting") return /* @__PURE__ */ u(QrScreen, {
2825
2825
  redirectUrl: state.redirectUrl,
2826
2826
  phonePrefix: state.phonePrefix,
@@ -1,5 +1,5 @@
1
1
  import { t as preact_markup_module_default, v as u } from "./vendor-preact-mvwZ8mJj.js";
2
- import { l as purify } from "./spacer-CDlQd12V.js";
2
+ import { u as purify } from "./spacer-C6GdxqM-.js";
3
3
  import { t as _defineProperty } from "./defineProperty-BbpBna-2.js";
4
4
  //#region ../../node_modules/.pnpm/marked@17.0.5/node_modules/marked/lib/marked.esm.js
5
5
  var _Class;
@@ -1,10 +1,10 @@
1
1
  import { _ as y, v as u } from "../vendor-preact-mvwZ8mJj.js";
2
- import { _ as useModuleTerminalCallbacks, g as isTerminalModuleState, l as TransitionSpinner, r as withStandaloneModuleBootstrap, t as IncodeComponent, y as useManager } from "../incodeComponent-K9ZWg302.js";
3
- import { i as preloadAnimations } from "../spacer-CDlQd12V.js";
4
- import { t as Processing } from "../processing-BsvHyDWa.js";
5
- import { n as Capture, t as Tutorial } from "../tutorial-BZZC93Ur.js";
6
- import { n as Permissions } from "../manualCaptureButton-quGa2ufS.js";
7
- import { t as registerIncodeModuleElement } from "../incodeModule-CcLzar_X.js";
2
+ import { _ as useModuleTerminalCallbacks, g as isTerminalModuleState, l as TransitionSpinner, r as withStandaloneModuleBootstrap, t as IncodeComponent, y as useManager } from "../incodeComponent-B6hBTDEE.js";
3
+ import { i as preloadAnimations } from "../spacer-C6GdxqM-.js";
4
+ import { t as Processing } from "../processing-DN0NyNqR.js";
5
+ import { n as Capture, t as Tutorial } from "../tutorial-B1F5C8Si.js";
6
+ import { n as Permissions } from "../manualCaptureButton-ByWujoAK.js";
7
+ import { t as registerIncodeModuleElement } from "../incodeModule-CCI32xbn.js";
8
8
  import { createSelfieManager } from "@incodetech/core/selfie";
9
9
  //#region src/modules/selfie/preloadTutorialAssets.ts
10
10
  var started = false;
@@ -30,7 +30,7 @@ var SelfieContent = ({ config, manager: externalManager, onFinish, onError }) =>
30
30
  onError,
31
31
  error: state.status === "error" ? state.error : void 0
32
32
  });
33
- if (state.status === "idle" || state.status === "loading") return /* @__PURE__ */ u(TransitionSpinner, { hideText: true });
33
+ if (state.status === "idle" || state.status === "loading") return /* @__PURE__ */ u(TransitionSpinner, { renderMode: "spinnerOnly" });
34
34
  if (state.status === "tutorial") return /* @__PURE__ */ u(Tutorial, {
35
35
  manager,
36
36
  ageAssurance: state.ageAssurance
@@ -1,11 +1,11 @@
1
- import { i as useTranslation } from "../uiConfig-B5ASPUL4.js";
1
+ import { a as useTranslation } from "../uiConfig-D7ezQeZ7.js";
2
2
  import { _ as y, a as D, h as q, l as A, p as d, u as F, v as u } from "../vendor-preact-mvwZ8mJj.js";
3
- import { _ as useModuleTerminalCallbacks, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, y as useManager } from "../incodeComponent-K9ZWg302.js";
4
- import { t as Spacer } from "../spacer-CDlQd12V.js";
5
- import { r as Button } from "../incode-logo-rGFjZHqi.js";
6
- import "../extensibility-iJYzpW6H.js";
7
- import { t as VerificationResult } from "../verificationResult-B8HwR07t.js";
8
- import { t as registerIncodeModuleElement } from "../incodeModule-CcLzar_X.js";
3
+ import { _ as useModuleTerminalCallbacks, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, y as useManager } from "../incodeComponent-B6hBTDEE.js";
4
+ import { t as Spacer } from "../spacer-C6GdxqM-.js";
5
+ import { r as Button } from "../incode-logo-DkPbEPiI.js";
6
+ import "../extensibility-CFhCNmsm.js";
7
+ import { t as VerificationResult } from "../verificationResult-tgNeUuHO.js";
8
+ import { t as registerIncodeModuleElement } from "../incodeModule-CCI32xbn.js";
9
9
  import { t as _defineProperty } from "../defineProperty-BbpBna-2.js";
10
10
  import { createSignatureManager } from "@incodetech/core/signature";
11
11
  //#region ../../node_modules/.pnpm/signature_pad@5.1.3/node_modules/signature_pad/dist/signature_pad.js
@@ -1,5 +1,5 @@
1
1
  import { v as u } from "./vendor-preact-mvwZ8mJj.js";
2
- import { u as cn } from "./spacer-CDlQd12V.js";
2
+ import { d as cn } from "./spacer-C6GdxqM-.js";
3
3
  //#region src/shared/snackbar/snackbar.tsx
4
4
  var Snackbar = ({ variant = "neutral", children, className, ariaLive = "polite" }) => {
5
5
  return /* @__PURE__ */ u("div", {
@@ -1,5 +1,5 @@
1
1
  import { r as __toESM } from "./rolldown-runtime--E5BIlTp.js";
2
- import { i as useTranslation, n as useUiConfig } from "./uiConfig-B5ASPUL4.js";
2
+ import { a as useTranslation, r as useUiConfig } from "./uiConfig-D7ezQeZ7.js";
3
3
  import { _ as y, b as Q, d as T, f as _, g as x, h as q, l as A, p as d, v as u } from "./vendor-preact-mvwZ8mJj.js";
4
4
  //#region src/styles/cn.tsx
5
5
  var cn = (...classes) => {
@@ -2341,4 +2341,4 @@ var Spacer = ({ size, className, direction = "vertical" }) => {
2341
2341
  return /* @__PURE__ */ u("div", { class: `${className || ""}` });
2342
2342
  };
2343
2343
  //#endregion
2344
- export { useAnimationData as a, InstanceOverridesProvider as c, preloadAnimations as i, purify$1 as l, LoadingIcon as n, Lottie as o, AnimatedAsset as r, Asset as s, Spacer as t, cn as u };
2344
+ export { useAnimationData as a, InstanceOverridesProvider as c, cn as d, preloadAnimations as i, useInstanceOverrides as l, LoadingIcon as n, Lottie as o, AnimatedAsset as r, Asset as s, Spacer as t, purify$1 as u };
@@ -1,5 +1,5 @@
1
1
  import { S as k, _ as y, a as D, l as A, v as u } from "./vendor-preact-mvwZ8mJj.js";
2
- import { n as LoadingIcon, t as Spacer, u as cn } from "./spacer-CDlQd12V.js";
2
+ import { d as cn, n as LoadingIcon, t as Spacer } from "./spacer-C6GdxqM-.js";
3
3
  //#region src/shared/typography/typography.tsx
4
4
  var Title = D(({ children, className, ...rest }, ref) => {
5
5
  return /* @__PURE__ */ u("h2", {
@@ -48,7 +48,7 @@ var sizeMap = {
48
48
  medium: 48,
49
49
  large: 64
50
50
  };
51
- var Spinner = ({ title, subtitle, ariaLabel, size = "medium", fullScreen = true, className, presentational = false }) => {
51
+ var Spinner = ({ title, subtitle, ariaLabel, size = "medium", fullScreen = true, className, presentational = false, hideIcon = false }) => {
52
52
  const iconSize = sizeMap[size];
53
53
  const titleRef = A(null);
54
54
  const containerRef = A(null);
@@ -63,7 +63,7 @@ var Spinner = ({ title, subtitle, ariaLabel, size = "medium", fullScreen = true,
63
63
  ]);
64
64
  return /* @__PURE__ */ u("div", {
65
65
  ref: containerRef,
66
- class: cn("IncodeSpinner", fullScreen && "IncodeSpinnerFullScreen", className),
66
+ class: cn("IncodeSpinner", fullScreen && "IncodeSpinnerFullScreen", hideIcon && "IncodeSpinnerTextOnly", className),
67
67
  "data-testid": "spinner",
68
68
  "data-title": title,
69
69
  "data-subtitle": subtitle,
@@ -76,7 +76,7 @@ var Spinner = ({ title, subtitle, ariaLabel, size = "medium", fullScreen = true,
76
76
  children: /* @__PURE__ */ u("div", {
77
77
  class: "IncodeSpinnerContent",
78
78
  "aria-hidden": ariaLabel ? true : void 0,
79
- children: [/* @__PURE__ */ u(LoadingIcon, { size: iconSize }), (title || subtitle) && /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u(Spacer, { size: 16 }), /* @__PURE__ */ u("div", {
79
+ children: [!hideIcon && /* @__PURE__ */ u(LoadingIcon, { size: iconSize }), (title || subtitle) && /* @__PURE__ */ u(k, { children: [!hideIcon && /* @__PURE__ */ u(Spacer, { size: 16 }), /* @__PURE__ */ u("div", {
80
80
  class: "IncodeSpinnerText",
81
81
  children: [title && /* @__PURE__ */ u(Title, {
82
82
  ref: titleRef,
@@ -1,7 +1,7 @@
1
1
  import { m as g, v as u } from "./vendor-preact-mvwZ8mJj.js";
2
- import { o as Page } from "./incodeComponent-K9ZWg302.js";
3
- import { t as Spacer } from "./spacer-CDlQd12V.js";
4
- import { t as AutoFocusTitle } from "./autoFocusTitle-gLba2mgp.js";
2
+ import { o as Page } from "./incodeComponent-B6hBTDEE.js";
3
+ import { t as Spacer } from "./spacer-C6GdxqM-.js";
4
+ import { t as AutoFocusTitle } from "./autoFocusTitle-Edt8-trP.js";
5
5
  //#region src/shared/statusPage/statusPage.tsx
6
6
  var StatusPage = ({ variant, icon, title, subtitle, hideFooterBranding, actions, isLive }) => {
7
7
  const subtitleId = `${g()}-subtitle`;
@@ -1,5 +1,5 @@
1
1
  import { b as Q, g as x, m as g, p as d, v as u } from "./vendor-preact-mvwZ8mJj.js";
2
- import { u as cn } from "./spacer-CDlQd12V.js";
2
+ import { d as cn } from "./spacer-C6GdxqM-.js";
3
3
  //#region src/shared/tabs/tabs.tsx
4
4
  var TabsContext = Q(null);
5
5
  var useTabsContext = () => {
@@ -1,13 +1,13 @@
1
- import { i as useTranslation } from "./uiConfig-B5ASPUL4.js";
1
+ import { a as useTranslation } from "./uiConfig-D7ezQeZ7.js";
2
2
  import { S as k, _ as y, d as T, h as q, l as A, m as g, p as d, v as u } from "./vendor-preact-mvwZ8mJj.js";
3
- import { l as TransitionSpinner, o as Page } from "./incodeComponent-K9ZWg302.js";
4
- import { a as useAnimationData, n as LoadingIcon, o as Lottie, t as Spacer, u as cn } from "./spacer-CDlQd12V.js";
5
- import { n as Title } from "./spinner-CLZ2fz4u.js";
6
- import { n as ErrorIcon, r as Button } from "./incode-logo-rGFjZHqi.js";
7
- import { v as WarningIcon } from "./icons--ezYG2Fb.js";
3
+ import { l as TransitionSpinner, o as Page } from "./incodeComponent-B6hBTDEE.js";
4
+ import { a as useAnimationData, d as cn, n as LoadingIcon, o as Lottie, t as Spacer } from "./spacer-C6GdxqM-.js";
5
+ import { n as Title } from "./spinner-CaEPC8gQ.js";
6
+ import { n as ErrorIcon, r as Button } from "./incode-logo-DkPbEPiI.js";
7
+ import { v as WarningIcon } from "./icons-CIjsoS44.js";
8
8
  import { t as SuccessIcon } from "./successIcon-Bj8Y9CuI.js";
9
- import { t as Modal } from "./modal-BjjJFpZu.js";
10
- import { t as ManualCaptureButton } from "./manualCaptureButton-quGa2ufS.js";
9
+ import { t as Modal } from "./modal-9-lPt5Hj.js";
10
+ import { t as ManualCaptureButton } from "./manualCaptureButton-ByWujoAK.js";
11
11
  //#region src/shared/errorContent/errorContent.tsx
12
12
  var ErrorContent = ({ title, description, attemptsRemaining, onButtonClick, "data-testid": testId }) => {
13
13
  const { t } = useTranslation();
@@ -603,7 +603,7 @@ var Capture = ({ manager, state }) => {
603
603
  y(() => {
604
604
  if (detectionStatus === "manualCapture") manualCaptureRef.current?.focus();
605
605
  }, [detectionStatus]);
606
- if (captureStatus === "initializing") return /* @__PURE__ */ u(TransitionSpinner, { spinnerConfig: { subtitle: t("loadingCircle.preparingCamera") } });
606
+ if (captureStatus === "initializing") return /* @__PURE__ */ u(TransitionSpinner, { subtitleKey: "loadingCircle.preparingCamera" });
607
607
  if (captureStatus === "detecting") {
608
608
  if (detectionStatus === "offline") return /* @__PURE__ */ u(Page, { title: "No internet connection" });
609
609
  const getBorderState = () => {
@@ -117,15 +117,17 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
117
117
  };
118
118
 
119
119
  /**
120
- * Per-instance asset/animation overrides for a single mounted SDK module.
120
+ * Per-instance overrides for a single mounted SDK module.
121
121
  *
122
122
  * These ride on the module's `config` prop and are published once at the
123
123
  * module root by `registerIncodeModuleElement`, so a deep `<Asset>`/`<AnimatedAsset>`
124
- * reads them via {@link useInstanceOverrides} without any prop drilling.
124
+ * or `<TransitionSpinner>` reads them via {@link useInstanceOverrides} without
125
+ * any prop drilling.
125
126
  */
126
127
  declare type InstanceOverrides = {
127
128
  assets?: AssetOverrides;
128
129
  animations?: AnimationOverrides;
130
+ spinner?: SpinnerPresentation;
129
131
  };
130
132
 
131
133
  declare type LottieAnimationData = {
@@ -137,6 +139,30 @@ declare type LottieAnimationData = {
137
139
  h: number;
138
140
  };
139
141
 
142
+ /**
143
+ * Host-facing loader presentation, settable globally via
144
+ * `setup({ uiConfig: { spinner } })` or per element via `config.spinner`.
145
+ *
146
+ * Copy is deliberately absent. Loader text comes from i18n (`loadingCircle.*`),
147
+ * which keeps it localizable — a literal string here would freeze in whatever
148
+ * language the host typed it in when the user switches language mid-flow — and
149
+ * leaves one source of truth for user-facing strings.
150
+ */
151
+ declare type SpinnerPresentation = {
152
+ renderMode?: SpinnerRenderMode;
153
+ size?: SpinnerSize;
154
+ };
155
+
156
+ /**
157
+ * Which parts of a loader render.
158
+ *
159
+ * An enum rather than a pair of booleans so the meaningless fourth state —
160
+ * neither icon nor text, i.e. a blank screen — is unrepresentable.
161
+ */
162
+ declare type SpinnerRenderMode = 'spinnerAndText' | 'spinnerOnly' | 'textOnly';
163
+
164
+ declare type SpinnerSize = 'small' | 'medium' | 'large';
165
+
140
166
  /** An SVG imported as a Preact component (the `?react` import shape). */
141
167
  declare type SvgComponent = FunctionComponent<SVGProps<SVGSVGElement>>;
142
168
 
@@ -117,15 +117,17 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
117
117
  };
118
118
 
119
119
  /**
120
- * Per-instance asset/animation overrides for a single mounted SDK module.
120
+ * Per-instance overrides for a single mounted SDK module.
121
121
  *
122
122
  * These ride on the module's `config` prop and are published once at the
123
123
  * module root by `registerIncodeModuleElement`, so a deep `<Asset>`/`<AnimatedAsset>`
124
- * reads them via {@link useInstanceOverrides} without any prop drilling.
124
+ * or `<TransitionSpinner>` reads them via {@link useInstanceOverrides} without
125
+ * any prop drilling.
125
126
  */
126
127
  declare type InstanceOverrides = {
127
128
  assets?: AssetOverrides;
128
129
  animations?: AnimationOverrides;
130
+ spinner?: SpinnerPresentation;
129
131
  };
130
132
 
131
133
  declare type LottieAnimationData = {
@@ -137,6 +139,30 @@ declare type LottieAnimationData = {
137
139
  h: number;
138
140
  };
139
141
 
142
+ /**
143
+ * Host-facing loader presentation, settable globally via
144
+ * `setup({ uiConfig: { spinner } })` or per element via `config.spinner`.
145
+ *
146
+ * Copy is deliberately absent. Loader text comes from i18n (`loadingCircle.*`),
147
+ * which keeps it localizable — a literal string here would freeze in whatever
148
+ * language the host typed it in when the user switches language mid-flow — and
149
+ * leaves one source of truth for user-facing strings.
150
+ */
151
+ declare type SpinnerPresentation = {
152
+ renderMode?: SpinnerRenderMode;
153
+ size?: SpinnerSize;
154
+ };
155
+
156
+ /**
157
+ * Which parts of a loader render.
158
+ *
159
+ * An enum rather than a pair of booleans so the meaningless fourth state —
160
+ * neither icon nor text, i.e. a blank screen — is unrepresentable.
161
+ */
162
+ declare type SpinnerRenderMode = 'spinnerAndText' | 'spinnerOnly' | 'textOnly';
163
+
164
+ declare type SpinnerSize = 'small' | 'medium' | 'large';
165
+
140
166
  /** An SVG imported as a Preact component (the `?react` import shape). */
141
167
  declare type SvgComponent = FunctionComponent<SVGProps<SVGSVGElement>>;
142
168
 
@@ -119,15 +119,17 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
119
119
  };
120
120
 
121
121
  /**
122
- * Per-instance asset/animation overrides for a single mounted SDK module.
122
+ * Per-instance overrides for a single mounted SDK module.
123
123
  *
124
124
  * These ride on the module's `config` prop and are published once at the
125
125
  * module root by `registerIncodeModuleElement`, so a deep `<Asset>`/`<AnimatedAsset>`
126
- * reads them via {@link useInstanceOverrides} without any prop drilling.
126
+ * or `<TransitionSpinner>` reads them via {@link useInstanceOverrides} without
127
+ * any prop drilling.
127
128
  */
128
129
  declare type InstanceOverrides = {
129
130
  assets?: AssetOverrides;
130
131
  animations?: AnimationOverrides;
132
+ spinner?: SpinnerPresentation;
131
133
  };
132
134
 
133
135
  declare type LottieAnimationData = {
@@ -139,6 +141,30 @@ declare type LottieAnimationData = {
139
141
  h: number;
140
142
  };
141
143
 
144
+ /**
145
+ * Host-facing loader presentation, settable globally via
146
+ * `setup({ uiConfig: { spinner } })` or per element via `config.spinner`.
147
+ *
148
+ * Copy is deliberately absent. Loader text comes from i18n (`loadingCircle.*`),
149
+ * which keeps it localizable — a literal string here would freeze in whatever
150
+ * language the host typed it in when the user switches language mid-flow — and
151
+ * leaves one source of truth for user-facing strings.
152
+ */
153
+ declare type SpinnerPresentation = {
154
+ renderMode?: SpinnerRenderMode;
155
+ size?: SpinnerSize;
156
+ };
157
+
158
+ /**
159
+ * Which parts of a loader render.
160
+ *
161
+ * An enum rather than a pair of booleans so the meaningless fourth state —
162
+ * neither icon nor text, i.e. a blank screen — is unrepresentable.
163
+ */
164
+ declare type SpinnerRenderMode = 'spinnerAndText' | 'spinnerOnly' | 'textOnly';
165
+
166
+ declare type SpinnerSize = 'small' | 'medium' | 'large';
167
+
142
168
  /** An SVG imported as a Preact component (the `?react` import shape). */
143
169
  declare type SvgComponent = FunctionComponent<SVGProps<SVGSVGElement>>;
144
170
 
@@ -119,15 +119,17 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
119
119
  };
120
120
 
121
121
  /**
122
- * Per-instance asset/animation overrides for a single mounted SDK module.
122
+ * Per-instance overrides for a single mounted SDK module.
123
123
  *
124
124
  * These ride on the module's `config` prop and are published once at the
125
125
  * module root by `registerIncodeModuleElement`, so a deep `<Asset>`/`<AnimatedAsset>`
126
- * reads them via {@link useInstanceOverrides} without any prop drilling.
126
+ * or `<TransitionSpinner>` reads them via {@link useInstanceOverrides} without
127
+ * any prop drilling.
127
128
  */
128
129
  declare type InstanceOverrides = {
129
130
  assets?: AssetOverrides;
130
131
  animations?: AnimationOverrides;
132
+ spinner?: SpinnerPresentation;
131
133
  };
132
134
 
133
135
  declare type LottieAnimationData = {
@@ -139,6 +141,30 @@ declare type LottieAnimationData = {
139
141
  h: number;
140
142
  };
141
143
 
144
+ /**
145
+ * Host-facing loader presentation, settable globally via
146
+ * `setup({ uiConfig: { spinner } })` or per element via `config.spinner`.
147
+ *
148
+ * Copy is deliberately absent. Loader text comes from i18n (`loadingCircle.*`),
149
+ * which keeps it localizable — a literal string here would freeze in whatever
150
+ * language the host typed it in when the user switches language mid-flow — and
151
+ * leaves one source of truth for user-facing strings.
152
+ */
153
+ declare type SpinnerPresentation = {
154
+ renderMode?: SpinnerRenderMode;
155
+ size?: SpinnerSize;
156
+ };
157
+
158
+ /**
159
+ * Which parts of a loader render.
160
+ *
161
+ * An enum rather than a pair of booleans so the meaningless fourth state —
162
+ * neither icon nor text, i.e. a blank screen — is unrepresentable.
163
+ */
164
+ declare type SpinnerRenderMode = 'spinnerAndText' | 'spinnerOnly' | 'textOnly';
165
+
166
+ declare type SpinnerSize = 'small' | 'medium' | 'large';
167
+
142
168
  /** An SVG imported as a Preact component (the `?react` import shape). */
143
169
  declare type SvgComponent = FunctionComponent<SVGProps<SVGSVGElement>>;
144
170
 
@@ -117,15 +117,17 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
117
117
  };
118
118
 
119
119
  /**
120
- * Per-instance asset/animation overrides for a single mounted SDK module.
120
+ * Per-instance overrides for a single mounted SDK module.
121
121
  *
122
122
  * These ride on the module's `config` prop and are published once at the
123
123
  * module root by `registerIncodeModuleElement`, so a deep `<Asset>`/`<AnimatedAsset>`
124
- * reads them via {@link useInstanceOverrides} without any prop drilling.
124
+ * or `<TransitionSpinner>` reads them via {@link useInstanceOverrides} without
125
+ * any prop drilling.
125
126
  */
126
127
  declare type InstanceOverrides = {
127
128
  assets?: AssetOverrides;
128
129
  animations?: AnimationOverrides;
130
+ spinner?: SpinnerPresentation;
129
131
  };
130
132
 
131
133
  declare type LottieAnimationData = {
@@ -137,6 +139,30 @@ declare type LottieAnimationData = {
137
139
  h: number;
138
140
  };
139
141
 
142
+ /**
143
+ * Host-facing loader presentation, settable globally via
144
+ * `setup({ uiConfig: { spinner } })` or per element via `config.spinner`.
145
+ *
146
+ * Copy is deliberately absent. Loader text comes from i18n (`loadingCircle.*`),
147
+ * which keeps it localizable — a literal string here would freeze in whatever
148
+ * language the host typed it in when the user switches language mid-flow — and
149
+ * leaves one source of truth for user-facing strings.
150
+ */
151
+ declare type SpinnerPresentation = {
152
+ renderMode?: SpinnerRenderMode;
153
+ size?: SpinnerSize;
154
+ };
155
+
156
+ /**
157
+ * Which parts of a loader render.
158
+ *
159
+ * An enum rather than a pair of booleans so the meaningless fourth state —
160
+ * neither icon nor text, i.e. a blank screen — is unrepresentable.
161
+ */
162
+ declare type SpinnerRenderMode = 'spinnerAndText' | 'spinnerOnly' | 'textOnly';
163
+
164
+ declare type SpinnerSize = 'small' | 'medium' | 'large';
165
+
140
166
  /** An SVG imported as a Preact component (the `?react` import shape). */
141
167
  declare type SvgComponent = FunctionComponent<SVGProps<SVGSVGElement>>;
142
168
 
@@ -117,15 +117,17 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
117
117
  };
118
118
 
119
119
  /**
120
- * Per-instance asset/animation overrides for a single mounted SDK module.
120
+ * Per-instance overrides for a single mounted SDK module.
121
121
  *
122
122
  * These ride on the module's `config` prop and are published once at the
123
123
  * module root by `registerIncodeModuleElement`, so a deep `<Asset>`/`<AnimatedAsset>`
124
- * reads them via {@link useInstanceOverrides} without any prop drilling.
124
+ * or `<TransitionSpinner>` reads them via {@link useInstanceOverrides} without
125
+ * any prop drilling.
125
126
  */
126
127
  declare type InstanceOverrides = {
127
128
  assets?: AssetOverrides;
128
129
  animations?: AnimationOverrides;
130
+ spinner?: SpinnerPresentation;
129
131
  };
130
132
 
131
133
  declare type LottieAnimationData = {
@@ -137,6 +139,30 @@ declare type LottieAnimationData = {
137
139
  h: number;
138
140
  };
139
141
 
142
+ /**
143
+ * Host-facing loader presentation, settable globally via
144
+ * `setup({ uiConfig: { spinner } })` or per element via `config.spinner`.
145
+ *
146
+ * Copy is deliberately absent. Loader text comes from i18n (`loadingCircle.*`),
147
+ * which keeps it localizable — a literal string here would freeze in whatever
148
+ * language the host typed it in when the user switches language mid-flow — and
149
+ * leaves one source of truth for user-facing strings.
150
+ */
151
+ declare type SpinnerPresentation = {
152
+ renderMode?: SpinnerRenderMode;
153
+ size?: SpinnerSize;
154
+ };
155
+
156
+ /**
157
+ * Which parts of a loader render.
158
+ *
159
+ * An enum rather than a pair of booleans so the meaningless fourth state —
160
+ * neither icon nor text, i.e. a blank screen — is unrepresentable.
161
+ */
162
+ declare type SpinnerRenderMode = 'spinnerAndText' | 'spinnerOnly' | 'textOnly';
163
+
164
+ declare type SpinnerSize = 'small' | 'medium' | 'large';
165
+
140
166
  /** An SVG imported as a Preact component (the `?react` import shape). */
141
167
  declare type SvgComponent = FunctionComponent<SVGProps<SVGSVGElement>>;
142
168