@incodetech/web 2.1.0-rc.1 → 2.1.0-rc.3
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 +2 -2
- package/dist/ae-signature/styles.css +59 -45
- package/dist/antifraud/antifraud.es.js +4 -4
- package/dist/authentication/authentication.es.js +5 -4
- package/dist/{autoFocusTitle-BzkUiELM.js → autoFocusTitle-CuRu2lPg.js} +1 -1
- package/dist/base.css +100 -60
- package/dist/{bottomSheet-F1GJfQx_.js → bottomSheet-CnWbbUAM.js} +1 -1
- package/dist/{button-CM_hgyIP.js → button-Dz6AsbmF.js} +7 -2
- package/dist/cameraView-DIEzM5ru.js +47 -0
- package/dist/{tutorial-D1qaY2Tm.js → capture-CkGvdDNH.js} +23 -573
- package/dist/certificate-issuance/certificate-issuance.es.js +249 -0
- package/dist/certificate-issuance/styles.css +114 -0
- package/dist/{checkbox-BoeLHKgp.js → checkbox-1wUHSoaK.js} +2 -2
- package/dist/consent/consent.es.js +11 -11
- package/dist/{countrySelector-mSWyHSy4.js → countrySelector-SvUOyPo0.js} +2 -2
- package/dist/cpf-ocr/cpf-ocr.es.js +1 -1
- package/dist/cpfOcr-B79245-3.js +2 -0
- package/dist/{cpfOcr-MtpRztkG.js → cpfOcr-BhxT-lRN.js} +7 -7
- package/dist/cross-document-data-match/cross-document-data-match.es.js +4 -4
- package/dist/curp-validation/curp-validation.es.js +17 -17
- package/dist/{customFields-DXXt9HGM.js → customFields-BDsXR7A-.js} +11 -11
- package/dist/{customWatchlist-DsW04UF6.js → customWatchlist-CYoRNCim.js} +6 -6
- package/dist/dateInputComposed-DRzZi6uy.js +1 -0
- package/dist/{dateInputComposed-C_mh4XBg.js → dateInputComposed-DuaofcBl.js} +3 -3
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/documentCapture-DXYYyxZl.js +2 -0
- package/dist/{documentCapture-BDV_921m.js → documentCapture-DhbO-A-V.js} +15 -13
- package/dist/dropdownComposed-BAoxIIsE.js +1 -0
- package/dist/{dropdownComposed-_fgAlo_C.js → dropdownComposed-CoU0enG6.js} +9 -10
- package/dist/{dynamicForms-DyfnsS7E.js → dynamicForms-BifGbC9F.js} +24 -13
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/ekybModule-C6Nttked.js +2 -0
- package/dist/{ekybModule-CIPGmCvD.js → ekybModule-DGnTw5UV.js} +15 -15
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekycModule-CDIEjI6V.js +2 -0
- package/dist/{ekycModule-BuTaC5ct.js → ekycModule-Dxpdd0ns.js} +14 -14
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-B-Q7M0wK.js → electronic-signature-Ueoffasr.js} +42 -31
- package/dist/email/email.es.js +8 -8
- package/dist/{emailInput-KZmhjOdZ.js → emailInput-DsLkDtER.js} +6 -6
- package/dist/{expiredId-Q1t6aVpk.js → expiredId-BZXLrLk-.js} +6 -6
- package/dist/{extensibility-Cs3KQQdC.js → extensibility-7sRIN0JC.js} +54 -89
- package/dist/extensibility.es.js +25 -23
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/face-match/styles.css +4 -0
- package/dist/faceMatch-B_HvxLm_.js +2 -0
- package/dist/{faceMatch--RDHJe4t.js → faceMatch-DyTBoMDm.js} +10 -10
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/fieldComparison-DfNEuEE5.js +2 -0
- package/dist/{fieldComparison-CAF86bTC.js → fieldComparison-L_knHqgw.js} +9 -9
- package/dist/fiscal-qr/fiscal-qr.es.js +9 -8
- package/dist/flow/flow.es.js +35 -12
- package/dist/flow/styles.css +4242 -2972
- package/dist/geolocation/geolocation.es.js +190 -326
- package/dist/geolocation/styles.css +8 -0
- package/dist/{governmentValidation/governmentValidation.es.js → government-validation/government-validation.es.js} +12 -16
- package/dist/{homeScreen-BZnIEDrV.js → homeScreen-B6T0JVh8.js} +5 -5
- package/dist/{hooks-Da_yP_Dr.js → hooks-CNu7o-v8.js} +39 -2
- package/dist/{i18n-CoCO2ZuN.js → i18n-CU4xq8qC.js} +1 -1
- package/dist/{icons-Dbs9ZfYM.js → icons-CJJbIpBq.js} +2 -2
- package/dist/id/id.es.js +80 -50
- package/dist/id/styles.css +1 -9
- package/dist/id-ocr/styles.css +12 -2
- package/dist/id-verification/id-verification.es.js +5 -5
- package/dist/{idOcr-CjGbb4dB.js → idOcr-WFBvqy3b.js} +34 -16
- package/dist/identity-reuse/identity-reuse.es.js +7 -7
- package/dist/{incodeComponent-wfnHlnXx.js → incodeComponent-CfzJGETt.js} +3 -2
- package/dist/{incodeModule-BUDoTwT9.js → incodeModule-B-4_3JrK.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/inputComposed-BaY5q9WM.js +1 -0
- package/dist/{inputComposed-CQ4AsvZg.js → inputComposed-C1R2LAa3.js} +3 -3
- package/dist/{mandatoryConsent-r0PQHmv-.js → mandatoryConsent-D0GTKu-H.js} +10 -10
- package/dist/{modal-nTSaG7nB.js → modal-OxkFuuiR.js} +2 -2
- package/dist/{optionAccessibleLabel-CnA-mNAU.js → optionAccessibleLabel-gfF-58Mv.js} +5 -5
- package/dist/{otpInput-_JmtVwa0.js → otpInput-CnDc6pQm.js} +14 -13
- package/dist/{verifiedByIncode-DjXOdCml.js → page-DidH_RkX.js} +70 -2
- package/dist/{pdf-BZA70WbM.js → pdf-BqtJTlor.js} +1 -1
- package/dist/{pdfViewer-BK-yVIve.js → pdfViewer-B97DmT9m.js} +57 -20
- package/dist/phone/phone.es.js +9 -9
- package/dist/{phoneInputComposed-DjNdsmPE.js → phoneInputComposed-DMiXfF-1.js} +5 -5
- package/dist/{processing-BM-wT-1W.js → processing-BeUMfdJJ.js} +1 -1
- package/dist/qe-signature/qe-signature.es.js +2 -2
- package/dist/{radioGroupComposed-BNuaopVr.js → radioGroupComposed-DuQxslB2.js} +4 -4
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +36 -32
- package/dist/redirect-to-mobile/styles.css +3 -2
- package/dist/{richText-Cf9aMOCk.js → richText-CB1fmegc.js} +1 -1
- package/dist/selfie/selfie.es.js +8 -7
- package/dist/selfie/styles.css +133 -63
- package/dist/signature/signature.es.js +9 -9
- package/dist/spinner-BCDCoi9C.js +1 -0
- package/dist/{spinner-D8a_2LvW.js → spinner-BMeIEK1d.js} +18 -6
- package/dist/{statusPage-DMYPUwRZ.js → statusPage-Bk8nJwXV.js} +2 -2
- package/dist/themes/dark.css +24 -2
- package/dist/themes/light.css +24 -2
- package/dist/{transitionSpinner-DRRz-NV8.js → transitionSpinner-CuNCqHNi.js} +12 -8
- package/dist/tutorial-CCfPuVKX.js +706 -0
- package/dist/types/ae-signature.d.ts +23 -1
- package/dist/types/antifraud.d.ts +23 -1
- package/dist/types/authentication.d.ts +23 -1
- package/dist/types/certificate-issuance.d.ts +68 -0
- package/dist/types/consent.d.ts +23 -1
- package/dist/types/cross-document-data-match.d.ts +23 -1
- package/dist/types/curp-validation.d.ts +23 -1
- package/dist/types/document-capture.d.ts +23 -1
- package/dist/types/ekyb.d.ts +23 -1
- package/dist/types/ekyc.d.ts +23 -1
- package/dist/types/electronic-signature.d.ts +23 -1
- package/dist/types/email.d.ts +23 -1
- package/dist/types/extensibility.d.ts +40 -3
- package/dist/types/face-match.d.ts +23 -1
- package/dist/types/field-comparison.d.ts +23 -1
- package/dist/types/fiscal-qr.d.ts +23 -1
- package/dist/types/flow.d.ts +23 -1
- package/dist/types/geolocation.d.ts +27 -2
- package/dist/types/{governmentValidation.d.ts → government-validation.d.ts} +23 -1
- package/dist/types/id-verification.d.ts +23 -1
- package/dist/types/id.d.ts +23 -1
- package/dist/types/identity-reuse.d.ts +23 -1
- package/dist/types/phone.d.ts +23 -1
- package/dist/types/qe-signature.d.ts +23 -1
- package/dist/types/selfie.d.ts +23 -1
- package/dist/types/signature.d.ts +23 -1
- package/dist/types/video-selfie.d.ts +72 -0
- package/dist/types/watchlist.d.ts +23 -1
- package/dist/types/workflow.d.ts +23 -1
- package/dist/{useModuleLoader-CeJ2jL25.js → useModuleLoader-Gvo9qscB.js} +42 -25
- package/dist/{verificationResult-Do5SpZ6X.js → verificationResult-BWWkmeiA.js} +8 -8
- package/dist/video-selfie/styles.css +1644 -0
- package/dist/video-selfie/video-selfie.es.js +854 -0
- package/dist/watchlist/watchlist.es.js +6 -6
- package/dist/{watchlistForBusiness-BFFXC9d-.js → watchlistForBusiness-D2Uo_TwF.js} +10 -10
- package/dist/workflow/styles.css +254 -76
- package/dist/workflow/workflow.es.js +146 -17
- package/package.json +42 -5
- package/dist/cpfOcr-jJkYCfsX.js +0 -2
- package/dist/dateInputComposed-Cy6a7ymh.js +0 -1
- package/dist/documentCapture-8ypBJehw.js +0 -2
- package/dist/dropdownComposed-CEWBSdGl.js +0 -1
- package/dist/ekybModule-DFoYpheB.js +0 -2
- package/dist/ekycModule-BGzwgjl1.js +0 -2
- package/dist/faceMatch-yEKPYaym.js +0 -2
- package/dist/fieldComparison-D0an7T_g.js +0 -2
- package/dist/inputComposed-BEn7_nZd.js +0 -1
- package/dist/page-DxGQj7Gk.js +0 -71
- package/dist/spinner-B6RxGFrI.js +0 -1
- /package/dist/{aligndevicelottie-DY_bX_p8.js → aligndevicelottie-DFscByAI.js} +0 -0
- /package/dist/{back-horizontal-hint-D_8LptLm.js → back-horizontal-hint-xTnSQbzn.js} +0 -0
- /package/dist/{back-tutorial-vb1MxlrT.js → back-tutorial-cI_4VHmE.js} +0 -0
- /package/dist/{back-vertical-hint-C1evxxq2.js → back-vertical-hint-BWWlHfX2.js} +0 -0
- /package/dist/{backdevicelottie-HypPqBz7.js → backdevicelottie-COyhTrxM.js} +0 -0
- /package/dist/{blurdevicelottie-CBXtBFiJ.js → blurdevicelottie-BLVeJHEG.js} +0 -0
- /package/dist/{browser-ponyfill-CLLvZCVg.js → browser-ponyfill-Df13Th-G.js} +0 -0
- /package/dist/{defineProperty-mefzVtTv.js → defineProperty-Qjefk7Uf.js} +0 -0
- /package/dist/{errorIcon-DJRZpd8j.js → errorIcon-BA4T6iy-.js} +0 -0
- /package/dist/{flip-animation-BGRvygw9.js → flip-animation-CZYSUtMm.js} +0 -0
- /package/dist/{front-horizontal-hint-Uf5bHCsd.js → front-horizontal-hint-B84GgTO1.js} +0 -0
- /package/dist/{front-vertical-hint-DdWNA45v.js → front-vertical-hint-Bs_avngq.js} +0 -0
- /package/dist/{frontdevicelottie-CLqitJhG.js → frontdevicelottie-B4tE2PYQ.js} +0 -0
- /package/dist/{glaredevicelottie-BS04U6Fc.js → glaredevicelottie-D1pR73sx.js} +0 -0
- /package/dist/{governmentValidation → government-validation}/styles.css +0 -0
- /package/dist/{id-laser-h-DX8UbVNH.js → id-laser-h-CzPegPMn.js} +0 -0
- /package/dist/{id-laser-v-DhnHdjlB.js → id-laser-v-BiUXkM4x.js} +0 -0
- /package/dist/{id-tutorial-lj4iKtYT.js → id-tutorial-DwO90SAm.js} +0 -0
- /package/dist/{lottie_light-Dp9Bz3mf.js → lottie_light-C6B2ec41.js} +0 -0
- /package/dist/{modal.hooks-D2xhIuHA.js → modal.hooks-ZrzmHAUa.js} +0 -0
- /package/dist/{numberedStep-CEtwZqLp.js → numberedStep-CEb-lFJm.js} +0 -0
- /package/dist/{passport-horizontal-hint-Bbm2mvSn.js → passport-horizontal-hint-Bj0ZJY0g.js} +0 -0
- /package/dist/{passport-tutorial-zT1ZoA-D.js → passport-tutorial-D9JNsMsM.js} +0 -0
- /package/dist/{passport-vertical-hint-DJbCtBiM.js → passport-vertical-hint-Dfk77xUJ.js} +0 -0
- /package/dist/{registerIncodeElement-77NGCDsy.js → registerIncodeElement-DaNjbAwZ.js} +0 -0
- /package/dist/{requiredLabelHint-DEadtiwx.js → requiredLabelHint-D0RhuMed.js} +0 -0
- /package/dist/{selfieTutorial-CtruLyO2.js → selfieTutorial-pB-N-fj5.js} +0 -0
- /package/dist/{snackbar-CxepGC3e.js → snackbar-DS7Mv62v.js} +0 -0
- /package/dist/{successIcon-BAyDPT7I.js → successIcon-B5mGvdx1.js} +0 -0
- /package/dist/{tabs-C8npVBbk.js → tabs-C__chW-u.js} +0 -0
- /package/dist/{typography-YLgHHuao.js → typography-BZIpjo97.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as useTranslation } from "./i18n-
|
|
1
|
+
import { n as useTranslation } from "./i18n-CU4xq8qC.js";
|
|
2
2
|
import { _ as y, h as q, l as A, v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
3
3
|
import { r as Spacer } from "./loadingIcon-B0ysgiNq.js";
|
|
4
|
-
import { t as Button } from "./button-
|
|
5
|
-
import { t as InputComposed } from "./inputComposed-
|
|
6
|
-
import "./inputComposed-
|
|
4
|
+
import { t as Button } from "./button-Dz6AsbmF.js";
|
|
5
|
+
import { t as InputComposed } from "./inputComposed-C1R2LAa3.js";
|
|
6
|
+
import "./inputComposed-BaY5q9WM.js";
|
|
7
7
|
//#region src/shared/otpInput/otpInput.tsx
|
|
8
8
|
var formatTimer = (seconds) => {
|
|
9
9
|
return `${Math.floor(seconds / 60)}:${(seconds % 60).toString().padStart(2, "0")}`;
|
|
@@ -106,9 +106,10 @@ var OtpInput = ({ value, otpLength, resendTimer, canResend, error, validationErr
|
|
|
106
106
|
const renderActions = () => {
|
|
107
107
|
if (!canResend && resendTimer > 0) return /* @__PURE__ */ u("div", {
|
|
108
108
|
class: "IncodeOtpInputActions",
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
109
|
+
"data-testid": "otp-timer",
|
|
110
|
+
children: /* @__PURE__ */ u(Button, {
|
|
111
|
+
variant: "link",
|
|
112
|
+
disabled: true,
|
|
112
113
|
children: t("otp.resendCountdown", { time: formatTimer(resendTimer) })
|
|
113
114
|
})
|
|
114
115
|
});
|
|
@@ -129,18 +130,18 @@ var OtpInput = ({ value, otpLength, resendTimer, canResend, error, validationErr
|
|
|
129
130
|
"data-testid": "otp-resend-section",
|
|
130
131
|
children: [
|
|
131
132
|
t("otp.didYouNotGetIt"),
|
|
132
|
-
/* @__PURE__ */ u(
|
|
133
|
-
|
|
134
|
-
|
|
133
|
+
/* @__PURE__ */ u(Button, {
|
|
134
|
+
variant: "link",
|
|
135
|
+
size: "inline",
|
|
135
136
|
onClick: handleResend,
|
|
136
137
|
disabled: disabled || !canResend,
|
|
137
138
|
"data-testid": "otp-resend",
|
|
138
139
|
children: t("otp.resendCode")
|
|
139
140
|
}),
|
|
140
141
|
` ${t("otp.or")} `,
|
|
141
|
-
/* @__PURE__ */ u(
|
|
142
|
-
|
|
143
|
-
|
|
142
|
+
/* @__PURE__ */ u(Button, {
|
|
143
|
+
variant: "link",
|
|
144
|
+
size: "inline",
|
|
144
145
|
onClick: handleBack,
|
|
145
146
|
disabled,
|
|
146
147
|
"data-testid": "otp-back",
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
1
|
+
import { _ as y, l as A, v as u, x as k } from "./vendor-preact-DThS2ZQ_.js";
|
|
2
2
|
import { n as useUiConfig } from "./uiConfig-D2_wawvr.js";
|
|
3
|
+
import { r as Spacer } from "./loadingIcon-B0ysgiNq.js";
|
|
4
|
+
import { t as incode_logo_default } from "./incode-logo-57XFniXU.js";
|
|
3
5
|
//#region src/shared/page/pageUiConfig.ts
|
|
4
6
|
function resolveFirst(values) {
|
|
5
7
|
for (const value of values) if (value !== void 0) return value;
|
|
@@ -100,4 +102,70 @@ var VerifiedByIncodeLogo = () => {
|
|
|
100
102
|
});
|
|
101
103
|
};
|
|
102
104
|
//#endregion
|
|
103
|
-
|
|
105
|
+
//#region src/shared/page/page.tsx
|
|
106
|
+
var Page = ({ title, titleId, subtitle, titleTopSlot, className, logo, children, hideHeader, hideFooterBranding, footerBrandingSlot, "data-testid": dataTestId, "data-permission-status": dataPermissionStatus }) => {
|
|
107
|
+
const titleRef = A(null);
|
|
108
|
+
y(() => {
|
|
109
|
+
titleRef.current?.focus();
|
|
110
|
+
}, []);
|
|
111
|
+
const uiConfig = usePageUiConfig({
|
|
112
|
+
hideHeader,
|
|
113
|
+
hideFooterBranding,
|
|
114
|
+
logo,
|
|
115
|
+
defaultLogoSrc: incode_logo_default
|
|
116
|
+
});
|
|
117
|
+
const shouldShowHeader = title || subtitle || titleTopSlot;
|
|
118
|
+
return /* @__PURE__ */ u("div", {
|
|
119
|
+
class: `IncodePageContainer ${className ?? ""}`,
|
|
120
|
+
"data-testid": dataTestId,
|
|
121
|
+
"data-permission-status": dataPermissionStatus,
|
|
122
|
+
children: /* @__PURE__ */ u("main", {
|
|
123
|
+
class: "IncodePageInner",
|
|
124
|
+
children: [
|
|
125
|
+
!uiConfig.hideHeader && /* @__PURE__ */ u("header", {
|
|
126
|
+
class: "IncodePageHeader",
|
|
127
|
+
children: /* @__PURE__ */ u("img", {
|
|
128
|
+
src: uiConfig.logoSrc,
|
|
129
|
+
height: uiConfig.logoHeightPx,
|
|
130
|
+
class: "IncodePageLogo",
|
|
131
|
+
"aria-hidden": "true",
|
|
132
|
+
alt: ""
|
|
133
|
+
})
|
|
134
|
+
}),
|
|
135
|
+
shouldShowHeader ? /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u(Spacer, { size: uiConfig.hideHeader ? 40 : 24 }), /* @__PURE__ */ u("div", {
|
|
136
|
+
class: "IncodePageTitleContainer",
|
|
137
|
+
children: [
|
|
138
|
+
titleTopSlot ? /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u("div", {
|
|
139
|
+
class: "IncodePageTitleTopSlot",
|
|
140
|
+
children: titleTopSlot
|
|
141
|
+
}), /* @__PURE__ */ u(Spacer, { size: 12 })] }) : null,
|
|
142
|
+
title ? /* @__PURE__ */ u("h2", {
|
|
143
|
+
ref: titleRef,
|
|
144
|
+
id: titleId,
|
|
145
|
+
class: "IncodePageTitle",
|
|
146
|
+
tabIndex: -1,
|
|
147
|
+
children: title
|
|
148
|
+
}) : null,
|
|
149
|
+
subtitle ? /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u(Spacer, { size: 12 }), /* @__PURE__ */ u("p", {
|
|
150
|
+
class: "IncodePageSubtitle",
|
|
151
|
+
children: subtitle
|
|
152
|
+
})] }) : null
|
|
153
|
+
]
|
|
154
|
+
})] }) : null,
|
|
155
|
+
/* @__PURE__ */ u("div", {
|
|
156
|
+
class: "IncodePageContent",
|
|
157
|
+
children
|
|
158
|
+
}),
|
|
159
|
+
!uiConfig.hideFooterBranding ? /* @__PURE__ */ u("div", {
|
|
160
|
+
class: "IncodePageFooter",
|
|
161
|
+
children: /* @__PURE__ */ u("div", {
|
|
162
|
+
class: "IncodePageFooterInner",
|
|
163
|
+
children: footerBrandingSlot ?? /* @__PURE__ */ u(VerifiedByIncodeLogo, {})
|
|
164
|
+
})
|
|
165
|
+
}) : null
|
|
166
|
+
]
|
|
167
|
+
})
|
|
168
|
+
});
|
|
169
|
+
};
|
|
170
|
+
//#endregion
|
|
171
|
+
export { VerifiedByIncodeLogo as n, usePageUiConfig as r, Page as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as _defineProperty } from "./defineProperty-
|
|
1
|
+
import { t as _defineProperty } from "./defineProperty-Qjefk7Uf.js";
|
|
2
2
|
//#region \0@oxc-project+runtime@0.122.0/helpers/assertClassBrand.js
|
|
3
3
|
function _assertClassBrand(e, t, n) {
|
|
4
4
|
if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
|