everest-npm-features 0.0.21 → 0.0.23
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/{auth-CjrjTwt5.js → auth-CR0412E5.js} +1 -1
- package/dist/{bank-D3I5wL2-.js → bank-iFS1RXp-.js} +1 -1
- package/dist/components/RocketRamp/MinimalKyc/form.js +2 -2
- package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
- package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
- package/dist/components/RocketRamp/Player/Buy/form.js +3 -3
- package/dist/components/RocketRamp/Player/Buy/index.js +5 -5
- package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
- package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
- package/dist/components/RocketRamp/Player/Sell/form.js +3 -3
- package/dist/components/RocketRamp/Player/Sell/index.js +5 -5
- package/dist/components/RocketRamp/Player/SignIn/index.js +2 -2
- package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
- package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
- package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
- package/dist/components/RocketRamp/Player/SignUp/index.js +2 -2
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
- package/dist/components/RocketRamp/ResetPassword/index.js +2 -2
- package/dist/components/RocketRamp/Store/SignUp/index.js +2 -2
- package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
- package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
- package/dist/components/RocketRamp/Transactions/index.js +2 -2
- package/dist/components/Shared/FullKyc/index.js +3 -3
- package/dist/components/Shared/FullKyc/personalDetails.js +2 -2
- package/dist/components/Shared/FullKyc/userInfo.js +3 -3
- package/dist/components/Shared/MinimalKyc/index.d.ts +2 -2
- package/dist/components/Shared/MinimalKyc/index.js +63 -55
- package/dist/components/Wallet/Account/iban.js +4 -4
- package/dist/components/Wallet/Account/index.js +4 -4
- package/dist/components/Wallet/Account/sendIban.js +2 -2
- package/dist/components/Wallet/Buy/confirmTransaction.js +3 -3
- package/dist/components/Wallet/Buy/form.js +3 -3
- package/dist/components/Wallet/Buy/index.js +6 -6
- package/dist/components/Wallet/Deposit/index.d.ts +4 -1
- package/dist/components/Wallet/Deposit/index.js +20 -19
- package/dist/components/Wallet/EnterpriseKyc/edd.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/index.js +3 -3
- package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +26 -35
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +2 -2
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/verify.js +1 -1
- package/dist/components/Wallet/History/index.js +2 -2
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +2 -2
- package/dist/components/Wallet/Portfolio/index.js +3 -3
- package/dist/components/Wallet/Profile/documents.js +2 -2
- package/dist/components/Wallet/Profile/index.d.ts +1 -0
- package/dist/components/Wallet/Profile/index.js +93 -78
- package/dist/components/Wallet/Receive/index.js +2 -2
- package/dist/components/Wallet/Sell/confirmTransaction.js +3 -3
- package/dist/components/Wallet/Sell/form.js +3 -3
- package/dist/components/Wallet/Sell/index.js +6 -6
- package/dist/components/Wallet/Send/index.js +2 -2
- package/dist/components/Wallet/Shared/Auth/otpForm.js +2 -2
- package/dist/components/Wallet/Shared/CardPayment/index.js +56 -54
- package/dist/components/Wallet/Shared/addBank.js +2 -2
- package/dist/components/Wallet/Shared/connectPlaidBank.js +2 -2
- package/dist/components/Wallet/SignIn/index.js +2 -2
- package/dist/components/Wallet/SignUp/index.js +2 -2
- package/dist/components/Wallet/Stake/index.js +3 -3
- package/dist/components/Wallet/Swap/index.js +228 -213
- package/dist/components/Wallet/Withdraw/bankSelect.js +4 -4
- package/dist/components/Wallet/Withdraw/confirmTransaction.js +3 -3
- package/dist/components/Wallet/Withdraw/form.js +3 -3
- package/dist/components/Wallet/Withdraw/index.js +5 -5
- package/dist/{constants-CdVZO8DH.js → constants-BJByDTQY.js} +132 -131
- package/dist/{cryptoAssets-awZZ9HTs.js → cryptoAssets-BcVSdM1C.js} +1 -1
- package/dist/{documents-DvNPkuYe.js → documents-HjBKq9qA.js} +1 -1
- package/dist/{fiatAssets-yeCL6wA9.js → fiatAssets-C_F8qNzr.js} +1 -1
- package/dist/{iban-4bMHHpJO.js → iban-Dh7qBGGc.js} +3 -3
- package/dist/{index-86Hyynn-.js → index-B2OIoTNN.js} +98 -95
- package/dist/{index-CFWL7CoB.js → index-BEH1PkNC.js} +203 -200
- package/dist/{index-DHrWPN34.js → index-BFIhKqqi.js} +152 -142
- package/dist/{index-Dx7-MJk2.js → index-CQe8cwpc.js} +2 -2
- package/dist/{index-98VYd3cT.js → index-DSZxScyY.js} +188 -185
- package/dist/{index-SbY3kKNL.js → index-DkMQ44xy.js} +117 -111
- package/dist/{kyc-Dur3dRxq.js → kyc-DJpiKj5d.js} +1 -1
- package/dist/main.js +6 -6
- package/dist/order-DhUA-ZNX.js +43 -0
- package/dist/{stake-DaOB24Ou.js → stake-DWRuAE1u.js} +1 -1
- package/dist/util/constants.d.ts +1 -3
- package/dist/util/constants.js +27 -29
- package/dist/{wallet-D76D_QSY.js → wallet-z7NHqtCj.js} +1 -1
- package/package.json +2 -2
- package/dist/order-DNSedxgT.js +0 -41
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { L as a, V as E, a as s, b as t, A as R, R as _, c as y, d as o, e as S, f as T, g as p, h as l, i } from "./constants-
|
|
1
|
+
import { L as a, V as E, a as s, b as t, A as R, R as _, c as y, d as o, e as S, f as T, g as p, h as l, i } from "./constants-BJByDTQY.js";
|
|
2
2
|
const A = () => ({
|
|
3
3
|
type: R
|
|
4
4
|
}), I = (e) => ({
|
|
@@ -7,8 +7,8 @@ import { nameRegex as J } from "../../../util/regex.js";
|
|
|
7
7
|
import "../../../hoc/withThemeProvider.js";
|
|
8
8
|
import "../../Wallet/Shared/appButton.js";
|
|
9
9
|
import "../../Wallet/Shared/Auth/otpForm.js";
|
|
10
|
-
import "../../../constants-
|
|
11
|
-
import { r as Q, u as U } from "../../../kyc-
|
|
10
|
+
import "../../../constants-BJByDTQY.js";
|
|
11
|
+
import { r as Q, u as U } from "../../../kyc-DJpiKj5d.js";
|
|
12
12
|
import "../../../context/snackBarContext.js";
|
|
13
13
|
import "../../../util/conversions.js";
|
|
14
14
|
import "../../../index-CAoLi5Qq.js";
|
|
@@ -7,9 +7,9 @@ import "../../../../util/functions.js";
|
|
|
7
7
|
import "../../../../util/constants.js";
|
|
8
8
|
import "../../Shared/Input/index.js";
|
|
9
9
|
import "../../Shared/Button/index.js";
|
|
10
|
-
import { C as c } from "../../../../index-
|
|
11
|
-
import "../../../../constants-
|
|
12
|
-
import "../../../../order-
|
|
10
|
+
import { C as c } from "../../../../index-B2OIoTNN.js";
|
|
11
|
+
import "../../../../constants-BJByDTQY.js";
|
|
12
|
+
import "../../../../order-DhUA-ZNX.js";
|
|
13
13
|
import "../../../../Typography-Ds4fpvK8.js";
|
|
14
14
|
import "../../../../Box-Be0E_-eR.js";
|
|
15
15
|
import "../../../../CircularProgress-fePUtoaj.js";
|
|
@@ -3,10 +3,10 @@ import "react";
|
|
|
3
3
|
import "../../Shared/backBtn.js";
|
|
4
4
|
import "../../../../util/functions.js";
|
|
5
5
|
import "../../../../util/constants.js";
|
|
6
|
-
import { a as b } from "../../../../index-
|
|
6
|
+
import { a as b } from "../../../../index-B2OIoTNN.js";
|
|
7
7
|
import "../../Shared/Button/index.js";
|
|
8
|
-
import "../../../../constants-
|
|
9
|
-
import "../../../../order-
|
|
8
|
+
import "../../../../constants-BJByDTQY.js";
|
|
9
|
+
import "../../../../order-DhUA-ZNX.js";
|
|
10
10
|
import "../../../../Typography-Ds4fpvK8.js";
|
|
11
11
|
import "../../../../Box-Be0E_-eR.js";
|
|
12
12
|
import "../../../../Grid2-DX2sucnU.js";
|
|
@@ -5,12 +5,12 @@ import "../../../../Info-83BXSu73.js";
|
|
|
5
5
|
import "../../../../generic-token-B_ptO5yb.js";
|
|
6
6
|
import "../../Shared/Input/index.js";
|
|
7
7
|
import "../../../../util/constants.js";
|
|
8
|
-
import "../../../../constants-
|
|
9
|
-
import "../../../../order-
|
|
8
|
+
import "../../../../constants-BJByDTQY.js";
|
|
9
|
+
import "../../../../order-DhUA-ZNX.js";
|
|
10
10
|
import "../../../../tooltip-CwdohO6q.js";
|
|
11
11
|
import "../../../../util/functions.js";
|
|
12
12
|
import "../../Shared/Button/index.js";
|
|
13
|
-
import { B as w } from "../../../../index-
|
|
13
|
+
import { B as w } from "../../../../index-B2OIoTNN.js";
|
|
14
14
|
import "../../../../Grid2-DX2sucnU.js";
|
|
15
15
|
import "../../../../Box-Be0E_-eR.js";
|
|
16
16
|
import "../../../../Typography-Ds4fpvK8.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../../hoc/withThemeProvider.js";
|
|
4
|
-
import { b as F, F as I, M as e, P as f, i as A } from "../../../../index-
|
|
4
|
+
import { b as F, F as I, M as e, P as f, i as A } from "../../../../index-B2OIoTNN.js";
|
|
5
5
|
import "../../../../react-redux-C7I9-1M6.js";
|
|
6
|
-
import "../../../../constants-
|
|
7
|
-
import "../../../../fiatAssets-
|
|
8
|
-
import "../../../../cryptoAssets-
|
|
9
|
-
import "../../../../order-
|
|
6
|
+
import "../../../../constants-BJByDTQY.js";
|
|
7
|
+
import "../../../../fiatAssets-C_F8qNzr.js";
|
|
8
|
+
import "../../../../cryptoAssets-BcVSdM1C.js";
|
|
9
|
+
import "../../../../order-DhUA-ZNX.js";
|
|
10
10
|
import "../../../../util/constants.js";
|
|
11
11
|
import "../../MinimalKyc/form.js";
|
|
12
12
|
import "../../../../util/functions.js";
|
|
@@ -3,8 +3,8 @@ import w from "../../../../hoc/withThemeProvider.js";
|
|
|
3
3
|
import x from "./balance.js";
|
|
4
4
|
import S from "./transaction.js";
|
|
5
5
|
import { a as C, u as c } from "../../../../react-redux-C7I9-1M6.js";
|
|
6
|
-
import "../../../../constants-
|
|
7
|
-
import {
|
|
6
|
+
import "../../../../constants-BJByDTQY.js";
|
|
7
|
+
import { e as b } from "../../../../order-DhUA-ZNX.js";
|
|
8
8
|
import { useState as B, useEffect as a } from "react";
|
|
9
9
|
import { getOrionBalance as D } from "../../../../util/functions.js";
|
|
10
10
|
import { useRrDialog as P } from "../../../../hooks/useRrDialog/index.js";
|
|
@@ -3,10 +3,10 @@ import "react";
|
|
|
3
3
|
import "../../Shared/backBtn.js";
|
|
4
4
|
import "../../../../util/functions.js";
|
|
5
5
|
import "../../../../util/constants.js";
|
|
6
|
-
import { B as h } from "../../../../index-
|
|
6
|
+
import { B as h } from "../../../../index-DkMQ44xy.js";
|
|
7
7
|
import "../../Shared/Button/index.js";
|
|
8
|
-
import "../../../../constants-
|
|
9
|
-
import "../../../../order-
|
|
8
|
+
import "../../../../constants-BJByDTQY.js";
|
|
9
|
+
import "../../../../order-DhUA-ZNX.js";
|
|
10
10
|
import "../../../Shared/transition.js";
|
|
11
11
|
import "../../../../Close-D20PIPiF.js";
|
|
12
12
|
import "../../../../Typography-Ds4fpvK8.js";
|
|
@@ -5,12 +5,12 @@ import "../../../../Info-83BXSu73.js";
|
|
|
5
5
|
import "../../../../generic-token-B_ptO5yb.js";
|
|
6
6
|
import "../../Shared/Input/index.js";
|
|
7
7
|
import "../../../../util/constants.js";
|
|
8
|
-
import "../../../../constants-
|
|
9
|
-
import "../../../../order-
|
|
8
|
+
import "../../../../constants-BJByDTQY.js";
|
|
9
|
+
import "../../../../order-DhUA-ZNX.js";
|
|
10
10
|
import "../../../../tooltip-CwdohO6q.js";
|
|
11
11
|
import "../../../../util/functions.js";
|
|
12
12
|
import "../../Shared/Button/index.js";
|
|
13
|
-
import { S as w } from "../../../../index-
|
|
13
|
+
import { S as w } from "../../../../index-DkMQ44xy.js";
|
|
14
14
|
import "../../../../Grid2-DX2sucnU.js";
|
|
15
15
|
import "../../../../Box-Be0E_-eR.js";
|
|
16
16
|
import "../../../../Typography-Ds4fpvK8.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../../hoc/withThemeProvider.js";
|
|
4
|
-
import { C as T, F as b, M as c, P as g, i as h } from "../../../../index-
|
|
4
|
+
import { C as T, F as b, M as c, P as g, i as h } from "../../../../index-DkMQ44xy.js";
|
|
5
5
|
import "../../../../react-redux-C7I9-1M6.js";
|
|
6
6
|
import "../../../../util/functions.js";
|
|
7
7
|
import "../../../Wallet/Shared/appButton.js";
|
|
8
8
|
import "../../../../util/constants.js";
|
|
9
9
|
import "../../../Wallet/Shared/Auth/otpForm.js";
|
|
10
|
-
import "../../../../constants-
|
|
11
|
-
import "../../../../fiatAssets-
|
|
12
|
-
import "../../../../cryptoAssets-
|
|
13
|
-
import "../../../../order-
|
|
10
|
+
import "../../../../constants-BJByDTQY.js";
|
|
11
|
+
import "../../../../fiatAssets-C_F8qNzr.js";
|
|
12
|
+
import "../../../../cryptoAssets-BcVSdM1C.js";
|
|
13
|
+
import "../../../../order-DhUA-ZNX.js";
|
|
14
14
|
import "../../../../context/snackBarContext.js";
|
|
15
15
|
import "../../../../util/conversions.js";
|
|
16
16
|
import "../../../../index-CAoLi5Qq.js";
|
|
@@ -6,8 +6,8 @@ import L from "../../../../hoc/withThemeProvider.js";
|
|
|
6
6
|
import { L as T } from "../../../../rr-primary-logo-CqI24c8v.js";
|
|
7
7
|
import y from "./loginForm.js";
|
|
8
8
|
import D from "./otpForm.js";
|
|
9
|
-
import "../../../../constants-
|
|
10
|
-
import { a as R } from "../../../../auth-
|
|
9
|
+
import "../../../../constants-BJByDTQY.js";
|
|
10
|
+
import { a as R } from "../../../../auth-CR0412E5.js";
|
|
11
11
|
import { C } from "../../../../Container-CTfl6Vy4.js";
|
|
12
12
|
import { T as E } from "../../../../Typography-Ds4fpvK8.js";
|
|
13
13
|
import { B as l } from "../../../../Box-Be0E_-eR.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as t, Fragment as g, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as h, useEffect as v } from "react";
|
|
3
|
-
import "../../../../constants-
|
|
4
|
-
import { l as x } from "../../../../auth-
|
|
3
|
+
import "../../../../constants-BJByDTQY.js";
|
|
4
|
+
import { l as x } from "../../../../auth-CR0412E5.js";
|
|
5
5
|
import l from "../../Shared/Button/index.js";
|
|
6
6
|
import y from "../../Shared/Input/index.js";
|
|
7
7
|
import { isValidEmail as m } from "../../../../util/functions.js";
|
|
@@ -2,8 +2,8 @@ import { jsxs as n, Fragment as k, jsx as t } from "react/jsx-runtime";
|
|
|
2
2
|
import p from "../../Shared/Button/index.js";
|
|
3
3
|
import I from "../../Shared/Input/index.js";
|
|
4
4
|
import { useState as m, useEffect as f } from "react";
|
|
5
|
-
import "../../../../constants-
|
|
6
|
-
import { l as O, b as P } from "../../../../auth-
|
|
5
|
+
import "../../../../constants-BJByDTQY.js";
|
|
6
|
+
import { l as O, b as P } from "../../../../auth-CR0412E5.js";
|
|
7
7
|
import { RESEND_EMAIL_TIMER as g } from "../../../../util/constants.js";
|
|
8
8
|
import { S as o } from "../../../../Stack-C4POCZZb.js";
|
|
9
9
|
import { T as a } from "../../../../Typography-Ds4fpvK8.js";
|
|
@@ -3,8 +3,8 @@ import { useState as x, useEffect as R } from "react";
|
|
|
3
3
|
import n from "../../Shared/Button/index.js";
|
|
4
4
|
import k from "../../Shared/Input/index.js";
|
|
5
5
|
import { isValidEmail as d, generateRandomString as y } from "../../../../util/functions.js";
|
|
6
|
-
import "../../../../constants-
|
|
7
|
-
import { h as E } from "../../../../auth-
|
|
6
|
+
import "../../../../constants-BJByDTQY.js";
|
|
7
|
+
import { h as E } from "../../../../auth-CR0412E5.js";
|
|
8
8
|
import { T as S } from "../../../../Typography-Ds4fpvK8.js";
|
|
9
9
|
import { B as b } from "../../../../Box-Be0E_-eR.js";
|
|
10
10
|
import { S as T } from "../../../../Stack-C4POCZZb.js";
|
|
@@ -8,8 +8,8 @@ import A from "./email.js";
|
|
|
8
8
|
import L from "./personalInfo.js";
|
|
9
9
|
import W from "./summary.js";
|
|
10
10
|
import q from "./validateEmail.js";
|
|
11
|
-
import "../../../../constants-
|
|
12
|
-
import { a as U, u as V, c as j, d as M } from "../../../../auth-
|
|
11
|
+
import "../../../../constants-BJByDTQY.js";
|
|
12
|
+
import { a as U, u as V, c as j, d as M } from "../../../../auth-CR0412E5.js";
|
|
13
13
|
import { USERNAME_SUFFIX as N } from "../../../../util/constants.js";
|
|
14
14
|
import { C as P } from "../../../../Container-CTfl6Vy4.js";
|
|
15
15
|
import { B as F } from "../../../../Box-Be0E_-eR.js";
|
|
@@ -2,8 +2,8 @@ import { jsxs as u, Fragment as R, jsx as a } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as d } from "react";
|
|
3
3
|
import f from "../../Shared/Button/index.js";
|
|
4
4
|
import p, { UserNameInputField as T } from "../../Shared/Input/index.js";
|
|
5
|
-
import "../../../../constants-
|
|
6
|
-
import { h as S } from "../../../../auth-
|
|
5
|
+
import "../../../../constants-BJByDTQY.js";
|
|
6
|
+
import { h as S } from "../../../../auth-CR0412E5.js";
|
|
7
7
|
import { userNameRegex as L } from "../../../../util/regex.js";
|
|
8
8
|
import { USERNAME_SUFFIX as b, USERNAME_TOOLTIP as U } from "../../../../util/constants.js";
|
|
9
9
|
import { T as v } from "../../../../Typography-Ds4fpvK8.js";
|
|
@@ -3,8 +3,8 @@ import h from "../../../hoc/withThemeProvider.js";
|
|
|
3
3
|
import f from "../Shared/Button/index.js";
|
|
4
4
|
import { a as g, u as w } from "../../../react-redux-C7I9-1M6.js";
|
|
5
5
|
import { useEffect as i } from "react";
|
|
6
|
-
import "../../../constants-
|
|
7
|
-
import { g as x } from "../../../auth-
|
|
6
|
+
import "../../../constants-BJByDTQY.js";
|
|
7
|
+
import { g as x } from "../../../auth-CR0412E5.js";
|
|
8
8
|
import { useSnackBarContext as b } from "../../../context/snackBarContext.js";
|
|
9
9
|
import { B as n } from "../../../Box-Be0E_-eR.js";
|
|
10
10
|
import { T as c } from "../../../Typography-Ds4fpvK8.js";
|
|
@@ -8,8 +8,8 @@ import q from "./storeInfo.js";
|
|
|
8
8
|
import C from "./personalInfo.js";
|
|
9
9
|
import D from "./summary.js";
|
|
10
10
|
import L from "./validateEmail.js";
|
|
11
|
-
import "../../../../constants-
|
|
12
|
-
import { a as A, u as U, e as V, f as j, l as z } from "../../../../auth-
|
|
11
|
+
import "../../../../constants-BJByDTQY.js";
|
|
12
|
+
import { a as A, u as U, e as V, f as j, l as z } from "../../../../auth-CR0412E5.js";
|
|
13
13
|
import { USERNAME_SUFFIX as S } from "../../../../util/constants.js";
|
|
14
14
|
import { C as M } from "../../../../Container-CTfl6Vy4.js";
|
|
15
15
|
import { T as f } from "../../../../Typography-Ds4fpvK8.js";
|
|
@@ -2,8 +2,8 @@ import { jsxs as i, Fragment as g, jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as b } from "react";
|
|
3
3
|
import T from "../../Shared/Button/index.js";
|
|
4
4
|
import s from "../../Shared/Input/index.js";
|
|
5
|
-
import "../../../../constants-
|
|
6
|
-
import { i as y } from "../../../../auth-
|
|
5
|
+
import "../../../../constants-BJByDTQY.js";
|
|
6
|
+
import { i as y } from "../../../../auth-CR0412E5.js";
|
|
7
7
|
import { generateRandomString as B, isValidEmail as F } from "../../../../util/functions.js";
|
|
8
8
|
import { userNameRegex as L } from "../../../../util/regex.js";
|
|
9
9
|
import { USERNAME_SUFFIX as W } from "../../../../util/constants.js";
|
|
@@ -2,8 +2,8 @@ import { jsxs as d, Fragment as C, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as c } from "react";
|
|
3
3
|
import p from "../../Shared/Button/index.js";
|
|
4
4
|
import u, { UserNameInputField as k } from "../../Shared/Input/index.js";
|
|
5
|
-
import "../../../../constants-
|
|
6
|
-
import { i as w } from "../../../../auth-
|
|
5
|
+
import "../../../../constants-BJByDTQY.js";
|
|
6
|
+
import { i as w } from "../../../../auth-CR0412E5.js";
|
|
7
7
|
import { USERNAME_SUFFIX as f, USERNAME_TOOLTIP as T } from "../../../../util/constants.js";
|
|
8
8
|
import { storeNameOnChangeRegex as P, storeNameRegex as U } from "../../../../util/regex.js";
|
|
9
9
|
import { T as h } from "../../../../Typography-Ds4fpvK8.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as x, Fragment as i, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import "../../../constants-
|
|
3
|
-
import {
|
|
2
|
+
import "../../../constants-BJByDTQY.js";
|
|
3
|
+
import { e as T } from "../../../order-DhUA-ZNX.js";
|
|
4
4
|
import k from "../Shared/Button/index.js";
|
|
5
5
|
import L from "../../Shared/HistoryItem/index.js";
|
|
6
6
|
import { a as v, u as P } from "../../../react-redux-C7I9-1M6.js";
|
|
@@ -3,10 +3,10 @@ import "react";
|
|
|
3
3
|
import "../../Wallet/Shared/Container/index.js";
|
|
4
4
|
import "../Incode/index.js";
|
|
5
5
|
import "../../../hoc/withThemeProvider.js";
|
|
6
|
-
import { I as _, c as s, b as C, a as I, F as O } from "../../../index-
|
|
6
|
+
import { I as _, c as s, b as C, a as I, F as O } from "../../../index-CQe8cwpc.js";
|
|
7
7
|
import "../../../pep-BsWvrgyM.js";
|
|
8
|
-
import "../../../constants-
|
|
9
|
-
import "../../../kyc-
|
|
8
|
+
import "../../../constants-BJByDTQY.js";
|
|
9
|
+
import "../../../kyc-DJpiKj5d.js";
|
|
10
10
|
import "../../../react-redux-C7I9-1M6.js";
|
|
11
11
|
export {
|
|
12
12
|
_ as INCODE_SCREEN,
|
|
@@ -4,7 +4,7 @@ import "../../../hoc/withThemeProvider.js";
|
|
|
4
4
|
import "../../Wallet/Shared/Input/index.js";
|
|
5
5
|
import "../../Wallet/Shared/appButton.js";
|
|
6
6
|
import "../../Wallet/Shared/Auth/otpForm.js";
|
|
7
|
-
import "../../../constants-
|
|
7
|
+
import "../../../constants-BJByDTQY.js";
|
|
8
8
|
import "../../../context/snackBarContext.js";
|
|
9
9
|
import "../../../util/conversions.js";
|
|
10
10
|
import "../../../index-CAoLi5Qq.js";
|
|
@@ -19,7 +19,7 @@ import "../../../countries-BVn1FubK.js";
|
|
|
19
19
|
import "../../../web3-u4qDZYpo.js";
|
|
20
20
|
import "../../../index-B8QKlEgj.js";
|
|
21
21
|
import "../../../index-ceeCtFuh.js";
|
|
22
|
-
import { P as A } from "../../../index-
|
|
22
|
+
import { P as A } from "../../../index-CQe8cwpc.js";
|
|
23
23
|
import "../../../Box-Be0E_-eR.js";
|
|
24
24
|
import "../../../Typography-Ds4fpvK8.js";
|
|
25
25
|
import "../../../pep-BsWvrgyM.js";
|
|
@@ -5,8 +5,8 @@ import "../../Wallet/Shared/appButton.js";
|
|
|
5
5
|
import "../../../react-redux-C7I9-1M6.js";
|
|
6
6
|
import "../../../hoc/withThemeProvider.js";
|
|
7
7
|
import "../../Wallet/Shared/Auth/otpForm.js";
|
|
8
|
-
import "../../../constants-
|
|
9
|
-
import "../../../kyc-
|
|
8
|
+
import "../../../constants-BJByDTQY.js";
|
|
9
|
+
import "../../../kyc-DJpiKj5d.js";
|
|
10
10
|
import "../../../context/snackBarContext.js";
|
|
11
11
|
import "../../../util/conversions.js";
|
|
12
12
|
import "../../../hooks/useDialog/index.js";
|
|
@@ -22,7 +22,7 @@ import "../../../countries-BVn1FubK.js";
|
|
|
22
22
|
import "../../../web3-u4qDZYpo.js";
|
|
23
23
|
import "../../../index-B8QKlEgj.js";
|
|
24
24
|
import "../../../index-ceeCtFuh.js";
|
|
25
|
-
import { U as G } from "../../../index-
|
|
25
|
+
import { U as G } from "../../../index-CQe8cwpc.js";
|
|
26
26
|
import "../../../Box-Be0E_-eR.js";
|
|
27
27
|
import "../../../Typography-Ds4fpvK8.js";
|
|
28
28
|
import "../../../FormControl-Cc-02KHW.js";
|
|
@@ -6,5 +6,5 @@ interface MinimalKycProps {
|
|
|
6
6
|
inputComponent?: React.ComponentType<WalletInputProps>;
|
|
7
7
|
buttonComponent?: React.ComponentType<ButtonProps>;
|
|
8
8
|
}
|
|
9
|
-
declare const
|
|
10
|
-
export default
|
|
9
|
+
declare const MinimalKyc: ({ onComplete, inputComponent, buttonComponent, }: MinimalKycProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default MinimalKyc;
|
|
@@ -1,44 +1,43 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useState as s, useEffect as
|
|
3
|
-
import { h as
|
|
4
|
-
import { a as
|
|
1
|
+
import { jsxs as d, Fragment as k, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { useState as s, useEffect as m } from "react";
|
|
3
|
+
import { h as J } from "../../../moment-h96o7c8I.js";
|
|
4
|
+
import { a as Q, u as M } from "../../../react-redux-C7I9-1M6.js";
|
|
5
5
|
import { removeExtraSpace as i } from "../../../util/functions.js";
|
|
6
|
-
import { nameRegex as
|
|
7
|
-
import "../../../constants-
|
|
8
|
-
import { r as
|
|
9
|
-
import { c as
|
|
10
|
-
import ee from "
|
|
11
|
-
import te from "
|
|
12
|
-
import
|
|
13
|
-
import ae from "../../Wallet/Shared/appButton.js";
|
|
6
|
+
import { nameRegex as U } from "../../../util/regex.js";
|
|
7
|
+
import "../../../constants-BJByDTQY.js";
|
|
8
|
+
import { r as V, u as X } from "../../../kyc-DJpiKj5d.js";
|
|
9
|
+
import { c as $ } from "../../../countries-BVn1FubK.js";
|
|
10
|
+
import ee from "../../Wallet/Shared/Input/index.js";
|
|
11
|
+
import { useSnackBarContext as te } from "../../../context/snackBarContext.js";
|
|
12
|
+
import re from "../../Wallet/Shared/appButton.js";
|
|
14
13
|
import { T as I } from "../../../Typography-Ds4fpvK8.js";
|
|
15
14
|
import { B as a } from "../../../Box-Be0E_-eR.js";
|
|
16
|
-
import { F as
|
|
17
|
-
import { S as
|
|
18
|
-
import { M as
|
|
19
|
-
import { C as
|
|
20
|
-
const
|
|
21
|
-
onComplete:
|
|
22
|
-
inputComponent:
|
|
15
|
+
import { F as ae } from "../../../FormControl-Cc-02KHW.js";
|
|
16
|
+
import { S as se } from "../../../Select-DpKw-a6h.js";
|
|
17
|
+
import { M as z } from "../../../MenuItem-BkJ_C9Xs.js";
|
|
18
|
+
import { C as oe } from "../../../CircularProgress-fePUtoaj.js";
|
|
19
|
+
const xe = ({
|
|
20
|
+
onComplete: F,
|
|
21
|
+
inputComponent: K,
|
|
23
22
|
buttonComponent: Y
|
|
24
23
|
}) => {
|
|
25
|
-
const o =
|
|
24
|
+
const o = K ?? ee, E = Y ?? re, p = Q(), c = M(
|
|
26
25
|
(e) => e.user.profile
|
|
27
|
-
), n =
|
|
28
|
-
|
|
29
|
-
p(
|
|
30
|
-
}, []),
|
|
26
|
+
), n = M((e) => e.user.kyc), g = n.loader, f = n.error, { showAlertMessage: r } = te(), [v, y] = s(""), [C, b] = s(""), [u, L] = s(""), [W, R] = s(""), [P, j] = s(""), [S, T] = s(""), [N, Z] = s(""), [q, w] = s(""), [h, O] = s("");
|
|
27
|
+
m(() => () => {
|
|
28
|
+
p(V());
|
|
29
|
+
}, []), m(() => {
|
|
31
30
|
f && r({ message: f });
|
|
32
|
-
}, [f]),
|
|
31
|
+
}, [f]), m(() => {
|
|
33
32
|
n.minimal && (r({
|
|
34
33
|
message: "Minimal KYC has been done successfully.",
|
|
35
34
|
type: "success"
|
|
36
|
-
}),
|
|
37
|
-
}, [n]),
|
|
35
|
+
}), F());
|
|
36
|
+
}, [n]), m(() => {
|
|
38
37
|
y(c.firstName), b(c.lastName);
|
|
39
38
|
}, [c]);
|
|
40
|
-
const
|
|
41
|
-
const e = i(v), l = i(C), A = i(
|
|
39
|
+
const G = () => {
|
|
40
|
+
const e = i(v), l = i(C), A = i(W), H = i(P), B = i(S), D = i(N), _ = i(q);
|
|
42
41
|
if (!e) {
|
|
43
42
|
r({ message: "Please provide first name" });
|
|
44
43
|
return;
|
|
@@ -47,11 +46,11 @@ const le = ({
|
|
|
47
46
|
r({ message: "Please provide last name" });
|
|
48
47
|
return;
|
|
49
48
|
}
|
|
50
|
-
if (!
|
|
49
|
+
if (!u) {
|
|
51
50
|
r({ message: "Please provide date of birth" });
|
|
52
51
|
return;
|
|
53
52
|
}
|
|
54
|
-
if (
|
|
53
|
+
if (J().diff(u, "years", !1) < 18) {
|
|
55
54
|
r({
|
|
56
55
|
message: "You must be at least 18 years of age."
|
|
57
56
|
});
|
|
@@ -69,7 +68,7 @@ const le = ({
|
|
|
69
68
|
r({ message: "Please provide state" });
|
|
70
69
|
return;
|
|
71
70
|
}
|
|
72
|
-
if (!
|
|
71
|
+
if (!_) {
|
|
73
72
|
r({ message: "Please provide zip code" });
|
|
74
73
|
return;
|
|
75
74
|
}
|
|
@@ -77,25 +76,25 @@ const le = ({
|
|
|
77
76
|
r({ message: "Please provide country" });
|
|
78
77
|
return;
|
|
79
78
|
}
|
|
80
|
-
g || p(
|
|
79
|
+
g || p(X({
|
|
81
80
|
personal_information: {
|
|
82
81
|
first_name: e,
|
|
83
82
|
last_name: l,
|
|
84
|
-
date_of_birth:
|
|
83
|
+
date_of_birth: u
|
|
85
84
|
},
|
|
86
85
|
residential_address: {
|
|
87
86
|
street: A,
|
|
88
|
-
secondary_street:
|
|
87
|
+
secondary_street: H,
|
|
89
88
|
city: B,
|
|
90
89
|
state: D,
|
|
91
|
-
postcode:
|
|
90
|
+
postcode: _,
|
|
92
91
|
country: h
|
|
93
92
|
}
|
|
94
93
|
}));
|
|
95
94
|
}, x = (e, l) => {
|
|
96
|
-
e ?
|
|
95
|
+
e ? U.test(e) && l(e) : l("");
|
|
97
96
|
};
|
|
98
|
-
return /* @__PURE__ */
|
|
97
|
+
return /* @__PURE__ */ d(k, { children: [
|
|
99
98
|
/* @__PURE__ */ t(I, { color: "primary", variant: "lg", fontWeight: 600, children: /* @__PURE__ */ t("b", { children: "Personal Details" }) }),
|
|
100
99
|
/* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
|
|
101
100
|
o,
|
|
@@ -131,18 +130,27 @@ const le = ({
|
|
|
131
130
|
},
|
|
132
131
|
type: "date",
|
|
133
132
|
label: "Date Of Birth",
|
|
134
|
-
value:
|
|
133
|
+
value: u,
|
|
135
134
|
onChange: (e) => L(e.target.value),
|
|
136
135
|
fullWidth: !0,
|
|
137
136
|
required: !0
|
|
138
137
|
}
|
|
139
138
|
) }),
|
|
140
|
-
/* @__PURE__ */ t(
|
|
139
|
+
/* @__PURE__ */ t(
|
|
140
|
+
I,
|
|
141
|
+
{
|
|
142
|
+
sx: { mt: 2 },
|
|
143
|
+
color: "primary",
|
|
144
|
+
variant: "body1",
|
|
145
|
+
fontWeight: 600,
|
|
146
|
+
children: /* @__PURE__ */ t("b", { children: "Residential Address Details" })
|
|
147
|
+
}
|
|
148
|
+
),
|
|
141
149
|
/* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
|
|
142
150
|
o,
|
|
143
151
|
{
|
|
144
152
|
label: "Address 1",
|
|
145
|
-
value:
|
|
153
|
+
value: W,
|
|
146
154
|
onChange: (e) => R(e.target.value),
|
|
147
155
|
fullWidth: !0,
|
|
148
156
|
required: !0
|
|
@@ -152,8 +160,8 @@ const le = ({
|
|
|
152
160
|
o,
|
|
153
161
|
{
|
|
154
162
|
label: "Address 2 (optional)",
|
|
155
|
-
value:
|
|
156
|
-
onChange: (e) =>
|
|
163
|
+
value: P,
|
|
164
|
+
onChange: (e) => j(e.target.value),
|
|
157
165
|
fullWidth: !0
|
|
158
166
|
}
|
|
159
167
|
) }),
|
|
@@ -162,7 +170,7 @@ const le = ({
|
|
|
162
170
|
{
|
|
163
171
|
label: "City",
|
|
164
172
|
value: S,
|
|
165
|
-
onChange: (e) =>
|
|
173
|
+
onChange: (e) => T(e.target.value),
|
|
166
174
|
fullWidth: !0,
|
|
167
175
|
required: !0
|
|
168
176
|
}
|
|
@@ -172,7 +180,7 @@ const le = ({
|
|
|
172
180
|
{
|
|
173
181
|
label: "State",
|
|
174
182
|
value: N,
|
|
175
|
-
onChange: (e) =>
|
|
183
|
+
onChange: (e) => Z(e.target.value),
|
|
176
184
|
fullWidth: !0,
|
|
177
185
|
required: !0
|
|
178
186
|
}
|
|
@@ -182,12 +190,12 @@ const le = ({
|
|
|
182
190
|
{
|
|
183
191
|
label: "Zip Code",
|
|
184
192
|
value: q,
|
|
185
|
-
onChange: (e) =>
|
|
193
|
+
onChange: (e) => w(e.target.value),
|
|
186
194
|
fullWidth: !0,
|
|
187
195
|
required: !0
|
|
188
196
|
}
|
|
189
197
|
) }),
|
|
190
|
-
/* @__PURE__ */
|
|
198
|
+
/* @__PURE__ */ d(a, { mt: 2, children: [
|
|
191
199
|
/* @__PURE__ */ t(
|
|
192
200
|
"label",
|
|
193
201
|
{
|
|
@@ -200,25 +208,25 @@ const le = ({
|
|
|
200
208
|
children: "Country *"
|
|
201
209
|
}
|
|
202
210
|
),
|
|
203
|
-
/* @__PURE__ */ t(
|
|
204
|
-
|
|
211
|
+
/* @__PURE__ */ t(ae, { fullWidth: !0, children: /* @__PURE__ */ d(
|
|
212
|
+
se,
|
|
205
213
|
{
|
|
206
214
|
value: h,
|
|
207
215
|
displayEmpty: !0,
|
|
208
216
|
onChange: (e) => O(e.target.value),
|
|
209
217
|
children: [
|
|
210
|
-
/* @__PURE__ */ t(
|
|
211
|
-
|
|
218
|
+
/* @__PURE__ */ t(z, { value: "", children: "Select Country" }),
|
|
219
|
+
$.map((e) => /* @__PURE__ */ t(z, { value: e.alpha3, children: e.name }, e.alpha3))
|
|
212
220
|
]
|
|
213
221
|
}
|
|
214
222
|
) })
|
|
215
223
|
] }),
|
|
216
|
-
/* @__PURE__ */ t(a, { mt: 4, children: /* @__PURE__ */ t(E, { onClick:
|
|
217
|
-
/* @__PURE__ */ t(
|
|
224
|
+
/* @__PURE__ */ t(a, { mt: 4, children: /* @__PURE__ */ t(E, { onClick: G, fullWidth: !0, children: /* @__PURE__ */ t("strong", { children: g ? /* @__PURE__ */ d(k, { children: [
|
|
225
|
+
/* @__PURE__ */ t(oe, { size: 15, color: "inherit" }),
|
|
218
226
|
" Processing..."
|
|
219
227
|
] }) : "Submit" }) }) })
|
|
220
228
|
] });
|
|
221
|
-
}
|
|
229
|
+
};
|
|
222
230
|
export {
|
|
223
|
-
|
|
231
|
+
xe as default
|
|
224
232
|
};
|
|
@@ -4,13 +4,13 @@ import "../../../Info-83BXSu73.js";
|
|
|
4
4
|
import "../../../Close-D20PIPiF.js";
|
|
5
5
|
import "../../../ContentCopy-DzhD9ue3.js";
|
|
6
6
|
import "../../../util/constants.js";
|
|
7
|
-
import "../../../constants-
|
|
8
|
-
import "../../../order-
|
|
9
|
-
import "../../../bank-
|
|
7
|
+
import "../../../constants-BJByDTQY.js";
|
|
8
|
+
import "../../../order-DhUA-ZNX.js";
|
|
9
|
+
import "../../../bank-iFS1RXp-.js";
|
|
10
10
|
import "../../../tooltip-CwdohO6q.js";
|
|
11
11
|
import "../Shared/noData.js";
|
|
12
12
|
import "../../Shared/transition.js";
|
|
13
|
-
import { I as y } from "../../../iban-
|
|
13
|
+
import { I as y } from "../../../iban-Dh7qBGGc.js";
|
|
14
14
|
import "./sendIban.js";
|
|
15
15
|
import "./createIban.js";
|
|
16
16
|
import "../../../context/snackBarContext.js";
|