@incodetech/web 0.0.0-dev-20260416-e8e67a4 → 0.0.0-dev-20260416-3692bda

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 (104) hide show
  1. package/dist/{AsYouType-RC03ULcj.js → AsYouType-C9ozHT0m.js} +1 -1
  2. package/dist/{addressAutocomplete-n0bBMSty.js → addressAutocomplete-BPpO7rrX.js} +4 -4
  3. package/dist/ae-signature/ae-signature.es.js +2 -2
  4. package/dist/antifraud/antifraud.es.js +3 -3
  5. package/dist/authentication/authentication.es.js +3 -3
  6. package/dist/{button-BlHmZn6D.js → button-wmLHLQxG.js} +1 -1
  7. package/dist/{checkbox-BNgPsssk.js → checkbox-CM72oZfM.js} +2 -2
  8. package/dist/consent/consent.es.js +9 -9
  9. package/dist/cross-document-data-match/cross-document-data-match.es.js +3 -3
  10. package/dist/curp-validation/curp-validation.es.js +14 -14
  11. package/dist/{dateInputComposed-B8nKYsUG.js → dateInputComposed-CvIDakYb.js} +4 -4
  12. package/dist/dateInputComposed-fdBzdL8N.js +1 -0
  13. package/dist/{documentCapture-DHtlw3Lu.js → documentCapture-BAvYoKZ7.js} +65 -64
  14. package/dist/{dropdownComposed-CR1bc7Z9.js → dropdownComposed-BE7-ghHI.js} +3 -3
  15. package/dist/dropdownComposed-ChSksPc2.js +1 -0
  16. package/dist/ekyb/ekyb.es.js +1 -1
  17. package/dist/ekybModule-BeYiTLFg.js +2 -0
  18. package/dist/{ekybModule-BBSKwZZy.js → ekybModule-Dm6NrgtW.js} +14 -14
  19. package/dist/ekyc/ekyc.es.js +1 -1
  20. package/dist/{ekycModule-Dca-zhQw.js → ekycModule-ChHA8VPJ.js} +19 -19
  21. package/dist/ekycModule-zakzAXhB.js +2 -0
  22. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  23. package/dist/{electronic-signature-DEAXKbsk.js → electronic-signature-CPfLwg-x.js} +9 -9
  24. package/dist/email/email.es.js +8 -8
  25. package/dist/{extensibility-BlGCucJR.js → extensibility-t-H5EpZ8.js} +96 -95
  26. package/dist/extensibility.es.js +22 -22
  27. package/dist/face-match/face-match.es.js +1 -1
  28. package/dist/faceMatch-B74pDVYi.js +2 -0
  29. package/dist/{faceMatch-D6HVVSiY.js → faceMatch-ClWhkFUE.js} +6 -6
  30. package/dist/flow/flow.es.js +195 -186
  31. package/dist/{formField-B9_nvbhW.js → formField-9ouSScYr.js} +2 -2
  32. package/dist/geolocation/geolocation.es.js +6 -6
  33. package/dist/governmentValidation/governmentValidation.es.js +8 -8
  34. package/dist/homeScreen-C0-81utl.js +210 -0
  35. package/dist/{i18n-DUMvrSNM.js → i18n-BpEDCZi_.js} +1 -1
  36. package/dist/{icons-CVO6RxwW.js → icons-G_Ct2lZU.js} +1 -1
  37. package/dist/id/id.es.js +6 -6
  38. package/dist/identity-reuse/identity-reuse.es.js +6 -6
  39. package/dist/incode-logo-DX016usY.js +4 -0
  40. package/dist/{loadingIcon-ahC-hZN7.js → incodeComponent-DIb7wDAq.js} +2 -42
  41. package/dist/index.es.js +1 -1
  42. package/dist/inputComposed-BqRIZ9pG.js +1 -0
  43. package/dist/{inputComposed-COz9TuR1.js → inputComposed-d8s1aPjr.js} +3 -3
  44. package/dist/loadingIcon-HWY04StG.js +42 -0
  45. package/dist/{mandatoryConsent-DWwvkGGf.js → mandatoryConsent-BVrqZJDU.js} +9 -9
  46. package/dist/{modal-D75YXA_d.js → modal-BQF9tPLH.js} +2 -2
  47. package/dist/{otpInput-CNAOHZxZ.js → otpInput-OtCx4bG4.js} +4 -4
  48. package/dist/{page-kB-LDkaO.js → page-D5Mt-0zn.js} +4 -3
  49. package/dist/phone/phone.es.js +8 -8
  50. package/dist/{phoneInput-CzcmqH3C.js → phoneInput-DHepphBa.js} +3 -3
  51. package/dist/{phoneInputComposed-w9tF4xYB.js → phoneInputComposed-DOuz7g1p.js} +6 -6
  52. package/dist/{processing-CR7zb0TX.js → processing-LdRzxpWv.js} +2 -2
  53. package/dist/qe-signature/qe-signature.es.js +2 -2
  54. package/dist/{redirectToMobile-CYt-uhqB.js → redirectToMobile-1oLWg6QJ.js} +23 -21
  55. package/dist/{richText-MNrzpRze.js → richText-gJTUJEMX.js} +1 -1
  56. package/dist/selfie/selfie.es.js +4 -4
  57. package/dist/{setup-IE6CqyVs.js → setup-D7-7VjBv.js} +1 -1
  58. package/dist/signature/signature.es.js +9 -9
  59. package/dist/spinner-CFvndzMU.js +1 -0
  60. package/dist/{spinner-BAVCJLTE.js → spinner-l6dvYqCg.js} +7 -7
  61. package/dist/{tutorial-Dqk1zedL.js → tutorial-DMwavp-V.js} +43 -42
  62. package/dist/{typography-7cXma7kl.js → typography-CNNFm2Bl.js} +1 -1
  63. package/dist/typography-ClOy6Kmo.js +1 -0
  64. package/dist/{useModuleLoader-DPGKFaMr.js → useModuleLoader-C8N5qfo6.js} +109 -75
  65. package/dist/{verificationResult-LpiTdYIu.js → verificationResult-WLz8qNU8.js} +6 -6
  66. package/dist/{verifiedByIncode-CMPwRtA2.js → verifiedByIncode-ChZBpqNy.js} +12 -15
  67. package/dist/watchlist/watchlist.es.js +22 -21
  68. package/dist/workflow/workflow.es.js +18 -18
  69. package/package.json +2 -2
  70. package/dist/dateInputComposed-DnYA7nZG.js +0 -1
  71. package/dist/dropdownComposed-P1FeTlTM.js +0 -1
  72. package/dist/ekybModule-qBQ8sJSr.js +0 -2
  73. package/dist/ekycModule-R0YaUzV3.js +0 -2
  74. package/dist/faceMatch-CFxHH3ic.js +0 -2
  75. package/dist/home/home.es.js +0 -224
  76. package/dist/home/styles.css +0 -172
  77. package/dist/inputComposed-BWxnXHJf.js +0 -1
  78. package/dist/spinner-B-jf992b.js +0 -1
  79. package/dist/types/home.d.ts +0 -30
  80. package/dist/typography-CsEiWMTG.js +0 -1
  81. /package/dist/{aligndevicelottie-B9K1XnzC.js → aligndevicelottie-BfnvOtwi.js} +0 -0
  82. /package/dist/{back-horizontal-hint-Dy_Qglma.js → back-horizontal-hint-CpDPt7Pn.js} +0 -0
  83. /package/dist/{back-tutorial-Cc5SwoLa.js → back-tutorial-DRNlpp1o.js} +0 -0
  84. /package/dist/{back-vertical-hint-Dg3OKUKF.js → back-vertical-hint-CMS6HTd5.js} +0 -0
  85. /package/dist/{backdevicelottie-DPvn_MCA.js → backdevicelottie-DqTioBhp.js} +0 -0
  86. /package/dist/{blurdevicelottie-DGpZjyZE.js → blurdevicelottie-BCYf_azj.js} +0 -0
  87. /package/dist/{browser-ponyfill-CTu_YiCx.js → browser-ponyfill-CRq2EKxP.js} +0 -0
  88. /package/dist/{countries-DKKNtuUp.js → countries-Bbn2lyxr.js} +0 -0
  89. /package/dist/{defineProperty-DXvyTpBq.js → defineProperty-CqT6YdHJ.js} +0 -0
  90. /package/dist/{flip-animation-DwJvEqyX.js → flip-animation-Dj8sBkxM.js} +0 -0
  91. /package/dist/{front-horizontal-hint-DgopDgUF.js → front-horizontal-hint-C204EjG5.js} +0 -0
  92. /package/dist/{front-vertical-hint-nOpxcjqw.js → front-vertical-hint-BT8dqgFS.js} +0 -0
  93. /package/dist/{frontdevicelottie-DBrRXwKx.js → frontdevicelottie-BOCUyhYK.js} +0 -0
  94. /package/dist/{glaredevicelottie-DvG7qeiM.js → glaredevicelottie-g5gLJDcn.js} +0 -0
  95. /package/dist/{id-laser-h-BrG7qvHh.js → id-laser-h-C9wj3dpL.js} +0 -0
  96. /package/dist/{id-laser-v-Bt1xfH5h.js → id-laser-v-Bmnxnt0M.js} +0 -0
  97. /package/dist/{id-tutorial-WgpG0ahL.js → id-tutorial-CFTli-M3.js} +0 -0
  98. /package/dist/{incodeModule-Di2OUZ5_.js → incodeModule-D_r2n18O.js} +0 -0
  99. /package/dist/{numberedStep-LYLcVRNh.js → numberedStep-CR4w_BpM.js} +0 -0
  100. /package/dist/{passport-horizontal-hint-DXzBzsri.js → passport-horizontal-hint-DQ_bncwr.js} +0 -0
  101. /package/dist/{passport-tutorial-DEr1yuAg.js → passport-tutorial-Bihd5YfK.js} +0 -0
  102. /package/dist/{passport-vertical-hint-B8Sap2l6.js → passport-vertical-hint-Bck8hVuX.js} +0 -0
  103. /package/dist/{selfieTutorial-B5l5ny8O.js → selfieTutorial-Cu9vXjss.js} +0 -0
  104. /package/dist/{successIcon-AHrfmJvv.js → successIcon-C4GI_9SU.js} +0 -0
@@ -1,224 +0,0 @@
1
- import { a as e, n as t, o as n } from "../i18n-DUMvrSNM.js";
2
- import { _ as r, d as i, l as a, p as o, v as s } from "../vendor-preact-D6SntenC.js";
3
- import { n as c } from "../uiConfig-CwpQ-IM6.js";
4
- import { c as l, r as u } from "../loadingIcon-ahC-hZN7.js";
5
- import { t as d } from "../spacer-DCljE53A.js";
6
- import { t as f } from "../button-BlHmZn6D.js";
7
- import { t as p } from "../dropdownComposed-CR1bc7Z9.js";
8
- import "../dropdownComposed-P1FeTlTM.js";
9
- import { t as m } from "../modal-D75YXA_d.js";
10
- import { createHomeManager as h } from "@incodetech/core/home";
11
- //#endregion
12
- //#region src/modules/home/language.ts
13
- function g(e, t) {
14
- let [n, ...r] = Array.from(e);
15
- return n ? `${n.toLocaleUpperCase(t)}${r.join("")}` : e;
16
- }
17
- function _(t) {
18
- let [, n] = t.split("-");
19
- if (n && /^[A-Z]{2}$/.test(n)) return n;
20
- let r = e(t), i = Array.from(r).map((e) => e.codePointAt(0));
21
- if (i.length !== 2) return null;
22
- let a = i.map((e) => !e || e < 127462 || e > 127487 ? null : String.fromCharCode(e - 127462 + 65));
23
- return a.some((e) => e === null) ? null : a.join("");
24
- }
25
- function v(e, t) {
26
- return typeof Intl < "u" && Intl.DisplayNames !== void 0 ? g(new Intl.DisplayNames([t, "en"], { type: "language" }).of(e) ?? e, t) : g(e, t);
27
- }
28
- function y(t, n) {
29
- let r = t.split("-")[0] || t, i = _(t), a = v(r, n), o = i ? ` (${i})` : "";
30
- return `${e(t)} ${a}${o}`;
31
- }
32
- function b(t, n) {
33
- let r = e(t), [i, a] = t.split("-"), o = i || t, s = g(new Intl.DisplayNames([n, "en"], { type: "language" }).of(o) ?? o, n);
34
- if (a && !/^[A-Z]{2}$/.test(a)) return `${r} ${g(new Intl.DisplayNames([n, "en"], { type: "language" }).of(t) ?? t, n)}`;
35
- if (a) return `${r} ${s} (${new Intl.DisplayNames([n, "en"], { type: "region" }).of(a) ?? a})`;
36
- let c = _(t);
37
- return c ? `${r} ${s} (${c})` : `${r} ${s}`;
38
- }
39
- function x(e) {
40
- let t = [...new Set(n)].map((t) => ({
41
- value: t,
42
- label: b(t, e)
43
- }));
44
- return t.sort((e, t) => e.label.localeCompare(t.label)), t;
45
- }
46
- async function S(e, t) {
47
- await e(t), typeof localStorage < "u" && localStorage.setItem("language", t), typeof document < "u" && (document.documentElement.lang = t);
48
- }
49
- function C() {
50
- let { i18n: e } = t(), n = e.language || "en", r = i(() => x(n), [n]);
51
- return {
52
- selectedLanguage: n,
53
- selectedMainLanguageLabel: y(n, n),
54
- languageOptions: r,
55
- changeLanguage: (t) => S(e.changeLanguage.bind(e), t)
56
- };
57
- }
58
- //#endregion
59
- //#region src/modules/home/settings.tsx
60
- function w({ onClose: e }) {
61
- let { t: n } = t(), { selectedLanguage: r, languageOptions: i, changeLanguage: a } = C();
62
- return /* @__PURE__ */ s("section", {
63
- class: "IncodeHomeSettingsContainer",
64
- "aria-live": "polite",
65
- children: [
66
- /* @__PURE__ */ s(m.Close, {
67
- "aria-label": n("settings.close"),
68
- "data-testid": "home-settings-close-button",
69
- onClick: e
70
- }),
71
- /* @__PURE__ */ s("div", {
72
- class: "IncodeHomeSettingsBody",
73
- children: [
74
- /* @__PURE__ */ s("h1", {
75
- class: "IncodeHomeSettingsTitle",
76
- tabIndex: -1,
77
- children: n("settings.settings")
78
- }),
79
- /* @__PURE__ */ s(d, { size: 32 }),
80
- /* @__PURE__ */ s("div", {
81
- class: "IncodeHomeSettingsBodyContent",
82
- children: /* @__PURE__ */ s(p, {
83
- id: "home-language",
84
- label: n("v2.settings.language"),
85
- value: r,
86
- options: i,
87
- onChange: async (e) => {
88
- await a(e);
89
- },
90
- searchable: !0,
91
- "data-testid": "home-language-select"
92
- })
93
- })
94
- ]
95
- }),
96
- /* @__PURE__ */ s("div", {
97
- class: "IncodeHomeSettingsFooter",
98
- children: /* @__PURE__ */ s(f, {
99
- onClick: e,
100
- "data-testid": "home-settings-done-button",
101
- children: n("settings.done")
102
- })
103
- })
104
- ]
105
- });
106
- }
107
- //#endregion
108
- //#region src/modules/home/settingsIcon.tsx
109
- function T() {
110
- return /* @__PURE__ */ s("svg", {
111
- width: "30",
112
- height: "30",
113
- viewBox: "0 0 30 30",
114
- fill: "none",
115
- xmlns: "http://www.w3.org/2000/svg",
116
- "aria-hidden": "true",
117
- children: [
118
- /* @__PURE__ */ s("path", {
119
- fillRule: "evenodd",
120
- clipRule: "evenodd",
121
- d: "M4.5 15.3187C4.5 14.1593 5.44055 13.2188 6.6 13.2188C7.75945 13.2188 8.7 14.1593 8.7 15.3187C8.7 16.4782 7.75945 17.4187 6.6 17.4187C5.44055 17.4187 4.5 16.4782 4.5 15.3187Z",
122
- fill: "currentColor"
123
- }),
124
- /* @__PURE__ */ s("path", {
125
- fillRule: "evenodd",
126
- clipRule: "evenodd",
127
- d: "M12.9004 15.3187C12.9004 14.1593 13.841 13.2188 15.0004 13.2188C16.1598 13.2188 17.1004 14.1593 17.1004 15.3187C17.1004 16.4782 16.1598 17.4187 15.0004 17.4187C13.841 17.4187 12.9004 16.4782 12.9004 15.3187Z",
128
- fill: "currentColor"
129
- }),
130
- /* @__PURE__ */ s("path", {
131
- fillRule: "evenodd",
132
- clipRule: "evenodd",
133
- d: "M21.2998 15.3187C21.2998 14.1593 22.2404 13.2188 23.3998 13.2188C24.5592 13.2188 25.4998 14.1593 25.4998 15.3187C25.4998 16.4782 24.5592 17.4187 23.3998 17.4187C22.2404 17.4187 21.2998 16.4782 21.2998 15.3187Z",
134
- fill: "currentColor"
135
- })
136
- ]
137
- });
138
- }
139
- //#endregion
140
- //#region src/modules/home/main.tsx
141
- function E({ onContinue: e }) {
142
- let { t: n } = t(), { logoSrc: i, subtitle: l } = c(), { selectedMainLanguageLabel: u } = C(), p = a(null), h = i || "data:image/svg+xml,%3csvg%20width='187'%20height='51'%20viewBox='0%200%20187%2051'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M168.419%2047.1851C165.3%2047.1851%20162.576%2046.5612%20160.247%2045.3136C157.918%2044.0243%20156.109%2042.1528%20154.819%2039.699C153.53%2037.2452%20152.885%2034.2924%20152.885%2030.8405C152.885%2025.3507%20154.195%2021.171%20156.816%2018.3013C159.477%2015.39%20163.2%2013.9344%20167.982%2013.9344C171.434%2013.9344%20174.2%2014.683%20176.279%2016.1802C178.4%2017.6774%20179.939%2019.8193%20180.896%2022.6058C181.894%2025.3507%20182.372%2028.6362%20182.331%2032.4625H158.001L157.377%2027.0974H176.03L174.533%2029.3433C174.449%2026.0577%20173.867%2023.7079%20172.786%2022.2939C171.746%2020.8382%20170.062%2020.1104%20167.733%2020.1104C166.319%2020.1104%20165.071%2020.4431%20163.99%2021.1086C162.95%2021.7324%20162.139%2022.7929%20161.557%2024.2901C161.016%2025.7874%20160.746%2027.846%20160.746%2030.4662C160.746%2033.7101%20161.515%2036.2055%20163.054%2037.9522C164.593%2039.6574%20166.943%2040.51%20170.103%2040.51C171.393%2040.51%20172.62%2040.3852%20173.784%2040.1357C174.99%2039.8446%20176.092%2039.5118%20177.09%2039.1375C178.13%2038.7632%20179.004%2038.4097%20179.711%2038.077V45.064C178.255%2045.6879%20176.591%2046.1869%20174.72%2046.5612C172.89%2046.9771%20170.79%2047.1851%20168.419%2047.1851Z'%20fill='%23006AFF'/%3e%3cpath%20d='M133.067%2047.1851C130.905%2047.1851%20128.846%2046.9355%20126.891%2046.4365C124.937%2045.9374%20123.211%2045.064%20121.713%2043.8163C120.216%2042.5687%20119.031%2040.8427%20118.158%2038.6385C117.326%2036.4342%20116.91%2033.627%20116.91%2030.2166C116.91%2025.1843%20118.137%2021.2125%20120.59%2018.3013C123.044%2015.39%20126.767%2013.9344%20131.757%2013.9344C132.464%2013.9344%20133.379%2014.0176%20134.502%2014.1839C135.625%2014.3503%20136.769%2014.6414%20137.933%2015.0573C139.139%2015.4316%20140.179%2016.0347%20141.052%2016.8665L139.306%2019.3618V1.76953H147.104V38.888C147.104%2040.302%20146.688%2041.5289%20145.856%2042.5687C145.066%2043.6084%20143.984%2044.4818%20142.612%2045.1888C141.24%2045.8542%20139.722%2046.3533%20138.058%2046.686C136.394%2047.0187%20134.731%2047.1851%20133.067%2047.1851ZM133.317%2040.4476C135.022%2040.4476%20136.436%2040.2397%20137.559%2039.8238C138.723%2039.4079%20139.306%2038.8048%20139.306%2038.0146V22.0443C138.391%2021.5037%20137.413%2021.1086%20136.374%2020.859C135.334%2020.6095%20134.336%2020.4847%20133.379%2020.4847C131.466%2020.4847%20129.886%2020.8382%20128.638%2021.5453C127.39%2022.2107%20126.455%2023.292%20125.831%2024.7892C125.207%2026.2448%20124.895%2028.1164%20124.895%2030.4038C124.895%2032.4001%20125.145%2034.1468%20125.644%2035.644C126.143%2037.1413%20126.995%2038.3265%20128.201%2039.1999C129.449%2040.0317%20131.154%2040.4476%20133.317%2040.4476Z'%20fill='%23006AFF'/%3e%3cpath%20d='M97.1975%2047.1851C92.0404%2047.1851%2088.1726%2045.7502%2085.5941%2042.8806C83.0155%2040.0109%2081.7262%2035.8728%2081.7262%2030.4662C81.7262%2024.6852%2083.0363%2020.4847%2085.6564%2017.8646C88.3182%2015.2445%2092.1444%2013.9344%2097.1351%2013.9344C100.629%2013.9344%20103.54%2014.5583%20105.869%2015.8059C108.198%2017.012%20109.924%2018.8419%20111.047%2021.2957C112.211%2023.7495%20112.793%2026.8063%20112.793%2030.4662C112.793%2035.8728%20111.442%2040.0109%20108.739%2042.8806C106.077%2045.7502%20102.23%2047.1851%2097.1975%2047.1851ZM97.1975%2040.6971C99.0274%2040.6971%20100.504%2040.2812%20101.627%2039.4495C102.791%2038.6177%20103.644%2037.4532%20104.184%2035.956C104.725%2034.4171%20104.995%2032.5872%20104.995%2030.4662C104.995%2028.0956%20104.704%2026.1617%20104.122%2024.6645C103.581%2023.1672%20102.729%2022.0651%20101.564%2021.3581C100.441%2020.6511%2098.9858%2020.2976%2097.1975%2020.2976C95.3675%2020.2976%2093.8911%2020.6719%2092.7682%2021.4205C91.6453%2022.1691%2090.8135%2023.292%2090.2729%2024.7892C89.7738%2026.2864%2089.5242%2028.1788%2089.5242%2030.4662C89.5242%2033.7933%2090.1273%2036.3303%2091.3334%2038.077C92.5395%2039.8238%2094.4942%2040.6971%2097.1975%2040.6971Z'%20fill='%23006AFF'/%3e%3cpath%20d='M67.8132%2046.9355C65.7337%2046.9355%2063.7374%2046.6444%2061.8243%2046.0622C59.9112%2045.4799%2058.206%2044.5442%2056.7088%2043.2549C55.2116%2041.9656%2054.0263%2040.302%2053.1529%2038.2642C52.2795%2036.2263%2051.8429%2033.7517%2051.8429%2030.8405C51.8429%2027.8044%2052.2588%2025.2259%2053.0905%2023.1049C53.9223%2020.9838%2055.066%2019.2578%2056.5217%2017.927C57.9773%2016.5545%2059.6617%2015.5772%2061.5748%2014.9949C63.5295%2014.3711%2065.5881%2014.0592%2067.7508%2014.0592C69.4143%2014.0592%2071.1195%2014.2255%2072.8663%2014.5583C74.613%2014.891%2076.1726%2015.3692%2077.5451%2015.9931V22.8553C76.131%2022.2315%2074.717%2021.7324%2073.3029%2021.3581C71.8889%2020.9422%2070.4333%2020.7343%2068.9361%2020.7343C66.0248%2020.7343%2063.7582%2021.4621%2062.1362%2022.9177C60.5142%2024.3733%2059.7032%2026.7647%2059.7032%2030.0919C59.7032%2033.5022%2060.4311%2036.0391%2061.8867%2037.7027C63.3839%2039.3663%2065.8377%2040.1981%2069.248%2040.1981C70.7868%2040.1981%2072.284%2039.9693%2073.7396%2039.5118C75.1953%2039.0128%2076.4845%2038.4721%2077.6075%2037.8899V44.8145C76.1518%2045.5215%2074.6338%2046.0414%2073.0534%2046.3741C71.473%2046.7484%2069.7263%2046.9355%2067.8132%2046.9355Z'%20fill='%23006AFF'/%3e%3cpath%20d='M17.5517%2017.4279C18.425%2017.012%2019.4648%2016.5961%2020.6709%2016.1802C21.8769%2015.7643%2023.187%2015.4108%2024.601%2015.1197C26.0151%2014.787%2027.4291%2014.5375%2028.8432%2014.3711C30.2988%2014.1631%2031.6712%2014.0592%2032.9605%2014.0592C35.8717%2014.0592%2038.2839%2014.4543%2040.197%2015.2445C42.1517%2015.9931%2043.6074%2017.1992%2044.5639%2018.8627C45.5621%2020.4847%2046.0611%2022.6266%2046.0611%2025.2883V46.2493H38.2008V26.6607C38.2008%2025.8705%2038.0968%2025.1219%2037.8888%2024.4149C37.6809%2023.6663%2037.3274%2023.0217%2036.8283%2022.481C36.3292%2021.8988%2035.643%2021.4621%2034.7696%2021.171C33.8963%2020.8382%2032.7733%2020.6719%2031.4009%2020.6719C30.3612%2020.6719%2029.3006%2020.7759%2028.2193%2020.9838C27.138%2021.1917%2026.223%2021.4621%2025.4744%2021.7948V46.2493H17.5517V17.4279Z'%20fill='%23006AFF'/%3e%3cpath%20d='M1.92836%2046.2493V15.1197H9.85113L9.91351%2046.2493H1.92836ZM1.74121%2010.129V3.64105H10.0383V10.129H1.74121Z'%20fill='%23006AFF'/%3e%3c/svg%3e", [g, _] = o(!1);
143
- return r(() => {
144
- p.current?.focus();
145
- }, []), /* @__PURE__ */ s("main", {
146
- class: "IncodeHome",
147
- "aria-live": "polite",
148
- children: [/* @__PURE__ */ s("div", {
149
- class: "IncodeHomeContent",
150
- children: [
151
- /* @__PURE__ */ s("header", {
152
- class: "IncodeHomeHeader",
153
- children: [/* @__PURE__ */ s("div", {
154
- class: "IncodeHomeLanguage",
155
- children: [
156
- /* @__PURE__ */ s("p", {
157
- class: "IncodeHomeLanguageLabel",
158
- children: n("home.language")
159
- }),
160
- /* @__PURE__ */ s(d, { size: 8 }),
161
- /* @__PURE__ */ s("p", {
162
- class: "IncodeHomeLanguageValue",
163
- children: u
164
- })
165
- ]
166
- }), /* @__PURE__ */ s("button", {
167
- type: "button",
168
- class: "IncodeHomeSettingsButton",
169
- onClick: () => _(!0),
170
- "aria-label": n("home.goToSettings"),
171
- "data-testid": "home-settings-button",
172
- children: /* @__PURE__ */ s(T, {})
173
- })]
174
- }),
175
- /* @__PURE__ */ s("div", {
176
- class: "IncodeHomeCenterSection",
177
- children: [/* @__PURE__ */ s("div", {
178
- class: "IncodeHomeLogoContainer",
179
- children: /* @__PURE__ */ s("img", {
180
- src: h,
181
- alt: "",
182
- class: "IncodeHomeLogo",
183
- "data-testid": "home-logo",
184
- "aria-hidden": "true"
185
- })
186
- }), l ? /* @__PURE__ */ s("h2", {
187
- ref: p,
188
- class: "IncodeHomeSubtitle",
189
- tabIndex: -1,
190
- children: l
191
- }) : null]
192
- }),
193
- /* @__PURE__ */ s(f, {
194
- onClick: e,
195
- class: "IncodeHomeStartButton",
196
- "data-testid": "home-start-button",
197
- children: n("home.start")
198
- })
199
- ]
200
- }), /* @__PURE__ */ s(m.Root, {
201
- open: g,
202
- onOpenChange: (e) => _(e),
203
- class: "IncodeHomeSettingsModal",
204
- children: /* @__PURE__ */ s(m.Content, { children: /* @__PURE__ */ s(w, { onClose: () => _(!1) }) })
205
- })]
206
- });
207
- }
208
- //#endregion
209
- //#region src/modules/home/home.tsx
210
- var D = ({ config: e, manager: t, onFinish: n }) => {
211
- let [i, a] = l(() => t || h({ config: e }), { manageLifecycle: !t });
212
- return r(() => {
213
- i.status === "finished" && n?.();
214
- }, [n, i.status]), i.status === "finished" ? null : i.status === "main" ? /* @__PURE__ */ s(E, { onContinue: () => a.complete() }) : null;
215
- };
216
- function O({ config: e, manager: t, onFinish: n }) {
217
- return /* @__PURE__ */ s(u, { children: /* @__PURE__ */ s(D, {
218
- config: e ?? {},
219
- manager: t,
220
- onFinish: n
221
- }) });
222
- }
223
- //#endregion
224
- export { O as Home };
@@ -1,172 +0,0 @@
1
- /*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
2
- @layer properties {
3
- @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
4
- *, :before, :after, ::backdrop {
5
- --tw-border-style: solid;
6
- }
7
- }
8
- }
9
-
10
- .IncodeHome {
11
- background-color: var(--color-surface-neutral-0, var(--surface-neutral-0));
12
- width: 100%;
13
- height: 100%;
14
- padding-inline: var(--spacing-24, var(--spacing-24, 24px));
15
- padding-top: var(--spacing-20, var(--spacing-20, 20px));
16
- padding-bottom: var(--spacing-32, var(--spacing-32, 32px));
17
- flex-direction: column;
18
- display: flex;
19
- }
20
-
21
- .IncodeHome .IncodeHomeContent {
22
- flex-direction: column;
23
- width: 100%;
24
- height: 100%;
25
- display: flex;
26
- }
27
-
28
- .IncodeHome .IncodeHomeHeader {
29
- justify-content: space-between;
30
- align-items: flex-start;
31
- gap: var(--spacing-16, var(--spacing-16, 16px));
32
- display: flex;
33
- }
34
-
35
- .IncodeHome .IncodeHomeLanguage {
36
- flex-direction: column;
37
- display: flex;
38
- }
39
-
40
- .IncodeHome .IncodeHomeLanguageLabel {
41
- margin: var(--spacing-0, var(--spacing-none, 0px));
42
- font-family: var(--typography-label-family);
43
- font-size: var(--typography-label-m-size);
44
- font-weight: var(--typography-label-m-weight);
45
- line-height: var(--typography-label-m-line-height);
46
- letter-spacing: var(--typography-label-m-letter-spacing);
47
- color: var(--color-text-body-primary, var(--text-body-800-primary));
48
- }
49
-
50
- .IncodeHome .IncodeHomeLanguageValue {
51
- margin: var(--spacing-0, var(--spacing-none, 0px));
52
- font-family: var(--typography-body-family);
53
- font-size: var(--typography-body-m-regular-size);
54
- font-weight: var(--typography-body-m-regular-weight);
55
- line-height: var(--typography-body-m-regular-line-height);
56
- letter-spacing: var(--typography-body-m-regular-letter-spacing);
57
- color: var(--color-text-body-secondary, var(--text-body-500-secondary));
58
- }
59
-
60
- .IncodeHome .IncodeHomeSettingsButton {
61
- border-style: var(--tw-border-style);
62
- border-width: var(--border-width-none, var(--primitive-border-width-0));
63
- --tw-border-style: none;
64
- padding: var(--spacing-0, var(--spacing-none, 0px));
65
- color: var(--color-text-body-secondary, var(--text-body-500-secondary));
66
- background-color: #0000;
67
- border-style: none;
68
- justify-content: center;
69
- align-items: center;
70
- display: flex;
71
- }
72
-
73
- .IncodeHome .IncodeHomeSettingsButton:focus-visible {
74
- outline: var(--focus-outline-width) solid var(--border-status-focus);
75
- outline-offset: var(--focus-outline-offset);
76
- }
77
-
78
- .IncodeHome .IncodeHomeCenterSection {
79
- text-align: center;
80
- flex-direction: column;
81
- flex: 1;
82
- justify-content: center;
83
- align-items: center;
84
- display: flex;
85
- }
86
-
87
- .IncodeHome .IncodeHomeLogoContainer {
88
- width: 100%;
89
- max-width: var(--home-logo-container-max-width);
90
- justify-content: center;
91
- align-items: center;
92
- display: flex;
93
- }
94
-
95
- .IncodeHome .IncodeHomeLogo {
96
- object-fit: contain;
97
- width: 100%;
98
- max-width: 100%;
99
- height: auto;
100
- max-height: var(--home-logo-max-height);
101
- }
102
-
103
- .IncodeHome .IncodeHomeSubtitle {
104
- margin-top: var(--spacing-12, var(--spacing-12, 12px));
105
- font-family: var(--typography-headline-family);
106
- font-size: var(--typography-headline-h4-size);
107
- font-weight: var(--typography-headline-h4-weight);
108
- line-height: var(--typography-headline-h4-line-height);
109
- letter-spacing: var(--typography-headline-h4-letter-spacing);
110
- color: var(--color-text-body-secondary, var(--text-body-500-secondary));
111
- --tw-outline-style: none;
112
- outline-style: none;
113
- }
114
-
115
- .IncodeHome .IncodeHomeStartButton {
116
- margin-top: auto;
117
- }
118
-
119
- .IncodeHomeSettingsModal.IncodeModalRoot .IncodeModalDialog {
120
- max-width: none;
121
- height: 100%;
122
- max-height: 100%;
123
- }
124
-
125
- .IncodeHomeSettingsModal.IncodeModalRoot .IncodeModalContent {
126
- border-radius: var(--radius-none, var(--border-radius-none));
127
- max-width: none;
128
- height: 100%;
129
- padding-inline: var(--spacing-24, var(--spacing-24, 24px));
130
- padding-block: var(--spacing-32, var(--spacing-32, 32px));
131
- align-items: stretch;
132
- }
133
-
134
- .IncodeHomeSettingsModal .IncodeHomeSettingsContainer {
135
- flex-direction: column;
136
- flex: 1;
137
- width: 100%;
138
- display: flex;
139
- }
140
-
141
- .IncodeHomeSettingsModal .IncodeHomeSettingsBody {
142
- flex-direction: column;
143
- flex: 1;
144
- display: flex;
145
- }
146
-
147
- .IncodeHomeSettingsModal .IncodeHomeSettingsTitle {
148
- margin: var(--spacing-0, var(--spacing-none, 0px));
149
- font-family: var(--typography-headline-family);
150
- font-size: var(--typography-headline-h2-size);
151
- font-weight: var(--typography-headline-h2-weight);
152
- line-height: var(--typography-headline-h2-line-height);
153
- letter-spacing: var(--typography-headline-h2-letter-spacing);
154
- color: var(--color-text-body-primary, var(--text-body-800-primary));
155
- }
156
-
157
- .IncodeHomeSettingsModal .IncodeHomeSettingsFooter {
158
- margin-top: var(--spacing-24, var(--spacing-24, 24px));
159
- }
160
-
161
- .IncodeHomeSettingsModal .IncodeHomeSettingsBodyContent {
162
- flex-direction: row;
163
- justify-content: center;
164
- align-items: center;
165
- display: flex;
166
- }
167
-
168
- @property --tw-border-style {
169
- syntax: "*";
170
- inherits: false;
171
- initial-value: solid;
172
- }
@@ -1 +0,0 @@
1
- import "./inputComposed-COz9TuR1.js";
@@ -1 +0,0 @@
1
- import "./spinner-BAVCJLTE.js";
@@ -1,30 +0,0 @@
1
- import { HomeConfig } from '@incodetech/core/home';
2
- import { HomeManager } from '@incodetech/core/home';
3
- import { JSX } from 'preact';
4
-
5
- export declare function Home({ config, manager, onFinish }: HomeProps): JSX.Element;
6
-
7
- declare type HomeProps = IncodeModuleProps<HomeConfig, void, HomeManager>;
8
-
9
- declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown> = {
10
- /**
11
- * Module configuration required to render the flow.
12
- * For Web Components, this is typically assigned via `element.config = ...`.
13
- */
14
- config?: TConfig;
15
- /**
16
- * Optional pre-built manager. When provided, the module does not create or manage the manager lifecycle.
17
- */
18
- manager?: TManager;
19
- /**
20
- * Callback invoked when the module completes successfully.
21
- * @param result - Optional result data from the module completion
22
- */
23
- onFinish?: (result?: TResult) => void;
24
- /**
25
- * Callback invoked when a fatal module error occurs.
26
- */
27
- onError?: (error: string | undefined) => void;
28
- };
29
-
30
- export { }
@@ -1 +0,0 @@
1
- import "./typography-7cXma7kl.js";