@incodetech/web 0.0.0-dev-20260508-9f627e9 → 0.0.0-dev-20260508-a05aa65
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 +60 -2
- package/dist/consent/consent.es.js +7 -7
- package/dist/countrySelector-B_dpv3Ku.js +58 -0
- package/dist/{cpfOcr-BYlfZY40.js → cpfOcr-BzoRvWuh.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 +10 -10
- package/dist/{customFields-BraeAxZp.js → customFields-DMNKnPeF.js} +6 -6
- package/dist/{customWatchlist-CFFQpv_v.js → customWatchlist-BT1PQfoG.js} +4 -4
- package/dist/dateInputComposed-BpAGsjN6.js +55 -0
- package/dist/dateInputComposed-DU3o6PAV.js +1 -0
- package/dist/{documentCapture-DPlR8XwV.js → documentCapture-C2ShzJz0.js} +6 -6
- package/dist/dropdownComposed-DwTzc2YU.js +1 -0
- package/dist/{dynamicForms-iowHKj2D.js → dynamicForms-BskEgMp6.js} +9 -9
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/ekybModule-B7UFEkEF.js +2 -0
- package/dist/{ekybModule-BFOWbi7v.js → ekybModule-C-ai_jbO.js} +51 -40
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/{ekycModule-BPi7gpEg.js → ekycModule-D8hE3f2j.js} +11 -11
- package/dist/ekycModule-DiBt3eF8.js +2 -0
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-Cio3QpBY.js → electronic-signature-BeiUCIMV.js} +6 -6
- package/dist/email/email.es.js +5 -5
- package/dist/{emailInput-1AO-Fmsw.js → emailInput-DVWYLpWZ.js} +2 -2
- package/dist/{extensibility-CL6pOTDM.js → extensibility-DLD2ewgY.js} +465 -154
- package/dist/extensibility.es.js +15 -15
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/face-match/styles.css +9 -0
- package/dist/{faceMatch-BtHZNJ0A.js → faceMatch-B6hGcl2-.js} +5 -5
- package/dist/faceMatch-Dh01E8Zv.js +2 -0
- package/dist/flow/flow.es.js +6 -6
- package/dist/flow/styles.css +11 -0
- package/dist/{formField-DHnOQD0l.js → formField-BkU7EVsS.js} +1 -1
- package/dist/geolocation/geolocation.es.js +4 -4
- package/dist/governmentValidation/governmentValidation.es.js +5 -5
- package/dist/{homeScreen-CmsrGndM.js → homeScreen-DprCAAmv.js} +3 -3
- package/dist/{i18n-D6pCC7RL.js → i18n-BnVa5Y-_.js} +1 -1
- package/dist/id/id.es.js +10 -10
- package/dist/{idOcr-DQtsITAI.js → idOcr-jPSf8Tqv.js} +31 -30
- package/dist/identity-reuse/identity-reuse.es.js +3 -3
- package/dist/{incodeComponent-BRtpx7iO.js → incodeComponent-9ZUPvQgC.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/inputComposed-XYrarFxS.js +1 -0
- package/dist/{mandatoryConsent-CCXO_vxQ.js → mandatoryConsent-BVUiGOKK.js} +6 -6
- package/dist/{optionAccessibleLabel-D-791Qve.js → optionAccessibleLabel-BNqnKbwB.js} +3 -3
- package/dist/{otpInput-S08V9UR2.js → otpInput-CLo5__yb.js} +2 -1
- package/dist/{pdf-DL0w_-nc.js → pdf-BK9eYHAw.js} +1 -1
- package/dist/phone/phone.es.js +6 -6
- package/dist/{phoneInputComposed-Dl4rnkJh.js → phoneInputComposed-bvWhGLFZ.js} +1 -1
- package/dist/{processing-Byt0PHxP.js → processing-c8ep-KSh.js} +1 -1
- package/dist/qe-signature/qe-signature.es.js +2 -2
- package/dist/{redirectToMobile-CDqR2ADA.js → redirectToMobile-Cg-BpzrT.js} +8 -8
- package/dist/{richText-oCMMhPa2.js → richText-gJTUJEMX.js} +1 -1
- package/dist/selfie/selfie.es.js +6 -6
- package/dist/selfie/styles.css +9 -0
- package/dist/signature/signature.es.js +6 -6
- package/dist/{transitionSpinner-DHelnP9m.js → transitionSpinner-av72n-l1.js} +1 -1
- package/dist/{tutorial-CpB1q1y3.js → tutorial-BvRU4P4P.js} +5 -5
- package/dist/types/extensibility.d.ts +8 -0
- package/dist/{useModuleLoader-DR_UitYZ.js → useModuleLoader-Ba3tFoor.js} +15 -15
- package/dist/{verificationResult-Boi07OiG.js → verificationResult-9weGpvn5.js} +1 -1
- package/dist/watchlist/watchlist.es.js +4 -4
- package/dist/watchlist-for-business/styles.css +2 -0
- package/dist/{watchlistForBusiness-k2IqUCN_.js → watchlistForBusiness-CmUsOcQQ.js} +9 -6
- package/dist/workflow/styles.css +9 -0
- package/dist/workflow/workflow.es.js +7 -7
- package/package.json +2 -2
- package/dist/countrySelector-CoffOdbC.js +0 -52
- package/dist/dropdownComposed-BvVIyMBo.js +0 -1
- package/dist/ekybModule-VFeaId2k.js +0 -2
- package/dist/ekycModule-DvRBzbaa.js +0 -2
- package/dist/faceMatch-Drzy4xup.js +0 -2
- package/dist/segmentedDateInput-DIZb0ruK.js +0 -348
- package/dist/segmentedDateInput-DI_bDhHG.js +0 -1
- /package/dist/{aligndevicelottie-Dfs3Ku2-.js → aligndevicelottie-CpAPbotJ.js} +0 -0
- /package/dist/{autoFocusTitle-CZoNkxcF.js → autoFocusTitle-C01okScG.js} +0 -0
- /package/dist/{back-horizontal-hint-Cch8dR2s.js → back-horizontal-hint-C_wAUpW0.js} +0 -0
- /package/dist/{back-tutorial-DCeMC-YK.js → back-tutorial-H9SCe0gx.js} +0 -0
- /package/dist/{back-vertical-hint-Dzn5uXKH.js → back-vertical-hint-C9xK0aN8.js} +0 -0
- /package/dist/{backdevicelottie-B4ve1L_u.js → backdevicelottie-Dx1dP2K0.js} +0 -0
- /package/dist/{blurdevicelottie-DIQrsw9H.js → blurdevicelottie-DCVb3_MF.js} +0 -0
- /package/dist/{bottomSheet-DE_8TFEC.js → bottomSheet-CLMmiBQS.js} +0 -0
- /package/dist/{browser-ponyfill-Dqca0y49.js → browser-ponyfill-Dxc09_1M.js} +0 -0
- /package/dist/{checkbox-CfusZiOJ.js → checkbox-Cl57ltq_.js} +0 -0
- /package/dist/{defineProperty-CplHoz4_.js → defineProperty-CqT6YdHJ.js} +0 -0
- /package/dist/{dropdownComposed-Cmj-HO0i.js → dropdownComposed-DFRBG22E.js} +0 -0
- /package/dist/{flip-animation-B1zV6oY9.js → flip-animation-CviBXTS-.js} +0 -0
- /package/dist/{front-horizontal-hint-CNu99K_l.js → front-horizontal-hint-SvDdygvL.js} +0 -0
- /package/dist/{front-vertical-hint-CpQjOGpU.js → front-vertical-hint-vIniWZ_9.js} +0 -0
- /package/dist/{frontdevicelottie-D3Gw7Qab.js → frontdevicelottie-6sxr3oQH.js} +0 -0
- /package/dist/{glaredevicelottie-BPRxXRbG.js → glaredevicelottie--PlYPjZt.js} +0 -0
- /package/dist/{id-laser-h-BUV5ROmy.js → id-laser-h-D0KN9qFd.js} +0 -0
- /package/dist/{id-laser-v-DzsdfzVM.js → id-laser-v-BLY6XMRK.js} +0 -0
- /package/dist/{id-tutorial-B2d6DkZv.js → id-tutorial-Dnuu_ZUb.js} +0 -0
- /package/dist/{incodeModule-grHfB1zI.js → incodeModule-D_r2n18O.js} +0 -0
- /package/dist/{numberedStep-CT-alrK5.js → numberedStep-CR4w_BpM.js} +0 -0
- /package/dist/{passport-horizontal-hint-WqdYMc9Y.js → passport-horizontal-hint-Bxb4tVrA.js} +0 -0
- /package/dist/{passport-tutorial-DYBRCYAN.js → passport-tutorial-CFp2zeDJ.js} +0 -0
- /package/dist/{passport-vertical-hint-rNP6GykM.js → passport-vertical-hint-D6hgaXKT.js} +0 -0
- /package/dist/{radioGroupComposed-CEw7kuBy.js → radioGroupComposed-B74fc1L3.js} +0 -0
- /package/dist/{requiredLabelHint-DF0yOi3G.js → requiredLabelHint-J9rEJWcF.js} +0 -0
- /package/dist/{selfieTutorial-CMc0HW_O.js → selfieTutorial-1QMt37Us.js} +0 -0
- /package/dist/{snackbar-B3hIVhgk.js → snackbar-BVeXpux9.js} +0 -0
- /package/dist/{statusPage-DXmurxxX.js → statusPage-BvmC0O1t.js} +0 -0
- /package/dist/{tabs-D-xvkepW.js → tabs-MPYTnMQG.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-BeiUCIMV.js";
|
|
3
|
+
import { t as n } from "../incodeModule-D_r2n18O.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-9ZUPvQgC.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-D_r2n18O.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-9ZUPvQgC.js";
|
|
4
|
+
import { n as r, r as i, t as a } from "../tutorial-BvRU4P4P.js";
|
|
5
|
+
import { t as o } from "../incodeModule-D_r2n18O.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
|
@@ -109,6 +109,10 @@
|
|
|
109
109
|
visibility: visible !important;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
+
.invisible {
|
|
113
|
+
visibility: hidden;
|
|
114
|
+
}
|
|
115
|
+
|
|
112
116
|
.visible {
|
|
113
117
|
visibility: visible;
|
|
114
118
|
}
|
|
@@ -484,6 +488,11 @@
|
|
|
484
488
|
font-weight: var(--typography-button-m-underlined-weight);
|
|
485
489
|
line-height: var(--typography-button-m-underlined-line-height);
|
|
486
490
|
letter-spacing: var(--typography-button-m-underlined-letter-spacing);
|
|
491
|
+
font-family: var(--typography-button-family);
|
|
492
|
+
font-size: var(--typography-button-m-underlined-size);
|
|
493
|
+
font-weight: var(--typography-button-m-underlined-weight);
|
|
494
|
+
line-height: var(--typography-button-m-underlined-line-height);
|
|
495
|
+
letter-spacing: var(--typography-button-m-underlined-letter-spacing);
|
|
487
496
|
text-decoration-line: underline;
|
|
488
497
|
text-decoration-style: solid;
|
|
489
498
|
text-decoration-thickness: auto;
|
|
@@ -502,6 +511,11 @@
|
|
|
502
511
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
503
512
|
}
|
|
504
513
|
|
|
514
|
+
.ring {
|
|
515
|
+
--tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
516
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
517
|
+
}
|
|
518
|
+
|
|
505
519
|
.outline {
|
|
506
520
|
outline-style: var(--tw-outline-style);
|
|
507
521
|
outline-width: 1px;
|
|
@@ -1313,10 +1327,11 @@
|
|
|
1313
1327
|
outline-width: 2px;
|
|
1314
1328
|
outline-color: var(--color-input-border-focused, var(--input-border-focused));
|
|
1315
1329
|
}
|
|
1316
|
-
.IncodeDateInputComposedIconButton:hover:not(
|
|
1330
|
+
.IncodeDateInputComposedIconButton:hover:not([data-disabled="true"]) {
|
|
1317
1331
|
opacity: .8;
|
|
1318
1332
|
}
|
|
1319
|
-
.IncodeDateInputComposedIconButton
|
|
1333
|
+
.IncodeDateInputComposedIconButton[data-disabled="true"] {
|
|
1334
|
+
pointer-events: none;
|
|
1320
1335
|
cursor: not-allowed;
|
|
1321
1336
|
opacity: .5;
|
|
1322
1337
|
}
|
|
@@ -1838,6 +1853,10 @@
|
|
|
1838
1853
|
font-family: inherit;
|
|
1839
1854
|
display: inline-block;
|
|
1840
1855
|
}
|
|
1856
|
+
.IncodeCountrySelector {
|
|
1857
|
+
width: 100%;
|
|
1858
|
+
max-width: 420px;
|
|
1859
|
+
}
|
|
1841
1860
|
.IncodePhoneInputComposed {
|
|
1842
1861
|
width: 100%;
|
|
1843
1862
|
max-width: 420px;
|
|
@@ -3872,6 +3891,45 @@
|
|
|
3872
3891
|
}
|
|
3873
3892
|
}
|
|
3874
3893
|
}
|
|
3894
|
+
@media (min-width: 40rem) {
|
|
3895
|
+
.IncodePageContainer .IncodePageInner {
|
|
3896
|
+
max-width: 40rem;
|
|
3897
|
+
}
|
|
3898
|
+
}
|
|
3899
|
+
@media (min-width: 48rem) {
|
|
3900
|
+
.IncodePageContainer .IncodePageInner {
|
|
3901
|
+
max-width: 48rem;
|
|
3902
|
+
}
|
|
3903
|
+
}
|
|
3904
|
+
@media (min-width: 64rem) {
|
|
3905
|
+
.IncodePageContainer .IncodePageInner {
|
|
3906
|
+
max-width: 64rem;
|
|
3907
|
+
}
|
|
3908
|
+
}
|
|
3909
|
+
@media (min-width: 80rem) {
|
|
3910
|
+
.IncodePageContainer .IncodePageInner {
|
|
3911
|
+
max-width: 80rem;
|
|
3912
|
+
}
|
|
3913
|
+
}
|
|
3914
|
+
@media (min-width: 96rem) {
|
|
3915
|
+
.IncodePageContainer .IncodePageInner {
|
|
3916
|
+
max-width: 96rem;
|
|
3917
|
+
}
|
|
3918
|
+
}
|
|
3919
|
+
@media (min-width: 48rem) {
|
|
3920
|
+
.IncodePageContainer .IncodePageInner {
|
|
3921
|
+
max-height: var(--incode-page-max-h);
|
|
3922
|
+
max-width: var(--incode-page-max-w);
|
|
3923
|
+
}
|
|
3924
|
+
|
|
3925
|
+
@media not all and (min-width: 80rem) {
|
|
3926
|
+
@media (orientation: landscape) {
|
|
3927
|
+
.IncodePageContainer .IncodePageInner {
|
|
3928
|
+
max-height: var(--incode-page-max-h-landscape);
|
|
3929
|
+
}
|
|
3930
|
+
}
|
|
3931
|
+
}
|
|
3932
|
+
}
|
|
3875
3933
|
.IncodePageContainer .IncodePageInner {
|
|
3876
3934
|
width: 100%;
|
|
3877
3935
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { n as e } from "../i18n-
|
|
1
|
+
import { n as e } from "../i18n-BnVa5Y-_.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-9ZUPvQgC.js";
|
|
5
5
|
import { t as s } from "../page-DCsXSlHl.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-av72n-l1.js";
|
|
8
8
|
import { t as u } from "../button-DcCUEn2n.js";
|
|
9
|
-
import { t as d } from "../checkbox-
|
|
10
|
-
import { t as f } from "../incodeModule-
|
|
11
|
-
import { t as p } from "../richText-
|
|
12
|
-
import { n as m, t as h } from "../requiredLabelHint-
|
|
9
|
+
import { t as d } from "../checkbox-Cl57ltq_.js";
|
|
10
|
+
import { t as f } from "../incodeModule-D_r2n18O.js";
|
|
11
|
+
import { t as p } from "../richText-gJTUJEMX.js";
|
|
12
|
+
import { n as m, t as h } from "../requiredLabelHint-J9rEJWcF.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 }) => {
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { n as e } from "./i18n-BnVa5Y-_.js";
|
|
2
|
+
import { d as t, v as n } from "./vendor-preact-D6SntenC.js";
|
|
3
|
+
import { t as r } from "./dropdownComposed-DFRBG22E.js";
|
|
4
|
+
//#region src/shared/countrySelector/countrySelector.tsx
|
|
5
|
+
var i = [
|
|
6
|
+
"BR",
|
|
7
|
+
"CN",
|
|
8
|
+
"FR",
|
|
9
|
+
"DE",
|
|
10
|
+
"IL",
|
|
11
|
+
"IT",
|
|
12
|
+
"MX",
|
|
13
|
+
"ES",
|
|
14
|
+
"GB",
|
|
15
|
+
"US"
|
|
16
|
+
], a = [
|
|
17
|
+
"CM",
|
|
18
|
+
"KE",
|
|
19
|
+
"NG"
|
|
20
|
+
];
|
|
21
|
+
function o(e) {
|
|
22
|
+
return [...e.toUpperCase()].map((e) => String.fromCodePoint(127462 + e.charCodeAt(0) - 65)).join("");
|
|
23
|
+
}
|
|
24
|
+
function s() {
|
|
25
|
+
if (typeof window > "u") return !1;
|
|
26
|
+
let { hostname: e } = window.location;
|
|
27
|
+
return e === "localhost" || e.includes("stage") || e.includes("demo");
|
|
28
|
+
}
|
|
29
|
+
var c = ({ value: c, onChange: l, label: u, id: d = "country-selector", countryCodes: f = i, devOnlyCountryCodes: p = a, "data-testid": m }) => {
|
|
30
|
+
let { i18n: h } = e(), g = h.language || "en";
|
|
31
|
+
return /* @__PURE__ */ n("div", {
|
|
32
|
+
class: "IncodeCountrySelector",
|
|
33
|
+
children: /* @__PURE__ */ n(r, {
|
|
34
|
+
id: d,
|
|
35
|
+
label: u,
|
|
36
|
+
value: c,
|
|
37
|
+
options: t(() => {
|
|
38
|
+
let e = new Intl.DisplayNames([g, "en"], { type: "region" });
|
|
39
|
+
return (s() ? [...f, ...p] : [...f]).map((t) => {
|
|
40
|
+
let n = e.of(t) ?? t;
|
|
41
|
+
return {
|
|
42
|
+
value: t,
|
|
43
|
+
label: `${o(t)} ${n}`,
|
|
44
|
+
ariaLabel: n
|
|
45
|
+
};
|
|
46
|
+
}).sort((e, t) => e.label.localeCompare(t.label, g));
|
|
47
|
+
}, [
|
|
48
|
+
f,
|
|
49
|
+
p,
|
|
50
|
+
g
|
|
51
|
+
]),
|
|
52
|
+
onChange: l,
|
|
53
|
+
"data-testid": m
|
|
54
|
+
})
|
|
55
|
+
});
|
|
56
|
+
};
|
|
57
|
+
//#endregion
|
|
58
|
+
export { c as t };
|
|
@@ -5,7 +5,7 @@ import { t as a } from "./page-DCsXSlHl.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-9weGpvn5.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-9ZUPvQgC.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-D_r2n18O.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,21 +1,21 @@
|
|
|
1
|
-
import { n as e } from "../i18n-
|
|
1
|
+
import { n as e } from "../i18n-BnVa5Y-_.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-9ZUPvQgC.js";
|
|
5
5
|
import { r as o } from "../loadingIcon-BN5YRQUb.js";
|
|
6
6
|
import { t as s } from "../page-DCsXSlHl.js";
|
|
7
|
-
import { t as c } from "../transitionSpinner-
|
|
7
|
+
import { t as c } from "../transitionSpinner-av72n-l1.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";
|
|
11
11
|
import { t as f } from "../inputComposed-APSw8C7o.js";
|
|
12
|
-
import { t as p } from "../dropdownComposed-
|
|
13
|
-
import "../dropdownComposed-
|
|
14
|
-
import { t as m } from "../
|
|
15
|
-
import "../
|
|
16
|
-
import { t as h } from "../incodeModule-
|
|
17
|
-
import { n as g, t as _ } from "../requiredLabelHint-
|
|
18
|
-
import { t as v } from "../autoFocusTitle-
|
|
12
|
+
import { t as p } from "../dropdownComposed-DFRBG22E.js";
|
|
13
|
+
import "../dropdownComposed-DwTzc2YU.js";
|
|
14
|
+
import { t as m } from "../dateInputComposed-BpAGsjN6.js";
|
|
15
|
+
import "../dateInputComposed-DU3o6PAV.js";
|
|
16
|
+
import { t as h } from "../incodeModule-D_r2n18O.js";
|
|
17
|
+
import { n as g, t as _ } from "../requiredLabelHint-J9rEJWcF.js";
|
|
18
|
+
import { t as v } from "../autoFocusTitle-C01okScG.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,16 +1,16 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
1
|
+
import { n as e } from "./i18n-BnVa5Y-_.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-9ZUPvQgC.js";
|
|
5
5
|
import { r as s, t as c } from "./loadingIcon-BN5YRQUb.js";
|
|
6
6
|
import { t as l } from "./page-DCsXSlHl.js";
|
|
7
7
|
import { t as u } from "./button-DcCUEn2n.js";
|
|
8
8
|
import { t as d } from "./successIcon-DbILeIz_.js";
|
|
9
9
|
import { t as f } from "./inputComposed-APSw8C7o.js";
|
|
10
|
-
import { t as p } from "./checkbox-
|
|
11
|
-
import { t as m } from "./
|
|
12
|
-
import { t as h } from "./incodeModule-
|
|
13
|
-
import { t as g } from "./statusPage-
|
|
10
|
+
import { t as p } from "./checkbox-Cl57ltq_.js";
|
|
11
|
+
import { t as m } from "./dateInputComposed-BpAGsjN6.js";
|
|
12
|
+
import { t as h } from "./incodeModule-D_r2n18O.js";
|
|
13
|
+
import { t as g } from "./statusPage-BvmC0O1t.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-BnVa5Y-_.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-9ZUPvQgC.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-D_r2n18O.js";
|
|
8
|
+
import { t as l } from "./statusPage-BvmC0O1t.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 }) => {
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { a as e, v as t } from "./vendor-preact-D6SntenC.js";
|
|
2
|
+
import { n } from "./loadingIcon-BN5YRQUb.js";
|
|
3
|
+
import { m as r } from "./icons-Cc7zwchP.js";
|
|
4
|
+
import { t as i } from "./inputComposed-APSw8C7o.js";
|
|
5
|
+
import "./inputComposed-XYrarFxS.js";
|
|
6
|
+
//#region src/shared/dateInputComposed/dateInputComposed.tsx
|
|
7
|
+
var a = e(({ id: e, label: a, disabled: o, class: s, ...c }, l) => {
|
|
8
|
+
let u = (e) => {
|
|
9
|
+
if (!e || !("showPicker" in HTMLInputElement.prototype)) return !1;
|
|
10
|
+
try {
|
|
11
|
+
return e.showPicker(), !0;
|
|
12
|
+
} catch {
|
|
13
|
+
return !1;
|
|
14
|
+
}
|
|
15
|
+
}, d = (e) => {
|
|
16
|
+
if (o) {
|
|
17
|
+
e.preventDefault();
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
let t = e.currentTarget.control;
|
|
21
|
+
u(t);
|
|
22
|
+
}, f = (e) => {
|
|
23
|
+
if (o || e.key !== "Enter" && e.key !== " ") return;
|
|
24
|
+
e.preventDefault();
|
|
25
|
+
let t = e.currentTarget.control;
|
|
26
|
+
!u(t) && t && t.click();
|
|
27
|
+
};
|
|
28
|
+
return /* @__PURE__ */ t(i, {
|
|
29
|
+
ref: l,
|
|
30
|
+
id: e,
|
|
31
|
+
type: "date",
|
|
32
|
+
label: a,
|
|
33
|
+
disabled: o,
|
|
34
|
+
class: n("IncodeDateInputComposed", s),
|
|
35
|
+
rightIcon: /* @__PURE__ */ t("label", {
|
|
36
|
+
htmlFor: e,
|
|
37
|
+
class: "IncodeDateInputComposedIconButton",
|
|
38
|
+
role: "button",
|
|
39
|
+
"aria-label": "Open date picker",
|
|
40
|
+
"aria-disabled": o ? "true" : void 0,
|
|
41
|
+
tabIndex: o ? -1 : 0,
|
|
42
|
+
"data-disabled": o ? "true" : void 0,
|
|
43
|
+
onClick: d,
|
|
44
|
+
onKeyDown: f,
|
|
45
|
+
children: /* @__PURE__ */ t("span", {
|
|
46
|
+
class: "IncodeDateInputComposedIcon",
|
|
47
|
+
children: /* @__PURE__ */ t(r, {})
|
|
48
|
+
})
|
|
49
|
+
}),
|
|
50
|
+
...c
|
|
51
|
+
});
|
|
52
|
+
});
|
|
53
|
+
a.displayName = "DateInputComposed";
|
|
54
|
+
//#endregion
|
|
55
|
+
export { a as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./dateInputComposed-BpAGsjN6.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
1
|
+
import { n as e } from "./i18n-BnVa5Y-_.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-9ZUPvQgC.js";
|
|
5
5
|
import { n as d, r as f } from "./loadingIcon-BN5YRQUb.js";
|
|
6
6
|
import { t as p } from "./page-DCsXSlHl.js";
|
|
7
|
-
import { c as m, d as h, f as g, l as _, u as v, v as y, y as b } from "./extensibility-
|
|
7
|
+
import { c as m, d as h, f as g, l as _, u as v, v as y, y as b } from "./extensibility-DLD2ewgY.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-BvRU4P4P.js";
|
|
13
|
+
import { t as O } from "./bottomSheet-CLMmiBQS.js";
|
|
14
|
+
import { t as k } from "./incodeModule-D_r2n18O.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) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./dropdownComposed-DFRBG22E.js";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
1
|
+
import { n as e } from "./i18n-BnVa5Y-_.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-9ZUPvQgC.js";
|
|
5
5
|
import { r as s } from "./loadingIcon-BN5YRQUb.js";
|
|
6
6
|
import { t as c } from "./page-DCsXSlHl.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-9weGpvn5.js";
|
|
9
9
|
import { t as d } from "./inputComposed-APSw8C7o.js";
|
|
10
|
-
import { t as f } from "./checkbox-
|
|
11
|
-
import { n as p, t as m } from "./phoneInputComposed-
|
|
12
|
-
import { t as h } from "./dropdownComposed-
|
|
13
|
-
import { t as g } from "./
|
|
14
|
-
import { t as _ } from "./incodeModule-
|
|
15
|
-
import { t as v } from "./emailInput-
|
|
10
|
+
import { t as f } from "./checkbox-Cl57ltq_.js";
|
|
11
|
+
import { n as p, t as m } from "./phoneInputComposed-bvWhGLFZ.js";
|
|
12
|
+
import { t as h } from "./dropdownComposed-DFRBG22E.js";
|
|
13
|
+
import { t as g } from "./dateInputComposed-BpAGsjN6.js";
|
|
14
|
+
import { t as _ } from "./incodeModule-D_r2n18O.js";
|
|
15
|
+
import { t as v } from "./emailInput-DVWYLpWZ.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-C-ai_jbO.js";
|
|
2
2
|
export { e as EkybModule };
|
|
@@ -1,21 +1,32 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
1
|
+
import { n as e } from "./i18n-BnVa5Y-_.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-
|
|
4
|
+
import { t as u } from "./incodeComponent-9ZUPvQgC.js";
|
|
5
5
|
import { t as d } from "./page-DCsXSlHl.js";
|
|
6
6
|
import { t as f } from "./spinner-CKnjVHxw.js";
|
|
7
7
|
import { t as p } from "./button-DcCUEn2n.js";
|
|
8
|
-
import { t as m } from "./verificationResult-
|
|
8
|
+
import { t as m } from "./verificationResult-9weGpvn5.js";
|
|
9
9
|
import { t as h } from "./inputComposed-APSw8C7o.js";
|
|
10
|
-
import { n as g, t as _ } from "./formField-
|
|
11
|
-
import { t as v } from "./dropdownComposed-
|
|
12
|
-
import { t as y } from "./incodeModule-
|
|
13
|
-
import { n as b, t as x } from "./requiredLabelHint-
|
|
14
|
-
import { n as S, t as C } from "./optionAccessibleLabel-
|
|
15
|
-
import { t as w } from "./countrySelector-
|
|
16
|
-
import {
|
|
17
|
-
//#region src/modules/ekyb/
|
|
18
|
-
var
|
|
10
|
+
import { n as g, t as _ } from "./formField-BkU7EVsS.js";
|
|
11
|
+
import { t as v } from "./dropdownComposed-DFRBG22E.js";
|
|
12
|
+
import { t as y } from "./incodeModule-D_r2n18O.js";
|
|
13
|
+
import { n as b, t as x } from "./requiredLabelHint-J9rEJWcF.js";
|
|
14
|
+
import { n as S, t as C } from "./optionAccessibleLabel-BNqnKbwB.js";
|
|
15
|
+
import { t as w } from "./countrySelector-B_dpv3Ku.js";
|
|
16
|
+
import { DEV_ONLY_COUNTRIES as T, SUPPORTED_COUNTRIES as E, computeEkybDisplayErrors as D, createEkybManager as O } from "@incodetech/core/ekyb";
|
|
17
|
+
//#region src/modules/ekyb/countrySelector.tsx
|
|
18
|
+
var k = ({ value: t, onChange: n }) => {
|
|
19
|
+
let { t: r } = e();
|
|
20
|
+
return /* @__PURE__ */ s(w, {
|
|
21
|
+
id: "ekyb-country",
|
|
22
|
+
label: r("ekyb.country"),
|
|
23
|
+
value: t,
|
|
24
|
+
onChange: n,
|
|
25
|
+
countryCodes: E,
|
|
26
|
+
devOnlyCountryCodes: T,
|
|
27
|
+
"data-testid": "ekyb-country-selector"
|
|
28
|
+
});
|
|
29
|
+
}, A = ({ field: t, value: n, error: r, errorParams: i, country: a, labelHint: o, onChange: c, onBlur: l }) => {
|
|
19
30
|
let { t: u } = e();
|
|
20
31
|
return t.type === "dropdown" ? /* @__PURE__ */ s(v, {
|
|
21
32
|
id: `ekyb-${t.name}`,
|
|
@@ -49,7 +60,7 @@ var D = ({ field: t, value: n, error: r, errorParams: i, country: a, labelHint:
|
|
|
49
60
|
onChange: c,
|
|
50
61
|
onBlur: l
|
|
51
62
|
});
|
|
52
|
-
},
|
|
63
|
+
}, j = ({ ubos: t, errors: n, errorParams: r, canAddUbo: i, labelHint: a, onSetField: o, onBlur: c, onAdd: l, onRemove: u }) => {
|
|
53
64
|
let { t: d } = e(), f = (e) => g(d, n[e], r[e]);
|
|
54
65
|
return t.length === 0 ? null : /* @__PURE__ */ s("div", {
|
|
55
66
|
className: "IncodeEkybUbos",
|
|
@@ -101,8 +112,8 @@ var D = ({ field: t, value: n, error: r, errorParams: i, country: a, labelHint:
|
|
|
101
112
|
children: d("ekyb.addAnotherUbo")
|
|
102
113
|
})]
|
|
103
114
|
});
|
|
104
|
-
},
|
|
105
|
-
let { t: i } = e(), [a, o] = l(() =>
|
|
115
|
+
}, M = ({ config: t, onFinish: r }) => {
|
|
116
|
+
let { t: i } = e(), [a, o] = l(() => O({ config: t }));
|
|
106
117
|
return n(() => {
|
|
107
118
|
(a.status === "finished" || a.status === "closed") && r?.();
|
|
108
119
|
}, [a.status, r]), a.status === "finished" || a.status === "closed" ? null : a.status === "loading" ? /* @__PURE__ */ s(m, {
|
|
@@ -118,33 +129,33 @@ var D = ({ field: t, value: n, error: r, errorParams: i, country: a, labelHint:
|
|
|
118
129
|
}) : a.status === "success" ? /* @__PURE__ */ s(m, { status: "success" }) : a.status === "error" ? /* @__PURE__ */ s(m, {
|
|
119
130
|
status: "failure",
|
|
120
131
|
onRetry: () => o.retry()
|
|
121
|
-
}) : a.status === "form" ? /* @__PURE__ */ s(
|
|
132
|
+
}) : a.status === "form" ? /* @__PURE__ */ s(F, {
|
|
122
133
|
state: a,
|
|
123
134
|
manager: o
|
|
124
135
|
}) : null;
|
|
125
|
-
},
|
|
136
|
+
}, N = new Set([
|
|
126
137
|
"street",
|
|
127
138
|
"houseNo",
|
|
128
139
|
"addressLine2",
|
|
129
140
|
"city",
|
|
130
141
|
"state",
|
|
131
142
|
"postalCode"
|
|
132
|
-
]),
|
|
143
|
+
]), P = [
|
|
133
144
|
"street",
|
|
134
145
|
"city",
|
|
135
146
|
"state",
|
|
136
147
|
"postalCode",
|
|
137
148
|
"houseNo"
|
|
138
|
-
],
|
|
139
|
-
let { country: f, fields: m, values: h, errors: g, isValid: _, ubos: v, canAddUbo: y, addressSuggestions: C, submitAttempted:
|
|
149
|
+
], F = ({ state: l, manager: u }) => {
|
|
150
|
+
let { country: f, fields: m, values: h, errors: g, isValid: _, ubos: v, canAddUbo: y, addressSuggestions: C, submitAttempted: w } = l, { t: T } = e(), E = a(null), O = a(null), M = a(void 0), F = c(E, m.length), [I, L] = o({}), R = i((e) => {
|
|
140
151
|
L((t) => t[e] ? t : {
|
|
141
152
|
...t,
|
|
142
153
|
[e]: !0
|
|
143
154
|
});
|
|
144
|
-
}, []), { displayErrors: z, errorParams: B } = r(() =>
|
|
155
|
+
}, []), { displayErrors: z, errorParams: B } = r(() => D(g, I, w, f, m), [
|
|
145
156
|
g,
|
|
146
157
|
I,
|
|
147
|
-
|
|
158
|
+
w,
|
|
148
159
|
f,
|
|
149
160
|
m
|
|
150
161
|
]), V = i((e) => R(e), [R]), H = i((e, t) => {
|
|
@@ -152,7 +163,7 @@ var D = ({ field: t, value: n, error: r, errorParams: i, country: a, labelHint:
|
|
|
152
163
|
}, [u, R]), U = i((e, t, n) => {
|
|
153
164
|
R(`ubo-${e}-${t}`), u.setUboField(e, t, n);
|
|
154
165
|
}, [u, R]), W = i((e) => {
|
|
155
|
-
for (let e of
|
|
166
|
+
for (let e of P) R(e);
|
|
156
167
|
u.selectAddress(e);
|
|
157
168
|
}, [u, R]), G = i((e) => {
|
|
158
169
|
u.removeUbo(e), L((t) => {
|
|
@@ -172,10 +183,10 @@ var D = ({ field: t, value: n, error: r, errorParams: i, country: a, labelHint:
|
|
|
172
183
|
});
|
|
173
184
|
}, [u]);
|
|
174
185
|
n(() => {
|
|
175
|
-
let e = z.postalCode, t =
|
|
176
|
-
if (
|
|
186
|
+
let e = z.postalCode, t = M.current;
|
|
187
|
+
if (M.current = e, !e || t === e) return;
|
|
177
188
|
let n = requestAnimationFrame(() => {
|
|
178
|
-
let e =
|
|
189
|
+
let e = O.current;
|
|
179
190
|
e && (e.querySelector("#postalCode-error") ?? e).scrollIntoView({
|
|
180
191
|
behavior: "smooth",
|
|
181
192
|
block: "nearest"
|
|
@@ -183,22 +194,22 @@ var D = ({ field: t, value: n, error: r, errorParams: i, country: a, labelHint:
|
|
|
183
194
|
});
|
|
184
195
|
return () => cancelAnimationFrame(n);
|
|
185
196
|
}, [z.postalCode]);
|
|
186
|
-
let K = m.filter((e) => !
|
|
197
|
+
let K = m.filter((e) => !N.has(e.name)), q = m.filter((e) => N.has(e.name)), J = r(() => b(m.map((e) => e.required)), [m]), Y = (e) => {
|
|
187
198
|
let t = x(J, e);
|
|
188
|
-
return t ?
|
|
199
|
+
return t ? T(`forms.label.${t}`) : void 0;
|
|
189
200
|
};
|
|
190
201
|
return /* @__PURE__ */ s(d, {
|
|
191
202
|
className: `IncodeEkybPage${F ? " IncodeEkybPageScrollable" : ""}`,
|
|
192
|
-
title:
|
|
203
|
+
title: T("ekyb.title"),
|
|
193
204
|
children: [/* @__PURE__ */ s("div", {
|
|
194
|
-
ref:
|
|
205
|
+
ref: E,
|
|
195
206
|
className: "IncodeEkybForm",
|
|
196
207
|
children: [
|
|
197
|
-
/* @__PURE__ */ s(
|
|
208
|
+
/* @__PURE__ */ s(k, {
|
|
198
209
|
value: f,
|
|
199
210
|
onChange: (e) => u.setCountry(e)
|
|
200
211
|
}),
|
|
201
|
-
K.map((e) => /* @__PURE__ */ s(
|
|
212
|
+
K.map((e) => /* @__PURE__ */ s(A, {
|
|
202
213
|
field: e,
|
|
203
214
|
value: h[e.name] ?? "",
|
|
204
215
|
error: z[e.name],
|
|
@@ -208,7 +219,7 @@ var D = ({ field: t, value: n, error: r, errorParams: i, country: a, labelHint:
|
|
|
208
219
|
onChange: H,
|
|
209
220
|
onBlur: V
|
|
210
221
|
}, e.name)),
|
|
211
|
-
/* @__PURE__ */ s(
|
|
222
|
+
/* @__PURE__ */ s(j, {
|
|
212
223
|
ubos: v,
|
|
213
224
|
errors: z,
|
|
214
225
|
errorParams: B,
|
|
@@ -221,7 +232,7 @@ var D = ({ field: t, value: n, error: r, errorParams: i, country: a, labelHint:
|
|
|
221
232
|
}),
|
|
222
233
|
q.length > 0 && /* @__PURE__ */ s(t, { children: [/* @__PURE__ */ s("h3", {
|
|
223
234
|
className: "IncodeEkybSectionHeader",
|
|
224
|
-
children:
|
|
235
|
+
children: T("ekyb.addressDetails")
|
|
225
236
|
}), q.map((e) => e.name === "street" ? /* @__PURE__ */ s(S, {
|
|
226
237
|
label: e.label,
|
|
227
238
|
labelHint: Y(e.required),
|
|
@@ -235,8 +246,8 @@ var D = ({ field: t, value: n, error: r, errorParams: i, country: a, labelHint:
|
|
|
235
246
|
onSelect: W,
|
|
236
247
|
onBlur: () => V("street")
|
|
237
248
|
}, e.name) : /* @__PURE__ */ s("div", {
|
|
238
|
-
ref: e.name === "postalCode" ?
|
|
239
|
-
children: /* @__PURE__ */ s(
|
|
249
|
+
ref: e.name === "postalCode" ? O : void 0,
|
|
250
|
+
children: /* @__PURE__ */ s(A, {
|
|
240
251
|
field: e,
|
|
241
252
|
value: h[e.name] ?? "",
|
|
242
253
|
error: z[e.name],
|
|
@@ -254,14 +265,14 @@ var D = ({ field: t, value: n, error: r, errorParams: i, country: a, labelHint:
|
|
|
254
265
|
onClick: () => u.submit(),
|
|
255
266
|
disabled: !_,
|
|
256
267
|
"data-testid": "ekyb-submit",
|
|
257
|
-
children:
|
|
268
|
+
children: T("ekyb.continue")
|
|
258
269
|
})
|
|
259
270
|
})]
|
|
260
271
|
});
|
|
261
|
-
},
|
|
272
|
+
}, I = ({ config: e, onFinish: t }) => /* @__PURE__ */ s(u, { children: e ? /* @__PURE__ */ s(M, {
|
|
262
273
|
config: e,
|
|
263
274
|
onFinish: t
|
|
264
275
|
}) : null });
|
|
265
|
-
y(
|
|
276
|
+
y(I, "incode-ekyb");
|
|
266
277
|
//#endregion
|
|
267
|
-
export {
|
|
278
|
+
export { I 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-D8hE3f2j.js";
|
|
2
2
|
export { e as EkycModule };
|