everest-npm-features 0.0.60 → 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-BlkZJiHn.js → PlayArrow-BVDyfxsQ.js} +2 -2
- package/dist/Portal-BeS9yJCZ.js +968 -0
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/{auth-WhDJHZtr.js → auth-DTJdu6mq.js} +11 -11
- package/dist/{bank-BaOrdTcI.js → bank-C4pmTe--.js} +1 -1
- package/dist/components/RocketRamp/MinimalKyc/form.js +46 -52
- package/dist/components/RocketRamp/MinimalKyc/index.js +6 -6
- package/dist/components/RocketRamp/Player/Buy/cardPayment.js +6 -8
- package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +5 -8
- package/dist/components/RocketRamp/Player/Buy/form.js +8 -17
- package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
- package/dist/components/RocketRamp/Player/Dashboard/balance.js +20 -26
- package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
- package/dist/components/RocketRamp/Player/Dashboard/transaction.js +13 -16
- package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +6 -11
- package/dist/components/RocketRamp/Player/Sell/form.js +8 -17
- package/dist/components/RocketRamp/Player/Sell/index.js +9 -9
- package/dist/components/RocketRamp/Player/SignIn/index.js +23 -25
- package/dist/components/RocketRamp/Player/SignIn/loginForm.js +33 -35
- package/dist/components/RocketRamp/Player/SignIn/otpForm.js +31 -33
- package/dist/components/RocketRamp/Player/SignUp/email.js +21 -23
- package/dist/components/RocketRamp/Player/SignUp/index.js +49 -52
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +68 -74
- 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 +23 -25
- 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 +53 -56
- package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +48 -54
- package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +33 -37
- 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 +23 -24
- package/dist/components/Shared/FullKyc/countryList.js +15 -17
- package/dist/components/Shared/FullKyc/edd.js +51 -54
- package/dist/components/Shared/FullKyc/index.js +13 -12
- package/dist/components/Shared/FullKyc/pep.js +35 -43
- package/dist/components/Shared/FullKyc/personalDetails.js +7 -8
- package/dist/components/Shared/FullKyc/userInfo.js +8 -14
- 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 +60 -65
- package/dist/components/Shared/Sumsub/index.js +75 -62
- 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 -38
- 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 +70 -76
- package/dist/components/Wallet/Account/index.js +68 -76
- package/dist/components/Wallet/Account/sendIban.js +79 -88
- package/dist/components/Wallet/Buy/confirmTransaction.js +9 -12
- package/dist/components/Wallet/Buy/form.js +8 -18
- package/dist/components/Wallet/Buy/index.js +6 -6
- package/dist/components/Wallet/Deposit/index.js +16 -19
- package/dist/components/Wallet/EnterpriseKyc/edd.js +32 -34
- package/dist/components/Wallet/EnterpriseKyc/index.js +76 -81
- 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 +37 -39
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3591 -1483
- package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
- package/dist/components/Wallet/EnterpriseKyc/verify.js +23 -24
- package/dist/components/Wallet/History/index.js +23 -797
- package/dist/components/Wallet/Home/index.js +13 -14
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +91 -97
- package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
- package/dist/components/Wallet/Portfolio/index.js +48 -52
- 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 +38 -44
- package/dist/components/Wallet/Profile/storage.js +39 -47
- package/dist/components/Wallet/Receive/index.js +32 -37
- package/dist/components/Wallet/Sell/confirmTransaction.js +8 -11
- package/dist/components/Wallet/Sell/form.js +8 -18
- package/dist/components/Wallet/Sell/index.js +6 -6
- package/dist/components/Wallet/Send/index.js +336 -324
- package/dist/components/Wallet/Shared/Auth/emailForm.js +13 -15
- package/dist/components/Wallet/Shared/Auth/otpForm.js +9 -356
- package/dist/components/Wallet/Shared/BankSelect/index.js +45 -49
- package/dist/components/Wallet/Shared/CardCorp/index.js +18 -20
- 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 +41 -46
- 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 +16 -17
- package/dist/components/Wallet/Shared/inputField.js +5 -5
- package/dist/components/Wallet/Shared/manualSend.js +9 -14
- 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 +17 -17
- package/dist/components/Wallet/SignUp/index.js +63 -153
- 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 +65 -69
- package/dist/components/Wallet/Swap/form.js +11 -21
- package/dist/components/Wallet/Swap/index.js +5 -5
- package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
- package/dist/components/Wallet/Withdraw/bankSelect.js +41 -45
- package/dist/components/Wallet/Withdraw/confirmTransaction.js +5 -8
- package/dist/components/Wallet/Withdraw/form.js +6 -17
- package/dist/components/Wallet/Withdraw/index.js +5 -5
- package/dist/{constants-DREDnCMu.js → constants-DrmtdI1J.js} +7 -7
- package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
- package/dist/{cryptoAssets-DbyDgq4J.js → cryptoAssets-DyGDknvq.js} +1 -1
- 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-DYP5Ex_T.js → index-3OQ4M69t.js} +89 -99
- package/dist/{index-B3HnUBnB.js → index-BBFbUCRZ.js} +123 -129
- package/dist/{index-PoMNqntN.js → index-C1WPCgkl.js} +130 -141
- package/dist/{index-BXutc9ik.js → index-CDwzoHu7.js} +134 -145
- package/dist/{index-DV1dVcrY.js → index-CK4kLRAw.js} +172 -182
- package/dist/{index-DJ7xuxBy.js → index-CYX3j0V7.js} +175 -185
- package/dist/{index-CuPCW3XC.js → index-ILpK4BCB.js} +154 -163
- package/dist/{kyc-D4s_B9Cf.js → kyc-ksV3vBP_.js} +1 -1
- package/dist/main.js +7 -7
- package/dist/memoTheme-DnE8lj0t.js +3481 -0
- package/dist/{order-DGBbo_Ox.js → order-DEp_Lmar.js} +1 -1
- package/dist/otpForm-fiNqeB5H.js +7378 -0
- package/dist/{stake-CdMc5H7D.js → stake-Ct7-_aWW.js} +1 -1
- package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
- package/dist/tooltip-BW0UyWw7.js +2129 -0
- package/dist/{wallet-DvfdQOju.js → wallet-CauUBXou.js} +1 -1
- 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,17 +1,15 @@
|
|
|
1
1
|
import { jsxs as n, Fragment as x, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { useState as t, useEffect as c } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { Typography as m, Box as p, CircularProgress as y } from "@mui/material";
|
|
4
|
+
import { E as D } from "../../../../ErrorOutline-Bt7P4ChN.js";
|
|
5
|
+
import { s as k, p as W, h as $, v as H } from "../../../../index-ceeCtFuh.js";
|
|
5
6
|
import K from "../backBtn.js";
|
|
6
7
|
import { removeExtraSpace as R } from "../../../../util/functions.js";
|
|
7
8
|
import { CARD_PAYMENT_DECLINE as q, VISA_ICON as G } from "../../../../util/constants.js";
|
|
8
9
|
import J from "../Input/index.js";
|
|
9
10
|
import Q from "../appButton.js";
|
|
10
11
|
import { useSnackBarContext as U } from "../../../../context/snackBarContext.js";
|
|
11
|
-
|
|
12
|
-
import { B as p } from "../../../../Box-B0YSYLco.js";
|
|
13
|
-
import { C as k } from "../../../../CircularProgress-xZA3lvba.js";
|
|
14
|
-
const me = ({
|
|
12
|
+
const le = ({
|
|
15
13
|
checkoutKey: v,
|
|
16
14
|
orderData: E,
|
|
17
15
|
backBtnFunc: N,
|
|
@@ -22,7 +20,7 @@ const me = ({
|
|
|
22
20
|
billingAddress: {
|
|
23
21
|
addressLine1: ""
|
|
24
22
|
}
|
|
25
|
-
}), [A, f] = t(!1), [l, u] = t(!0), [g, M] = t(!0), [b,
|
|
23
|
+
}), [A, f] = t(!1), [l, u] = t(!0), [g, M] = t(!0), [b, w] = t(!0), [C, z] = t(!0);
|
|
26
24
|
c(() => {
|
|
27
25
|
var e, o, s, d;
|
|
28
26
|
(o = (e = a == null ? void 0 : a._links) == null ? void 0 : e.redirect) != null && o.href && window.location.replace((d = (s = a == null ? void 0 : a._links) == null ? void 0 : s.redirect) == null ? void 0 : d.href), a.status === q && h({
|
|
@@ -38,7 +36,7 @@ const me = ({
|
|
|
38
36
|
}, [i]), c(() => {
|
|
39
37
|
!g && !b && !C && i !== "" ? l && u(!1) : l || u(!0);
|
|
40
38
|
}, [i, g, b, C]);
|
|
41
|
-
const
|
|
39
|
+
const T = (e, o, s, d = /./) => {
|
|
42
40
|
if (e !== "" && !d.test(e))
|
|
43
41
|
return !1;
|
|
44
42
|
o(e);
|
|
@@ -51,10 +49,10 @@ const me = ({
|
|
|
51
49
|
M(e.isEmpty || !e.isValid);
|
|
52
50
|
break;
|
|
53
51
|
case "expiry-date":
|
|
54
|
-
|
|
52
|
+
w(e.isEmpty || !e.isValid);
|
|
55
53
|
break;
|
|
56
54
|
case "cvv":
|
|
57
|
-
|
|
55
|
+
z(e.isEmpty || !e.isValid);
|
|
58
56
|
break;
|
|
59
57
|
default:
|
|
60
58
|
console.log("NOOP");
|
|
@@ -80,9 +78,9 @@ const me = ({
|
|
|
80
78
|
/* @__PURE__ */ r("br", {}),
|
|
81
79
|
/* @__PURE__ */ r("b", { children: "Debit Card" })
|
|
82
80
|
] }),
|
|
83
|
-
V && /* @__PURE__ */ r(p, { className: "text-center", mt: 8, children: /* @__PURE__ */ r(
|
|
81
|
+
V && /* @__PURE__ */ r(p, { className: "text-center", mt: 8, children: /* @__PURE__ */ r(y, {}) }),
|
|
84
82
|
/* @__PURE__ */ r(p, { mt: 2, children: /* @__PURE__ */ n(
|
|
85
|
-
|
|
83
|
+
k,
|
|
86
84
|
{
|
|
87
85
|
config: {
|
|
88
86
|
debug: !1,
|
|
@@ -144,7 +142,7 @@ const me = ({
|
|
|
144
142
|
{
|
|
145
143
|
label: "Name on Card",
|
|
146
144
|
value: i,
|
|
147
|
-
onChange: (e) =>
|
|
145
|
+
onChange: (e) => T(e.target.value, B, O),
|
|
148
146
|
error: L
|
|
149
147
|
}
|
|
150
148
|
),
|
|
@@ -185,12 +183,12 @@ const me = ({
|
|
|
185
183
|
Q,
|
|
186
184
|
{
|
|
187
185
|
onClick: () => {
|
|
188
|
-
|
|
186
|
+
k.submitCard();
|
|
189
187
|
},
|
|
190
188
|
fullWidth: !0,
|
|
191
189
|
disabled: l,
|
|
192
190
|
children: /* @__PURE__ */ r("strong", { children: A ? /* @__PURE__ */ n(x, { children: [
|
|
193
|
-
/* @__PURE__ */ r(
|
|
191
|
+
/* @__PURE__ */ r(y, { size: 15, color: "inherit" }),
|
|
194
192
|
" Processing..."
|
|
195
193
|
] }) : "Pay" })
|
|
196
194
|
}
|
|
@@ -216,5 +214,5 @@ const me = ({
|
|
|
216
214
|
] });
|
|
217
215
|
};
|
|
218
216
|
export {
|
|
219
|
-
|
|
217
|
+
le as default
|
|
220
218
|
};
|
|
@@ -2,20 +2,14 @@ import { jsxs as po, jsx as xr, Fragment as O2 } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as T2, useEffect as N2 } from "react";
|
|
3
3
|
import { E as Ag, s as I7, a as _7, u as P7, W as Mg } from "../../../../web3-u4qDZYpo.js";
|
|
4
4
|
import { a as Gn, c as Ut, g as Ws } from "../../../../_commonjsHelpers-BkfeUUK-.js";
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import { T as R2 } from "../../../../Typography-pAaje37G.js";
|
|
14
|
-
import { D as k7, a as B7 } from "../../../../DialogContent-BMwlOnbW.js";
|
|
15
|
-
import { I as F7 } from "../../../../IconButton-DHm-hucF.js";
|
|
16
|
-
import { T as z7 } from "../../../../TextField-DPpRUQe3.js";
|
|
17
|
-
import { G as od } from "../../../../Grid-CFe3amXO.js";
|
|
18
|
-
import { C as U7 } from "../../../../CircularProgress-xZA3lvba.js";
|
|
5
|
+
import { Box as Rh, Typography as R2, Dialog as D7, DialogContent as C7, IconButton as O7, TextField as T7, Grid as od, CircularProgress as N7 } from "@mui/material";
|
|
6
|
+
import { C as R7 } from "../../../../Close-DSxLLo08.js";
|
|
7
|
+
import L7 from "../../../Shared/transition.js";
|
|
8
|
+
import { useSnackBar as k7 } from "../../../../hooks/useSnackBar.js";
|
|
9
|
+
import { k as B7 } from "../../../../index-DlQqWbXG.js";
|
|
10
|
+
import { displayWalletAddress as F7 } from "../../../../util/functions.js";
|
|
11
|
+
import { EVER_CHAIN_NETWORK as z7 } from "../../../../util/constants.js";
|
|
12
|
+
import U7 from "../appButton.js";
|
|
19
13
|
import '../../../../assets/index10.css';const q7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
20
14
|
__proto__: null,
|
|
21
15
|
EventEmitter: Ag,
|
|
@@ -25131,7 +25125,7 @@ const eF = Ap, Jd = (r) => /* @__PURE__ */ xr(O2, { children: /* @__PURE__ */ xr
|
|
|
25131
25125
|
children: /* @__PURE__ */ po(od, { container: !0, width: "100%", children: [
|
|
25132
25126
|
/* @__PURE__ */ xr(od, { size: 10, className: "content-center", children: /* @__PURE__ */ xr(Rh, { sx: { textAlign: "left" }, children: /* @__PURE__ */ po("p", { className: sv.name, children: [
|
|
25133
25127
|
r.name,
|
|
25134
|
-
r.loader && /* @__PURE__ */ xr(
|
|
25128
|
+
r.loader && /* @__PURE__ */ xr(N7, { sx: { ml: 2 }, size: 20 })
|
|
25135
25129
|
] }) }) }),
|
|
25136
25130
|
/* @__PURE__ */ xr(od, { size: 2, children: /* @__PURE__ */ xr("img", { src: r.icon, alt: "Menu Icon", height: 40, width: 40 }) })
|
|
25137
25131
|
] })
|
|
@@ -25141,7 +25135,7 @@ const eF = Ap, Jd = (r) => /* @__PURE__ */ xr(O2, { children: /* @__PURE__ */ xr
|
|
|
25141
25135
|
snackBarMessage: e,
|
|
25142
25136
|
setOpenModal: t
|
|
25143
25137
|
}) => {
|
|
25144
|
-
const [i, n] = T2(!1), { connected: s, provider: c, chainId: h } =
|
|
25138
|
+
const [i, n] = T2(!1), { connected: s, provider: c, chainId: h } = B7();
|
|
25145
25139
|
return N2(() => {
|
|
25146
25140
|
s && c && (c.on("chainChanged", async (...v) => {
|
|
25147
25141
|
const _ = v[0];
|
|
@@ -25274,7 +25268,7 @@ const eF = Ap, Jd = (r) => /* @__PURE__ */ xr(O2, { children: /* @__PURE__ */ xr
|
|
|
25274
25268
|
}
|
|
25275
25269
|
)
|
|
25276
25270
|
] });
|
|
25277
|
-
},
|
|
25271
|
+
}, HF = ({
|
|
25278
25272
|
addressHandler: r,
|
|
25279
25273
|
from: e,
|
|
25280
25274
|
walletAddress: t = "",
|
|
@@ -25284,8 +25278,8 @@ const eF = Ap, Jd = (r) => /* @__PURE__ */ xr(O2, { children: /* @__PURE__ */ xr
|
|
|
25284
25278
|
btnClass: c = "sdk-btn-connect-wallet",
|
|
25285
25279
|
...h
|
|
25286
25280
|
}) => {
|
|
25287
|
-
const { showAlertMessage: u, snackBar: l } =
|
|
25288
|
-
n ===
|
|
25281
|
+
const { showAlertMessage: u, snackBar: l } = k7(), [b, v] = T2(!1), _ = () => {
|
|
25282
|
+
n === z7 ? u({
|
|
25289
25283
|
type: "info",
|
|
25290
25284
|
message: "You are not allowed to connect wallet for this network/token. Please sign in/up to use EverWallet."
|
|
25291
25285
|
}) : v(!0);
|
|
@@ -25301,25 +25295,25 @@ const eF = Ap, Jd = (r) => /* @__PURE__ */ xr(O2, { children: /* @__PURE__ */ xr
|
|
|
25301
25295
|
return /* @__PURE__ */ po(O2, { children: [
|
|
25302
25296
|
l,
|
|
25303
25297
|
/* @__PURE__ */ xr(
|
|
25304
|
-
|
|
25298
|
+
U7,
|
|
25305
25299
|
{
|
|
25306
25300
|
onClick: _,
|
|
25307
25301
|
sx: { mt: 2, ...i },
|
|
25308
25302
|
...h,
|
|
25309
25303
|
fullWidth: !0,
|
|
25310
|
-
children: /* @__PURE__ */ xr("strong", { children: t !== "" ? "Connected (" +
|
|
25304
|
+
children: /* @__PURE__ */ xr("strong", { children: t !== "" ? "Connected (" + F7(t) + ")" : "Connect Wallet" })
|
|
25311
25305
|
}
|
|
25312
25306
|
),
|
|
25313
25307
|
/* @__PURE__ */ xr(
|
|
25314
|
-
|
|
25308
|
+
D7,
|
|
25315
25309
|
{
|
|
25316
25310
|
open: b,
|
|
25317
25311
|
fullWidth: !0,
|
|
25318
25312
|
onClose: () => v(!1),
|
|
25319
|
-
TransitionComponent:
|
|
25320
|
-
children: /* @__PURE__ */ po(
|
|
25313
|
+
TransitionComponent: L7,
|
|
25314
|
+
children: /* @__PURE__ */ po(C7, { sx: { p: 0, height: "600px" }, dividers: !0, children: [
|
|
25321
25315
|
/* @__PURE__ */ xr(
|
|
25322
|
-
|
|
25316
|
+
O7,
|
|
25323
25317
|
{
|
|
25324
25318
|
"aria-label": "close",
|
|
25325
25319
|
onClick: () => v(!1),
|
|
@@ -25329,7 +25323,7 @@ const eF = Ap, Jd = (r) => /* @__PURE__ */ xr(O2, { children: /* @__PURE__ */ xr
|
|
|
25329
25323
|
top: 8,
|
|
25330
25324
|
color: "#16359D"
|
|
25331
25325
|
},
|
|
25332
|
-
children: /* @__PURE__ */ xr(
|
|
25326
|
+
children: /* @__PURE__ */ xr(R7, {})
|
|
25333
25327
|
}
|
|
25334
25328
|
),
|
|
25335
25329
|
/* @__PURE__ */ xr(
|
|
@@ -25343,7 +25337,7 @@ const eF = Ap, Jd = (r) => /* @__PURE__ */ xr(O2, { children: /* @__PURE__ */ xr
|
|
|
25343
25337
|
(e === "swap" || e === "sell") && /* @__PURE__ */ po(Rh, { mt: 4, mb: 4, sx: { padding: "0px 20px", width: "100%" }, children: [
|
|
25344
25338
|
/* @__PURE__ */ xr(R2, { variant: "h6", sx: { textAlign: "center" }, children: "OR" }),
|
|
25345
25339
|
/* @__PURE__ */ xr(
|
|
25346
|
-
|
|
25340
|
+
T7,
|
|
25347
25341
|
{
|
|
25348
25342
|
className: "buy-wallet-address-field",
|
|
25349
25343
|
sx: { mt: 2 },
|
|
@@ -25362,5 +25356,5 @@ const eF = Ap, Jd = (r) => /* @__PURE__ */ xr(O2, { children: /* @__PURE__ */ xr
|
|
|
25362
25356
|
};
|
|
25363
25357
|
export {
|
|
25364
25358
|
tF as ProvidersList,
|
|
25365
|
-
|
|
25359
|
+
HF as default
|
|
25366
25360
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
const l = ({ children: r, ...n }) => /* @__PURE__ */ e(s, { component: "main", maxWidth: "lg", ...n, children: /* @__PURE__ */ e(
|
|
2
|
+
import { Container as s, Box as i } from "@mui/material";
|
|
3
|
+
const p = ({ children: n, ...r }) => /* @__PURE__ */ e(s, { component: "main", maxWidth: "lg", ...r, children: /* @__PURE__ */ e(
|
|
5
4
|
i,
|
|
6
5
|
{
|
|
7
6
|
sx: {
|
|
@@ -25,13 +24,13 @@ const l = ({ children: r, ...n }) => /* @__PURE__ */ e(s, { component: "main", m
|
|
|
25
24
|
justifyContent: "center",
|
|
26
25
|
alignItems: "center"
|
|
27
26
|
}),
|
|
28
|
-
children:
|
|
27
|
+
children: n
|
|
29
28
|
}
|
|
30
29
|
)
|
|
31
30
|
}
|
|
32
|
-
) }),
|
|
33
|
-
children:
|
|
34
|
-
addPadding:
|
|
31
|
+
) }), d = ({
|
|
32
|
+
children: n,
|
|
33
|
+
addPadding: r,
|
|
35
34
|
sx: t,
|
|
36
35
|
...o
|
|
37
36
|
}) => /* @__PURE__ */ e(
|
|
@@ -43,17 +42,17 @@ const l = ({ children: r, ...n }) => /* @__PURE__ */ e(s, { component: "main", m
|
|
|
43
42
|
borderRadius: "14px",
|
|
44
43
|
border: "0.5px solid",
|
|
45
44
|
borderColor: "border.main",
|
|
46
|
-
...
|
|
45
|
+
...r && {
|
|
47
46
|
padding: { xs: "25px", sm: "60px 25%" }
|
|
48
47
|
},
|
|
49
48
|
...t
|
|
50
49
|
},
|
|
51
50
|
...o,
|
|
52
|
-
children:
|
|
51
|
+
children: n
|
|
53
52
|
}
|
|
54
|
-
),
|
|
55
|
-
children:
|
|
56
|
-
addPadding:
|
|
53
|
+
), l = ({
|
|
54
|
+
children: n,
|
|
55
|
+
addPadding: r,
|
|
57
56
|
innerContainerSx: t,
|
|
58
57
|
...o
|
|
59
58
|
}) => /* @__PURE__ */ e(
|
|
@@ -65,11 +64,11 @@ const l = ({ children: r, ...n }) => /* @__PURE__ */ e(s, { component: "main", m
|
|
|
65
64
|
marginTop: "130px"
|
|
66
65
|
},
|
|
67
66
|
...o,
|
|
68
|
-
children: /* @__PURE__ */ e(
|
|
67
|
+
children: /* @__PURE__ */ e(d, { sx: t, addPadding: r, children: n })
|
|
69
68
|
}
|
|
70
69
|
);
|
|
71
70
|
export {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
71
|
+
l as AuthContainer,
|
|
72
|
+
d as AuthInnerContainer,
|
|
73
|
+
p as default
|
|
75
74
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
2
|
+
import { TextField as a } from "@mui/material";
|
|
3
|
+
const b = ({
|
|
4
4
|
label: e,
|
|
5
5
|
highlightedLabel: d,
|
|
6
6
|
error: t,
|
|
@@ -25,5 +25,5 @@ const x = ({
|
|
|
25
25
|
}
|
|
26
26
|
);
|
|
27
27
|
export {
|
|
28
|
-
|
|
28
|
+
b as default
|
|
29
29
|
};
|
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import { useRef as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { T as m } from "../../../../Typography-pAaje37G.js";
|
|
1
|
+
import { jsx as t, jsxs as m } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as k, useEffect as f } from "react";
|
|
3
|
+
import { Grid as b, Typography as p } from "@mui/material";
|
|
4
|
+
import { c as d } from "../../../../createSvgIcon-B28GrUxG.js";
|
|
6
5
|
import '../../../../assets/keyboard.css';const l = d(/* @__PURE__ */ t("path", {
|
|
7
6
|
d: "M22 3H7c-.69 0-1.23.35-1.59.88L0 12l5.41 8.11c.36.53.9.89 1.59.89h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-3 12.59L17.59 17 14 13.41 10.41 17 9 15.59 12.59 12 9 8.41 10.41 7 14 10.59 17.59 7 19 8.41 15.41 12z"
|
|
8
7
|
}), "Backspace"), L = "_active_i88t5_29", V = {
|
|
9
8
|
"keyboard-btn": "_keyboard-btn_i88t5_1",
|
|
10
9
|
active: L
|
|
11
|
-
},
|
|
10
|
+
}, s = ({
|
|
12
11
|
value: a,
|
|
13
12
|
displayValue: u,
|
|
14
13
|
subValue: r,
|
|
15
14
|
onClickHandler: o,
|
|
16
15
|
keyboardRefs: e
|
|
17
|
-
}) => /* @__PURE__ */
|
|
16
|
+
}) => /* @__PURE__ */ m(
|
|
18
17
|
b,
|
|
19
18
|
{
|
|
20
19
|
className: V["keyboard-btn"],
|
|
@@ -23,31 +22,31 @@ import '../../../../assets/keyboard.css';const l = d(/* @__PURE__ */ t("path", {
|
|
|
23
22
|
size: 4,
|
|
24
23
|
onClick: () => o && o(a),
|
|
25
24
|
children: [
|
|
26
|
-
/* @__PURE__ */ t(
|
|
27
|
-
r && /* @__PURE__ */ t(
|
|
25
|
+
/* @__PURE__ */ t(p, { variant: "h4", children: u || a }),
|
|
26
|
+
r && /* @__PURE__ */ t(p, { variant: "caption", children: r })
|
|
28
27
|
]
|
|
29
28
|
}
|
|
30
|
-
),
|
|
29
|
+
), E = ({
|
|
31
30
|
onClickHandler: a,
|
|
32
31
|
enterBtnRef: u,
|
|
33
32
|
disable: r = !1,
|
|
34
33
|
removeTypeEffect: o = !1
|
|
35
34
|
}) => {
|
|
36
|
-
const e =
|
|
37
|
-
let
|
|
38
|
-
|
|
35
|
+
const e = k([]), n = (i) => {
|
|
36
|
+
let c = i.key;
|
|
37
|
+
c === "Enter" && u && u.current && u.current.click(), (/^([0-9]+)$/.test(c) || c === "Backspace") && (c = c === "Backspace" ? "backSpace" : c, e.current[c].click(), o || e.current[c].classList.remove("active"));
|
|
39
38
|
}, v = (i) => {
|
|
40
|
-
let
|
|
41
|
-
(/^([0-9]+)$/.test(
|
|
39
|
+
let c = i.key;
|
|
40
|
+
(/^([0-9]+)$/.test(c) || c === "Backspace") && (c = c === "Backspace" ? "backSpace" : c, !o && e.current && e.current[c].classList.add("active"));
|
|
42
41
|
};
|
|
43
|
-
return
|
|
42
|
+
return f(() => {
|
|
44
43
|
if (!r)
|
|
45
44
|
return document.addEventListener("keyup", n), document.addEventListener("keydown", v), () => {
|
|
46
45
|
document.removeEventListener("keyup", n), document.removeEventListener("keydown", v);
|
|
47
46
|
};
|
|
48
|
-
}, [r]), /* @__PURE__ */
|
|
47
|
+
}, [r]), /* @__PURE__ */ m(b, { container: !0, children: [
|
|
49
48
|
/* @__PURE__ */ t(
|
|
50
|
-
|
|
49
|
+
s,
|
|
51
50
|
{
|
|
52
51
|
value: 1,
|
|
53
52
|
keyboardRefs: e,
|
|
@@ -55,7 +54,7 @@ import '../../../../assets/keyboard.css';const l = d(/* @__PURE__ */ t("path", {
|
|
|
55
54
|
}
|
|
56
55
|
),
|
|
57
56
|
/* @__PURE__ */ t(
|
|
58
|
-
|
|
57
|
+
s,
|
|
59
58
|
{
|
|
60
59
|
value: 2,
|
|
61
60
|
keyboardRefs: e,
|
|
@@ -64,7 +63,7 @@ import '../../../../assets/keyboard.css';const l = d(/* @__PURE__ */ t("path", {
|
|
|
64
63
|
}
|
|
65
64
|
),
|
|
66
65
|
/* @__PURE__ */ t(
|
|
67
|
-
|
|
66
|
+
s,
|
|
68
67
|
{
|
|
69
68
|
value: 3,
|
|
70
69
|
keyboardRefs: e,
|
|
@@ -73,7 +72,7 @@ import '../../../../assets/keyboard.css';const l = d(/* @__PURE__ */ t("path", {
|
|
|
73
72
|
}
|
|
74
73
|
),
|
|
75
74
|
/* @__PURE__ */ t(
|
|
76
|
-
|
|
75
|
+
s,
|
|
77
76
|
{
|
|
78
77
|
value: 4,
|
|
79
78
|
keyboardRefs: e,
|
|
@@ -82,7 +81,7 @@ import '../../../../assets/keyboard.css';const l = d(/* @__PURE__ */ t("path", {
|
|
|
82
81
|
}
|
|
83
82
|
),
|
|
84
83
|
/* @__PURE__ */ t(
|
|
85
|
-
|
|
84
|
+
s,
|
|
86
85
|
{
|
|
87
86
|
value: 5,
|
|
88
87
|
keyboardRefs: e,
|
|
@@ -91,7 +90,7 @@ import '../../../../assets/keyboard.css';const l = d(/* @__PURE__ */ t("path", {
|
|
|
91
90
|
}
|
|
92
91
|
),
|
|
93
92
|
/* @__PURE__ */ t(
|
|
94
|
-
|
|
93
|
+
s,
|
|
95
94
|
{
|
|
96
95
|
value: 6,
|
|
97
96
|
keyboardRefs: e,
|
|
@@ -100,7 +99,7 @@ import '../../../../assets/keyboard.css';const l = d(/* @__PURE__ */ t("path", {
|
|
|
100
99
|
}
|
|
101
100
|
),
|
|
102
101
|
/* @__PURE__ */ t(
|
|
103
|
-
|
|
102
|
+
s,
|
|
104
103
|
{
|
|
105
104
|
value: 7,
|
|
106
105
|
keyboardRefs: e,
|
|
@@ -109,7 +108,7 @@ import '../../../../assets/keyboard.css';const l = d(/* @__PURE__ */ t("path", {
|
|
|
109
108
|
}
|
|
110
109
|
),
|
|
111
110
|
/* @__PURE__ */ t(
|
|
112
|
-
|
|
111
|
+
s,
|
|
113
112
|
{
|
|
114
113
|
value: 8,
|
|
115
114
|
keyboardRefs: e,
|
|
@@ -118,7 +117,7 @@ import '../../../../assets/keyboard.css';const l = d(/* @__PURE__ */ t("path", {
|
|
|
118
117
|
}
|
|
119
118
|
),
|
|
120
119
|
/* @__PURE__ */ t(
|
|
121
|
-
|
|
120
|
+
s,
|
|
122
121
|
{
|
|
123
122
|
value: 9,
|
|
124
123
|
keyboardRefs: e,
|
|
@@ -126,9 +125,9 @@ import '../../../../assets/keyboard.css';const l = d(/* @__PURE__ */ t("path", {
|
|
|
126
125
|
onClickHandler: a
|
|
127
126
|
}
|
|
128
127
|
),
|
|
129
|
-
/* @__PURE__ */ t(
|
|
128
|
+
/* @__PURE__ */ t(s, {}),
|
|
130
129
|
/* @__PURE__ */ t(
|
|
131
|
-
|
|
130
|
+
s,
|
|
132
131
|
{
|
|
133
132
|
value: 0,
|
|
134
133
|
keyboardRefs: e,
|
|
@@ -136,7 +135,7 @@ import '../../../../assets/keyboard.css';const l = d(/* @__PURE__ */ t("path", {
|
|
|
136
135
|
}
|
|
137
136
|
),
|
|
138
137
|
/* @__PURE__ */ t(
|
|
139
|
-
|
|
138
|
+
s,
|
|
140
139
|
{
|
|
141
140
|
value: "backSpace",
|
|
142
141
|
keyboardRefs: e,
|
|
@@ -147,5 +146,5 @@ import '../../../../assets/keyboard.css';const l = d(/* @__PURE__ */ t("path", {
|
|
|
147
146
|
] });
|
|
148
147
|
};
|
|
149
148
|
export {
|
|
150
|
-
|
|
149
|
+
E as default
|
|
151
150
|
};
|
|
@@ -1,22 +1,21 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
const u = ({
|
|
1
|
+
import { jsxs as a, jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { Box as s, Typography as p } from "@mui/material";
|
|
3
|
+
import { ENT_VISA_PAYMENT as d, ENT_VISA_PAYMENT_ACTIVE as l, ENT_SEPA_PAYMENT as m, ENT_SEPA_PAYMENT_ACTIVE as f } from "../../../../util/constants.js";
|
|
4
|
+
const T = ({
|
|
6
5
|
paymentId: e,
|
|
7
|
-
setPaymentId:
|
|
6
|
+
setPaymentId: A,
|
|
8
7
|
value: t,
|
|
9
8
|
label: n
|
|
10
9
|
}) => {
|
|
11
10
|
let i, r = !1, o;
|
|
12
|
-
if (n === "credit_debit_card" ? (i =
|
|
13
|
-
return /* @__PURE__ */
|
|
14
|
-
|
|
11
|
+
if (n === "credit_debit_card" ? (i = d, o = "Debit Card", e === t && (i = l, r = !0)) : (i = m, o = "Bank Account", e === t && (i = f, r = !0)), n)
|
|
12
|
+
return /* @__PURE__ */ a(
|
|
13
|
+
s,
|
|
15
14
|
{
|
|
16
15
|
mt: 0.5,
|
|
17
16
|
mr: 1,
|
|
18
17
|
p: 2,
|
|
19
|
-
onClick: () =>
|
|
18
|
+
onClick: () => A(t * 1),
|
|
20
19
|
sx: {
|
|
21
20
|
cursor: r ? "auto" : "pointer",
|
|
22
21
|
borderRadius: "14px",
|
|
@@ -27,9 +26,9 @@ const u = ({
|
|
|
27
26
|
flexDirection: "column"
|
|
28
27
|
},
|
|
29
28
|
children: [
|
|
30
|
-
/* @__PURE__ */
|
|
31
|
-
/* @__PURE__ */
|
|
32
|
-
|
|
29
|
+
/* @__PURE__ */ c("img", { src: i, alt: "payment", width: "90%" }),
|
|
30
|
+
/* @__PURE__ */ c(
|
|
31
|
+
p,
|
|
33
32
|
{
|
|
34
33
|
fontWeight: 700,
|
|
35
34
|
variant: "caption",
|
|
@@ -43,5 +42,5 @@ const u = ({
|
|
|
43
42
|
);
|
|
44
43
|
};
|
|
45
44
|
export {
|
|
46
|
-
|
|
45
|
+
T as PaymentButton
|
|
47
46
|
};
|