@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
package/dist/idOcr-DlMLMDqa.js
DELETED
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { n as e } from "./i18n-Kzzvkz94.js";
|
|
2
|
-
import { d 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 "./page-DA3R7q0J.js";
|
|
6
|
-
import "./extensibility-BbNy3mVG.js";
|
|
7
|
-
import { t as s } from "./button-DcCUEn2n.js";
|
|
8
|
-
import { t as c } from "./verificationResult-DhT3hH1b.js";
|
|
9
|
-
import { t as l } from "./inputComposed-DAEey9xm.js";
|
|
10
|
-
import { t as u } from "./radioGroupComposed-DRRxVk9Z.js";
|
|
11
|
-
import { t as d } from "./dateInputComposed-Ddd7HLyM.js";
|
|
12
|
-
import { t as f } from "./incodeModule-BiCoAJ5k.js";
|
|
13
|
-
import { n as p, t as m } from "./requiredLabelHint-B6FN3v88.js";
|
|
14
|
-
import { createIdOcrManager as h, getOcrFields as g } from "@incodetech/core/id-ocr";
|
|
15
|
-
//#region src/modules/id-ocr/idOcrForm.tsx
|
|
16
|
-
var _ = {
|
|
17
|
-
text: l,
|
|
18
|
-
date: d
|
|
19
|
-
}, v = ({ fields: r, data: i, validationErrors: a, isReadonly: o, onChange: c, onBlur: l, onContinue: d }) => {
|
|
20
|
-
let { t: f } = e(), h = a && Object.keys(a).length > 0, g = r.filter((e) => e.key === "issuingCountry" ? o === !0 : e.key === "documentNumber" && o ? !!i.documentNumber : !0), v = t(() => p(g.map((e) => o ? !1 : e.required)), [g, o]);
|
|
21
|
-
return /* @__PURE__ */ n("div", {
|
|
22
|
-
className: "IncodeIdOcrForm",
|
|
23
|
-
children: [g.map((e) => {
|
|
24
|
-
let t = i[e.key] ?? "", r = a?.[e.key], s = r ? f(r) : void 0, d = o ? !1 : e.required, p = m(v, d), h = p ? f(`forms.label.${p}`) : void 0;
|
|
25
|
-
if (e.type === "radio") return /* @__PURE__ */ n(u, {
|
|
26
|
-
id: `id-ocr-${e.key}`,
|
|
27
|
-
class: "IncodeIdOcrRadioGroup",
|
|
28
|
-
label: f(e.labelKey),
|
|
29
|
-
labelHint: h,
|
|
30
|
-
value: t,
|
|
31
|
-
options: (e.options ?? []).map((e) => ({
|
|
32
|
-
value: e.value,
|
|
33
|
-
label: f(e.label)
|
|
34
|
-
})),
|
|
35
|
-
required: d,
|
|
36
|
-
disabled: o,
|
|
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(g, {
|
|
41
|
-
id: `id-ocr-${e.key}`,
|
|
42
|
-
label: f(e.labelKey),
|
|
43
|
-
labelHint: h,
|
|
44
|
-
value: t,
|
|
45
|
-
disabled: o,
|
|
46
|
-
required: d,
|
|
47
|
-
error: s,
|
|
48
|
-
showErrorIcon: !!s,
|
|
49
|
-
onInput: (t) => c(e.key, t.target.value),
|
|
50
|
-
onBlur: o || !l ? void 0 : () => l(e.key),
|
|
51
|
-
...e.type === "date" && { max: y }
|
|
52
|
-
}, e.key);
|
|
53
|
-
}), /* @__PURE__ */ n("div", {
|
|
54
|
-
className: "IncodeIdOcrButton",
|
|
55
|
-
children: /* @__PURE__ */ n(s, {
|
|
56
|
-
onClick: d,
|
|
57
|
-
disabled: h,
|
|
58
|
-
children: f("common.continue")
|
|
59
|
-
})
|
|
60
|
-
})]
|
|
61
|
-
});
|
|
62
|
-
}, y = ({ config: t, onFinish: a }) => {
|
|
63
|
-
let { t: s } = e(), [l, u] = r(() => h({ config: t }));
|
|
64
|
-
return i({
|
|
65
|
-
status: l.status === "finished" ? "finished" : "loading",
|
|
66
|
-
onFinish: a
|
|
67
|
-
}), l.status === "finished" ? null : l.status === "success" ? /* @__PURE__ */ n(c, {
|
|
68
|
-
status: "success",
|
|
69
|
-
successTitle: s("idOcr.successTitle")
|
|
70
|
-
}) : l.status === "error" ? /* @__PURE__ */ n(c, {
|
|
71
|
-
status: "failure",
|
|
72
|
-
onRetry: () => u.retry()
|
|
73
|
-
}) : l.status === "loading" || l.status === "submitting" ? /* @__PURE__ */ n(c, {
|
|
74
|
-
status: "submitting",
|
|
75
|
-
submittingTitle: s("common.holdOnASec"),
|
|
76
|
-
submittingSubtitle: s("idOcr.loadingSubtitle")
|
|
77
|
-
}) : l.status === "readonly" || l.status === "inputting" ? /* @__PURE__ */ n(o, {
|
|
78
|
-
title: s("idOcr.title"),
|
|
79
|
-
className: "IncodeIdOcrPage",
|
|
80
|
-
hideFooterBranding: !0,
|
|
81
|
-
children: /* @__PURE__ */ n(v, {
|
|
82
|
-
fields: g(t),
|
|
83
|
-
data: l.formData,
|
|
84
|
-
validationErrors: l.status === "inputting" ? l.validationErrors : void 0,
|
|
85
|
-
isReadonly: l.status === "readonly",
|
|
86
|
-
onChange: (e, t) => u.setField(e, t),
|
|
87
|
-
onBlur: l.status === "inputting" ? (e) => u.validateField(e) : void 0,
|
|
88
|
-
onContinue: () => u.continue()
|
|
89
|
-
}, l.ocrDocument)
|
|
90
|
-
}) : null;
|
|
91
|
-
}, b = ({ config: e, onFinish: t }) => /* @__PURE__ */ n(a, { children: e ? /* @__PURE__ */ n(y, {
|
|
92
|
-
config: e,
|
|
93
|
-
onFinish: t
|
|
94
|
-
}) : null });
|
|
95
|
-
f(b, "incode-id-ocr");
|
|
96
|
-
//#endregion
|
|
97
|
-
export { b as IdOcr };
|
|
@@ -1,4 +0,0 @@
|
|
|
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 };
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { n as e } from "./i18n-Kzzvkz94.js";
|
|
2
|
-
import { _ as t, l as n, p as r, r as i, v as a } from "./vendor-preact-D6SntenC.js";
|
|
3
|
-
import { s as o } from "./hooks-MxHtZWTS.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 };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./registerIncodeElement-BHWOwdSS.js";
|
|
2
|
-
//#region src/shared/webComponent/incodeModule.ts
|
|
3
|
-
var t = [
|
|
4
|
-
"config",
|
|
5
|
-
"manager",
|
|
6
|
-
"onFinish",
|
|
7
|
-
"onError"
|
|
8
|
-
];
|
|
9
|
-
function n(n, r) {
|
|
10
|
-
e(n, r, t);
|
|
11
|
-
}
|
|
12
|
-
//#endregion
|
|
13
|
-
export { n as t };
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { a as e, v as t } from "./vendor-preact-D6SntenC.js";
|
|
2
|
-
import { n } from "./loadingIcon-BN5YRQUb.js";
|
|
3
|
-
import { t as r } from "./errorIcon-DpHzAoAo.js";
|
|
4
|
-
import { o as i } from "./icons-9I5g9-_1.js";
|
|
5
|
-
import { t as a } from "./successIcon-SlKgTSty.js";
|
|
6
|
-
//#region src/shared/input/input.tsx
|
|
7
|
-
var o = e((e, r) => {
|
|
8
|
-
let { class: i, type: a = "text", ...o } = e;
|
|
9
|
-
return /* @__PURE__ */ t("input", {
|
|
10
|
-
...o,
|
|
11
|
-
ref: r,
|
|
12
|
-
type: a,
|
|
13
|
-
class: n("IncodeInput", i)
|
|
14
|
-
});
|
|
15
|
-
}), s = e(({ id: e, label: s, labelHint: c, "aria-label": l, "aria-describedby": u, type: d, error: f, showErrorIcon: p, helper: m, showHelperIcon: h, closeButton: g, rightIcon: _, required: v, suppressMessages: y = !1, class: b, value: x, ...S }, C) => {
|
|
16
|
-
let w = `${e}-helper`, T = `${e}-error`, E = [
|
|
17
|
-
!y && m ? w : null,
|
|
18
|
-
!y && f ? T : null,
|
|
19
|
-
u
|
|
20
|
-
].filter(Boolean).join(" ") || void 0;
|
|
21
|
-
return /* @__PURE__ */ t("div", {
|
|
22
|
-
class: n("IncodeInputComposed", b),
|
|
23
|
-
children: [
|
|
24
|
-
s && /* @__PURE__ */ t("label", {
|
|
25
|
-
class: "IncodeInputComposedLabel",
|
|
26
|
-
htmlFor: e,
|
|
27
|
-
"data-testid": `${e}-label`,
|
|
28
|
-
children: [s, c && /* @__PURE__ */ t("span", {
|
|
29
|
-
class: "IncodeInputComposedLabelHint",
|
|
30
|
-
"data-testid": `${e}-label-hint`,
|
|
31
|
-
children: c
|
|
32
|
-
})]
|
|
33
|
-
}),
|
|
34
|
-
/* @__PURE__ */ t("div", {
|
|
35
|
-
class: "IncodeInputComposedWrapper",
|
|
36
|
-
children: [
|
|
37
|
-
/* @__PURE__ */ t(o, {
|
|
38
|
-
id: e,
|
|
39
|
-
type: d,
|
|
40
|
-
...S,
|
|
41
|
-
ref: C,
|
|
42
|
-
required: v,
|
|
43
|
-
"data-has-value": !!(x && String(x).length > 0),
|
|
44
|
-
...!s && l ? { "aria-label": l } : {},
|
|
45
|
-
"aria-describedby": E,
|
|
46
|
-
"aria-required": v ? "true" : void 0,
|
|
47
|
-
"aria-invalid": f ? "true" : void 0,
|
|
48
|
-
value: x
|
|
49
|
-
}),
|
|
50
|
-
_,
|
|
51
|
-
g?.show && /* @__PURE__ */ t("button", {
|
|
52
|
-
type: "button",
|
|
53
|
-
"aria-label": "Clear",
|
|
54
|
-
class: "IncodeInputComposedClearButton",
|
|
55
|
-
onClick: g.onClose,
|
|
56
|
-
"data-testid": `${e}-clear`,
|
|
57
|
-
children: /* @__PURE__ */ t(i, {
|
|
58
|
-
width: 24,
|
|
59
|
-
height: 24,
|
|
60
|
-
fillColor: "var(--icon-neutral-500)"
|
|
61
|
-
})
|
|
62
|
-
})
|
|
63
|
-
]
|
|
64
|
-
}),
|
|
65
|
-
!y && f && /* @__PURE__ */ t("div", {
|
|
66
|
-
class: "IncodeInputComposedErrorWrapper",
|
|
67
|
-
role: "alert",
|
|
68
|
-
"data-testid": `${e}-error-wrapper`,
|
|
69
|
-
children: [p && /* @__PURE__ */ t("div", {
|
|
70
|
-
class: "IncodeInputComposedIconWrapper",
|
|
71
|
-
children: /* @__PURE__ */ t(r, { size: 17 })
|
|
72
|
-
}), /* @__PURE__ */ t("p", {
|
|
73
|
-
id: T,
|
|
74
|
-
class: "IncodeInputComposedError",
|
|
75
|
-
children: f
|
|
76
|
-
})]
|
|
77
|
-
}),
|
|
78
|
-
!y && m && !f && /* @__PURE__ */ t("div", {
|
|
79
|
-
class: "IncodeInputComposedHelperWrapper",
|
|
80
|
-
"data-testid": `${e}-helper-wrapper`,
|
|
81
|
-
children: [h && /* @__PURE__ */ t("div", {
|
|
82
|
-
class: "IncodeInputComposedIconWrapper",
|
|
83
|
-
children: /* @__PURE__ */ t(a, { size: 17 })
|
|
84
|
-
}), /* @__PURE__ */ t("p", {
|
|
85
|
-
id: w,
|
|
86
|
-
class: "IncodeInputComposedHelper",
|
|
87
|
-
children: m
|
|
88
|
-
})]
|
|
89
|
-
})
|
|
90
|
-
]
|
|
91
|
-
});
|
|
92
|
-
});
|
|
93
|
-
//#endregion
|
|
94
|
-
export { o as n, s as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./inputComposed-DAEey9xm.js";
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { f as e, l as t, v as n } from "./vendor-preact-D6SntenC.js";
|
|
2
|
-
//#region src/shared/spacer/spacer.tsx
|
|
3
|
-
var r = new Set([
|
|
4
|
-
0,
|
|
5
|
-
2,
|
|
6
|
-
4,
|
|
7
|
-
8,
|
|
8
|
-
12,
|
|
9
|
-
16,
|
|
10
|
-
20,
|
|
11
|
-
24,
|
|
12
|
-
32,
|
|
13
|
-
40,
|
|
14
|
-
48,
|
|
15
|
-
64,
|
|
16
|
-
80,
|
|
17
|
-
96,
|
|
18
|
-
104,
|
|
19
|
-
120,
|
|
20
|
-
200
|
|
21
|
-
]), i = (e, t) => t === "horizontal" ? {
|
|
22
|
-
0: "IncodeSpacerHorizontal0",
|
|
23
|
-
2: "IncodeSpacerHorizontal2",
|
|
24
|
-
4: "IncodeSpacerHorizontal4",
|
|
25
|
-
8: "IncodeSpacerHorizontal8",
|
|
26
|
-
12: "IncodeSpacerHorizontal12",
|
|
27
|
-
16: "IncodeSpacerHorizontal16",
|
|
28
|
-
20: "IncodeSpacerHorizontal20",
|
|
29
|
-
24: "IncodeSpacerHorizontal24",
|
|
30
|
-
32: "IncodeSpacerHorizontal32",
|
|
31
|
-
40: "IncodeSpacerHorizontal40",
|
|
32
|
-
48: "IncodeSpacerHorizontal48",
|
|
33
|
-
64: "IncodeSpacerHorizontal64",
|
|
34
|
-
80: "IncodeSpacerHorizontal80",
|
|
35
|
-
96: "IncodeSpacerHorizontal96",
|
|
36
|
-
104: "IncodeSpacerHorizontal104",
|
|
37
|
-
120: "IncodeSpacerHorizontal120",
|
|
38
|
-
200: "IncodeSpacerHorizontal200"
|
|
39
|
-
}[e] : {
|
|
40
|
-
0: "IncodeSpacerVertical0",
|
|
41
|
-
2: "IncodeSpacerVertical2",
|
|
42
|
-
4: "IncodeSpacerVertical4",
|
|
43
|
-
8: "IncodeSpacerVertical8",
|
|
44
|
-
12: "IncodeSpacerVertical12",
|
|
45
|
-
16: "IncodeSpacerVertical16",
|
|
46
|
-
20: "IncodeSpacerVertical20",
|
|
47
|
-
24: "IncodeSpacerVertical24",
|
|
48
|
-
32: "IncodeSpacerVertical32",
|
|
49
|
-
40: "IncodeSpacerVertical40",
|
|
50
|
-
48: "IncodeSpacerVertical48",
|
|
51
|
-
64: "IncodeSpacerVertical64",
|
|
52
|
-
80: "IncodeSpacerVertical80",
|
|
53
|
-
96: "IncodeSpacerVertical96",
|
|
54
|
-
104: "IncodeSpacerVertical104",
|
|
55
|
-
120: "IncodeSpacerVertical120",
|
|
56
|
-
200: "IncodeSpacerVertical200"
|
|
57
|
-
}[e], a = ({ size: e, className: t, direction: a = "vertical" }) => e === void 0 ? /* @__PURE__ */ n("div", { class: `IncodeSpacerFlex ${t || ""}` }) : (a === "horizontal" || a === "vertical") && typeof e == "number" && r.has(e) ? /* @__PURE__ */ n("div", { class: `${i(e, a)} ${t || ""}` }) : /* @__PURE__ */ n("div", { class: `${t || ""}` }), o = (...e) => {
|
|
58
|
-
let t = [];
|
|
59
|
-
for (let n of e) if (n) {
|
|
60
|
-
if (typeof n == "string") t.push(n);
|
|
61
|
-
else if (typeof n == "object") for (let [e, r] of Object.entries(n)) r && t.push(e);
|
|
62
|
-
}
|
|
63
|
-
return t.join(" ");
|
|
64
|
-
}, s = 1e3, c = ({ size: e, className: t }) => /* @__PURE__ */ n("svg", {
|
|
65
|
-
width: e,
|
|
66
|
-
height: e,
|
|
67
|
-
viewBox: "0 0 31 31",
|
|
68
|
-
fill: "none",
|
|
69
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
70
|
-
class: o("IncodeLoadingIconPrimaryIcon", t),
|
|
71
|
-
"aria-hidden": "true",
|
|
72
|
-
children: /* @__PURE__ */ n("path", { d: "M28.1614 15.2837C29.453 15.2837 30.5186 14.2304 30.3181 12.9545C30.1344 11.7862 29.8129 10.6411 29.3582 9.54344C28.6044 7.72356 27.4995 6.06997 26.1066 4.67709C24.7137 3.28421 23.0601 2.17932 21.2403 1.4255C20.1426 0.970841 18.9974 0.649265 17.8292 0.46563C16.5533 0.265073 15.5 1.33073 15.5 2.62232C15.5 3.91391 16.5601 4.93461 17.8187 5.22473C18.3748 5.35291 18.9206 5.52729 19.4503 5.74672C20.7028 6.26548 21.8407 7.02585 22.7993 7.98441C23.7578 8.94296 24.5182 10.0809 25.037 11.3333C25.2564 11.8631 25.4308 12.4089 25.559 12.965C25.8491 14.2236 26.8698 15.2837 28.1614 15.2837Z" })
|
|
73
|
-
}), l = ({ size: e, className: t }) => /* @__PURE__ */ n("svg", {
|
|
74
|
-
width: e,
|
|
75
|
-
height: e,
|
|
76
|
-
viewBox: "0 0 31 31",
|
|
77
|
-
fill: "none",
|
|
78
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
79
|
-
class: o("IncodeLoadingIconSecondaryIcon", t),
|
|
80
|
-
"aria-hidden": "true",
|
|
81
|
-
children: [/* @__PURE__ */ n("title", { children: "Spinner Outer part" }), /* @__PURE__ */ n("path", { d: "M30.5 15.2837C30.5 23.568 23.7843 30.2837 15.5 30.2837C7.21573 30.2837 0.5 23.568 0.5 15.2837C0.5 6.99942 7.21573 0.283691 15.5 0.283691C23.7843 0.283691 30.5 6.99942 30.5 15.2837ZM5.17725 15.2837C5.17725 20.9848 9.7989 25.6064 15.5 25.6064C21.2011 25.6064 25.8227 20.9848 25.8227 15.2837C25.8227 9.5826 21.2011 4.96095 15.5 4.96095C9.7989 4.96095 5.17725 9.5826 5.17725 15.2837Z" })]
|
|
82
|
-
}), u = ({ size: r = 30, secondaryClass: i, primaryClass: a }) => {
|
|
83
|
-
let o = t(null);
|
|
84
|
-
return e(() => {
|
|
85
|
-
if (!o.current) return;
|
|
86
|
-
let e = performance.now() % s;
|
|
87
|
-
o.current.style.animationDelay = `-${e}ms`;
|
|
88
|
-
}, []), /* @__PURE__ */ n("div", {
|
|
89
|
-
ref: o,
|
|
90
|
-
class: "IncodeLoadingIcon",
|
|
91
|
-
children: [/* @__PURE__ */ n(l, {
|
|
92
|
-
size: r,
|
|
93
|
-
className: i
|
|
94
|
-
}), /* @__PURE__ */ n("div", {
|
|
95
|
-
class: "IncodeLoadingIconPrimary",
|
|
96
|
-
children: /* @__PURE__ */ n(c, {
|
|
97
|
-
size: r,
|
|
98
|
-
className: a
|
|
99
|
-
})
|
|
100
|
-
})]
|
|
101
|
-
});
|
|
102
|
-
};
|
|
103
|
-
//#endregion
|
|
104
|
-
export { o as n, a as r, u as t };
|