@incodetech/web 0.0.0-dev-20260320-26b35b4 → 0.0.0-dev-20260320-c9bdba0
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/{AsYouType-DoYUSTc1.js → AsYouType-D1H_js4X.js} +1 -1
- package/dist/{Trans-CA9a3vKp.js → Trans-Cm7gi0st.js} +1 -1
- package/dist/{addressAutocomplete-DetZGxBZ.js → addressAutocomplete-BIQwiDWk.js} +3 -3
- package/dist/authentication/authentication.es.js +3 -3
- package/dist/base.css +151 -1
- package/dist/{button-Ca1tRSTI.js → button-zCdeDeEB.js} +2 -2
- package/dist/{captureFooter-x4F9jMyX.js → captureFooter-SNtyUXrI.js} +2 -2
- package/dist/{chevronDown-BUaOuf9J.js → chevronDown-DRVnB275.js} +1 -1
- package/dist/{closeIcon-BM7WLbKp.js → closeIcon-D2dmrZca.js} +1 -1
- package/dist/{countries-CM1cm_kP.js → countries-DfLkrF0x.js} +2 -2
- package/dist/curp-validation/curp-validation.es.js +47 -47
- package/dist/{dateInputComposed-CvFmQpJ0.js → dateInputComposed-C8WTSu9L.js} +3 -3
- package/dist/{documentCapture-CBgZ-Z0-.js → documentCapture-DWNK3phM.js} +7 -7
- package/dist/{dropdownComposed-B5ZuQS8C.js → dropdownComposed-Cg6lQD2C.js} +4 -4
- package/dist/{ekybModule-9m8cnkfH.js → ekybModule-DtMbgF08.js} +7 -7
- package/dist/{ekycModule-DBCar_-Z.js → ekycModule-DEMkVZr2.js} +8 -8
- package/dist/email/email.es.js +3 -3
- package/dist/{errorContent-yUAdbZ5o.js → errorContent-B3YzH-UQ.js} +5 -5
- package/dist/{errorIcon-BL647nVh.js → errorIcon-bIXk9nAy.js} +1 -1
- package/dist/extensibility.es.js +111 -341
- package/dist/{faceMatch-BjdNG_e0.js → faceMatch-BdMwIeBs.js} +2 -2
- package/dist/{fileIcon-DOyMcRWU.js → fileIcon-E4B7hd8V.js} +1 -1
- package/dist/flipAnimation-CnXEIDH1.js +2547 -0
- package/dist/flow/flow.es.js +11 -11
- package/dist/flow/styles.css +5 -106
- package/dist/{formField-FeX9N4c8.js → formField-hlgxOSE6.js} +6 -6
- package/dist/geolocation/geolocation.es.js +3 -3
- package/dist/governmentValidation/governmentValidation.es.js +7 -7
- package/dist/id/id.es.js +19 -19
- package/dist/id/styles.css +5 -119
- package/dist/{inputComposed-BHi-MSpP.js → inputComposed-CyGtRLzv.js} +6 -6
- package/dist/{permissions-CT8ELJ55.js → manualCaptureButton-iYqQECzn.js} +236 -180
- package/dist/{otpInput-DdkvlvCS.js → otpInput-B3iNW8b5.js} +2 -2
- package/dist/{page-BVHG3h0V.js → page-Dv0s0RPn.js} +5 -5
- package/dist/phone/phone.es.js +4 -4
- package/dist/{phoneInput-D4yirBZy.js → phoneInput-NVIE7YFb.js} +4 -4
- package/dist/{phoneInputComposed-BG1BANDW.js → phoneInputComposed-DNfU__MR.js} +7 -7
- package/dist/{processing-CDgOueI3.js → processing-BhY0-0xy.js} +2 -2
- package/dist/selfie/selfie.es.js +4 -4
- package/dist/spinner-BbVGMG-G.js +67 -0
- package/dist/{successIcon-BybULRRU.js → successIcon-DN8LMqE2.js} +1 -1
- package/dist/themes/dark.css +4 -0
- package/dist/themes/light.css +4 -0
- package/dist/{tutorial-DDrNTMZU.js → tutorial-CDJugc5j.js} +110 -165
- package/dist/types/extensibility.d.ts +34 -2
- package/dist/{warningIcon-DyoKeqDd.js → warningIcon-BBoCroUd.js} +1 -1
- package/package.json +2 -2
- package/dist/flipAnimation-C1mmGMlP.js +0 -1516
- package/dist/spinner-Cx3FPUCD.js +0 -66
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { d, y as M, A as F, q as K } from "./vendor-preact-BXf0bkEs.js";
|
|
2
|
-
import { b as Q, u as l } from "./button-
|
|
2
|
+
import { b as Q, u as l } from "./button-zCdeDeEB.js";
|
|
3
3
|
import "./uiConfig-Z6RT23Sl.js";
|
|
4
|
-
import { t as R } from "./formField-
|
|
5
|
-
import {
|
|
4
|
+
import { t as R } from "./formField-hlgxOSE6.js";
|
|
5
|
+
import { a as q } from "./inputComposed-CyGtRLzv.js";
|
|
6
6
|
import "@incodetech/core";
|
|
7
7
|
import { u as z } from "./useMediaQuery-CiSMgDyi.js";
|
|
8
8
|
function J(c, f) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as e, I as o, a as m } from "../button-
|
|
1
|
+
import { u as e, I as o, a as m } from "../button-zCdeDeEB.js";
|
|
2
2
|
import { createAuthenticationManager as l } from "@incodetech/core/authentication";
|
|
3
3
|
import "../vendor-preact-BXf0bkEs.js";
|
|
4
4
|
import "@incodetech/core";
|
|
5
|
-
import { P as c } from "../
|
|
5
|
+
import { P as c } from "../manualCaptureButton-iYqQECzn.js";
|
|
6
6
|
import { r as p } from "../incodeModule-aE-LkKwM.js";
|
|
7
|
-
import { T as f, C as d } from "../tutorial-
|
|
7
|
+
import { T as f, C as d } from "../tutorial-CDJugc5j.js";
|
|
8
8
|
const h = ({
|
|
9
9
|
config: r,
|
|
10
10
|
authHint: s,
|
package/dist/base.css
CHANGED
|
@@ -334,6 +334,7 @@
|
|
|
334
334
|
border-style: var(--tw-border-style);
|
|
335
335
|
border-width: 1.5px;
|
|
336
336
|
border-color: var(--color-button-secondary-border-default, var(--button-secondary-border-default));
|
|
337
|
+
background-color: #0000;
|
|
337
338
|
}
|
|
338
339
|
.IncodeButton.IncodeButtonSecondary:active {
|
|
339
340
|
border-color: var(--color-button-secondary-border-pressed, var(--button-secondary-border-pressed));
|
|
@@ -2221,6 +2222,36 @@
|
|
|
2221
2222
|
height: 840px;
|
|
2222
2223
|
}
|
|
2223
2224
|
}
|
|
2225
|
+
@media (min-width: 40rem) {
|
|
2226
|
+
.IncodePageContainer .IncodePageInner {
|
|
2227
|
+
max-width: 40rem;
|
|
2228
|
+
}
|
|
2229
|
+
}
|
|
2230
|
+
@media (min-width: 48rem) {
|
|
2231
|
+
.IncodePageContainer .IncodePageInner {
|
|
2232
|
+
max-width: 48rem;
|
|
2233
|
+
}
|
|
2234
|
+
}
|
|
2235
|
+
@media (min-width: 64rem) {
|
|
2236
|
+
.IncodePageContainer .IncodePageInner {
|
|
2237
|
+
max-width: 64rem;
|
|
2238
|
+
}
|
|
2239
|
+
}
|
|
2240
|
+
@media (min-width: 80rem) {
|
|
2241
|
+
.IncodePageContainer .IncodePageInner {
|
|
2242
|
+
max-width: 80rem;
|
|
2243
|
+
}
|
|
2244
|
+
}
|
|
2245
|
+
@media (min-width: 96rem) {
|
|
2246
|
+
.IncodePageContainer .IncodePageInner {
|
|
2247
|
+
max-width: 96rem;
|
|
2248
|
+
}
|
|
2249
|
+
}
|
|
2250
|
+
@media (min-width: 48rem) {
|
|
2251
|
+
.IncodePageContainer .IncodePageInner {
|
|
2252
|
+
height: 840px;
|
|
2253
|
+
}
|
|
2254
|
+
}
|
|
2224
2255
|
.IncodePageContainer .IncodePageInner {
|
|
2225
2256
|
width: 100%;
|
|
2226
2257
|
}
|
|
@@ -2259,7 +2290,9 @@
|
|
|
2259
2290
|
}
|
|
2260
2291
|
}
|
|
2261
2292
|
.IncodePageContainer .IncodePageInner {
|
|
2262
|
-
padding: var(--spacing-24, var(--spacing-24, 24px));
|
|
2293
|
+
padding-inline: var(--spacing-24, var(--spacing-24, 24px));
|
|
2294
|
+
padding-top: var(--spacing-8, var(--spacing-8, 8px));
|
|
2295
|
+
padding-bottom: var(--spacing-0, var(--spacing-none, 0px));
|
|
2263
2296
|
flex-direction: column;
|
|
2264
2297
|
flex: 1;
|
|
2265
2298
|
display: flex;
|
|
@@ -2371,6 +2404,13 @@
|
|
|
2371
2404
|
line-height: var(--typography-headline-h5-line-height);
|
|
2372
2405
|
letter-spacing: var(--typography-headline-h5-letter-spacing);
|
|
2373
2406
|
}
|
|
2407
|
+
.IncodeComponent .IncodeTypographyP {
|
|
2408
|
+
font-family: var(--typography-body-family);
|
|
2409
|
+
font-size: var(--typography-body-m-regular-size);
|
|
2410
|
+
font-weight: var(--typography-body-m-regular-weight);
|
|
2411
|
+
line-height: var(--typography-body-m-regular-line-height);
|
|
2412
|
+
letter-spacing: var(--typography-body-m-regular-letter-spacing);
|
|
2413
|
+
}
|
|
2374
2414
|
.IncodeSuccessIcon {
|
|
2375
2415
|
flex-shrink: 0;
|
|
2376
2416
|
}
|
|
@@ -3293,6 +3333,116 @@
|
|
|
3293
3333
|
font-size: 22px;
|
|
3294
3334
|
display: block;
|
|
3295
3335
|
}
|
|
3336
|
+
.IncodeVerificationOptionCardList {
|
|
3337
|
+
flex-direction: column;
|
|
3338
|
+
width: 100%;
|
|
3339
|
+
max-width: 26.25rem;
|
|
3340
|
+
display: flex;
|
|
3341
|
+
}
|
|
3342
|
+
.IncodeVerificationOptionCard {
|
|
3343
|
+
cursor: pointer;
|
|
3344
|
+
touch-action: manipulation;
|
|
3345
|
+
align-items: flex-start;
|
|
3346
|
+
gap: var(--spacing-12, var(--spacing-12, 12px));
|
|
3347
|
+
border-radius: var(--radius-none, var(--border-radius-none));
|
|
3348
|
+
border-style: var(--tw-border-style);
|
|
3349
|
+
--tw-border-style: solid;
|
|
3350
|
+
border-style: solid;
|
|
3351
|
+
border-width: 1px;
|
|
3352
|
+
border-color: var(--color-border-neutral-100, var(--border-neutral-100));
|
|
3353
|
+
background-color: var(--color-surface-neutral-0, var(--surface-neutral-0));
|
|
3354
|
+
width: 100%;
|
|
3355
|
+
padding-inline: var(--spacing-12, var(--spacing-12, 12px));
|
|
3356
|
+
padding-block: var(--spacing-8, var(--spacing-8, 8px));
|
|
3357
|
+
max-width: 26.25rem;
|
|
3358
|
+
display: flex;
|
|
3359
|
+
position: relative;
|
|
3360
|
+
}
|
|
3361
|
+
.IncodeVerificationOptionCard:first-child {
|
|
3362
|
+
border-top-left-radius: var(--radius-medium, var(--border-radius-medium));
|
|
3363
|
+
border-top-right-radius: var(--radius-medium, var(--border-radius-medium));
|
|
3364
|
+
}
|
|
3365
|
+
.IncodeVerificationOptionCard:last-child {
|
|
3366
|
+
border-bottom-right-radius: var(--radius-medium, var(--border-radius-medium));
|
|
3367
|
+
border-bottom-left-radius: var(--radius-medium, var(--border-radius-medium));
|
|
3368
|
+
}
|
|
3369
|
+
.IncodeVerificationOptionCard:only-child {
|
|
3370
|
+
border-radius: var(--radius-medium, var(--border-radius-medium));
|
|
3371
|
+
}
|
|
3372
|
+
.IncodeVerificationOptionCard + .IncodeVerificationOptionCard {
|
|
3373
|
+
border-top-style: var(--tw-border-style);
|
|
3374
|
+
border-top-width: var(--border-width-none, var(--primitive-border-width-0));
|
|
3375
|
+
}
|
|
3376
|
+
.IncodeVerificationOptionCard:focus-visible {
|
|
3377
|
+
z-index: 1;
|
|
3378
|
+
outline-width: 1px;
|
|
3379
|
+
outline-style: var(--tw-outline-style);
|
|
3380
|
+
outline-offset: 2px;
|
|
3381
|
+
outline-width: 2px;
|
|
3382
|
+
outline-color: var(--color-border-status-focus, var(--border-status-focus));
|
|
3383
|
+
}
|
|
3384
|
+
.IncodeVerificationOptionCard:disabled {
|
|
3385
|
+
cursor: not-allowed;
|
|
3386
|
+
opacity: .6;
|
|
3387
|
+
}
|
|
3388
|
+
.IncodeVerificationOptionCard .IncodeVerificationOptionCardIcon {
|
|
3389
|
+
flex-shrink: 0;
|
|
3390
|
+
justify-content: center;
|
|
3391
|
+
align-items: center;
|
|
3392
|
+
width: 3.75rem;
|
|
3393
|
+
height: 3.75rem;
|
|
3394
|
+
display: flex;
|
|
3395
|
+
}
|
|
3396
|
+
.IncodeVerificationOptionCard .IncodeVerificationOptionCardIcon svg {
|
|
3397
|
+
width: 100%;
|
|
3398
|
+
height: auto;
|
|
3399
|
+
}
|
|
3400
|
+
.IncodeVerificationOptionCard .IncodeVerificationOptionCardIcon .IncodeIdCardIconFill, .IncodeVerificationOptionCard .IncodeVerificationOptionCardIcon .IncodeUploadIdIconFill, .IncodeVerificationOptionCard .IncodeVerificationOptionCardIcon .IncodePassportIconFill, .IncodeVerificationOptionCard .IncodeVerificationOptionCardIcon .IncodeDeviceWalletsIconFill, .IncodeVerificationOptionCard .IncodeVerificationOptionCardIcon .IncodeDigitalIdIconFill {
|
|
3401
|
+
fill: var(--color-surface-brand-500, var(--surface-brand-500-static));
|
|
3402
|
+
}
|
|
3403
|
+
.IncodeVerificationOptionCard .IncodeVerificationOptionCardTag {
|
|
3404
|
+
align-items: center;
|
|
3405
|
+
gap: var(--spacing-2, var(--spacing-2, 2px));
|
|
3406
|
+
border-radius: var(--radius-small, var(--border-radius-small));
|
|
3407
|
+
background-color: var(--color-surface-brand-50, var(--surface-brand-50));
|
|
3408
|
+
width: fit-content;
|
|
3409
|
+
padding-inline: var(--spacing-8, var(--spacing-8, 8px));
|
|
3410
|
+
padding-block: var(--spacing-2, var(--spacing-2, 2px));
|
|
3411
|
+
font-family: var(--typography-body-family);
|
|
3412
|
+
font-size: var(--typography-body-m-regular-size);
|
|
3413
|
+
font-weight: var(--typography-body-m-regular-weight);
|
|
3414
|
+
line-height: var(--typography-body-m-regular-line-height);
|
|
3415
|
+
letter-spacing: var(--typography-body-m-regular-letter-spacing);
|
|
3416
|
+
color: var(--color-icon-brand-500-static, var(--icon-brand-500-static));
|
|
3417
|
+
display: flex;
|
|
3418
|
+
}
|
|
3419
|
+
.IncodeVerificationOptionCard .IncodeVerificationOptionCardTitleTagContainer {
|
|
3420
|
+
gap: var(--spacing-8, var(--spacing-8, 8px));
|
|
3421
|
+
color: var(--color-text-body-primary, var(--text-body-800-primary));
|
|
3422
|
+
flex-direction: column;
|
|
3423
|
+
display: flex;
|
|
3424
|
+
}
|
|
3425
|
+
.IncodeVerificationOptionCard .IncodeVerificationOptionCardTitle {
|
|
3426
|
+
font-family: var(--typography-headline-family);
|
|
3427
|
+
font-size: var(--typography-headline-h5-size);
|
|
3428
|
+
font-weight: var(--typography-headline-h5-weight);
|
|
3429
|
+
line-height: var(--typography-headline-h5-line-height);
|
|
3430
|
+
letter-spacing: var(--typography-headline-h5-letter-spacing);
|
|
3431
|
+
}
|
|
3432
|
+
.IncodeVerificationOptionCard .IncodeVerificationOptionCardContent {
|
|
3433
|
+
flex: 1;
|
|
3434
|
+
justify-content: space-between;
|
|
3435
|
+
align-items: center;
|
|
3436
|
+
height: 100%;
|
|
3437
|
+
display: flex;
|
|
3438
|
+
}
|
|
3439
|
+
.IncodeVerificationOptionCard .IncodeVerificationOptionCardContent .IncodeVerificationOptionCardArrow {
|
|
3440
|
+
color: var(--color-icon-neutral-500, var(--icon-neutral-500));
|
|
3441
|
+
flex-shrink: 0;
|
|
3442
|
+
justify-content: center;
|
|
3443
|
+
align-items: center;
|
|
3444
|
+
display: flex;
|
|
3445
|
+
}
|
|
3296
3446
|
@property --tw-rotate-x {
|
|
3297
3447
|
syntax: "*";
|
|
3298
3448
|
inherits: false
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as e, d, S as v, b as m, B as I } from "./button-
|
|
1
|
+
import { u as e, d, S as v, b as m, B as I } from "./button-zCdeDeEB.js";
|
|
2
2
|
import { k as w, D as f, A as C, y as u } from "./vendor-preact-BXf0bkEs.js";
|
|
3
|
-
import { T as y } from "./spinner-
|
|
3
|
+
import { T as y } from "./spinner-BbVGMG-G.js";
|
|
4
4
|
import "./uiConfig-Z6RT23Sl.js";
|
|
5
5
|
const g = ({
|
|
6
6
|
className: r
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { b as I, u as e, S as u, B as h, I as S, a as N } from "../button-
|
|
1
|
+
import { b as I, u as e, S as u, B as h, I as S, a as N } from "../button-zCdeDeEB.js";
|
|
2
2
|
import { mexicanStates as G, createCurpValidationManager as R } from "@incodetech/core/curp-validation";
|
|
3
3
|
import { k as y } from "../vendor-preact-BXf0bkEs.js";
|
|
4
4
|
import "@incodetech/core";
|
|
5
5
|
import "../uiConfig-Z6RT23Sl.js";
|
|
6
|
-
import { E as U } from "../errorIcon-
|
|
7
|
-
import { S as D } from "../successIcon-
|
|
8
|
-
import { P as p } from "../page-
|
|
9
|
-
import { S as k } from "../spinner-
|
|
6
|
+
import { E as U } from "../errorIcon-bIXk9nAy.js";
|
|
7
|
+
import { S as D } from "../successIcon-DN8LMqE2.js";
|
|
8
|
+
import { P as p } from "../page-Dv0s0RPn.js";
|
|
9
|
+
import { S as k } from "../spinner-BbVGMG-G.js";
|
|
10
10
|
import { r as E } from "../incodeModule-aE-LkKwM.js";
|
|
11
|
-
import {
|
|
12
|
-
import { D as F } from "../dateInputComposed-
|
|
13
|
-
import { D as P } from "../dropdownComposed-
|
|
11
|
+
import { a as C } from "../inputComposed-CyGtRLzv.js";
|
|
12
|
+
import { D as F } from "../dateInputComposed-C8WTSu9L.js";
|
|
13
|
+
import { D as P } from "../dropdownComposed-Cg6lQD2C.js";
|
|
14
14
|
const T = ({
|
|
15
15
|
curp: s,
|
|
16
16
|
isValid: d,
|
|
17
17
|
onCurpChange: o,
|
|
18
|
-
onVerify:
|
|
18
|
+
onVerify: r,
|
|
19
19
|
onSwitchToGenerate: t,
|
|
20
20
|
disabled: i = !1,
|
|
21
|
-
placeholder:
|
|
21
|
+
placeholder: a,
|
|
22
22
|
continueLabel: m,
|
|
23
23
|
dontHaveLabel: n
|
|
24
24
|
}) => {
|
|
25
|
-
const { t: c } = I(), f =
|
|
25
|
+
const { t: c } = I(), f = a ?? c("curp.placeholder.curp") ?? "CURP", g = m ?? c("curp.continue") ?? "Continue", l = n ?? c("curp.dontHave") ?? "I don't have my CURP", b = c("curp.placeholder.curp") ?? "CURP";
|
|
26
26
|
return /* @__PURE__ */ e("div", { class: "IncodeCurpValidation IncodeCurpInput", children: [
|
|
27
27
|
/* @__PURE__ */ e(
|
|
28
28
|
C,
|
|
@@ -45,7 +45,7 @@ const T = ({
|
|
|
45
45
|
h,
|
|
46
46
|
{
|
|
47
47
|
type: "button",
|
|
48
|
-
onClick:
|
|
48
|
+
onClick: r,
|
|
49
49
|
disabled: !d || i,
|
|
50
50
|
"data-testid": "curp-verify",
|
|
51
51
|
children: g
|
|
@@ -67,23 +67,23 @@ const T = ({
|
|
|
67
67
|
form: s,
|
|
68
68
|
isValid: d,
|
|
69
69
|
onFormChange: o,
|
|
70
|
-
onGenerate:
|
|
70
|
+
onGenerate: r,
|
|
71
71
|
disabled: t = !1,
|
|
72
72
|
labels: i
|
|
73
73
|
}) => {
|
|
74
|
-
const { t:
|
|
75
|
-
firstName:
|
|
76
|
-
firstLast:
|
|
77
|
-
secondLast:
|
|
78
|
-
gender:
|
|
79
|
-
genderPlaceholder:
|
|
80
|
-
male:
|
|
81
|
-
female:
|
|
82
|
-
other:
|
|
83
|
-
dob:
|
|
84
|
-
birthState:
|
|
85
|
-
statePlaceholder:
|
|
86
|
-
generate:
|
|
74
|
+
const { t: a } = I(), n = { ...{
|
|
75
|
+
firstName: a("curp.labels.firstName") ?? "Your First name",
|
|
76
|
+
firstLast: a("curp.labels.firstLast") ?? "Your First last name",
|
|
77
|
+
secondLast: a("curp.labels.secondLast") ?? "Your Second last name",
|
|
78
|
+
gender: a("curp.labels.genderV2") ?? "Gender",
|
|
79
|
+
genderPlaceholder: a("curp.placeholder.gender") ?? "Choose gender",
|
|
80
|
+
male: a("curp.labels.maleV2") ?? "Male",
|
|
81
|
+
female: a("curp.labels.femaleV2") ?? "Female",
|
|
82
|
+
other: a("curp.labels.other") ?? "Other",
|
|
83
|
+
dob: a("curp.labels.dob") ?? "Date of birth",
|
|
84
|
+
birthState: a("curp.labels.birthState") ?? "State of birth",
|
|
85
|
+
statePlaceholder: a("curp.placeholder.state") ?? "Select state",
|
|
86
|
+
generate: a("curp.generateCta") ?? "Generate CURP"
|
|
87
87
|
}, ...i }, c = (l) => (b) => {
|
|
88
88
|
const v = b.target;
|
|
89
89
|
o({ [l]: v.value });
|
|
@@ -151,7 +151,7 @@ const T = ({
|
|
|
151
151
|
value: s.birthDate,
|
|
152
152
|
onInput: c("birthDate"),
|
|
153
153
|
max: (/* @__PURE__ */ new Date()).toISOString().split("T")[0],
|
|
154
|
-
placeholder:
|
|
154
|
+
placeholder: a("curp.placeholder.dob") ?? "mm/dd/yyyy",
|
|
155
155
|
disabled: t,
|
|
156
156
|
"data-testid": "curp-birth-date"
|
|
157
157
|
}
|
|
@@ -175,7 +175,7 @@ const T = ({
|
|
|
175
175
|
h,
|
|
176
176
|
{
|
|
177
177
|
type: "button",
|
|
178
|
-
onClick:
|
|
178
|
+
onClick: r,
|
|
179
179
|
disabled: !d || t,
|
|
180
180
|
"data-testid": "curp-generate",
|
|
181
181
|
children: n.generate
|
|
@@ -187,32 +187,32 @@ const T = ({
|
|
|
187
187
|
onFinish: d,
|
|
188
188
|
onError: o
|
|
189
189
|
}) => {
|
|
190
|
-
const { t:
|
|
190
|
+
const { t: r } = I(), [t, i] = N(() => {
|
|
191
191
|
if (!s)
|
|
192
192
|
throw new Error("CURP validation config is required");
|
|
193
193
|
return R({ config: s });
|
|
194
194
|
});
|
|
195
195
|
if (t.status === "idle" || t.status === "loading" || t.status === "verifying" || t.status === "generating") {
|
|
196
|
-
const
|
|
197
|
-
return /* @__PURE__ */ e(p, { className: "IncodeCurpValidationPage", children: /* @__PURE__ */ e("div", { class: "IncodeCurpValidation IncodeCurpLoading", children: /* @__PURE__ */ e(k, { title:
|
|
196
|
+
const a = t.status === "generating" ? r("curp.status.generating") ?? "Generating..." : r("curp.status.verifying") ?? "Verifying...";
|
|
197
|
+
return /* @__PURE__ */ e(p, { className: "IncodeCurpValidationPage", children: /* @__PURE__ */ e("div", { class: "IncodeCurpValidation IncodeCurpLoading", children: /* @__PURE__ */ e(k, { title: a, fullScreen: !1 }) }) });
|
|
198
198
|
}
|
|
199
199
|
if (t.status === "enterCurp")
|
|
200
200
|
return /* @__PURE__ */ e(
|
|
201
201
|
p,
|
|
202
202
|
{
|
|
203
203
|
className: "IncodeCurpValidationPage",
|
|
204
|
-
title:
|
|
204
|
+
title: r("curp.enterCurp") ?? "Enter your CURP",
|
|
205
205
|
children: /* @__PURE__ */ e(
|
|
206
206
|
T,
|
|
207
207
|
{
|
|
208
208
|
curp: t.curp,
|
|
209
209
|
isValid: t.isValid,
|
|
210
|
-
onCurpChange: (
|
|
210
|
+
onCurpChange: (a) => i.setCurp(a),
|
|
211
211
|
onVerify: () => i.verify(),
|
|
212
212
|
onSwitchToGenerate: () => i.switchToGenerate(),
|
|
213
|
-
placeholder:
|
|
214
|
-
continueLabel:
|
|
215
|
-
dontHaveLabel:
|
|
213
|
+
placeholder: r("curp.placeholder.curp") ?? "CURP",
|
|
214
|
+
continueLabel: r("curp.continue") ?? "Continue",
|
|
215
|
+
dontHaveLabel: r("curp.dontHave") ?? "I don't have my CURP"
|
|
216
216
|
}
|
|
217
217
|
)
|
|
218
218
|
}
|
|
@@ -222,13 +222,13 @@ const T = ({
|
|
|
222
222
|
p,
|
|
223
223
|
{
|
|
224
224
|
className: "IncodeCurpValidationPage",
|
|
225
|
-
title:
|
|
225
|
+
title: r("curp.generate") ?? "Generate your CURP",
|
|
226
226
|
children: /* @__PURE__ */ e(
|
|
227
227
|
w,
|
|
228
228
|
{
|
|
229
229
|
form: t.form,
|
|
230
230
|
isValid: t.isValid,
|
|
231
|
-
onFormChange: (
|
|
231
|
+
onFormChange: (a) => i.setGenerateForm(a),
|
|
232
232
|
onGenerate: () => i.generate()
|
|
233
233
|
}
|
|
234
234
|
)
|
|
@@ -239,7 +239,7 @@ const T = ({
|
|
|
239
239
|
p,
|
|
240
240
|
{
|
|
241
241
|
className: "IncodeCurpValidationPage",
|
|
242
|
-
title:
|
|
242
|
+
title: r("curp.status.confirm") ?? "Confirm your CURP",
|
|
243
243
|
children: /* @__PURE__ */ e("div", { class: "IncodeCurpValidation IncodeCurpConfirm", children: [
|
|
244
244
|
/* @__PURE__ */ e(
|
|
245
245
|
"input",
|
|
@@ -248,7 +248,7 @@ const T = ({
|
|
|
248
248
|
class: "IncodeCurpConfirmInput",
|
|
249
249
|
value: t.curp,
|
|
250
250
|
readOnly: !0,
|
|
251
|
-
"aria-label":
|
|
251
|
+
"aria-label": r("curp.status.generatedCurp") ?? "Generated CURP"
|
|
252
252
|
}
|
|
253
253
|
),
|
|
254
254
|
/* @__PURE__ */ e(u, {}),
|
|
@@ -258,7 +258,7 @@ const T = ({
|
|
|
258
258
|
type: "button",
|
|
259
259
|
onClick: () => i.confirmGenerated(),
|
|
260
260
|
"data-testid": "curp-confirm",
|
|
261
|
-
children:
|
|
261
|
+
children: r("curp.continue") ?? "Continue"
|
|
262
262
|
}
|
|
263
263
|
)
|
|
264
264
|
] })
|
|
@@ -268,27 +268,27 @@ const T = ({
|
|
|
268
268
|
return /* @__PURE__ */ e(p, { className: "IncodeCurpValidationPage", children: /* @__PURE__ */ e("div", { class: "IncodeCurpValidation IncodeCurpSuccess", children: [
|
|
269
269
|
/* @__PURE__ */ e(D, { size: 32 }),
|
|
270
270
|
/* @__PURE__ */ e(u, { size: 16 }),
|
|
271
|
-
/* @__PURE__ */ e("h2", { class: "IncodeCurpSuccessTitle", children:
|
|
271
|
+
/* @__PURE__ */ e("h2", { class: "IncodeCurpSuccessTitle", children: r("curp.status.verified") ?? "Verified" })
|
|
272
272
|
] }) });
|
|
273
273
|
if (t.status === "failure" || t.status === "generateError") {
|
|
274
|
-
const
|
|
274
|
+
const a = t.retriesLeft > 0, m = t.status === "failure" ? r("curp.status.notVerified") ?? "Not verified" : r("curp.status.couldntGenerate") ?? "Couldn't generate CURP";
|
|
275
275
|
return /* @__PURE__ */ e(p, { className: "IncodeCurpValidationPage", children: /* @__PURE__ */ e("div", { class: "IncodeCurpValidation IncodeCurpFailure", children: [
|
|
276
276
|
/* @__PURE__ */ e(u, {}),
|
|
277
277
|
/* @__PURE__ */ e(U, { size: 32 }),
|
|
278
278
|
/* @__PURE__ */ e(u, { size: 16 }),
|
|
279
279
|
/* @__PURE__ */ e("h2", { class: "IncodeCurpFailureTitle", children: m }),
|
|
280
|
-
t.status === "generateError" &&
|
|
280
|
+
t.status === "generateError" && a && /* @__PURE__ */ e(y, { children: [
|
|
281
281
|
/* @__PURE__ */ e(u, { size: 12 }),
|
|
282
|
-
/* @__PURE__ */ e("p", { class: "IncodeCurpFailureHint", children:
|
|
282
|
+
/* @__PURE__ */ e("p", { class: "IncodeCurpFailureHint", children: r("curp.status.checkInfo") ?? "Please check your information" })
|
|
283
283
|
] }),
|
|
284
284
|
/* @__PURE__ */ e(u, {}),
|
|
285
|
-
|
|
285
|
+
a && /* @__PURE__ */ e(y, { children: /* @__PURE__ */ e(
|
|
286
286
|
h,
|
|
287
287
|
{
|
|
288
288
|
type: "button",
|
|
289
289
|
onClick: () => i.retry(),
|
|
290
290
|
"data-testid": "curp-retry",
|
|
291
|
-
children: t.status === "failure" ?
|
|
291
|
+
children: t.status === "failure" ? r("curp.status.tryAgain") ?? "Try again" : r("curp.status.edit") ?? "Edit information"
|
|
292
292
|
}
|
|
293
293
|
) })
|
|
294
294
|
] }) });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as e, d as E } from "./button-
|
|
1
|
+
import { u as e, d as E } from "./button-zCdeDeEB.js";
|
|
2
2
|
import { g as W, D as Z, A as $ } from "./vendor-preact-BXf0bkEs.js";
|
|
3
|
-
import { E as g } from "./errorIcon-
|
|
4
|
-
import { S as x } from "./successIcon-
|
|
3
|
+
import { E as g } from "./errorIcon-bIXk9nAy.js";
|
|
4
|
+
import { S as x } from "./successIcon-DN8LMqE2.js";
|
|
5
5
|
const B = ({ class: o }) => {
|
|
6
6
|
const t = W();
|
|
7
7
|
return /* @__PURE__ */ e(
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { b as u, u as e, S as s, B as m, d as D, I as E, a as T } from "./button-
|
|
1
|
+
import { b as u, u as e, S as s, B as m, d as D, I as E, a as T } from "./button-zCdeDeEB.js";
|
|
2
2
|
import { createDocumentCaptureManager as N } from "@incodetech/core/document-capture";
|
|
3
3
|
import { A as b, q as Z, k as h, _ as o, d as _, y as k } from "./vendor-preact-BXf0bkEs.js";
|
|
4
4
|
import "@incodetech/core";
|
|
5
|
-
import { P as H } from "./page-
|
|
6
|
-
import { S as M } from "./spinner-
|
|
5
|
+
import { P as H } from "./page-Dv0s0RPn.js";
|
|
6
|
+
import { S as M } from "./spinner-BbVGMG-G.js";
|
|
7
7
|
import { r as z } from "./incodeModule-aE-LkKwM.js";
|
|
8
|
-
import { C as U, c as A, a as K, d as j, b as G, P as W, L as $ } from "./captureFooter-
|
|
8
|
+
import { C as U, c as A, a as K, d as j, b as G, P as W, L as $ } from "./captureFooter-SNtyUXrI.js";
|
|
9
9
|
import "./uiConfig-Z6RT23Sl.js";
|
|
10
|
-
import { M as q, C as J, F as Q } from "./fileIcon-
|
|
11
|
-
import { E as X } from "./errorContent-
|
|
12
|
-
import { S as Y } from "./successIcon-
|
|
10
|
+
import { M as q, C as J, F as Q } from "./fileIcon-E4B7hd8V.js";
|
|
11
|
+
import { E as X } from "./errorContent-B3YzH-UQ.js";
|
|
12
|
+
import { S as Y } from "./successIcon-DN8LMqE2.js";
|
|
13
13
|
function e1(t) {
|
|
14
14
|
if (t.readyState < 2 || t.videoWidth === 0 || t.videoHeight === 0)
|
|
15
15
|
return null;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as o, d as M } from "./button-
|
|
1
|
+
import { u as o, d as M } from "./button-zCdeDeEB.js";
|
|
2
2
|
import { d as D, A as p, y as C } from "./vendor-preact-BXf0bkEs.js";
|
|
3
|
-
import { C as ce } from "./chevronDown-
|
|
4
|
-
import { E as de } from "./errorIcon-
|
|
5
|
-
import { S as ie } from "./successIcon-
|
|
3
|
+
import { C as ce } from "./chevronDown-DRVnB275.js";
|
|
4
|
+
import { E as de } from "./errorIcon-bIXk9nAy.js";
|
|
5
|
+
import { S as ie } from "./successIcon-DN8LMqE2.js";
|
|
6
6
|
const le = ({ size: s = 20 }) => /* @__PURE__ */ o(
|
|
7
7
|
"svg",
|
|
8
8
|
{
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { b as v, u as o, I as J, a as Q, B as Z } from "./button-
|
|
1
|
+
import { b as v, u as o, I as J, a as Q, B as Z } from "./button-zCdeDeEB.js";
|
|
2
2
|
import { SUPPORTED_COUNTRIES as M, DEV_ONLY_COUNTRIES as x, computeEkybDisplayErrors as ee, createEkybManager as te } from "@incodetech/core/ekyb";
|
|
3
3
|
import { T as q, y as V, A as D, d as oe, q as S, k as re } from "./vendor-preact-BXf0bkEs.js";
|
|
4
4
|
import "./uiConfig-Z6RT23Sl.js";
|
|
5
5
|
import "@incodetech/core";
|
|
6
|
-
import { u as ne, A as se } from "./addressAutocomplete-
|
|
7
|
-
import { P as K } from "./page-
|
|
8
|
-
import { S as ae } from "./spinner-
|
|
9
|
-
import { t as G, F as ce, V as P } from "./formField-
|
|
6
|
+
import { u as ne, A as se } from "./addressAutocomplete-BIQwiDWk.js";
|
|
7
|
+
import { P as K } from "./page-Dv0s0RPn.js";
|
|
8
|
+
import { S as ae } from "./spinner-BbVGMG-G.js";
|
|
9
|
+
import { t as G, F as ce, V as P } from "./formField-hlgxOSE6.js";
|
|
10
10
|
import { r as le } from "./incodeModule-aE-LkKwM.js";
|
|
11
|
-
import { D as Y } from "./dropdownComposed-
|
|
12
|
-
import {
|
|
11
|
+
import { D as Y } from "./dropdownComposed-Cg6lQD2C.js";
|
|
12
|
+
import { a as _ } from "./inputComposed-CyGtRLzv.js";
|
|
13
13
|
function ue(t) {
|
|
14
14
|
return [...t.toUpperCase()].map((r) => String.fromCodePoint(127462 + r.charCodeAt(0) - 65)).join("");
|
|
15
15
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { u as r, I as Y, b as $, a as G, B as L } from "./button-
|
|
1
|
+
import { u as r, I as Y, b as $, a as G, B as L } from "./button-zCdeDeEB.js";
|
|
2
2
|
import { computeEkycDisplayErrors as j, createEkycManager as z } from "@incodetech/core/ekyc";
|
|
3
3
|
import { y as q, A as F, d as J, q as E, T as Q } from "./vendor-preact-BXf0bkEs.js";
|
|
4
4
|
import "./uiConfig-Z6RT23Sl.js";
|
|
5
5
|
import "@incodetech/core";
|
|
6
|
-
import { u as U, A as W } from "./addressAutocomplete-
|
|
7
|
-
import { V as v, t as X, F as Z } from "./formField-
|
|
8
|
-
import { D as f } from "./dateInputComposed-
|
|
9
|
-
import { D as ee } from "./dropdownComposed-
|
|
10
|
-
import { P as T } from "./page-
|
|
11
|
-
import { S as re } from "./spinner-
|
|
6
|
+
import { u as U, A as W } from "./addressAutocomplete-BIQwiDWk.js";
|
|
7
|
+
import { V as v, t as X, F as Z } from "./formField-hlgxOSE6.js";
|
|
8
|
+
import { D as f } from "./dateInputComposed-C8WTSu9L.js";
|
|
9
|
+
import { D as ee } from "./dropdownComposed-Cg6lQD2C.js";
|
|
10
|
+
import { P as T } from "./page-Dv0s0RPn.js";
|
|
11
|
+
import { S as re } from "./spinner-BbVGMG-G.js";
|
|
12
12
|
import { r as oe } from "./incodeModule-aE-LkKwM.js";
|
|
13
|
-
import { P as te } from "./phoneInputComposed-
|
|
13
|
+
import { P as te } from "./phoneInputComposed-DNfU__MR.js";
|
|
14
14
|
const ae = ({ config: p, onFinish: s }) => {
|
|
15
15
|
const { t: l } = $(), [a, d] = G(() => z({ config: p }));
|
|
16
16
|
return q(() => {
|
package/dist/email/email.es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as e, S as g, I as v, b as O, a as y, B as C } from "../button-
|
|
1
|
+
import { u as e, S as g, I as v, b as O, a as y, B as C } from "../button-zCdeDeEB.js";
|
|
2
2
|
import { createEmailManager as P } from "@incodetech/core/email";
|
|
3
3
|
import { d as f, y as k, k as w } from "../vendor-preact-BXf0bkEs.js";
|
|
4
4
|
import "@incodetech/core";
|
|
5
|
-
import { O as L } from "../otpInput-
|
|
6
|
-
import { P as E } from "../page-
|
|
5
|
+
import { O as L } from "../otpInput-B3iNW8b5.js";
|
|
6
|
+
import { P as E } from "../page-Dv0s0RPn.js";
|
|
7
7
|
import { r as S } from "../incodeModule-aE-LkKwM.js";
|
|
8
8
|
import "../uiConfig-Z6RT23Sl.js";
|
|
9
9
|
const I = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, V = ({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { b as l, u as n, S as r, B as m } from "./button-
|
|
1
|
+
import { b as l, u as n, S as r, B as m } from "./button-zCdeDeEB.js";
|
|
2
2
|
import { A as p, y as C } from "./vendor-preact-BXf0bkEs.js";
|
|
3
|
-
import { E } from "./errorIcon-
|
|
4
|
-
import { W as I } from "./warningIcon-
|
|
5
|
-
import { P as f } from "./page-
|
|
6
|
-
import { T as h } from "./spinner-
|
|
3
|
+
import { E } from "./errorIcon-bIXk9nAy.js";
|
|
4
|
+
import { W as I } from "./warningIcon-BBoCroUd.js";
|
|
5
|
+
import { P as f } from "./page-Dv0s0RPn.js";
|
|
6
|
+
import { T as h } from "./spinner-BbVGMG-G.js";
|
|
7
7
|
const x = ({
|
|
8
8
|
title: c,
|
|
9
9
|
description: s,
|