@incodetech/web 0.0.0-dev-20260515-d3b786f → 0.0.0-dev-20260515-ec7243b
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/antifraud/antifraud.es.js +2 -2
- package/dist/authentication/authentication.es.js +3 -3
- package/dist/consent/consent.es.js +6 -6
- package/dist/{countrySelector-BsiZunSR.js → countrySelector-CE-JgIsv.js} +1 -1
- package/dist/{cpfOcr-Ce3VaOQN.js → cpfOcr-D_tbwbvh.js} +1 -1
- package/dist/cross-document-data-match/cross-document-data-match.es.js +2 -2
- package/dist/curp-validation/curp-validation.es.js +6 -6
- package/dist/{customFields-CXZRYgOg.js → customFields-CW38fQUv.js} +4 -4
- package/dist/{customWatchlist-C_wvVinF.js → customWatchlist-D9_yjEQd.js} +4 -4
- package/dist/{documentCapture-tQFMJyim.js → documentCapture-xX-JT7ZY.js} +6 -6
- package/dist/dynamic-forms/styles.css +4 -4
- package/dist/{dynamicForms-D8NINqt9.js → dynamicForms-CJP1Ia6Q.js} +5 -5
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/ekyb/styles.css +1 -11
- package/dist/{ekybModule-lj4gnwFq.js → ekybModule-BSs7mndb.js} +112 -110
- package/dist/ekybModule-D9M3E2Gm.js +2 -0
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/{ekycModule-Co4mDVc_.js → ekycModule-CU9pt5YN.js} +14 -15
- package/dist/ekycModule-CZw9cLno.js +2 -0
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-CNnrPjtf.js → electronic-signature-COYXjGdd.js} +5 -5
- package/dist/email/email.es.js +5 -5
- package/dist/{emailInput-B59IVE3b.js → emailInput-DppGf9pv.js} +2 -2
- package/dist/{expiredId-CkxF94M5.js → expiredId-BnmzE8T3.js} +1 -1
- package/dist/{extensibility-13QgMjhf.js → extensibility-CzEJfRwo.js} +21 -22
- package/dist/extensibility.es.js +13 -14
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/faceMatch-B8j0g0Yo.js +2 -0
- package/dist/{faceMatch-Ce1ua8Ow.js → faceMatch-BV8UD7tj.js} +5 -5
- package/dist/flow/flow.es.js +6 -6
- package/dist/flow/styles.css +5 -15
- package/dist/geolocation/geolocation.es.js +4 -4
- package/dist/governmentValidation/governmentValidation.es.js +5 -5
- package/dist/{homeScreen-PKb7kxgP.js → homeScreen-DnP1jw9A.js} +1 -1
- package/dist/{i18n-CGlauRf5.js → i18n-9s4OSqwi.js} +1 -1
- package/dist/id/id.es.js +109 -76
- package/dist/id-verification/id-verification.es.js +3 -3
- package/dist/{idOcr-B0XJcd5T.js → idOcr-CCjfWQvH.js} +12 -12
- package/dist/identity-reuse/identity-reuse.es.js +3 -3
- package/dist/{incodeComponent-Daiq9rHs.js → incodeComponent-C1o4M0ZK.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{mandatoryConsent-XDDP9kUS.js → mandatoryConsent-DssKMC3v.js} +5 -5
- package/dist/{optionAccessibleLabel-oqlxZV0M.js → optionAccessibleLabel-CzEeX3Q4.js} +3 -3
- package/dist/{otpInput-fp48m4BY.js → otpInput-DqRA_egd.js} +1 -1
- package/dist/{pdf-BdiuemBY.js → pdf-BurGZ08w.js} +1 -1
- package/dist/{pdfViewer-DwAXjYrY.js → pdfViewer-BGBNL1Ea.js} +1 -1
- package/dist/phone/phone.es.js +4 -4
- package/dist/{processing-BYfs2GoV.js → processing-G_y3o32b.js} +1 -1
- package/dist/qe-signature/qe-signature.es.js +2 -2
- package/dist/radioGroupComposed-BbmvxmD2.js +177 -0
- package/dist/{redirectToMobile-N44AN0EK.js → redirectToMobile-C3k1gloW.js} +7 -7
- package/dist/{richText-FMNMBzjD.js → richText-DbJ5sl2n.js} +1 -1
- package/dist/selfie/selfie.es.js +6 -6
- package/dist/signature/signature.es.js +6 -6
- package/dist/{transitionSpinner-Dr4DShjh.js → transitionSpinner-PIEPU2Vx.js} +1 -1
- package/dist/{tutorial-DEXE3Q8-.js → tutorial-9vHAHvMK.js} +5 -5
- package/dist/{useModuleLoader-DVdmkeLL.js → useModuleLoader-BIfhXc2Z.js} +15 -15
- package/dist/{verificationResult-DMrfItOM.js → verificationResult-BrVbUJ4U.js} +1 -1
- package/dist/watchlist/watchlist.es.js +4 -4
- package/dist/{watchlistForBusiness-BE2lnPGU.js → watchlistForBusiness-BcSNtHCV.js} +5 -5
- package/dist/workflow/styles.css +1 -11
- package/dist/workflow/workflow.es.js +7 -7
- package/package.json +2 -2
- package/dist/ekybModule-BCRodgh_.js +0 -2
- package/dist/ekycModule-CC8qn1gC.js +0 -2
- package/dist/faceMatch-C3TpccCq.js +0 -2
- package/dist/formField-CXPGZEuh.js +0 -47
- package/dist/radioGroupComposed-B74fc1L3.js +0 -135
- /package/dist/{aligndevicelottie-B-l4oLgx.js → aligndevicelottie-DoV8xKjh.js} +0 -0
- /package/dist/{autoFocusTitle-G-kfvIN4.js → autoFocusTitle-QexamZ4i.js} +0 -0
- /package/dist/{back-horizontal-hint-CwqTQJfA.js → back-horizontal-hint-B8Brxh3U.js} +0 -0
- /package/dist/{back-tutorial-CRhanZzU.js → back-tutorial-1NOQobGO.js} +0 -0
- /package/dist/{back-vertical-hint-BgiXMkd1.js → back-vertical-hint-BBo36dxn.js} +0 -0
- /package/dist/{backdevicelottie-BD-VUg7T.js → backdevicelottie-C_ceuqY7.js} +0 -0
- /package/dist/{blurdevicelottie-CHfYCaY6.js → blurdevicelottie-UO14Y0WC.js} +0 -0
- /package/dist/{bottomSheet-CLMmiBQS.js → bottomSheet-DE_8TFEC.js} +0 -0
- /package/dist/{browser-ponyfill-N5WsrksH.js → browser-ponyfill-jOkuz57z.js} +0 -0
- /package/dist/{defineProperty-C5pRNti7.js → defineProperty-Dh8nSJpJ.js} +0 -0
- /package/dist/{flip-animation-DVFocXsi.js → flip-animation-CgwRsEmK.js} +0 -0
- /package/dist/{front-horizontal-hint-DmXr2DRB.js → front-horizontal-hint-DGGGi8e1.js} +0 -0
- /package/dist/{front-vertical-hint-DEq5JXmK.js → front-vertical-hint-CNr5mE6Q.js} +0 -0
- /package/dist/{frontdevicelottie-COQT75Pg.js → frontdevicelottie-Bu6f9fDE.js} +0 -0
- /package/dist/{glaredevicelottie-Dmxbf8DW.js → glaredevicelottie-B10axYs_.js} +0 -0
- /package/dist/{id-laser-h-3GiYaX6T.js → id-laser-h-mBAzHVOK.js} +0 -0
- /package/dist/{id-laser-v-CTSbH2dU.js → id-laser-v-CrFg4bcJ.js} +0 -0
- /package/dist/{id-tutorial-DGcHGLSH.js → id-tutorial-BCr42Pnn.js} +0 -0
- /package/dist/{incodeModule-CHzKl22Y.js → incodeModule-BqCjVgEI.js} +0 -0
- /package/dist/{numberedStep-CR4w_BpM.js → numberedStep-CT-alrK5.js} +0 -0
- /package/dist/{passport-horizontal-hint-BwWaH8K3.js → passport-horizontal-hint-Bgquwtac.js} +0 -0
- /package/dist/{passport-tutorial-WZtTidDg.js → passport-tutorial-DwRwtPVX.js} +0 -0
- /package/dist/{passport-vertical-hint-DfVc5-AR.js → passport-vertical-hint-BT1D5BrW.js} +0 -0
- /package/dist/{requiredLabelHint-CuA6awez.js → requiredLabelHint-BLwgqozE.js} +0 -0
- /package/dist/{selfieTutorial-CjEqN3wS.js → selfieTutorial-BgrlUMXP.js} +0 -0
- /package/dist/{snackbar-YzOg-BFn.js → snackbar-BDp8x7Cv.js} +0 -0
- /package/dist/{statusPage-DwY5vcgk.js → statusPage-CUI7ApcU.js} +0 -0
- /package/dist/{tabs-D4BYhNn4.js → tabs-DaPyP71c.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { v as e } from "../vendor-preact-D6SntenC.js";
|
|
2
|
-
import { n as t } from "../electronic-signature-
|
|
3
|
-
import { t as n } from "../incodeModule-
|
|
2
|
+
import { n as t } from "../electronic-signature-COYXjGdd.js";
|
|
3
|
+
import { t as n } from "../incodeModule-BqCjVgEI.js";
|
|
4
4
|
//#region src/modules/ae-signature/ae-signature.tsx
|
|
5
5
|
var r = ({ config: n, onFinish: r, onError: i }) => /* @__PURE__ */ e(t, {
|
|
6
6
|
config: n ? {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as e, v as t } from "../vendor-preact-D6SntenC.js";
|
|
2
2
|
import { o as n } from "../hooks-BVnGysT7.js";
|
|
3
|
-
import { t as r } from "../incodeComponent-
|
|
3
|
+
import { t as r } from "../incodeComponent-C1o4M0ZK.js";
|
|
4
4
|
import { t as i } from "../spinner-CKnjVHxw.js";
|
|
5
|
-
import { t as a } from "../incodeModule-
|
|
5
|
+
import { t as a } from "../incodeModule-BqCjVgEI.js";
|
|
6
6
|
import { createAntifraudManager as o } from "@incodetech/core/antifraud";
|
|
7
7
|
//#region src/modules/antifraud/antifraud.tsx
|
|
8
8
|
var s = ({ onFinish: r }) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { v as e } from "../vendor-preact-D6SntenC.js";
|
|
2
2
|
import { o as t } from "../hooks-BVnGysT7.js";
|
|
3
|
-
import { t as n } from "../incodeComponent-
|
|
4
|
-
import { n as r, r as i, t as a } from "../tutorial-
|
|
5
|
-
import { t as o } from "../incodeModule-
|
|
3
|
+
import { t as n } from "../incodeComponent-C1o4M0ZK.js";
|
|
4
|
+
import { n as r, r as i, t as a } from "../tutorial-9vHAHvMK.js";
|
|
5
|
+
import { t as o } from "../incodeModule-BqCjVgEI.js";
|
|
6
6
|
import { createAuthenticationManager as s } from "@incodetech/core/authentication";
|
|
7
7
|
//#region src/modules/authentication/authentication.tsx
|
|
8
8
|
var c = ({ config: n, authHint: o, manager: c, onFinish: l, onError: u }) => {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { n as e } from "../i18n-
|
|
1
|
+
import { n as e } from "../i18n-9s4OSqwi.js";
|
|
2
2
|
import { _ as t, d as n, l as r, v as i } from "../vendor-preact-D6SntenC.js";
|
|
3
3
|
import { o as a } from "../hooks-BVnGysT7.js";
|
|
4
|
-
import { t as o } from "../incodeComponent-
|
|
4
|
+
import { t as o } from "../incodeComponent-C1o4M0ZK.js";
|
|
5
5
|
import { t as s } from "../page-C1yT4DLb.js";
|
|
6
6
|
import { n as c } from "../typography-CxjaknHN.js";
|
|
7
|
-
import { t as l } from "../transitionSpinner-
|
|
7
|
+
import { t as l } from "../transitionSpinner-PIEPU2Vx.js";
|
|
8
8
|
import { t as u } from "../button-DcCUEn2n.js";
|
|
9
9
|
import { t as d } from "../checkbox-Cl57ltq_.js";
|
|
10
|
-
import { t as f } from "../incodeModule-
|
|
11
|
-
import { t as p } from "../richText-
|
|
12
|
-
import { n as m, t as h } from "../requiredLabelHint-
|
|
10
|
+
import { t as f } from "../incodeModule-BqCjVgEI.js";
|
|
11
|
+
import { t as p } from "../richText-DbJ5sl2n.js";
|
|
12
|
+
import { n as m, t as h } from "../requiredLabelHint-BLwgqozE.js";
|
|
13
13
|
import { createConsentManager as g } from "@incodetech/core/consent";
|
|
14
14
|
//#region src/modules/consent/consent.tsx
|
|
15
15
|
var _ = ({ config: o, manager: f, onFinish: _, onError: v }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
1
|
+
import { n as e } from "./i18n-9s4OSqwi.js";
|
|
2
2
|
import { d as t, v as n } from "./vendor-preact-D6SntenC.js";
|
|
3
3
|
import { t as r } from "./dropdownComposed-DFRBG22E.js";
|
|
4
4
|
//#region src/shared/countrySelector/countrySelector.tsx
|
|
@@ -5,7 +5,7 @@ import { t as a } from "./page-C1yT4DLb.js";
|
|
|
5
5
|
import { t as o } from "./spinner-CKnjVHxw.js";
|
|
6
6
|
import "./spinner-B4dcie2T.js";
|
|
7
7
|
import { t as s } from "./button-DcCUEn2n.js";
|
|
8
|
-
import { t as c } from "./verificationResult-
|
|
8
|
+
import { t as c } from "./verificationResult-BrVbUJ4U.js";
|
|
9
9
|
import { t as l } from "./inputComposed-APSw8C7o.js";
|
|
10
10
|
import { createCpfOcrManager as u } from "@incodetech/core/cpf-ocr";
|
|
11
11
|
//#region src/modules/cpf-ocr/cpfOcr.tsx
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as e, v as t } from "../vendor-preact-D6SntenC.js";
|
|
2
2
|
import { o as n } from "../hooks-BVnGysT7.js";
|
|
3
|
-
import { t as r } from "../incodeComponent-
|
|
3
|
+
import { t as r } from "../incodeComponent-C1o4M0ZK.js";
|
|
4
4
|
import { t as i } from "../spinner-CKnjVHxw.js";
|
|
5
|
-
import { t as a } from "../incodeModule-
|
|
5
|
+
import { t as a } from "../incodeModule-BqCjVgEI.js";
|
|
6
6
|
import { createCrossDocumentDataMatchManager as o } from "@incodetech/core/cross-document-data-match";
|
|
7
7
|
//#region src/modules/cross-document-data-match/cross-document-data-match.tsx
|
|
8
8
|
var s = ({ onFinish: r }) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as e } from "../i18n-
|
|
1
|
+
import { n as e } from "../i18n-9s4OSqwi.js";
|
|
2
2
|
import { S as t, d as n, v as r } from "../vendor-preact-D6SntenC.js";
|
|
3
3
|
import { o as i } from "../hooks-BVnGysT7.js";
|
|
4
|
-
import { t as a } from "../incodeComponent-
|
|
4
|
+
import { t as a } from "../incodeComponent-C1o4M0ZK.js";
|
|
5
5
|
import { r as o } from "../loadingIcon-BN5YRQUb.js";
|
|
6
6
|
import { t as s } from "../page-C1yT4DLb.js";
|
|
7
|
-
import { t as c } from "../transitionSpinner-
|
|
7
|
+
import { t as c } from "../transitionSpinner-PIEPU2Vx.js";
|
|
8
8
|
import { t as l } from "../button-DcCUEn2n.js";
|
|
9
9
|
import { g as u } from "../icons-Cc7zwchP.js";
|
|
10
10
|
import { t as d } from "../successIcon-DbILeIz_.js";
|
|
@@ -13,9 +13,9 @@ import { t as p } from "../dropdownComposed-DFRBG22E.js";
|
|
|
13
13
|
import "../dropdownComposed-DwTzc2YU.js";
|
|
14
14
|
import { t as m } from "../dateInputComposed-BpAGsjN6.js";
|
|
15
15
|
import "../dateInputComposed-DU3o6PAV.js";
|
|
16
|
-
import { t as h } from "../incodeModule-
|
|
17
|
-
import { n as g, t as _ } from "../requiredLabelHint-
|
|
18
|
-
import { t as v } from "../autoFocusTitle-
|
|
16
|
+
import { t as h } from "../incodeModule-BqCjVgEI.js";
|
|
17
|
+
import { n as g, t as _ } from "../requiredLabelHint-BLwgqozE.js";
|
|
18
|
+
import { t as v } from "../autoFocusTitle-QexamZ4i.js";
|
|
19
19
|
import { GENERATE_CURP_FIELDS as y, createCurpValidationManager as b, mexicanStates as x } from "@incodetech/core/curp-validation";
|
|
20
20
|
//#region src/modules/curp-validation/curpInput.tsx
|
|
21
21
|
var S = ({ curp: t, isValid: n, onCurpChange: i, onVerify: a, onSwitchToGenerate: s, disabled: c = !1, placeholder: u, continueLabel: d, dontHaveLabel: p }) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
1
|
+
import { n as e } from "./i18n-9s4OSqwi.js";
|
|
2
2
|
import { _ as t, l as n, p as r, v as i } from "./vendor-preact-D6SntenC.js";
|
|
3
3
|
import { o as a } from "./hooks-BVnGysT7.js";
|
|
4
|
-
import { t as o } from "./incodeComponent-
|
|
4
|
+
import { t as o } from "./incodeComponent-C1o4M0ZK.js";
|
|
5
5
|
import { r as s, t as c } from "./loadingIcon-BN5YRQUb.js";
|
|
6
6
|
import { t as l } from "./page-C1yT4DLb.js";
|
|
7
7
|
import { t as u } from "./button-DcCUEn2n.js";
|
|
@@ -9,8 +9,8 @@ import { t as d } from "./successIcon-DbILeIz_.js";
|
|
|
9
9
|
import { t as f } from "./inputComposed-APSw8C7o.js";
|
|
10
10
|
import { t as p } from "./checkbox-Cl57ltq_.js";
|
|
11
11
|
import { t as m } from "./dateInputComposed-BpAGsjN6.js";
|
|
12
|
-
import { t as h } from "./incodeModule-
|
|
13
|
-
import { t as g } from "./statusPage-
|
|
12
|
+
import { t as h } from "./incodeModule-BqCjVgEI.js";
|
|
13
|
+
import { t as g } from "./statusPage-CUI7ApcU.js";
|
|
14
14
|
import { createCustomFieldsManager as _ } from "@incodetech/core/custom-fields";
|
|
15
15
|
//#region src/modules/custom-fields/customFields.tsx
|
|
16
16
|
var v = {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
1
|
+
import { n as e } from "./i18n-9s4OSqwi.js";
|
|
2
2
|
import { _ as t, l as n, v as r } from "./vendor-preact-D6SntenC.js";
|
|
3
3
|
import { o as i } from "./hooks-BVnGysT7.js";
|
|
4
|
-
import { t as a } from "./incodeComponent-
|
|
4
|
+
import { t as a } from "./incodeComponent-C1o4M0ZK.js";
|
|
5
5
|
import { t as o } from "./loadingIcon-BN5YRQUb.js";
|
|
6
6
|
import { t as s } from "./successIcon-DbILeIz_.js";
|
|
7
|
-
import { t as c } from "./incodeModule-
|
|
8
|
-
import { t as l } from "./statusPage-
|
|
7
|
+
import { t as c } from "./incodeModule-BqCjVgEI.js";
|
|
8
|
+
import { t as l } from "./statusPage-CUI7ApcU.js";
|
|
9
9
|
import { createCustomWatchlistManager as u } from "@incodetech/core/custom-watchlist";
|
|
10
10
|
//#region src/modules/custom-watchlist/customWatchlist.tsx
|
|
11
11
|
var d = ({ onFinish: a }) => {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
1
|
+
import { n as e } from "./i18n-9s4OSqwi.js";
|
|
2
2
|
import { S as t, _ as n, h as r, l as i, m as a, p as o, v as s } from "./vendor-preact-D6SntenC.js";
|
|
3
3
|
import { o as c, r as l } from "./hooks-BVnGysT7.js";
|
|
4
|
-
import { t as u } from "./incodeComponent-
|
|
4
|
+
import { t as u } from "./incodeComponent-C1o4M0ZK.js";
|
|
5
5
|
import { n as d, r as f } from "./loadingIcon-BN5YRQUb.js";
|
|
6
6
|
import { t as p } from "./page-C1yT4DLb.js";
|
|
7
|
-
import { b as m, d as h, f as g, l as _, p as v, u as y, y as b } from "./extensibility-
|
|
7
|
+
import { b as m, d as h, f as g, l as _, p as v, u as y, y as b } from "./extensibility-CzEJfRwo.js";
|
|
8
8
|
import { t as x } from "./spinner-CKnjVHxw.js";
|
|
9
9
|
import { t as S } from "./button-DcCUEn2n.js";
|
|
10
10
|
import { a as C, p as w, r as T } from "./icons-Cc7zwchP.js";
|
|
11
11
|
import { t as E } from "./successIcon-DbILeIz_.js";
|
|
12
|
-
import { o as D } from "./tutorial-
|
|
13
|
-
import { t as O } from "./bottomSheet-
|
|
14
|
-
import { t as k } from "./incodeModule-
|
|
12
|
+
import { o as D } from "./tutorial-9vHAHvMK.js";
|
|
13
|
+
import { t as O } from "./bottomSheet-DE_8TFEC.js";
|
|
14
|
+
import { t as k } from "./incodeModule-BqCjVgEI.js";
|
|
15
15
|
import { createDocumentCaptureManager as A } from "@incodetech/core/document-capture";
|
|
16
16
|
//#region src/modules/document-capture/documentCameraView.tsx
|
|
17
17
|
function j(e) {
|
|
@@ -11,6 +11,10 @@
|
|
|
11
11
|
margin-top: var(--spacing-24, var(--spacing-24, 24px));
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
.IncodeDynamicFormsPage .IncodePageContent {
|
|
15
|
+
align-items: center;
|
|
16
|
+
}
|
|
17
|
+
|
|
14
18
|
.IncodeDynamicFormsForm {
|
|
15
19
|
flex-direction: column;
|
|
16
20
|
width: 100%;
|
|
@@ -30,7 +34,3 @@
|
|
|
30
34
|
width: 100%;
|
|
31
35
|
display: flex;
|
|
32
36
|
}
|
|
33
|
-
|
|
34
|
-
.IncodePageContent {
|
|
35
|
-
align-items: center;
|
|
36
|
-
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
1
|
+
import { n as e } from "./i18n-9s4OSqwi.js";
|
|
2
2
|
import { _ as t, d as n, p as r, v as i } from "./vendor-preact-D6SntenC.js";
|
|
3
3
|
import { o as a } from "./hooks-BVnGysT7.js";
|
|
4
|
-
import { t as o } from "./incodeComponent-
|
|
4
|
+
import { t as o } from "./incodeComponent-C1o4M0ZK.js";
|
|
5
5
|
import { r as s } from "./loadingIcon-BN5YRQUb.js";
|
|
6
6
|
import { t as c } from "./page-C1yT4DLb.js";
|
|
7
7
|
import { t as l } from "./button-DcCUEn2n.js";
|
|
8
|
-
import { t as u } from "./verificationResult-
|
|
8
|
+
import { t as u } from "./verificationResult-BrVbUJ4U.js";
|
|
9
9
|
import { t as d } from "./inputComposed-APSw8C7o.js";
|
|
10
10
|
import { t as f } from "./checkbox-Cl57ltq_.js";
|
|
11
11
|
import { n as p, t as m } from "./phoneInputComposed-bvWhGLFZ.js";
|
|
12
12
|
import { t as h } from "./dropdownComposed-DFRBG22E.js";
|
|
13
13
|
import { t as g } from "./dateInputComposed-BpAGsjN6.js";
|
|
14
|
-
import { t as _ } from "./incodeModule-
|
|
15
|
-
import { t as v } from "./emailInput-
|
|
14
|
+
import { t as _ } from "./incodeModule-BqCjVgEI.js";
|
|
15
|
+
import { t as v } from "./emailInput-DppGf9pv.js";
|
|
16
16
|
import { formatCPF as y } from "@incodetech/core/cpf-ocr";
|
|
17
17
|
import { createDynamicFormsManager as b } from "@incodetech/core/dynamic-forms";
|
|
18
18
|
//#region src/modules/dynamic-forms/dynamicForms.tsx
|
package/dist/ekyb/ekyb.es.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../ekybModule-
|
|
1
|
+
import { t as e } from "../ekybModule-BSs7mndb.js";
|
|
2
2
|
export { e as EkybModule };
|
package/dist/ekyb/styles.css
CHANGED
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.IncodeEkybPage {
|
|
11
|
-
max-width: 480px;
|
|
12
11
|
margin-inline: auto;
|
|
13
12
|
}
|
|
14
13
|
|
|
@@ -24,7 +23,7 @@
|
|
|
24
23
|
display: flex;
|
|
25
24
|
}
|
|
26
25
|
|
|
27
|
-
.IncodeEkybPage .IncodeEkybForm .IncodeInputComposed, .IncodeEkybPage .IncodeEkybForm .IncodeDropdownComposed, .IncodeEkybPage .IncodeEkybForm .IncodeFormField {
|
|
26
|
+
.IncodeEkybPage .IncodeEkybForm .IncodeInputComposed, .IncodeEkybPage .IncodeEkybForm .IncodeDropdownComposed, .IncodeEkybPage .IncodeEkybForm .IncodeCountrySelector, .IncodeEkybPage .IncodeEkybForm .IncodeFormField {
|
|
28
27
|
margin-inline: auto;
|
|
29
28
|
}
|
|
30
29
|
|
|
@@ -109,14 +108,9 @@
|
|
|
109
108
|
@media (min-width: 768px) {
|
|
110
109
|
.IncodeEkybPage.IncodePageContainer {
|
|
111
110
|
margin-top: var(--spacing-0, var(--spacing-none, 0px));
|
|
112
|
-
height: 95dvh;
|
|
113
111
|
max-height: none;
|
|
114
112
|
}
|
|
115
113
|
|
|
116
|
-
.IncodeEkybPage .IncodePageInner {
|
|
117
|
-
height: 95%;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
114
|
.IncodeEkybPage.IncodeEkybPageScrollable {
|
|
121
115
|
max-width: 500px;
|
|
122
116
|
}
|
|
@@ -131,10 +125,6 @@
|
|
|
131
125
|
overflow-y: auto;
|
|
132
126
|
}
|
|
133
127
|
|
|
134
|
-
.IncodeEkybPage.IncodeEkybPageScrollable .IncodeEkybForm {
|
|
135
|
-
margin-left: var(--spacing-8, var(--spacing-8, 8px));
|
|
136
|
-
}
|
|
137
|
-
|
|
138
128
|
.IncodeEkybPage .IncodeEkybFooter {
|
|
139
129
|
flex-shrink: 0;
|
|
140
130
|
}
|
|
@@ -1,34 +1,36 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
1
|
+
import { n as e } from "./i18n-9s4OSqwi.js";
|
|
2
2
|
import { S as t, _ as n, d as r, h as i, l as a, p as o, v as s } from "./vendor-preact-D6SntenC.js";
|
|
3
3
|
import { i as c, o as l } from "./hooks-BVnGysT7.js";
|
|
4
|
-
import { t as u } from "./incodeComponent-
|
|
5
|
-
import {
|
|
6
|
-
import { t as f } from "./
|
|
7
|
-
import
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import {
|
|
11
|
-
import { t as
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { t as
|
|
16
|
-
import {
|
|
4
|
+
import { t as u } from "./incodeComponent-C1o4M0ZK.js";
|
|
5
|
+
import { r as d } from "./loadingIcon-BN5YRQUb.js";
|
|
6
|
+
import { t as f } from "./page-C1yT4DLb.js";
|
|
7
|
+
import "./extensibility-CzEJfRwo.js";
|
|
8
|
+
import { t as p } from "./spinner-CKnjVHxw.js";
|
|
9
|
+
import { t as m } from "./button-DcCUEn2n.js";
|
|
10
|
+
import { t as h } from "./verificationResult-BrVbUJ4U.js";
|
|
11
|
+
import { t as g } from "./inputComposed-APSw8C7o.js";
|
|
12
|
+
import { i as _, r as v } from "./radioGroupComposed-BbmvxmD2.js";
|
|
13
|
+
import { t as y } from "./dropdownComposed-DFRBG22E.js";
|
|
14
|
+
import { t as b } from "./incodeModule-BqCjVgEI.js";
|
|
15
|
+
import { n as x, t as S } from "./requiredLabelHint-BLwgqozE.js";
|
|
16
|
+
import { n as C, t as w } from "./optionAccessibleLabel-CzEeX3Q4.js";
|
|
17
|
+
import { t as T } from "./countrySelector-CE-JgIsv.js";
|
|
18
|
+
import { DEV_ONLY_COUNTRIES as E, SUPPORTED_COUNTRIES as D, computeEkybDisplayErrors as O, createEkybManager as k } from "@incodetech/core/ekyb";
|
|
17
19
|
//#region src/modules/ekyb/countrySelector.tsx
|
|
18
|
-
var
|
|
20
|
+
var A = ({ value: t, onChange: n }) => {
|
|
19
21
|
let { t: r } = e();
|
|
20
|
-
return /* @__PURE__ */ s(
|
|
22
|
+
return /* @__PURE__ */ s(T, {
|
|
21
23
|
id: "ekyb-country",
|
|
22
24
|
label: r("ekyb.country"),
|
|
23
25
|
value: t,
|
|
24
26
|
onChange: n,
|
|
25
|
-
countryCodes:
|
|
26
|
-
devOnlyCountryCodes:
|
|
27
|
+
countryCodes: D,
|
|
28
|
+
devOnlyCountryCodes: E,
|
|
27
29
|
"data-testid": "ekyb-country-selector"
|
|
28
30
|
});
|
|
29
|
-
},
|
|
31
|
+
}, j = ({ field: t, value: n, error: r, errorParams: i, country: a, labelHint: o, onChange: c, onBlur: l }) => {
|
|
30
32
|
let { t: u } = e();
|
|
31
|
-
return t.type === "dropdown" ? /* @__PURE__ */ s(
|
|
33
|
+
return t.type === "dropdown" ? /* @__PURE__ */ s(y, {
|
|
32
34
|
id: `ekyb-${t.name}`,
|
|
33
35
|
label: u(t.label),
|
|
34
36
|
labelHint: o,
|
|
@@ -39,16 +41,16 @@ var k = ({ value: t, onChange: n }) => {
|
|
|
39
41
|
return {
|
|
40
42
|
...e,
|
|
41
43
|
label: t,
|
|
42
|
-
ariaLabel:
|
|
44
|
+
ariaLabel: w(t)
|
|
43
45
|
};
|
|
44
46
|
}),
|
|
45
|
-
error:
|
|
47
|
+
error: _(u, r, i),
|
|
46
48
|
required: t.required,
|
|
47
49
|
searchable: !0,
|
|
48
50
|
onChange: (e) => c(t.name, e),
|
|
49
51
|
onBlur: l ? () => l(t.name) : void 0,
|
|
50
52
|
"data-testid": `ekyb-field-${t.name}`
|
|
51
|
-
}) : /* @__PURE__ */ s(
|
|
53
|
+
}) : /* @__PURE__ */ s(v, {
|
|
52
54
|
name: t.name,
|
|
53
55
|
label: t.label,
|
|
54
56
|
displayLabel: t.displayLabel,
|
|
@@ -60,8 +62,8 @@ var k = ({ value: t, onChange: n }) => {
|
|
|
60
62
|
onChange: c,
|
|
61
63
|
onBlur: l
|
|
62
64
|
});
|
|
63
|
-
},
|
|
64
|
-
let { t: d } = e(), f = (e) =>
|
|
65
|
+
}, M = ({ ubos: t, errors: n, errorParams: r, canAddUbo: i, labelHint: a, onSetField: o, onBlur: c, onAdd: l, onRemove: u }) => {
|
|
66
|
+
let { t: d } = e(), f = (e) => _(d, n[e], r[e]);
|
|
65
67
|
return t.length === 0 ? null : /* @__PURE__ */ s("div", {
|
|
66
68
|
className: "IncodeEkybUbos",
|
|
67
69
|
children: [t.map((e, t) => {
|
|
@@ -71,7 +73,7 @@ var k = ({ value: t, onChange: n }) => {
|
|
|
71
73
|
role: "group",
|
|
72
74
|
"aria-label": `UBO ${t + 1}`,
|
|
73
75
|
children: [
|
|
74
|
-
/* @__PURE__ */ s(
|
|
76
|
+
/* @__PURE__ */ s(g, {
|
|
75
77
|
id: `ubo-${t}-name`,
|
|
76
78
|
label: n,
|
|
77
79
|
labelHint: a,
|
|
@@ -83,7 +85,7 @@ var k = ({ value: t, onChange: n }) => {
|
|
|
83
85
|
onBlur: c ? () => c(`ubo-${t}-name`) : void 0,
|
|
84
86
|
"data-testid": `ekyb-ubo-${t}-name`
|
|
85
87
|
}),
|
|
86
|
-
/* @__PURE__ */ s(
|
|
88
|
+
/* @__PURE__ */ s(g, {
|
|
87
89
|
id: `ubo-${t}-surname`,
|
|
88
90
|
label: r,
|
|
89
91
|
labelHint: a,
|
|
@@ -112,61 +114,61 @@ var k = ({ value: t, onChange: n }) => {
|
|
|
112
114
|
children: d("ekyb.addAnotherUbo")
|
|
113
115
|
})]
|
|
114
116
|
});
|
|
115
|
-
},
|
|
116
|
-
let { t: i } = e(), [a, o] = l(() =>
|
|
117
|
+
}, N = ({ config: t, onFinish: r }) => {
|
|
118
|
+
let { t: i } = e(), [a, o] = l(() => k({ config: t }));
|
|
117
119
|
return n(() => {
|
|
118
120
|
(a.status === "finished" || a.status === "closed") && r?.();
|
|
119
|
-
}, [a.status, r]), a.status === "finished" || a.status === "closed" ? null : a.status === "loading" ? /* @__PURE__ */ s(
|
|
121
|
+
}, [a.status, r]), a.status === "finished" || a.status === "closed" ? null : a.status === "loading" ? /* @__PURE__ */ s(h, {
|
|
120
122
|
status: "submitting",
|
|
121
123
|
submittingTitle: i("common.loading")
|
|
122
|
-
}) : a.status === "submitting" ? /* @__PURE__ */ s(
|
|
124
|
+
}) : a.status === "submitting" ? /* @__PURE__ */ s(f, {
|
|
123
125
|
className: "IncodeEkybPage",
|
|
124
|
-
children: /* @__PURE__ */ s(
|
|
126
|
+
children: /* @__PURE__ */ s(p, {
|
|
125
127
|
fullScreen: !1,
|
|
126
128
|
title: i("common.processing"),
|
|
127
129
|
className: "IncodeEkybSpinner"
|
|
128
130
|
})
|
|
129
|
-
}) : a.status === "success" ? /* @__PURE__ */ s(
|
|
131
|
+
}) : a.status === "success" ? /* @__PURE__ */ s(h, { status: "success" }) : a.status === "error" ? /* @__PURE__ */ s(h, {
|
|
130
132
|
status: "failure",
|
|
131
133
|
onRetry: () => o.retry()
|
|
132
|
-
}) : a.status === "form" ? /* @__PURE__ */ s(
|
|
134
|
+
}) : a.status === "form" ? /* @__PURE__ */ s(I, {
|
|
133
135
|
state: a,
|
|
134
136
|
manager: o
|
|
135
137
|
}) : null;
|
|
136
|
-
},
|
|
138
|
+
}, P = new Set([
|
|
137
139
|
"street",
|
|
138
140
|
"houseNo",
|
|
139
141
|
"addressLine2",
|
|
140
142
|
"city",
|
|
141
143
|
"state",
|
|
142
144
|
"postalCode"
|
|
143
|
-
]),
|
|
145
|
+
]), F = [
|
|
144
146
|
"street",
|
|
145
147
|
"city",
|
|
146
148
|
"state",
|
|
147
149
|
"postalCode",
|
|
148
150
|
"houseNo"
|
|
149
|
-
],
|
|
150
|
-
let { country:
|
|
151
|
-
|
|
151
|
+
], I = ({ state: l, manager: u }) => {
|
|
152
|
+
let { country: p, fields: h, values: g, errors: _, isValid: v, ubos: y, canAddUbo: b, addressSuggestions: w, submitAttempted: T } = l, { t: E } = e(), D = a(null), k = a(null), N = a(void 0), I = c(D, h.length), [L, R] = o({}), z = i((e) => {
|
|
153
|
+
R((t) => t[e] ? t : {
|
|
152
154
|
...t,
|
|
153
155
|
[e]: !0
|
|
154
156
|
});
|
|
155
|
-
}, []), { displayErrors:
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
]),
|
|
162
|
-
|
|
163
|
-
}, [u,
|
|
164
|
-
|
|
165
|
-
}, [u,
|
|
166
|
-
for (let e of
|
|
157
|
+
}, []), { displayErrors: B, errorParams: V } = r(() => O(_, L, T, p, h), [
|
|
158
|
+
_,
|
|
159
|
+
L,
|
|
160
|
+
T,
|
|
161
|
+
p,
|
|
162
|
+
h
|
|
163
|
+
]), H = i((e) => z(e), [z]), U = i((e, t) => {
|
|
164
|
+
z(e), u.setField(e, t);
|
|
165
|
+
}, [u, z]), W = i((e, t, n) => {
|
|
166
|
+
z(`ubo-${e}-${t}`), u.setUboField(e, t, n);
|
|
167
|
+
}, [u, z]), G = i((e) => {
|
|
168
|
+
for (let e of F) z(e);
|
|
167
169
|
u.selectAddress(e);
|
|
168
|
-
}, [u,
|
|
169
|
-
u.removeUbo(e),
|
|
170
|
+
}, [u, z]), K = i((e) => {
|
|
171
|
+
u.removeUbo(e), R((t) => {
|
|
170
172
|
let n = {};
|
|
171
173
|
for (let [r, i] of Object.entries(t)) {
|
|
172
174
|
let t = r.match(/^ubo-(\d+)-(name|surname)$/);
|
|
@@ -183,96 +185,96 @@ var k = ({ value: t, onChange: n }) => {
|
|
|
183
185
|
});
|
|
184
186
|
}, [u]);
|
|
185
187
|
n(() => {
|
|
186
|
-
let e =
|
|
187
|
-
if (
|
|
188
|
+
let e = B.postalCode, t = N.current;
|
|
189
|
+
if (N.current = e, !e || t === e) return;
|
|
188
190
|
let n = requestAnimationFrame(() => {
|
|
189
|
-
let e =
|
|
191
|
+
let e = k.current;
|
|
190
192
|
e && (e.querySelector("#postalCode-error") ?? e).scrollIntoView({
|
|
191
193
|
behavior: "smooth",
|
|
192
194
|
block: "nearest"
|
|
193
195
|
});
|
|
194
196
|
});
|
|
195
197
|
return () => cancelAnimationFrame(n);
|
|
196
|
-
}, [
|
|
197
|
-
let
|
|
198
|
-
let t =
|
|
199
|
-
return t ?
|
|
198
|
+
}, [B.postalCode]);
|
|
199
|
+
let q = h.filter((e) => !P.has(e.name)), J = h.filter((e) => P.has(e.name)), Y = r(() => x(h.map((e) => e.required)), [h]), X = (e) => {
|
|
200
|
+
let t = S(Y, e);
|
|
201
|
+
return t ? E(`forms.label.${t}`) : void 0;
|
|
200
202
|
};
|
|
201
|
-
return /* @__PURE__ */ s(
|
|
202
|
-
className: `IncodeEkybPage${
|
|
203
|
-
title:
|
|
203
|
+
return /* @__PURE__ */ s(f, {
|
|
204
|
+
className: `IncodeEkybPage${I ? " IncodeEkybPageScrollable" : ""}`,
|
|
205
|
+
title: E("ekyb.title"),
|
|
204
206
|
children: [/* @__PURE__ */ s("div", {
|
|
205
|
-
ref:
|
|
207
|
+
ref: D,
|
|
206
208
|
className: "IncodeEkybForm",
|
|
207
209
|
children: [
|
|
208
|
-
/* @__PURE__ */ s(
|
|
209
|
-
value:
|
|
210
|
+
/* @__PURE__ */ s(A, {
|
|
211
|
+
value: p,
|
|
210
212
|
onChange: (e) => u.setCountry(e)
|
|
211
213
|
}),
|
|
212
|
-
|
|
214
|
+
q.map((e) => /* @__PURE__ */ s(j, {
|
|
213
215
|
field: e,
|
|
214
|
-
value:
|
|
215
|
-
error:
|
|
216
|
-
errorParams:
|
|
217
|
-
country:
|
|
218
|
-
labelHint:
|
|
219
|
-
onChange:
|
|
220
|
-
onBlur:
|
|
216
|
+
value: g[e.name] ?? "",
|
|
217
|
+
error: B[e.name],
|
|
218
|
+
errorParams: V[e.name],
|
|
219
|
+
country: p,
|
|
220
|
+
labelHint: X(e.required),
|
|
221
|
+
onChange: U,
|
|
222
|
+
onBlur: H
|
|
221
223
|
}, e.name)),
|
|
222
|
-
/* @__PURE__ */ s(
|
|
223
|
-
ubos:
|
|
224
|
-
errors:
|
|
225
|
-
errorParams:
|
|
226
|
-
canAddUbo:
|
|
227
|
-
labelHint:
|
|
228
|
-
onSetField:
|
|
229
|
-
onBlur:
|
|
224
|
+
/* @__PURE__ */ s(M, {
|
|
225
|
+
ubos: y,
|
|
226
|
+
errors: B,
|
|
227
|
+
errorParams: V,
|
|
228
|
+
canAddUbo: b,
|
|
229
|
+
labelHint: X(!0),
|
|
230
|
+
onSetField: W,
|
|
231
|
+
onBlur: H,
|
|
230
232
|
onAdd: () => u.addUbo(),
|
|
231
|
-
onRemove:
|
|
233
|
+
onRemove: K
|
|
232
234
|
}),
|
|
233
|
-
|
|
235
|
+
J.length > 0 && /* @__PURE__ */ s(t, { children: [/* @__PURE__ */ s("h3", {
|
|
234
236
|
className: "IncodeEkybSectionHeader",
|
|
235
|
-
children:
|
|
236
|
-
}),
|
|
237
|
+
children: E("ekyb.addressDetails")
|
|
238
|
+
}), J.map((e) => e.name === "street" ? /* @__PURE__ */ s(C, {
|
|
237
239
|
label: e.label,
|
|
238
|
-
labelHint:
|
|
239
|
-
value:
|
|
240
|
-
error:
|
|
241
|
-
errorParams:
|
|
242
|
-
suggestions:
|
|
240
|
+
labelHint: X(e.required),
|
|
241
|
+
value: g.street ?? "",
|
|
242
|
+
error: B.street,
|
|
243
|
+
errorParams: V.street,
|
|
244
|
+
suggestions: w,
|
|
243
245
|
required: e.required,
|
|
244
|
-
onChange: (e) =>
|
|
246
|
+
onChange: (e) => U("street", e),
|
|
245
247
|
onSearch: (e) => u.searchAddress(e),
|
|
246
|
-
onSelect:
|
|
247
|
-
onBlur: () =>
|
|
248
|
+
onSelect: G,
|
|
249
|
+
onBlur: () => H("street")
|
|
248
250
|
}, e.name) : /* @__PURE__ */ s("div", {
|
|
249
|
-
ref: e.name === "postalCode" ?
|
|
250
|
-
children: /* @__PURE__ */ s(
|
|
251
|
+
ref: e.name === "postalCode" ? k : void 0,
|
|
252
|
+
children: /* @__PURE__ */ s(j, {
|
|
251
253
|
field: e,
|
|
252
|
-
value:
|
|
253
|
-
error:
|
|
254
|
-
errorParams:
|
|
255
|
-
country:
|
|
256
|
-
labelHint:
|
|
257
|
-
onChange:
|
|
258
|
-
onBlur:
|
|
254
|
+
value: g[e.name] ?? "",
|
|
255
|
+
error: B[e.name],
|
|
256
|
+
errorParams: V[e.name],
|
|
257
|
+
country: p,
|
|
258
|
+
labelHint: X(e.required),
|
|
259
|
+
onChange: U,
|
|
260
|
+
onBlur: H
|
|
259
261
|
})
|
|
260
262
|
}, e.name))] })
|
|
261
263
|
]
|
|
262
264
|
}), /* @__PURE__ */ s("div", {
|
|
263
265
|
className: "IncodeEkybFooter",
|
|
264
|
-
children: /* @__PURE__ */ s(
|
|
266
|
+
children: [/* @__PURE__ */ s(m, {
|
|
265
267
|
onClick: () => u.submit(),
|
|
266
|
-
disabled: !
|
|
268
|
+
disabled: !v,
|
|
267
269
|
"data-testid": "ekyb-submit",
|
|
268
|
-
children:
|
|
269
|
-
})
|
|
270
|
+
children: E("ekyb.continue")
|
|
271
|
+
}), /* @__PURE__ */ s(d, { size: 16 })]
|
|
270
272
|
})]
|
|
271
273
|
});
|
|
272
|
-
},
|
|
274
|
+
}, L = ({ config: e, onFinish: t }) => /* @__PURE__ */ s(u, { children: e ? /* @__PURE__ */ s(N, {
|
|
273
275
|
config: e,
|
|
274
276
|
onFinish: t
|
|
275
277
|
}) : null });
|
|
276
|
-
|
|
278
|
+
b(L, "incode-ekyb");
|
|
277
279
|
//#endregion
|
|
278
|
-
export {
|
|
280
|
+
export { L as t };
|
package/dist/ekyc/ekyc.es.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../ekycModule-
|
|
1
|
+
import { t as e } from "../ekycModule-CU9pt5YN.js";
|
|
2
2
|
export { e as EkycModule };
|