everest-npm-features 0.0.13 → 0.0.15
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/{Alert-Da8Q-zA-.js → Alert-DleEulFt.js} +99 -100
- package/dist/ArrowBack-DlpUhUax.js +8 -0
- package/dist/{ArrowDropDown-CB41NDS2.js → ArrowDropDown-B4n-Or06.js} +1 -1
- package/dist/{ArrowRight-DplnroSW.js → ArrowRight-Dqbjrbq7.js} +1 -1
- package/dist/{Box-B1yq36Zl.js → Box-Dg5YL71c.js} +4 -4
- package/dist/{Button-RhIIYrVA.js → Button-URmXuR7L.js} +14 -15
- package/dist/{ButtonBase-nNQGsITG.js → ButtonBase-DMZ5Yya_.js} +5 -6
- package/dist/{Cancel-DRgf8LOx.js → Cancel-W4CL5EwJ.js} +1 -1
- package/dist/{CardContent-Dhm-V65j.js → CardContent-DK3Z3N6m.js} +31 -32
- package/dist/{CircularProgress-r4YDqPph.js → CircularProgress-BShHoQbM.js} +6 -7
- package/dist/{Close-wTvkGNu_.js → Close-Drz_1Cma.js} +1 -1
- package/dist/{Container-XaSeftCC.js → Container-DOt_WDG9.js} +4 -4
- package/dist/{ContentCopy-CWUuFnH9.js → ContentCopy-CSmkb1dz.js} +1 -1
- package/dist/DefaultPropsProvider-5tIQ66gk.js +88 -0
- package/dist/{styled-BYKS1WRW.js → DefaultPropsProvider-D1ZRCAhv.js} +167 -150
- package/dist/{Delete-DKVDR5no.js → Delete-BeH9eSuy.js} +1 -1
- package/dist/{DialogContent-B8RDX20F.js → DialogContent-CntTpnUi.js} +14 -15
- package/dist/{DialogTitle-B8V03qFK.js → DialogTitle-DUNaosnR.js} +12 -13
- package/dist/{Divider-CkBkaVNU.js → Divider-B-PuJDLx.js} +30 -31
- package/dist/ErrorOutline-D7__T0wX.js +8 -0
- package/dist/FilledInput-CAtG9Qdk.js +1299 -0
- package/dist/{FormControl-CEQUgsVH.js → FormControl-2O9G0Uio.js} +18 -20
- package/dist/{GlobalStyles-DHmHsV2_.js → GlobalStyles-DA0jAD4D.js} +2 -2
- package/dist/{Grid-BSyufPAS.js → Grid-D9MNL9_a.js} +5 -5
- package/dist/{Grid2-C3moy0LA.js → Grid2-CYB7zT__.js} +6 -6
- package/dist/{Grow-Dn6eK91k.js → Grow-h-Gdo-9N.js} +6 -6
- package/dist/{IconButton-C0cj2n1O.js → IconButton-C9zoz_co.js} +6 -7
- package/dist/{Info-DempPLhJ.js → Info--iLHF6tO.js} +1 -1
- package/dist/{InputAdornment-eHKIY-JA.js → InputAdornment-DjDZEW73.js} +21 -22
- package/dist/{FormControlLabel-BiWFmP1H.js → Link-C2epBeQ2.js} +470 -216
- package/dist/{ListItemIcon-DqTB0XEf.js → ListItemIcon-DnbnPcmb.js} +8 -9
- package/dist/{MenuItem-r5fG490P.js → MenuItem-CwNgel9B.js} +21 -22
- package/dist/{Modal-DfCWYujt.js → Modal-DArhlzWc.js} +14 -15
- package/dist/{Paper-6ulaCzyM.js → Paper-C3LLozy7.js} +36 -37
- package/dist/{PlayArrow-D_X2lBvS.js → PlayArrow-C5Pcs6y3.js} +4 -4
- package/dist/{Portal-D__M1zn-.js → Portal-85fqk2Oo.js} +3 -3
- package/dist/Select-D3_7Y7hs.js +2787 -0
- package/dist/{Slide-mtYUK7dK.js → Slide-BKeUzqUD.js} +5 -5
- package/dist/{Stack-D5Vxe6Co.js → Stack-DcyCfYaK.js} +5 -5
- package/dist/{TextField-MDDs13xT.js → TextField-q50CZQKQ.js} +29 -30
- package/dist/{Transition-ChuHjwtI.js → Transition-DMUpKF8t.js} +1 -1
- package/dist/{Typography-CxQIkv7u.js → Typography-D7sM-Gzr.js} +39 -40
- package/dist/assets/iban.css +1 -0
- package/dist/assets/index4.css +1 -1
- package/dist/assets/index5.css +1 -1
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/assets/main.css +1 -1
- package/dist/{auth-Cu3kwR9I.js → auth-CmU-Oza0.js} +32 -28
- package/dist/bank-DLbq9Bzw.js +34 -0
- package/dist/components/RocketRamp/MinimalKyc/form.js +17 -18
- package/dist/components/RocketRamp/MinimalKyc/index.js +1 -1
- package/dist/components/RocketRamp/Player/Buy/cardPayment.js +8 -7
- package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +7 -7
- package/dist/components/RocketRamp/Player/Buy/form.js +15 -15
- package/dist/components/RocketRamp/Player/Buy/index.js +13 -27
- package/dist/components/RocketRamp/Player/Dashboard/balance.js +7 -7
- package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
- package/dist/components/RocketRamp/Player/Dashboard/transaction.js +4 -4
- package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +10 -10
- package/dist/components/RocketRamp/Player/Sell/form.js +15 -15
- package/dist/components/RocketRamp/Player/Sell/index.js +15 -17
- package/dist/components/RocketRamp/Player/SignIn/index.js +5 -5
- package/dist/components/RocketRamp/Player/SignIn/loginForm.js +5 -5
- package/dist/components/RocketRamp/Player/SignIn/otpForm.js +15 -15
- package/dist/components/RocketRamp/Player/SignUp/email.js +13 -13
- package/dist/components/RocketRamp/Player/SignUp/index.js +14 -14
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +14 -15
- package/dist/components/RocketRamp/Player/SignUp/summary.js +3 -3
- package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +3 -3
- package/dist/components/RocketRamp/ResetPassword/index.js +5 -5
- package/dist/components/RocketRamp/Shared/Button/index.js +2 -2
- package/dist/components/RocketRamp/Shared/Input/index.js +5 -5
- package/dist/components/RocketRamp/Shared/backBtn.js +3 -3
- package/dist/components/RocketRamp/Shared/transactionItem.js +5 -5
- package/dist/components/RocketRamp/Store/Dashboard/balance.js +6 -6
- package/dist/components/RocketRamp/Store/Dashboard/index.js +2 -2
- package/dist/components/RocketRamp/Store/Dashboard/stats.js +6 -6
- package/dist/components/RocketRamp/Store/Dashboard/transaction.js +4 -4
- package/dist/components/RocketRamp/Store/SignUp/index.js +17 -17
- package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +23 -24
- package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +11 -11
- package/dist/components/RocketRamp/Store/SignUp/summary.js +3 -3
- package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +3 -3
- package/dist/components/RocketRamp/Transactions/index.js +4 -4
- package/dist/components/Shared/HistoryItem/index.js +8 -8
- package/dist/components/Shared/MinimalKyc/index.d.ts +10 -0
- package/dist/components/Shared/MinimalKyc/index.js +222 -0
- package/dist/components/Shared/tooltip.js +20 -21
- package/dist/components/Shared/transition.js +1 -1
- package/dist/components/Wallet/Account/createIban.d.ts +11 -0
- package/dist/components/Wallet/Account/createIban.js +302 -0
- package/dist/components/Wallet/Account/iban.d.ts +13 -0
- package/dist/components/Wallet/Account/iban.js +27 -0
- package/dist/components/Wallet/Account/index.d.ts +3 -0
- package/dist/components/Wallet/Account/index.js +174 -173
- package/dist/components/Wallet/Account/sendIban.d.ts +9 -0
- package/dist/components/Wallet/Account/sendIban.js +270 -0
- package/dist/components/Wallet/Buy/confirmTransaction.d.ts +3 -0
- package/dist/components/Wallet/Buy/confirmTransaction.js +16 -0
- package/dist/components/Wallet/Buy/form.d.ts +3 -0
- package/dist/components/Wallet/Buy/form.js +27 -0
- package/dist/components/Wallet/Buy/index.d.ts +7 -0
- package/dist/components/Wallet/Buy/index.js +24 -0
- package/dist/components/Wallet/Buy/types.d.ts +35 -0
- package/dist/components/Wallet/History/index.js +40 -41
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +61 -63
- package/dist/components/Wallet/Portfolio/index.js +14 -14
- package/dist/components/Wallet/Portfolio/tokenRow.js +6 -6
- package/dist/components/Wallet/Profile/documents.js +19 -18
- package/dist/components/Wallet/Profile/index.js +20 -21
- package/dist/components/Wallet/Receive/index.js +13 -13
- package/dist/components/Wallet/Send/index.js +172 -175
- package/dist/components/Wallet/Shared/Auth/emailForm.d.ts +3 -0
- package/dist/components/Wallet/Shared/Auth/emailForm.js +95 -0
- package/dist/components/Wallet/{SignIn → Shared/Auth}/otpForm.d.ts +1 -1
- package/dist/components/Wallet/{SignIn → Shared/Auth}/otpForm.js +759 -744
- package/dist/components/Wallet/Shared/Auth/types.d.ts +22 -0
- package/dist/components/Wallet/Shared/CardPayment/index.d.ts +9 -0
- package/dist/components/Wallet/Shared/CardPayment/index.js +217 -0
- package/dist/components/Wallet/Shared/ConnectWallet/index.js +9 -9
- package/dist/components/Wallet/Shared/Container/index.d.ts +5 -0
- package/dist/components/Wallet/Shared/Container/index.js +35 -7
- package/dist/components/Wallet/Shared/Input/index.d.ts +2 -2
- package/dist/components/Wallet/Shared/Input/index.js +1 -1
- package/dist/components/Wallet/Shared/Keyboard/keyboard.js +3 -3
- package/dist/components/Wallet/Shared/TokenModal/index.d.ts +2 -1
- package/dist/components/Wallet/Shared/TokenModal/index.js +140 -81
- package/dist/components/Wallet/Shared/TokenModal/tokenGrid.d.ts +2 -1
- package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +68 -32
- package/dist/components/Wallet/Shared/addBank.js +18 -19
- package/dist/components/Wallet/Shared/appButton.js +8 -7
- package/dist/components/Wallet/Shared/backBtn.d.ts +7 -0
- package/dist/components/Wallet/Shared/backBtn.js +26 -0
- package/dist/components/Wallet/Shared/button.js +1 -1
- package/dist/components/Wallet/Shared/connectPlaidBank.js +9 -9
- package/dist/components/Wallet/Shared/inputField.js +1 -1
- package/dist/components/Wallet/Shared/noData.js +2 -2
- package/dist/components/Wallet/Shared/pin.js +44 -45
- package/dist/components/Wallet/Shared/step.js +2 -2
- package/dist/components/Wallet/SignIn/index.d.ts +4 -1
- package/dist/components/Wallet/SignIn/index.js +46 -41
- package/dist/components/Wallet/SignUp/index.d.ts +4 -1
- package/dist/components/Wallet/SignUp/index.js +62 -148
- package/dist/components/Wallet/SignUp/terms.d.ts +6 -1
- package/dist/components/Wallet/SignUp/terms.js +564 -521
- package/dist/components/Wallet/Stake/gems/index.js +10 -10
- package/dist/components/Wallet/Stake/id/index.js +11 -11
- package/dist/components/Wallet/Stake/index.js +107 -109
- package/dist/components/Wallet/Swap/index.js +38 -38
- package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -3
- package/dist/{constants-D38Lq3Gf.js → constants-BxUb35pS.js} +770 -762
- package/dist/{createSvgIcon-B-WJiCyS.js → createSvgIcon-COsBZ0xr.js} +16 -17
- package/dist/{createTheme-D7ZVbreR.js → createTheme-BlT11X6w.js} +18 -18
- package/dist/data/ibanSupportedCountries.json.d.ts +165 -0
- package/dist/defaultTheme-CZjF3GyS.js +5 -0
- package/dist/{dividerClasses-CfCLFJYf.js → dividerClasses-CgHFbM2R.js} +2 -2
- package/dist/{documents-DVHeHzYW.js → documents-vQr89AXc.js} +70 -72
- package/dist/{elementTypeAcceptingRef-BnAvBdPm.js → elementTypeAcceptingRef-DFRaouxA.js} +1 -1
- package/dist/{emotion-react.browser.esm-DdTR1jdg.js → emotion-react.browser.esm-C7P8sPuT.js} +1 -1
- package/dist/{extendSxProp-Comp6o-L.js → extendSxProp-3dFKe0G7.js} +1 -1
- package/dist/{fiatAssets-BtFCh7XL.js → fiatAssets-DxmFUAAP.js} +1 -1
- package/dist/hoc/withThemeProvider.js +5 -5
- package/dist/hooks/useDialog/index.js +5 -5
- package/dist/hooks/useRrDialog/index.js +5 -5
- package/dist/hooks/useSnackBar.js +49 -50
- package/dist/iban-DAFjqLmj.js +287 -0
- 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 +1 -1
- package/dist/icons/failedRedeemIcon.js +1 -1
- package/dist/icons/pendingBuyIcon.js +1 -1
- package/dist/icons/pendingRedeemIcon.js +1 -1
- package/dist/icons/redeemIcon.js +1 -1
- package/dist/{index-CclNYr-5.js → index-BgFigcmK.js} +28 -30
- package/dist/index-BlfNAYSo.js +709 -0
- package/dist/{index-BWrkryN2.js → index-CpZl5h1a.js} +105 -120
- package/dist/{index-Ccqf2Toa.js → index-D1vZejb1.js} +1 -1
- package/dist/index-DQaPU81n.js +12 -0
- package/dist/{index-C5R9IxNT.js → index-Dbxu0EJ1.js} +5 -5
- package/dist/main.d.ts +1 -0
- package/dist/main.js +33 -31
- package/dist/order-BQ_jdcYA.js +34 -0
- package/dist/{ownerWindow-C-HsSAwf.js → ownerWindow-D0iDQewC.js} +1 -1
- package/dist/{resolveComponentProps-C0xVjN-P.js → resolveComponentProps-B1Ir_BWp.js} +1 -1
- package/dist/{stake-CZ4lKUzr.js → stake-Dtv26Vtt.js} +1 -1
- package/dist/store.d.ts +110 -1
- package/dist/styled-Cr0V7wv6.js +5 -0
- package/dist/{tokenRow-CwrQuRko.js → tokenRow-BayFN7xo.js} +5 -5
- package/dist/{useSlot-BYvj2z3P.js → useSlot-BnuaST7x.js} +1 -1
- package/dist/{useTheme-B0HI0zls.js → useTheme-TES7dz5C.js} +3 -3
- package/dist/useTheme-ZWavQ1Dn.js +9 -0
- package/dist/{useThemeProps-Bco8C5pK.js → useThemeProps-0PI3aKLE.js} +4 -4
- package/dist/{useThemeWithoutDefault-SUq3mml8.js → useThemeWithoutDefault-Dv5V_IG8.js} +1 -1
- package/dist/{useTimeout-BRv01uOR.js → useTimeout-By20Crr8.js} +1 -1
- package/dist/user-D0iWvS_0.js +24 -0
- package/dist/util/constants.d.ts +3 -0
- package/dist/util/constants.js +58 -55
- package/dist/{utils-SiGFS2N1.js → utils-D3CNVkXx.js} +1 -1
- package/dist/{wallet-CVI52pN9.js → wallet-WO2ijYZw.js} +6 -6
- package/package.json +2 -2
- package/dist/DefaultPropsProvider-Cb_d0Ryo.js +0 -56
- package/dist/DefaultPropsProvider-DoWGMc0K.js +0 -22
- package/dist/Link-Bhe2EFdu.js +0 -264
- package/dist/Select-zFqetNpN.js +0 -4054
- package/dist/assets/styles3.css +0 -1
- package/dist/bank-DwjNuNPP.js +0 -23
- package/dist/components/Wallet/SignIn/loginForm.d.ts +0 -3
- package/dist/components/Wallet/SignIn/loginForm.js +0 -79
- package/dist/components/Wallet/SignIn/types.d.ts +0 -21
- package/dist/components/Wallet/SignUp/biometric.d.ts +0 -3
- package/dist/components/Wallet/SignUp/biometric.js +0 -37
- package/dist/components/Wallet/SignUp/pin.d.ts +0 -3
- package/dist/components/Wallet/SignUp/pin.js +0 -222
- package/dist/components/Wallet/SignUp/privacy.d.ts +0 -2
- package/dist/components/Wallet/SignUp/privacy.js +0 -259
- package/dist/components/Wallet/SignUp/types.d.ts +0 -53
- package/dist/components/Wallet/SignUp/userInfo.d.ts +0 -3
- package/dist/components/Wallet/SignUp/userInfo.js +0 -47
- package/dist/defaultTheme-Clb-EQO9.js +0 -5
- package/dist/dialog-success-BDNJV4Tk.js +0 -4
- package/dist/index-TElEjliR.js +0 -9
- package/dist/order-Bx7J32xK.js +0 -30
- package/dist/pin-empty-D9665KFr.js +0 -6
- package/dist/resolveProps-D44T7GAU.js +0 -35
- package/dist/styled-DBwgKxfn.js +0 -5
- package/dist/styles.module-6SB62f3J.js +0 -9
- package/dist/useFormControl-CfmEP6sW.js +0 -18
- package/dist/useTheme-tAPc7SsX.js +0 -9
- package/dist/user-DkUg7KuC.js +0 -24
- /package/dist/components/Wallet/{SignIn → Buy}/types.js +0 -0
- /package/dist/components/Wallet/{SignUp → Shared/Auth}/types.js +0 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import "../../../Info--iLHF6tO.js";
|
|
4
|
+
import "../../../Close-Drz_1Cma.js";
|
|
5
|
+
import "../../../ContentCopy-CSmkb1dz.js";
|
|
6
|
+
import "../../../util/constants.js";
|
|
7
|
+
import "../../../constants-BxUb35pS.js";
|
|
8
|
+
import "../../../order-BQ_jdcYA.js";
|
|
9
|
+
import "../../../bank-DLbq9Bzw.js";
|
|
10
|
+
import "../../Shared/tooltip.js";
|
|
11
|
+
import "../Shared/noData.js";
|
|
12
|
+
import "../../Shared/transition.js";
|
|
13
|
+
import { I as y } from "../../../iban-DAFjqLmj.js";
|
|
14
|
+
import "./sendIban.js";
|
|
15
|
+
import "./createIban.js";
|
|
16
|
+
import "../../../context/snackBarContext.js";
|
|
17
|
+
import "../../../Box-Dg5YL71c.js";
|
|
18
|
+
import "../../../Typography-D7sM-Gzr.js";
|
|
19
|
+
import "../../../IconButton-C9zoz_co.js";
|
|
20
|
+
import "../../../CircularProgress-BShHoQbM.js";
|
|
21
|
+
import "../../../Grid-D9MNL9_a.js";
|
|
22
|
+
import "../../../Button-URmXuR7L.js";
|
|
23
|
+
import "../../../DialogContent-CntTpnUi.js";
|
|
24
|
+
import "../../../DialogTitle-DUNaosnR.js";
|
|
25
|
+
export {
|
|
26
|
+
y as default
|
|
27
|
+
};
|
|
@@ -1,160 +1,148 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { u as
|
|
4
|
-
import "../../../constants-
|
|
5
|
-
import { a as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import {
|
|
9
|
-
import { LINKED_WALLET_TOOLTIP as
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import { I as
|
|
13
|
-
import { C as
|
|
14
|
-
import { D as
|
|
15
|
-
import { C as
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import { useDialog as
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import { D as
|
|
31
|
-
import
|
|
32
|
-
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
"secondary-color": "_secondary-color_dsezq_89",
|
|
39
|
-
"info-icon": "_info-icon_dsezq_97",
|
|
40
|
-
"remove-icon": "_remove-icon_dsezq_107",
|
|
41
|
-
"delete-disable": "_delete-disable_dsezq_121",
|
|
42
|
-
"confirm-edit": "_confirm-edit_dsezq_137"
|
|
43
|
-
}, Ae = ({}) => {
|
|
44
|
-
const r = X(), { showAlertMessage: c, snackBar: M } = ce(), { openDialog: R, ConfirmDialog: $ } = be(), _ = z(Y), K = _.loader, A = _.message, I = _.banks, [T, q] = p(!1), [H, N] = p(!1), [W, j] = p(""), [b, F] = p(""), L = z(Z), B = L.data, { error: x, message: C, loader: k } = L, S = z(ee), u = S.data, {
|
|
45
|
-
error: v,
|
|
46
|
-
message: y,
|
|
47
|
-
loader: G
|
|
48
|
-
} = S;
|
|
1
|
+
import { jsxs as n, jsx as e, Fragment as ee } from "react/jsx-runtime";
|
|
2
|
+
import { useState as f, useEffect as h } from "react";
|
|
3
|
+
import { u as te, a as g } from "../../../react-redux-B4BZippc.js";
|
|
4
|
+
import "../../../constants-BxUb35pS.js";
|
|
5
|
+
import { a as ae, b as ne, c as se } from "../../../index-DQaPU81n.js";
|
|
6
|
+
import { u as re, a as oe, b as le, c as ie, d as ce, e as me } from "../../../wallet-WO2ijYZw.js";
|
|
7
|
+
import { u as de, d as he } from "../../../bank-DLbq9Bzw.js";
|
|
8
|
+
import { s as a, I as pe } from "../../../iban-DAFjqLmj.js";
|
|
9
|
+
import { LINKED_WALLET_TOOLTIP as ue, CONNECTED_WALLET_TOOLTIP as fe, WALLET_ICON as ge, DELETE_ICON as be } from "../../../util/constants.js";
|
|
10
|
+
import Ne from "../../../hoc/withThemeProvider.js";
|
|
11
|
+
import R from "../../Shared/tooltip.js";
|
|
12
|
+
import { I as q } from "../../../Info--iLHF6tO.js";
|
|
13
|
+
import { C as We } from "../../../Cancel-W4CL5EwJ.js";
|
|
14
|
+
import { D as xe } from "../../../Delete-BeH9eSuy.js";
|
|
15
|
+
import { C as Ce } from "../../../Close-Drz_1Cma.js";
|
|
16
|
+
import ke from "../../Shared/transition.js";
|
|
17
|
+
import _ from "../Shared/inputField.js";
|
|
18
|
+
import ve from "../Shared/addBank.js";
|
|
19
|
+
import { useDialog as De } from "../../../hooks/useDialog/index.js";
|
|
20
|
+
import we from "../Shared/connectPlaidBank.js";
|
|
21
|
+
import Ie from "../Shared/ConnectWallet/index.js";
|
|
22
|
+
import ye from "../../../providers/metaMask.js";
|
|
23
|
+
import { useSnackBarContext as Ae } from "../../../context/snackBarContext.js";
|
|
24
|
+
import { B as s } from "../../../Box-Dg5YL71c.js";
|
|
25
|
+
import { G as l } from "../../../Grid2-CYB7zT__.js";
|
|
26
|
+
import { T as i } from "../../../Typography-D7sM-Gzr.js";
|
|
27
|
+
import { I as b } from "../../../IconButton-C9zoz_co.js";
|
|
28
|
+
import { C as N } from "../../../CircularProgress-BShHoQbM.js";
|
|
29
|
+
import { B as A } from "../../../Button-URmXuR7L.js";
|
|
30
|
+
import { D as Te, a as Le } from "../../../DialogContent-CntTpnUi.js";
|
|
31
|
+
import { D as Be } from "../../../DialogTitle-DUNaosnR.js";
|
|
32
|
+
const Se = ({ baseUrl: $, checkoutSdkKey: K, appKey: H }) => {
|
|
33
|
+
const o = te(), { showAlertMessage: c } = Ae(), { openDialog: T, ConfirmDialog: j } = De(), L = g((t) => t.app.features), p = g(ae), F = p.loader, B = p.message, S = p.banks, G = p.iban, [z, E] = f(!1), [J, W] = f(!1), [x, Q] = f(""), [C, U] = f(""), P = g(ne), O = P.data, { error: k, message: v, loader: D } = P, M = g(se), u = M.data, {
|
|
34
|
+
error: w,
|
|
35
|
+
message: I,
|
|
36
|
+
loader: V
|
|
37
|
+
} = M;
|
|
49
38
|
h(() => {
|
|
50
|
-
|
|
51
|
-
}, [
|
|
52
|
-
|
|
53
|
-
}, [
|
|
54
|
-
|
|
55
|
-
}, [
|
|
56
|
-
|
|
57
|
-
}, [
|
|
58
|
-
|
|
59
|
-
}, [
|
|
60
|
-
|
|
39
|
+
B && E(!1);
|
|
40
|
+
}, [B]), h(() => {
|
|
41
|
+
w && c({ message: w });
|
|
42
|
+
}, [w]), h(() => {
|
|
43
|
+
I && c({ message: I, type: "success" });
|
|
44
|
+
}, [I]), h(() => {
|
|
45
|
+
k && c({ message: k });
|
|
46
|
+
}, [k]), h(() => {
|
|
47
|
+
v && c({ message: v, type: "success" });
|
|
48
|
+
}, [v]), h(() => (O.length <= 0 && o(re()), u.length <= 0 && o(oe()), o(de()), () => {
|
|
49
|
+
o(le("")), o(ie(""));
|
|
61
50
|
}), []);
|
|
62
|
-
const
|
|
63
|
-
if (!
|
|
51
|
+
const X = () => {
|
|
52
|
+
if (!x)
|
|
64
53
|
return c({ message: "Please provide the wallet name" }), !1;
|
|
65
|
-
if (!
|
|
54
|
+
if (!C)
|
|
66
55
|
return c({
|
|
67
56
|
message: "Please provide the wallet private key"
|
|
68
57
|
}), !1;
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
name:
|
|
72
|
-
privatekey: Buffer.from(
|
|
58
|
+
D || o(
|
|
59
|
+
ce({
|
|
60
|
+
name: x,
|
|
61
|
+
privatekey: Buffer.from(C).toString("base64")
|
|
73
62
|
})
|
|
74
63
|
);
|
|
75
|
-
},
|
|
76
|
-
|
|
77
|
-
icon:
|
|
64
|
+
}, Y = (t) => {
|
|
65
|
+
T({
|
|
66
|
+
icon: be,
|
|
78
67
|
height: "450px",
|
|
79
68
|
title: "Are you sure you want to delete?",
|
|
80
69
|
message: "This action cannot be undone.",
|
|
81
70
|
onConfirm: () => {
|
|
82
|
-
|
|
71
|
+
o(he(t));
|
|
83
72
|
},
|
|
84
73
|
cancelButtonShow: !0
|
|
85
74
|
});
|
|
86
|
-
},
|
|
75
|
+
}, y = ({
|
|
87
76
|
data: t,
|
|
88
|
-
type:
|
|
77
|
+
type: r
|
|
89
78
|
}) => {
|
|
90
|
-
let
|
|
91
|
-
return
|
|
92
|
-
|
|
93
|
-
|
|
79
|
+
let d, m;
|
|
80
|
+
return r === "connectedWallet" || r === "linkedWallet" ? "name" in t && "address" in t && (d = t.name, m = t.address) : "accountName" in t && "accountNumber" in t && (d = t.accountName, m = t.accountNumber), /* @__PURE__ */ n(s, { className: a["account-item"], children: [
|
|
81
|
+
r === "bankAccount" && z && "id" in t && /* @__PURE__ */ e(
|
|
82
|
+
b,
|
|
94
83
|
{
|
|
95
|
-
className:
|
|
96
|
-
onClick: () =>
|
|
97
|
-
children: /* @__PURE__ */ e(
|
|
84
|
+
className: a["remove-icon"],
|
|
85
|
+
onClick: () => Y(t.id),
|
|
86
|
+
children: /* @__PURE__ */ e(We, {})
|
|
98
87
|
}
|
|
99
88
|
),
|
|
100
|
-
/* @__PURE__ */ e(
|
|
101
|
-
/* @__PURE__ */ e(
|
|
102
|
-
/* @__PURE__ */
|
|
89
|
+
/* @__PURE__ */ e(l, { container: !0, width: "100%", children: /* @__PURE__ */ e(l, { size: 10, children: /* @__PURE__ */ n(l, { container: !0, width: "100%", children: [
|
|
90
|
+
/* @__PURE__ */ e(l, { size: { xs: 2, md: 1.2 }, className: "content-center", children: /* @__PURE__ */ e("img", { src: ge, alt: "Icon", height: 28, width: 28 }) }),
|
|
91
|
+
/* @__PURE__ */ n(l, { size: { xs: 10, md: 10.8 }, children: [
|
|
103
92
|
/* @__PURE__ */ e(
|
|
104
|
-
|
|
93
|
+
i,
|
|
105
94
|
{
|
|
106
95
|
variant: "body1",
|
|
107
96
|
component: "p",
|
|
108
|
-
className: `${
|
|
109
|
-
children: /* @__PURE__ */ e("strong", { children:
|
|
97
|
+
className: `${a["account-item-text"]} ${a["primary-color"]}`,
|
|
98
|
+
children: /* @__PURE__ */ e("strong", { children: d })
|
|
110
99
|
}
|
|
111
100
|
),
|
|
112
101
|
/* @__PURE__ */ e(
|
|
113
|
-
|
|
102
|
+
i,
|
|
114
103
|
{
|
|
115
104
|
variant: "caption",
|
|
116
105
|
component: "p",
|
|
117
|
-
className: `${
|
|
118
|
-
children: /* @__PURE__ */ e("strong", { children:
|
|
106
|
+
className: `${a["account-item-text"]} ${a["secondary-color"]}`,
|
|
107
|
+
children: /* @__PURE__ */ e("strong", { children: m })
|
|
119
108
|
}
|
|
120
109
|
)
|
|
121
110
|
] })
|
|
122
111
|
] }) }) })
|
|
123
112
|
] });
|
|
124
|
-
},
|
|
125
|
-
const
|
|
126
|
-
let
|
|
127
|
-
for (let
|
|
128
|
-
if (u[
|
|
129
|
-
|
|
113
|
+
}, Z = (t) => {
|
|
114
|
+
const r = u.length;
|
|
115
|
+
let d = !1;
|
|
116
|
+
for (let m = 0; m < r; m++)
|
|
117
|
+
if (u[m].address.toLowerCase() === t.toLowerCase()) {
|
|
118
|
+
d = !0;
|
|
130
119
|
break;
|
|
131
120
|
}
|
|
132
|
-
|
|
121
|
+
d ? c({
|
|
133
122
|
message: "This wallet address is already connected."
|
|
134
|
-
}) :
|
|
123
|
+
}) : o(me(t));
|
|
135
124
|
};
|
|
136
|
-
return /* @__PURE__ */
|
|
137
|
-
|
|
138
|
-
/* @__PURE__ */ e(
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
/* @__PURE__ */ a(s, { p: 3, className: n["inner-container"], children: [
|
|
125
|
+
return /* @__PURE__ */ n(ye, { children: [
|
|
126
|
+
/* @__PURE__ */ e(j, {}),
|
|
127
|
+
/* @__PURE__ */ e(s, { className: a.container, children: /* @__PURE__ */ n(l, { spacing: 2, container: !0, width: "100%", children: [
|
|
128
|
+
/* @__PURE__ */ n(l, { size: { md: 6, xs: 12 }, children: [
|
|
129
|
+
/* @__PURE__ */ n(s, { p: 3, className: a["inner-container"], children: [
|
|
142
130
|
/* @__PURE__ */ e(
|
|
143
|
-
|
|
131
|
+
i,
|
|
144
132
|
{
|
|
145
|
-
className:
|
|
133
|
+
className: a.heading,
|
|
146
134
|
variant: "h6",
|
|
147
135
|
component: "span",
|
|
148
136
|
children: /* @__PURE__ */ e("strong", { children: "Linked Wallets" })
|
|
149
137
|
}
|
|
150
138
|
),
|
|
151
139
|
/* @__PURE__ */ e(
|
|
152
|
-
|
|
140
|
+
R,
|
|
153
141
|
{
|
|
154
|
-
title: /* @__PURE__ */ e(s, { sx: { whiteSpace: "pre-line" }, children:
|
|
142
|
+
title: /* @__PURE__ */ e(s, { sx: { whiteSpace: "pre-line" }, children: ue }),
|
|
155
143
|
placement: "bottom",
|
|
156
|
-
children: /* @__PURE__ */ e(
|
|
157
|
-
|
|
144
|
+
children: /* @__PURE__ */ e(b, { className: a["info-icon"], children: /* @__PURE__ */ e(
|
|
145
|
+
q,
|
|
158
146
|
{
|
|
159
147
|
sx: {
|
|
160
148
|
fontSize: "26px",
|
|
@@ -164,13 +152,13 @@ import '../../../assets/index4.css';const ze = "_container_dsezq_1", we = "_head
|
|
|
164
152
|
) })
|
|
165
153
|
}
|
|
166
154
|
),
|
|
167
|
-
|
|
168
|
-
|
|
155
|
+
D && /* @__PURE__ */ e(s, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(N, { size: 50 }) }),
|
|
156
|
+
O.map((t, r) => /* @__PURE__ */ e(y, { type: "linkedWallet", data: t }, r)),
|
|
169
157
|
/* @__PURE__ */ e(
|
|
170
|
-
|
|
158
|
+
A,
|
|
171
159
|
{
|
|
172
160
|
sx: { mt: 4 },
|
|
173
|
-
onClick: () =>
|
|
161
|
+
onClick: () => W(!0),
|
|
174
162
|
className: "wallet-btn",
|
|
175
163
|
variant: "contained",
|
|
176
164
|
fullWidth: !0,
|
|
@@ -178,23 +166,23 @@ import '../../../assets/index4.css';const ze = "_container_dsezq_1", we = "_head
|
|
|
178
166
|
}
|
|
179
167
|
)
|
|
180
168
|
] }),
|
|
181
|
-
/* @__PURE__ */
|
|
169
|
+
/* @__PURE__ */ n(s, { p: 3, mt: 2, className: a["inner-container"], children: [
|
|
182
170
|
/* @__PURE__ */ e(
|
|
183
|
-
|
|
171
|
+
i,
|
|
184
172
|
{
|
|
185
|
-
className:
|
|
173
|
+
className: a.heading,
|
|
186
174
|
variant: "h6",
|
|
187
175
|
component: "span",
|
|
188
176
|
children: /* @__PURE__ */ e("strong", { children: "Connected Wallets" })
|
|
189
177
|
}
|
|
190
178
|
),
|
|
191
179
|
/* @__PURE__ */ e(
|
|
192
|
-
|
|
180
|
+
R,
|
|
193
181
|
{
|
|
194
|
-
title: /* @__PURE__ */ e(s, { sx: { whiteSpace: "pre-line" }, children:
|
|
182
|
+
title: /* @__PURE__ */ e(s, { sx: { whiteSpace: "pre-line" }, children: fe }),
|
|
195
183
|
placement: "bottom",
|
|
196
|
-
children: /* @__PURE__ */ e(
|
|
197
|
-
|
|
184
|
+
children: /* @__PURE__ */ e(b, { className: a["info-icon"], children: /* @__PURE__ */ e(
|
|
185
|
+
q,
|
|
198
186
|
{
|
|
199
187
|
sx: {
|
|
200
188
|
fontSize: "26px",
|
|
@@ -204,98 +192,111 @@ import '../../../assets/index4.css';const ze = "_container_dsezq_1", we = "_head
|
|
|
204
192
|
) })
|
|
205
193
|
}
|
|
206
194
|
),
|
|
207
|
-
|
|
208
|
-
u.map((t,
|
|
195
|
+
V && /* @__PURE__ */ e(s, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(N, { size: 50 }) }),
|
|
196
|
+
u.map((t, r) => /* @__PURE__ */ e(y, { type: "connectedWallet", data: t }, r)),
|
|
209
197
|
/* @__PURE__ */ e(
|
|
210
|
-
|
|
198
|
+
Ie,
|
|
211
199
|
{
|
|
212
|
-
addressHandler:
|
|
200
|
+
addressHandler: Z,
|
|
213
201
|
btnClass: "wallet-btn"
|
|
214
202
|
}
|
|
215
203
|
)
|
|
216
204
|
] })
|
|
217
205
|
] }),
|
|
218
|
-
/* @__PURE__ */
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
w,
|
|
206
|
+
/* @__PURE__ */ n(l, { size: { md: 6, xs: 12 }, children: [
|
|
207
|
+
L.iban && /* @__PURE__ */ e(
|
|
208
|
+
pe,
|
|
222
209
|
{
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
"Delete"
|
|
230
|
-
]
|
|
210
|
+
openDialog: T,
|
|
211
|
+
dispatch: o,
|
|
212
|
+
iban: G,
|
|
213
|
+
baseUrl: $,
|
|
214
|
+
checkoutSdkKey: K,
|
|
215
|
+
appKey: H
|
|
231
216
|
}
|
|
232
217
|
),
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
/* @__PURE__ */ e(
|
|
238
|
-
l,
|
|
218
|
+
/* @__PURE__ */ e(s, { className: a["inner-container"], children: /* @__PURE__ */ n(s, { p: 3, mt: L.iban ? 2 : 0, children: [
|
|
219
|
+
/* @__PURE__ */ e(i, { className: a.heading, variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Bank Accounts" }) }),
|
|
220
|
+
S.length > 0 && /* @__PURE__ */ n(
|
|
221
|
+
A,
|
|
239
222
|
{
|
|
240
|
-
className: "
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
children:
|
|
223
|
+
className: `${z ? a["delete-disable"] : a["confirm-edit"]} normal-text`,
|
|
224
|
+
sx: { mt: 3, mb: 3 },
|
|
225
|
+
variant: "contained",
|
|
226
|
+
onClick: () => E((t) => !t),
|
|
227
|
+
children: [
|
|
228
|
+
/* @__PURE__ */ e(xe, {}),
|
|
229
|
+
"Delete"
|
|
230
|
+
]
|
|
245
231
|
}
|
|
246
232
|
),
|
|
247
|
-
/* @__PURE__ */ e(
|
|
248
|
-
|
|
249
|
-
|
|
233
|
+
F && /* @__PURE__ */ e(s, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(N, { size: 50 }) }),
|
|
234
|
+
S.map((t, r) => /* @__PURE__ */ e(y, { type: "bankAccount", data: t }, r)),
|
|
235
|
+
/* @__PURE__ */ n(s, { mt: 4, children: [
|
|
236
|
+
/* @__PURE__ */ e(we, {}),
|
|
237
|
+
/* @__PURE__ */ e(
|
|
238
|
+
i,
|
|
239
|
+
{
|
|
240
|
+
className: "text-center",
|
|
241
|
+
variant: "h6",
|
|
242
|
+
mt: 2,
|
|
243
|
+
mb: 2,
|
|
244
|
+
children: /* @__PURE__ */ e("strong", { children: "OR" })
|
|
245
|
+
}
|
|
246
|
+
),
|
|
247
|
+
/* @__PURE__ */ e(ve, {})
|
|
248
|
+
] })
|
|
249
|
+
] }) })
|
|
250
|
+
] })
|
|
250
251
|
] }) }),
|
|
251
|
-
/* @__PURE__ */
|
|
252
|
-
|
|
252
|
+
/* @__PURE__ */ n(
|
|
253
|
+
Te,
|
|
253
254
|
{
|
|
254
255
|
fullWidth: !0,
|
|
255
|
-
open:
|
|
256
|
-
onClose: () =>
|
|
257
|
-
TransitionComponent:
|
|
256
|
+
open: J,
|
|
257
|
+
onClose: () => W(!1),
|
|
258
|
+
TransitionComponent: ke,
|
|
258
259
|
children: [
|
|
259
|
-
/* @__PURE__ */
|
|
260
|
-
/* @__PURE__ */ e(
|
|
260
|
+
/* @__PURE__ */ n(Be, { className: "buy-modal-text-color", children: [
|
|
261
|
+
/* @__PURE__ */ e(i, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ e("strong", { children: "Wallets" }) }),
|
|
261
262
|
/* @__PURE__ */ e(
|
|
262
|
-
|
|
263
|
+
b,
|
|
263
264
|
{
|
|
264
265
|
"aria-label": "close",
|
|
265
|
-
onClick: () =>
|
|
266
|
+
onClick: () => W(!1),
|
|
266
267
|
className: "menu-buttons",
|
|
267
|
-
children: /* @__PURE__ */ e(
|
|
268
|
+
children: /* @__PURE__ */ e(Ce, {})
|
|
268
269
|
}
|
|
269
270
|
)
|
|
270
271
|
] }),
|
|
271
|
-
/* @__PURE__ */
|
|
272
|
-
/* @__PURE__ */ e(
|
|
272
|
+
/* @__PURE__ */ n(Le, { dividers: !0, children: [
|
|
273
|
+
/* @__PURE__ */ e(i, { className: "text-center buy-modal-text-color", variant: "h5", children: /* @__PURE__ */ e("strong", { children: "Add Linked Wallet" }) }),
|
|
273
274
|
/* @__PURE__ */ e(
|
|
274
|
-
|
|
275
|
+
_,
|
|
275
276
|
{
|
|
276
277
|
label: "Name",
|
|
277
|
-
value:
|
|
278
|
-
onChangeHandler: (t) =>
|
|
278
|
+
value: x,
|
|
279
|
+
onChangeHandler: (t) => Q(t)
|
|
279
280
|
}
|
|
280
281
|
),
|
|
281
282
|
/* @__PURE__ */ e(
|
|
282
|
-
|
|
283
|
+
_,
|
|
283
284
|
{
|
|
284
285
|
label: "Private Key",
|
|
285
|
-
value:
|
|
286
|
-
onChangeHandler: (t) =>
|
|
286
|
+
value: C,
|
|
287
|
+
onChangeHandler: (t) => U(t)
|
|
287
288
|
}
|
|
288
289
|
),
|
|
289
290
|
/* @__PURE__ */ e(
|
|
290
|
-
|
|
291
|
+
A,
|
|
291
292
|
{
|
|
292
293
|
className: "wallet-btn",
|
|
293
294
|
sx: { mt: 4 },
|
|
294
|
-
onClick:
|
|
295
|
+
onClick: X,
|
|
295
296
|
variant: "contained",
|
|
296
297
|
fullWidth: !0,
|
|
297
|
-
children: /* @__PURE__ */ e("strong", { children:
|
|
298
|
-
/* @__PURE__ */ e(
|
|
298
|
+
children: /* @__PURE__ */ e("strong", { children: D ? /* @__PURE__ */ n(ee, { children: [
|
|
299
|
+
/* @__PURE__ */ e(N, { size: 15, color: "inherit" }),
|
|
299
300
|
" Processing..."
|
|
300
301
|
] }) : "Import Wallet" })
|
|
301
302
|
}
|
|
@@ -305,7 +306,7 @@ import '../../../assets/index4.css';const ze = "_container_dsezq_1", we = "_head
|
|
|
305
306
|
}
|
|
306
307
|
)
|
|
307
308
|
] });
|
|
308
|
-
},
|
|
309
|
+
}, mt = Ne(Se);
|
|
309
310
|
export {
|
|
310
|
-
|
|
311
|
+
mt as default
|
|
311
312
|
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React, Dispatch } from 'react';
|
|
2
|
+
import { BankActionTypes, BankState } from 'everest-npm-api';
|
|
3
|
+
interface SendIbanProps {
|
|
4
|
+
iban: BankState["iban"];
|
|
5
|
+
dispatch: Dispatch<BankActionTypes>;
|
|
6
|
+
appKey: string;
|
|
7
|
+
}
|
|
8
|
+
declare const SendIban: React.FC<SendIbanProps>;
|
|
9
|
+
export default SendIban;
|