@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.
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/{documentCapture-iOWGqDPs.js → documentCapture-B2d_myOw.js} +1 -1
- package/dist/documentCapture-DqlIxMui.js +2 -0
- package/dist/{dynamicForms--QABs5Et.js → dynamicForms-D2wft9Mc.js} +2 -2
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/ekybModule-Cakc3I9e.js +2 -0
- package/dist/{ekybModule-B_llb8Bg.js → ekybModule-D1jqPjNO.js} +1 -1
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/{ekycModule-CqU2YqGv.js → ekycModule-CZYlidYq.js} +1 -1
- package/dist/ekycModule-Sk3WI0Hz.js +2 -0
- package/dist/email/email.es.js +1 -1
- package/dist/{emailInput-LJYmDI13.js → emailInput-CSn4ymX8.js} +1 -1
- package/dist/{extensibility-B9GEh3sh.js → extensibility-C984MF0B.js} +1 -1
- package/dist/extensibility.es.js +2 -2
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/{fieldComparison-HxcCweJD.js → fieldComparison-BRJtwnZ4.js} +1 -1
- package/dist/fieldComparison-Pa9EZQ7H.js +2 -0
- package/dist/flow/flow.es.js +1 -1
- package/dist/governmentValidation/governmentValidation.es.js +1 -1
- package/dist/id/id.es.js +1 -1
- package/dist/{idOcr-Y1FQ5EHz.js → idOcr-6INOraAc.js} +1 -1
- package/dist/phone/phone.es.js +63 -62
- package/dist/{phoneInputComposed-BAXoouHv.js → phoneInputComposed-CjAxk2Gj.js} +570 -560
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +1 -1
- package/dist/signature/signature.es.js +1 -1
- package/dist/types/extensibility.d.ts +7 -0
- package/dist/{useModuleLoader-D_PALRQ9.js → useModuleLoader-O3JQvsjW.js} +7 -7
- package/dist/workflow/workflow.es.js +1 -1
- package/package.json +2 -2
- package/dist/documentCapture-D1gqvceX.js +0 -2
- package/dist/ekybModule-DjuMD0Od.js +0 -2
- package/dist/ekycModule-BFnp4W8-.js +0 -2
- package/dist/fieldComparison-DU5SBjQC.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../documentCapture-
|
|
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-
|
|
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";
|
|
@@ -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-
|
|
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-
|
|
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
|
package/dist/ekyb/ekyb.es.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../ekybModule-
|
|
1
|
+
import { t as e } from "../ekybModule-D1jqPjNO.js";
|
|
2
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-
|
|
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";
|
package/dist/ekyc/ekyc.es.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../ekycModule-
|
|
1
|
+
import { t as e } from "../ekycModule-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-
|
|
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";
|
package/dist/email/email.es.js
CHANGED
|
@@ -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-
|
|
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-
|
|
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-
|
|
24
|
+
import "./phoneInputComposed-CjAxk2Gj.js";
|
|
25
25
|
import "./dropdownComposed-B4U0AIak.js";
|
|
26
26
|
import "./dateInputComposed-Cg8BvYSK.js";
|
|
27
27
|
import "./bottomSheet-QrpyatOD.js";
|
package/dist/extensibility.es.js
CHANGED
|
@@ -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-
|
|
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-
|
|
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-
|
|
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-
|
|
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";
|
package/dist/flow/flow.es.js
CHANGED
|
@@ -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-
|
|
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-
|
|
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-
|
|
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-
|
|
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";
|
package/dist/phone/phone.es.js
CHANGED
|
@@ -1,108 +1,109 @@
|
|
|
1
1
|
import { n as e } from "../i18n-Kzzvkz94.js";
|
|
2
|
-
import { h as t,
|
|
3
|
-
import { a as
|
|
4
|
-
import { t as
|
|
5
|
-
import { r as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { createPhoneManager as
|
|
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
|
|
14
|
+
function h(e) {
|
|
15
15
|
return e === "invalidPhone" ? "phone.invalidPhone" : e === "serverError" ? "phone.serverError" : e;
|
|
16
16
|
}
|
|
17
|
-
function
|
|
17
|
+
function g(e) {
|
|
18
18
|
return e === "serverError" ? "phone.serverError" : e;
|
|
19
19
|
}
|
|
20
|
-
var
|
|
21
|
-
let { t:
|
|
22
|
-
if (
|
|
23
|
-
if (!
|
|
24
|
-
return
|
|
25
|
-
}, { manageLifecycle: !
|
|
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
|
-
}), [
|
|
29
|
-
if (
|
|
30
|
-
status:
|
|
31
|
-
onFinish:
|
|
32
|
-
onError:
|
|
33
|
-
error:
|
|
34
|
-
}),
|
|
35
|
-
if (
|
|
36
|
-
let e =
|
|
37
|
-
return /* @__PURE__ */
|
|
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:
|
|
40
|
-
subtitle:
|
|
39
|
+
title: y("phone.verify"),
|
|
40
|
+
subtitle: y("email.willSendCode"),
|
|
41
41
|
children: [
|
|
42
|
-
/* @__PURE__ */
|
|
42
|
+
/* @__PURE__ */ n("div", {
|
|
43
43
|
class: "IncodePhoneInputContainer",
|
|
44
44
|
children: [
|
|
45
|
-
/* @__PURE__ */
|
|
45
|
+
/* @__PURE__ */ n(f, {
|
|
46
46
|
id: "phone",
|
|
47
47
|
countryCode: t,
|
|
48
|
-
value:
|
|
48
|
+
value: r,
|
|
49
49
|
error: o,
|
|
50
|
+
showFormatHintInError: u,
|
|
50
51
|
disabled: e,
|
|
51
52
|
onChange: (e, t) => {
|
|
52
|
-
|
|
53
|
+
x.setPhoneNumber(e, t);
|
|
53
54
|
},
|
|
54
55
|
onBlur: () => {
|
|
55
|
-
|
|
56
|
+
x.validatePhone();
|
|
56
57
|
},
|
|
57
|
-
formatHintBuilder:
|
|
58
|
-
countryAriaLabelBuilder:
|
|
58
|
+
formatHintBuilder: S,
|
|
59
|
+
countryAriaLabelBuilder: C,
|
|
59
60
|
"data-testid": "phone-input",
|
|
60
61
|
showErrorIcon: !0
|
|
61
62
|
}),
|
|
62
|
-
/* @__PURE__ */
|
|
63
|
-
|
|
63
|
+
/* @__PURE__ */ n(s, { size: 16 }),
|
|
64
|
+
m && /* @__PURE__ */ n(d, {
|
|
64
65
|
id: "phone-optin",
|
|
65
|
-
label:
|
|
66
|
+
label: y("phone.optIn"),
|
|
66
67
|
size: "s",
|
|
67
|
-
onChange: (e) =>
|
|
68
|
+
onChange: (e) => x.setOptInGranted(e.target.checked)
|
|
68
69
|
})
|
|
69
70
|
]
|
|
70
71
|
}),
|
|
71
|
-
/* @__PURE__ */
|
|
72
|
-
/* @__PURE__ */
|
|
73
|
-
onClick: () =>
|
|
74
|
-
disabled:
|
|
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:
|
|
78
|
+
children: y("common.continue")
|
|
78
79
|
})
|
|
79
80
|
]
|
|
80
81
|
}, "phone-input");
|
|
81
82
|
}
|
|
82
|
-
if (
|
|
83
|
-
let e =
|
|
84
|
-
return /* @__PURE__ */
|
|
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:
|
|
87
|
-
children: /* @__PURE__ */
|
|
88
|
-
resendTimer: a ?
|
|
89
|
-
canResend: a ?
|
|
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) =>
|
|
94
|
-
onResend: () =>
|
|
95
|
-
onBack: () =>
|
|
94
|
+
onSubmit: (e) => x.submitOtp(e),
|
|
95
|
+
onResend: () => x.resendOtp(),
|
|
96
|
+
onBack: () => x.back()
|
|
96
97
|
})
|
|
97
98
|
}, "phone-otp");
|
|
98
99
|
}
|
|
99
|
-
return
|
|
100
|
-
},
|
|
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:
|
|
104
|
+
onFinish: r,
|
|
104
105
|
onError: i
|
|
105
106
|
}) : null });
|
|
106
|
-
|
|
107
|
+
p(v, "incode-phone");
|
|
107
108
|
//#endregion
|
|
108
|
-
export {
|
|
109
|
+
export { v as Phone };
|