@incodetech/web 0.0.0-dev-20260723-e73d5099 → 0.0.0-dev-20260723-397b76d8

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 (168) hide show
  1. package/dist/ae-signature/ae-signature.es.js +5 -3
  2. package/dist/antifraud/antifraud.es.js +6 -5
  3. package/dist/authentication/authentication.es.js +7 -6
  4. package/dist/{autoFocusTitle-IN4TR7QN.js → autoFocusTitle-DIuy3fAL.js} +1 -1
  5. package/dist/{bottomSheet-DIxxFBUN.js → bottomSheet-DLa3gA9I.js} +1 -1
  6. package/dist/{captureNotification-DatgEL_T.js → captureNotification-CYNo5vI6.js} +8 -8
  7. package/dist/certificate-issuance/certificate-issuance.es.js +13 -13
  8. package/dist/{checkbox-BZ3Vuawq.js → checkbox-CWH3awlJ.js} +3 -3
  9. package/dist/{connectionError-BILGlQvh.js → connectionError-CkMyPEEa.js} +3 -3
  10. package/dist/consent/consent.es.js +10 -11
  11. package/dist/{countrySelector-DSCcBRMz.js → countrySelector-7r0JHTbz.js} +2 -2
  12. package/dist/cpf-ocr/cpf-ocr.es.js +1 -1
  13. package/dist/{cpfOcr-DCIXCw5X.js → cpfOcr-C7oATNXA.js} +9 -10
  14. package/dist/cpfOcr-O8X5O6z1.js +2 -0
  15. package/dist/cross-document-data-match/cross-document-data-match.es.js +6 -5
  16. package/dist/curp-validation/curp-validation.es.js +17 -19
  17. package/dist/{customFields-CFRWCs3I.js → customFields-BgFMUeIp.js} +13 -13
  18. package/dist/{customWatchlist-CAGzLeIU.js → customWatchlist-DMz7aerw.js} +9 -8
  19. package/dist/dashboardTheme-C6I2WQPK.js +223 -0
  20. package/dist/dateInputComposed-6wvZi6m1.js +1 -0
  21. package/dist/{dateInputComposed-Dy8s_pst.js → dateInputComposed-BBgQB4tl.js} +4 -4
  22. package/dist/document-capture/document-capture.es.js +1 -1
  23. package/dist/{documentCapture-Cdksl5DR.js → documentCapture-BC6DBpAG.js} +19 -19
  24. package/dist/documentCapture-diUvht9m.js +2 -0
  25. package/dist/{dropdownComposed-BHoaSeXB.js → dropdownComposed-C0IZ1uRF.js} +4 -4
  26. package/dist/dropdownComposed-DBnwuqE4.js +1 -0
  27. package/dist/{dynamicForms-CujcVUvG.js → dynamicForms-skhwHeCx.js} +14 -14
  28. package/dist/ekyb/ekyb.es.js +1 -1
  29. package/dist/{ekybModule-CtJT7I0D.js → ekybModule-bGDvjIj7.js} +17 -17
  30. package/dist/ekybModule-bUgBSy9a.js +2 -0
  31. package/dist/ekyc/ekyc.es.js +1 -1
  32. package/dist/ekycModule-D-ZKad8r.js +2 -0
  33. package/dist/{ekycModule-Clgu1ydz.js → ekycModule-DVVAasG2.js} +15 -15
  34. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  35. package/dist/{electronic-signature-C-eiNR8V.js → electronic-signature-Dy0hN6lu.js} +11 -12
  36. package/dist/email/email.es.js +10 -10
  37. package/dist/{emailInput-BIXyslAC.js → emailInput-CGDc3flM.js} +3 -3
  38. package/dist/{expiredId-DE_SO8Iy.js → expiredId-CDxPLhiW.js} +5 -5
  39. package/dist/{extensibility-Dv0Z50OE.js → extensibility-DMroM1OU.js} +37 -42
  40. package/dist/extensibility.es.js +24 -28
  41. package/dist/face-match/face-match.es.js +1 -1
  42. package/dist/faceMatch-DxRtNWtc.js +2 -0
  43. package/dist/{faceMatch-DVkAPLup.js → faceMatch-si9UUQ3_.js} +10 -11
  44. package/dist/field-comparison/field-comparison.es.js +1 -1
  45. package/dist/{fieldComparison-BbgIcdF5.js → fieldComparison-CR15MASU.js} +11 -11
  46. package/dist/fieldComparison-MLm7cnmM.js +2 -0
  47. package/dist/fiscal-qr/fiscal-qr.es.js +12 -11
  48. package/dist/flow/flow.es.js +10 -13
  49. package/dist/geolocation/geolocation.es.js +11 -11
  50. package/dist/government-validation/government-validation.es.js +11 -11
  51. package/dist/{homeScreen-CqhuW7le.js → homeScreen-0T3uPq2I.js} +6 -8
  52. package/dist/{page-DidH_RkX.js → hooks-Bl4BccV8.js} +374 -5
  53. package/dist/{icons-w6luRFtW.js → icons-CqDMnQ1g.js} +2 -2
  54. package/dist/id/id.es.js +22 -25
  55. package/dist/id-verification/id-verification.es.js +5 -5
  56. package/dist/{idOcr-Y8dKRIN4.js → idOcr-C9Cj1ino.js} +13 -13
  57. package/dist/identity-reuse/identity-reuse.es.js +6 -7
  58. package/dist/{incode-logo-57XFniXU.js → incode-logo-DasIBJw8.js} +64 -1
  59. package/dist/{incodeComponent-BCd_bJev.js → incodeComponent-DHbfYA-r.js} +2 -2
  60. package/dist/{incodeModule-Bgg06vwW.js → incodeModule-BiwGYtcv.js} +1 -1
  61. package/dist/index.es.js +14 -5
  62. package/dist/{inputComposed-DzyxybSu.js → inputComposed-C1Z4OxHI.js} +4 -4
  63. package/dist/inputComposed-DL1YD59E.js +1 -0
  64. package/dist/{mandatoryConsent-DnoDgtOT.js → mandatoryConsent-DEGcSJhx.js} +9 -10
  65. package/dist/{modal-C-Q9km3s.js → modal-BgjeiOv5.js} +3 -3
  66. package/dist/{optionAccessibleLabel-RW68xECf.js → optionAccessibleLabel-DAvz9vdG.js} +5 -5
  67. package/dist/{otpInput-H_Y9R8B8.js → otpInput-DLnLXnJo.js} +5 -5
  68. package/dist/{pdf-BAb2ezmC.js → pdf-BYHLDKvG.js} +1 -1
  69. package/dist/{pdfViewer-XeOSCt-S.js → pdfViewer-BVnrfnFA.js} +3 -3
  70. package/dist/{permissions-J6qPq98P.js → permissions-Bcn-2yHb.js} +9 -11
  71. package/dist/phone/phone.es.js +11 -11
  72. package/dist/{phoneInputComposed-DaBNd-wY.js → phoneInputComposed-CJavLkBe.js} +5 -5
  73. package/dist/{processing-BN2Mgw0p.js → processing-DBuq4_4J.js} +1 -1
  74. package/dist/qe-signature/qe-signature.es.js +5 -3
  75. package/dist/{radioGroupComposed-D2qsp3Vx.js → radioGroupComposed-YO_U82bM.js} +5 -5
  76. package/dist/redirect-to-mobile/redirect-to-mobile.es.js +15 -17
  77. package/dist/{richText-D-G1XXAw.js → richText-Bbp3TPzi.js} +1 -1
  78. package/dist/selfie/selfie.es.js +9 -9
  79. package/dist/signature/signature.es.js +11 -11
  80. package/dist/{snackbar-BsV5S3Z7.js → snackbar-CSODaFW4.js} +1 -1
  81. package/dist/{loadingIcon-B0ysgiNq.js → spacer-I8ILMQiA.js} +68 -68
  82. package/dist/{spinner-BMeIEK1d.js → spinner-YXqSOUqg.js} +45 -4
  83. package/dist/{statusPage-DPNU-L3H.js → statusPage-DUejG583.js} +3 -3
  84. package/dist/{tabs-CYtIZmR0.js → tabs-CG7W9rbn.js} +1 -1
  85. package/dist/{tutorial-CTCp3mrv.js → tutorial-hXqxb0q5.js} +10 -12
  86. package/dist/types/ae-signature.d.ts +6 -3
  87. package/dist/types/antifraud.d.ts +6 -3
  88. package/dist/types/authentication.d.ts +6 -3
  89. package/dist/types/certificate-issuance.d.ts +6 -3
  90. package/dist/types/consent.d.ts +6 -3
  91. package/dist/types/cpf-ocr.d.ts +56 -5
  92. package/dist/types/cross-document-data-match.d.ts +6 -3
  93. package/dist/types/curp-validation.d.ts +6 -3
  94. package/dist/types/document-capture.d.ts +6 -3
  95. package/dist/types/ekyb.d.ts +6 -3
  96. package/dist/types/ekyc.d.ts +6 -3
  97. package/dist/types/electronic-signature.d.ts +2 -2
  98. package/dist/types/email.d.ts +6 -26
  99. package/dist/types/extensibility.d.ts +2 -2
  100. package/dist/types/face-match.d.ts +6 -25
  101. package/dist/types/field-comparison.d.ts +6 -3
  102. package/dist/types/fiscal-qr.d.ts +9 -5
  103. package/dist/types/flow.d.ts +2 -2
  104. package/dist/types/geolocation.d.ts +6 -3
  105. package/dist/types/government-validation.d.ts +6 -3
  106. package/dist/types/id-verification.d.ts +2 -2
  107. package/dist/types/id.d.ts +6 -3
  108. package/dist/types/identity-reuse.d.ts +2 -2
  109. package/dist/types/index.d.ts +23 -1
  110. package/dist/types/phone.d.ts +6 -27
  111. package/dist/types/qe-signature.d.ts +6 -3
  112. package/dist/types/redirect-to-mobile.d.ts +4 -1
  113. package/dist/types/selfie.d.ts +6 -3
  114. package/dist/types/signature.d.ts +6 -3
  115. package/dist/types/video-selfie.d.ts +6 -9
  116. package/dist/types/watchlist.d.ts +6 -3
  117. package/dist/types/workflow.d.ts +2 -2
  118. package/dist/{i18n-CushpmmJ.js → uiConfig-DSGyRMSC.js} +26 -3
  119. package/dist/{useModuleLoader-BTo4NZuV.js → useModuleLoader-V8kW4raN.js} +32 -180
  120. package/dist/{verificationResult-xubIOKNi.js → verificationResult-4X7V8KzA.js} +8 -9
  121. package/dist/video-selfie/video-selfie.es.js +16 -19
  122. package/dist/watchlist/watchlist.es.js +9 -8
  123. package/dist/{watchlistForBusiness-BWaVfgeV.js → watchlistForBusiness-DWg7G4IB.js} +12 -12
  124. package/dist/workflow/workflow.es.js +17 -14
  125. package/package.json +2 -2
  126. package/dist/button-Dz6AsbmF.js +0 -40
  127. package/dist/cpfOcr-BToIikZC.js +0 -2
  128. package/dist/dateInputComposed-DDtUFSrC.js +0 -1
  129. package/dist/documentCapture-CgBRyZHX.js +0 -2
  130. package/dist/dropdownComposed-4RQ6KcIz.js +0 -1
  131. package/dist/ekybModule-CIhe-NjG.js +0 -2
  132. package/dist/ekycModule-CYdRFXyJ.js +0 -2
  133. package/dist/errorIcon-BA4T6iy-.js +0 -26
  134. package/dist/faceMatch-BnDfDC5l.js +0 -2
  135. package/dist/fieldComparison-DeH3dh5a.js +0 -2
  136. package/dist/hooks-CxG4XS7P.js +0 -175
  137. package/dist/inputComposed-CrmMDnMp.js +0 -1
  138. package/dist/spinner-BCDCoi9C.js +0 -1
  139. package/dist/terminalErrorPage-DwH-JDg0.js +0 -71
  140. package/dist/transitionSpinner-B7mmwUrc.js +0 -30
  141. package/dist/typography-BZIpjo97.js +0 -45
  142. package/dist/uiConfig-D2_wawvr.js +0 -25
  143. /package/dist/{aligndevicelottie-C9Mrj6AB.js → aligndevicelottie-t8IVRvKe.js} +0 -0
  144. /package/dist/{back-horizontal-hint-B-EHEYFx.js → back-horizontal-hint-Dk3Qx2Jy.js} +0 -0
  145. /package/dist/{back-tutorial-Bkm8BMI-.js → back-tutorial-Sa9INxfJ.js} +0 -0
  146. /package/dist/{back-vertical-hint-Yo_1LFB2.js → back-vertical-hint-BSXiELAo.js} +0 -0
  147. /package/dist/{backdevicelottie-FrU5aQgi.js → backdevicelottie--JZVcmsk.js} +0 -0
  148. /package/dist/{blurdevicelottie-jfRWrBAA.js → blurdevicelottie-D8d1O-r6.js} +0 -0
  149. /package/dist/{browser-ponyfill-vwGrGxYJ.js → browser-ponyfill-R_VWu0FU.js} +0 -0
  150. /package/dist/{defineProperty-BZW5EcGC.js → defineProperty-BsIK7Gws.js} +0 -0
  151. /package/dist/{flip-animation-RSWxSh3p.js → flip-animation-CulASaCy.js} +0 -0
  152. /package/dist/{front-horizontal-hint-BxmjB6HQ.js → front-horizontal-hint-GlNgmYkY.js} +0 -0
  153. /package/dist/{front-vertical-hint-BS4R8Ge4.js → front-vertical-hint-Bn2FOrKQ.js} +0 -0
  154. /package/dist/{frontdevicelottie-CvMs7jnY.js → frontdevicelottie-DGU1DFsb.js} +0 -0
  155. /package/dist/{glaredevicelottie-B_g3-Xay.js → glaredevicelottie-Dqjzhp2v.js} +0 -0
  156. /package/dist/{id-laser-h-DS31CxU-.js → id-laser-h-BXX4SvZX.js} +0 -0
  157. /package/dist/{id-laser-v-Cb982xnA.js → id-laser-v-BXUywa3r.js} +0 -0
  158. /package/dist/{id-tutorial-D2hF8yoN.js → id-tutorial-Dss1CIkf.js} +0 -0
  159. /package/dist/{lottie_light-B0mE6Bs2.js → lottie_light-XgO-x03h.js} +0 -0
  160. /package/dist/{modal.hooks-ZrzmHAUa.js → modal.hooks-BbFC-AOq.js} +0 -0
  161. /package/dist/{numberedStep-BOfeDZfJ.js → numberedStep-DtIEG6uM.js} +0 -0
  162. /package/dist/{passport-horizontal-hint-B0YSV7zH.js → passport-horizontal-hint-C0gW3Rvi.js} +0 -0
  163. /package/dist/{passport-tutorial-DvynHyve.js → passport-tutorial-B6e9nM9w.js} +0 -0
  164. /package/dist/{passport-vertical-hint-g5QGlFT5.js → passport-vertical-hint-lrBhacG3.js} +0 -0
  165. /package/dist/{registerIncodeElement-ClG0mgIF.js → registerIncodeElement-C9y6CNCw.js} +0 -0
  166. /package/dist/{requiredLabelHint-DmD8ZCH-.js → requiredLabelHint-Dx0WS2cR.js} +0 -0
  167. /package/dist/{selfieTutorial-eySh67am.js → selfieTutorial-DfjgQ9w5.js} +0 -0
  168. /package/dist/{successIcon-B5mGvdx1.js → successIcon-BshEyvXA.js} +0 -0
@@ -0,0 +1,223 @@
1
+ import { t as setUiConfig } from "./uiConfig-DSGyRMSC.js";
2
+ import { api } from "@incodetech/core/http";
3
+ //#region src/shared/dashboard/dashboardPolicy.ts
4
+ var standaloneSetupPolicy = Object.freeze({
5
+ flow: Object.freeze({
6
+ enabled: true,
7
+ preload: false,
8
+ mergeConfig: false
9
+ }),
10
+ theme: Object.freeze({
11
+ enabled: true,
12
+ preload: false
13
+ })
14
+ });
15
+ function resolveStandaloneSetupPolicy(flow, theme, token) {
16
+ const flowEnabled = flow !== false;
17
+ const themeEnabled = theme !== false;
18
+ const flowOptions = typeof flow === "object" ? flow : {};
19
+ const themeOptions = typeof theme === "object" ? theme : {};
20
+ return Object.freeze({
21
+ flow: Object.freeze({
22
+ enabled: flowEnabled,
23
+ preload: flowEnabled && flowOptions.preload === true,
24
+ mergeConfig: flowEnabled && flowOptions.mergeConfig === true
25
+ }),
26
+ theme: Object.freeze({
27
+ enabled: themeEnabled,
28
+ preload: themeEnabled && themeOptions.preload === true
29
+ }),
30
+ token
31
+ });
32
+ }
33
+ function setStandaloneSetupPolicy(policy) {
34
+ standaloneSetupPolicy = policy;
35
+ }
36
+ function getStandaloneSetupPolicy() {
37
+ return standaloneSetupPolicy;
38
+ }
39
+ //#endregion
40
+ //#region src/styles/generatePalette.ts
41
+ function hexToHsl(hex) {
42
+ let normalizedHex = hex.replace("#", "");
43
+ if (normalizedHex.length === 3) normalizedHex = normalizedHex.split("").map((char) => char + char).join("");
44
+ const result = /^([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(normalizedHex);
45
+ if (!result) return null;
46
+ const r = Number.parseInt(result[1], 16) / 255;
47
+ const g = Number.parseInt(result[2], 16) / 255;
48
+ const b = Number.parseInt(result[3], 16) / 255;
49
+ const max = Math.max(r, g, b);
50
+ const min = Math.min(r, g, b);
51
+ let h = 0;
52
+ let s = 0;
53
+ const l = (max + min) / 2;
54
+ if (max !== min) {
55
+ const d = max - min;
56
+ s = l > .5 ? d / (2 - max - min) : d / (max + min);
57
+ switch (max) {
58
+ case r:
59
+ h = ((g - b) / d + (g < b ? 6 : 0)) / 6;
60
+ break;
61
+ case g:
62
+ h = ((b - r) / d + 2) / 6;
63
+ break;
64
+ case b:
65
+ h = ((r - g) / d + 4) / 6;
66
+ break;
67
+ }
68
+ }
69
+ return {
70
+ h: h * 360,
71
+ s: s * 100,
72
+ l: l * 100
73
+ };
74
+ }
75
+ function hslToHex(h, s, l) {
76
+ const hNorm = h / 360;
77
+ const sNorm = s / 100;
78
+ const lNorm = l / 100;
79
+ let r;
80
+ let g;
81
+ let b;
82
+ if (sNorm === 0) r = g = b = lNorm;
83
+ else {
84
+ const hue2rgb = (p, q, t) => {
85
+ if (t < 0) t += 1;
86
+ if (t > 1) t -= 1;
87
+ if (t < 1 / 6) return p + (q - p) * 6 * t;
88
+ if (t < 1 / 2) return q;
89
+ if (t < 2 / 3) return p + (q - p) * (2 / 3 - t) * 6;
90
+ return p;
91
+ };
92
+ const q = lNorm < .5 ? lNorm * (1 + sNorm) : lNorm + sNorm - lNorm * sNorm;
93
+ const p = 2 * lNorm - q;
94
+ r = hue2rgb(p, q, hNorm + 1 / 3);
95
+ g = hue2rgb(p, q, hNorm);
96
+ b = hue2rgb(p, q, hNorm - 1 / 3);
97
+ }
98
+ const toHex = (n) => {
99
+ const hex = Math.round(n * 255).toString(16);
100
+ return hex.length === 1 ? `0${hex}` : hex;
101
+ };
102
+ return `#${toHex(r)}${toHex(g)}${toHex(b)}`;
103
+ }
104
+ function generateBrandPalette(mainColor) {
105
+ const hsl = hexToHsl(mainColor);
106
+ if (!hsl) throw new Error(`Invalid color format: ${mainColor}`);
107
+ return {
108
+ "50": hslToHex(hsl.h, hsl.s, 95),
109
+ "200": hslToHex(hsl.h, hsl.s, 80),
110
+ "300": hslToHex(hsl.h, hsl.s, 65),
111
+ "400": hslToHex(hsl.h, hsl.s, Math.min(100, hsl.l + 10)),
112
+ "500": mainColor,
113
+ "600": hslToHex(hsl.h, hsl.s, Math.max(0, hsl.l - 10)),
114
+ "900": hslToHex(hsl.h, hsl.s, 20)
115
+ };
116
+ }
117
+ //#endregion
118
+ //#region src/styles/applyTheme.ts
119
+ function applyTheme(mainColor, buttonColor) {
120
+ if (typeof document === "undefined") return;
121
+ const palette = generateBrandPalette(mainColor);
122
+ let styleElement = document.getElementById("incode-theme");
123
+ if (!styleElement) {
124
+ styleElement = document.createElement("style");
125
+ styleElement.id = "incode-theme";
126
+ document.head.appendChild(styleElement);
127
+ }
128
+ const buttonTextColor = buttonColor || "#ffffff";
129
+ const css = `
130
+ :root,
131
+ :host {
132
+ --primitive-color-brand-50: ${palette["50"]};
133
+ --primitive-color-brand-200: ${palette["200"]};
134
+ --primitive-color-brand-300: ${palette["300"]};
135
+ --primitive-color-brand-400: ${palette["400"]};
136
+ --primitive-color-brand-500: ${palette["500"]};
137
+ --primitive-color-brand-600: ${palette["600"]};
138
+ --primitive-color-brand-900: ${palette["900"]};
139
+ --button-primary-text-default: ${buttonTextColor};
140
+ }
141
+ `;
142
+ styleElement.textContent = css;
143
+ }
144
+ //#endregion
145
+ //#region src/styles/fetchTheme.ts
146
+ async function fetchAssets() {
147
+ return (await api.get("/omni/asset/fetch-all")).data;
148
+ }
149
+ var dataUrlCache = /* @__PURE__ */ new Map();
150
+ async function urlToDataUrl(url) {
151
+ if (url.startsWith("data:")) return url;
152
+ const cached = dataUrlCache.get(url);
153
+ if (cached) return cached;
154
+ const blob = await (await fetch(url)).blob();
155
+ const dataUrl = await new Promise((resolve, reject) => {
156
+ const reader = new FileReader();
157
+ reader.onloadend = () => resolve(reader.result);
158
+ reader.onerror = reject;
159
+ reader.readAsDataURL(blob);
160
+ });
161
+ dataUrlCache.set(url, dataUrl);
162
+ return dataUrl;
163
+ }
164
+ async function fetchTheme() {
165
+ const assets = await fetchAssets();
166
+ if (!assets.theme) throw new Error("Theme URL not found in assets response");
167
+ const themeUrl = assets.theme;
168
+ const isAbsoluteUrl = themeUrl.startsWith("http://") || themeUrl.startsWith("https://");
169
+ let theme;
170
+ if (isAbsoluteUrl) {
171
+ const themeResponse = await fetch(themeUrl);
172
+ if (!themeResponse.ok) throw new Error(`Failed to fetch theme: ${themeResponse.statusText}`);
173
+ theme = await themeResponse.json();
174
+ } else theme = (await api.get(themeUrl)).data;
175
+ const logoUrl = assets["logo.png"] || assets["logo.svg"] || assets["logo.jpg"] || assets["logo.jpeg"] || assets["logo.webp"] || theme.logo;
176
+ let cachedLogoUrl = logoUrl;
177
+ if (logoUrl) cachedLogoUrl = await urlToDataUrl(logoUrl);
178
+ return {
179
+ ...theme,
180
+ logo: cachedLogoUrl
181
+ };
182
+ }
183
+ async function fetchAndApplyTheme() {
184
+ const theme = await fetchTheme();
185
+ if (theme.main) applyTheme(theme.main, theme.buttonColor);
186
+ return theme;
187
+ }
188
+ //#endregion
189
+ //#region src/shared/dashboard/dashboardTheme.ts
190
+ var dashboardThemeCache;
191
+ function preloadDashboardTheme(token) {
192
+ if (dashboardThemeCache?.token === token) return dashboardThemeCache.promise;
193
+ const request = fetchTheme();
194
+ const cache = {
195
+ token,
196
+ promise: request
197
+ };
198
+ const promise = request.then((theme) => {
199
+ if (dashboardThemeCache !== cache) return theme;
200
+ if (theme.main) applyTheme(theme.main, theme.buttonColor);
201
+ setUiConfig({
202
+ logoSrc: theme.logo,
203
+ subtitle: theme.subtitle,
204
+ hideFooterBranding: theme.hideFooterBranding
205
+ });
206
+ return theme;
207
+ }).catch((error) => {
208
+ if (dashboardThemeCache === cache) dashboardThemeCache = void 0;
209
+ throw error;
210
+ });
211
+ cache.promise = promise;
212
+ dashboardThemeCache = cache;
213
+ return promise;
214
+ }
215
+ function getDashboardTheme(token) {
216
+ if (dashboardThemeCache?.token !== token) return;
217
+ return dashboardThemeCache.promise;
218
+ }
219
+ function resetDashboardThemeCache() {
220
+ dashboardThemeCache = void 0;
221
+ }
222
+ //#endregion
223
+ export { getStandaloneSetupPolicy as a, fetchAndApplyTheme as i, preloadDashboardTheme as n, resolveStandaloneSetupPolicy as o, resetDashboardThemeCache as r, setStandaloneSetupPolicy as s, getDashboardTheme as t };
@@ -0,0 +1 @@
1
+ import "./dateInputComposed-BBgQB4tl.js";
@@ -1,8 +1,8 @@
1
1
  import { a as D, l as A, v as u } from "./vendor-preact-DThS2ZQ_.js";
2
- import { n as cn } from "./loadingIcon-B0ysgiNq.js";
3
- import { _ as CalendarIcon } from "./icons-w6luRFtW.js";
4
- import { t as InputComposed } from "./inputComposed-DzyxybSu.js";
5
- import "./inputComposed-CrmMDnMp.js";
2
+ import { r as cn } from "./spacer-I8ILMQiA.js";
3
+ import { _ as CalendarIcon } from "./icons-CqDMnQ1g.js";
4
+ import { t as InputComposed } from "./inputComposed-C1Z4OxHI.js";
5
+ import "./inputComposed-DL1YD59E.js";
6
6
  //#region src/shared/dateInputComposed/dateInputComposed.tsx
7
7
  var DateInputComposed = D(({ id, label, disabled, class: className, onInput, onBlur, ...restProps }, ref) => {
8
8
  const tryShowPicker = (input) => {
@@ -1,2 +1,2 @@
1
- import { t as DocumentCapture } from "../documentCapture-Cdksl5DR.js";
1
+ import { t as DocumentCapture } from "../documentCapture-BC6DBpAG.js";
2
2
  export { DocumentCapture };
@@ -1,21 +1,20 @@
1
- import { n as useTranslation } from "./i18n-CushpmmJ.js";
1
+ import { i as useTranslation } from "./uiConfig-DSGyRMSC.js";
2
2
  import { c as z, h as q, l as A, m as g, o as P, p as d, v as u, x as k } from "./vendor-preact-DThS2ZQ_.js";
3
- import { i as useIsMobileDeviceWidth, l as useManager, s as useModuleTerminalCallbacks } from "./hooks-CxG4XS7P.js";
4
- import { t as IncodeComponent } from "./incodeComponent-BCd_bJev.js";
5
- import { n as cn, r as Spacer } from "./loadingIcon-B0ysgiNq.js";
6
- import { t as Page } from "./page-DidH_RkX.js";
7
- import { d as CameraOverlay, l as CaptureFooter, u as CameraOverlayHeader, v as ProgressBar } from "./extensibility-Dv0Z50OE.js";
8
- import { t as Spinner } from "./spinner-BMeIEK1d.js";
9
- import { t as Button } from "./button-Dz6AsbmF.js";
10
- import { a as FileIcon, g as CameraIcon, r as LockIcon } from "./icons-w6luRFtW.js";
11
- import { t as SuccessIcon } from "./successIcon-B5mGvdx1.js";
12
- import { t as Modal } from "./modal-C-Q9km3s.js";
13
- import { i as ErrorContent } from "./tutorial-CTCp3mrv.js";
14
- import { t as AutoFocusTitle } from "./autoFocusTitle-IN4TR7QN.js";
15
- import { t as BottomSheet } from "./bottomSheet-DIxxFBUN.js";
16
- import { a as CameraFrame, i as CameraView } from "./captureNotification-DatgEL_T.js";
17
- import { t as Permissions } from "./permissions-J6qPq98P.js";
18
- import { t as registerIncodeModuleElement } from "./incodeModule-Bgg06vwW.js";
3
+ import { d as useIsMobileDeviceWidth, g as useManager, i as Page, m as useModuleTerminalCallbacks, t as withStandaloneModuleBootstrap } from "./hooks-Bl4BccV8.js";
4
+ import { r as cn, t as Spacer } from "./spacer-I8ILMQiA.js";
5
+ import { t as Spinner } from "./spinner-YXqSOUqg.js";
6
+ import { r as Button } from "./incode-logo-DasIBJw8.js";
7
+ import { t as IncodeComponent } from "./incodeComponent-DHbfYA-r.js";
8
+ import { d as CameraOverlay, l as CaptureFooter, u as CameraOverlayHeader, v as ProgressBar } from "./extensibility-DMroM1OU.js";
9
+ import { a as FileIcon, g as CameraIcon, r as LockIcon } from "./icons-CqDMnQ1g.js";
10
+ import { t as SuccessIcon } from "./successIcon-BshEyvXA.js";
11
+ import { t as Modal } from "./modal-BgjeiOv5.js";
12
+ import { i as ErrorContent } from "./tutorial-hXqxb0q5.js";
13
+ import { t as AutoFocusTitle } from "./autoFocusTitle-DIuy3fAL.js";
14
+ import { t as BottomSheet } from "./bottomSheet-DLa3gA9I.js";
15
+ import { a as CameraFrame, i as CameraView } from "./captureNotification-CYNo5vI6.js";
16
+ import { t as Permissions } from "./permissions-Bcn-2yHb.js";
17
+ import { t as registerIncodeModuleElement } from "./incodeModule-BiwGYtcv.js";
19
18
  import { createDocumentCaptureManager } from "@incodetech/core/document-capture";
20
19
  //#region src/modules/document-capture/documentCameraView.tsx
21
20
  function captureFrameFromVideo(video) {
@@ -334,7 +333,7 @@ var UploadingHeader = ({ progress, isFilePdf }) => {
334
333
  };
335
334
  //#endregion
336
335
  //#region src/modules/document-capture/documentReview.tsx
337
- var PdfViewer = z(() => import("./pdfViewer-XeOSCt-S.js").then((n) => n.n).then((m) => ({ default: m.PdfViewer })));
336
+ var PdfViewer = z(() => import("./pdfViewer-BVnrfnFA.js").then((n) => n.n).then((m) => ({ default: m.PdfViewer })));
338
337
  var DocumentReview = ({ state, manager }) => {
339
338
  const { t } = useTranslation();
340
339
  if (state.status === "failure") {
@@ -944,7 +943,7 @@ var DocumentCaptureContent = ({ config, manager: externalManager, onFinish, onEr
944
943
  });
945
944
  return null;
946
945
  };
947
- var DocumentCapture = ({ config, manager, onFinish, onError }) => {
946
+ var DocumentCaptureWithLocalConfig = ({ config, manager, onFinish, onError }) => {
948
947
  return /* @__PURE__ */ u(IncodeComponent, { children: config || manager ? /* @__PURE__ */ u(DocumentCaptureContent, {
949
948
  config,
950
949
  manager,
@@ -952,6 +951,7 @@ var DocumentCapture = ({ config, manager, onFinish, onError }) => {
952
951
  onError
953
952
  }) : null });
954
953
  };
954
+ var DocumentCapture = withStandaloneModuleBootstrap(DocumentCaptureWithLocalConfig, "DOCUMENT_CAPTURE", { supportsExternalManager: true });
955
955
  registerIncodeModuleElement(DocumentCapture, "incode-document-capture");
956
956
  //#endregion
957
957
  export { DocumentCapture as t };
@@ -0,0 +1,2 @@
1
+ import { t as DocumentCapture } from "./documentCapture-BC6DBpAG.js";
2
+ export { DocumentCapture };
@@ -1,8 +1,8 @@
1
1
  import { _ as y, l as A, p as d, v as u, x as k } from "./vendor-preact-DThS2ZQ_.js";
2
- import { n as cn } from "./loadingIcon-B0ysgiNq.js";
3
- import { t as ErrorIcon } from "./errorIcon-BA4T6iy-.js";
4
- import { f as ChevronDown, l as CloseIcon, n as SearchIcon, p as CheckmarkCompactIcon } from "./icons-w6luRFtW.js";
5
- import { t as SuccessIcon } from "./successIcon-B5mGvdx1.js";
2
+ import { r as cn } from "./spacer-I8ILMQiA.js";
3
+ import { n as ErrorIcon } from "./incode-logo-DasIBJw8.js";
4
+ import { f as ChevronDown, l as CloseIcon, n as SearchIcon, p as CheckmarkCompactIcon } from "./icons-CqDMnQ1g.js";
5
+ import { t as SuccessIcon } from "./successIcon-BshEyvXA.js";
6
6
  //#region src/shared/dropdownComposed/dropdownComposed.tsx
7
7
  var DropdownComposed = ({ id, label, labelHint, placeholder = "Choose an option", value, options, onChange, error, helper, showErrorIcon, showHelperIcon, suppressMessages = false, disabled = false, required, searchable = false, searchPlaceholder = "Search...", noResultsText = "No results found", name, tabIndex, onKeyDown, onBlur, renderSelectedLabel, siblingElement, class: className, "aria-label": ariaLabel, "data-testid": dataTestId }) => {
8
8
  const [isOpen, setIsOpen] = d(false);
@@ -0,0 +1 @@
1
+ import "./dropdownComposed-C0IZ1uRF.js";
@@ -1,17 +1,16 @@
1
- import { n as useTranslation } from "./i18n-CushpmmJ.js";
1
+ import { i as useTranslation } from "./uiConfig-DSGyRMSC.js";
2
2
  import { d as T, m as g, v as u } from "./vendor-preact-DThS2ZQ_.js";
3
- import { l as useManager, s as useModuleTerminalCallbacks } from "./hooks-CxG4XS7P.js";
4
- import { t as IncodeComponent } from "./incodeComponent-BCd_bJev.js";
5
- import { t as Page } from "./page-DidH_RkX.js";
6
- import { t as Button } from "./button-Dz6AsbmF.js";
7
- import { t as VerificationResult } from "./verificationResult-xubIOKNi.js";
8
- import { t as InputComposed } from "./inputComposed-DzyxybSu.js";
9
- import { n as countries, t as PhoneInputComposed } from "./phoneInputComposed-DaBNd-wY.js";
10
- import { t as DropdownComposed } from "./dropdownComposed-BHoaSeXB.js";
11
- import { t as DateInputComposed } from "./dateInputComposed-Dy8s_pst.js";
12
- import { t as registerIncodeModuleElement } from "./incodeModule-Bgg06vwW.js";
13
- import { n as getRequiredHintMode, t as getFieldHint } from "./requiredLabelHint-DmD8ZCH-.js";
14
- import { t as EmailInput } from "./emailInput-BIXyslAC.js";
3
+ import { g as useManager, i as Page, m as useModuleTerminalCallbacks, t as withStandaloneModuleBootstrap } from "./hooks-Bl4BccV8.js";
4
+ import { r as Button } from "./incode-logo-DasIBJw8.js";
5
+ import { t as IncodeComponent } from "./incodeComponent-DHbfYA-r.js";
6
+ import { t as VerificationResult } from "./verificationResult-4X7V8KzA.js";
7
+ import { t as InputComposed } from "./inputComposed-C1Z4OxHI.js";
8
+ import { n as countries, t as PhoneInputComposed } from "./phoneInputComposed-CJavLkBe.js";
9
+ import { t as DropdownComposed } from "./dropdownComposed-C0IZ1uRF.js";
10
+ import { t as DateInputComposed } from "./dateInputComposed-BBgQB4tl.js";
11
+ import { t as registerIncodeModuleElement } from "./incodeModule-BiwGYtcv.js";
12
+ import { n as getRequiredHintMode, t as getFieldHint } from "./requiredLabelHint-Dx0WS2cR.js";
13
+ import { t as EmailInput } from "./emailInput-CGDc3flM.js";
15
14
  import { formatCPF, isValidCPF } from "@incodetech/core/cpf-ocr";
16
15
  import { createDynamicFormsManager } from "@incodetech/core/dynamic-forms";
17
16
  //#region src/modules/dynamic-forms/dynamicForms.tsx
@@ -350,13 +349,14 @@ var DynamicFormsContent = ({ config, manager: externalManager, onFinish }) => {
350
349
  *
351
350
  * @see {@link createDynamicFormsManager} for headless usage
352
351
  */
353
- var DynamicForms = ({ config, manager, onFinish }) => {
352
+ var DynamicFormsWithLocalConfig = ({ config, manager, onFinish }) => {
354
353
  return /* @__PURE__ */ u(IncodeComponent, { children: config || manager ? /* @__PURE__ */ u(DynamicFormsContent, {
355
354
  config,
356
355
  manager,
357
356
  onFinish
358
357
  }) : null });
359
358
  };
359
+ var DynamicForms = withStandaloneModuleBootstrap(DynamicFormsWithLocalConfig, "DYNAMIC_FORMS", { supportsExternalManager: true });
360
360
  registerIncodeModuleElement(DynamicForms, "incode-dynamic-forms");
361
361
  //#endregion
362
362
  export { DynamicForms };
@@ -1,2 +1,2 @@
1
- import { t as EkybModule } from "../ekybModule-CtJT7I0D.js";
1
+ import { t as EkybModule } from "../ekybModule-bGDvjIj7.js";
2
2
  export { EkybModule };
@@ -1,20 +1,19 @@
1
- import { n as useTranslation } from "./i18n-CushpmmJ.js";
1
+ import { i as useTranslation } from "./uiConfig-DSGyRMSC.js";
2
2
  import { _ as y, d as T, l as A, v as u, x as k } from "./vendor-preact-DThS2ZQ_.js";
3
- import { a as useFormScrollable, l as useManager, s as useModuleTerminalCallbacks } from "./hooks-CxG4XS7P.js";
4
- import { t as IncodeComponent } from "./incodeComponent-BCd_bJev.js";
5
- import { r as Spacer } from "./loadingIcon-B0ysgiNq.js";
6
- import { t as Page } from "./page-DidH_RkX.js";
7
- import "./extensibility-Dv0Z50OE.js";
8
- import { t as Spinner } from "./spinner-BMeIEK1d.js";
9
- import { t as Button } from "./button-Dz6AsbmF.js";
10
- import { t as VerificationResult } from "./verificationResult-xubIOKNi.js";
11
- import { t as InputComposed } from "./inputComposed-DzyxybSu.js";
12
- import { i as translateError, r as FormField } from "./radioGroupComposed-D2qsp3Vx.js";
13
- import { t as DropdownComposed } from "./dropdownComposed-BHoaSeXB.js";
14
- import { t as registerIncodeModuleElement } from "./incodeModule-Bgg06vwW.js";
15
- import { n as getRequiredHintMode, t as getFieldHint } from "./requiredLabelHint-DmD8ZCH-.js";
16
- import { n as AddressAutocomplete, t as getAccessibleOptionLabel } from "./optionAccessibleLabel-RW68xECf.js";
17
- import { t as CountrySelector$1 } from "./countrySelector-DSCcBRMz.js";
3
+ import { f as useFormScrollable, g as useManager, i as Page, m as useModuleTerminalCallbacks, t as withStandaloneModuleBootstrap } from "./hooks-Bl4BccV8.js";
4
+ import { t as Spacer } from "./spacer-I8ILMQiA.js";
5
+ import { t as Spinner } from "./spinner-YXqSOUqg.js";
6
+ import { r as Button } from "./incode-logo-DasIBJw8.js";
7
+ import { t as IncodeComponent } from "./incodeComponent-DHbfYA-r.js";
8
+ import "./extensibility-DMroM1OU.js";
9
+ import { t as VerificationResult } from "./verificationResult-4X7V8KzA.js";
10
+ import { t as InputComposed } from "./inputComposed-C1Z4OxHI.js";
11
+ import { i as translateError, r as FormField } from "./radioGroupComposed-YO_U82bM.js";
12
+ import { t as DropdownComposed } from "./dropdownComposed-C0IZ1uRF.js";
13
+ import { t as registerIncodeModuleElement } from "./incodeModule-BiwGYtcv.js";
14
+ import { n as getRequiredHintMode, t as getFieldHint } from "./requiredLabelHint-Dx0WS2cR.js";
15
+ import { n as AddressAutocomplete, t as getAccessibleOptionLabel } from "./optionAccessibleLabel-DAvz9vdG.js";
16
+ import { t as CountrySelector$1 } from "./countrySelector-7r0JHTbz.js";
18
17
  import { DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager } from "@incodetech/core/ekyb";
19
18
  //#region src/modules/ekyb/countrySelector.tsx
20
19
  var CountrySelector = ({ value, onChange }) => {
@@ -292,13 +291,14 @@ var EkybForm = ({ state, manager }) => {
292
291
  })]
293
292
  });
294
293
  };
295
- var EkybModule = ({ config, manager, onFinish }) => {
294
+ var EkybModuleWithLocalConfig = ({ config, manager, onFinish }) => {
296
295
  return /* @__PURE__ */ u(IncodeComponent, { children: config || manager ? /* @__PURE__ */ u(EkybContent, {
297
296
  config,
298
297
  manager,
299
298
  onFinish
300
299
  }) : null });
301
300
  };
301
+ var EkybModule = withStandaloneModuleBootstrap(EkybModuleWithLocalConfig, "EKYB", { supportsExternalManager: true });
302
302
  registerIncodeModuleElement(EkybModule, "incode-ekyb");
303
303
  //#endregion
304
304
  export { EkybModule as t };
@@ -0,0 +1,2 @@
1
+ import { t as EkybModule } from "./ekybModule-bGDvjIj7.js";
2
+ export { EkybModule };
@@ -1,2 +1,2 @@
1
- import { t as EkycModule } from "../ekycModule-Clgu1ydz.js";
1
+ import { t as EkycModule } from "../ekycModule-DVVAasG2.js";
2
2
  export { EkycModule };
@@ -0,0 +1,2 @@
1
+ import { t as EkycModule } from "./ekycModule-DVVAasG2.js";
2
+ export { EkycModule };
@@ -1,18 +1,17 @@
1
- import { n as useTranslation } from "./i18n-CushpmmJ.js";
1
+ import { i as useTranslation } from "./uiConfig-DSGyRMSC.js";
2
2
  import { _ as y, d as T, l as A, v as u } from "./vendor-preact-DThS2ZQ_.js";
3
- import { a as useFormScrollable, l as useManager, s as useModuleTerminalCallbacks } from "./hooks-CxG4XS7P.js";
4
- import { t as IncodeComponent } from "./incodeComponent-BCd_bJev.js";
5
- import { t as Page } from "./page-DidH_RkX.js";
6
- import { t as Spinner } from "./spinner-BMeIEK1d.js";
7
- import { t as Button } from "./button-Dz6AsbmF.js";
8
- import { t as VerificationResult } from "./verificationResult-xubIOKNi.js";
9
- import { i as translateError, r as FormField, t as RadioGroupComposed } from "./radioGroupComposed-D2qsp3Vx.js";
10
- import { t as PhoneInputComposed } from "./phoneInputComposed-DaBNd-wY.js";
11
- import { t as DropdownComposed } from "./dropdownComposed-BHoaSeXB.js";
12
- import { t as DateInputComposed } from "./dateInputComposed-Dy8s_pst.js";
13
- import { t as registerIncodeModuleElement } from "./incodeModule-Bgg06vwW.js";
14
- import { n as getRequiredHintMode, t as getFieldHint } from "./requiredLabelHint-DmD8ZCH-.js";
15
- import { n as AddressAutocomplete, t as getAccessibleOptionLabel } from "./optionAccessibleLabel-RW68xECf.js";
3
+ import { f as useFormScrollable, g as useManager, i as Page, m as useModuleTerminalCallbacks, t as withStandaloneModuleBootstrap } from "./hooks-Bl4BccV8.js";
4
+ import { t as Spinner } from "./spinner-YXqSOUqg.js";
5
+ import { r as Button } from "./incode-logo-DasIBJw8.js";
6
+ import { t as IncodeComponent } from "./incodeComponent-DHbfYA-r.js";
7
+ import { t as VerificationResult } from "./verificationResult-4X7V8KzA.js";
8
+ import { i as translateError, r as FormField, t as RadioGroupComposed } from "./radioGroupComposed-YO_U82bM.js";
9
+ import { t as PhoneInputComposed } from "./phoneInputComposed-CJavLkBe.js";
10
+ import { t as DropdownComposed } from "./dropdownComposed-C0IZ1uRF.js";
11
+ import { t as DateInputComposed } from "./dateInputComposed-BBgQB4tl.js";
12
+ import { t as registerIncodeModuleElement } from "./incodeModule-BiwGYtcv.js";
13
+ import { n as getRequiredHintMode, t as getFieldHint } from "./requiredLabelHint-Dx0WS2cR.js";
14
+ import { n as AddressAutocomplete, t as getAccessibleOptionLabel } from "./optionAccessibleLabel-DAvz9vdG.js";
16
15
  import { createEkycManager } from "@incodetech/core/ekyc";
17
16
  //#region src/modules/ekyc/ekycModule.tsx
18
17
  /**
@@ -272,13 +271,14 @@ var EkycForm = ({ state, manager }) => {
272
271
  })]
273
272
  });
274
273
  };
275
- var EkycModule = ({ config, manager, onFinish }) => {
274
+ var EkycModuleWithLocalConfig = ({ config, manager, onFinish }) => {
276
275
  return /* @__PURE__ */ u(IncodeComponent, { children: config || manager ? /* @__PURE__ */ u(EkycContent, {
277
276
  config,
278
277
  manager,
279
278
  onFinish
280
279
  }) : null });
281
280
  };
281
+ var EkycModule = withStandaloneModuleBootstrap(EkycModuleWithLocalConfig, "EXTERNAL_VERIFICATION", { supportsExternalManager: true });
282
282
  registerIncodeModuleElement(EkycModule, "incode-ekyc");
283
283
  //#endregion
284
284
  export { EkycModule as t };
@@ -1,2 +1,2 @@
1
- import { n as ElectronicSignature, t as AeSignature } from "../electronic-signature-C-eiNR8V.js";
1
+ import { n as ElectronicSignature, t as AeSignature } from "../electronic-signature-Dy0hN6lu.js";
2
2
  export { AeSignature, ElectronicSignature };
@@ -1,16 +1,15 @@
1
- import { n as useTranslation, t as Trans } from "./i18n-CushpmmJ.js";
1
+ import { i as useTranslation, r as Trans } from "./uiConfig-DSGyRMSC.js";
2
2
  import { _ as y, h as q, l as A, v as u } from "./vendor-preact-DThS2ZQ_.js";
3
- import { l as useManager, s as useModuleTerminalCallbacks } from "./hooks-CxG4XS7P.js";
4
- import { t as IncodeComponent } from "./incodeComponent-BCd_bJev.js";
5
- import { t as Page } from "./page-DidH_RkX.js";
6
- import { t as Button } from "./button-Dz6AsbmF.js";
7
- import { d as ChevronLeftIcon, r as LockIcon } from "./icons-w6luRFtW.js";
8
- import { t as SuccessIcon } from "./successIcon-B5mGvdx1.js";
9
- import { t as AutoFocusTitle } from "./autoFocusTitle-IN4TR7QN.js";
10
- import { t as VerificationResult } from "./verificationResult-xubIOKNi.js";
11
- import { t as Checkbox } from "./checkbox-BZ3Vuawq.js";
12
- import { t as PdfViewer } from "./pdfViewer-XeOSCt-S.js";
13
- import { t as registerIncodeModuleElement } from "./incodeModule-Bgg06vwW.js";
3
+ import { g as useManager, i as Page, m as useModuleTerminalCallbacks } from "./hooks-Bl4BccV8.js";
4
+ import { r as Button } from "./incode-logo-DasIBJw8.js";
5
+ import { t as IncodeComponent } from "./incodeComponent-DHbfYA-r.js";
6
+ import { d as ChevronLeftIcon, r as LockIcon } from "./icons-CqDMnQ1g.js";
7
+ import { t as SuccessIcon } from "./successIcon-BshEyvXA.js";
8
+ import { t as AutoFocusTitle } from "./autoFocusTitle-DIuy3fAL.js";
9
+ import { t as VerificationResult } from "./verificationResult-4X7V8KzA.js";
10
+ import { t as Checkbox } from "./checkbox-CWH3awlJ.js";
11
+ import { t as PdfViewer } from "./pdfViewer-BVnrfnFA.js";
12
+ import { t as registerIncodeModuleElement } from "./incodeModule-BiwGYtcv.js";
14
13
  import { createElectronicSignatureManager } from "@incodetech/core/electronic-signature";
15
14
  //#region src/modules/electronic-signature/documentIllustration.tsx
16
15
  var DocumentIllustration = () => /* @__PURE__ */ u("svg", {
@@ -1,13 +1,12 @@
1
- import { n as useTranslation } from "../i18n-CushpmmJ.js";
1
+ import { i as useTranslation } from "../uiConfig-DSGyRMSC.js";
2
2
  import { _ as y, p as d, v as u } from "../vendor-preact-DThS2ZQ_.js";
3
- import { l as useManager, o as isTerminalModuleState, s as useModuleTerminalCallbacks } from "../hooks-CxG4XS7P.js";
4
- import { t as IncodeComponent } from "../incodeComponent-BCd_bJev.js";
5
- import { r as Spacer } from "../loadingIcon-B0ysgiNq.js";
6
- import { t as Page } from "../page-DidH_RkX.js";
7
- import { t as Button } from "../button-Dz6AsbmF.js";
8
- import { t as OtpInput } from "../otpInput-H_Y9R8B8.js";
9
- import { t as registerIncodeModuleElement } from "../incodeModule-Bgg06vwW.js";
10
- import { t as EmailInput } from "../emailInput-BIXyslAC.js";
3
+ import { g as useManager, i as Page, m as useModuleTerminalCallbacks, p as isTerminalModuleState, t as withStandaloneModuleBootstrap } from "../hooks-Bl4BccV8.js";
4
+ import { t as Spacer } from "../spacer-I8ILMQiA.js";
5
+ import { r as Button } from "../incode-logo-DasIBJw8.js";
6
+ import { t as IncodeComponent } from "../incodeComponent-DHbfYA-r.js";
7
+ import { t as OtpInput } from "../otpInput-DLnLXnJo.js";
8
+ import { t as registerIncodeModuleElement } from "../incodeModule-BiwGYtcv.js";
9
+ import { t as EmailInput } from "../emailInput-CGDc3flM.js";
11
10
  import { createEmailManager } from "@incodetech/core/email";
12
11
  //#region src/modules/email/email.tsx
13
12
  /**
@@ -207,7 +206,7 @@ var EmailContent = ({ config, manager: externalManager, onFinish, onError }) =>
207
206
  *
208
207
  * @see {@link createEmailManager} for headless usage
209
208
  */
210
- var Email = ({ config, manager, onFinish, onError }) => {
209
+ var EmailWithLocalConfig = ({ config, manager, onFinish, onError }) => {
211
210
  return /* @__PURE__ */ u(IncodeComponent, { children: config || manager ? /* @__PURE__ */ u(EmailContent, {
212
211
  config,
213
212
  manager,
@@ -215,6 +214,7 @@ var Email = ({ config, manager, onFinish, onError }) => {
215
214
  onError
216
215
  }) : null });
217
216
  };
217
+ var Email = withStandaloneModuleBootstrap(EmailWithLocalConfig, "EMAIL", { supportsExternalManager: true });
218
218
  registerIncodeModuleElement(Email, "incode-email");
219
219
  //#endregion
220
220
  export { Email };
@@ -1,7 +1,7 @@
1
- import { n as useTranslation } from "./i18n-CushpmmJ.js";
1
+ import { i as useTranslation } from "./uiConfig-DSGyRMSC.js";
2
2
  import { v as u } from "./vendor-preact-DThS2ZQ_.js";
3
- import "./extensibility-Dv0Z50OE.js";
4
- import { t as InputComposed } from "./inputComposed-DzyxybSu.js";
3
+ import "./extensibility-DMroM1OU.js";
4
+ import { t as InputComposed } from "./inputComposed-C1Z4OxHI.js";
5
5
  //#region src/modules/email/emailInput.tsx
6
6
  var EMAIL_REGEX = /^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/;
7
7
  var EmailInput = ({ value, emailError, label, labelHint, disabled = false, required = false, id = "email-input", "data-testid": dataTestId, onEmailChange, onBlur }) => {
@@ -1,9 +1,9 @@
1
- import { n as useTranslation } from "./i18n-CushpmmJ.js";
1
+ import { i as useTranslation } from "./uiConfig-DSGyRMSC.js";
2
2
  import { _ as y, l as A, v as u } from "./vendor-preact-DThS2ZQ_.js";
3
- import { r as Spacer } from "./loadingIcon-B0ysgiNq.js";
4
- import { t as Page } from "./page-DidH_RkX.js";
5
- import { t as Title } from "./typography-BZIpjo97.js";
6
- import { t as Button } from "./button-Dz6AsbmF.js";
3
+ import { i as Page } from "./hooks-Bl4BccV8.js";
4
+ import { t as Spacer } from "./spacer-I8ILMQiA.js";
5
+ import { n as Title } from "./spinner-YXqSOUqg.js";
6
+ import { r as Button } from "./incode-logo-DasIBJw8.js";
7
7
  //#region src/shared/icons/redStrikeIcon.tsx
8
8
  var RedStrikeIcon = ({ className, ...rest }) => /* @__PURE__ */ u("svg", {
9
9
  class: className,