@incodetech/web 0.0.0-dev-20260501-67ce3a5 → 0.0.0-dev-20260504-4f40699
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/curp-validation/curp-validation.es.js +158 -157
- package/dist/curp-validation/styles.css +34 -103
- package/dist/{documentCapture-Dzou9uTk.js → documentCapture-fjzmYCVb.js} +7 -7
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekyc/styles.css +0 -42
- package/dist/ekycModule-BxPTVcan.js +2 -0
- package/dist/{ekycModule-CJlWl4bo.js → ekycModule-QU1NKDFR.js} +15 -39
- package/dist/email/email.es.js +1 -1
- package/dist/{extensibility-TTT9sIbb.js → extensibility-04gn7mbK.js} +85 -138
- package/dist/extensibility.es.js +20 -20
- package/dist/flow/flow.es.js +1 -1
- package/dist/flow/styles.css +34 -100
- package/dist/id/id.es.js +1 -1
- package/dist/{idOcr-DvBdbbVN.js → idOcr-DXZbASy3.js} +28 -27
- package/dist/{radioButtonComposed-Q303vQ5-.js → radioGroupComposed-BPJ5Gj6B.js} +54 -1
- package/dist/signature/signature.es.js +1 -1
- package/dist/themes/dark.css +1 -0
- package/dist/themes/light.css +1 -0
- package/dist/{useModuleLoader-ChOOrxCM.js → useModuleLoader-JcIcr7jR.js} +4 -4
- package/dist/workflow/styles.css +34 -100
- package/dist/workflow/workflow.es.js +1 -1
- package/package.json +2 -2
- package/dist/ekycModule-Cui98eSq.js +0 -2
|
@@ -1,273 +1,274 @@
|
|
|
1
1
|
import { n as e } from "../i18n-D6pCC7RL.js";
|
|
2
|
-
import { S as t,
|
|
3
|
-
import { i as
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import "../
|
|
9
|
-
import { t as
|
|
10
|
-
import { g as
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
2
|
+
import { S as t, _ as n, l as r, v as i } from "../vendor-preact-D6SntenC.js";
|
|
3
|
+
import { i as a } from "../hooks-K-ks8TCv.js";
|
|
4
|
+
import { t as o } from "../incodeComponent-Brc9IhMv.js";
|
|
5
|
+
import { t as s } from "../spacer-DCljE53A.js";
|
|
6
|
+
import { t as c } from "../page-D5Mt-0zn.js";
|
|
7
|
+
import { t as l } from "../typography-BU5GeRw-.js";
|
|
8
|
+
import { t as u } from "../transitionSpinner-CisZoKUv.js";
|
|
9
|
+
import { t as d } from "../button-4-ToV5B_.js";
|
|
10
|
+
import { g as f } from "../icons-BtdVuyUn.js";
|
|
11
|
+
import { t as p } from "../successIcon-SlKgTSty.js";
|
|
12
|
+
import { t as m } from "../inputComposed-28d14HXP.js";
|
|
13
|
+
import { t as h } from "../dropdownComposed-z3-qcyhl.js";
|
|
14
14
|
import "../dropdownComposed-BDHVzek1.js";
|
|
15
|
-
import { t as
|
|
15
|
+
import { t as g } from "../dateInputComposed-CVqyqQIV.js";
|
|
16
16
|
import "../dateInputComposed-BE3SBKOa.js";
|
|
17
|
-
import { t as
|
|
18
|
-
import { createCurpValidationManager as
|
|
19
|
-
//#region src/
|
|
20
|
-
var
|
|
21
|
-
let
|
|
22
|
-
return
|
|
17
|
+
import { t as _ } from "../incodeModule-BH9gV7jI.js";
|
|
18
|
+
import { createCurpValidationManager as v, mexicanStates as y } from "@incodetech/core/curp-validation";
|
|
19
|
+
//#region src/shared/autoFocusTitle/autoFocusTitle.tsx
|
|
20
|
+
var b = ({ children: e, className: t }) => {
|
|
21
|
+
let a = r(null);
|
|
22
|
+
return n(() => {
|
|
23
|
+
a.current?.focus();
|
|
24
|
+
}, []), /* @__PURE__ */ i(l, {
|
|
25
|
+
ref: a,
|
|
26
|
+
tabIndex: -1,
|
|
27
|
+
className: t,
|
|
28
|
+
children: e
|
|
29
|
+
});
|
|
30
|
+
}, x = ({ curp: t, isValid: n, onCurpChange: r, onVerify: a, onSwitchToGenerate: o, disabled: c = !1, placeholder: l, continueLabel: u, dontHaveLabel: f }) => {
|
|
31
|
+
let { t: p } = e(), h = l ?? p("curp.placeholder.curp") ?? "CURP", g = u ?? p("curp.continue") ?? "Continue", _ = f ?? p("curp.dontHave") ?? "I don't have my CURP";
|
|
32
|
+
return /* @__PURE__ */ i("div", {
|
|
23
33
|
class: "IncodeCurpValidation IncodeCurpInput",
|
|
24
34
|
children: [
|
|
25
|
-
/* @__PURE__ */
|
|
35
|
+
/* @__PURE__ */ i(m, {
|
|
26
36
|
id: "curp-input",
|
|
27
|
-
label: "",
|
|
28
37
|
value: t,
|
|
29
38
|
onInput: (e) => {
|
|
30
39
|
let t = e.target;
|
|
31
|
-
|
|
40
|
+
r(t.value.toUpperCase());
|
|
32
41
|
},
|
|
33
42
|
placeholder: h,
|
|
34
|
-
disabled:
|
|
43
|
+
disabled: c,
|
|
35
44
|
maxLength: 18,
|
|
36
|
-
"aria-label":
|
|
45
|
+
"aria-label": p("curp.placeholder.curp") ?? "CURP"
|
|
37
46
|
}),
|
|
38
|
-
/* @__PURE__ */
|
|
39
|
-
/* @__PURE__ */
|
|
47
|
+
/* @__PURE__ */ i(s, {}),
|
|
48
|
+
/* @__PURE__ */ i(d, {
|
|
40
49
|
type: "button",
|
|
41
|
-
onClick:
|
|
42
|
-
disabled: !
|
|
50
|
+
onClick: a,
|
|
51
|
+
disabled: !n || c,
|
|
43
52
|
"data-testid": "curp-verify",
|
|
44
53
|
children: g
|
|
45
54
|
}),
|
|
46
|
-
/* @__PURE__ */
|
|
55
|
+
/* @__PURE__ */ i(d, {
|
|
47
56
|
type: "button",
|
|
48
|
-
|
|
49
|
-
|
|
57
|
+
variant: "secondary",
|
|
58
|
+
onClick: o,
|
|
59
|
+
disabled: c,
|
|
50
60
|
"data-testid": "curp-switch-to-generate",
|
|
51
|
-
class: "IncodeCurpInputDontHaveButton",
|
|
52
61
|
children: _
|
|
53
62
|
})
|
|
54
63
|
]
|
|
55
64
|
});
|
|
56
|
-
},
|
|
57
|
-
let { t:
|
|
58
|
-
firstName:
|
|
59
|
-
firstLast:
|
|
60
|
-
secondLast:
|
|
61
|
-
gender:
|
|
62
|
-
genderPlaceholder:
|
|
63
|
-
male:
|
|
64
|
-
female:
|
|
65
|
-
other:
|
|
66
|
-
dob:
|
|
67
|
-
birthState:
|
|
68
|
-
statePlaceholder:
|
|
69
|
-
generate:
|
|
70
|
-
...
|
|
71
|
-
},
|
|
65
|
+
}, S = ({ form: t, isValid: n, onFormChange: r, onGenerate: a, disabled: o = !1, labels: c }) => {
|
|
66
|
+
let { t: l } = e(), u = {
|
|
67
|
+
firstName: l("curp.labels.firstName") ?? "Your First name",
|
|
68
|
+
firstLast: l("curp.labels.firstLast") ?? "Your First last name",
|
|
69
|
+
secondLast: l("curp.labels.secondLast") ?? "Your Second last name",
|
|
70
|
+
gender: l("curp.labels.genderV2") ?? "Gender",
|
|
71
|
+
genderPlaceholder: l("curp.placeholder.gender") ?? "Choose gender",
|
|
72
|
+
male: l("curp.labels.maleV2") ?? "Male",
|
|
73
|
+
female: l("curp.labels.femaleV2") ?? "Female",
|
|
74
|
+
other: l("curp.labels.other") ?? "Other",
|
|
75
|
+
dob: l("curp.labels.dob") ?? "Date of birth",
|
|
76
|
+
birthState: l("curp.labels.birthState") ?? "State of birth",
|
|
77
|
+
statePlaceholder: l("curp.placeholder.state") ?? "Select state",
|
|
78
|
+
generate: l("curp.generateCta") ?? "Generate CURP",
|
|
79
|
+
...c
|
|
80
|
+
}, f = (e) => (t) => {
|
|
72
81
|
let n = t.target;
|
|
73
|
-
|
|
74
|
-
},
|
|
82
|
+
r({ [e]: n.value });
|
|
83
|
+
}, p = [
|
|
75
84
|
{
|
|
76
85
|
value: "H",
|
|
77
|
-
label:
|
|
86
|
+
label: u.male
|
|
78
87
|
},
|
|
79
88
|
{
|
|
80
89
|
value: "M",
|
|
81
|
-
label:
|
|
90
|
+
label: u.female
|
|
82
91
|
},
|
|
83
92
|
{
|
|
84
93
|
value: "X",
|
|
85
|
-
label:
|
|
94
|
+
label: u.other
|
|
86
95
|
}
|
|
87
|
-
],
|
|
96
|
+
], _ = y.map((e) => ({
|
|
88
97
|
value: e.value,
|
|
89
98
|
label: e.label
|
|
90
99
|
}));
|
|
91
|
-
return /* @__PURE__ */
|
|
100
|
+
return /* @__PURE__ */ i("div", {
|
|
92
101
|
class: "IncodeCurpValidation IncodeGenerateCurpForm",
|
|
93
102
|
children: [
|
|
94
|
-
/* @__PURE__ */
|
|
103
|
+
/* @__PURE__ */ i(m, {
|
|
95
104
|
id: "curp-first-name",
|
|
96
|
-
label:
|
|
105
|
+
label: u.firstName,
|
|
97
106
|
value: t.name,
|
|
98
|
-
onInput:
|
|
99
|
-
placeholder:
|
|
100
|
-
disabled:
|
|
107
|
+
onInput: f("name"),
|
|
108
|
+
placeholder: u.firstName,
|
|
109
|
+
disabled: o,
|
|
101
110
|
autoComplete: "given-name"
|
|
102
111
|
}),
|
|
103
|
-
/* @__PURE__ */
|
|
112
|
+
/* @__PURE__ */ i(m, {
|
|
104
113
|
id: "curp-first-last",
|
|
105
|
-
label:
|
|
114
|
+
label: u.firstLast,
|
|
106
115
|
value: t.firstLastName,
|
|
107
|
-
onInput:
|
|
108
|
-
placeholder:
|
|
109
|
-
disabled:
|
|
116
|
+
onInput: f("firstLastName"),
|
|
117
|
+
placeholder: u.firstLast,
|
|
118
|
+
disabled: o
|
|
110
119
|
}),
|
|
111
|
-
/* @__PURE__ */
|
|
120
|
+
/* @__PURE__ */ i(m, {
|
|
112
121
|
id: "curp-second-last",
|
|
113
|
-
label:
|
|
122
|
+
label: u.secondLast,
|
|
114
123
|
value: t.secondLastName,
|
|
115
|
-
onInput:
|
|
116
|
-
placeholder:
|
|
117
|
-
disabled:
|
|
124
|
+
onInput: f("secondLastName"),
|
|
125
|
+
placeholder: u.secondLast,
|
|
126
|
+
disabled: o
|
|
118
127
|
}),
|
|
119
|
-
/* @__PURE__ */
|
|
128
|
+
/* @__PURE__ */ i(h, {
|
|
120
129
|
id: "curp-gender",
|
|
121
|
-
label:
|
|
122
|
-
placeholder:
|
|
130
|
+
label: u.gender,
|
|
131
|
+
placeholder: u.genderPlaceholder,
|
|
123
132
|
value: t.gender,
|
|
124
|
-
options:
|
|
125
|
-
disabled:
|
|
126
|
-
onChange: (e) =>
|
|
133
|
+
options: p,
|
|
134
|
+
disabled: o,
|
|
135
|
+
onChange: (e) => r({ gender: e }),
|
|
127
136
|
"data-testid": "curp-gender"
|
|
128
137
|
}),
|
|
129
|
-
/* @__PURE__ */
|
|
138
|
+
/* @__PURE__ */ i(g, {
|
|
130
139
|
id: "curp-birth-date",
|
|
131
|
-
label:
|
|
140
|
+
label: u.dob,
|
|
132
141
|
value: t.birthDate,
|
|
133
|
-
onInput:
|
|
142
|
+
onInput: f("birthDate"),
|
|
134
143
|
max: (/* @__PURE__ */ new Date()).toISOString().split("T")[0],
|
|
135
|
-
placeholder:
|
|
136
|
-
disabled:
|
|
144
|
+
placeholder: l("curp.placeholder.dob") ?? "mm/dd/yyyy",
|
|
145
|
+
disabled: o,
|
|
137
146
|
"data-testid": "curp-birth-date"
|
|
138
147
|
}),
|
|
139
|
-
/* @__PURE__ */
|
|
148
|
+
/* @__PURE__ */ i(h, {
|
|
140
149
|
id: "curp-birth-state",
|
|
141
|
-
label:
|
|
142
|
-
placeholder:
|
|
150
|
+
label: u.birthState,
|
|
151
|
+
placeholder: u.statePlaceholder,
|
|
143
152
|
value: t.birthState,
|
|
144
|
-
options:
|
|
145
|
-
disabled:
|
|
146
|
-
onChange: (e) =>
|
|
153
|
+
options: _,
|
|
154
|
+
disabled: o,
|
|
155
|
+
onChange: (e) => r({ birthState: e }),
|
|
147
156
|
"data-testid": "curp-birth-state",
|
|
148
157
|
searchable: !0
|
|
149
158
|
}),
|
|
150
|
-
/* @__PURE__ */
|
|
151
|
-
/* @__PURE__ */
|
|
159
|
+
/* @__PURE__ */ i(s, { size: 16 }),
|
|
160
|
+
/* @__PURE__ */ i(d, {
|
|
152
161
|
type: "button",
|
|
153
|
-
onClick:
|
|
154
|
-
disabled: !
|
|
162
|
+
onClick: a,
|
|
163
|
+
disabled: !n || o,
|
|
155
164
|
"data-testid": "curp-generate",
|
|
156
|
-
children:
|
|
165
|
+
children: u.generate
|
|
157
166
|
})
|
|
158
167
|
]
|
|
159
168
|
});
|
|
160
|
-
},
|
|
161
|
-
let { t:
|
|
162
|
-
if (!
|
|
163
|
-
return
|
|
164
|
-
});
|
|
165
|
-
if (m.status === "idle" || m.status === "loading" || m.status === "verifying" || m.status === "generating") return /* @__PURE__ */ n(o, {
|
|
166
|
-
className: "IncodeCurpValidationPage",
|
|
167
|
-
children: /* @__PURE__ */ n("div", {
|
|
168
|
-
class: "IncodeCurpValidation IncodeCurpLoading",
|
|
169
|
-
children: /* @__PURE__ */ n(s, {
|
|
170
|
-
title: m.status === "generating" ? p("curp.status.generating") ?? "Generating..." : p("curp.status.verifying") ?? "Verifying...",
|
|
171
|
-
fullScreen: !1
|
|
172
|
-
})
|
|
173
|
-
})
|
|
169
|
+
}, C = ({ config: n, onFinish: r, onError: o }) => {
|
|
170
|
+
let { t: l } = e(), [h, g] = a(() => {
|
|
171
|
+
if (!n) throw Error("CURP validation config is required");
|
|
172
|
+
return v({ config: n });
|
|
174
173
|
});
|
|
175
|
-
if (
|
|
174
|
+
if (h.status === "idle" || h.status === "loading" || h.status === "verifying" || h.status === "generating") return /* @__PURE__ */ i(u, { spinnerConfig: { title: h.status === "generating" ? l("curp.status.generating") ?? "Generating..." : l("curp.status.verifying") ?? "Verifying..." } });
|
|
175
|
+
if (h.status === "enterCurp") return /* @__PURE__ */ i(c, {
|
|
176
176
|
className: "IncodeCurpValidationPage",
|
|
177
|
-
title:
|
|
178
|
-
children: /* @__PURE__ */
|
|
179
|
-
curp:
|
|
180
|
-
isValid:
|
|
177
|
+
title: l("curp.enterCurp") ?? "Enter your CURP",
|
|
178
|
+
children: /* @__PURE__ */ i(x, {
|
|
179
|
+
curp: h.curp,
|
|
180
|
+
isValid: h.isValid,
|
|
181
181
|
onCurpChange: (e) => g.setCurp(e),
|
|
182
182
|
onVerify: () => g.verify(),
|
|
183
183
|
onSwitchToGenerate: () => g.switchToGenerate(),
|
|
184
|
-
placeholder:
|
|
185
|
-
continueLabel:
|
|
186
|
-
dontHaveLabel:
|
|
184
|
+
placeholder: l("curp.placeholder.curp") ?? "CURP",
|
|
185
|
+
continueLabel: l("curp.continue") ?? "Continue",
|
|
186
|
+
dontHaveLabel: l("curp.dontHave") ?? "I don't have my CURP"
|
|
187
187
|
})
|
|
188
188
|
});
|
|
189
|
-
if (
|
|
189
|
+
if (h.status === "generateCurp") return /* @__PURE__ */ i(c, {
|
|
190
190
|
className: "IncodeCurpValidationPage",
|
|
191
|
-
title:
|
|
192
|
-
children: /* @__PURE__ */
|
|
193
|
-
form:
|
|
194
|
-
isValid:
|
|
191
|
+
title: l("curp.generate") ?? "Generate your CURP",
|
|
192
|
+
children: /* @__PURE__ */ i(S, {
|
|
193
|
+
form: h.form,
|
|
194
|
+
isValid: h.isValid,
|
|
195
195
|
onFormChange: (e) => g.setGenerateForm(e),
|
|
196
196
|
onGenerate: () => g.generate()
|
|
197
197
|
})
|
|
198
198
|
});
|
|
199
|
-
if (
|
|
199
|
+
if (h.status === "confirmCurp") return /* @__PURE__ */ i(c, {
|
|
200
200
|
className: "IncodeCurpValidationPage",
|
|
201
|
-
title:
|
|
202
|
-
children: /* @__PURE__ */
|
|
201
|
+
title: l("curp.status.confirm") ?? "Confirm your CURP",
|
|
202
|
+
children: /* @__PURE__ */ i("div", {
|
|
203
203
|
class: "IncodeCurpValidation IncodeCurpConfirm",
|
|
204
204
|
children: [
|
|
205
|
-
/* @__PURE__ */
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
value: m.curp,
|
|
205
|
+
/* @__PURE__ */ i(m, {
|
|
206
|
+
id: "curp-confirm-input",
|
|
207
|
+
value: h.curp,
|
|
209
208
|
readOnly: !0,
|
|
210
|
-
"aria-label":
|
|
209
|
+
"aria-label": l("curp.status.generatedCurp") ?? "Generated CURP",
|
|
210
|
+
"data-testid": "curp-confirm-input"
|
|
211
211
|
}),
|
|
212
|
-
/* @__PURE__ */
|
|
213
|
-
/* @__PURE__ */
|
|
212
|
+
/* @__PURE__ */ i(s, {}),
|
|
213
|
+
/* @__PURE__ */ i(d, {
|
|
214
214
|
type: "button",
|
|
215
215
|
onClick: () => g.confirmGenerated(),
|
|
216
216
|
"data-testid": "curp-confirm",
|
|
217
|
-
children:
|
|
217
|
+
children: l("curp.continue") ?? "Continue"
|
|
218
218
|
})
|
|
219
219
|
]
|
|
220
220
|
})
|
|
221
221
|
});
|
|
222
|
-
if (
|
|
222
|
+
if (h.status === "success") return /* @__PURE__ */ i(c, {
|
|
223
223
|
className: "IncodeCurpValidationPage",
|
|
224
|
-
children: /* @__PURE__ */
|
|
224
|
+
children: /* @__PURE__ */ i("div", {
|
|
225
225
|
class: "IncodeCurpValidation IncodeCurpSuccess",
|
|
226
226
|
children: [
|
|
227
|
-
/* @__PURE__ */
|
|
228
|
-
/* @__PURE__ */
|
|
229
|
-
/* @__PURE__ */
|
|
230
|
-
|
|
231
|
-
children:
|
|
227
|
+
/* @__PURE__ */ i(p, { size: 64 }),
|
|
228
|
+
/* @__PURE__ */ i(s, { size: 16 }),
|
|
229
|
+
/* @__PURE__ */ i(b, {
|
|
230
|
+
className: "IncodeCurpSuccessTitle",
|
|
231
|
+
children: l("curp.status.verified") ?? "Verified"
|
|
232
232
|
})
|
|
233
233
|
]
|
|
234
234
|
})
|
|
235
235
|
});
|
|
236
|
-
if (
|
|
237
|
-
let e =
|
|
238
|
-
return /* @__PURE__ */
|
|
236
|
+
if (h.status === "failure" || h.status === "generateError") {
|
|
237
|
+
let e = h.retriesLeft > 0, n = h.status === "failure" ? l("curp.status.notVerified") ?? "Not verified" : l("curp.status.couldntGenerate") ?? "Couldn't generate CURP";
|
|
238
|
+
return /* @__PURE__ */ i(c, {
|
|
239
239
|
className: "IncodeCurpValidationPage",
|
|
240
|
-
children: /* @__PURE__ */
|
|
240
|
+
children: /* @__PURE__ */ i("div", {
|
|
241
241
|
class: "IncodeCurpValidation IncodeCurpFailure",
|
|
242
242
|
children: [
|
|
243
|
-
/* @__PURE__ */
|
|
244
|
-
/* @__PURE__ */
|
|
245
|
-
/* @__PURE__ */
|
|
246
|
-
/* @__PURE__ */
|
|
247
|
-
|
|
248
|
-
children:
|
|
243
|
+
/* @__PURE__ */ i(s, {}),
|
|
244
|
+
/* @__PURE__ */ i(f, { size: 64 }),
|
|
245
|
+
/* @__PURE__ */ i(s, { size: 16 }),
|
|
246
|
+
/* @__PURE__ */ i(b, {
|
|
247
|
+
className: "IncodeCurpFailureTitle",
|
|
248
|
+
children: n
|
|
249
249
|
}),
|
|
250
|
-
|
|
250
|
+
h.status === "generateError" && e && /* @__PURE__ */ i(t, { children: [/* @__PURE__ */ i(s, { size: 12 }), /* @__PURE__ */ i("p", {
|
|
251
251
|
class: "IncodeCurpFailureHint",
|
|
252
|
-
|
|
252
|
+
role: "alert",
|
|
253
|
+
children: l("curp.status.checkInfo") ?? "Please check your information"
|
|
253
254
|
})] }),
|
|
254
|
-
/* @__PURE__ */
|
|
255
|
-
e && /* @__PURE__ */
|
|
255
|
+
/* @__PURE__ */ i(s, {}),
|
|
256
|
+
e && /* @__PURE__ */ i(t, { children: /* @__PURE__ */ i(d, {
|
|
256
257
|
type: "button",
|
|
257
258
|
onClick: () => g.retry(),
|
|
258
259
|
"data-testid": "curp-retry",
|
|
259
|
-
children:
|
|
260
|
+
children: h.status === "failure" ? l("curp.status.tryAgain") ?? "Try again" : l("curp.status.edit") ?? "Edit information"
|
|
260
261
|
}) })
|
|
261
262
|
]
|
|
262
263
|
})
|
|
263
264
|
});
|
|
264
265
|
}
|
|
265
|
-
return
|
|
266
|
-
},
|
|
266
|
+
return h.status === "finished" ? (r?.(), null) : (h.status === "closed" && o?.(void 0), null);
|
|
267
|
+
}, w = ({ config: e, onFinish: t, onError: n }) => /* @__PURE__ */ i(o, { children: e ? /* @__PURE__ */ i(C, {
|
|
267
268
|
config: e,
|
|
268
269
|
onFinish: t,
|
|
269
|
-
onError:
|
|
270
|
+
onError: n
|
|
270
271
|
}) : null });
|
|
271
|
-
|
|
272
|
+
_(w, "incode-curp-validation");
|
|
272
273
|
//#endregion
|
|
273
|
-
export {
|
|
274
|
+
export { w as CurpValidation };
|
|
@@ -1,151 +1,82 @@
|
|
|
1
1
|
/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
--tw-border-style: solid;
|
|
6
|
-
--tw-font-weight: initial;
|
|
7
|
-
--tw-leading: initial;
|
|
8
|
-
--tw-tracking: initial;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.IncodeCurpValidation {
|
|
2
|
+
.IncodeCurpValidationPage .IncodePageContent {
|
|
3
|
+
padding-top: var(--spacing-32, var(--spacing-32, 32px));
|
|
4
|
+
padding-bottom: var(--spacing-16, var(--spacing-16, 16px));
|
|
14
5
|
flex-direction: column;
|
|
15
6
|
align-items: center;
|
|
16
|
-
width: 100%;
|
|
17
|
-
height: 100%;
|
|
18
7
|
display: flex;
|
|
19
8
|
}
|
|
20
9
|
|
|
21
|
-
.IncodeCurpValidationPage .
|
|
22
|
-
padding-top: var(--spacing-32, var(--spacing-32, 32px));
|
|
23
|
-
padding-bottom: var(--spacing-16, var(--spacing-16, 16px));
|
|
10
|
+
.IncodeCurpValidationPage .IncodeCurpValidation {
|
|
24
11
|
flex-direction: column;
|
|
25
12
|
align-items: center;
|
|
13
|
+
width: 100%;
|
|
14
|
+
height: 100%;
|
|
26
15
|
display: flex;
|
|
27
16
|
}
|
|
28
17
|
|
|
29
|
-
.IncodeCurpInput {
|
|
18
|
+
.IncodeCurpValidationPage .IncodeCurpInput {
|
|
30
19
|
min-height: var(--spacing-0, var(--spacing-none, 0px));
|
|
20
|
+
width: 100%;
|
|
21
|
+
max-width: var(--incode-form-max-w);
|
|
31
22
|
gap: var(--spacing-16, var(--spacing-16, 16px));
|
|
32
23
|
flex-direction: column;
|
|
33
24
|
flex: 1;
|
|
34
|
-
width: 100%;
|
|
35
|
-
max-width: 420px;
|
|
36
25
|
display: flex;
|
|
37
26
|
}
|
|
38
27
|
|
|
39
|
-
.
|
|
40
|
-
|
|
41
|
-
border-width: var(--border-width-medium, var(--primitive-border-width-1-5));
|
|
42
|
-
border-color: var(--color-button-primary-surface-default, var(--button-primary-surface-default));
|
|
43
|
-
color: var(--color-button-primary-surface-default, var(--button-primary-surface-default));
|
|
44
|
-
background-color: #0000;
|
|
28
|
+
.IncodeCurpValidationPage .IncodeCurpInput .IncodeButtonSecondary:focus {
|
|
29
|
+
text-decoration: none;
|
|
45
30
|
}
|
|
46
31
|
|
|
47
|
-
.
|
|
48
|
-
|
|
49
|
-
flex-direction: column;
|
|
50
|
-
width: 100%;
|
|
51
|
-
max-width: 420px;
|
|
52
|
-
display: flex;
|
|
32
|
+
.IncodeCurpValidationPage .IncodeCurpInput .IncodeButtonSecondary:active {
|
|
33
|
+
color: var(--color-button-secondary-text-default, var(--button-secondary-text-default));
|
|
53
34
|
}
|
|
54
35
|
|
|
55
|
-
.
|
|
56
|
-
gap: var(--spacing-4, var(--spacing-4, 4px));
|
|
57
|
-
flex-direction: column;
|
|
36
|
+
.IncodeCurpValidationPage .IncodeGenerateCurpForm {
|
|
58
37
|
width: 100%;
|
|
38
|
+
max-width: var(--incode-form-max-w);
|
|
39
|
+
gap: var(--spacing-8, var(--spacing-8, 8px));
|
|
40
|
+
flex-direction: column;
|
|
59
41
|
display: flex;
|
|
60
42
|
}
|
|
61
43
|
|
|
62
|
-
.
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
|
|
66
|
-
color: var(--color-text-body-primary, var(--text-body-800-primary));
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.IncodeCurpConfirm {
|
|
44
|
+
.IncodeCurpValidationPage .IncodeCurpConfirm {
|
|
45
|
+
width: 100%;
|
|
46
|
+
max-width: var(--incode-curp-confirm-max-w);
|
|
70
47
|
flex-direction: column;
|
|
71
48
|
align-items: center;
|
|
72
|
-
width: 100%;
|
|
73
|
-
max-width: 340px;
|
|
74
49
|
display: flex;
|
|
75
50
|
}
|
|
76
51
|
|
|
77
|
-
.
|
|
78
|
-
border-radius: var(--radius-small, var(--border-radius-small));
|
|
79
|
-
border-style: var(--tw-border-style);
|
|
80
|
-
border-width: 1px;
|
|
81
|
-
border-color: var(--color-input-border-default, var(--input-border-default));
|
|
82
|
-
background-color: var(--color-input-surface-default, var(--input-surface-default));
|
|
83
|
-
width: 100%;
|
|
84
|
-
padding-inline: var(--spacing-16, var(--spacing-16, 16px));
|
|
85
|
-
padding-block: var(--spacing-12, var(--spacing-12, 12px));
|
|
52
|
+
.IncodeCurpValidationPage .IncodeCurpConfirm .IncodeInput {
|
|
86
53
|
text-align: center;
|
|
87
|
-
font-
|
|
88
|
-
|
|
89
|
-
font-weight: var(--
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
.IncodeCurpLoading {
|
|
94
|
-
height: 100%;
|
|
95
|
-
min-height: var(--spacing-0, var(--spacing-none, 0px));
|
|
96
|
-
flex-direction: column;
|
|
97
|
-
flex: 1;
|
|
98
|
-
justify-content: center;
|
|
99
|
-
align-items: center;
|
|
100
|
-
display: flex;
|
|
54
|
+
font-family: var(--typography-input-dropdown-family);
|
|
55
|
+
font-size: var(--typography-input-dropdown-m-size);
|
|
56
|
+
font-weight: var(--typography-input-dropdown-m-weight);
|
|
57
|
+
line-height: var(--typography-input-dropdown-m-line-height);
|
|
58
|
+
letter-spacing: var(--typography-input-dropdown-m-letter-spacing);
|
|
101
59
|
}
|
|
102
60
|
|
|
103
|
-
.IncodeCurpSuccess, .IncodeCurpFailure {
|
|
61
|
+
.IncodeCurpValidationPage .IncodeCurpSuccess, .IncodeCurpValidationPage .IncodeCurpFailure {
|
|
104
62
|
flex-direction: column;
|
|
105
63
|
justify-content: center;
|
|
106
64
|
align-items: center;
|
|
107
65
|
display: flex;
|
|
108
66
|
}
|
|
109
67
|
|
|
110
|
-
.
|
|
68
|
+
.IncodeCurpValidationPage .IncodeCurpSuccessTitle, .IncodeCurpValidationPage .IncodeCurpFailureTitle {
|
|
111
69
|
margin: var(--spacing-0, var(--spacing-none, 0px));
|
|
112
70
|
padding: var(--spacing-0, var(--spacing-none, 0px));
|
|
113
|
-
text-align: center;
|
|
114
|
-
font-size: var(--text-2xl, 1.5rem);
|
|
115
|
-
line-height: var(--tw-leading, var(--text-2xl--line-height, calc(2 / 1.5)));
|
|
116
|
-
--tw-leading: 1.25;
|
|
117
|
-
--tw-font-weight: var(--font-weight-bold, var(--primitive-typography-weight-bold));
|
|
118
|
-
line-height: 1.25;
|
|
119
|
-
font-weight: var(--font-weight-bold, var(--primitive-typography-weight-bold));
|
|
120
|
-
--tw-tracking: -1px;
|
|
121
|
-
letter-spacing: -1px;
|
|
122
|
-
color: var(--color-text-body-primary, var(--text-body-800-primary));
|
|
123
71
|
}
|
|
124
72
|
|
|
125
|
-
.IncodeCurpFailureHint {
|
|
73
|
+
.IncodeCurpValidationPage .IncodeCurpFailureHint {
|
|
126
74
|
margin: var(--spacing-0, var(--spacing-none, 0px));
|
|
127
75
|
text-align: center;
|
|
128
|
-
font-
|
|
76
|
+
font-family: var(--typography-headline-family);
|
|
77
|
+
font-size: var(--typography-headline-h5-size);
|
|
78
|
+
font-weight: var(--typography-headline-h5-weight);
|
|
79
|
+
line-height: var(--typography-headline-h5-line-height);
|
|
80
|
+
letter-spacing: var(--typography-headline-h5-letter-spacing);
|
|
129
81
|
color: var(--color-text-body-secondary, var(--text-body-500-secondary));
|
|
130
82
|
}
|
|
131
|
-
|
|
132
|
-
@property --tw-border-style {
|
|
133
|
-
syntax: "*";
|
|
134
|
-
inherits: false;
|
|
135
|
-
initial-value: solid;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
@property --tw-font-weight {
|
|
139
|
-
syntax: "*";
|
|
140
|
-
inherits: false
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
@property --tw-leading {
|
|
144
|
-
syntax: "*";
|
|
145
|
-
inherits: false
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
@property --tw-tracking {
|
|
149
|
-
syntax: "*";
|
|
150
|
-
inherits: false
|
|
151
|
-
}
|