@incodetech/web 2.0.0 → 2.0.1

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 (178) hide show
  1. package/dist/ae-signature/ae-signature.es.js +15 -0
  2. package/dist/ae-signature/styles.css +348 -0
  3. package/dist/ae-signature/styles2.css +107 -0
  4. package/dist/aligndevicelottie-DoV8xKjh.js +12757 -0
  5. package/dist/antifraud/antifraud.es.js +18 -0
  6. package/dist/antifraud/styles.css +2 -0
  7. package/dist/authentication/authentication.es.js +29 -0
  8. package/dist/autoFocusTitle-QexamZ4i.js +16 -0
  9. package/dist/back-horizontal-hint-B8Brxh3U.js +137 -0
  10. package/dist/back-tutorial-1NOQobGO.js +14585 -0
  11. package/dist/back-vertical-hint-BBo36dxn.js +128 -0
  12. package/dist/backdevicelottie-C_ceuqY7.js +16678 -0
  13. package/dist/base.css +8146 -0
  14. package/dist/blurdevicelottie-UO14Y0WC.js +15939 -0
  15. package/dist/bottomSheet-DE_8TFEC.js +31 -0
  16. package/dist/browser-ponyfill-jOkuz57z.js +299 -0
  17. package/dist/button-DcCUEn2n.js +24 -0
  18. package/dist/checkbox-Cl57ltq_.js +85 -0
  19. package/dist/consent/consent.es.js +90 -0
  20. package/dist/consent/styles.css +116 -0
  21. package/dist/countrySelector-CE-JgIsv.js +58 -0
  22. package/dist/cpf-ocr/styles.css +45 -0
  23. package/dist/cpfOcr-D_tbwbvh.js +78 -0
  24. package/dist/cross-document-data-match/cross-document-data-match.es.js +18 -0
  25. package/dist/curp-validation/curp-validation.es.js +279 -0
  26. package/dist/curp-validation/styles.css +82 -0
  27. package/dist/custom-fields/styles.css +22 -0
  28. package/dist/customFields-CW38fQUv.js +127 -0
  29. package/dist/customWatchlist-D9_yjEQd.js +33 -0
  30. package/dist/dateInputComposed-BpAGsjN6.js +55 -0
  31. package/dist/dateInputComposed-DU3o6PAV.js +1 -0
  32. package/dist/defineProperty-Dh8nSJpJ.js +39 -0
  33. package/dist/document-capture/styles.css +367 -0
  34. package/dist/documentCapture-xX-JT7ZY.js +763 -0
  35. package/dist/dropdownComposed-DFRBG22E.js +284 -0
  36. package/dist/dropdownComposed-DwTzc2YU.js +1 -0
  37. package/dist/dynamic-forms/styles.css +36 -0
  38. package/dist/dynamicForms-CJP1Ia6Q.js +262 -0
  39. package/dist/ekyb/ekyb.es.js +2 -0
  40. package/dist/ekyb/styles.css +137 -0
  41. package/dist/ekybModule-BSs7mndb.js +280 -0
  42. package/dist/ekybModule-D9M3E2Gm.js +2 -0
  43. package/dist/ekyc/ekyc.es.js +2 -0
  44. package/dist/ekyc/styles.css +106 -0
  45. package/dist/ekycModule-CU9pt5YN.js +246 -0
  46. package/dist/ekycModule-CZw9cLno.js +2 -0
  47. package/dist/electronic-signature/electronic-signature.es.js +2 -0
  48. package/dist/electronic-signature-COYXjGdd.js +410 -0
  49. package/dist/email/email.es.js +87 -0
  50. package/dist/email/styles.css +12 -0
  51. package/dist/emailInput-DppGf9pv.js +37 -0
  52. package/dist/expiredId-BnmzE8T3.js +70 -0
  53. package/dist/extensibility-CzEJfRwo.js +2586 -0
  54. package/dist/extensibility.es.js +25 -0
  55. package/dist/face-match/face-match.es.js +2 -0
  56. package/dist/face-match/styles.css +1078 -0
  57. package/dist/faceMatch-B8j0g0Yo.js +2 -0
  58. package/dist/faceMatch-BV8UD7tj.js +201 -0
  59. package/dist/flip-animation-CgwRsEmK.js +6983 -0
  60. package/dist/flow/flow.es.js +661 -0
  61. package/dist/flow/styles.css +8478 -0
  62. package/dist/front-horizontal-hint-DGGGi8e1.js +380 -0
  63. package/dist/front-vertical-hint-CNr5mE6Q.js +420 -0
  64. package/dist/frontdevicelottie-Bu6f9fDE.js +17302 -0
  65. package/dist/geolocation/geolocation.es.js +857 -0
  66. package/dist/geolocation/styles.css +158 -0
  67. package/dist/glaredevicelottie-B10axYs_.js +14466 -0
  68. package/dist/governmentValidation/governmentValidation.es.js +98 -0
  69. package/dist/governmentValidation/styles.css +58 -0
  70. package/dist/homeScreen-DnP1jw9A.js +227 -0
  71. package/dist/hooks-BVnGysT7.js +80 -0
  72. package/dist/i18n-9s4OSqwi.js +2010 -0
  73. package/dist/icons-Cc7zwchP.js +310 -0
  74. package/dist/id/id.es.js +832 -0
  75. package/dist/id/styles.css +1287 -0
  76. package/dist/id-laser-h-mBAzHVOK.js +467 -0
  77. package/dist/id-laser-v-CrFg4bcJ.js +483 -0
  78. package/dist/id-ocr/styles.css +46 -0
  79. package/dist/id-tutorial-BCr42Pnn.js +13153 -0
  80. package/dist/id-verification/id-verification.es.js +20 -0
  81. package/dist/idOcr-CCjfWQvH.js +94 -0
  82. package/dist/identity-reuse/identity-reuse.es.js +198 -0
  83. package/dist/identity-reuse/styles.css +163 -0
  84. package/dist/incode-logo-DX016usY.js +4 -0
  85. package/dist/incodeComponent-C1o4M0ZK.js +50 -0
  86. package/dist/incodeModule-BqCjVgEI.js +18 -0
  87. package/dist/index.es.js +16 -0
  88. package/dist/inputComposed-APSw8C7o.js +89 -0
  89. package/dist/inputComposed-XYrarFxS.js +1 -0
  90. package/dist/loadingIcon-BN5YRQUb.js +104 -0
  91. package/dist/mandatoryConsent-DssKMC3v.js +100 -0
  92. package/dist/modal-NMxsQHAO.js +135 -0
  93. package/dist/modal.hooks-CAjcIFZK.js +126 -0
  94. package/dist/numberedStep-CT-alrK5.js +11 -0
  95. package/dist/optionAccessibleLabel-CzEeX3Q4.js +140 -0
  96. package/dist/otpInput-DqRA_egd.js +145 -0
  97. package/dist/page-C1yT4DLb.js +69 -0
  98. package/dist/passport-horizontal-hint-Bgquwtac.js +293 -0
  99. package/dist/passport-tutorial-DwRwtPVX.js +11689 -0
  100. package/dist/passport-vertical-hint-BT1D5BrW.js +267 -0
  101. package/dist/pdf-BurGZ08w.js +14967 -0
  102. package/dist/pdfViewer-BGBNL1Ea.js +63 -0
  103. package/dist/phone/phone.es.js +98 -0
  104. package/dist/phone/styles.css +11 -0
  105. package/dist/phoneInputComposed-bvWhGLFZ.js +11206 -0
  106. package/dist/processing-G_y3o32b.js +6 -0
  107. package/dist/qe-signature/qe-signature.es.js +15 -0
  108. package/dist/radioGroupComposed-BbmvxmD2.js +177 -0
  109. package/dist/redirect-to-mobile/styles.css +588 -0
  110. package/dist/redirectToMobile-C3k1gloW.js +1514 -0
  111. package/dist/requiredLabelHint-BLwgqozE.js +13 -0
  112. package/dist/richText-DbJ5sl2n.js +1973 -0
  113. package/dist/rolldown-runtime-CYMK-g2i.js +20 -0
  114. package/dist/selfie/selfie.es.js +43 -0
  115. package/dist/selfie/styles.css +1144 -0
  116. package/dist/selfieTutorial-BgrlUMXP.js +2677 -0
  117. package/dist/signature/signature.es.js +546 -0
  118. package/dist/snackbar-BDp8x7Cv.js +14 -0
  119. package/dist/spinner-B4dcie2T.js +1 -0
  120. package/dist/spinner-CKnjVHxw.js +39 -0
  121. package/dist/statusPage-CUI7ApcU.js +28 -0
  122. package/dist/successIcon-DbILeIz_.js +28 -0
  123. package/dist/tabs-DaPyP71c.js +78 -0
  124. package/dist/themes/dark.css +1347 -0
  125. package/dist/themes/light.css +1225 -0
  126. package/dist/transitionSpinner-PIEPU2Vx.js +17 -0
  127. package/dist/tutorial-9vHAHvMK.js +2587 -0
  128. package/dist/types/ae-signature.d.ts +40 -0
  129. package/dist/types/antifraud.d.ts +40 -0
  130. package/dist/types/authentication.d.ts +45 -0
  131. package/dist/types/base.d.ts +1 -0
  132. package/dist/types/consent.d.ts +41 -0
  133. package/dist/types/cpf-ocr/styles.d.ts +1 -0
  134. package/dist/types/cross-document-data-match.d.ts +34 -0
  135. package/dist/types/curp-validation.d.ts +40 -0
  136. package/dist/types/custom-fields/styles.d.ts +1 -0
  137. package/dist/types/dark.d.ts +1 -0
  138. package/dist/types/document-capture/styles.d.ts +1 -0
  139. package/dist/types/dynamic-forms/styles.d.ts +1 -0
  140. package/dist/types/ekyb.d.ts +34 -0
  141. package/dist/types/ekyc.d.ts +34 -0
  142. package/dist/types/electronic-signature.d.ts +43 -0
  143. package/dist/types/email.d.ts +67 -0
  144. package/dist/types/extensibility.d.ts +981 -0
  145. package/dist/types/face-match.d.ts +59 -0
  146. package/dist/types/flow.d.ts +137 -0
  147. package/dist/types/geolocation.d.ts +41 -0
  148. package/dist/types/governmentValidation.d.ts +34 -0
  149. package/dist/types/id-ocr/styles.d.ts +1 -0
  150. package/dist/types/id-verification.d.ts +40 -0
  151. package/dist/types/id.d.ts +41 -0
  152. package/dist/types/identity-reuse.d.ts +43 -0
  153. package/dist/types/index.d.ts +32 -0
  154. package/dist/types/light.d.ts +1 -0
  155. package/dist/types/mandatory-consent/styles.d.ts +1 -0
  156. package/dist/types/phone.d.ts +68 -0
  157. package/dist/types/qe-signature.d.ts +40 -0
  158. package/dist/types/redirect-to-mobile/styles.d.ts +1 -0
  159. package/dist/types/selfie.d.ts +41 -0
  160. package/dist/types/signature.d.ts +40 -0
  161. package/dist/types/styles.d.ts +1 -0
  162. package/dist/types/themes/dark.d.ts +1 -0
  163. package/dist/types/themes/light.d.ts +1 -0
  164. package/dist/types/watchlist-for-business/styles.d.ts +1 -0
  165. package/dist/types/watchlist.d.ts +40 -0
  166. package/dist/types/workflow.d.ts +91 -0
  167. package/dist/typography-CxjaknHN.js +28 -0
  168. package/dist/uiConfig-CwpQ-IM6.js +20 -0
  169. package/dist/useModuleLoader-BFiVA41N.js +432 -0
  170. package/dist/vendor-preact-D6SntenC.js +958 -0
  171. package/dist/verificationResult-BrVbUJ4U.js +97 -0
  172. package/dist/verifiedByIncode-ChZBpqNy.js +101 -0
  173. package/dist/watchlist/watchlist.es.js +33 -0
  174. package/dist/watchlist-for-business/styles.css +18 -0
  175. package/dist/watchlistForBusiness-BcSNtHCV.js +77 -0
  176. package/dist/workflow/styles.css +7480 -0
  177. package/dist/workflow/workflow.es.js +244 -0
  178. package/package.json +2 -2
@@ -0,0 +1,20 @@
1
+ import { _ as e, v as t } from "../vendor-preact-D6SntenC.js";
2
+ import { o as n } from "../hooks-BVnGysT7.js";
3
+ import { t as r } from "../incodeComponent-C1o4M0ZK.js";
4
+ import { t as i } from "../spinner-CKnjVHxw.js";
5
+ import { t as a } from "../expiredId-BnmzE8T3.js";
6
+ import { t as o } from "../incodeModule-BqCjVgEI.js";
7
+ import { createIdVerificationManager as s } from "@incodetech/core/id-verification";
8
+ //#region src/modules/id-verification/id-verification.tsx
9
+ var c = ({ config: r, onFinish: o }) => {
10
+ let [c, l] = n(() => s({ config: r }));
11
+ return e(() => {
12
+ c.status === "finished" && o?.();
13
+ }, [c.status, o]), c.status === "expired" ? /* @__PURE__ */ t(a, { onContinue: () => l.continue() }) : /* @__PURE__ */ t(i, { fullScreen: !0 });
14
+ }, l = ({ config: e, onFinish: n }) => /* @__PURE__ */ t(r, { children: e ? /* @__PURE__ */ t(c, {
15
+ config: e,
16
+ onFinish: n
17
+ }) : null });
18
+ o(l, "incode-id-verification");
19
+ //#endregion
20
+ export { l as IdVerification };
@@ -0,0 +1,94 @@
1
+ import { n as e } from "./i18n-9s4OSqwi.js";
2
+ import { d as t, v as n } from "./vendor-preact-D6SntenC.js";
3
+ import { o as r } from "./hooks-BVnGysT7.js";
4
+ import { t as i } from "./incodeComponent-C1o4M0ZK.js";
5
+ import { t as a } from "./page-C1yT4DLb.js";
6
+ import "./extensibility-CzEJfRwo.js";
7
+ import { t as o } from "./button-DcCUEn2n.js";
8
+ import { t as s } from "./verificationResult-BrVbUJ4U.js";
9
+ import { t as c } from "./inputComposed-APSw8C7o.js";
10
+ import { t as l } from "./radioGroupComposed-BbmvxmD2.js";
11
+ import { t as u } from "./dateInputComposed-BpAGsjN6.js";
12
+ import { t as d } from "./incodeModule-BqCjVgEI.js";
13
+ import { n as f, t as p } from "./requiredLabelHint-BLwgqozE.js";
14
+ import { createIdOcrManager as m, getOcrFields as h } from "@incodetech/core/id-ocr";
15
+ //#region src/modules/id-ocr/idOcrForm.tsx
16
+ var g = {
17
+ text: c,
18
+ date: u
19
+ }, _ = ({ fields: r, data: i, validationErrors: a, isReadonly: s, onChange: c, onBlur: u, onContinue: d }) => {
20
+ let { t: m } = e(), h = a && Object.keys(a).length > 0, _ = r.filter((e) => e.key === "issuingCountry" ? s === !0 : e.key === "documentNumber" && s ? !!i.documentNumber : !0), v = t(() => f(_.map((e) => s ? !1 : e.required)), [_, s]);
21
+ return /* @__PURE__ */ n("div", {
22
+ className: "IncodeIdOcrForm",
23
+ children: [_.map((e) => {
24
+ let t = i[e.key] ?? "", r = a?.[e.key], o = r ? m(r) : void 0, d = s ? !1 : e.required, f = p(v, d), h = f ? m(`forms.label.${f}`) : void 0;
25
+ if (e.type === "radio") return /* @__PURE__ */ n(l, {
26
+ id: `id-ocr-${e.key}`,
27
+ class: "IncodeIdOcrRadioGroup",
28
+ label: m(e.labelKey),
29
+ labelHint: h,
30
+ value: t,
31
+ options: (e.options ?? []).map((e) => ({
32
+ value: e.value,
33
+ label: m(e.label)
34
+ })),
35
+ required: d,
36
+ disabled: s,
37
+ onChange: (t) => c(e.key, t)
38
+ }, e.key);
39
+ let _ = g[e.type], y = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
40
+ return /* @__PURE__ */ n(_, {
41
+ id: `id-ocr-${e.key}`,
42
+ label: m(e.labelKey),
43
+ labelHint: h,
44
+ value: t,
45
+ disabled: s,
46
+ required: d,
47
+ error: o,
48
+ showErrorIcon: !!o,
49
+ onInput: (t) => c(e.key, t.target.value),
50
+ onBlur: s || !u ? void 0 : () => u(e.key),
51
+ ...e.type === "date" && { max: y }
52
+ }, e.key);
53
+ }), /* @__PURE__ */ n("div", {
54
+ className: "IncodeIdOcrButton",
55
+ children: /* @__PURE__ */ n(o, {
56
+ onClick: d,
57
+ disabled: h,
58
+ children: m("common.continue")
59
+ })
60
+ })]
61
+ });
62
+ }, v = ({ config: t, onFinish: i }) => {
63
+ let { t: o } = e(), [c, l] = r(() => m({ config: t }));
64
+ return c.status === "finished" ? (i?.(), null) : c.status === "success" ? /* @__PURE__ */ n(s, {
65
+ status: "success",
66
+ successTitle: o("idOcr.successTitle")
67
+ }) : c.status === "error" ? /* @__PURE__ */ n(s, {
68
+ status: "failure",
69
+ onRetry: () => l.retry()
70
+ }) : c.status === "loading" || c.status === "submitting" ? /* @__PURE__ */ n(s, {
71
+ status: "submitting",
72
+ submittingTitle: o("common.holdOnASec"),
73
+ submittingSubtitle: o("idOcr.loadingSubtitle")
74
+ }) : c.status === "readonly" || c.status === "inputting" ? /* @__PURE__ */ n(a, {
75
+ title: o("idOcr.title"),
76
+ className: "IncodeIdOcrPage",
77
+ hideFooterBranding: !0,
78
+ children: /* @__PURE__ */ n(_, {
79
+ fields: h(t),
80
+ data: c.formData,
81
+ validationErrors: c.status === "inputting" ? c.validationErrors : void 0,
82
+ isReadonly: c.status === "readonly",
83
+ onChange: (e, t) => l.setField(e, t),
84
+ onBlur: c.status === "inputting" ? (e) => l.validateField(e) : void 0,
85
+ onContinue: () => l.continue()
86
+ }, c.ocrDocument)
87
+ }) : null;
88
+ }, y = ({ config: e, onFinish: t }) => /* @__PURE__ */ n(i, { children: e ? /* @__PURE__ */ n(v, {
89
+ config: e,
90
+ onFinish: t
91
+ }) : null });
92
+ d(y, "incode-id-ocr");
93
+ //#endregion
94
+ export { y as IdOcr };
@@ -0,0 +1,198 @@
1
+ import { n as e } from "../i18n-9s4OSqwi.js";
2
+ import { _ as t, v as n } from "../vendor-preact-D6SntenC.js";
3
+ import { o as r } from "../hooks-BVnGysT7.js";
4
+ import { t as i } from "../incodeComponent-C1o4M0ZK.js";
5
+ import { t as a } from "../page-C1yT4DLb.js";
6
+ import { t as o } from "../spinner-CKnjVHxw.js";
7
+ import { t as s } from "../button-DcCUEn2n.js";
8
+ import { t as c } from "../incodeModule-BqCjVgEI.js";
9
+ import { createIdentityReuseManager as l } from "@incodetech/core/identity-reuse";
10
+ //#region src/modules/identity-reuse/identity-reuse.tsx
11
+ var u = ({ name: e }) => /* @__PURE__ */ n("div", {
12
+ class: "IncodeIdentityReuseCircle",
13
+ children: /* @__PURE__ */ n("span", {
14
+ class: "IncodeIdentityReuseCircleText",
15
+ children: e
16
+ })
17
+ }), d = () => /* @__PURE__ */ n("svg", {
18
+ class: "IncodeIdentityReuseArrow",
19
+ viewBox: "0 0 24 24",
20
+ fill: "none",
21
+ "aria-hidden": "true",
22
+ children: /* @__PURE__ */ n("path", {
23
+ d: "M5 12h14M13 6l6 6-6 6",
24
+ stroke: "currentColor",
25
+ "stroke-width": "2",
26
+ "stroke-linecap": "round",
27
+ "stroke-linejoin": "round"
28
+ })
29
+ }), f = ({ providingOrganization: e, receivingOrganization: t }) => /* @__PURE__ */ n("div", {
30
+ class: "IncodeIdentityReuseVisualization",
31
+ children: [
32
+ /* @__PURE__ */ n("div", {
33
+ class: "IncodeIdentityReuseCircleWrapper",
34
+ children: /* @__PURE__ */ n(u, { name: e })
35
+ }),
36
+ /* @__PURE__ */ n("div", {
37
+ class: "IncodeIdentityReuseArrowWrapper",
38
+ children: /* @__PURE__ */ n(d, {})
39
+ }),
40
+ /* @__PURE__ */ n("div", {
41
+ class: "IncodeIdentityReuseCircleWrapper",
42
+ children: /* @__PURE__ */ n(u, { name: t })
43
+ })
44
+ ]
45
+ }), p = ({ config: i, manager: c, onFinish: u, onError: d }) => {
46
+ let { t: p } = e(), [m, h] = r(() => {
47
+ if (c) return c;
48
+ if (!i) throw Error("IdentityReuse config is required when no manager is provided");
49
+ return l({ config: i });
50
+ }, { manageLifecycle: !c });
51
+ t(() => {
52
+ m.status === "finished" && u?.();
53
+ }, [m.status, u]);
54
+ let g = m.status === "error" ? m.error : void 0;
55
+ return t(() => {
56
+ g && d?.(g);
57
+ }, [g, d]), m.status === "idle" || m.status === "loading" || m.status === "submitContinue" || m.status === "submitSkip" ? /* @__PURE__ */ n(o, { title: p("identityReuse.loading") }) : m.status === "oneCandidateFound" ? /* @__PURE__ */ n(a, {
58
+ className: "IncodeIdentityReusePage",
59
+ title: p("identityReuse.title"),
60
+ subtitle: p("identityReuse.subtitle"),
61
+ children: [/* @__PURE__ */ n("div", {
62
+ class: "IncodeIdentityReuseContent",
63
+ children: [/* @__PURE__ */ n(f, {
64
+ providingOrganization: m.selectedOrganizationName,
65
+ receivingOrganization: m.currentOrganizationName
66
+ }), /* @__PURE__ */ n("p", {
67
+ class: "IncodeIdentityReuseDescription",
68
+ children: p("identityReuse.description", { companyName: m.currentOrganizationName })
69
+ })]
70
+ }), /* @__PURE__ */ n("div", {
71
+ class: "IncodeIdentityReuseActions",
72
+ children: [/* @__PURE__ */ n(s, {
73
+ onClick: () => h.submitCandidate(),
74
+ "data-testid": "identity-reuse-continue-button",
75
+ children: p("identityReuse.cta.continue")
76
+ }), /* @__PURE__ */ n(s, {
77
+ onClick: () => h.skip(),
78
+ variant: "link",
79
+ "data-testid": "identity-reuse-verify-button",
80
+ children: p("identityReuse.cta.verify")
81
+ })]
82
+ })]
83
+ }) : m.status === "multiCandidatesFound" ? m.selectionPhase === "candidateSelected" ? /* @__PURE__ */ n(a, {
84
+ className: "IncodeIdentityReusePage",
85
+ title: p("identityReuse.title"),
86
+ subtitle: p("identityReuse.subtitle"),
87
+ children: [/* @__PURE__ */ n("div", {
88
+ class: "IncodeIdentityReuseContent",
89
+ children: [/* @__PURE__ */ n(f, {
90
+ providingOrganization: m.selectedOrganizationName,
91
+ receivingOrganization: m.currentOrganizationName
92
+ }), /* @__PURE__ */ n("p", {
93
+ class: "IncodeIdentityReuseDescription",
94
+ children: p("identityReuse.description", { companyName: m.currentOrganizationName })
95
+ })]
96
+ }), /* @__PURE__ */ n("div", {
97
+ class: "IncodeIdentityReuseActions",
98
+ children: [
99
+ /* @__PURE__ */ n(s, {
100
+ onClick: () => h.submitCandidate(),
101
+ "data-testid": "identity-reuse-continue-button",
102
+ children: p("identityReuse.cta.continue")
103
+ }),
104
+ /* @__PURE__ */ n(s, {
105
+ onClick: () => h.changeCandidate(),
106
+ variant: "link",
107
+ "data-testid": "identity-reuse-change-button",
108
+ children: p("identityReuse.cta.change")
109
+ }),
110
+ /* @__PURE__ */ n(s, {
111
+ onClick: () => h.skip(),
112
+ variant: "link",
113
+ "data-testid": "identity-reuse-verify-button",
114
+ children: p("identityReuse.cta.verify")
115
+ })
116
+ ]
117
+ })]
118
+ }) : /* @__PURE__ */ n(a, {
119
+ className: "IncodeIdentityReusePage",
120
+ title: p("identityReuse.selectTitle"),
121
+ subtitle: p("identityReuse.selectSubtitle"),
122
+ children: [/* @__PURE__ */ n("div", {
123
+ class: "IncodeIdentityReuseContent",
124
+ children: /* @__PURE__ */ n("div", {
125
+ class: "IncodeIdentityReuseCandidateList",
126
+ children: m.candidateOrganizationNames.map((e) => /* @__PURE__ */ n("button", {
127
+ type: "button",
128
+ class: "IncodeIdentityReuseCandidateItem",
129
+ onClick: () => {
130
+ h.startSelection(), h.chooseCandidate(e);
131
+ },
132
+ "data-testid": `identity-reuse-candidate-${e}`,
133
+ children: [/* @__PURE__ */ n("span", {
134
+ class: "IncodeIdentityReuseCandidateItemName",
135
+ children: e
136
+ }), /* @__PURE__ */ n("svg", {
137
+ class: "IncodeIdentityReuseCandidateItemChevron",
138
+ viewBox: "0 0 24 24",
139
+ fill: "none",
140
+ "aria-hidden": "true",
141
+ children: /* @__PURE__ */ n("path", {
142
+ d: "M9 6l6 6-6 6",
143
+ stroke: "currentColor",
144
+ "stroke-width": "2",
145
+ "stroke-linecap": "round",
146
+ "stroke-linejoin": "round"
147
+ })
148
+ })]
149
+ }, e))
150
+ })
151
+ }), /* @__PURE__ */ n("div", {
152
+ class: "IncodeIdentityReuseActions",
153
+ children: /* @__PURE__ */ n(s, {
154
+ onClick: () => h.skip(),
155
+ variant: "link",
156
+ "data-testid": "identity-reuse-verify-button",
157
+ children: p("identityReuse.cta.verify")
158
+ })
159
+ })]
160
+ }) : m.status === "noCandidatesFound" ? /* @__PURE__ */ n(a, {
161
+ className: "IncodeIdentityReusePage",
162
+ title: p("identityReuse.noCandidatesTitle"),
163
+ subtitle: p("identityReuse.noCandidatesSubtitle"),
164
+ children: [/* @__PURE__ */ n("div", { class: "IncodeIdentityReuseContent" }), /* @__PURE__ */ n("div", {
165
+ class: "IncodeIdentityReuseActions",
166
+ children: /* @__PURE__ */ n(s, {
167
+ onClick: () => h.skip(),
168
+ "data-testid": "identity-reuse-continue-button",
169
+ children: p("identityReuse.cta.continueVerification")
170
+ })
171
+ })]
172
+ }) : m.status === "error" ? /* @__PURE__ */ n(a, {
173
+ className: "IncodeIdentityReusePage",
174
+ title: p("identityReuse.errorTitle"),
175
+ subtitle: m.error,
176
+ children: [/* @__PURE__ */ n("div", { class: "IncodeIdentityReuseContent" }), /* @__PURE__ */ n("div", {
177
+ class: "IncodeIdentityReuseActions",
178
+ children: [/* @__PURE__ */ n(s, {
179
+ onClick: () => h.retry(),
180
+ "data-testid": "identity-reuse-retry-button",
181
+ children: p("identityReuse.cta.retry")
182
+ }), /* @__PURE__ */ n(s, {
183
+ onClick: () => h.skip(),
184
+ variant: "link",
185
+ "data-testid": "identity-reuse-verify-button",
186
+ children: p("identityReuse.cta.verify")
187
+ })]
188
+ })]
189
+ }) : (m.status, null);
190
+ }, m = ({ config: e, manager: t, onFinish: r, onError: a }) => /* @__PURE__ */ n(i, { children: e || t ? /* @__PURE__ */ n(p, {
191
+ config: e,
192
+ manager: t,
193
+ onFinish: r,
194
+ onError: a
195
+ }) : null });
196
+ c(m, "incode-identity-reuse");
197
+ //#endregion
198
+ export { m as IdentityReuse };
@@ -0,0 +1,163 @@
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-font-weight: initial;
6
+ --tw-border-style: solid;
7
+ --tw-duration: initial;
8
+ }
9
+ }
10
+ }
11
+
12
+ @keyframes fadeIn {
13
+ from {
14
+ opacity: 0;
15
+ transform: translateY(8px);
16
+ }
17
+
18
+ to {
19
+ opacity: 1;
20
+ transform: translateY(0);
21
+ }
22
+ }
23
+
24
+ .IncodeIdentityReusePage {
25
+ animation: .4s ease-out fadeIn;
26
+ }
27
+
28
+ .IncodeIdentityReuseContent {
29
+ flex-direction: column;
30
+ flex: 1;
31
+ justify-content: center;
32
+ align-items: center;
33
+ display: flex;
34
+ }
35
+
36
+ .IncodeIdentityReuseVisualization {
37
+ justify-content: center;
38
+ align-items: center;
39
+ gap: var(--spacing-8, var(--spacing-8, 8px));
40
+ width: 100%;
41
+ display: flex;
42
+ }
43
+
44
+ .IncodeIdentityReuseCircleWrapper {
45
+ flex: 1;
46
+ justify-content: center;
47
+ align-items: center;
48
+ display: flex;
49
+ }
50
+
51
+ .IncodeIdentityReuseCircle {
52
+ aspect-ratio: 1;
53
+ border-radius: var(--radius-full, var(--border-radius-full));
54
+ background-color: var(--surface-brand-50);
55
+ justify-content: center;
56
+ align-items: center;
57
+ width: 100%;
58
+ max-width: 180px;
59
+ display: flex;
60
+ }
61
+
62
+ .IncodeIdentityReuseCircleText {
63
+ padding-inline: var(--spacing-16, var(--spacing-16, 16px));
64
+ text-align: center;
65
+ font-size: var(--text-18, var(--primitive-typography-size-18));
66
+ --tw-font-weight: var(--font-weight-bold, var(--primitive-typography-weight-bold));
67
+ font-weight: var(--font-weight-bold, var(--primitive-typography-weight-bold));
68
+ color: var(--surface-brand-500);
69
+ }
70
+
71
+ .IncodeIdentityReuseArrowWrapper {
72
+ justify-content: center;
73
+ align-items: center;
74
+ width: 10%;
75
+ display: flex;
76
+ }
77
+
78
+ .IncodeIdentityReuseArrow {
79
+ width: 100%;
80
+ color: var(--text-body-800-secondary);
81
+ }
82
+
83
+ .IncodeIdentityReuseDescription {
84
+ margin: var(--spacing-0, var(--spacing-none, 0px));
85
+ margin-top: var(--spacing-24, var(--spacing-24, 24px));
86
+ text-align: center;
87
+ font-size: var(--text-16, var(--primitive-typography-size-16));
88
+ color: var(--text-body-800-secondary);
89
+ }
90
+
91
+ .IncodeIdentityReuseActions {
92
+ gap: var(--spacing-8, var(--spacing-8, 8px));
93
+ flex-direction: column;
94
+ display: flex;
95
+ }
96
+
97
+ .IncodeIdentityReuseCandidateList {
98
+ gap: var(--spacing-8, var(--spacing-8, 8px));
99
+ flex-direction: column;
100
+ width: 100%;
101
+ display: flex;
102
+ }
103
+
104
+ .IncodeIdentityReuseCandidateItem {
105
+ cursor: pointer;
106
+ border-radius: var(--radius-medium, var(--border-radius-medium));
107
+ border-style: var(--tw-border-style);
108
+ width: 100%;
109
+ padding-inline: var(--spacing-16, var(--spacing-16, 16px));
110
+ padding-block: var(--spacing-16, var(--spacing-16, 16px));
111
+ transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
112
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(.4, 0, .2, 1)));
113
+ transition-duration: var(--tw-duration, var(--default-transition-duration, .15s));
114
+ --tw-duration: .2s;
115
+ background-color: var(--surface-brand-50);
116
+ border-width: 1px;
117
+ border-color: var(--surface-brand-50);
118
+ justify-content: space-between;
119
+ align-items: center;
120
+ transition-duration: .2s;
121
+ display: flex;
122
+ }
123
+
124
+ .IncodeIdentityReuseCandidateItem:hover {
125
+ border-color: var(--surface-brand-500);
126
+ }
127
+
128
+ .IncodeIdentityReuseCandidateItem:focus-visible {
129
+ --tw-outline-style: none;
130
+ border-color: var(--border-status-focus);
131
+ box-shadow: 0 0 0 2px var(--border-status-focus);
132
+ outline-style: none;
133
+ }
134
+
135
+ .IncodeIdentityReuseCandidateItemName {
136
+ font-size: var(--text-16, var(--primitive-typography-size-16));
137
+ --tw-font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
138
+ font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
139
+ color: var(--text-body-800-primary);
140
+ }
141
+
142
+ .IncodeIdentityReuseCandidateItemChevron {
143
+ width: var(--spacing-24, var(--spacing-24, 24px));
144
+ height: var(--spacing-24, var(--spacing-24, 24px));
145
+ color: var(--text-body-800-secondary);
146
+ flex-shrink: 0;
147
+ }
148
+
149
+ @property --tw-font-weight {
150
+ syntax: "*";
151
+ inherits: false
152
+ }
153
+
154
+ @property --tw-border-style {
155
+ syntax: "*";
156
+ inherits: false;
157
+ initial-value: solid;
158
+ }
159
+
160
+ @property --tw-duration {
161
+ syntax: "*";
162
+ inherits: false
163
+ }
@@ -0,0 +1,4 @@
1
+ //#region src/shared/page/incode-logo.svg
2
+ var e = "data:image/svg+xml,%3csvg%20width='76'%20height='20'%20viewBox='0%200%2076%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M40.1687%206.01811C42.2312%206.01811%2043.7927%206.59655%2044.8446%207.76024C45.8919%208.91831%2046.4126%2010.5865%2046.4126%2012.7583C46.4126%2014.93%2045.8748%2016.6105%2044.794%2017.7944C43.7102%2018.9815%2042.1729%2019.5735%2040.1937%2019.5735C38.1479%2019.5735%2036.5973%2018.99%2035.5546%2017.8187L35.4273%2017.6701C34.4729%2016.5101%2033.9984%2014.871%2033.9984%2012.7583C33.9984%208.28671%2036.0703%206.01811%2040.1687%206.01811ZM69.1127%206.01781C71.1144%206.01781%2072.5953%206.66904%2073.5373%207.97333C74.4288%209.2077%2074.8837%2010.9053%2074.9066%2013.0629L74.9058%2013.5242H66.1149C66.2174%2014.6334%2066.5602%2015.4734%2067.141%2016.0538C67.7488%2016.662%2068.6195%2016.9679%2069.7639%2016.9679C70.5188%2016.9679%2071.2373%2016.8742%2071.921%2016.6862C72.6048%2016.4995%2073.2105%2016.2581%2073.735%2015.9646L73.9814%2015.8267V18.666L73.8821%2018.7093C72.5607%2019.286%2071.0464%2019.5732%2069.3379%2019.5732C67.4088%2019.5732%2065.8853%2018.986%2064.7769%2017.8093C63.6699%2016.6348%2063.1183%2014.9722%2063.1183%2012.833C63.1183%2010.6451%2063.6389%208.96055%2064.6862%207.78517C65.7359%206.60632%2067.2157%206.01781%2069.1127%206.01781ZM60.3976%201.06738V16.3832C60.3976%2017.0998%2060.0996%2017.7092%2059.5124%2018.198C58.9425%2018.6724%2058.2282%2019.0207%2057.3718%2019.2435C56.5257%2019.4635%2055.6531%2019.5731%2054.7534%2019.5731C52.9298%2019.5731%2051.4237%2019.056%2050.2406%2018.0202C49.0485%2016.9752%2048.4588%2015.1678%2048.4588%2012.6072C48.4588%2010.5545%2048.9627%208.9421%2049.9753%207.77411C50.9938%206.60175%2052.4982%206.01774%2054.4782%206.01774C54.9416%206.01774%2055.4735%206.07665%2056.0742%206.19449C56.582%206.296%2057.0453%206.43849%2057.4648%206.62252V1.06738H60.3976ZM27.911%206.04223C29.2828%206.04223%2030.5881%206.29619%2031.8264%206.80393L31.9291%206.84604V9.55797L31.6992%209.46109C30.4503%208.93473%2029.3127%208.67257%2028.2863%208.67257C27.0102%208.67257%2026.0684%208.98809%2025.4521%209.61162C24.8366%2010.2352%2024.5242%2011.2397%2024.5242%2012.6331C24.5242%2014.0959%2024.8298%2015.1535%2025.4314%2015.8092C26.029%2016.4619%2027.002%2016.7923%2028.3613%2016.7923C29.4706%2016.7923%2030.589%2016.5234%2031.7164%2015.9842L31.9534%2015.8708V18.5903L31.8552%2018.634C30.6349%2019.1773%2029.3283%2019.4483%2027.936%2019.4483C26.2154%2019.4483%2024.7637%2018.9753%2023.5868%2018.0285L23.4123%2017.8829L23.2796%2017.7636C22.1516%2016.7067%2021.5914%2015.0592%2021.5914%2012.8332C21.5914%2010.4557%2022.186%208.72379%2023.3849%207.64725C24.5757%206.57726%2026.0871%206.04223%2027.911%206.04223ZM4.11045%206.39262L4.13613%2019.1987H1.15293V6.39262H4.11045ZM13.5766%206.0423C15.365%206.0423%2016.6948%206.41948%2017.5636%207.18368C18.4372%207.95269%2018.8706%209.13902%2018.8706%2010.7331V19.1984H15.9127V11.0838C15.9127%209.42945%2014.9988%208.62337%2013.1013%208.62337C12.3086%208.62337%2011.5458%208.73548%2010.8133%208.95959L10.5401%209.04888V19.1984H7.58147V7.40579L7.67177%207.35974C8.43481%206.97061%209.36013%206.65415%2010.4506%206.40815L10.8116%206.33134C11.7692%206.13867%2012.6905%206.0423%2013.5766%206.0423ZM40.1687%208.5477C39.0014%208.5477%2038.1814%208.89722%2037.6896%209.59114C37.1869%2010.3012%2036.932%2011.3564%2036.932%2012.7583C36.932%2014.1602%2037.1948%2015.223%2037.7142%2015.9499C38.2224%2016.6613%2039.0345%2017.0182%2040.1687%2017.0182C42.3685%2017.0182%2043.4555%2015.6249%2043.4555%2012.7583C43.4555%2011.325%2043.1888%2010.2632%2042.6636%209.57056C42.1472%208.89036%2041.3203%208.5477%2040.1687%208.5477ZM54.8535%208.59807C52.5835%208.59807%2051.4659%209.9271%2051.4659%2012.6579C51.4659%2014.0276%2051.7253%2015.0917%2052.2391%2015.8527C52.7378%2016.5945%2053.6185%2016.9678%2054.9035%2016.9678C55.6556%2016.9678%2056.2834%2016.8792%2056.7876%2016.7028C57.2156%2016.553%2057.4279%2016.378%2057.4604%2016.186L57.4648%2016.1332V9.25404L57.2778%209.15611C56.9611%208.99923%2056.6189%208.87406%2056.2512%208.78123C55.7705%208.65917%2055.3045%208.59807%2054.8535%208.59807ZM69.0377%208.49888C68.192%208.49888%2067.5412%208.71795%2067.0743%209.15366C66.6631%209.5374%2066.3731%2010.1684%2066.2101%2011.0498L66.1771%2011.2425H71.8784L71.8489%2011.0453C71.7111%2010.208%2071.4421%209.58986%2071.0461%209.18626C70.5969%208.72981%2069.9303%208.49888%2069.0377%208.49888ZM4.21085%201.94156V4.64764H1.07715V1.94156H4.21085Z'%20fill='%23006AFF'/%3e%3c/svg%3e";
3
+ //#endregion
4
+ export { e as t };
@@ -0,0 +1,50 @@
1
+ import { n as e } from "./i18n-9s4OSqwi.js";
2
+ import { _ as t, l as n, p as r, r as i, v as a } from "./vendor-preact-D6SntenC.js";
3
+ import { a as o } from "./hooks-BVnGysT7.js";
4
+ import { isIPad as s } from "@incodetech/core/device";
5
+ //#region src/shared/icons/rotate-icon.svg
6
+ var c = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='90'%20height='90'%20viewBox='0%200%2090%2090'%3e%3cg%20fill='%2320263D'%3e%3cpath%20d='M84.12%2027.54l-2.58-2.58L65.036%208.456l-2.58-2.58c-3.127-3.127-8.58-2.764-12.157.81L6.69%2050.306c-3.574%203.574-3.938%209.027-.81%2012.158l21.66%2021.66c3.128%203.127%208.58%202.764%2012.157-.81l43.617-43.616c3.574-3.578%203.937-9.03.806-12.158zm-5.524%208.617l-42.439%2042.44c-1.3%201.3-3.28%201.432-4.42.296l-20.63-20.63c-1.14-1.14-1.008-3.12.297-4.42l42.438-42.44c1.302-1.3%203.282-1.432%204.422-.296l1.031%201.032c1.14%201.14%201.009%203.12-.296%204.421-1.302%201.301-1.433%203.281-.297%204.421L69.02%2031.297c1.14%201.14%203.12%201.01%204.421-.296%201.301-1.301%203.281-1.432%204.421-.296l1.031%201.031c1.137%201.14%201.005%203.12-.296%204.421zM51.885%2090a3.135%203.135%200%2001-2.22-5.351l8.925-8.925a3.138%203.138%200%20014.646.233l3.308%204.046c10.114-5.374%2017.081-15.994%2017.178-28.14a3.136%203.136%200%20013.136-3.113h.026a3.14%203.14%200%20013.112%203.161C89.835%2072.746%2072.746%2089.835%2051.911%2090h-.026zM38.115%200a3.135%203.135%200%20012.22%205.351l-8.925%208.925a3.125%203.125%200%2001-2.378.915%203.138%203.138%200%2001-2.272-1.147l-3.308-4.046C13.34%2015.37%206.373%2025.99%206.274%2038.138a3.14%203.14%200%2001-3.139%203.112h-.026a3.139%203.139%200%2001-3.11-3.161C.166%2017.254%2017.255.165%2038.09%200h.026z'/%3e%3c/g%3e%3c/svg%3e";
7
+ //#endregion
8
+ //#region src/shared/landscapeBlocker/landscapeBlocker.tsx
9
+ function l() {
10
+ let [e, i] = r(null), a = n(null);
11
+ return t(() => {
12
+ let e = document.createElement("div");
13
+ return e.setAttribute("data-incode-landscape-portal", ""), document.body.appendChild(e), a.current = e, i(e), () => {
14
+ e.remove(), a.current = null;
15
+ };
16
+ }, []), e;
17
+ }
18
+ function u() {
19
+ let { t } = e(), n = l();
20
+ return n ? i(/* @__PURE__ */ a("div", {
21
+ class: "IncodeLandscapeBlocker",
22
+ children: [
23
+ /* @__PURE__ */ a("img", {
24
+ class: "IncodeLandscapeBlocker-icon",
25
+ src: c,
26
+ alt: "",
27
+ "aria-hidden": !0
28
+ }),
29
+ /* @__PURE__ */ a("p", {
30
+ class: "IncodeLandscapeBlocker-text",
31
+ children: t("common.landscape")
32
+ }),
33
+ /* @__PURE__ */ a("p", {
34
+ class: "IncodeLandscapeBlocker-text",
35
+ children: s() ? t("common.rotateIpad") : t("common.rotate")
36
+ })
37
+ ]
38
+ }), n) : null;
39
+ }
40
+ //#endregion
41
+ //#region src/shared/componentRoot/incodeComponent.tsx
42
+ function d({ children: e }) {
43
+ let { isLandscapeMobile: t } = o();
44
+ return /* @__PURE__ */ a("div", {
45
+ class: "IncodeComponent",
46
+ children: [e, t ? /* @__PURE__ */ a(u, {}) : null]
47
+ });
48
+ }
49
+ //#endregion
50
+ export { u as n, d as t };
@@ -0,0 +1,18 @@
1
+ import { n as e } from "./vendor-preact-D6SntenC.js";
2
+ //#region src/shared/webComponent/registerIncodeElement.ts
3
+ function t(t, n, r) {
4
+ customElements.get(n) === void 0 && e(t, n, [...r], { shadow: !1 });
5
+ }
6
+ //#endregion
7
+ //#region src/shared/webComponent/incodeModule.ts
8
+ var n = [
9
+ "config",
10
+ "manager",
11
+ "onFinish",
12
+ "onError"
13
+ ];
14
+ function r(e, r) {
15
+ t(e, r, n);
16
+ }
17
+ //#endregion
18
+ export { r as t };
@@ -0,0 +1,16 @@
1
+ import { i as e, r as t } from "./i18n-9s4OSqwi.js";
2
+ import { t as n } from "./uiConfig-CwpQ-IM6.js";
3
+ import { DEFAULT_WASM_VERSION as r } from "@incodetech/core/wasm";
4
+ import { setup as i } from "@incodetech/core";
5
+ //#region src/setup.ts
6
+ async function a({ apiURL: r, token: a, customHeaders: o, timeout: s, wasm: c, i18n: l, uiConfig: u }) {
7
+ u && n(u), await i({
8
+ apiURL: r,
9
+ token: a,
10
+ customHeaders: o,
11
+ timeout: s,
12
+ wasm: c
13
+ }), t(e(l));
14
+ }
15
+ //#endregion
16
+ export { r as DEFAULT_WASM_VERSION, n as setUiConfig, a as setup };
@@ -0,0 +1,89 @@
1
+ import { a as e, v as t } from "./vendor-preact-D6SntenC.js";
2
+ import { n } from "./loadingIcon-BN5YRQUb.js";
3
+ import { g as r, o as i } from "./icons-Cc7zwchP.js";
4
+ import { t as a } from "./successIcon-DbILeIz_.js";
5
+ //#region src/shared/input/input.tsx
6
+ var o = e((e, r) => {
7
+ let { class: i, type: a = "text", ...o } = e;
8
+ return /* @__PURE__ */ t("input", {
9
+ ...o,
10
+ ref: r,
11
+ type: a,
12
+ class: n("IncodeInput", i)
13
+ });
14
+ }), s = e(({ id: e, label: s, labelHint: c, "aria-label": l, type: u, error: d, showErrorIcon: f, helper: p, showHelperIcon: m, closeButton: h, rightIcon: g, required: _, suppressMessages: v = !1, class: y, value: b, ...x }, S) => {
15
+ let C = `${e}-helper`, w = `${e}-error`, T = v ? "" : [p ? C : null, d ? w : null].filter(Boolean).join(" ");
16
+ return /* @__PURE__ */ t("div", {
17
+ class: n("IncodeInputComposed", y),
18
+ children: [
19
+ s && /* @__PURE__ */ t("label", {
20
+ class: "IncodeInputComposedLabel",
21
+ htmlFor: e,
22
+ "data-testid": `${e}-label`,
23
+ children: [s, c && /* @__PURE__ */ t("span", {
24
+ class: "IncodeInputComposedLabelHint",
25
+ "data-testid": `${e}-label-hint`,
26
+ children: c
27
+ })]
28
+ }),
29
+ /* @__PURE__ */ t("div", {
30
+ class: "IncodeInputComposedWrapper",
31
+ children: [
32
+ /* @__PURE__ */ t(o, {
33
+ id: e,
34
+ type: u,
35
+ ...x,
36
+ ref: S,
37
+ required: _,
38
+ "data-has-value": !!(b && String(b).length > 0),
39
+ ...!s && l ? { "aria-label": l } : {},
40
+ "aria-describedby": T || void 0,
41
+ "aria-required": _ ? "true" : void 0,
42
+ "aria-invalid": d ? "true" : void 0,
43
+ value: b
44
+ }),
45
+ g,
46
+ h?.show && /* @__PURE__ */ t("button", {
47
+ type: "button",
48
+ "aria-label": "Clear",
49
+ class: "IncodeInputComposedClearButton",
50
+ onClick: h.onClose,
51
+ "data-testid": `${e}-clear`,
52
+ children: /* @__PURE__ */ t(i, {
53
+ width: 24,
54
+ height: 24,
55
+ fillColor: "var(--icon-neutral-500)"
56
+ })
57
+ })
58
+ ]
59
+ }),
60
+ !v && d && /* @__PURE__ */ t("div", {
61
+ class: "IncodeInputComposedErrorWrapper",
62
+ role: "alert",
63
+ "data-testid": `${e}-error-wrapper`,
64
+ children: [f && /* @__PURE__ */ t("div", {
65
+ class: "IncodeInputComposedIconWrapper",
66
+ children: /* @__PURE__ */ t(r, { size: 17 })
67
+ }), /* @__PURE__ */ t("p", {
68
+ id: w,
69
+ class: "IncodeInputComposedError",
70
+ children: d
71
+ })]
72
+ }),
73
+ !v && p && !d && /* @__PURE__ */ t("div", {
74
+ class: "IncodeInputComposedHelperWrapper",
75
+ "data-testid": `${e}-helper-wrapper`,
76
+ children: [m && /* @__PURE__ */ t("div", {
77
+ class: "IncodeInputComposedIconWrapper",
78
+ children: /* @__PURE__ */ t(a, { size: 17 })
79
+ }), /* @__PURE__ */ t("p", {
80
+ id: C,
81
+ class: "IncodeInputComposedHelper",
82
+ children: p
83
+ })]
84
+ })
85
+ ]
86
+ });
87
+ });
88
+ //#endregion
89
+ export { o as n, s as t };
@@ -0,0 +1 @@
1
+ import "./inputComposed-APSw8C7o.js";