@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,125 +0,0 @@
|
|
|
1
|
-
import { n as e } from "./i18n-Kzzvkz94.js";
|
|
2
|
-
import { p as t, v as n } from "./vendor-preact-D6SntenC.js";
|
|
3
|
-
import { c as r, o as i } from "./hooks-MxHtZWTS.js";
|
|
4
|
-
import { t as a } from "./incodeComponent-BoFhgK7G.js";
|
|
5
|
-
import { r as o, t as s } from "./loadingIcon-BN5YRQUb.js";
|
|
6
|
-
import { t as c } from "./page-DA3R7q0J.js";
|
|
7
|
-
import { t as l } from "./button-DcCUEn2n.js";
|
|
8
|
-
import { t as u } from "./successIcon-SlKgTSty.js";
|
|
9
|
-
import { t as d } from "./inputComposed-DAEey9xm.js";
|
|
10
|
-
import { t as f } from "./checkbox-DCCzBAuF.js";
|
|
11
|
-
import { t as p } from "./dateInputComposed-Ddd7HLyM.js";
|
|
12
|
-
import { t as m } from "./incodeModule-BiCoAJ5k.js";
|
|
13
|
-
import { t as h } from "./statusPage-B8b3Jg6N.js";
|
|
14
|
-
import { createCustomFieldsManager as g } from "@incodetech/core/custom-fields";
|
|
15
|
-
//#region src/modules/custom-fields/customFields.tsx
|
|
16
|
-
var _ = {
|
|
17
|
-
INTEGER: "number",
|
|
18
|
-
DOUBLE: "number",
|
|
19
|
-
STRING: "text"
|
|
20
|
-
}, v = { DOUBLE: "any" }, y = ({ field: e, isDisabled: r, onChange: i }) => {
|
|
21
|
-
let [a, o] = t("");
|
|
22
|
-
return /* @__PURE__ */ n("div", {
|
|
23
|
-
class: "IncodeCustomFieldsField",
|
|
24
|
-
children: /* @__PURE__ */ n(p, {
|
|
25
|
-
id: `custom-field-${e.name}`,
|
|
26
|
-
name: e.name,
|
|
27
|
-
label: e.label,
|
|
28
|
-
disabled: r,
|
|
29
|
-
value: a,
|
|
30
|
-
onInput: (t) => {
|
|
31
|
-
let n = t.target.value;
|
|
32
|
-
o(n), i(e.name, n);
|
|
33
|
-
}
|
|
34
|
-
})
|
|
35
|
-
});
|
|
36
|
-
}, b = ({ field: e, isDisabled: t, onChange: r }) => {
|
|
37
|
-
let i = `custom-field-${e.name}`;
|
|
38
|
-
return e.type === "BOOLEAN" ? /* @__PURE__ */ n("div", {
|
|
39
|
-
class: "IncodeCustomFieldsField",
|
|
40
|
-
children: /* @__PURE__ */ n(f, {
|
|
41
|
-
id: i,
|
|
42
|
-
name: e.name,
|
|
43
|
-
label: e.label,
|
|
44
|
-
disabled: t,
|
|
45
|
-
onChange: (t) => r(e.name, t.target.checked)
|
|
46
|
-
})
|
|
47
|
-
}) : e.type === "DATE" ? /* @__PURE__ */ n(y, {
|
|
48
|
-
field: e,
|
|
49
|
-
isDisabled: t,
|
|
50
|
-
onChange: r
|
|
51
|
-
}) : /* @__PURE__ */ n("div", {
|
|
52
|
-
class: "IncodeCustomFieldsField",
|
|
53
|
-
children: /* @__PURE__ */ n(d, {
|
|
54
|
-
id: i,
|
|
55
|
-
name: e.name,
|
|
56
|
-
label: e.label,
|
|
57
|
-
type: _[e.type] ?? "text",
|
|
58
|
-
step: v[e.type],
|
|
59
|
-
disabled: t,
|
|
60
|
-
onInput: (t) => r(e.name, t.target.value)
|
|
61
|
-
})
|
|
62
|
-
});
|
|
63
|
-
}, x = ({ config: t, manager: a, onFinish: d, onError: f }) => {
|
|
64
|
-
let { t: p } = e(), [m, _] = r(() => {
|
|
65
|
-
if (a) return a;
|
|
66
|
-
if (!t) throw Error("CustomFields config is required");
|
|
67
|
-
return g({ config: t });
|
|
68
|
-
}, {
|
|
69
|
-
manageLifecycle: !a,
|
|
70
|
-
autoLoad: !0
|
|
71
|
-
});
|
|
72
|
-
if (i({
|
|
73
|
-
status: m.status === "finished" ? "finished" : "loading",
|
|
74
|
-
onFinish: d
|
|
75
|
-
}), m.status === "success") return /* @__PURE__ */ n(h, {
|
|
76
|
-
variant: "success",
|
|
77
|
-
icon: /* @__PURE__ */ n(u, { size: 64 }),
|
|
78
|
-
title: p("customFields.completed"),
|
|
79
|
-
hideFooterBranding: !0
|
|
80
|
-
});
|
|
81
|
-
if (m.status === "finished") return null;
|
|
82
|
-
let v = m.status === "inputting" || m.status === "submitting" ? m.title ? p(m.title) : p("customFields.title") : "";
|
|
83
|
-
if (m.status === "submitting") return /* @__PURE__ */ n(h, {
|
|
84
|
-
variant: "loading",
|
|
85
|
-
icon: /* @__PURE__ */ n(s, { size: 64 }),
|
|
86
|
-
title: p("customFields.processing"),
|
|
87
|
-
hideFooterBranding: !0
|
|
88
|
-
});
|
|
89
|
-
let y = m.status === "inputting" ? m.canSubmit : !1, x = m.status === "inputting" ? m.customFields : [], S = (e, t) => {
|
|
90
|
-
_.setField(e, t);
|
|
91
|
-
};
|
|
92
|
-
return /* @__PURE__ */ n(c, {
|
|
93
|
-
className: "IncodeCustomFieldsPage",
|
|
94
|
-
title: v,
|
|
95
|
-
hideFooterBranding: !0,
|
|
96
|
-
children: /* @__PURE__ */ n("form", {
|
|
97
|
-
class: "IncodeCustomFieldsForm",
|
|
98
|
-
onSubmit: (e) => {
|
|
99
|
-
e.preventDefault(), _.submit();
|
|
100
|
-
},
|
|
101
|
-
autoComplete: "off",
|
|
102
|
-
children: [
|
|
103
|
-
x.map((e) => /* @__PURE__ */ n(b, {
|
|
104
|
-
field: e,
|
|
105
|
-
isDisabled: !1,
|
|
106
|
-
onChange: S
|
|
107
|
-
}, e.name)),
|
|
108
|
-
/* @__PURE__ */ n(o, {}),
|
|
109
|
-
/* @__PURE__ */ n(l, {
|
|
110
|
-
type: "submit",
|
|
111
|
-
disabled: !y,
|
|
112
|
-
children: p("customFields.continue")
|
|
113
|
-
})
|
|
114
|
-
]
|
|
115
|
-
})
|
|
116
|
-
});
|
|
117
|
-
}, S = ({ config: e, manager: t, onFinish: r, onError: i }) => /* @__PURE__ */ n(a, { children: e || t ? /* @__PURE__ */ n(x, {
|
|
118
|
-
config: e,
|
|
119
|
-
manager: t,
|
|
120
|
-
onFinish: r,
|
|
121
|
-
onError: i
|
|
122
|
-
}) : null });
|
|
123
|
-
m(S, "incode-custom-fields");
|
|
124
|
-
//#endregion
|
|
125
|
-
export { S as CustomFields };
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { n as e } from "./i18n-Kzzvkz94.js";
|
|
2
|
-
import { _ as t, v as n } from "./vendor-preact-D6SntenC.js";
|
|
3
|
-
import { c as r, o as i } from "./hooks-MxHtZWTS.js";
|
|
4
|
-
import { t as a } from "./incodeComponent-BoFhgK7G.js";
|
|
5
|
-
import { t as o } from "./loadingIcon-BN5YRQUb.js";
|
|
6
|
-
import { t as s } from "./successIcon-SlKgTSty.js";
|
|
7
|
-
import { t as c } from "./incodeModule-BiCoAJ5k.js";
|
|
8
|
-
import { t as l } from "./statusPage-B8b3Jg6N.js";
|
|
9
|
-
import { createCustomWatchlistManager as u } from "@incodetech/core/custom-watchlist";
|
|
10
|
-
//#region src/modules/custom-watchlist/customWatchlist.tsx
|
|
11
|
-
var d = ({ onFinish: a }) => {
|
|
12
|
-
let { t: c } = e(), [d, f] = r(() => u());
|
|
13
|
-
return t(() => {
|
|
14
|
-
f.load();
|
|
15
|
-
}, [f]), i({
|
|
16
|
-
status: d.status === "finished" ? "finished" : "loading",
|
|
17
|
-
onFinish: a
|
|
18
|
-
}), d.status === "success" ? /* @__PURE__ */ n(l, {
|
|
19
|
-
variant: "success",
|
|
20
|
-
icon: /* @__PURE__ */ n(s, { size: 64 }),
|
|
21
|
-
title: c("customWatchlist.done")
|
|
22
|
-
}) : /* @__PURE__ */ n(l, {
|
|
23
|
-
variant: "loading",
|
|
24
|
-
icon: /* @__PURE__ */ n(o, { size: 64 }),
|
|
25
|
-
title: c("watchList.processing"),
|
|
26
|
-
subtitle: c("customWatchlist.wontTake")
|
|
27
|
-
});
|
|
28
|
-
}, f = ({ onFinish: e }) => /* @__PURE__ */ n(a, { children: /* @__PURE__ */ n(d, { onFinish: e }) });
|
|
29
|
-
c(f, "incode-custom-watchlist");
|
|
30
|
-
//#endregion
|
|
31
|
-
export { f as CustomWatchlist };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./dateInputComposed-Ddd7HLyM.js";
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { a as e, l as t, v as n } from "./vendor-preact-D6SntenC.js";
|
|
2
|
-
import { n as r } from "./loadingIcon-BN5YRQUb.js";
|
|
3
|
-
import { m as i } from "./icons-9I5g9-_1.js";
|
|
4
|
-
import { t as a } from "./inputComposed-DAEey9xm.js";
|
|
5
|
-
import "./inputComposed-eS4B0Mkh.js";
|
|
6
|
-
//#region src/shared/dateInputComposed/dateInputComposed.tsx
|
|
7
|
-
var o = e(({ id: e, label: o, disabled: s, class: c, onInput: l, onBlur: u, ...d }, f) => {
|
|
8
|
-
let p = (e) => {
|
|
9
|
-
if (!e || !("showPicker" in HTMLInputElement.prototype)) return !1;
|
|
10
|
-
try {
|
|
11
|
-
return e.showPicker(), !0;
|
|
12
|
-
} catch {
|
|
13
|
-
return !1;
|
|
14
|
-
}
|
|
15
|
-
}, m = (e) => {
|
|
16
|
-
if (s) {
|
|
17
|
-
e.preventDefault();
|
|
18
|
-
return;
|
|
19
|
-
}
|
|
20
|
-
let t = e.currentTarget.control;
|
|
21
|
-
p(t);
|
|
22
|
-
}, h = t(!1);
|
|
23
|
-
return /* @__PURE__ */ n(a, {
|
|
24
|
-
ref: f,
|
|
25
|
-
id: e,
|
|
26
|
-
type: "date",
|
|
27
|
-
label: o,
|
|
28
|
-
disabled: s,
|
|
29
|
-
class: r("IncodeDateInputComposed", c),
|
|
30
|
-
onInput: (e) => {
|
|
31
|
-
l(e), h.current = !0;
|
|
32
|
-
},
|
|
33
|
-
onBlur: (e) => {
|
|
34
|
-
if (u?.(e), !h.current || (h.current = !1, e.relatedTarget !== null)) return;
|
|
35
|
-
let t = e.currentTarget;
|
|
36
|
-
t && requestAnimationFrame(() => {
|
|
37
|
-
let e = document.activeElement;
|
|
38
|
-
(e === null || e === document.body) && t.focus();
|
|
39
|
-
});
|
|
40
|
-
},
|
|
41
|
-
rightIcon: /* @__PURE__ */ n("label", {
|
|
42
|
-
htmlFor: e,
|
|
43
|
-
class: "IncodeDateInputComposedIconButton",
|
|
44
|
-
"aria-hidden": "true",
|
|
45
|
-
tabIndex: -1,
|
|
46
|
-
"data-disabled": s ? "true" : void 0,
|
|
47
|
-
onClick: m,
|
|
48
|
-
children: /* @__PURE__ */ n("span", {
|
|
49
|
-
class: "IncodeDateInputComposedIcon",
|
|
50
|
-
children: /* @__PURE__ */ n(i, {})
|
|
51
|
-
})
|
|
52
|
-
}),
|
|
53
|
-
...d
|
|
54
|
-
});
|
|
55
|
-
});
|
|
56
|
-
o.displayName = "DateInputComposed";
|
|
57
|
-
//#endregion
|
|
58
|
-
export { o as t };
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
//#region \0@oxc-project+runtime@0.122.0/helpers/typeof.js
|
|
2
|
-
function e(t) {
|
|
3
|
-
"@babel/helpers - typeof";
|
|
4
|
-
return e = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
5
|
-
return typeof e;
|
|
6
|
-
} : function(e) {
|
|
7
|
-
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
8
|
-
}, e(t);
|
|
9
|
-
}
|
|
10
|
-
//#endregion
|
|
11
|
-
//#region \0@oxc-project+runtime@0.122.0/helpers/toPrimitive.js
|
|
12
|
-
function t(t, n) {
|
|
13
|
-
if (e(t) != "object" || !t) return t;
|
|
14
|
-
var r = t[Symbol.toPrimitive];
|
|
15
|
-
if (r !== void 0) {
|
|
16
|
-
var i = r.call(t, n || "default");
|
|
17
|
-
if (e(i) != "object") return i;
|
|
18
|
-
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
19
|
-
}
|
|
20
|
-
return (n === "string" ? String : Number)(t);
|
|
21
|
-
}
|
|
22
|
-
//#endregion
|
|
23
|
-
//#region \0@oxc-project+runtime@0.122.0/helpers/toPropertyKey.js
|
|
24
|
-
function n(n) {
|
|
25
|
-
var r = t(n, "string");
|
|
26
|
-
return e(r) == "symbol" ? r : r + "";
|
|
27
|
-
}
|
|
28
|
-
//#endregion
|
|
29
|
-
//#region \0@oxc-project+runtime@0.122.0/helpers/defineProperty.js
|
|
30
|
-
function r(e, t, r) {
|
|
31
|
-
return (t = n(t)) in e ? Object.defineProperty(e, t, {
|
|
32
|
-
value: r,
|
|
33
|
-
enumerable: !0,
|
|
34
|
-
configurable: !0,
|
|
35
|
-
writable: !0
|
|
36
|
-
}) : e[t] = r, e;
|
|
37
|
-
}
|
|
38
|
-
//#endregion
|
|
39
|
-
export { r as t };
|