@incodetech/web 0.0.0-dev-20260515-901da9a → 0.0.0-dev-20260515-a07df20
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/base.css +2 -6
- 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 +111 -114
- 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 +12 -12
- 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 }) => {
|
package/dist/base.css
CHANGED
|
@@ -65,6 +65,7 @@
|
|
|
65
65
|
margin: 0;
|
|
66
66
|
padding: 0;
|
|
67
67
|
position: relative;
|
|
68
|
+
overflow-y: auto;
|
|
68
69
|
}
|
|
69
70
|
.IncodeComponent *, .IncodeComponent :after, .IncodeComponent :before, .IncodeComponent ::backdrop {
|
|
70
71
|
box-sizing: border-box;
|
|
@@ -1650,11 +1651,7 @@
|
|
|
1650
1651
|
border-color: var(--color-dropdown-border-focused, var(--dropdown-border-focused));
|
|
1651
1652
|
background-color: var(--color-dropdown-surface-focused, var(--dropdown-surface-focused));
|
|
1652
1653
|
}
|
|
1653
|
-
.IncodeDropdownComposedTrigger[data-error="true"] {
|
|
1654
|
-
border-color: var(--color-dropdown-border-negative, var(--dropdown-border-negative));
|
|
1655
|
-
background-color: var(--color-dropdown-surface-negative, var(--dropdown-surface-negative));
|
|
1656
|
-
}
|
|
1657
|
-
.IncodeDropdownComposedTrigger[data-error="true"][data-focused="true"] {
|
|
1654
|
+
.IncodeDropdownComposedTrigger[data-error="true"], .IncodeDropdownComposedTrigger[data-error="true"][data-focused="true"] {
|
|
1658
1655
|
border-style: var(--tw-border-style);
|
|
1659
1656
|
border-width: 2px;
|
|
1660
1657
|
border-color: var(--color-dropdown-border-negative, var(--dropdown-border-negative));
|
|
@@ -4027,7 +4024,6 @@
|
|
|
4027
4024
|
flex-direction: column;
|
|
4028
4025
|
flex: 1;
|
|
4029
4026
|
display: flex;
|
|
4030
|
-
overflow-y: auto;
|
|
4031
4027
|
}
|
|
4032
4028
|
@media (min-width: 48rem) {
|
|
4033
4029
|
.IncodePageContainer .IncodePageInner {
|
|
@@ -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,13 +13,13 @@ 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
|
-
var S = ({ curp: t,
|
|
22
|
-
let { t:
|
|
21
|
+
var S = ({ curp: t, errorKey: n, onCurpChange: i, onCurpBlur: a, onVerify: s, onSwitchToGenerate: c, disabled: u = !1, placeholder: d, continueLabel: p, dontHaveLabel: m }) => {
|
|
22
|
+
let { t: h } = e(), g = d ?? h("curp.placeholder.curp") ?? "CURP", _ = p ?? h("curp.continue") ?? "Continue", v = m ?? h("curp.dontHave") ?? "I don't have my CURP", y = n ? h(n) : void 0, b = t.length === 0 || !!y || u;
|
|
23
23
|
return /* @__PURE__ */ r("div", {
|
|
24
24
|
class: "IncodeCurpValidation IncodeCurpInput",
|
|
25
25
|
children: [
|
|
@@ -30,146 +30,141 @@ var S = ({ curp: t, isValid: n, onCurpChange: i, onVerify: a, onSwitchToGenerate
|
|
|
30
30
|
let t = e.target;
|
|
31
31
|
i(t.value.toUpperCase());
|
|
32
32
|
},
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
onBlur: a,
|
|
34
|
+
placeholder: g,
|
|
35
|
+
disabled: u,
|
|
35
36
|
required: !0,
|
|
36
37
|
maxLength: 18,
|
|
37
|
-
"aria-label":
|
|
38
|
+
"aria-label": h("curp.placeholder.curp") ?? "CURP",
|
|
39
|
+
error: y,
|
|
40
|
+
showErrorIcon: !!y
|
|
38
41
|
}),
|
|
39
42
|
/* @__PURE__ */ r(o, {}),
|
|
40
43
|
/* @__PURE__ */ r(l, {
|
|
41
44
|
type: "button",
|
|
42
|
-
onClick:
|
|
43
|
-
disabled:
|
|
45
|
+
onClick: s,
|
|
46
|
+
disabled: b,
|
|
44
47
|
"data-testid": "curp-verify",
|
|
45
|
-
children:
|
|
48
|
+
children: _
|
|
46
49
|
}),
|
|
47
50
|
/* @__PURE__ */ r(l, {
|
|
48
51
|
type: "button",
|
|
49
52
|
variant: "secondary",
|
|
50
|
-
onClick:
|
|
51
|
-
disabled:
|
|
53
|
+
onClick: c,
|
|
54
|
+
disabled: u,
|
|
52
55
|
"data-testid": "curp-switch-to-generate",
|
|
53
|
-
children:
|
|
56
|
+
children: v
|
|
54
57
|
})
|
|
55
58
|
]
|
|
56
59
|
});
|
|
57
|
-
}, C = ({ form: t,
|
|
58
|
-
let { t:
|
|
59
|
-
firstName:
|
|
60
|
-
firstLast:
|
|
61
|
-
secondLast:
|
|
62
|
-
gender:
|
|
63
|
-
genderPlaceholder:
|
|
64
|
-
male:
|
|
65
|
-
female:
|
|
66
|
-
other:
|
|
67
|
-
dob:
|
|
68
|
-
birthState:
|
|
69
|
-
statePlaceholder:
|
|
70
|
-
generate:
|
|
71
|
-
...
|
|
72
|
-
},
|
|
73
|
-
let t = _(v, b[e]);
|
|
74
|
-
return t ? d(`forms.label.${t}`) : void 0;
|
|
75
|
-
}, C = (e) => (t) => {
|
|
60
|
+
}, C = ({ form: t, validationErrors: i, onFormChange: a, onValidateField: s, onGenerate: c, disabled: u = !1, labels: d }) => {
|
|
61
|
+
let { t: h } = e(), v = {
|
|
62
|
+
firstName: h("curp.labels.firstName") ?? "Your First name",
|
|
63
|
+
firstLast: h("curp.labels.firstLast") ?? "Your First last name",
|
|
64
|
+
secondLast: h("curp.labels.secondLast") ?? "Your Second last name",
|
|
65
|
+
gender: h("curp.labels.genderV2") ?? "Gender",
|
|
66
|
+
genderPlaceholder: h("curp.placeholder.gender") ?? "Choose gender",
|
|
67
|
+
male: h("curp.labels.maleV2") ?? "Male",
|
|
68
|
+
female: h("curp.labels.femaleV2") ?? "Female",
|
|
69
|
+
other: h("curp.labels.other") ?? "Other",
|
|
70
|
+
dob: h("curp.labels.dob") ?? "Date of birth",
|
|
71
|
+
birthState: h("curp.labels.birthState") ?? "State of birth",
|
|
72
|
+
statePlaceholder: h("curp.placeholder.state") ?? "Select state",
|
|
73
|
+
generate: h("curp.generateCta") ?? "Generate CURP",
|
|
74
|
+
...d
|
|
75
|
+
}, b = n(() => g(y.map((e) => e.required)), []), S = !!i && Object.keys(i).length > 0, C = (e) => (t) => {
|
|
76
76
|
let n = t.target;
|
|
77
77
|
a({ [e]: n.value });
|
|
78
|
-
}, w =
|
|
78
|
+
}, w = (e) => () => {
|
|
79
|
+
s(e);
|
|
80
|
+
}, T = [
|
|
79
81
|
{
|
|
80
82
|
value: "H",
|
|
81
|
-
label:
|
|
83
|
+
label: v.male
|
|
82
84
|
},
|
|
83
85
|
{
|
|
84
86
|
value: "M",
|
|
85
|
-
label:
|
|
87
|
+
label: v.female
|
|
86
88
|
},
|
|
87
89
|
{
|
|
88
90
|
value: "X",
|
|
89
|
-
label:
|
|
91
|
+
label: v.other
|
|
90
92
|
}
|
|
91
|
-
],
|
|
93
|
+
], E = x.map((e) => ({
|
|
92
94
|
value: e.value,
|
|
93
95
|
label: e.label
|
|
94
|
-
}))
|
|
96
|
+
})), D = (e) => {
|
|
97
|
+
switch (e) {
|
|
98
|
+
case "name": return v.firstName;
|
|
99
|
+
case "firstLastName": return v.firstLast;
|
|
100
|
+
case "secondLastName": return v.secondLast;
|
|
101
|
+
case "gender": return v.gender;
|
|
102
|
+
case "birthDate": return v.dob;
|
|
103
|
+
case "birthState": return v.birthState;
|
|
104
|
+
}
|
|
105
|
+
};
|
|
95
106
|
return /* @__PURE__ */ r("div", {
|
|
96
107
|
class: "IncodeCurpValidation IncodeGenerateCurpForm",
|
|
97
108
|
children: [
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
disabled: c,
|
|
150
|
-
required: b.birthDate,
|
|
151
|
-
"data-testid": "curp-birth-date"
|
|
152
|
-
}),
|
|
153
|
-
/* @__PURE__ */ r(p, {
|
|
154
|
-
id: "curp-birth-state",
|
|
155
|
-
label: h.birthState,
|
|
156
|
-
labelHint: S("birthState"),
|
|
157
|
-
placeholder: h.statePlaceholder,
|
|
158
|
-
value: t.birthState,
|
|
159
|
-
options: T,
|
|
160
|
-
disabled: c,
|
|
161
|
-
required: b.birthState,
|
|
162
|
-
onChange: (e) => a({ birthState: e }),
|
|
163
|
-
"data-testid": "curp-birth-state",
|
|
164
|
-
searchable: !0
|
|
109
|
+
y.map((e) => {
|
|
110
|
+
let n = _(b, e.required), o = n ? h(`forms.label.${n}`) ?? void 0 : void 0, s = i?.[e.key], c = s ? h(s) ?? void 0 : void 0, l = D(e.key);
|
|
111
|
+
if (e.type === "dropdown") {
|
|
112
|
+
let n = e.key === "gender" ? T : E, i = e.key === "gender" ? v.genderPlaceholder : v.statePlaceholder;
|
|
113
|
+
return /* @__PURE__ */ r(p, {
|
|
114
|
+
id: `curp-${e.key === "birthState" ? "birth-state" : "gender"}`,
|
|
115
|
+
label: l,
|
|
116
|
+
labelHint: o,
|
|
117
|
+
placeholder: i,
|
|
118
|
+
value: t[e.key],
|
|
119
|
+
options: n,
|
|
120
|
+
disabled: u,
|
|
121
|
+
required: e.required,
|
|
122
|
+
onChange: (t) => {
|
|
123
|
+
e.key === "gender" ? a({ gender: t }) : a({ [e.key]: t });
|
|
124
|
+
},
|
|
125
|
+
onBlur: w(e.key),
|
|
126
|
+
error: c,
|
|
127
|
+
showErrorIcon: !!c,
|
|
128
|
+
"data-testid": e.key === "gender" ? "curp-gender" : "curp-birth-state",
|
|
129
|
+
...e.key === "birthState" ? { searchable: !0 } : {}
|
|
130
|
+
}, e.key);
|
|
131
|
+
}
|
|
132
|
+
return e.type === "date" ? /* @__PURE__ */ r(m, {
|
|
133
|
+
id: "curp-birth-date",
|
|
134
|
+
label: l,
|
|
135
|
+
labelHint: o,
|
|
136
|
+
value: t.birthDate,
|
|
137
|
+
onInput: C("birthDate"),
|
|
138
|
+
onBlur: w("birthDate"),
|
|
139
|
+
max: (/* @__PURE__ */ new Date()).toISOString().split("T")[0],
|
|
140
|
+
placeholder: h("curp.placeholder.dob") ?? "mm/dd/yyyy",
|
|
141
|
+
disabled: u,
|
|
142
|
+
required: e.required,
|
|
143
|
+
error: c,
|
|
144
|
+
showErrorIcon: !!c,
|
|
145
|
+
"data-testid": "curp-birth-date"
|
|
146
|
+
}, e.key) : /* @__PURE__ */ r(f, {
|
|
147
|
+
id: e.key === "name" ? "curp-first-name" : e.key === "firstLastName" ? "curp-first-last" : "curp-second-last",
|
|
148
|
+
label: l,
|
|
149
|
+
labelHint: o,
|
|
150
|
+
value: t[e.key],
|
|
151
|
+
onInput: C(e.key),
|
|
152
|
+
onBlur: w(e.key),
|
|
153
|
+
placeholder: l,
|
|
154
|
+
disabled: u,
|
|
155
|
+
required: e.required,
|
|
156
|
+
error: c,
|
|
157
|
+
showErrorIcon: !!c,
|
|
158
|
+
...e.autoComplete ? { autoComplete: e.autoComplete } : {}
|
|
159
|
+
}, e.key);
|
|
165
160
|
}),
|
|
166
161
|
/* @__PURE__ */ r(o, { size: 16 }),
|
|
167
162
|
/* @__PURE__ */ r(l, {
|
|
168
163
|
type: "button",
|
|
169
|
-
onClick:
|
|
170
|
-
disabled:
|
|
164
|
+
onClick: c,
|
|
165
|
+
disabled: S || u,
|
|
171
166
|
"data-testid": "curp-generate",
|
|
172
|
-
children:
|
|
167
|
+
children: v.generate
|
|
173
168
|
})
|
|
174
169
|
]
|
|
175
170
|
});
|
|
@@ -184,8 +179,9 @@ var S = ({ curp: t, isValid: n, onCurpChange: i, onVerify: a, onSwitchToGenerate
|
|
|
184
179
|
title: m("curp.enterCurp") ?? "Enter your CURP",
|
|
185
180
|
children: /* @__PURE__ */ r(S, {
|
|
186
181
|
curp: h.curp,
|
|
187
|
-
|
|
182
|
+
errorKey: h.validationErrors?.curp,
|
|
188
183
|
onCurpChange: (e) => g.setCurp(e),
|
|
184
|
+
onCurpBlur: () => g.validateField("curp"),
|
|
189
185
|
onVerify: () => g.verify(),
|
|
190
186
|
onSwitchToGenerate: () => g.switchToGenerate(),
|
|
191
187
|
placeholder: m("curp.placeholder.curp") ?? "CURP",
|
|
@@ -199,8 +195,9 @@ var S = ({ curp: t, isValid: n, onCurpChange: i, onVerify: a, onSwitchToGenerate
|
|
|
199
195
|
hideFooterBranding: !0,
|
|
200
196
|
children: /* @__PURE__ */ r(C, {
|
|
201
197
|
form: h.form,
|
|
202
|
-
|
|
198
|
+
validationErrors: h.validationErrors,
|
|
203
199
|
onFormChange: (e) => g.setGenerateForm(e),
|
|
200
|
+
onValidateField: (e) => g.validateField(e),
|
|
204
201
|
onGenerate: () => g.generate()
|
|
205
202
|
})
|
|
206
203
|
});
|
|
@@ -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
|
}
|