everest-npm-features 0.0.61 → 0.0.63
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/ArrowBack-DEJjwfp0.js +8 -0
- 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-71FP5PzJ.js +13 -0
- package/dist/Portal-BeS9yJCZ.js +968 -0
- package/dist/assets/styles.css +1 -1
- package/dist/{auth-Cwq6nfwY.js → auth-BBeOw4mt.js} +11 -11
- package/dist/{bank-C4pmTe--.js → bank-HVb0GFsa.js} +1 -1
- package/dist/components/RocketRamp/MinimalKyc/form.js +46 -51
- 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 +14 -13
- 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 -53
- package/dist/components/Shared/FullKyc/index.js +13 -11
- package/dist/components/Shared/FullKyc/pep.js +35 -43
- package/dist/components/Shared/FullKyc/personalDetails.js +6 -6
- package/dist/components/Shared/FullKyc/userInfo.js +8 -13
- 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.d.ts +1 -2
- package/dist/components/Wallet/Account/createIban.js +324 -102
- package/dist/components/Wallet/Account/eWallet.js +37 -43
- package/dist/components/Wallet/Account/iban.d.ts +1 -0
- package/dist/components/Wallet/Account/iban.js +41 -45
- package/dist/components/Wallet/Account/ibanItem.js +70 -75
- package/dist/components/Wallet/Account/index.d.ts +1 -0
- package/dist/components/Wallet/Account/index.js +113 -118
- package/dist/components/Wallet/Account/sendIban.js +79 -88
- package/dist/components/Wallet/Buy/confirmTransaction.js +9 -11
- 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 -18
- package/dist/components/Wallet/EnterpriseKyc/edd.js +32 -33
- 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 +33 -34
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3591 -1482
- package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
- package/dist/components/Wallet/EnterpriseKyc/verify.js +22 -22
- 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 +122 -126
- package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
- package/dist/components/Wallet/Portfolio/index.js +48 -51
- package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
- package/dist/components/Wallet/Profile/documents.js +164 -176
- package/dist/components/Wallet/Profile/index.js +39 -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 -10
- 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 +98 -107
- 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 -19
- 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.d.ts +2 -1
- package/dist/components/Wallet/Shared/Container/index.js +11 -11
- 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 -45
- 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 -13
- 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 +71 -69
- package/dist/components/Wallet/Stake/id/index.js +77 -84
- package/dist/components/Wallet/Stake/index.js +65 -68
- package/dist/components/Wallet/Swap/form.js +11 -20
- 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-DrmtdI1J.js → constants-DX0YBtP2.js} +19 -19
- package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
- package/dist/{cryptoAssets-DyGDknvq.js → cryptoAssets-B8rAI7pp.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-BbVpeed7.js → index-B4XvACQN.js} +89 -98
- package/dist/{index-BHG1bT4t.js → index-CTPMPwYK.js} +173 -182
- package/dist/{index-Dh_ahu-u.js → index-DkiQ8pRO.js} +95 -106
- package/dist/{index-C7Td5yoW.js → index-DuWW5roi.js} +175 -184
- package/dist/{index-eEBuSKOo.js → index-JY6-UKlX.js} +127 -137
- package/dist/{index-D2JWUPz8.js → index-_fiTunwZ.js} +154 -163
- package/dist/{index-B9oucF3r.js → index-bK14vCZw.js} +189 -198
- package/dist/{kyc-ksV3vBP_.js → kyc-BNMPoeHt.js} +1 -1
- package/dist/main.js +7 -7
- package/dist/memoTheme-DnE8lj0t.js +3481 -0
- package/dist/{order-DEp_Lmar.js → order-BXeCIvqC.js} +1 -1
- package/dist/otpForm-DeeegaX2.js +7378 -0
- package/dist/{stake-Ct7-_aWW.js → stake-BO2TYVJ7.js} +1 -1
- package/dist/styles.module-DFoezEqS.js +28 -0
- package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
- package/dist/tooltip-BW0UyWw7.js +2129 -0
- package/dist/util/constants.d.ts +1 -0
- package/dist/util/constants.js +72 -71
- package/dist/{wallet-CauUBXou.js → wallet-BPXOp8UG.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/PlayArrow-Bjz9LxhD.js +0 -13
- 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/styles.module-CHPRGltL.js +0 -28
- 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,30 +1,31 @@
|
|
|
1
|
-
import { jsxs as n, Fragment as
|
|
1
|
+
import { jsxs as n, Fragment as Z, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as W, useEffect as c } from "react";
|
|
3
|
-
import { u as
|
|
4
|
-
import "../../../constants-
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
3
|
+
import { u as h } from "../../../react-redux-C7I9-1M6.js";
|
|
4
|
+
import "../../../constants-DX0YBtP2.js";
|
|
5
|
+
import { u as de, c as ue, d as pe } from "../../../index-BQNs1mvn.js";
|
|
6
|
+
import { u as he, a as fe, b as ge, c as be, d as _e, e as xe, g as Ne } from "../../../wallet-BPXOp8UG.js";
|
|
7
|
+
import { u as We, c as Ce, d as we, e as ke } from "../../../bank-HVb0GFsa.js";
|
|
8
|
+
import { Box as r, Grid as m, Typography as l, IconButton as C, CircularProgress as w, Button as ve, Stack as Ie, Dialog as De, DialogTitle as ye, DialogContent as Ae } from "@mui/material";
|
|
9
|
+
import { LINKED_WALLET_TOOLTIP as Te, CONNECTED_WALLET_TOOLTIP as Le, BRAND_VORTEX_ID as Be, WALLET_ICON as Re, DELETE_ICON as Se } from "../../../util/constants.js";
|
|
10
|
+
import { M as U } from "../../../tooltip-BW0UyWw7.js";
|
|
11
|
+
import { I as ee } from "../../../Info-DOoRR7sR.js";
|
|
12
|
+
import { C as Ee } from "../../../Cancel-pHQsCjtK.js";
|
|
13
|
+
import { D as qe } from "../../../Delete-Bj8zmXnh.js";
|
|
14
|
+
import { C as ze } from "../../../Close-DSxLLo08.js";
|
|
15
|
+
import Pe from "../../Shared/transition.js";
|
|
16
|
+
import te from "../Shared/inputField.js";
|
|
17
|
+
import Oe from "../Shared/addBank.js";
|
|
18
|
+
import $e from "../Shared/connectPlaidBank.js";
|
|
19
|
+
import Me from "../Shared/ConnectWallet/index.js";
|
|
20
|
+
import He from "./iban.js";
|
|
21
|
+
import je from "./eWallet.js";
|
|
22
|
+
import { useSnackBarContext as Fe } from "../../../context/snackBarContext.js";
|
|
23
|
+
import ne from "../Shared/appButton.js";
|
|
24
|
+
import { AuthInnerContainer as S } from "../Shared/Container/index.js";
|
|
24
25
|
import "../../../index-DlQqWbXG.js";
|
|
25
|
-
import
|
|
26
|
-
import "
|
|
27
|
-
import
|
|
26
|
+
import Ge from "../../../hoc/withThemeProvider.js";
|
|
27
|
+
import "../../../otpForm-DeeegaX2.js";
|
|
28
|
+
import Ke from "../../../hooks/useEverestDispatch.js";
|
|
28
29
|
import "../../../util/conversions.js";
|
|
29
30
|
import "../../../index-CAoLi5Qq.js";
|
|
30
31
|
import "../../../react-webcam-B3cXh1XT.js";
|
|
@@ -32,18 +33,10 @@ import "../../../moment-h96o7c8I.js";
|
|
|
32
33
|
import "../../../index.esm-BsMAMhYW.js";
|
|
33
34
|
import "../../../index-ceeCtFuh.js";
|
|
34
35
|
import "../../../index.esm-I_Bp2YLf.js";
|
|
35
|
-
import { useDialogContext as
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
|
|
39
|
-
import { I as C } from "../../../IconButton-DHm-hucF.js";
|
|
40
|
-
import { C as w } from "../../../CircularProgress-xZA3lvba.js";
|
|
41
|
-
import { B as Me } from "../../../Button-Df4vgU24.js";
|
|
42
|
-
import { S as He } from "../../../Stack-k55YTxET.js";
|
|
43
|
-
import { D as je, a as Fe } from "../../../DialogContent-BMwlOnbW.js";
|
|
44
|
-
import { D as Ge } from "../../../DialogTitle-CfS0bb2K.js";
|
|
45
|
-
import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_heading_arwo8_27", a = {
|
|
46
|
-
container: Ke,
|
|
36
|
+
import { useDialogContext as Ve } from "../../../context/dialogContext.js";
|
|
37
|
+
import "@mui/icons-material";
|
|
38
|
+
import '../../../assets/index3.css';const Xe = "_container_arwo8_1", Je = "_heading_arwo8_27", a = {
|
|
39
|
+
container: Xe,
|
|
47
40
|
"inner-container": "_inner-container_arwo8_13",
|
|
48
41
|
heading: Je,
|
|
49
42
|
"account-item": "_account-item_arwo8_41",
|
|
@@ -55,58 +48,59 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
|
|
|
55
48
|
"delete-disable": "_delete-disable_arwo8_121",
|
|
56
49
|
"confirm-edit": "_confirm-edit_arwo8_137"
|
|
57
50
|
}, Qe = ({
|
|
58
|
-
baseUrl:
|
|
59
|
-
checkoutSdkKey:
|
|
51
|
+
baseUrl: E,
|
|
52
|
+
checkoutSdkKey: q,
|
|
60
53
|
appKey: z,
|
|
61
54
|
appKeyEur: P,
|
|
62
55
|
paymentWidgetSrcUrl: O,
|
|
63
|
-
navigate:
|
|
56
|
+
navigate: $,
|
|
57
|
+
brandId: M
|
|
64
58
|
}) => {
|
|
65
|
-
const o =
|
|
59
|
+
const o = Ke(), { showAlertMessage: i } = Fe(), { openDialog: k } = Ve(), v = h((t) => t.app.features), f = h(de), oe = f.loader, u = f.message, H = f.banks, j = f.iban, [F, G] = W(!1), [ae, g] = W(!1), [I, se] = W(""), [D, re] = W(""), K = h(ue), V = K.data, { error: y, message: A, loader: T } = K, X = h((t) => t.user.profile), J = X.tokens, L = X.everWalletAddress, Q = h(pe), b = Q.data, {
|
|
66
60
|
error: B,
|
|
67
|
-
message:
|
|
68
|
-
loader:
|
|
69
|
-
} =
|
|
61
|
+
message: R,
|
|
62
|
+
loader: ie
|
|
63
|
+
} = Q;
|
|
70
64
|
c(() => {
|
|
71
65
|
if (u) {
|
|
72
|
-
|
|
66
|
+
G(!1);
|
|
73
67
|
const t = typeof u == "string" ? u : String(u);
|
|
74
68
|
(t.includes("created") || t.includes("successfully") || t.includes("Account")) && i({ message: t, type: "success" });
|
|
75
69
|
}
|
|
76
70
|
}, [u]), c(() => {
|
|
77
71
|
B && i({ message: B });
|
|
78
72
|
}, [B]), c(() => {
|
|
79
|
-
|
|
80
|
-
}, [
|
|
73
|
+
R && i({ message: R, type: "success" });
|
|
74
|
+
}, [R]), c(() => {
|
|
81
75
|
y && i({ message: y });
|
|
82
76
|
}, [y]), c(() => {
|
|
83
77
|
A && (g(!1), i({ message: A, type: "success" }));
|
|
84
|
-
}, [A]), c(() => (
|
|
85
|
-
o(
|
|
78
|
+
}, [A]), c(() => (V.length <= 0 && o(he()), b.length <= 0 && o(fe()), o(We()), o(Ce()), () => {
|
|
79
|
+
o(ge("")), o(be(""));
|
|
86
80
|
}), []), c(() => {
|
|
87
|
-
L && o(
|
|
81
|
+
L && o(_e(L));
|
|
88
82
|
}, [L, o]);
|
|
89
|
-
const
|
|
90
|
-
if (!
|
|
83
|
+
const le = () => {
|
|
84
|
+
if (!I)
|
|
91
85
|
return i({ message: "Please provide the wallet name" }), !1;
|
|
92
86
|
if (!D)
|
|
93
87
|
return i({
|
|
94
88
|
message: "Please provide the wallet private key"
|
|
95
89
|
}), !1;
|
|
96
90
|
T || o(
|
|
97
|
-
|
|
98
|
-
name:
|
|
91
|
+
xe({
|
|
92
|
+
name: I,
|
|
99
93
|
privatekey: Buffer.from(D).toString("base64")
|
|
100
94
|
})
|
|
101
95
|
);
|
|
102
|
-
},
|
|
96
|
+
}, ce = (t) => {
|
|
103
97
|
k({
|
|
104
|
-
icon:
|
|
98
|
+
icon: Se,
|
|
105
99
|
height: "450px",
|
|
106
100
|
title: "Are you sure you want to delete?",
|
|
107
101
|
message: "This action cannot be undone.",
|
|
108
102
|
onConfirm: () => {
|
|
109
|
-
o(
|
|
103
|
+
o(ke(t));
|
|
110
104
|
},
|
|
111
105
|
cancelButtonShow: !0
|
|
112
106
|
});
|
|
@@ -118,16 +112,16 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
|
|
|
118
112
|
}) => {
|
|
119
113
|
let x, N;
|
|
120
114
|
return s === "connectedWallet" || s === "linkedWallet" ? "name" in t && "address" in t && (x = t.name, N = t.address) : s === "iban" ? "accountName" in t && "accountNumber" in t && (x = t.accountName, N = `${t.ownerFirstName} ${t.ownerLastName}: ${t.accountNumber}`) : "accountName" in t && "accountNumber" in t && (x = t.accountName, N = t.accountNumber), /* @__PURE__ */ n(r, { className: a["account-item"], children: [
|
|
121
|
-
s === "bankAccount" &&
|
|
115
|
+
s === "bankAccount" && F && "id" in t && /* @__PURE__ */ e(
|
|
122
116
|
C,
|
|
123
117
|
{
|
|
124
118
|
className: a["remove-icon"],
|
|
125
|
-
onClick: () =>
|
|
126
|
-
children: /* @__PURE__ */ e(
|
|
119
|
+
onClick: () => ce(t.id),
|
|
120
|
+
children: /* @__PURE__ */ e(Ee, {})
|
|
127
121
|
}
|
|
128
122
|
),
|
|
129
123
|
/* @__PURE__ */ n(m, { container: !0, width: "100%", alignItems: "center", spacing: 1, children: [
|
|
130
|
-
/* @__PURE__ */ e(m, { size: { xs: 2, md: 1 }, className: "content-center", children: /* @__PURE__ */ e("img", { src:
|
|
124
|
+
/* @__PURE__ */ e(m, { size: { xs: 2, md: 1 }, className: "content-center", children: /* @__PURE__ */ e("img", { src: Re, alt: "Icon", height: 28, width: 28 }) }),
|
|
131
125
|
/* @__PURE__ */ n(m, { size: { xs: 7, md: 7 }, children: [
|
|
132
126
|
/* @__PURE__ */ e(
|
|
133
127
|
l,
|
|
@@ -159,7 +153,7 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
|
|
|
159
153
|
] }),
|
|
160
154
|
_
|
|
161
155
|
] });
|
|
162
|
-
},
|
|
156
|
+
}, me = (t) => {
|
|
163
157
|
const s = b.length;
|
|
164
158
|
let _ = !1;
|
|
165
159
|
for (let d = 0; d < s; d++)
|
|
@@ -169,14 +163,14 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
|
|
|
169
163
|
}
|
|
170
164
|
_ ? i({
|
|
171
165
|
message: "This wallet address is already connected."
|
|
172
|
-
}) : o(
|
|
173
|
-
},
|
|
174
|
-
o(
|
|
166
|
+
}) : o(Ne(t));
|
|
167
|
+
}, Y = (t) => {
|
|
168
|
+
o(we({ currency: t }));
|
|
175
169
|
};
|
|
176
|
-
return /* @__PURE__ */ n(
|
|
170
|
+
return /* @__PURE__ */ n(Z, { children: [
|
|
177
171
|
/* @__PURE__ */ e(r, { className: a.container, children: /* @__PURE__ */ n(m, { spacing: 2, container: !0, width: "100%", children: [
|
|
178
172
|
/* @__PURE__ */ n(m, { size: { md: 6, xs: 12 }, children: [
|
|
179
|
-
/* @__PURE__ */ n(
|
|
173
|
+
/* @__PURE__ */ n(S, { p: 3, children: [
|
|
180
174
|
/* @__PURE__ */ e(
|
|
181
175
|
l,
|
|
182
176
|
{
|
|
@@ -187,12 +181,12 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
|
|
|
187
181
|
}
|
|
188
182
|
),
|
|
189
183
|
/* @__PURE__ */ e(
|
|
190
|
-
|
|
184
|
+
U,
|
|
191
185
|
{
|
|
192
|
-
title: /* @__PURE__ */ e(r, { sx: { whiteSpace: "pre-line" }, children:
|
|
186
|
+
title: /* @__PURE__ */ e(r, { sx: { whiteSpace: "pre-line" }, children: Te }),
|
|
193
187
|
placement: "bottom",
|
|
194
188
|
children: /* @__PURE__ */ e(C, { className: a["info-icon"], children: /* @__PURE__ */ e(
|
|
195
|
-
|
|
189
|
+
ee,
|
|
196
190
|
{
|
|
197
191
|
sx: {
|
|
198
192
|
fontSize: "26px",
|
|
@@ -203,9 +197,9 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
|
|
|
203
197
|
}
|
|
204
198
|
),
|
|
205
199
|
T && /* @__PURE__ */ e(r, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(w, { size: 50 }) }),
|
|
206
|
-
|
|
200
|
+
V.map((t, s) => /* @__PURE__ */ e(p, { type: "linkedWallet", data: t }, s)),
|
|
207
201
|
/* @__PURE__ */ e(
|
|
208
|
-
|
|
202
|
+
ne,
|
|
209
203
|
{
|
|
210
204
|
sx: { mt: 4 },
|
|
211
205
|
onClick: () => g(!0),
|
|
@@ -214,7 +208,7 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
|
|
|
214
208
|
}
|
|
215
209
|
)
|
|
216
210
|
] }),
|
|
217
|
-
/* @__PURE__ */ n(
|
|
211
|
+
/* @__PURE__ */ n(S, { p: 3, mt: 2, children: [
|
|
218
212
|
/* @__PURE__ */ e(
|
|
219
213
|
l,
|
|
220
214
|
{
|
|
@@ -225,12 +219,12 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
|
|
|
225
219
|
}
|
|
226
220
|
),
|
|
227
221
|
/* @__PURE__ */ e(
|
|
228
|
-
|
|
222
|
+
U,
|
|
229
223
|
{
|
|
230
|
-
title: /* @__PURE__ */ e(r, { sx: { whiteSpace: "pre-line" }, children:
|
|
224
|
+
title: /* @__PURE__ */ e(r, { sx: { whiteSpace: "pre-line" }, children: Le }),
|
|
231
225
|
placement: "bottom",
|
|
232
226
|
children: /* @__PURE__ */ e(C, { className: a["info-icon"], children: /* @__PURE__ */ e(
|
|
233
|
-
|
|
227
|
+
ee,
|
|
234
228
|
{
|
|
235
229
|
sx: {
|
|
236
230
|
fontSize: "26px",
|
|
@@ -240,86 +234,87 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
|
|
|
240
234
|
) })
|
|
241
235
|
}
|
|
242
236
|
),
|
|
243
|
-
|
|
237
|
+
ie && /* @__PURE__ */ e(r, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(w, { size: 50 }) }),
|
|
244
238
|
b.map((t, s) => /* @__PURE__ */ e(p, { type: "connectedWallet", data: t }, s)),
|
|
245
239
|
/* @__PURE__ */ e(
|
|
246
|
-
|
|
240
|
+
Me,
|
|
247
241
|
{
|
|
248
|
-
addressHandler:
|
|
242
|
+
addressHandler: me,
|
|
249
243
|
btnClass: "wallet-btn"
|
|
250
244
|
}
|
|
251
245
|
)
|
|
252
246
|
] })
|
|
253
247
|
] }),
|
|
254
248
|
/* @__PURE__ */ n(m, { size: { md: 6, xs: 12 }, children: [
|
|
255
|
-
|
|
256
|
-
|
|
249
|
+
v.eWallet && M !== Be && /* @__PURE__ */ e(r, { mb: 2, children: /* @__PURE__ */ e(
|
|
250
|
+
je,
|
|
257
251
|
{
|
|
258
252
|
openDialog: k,
|
|
259
253
|
dispatch: o,
|
|
260
|
-
iban:
|
|
261
|
-
baseUrl:
|
|
262
|
-
checkoutSdkKey:
|
|
254
|
+
iban: j,
|
|
255
|
+
baseUrl: E,
|
|
256
|
+
checkoutSdkKey: q,
|
|
263
257
|
appKey: z,
|
|
264
258
|
appKeyEur: P,
|
|
265
259
|
paymentWidgetSrcUrl: O,
|
|
266
260
|
navigate: $,
|
|
267
261
|
AccountItem: p,
|
|
268
|
-
createIbanRequest:
|
|
269
|
-
tokenData:
|
|
262
|
+
createIbanRequest: Y,
|
|
263
|
+
tokenData: J
|
|
270
264
|
}
|
|
271
265
|
) }),
|
|
272
|
-
|
|
273
|
-
|
|
266
|
+
v.iban && /* @__PURE__ */ e(
|
|
267
|
+
He,
|
|
274
268
|
{
|
|
275
269
|
openDialog: k,
|
|
276
270
|
dispatch: o,
|
|
277
|
-
iban:
|
|
278
|
-
baseUrl:
|
|
279
|
-
checkoutSdkKey:
|
|
271
|
+
iban: j,
|
|
272
|
+
baseUrl: E,
|
|
273
|
+
checkoutSdkKey: q,
|
|
280
274
|
appKey: z,
|
|
281
275
|
appKeyEur: P,
|
|
282
276
|
paymentWidgetSrcUrl: O,
|
|
283
277
|
navigate: $,
|
|
284
278
|
AccountItem: p,
|
|
285
|
-
createIbanRequest:
|
|
286
|
-
tokenData:
|
|
279
|
+
createIbanRequest: Y,
|
|
280
|
+
tokenData: J,
|
|
281
|
+
brandId: M
|
|
287
282
|
}
|
|
288
283
|
),
|
|
289
|
-
/* @__PURE__ */ e(
|
|
284
|
+
/* @__PURE__ */ e(S, { mt: 2, children: /* @__PURE__ */ n(r, { p: 3, mt: v.iban ? 2 : 0, children: [
|
|
290
285
|
/* @__PURE__ */ e(l, { className: a.heading, variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Bank Accounts" }) }),
|
|
291
|
-
|
|
292
|
-
|
|
286
|
+
H.length > 0 && /* @__PURE__ */ n(
|
|
287
|
+
ve,
|
|
293
288
|
{
|
|
294
|
-
className: `${
|
|
289
|
+
className: `${F ? a["delete-disable"] : a["confirm-edit"]} normal-text`,
|
|
295
290
|
sx: { mt: 3, mb: 3 },
|
|
296
291
|
variant: "contained",
|
|
297
|
-
onClick: () =>
|
|
292
|
+
onClick: () => G((t) => !t),
|
|
298
293
|
children: [
|
|
299
|
-
/* @__PURE__ */ e(
|
|
294
|
+
/* @__PURE__ */ e(qe, {}),
|
|
300
295
|
"Delete"
|
|
301
296
|
]
|
|
302
297
|
}
|
|
303
298
|
),
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
/* @__PURE__ */ n(
|
|
307
|
-
/* @__PURE__ */ e(
|
|
299
|
+
oe && /* @__PURE__ */ e(r, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(w, { size: 50 }) }),
|
|
300
|
+
H.map((t, s) => /* @__PURE__ */ e(p, { type: "bankAccount", data: t }, s)),
|
|
301
|
+
/* @__PURE__ */ n(Ie, { mt: 4, gap: 1, children: [
|
|
302
|
+
/* @__PURE__ */ e($e, {}),
|
|
308
303
|
/* @__PURE__ */ e(l, { className: "text-center", variant: "h6", children: /* @__PURE__ */ e("strong", { children: "OR" }) }),
|
|
309
|
-
/* @__PURE__ */ e(
|
|
304
|
+
/* @__PURE__ */ e(Oe, {})
|
|
310
305
|
] })
|
|
311
306
|
] }) })
|
|
312
307
|
] })
|
|
313
308
|
] }) }),
|
|
314
309
|
/* @__PURE__ */ n(
|
|
315
|
-
|
|
310
|
+
De,
|
|
316
311
|
{
|
|
317
312
|
fullWidth: !0,
|
|
318
|
-
open:
|
|
313
|
+
open: ae,
|
|
319
314
|
onClose: () => g(!1),
|
|
320
|
-
TransitionComponent:
|
|
315
|
+
TransitionComponent: Pe,
|
|
321
316
|
children: [
|
|
322
|
-
/* @__PURE__ */ n(
|
|
317
|
+
/* @__PURE__ */ n(ye, { className: "buy-modal-text-color", children: [
|
|
323
318
|
/* @__PURE__ */ e(l, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ e("strong", { children: "Wallets" }) }),
|
|
324
319
|
/* @__PURE__ */ e(
|
|
325
320
|
C,
|
|
@@ -327,29 +322,29 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
|
|
|
327
322
|
"aria-label": "close",
|
|
328
323
|
onClick: () => g(!1),
|
|
329
324
|
className: "menu-buttons",
|
|
330
|
-
children: /* @__PURE__ */ e(
|
|
325
|
+
children: /* @__PURE__ */ e(ze, {})
|
|
331
326
|
}
|
|
332
327
|
)
|
|
333
328
|
] }),
|
|
334
|
-
/* @__PURE__ */ n(
|
|
329
|
+
/* @__PURE__ */ n(Ae, { dividers: !0, children: [
|
|
335
330
|
/* @__PURE__ */ e(l, { className: "text-center buy-modal-text-color", variant: "h5", children: /* @__PURE__ */ e("strong", { children: "Add Linked Wallet" }) }),
|
|
336
331
|
/* @__PURE__ */ e(
|
|
337
|
-
|
|
332
|
+
te,
|
|
338
333
|
{
|
|
339
334
|
label: "Name",
|
|
340
|
-
value:
|
|
341
|
-
onChangeHandler: (t) =>
|
|
335
|
+
value: I,
|
|
336
|
+
onChangeHandler: (t) => se(t)
|
|
342
337
|
}
|
|
343
338
|
),
|
|
344
339
|
/* @__PURE__ */ e(
|
|
345
|
-
|
|
340
|
+
te,
|
|
346
341
|
{
|
|
347
342
|
label: "Private Key",
|
|
348
343
|
value: D,
|
|
349
|
-
onChangeHandler: (t) =>
|
|
344
|
+
onChangeHandler: (t) => re(t)
|
|
350
345
|
}
|
|
351
346
|
),
|
|
352
|
-
/* @__PURE__ */ e(
|
|
347
|
+
/* @__PURE__ */ e(ne, { sx: { mt: 4 }, onClick: le, fullWidth: !0, children: /* @__PURE__ */ e("strong", { children: T ? /* @__PURE__ */ n(Z, { children: [
|
|
353
348
|
/* @__PURE__ */ e(w, { size: 15, color: "inherit" }),
|
|
354
349
|
" Processing..."
|
|
355
350
|
] }) : "Import Wallet" }) })
|
|
@@ -358,7 +353,7 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
|
|
|
358
353
|
}
|
|
359
354
|
)
|
|
360
355
|
] });
|
|
361
|
-
},
|
|
356
|
+
}, St = Ge(Qe);
|
|
362
357
|
export {
|
|
363
|
-
|
|
358
|
+
St as default
|
|
364
359
|
};
|