@incodetech/web 2.0.0-rc.0 → 2.0.0
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/package.json +3 -3
- package/dist/ae-signature/ae-signature.es.js +0 -15
- package/dist/ae-signature/styles.css +0 -348
- package/dist/ae-signature/styles2.css +0 -107
- package/dist/aligndevicelottie-DoV8xKjh.js +0 -12757
- package/dist/antifraud/antifraud.es.js +0 -18
- package/dist/antifraud/styles.css +0 -2
- package/dist/authentication/authentication.es.js +0 -29
- package/dist/autoFocusTitle-QexamZ4i.js +0 -16
- package/dist/back-horizontal-hint-B8Brxh3U.js +0 -137
- package/dist/back-tutorial-1NOQobGO.js +0 -14585
- package/dist/back-vertical-hint-BBo36dxn.js +0 -128
- package/dist/backdevicelottie-C_ceuqY7.js +0 -16678
- package/dist/base.css +0 -5818
- package/dist/blurdevicelottie-UO14Y0WC.js +0 -15939
- package/dist/bottomSheet-DE_8TFEC.js +0 -31
- package/dist/browser-ponyfill-jOkuz57z.js +0 -299
- package/dist/button-DcCUEn2n.js +0 -24
- package/dist/checkbox-Cl57ltq_.js +0 -85
- package/dist/consent/consent.es.js +0 -90
- package/dist/consent/styles.css +0 -116
- package/dist/countrySelector-CE-JgIsv.js +0 -58
- package/dist/cpf-ocr/styles.css +0 -45
- package/dist/cpfOcr-D_tbwbvh.js +0 -78
- package/dist/cross-document-data-match/cross-document-data-match.es.js +0 -18
- package/dist/curp-validation/curp-validation.es.js +0 -279
- package/dist/curp-validation/styles.css +0 -82
- package/dist/custom-fields/styles.css +0 -22
- package/dist/customFields-CW38fQUv.js +0 -127
- package/dist/customWatchlist-D9_yjEQd.js +0 -33
- package/dist/dateInputComposed-BpAGsjN6.js +0 -55
- package/dist/dateInputComposed-DU3o6PAV.js +0 -1
- package/dist/defineProperty-Dh8nSJpJ.js +0 -39
- package/dist/document-capture/styles.css +0 -367
- package/dist/documentCapture-xX-JT7ZY.js +0 -763
- package/dist/dropdownComposed-DFRBG22E.js +0 -284
- package/dist/dropdownComposed-DwTzc2YU.js +0 -1
- package/dist/dynamic-forms/styles.css +0 -36
- package/dist/dynamicForms-CJP1Ia6Q.js +0 -262
- package/dist/ekyb/ekyb.es.js +0 -2
- package/dist/ekyb/styles.css +0 -137
- package/dist/ekybModule-BSs7mndb.js +0 -280
- package/dist/ekybModule-D9M3E2Gm.js +0 -2
- package/dist/ekyc/ekyc.es.js +0 -2
- package/dist/ekyc/styles.css +0 -106
- package/dist/ekycModule-CU9pt5YN.js +0 -246
- package/dist/ekycModule-CZw9cLno.js +0 -2
- package/dist/electronic-signature/electronic-signature.es.js +0 -2
- package/dist/electronic-signature-COYXjGdd.js +0 -410
- package/dist/email/email.es.js +0 -87
- package/dist/email/styles.css +0 -12
- package/dist/emailInput-DppGf9pv.js +0 -37
- package/dist/expiredId-BnmzE8T3.js +0 -70
- package/dist/extensibility-CzEJfRwo.js +0 -2586
- package/dist/extensibility.es.js +0 -25
- package/dist/face-match/face-match.es.js +0 -2
- package/dist/face-match/styles.css +0 -910
- package/dist/faceMatch-B8j0g0Yo.js +0 -2
- package/dist/faceMatch-BV8UD7tj.js +0 -201
- package/dist/flip-animation-CgwRsEmK.js +0 -6983
- package/dist/flow/flow.es.js +0 -661
- package/dist/flow/styles.css +0 -5205
- package/dist/front-horizontal-hint-DGGGi8e1.js +0 -380
- package/dist/front-vertical-hint-CNr5mE6Q.js +0 -420
- package/dist/frontdevicelottie-Bu6f9fDE.js +0 -17302
- package/dist/geolocation/geolocation.es.js +0 -857
- package/dist/geolocation/styles.css +0 -158
- package/dist/glaredevicelottie-B10axYs_.js +0 -14466
- package/dist/governmentValidation/governmentValidation.es.js +0 -98
- package/dist/governmentValidation/styles.css +0 -58
- package/dist/homeScreen-DnP1jw9A.js +0 -227
- package/dist/hooks-BVnGysT7.js +0 -80
- package/dist/i18n-9s4OSqwi.js +0 -2010
- package/dist/icons-Cc7zwchP.js +0 -310
- package/dist/id/id.es.js +0 -832
- package/dist/id/styles.css +0 -1287
- package/dist/id-laser-h-mBAzHVOK.js +0 -467
- package/dist/id-laser-v-CrFg4bcJ.js +0 -483
- package/dist/id-ocr/styles.css +0 -46
- package/dist/id-tutorial-BCr42Pnn.js +0 -13153
- package/dist/id-verification/id-verification.es.js +0 -20
- package/dist/idOcr-CCjfWQvH.js +0 -94
- package/dist/identity-reuse/identity-reuse.es.js +0 -198
- package/dist/identity-reuse/styles.css +0 -163
- package/dist/incode-logo-DX016usY.js +0 -4
- package/dist/incodeComponent-C1o4M0ZK.js +0 -50
- package/dist/incodeModule-BqCjVgEI.js +0 -18
- package/dist/index.es.js +0 -16
- package/dist/inputComposed-APSw8C7o.js +0 -89
- package/dist/inputComposed-XYrarFxS.js +0 -1
- package/dist/loadingIcon-BN5YRQUb.js +0 -104
- package/dist/mandatoryConsent-DssKMC3v.js +0 -100
- package/dist/modal-NMxsQHAO.js +0 -135
- package/dist/modal.hooks-CAjcIFZK.js +0 -126
- package/dist/numberedStep-CT-alrK5.js +0 -11
- package/dist/optionAccessibleLabel-CzEeX3Q4.js +0 -140
- package/dist/otpInput-DqRA_egd.js +0 -145
- package/dist/page-C1yT4DLb.js +0 -69
- package/dist/passport-horizontal-hint-Bgquwtac.js +0 -293
- package/dist/passport-tutorial-DwRwtPVX.js +0 -11689
- package/dist/passport-vertical-hint-BT1D5BrW.js +0 -267
- package/dist/pdf-BurGZ08w.js +0 -14967
- package/dist/pdfViewer-BGBNL1Ea.js +0 -63
- package/dist/phone/phone.es.js +0 -98
- package/dist/phone/styles.css +0 -11
- package/dist/phoneInputComposed-bvWhGLFZ.js +0 -11206
- package/dist/processing-G_y3o32b.js +0 -6
- package/dist/qe-signature/qe-signature.es.js +0 -15
- package/dist/radioGroupComposed-BbmvxmD2.js +0 -177
- package/dist/redirect-to-mobile/styles.css +0 -588
- package/dist/redirectToMobile-C3k1gloW.js +0 -1514
- package/dist/requiredLabelHint-BLwgqozE.js +0 -13
- package/dist/richText-DbJ5sl2n.js +0 -1973
- package/dist/rolldown-runtime-CYMK-g2i.js +0 -20
- package/dist/selfie/selfie.es.js +0 -43
- package/dist/selfie/styles.css +0 -706
- package/dist/selfieTutorial-BgrlUMXP.js +0 -2677
- package/dist/signature/signature.es.js +0 -546
- package/dist/snackbar-BDp8x7Cv.js +0 -14
- package/dist/spinner-B4dcie2T.js +0 -1
- package/dist/spinner-CKnjVHxw.js +0 -39
- package/dist/statusPage-CUI7ApcU.js +0 -28
- package/dist/successIcon-DbILeIz_.js +0 -28
- package/dist/tabs-DaPyP71c.js +0 -78
- package/dist/themes/dark.css +0 -1347
- package/dist/themes/light.css +0 -1225
- package/dist/transitionSpinner-PIEPU2Vx.js +0 -17
- package/dist/tutorial-9vHAHvMK.js +0 -2587
- package/dist/types/ae-signature.d.ts +0 -40
- package/dist/types/antifraud.d.ts +0 -40
- package/dist/types/authentication.d.ts +0 -45
- package/dist/types/base.d.ts +0 -1
- package/dist/types/consent.d.ts +0 -41
- package/dist/types/cpf-ocr/styles.d.ts +0 -1
- package/dist/types/cross-document-data-match.d.ts +0 -34
- package/dist/types/curp-validation.d.ts +0 -40
- package/dist/types/custom-fields/styles.d.ts +0 -1
- package/dist/types/dark.d.ts +0 -1
- package/dist/types/document-capture/styles.d.ts +0 -1
- package/dist/types/dynamic-forms/styles.d.ts +0 -1
- package/dist/types/ekyb.d.ts +0 -34
- package/dist/types/ekyc.d.ts +0 -34
- package/dist/types/electronic-signature.d.ts +0 -43
- package/dist/types/email.d.ts +0 -67
- package/dist/types/extensibility.d.ts +0 -981
- package/dist/types/face-match.d.ts +0 -59
- package/dist/types/flow.d.ts +0 -137
- package/dist/types/geolocation.d.ts +0 -41
- package/dist/types/governmentValidation.d.ts +0 -34
- package/dist/types/id-ocr/styles.d.ts +0 -1
- package/dist/types/id-verification.d.ts +0 -40
- package/dist/types/id.d.ts +0 -41
- package/dist/types/identity-reuse.d.ts +0 -43
- package/dist/types/index.d.ts +0 -32
- package/dist/types/light.d.ts +0 -1
- package/dist/types/mandatory-consent/styles.d.ts +0 -1
- package/dist/types/phone.d.ts +0 -68
- package/dist/types/qe-signature.d.ts +0 -40
- package/dist/types/redirect-to-mobile/styles.d.ts +0 -1
- package/dist/types/selfie.d.ts +0 -41
- package/dist/types/signature.d.ts +0 -40
- package/dist/types/styles.d.ts +0 -1
- package/dist/types/themes/dark.d.ts +0 -1
- package/dist/types/themes/light.d.ts +0 -1
- package/dist/types/watchlist-for-business/styles.d.ts +0 -1
- package/dist/types/watchlist.d.ts +0 -40
- package/dist/types/workflow.d.ts +0 -91
- package/dist/typography-CxjaknHN.js +0 -28
- package/dist/uiConfig-CwpQ-IM6.js +0 -20
- package/dist/useModuleLoader-BFiVA41N.js +0 -432
- package/dist/vendor-preact-D6SntenC.js +0 -958
- package/dist/verificationResult-BrVbUJ4U.js +0 -97
- package/dist/verifiedByIncode-ChZBpqNy.js +0 -101
- package/dist/watchlist/watchlist.es.js +0 -33
- package/dist/watchlist-for-business/styles.css +0 -18
- package/dist/watchlistForBusiness-BcSNtHCV.js +0 -77
- package/dist/workflow/styles.css +0 -4612
- package/dist/workflow/workflow.es.js +0 -244
package/dist/phone/phone.es.js
DELETED
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { n as e } from "../i18n-9s4OSqwi.js";
|
|
2
|
-
import { p as t, v as n } from "../vendor-preact-D6SntenC.js";
|
|
3
|
-
import { o as r } from "../hooks-BVnGysT7.js";
|
|
4
|
-
import { t as i } from "../incodeComponent-C1o4M0ZK.js";
|
|
5
|
-
import { r as a } from "../loadingIcon-BN5YRQUb.js";
|
|
6
|
-
import { t as o } from "../page-C1yT4DLb.js";
|
|
7
|
-
import { t as s } from "../button-DcCUEn2n.js";
|
|
8
|
-
import { t as c } from "../otpInput-DqRA_egd.js";
|
|
9
|
-
import { t as l } from "../checkbox-Cl57ltq_.js";
|
|
10
|
-
import { t as u } from "../phoneInputComposed-bvWhGLFZ.js";
|
|
11
|
-
import { t as d } from "../incodeModule-BqCjVgEI.js";
|
|
12
|
-
import { createPhoneManager as f } from "@incodetech/core/phone";
|
|
13
|
-
//#region src/modules/phone/phone.tsx
|
|
14
|
-
function p(e) {
|
|
15
|
-
return e === "invalidPhone" ? "phone.invalidPhone" : e === "serverError" ? "phone.serverError" : e;
|
|
16
|
-
}
|
|
17
|
-
function m(e) {
|
|
18
|
-
return e === "serverError" ? "phone.serverError" : e;
|
|
19
|
-
}
|
|
20
|
-
var h = ({ config: i, manager: d, onFinish: h, onError: g }) => {
|
|
21
|
-
let { t: _ } = e(), [v, y] = r(() => {
|
|
22
|
-
if (d) return d;
|
|
23
|
-
if (!i) throw Error("Phone config is required");
|
|
24
|
-
return f({ config: i });
|
|
25
|
-
}, { manageLifecycle: !d }), [b, x] = t(!1), [S, C] = t(!1), [w, T] = t(!1);
|
|
26
|
-
if (v.status === "idle" || v.status === "loadingPrefill" || v.status === "loadingStartInfo") return null;
|
|
27
|
-
if (v.status === "inputting" || v.status === "submitting" || v.status === "sendingInitialOtp") {
|
|
28
|
-
let e = v.status === "submitting" || v.status === "sendingInitialOtp", t = v.status === "inputting" ? v.countryCode : "US", r = v.status === "inputting" ? v.prefilledPhone : void 0, i = v.status === "inputting" && v.phoneError ? _(p(v.phoneError)) : void 0, c = v.status === "inputting" && S && w && !b ? _("phone.invalidPhone") : void 0, d = i ?? c, f = !b || i !== void 0, m = v.status === "inputting" ? v.optinEnabled ?? !1 : !1;
|
|
29
|
-
return /* @__PURE__ */ n(o, {
|
|
30
|
-
className: "IncodePhonePage",
|
|
31
|
-
title: _("phone.verify"),
|
|
32
|
-
subtitle: _("email.willSendCode"),
|
|
33
|
-
children: [
|
|
34
|
-
/* @__PURE__ */ n("div", {
|
|
35
|
-
class: "IncodePhoneInputContainer",
|
|
36
|
-
children: [
|
|
37
|
-
/* @__PURE__ */ n(u, {
|
|
38
|
-
id: "phone",
|
|
39
|
-
countryCode: t,
|
|
40
|
-
value: r,
|
|
41
|
-
error: d,
|
|
42
|
-
disabled: e,
|
|
43
|
-
onChange: (e, t) => {
|
|
44
|
-
y.setPhoneNumber(e, t), C(!0), T(!1), x(t);
|
|
45
|
-
},
|
|
46
|
-
onBlur: () => {
|
|
47
|
-
T(!0);
|
|
48
|
-
},
|
|
49
|
-
"data-testid": "phone-input",
|
|
50
|
-
showErrorIcon: !0
|
|
51
|
-
}),
|
|
52
|
-
/* @__PURE__ */ n(a, { size: 16 }),
|
|
53
|
-
m && /* @__PURE__ */ n(l, {
|
|
54
|
-
id: "phone-optin",
|
|
55
|
-
label: _("phone.optIn"),
|
|
56
|
-
size: "s",
|
|
57
|
-
onChange: (e) => y.setOptInGranted(e.target.checked)
|
|
58
|
-
})
|
|
59
|
-
]
|
|
60
|
-
}),
|
|
61
|
-
/* @__PURE__ */ n(a, {}),
|
|
62
|
-
/* @__PURE__ */ n(s, {
|
|
63
|
-
onClick: () => y.submit(),
|
|
64
|
-
disabled: f,
|
|
65
|
-
isLoading: e,
|
|
66
|
-
"data-testid": "phone-submit",
|
|
67
|
-
children: _("common.continue")
|
|
68
|
-
})
|
|
69
|
-
]
|
|
70
|
-
}, "phone-input");
|
|
71
|
-
}
|
|
72
|
-
if (v.status === "awaitingOtp" || v.status === "verifyingOtp" || v.status === "otpError" || v.status === "resendingOtp") {
|
|
73
|
-
let e = v.status === "verifyingOtp", t = v.status === "otpError", r = v.status === "awaitingOtp", i = v.status === "resendingOtp", a = r || t || e, s = t ? _(m(v.otpError)) : void 0;
|
|
74
|
-
return /* @__PURE__ */ n(o, {
|
|
75
|
-
className: "IncodePhonePage",
|
|
76
|
-
title: _("otp.enterCodeSMS"),
|
|
77
|
-
children: /* @__PURE__ */ n(c, {
|
|
78
|
-
resendTimer: a ? v.resendTimer : 0,
|
|
79
|
-
canResend: a ? v.canResend : !1,
|
|
80
|
-
isLoading: e,
|
|
81
|
-
disabled: i || e,
|
|
82
|
-
error: s,
|
|
83
|
-
onSubmit: (e) => y.submitOtp(e),
|
|
84
|
-
onResend: () => y.resendOtp(),
|
|
85
|
-
onBack: () => y.back()
|
|
86
|
-
})
|
|
87
|
-
}, "phone-otp");
|
|
88
|
-
}
|
|
89
|
-
return v.status === "finished" ? (h?.(), null) : (v.status === "error" && g?.(v.error), null);
|
|
90
|
-
}, g = ({ config: e, manager: t, onFinish: r, onError: a }) => /* @__PURE__ */ n(i, { children: e || t ? /* @__PURE__ */ n(h, {
|
|
91
|
-
config: e,
|
|
92
|
-
manager: t,
|
|
93
|
-
onFinish: r,
|
|
94
|
-
onError: a
|
|
95
|
-
}) : null });
|
|
96
|
-
d(g, "incode-phone");
|
|
97
|
-
//#endregion
|
|
98
|
-
export { g as Phone };
|
package/dist/phone/styles.css
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
|
|
2
|
-
.IncodePhonePage .IncodePageContent {
|
|
3
|
-
padding-top: var(--spacing-32, var(--spacing-32, 32px));
|
|
4
|
-
padding-bottom: var(--spacing-16, var(--spacing-16, 16px));
|
|
5
|
-
align-items: center;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.IncodePhoneInputContainer {
|
|
9
|
-
width: 100%;
|
|
10
|
-
max-width: 420px;
|
|
11
|
-
}
|