@incodetech/web 0.0.0-dev-20260603-b516668b → 0.0.0-dev-20260603-99aac394

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.
Files changed (33) hide show
  1. package/dist/document-capture/document-capture.es.js +1 -1
  2. package/dist/{documentCapture-iOWGqDPs.js → documentCapture-B2d_myOw.js} +1 -1
  3. package/dist/documentCapture-DqlIxMui.js +2 -0
  4. package/dist/{dynamicForms--QABs5Et.js → dynamicForms-D2wft9Mc.js} +2 -2
  5. package/dist/ekyb/ekyb.es.js +1 -1
  6. package/dist/ekybModule-Cakc3I9e.js +2 -0
  7. package/dist/{ekybModule-B_llb8Bg.js → ekybModule-D1jqPjNO.js} +1 -1
  8. package/dist/ekyc/ekyc.es.js +1 -1
  9. package/dist/{ekycModule-CqU2YqGv.js → ekycModule-CZYlidYq.js} +1 -1
  10. package/dist/ekycModule-Sk3WI0Hz.js +2 -0
  11. package/dist/email/email.es.js +1 -1
  12. package/dist/{emailInput-LJYmDI13.js → emailInput-CSn4ymX8.js} +1 -1
  13. package/dist/{extensibility-B9GEh3sh.js → extensibility-C984MF0B.js} +1 -1
  14. package/dist/extensibility.es.js +2 -2
  15. package/dist/field-comparison/field-comparison.es.js +1 -1
  16. package/dist/{fieldComparison-HxcCweJD.js → fieldComparison-BRJtwnZ4.js} +1 -1
  17. package/dist/fieldComparison-Pa9EZQ7H.js +2 -0
  18. package/dist/flow/flow.es.js +1 -1
  19. package/dist/governmentValidation/governmentValidation.es.js +1 -1
  20. package/dist/id/id.es.js +1 -1
  21. package/dist/{idOcr-Y1FQ5EHz.js → idOcr-6INOraAc.js} +1 -1
  22. package/dist/phone/phone.es.js +63 -62
  23. package/dist/{phoneInputComposed-BAXoouHv.js → phoneInputComposed-CjAxk2Gj.js} +570 -560
  24. package/dist/redirect-to-mobile/redirect-to-mobile.es.js +1 -1
  25. package/dist/signature/signature.es.js +1 -1
  26. package/dist/types/extensibility.d.ts +7 -0
  27. package/dist/{useModuleLoader-D_PALRQ9.js → useModuleLoader-O3JQvsjW.js} +7 -7
  28. package/dist/workflow/workflow.es.js +1 -1
  29. package/package.json +2 -2
  30. package/dist/documentCapture-D1gqvceX.js +0 -2
  31. package/dist/ekybModule-DjuMD0Od.js +0 -2
  32. package/dist/ekycModule-BFnp4W8-.js +0 -2
  33. package/dist/fieldComparison-DU5SBjQC.js +0 -2
@@ -1,2 +1,2 @@
1
- import { t as e } from "../documentCapture-iOWGqDPs.js";
1
+ import { t as e } from "../documentCapture-B2d_myOw.js";
2
2
  export { e as DocumentCapture };
@@ -4,7 +4,7 @@ import { c as l, o as u, r as d } from "./hooks-vuWWj6VY.js";
4
4
  import { t as f } from "./incodeComponent-CxgaQt0Z.js";
5
5
  import { n as p, r as m } from "./loadingIcon-BN5YRQUb.js";
6
6
  import { t as h } from "./page-C1yT4DLb.js";
7
- import { b as g, d as _, f as v, l as y, p as b, u as x, y as S } from "./extensibility-B9GEh3sh.js";
7
+ import { b as g, d as _, f as v, l as y, p as b, u as x, y as S } from "./extensibility-C984MF0B.js";
8
8
  import { t as C } from "./spinner-CKnjVHxw.js";
9
9
  import { t as w } from "./button-DcCUEn2n.js";
10
10
  import { a as T, p as E, r as D } from "./icons-9I5g9-_1.js";
@@ -0,0 +1,2 @@
1
+ import { t as e } from "./documentCapture-B2d_myOw.js";
2
+ export { e as DocumentCapture };
@@ -7,12 +7,12 @@ import { t as c } from "./page-C1yT4DLb.js";
7
7
  import { t as l } from "./button-DcCUEn2n.js";
8
8
  import { t as u } from "./verificationResult-V15L4ypC.js";
9
9
  import { t as d } from "./inputComposed-DAEey9xm.js";
10
- import { n as f, t as p } from "./phoneInputComposed-BAXoouHv.js";
10
+ import { n as f, t as p } from "./phoneInputComposed-CjAxk2Gj.js";
11
11
  import { t as m } from "./dropdownComposed-CS2pyn-g.js";
12
12
  import { t as h } from "./dateInputComposed-Ddd7HLyM.js";
13
13
  import { t as g } from "./incodeModule-BiCoAJ5k.js";
14
14
  import { n as _, t as v } from "./requiredLabelHint-B6FN3v88.js";
15
- import { t as y } from "./emailInput-LJYmDI13.js";
15
+ import { t as y } from "./emailInput-CSn4ymX8.js";
16
16
  import { formatCPF as b, isValidCPF as x } from "@incodetech/core/cpf-ocr";
17
17
  import { createDynamicFormsManager as S } from "@incodetech/core/dynamic-forms";
18
18
  //#region src/modules/dynamic-forms/dynamicForms.tsx
@@ -1,2 +1,2 @@
1
- import { t as e } from "../ekybModule-B_llb8Bg.js";
1
+ import { t as e } from "../ekybModule-D1jqPjNO.js";
2
2
  export { e as EkybModule };
@@ -0,0 +1,2 @@
1
+ import { t as e } from "./ekybModule-D1jqPjNO.js";
2
+ export { e as EkybModule };
@@ -4,7 +4,7 @@ import { c as o, i as s, o as c } from "./hooks-vuWWj6VY.js";
4
4
  import { t as l } from "./incodeComponent-CxgaQt0Z.js";
5
5
  import { r as u } from "./loadingIcon-BN5YRQUb.js";
6
6
  import { t as d } from "./page-C1yT4DLb.js";
7
- import "./extensibility-B9GEh3sh.js";
7
+ import "./extensibility-C984MF0B.js";
8
8
  import { t as f } from "./spinner-CKnjVHxw.js";
9
9
  import { t as p } from "./button-DcCUEn2n.js";
10
10
  import { t as m } from "./verificationResult-V15L4ypC.js";
@@ -1,2 +1,2 @@
1
- import { t as e } from "../ekycModule-CqU2YqGv.js";
1
+ import { t as e } from "../ekycModule-CZYlidYq.js";
2
2
  export { e as EkycModule };
@@ -7,7 +7,7 @@ import { t as u } from "./spinner-CKnjVHxw.js";
7
7
  import { t as d } from "./button-DcCUEn2n.js";
8
8
  import { t as f } from "./verificationResult-V15L4ypC.js";
9
9
  import { i as p, r as m, t as h } from "./radioGroupComposed-DRRxVk9Z.js";
10
- import { t as g } from "./phoneInputComposed-BAXoouHv.js";
10
+ import { t as g } from "./phoneInputComposed-CjAxk2Gj.js";
11
11
  import { t as _ } from "./dropdownComposed-CS2pyn-g.js";
12
12
  import { t as v } from "./dateInputComposed-Ddd7HLyM.js";
13
13
  import { t as y } from "./incodeModule-BiCoAJ5k.js";
@@ -0,0 +1,2 @@
1
+ import { t as e } from "./ekycModule-CZYlidYq.js";
2
+ export { e as EkycModule };
@@ -7,7 +7,7 @@ import { t as l } from "../page-C1yT4DLb.js";
7
7
  import { t as u } from "../button-DcCUEn2n.js";
8
8
  import { t as d } from "../otpInput-BQxXATyG.js";
9
9
  import { t as f } from "../incodeModule-BiCoAJ5k.js";
10
- import { t as p } from "../emailInput-LJYmDI13.js";
10
+ import { t as p } from "../emailInput-CSn4ymX8.js";
11
11
  import { createEmailManager as m } from "@incodetech/core/email";
12
12
  //#region src/modules/email/email.tsx
13
13
  function h(e) {
@@ -1,6 +1,6 @@
1
1
  import { n as e } from "./i18n-Kzzvkz94.js";
2
2
  import { v as t } from "./vendor-preact-D6SntenC.js";
3
- import "./extensibility-B9GEh3sh.js";
3
+ import "./extensibility-C984MF0B.js";
4
4
  import { t as n } from "./inputComposed-DAEey9xm.js";
5
5
  //#region src/modules/email/emailInput.tsx
6
6
  var r = /^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/, i = ({ value: i, emailError: a, label: o, labelHint: s, disabled: c = !1, required: l = !1, onEmailChange: u, onBlur: d }) => {
@@ -21,7 +21,7 @@ import "./inputComposed-eS4B0Mkh.js";
21
21
  import "./otpInput-BQxXATyG.js";
22
22
  import "./checkbox-DCCzBAuF.js";
23
23
  import "./radioGroupComposed-DRRxVk9Z.js";
24
- import "./phoneInputComposed-BAXoouHv.js";
24
+ import "./phoneInputComposed-CjAxk2Gj.js";
25
25
  import "./dropdownComposed-B4U0AIak.js";
26
26
  import "./dateInputComposed-Cg8BvYSK.js";
27
27
  import "./bottomSheet-QrpyatOD.js";
@@ -4,7 +4,7 @@ import { c as n, s as r } from "./hooks-vuWWj6VY.js";
4
4
  import { n as i, t as a } from "./incodeComponent-CxgaQt0Z.js";
5
5
  import { r as o } from "./loadingIcon-BN5YRQUb.js";
6
6
  import { t as s } from "./page-C1yT4DLb.js";
7
- import { _ as c, b as l, c as u, d, f, g as p, h as m, i as h, l as g, m as _, n as v, o as y, p as b, r as x, s as S, t as C, u as w, v as T, y as E } from "./extensibility-B9GEh3sh.js";
7
+ import { _ as c, b as l, c as u, d, f, g as p, h as m, i as h, l as g, m as _, n as v, o as y, p as b, r as x, s as S, t as C, u as w, v as T, y as E } from "./extensibility-C984MF0B.js";
8
8
  import { a as D, i as O, n as k, o as A, r as j, t as M } from "./typography-CxjaknHN.js";
9
9
  import { t as N } from "./spinner-CKnjVHxw.js";
10
10
  import { t as P } from "./processing-DPktVde2.js";
@@ -19,7 +19,7 @@ import { n as se, t as ce } from "./inputComposed-DAEey9xm.js";
19
19
  import { t as le } from "./otpInput-BQxXATyG.js";
20
20
  import { t as ue } from "./checkbox-DCCzBAuF.js";
21
21
  import { n as de, r as fe, t as pe } from "./radioGroupComposed-DRRxVk9Z.js";
22
- import { i as me, n as he, r as ge, t as _e } from "./phoneInputComposed-BAXoouHv.js";
22
+ import { i as me, n as he, r as ge, t as _e } from "./phoneInputComposed-CjAxk2Gj.js";
23
23
  import { t as ve } from "./dropdownComposed-CS2pyn-g.js";
24
24
  import { t as ye } from "./dateInputComposed-Ddd7HLyM.js";
25
25
  import { t as be } from "./bottomSheet-QrpyatOD.js";
@@ -1,2 +1,2 @@
1
- import { t as e } from "../fieldComparison-HxcCweJD.js";
1
+ import { t as e } from "../fieldComparison-BRJtwnZ4.js";
2
2
  export { e as FieldComparison };
@@ -4,7 +4,7 @@ import { c as n, o as r } from "./hooks-vuWWj6VY.js";
4
4
  import { t as i } from "./incodeComponent-CxgaQt0Z.js";
5
5
  import { r as a } from "./loadingIcon-BN5YRQUb.js";
6
6
  import { t as o } from "./page-C1yT4DLb.js";
7
- import "./extensibility-B9GEh3sh.js";
7
+ import "./extensibility-C984MF0B.js";
8
8
  import { t as s } from "./button-DcCUEn2n.js";
9
9
  import { t as c } from "./verificationResult-V15L4ypC.js";
10
10
  import { t as l } from "./inputComposed-DAEey9xm.js";
@@ -0,0 +1,2 @@
1
+ import { t as e } from "./fieldComparison-BRJtwnZ4.js";
2
+ export { e as FieldComparison };
@@ -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-D_PALRQ9.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-O3JQvsjW.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";
@@ -4,7 +4,7 @@ import { c as r, o as i } from "../hooks-vuWWj6VY.js";
4
4
  import { t as a } from "../incodeComponent-CxgaQt0Z.js";
5
5
  import { r as o } from "../loadingIcon-BN5YRQUb.js";
6
6
  import { t as s } from "../page-C1yT4DLb.js";
7
- import "../extensibility-B9GEh3sh.js";
7
+ import "../extensibility-C984MF0B.js";
8
8
  import { t as c } from "../autoFocusTitle-BpYdaSUM.js";
9
9
  import { t as l } from "../verificationResult-V15L4ypC.js";
10
10
  import { t as u } from "../otpInput-BQxXATyG.js";
package/dist/id/id.es.js CHANGED
@@ -4,7 +4,7 @@ import { c as l, o as u } from "../hooks-vuWWj6VY.js";
4
4
  import { t as d } from "../incodeComponent-CxgaQt0Z.js";
5
5
  import { n as f } from "../loadingIcon-BN5YRQUb.js";
6
6
  import { t as p } from "../page-C1yT4DLb.js";
7
- import { a as m, i as h, n as g, o as _, r as v, s as y, t as b, y as ee } from "../extensibility-B9GEh3sh.js";
7
+ import { a as m, i as h, n as g, o as _, r as v, s as y, t as b, y as ee } from "../extensibility-C984MF0B.js";
8
8
  import { t as x } from "../spinner-CKnjVHxw.js";
9
9
  import "../spinner-B4dcie2T.js";
10
10
  import { t as S } from "../transitionSpinner-Di3bOyOu.js";
@@ -3,7 +3,7 @@ import { d as t, v as n } from "./vendor-preact-D6SntenC.js";
3
3
  import { c as r, o as i } from "./hooks-vuWWj6VY.js";
4
4
  import { t as a } from "./incodeComponent-CxgaQt0Z.js";
5
5
  import { t as o } from "./page-C1yT4DLb.js";
6
- import "./extensibility-B9GEh3sh.js";
6
+ import "./extensibility-C984MF0B.js";
7
7
  import { t as s } from "./button-DcCUEn2n.js";
8
8
  import { t as c } from "./verificationResult-V15L4ypC.js";
9
9
  import { t as l } from "./inputComposed-DAEey9xm.js";
@@ -1,108 +1,109 @@
1
1
  import { n as e } from "../i18n-Kzzvkz94.js";
2
- import { h as t, p 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 { r as c } from "../loadingIcon-BN5YRQUb.js";
6
- import { t as l } from "../page-C1yT4DLb.js";
7
- import { t as u } from "../button-DcCUEn2n.js";
8
- import { t as d } from "../otpInput-BQxXATyG.js";
9
- import { t as f } from "../checkbox-DCCzBAuF.js";
10
- import { t as p } from "../phoneInputComposed-BAXoouHv.js";
11
- import { t as m } from "../incodeModule-BiCoAJ5k.js";
12
- import { createPhoneManager as h } from "@incodetech/core/phone";
2
+ import { h as t, v as n } from "../vendor-preact-D6SntenC.js";
3
+ import { a as r, c as i, o as a } from "../hooks-vuWWj6VY.js";
4
+ import { t as o } from "../incodeComponent-CxgaQt0Z.js";
5
+ import { r as s } from "../loadingIcon-BN5YRQUb.js";
6
+ import { t as c } from "../page-C1yT4DLb.js";
7
+ import { t as l } from "../button-DcCUEn2n.js";
8
+ import { t as u } from "../otpInput-BQxXATyG.js";
9
+ import { t as d } from "../checkbox-DCCzBAuF.js";
10
+ import { t as f } from "../phoneInputComposed-CjAxk2Gj.js";
11
+ import { t as p } from "../incodeModule-BiCoAJ5k.js";
12
+ import { createPhoneManager as m } from "@incodetech/core/phone";
13
13
  //#region src/modules/phone/phone.tsx
14
- function g(e) {
14
+ function h(e) {
15
15
  return e === "invalidPhone" ? "phone.invalidPhone" : e === "serverError" ? "phone.serverError" : e;
16
16
  }
17
- function _(e) {
17
+ function g(e) {
18
18
  return e === "serverError" ? "phone.serverError" : e;
19
19
  }
20
- var v = ({ config: s, manager: m, onFinish: v, onError: y }) => {
21
- let { t: b } = e(), [x, S] = a(() => {
22
- if (m) return m;
23
- if (!s) throw Error("Phone config is required");
24
- return h({ config: s });
25
- }, { manageLifecycle: !m }), [C, w] = n(!1), [T, E] = n(!1), [D, O] = n(!1), k = t((e) => b("phone.formatHint", { example: e.replace(/\d/g, "$& ").trim() }), [b]), A = t(({ callingCode: e, countryName: t }) => b("phone.countryCodeAriaLabel", {
20
+ var _ = ({ config: o, manager: p, onFinish: _, onError: v }) => {
21
+ let { t: y } = e(), [b, x] = i(() => {
22
+ if (p) return p;
23
+ if (!o) throw Error("Phone config is required");
24
+ return m({ config: o });
25
+ }, { manageLifecycle: !p }), S = t((e) => y("phone.formatHint", { example: e }), [y]), C = t(({ callingCode: e, countryName: t }) => y("phone.countryCodeAriaLabel", {
26
26
  callingCode: e,
27
27
  countryName: t
28
- }), [b]);
29
- if (o({
30
- status: x.status,
31
- onFinish: v,
32
- onError: y,
33
- error: x.status === "error" ? x.error : void 0
34
- }), x.status === "idle" || x.status === "loadingPrefill" || x.status === "loadingStartInfo") return null;
35
- if (x.status === "inputting" || x.status === "submitting" || x.status === "sendingInitialOtp") {
36
- let e = x.status === "submitting" || x.status === "sendingInitialOtp", t = x.status === "inputting" ? x.countryCode : "US", n = x.status === "inputting" ? x.prefilledPhone : void 0, i = x.status === "inputting" && x.phoneError ? b(g(x.phoneError)) : void 0, a = x.status === "inputting" && T && D && !C ? b("phone.invalidPhone") : void 0, o = i ?? a, s = !C || i !== void 0, d = x.status === "inputting" ? x.optinEnabled ?? !1 : !1;
37
- return /* @__PURE__ */ r(l, {
28
+ }), [y]);
29
+ if (a({
30
+ status: b.status,
31
+ onFinish: _,
32
+ onError: v,
33
+ error: b.status === "error" ? b.error : void 0
34
+ }), b.status === "idle" || b.status === "loadingPrefill" || b.status === "loadingStartInfo") return null;
35
+ if (b.status === "inputting" || b.status === "submitting" || b.status === "sendingInitialOtp") {
36
+ let e = b.status === "submitting" || b.status === "sendingInitialOtp", t = b.status === "inputting" ? b.countryCode : "US", r = b.status === "inputting" ? b.prefilledPhone : void 0, i = b.status === "inputting" && b.phoneError ? y(h(b.phoneError)) : void 0, a = b.status === "inputting" && b.validationErrors?.phone ? y(h(b.validationErrors.phone)) : void 0, o = i ?? a, u = !i && !!a, p = b.status === "inputting" ? b.isValid : !0, m = b.status === "inputting" ? b.optinEnabled ?? !1 : !1;
37
+ return /* @__PURE__ */ n(c, {
38
38
  className: "IncodePhonePage",
39
- title: b("phone.verify"),
40
- subtitle: b("email.willSendCode"),
39
+ title: y("phone.verify"),
40
+ subtitle: y("email.willSendCode"),
41
41
  children: [
42
- /* @__PURE__ */ r("div", {
42
+ /* @__PURE__ */ n("div", {
43
43
  class: "IncodePhoneInputContainer",
44
44
  children: [
45
- /* @__PURE__ */ r(p, {
45
+ /* @__PURE__ */ n(f, {
46
46
  id: "phone",
47
47
  countryCode: t,
48
- value: n,
48
+ value: r,
49
49
  error: o,
50
+ showFormatHintInError: u,
50
51
  disabled: e,
51
52
  onChange: (e, t) => {
52
- S.setPhoneNumber(e, t), E(!0), O(!1), w(t);
53
+ x.setPhoneNumber(e, t);
53
54
  },
54
55
  onBlur: () => {
55
- O(!0);
56
+ x.validatePhone();
56
57
  },
57
- formatHintBuilder: k,
58
- countryAriaLabelBuilder: A,
58
+ formatHintBuilder: S,
59
+ countryAriaLabelBuilder: C,
59
60
  "data-testid": "phone-input",
60
61
  showErrorIcon: !0
61
62
  }),
62
- /* @__PURE__ */ r(c, { size: 16 }),
63
- d && /* @__PURE__ */ r(f, {
63
+ /* @__PURE__ */ n(s, { size: 16 }),
64
+ m && /* @__PURE__ */ n(d, {
64
65
  id: "phone-optin",
65
- label: b("phone.optIn"),
66
+ label: y("phone.optIn"),
66
67
  size: "s",
67
- onChange: (e) => S.setOptInGranted(e.target.checked)
68
+ onChange: (e) => x.setOptInGranted(e.target.checked)
68
69
  })
69
70
  ]
70
71
  }),
71
- /* @__PURE__ */ r(c, {}),
72
- /* @__PURE__ */ r(u, {
73
- onClick: () => S.submit(),
74
- disabled: s,
72
+ /* @__PURE__ */ n(s, {}),
73
+ /* @__PURE__ */ n(l, {
74
+ onClick: () => x.submit(),
75
+ disabled: !p,
75
76
  isLoading: e,
76
77
  "data-testid": "phone-submit",
77
- children: b("common.continue")
78
+ children: y("common.continue")
78
79
  })
79
80
  ]
80
81
  }, "phone-input");
81
82
  }
82
- if (x.status === "awaitingOtp" || x.status === "verifyingOtp" || x.status === "otpError" || x.status === "resendingOtp") {
83
- let e = x.status === "verifyingOtp", t = x.status === "otpError", n = x.status === "awaitingOtp", i = x.status === "resendingOtp", a = n || t || e, o = t ? b(_(x.otpError)) : void 0;
84
- return /* @__PURE__ */ r(l, {
83
+ if (b.status === "awaitingOtp" || b.status === "verifyingOtp" || b.status === "otpError" || b.status === "resendingOtp") {
84
+ let e = b.status === "verifyingOtp", t = b.status === "otpError", r = b.status === "awaitingOtp", i = b.status === "resendingOtp", a = r || t || e, o = t ? y(g(b.otpError)) : void 0;
85
+ return /* @__PURE__ */ n(c, {
85
86
  className: "IncodePhonePage",
86
- title: b("otp.enterCodeSMS"),
87
- children: /* @__PURE__ */ r(d, {
88
- resendTimer: a ? x.resendTimer : 0,
89
- canResend: a ? x.canResend : !1,
87
+ title: y("otp.enterCodeSMS"),
88
+ children: /* @__PURE__ */ n(u, {
89
+ resendTimer: a ? b.resendTimer : 0,
90
+ canResend: a ? b.canResend : !1,
90
91
  isLoading: e,
91
92
  disabled: i || e,
92
93
  error: o,
93
- onSubmit: (e) => S.submitOtp(e),
94
- onResend: () => S.resendOtp(),
95
- onBack: () => S.back()
94
+ onSubmit: (e) => x.submitOtp(e),
95
+ onResend: () => x.resendOtp(),
96
+ onBack: () => x.back()
96
97
  })
97
98
  }, "phone-otp");
98
99
  }
99
- return i(x), null;
100
- }, y = ({ config: e, manager: t, onFinish: n, onError: i }) => /* @__PURE__ */ r(s, { children: e || t ? /* @__PURE__ */ r(v, {
100
+ return r(b), null;
101
+ }, v = ({ config: e, manager: t, onFinish: r, onError: i }) => /* @__PURE__ */ n(o, { children: e || t ? /* @__PURE__ */ n(_, {
101
102
  config: e,
102
103
  manager: t,
103
- onFinish: n,
104
+ onFinish: r,
104
105
  onError: i
105
106
  }) : null });
106
- m(y, "incode-phone");
107
+ p(v, "incode-phone");
107
108
  //#endregion
108
- export { y as Phone };
109
+ export { v as Phone };