@incodetech/web 0.0.0-dev-20260608-c8c427ca → 0.0.0-dev-20260609-11ba3e8a
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/ae-signature/ae-signature.es.js +15 -13
- package/dist/aligndevicelottie-DY_bX_p8.js +12769 -0
- package/dist/antifraud/antifraud.es.js +22 -19
- package/dist/authentication/authentication.es.js +42 -33
- package/dist/autoFocusTitle-DM6PvgcP.js +29 -0
- package/dist/{back-horizontal-hint-DsPhKbR4.js → back-horizontal-hint-BXYix0Wj.js} +26 -26
- package/dist/back-tutorial-vb1MxlrT.js +14597 -0
- package/dist/{back-vertical-hint-BFJbYQrX.js → back-vertical-hint-DNSh6JNH.js} +27 -27
- package/dist/backdevicelottie-HypPqBz7.js +16690 -0
- package/dist/base.css +5 -0
- package/dist/blurdevicelottie-CBXtBFiJ.js +15951 -0
- package/dist/bottomSheet-BuzqNQtG.js +39 -0
- package/dist/browser-ponyfill-CLLvZCVg.js +441 -0
- package/dist/button-B-qlr4iI.js +35 -0
- package/dist/checkbox-CTPETqo5.js +96 -0
- package/dist/consent/consent.es.js +75 -64
- package/dist/countrySelector-CzyuaDIs.js +60 -0
- package/dist/cpf-ocr/cpf-ocr.es.js +2 -2
- package/dist/cpfOcr-DQVs3r8N.js +92 -0
- package/dist/cpfOcr-WNklFuxT.js +2 -0
- package/dist/cross-document-data-match/cross-document-data-match.es.js +20 -17
- package/dist/curp-validation/curp-validation.es.js +246 -211
- package/dist/customFields-B4MqqDI6.js +140 -0
- package/dist/customWatchlist-Dfqw1DQP.js +36 -0
- package/dist/dateInputComposed-BsPQHG5o.js +1 -0
- package/dist/dateInputComposed-DY97tQVK.js +69 -0
- package/dist/defineProperty-mefzVtTv.js +39 -0
- package/dist/document-capture/document-capture.es.js +2 -2
- package/dist/documentCapture-BE78MIlR.js +876 -0
- package/dist/documentCapture-BVfNZL29.js +2 -0
- package/dist/dropdownComposed-BF4L-7mJ.js +380 -0
- package/dist/dropdownComposed-mvHuRFHn.js +1 -0
- package/dist/dynamicForms-BYGGAQoc.js +352 -0
- package/dist/ekyb/ekyb.es.js +2 -2
- package/dist/ekybModule-BUPX0QhW.js +2 -0
- package/dist/ekybModule-CkTXu-4u.js +279 -0
- package/dist/ekyc/ekyc.es.js +2 -2
- package/dist/ekycModule-BWsVX39d.js +257 -0
- package/dist/ekycModule-DNDPqvUc.js +2 -0
- package/dist/electronic-signature/electronic-signature.es.js +2 -2
- package/dist/electronic-signature-BJSyzex9.js +426 -0
- package/dist/email/email.es.js +198 -78
- package/dist/emailInput-BHp4Apt4.js +39 -0
- package/dist/errorIcon-B0rmz3rw.js +26 -0
- package/dist/expiredId-C105HVKv.js +85 -0
- package/dist/extensibility-DJwVxojG.js +3070 -0
- package/dist/extensibility.es.js +26 -26
- package/dist/face-match/face-match.es.js +2 -2
- package/dist/faceMatch-BOFGxzzx.js +343 -0
- package/dist/faceMatch-CDMcFQwR.js +2 -0
- package/dist/field-comparison/field-comparison.es.js +2 -2
- package/dist/fieldComparison-BMDmQ8eA.js +88 -0
- package/dist/fieldComparison-Z1NleSxD.js +2 -0
- package/dist/{flip-animation-CuQ57qTn.js → flip-animation-BGRvygw9.js} +4221 -4221
- package/dist/flow/flow.es.js +597 -493
- package/dist/flow/styles.css +0 -8
- package/dist/{front-horizontal-hint-CKm7PnmS.js → front-horizontal-hint-CLSU0iVo.js} +70 -70
- package/dist/{front-vertical-hint-CLHC2qoH.js → front-vertical-hint-BWq-yWQ8.js} +81 -81
- package/dist/frontdevicelottie-CLqitJhG.js +17314 -0
- package/dist/geolocation/geolocation.es.js +485 -395
- package/dist/glaredevicelottie-BS04U6Fc.js +14478 -0
- package/dist/governmentValidation/governmentValidation.es.js +145 -64
- package/dist/governmentValidation/styles.css +0 -36
- package/dist/homeScreen-BsEYyiDB.js +264 -0
- package/dist/hooks-BtgmGvba.js +149 -0
- package/dist/i18n-gTHArCl9.js +2971 -0
- package/dist/icons-DKY3xDkf.js +360 -0
- package/dist/id/id.es.js +565 -413
- package/dist/id-laser-h-DX8UbVNH.js +467 -0
- package/dist/id-laser-v-DhnHdjlB.js +490 -0
- package/dist/id-tutorial-lj4iKtYT.js +13165 -0
- package/dist/id-verification/id-verification.es.js +21 -18
- package/dist/idOcr-BS77o1VC.js +123 -0
- package/dist/identity-reuse/identity-reuse.es.js +168 -130
- package/dist/incode-logo-57XFniXU.js +4 -0
- package/dist/incodeComponent-CDJxFZvS.js +63 -0
- package/dist/incodeModule-DkA_yd0X.js +13 -0
- package/dist/index.es.js +16 -14
- package/dist/inputComposed-5V2nLTqH.js +99 -0
- package/dist/inputComposed-BPOYwUBl.js +1 -0
- package/dist/loadingIcon-DN62ugKs.js +148 -0
- package/dist/lottie_light-Dp9Bz3mf.js +9031 -0
- package/dist/mandatoryConsent-DP189TUn.js +107 -0
- package/dist/modal-B5QeulDu.js +153 -0
- package/dist/modal.hooks-C7K9k_pY.js +202 -0
- package/dist/numberedStep-DVAyTPv1.js +13 -0
- package/dist/optionAccessibleLabel-Czc2YC8z.js +202 -0
- package/dist/otpInput-2IQ-JCK8.js +195 -0
- package/dist/page-BZ-0eNWq.js +71 -0
- package/dist/{passport-horizontal-hint-C_le0HVU.js → passport-horizontal-hint-DfVsf4Cc.js} +55 -55
- package/dist/{passport-tutorial-BYN4T_TE.js → passport-tutorial-zT1ZoA-D.js} +7096 -7084
- package/dist/{passport-vertical-hint-H-pyICSv.js → passport-vertical-hint-DVxbTyQp.js} +49 -49
- package/dist/pdf-BZA70WbM.js +22398 -0
- package/dist/pdfViewer-Dr63sJ51.js +114 -0
- package/dist/phone/phone.es.js +214 -87
- package/dist/phoneInputComposed-D_IabWKJ.js +12142 -0
- package/dist/processing-B_u8wUB7.js +8 -0
- package/dist/qe-signature/qe-signature.es.js +15 -13
- package/dist/radioGroupComposed-DwYW-Ld-.js +215 -0
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +2099 -859
- package/dist/registerIncodeElement-BJJGzVdq.js +11 -0
- package/dist/requiredLabelHint-DEadtiwx.js +17 -0
- package/dist/richText-C7GUm0WL.js +3153 -0
- package/dist/rolldown-runtime--E5BIlTp.js +33 -0
- package/dist/selfie/selfie.es.js +54 -42
- package/dist/selfieTutorial-CtruLyO2.js +2689 -0
- package/dist/signature/signature.es.js +765 -406
- package/dist/snackbar-Dz9crm39.js +16 -0
- package/dist/spinner-BfBIZkDQ.js +42 -0
- package/dist/spinner-DEDtE7Pz.js +1 -0
- package/dist/statusPage-CVCoieyd.js +28 -0
- package/dist/successIcon-rmzr-pxu.js +30 -0
- package/dist/tabs--UMd6eEB.js +103 -0
- package/dist/transitionSpinner-CWhGcr7c.js +26 -0
- package/dist/{tutorial-QzQ536BL.js → tutorial-Jv0noW4z.js} +832 -578
- package/dist/types/extensibility.d.ts +3 -1
- package/dist/types/index.d.ts +13 -4
- package/dist/typography-BK4AmfKX.js +45 -0
- package/dist/uiConfig-sgEkFuuA.js +25 -0
- package/dist/useModuleLoader-CuhHtmgr.js +670 -0
- package/dist/vendor-preact-BH7vOa2r.js +957 -0
- package/dist/verificationResult-CJ0JyV6A.js +64 -0
- package/dist/verifiedByIncode-8QBn-kgZ.js +103 -0
- package/dist/watchlist/watchlist.es.js +31 -26
- package/dist/watchlistForBusiness-RZcnjVDb.js +80 -0
- package/dist/workflow/styles.css +0 -8
- package/dist/workflow/workflow.es.js +251 -209
- package/package.json +4 -2
- package/dist/aligndevicelottie-D8KsO77t.js +0 -12757
- package/dist/autoFocusTitle-BpYdaSUM.js +0 -16
- package/dist/back-tutorial-DhSE2FJo.js +0 -14585
- package/dist/backdevicelottie-CJWGVMdw.js +0 -16678
- package/dist/blurdevicelottie-Dxt2deEB.js +0 -15939
- package/dist/bottomSheet-QrpyatOD.js +0 -31
- package/dist/browser-ponyfill-Crda_c5R.js +0 -299
- package/dist/button-DcCUEn2n.js +0 -24
- package/dist/checkbox-DCCzBAuF.js +0 -86
- package/dist/countrySelector-CJ8egQ4C.js +0 -58
- package/dist/cpfOcr-Db06i-Lm.js +0 -2
- package/dist/cpfOcr-FixhUeMQ.js +0 -79
- package/dist/customFields-C1G9xHNX.js +0 -125
- package/dist/customWatchlist-IKEblz7u.js +0 -31
- package/dist/dateInputComposed-Cg8BvYSK.js +0 -1
- package/dist/dateInputComposed-Ddd7HLyM.js +0 -58
- package/dist/defineProperty-xczUyn-m.js +0 -39
- package/dist/documentCapture-D9I7FjGe.js +0 -2
- package/dist/documentCapture-b61wlala.js +0 -765
- package/dist/dropdownComposed-B4U0AIak.js +0 -1
- package/dist/dropdownComposed-CS2pyn-g.js +0 -293
- package/dist/dynamicForms-tYQog0kw.js +0 -298
- package/dist/ekybModule-C33C4JES.js +0 -237
- package/dist/ekybModule-LON6G2Bz.js +0 -2
- package/dist/ekycModule-BJOgtTAh.js +0 -225
- package/dist/ekycModule-BSf_DIG7.js +0 -2
- package/dist/electronic-signature-OdgTyso4.js +0 -406
- package/dist/emailInput-CU7mLB21.js +0 -37
- package/dist/errorIcon-DpHzAoAo.js +0 -24
- package/dist/expiredId-nfVAZgTL.js +0 -70
- package/dist/extensibility-BbNy3mVG.js +0 -2602
- package/dist/faceMatch-BIila4kf.js +0 -2
- package/dist/faceMatch-DJ7Mqujx.js +0 -206
- package/dist/fieldComparison-D2RSFYl-.js +0 -84
- package/dist/fieldComparison-DbUyouFd.js +0 -2
- package/dist/frontdevicelottie-65Vyfpff.js +0 -17302
- package/dist/glaredevicelottie-BEyaqtc6.js +0 -14466
- package/dist/homeScreen-CyPddxWl.js +0 -227
- package/dist/hooks-MxHtZWTS.js +0 -112
- package/dist/i18n-Kzzvkz94.js +0 -2019
- package/dist/icons-9I5g9-_1.js +0 -292
- package/dist/id-laser-h-iCPbFixz.js +0 -467
- package/dist/id-laser-v-CNzwliP2.js +0 -483
- package/dist/id-tutorial-CF4nO4oX.js +0 -13153
- package/dist/idOcr-DlMLMDqa.js +0 -97
- package/dist/incode-logo-DX016usY.js +0 -4
- package/dist/incodeComponent-BoFhgK7G.js +0 -50
- package/dist/incodeModule-BiCoAJ5k.js +0 -13
- package/dist/inputComposed-DAEey9xm.js +0 -94
- package/dist/inputComposed-eS4B0Mkh.js +0 -1
- package/dist/loadingIcon-BN5YRQUb.js +0 -104
- package/dist/lottie_light-DLqSnziX.js +0 -4419
- package/dist/mandatoryConsent-DNz2jZ43.js +0 -98
- package/dist/modal-ZqAhwiRF.js +0 -135
- package/dist/modal.hooks-LdusROLW.js +0 -126
- package/dist/numberedStep-CdLWASwL.js +0 -11
- package/dist/optionAccessibleLabel-DcygPaME.js +0 -140
- package/dist/otpInput-C4pk4BJU.js +0 -157
- package/dist/page-DA3R7q0J.js +0 -69
- package/dist/pdf-51QeiFSx.js +0 -14967
- package/dist/pdfViewer-rKzTHket.js +0 -64
- package/dist/phoneInputComposed-CjAxk2Gj.js +0 -11230
- package/dist/processing-DPktVde2.js +0 -6
- package/dist/radioGroupComposed-DRRxVk9Z.js +0 -178
- package/dist/registerIncodeElement-BHWOwdSS.js +0 -7
- package/dist/requiredLabelHint-B6FN3v88.js +0 -13
- package/dist/richText-6pIbydcz.js +0 -1973
- package/dist/rolldown-runtime-CYMK-g2i.js +0 -20
- package/dist/selfieTutorial-Yo9AlUoT.js +0 -2677
- package/dist/snackbar-CQiiWO4p.js +0 -14
- package/dist/spinner-B4dcie2T.js +0 -1
- package/dist/spinner-CKnjVHxw.js +0 -39
- package/dist/statusPage-B8b3Jg6N.js +0 -28
- package/dist/successIcon-SlKgTSty.js +0 -28
- package/dist/tabs-D7lGst3Q.js +0 -78
- package/dist/transitionSpinner-Di3bOyOu.js +0 -17
- package/dist/typography-CxjaknHN.js +0 -28
- package/dist/uiConfig-CwpQ-IM6.js +0 -20
- package/dist/useModuleLoader-Bqs7fglI.js +0 -517
- package/dist/vendor-preact-D6SntenC.js +0 -958
- package/dist/verificationResult-DhT3hH1b.js +0 -90
- package/dist/verifiedByIncode-DpbxzO0y.js +0 -101
- package/dist/watchlistForBusiness-CRXVbH4l.js +0 -75
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
import { n as e } from "./i18n-Kzzvkz94.js";
|
|
2
|
-
import { a as t, p as n, v as r } from "./vendor-preact-D6SntenC.js";
|
|
3
|
-
import { n as i } from "./loadingIcon-BN5YRQUb.js";
|
|
4
|
-
import { t as a } from "./errorIcon-DpHzAoAo.js";
|
|
5
|
-
import "./icons-9I5g9-_1.js";
|
|
6
|
-
import { t as o } from "./inputComposed-DAEey9xm.js";
|
|
7
|
-
//#region src/shared/errorParams.ts
|
|
8
|
-
function s(e, t) {
|
|
9
|
-
if (t?.fieldName && typeof t.fieldName == "string") {
|
|
10
|
-
let n = String(t.fieldName), r = n.includes(".") ? e(n) : n;
|
|
11
|
-
return {
|
|
12
|
-
...t,
|
|
13
|
-
fieldName: r
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
return t;
|
|
17
|
-
}
|
|
18
|
-
function c(e, t, n) {
|
|
19
|
-
if (t) return e(t, s(e, n));
|
|
20
|
-
}
|
|
21
|
-
//#endregion
|
|
22
|
-
//#region src/shared/formField/formField.tsx
|
|
23
|
-
var l = ({ name: t, label: n, displayLabel: i, value: a = "", error: s, errorParams: l, type: u = "text", placeholder: d, placeholderParams: f, required: p, readonly: m, maxLength: h, disabled: g, labelHint: _, onChange: v, onBlur: y }) => {
|
|
24
|
-
let { t: b } = e();
|
|
25
|
-
return /* @__PURE__ */ r("div", {
|
|
26
|
-
className: "IncodeFormField",
|
|
27
|
-
children: /* @__PURE__ */ r(o, {
|
|
28
|
-
id: t,
|
|
29
|
-
label: i ?? b(n),
|
|
30
|
-
labelHint: _,
|
|
31
|
-
name: t,
|
|
32
|
-
type: u,
|
|
33
|
-
value: a,
|
|
34
|
-
placeholder: d ? b(d, f) : void 0,
|
|
35
|
-
readOnly: m,
|
|
36
|
-
disabled: g,
|
|
37
|
-
required: p,
|
|
38
|
-
maxLength: h,
|
|
39
|
-
error: c(b, s, l),
|
|
40
|
-
onInput: (e) => {
|
|
41
|
-
let n = e.target;
|
|
42
|
-
v(t, n.value);
|
|
43
|
-
},
|
|
44
|
-
onBlur: y ? () => y(t) : void 0,
|
|
45
|
-
"data-testid": `form-field-${t}`
|
|
46
|
-
})
|
|
47
|
-
});
|
|
48
|
-
}, u = t(({ id: e, label: t, labelHint: o, checked: s, defaultChecked: c, disabled: l = !1, required: u = !1, name: d, value: f, onChange: p, error: m, helper: h, showErrorIcon: g = !0, class: _, "aria-label": v, "aria-labelledby": y, "aria-describedby": b, "aria-invalid": x, ...S }, C) => {
|
|
49
|
-
let [w, T] = n(!!c), E = s !== void 0, D = E ? !!s : w, O = !!l, k = !!u, A = typeof _ == "string" ? _ : void 0, j = (e) => {
|
|
50
|
-
E || T(e.target.checked), p?.(e);
|
|
51
|
-
}, M = h ? `${e}-helper` : void 0, N = m ? `${e}-error` : void 0, P = [
|
|
52
|
-
b,
|
|
53
|
-
N,
|
|
54
|
-
M
|
|
55
|
-
].filter(Boolean).join(" ") || void 0;
|
|
56
|
-
return /* @__PURE__ */ r("div", {
|
|
57
|
-
class: i("IncodeRadioButton", A),
|
|
58
|
-
children: [
|
|
59
|
-
/* @__PURE__ */ r("label", {
|
|
60
|
-
class: i("IncodeRadioButtonLabel", { IncodeRadioButtonLabelDisabled: O }),
|
|
61
|
-
htmlFor: e,
|
|
62
|
-
children: [/* @__PURE__ */ r("div", {
|
|
63
|
-
class: "relative inline-flex",
|
|
64
|
-
children: [/* @__PURE__ */ r("input", {
|
|
65
|
-
ref: C,
|
|
66
|
-
type: "radio",
|
|
67
|
-
class: "IncodeRadioButtonInput",
|
|
68
|
-
id: e,
|
|
69
|
-
name: d,
|
|
70
|
-
value: f,
|
|
71
|
-
...E ? { checked: s } : { defaultChecked: c },
|
|
72
|
-
disabled: l,
|
|
73
|
-
required: u,
|
|
74
|
-
onChange: j,
|
|
75
|
-
"aria-label": v,
|
|
76
|
-
"aria-labelledby": y,
|
|
77
|
-
"aria-describedby": P,
|
|
78
|
-
"aria-invalid": x || !!m,
|
|
79
|
-
"aria-required": k,
|
|
80
|
-
...S
|
|
81
|
-
}), /* @__PURE__ */ r("div", {
|
|
82
|
-
class: i("IncodeRadioButtonVisual", {
|
|
83
|
-
IncodeRadioButtonVisualChecked: D,
|
|
84
|
-
IncodeRadioButtonVisualDisabled: O,
|
|
85
|
-
IncodeRadioButtonVisualError: !!m
|
|
86
|
-
}),
|
|
87
|
-
"aria-hidden": "true",
|
|
88
|
-
children: /* @__PURE__ */ r("span", { class: i("IncodeRadioButtonDot", { IncodeRadioButtonDotVisible: D }) })
|
|
89
|
-
})]
|
|
90
|
-
}), t && /* @__PURE__ */ r("span", {
|
|
91
|
-
class: i("IncodeRadioButtonText", { IncodeRadioButtonTextDisabled: O }),
|
|
92
|
-
"aria-hidden": y ? "true" : void 0,
|
|
93
|
-
children: [t, o && /* @__PURE__ */ r("span", {
|
|
94
|
-
class: "IncodeRadioButtonLabelHint",
|
|
95
|
-
"data-testid": `${e}-label-hint`,
|
|
96
|
-
children: o
|
|
97
|
-
})]
|
|
98
|
-
})]
|
|
99
|
-
}),
|
|
100
|
-
m && /* @__PURE__ */ r("div", {
|
|
101
|
-
class: "IncodeRadioButtonMessageWrapper",
|
|
102
|
-
"data-testid": `${e}-error-wrapper`,
|
|
103
|
-
children: [g && /* @__PURE__ */ r("div", {
|
|
104
|
-
class: "IncodeRadioButtonIconWrapper",
|
|
105
|
-
children: /* @__PURE__ */ r(a, { size: 17 })
|
|
106
|
-
}), /* @__PURE__ */ r("p", {
|
|
107
|
-
id: N,
|
|
108
|
-
class: "IncodeRadioButtonErrorText",
|
|
109
|
-
children: m
|
|
110
|
-
})]
|
|
111
|
-
}),
|
|
112
|
-
h && !m && /* @__PURE__ */ r("div", {
|
|
113
|
-
class: "IncodeRadioButtonMessageWrapper",
|
|
114
|
-
"data-testid": `${e}-helper-wrapper`,
|
|
115
|
-
children: /* @__PURE__ */ r("p", {
|
|
116
|
-
id: M,
|
|
117
|
-
class: "IncodeRadioButtonHelperText",
|
|
118
|
-
children: h
|
|
119
|
-
})
|
|
120
|
-
})
|
|
121
|
-
]
|
|
122
|
-
});
|
|
123
|
-
}), d = t(({ id: e, label: t, labelHint: a, options: o, value: s, defaultValue: c, error: l, helper: d, required: f = !1, disabled: p = !1, name: m, orientation: h = "row", onChange: g, onBlur: _, class: v, "data-testid": y }, b) => {
|
|
124
|
-
let [x, S] = n(c ?? ""), C = s !== void 0, w = C ? s : x, T = `${e}-label`, E = l ? `${e}-error` : void 0, D = d && !l ? `${e}-helper` : void 0, O = E ?? D, k = m ?? e, A = (e, t) => {
|
|
125
|
-
C || S(e), g?.(e, t);
|
|
126
|
-
};
|
|
127
|
-
return /* @__PURE__ */ r("div", {
|
|
128
|
-
ref: b,
|
|
129
|
-
class: i("IncodeRadioGroupComposed", v),
|
|
130
|
-
"data-testid": y,
|
|
131
|
-
children: [
|
|
132
|
-
/* @__PURE__ */ r("span", {
|
|
133
|
-
id: T,
|
|
134
|
-
class: "IncodeRadioGroupComposedLabel",
|
|
135
|
-
children: [t, a && /* @__PURE__ */ r("span", {
|
|
136
|
-
class: "IncodeRadioGroupComposedLabelHint",
|
|
137
|
-
"data-testid": `${e}-label-hint`,
|
|
138
|
-
children: a
|
|
139
|
-
})]
|
|
140
|
-
}),
|
|
141
|
-
/* @__PURE__ */ r("div", {
|
|
142
|
-
class: "IncodeRadioGroupComposedOptions",
|
|
143
|
-
role: "radiogroup",
|
|
144
|
-
"aria-labelledby": T,
|
|
145
|
-
"aria-required": f || void 0,
|
|
146
|
-
"aria-invalid": l ? !0 : void 0,
|
|
147
|
-
"aria-describedby": O,
|
|
148
|
-
"data-orientation": h,
|
|
149
|
-
children: o.map((t) => /* @__PURE__ */ r(u, {
|
|
150
|
-
id: `${e}-${t.value}`,
|
|
151
|
-
name: k,
|
|
152
|
-
label: t.label,
|
|
153
|
-
value: t.value,
|
|
154
|
-
checked: w === t.value,
|
|
155
|
-
disabled: p || t.disabled,
|
|
156
|
-
showErrorIcon: !1,
|
|
157
|
-
"aria-invalid": l ? !0 : void 0,
|
|
158
|
-
"aria-describedby": O,
|
|
159
|
-
onChange: (e) => A(t.value, e),
|
|
160
|
-
onBlur: _
|
|
161
|
-
}, t.value))
|
|
162
|
-
}),
|
|
163
|
-
l && /* @__PURE__ */ r("p", {
|
|
164
|
-
id: E,
|
|
165
|
-
class: "IncodeRadioGroupComposedError",
|
|
166
|
-
role: "alert",
|
|
167
|
-
children: l
|
|
168
|
-
}),
|
|
169
|
-
d && !l && /* @__PURE__ */ r("p", {
|
|
170
|
-
id: D,
|
|
171
|
-
class: "IncodeRadioGroupComposedHelper",
|
|
172
|
-
children: d
|
|
173
|
-
})
|
|
174
|
-
]
|
|
175
|
-
});
|
|
176
|
-
});
|
|
177
|
-
//#endregion
|
|
178
|
-
export { c as i, u as n, l as r, d as t };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
//#region src/shared/utils/requiredLabelHint/requiredLabelHint.ts
|
|
2
|
-
function e(e) {
|
|
3
|
-
if (e.length < 2) return null;
|
|
4
|
-
let t = 0;
|
|
5
|
-
for (let n of e) n && t++;
|
|
6
|
-
let n = e.length - t;
|
|
7
|
-
return t === 0 || n === 0 || t === n ? null : t > n ? "mark-optional" : "mark-required";
|
|
8
|
-
}
|
|
9
|
-
function t(e, t) {
|
|
10
|
-
return e ? e === "mark-optional" ? t ? null : "optional" : t ? "required" : null : null;
|
|
11
|
-
}
|
|
12
|
-
//#endregion
|
|
13
|
-
export { e as n, t };
|