everest-npm-features 0.0.61 → 0.0.62
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/{Cancel-4lT7GZUA.js → Cancel-pHQsCjtK.js} +1 -1
- package/dist/{Close-CNwiMz_O.js → Close-DSxLLo08.js} +1 -1
- package/dist/{ContentCopy-coPwrEuz.js → ContentCopy-D0C0zbQj.js} +1 -1
- package/dist/{Delete-jpMstGIF.js → Delete-Bj8zmXnh.js} +1 -1
- package/dist/{ErrorOutline-CPQcnl2b.js → ErrorOutline-Bt7P4ChN.js} +1 -1
- package/dist/{FileDownload-Bt3R_NBr.js → FileDownload-DqREXR3D.js} +1 -1
- package/dist/{Info-BVeUSPyk.js → Info-DOoRR7sR.js} +1 -1
- package/dist/{PlayArrow-Bjz9LxhD.js → PlayArrow-BVDyfxsQ.js} +1 -1
- package/dist/Portal-BeS9yJCZ.js +968 -0
- package/dist/{auth-Cwq6nfwY.js → auth-DTJdu6mq.js} +10 -10
- package/dist/components/RocketRamp/MinimalKyc/form.js +45 -50
- package/dist/components/RocketRamp/MinimalKyc/index.js +6 -6
- package/dist/components/RocketRamp/Player/Buy/cardPayment.js +4 -6
- package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -6
- package/dist/components/RocketRamp/Player/Buy/form.js +6 -15
- package/dist/components/RocketRamp/Player/Buy/index.js +3 -3
- package/dist/components/RocketRamp/Player/Dashboard/balance.js +20 -26
- package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
- package/dist/components/RocketRamp/Player/Dashboard/transaction.js +13 -16
- package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +4 -9
- package/dist/components/RocketRamp/Player/Sell/form.js +6 -15
- package/dist/components/RocketRamp/Player/Sell/index.js +11 -10
- package/dist/components/RocketRamp/Player/SignIn/index.js +22 -24
- package/dist/components/RocketRamp/Player/SignIn/loginForm.js +32 -34
- package/dist/components/RocketRamp/Player/SignIn/otpForm.js +30 -32
- package/dist/components/RocketRamp/Player/SignUp/email.js +20 -22
- package/dist/components/RocketRamp/Player/SignUp/index.js +48 -51
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +67 -73
- package/dist/components/RocketRamp/Player/SignUp/summary.js +23 -25
- package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +23 -25
- package/dist/components/RocketRamp/ResetPassword/index.js +22 -24
- package/dist/components/RocketRamp/Shared/Button/index.js +16 -17
- package/dist/components/RocketRamp/Shared/Input/index.js +27 -30
- package/dist/components/RocketRamp/Shared/backBtn.js +10 -11
- package/dist/components/RocketRamp/Shared/transactionItem.js +40 -45
- package/dist/components/RocketRamp/Store/Dashboard/balance.js +12 -17
- package/dist/components/RocketRamp/Store/Dashboard/index.js +11 -12
- package/dist/components/RocketRamp/Store/Dashboard/stats.js +12 -17
- package/dist/components/RocketRamp/Store/Dashboard/transaction.js +13 -16
- package/dist/components/RocketRamp/Store/SignUp/index.js +52 -55
- package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +47 -53
- package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +32 -36
- package/dist/components/RocketRamp/Store/SignUp/summary.js +21 -23
- package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +23 -25
- package/dist/components/RocketRamp/Transactions/index.js +22 -23
- package/dist/components/Shared/FullKyc/countryList.js +15 -17
- package/dist/components/Shared/FullKyc/edd.js +50 -52
- package/dist/components/Shared/FullKyc/index.js +11 -9
- package/dist/components/Shared/FullKyc/pep.js +35 -43
- package/dist/components/Shared/FullKyc/personalDetails.js +5 -5
- package/dist/components/Shared/FullKyc/userInfo.js +6 -11
- package/dist/components/Shared/HistoryItem/index.js +43 -48
- package/dist/components/Shared/Incode/index.js +31 -35
- package/dist/components/Shared/MinimalKyc/index.js +59 -64
- package/dist/components/Shared/Sumsub/index.js +74 -61
- package/dist/components/Shared/loader.js +4 -5
- package/dist/components/Shared/tooltip.js +2 -2
- package/dist/components/Shared/transition.js +4 -4
- package/dist/components/Wallet/Account/createIban.js +34 -37
- package/dist/components/Wallet/Account/eWallet.js +35 -39
- package/dist/components/Wallet/Account/iban.js +49 -53
- package/dist/components/Wallet/Account/ibanItem.js +68 -73
- package/dist/components/Wallet/Account/index.js +66 -73
- package/dist/components/Wallet/Account/sendIban.js +79 -88
- package/dist/components/Wallet/Buy/confirmTransaction.js +6 -8
- package/dist/components/Wallet/Buy/form.js +6 -16
- package/dist/components/Wallet/Buy/index.js +2 -2
- package/dist/components/Wallet/Deposit/index.js +15 -17
- package/dist/components/Wallet/EnterpriseKyc/edd.js +31 -32
- package/dist/components/Wallet/EnterpriseKyc/index.js +73 -77
- package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +23 -26
- package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +5 -7
- package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/kycType.js +23 -26
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +32 -33
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3590 -1481
- package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
- package/dist/components/Wallet/EnterpriseKyc/verify.js +21 -21
- package/dist/components/Wallet/History/index.js +22 -796
- package/dist/components/Wallet/Home/index.js +13 -14
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +91 -96
- package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
- package/dist/components/Wallet/Portfolio/index.js +47 -50
- package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
- package/dist/components/Wallet/Profile/documents.js +125 -134
- package/dist/components/Wallet/Profile/index.js +37 -42
- package/dist/components/Wallet/Profile/storage.js +39 -47
- package/dist/components/Wallet/Receive/index.js +31 -36
- package/dist/components/Wallet/Sell/confirmTransaction.js +6 -8
- package/dist/components/Wallet/Sell/form.js +6 -16
- package/dist/components/Wallet/Sell/index.js +2 -2
- package/dist/components/Wallet/Send/index.js +98 -107
- package/dist/components/Wallet/Shared/Auth/emailForm.js +13 -15
- package/dist/components/Wallet/Shared/Auth/otpForm.js +8 -355
- package/dist/components/Wallet/Shared/BankSelect/index.js +44 -48
- package/dist/components/Wallet/Shared/CardCorp/index.js +17 -18
- package/dist/components/Wallet/Shared/CardPayment/index.js +14 -16
- package/dist/components/Wallet/Shared/ConnectWallet/index.js +22 -28
- package/dist/components/Wallet/Shared/Container/index.js +15 -16
- package/dist/components/Wallet/Shared/Input/index.js +3 -3
- package/dist/components/Wallet/Shared/Keyboard/keyboard.js +29 -30
- package/dist/components/Wallet/Shared/Order/paymentButton.js +13 -14
- package/dist/components/Wallet/Shared/TokenModal/index.js +55 -63
- package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +11 -13
- package/dist/components/Wallet/Shared/addBank.js +40 -44
- package/dist/components/Wallet/Shared/appButton.js +11 -15
- package/dist/components/Wallet/Shared/backBtn.js +8 -9
- package/dist/components/Wallet/Shared/button.js +7 -7
- package/dist/components/Wallet/Shared/connectPlaidBank.js +15 -16
- package/dist/components/Wallet/Shared/inputField.js +5 -5
- package/dist/components/Wallet/Shared/manualSend.js +7 -11
- package/dist/components/Wallet/Shared/noData.js +4 -5
- package/dist/components/Wallet/Shared/pin.js +25 -27
- package/dist/components/Wallet/Shared/radioButton.js +39 -5
- package/dist/components/Wallet/Shared/step.js +12 -13
- package/dist/components/Wallet/Shared/timer.js +1 -1
- package/dist/components/Wallet/SignIn/index.js +16 -16
- package/dist/components/Wallet/SignUp/index.js +62 -152
- package/dist/components/Wallet/SignUp/terms.js +1 -1
- package/dist/components/Wallet/Stake/gems/index.js +51 -58
- package/dist/components/Wallet/Stake/id/index.js +73 -81
- package/dist/components/Wallet/Stake/index.js +64 -67
- package/dist/components/Wallet/Swap/form.js +8 -17
- package/dist/components/Wallet/Swap/index.js +2 -2
- package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
- package/dist/components/Wallet/Withdraw/bankSelect.js +40 -44
- package/dist/components/Wallet/Withdraw/confirmTransaction.js +3 -6
- package/dist/components/Wallet/Withdraw/form.js +4 -15
- package/dist/components/Wallet/Withdraw/index.js +2 -2
- package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
- package/dist/hoc/withThemeProvider.js +5 -732
- package/dist/hooks/useDialog/index.js +22 -23
- package/dist/hooks/useRrDialog/index.js +43 -46
- package/dist/hooks/useSnackBar.js +24 -696
- package/dist/icons/buyIcon.js +1 -1
- package/dist/icons/canceledBuyIcon.js +1 -1
- package/dist/icons/canceledRedeemIcon.js +1 -1
- package/dist/icons/failedBuyIcon.js +2 -2
- package/dist/icons/failedRedeemIcon.js +2 -2
- package/dist/icons/pendingBuyIcon.js +1 -1
- package/dist/icons/pendingRedeemIcon.js +1 -1
- package/dist/icons/redeemIcon.js +1 -1
- package/dist/{index-BbVpeed7.js → index-3OQ4M69t.js} +87 -96
- package/dist/{index-BHG1bT4t.js → index-BBFbUCRZ.js} +123 -128
- package/dist/{index-Dh_ahu-u.js → index-C1WPCgkl.js} +129 -140
- package/dist/{index-eEBuSKOo.js → index-CDwzoHu7.js} +124 -134
- package/dist/{index-B9oucF3r.js → index-CK4kLRAw.js} +189 -198
- package/dist/{index-C7Td5yoW.js → index-CYX3j0V7.js} +172 -181
- package/dist/{index-D2JWUPz8.js → index-ILpK4BCB.js} +154 -163
- package/dist/main.js +7 -7
- package/dist/memoTheme-DnE8lj0t.js +3481 -0
- package/dist/otpForm-fiNqeB5H.js +7378 -0
- package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
- package/dist/tooltip-BW0UyWw7.js +2129 -0
- package/package.json +6 -6
- package/dist/Alert-DzsbFW3-.js +0 -369
- package/dist/Autocomplete-CE-OI2t8.js +0 -2429
- package/dist/Avatar-1XklXr4O.js +0 -281
- package/dist/Backdrop-CioURPVG.js +0 -359
- package/dist/Box-B0YSYLco.js +0 -59
- package/dist/Button-Df4vgU24.js +0 -663
- package/dist/ButtonBase-DLF5c6wi.js +0 -870
- package/dist/CardContent-D9wTdpu-.js +0 -141
- package/dist/CircularProgress-xZA3lvba.js +0 -252
- package/dist/Close-CxzDL3J-.js +0 -9
- package/dist/Container-urNKV7hm.js +0 -181
- package/dist/DefaultPropsProvider-CeF7UYM9.js +0 -92
- package/dist/DefaultPropsProvider-oAu9El-f.js +0 -226
- package/dist/DialogContent-BMwlOnbW.js +0 -567
- package/dist/DialogTitle-CfS0bb2K.js +0 -70
- package/dist/Divider-BShhMFf4.js +0 -297
- package/dist/FilledInput-DuNqnPjc.js +0 -1292
- package/dist/FormControl-RtZDQMdA.js +0 -258
- package/dist/FormControlLabel-BliKW48y.js +0 -519
- package/dist/GlobalStyles-ChMhDfTS.js +0 -59
- package/dist/Grid-CFe3amXO.js +0 -410
- package/dist/Grow-CnGtel3u.js +0 -196
- package/dist/HTMLElementType-BrQSV2FE.js +0 -13
- package/dist/IconButton-DHm-hucF.js +0 -297
- package/dist/InputAdornment-DMiED3JH.js +0 -173
- package/dist/Link-DBA9Yifs.js +0 -266
- package/dist/ListItemIcon-CUcyTEEm.js +0 -84
- package/dist/Menu-DLYFFrEk.js +0 -1239
- package/dist/MenuItem-DUdYOJr4.js +0 -271
- package/dist/Modal-CFIQ_s3T.js +0 -743
- package/dist/Paper-Bgt2WXI6.js +0 -186
- package/dist/Popper-BBAoiZKn.js +0 -1409
- package/dist/Portal-BMAxiQwe.js +0 -69
- package/dist/RadioGroup-nvoSN0JN.js +0 -189
- package/dist/Select-CB5yWmyn.js +0 -1886
- package/dist/Slide-B9Nw0LZ4.js +0 -235
- package/dist/Stack-k55YTxET.js +0 -172
- package/dist/SwitchBase-C8zFyg_x.js +0 -318
- package/dist/TextField-DPpRUQe3.js +0 -978
- package/dist/TransitionGroupContext-CYRQkQ6k.js +0 -49
- package/dist/Typography-pAaje37G.js +0 -260
- package/dist/chainPropTypes-D9lkm76m.js +0 -8
- package/dist/clsx-BTaloaeC.js +0 -264
- package/dist/createChainedFunction-C0nujS3O.js +0 -9
- package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
- package/dist/createTheme-CD19zQB7.js +0 -3825
- package/dist/debounce-46wSf_lW.js +0 -15
- package/dist/defaultTheme-C35y5cLB.js +0 -5
- package/dist/dividerClasses-BDxa2gAa.js +0 -10
- package/dist/elementAcceptingRef-CqLvP78G.js +0 -391
- package/dist/elementTypeAcceptingRef-BdsMpCbS.js +0 -23
- package/dist/emotion-react.browser.esm-BIrDfk-B.js +0 -246
- package/dist/exactProp-C1Lmtwf_.js +0 -13
- package/dist/extendSxProp-B8UjbJ56.js +0 -37
- package/dist/generateUtilityClasses-BRiE4Guh.js +0 -10
- package/dist/index-B0Z-Gjno.js +0 -22
- package/dist/index-DUcLo3x5.js +0 -43
- package/dist/isFocusVisible-CPZqtjv2.js +0 -12
- package/dist/isHostComponent-kiaBvYVo.js +0 -6
- package/dist/isMuiElement-DnSE4qG4.js +0 -13
- package/dist/memoTheme-yHaPezod.js +0 -15
- package/dist/ownerWindow-CRgpWY6I.js +0 -7
- package/dist/radioButton-CzlYB0Lh.js +0 -402
- package/dist/refType-BsTH3qnM.js +0 -56
- package/dist/tooltip-3UvETWtS.js +0 -740
- package/dist/useControlled-nm4pBabJ.js +0 -31
- package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
- package/dist/useFormControl-CatNKXAi.js +0 -10
- package/dist/useId-CK6Kn3Tn.js +0 -21
- package/dist/useSlot-CW7SOYlh.js +0 -125
- package/dist/useSlotProps-BfEOwJvJ.js +0 -25
- package/dist/useTheme-BQJ5lp0i.js +0 -11
- package/dist/useTheme-S5_DHFsQ.js +0 -17
- package/dist/useThemeProps-DN9MjdTl.js +0 -29
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { jsx as r, jsxs as
|
|
2
|
-
import {
|
|
1
|
+
import { jsx as r, jsxs as n } from "react/jsx-runtime";
|
|
2
|
+
import { Grid as i, Box as o, Typography as t } from "@mui/material";
|
|
3
|
+
import { c as a } from "../../../../createSvgIcon-B28GrUxG.js";
|
|
3
4
|
import { G as x } from "../../../../generic-token-B_ptO5yb.js";
|
|
4
|
-
import { G as i } from "../../../../Grid-CFe3amXO.js";
|
|
5
|
-
import { B as o } from "../../../../Box-B0YSYLco.js";
|
|
6
|
-
import { T as n } from "../../../../Typography-pAaje37G.js";
|
|
7
5
|
const d = a(/* @__PURE__ */ r("path", {
|
|
8
6
|
d: "m7 10 5 5 5-5z"
|
|
9
|
-
}), "ArrowDropDown"),
|
|
7
|
+
}), "ArrowDropDown"), u = ({ token: e, from: l, showBalance: c }) => {
|
|
10
8
|
const p = l === "select" ? 4 : 5;
|
|
11
|
-
return /* @__PURE__ */
|
|
9
|
+
return /* @__PURE__ */ n(i, { container: !0, spacing: 2, alignItems: "center", children: [
|
|
12
10
|
/* @__PURE__ */ r(i, { size: 1.5, children: /* @__PURE__ */ r(
|
|
13
11
|
o,
|
|
14
12
|
{
|
|
@@ -26,9 +24,9 @@ const d = a(/* @__PURE__ */ r("path", {
|
|
|
26
24
|
}
|
|
27
25
|
}
|
|
28
26
|
) }),
|
|
29
|
-
/* @__PURE__ */ r(i, { size: 5.5, children: /* @__PURE__ */
|
|
27
|
+
/* @__PURE__ */ r(i, { size: 5.5, children: /* @__PURE__ */ n(o, { sx: { textAlign: "left" }, children: [
|
|
30
28
|
/* @__PURE__ */ r(
|
|
31
|
-
|
|
29
|
+
t,
|
|
32
30
|
{
|
|
33
31
|
title: e.name,
|
|
34
32
|
sx: {
|
|
@@ -44,8 +42,8 @@ const d = a(/* @__PURE__ */ r("path", {
|
|
|
44
42
|
children: e.name
|
|
45
43
|
}
|
|
46
44
|
),
|
|
47
|
-
/* @__PURE__ */
|
|
48
|
-
|
|
45
|
+
/* @__PURE__ */ n(
|
|
46
|
+
t,
|
|
49
47
|
{
|
|
50
48
|
title: c ? `${e == null ? void 0 : e.fmt_balance} ${e.symbol}` : "",
|
|
51
49
|
sx: {
|
|
@@ -81,9 +79,9 @@ const d = a(/* @__PURE__ */ r("path", {
|
|
|
81
79
|
children: e.network.name
|
|
82
80
|
}
|
|
83
81
|
) }) }),
|
|
84
|
-
l === "select" && /* @__PURE__ */ r(i, { size: 1, children: /* @__PURE__ */ r(
|
|
82
|
+
l === "select" && /* @__PURE__ */ r(i, { size: 1, children: /* @__PURE__ */ r(t, { sx: { textAlign: "right", color: "#195BB6" }, children: /* @__PURE__ */ r(d, {}) }) })
|
|
85
83
|
] });
|
|
86
84
|
};
|
|
87
85
|
export {
|
|
88
|
-
|
|
86
|
+
u as default
|
|
89
87
|
};
|
|
@@ -1,41 +1,37 @@
|
|
|
1
1
|
import { jsxs as t, Fragment as I, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { useState as
|
|
2
|
+
import { useState as o, useEffect as P } from "react";
|
|
3
3
|
import { u as R } from "../../../react-redux-C7I9-1M6.js";
|
|
4
|
-
import {
|
|
4
|
+
import { Dialog as z, DialogTitle as T, Typography as f, IconButton as M, DialogContent as O, Grid as i, CircularProgress as w } from "@mui/material";
|
|
5
|
+
import { C as F } from "../../../Close-DSxLLo08.js";
|
|
5
6
|
import a from "./inputField.js";
|
|
6
|
-
import
|
|
7
|
-
import { PAYMENT_PROVIDER_OPENPAYD as
|
|
7
|
+
import W from "../../Shared/transition.js";
|
|
8
|
+
import { PAYMENT_PROVIDER_OPENPAYD as j } from "../../../util/constants.js";
|
|
8
9
|
import "../../../index-DlQqWbXG.js";
|
|
9
10
|
import x from "./appButton.js";
|
|
10
11
|
import "../../../hoc/withThemeProvider.js";
|
|
11
|
-
import "
|
|
12
|
+
import "../../../otpForm-fiNqeB5H.js";
|
|
12
13
|
import "../../../constants-DrmtdI1J.js";
|
|
13
|
-
import { a as
|
|
14
|
-
import { a as
|
|
15
|
-
import { useSnackBarContext as
|
|
16
|
-
import
|
|
14
|
+
import { a as Y, u as _ } from "../../../index-BQNs1mvn.js";
|
|
15
|
+
import { a as q } from "../../../bank-C4pmTe--.js";
|
|
16
|
+
import { useSnackBarContext as G } from "../../../context/snackBarContext.js";
|
|
17
|
+
import L from "../../../hooks/useEverestDispatch.js";
|
|
17
18
|
import "../../../util/conversions.js";
|
|
18
19
|
import "../../../index-CAoLi5Qq.js";
|
|
19
20
|
import "../../../react-webcam-B3cXh1XT.js";
|
|
20
|
-
import "../../../tooltip-
|
|
21
|
+
import "../../../tooltip-BW0UyWw7.js";
|
|
21
22
|
import "../../../moment-h96o7c8I.js";
|
|
22
23
|
import "../../../index.esm-BsMAMhYW.js";
|
|
23
24
|
import "../../../web3-u4qDZYpo.js";
|
|
24
25
|
import "../../../index-ceeCtFuh.js";
|
|
25
26
|
import "../../../index.esm-I_Bp2YLf.js";
|
|
26
27
|
import "../../../context/dialogContext.js";
|
|
27
|
-
import
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
import { I as q } from "../../../IconButton-DHm-hucF.js";
|
|
31
|
-
import { G as i } from "../../../Grid-CFe3amXO.js";
|
|
32
|
-
import { C as L } from "../../../CircularProgress-xZA3lvba.js";
|
|
33
|
-
const Pe = () => {
|
|
34
|
-
const D = j(), y = R(O), { loader: h, error: c, message: u } = R(w), { firstName: E, lastName: H } = y, { showAlertMessage: o } = W(), [S, s] = n(!1), [d, g] = n(""), [p, b] = n(""), [m, N] = n(""), [C, B] = n(""), [l, k] = n(""), [A, v] = n("");
|
|
28
|
+
import "@mui/icons-material";
|
|
29
|
+
const ke = () => {
|
|
30
|
+
const y = L(), D = R(Y), { loader: h, error: c, message: u } = R(_), { firstName: E, lastName: H } = D, { showAlertMessage: n } = G(), [S, s] = o(!1), [d, g] = o(""), [p, b] = o(""), [l, N] = o(""), [C, B] = o(""), [m, k] = o(""), [A, v] = o("");
|
|
35
31
|
return P(() => {
|
|
36
|
-
c &&
|
|
32
|
+
c && n({ message: c });
|
|
37
33
|
}, [c]), P(() => {
|
|
38
|
-
u && (g(""), b(""), N(""), B(""), k(""), v(""), s(!1),
|
|
34
|
+
u && (g(""), b(""), N(""), B(""), k(""), v(""), s(!1), n({ message: u, type: "success" }));
|
|
39
35
|
}, [u]), /* @__PURE__ */ t(I, { children: [
|
|
40
36
|
/* @__PURE__ */ e(
|
|
41
37
|
x,
|
|
@@ -46,26 +42,26 @@ const Pe = () => {
|
|
|
46
42
|
}
|
|
47
43
|
),
|
|
48
44
|
/* @__PURE__ */ t(
|
|
49
|
-
|
|
45
|
+
z,
|
|
50
46
|
{
|
|
51
47
|
open: S,
|
|
52
48
|
fullWidth: !0,
|
|
53
49
|
onClose: () => s(!1),
|
|
54
|
-
TransitionComponent:
|
|
50
|
+
TransitionComponent: W,
|
|
55
51
|
children: [
|
|
56
|
-
/* @__PURE__ */ t(
|
|
52
|
+
/* @__PURE__ */ t(T, { className: "buy-modal-text-color", children: [
|
|
57
53
|
/* @__PURE__ */ e(f, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ e("strong", { children: "Banks" }) }),
|
|
58
54
|
/* @__PURE__ */ e(
|
|
59
|
-
|
|
55
|
+
M,
|
|
60
56
|
{
|
|
61
57
|
"aria-label": "close",
|
|
62
58
|
onClick: () => s(!1),
|
|
63
59
|
className: "menu-buttons",
|
|
64
|
-
children: /* @__PURE__ */ e(
|
|
60
|
+
children: /* @__PURE__ */ e(F, {})
|
|
65
61
|
}
|
|
66
62
|
)
|
|
67
63
|
] }),
|
|
68
|
-
/* @__PURE__ */ t(
|
|
64
|
+
/* @__PURE__ */ t(O, { className: "bank-modal-content", dividers: !0, children: [
|
|
69
65
|
/* @__PURE__ */ e(f, { className: "text-center buy-modal-text-color", variant: "h5", children: /* @__PURE__ */ e("strong", { children: "Add Bank" }) }),
|
|
70
66
|
/* @__PURE__ */ e(f, { className: "text-center", variant: "caption", component: "p", children: /* @__PURE__ */ e("strong", { children: "Only Euro denominated SEPA accounts are currently supported." }) }),
|
|
71
67
|
/* @__PURE__ */ e(
|
|
@@ -89,7 +85,7 @@ const Pe = () => {
|
|
|
89
85
|
a,
|
|
90
86
|
{
|
|
91
87
|
label: "Account Number or IBAN",
|
|
92
|
-
value:
|
|
88
|
+
value: l,
|
|
93
89
|
onChangeHandler: (r) => N(r)
|
|
94
90
|
}
|
|
95
91
|
) }),
|
|
@@ -105,7 +101,7 @@ const Pe = () => {
|
|
|
105
101
|
a,
|
|
106
102
|
{
|
|
107
103
|
label: "Routing/BIC Number",
|
|
108
|
-
value:
|
|
104
|
+
value: m,
|
|
109
105
|
onChangeHandler: (r) => k(r)
|
|
110
106
|
}
|
|
111
107
|
) }),
|
|
@@ -124,34 +120,34 @@ const Pe = () => {
|
|
|
124
120
|
sx: { mt: 4 },
|
|
125
121
|
onClick: () => {
|
|
126
122
|
if (!d.trim())
|
|
127
|
-
return
|
|
123
|
+
return n({ message: "Please provide account name" }), !1;
|
|
128
124
|
if (!p.trim())
|
|
129
|
-
return
|
|
130
|
-
if (!
|
|
131
|
-
return
|
|
132
|
-
if (
|
|
133
|
-
return
|
|
125
|
+
return n({ message: "Please provide bank name" }), !1;
|
|
126
|
+
if (!l.trim())
|
|
127
|
+
return n({ message: "Please provide IBAN" }), !1;
|
|
128
|
+
if (l !== C)
|
|
129
|
+
return n({
|
|
134
130
|
message: "IBAN and Confirm IBAN should be same"
|
|
135
131
|
}), !1;
|
|
136
|
-
if (!
|
|
137
|
-
return
|
|
138
|
-
if (
|
|
139
|
-
return
|
|
132
|
+
if (!m.trim())
|
|
133
|
+
return n({ message: "Please provide routing number" }), !1;
|
|
134
|
+
if (m !== A)
|
|
135
|
+
return n({
|
|
140
136
|
message: "Routing Number and Confirm Routing Number should be same"
|
|
141
137
|
}), !1;
|
|
142
|
-
h ||
|
|
138
|
+
h || y(q({
|
|
143
139
|
accountName: d,
|
|
144
|
-
accountNumber:
|
|
140
|
+
accountNumber: l,
|
|
145
141
|
bankName: p,
|
|
146
|
-
bicCode:
|
|
142
|
+
bicCode: m,
|
|
147
143
|
ownerFirstName: E,
|
|
148
144
|
ownerLastName: H,
|
|
149
|
-
provider:
|
|
145
|
+
provider: j
|
|
150
146
|
}));
|
|
151
147
|
},
|
|
152
148
|
fullWidth: !0,
|
|
153
149
|
children: /* @__PURE__ */ e("strong", { children: h ? /* @__PURE__ */ t(I, { children: [
|
|
154
|
-
/* @__PURE__ */ e(
|
|
150
|
+
/* @__PURE__ */ e(w, { size: 15, color: "inherit" }),
|
|
155
151
|
" Processing..."
|
|
156
152
|
] }) : "Add Bank" })
|
|
157
153
|
}
|
|
@@ -163,5 +159,5 @@ const Pe = () => {
|
|
|
163
159
|
] });
|
|
164
160
|
};
|
|
165
161
|
export {
|
|
166
|
-
|
|
162
|
+
ke as default
|
|
167
163
|
};
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
import { u as p } from "../../../useTheme-BQJ5lp0i.js";
|
|
5
|
-
import { B as s } from "../../../Box-B0YSYLco.js";
|
|
6
|
-
import { C as c } from "../../../CircularProgress-xZA3lvba.js";
|
|
7
|
-
import { T as l } from "../../../Typography-pAaje37G.js";
|
|
8
|
-
const m = t(i, {
|
|
2
|
+
import { styled as t, Button as i, useTheme as p, Box as c, CircularProgress as l, Typography as s } from "@mui/material";
|
|
3
|
+
const x = t(i, {
|
|
9
4
|
shouldForwardProp: (o) => o !== "variantType"
|
|
10
5
|
})(({ variantType: o, customSize: a }) => {
|
|
11
6
|
const e = p(), r = {
|
|
@@ -13,7 +8,8 @@ const m = t(i, {
|
|
|
13
8
|
fontSize: "14px",
|
|
14
9
|
textTransform: "none",
|
|
15
10
|
boxShadow: "none",
|
|
16
|
-
lineHeight: "22px"
|
|
11
|
+
lineHeight: "22px",
|
|
12
|
+
height: "40px"
|
|
17
13
|
};
|
|
18
14
|
switch (o) {
|
|
19
15
|
case "primary":
|
|
@@ -104,22 +100,22 @@ const m = t(i, {
|
|
|
104
100
|
default:
|
|
105
101
|
return r;
|
|
106
102
|
}
|
|
107
|
-
}),
|
|
103
|
+
}), u = ({
|
|
108
104
|
children: o,
|
|
109
105
|
variantType: a = "primary",
|
|
110
106
|
isLoading: e = !1,
|
|
111
107
|
disabled: r,
|
|
112
|
-
customSize:
|
|
108
|
+
customSize: b,
|
|
113
109
|
...d
|
|
114
110
|
}) => /* @__PURE__ */ n(
|
|
115
|
-
|
|
111
|
+
x,
|
|
116
112
|
{
|
|
117
113
|
variant: "contained",
|
|
118
114
|
variantType: a,
|
|
119
115
|
disabled: r || e,
|
|
120
116
|
...d,
|
|
121
117
|
children: /* @__PURE__ */ n(
|
|
122
|
-
|
|
118
|
+
c,
|
|
123
119
|
{
|
|
124
120
|
display: "flex",
|
|
125
121
|
alignItems: "center",
|
|
@@ -127,16 +123,16 @@ const m = t(i, {
|
|
|
127
123
|
height: "22px",
|
|
128
124
|
minWidth: "60px",
|
|
129
125
|
children: e ? /* @__PURE__ */ n(
|
|
130
|
-
|
|
126
|
+
l,
|
|
131
127
|
{
|
|
132
128
|
size: 20,
|
|
133
129
|
sx: { color: a === "secondary" ? "#000" : "#fff" }
|
|
134
130
|
}
|
|
135
|
-
) : /* @__PURE__ */ n(
|
|
131
|
+
) : /* @__PURE__ */ n(s, { display: "flex", alignItems: "center", children: o })
|
|
136
132
|
}
|
|
137
133
|
)
|
|
138
134
|
}
|
|
139
135
|
);
|
|
140
136
|
export {
|
|
141
|
-
|
|
137
|
+
u as default
|
|
142
138
|
};
|
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
const p = ({ onClickHandler: o, backBtnText: t }) => /* @__PURE__ */ e(i, { container: !0, alignItems: "center", children: [
|
|
1
|
+
import { jsxs as n, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { Grid as i, Typography as o } from "@mui/material";
|
|
3
|
+
import { BACK_BTN_ICON as c } from "../../../util/constants.js";
|
|
4
|
+
const m = ({ onClickHandler: e, backBtnText: t }) => /* @__PURE__ */ n(i, { container: !0, alignItems: "center", children: [
|
|
6
5
|
/* @__PURE__ */ r(i, { size: 1.5, children: /* @__PURE__ */ r(
|
|
7
6
|
"img",
|
|
8
7
|
{
|
|
9
|
-
src:
|
|
10
|
-
onClick:
|
|
8
|
+
src: c,
|
|
9
|
+
onClick: e,
|
|
11
10
|
alt: "back",
|
|
12
11
|
style: { cursor: "pointer" }
|
|
13
12
|
}
|
|
14
13
|
) }),
|
|
15
14
|
/* @__PURE__ */ r(i, { size: 10.5, children: /* @__PURE__ */ r(
|
|
16
|
-
|
|
15
|
+
o,
|
|
17
16
|
{
|
|
18
17
|
variant: "h5",
|
|
19
18
|
color: "primary",
|
|
@@ -22,5 +21,5 @@ const p = ({ onClickHandler: o, backBtnText: t }) => /* @__PURE__ */ e(i, { cont
|
|
|
22
21
|
) })
|
|
23
22
|
] });
|
|
24
23
|
export {
|
|
25
|
-
|
|
24
|
+
m as default
|
|
26
25
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
2
|
+
import { Button as d } from "@mui/material";
|
|
3
|
+
const B = ({
|
|
4
4
|
buttonColor: e,
|
|
5
5
|
buttonTextColor: c,
|
|
6
6
|
children: r,
|
|
7
|
-
highlightButton:
|
|
8
|
-
strictClass:
|
|
7
|
+
highlightButton: g = !1,
|
|
8
|
+
strictClass: a = !1,
|
|
9
9
|
className: s = "sdk-theme-btn",
|
|
10
10
|
variant: t = "contained",
|
|
11
11
|
sx: f = {},
|
|
12
12
|
...i
|
|
13
13
|
}) => {
|
|
14
|
-
if (
|
|
14
|
+
if (g) {
|
|
15
15
|
const n = e && /^#[0-9A-F]{6}$/i.test(e);
|
|
16
16
|
return /* @__PURE__ */ m(
|
|
17
17
|
d,
|
|
@@ -29,7 +29,7 @@ const x = ({
|
|
|
29
29
|
children: r
|
|
30
30
|
}
|
|
31
31
|
);
|
|
32
|
-
} else return
|
|
32
|
+
} else return a ? /* @__PURE__ */ m(
|
|
33
33
|
d,
|
|
34
34
|
{
|
|
35
35
|
className: s,
|
|
@@ -60,5 +60,5 @@ const x = ({
|
|
|
60
60
|
);
|
|
61
61
|
};
|
|
62
62
|
export {
|
|
63
|
-
|
|
63
|
+
B as default
|
|
64
64
|
};
|
|
@@ -1,26 +1,25 @@
|
|
|
1
1
|
import { jsx as t, Fragment as h } from "react/jsx-runtime";
|
|
2
2
|
import { useState as y, useEffect as c, useCallback as C } from "react";
|
|
3
|
-
import { u as
|
|
3
|
+
import { u as e } from "../../../react-redux-C7I9-1M6.js";
|
|
4
4
|
import { u as S } from "../../../index.esm-BsMAMhYW.js";
|
|
5
|
+
import { Box as P, CircularProgress as b } from "@mui/material";
|
|
5
6
|
import "../../../constants-DrmtdI1J.js";
|
|
6
|
-
import { u as
|
|
7
|
-
import { p as
|
|
8
|
-
import { c as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
|
|
12
|
-
import { C as D } from "../../../CircularProgress-xZA3lvba.js";
|
|
13
|
-
const K = ({
|
|
7
|
+
import { u as g, a as x, b as B } from "../../../index-BQNs1mvn.js";
|
|
8
|
+
import { p as A, b as T } from "../../../bank-C4pmTe--.js";
|
|
9
|
+
import { c as q } from "../../../countries-BVn1FubK.js";
|
|
10
|
+
import v from "./appButton.js";
|
|
11
|
+
import D from "../../../hooks/useEverestDispatch.js";
|
|
12
|
+
const J = ({
|
|
14
13
|
buttonType: u = "primary"
|
|
15
14
|
}) => {
|
|
16
|
-
const
|
|
15
|
+
const r = D(), { loader: a, plaidToken: l } = e(g), s = e(x).residentialAddress.country || "USA", [i, d] = y(""), p = e(B);
|
|
17
16
|
c(() => {
|
|
18
17
|
if (s) {
|
|
19
|
-
const n =
|
|
18
|
+
const n = q.find((o) => o.alpha3 === s);
|
|
20
19
|
n && d(n.alpha2);
|
|
21
20
|
}
|
|
22
21
|
}, [s]), c(() => {
|
|
23
|
-
i &&
|
|
22
|
+
i && r(A({ country_code: i }));
|
|
24
23
|
}, [i]);
|
|
25
24
|
const m = {
|
|
26
25
|
onSuccess: C((n, o) => {
|
|
@@ -34,7 +33,7 @@ const K = ({
|
|
|
34
33
|
link_session_id: o.link_session_id,
|
|
35
34
|
public_token: n
|
|
36
35
|
};
|
|
37
|
-
|
|
36
|
+
r(T(_));
|
|
38
37
|
}, []),
|
|
39
38
|
// @TODO: We need to move side effects into sagas
|
|
40
39
|
// onExit: (err, metadata) => {},
|
|
@@ -43,8 +42,8 @@ const K = ({
|
|
|
43
42
|
//required for OAuth; if not using OAuth, set to null or omit:
|
|
44
43
|
//receivedRedirectUri: window.location.href,
|
|
45
44
|
}, { open: f, ready: k } = S(m);
|
|
46
|
-
return /* @__PURE__ */ t(h, { children: a ? /* @__PURE__ */ t(
|
|
47
|
-
|
|
45
|
+
return /* @__PURE__ */ t(h, { children: a ? /* @__PURE__ */ t(P, { className: "text-center", mt: 8, children: /* @__PURE__ */ t(b, {}) }) : /* @__PURE__ */ t(
|
|
46
|
+
v,
|
|
48
47
|
{
|
|
49
48
|
variantType: u,
|
|
50
49
|
onClick: () => f(),
|
|
@@ -55,5 +54,5 @@ const K = ({
|
|
|
55
54
|
) });
|
|
56
55
|
};
|
|
57
56
|
export {
|
|
58
|
-
|
|
57
|
+
J as default
|
|
59
58
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as f } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { TextField as n } from "@mui/material";
|
|
3
3
|
const B = ({
|
|
4
|
-
label:
|
|
4
|
+
label: l,
|
|
5
5
|
value: o,
|
|
6
6
|
disabled: e,
|
|
7
7
|
onChangeHandler: r,
|
|
8
8
|
width: i,
|
|
9
|
-
required:
|
|
9
|
+
required: s = !0,
|
|
10
10
|
fullWidth: u = !0,
|
|
11
11
|
...a
|
|
12
12
|
}) => {
|
|
@@ -32,11 +32,11 @@ const B = ({
|
|
|
32
32
|
{
|
|
33
33
|
inputProps: { style: { WebkitTextFillColor: "#000000" } },
|
|
34
34
|
variant: "outlined",
|
|
35
|
-
label:
|
|
35
|
+
label: l,
|
|
36
36
|
value: o,
|
|
37
37
|
disabled: e,
|
|
38
38
|
fullWidth: u,
|
|
39
|
-
required:
|
|
39
|
+
required: s,
|
|
40
40
|
sx: t,
|
|
41
41
|
onChange: (d) => r && r(d.target.value),
|
|
42
42
|
...a
|
|
@@ -2,7 +2,8 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../react-redux-C7I9-1M6.js";
|
|
4
4
|
import "../../../index-CAoLi5Qq.js";
|
|
5
|
-
import "
|
|
5
|
+
import "@mui/material";
|
|
6
|
+
import "../../../ContentCopy-D0C0zbQj.js";
|
|
6
7
|
import "../../../generic-token-B_ptO5yb.js";
|
|
7
8
|
import "./appButton.js";
|
|
8
9
|
import "./timer.js";
|
|
@@ -13,27 +14,22 @@ import "../../../index-DlQqWbXG.js";
|
|
|
13
14
|
import "../../../hoc/withThemeProvider.js";
|
|
14
15
|
import "./Input/index.js";
|
|
15
16
|
import "../../../util/constants.js";
|
|
16
|
-
import "
|
|
17
|
+
import "../../../otpForm-fiNqeB5H.js";
|
|
17
18
|
import "../../../context/snackBarContext.js";
|
|
18
19
|
import "../../../hooks/useEverestDispatch.js";
|
|
19
20
|
import "../../../util/conversions.js";
|
|
20
21
|
import "../../../react-webcam-B3cXh1XT.js";
|
|
21
22
|
import "../../Shared/transition.js";
|
|
22
|
-
import "../../../tooltip-
|
|
23
|
+
import "../../../tooltip-BW0UyWw7.js";
|
|
23
24
|
import "../../../moment-h96o7c8I.js";
|
|
24
25
|
import "../../../index.esm-BsMAMhYW.js";
|
|
25
26
|
import "../../../web3-u4qDZYpo.js";
|
|
26
27
|
import "../../../styles.module-DMd29SPQ.js";
|
|
27
28
|
import "../../../index-ceeCtFuh.js";
|
|
28
|
-
import { M as
|
|
29
|
+
import { M as G } from "../../../index-CDwzoHu7.js";
|
|
29
30
|
import "../../../index.esm-I_Bp2YLf.js";
|
|
30
31
|
import "../../../context/dialogContext.js";
|
|
31
|
-
import "
|
|
32
|
-
import "../../../Grid-CFe3amXO.js";
|
|
33
|
-
import "../../../Typography-pAaje37G.js";
|
|
34
|
-
import "../../../Divider-BShhMFf4.js";
|
|
35
|
-
import "../../../IconButton-DHm-hucF.js";
|
|
36
|
-
import "../../../CircularProgress-xZA3lvba.js";
|
|
32
|
+
import "@mui/icons-material";
|
|
37
33
|
export {
|
|
38
|
-
|
|
34
|
+
G as default
|
|
39
35
|
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
a,
|
|
2
|
+
import { Box as e, Typography as t } from "@mui/material";
|
|
3
|
+
const p = ({ text: o }) => /* @__PURE__ */ r(
|
|
4
|
+
e,
|
|
6
5
|
{
|
|
7
6
|
className: "text-center",
|
|
8
7
|
sx: { py: 3, borderRadius: "8px", background: "#ECECEC", color: "#A3A3A3" },
|
|
@@ -10,5 +9,5 @@ const c = ({ text: o }) => /* @__PURE__ */ r(
|
|
|
10
9
|
}
|
|
11
10
|
);
|
|
12
11
|
export {
|
|
13
|
-
|
|
12
|
+
p as default
|
|
14
13
|
};
|