@incodetech/web 0.0.0-dev-20260325-72e1e24 → 0.0.0-dev-20260326-106dc21
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.
- package/dist/{Trans-BQctqaWi.js → Trans-BSLSJO1_.js} +2 -2
- package/dist/{addressAutocomplete-CnuyGGR4.js → addressAutocomplete-BhUbJEuH.js} +6 -6
- package/dist/authentication/authentication.es.js +5 -5
- package/dist/{back-horizontal-hint-CktUy0An.js → back-horizontal-hint-CSlf9KI1.js} +1 -1
- package/dist/{back-vertical-hint-CMOWSEsc.js → back-vertical-hint-CNieqiCr.js} +1 -1
- package/dist/base.css +16 -3
- package/dist/{button-qiC4m4lf.js → button-B2Ewo0rX.js} +2 -2
- package/dist/cameraView-CT9-WWcG.js +55 -0
- package/dist/{captureFooter-BIPDtCn6.js → captureFooter-B_3eu8kq.js} +77 -127
- package/dist/captureOverlay-CB8lyLgp.js +399 -0
- package/dist/{checkbox-KYc1FnQr.js → checkbox-CXnQVsbJ.js} +3 -3
- package/dist/{chevronDown-J1Yx1Jy7.js → chevronDown-DKyU4xPP.js} +1 -1
- package/dist/{closeIcon-C5IKfu-j.js → closeIcon-DjWL_arL.js} +1 -1
- package/dist/consent/consent.es.js +8 -8
- package/dist/curp-validation/curp-validation.es.js +11 -11
- package/dist/curp-validation/styles.css +12 -0
- package/dist/{dateInputComposed-DzB7gNed.js → dateInputComposed-DmlHvCmR.js} +4 -4
- package/dist/{documentCapture-B4JcCGTV.js → documentCapture-DYsIVkcU.js} +14 -13
- package/dist/dropdownComposed-DFrqye1c.js +367 -0
- package/dist/{ekybModule-ly0wrPsV.js → ekybModule-Cve2s2tf.js} +10 -10
- package/dist/{ekycModule-BkTDINkE.js → ekycModule-Hi5yRFs3.js} +11 -11
- package/dist/email/email.es.js +97 -106
- package/dist/email/styles.css +0 -111
- package/dist/{errorContent-BudafcKL.js → errorContent-CqNelsXg.js} +6 -6
- package/dist/{errorIcon-DbJL-4MJ.js → errorIcon-C-Zd24vb.js} +1 -1
- package/dist/extensibility.es.js +92 -89
- package/dist/{faceMatch-DylE4LWy.js → faceMatch-BVsE7czZ.js} +6 -6
- package/dist/{fileIcon-ClvmLl6A.js → fileIcon-DIVwt0SD.js} +1 -1
- package/dist/{flipAnimation-CmG-kgPi.js → flipAnimation-CQ3So9XG.js} +269 -655
- package/dist/flow/flow.es.js +14 -14
- package/dist/flow/styles.css +12 -85
- package/dist/{formField-CMNAU-Eh.js → formField-CPfeaz8y.js} +8 -8
- package/dist/{front-horizontal-hint-Ca8ux7ED.js → front-horizontal-hint-lRLKd7vY.js} +1 -1
- package/dist/{front-vertical-hint-Cl9a47Kq.js → front-vertical-hint-qQoJXRE3.js} +1 -1
- package/dist/geolocation/geolocation.es.js +6 -6
- package/dist/governmentValidation/governmentValidation.es.js +10 -10
- package/dist/id/id.es.js +16 -15
- package/dist/{incodeModule-DtbbjNTQ.js → incodeModule-C4XIllao.js} +1 -1
- package/dist/index.es.js +3 -3
- package/dist/{inputComposed-7r-2MfA7.js → inputComposed-CJQTXKNA.js} +5 -5
- package/dist/{mandatoryConsent-BcbxGZN6.js → mandatoryConsent-B2zqptlI.js} +8 -8
- package/dist/manualCaptureButton-CUq6VXLb.js +371 -0
- package/dist/otpInput-CGlYkmvB.js +148 -0
- package/dist/{page-CH1_PpOG.js → page-DiscPBzz.js} +2 -2
- package/dist/{passport-horizontal-hint-CWnj6Kh1.js → passport-horizontal-hint-BCtpMp1Y.js} +1 -1
- package/dist/{passport-vertical-hint-DzkQdaag.js → passport-vertical-hint-GaLnzqHP.js} +1 -1
- package/dist/permissions-CDir4ckn.js +707 -0
- package/dist/phone/phone.es.js +66 -64
- package/dist/{phoneInput-C9tQVoqL.js → phoneInput-TwyIF7PG.js} +3 -3
- package/dist/{phoneInputComposed-B4OTfqLt.js → phoneInputComposed-Dsf9ZDTj.js} +27 -27
- package/dist/{processing-DW3Cq3ot.js → processing-De8XWnFp.js} +4 -4
- package/dist/{richText-Bh30370T.js → richText-DHl4ibE9.js} +2 -2
- package/dist/selfie/selfie.es.js +6 -6
- package/dist/signature/signature.es.js +7 -7
- package/dist/{spinner-_-QbAnd8.js → spinner-DfUoOZN4.js} +3 -3
- package/dist/{successIcon-C-3-t1kz.js → successIcon-DyHNp_UT.js} +1 -1
- package/dist/themes/dark.css +1 -0
- package/dist/themes/light.css +1 -0
- package/dist/{tutorial-BRvI-ZLU.js → tutorial-Cx_ANvlr.js} +42 -41
- package/dist/types/extensibility.d.ts +1 -0
- package/dist/{typography-DgyeaZWI.js → typography-zMrvftfB.js} +2 -2
- package/dist/{uiConfig-BSR3Bl6G.js → uiConfig-DmIn-g8M.js} +1 -1
- package/dist/{useMediaQuery-DN93efdT.js → useMediaQuery-lJdQBmC2.js} +1 -1
- package/dist/{vendor-preact-BY8u4mdq.js → vendor-preact-BoMmvSgn.js} +3 -3
- package/dist/{warningIcon-BEDHbr3Z.js → warningIcon-MsE5PaSQ.js} +1 -1
- package/package.json +2 -2
- package/dist/dropdownComposed-LjhdF9Jx.js +0 -345
- package/dist/manualCaptureButton-6WD7GhPe.js +0 -1071
- package/dist/otpInput-cZblmynr.js +0 -124
|
@@ -0,0 +1,367 @@
|
|
|
1
|
+
import { u as o, c as U } from "./button-B2Ewo0rX.js";
|
|
2
|
+
import { d as g, A as p, y as C } from "./vendor-preact-BoMmvSgn.js";
|
|
3
|
+
import { C as ie } from "./chevronDown-DKyU4xPP.js";
|
|
4
|
+
import { E as le } from "./errorIcon-C-Zd24vb.js";
|
|
5
|
+
import { S as pe } from "./successIcon-DyHNp_UT.js";
|
|
6
|
+
const ue = ({ size: c = 20 }) => /* @__PURE__ */ o(
|
|
7
|
+
"svg",
|
|
8
|
+
{
|
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
+
width: c,
|
|
11
|
+
height: c,
|
|
12
|
+
viewBox: "0 0 20 20",
|
|
13
|
+
fill: "none",
|
|
14
|
+
class: "IncodeSearchIcon",
|
|
15
|
+
"aria-hidden": "true",
|
|
16
|
+
children: [
|
|
17
|
+
/* @__PURE__ */ o("title", { children: "Search" }),
|
|
18
|
+
/* @__PURE__ */ o(
|
|
19
|
+
"path",
|
|
20
|
+
{
|
|
21
|
+
d: "M9 17C13.4183 17 17 13.4183 17 9C17 4.58172 13.4183 1 9 1C4.58172 1 1 4.58172 1 9C1 13.4183 4.58172 17 9 17Z",
|
|
22
|
+
stroke: "var(--icon-neutral-300)",
|
|
23
|
+
"stroke-width": "2",
|
|
24
|
+
"stroke-linecap": "round",
|
|
25
|
+
"stroke-linejoin": "round"
|
|
26
|
+
}
|
|
27
|
+
),
|
|
28
|
+
/* @__PURE__ */ o(
|
|
29
|
+
"path",
|
|
30
|
+
{
|
|
31
|
+
d: "M19 19L14.65 14.65",
|
|
32
|
+
stroke: "var(--icon-neutral-300)",
|
|
33
|
+
"stroke-width": "2",
|
|
34
|
+
"stroke-linecap": "round",
|
|
35
|
+
"stroke-linejoin": "round"
|
|
36
|
+
}
|
|
37
|
+
)
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
), De = ({
|
|
41
|
+
id: c,
|
|
42
|
+
label: u,
|
|
43
|
+
placeholder: W = "Choose an option",
|
|
44
|
+
value: b,
|
|
45
|
+
options: k,
|
|
46
|
+
onChange: V,
|
|
47
|
+
error: l,
|
|
48
|
+
helper: y,
|
|
49
|
+
showErrorIcon: Z,
|
|
50
|
+
showHelperIcon: _,
|
|
51
|
+
suppressMessages: S = !1,
|
|
52
|
+
disabled: f = !1,
|
|
53
|
+
required: $,
|
|
54
|
+
searchable: h = !1,
|
|
55
|
+
searchPlaceholder: H = "Search...",
|
|
56
|
+
noResultsText: K = "No results found",
|
|
57
|
+
name: L,
|
|
58
|
+
tabIndex: G,
|
|
59
|
+
onKeyDown: J,
|
|
60
|
+
onBlur: P,
|
|
61
|
+
renderSelectedLabel: O,
|
|
62
|
+
siblingElement: T,
|
|
63
|
+
enterKeyHint: fe,
|
|
64
|
+
class: X,
|
|
65
|
+
"aria-label": B,
|
|
66
|
+
"data-testid": Y
|
|
67
|
+
}) => {
|
|
68
|
+
const [r, d] = g(!1), [ee, j] = g(!1), [a, t] = g(-1), [w, z] = g(""), N = p(null), m = p(null), q = p(null), x = p([]), R = p(null), A = p(""), v = p(), I = k.find((e) => e.value === b), oe = I ? O ? O(I) : I.label : W, s = h && w ? k.filter(
|
|
69
|
+
(e) => e.label.toLowerCase().includes(w.toLowerCase())
|
|
70
|
+
) : k, E = `${c}-label`, F = `${c}-listbox`, M = `${c}-helper`, Q = `${c}-error`, re = S ? "" : [y ? M : null, l ? Q : null].filter(Boolean).join(" ");
|
|
71
|
+
C(() => {
|
|
72
|
+
if (!r) return;
|
|
73
|
+
const e = requestAnimationFrame(() => {
|
|
74
|
+
h && R.current && R.current.focus(), requestAnimationFrame(() => {
|
|
75
|
+
q.current?.scrollIntoView({
|
|
76
|
+
behavior: "smooth",
|
|
77
|
+
block: "nearest",
|
|
78
|
+
inline: "nearest"
|
|
79
|
+
});
|
|
80
|
+
});
|
|
81
|
+
});
|
|
82
|
+
return () => cancelAnimationFrame(e);
|
|
83
|
+
}, [r, h]), C(() => {
|
|
84
|
+
r || (t(-1), z(""));
|
|
85
|
+
}, [r]), C(() => {
|
|
86
|
+
a >= 0 && x.current[a] && x.current[a]?.scrollIntoView({
|
|
87
|
+
block: "nearest",
|
|
88
|
+
inline: "nearest"
|
|
89
|
+
});
|
|
90
|
+
}, [a]), C(() => () => {
|
|
91
|
+
v.current && clearTimeout(v.current);
|
|
92
|
+
}, []);
|
|
93
|
+
const ne = () => {
|
|
94
|
+
f || d((e) => !e);
|
|
95
|
+
}, D = (e) => {
|
|
96
|
+
V(e), d(!1), t(-1), m.current?.focus();
|
|
97
|
+
}, te = () => {
|
|
98
|
+
j(!0);
|
|
99
|
+
}, ae = (e) => {
|
|
100
|
+
j(!1), N.current?.contains(e.relatedTarget) || (d(!1), P?.());
|
|
101
|
+
}, se = (e) => {
|
|
102
|
+
if (f) return;
|
|
103
|
+
J?.(e);
|
|
104
|
+
const { key: i } = e;
|
|
105
|
+
if (i.length === 1 && /^[a-zA-Z0-9]$/.test(i)) {
|
|
106
|
+
e.preventDefault(), v.current && clearTimeout(v.current), A.current += i.toLowerCase();
|
|
107
|
+
const n = s.findIndex(
|
|
108
|
+
(de) => de.label.toLowerCase().startsWith(A.current)
|
|
109
|
+
);
|
|
110
|
+
n !== -1 && (r || d(!0), t(n)), v.current = setTimeout(() => {
|
|
111
|
+
A.current = "";
|
|
112
|
+
}, 500);
|
|
113
|
+
return;
|
|
114
|
+
}
|
|
115
|
+
switch (i) {
|
|
116
|
+
case "ArrowDown":
|
|
117
|
+
e.preventDefault(), r ? t(
|
|
118
|
+
(n) => n < s.length - 1 ? n + 1 : n
|
|
119
|
+
) : (d(!0), t(0));
|
|
120
|
+
break;
|
|
121
|
+
case "ArrowUp":
|
|
122
|
+
e.preventDefault(), r ? t((n) => n > 0 ? n - 1 : n) : (d(!0), t(s.length - 1));
|
|
123
|
+
break;
|
|
124
|
+
case "Home":
|
|
125
|
+
e.preventDefault(), r && t(0);
|
|
126
|
+
break;
|
|
127
|
+
case "End":
|
|
128
|
+
e.preventDefault(), r && t(s.length - 1);
|
|
129
|
+
break;
|
|
130
|
+
case "Enter":
|
|
131
|
+
e.preventDefault(), r && a >= 0 && s[a] ? D(s[a].value) : r || d(!0);
|
|
132
|
+
break;
|
|
133
|
+
case " ":
|
|
134
|
+
e.preventDefault(), r && a >= 0 && s[a] ? D(s[a].value) : r || (d(!0), t(0));
|
|
135
|
+
break;
|
|
136
|
+
case "Escape":
|
|
137
|
+
e.preventDefault(), r && (d(!1), t(-1), m.current?.focus());
|
|
138
|
+
break;
|
|
139
|
+
case "Tab":
|
|
140
|
+
r && (d(!1), t(-1));
|
|
141
|
+
break;
|
|
142
|
+
}
|
|
143
|
+
}, ce = (e) => {
|
|
144
|
+
const { key: i } = e;
|
|
145
|
+
switch (i) {
|
|
146
|
+
case "ArrowDown":
|
|
147
|
+
e.preventDefault(), t(
|
|
148
|
+
(n) => n < s.length - 1 ? n + 1 : n
|
|
149
|
+
);
|
|
150
|
+
break;
|
|
151
|
+
case "ArrowUp":
|
|
152
|
+
e.preventDefault(), t((n) => n > 0 ? n - 1 : n);
|
|
153
|
+
break;
|
|
154
|
+
case "Home":
|
|
155
|
+
e.preventDefault(), t(0);
|
|
156
|
+
break;
|
|
157
|
+
case "End":
|
|
158
|
+
e.preventDefault(), t(s.length - 1);
|
|
159
|
+
break;
|
|
160
|
+
case "Enter":
|
|
161
|
+
e.preventDefault(), a >= 0 && s[a] && D(s[a].value);
|
|
162
|
+
break;
|
|
163
|
+
case "Escape":
|
|
164
|
+
e.preventDefault(), d(!1), t(-1), m.current?.focus();
|
|
165
|
+
break;
|
|
166
|
+
case "Tab":
|
|
167
|
+
d(!1), t(-1);
|
|
168
|
+
break;
|
|
169
|
+
}
|
|
170
|
+
};
|
|
171
|
+
return /* @__PURE__ */ o(
|
|
172
|
+
"div",
|
|
173
|
+
{
|
|
174
|
+
class: U("IncodeDropdownComposed", X),
|
|
175
|
+
ref: N,
|
|
176
|
+
onBlur: ae,
|
|
177
|
+
children: [
|
|
178
|
+
L && /* @__PURE__ */ o(
|
|
179
|
+
"input",
|
|
180
|
+
{
|
|
181
|
+
type: "hidden",
|
|
182
|
+
name: L,
|
|
183
|
+
value: b || "",
|
|
184
|
+
disabled: f,
|
|
185
|
+
required: $
|
|
186
|
+
}
|
|
187
|
+
),
|
|
188
|
+
u && /* @__PURE__ */ o(
|
|
189
|
+
"label",
|
|
190
|
+
{
|
|
191
|
+
class: "IncodeDropdownComposedLabel",
|
|
192
|
+
id: E,
|
|
193
|
+
htmlFor: c,
|
|
194
|
+
"data-testid": `${c}-label`,
|
|
195
|
+
children: [
|
|
196
|
+
u,
|
|
197
|
+
$ && /* @__PURE__ */ o("span", { class: "IncodeDropdownComposedRequired", children: " *" })
|
|
198
|
+
]
|
|
199
|
+
}
|
|
200
|
+
),
|
|
201
|
+
/* @__PURE__ */ o("div", { class: "IncodeDropdownComposedWrapper", children: [
|
|
202
|
+
/* @__PURE__ */ o(
|
|
203
|
+
"div",
|
|
204
|
+
{
|
|
205
|
+
class: U("IncodeDropdownComposedTriggerRow", {
|
|
206
|
+
IncodeDropdownComposedTriggerRowWithSibling: !!T
|
|
207
|
+
}),
|
|
208
|
+
children: [
|
|
209
|
+
/* @__PURE__ */ o(
|
|
210
|
+
"button",
|
|
211
|
+
{
|
|
212
|
+
ref: m,
|
|
213
|
+
type: "button",
|
|
214
|
+
id: c,
|
|
215
|
+
class: "IncodeDropdownComposedTrigger",
|
|
216
|
+
onClick: ne,
|
|
217
|
+
onFocus: te,
|
|
218
|
+
onKeyDown: se,
|
|
219
|
+
tabIndex: f ? -1 : G ?? 0,
|
|
220
|
+
disabled: f,
|
|
221
|
+
"aria-haspopup": "listbox",
|
|
222
|
+
"aria-expanded": r ? "true" : "false",
|
|
223
|
+
"aria-disabled": f ? "true" : void 0,
|
|
224
|
+
"aria-labelledby": u ? E : void 0,
|
|
225
|
+
"aria-label": u ? void 0 : B,
|
|
226
|
+
"aria-controls": r ? F : void 0,
|
|
227
|
+
"aria-activedescendant": r && a >= 0 ? `${c}-option-${a}` : void 0,
|
|
228
|
+
"aria-invalid": l ? "true" : void 0,
|
|
229
|
+
"aria-required": $ ? "true" : void 0,
|
|
230
|
+
"aria-describedby": re || void 0,
|
|
231
|
+
"data-error": l ? "true" : void 0,
|
|
232
|
+
"data-focused": ee || r ? "true" : void 0,
|
|
233
|
+
"data-testid": Y,
|
|
234
|
+
children: [
|
|
235
|
+
/* @__PURE__ */ o(
|
|
236
|
+
"span",
|
|
237
|
+
{
|
|
238
|
+
class: I ? "IncodeDropdownComposedTriggerText" : "IncodeDropdownComposedTriggerPlaceholder",
|
|
239
|
+
children: oe
|
|
240
|
+
}
|
|
241
|
+
),
|
|
242
|
+
/* @__PURE__ */ o(
|
|
243
|
+
"span",
|
|
244
|
+
{
|
|
245
|
+
class: "IncodeDropdownComposedTriggerIcon",
|
|
246
|
+
"aria-hidden": "true",
|
|
247
|
+
"data-open": r,
|
|
248
|
+
children: /* @__PURE__ */ o(ie, {})
|
|
249
|
+
}
|
|
250
|
+
)
|
|
251
|
+
]
|
|
252
|
+
}
|
|
253
|
+
),
|
|
254
|
+
T && /* @__PURE__ */ o("div", { class: "IncodeDropdownComposedSibling", children: T })
|
|
255
|
+
]
|
|
256
|
+
}
|
|
257
|
+
),
|
|
258
|
+
r && /* @__PURE__ */ o(
|
|
259
|
+
"div",
|
|
260
|
+
{
|
|
261
|
+
ref: q,
|
|
262
|
+
class: "IncodeDropdownComposedList",
|
|
263
|
+
"data-error": l ? "true" : void 0,
|
|
264
|
+
children: [
|
|
265
|
+
h && /* @__PURE__ */ o("div", { class: "IncodeDropdownComposedSearchWrapper", children: /* @__PURE__ */ o("div", { class: "IncodeDropdownComposedSearchInner", children: [
|
|
266
|
+
/* @__PURE__ */ o(
|
|
267
|
+
"input",
|
|
268
|
+
{
|
|
269
|
+
ref: R,
|
|
270
|
+
type: "text",
|
|
271
|
+
class: "IncodeDropdownComposedSearchInput",
|
|
272
|
+
value: w,
|
|
273
|
+
onInput: (e) => {
|
|
274
|
+
z(e.target.value), t(0);
|
|
275
|
+
},
|
|
276
|
+
onKeyDown: ce,
|
|
277
|
+
placeholder: H,
|
|
278
|
+
role: "combobox",
|
|
279
|
+
"aria-autocomplete": "list",
|
|
280
|
+
"aria-expanded": "true",
|
|
281
|
+
"aria-controls": F,
|
|
282
|
+
"aria-activedescendant": a >= 0 ? `${c}-option-${a}` : void 0,
|
|
283
|
+
"aria-label": H,
|
|
284
|
+
autocomplete: "off"
|
|
285
|
+
}
|
|
286
|
+
),
|
|
287
|
+
/* @__PURE__ */ o(
|
|
288
|
+
"span",
|
|
289
|
+
{
|
|
290
|
+
class: "IncodeDropdownComposedSearchIcon",
|
|
291
|
+
"aria-hidden": "true",
|
|
292
|
+
children: /* @__PURE__ */ o(ue, { size: 20 })
|
|
293
|
+
}
|
|
294
|
+
)
|
|
295
|
+
] }) }),
|
|
296
|
+
/* @__PURE__ */ o(
|
|
297
|
+
"div",
|
|
298
|
+
{
|
|
299
|
+
id: F,
|
|
300
|
+
role: "listbox",
|
|
301
|
+
"aria-labelledby": u ? E : void 0,
|
|
302
|
+
"aria-label": u ? void 0 : B ?? W,
|
|
303
|
+
class: "IncodeDropdownComposedOptionsScroll",
|
|
304
|
+
children: s.length === 0 ? /* @__PURE__ */ o("div", { class: "IncodeDropdownComposedNoResults", children: K }) : s.map((e, i) => /* @__PURE__ */ o(
|
|
305
|
+
"div",
|
|
306
|
+
{
|
|
307
|
+
id: `${c}-option-${i}`,
|
|
308
|
+
role: "option",
|
|
309
|
+
"aria-selected": b === e.value ? "true" : "false",
|
|
310
|
+
class: "IncodeDropdownComposedOption",
|
|
311
|
+
"data-highlighted": a === i,
|
|
312
|
+
ref: (n) => {
|
|
313
|
+
x.current[i] = n;
|
|
314
|
+
},
|
|
315
|
+
onClick: () => D(e.value),
|
|
316
|
+
onMouseDown: (n) => n.preventDefault(),
|
|
317
|
+
onMouseEnter: () => t(i),
|
|
318
|
+
children: e.label
|
|
319
|
+
},
|
|
320
|
+
e.value
|
|
321
|
+
))
|
|
322
|
+
}
|
|
323
|
+
)
|
|
324
|
+
]
|
|
325
|
+
}
|
|
326
|
+
)
|
|
327
|
+
] }),
|
|
328
|
+
h && /* @__PURE__ */ o(
|
|
329
|
+
"div",
|
|
330
|
+
{
|
|
331
|
+
class: "IncodeDropdownComposedLiveRegion",
|
|
332
|
+
role: "status",
|
|
333
|
+
"aria-live": "polite",
|
|
334
|
+
"aria-atomic": "true",
|
|
335
|
+
children: r && w ? s.length === 0 ? K : `${s.length} result${s.length !== 1 ? "s" : ""} available` : ""
|
|
336
|
+
}
|
|
337
|
+
),
|
|
338
|
+
!S && l && /* @__PURE__ */ o(
|
|
339
|
+
"div",
|
|
340
|
+
{
|
|
341
|
+
class: "IncodeDropdownComposedErrorWrapper",
|
|
342
|
+
"data-testid": `${c}-error-wrapper`,
|
|
343
|
+
children: [
|
|
344
|
+
Z && /* @__PURE__ */ o("div", { class: "IncodeDropdownComposedIconWrapper", children: /* @__PURE__ */ o(le, { size: 17 }) }),
|
|
345
|
+
/* @__PURE__ */ o("p", { id: Q, class: "IncodeDropdownComposedError", children: l })
|
|
346
|
+
]
|
|
347
|
+
}
|
|
348
|
+
),
|
|
349
|
+
!S && y && !l && /* @__PURE__ */ o(
|
|
350
|
+
"div",
|
|
351
|
+
{
|
|
352
|
+
class: "IncodeDropdownComposedHelperWrapper",
|
|
353
|
+
"data-testid": `${c}-helper-wrapper`,
|
|
354
|
+
children: [
|
|
355
|
+
_ && /* @__PURE__ */ o("div", { class: "IncodeDropdownComposedIconWrapper", children: /* @__PURE__ */ o(pe, { size: 17 }) }),
|
|
356
|
+
/* @__PURE__ */ o("p", { id: M, class: "IncodeDropdownComposedHelper", children: y })
|
|
357
|
+
]
|
|
358
|
+
}
|
|
359
|
+
)
|
|
360
|
+
]
|
|
361
|
+
}
|
|
362
|
+
);
|
|
363
|
+
};
|
|
364
|
+
export {
|
|
365
|
+
De as D,
|
|
366
|
+
ue as S
|
|
367
|
+
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { b as I, u as o, I as J, a as Q, B as Z } from "./button-
|
|
1
|
+
import { b as I, u as o, I as J, a as Q, B as Z } from "./button-B2Ewo0rX.js";
|
|
2
2
|
import { SUPPORTED_COUNTRIES as M, DEV_ONLY_COUNTRIES as x, computeEkybDisplayErrors as ee, createEkybManager as te } from "@incodetech/core/ekyb";
|
|
3
|
-
import { T as q, y as V, A as D, d as oe, q as C, k as re } from "./vendor-preact-
|
|
4
|
-
import "./uiConfig-
|
|
3
|
+
import { T as q, y as V, A as D, d as oe, q as C, k as re } from "./vendor-preact-BoMmvSgn.js";
|
|
4
|
+
import "./uiConfig-DmIn-g8M.js";
|
|
5
5
|
import "@incodetech/core";
|
|
6
|
-
import { u as ne, A as se } from "./addressAutocomplete-
|
|
7
|
-
import { P as K } from "./page-
|
|
8
|
-
import { S as ae } from "./spinner-
|
|
9
|
-
import { t as G, F as le, V as P } from "./formField-
|
|
10
|
-
import { r as ce } from "./incodeModule-
|
|
11
|
-
import { D as Y } from "./dropdownComposed-
|
|
12
|
-
import { a as _ } from "./inputComposed-
|
|
6
|
+
import { u as ne, A as se } from "./addressAutocomplete-BhUbJEuH.js";
|
|
7
|
+
import { P as K } from "./page-DiscPBzz.js";
|
|
8
|
+
import { S as ae } from "./spinner-DfUoOZN4.js";
|
|
9
|
+
import { t as G, F as le, V as P } from "./formField-CPfeaz8y.js";
|
|
10
|
+
import { r as ce } from "./incodeModule-C4XIllao.js";
|
|
11
|
+
import { D as Y } from "./dropdownComposed-DFrqye1c.js";
|
|
12
|
+
import { a as _ } from "./inputComposed-CJQTXKNA.js";
|
|
13
13
|
function ue(t) {
|
|
14
14
|
return [...t.toUpperCase()].map((r) => String.fromCodePoint(127462 + r.charCodeAt(0) - 65)).join("");
|
|
15
15
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { u as r, I as Y, b as $, a as G, B as L } from "./button-
|
|
1
|
+
import { u as r, I as Y, b as $, a as G, B as L } from "./button-B2Ewo0rX.js";
|
|
2
2
|
import { computeEkycDisplayErrors as j, createEkycManager as z } from "@incodetech/core/ekyc";
|
|
3
|
-
import { y as q, A as F, d as J, q as E, T as Q } from "./vendor-preact-
|
|
4
|
-
import "./uiConfig-
|
|
3
|
+
import { y as q, A as F, d as J, q as E, T as Q } from "./vendor-preact-BoMmvSgn.js";
|
|
4
|
+
import "./uiConfig-DmIn-g8M.js";
|
|
5
5
|
import "@incodetech/core";
|
|
6
|
-
import { u as U, A as W } from "./addressAutocomplete-
|
|
7
|
-
import { V as v, t as X, F as Z } from "./formField-
|
|
8
|
-
import { D as f } from "./dateInputComposed-
|
|
9
|
-
import { D as ee } from "./dropdownComposed-
|
|
10
|
-
import { P as T } from "./page-
|
|
11
|
-
import { S as re } from "./spinner-
|
|
12
|
-
import { r as oe } from "./incodeModule-
|
|
13
|
-
import { P as te } from "./phoneInputComposed-
|
|
6
|
+
import { u as U, A as W } from "./addressAutocomplete-BhUbJEuH.js";
|
|
7
|
+
import { V as v, t as X, F as Z } from "./formField-CPfeaz8y.js";
|
|
8
|
+
import { D as f } from "./dateInputComposed-DmlHvCmR.js";
|
|
9
|
+
import { D as ee } from "./dropdownComposed-DFrqye1c.js";
|
|
10
|
+
import { P as T } from "./page-DiscPBzz.js";
|
|
11
|
+
import { S as re } from "./spinner-DfUoOZN4.js";
|
|
12
|
+
import { r as oe } from "./incodeModule-C4XIllao.js";
|
|
13
|
+
import { P as te } from "./phoneInputComposed-Dsf9ZDTj.js";
|
|
14
14
|
const ae = ({ config: p, onFinish: s }) => {
|
|
15
15
|
const { t: l } = $(), [a, d] = G(() => z({ config: p }));
|
|
16
16
|
return q(() => {
|