@incodetech/web 0.0.0-dev-20260602-5f4d4b36 → 0.0.0-dev-20260603-043161c0

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/base.css CHANGED
@@ -2489,6 +2489,51 @@
2489
2489
  }
2490
2490
  }
2491
2491
 
2492
+ @media (min-width: 40rem) {
2493
+ .incode-container {
2494
+ max-width: 40rem;
2495
+ }
2496
+ }
2497
+
2498
+ @media (min-width: 48rem) {
2499
+ .incode-container {
2500
+ max-width: 48rem;
2501
+ }
2502
+ }
2503
+
2504
+ @media (min-width: 64rem) {
2505
+ .incode-container {
2506
+ max-width: 64rem;
2507
+ }
2508
+ }
2509
+
2510
+ @media (min-width: 80rem) {
2511
+ .incode-container {
2512
+ max-width: 80rem;
2513
+ }
2514
+ }
2515
+
2516
+ @media (min-width: 96rem) {
2517
+ .incode-container {
2518
+ max-width: 96rem;
2519
+ }
2520
+ }
2521
+
2522
+ @media (min-width: 48rem) {
2523
+ .incode-container {
2524
+ max-height: var(--incode-page-max-h);
2525
+ max-width: var(--incode-page-max-w);
2526
+ }
2527
+
2528
+ @media not all and (min-width: 80rem) {
2529
+ @media (orientation: landscape) {
2530
+ .incode-container {
2531
+ max-height: var(--incode-page-max-h-landscape);
2532
+ }
2533
+ }
2534
+ }
2535
+ }
2536
+
2492
2537
  .incode-container {
2493
2538
  width: 100%;
2494
2539
  }
@@ -2925,6 +2970,11 @@
2925
2970
  font-weight: var(--typography-button-m-underlined-weight);
2926
2971
  line-height: var(--typography-button-m-underlined-line-height);
2927
2972
  letter-spacing: var(--typography-button-m-underlined-letter-spacing);
2973
+ font-family: var(--typography-button-family);
2974
+ font-size: var(--typography-button-m-underlined-size);
2975
+ font-weight: var(--typography-button-m-underlined-weight);
2976
+ line-height: var(--typography-button-m-underlined-line-height);
2977
+ letter-spacing: var(--typography-button-m-underlined-letter-spacing);
2928
2978
  text-decoration-line: underline;
2929
2979
  text-decoration-style: solid;
2930
2980
  text-decoration-thickness: auto;
@@ -6954,6 +7004,51 @@
6954
7004
  }
6955
7005
  }
6956
7006
 
7007
+ @media (min-width: 40rem) {
7008
+ .IncodePageContainer .IncodePageInner {
7009
+ max-width: 40rem;
7010
+ }
7011
+ }
7012
+
7013
+ @media (min-width: 48rem) {
7014
+ .IncodePageContainer .IncodePageInner {
7015
+ max-width: 48rem;
7016
+ }
7017
+ }
7018
+
7019
+ @media (min-width: 64rem) {
7020
+ .IncodePageContainer .IncodePageInner {
7021
+ max-width: 64rem;
7022
+ }
7023
+ }
7024
+
7025
+ @media (min-width: 80rem) {
7026
+ .IncodePageContainer .IncodePageInner {
7027
+ max-width: 80rem;
7028
+ }
7029
+ }
7030
+
7031
+ @media (min-width: 96rem) {
7032
+ .IncodePageContainer .IncodePageInner {
7033
+ max-width: 96rem;
7034
+ }
7035
+ }
7036
+
7037
+ @media (min-width: 48rem) {
7038
+ .IncodePageContainer .IncodePageInner {
7039
+ max-height: var(--incode-page-max-h);
7040
+ max-width: var(--incode-page-max-w);
7041
+ }
7042
+
7043
+ @media not all and (min-width: 80rem) {
7044
+ @media (orientation: landscape) {
7045
+ .IncodePageContainer .IncodePageInner {
7046
+ max-height: var(--incode-page-max-h-landscape);
7047
+ }
7048
+ }
7049
+ }
7050
+ }
7051
+
6957
7052
  .IncodePageContainer .IncodePageInner {
6958
7053
  width: 100%;
6959
7054
  }
@@ -8239,6 +8334,44 @@
8239
8334
  display: flex;
8240
8335
  }
8241
8336
 
8337
+ .IncodeVerificationResult .IncodePageContent {
8338
+ gap: var(--spacing-16, var(--spacing-16, 16px));
8339
+ padding-bottom: var(--spacing-16, var(--spacing-16, 16px));
8340
+ animation: fadeIn var(--motion-fade-in-duration, .7s) ease-out;
8341
+ animation-fill-mode: both;
8342
+ }
8343
+
8344
+ .IncodeVerificationResult__center {
8345
+ width: 100%;
8346
+ max-width: var(--incode-form-max-w);
8347
+ justify-content: center;
8348
+ align-items: center;
8349
+ gap: var(--spacing-16, var(--spacing-16, 16px));
8350
+ flex-direction: column;
8351
+ flex: 1;
8352
+ margin-inline: auto;
8353
+ display: flex;
8354
+ }
8355
+
8356
+ .IncodeVerificationResult__title {
8357
+ text-align: center;
8358
+ font-family: var(--typography-headline-family);
8359
+ font-size: var(--typography-headline-h2-size);
8360
+ font-weight: var(--typography-headline-h2-weight);
8361
+ line-height: var(--typography-headline-h2-line-height);
8362
+ letter-spacing: var(--typography-headline-h2-letter-spacing);
8363
+ color: var(--color-text-body-primary, var(--text-body-800-primary));
8364
+ }
8365
+
8366
+ .IncodeVerificationResult__actions {
8367
+ width: 100%;
8368
+ max-width: var(--incode-form-max-w);
8369
+ gap: var(--spacing-12, var(--spacing-12, 12px));
8370
+ flex-direction: column;
8371
+ margin-inline: auto;
8372
+ display: flex;
8373
+ }
8374
+
8242
8375
  .IncodeAddressAutocomplete {
8243
8376
  width: 100%;
8244
8377
  position: relative;
@@ -12,84 +12,98 @@ import { t as h } from "../richText-DPdexfgN.js";
12
12
  import { n as g, t as _ } from "../requiredLabelHint-B6FN3v88.js";
13
13
  import { createConsentManager as v } from "@incodetech/core/consent";
14
14
  //#region src/modules/consent/consent.tsx
15
- var y = ({ config: c, manager: m, onFinish: y, onError: b }) => {
16
- let { t: x } = e(), S = r(null), [C, w] = o(() => {
15
+ var y = (e) => {
16
+ e.target.closest("a") && e.stopPropagation();
17
+ }, b = ({ config: c, manager: m, onFinish: b, onError: x }) => {
18
+ let { t: S, i18n: C } = e(), w = r(null), [T, E] = o(() => {
17
19
  if (m) return m;
18
20
  if (!c) throw Error("Consent config is required");
19
- return v({ config: c });
21
+ return v({ config: {
22
+ ...c,
23
+ language: C.language
24
+ } });
20
25
  }, { manageLifecycle: !m });
21
26
  t(() => {
22
- C.status === "display" && S.current?.focus();
23
- }, [C.status]);
24
- let T = "checkboxes" in C ? C.checkboxes : void 0, E = n(() => g(T?.map((e) => e.required) ?? []), [T]);
27
+ T.status === "display" && w.current?.focus();
28
+ }, [T.status]);
29
+ let D = "checkboxes" in T ? T.checkboxes : void 0, O = n(() => g(D?.map((e) => e.required) ?? []), [D]);
25
30
  return s({
26
- status: C.status,
27
- onFinish: y,
28
- onError: b,
29
- error: C.status === "error" ? C.error : void 0
30
- }), a(C) ? null : C.status === "idle" || C.status === "loading" ? /* @__PURE__ */ i(d, { hideText: !0 }) : /* @__PURE__ */ i(l, {
31
+ status: T.status,
32
+ onFinish: b,
33
+ onError: x,
34
+ error: T.status === "error" ? T.error : void 0
35
+ }), a(T) ? null : T.status === "idle" || T.status === "loading" ? /* @__PURE__ */ i(d, { hideText: !0 }) : /* @__PURE__ */ i(l, {
31
36
  className: "IncodeConsentPage",
32
37
  hideFooterBranding: !0,
33
38
  hideHeader: !0,
34
39
  children: /* @__PURE__ */ i("div", {
35
40
  class: "IncodeConsentContent",
36
- children: [/* @__PURE__ */ i("div", {
37
- class: "IncodeConsentBody",
38
- children: [
39
- /* @__PURE__ */ i(u, {
40
- ref: S,
41
- className: "IncodeConsentTitle",
42
- tabIndex: -1,
43
- children: C.title
44
- }),
45
- /* @__PURE__ */ i(h, {
46
- content: C.richText,
47
- class: "IncodeRichText"
48
- }),
49
- /* @__PURE__ */ i("div", {
50
- class: "IncodeConsentCheckboxList",
51
- role: "group",
52
- "aria-label": x("biometricConsent.consentOptions"),
53
- children: C.checkboxes.map((e) => {
54
- let t = _(E, e.required), n = t ? x(`forms.label.${t}`) : void 0;
55
- return /* @__PURE__ */ i(p, {
56
- id: `consent-checkbox-${e.id}`,
57
- class: "IncodeConsentCheckbox",
58
- size: "s",
59
- checked: e.checked,
60
- required: e.required,
61
- labelHint: n,
62
- onChange: () => w.toggleCheckbox(e.id),
63
- label: /* @__PURE__ */ i("span", {
64
- class: "IncodeConsentCheckboxLabel",
65
- onClick: (e) => {
66
- e.target.closest("a") && e.stopPropagation();
67
- },
68
- children: /* @__PURE__ */ i(h, {
69
- content: e.label,
70
- class: "IncodeRichText",
71
- disallowedTags: ["img"]
41
+ children: [
42
+ /* @__PURE__ */ i("div", {
43
+ class: "IncodeConsentBody",
44
+ children: [
45
+ /* @__PURE__ */ i(u, {
46
+ ref: w,
47
+ className: "IncodeConsentTitle",
48
+ tabIndex: -1,
49
+ children: T.title
50
+ }),
51
+ /* @__PURE__ */ i(h, {
52
+ content: T.richText,
53
+ class: "IncodeRichText"
54
+ }),
55
+ /* @__PURE__ */ i("div", {
56
+ class: "IncodeConsentCheckboxList",
57
+ role: "group",
58
+ "aria-label": S("biometricConsent.consentOptions"),
59
+ children: T.checkboxes.map((e) => {
60
+ let t = _(O, e.required), n = t ? S(`forms.label.${t}`) : void 0;
61
+ return /* @__PURE__ */ i(p, {
62
+ id: `consent-checkbox-${e.id}`,
63
+ class: "IncodeConsentCheckbox",
64
+ size: "s",
65
+ checked: e.checked,
66
+ required: e.required,
67
+ labelHint: n,
68
+ onChange: () => E.toggleCheckbox(e.id),
69
+ label: /* @__PURE__ */ i("span", {
70
+ class: "IncodeConsentCheckboxLabel",
71
+ role: "presentation",
72
+ onClick: y,
73
+ onKeyDown: y,
74
+ children: /* @__PURE__ */ i(h, {
75
+ content: e.label,
76
+ class: "IncodeRichText",
77
+ disallowedTags: ["img"]
78
+ })
72
79
  })
73
- })
74
- }, e.id);
80
+ }, e.id);
81
+ })
75
82
  })
76
- })
77
- ]
78
- }), /* @__PURE__ */ i(f, {
79
- "data-testid": "consent-submit",
80
- onClick: () => w.submit(),
81
- disabled: !C.canSubmit,
82
- isLoading: C.status === "submitting",
83
- children: x("biometricConsent.button.continue")
84
- })]
83
+ ]
84
+ }),
85
+ T.status === "display" && T.error ? /* @__PURE__ */ i("p", {
86
+ class: "IncodeConsentSubmitError",
87
+ "data-testid": "consent-submit-error",
88
+ role: "alert",
89
+ children: T.error
90
+ }) : null,
91
+ /* @__PURE__ */ i(f, {
92
+ "data-testid": "consent-submit",
93
+ onClick: () => E.submit(),
94
+ disabled: !T.canSubmit,
95
+ isLoading: T.status === "submitting",
96
+ children: S("biometricConsent.button.continue")
97
+ })
98
+ ]
85
99
  })
86
100
  }, "ready");
87
- }, b = ({ config: e, manager: t, onFinish: n, onError: r }) => /* @__PURE__ */ i(c, { children: e ? /* @__PURE__ */ i(y, {
101
+ }, x = ({ config: e, manager: t, onFinish: n, onError: r }) => /* @__PURE__ */ i(c, { children: e || t ? /* @__PURE__ */ i(b, {
88
102
  config: e,
89
103
  manager: t,
90
104
  onFinish: n,
91
105
  onError: r
92
106
  }) : null });
93
- m(b, "incode-consent");
107
+ m(x, "incode-consent");
94
108
  //#endregion
95
- export { b as Consent };
109
+ export { x as Consent };
@@ -114,3 +114,15 @@
114
114
  width: 100%;
115
115
  display: flex;
116
116
  }
117
+
118
+ .IncodeConsentPage .IncodeConsentSubmitError {
119
+ margin-bottom: var(--spacing-12, var(--spacing-12, 12px));
120
+ text-align: center;
121
+ font-family: var(--typography-headline-family);
122
+ font-size: var(--typography-headline-h5-size);
123
+ font-weight: var(--typography-headline-h5-weight);
124
+ line-height: var(--typography-headline-h5-line-height);
125
+ letter-spacing: var(--typography-headline-h5-letter-spacing);
126
+ color: var(--color-input-text-helper-negative, var(--input-text-helper-negative));
127
+ margin-top: 0;
128
+ }
@@ -1,2 +1,2 @@
1
- import { t as e } from "../cpfOcr-C-kB8_2Z.js";
1
+ import { t as e } from "../cpfOcr-DB9V1G-N.js";
2
2
  export { e as CpfOcr };
@@ -0,0 +1,2 @@
1
+ import { t as e } from "./cpfOcr-DB9V1G-N.js";
2
+ export { e as CpfOcr };
@@ -15,27 +15,27 @@ var f = (e) => e.status === "inputting" ? {
15
15
  } : {
16
16
  cpf: "",
17
17
  isValid: !1
18
- }, p = ({ onFinish: p, onError: m }) => {
19
- let [h, g] = r(() => d()), [_, v] = t(!1), [y, b] = t(!1), [x, S] = t(!1);
18
+ }, p = ({ manager: p, onFinish: m, onError: h }) => {
19
+ let [g, _] = r(() => p ?? d(), { manageLifecycle: !p }), [v, y] = t(!1), [b, x] = t(!1), [S, C] = t(!1);
20
20
  if (i({
21
- status: h.status === "finished" ? "finished" : "loading",
22
- onFinish: p
21
+ status: g.status === "finished" ? "finished" : "loading",
22
+ onFinish: m
23
23
  }), e(() => {
24
- h.status === "error" && m?.(h.error);
25
- }, [h, m]), h.status === "idle" || h.status === "loading" || h.status === "submitting") return /* @__PURE__ */ n(o, {
24
+ g.status === "error" && h?.(g.error);
25
+ }, [g, h]), g.status === "idle" || g.status === "loading" || g.status === "submitting") return /* @__PURE__ */ n(o, {
26
26
  className: "IncodeCpfOcrPage",
27
27
  children: /* @__PURE__ */ n("div", {
28
28
  class: "IncodeCpfOcrLoading",
29
29
  children: /* @__PURE__ */ n(s, { fullScreen: !1 })
30
30
  })
31
31
  });
32
- if (h.status === "error") return /* @__PURE__ */ n(l, {
32
+ if (g.status === "error") return /* @__PURE__ */ n(l, {
33
33
  status: "failure",
34
34
  failureTitle: "Não foi possível verificar o CPF",
35
- onRetry: () => g.retry()
35
+ onRetry: () => _.retry()
36
36
  });
37
- if (h.status === "finished") return null;
38
- let C = f(h), w = C.cpf.replace(/\D/g, "").length === 11, T = y && !C.isValid && (w || _ && !x) ? "Insira um CPF válido" : void 0;
37
+ if (g.status === "finished") return null;
38
+ let w = f(g), T = w.cpf.replace(/\D/g, "").length === 11, E = b && !w.isValid && (T || v && !S) ? "Insira um CPF válido" : void 0;
39
39
  return /* @__PURE__ */ n(o, {
40
40
  className: "IncodeCpfOcrPage",
41
41
  title: "Insira e verifique o número do seu CPF",
@@ -46,28 +46,28 @@ var f = (e) => e.status === "inputting" ? {
46
46
  /* @__PURE__ */ n(u, {
47
47
  id: "cpf-ocr-input",
48
48
  label: "",
49
- value: C.cpf,
49
+ value: w.cpf,
50
50
  placeholder: "Seu CPF",
51
51
  maxLength: 14,
52
52
  inputMode: "numeric",
53
53
  "aria-label": "CPF",
54
54
  onInput: (e) => {
55
- b(!0), g.setCpf(e.target.value);
55
+ x(!0), _.setCpf(e.target.value);
56
56
  },
57
57
  onFocus: () => {
58
- S(!0);
58
+ C(!0);
59
59
  },
60
60
  onBlur: () => {
61
- S(!1), v(!0);
61
+ C(!1), y(!0);
62
62
  },
63
- error: T,
63
+ error: E,
64
64
  showErrorIcon: !0
65
65
  }),
66
66
  /* @__PURE__ */ n(a, {}),
67
67
  /* @__PURE__ */ n(c, {
68
68
  type: "button",
69
- onClick: () => g.submit(),
70
- disabled: !C.isValid,
69
+ onClick: () => _.submit(),
70
+ disabled: !w.isValid,
71
71
  "data-testid": "cpf-ocr-continue",
72
72
  children: "Continuar"
73
73
  })
@@ -169,67 +169,68 @@ var C = ({ curp: t, errorKey: n, onCurpChange: i, onCurpBlur: a, onVerify: o, on
169
169
  })
170
170
  ]
171
171
  });
172
- }, T = ({ config: n, onFinish: o, onError: h }) => {
173
- let { t: g } = e(), [_, v] = i(() => {
174
- if (!n) throw Error("CURP validation config is required");
172
+ }, T = ({ config: n, manager: o, onFinish: h, onError: g }) => {
173
+ let { t: _ } = e(), [v, y] = i(() => {
174
+ if (o) return o;
175
+ if (!n) throw Error("CurpValidation config is required when no manager is provided");
175
176
  return x({ config: n });
176
- });
177
+ }, { manageLifecycle: !o });
177
178
  if (a({
178
- status: _.status,
179
- onFinish: o,
180
- onError: h
181
- }), _.status === "idle" || _.status === "loading" || _.status === "verifying" || _.status === "generating") return /* @__PURE__ */ r(l, { spinnerConfig: { title: _.status === "generating" ? g("curp.status.generating") ?? "Generating..." : g("curp.status.verifying") ?? "Verifying..." } });
182
- if (_.status === "enterCurp") return /* @__PURE__ */ r(c, {
179
+ status: v.status,
180
+ onFinish: h,
181
+ onError: g
182
+ }), v.status === "idle" || v.status === "loading" || v.status === "verifying" || v.status === "generating") return /* @__PURE__ */ r(l, { spinnerConfig: { title: v.status === "generating" ? _("curp.status.generating") ?? "Generating..." : _("curp.status.verifying") ?? "Verifying..." } });
183
+ if (v.status === "enterCurp") return /* @__PURE__ */ r(c, {
183
184
  className: "IncodeCurpValidationPage",
184
- title: g("curp.enterCurp") ?? "Enter your CURP",
185
+ title: _("curp.enterCurp") ?? "Enter your CURP",
185
186
  children: /* @__PURE__ */ r(C, {
186
- curp: _.curp,
187
- errorKey: _.validationErrors?.curp,
188
- onCurpChange: (e) => v.setCurp(e),
189
- onCurpBlur: () => v.validateField("curp"),
190
- onVerify: () => v.verify(),
191
- onSwitchToGenerate: () => v.switchToGenerate(),
192
- placeholder: g("curp.placeholder.curp") ?? "CURP",
193
- continueLabel: g("curp.continue") ?? "Continue",
194
- dontHaveLabel: g("curp.dontHave") ?? "I don't have my CURP"
187
+ curp: v.curp,
188
+ errorKey: v.validationErrors?.curp,
189
+ onCurpChange: (e) => y.setCurp(e),
190
+ onCurpBlur: () => y.validateField("curp"),
191
+ onVerify: () => y.verify(),
192
+ onSwitchToGenerate: () => y.switchToGenerate(),
193
+ placeholder: _("curp.placeholder.curp") ?? "CURP",
194
+ continueLabel: _("curp.continue") ?? "Continue",
195
+ dontHaveLabel: _("curp.dontHave") ?? "I don't have my CURP"
195
196
  })
196
197
  });
197
- if (_.status === "generateCurp") return /* @__PURE__ */ r(c, {
198
+ if (v.status === "generateCurp") return /* @__PURE__ */ r(c, {
198
199
  className: "IncodeCurpValidationPage",
199
- title: g("curp.generate") ?? "Generate your CURP",
200
+ title: _("curp.generate") ?? "Generate your CURP",
200
201
  hideFooterBranding: !0,
201
202
  children: /* @__PURE__ */ r(w, {
202
- form: _.form,
203
- validationErrors: _.validationErrors,
204
- onFormChange: (e) => v.setGenerateForm(e),
205
- onValidateField: (e) => v.validateField(e),
206
- onGenerate: () => v.generate()
203
+ form: v.form,
204
+ validationErrors: v.validationErrors,
205
+ onFormChange: (e) => y.setGenerateForm(e),
206
+ onValidateField: (e) => y.validateField(e),
207
+ onGenerate: () => y.generate()
207
208
  })
208
209
  });
209
- if (_.status === "confirmCurp") return /* @__PURE__ */ r(c, {
210
+ if (v.status === "confirmCurp") return /* @__PURE__ */ r(c, {
210
211
  className: "IncodeCurpValidationPage",
211
- title: g("curp.status.confirm") ?? "Confirm your CURP",
212
+ title: _("curp.status.confirm") ?? "Confirm your CURP",
212
213
  children: /* @__PURE__ */ r("div", {
213
214
  class: "IncodeCurpValidation IncodeCurpConfirm",
214
215
  children: [
215
216
  /* @__PURE__ */ r(m, {
216
217
  id: "curp-confirm-input",
217
- value: _.curp,
218
+ value: v.curp,
218
219
  readOnly: !0,
219
- "aria-label": g("curp.status.generatedCurp") ?? "Generated CURP",
220
+ "aria-label": _("curp.status.generatedCurp") ?? "Generated CURP",
220
221
  "data-testid": "curp-confirm-input"
221
222
  }),
222
223
  /* @__PURE__ */ r(s, {}),
223
224
  /* @__PURE__ */ r(u, {
224
225
  type: "button",
225
- onClick: () => v.confirmGenerated(),
226
+ onClick: () => y.confirmGenerated(),
226
227
  "data-testid": "curp-confirm",
227
- children: g("curp.continue") ?? "Continue"
228
+ children: _("curp.continue") ?? "Continue"
228
229
  })
229
230
  ]
230
231
  })
231
232
  });
232
- if (_.status === "success") return /* @__PURE__ */ r(c, {
233
+ if (v.status === "success") return /* @__PURE__ */ r(c, {
233
234
  className: "IncodeCurpValidationPage",
234
235
  children: /* @__PURE__ */ r("div", {
235
236
  class: "IncodeCurpValidation IncodeCurpSuccess",
@@ -238,13 +239,13 @@ var C = ({ curp: t, errorKey: n, onCurpChange: i, onCurpBlur: a, onVerify: o, on
238
239
  /* @__PURE__ */ r(s, { size: 16 }),
239
240
  /* @__PURE__ */ r(p, {
240
241
  className: "IncodeCurpSuccessTitle",
241
- children: g("curp.status.verified") ?? "Verified"
242
+ children: _("curp.status.verified") ?? "Verified"
242
243
  })
243
244
  ]
244
245
  })
245
246
  });
246
- if (_.status === "failure" || _.status === "generateError") {
247
- let e = _.retriesLeft > 0, n = _.status === "failure" ? g("curp.status.notVerified") ?? "Not verified" : g("curp.status.couldntGenerate") ?? "Couldn't generate CURP";
247
+ if (v.status === "failure" || v.status === "generateError") {
248
+ let e = v.retriesLeft > 0, n = v.status === "failure" ? _("curp.status.notVerified") ?? "Not verified" : _("curp.status.couldntGenerate") ?? "Couldn't generate CURP";
248
249
  return /* @__PURE__ */ r(c, {
249
250
  className: "IncodeCurpValidationPage",
250
251
  children: /* @__PURE__ */ r("div", {
@@ -257,27 +258,28 @@ var C = ({ curp: t, errorKey: n, onCurpChange: i, onCurpBlur: a, onVerify: o, on
257
258
  className: "IncodeCurpFailureTitle",
258
259
  children: n
259
260
  }),
260
- _.status === "generateError" && e && /* @__PURE__ */ r(t, { children: [/* @__PURE__ */ r(s, { size: 12 }), /* @__PURE__ */ r("p", {
261
+ v.status === "generateError" && e && /* @__PURE__ */ r(t, { children: [/* @__PURE__ */ r(s, { size: 12 }), /* @__PURE__ */ r("p", {
261
262
  class: "IncodeCurpFailureHint",
262
263
  role: "alert",
263
- children: g("curp.status.checkInfo") ?? "Please check your information"
264
+ children: _("curp.status.checkInfo") ?? "Please check your information"
264
265
  })] }),
265
266
  /* @__PURE__ */ r(s, {}),
266
267
  e && /* @__PURE__ */ r(t, { children: /* @__PURE__ */ r(u, {
267
268
  type: "button",
268
- onClick: () => v.retry(),
269
+ onClick: () => y.retry(),
269
270
  "data-testid": "curp-retry",
270
- children: _.status === "failure" ? g("curp.status.tryAgain") ?? "Try again" : g("curp.status.edit") ?? "Edit information"
271
+ children: v.status === "failure" ? _("curp.status.tryAgain") ?? "Try again" : _("curp.status.edit") ?? "Edit information"
271
272
  }) })
272
273
  ]
273
274
  })
274
275
  });
275
276
  }
276
- return _.status === "finished" || _.status, null;
277
- }, E = ({ config: e, onFinish: t, onError: n }) => /* @__PURE__ */ r(o, { children: e ? /* @__PURE__ */ r(T, {
277
+ return v.status === "finished" || v.status, null;
278
+ }, E = ({ config: e, manager: t, onFinish: n, onError: i }) => /* @__PURE__ */ r(o, { children: e || t ? /* @__PURE__ */ r(T, {
278
279
  config: e,
279
- onFinish: t,
280
- onError: n
280
+ manager: t,
281
+ onFinish: n,
282
+ onError: i
281
283
  }) : null });
282
284
  _(E, "incode-curp-validation");
283
285
  //#endregion
@@ -5,7 +5,7 @@ import { c as u } from "../hooks-vuWWj6VY.js";
5
5
  import { t as d } from "../incodeComponent-CxgaQt0Z.js";
6
6
  import { t as f } from "../transitionSpinner-Di3bOyOu.js";
7
7
  import { t as p } from "../incodeModule-BiCoAJ5k.js";
8
- import { _ as m, a as h, c as g, d as _, f as v, h as y, l as b, m as x, n as S, o as C, p as w, r as T, s as E, t as D, u as O, y as k } from "../useModuleLoader-C0S38FBd.js";
8
+ import { _ as m, a as h, c as g, d as _, f as v, h as y, l as b, m as x, n as S, o as C, p as w, r as T, s as E, t as D, u as O, y as k } from "../useModuleLoader-D_PALRQ9.js";
9
9
  import { getDeviceClass as A } from "@incodetech/core/device";
10
10
  import { getRequiredWasmPipelines as j } from "@incodetech/core/flow";
11
11
  import { bootstrapSession as M, refreshQrUrlUuid as N } from "@incodetech/core/session";
@@ -7531,6 +7531,18 @@
7531
7531
  display: flex;
7532
7532
  }
7533
7533
 
7534
+ .IncodeConsentPage .IncodeConsentSubmitError {
7535
+ margin-bottom: var(--spacing-12, var(--spacing-12, 12px));
7536
+ text-align: center;
7537
+ font-family: var(--typography-headline-family);
7538
+ font-size: var(--typography-headline-h5-size);
7539
+ font-weight: var(--typography-headline-h5-weight);
7540
+ line-height: var(--typography-headline-h5-line-height);
7541
+ letter-spacing: var(--typography-headline-h5-letter-spacing);
7542
+ color: var(--color-input-text-helper-negative, var(--input-text-helper-negative));
7543
+ margin-top: 0;
7544
+ }
7545
+
7534
7546
  .IncodeCustomFieldsForm {
7535
7547
  margin-top: var(--spacing-32, var(--spacing-32, 32px));
7536
7548
  margin-bottom: var(--spacing-16, var(--spacing-16, 16px));
package/dist/id/id.es.js CHANGED
@@ -783,7 +783,7 @@ function de() {
783
783
  }
784
784
  //#endregion
785
785
  //#region src/modules/id/id.tsx
786
- var fe = r(() => import("../mandatoryConsent-zDcOZtAH.js").then((e) => ({ default: e.MandatoryConsent }))), pe = ({ config: t, manager: r, onFinish: i, onError: a }) => {
786
+ var fe = r(() => import("../mandatoryConsent-B_dl3bAs.js").then((e) => ({ default: e.MandatoryConsent }))), pe = ({ config: t, manager: r, onFinish: i, onError: a }) => {
787
787
  P();
788
788
  let { t: s } = e();
789
789
  n(() => {
@@ -0,0 +1,107 @@
1
+ import { n as e } from "./i18n-Kzzvkz94.js";
2
+ import { _ as t, l as n, v as r } from "./vendor-preact-D6SntenC.js";
3
+ import { a as i, c as a, o } from "./hooks-vuWWj6VY.js";
4
+ import { t as s } from "./incodeComponent-CxgaQt0Z.js";
5
+ import { t as c } from "./page-C1yT4DLb.js";
6
+ import { n as l } from "./typography-CxjaknHN.js";
7
+ import { t as u } from "./transitionSpinner-Di3bOyOu.js";
8
+ import { t as d } from "./button-DcCUEn2n.js";
9
+ import { t as f } from "./checkbox-DCCzBAuF.js";
10
+ import { t as p } from "./incodeModule-BiCoAJ5k.js";
11
+ import { t as m } from "./richText-DPdexfgN.js";
12
+ import { createMandatoryConsentManager as h } from "@incodetech/core/mandatory-consent";
13
+ //#region src/modules/mandatory-consent/mandatoryConsent.tsx
14
+ var g = ({ config: s, manager: p, onFinish: g, onError: _ }) => {
15
+ let { t: v, i18n: y } = e(), b = n(null), [x, S] = a(() => {
16
+ if (p) return p;
17
+ if (!s) throw Error("MandatoryConsent config is required when no manager is provided");
18
+ return h({ config: {
19
+ ...s,
20
+ language: y.language
21
+ } });
22
+ }, { manageLifecycle: !p });
23
+ if (t(() => {
24
+ x.status === "display" && b.current?.focus();
25
+ }, [x.status]), o({
26
+ status: x.status,
27
+ onFinish: g,
28
+ onError: _,
29
+ error: x.status === "error" ? x.error : void 0
30
+ }), i(x)) return null;
31
+ if (x.status === "idle" || x.status === "loading") return /* @__PURE__ */ r(u, { hideText: !0 });
32
+ let C = x.text.split("\n").filter((e) => e.trim().length > 0).join(" ");
33
+ return /* @__PURE__ */ r(c, {
34
+ className: "IncodeConsentPage",
35
+ hideFooterBranding: !0,
36
+ hideHeader: !0,
37
+ children: /* @__PURE__ */ r("div", {
38
+ class: "IncodeConsentContent",
39
+ children: [
40
+ /* @__PURE__ */ r("div", {
41
+ class: "IncodeConsentBody",
42
+ children: [
43
+ /* @__PURE__ */ r(l, {
44
+ ref: b,
45
+ className: "IncodeConsentTitle",
46
+ tabIndex: -1,
47
+ children: x.title
48
+ }),
49
+ /* @__PURE__ */ r("p", {
50
+ class: "IncodeConsentSubtitle",
51
+ children: v("biometricConsent.subtitle")
52
+ }),
53
+ /* @__PURE__ */ r("div", {
54
+ class: "IncodeConsentCheckboxList",
55
+ children: /* @__PURE__ */ r(f, {
56
+ id: "mandatory-consent-checkbox",
57
+ class: "IncodeConsentCheckbox",
58
+ checked: x.isSigned,
59
+ required: !0,
60
+ onChange: () => S.toggle(),
61
+ label: /* @__PURE__ */ r("span", {
62
+ class: "IncodeConsentCheckboxLabel",
63
+ onClick: (e) => {
64
+ e.target.closest("a") && e.stopPropagation();
65
+ },
66
+ children: /* @__PURE__ */ r(m, {
67
+ content: C,
68
+ class: "IncodeRichText"
69
+ })
70
+ })
71
+ })
72
+ })
73
+ ]
74
+ }),
75
+ x.status === "display" && x.error ? /* @__PURE__ */ r("p", {
76
+ class: "IncodeConsentSubmitError",
77
+ "data-testid": "mandatory-consent-submit-error",
78
+ role: "alert",
79
+ children: x.error
80
+ }) : null,
81
+ /* @__PURE__ */ r("div", {
82
+ class: "IncodeConsentActions",
83
+ children: [/* @__PURE__ */ r(d, {
84
+ "data-testid": "mandatory-consent-submit",
85
+ class: "IncodeConsentButton",
86
+ onClick: () => S.submit(),
87
+ disabled: !x.canSubmit,
88
+ isLoading: x.status === "submitting",
89
+ children: v("biometricConsent.button.continue")
90
+ }), /* @__PURE__ */ r(d, {
91
+ variant: "link",
92
+ onClick: () => S.cancel(),
93
+ children: v("biometricConsent.button.cancel")
94
+ })]
95
+ })
96
+ ]
97
+ })
98
+ }, "ready");
99
+ }, _ = ({ config: e, manager: t, onFinish: n, onError: i }) => /* @__PURE__ */ r(s, { children: e || t ? /* @__PURE__ */ r(g, {
100
+ config: e,
101
+ manager: t,
102
+ onFinish: n,
103
+ onError: i
104
+ }) : null });
105
+ p(_, "incode-mandatory-consent");
106
+ //#endregion
107
+ export { _ as MandatoryConsent };
@@ -1476,47 +1476,52 @@ var E = ({ logoSrc: e }) => {
1476
1476
  }) : null
1477
1477
  ]
1478
1478
  });
1479
- }, fe = ({ config: e, services: t, onFinish: n, onContinue: r, onError: a }) => {
1480
- let [s, d] = l(() => T({
1481
- config: e,
1482
- services: t
1483
- })), { logoSrc: f, logoHeightPx: h } = m({
1479
+ }, fe = ({ config: e, manager: t, services: n, onFinish: r, onContinue: a, onError: s }) => {
1480
+ let [d, f] = l(() => {
1481
+ if (t) return t;
1482
+ if (!e) throw Error("RedirectToMobile config is required when no manager is provided");
1483
+ return T({
1484
+ config: e,
1485
+ services: n
1486
+ });
1487
+ }, { manageLifecycle: !t }), { logoSrc: h, logoHeightPx: _ } = m({
1484
1488
  hideHeader: void 0,
1485
1489
  hideFooterBranding: void 0,
1486
1490
  logo: void 0,
1487
1491
  defaultLogoSrc: p
1488
1492
  });
1489
1493
  u({
1490
- status: s.status,
1491
- onFinish: n,
1492
- onError: a,
1493
- error: s.status === "error" ? s.error : void 0
1494
+ status: d.status,
1495
+ onFinish: r,
1496
+ onError: s,
1497
+ error: d.status === "error" ? d.error : void 0
1494
1498
  });
1495
- let _ = o(!1);
1499
+ let v = o(!1);
1496
1500
  i(() => {
1497
- _.current || s.status === "continue" && (_.current = !0, r?.());
1498
- }, [s.status, r]);
1499
- let v = s.status === "idle" || s.status === "loading" ? /* @__PURE__ */ c(g, { hideText: !0 }) : s.status === "redirecting" ? /* @__PURE__ */ c(ue, {
1500
- redirectUrl: s.redirectUrl,
1501
- phonePrefix: s.phonePrefix,
1502
- smsSent: s.smsSent,
1503
- disableSmsOption: e.disableSmsOption ?? !1,
1504
- addContinueToDesktop: e.addContinueToDesktop ?? !1,
1505
- error: s.error,
1506
- manager: d,
1507
- logoSrc: f
1508
- }) : s.status === "finished" ? /* @__PURE__ */ c(de, { logoSrc: f }) : null;
1501
+ v.current || d.status === "continue" && (v.current = !0, a?.());
1502
+ }, [d.status, a]);
1503
+ let y = d.status === "idle" || d.status === "loading" ? /* @__PURE__ */ c(g, { hideText: !0 }) : d.status === "redirecting" ? /* @__PURE__ */ c(ue, {
1504
+ redirectUrl: d.redirectUrl,
1505
+ phonePrefix: d.phonePrefix,
1506
+ smsSent: d.smsSent,
1507
+ disableSmsOption: e?.disableSmsOption ?? !1,
1508
+ addContinueToDesktop: e?.addContinueToDesktop ?? !1,
1509
+ error: d.error,
1510
+ manager: f,
1511
+ logoSrc: h
1512
+ }) : d.status === "finished" ? /* @__PURE__ */ c(de, { logoSrc: h }) : null;
1509
1513
  return /* @__PURE__ */ c("main", {
1510
1514
  class: "IncodeRedirectRoot",
1511
- style: { "--logo-height": `${h}px` },
1512
- children: v
1515
+ style: { "--logo-height": `${_}px` },
1516
+ children: y
1513
1517
  });
1514
- }, $ = ({ config: e, services: t, onFinish: n, onContinue: r, onError: i }) => /* @__PURE__ */ c(d, { children: e ? /* @__PURE__ */ c(fe, {
1518
+ }, $ = ({ config: e, manager: t, services: n, onFinish: r, onContinue: i, onError: a }) => /* @__PURE__ */ c(d, { children: e || t ? /* @__PURE__ */ c(fe, {
1515
1519
  config: e,
1516
- services: t,
1517
- onFinish: n,
1518
- onContinue: r,
1519
- onError: i
1520
+ manager: t,
1521
+ services: n,
1522
+ onFinish: r,
1523
+ onContinue: i,
1524
+ onError: a
1520
1525
  }) : null });
1521
1526
  S($, "incode-redirect-to-mobile", [
1522
1527
  "config",
@@ -1,8 +1,10 @@
1
+ import { CpfOcrManager } from '@incodetech/core/cpf-ocr';
1
2
  import { FC } from 'preact/compat';
2
3
 
3
4
  export declare const CpfOcr: FC<CpfOcrProps>;
4
5
 
5
6
  declare type CpfOcrProps = {
7
+ manager?: CpfOcrManager;
6
8
  onFinish?: () => void;
7
9
  onError?: (error: string | undefined) => void;
8
10
  };
@@ -1,9 +1,10 @@
1
1
  import { CurpValidationConfig } from '@incodetech/core/curp-validation';
2
+ import { CurpValidationManager } from '@incodetech/core/curp-validation';
2
3
  import { FC } from 'preact/compat';
3
4
 
4
5
  export declare const CurpValidation: FC<CurpValidationProps>;
5
6
 
6
- declare type CurpValidationProps = IncodeModuleProps<CurpValidationConfig>;
7
+ declare type CurpValidationProps = IncodeModuleProps<CurpValidationConfig, void, CurpValidationManager>;
7
8
 
8
9
  declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown> = {
9
10
  /**
@@ -35,6 +36,8 @@ export { }
35
36
 
36
37
  declare global {
37
38
  interface HTMLElementTagNameMap {
38
- 'incode-curp-validation': HTMLElement & IncodeModuleProps<CurpValidationConfig>;
39
+ 'incode-curp-validation': HTMLElement & IncodeModuleProps<CurpValidationConfig,
40
+ void,
41
+ CurpValidationManager>;
39
42
  }
40
43
  }
@@ -1,11 +1,13 @@
1
1
  import { FC } from 'preact/compat';
2
2
  import { RedirectToMobileConfig } from '@incodetech/core/redirect-to-mobile';
3
+ import { RedirectToMobileManager } from '@incodetech/core/redirect-to-mobile';
3
4
  import { RedirectToMobileServices } from '@incodetech/core/redirect-to-mobile';
4
5
 
5
6
  export declare const RedirectToMobile: FC<RedirectToMobileProps>;
6
7
 
7
8
  export declare type RedirectToMobileProps = {
8
9
  config?: RedirectToMobileConfig;
10
+ manager?: RedirectToMobileManager;
9
11
  services?: Partial<RedirectToMobileServices>;
10
12
  onFinish?: () => void;
11
13
  onContinue?: () => void;
@@ -227,10 +227,10 @@ var N = {
227
227
  DOCUMENT_CAPTURE: () => import("./documentCapture-D1gqvceX.js").then((e) => e.DocumentCapture),
228
228
  ADDRESS: () => import("./documentCapture-D1gqvceX.js").then((e) => e.DocumentCapture),
229
229
  COMBINED_CONSENT: () => import("./consent/consent.es.js").then((e) => e.Consent),
230
- MANDATORY_CONSENT: () => import("./mandatoryConsent-zDcOZtAH.js").then((e) => e.MandatoryConsent),
230
+ MANDATORY_CONSENT: () => import("./mandatoryConsent-B_dl3bAs.js").then((e) => e.MandatoryConsent),
231
231
  SIGNATURE: () => import("./signature/signature.es.js").then((e) => e.Signature),
232
232
  ID_OCR: () => import("./idOcr-Y1FQ5EHz.js").then((e) => e.IdOcr),
233
- CPF_OCR: () => import("./cpfOcr-BNFmDkDP.js").then((e) => e.CpfOcr),
233
+ CPF_OCR: () => import("./cpfOcr-CXtghg_a.js").then((e) => e.CpfOcr),
234
234
  ANTIFRAUD: () => import("./antifraud/antifraud.es.js").then((e) => e.Antifraud),
235
235
  CUSTOM_FIELDS: () => import("./customFields-DG9dLQYN.js").then((e) => e.CustomFields),
236
236
  WATCHLIST: () => import("./watchlist/watchlist.es.js").then((e) => e.Watchlist),
@@ -6730,6 +6730,18 @@
6730
6730
  display: flex;
6731
6731
  }
6732
6732
 
6733
+ .IncodeConsentPage .IncodeConsentSubmitError {
6734
+ margin-bottom: var(--spacing-12, var(--spacing-12, 12px));
6735
+ text-align: center;
6736
+ font-family: var(--typography-headline-family);
6737
+ font-size: var(--typography-headline-h5-size);
6738
+ font-weight: var(--typography-headline-h5-weight);
6739
+ line-height: var(--typography-headline-h5-line-height);
6740
+ letter-spacing: var(--typography-headline-h5-letter-spacing);
6741
+ color: var(--color-input-text-helper-negative, var(--input-text-helper-negative));
6742
+ margin-top: 0;
6743
+ }
6744
+
6733
6745
  .IncodeSignature .IncodeSignatureContent {
6734
6746
  width: 100%;
6735
6747
  height: 100%;
@@ -5,7 +5,7 @@ import { c as l } from "../hooks-vuWWj6VY.js";
5
5
  import { t as u } from "../incodeComponent-CxgaQt0Z.js";
6
6
  import { t as d } from "../transitionSpinner-Di3bOyOu.js";
7
7
  import { t as f } from "../incodeModule-BiCoAJ5k.js";
8
- import { a as p, g as m, i as h, l as g, o as _, s as v, t as y, v as b, y as x } from "../useModuleLoader-C0S38FBd.js";
8
+ import { a as p, g as m, i as h, l as g, o as _, s as v, t as y, v as b, y as x } from "../useModuleLoader-D_PALRQ9.js";
9
9
  import { resolveWasmConfig as S, upgradeToWasmHttpClient as C, warmupWasm as w } from "@incodetech/core/wasm";
10
10
  import { getDeviceClass as T } from "@incodetech/core/device";
11
11
  import { bootstrapSession as E, refreshQrUrlUuid as D } from "@incodetech/core/session";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/web",
3
- "version": "0.0.0-dev-20260602-5f4d4b36",
3
+ "version": "0.0.0-dev-20260603-043161c0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/IncodeTechnologies/incode-web-sdk.git"
@@ -255,7 +255,7 @@
255
255
  "qrcode": "^1.5.4",
256
256
  "signature_pad": "^5.1.3",
257
257
  "tailwindcss": "^4.1.17",
258
- "@incodetech/core": "0.0.0-dev-20260602-5f4d4b36"
258
+ "@incodetech/core": "0.0.0-dev-20260603-043161c0"
259
259
  },
260
260
  "devDependencies": {
261
261
  "@microsoft/api-extractor": "^7.53.3",
@@ -1,2 +0,0 @@
1
- import { t as e } from "./cpfOcr-C-kB8_2Z.js";
2
- export { e as CpfOcr };
@@ -1,91 +0,0 @@
1
- import { n as e } from "./i18n-Kzzvkz94.js";
2
- import { _ as t, l as n, v as r } from "./vendor-preact-D6SntenC.js";
3
- import { a as i, c as a, o } from "./hooks-vuWWj6VY.js";
4
- import { t as s } from "./incodeComponent-CxgaQt0Z.js";
5
- import { t as c } from "./page-C1yT4DLb.js";
6
- import { n as l } from "./typography-CxjaknHN.js";
7
- import { t as u } from "./transitionSpinner-Di3bOyOu.js";
8
- import { t as d } from "./button-DcCUEn2n.js";
9
- import { t as f } from "./checkbox-DCCzBAuF.js";
10
- import { t as p } from "./incodeModule-BiCoAJ5k.js";
11
- import { t as m } from "./richText-DPdexfgN.js";
12
- import { createMandatoryConsentManager as h } from "@incodetech/core/mandatory-consent";
13
- //#region src/modules/mandatory-consent/mandatoryConsent.tsx
14
- var g = ({ config: s, manager: p, onFinish: g, onError: _ }) => {
15
- let { t: v } = e(), y = n(null), [b, x] = a(() => p ?? h({ config: s }), { manageLifecycle: !p });
16
- if (t(() => {
17
- b.status === "display" && y.current?.focus();
18
- }, [b.status]), o({
19
- status: b.status,
20
- onFinish: g,
21
- onError: _,
22
- error: b.status === "error" ? b.error : void 0
23
- }), i(b)) return null;
24
- if (b.status === "idle" || b.status === "loading") return /* @__PURE__ */ r(u, { hideText: !0 });
25
- let S = b.text.split("\n").filter((e) => e.trim().length > 0).join(" ");
26
- return /* @__PURE__ */ r(c, {
27
- className: "IncodeConsentPage",
28
- hideFooterBranding: !0,
29
- hideHeader: !0,
30
- children: /* @__PURE__ */ r("div", {
31
- class: "IncodeConsentContent",
32
- children: [/* @__PURE__ */ r("div", {
33
- class: "IncodeConsentBody",
34
- children: [
35
- /* @__PURE__ */ r(l, {
36
- ref: y,
37
- className: "IncodeConsentTitle",
38
- tabIndex: -1,
39
- children: b.title
40
- }),
41
- /* @__PURE__ */ r("p", {
42
- class: "IncodeConsentSubtitle",
43
- children: v("biometricConsent.subtitle")
44
- }),
45
- /* @__PURE__ */ r("div", {
46
- class: "IncodeConsentCheckboxList",
47
- children: /* @__PURE__ */ r(f, {
48
- id: "mandatory-consent-checkbox",
49
- class: "IncodeConsentCheckbox",
50
- checked: b.isSigned,
51
- required: !0,
52
- onChange: () => x.toggle(),
53
- label: /* @__PURE__ */ r("span", {
54
- class: "IncodeConsentCheckboxLabel",
55
- onClick: (e) => {
56
- e.target.closest("a") && e.stopPropagation();
57
- },
58
- children: /* @__PURE__ */ r(m, {
59
- content: S,
60
- class: "IncodeRichText"
61
- })
62
- })
63
- })
64
- })
65
- ]
66
- }), /* @__PURE__ */ r("div", {
67
- class: "IncodeConsentActions",
68
- children: [/* @__PURE__ */ r(d, {
69
- "data-testid": "mandatory-consent-submit",
70
- class: "IncodeConsentButton",
71
- onClick: () => x.submit(),
72
- disabled: !b.canSubmit,
73
- isLoading: b.status === "submitting",
74
- children: v("biometricConsent.button.continue")
75
- }), /* @__PURE__ */ r(d, {
76
- variant: "link",
77
- onClick: () => x.cancel(),
78
- children: v("biometricConsent.button.cancel")
79
- })]
80
- })]
81
- })
82
- }, "ready");
83
- }, _ = ({ config: e, manager: t, onFinish: n, onError: i }) => /* @__PURE__ */ r(s, { children: e ? /* @__PURE__ */ r(g, {
84
- config: e,
85
- manager: t,
86
- onFinish: n,
87
- onError: i
88
- }) : null });
89
- p(_, "incode-mandatory-consent");
90
- //#endregion
91
- export { _ as MandatoryConsent };