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,82 +1,78 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import D from "
|
|
7
|
-
import E from "
|
|
8
|
-
import
|
|
9
|
-
import v from "
|
|
10
|
-
import
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
import { I as L } from "../../../IconButton-DHm-hucF.js";
|
|
14
|
-
import { C as R } from "../../../CircularProgress-xZA3lvba.js";
|
|
15
|
-
const Q = ({
|
|
16
|
-
dispatch: u,
|
|
1
|
+
import { jsx as e, jsxs as o, Fragment as l } from "react/jsx-runtime";
|
|
2
|
+
import { useEffect as C } from "react";
|
|
3
|
+
import { Box as t, Grid as n, Typography as S, IconButton as N, CircularProgress as B } from "@mui/material";
|
|
4
|
+
import { I as w } from "../../../Info-DOoRR7sR.js";
|
|
5
|
+
import { DIALOG_SUCCESS_ICON as T, FEATURE_VIRTUAL_IBAN as p } from "../../../util/constants.js";
|
|
6
|
+
import { M as D } from "../../../tooltip-BW0UyWw7.js";
|
|
7
|
+
import E from "../Shared/noData.js";
|
|
8
|
+
import P from "./createIban.js";
|
|
9
|
+
import { AuthInnerContainer as v } from "../Shared/Container/index.js";
|
|
10
|
+
import z from "./ibanItem.js";
|
|
11
|
+
const M = ({
|
|
12
|
+
dispatch: h,
|
|
17
13
|
openDialog: a,
|
|
18
|
-
appKey:
|
|
19
|
-
appKeyEur:
|
|
20
|
-
paymentWidgetSrcUrl:
|
|
21
|
-
iban:
|
|
14
|
+
appKey: u,
|
|
15
|
+
appKeyEur: d,
|
|
16
|
+
paymentWidgetSrcUrl: f,
|
|
17
|
+
iban: r,
|
|
22
18
|
navigate: i,
|
|
23
19
|
AccountItem: I,
|
|
24
20
|
createIbanRequest: y,
|
|
25
|
-
tokenData: x
|
|
21
|
+
tokenData: x,
|
|
22
|
+
brandId: A
|
|
26
23
|
}) => {
|
|
27
|
-
const c =
|
|
28
|
-
return
|
|
24
|
+
const c = r.data, g = r.loader;
|
|
25
|
+
return C(() => {
|
|
29
26
|
new URLSearchParams(window.location.search).get("paymentStatus") === "success" && a({
|
|
30
27
|
title: "Payment Success",
|
|
31
28
|
message: "We have received your payment and will generate your Virtual IBAN after the payment has processed",
|
|
32
|
-
icon:
|
|
29
|
+
icon: T,
|
|
33
30
|
width: "575px",
|
|
34
31
|
confirmButtonText: "Continue"
|
|
35
32
|
});
|
|
36
|
-
}, []), /* @__PURE__ */
|
|
33
|
+
}, []), /* @__PURE__ */ e(v, { children: /* @__PURE__ */ o(t, { p: 3, children: [
|
|
37
34
|
/* @__PURE__ */ o(n, { spacing: 2, container: !0, alignItems: "center", children: [
|
|
38
35
|
/* @__PURE__ */ o(n, { size: 8, children: [
|
|
39
|
-
/* @__PURE__ */
|
|
40
|
-
/* @__PURE__ */
|
|
41
|
-
|
|
36
|
+
/* @__PURE__ */ e(S, { color: "primary", variant: "h6", component: "span", children: /* @__PURE__ */ e("strong", { children: "Everest Accounts (Virtual IBAN)" }) }),
|
|
37
|
+
/* @__PURE__ */ e(
|
|
38
|
+
D,
|
|
42
39
|
{
|
|
43
|
-
title: /* @__PURE__ */
|
|
40
|
+
title: /* @__PURE__ */ e(t, { sx: { whiteSpace: "pre-line" }, children: "Create a Virtual IBAN of selected currency. This requires KYC" }),
|
|
44
41
|
placement: "bottom",
|
|
45
|
-
children: /* @__PURE__ */
|
|
42
|
+
children: /* @__PURE__ */ e(N, { className: "info-fee-icon", children: /* @__PURE__ */ e(w, { sx: { fontSize: "26px", color: "#D9D9D9" } }) })
|
|
46
43
|
}
|
|
47
44
|
)
|
|
48
45
|
] }),
|
|
49
|
-
/* @__PURE__ */
|
|
50
|
-
|
|
46
|
+
/* @__PURE__ */ e(n, { size: 4, children: /* @__PURE__ */ e(t, { sx: { textAlign: "right" }, children: /* @__PURE__ */ e(
|
|
47
|
+
P,
|
|
51
48
|
{
|
|
52
49
|
openDialog: a,
|
|
53
50
|
createIbanRequest: y,
|
|
54
|
-
iban:
|
|
51
|
+
iban: r,
|
|
55
52
|
navigate: i,
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
from: p
|
|
53
|
+
from: p,
|
|
54
|
+
brandId: A
|
|
59
55
|
}
|
|
60
56
|
) }) })
|
|
61
57
|
] }),
|
|
62
|
-
|
|
63
|
-
|
|
58
|
+
g ? /* @__PURE__ */ e(t, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(B, { color: "primary", size: 50 }) }) : /* @__PURE__ */ e(l, { children: c.length > 0 ? /* @__PURE__ */ e(l, { children: c.map((s, m) => /* @__PURE__ */ e(
|
|
59
|
+
z,
|
|
64
60
|
{
|
|
65
61
|
data: s,
|
|
66
62
|
AccountItem: I,
|
|
67
|
-
dispatch:
|
|
68
|
-
appKey:
|
|
69
|
-
appKeyEur:
|
|
70
|
-
paymentWidgetSrcUrl:
|
|
71
|
-
iban:
|
|
63
|
+
dispatch: h,
|
|
64
|
+
appKey: u,
|
|
65
|
+
appKeyEur: d,
|
|
66
|
+
paymentWidgetSrcUrl: f,
|
|
67
|
+
iban: r,
|
|
72
68
|
navigate: i,
|
|
73
69
|
from: p,
|
|
74
70
|
tokenData: x
|
|
75
71
|
},
|
|
76
72
|
m
|
|
77
|
-
)) }) : /* @__PURE__ */
|
|
73
|
+
)) }) : /* @__PURE__ */ e(E, { text: "You currently have no IBAN Accounts" }) })
|
|
78
74
|
] }) });
|
|
79
75
|
};
|
|
80
76
|
export {
|
|
81
|
-
|
|
77
|
+
M as default
|
|
82
78
|
};
|
|
@@ -1,74 +1,69 @@
|
|
|
1
1
|
import { jsx as e, Fragment as I, jsxs as n } from "react/jsx-runtime";
|
|
2
2
|
import { useState as u, useMemo as f, useEffect as k } from "react";
|
|
3
|
-
import "
|
|
4
|
-
import
|
|
3
|
+
import { Grid as N, Dialog as Y, DialogTitle as q, Typography as a, IconButton as z, DialogContent as J, Box as M, CircularProgress as K } from "@mui/material";
|
|
4
|
+
import "../../../constants-DX0YBtP2.js";
|
|
5
|
+
import { v as ye } from "../../../order-BXeCIvqC.js";
|
|
5
6
|
import U from "../Shared/appButton.js";
|
|
6
|
-
import { C as be } from "../../../ContentCopy-
|
|
7
|
-
import { C as
|
|
8
|
-
import
|
|
7
|
+
import { C as be } from "../../../ContentCopy-D0C0zbQj.js";
|
|
8
|
+
import { C as Q } from "../../../Close-DSxLLo08.js";
|
|
9
|
+
import X from "../../Shared/transition.js";
|
|
9
10
|
import "../../../index-DlQqWbXG.js";
|
|
10
11
|
import "../../../hoc/withThemeProvider.js";
|
|
11
|
-
import { u as
|
|
12
|
-
import { GBP_ISO3 as
|
|
13
|
-
import "
|
|
12
|
+
import { u as Z } from "../../../react-redux-C7I9-1M6.js";
|
|
13
|
+
import { GBP_ISO3 as D, FEATURE_EWALLET as ge, EURO_ISO3 as Ce, SYNTHETIC_EUR as ve, SYNTHETIC_GBP as Ie } from "../../../util/constants.js";
|
|
14
|
+
import "../../../otpForm-DeeegaX2.js";
|
|
14
15
|
import { useSnackBarContext as ee } from "../../../context/snackBarContext.js";
|
|
15
16
|
import "../../../util/conversions.js";
|
|
16
17
|
import "../../../index-CAoLi5Qq.js";
|
|
17
|
-
import
|
|
18
|
+
import Ne from "../Shared/inputField.js";
|
|
18
19
|
import "../../../react-webcam-B3cXh1XT.js";
|
|
19
|
-
import "../../../tooltip-
|
|
20
|
+
import "../../../tooltip-BW0UyWw7.js";
|
|
20
21
|
import "../../../moment-h96o7c8I.js";
|
|
21
22
|
import "../../../index.esm-BsMAMhYW.js";
|
|
22
23
|
import "../../../web3-u4qDZYpo.js";
|
|
23
24
|
import "../../../index-ceeCtFuh.js";
|
|
24
|
-
import
|
|
25
|
+
import Te from "../Shared/CardCorp/index.js";
|
|
25
26
|
import "../../../index.esm-I_Bp2YLf.js";
|
|
26
27
|
import "../../../context/dialogContext.js";
|
|
28
|
+
import "@mui/icons-material";
|
|
27
29
|
import xe from "./sendIban.js";
|
|
28
|
-
import { G as T } from "../../../Grid-CFe3amXO.js";
|
|
29
|
-
import { D as Q, a as X } from "../../../DialogContent-BMwlOnbW.js";
|
|
30
|
-
import { D as Z } from "../../../DialogTitle-CfS0bb2K.js";
|
|
31
|
-
import { T as a } from "../../../Typography-pAaje37G.js";
|
|
32
|
-
import { I as z } from "../../../IconButton-DHm-hucF.js";
|
|
33
|
-
import { B as M } from "../../../Box-B0YSYLco.js";
|
|
34
|
-
import { C as D } from "../../../CircularProgress-xZA3lvba.js";
|
|
35
30
|
const i = ({
|
|
36
|
-
label:
|
|
31
|
+
label: T,
|
|
37
32
|
value: r,
|
|
38
33
|
showCopyBtn: x
|
|
39
34
|
}) => {
|
|
40
|
-
const { showAlertMessage:
|
|
35
|
+
const { showAlertMessage: w } = ee();
|
|
41
36
|
return /* @__PURE__ */ n(I, { children: [
|
|
42
|
-
/* @__PURE__ */ e(
|
|
43
|
-
/* @__PURE__ */ n(
|
|
37
|
+
/* @__PURE__ */ e(N, { size: 5, className: "d-flex items-center", children: /* @__PURE__ */ e("strong", { children: T }) }),
|
|
38
|
+
/* @__PURE__ */ n(N, { size: 7, className: "fw500 text-left d-flex items-center", children: [
|
|
44
39
|
r,
|
|
45
40
|
x && /* @__PURE__ */ e(z, { onClick: () => {
|
|
46
|
-
navigator.clipboard.writeText(r),
|
|
47
|
-
message: `${
|
|
41
|
+
navigator.clipboard.writeText(r), w({
|
|
42
|
+
message: `${T} has been copied successfully.`,
|
|
48
43
|
type: "success"
|
|
49
44
|
});
|
|
50
45
|
}, children: /* @__PURE__ */ e(be, { fontSize: "small", color: "primary" }) })
|
|
51
46
|
] })
|
|
52
47
|
] });
|
|
53
|
-
},
|
|
54
|
-
AccountItem:
|
|
48
|
+
}, rr = ({
|
|
49
|
+
AccountItem: T,
|
|
55
50
|
data: r,
|
|
56
51
|
appKey: x,
|
|
57
|
-
appKeyEur:
|
|
52
|
+
appKeyEur: w,
|
|
58
53
|
paymentWidgetSrcUrl: m,
|
|
59
54
|
dispatch: L,
|
|
60
55
|
iban: re,
|
|
61
|
-
navigate:
|
|
56
|
+
navigate: we,
|
|
62
57
|
from: ne,
|
|
63
58
|
tokenData: l
|
|
64
59
|
}) => {
|
|
65
60
|
var $;
|
|
66
|
-
const [oe, R] = u(!1), [te, le] = u(!1), [h, O] = u(!1), [P,
|
|
61
|
+
const [oe, R] = u(!1), [te, le] = u(!1), [h, O] = u(!1), [P, A] = u(""), [B, y] = u(null), [_, b] = u(null), [d, s] = u(!1), { showAlertMessage: g } = ee(), c = ne === ge, C = Z(
|
|
67
62
|
(o) => o.order
|
|
68
|
-
), E = C.v4Payment ?? null, v = C.v4PaymentLoader ?? !1, ie =
|
|
69
|
-
|
|
63
|
+
), E = C.v4Payment ?? null, v = C.v4PaymentLoader ?? !1, ie = Z((o) => o.session.uuid), se = (l == null ? void 0 : l.loader) ?? !1, ce = () => {
|
|
64
|
+
A(""), y(null), b(null), s(!1), O(!0);
|
|
70
65
|
}, W = () => {
|
|
71
|
-
O(!1),
|
|
66
|
+
O(!1), A(""), y(null), b(null), s(!1);
|
|
72
67
|
}, ue = () => {
|
|
73
68
|
const o = Number(P);
|
|
74
69
|
if (!P || Number.isNaN(o) || o <= 0) {
|
|
@@ -85,20 +80,20 @@ const i = ({
|
|
|
85
80
|
});
|
|
86
81
|
return;
|
|
87
82
|
}
|
|
88
|
-
if (!
|
|
83
|
+
if (!w) {
|
|
89
84
|
g({
|
|
90
85
|
message: "Unable to identify application EUR key.",
|
|
91
86
|
type: "error"
|
|
92
87
|
});
|
|
93
88
|
return;
|
|
94
89
|
}
|
|
95
|
-
const
|
|
90
|
+
const H = Math.round(o * 100);
|
|
96
91
|
L(
|
|
97
92
|
ye({
|
|
98
|
-
apiKey:
|
|
93
|
+
apiKey: w,
|
|
99
94
|
ccy: "EUR",
|
|
100
95
|
transaction_type: "CHECKOUT",
|
|
101
|
-
amount:
|
|
96
|
+
amount: H,
|
|
102
97
|
uuid: ie ?? void 0
|
|
103
98
|
})
|
|
104
99
|
), s(!0);
|
|
@@ -108,41 +103,41 @@ const i = ({
|
|
|
108
103
|
return;
|
|
109
104
|
}
|
|
110
105
|
R(!0);
|
|
111
|
-
}, t = f(() => E ?? null, [E]),
|
|
106
|
+
}, t = f(() => E ?? null, [E]), p = f(() => {
|
|
112
107
|
var o;
|
|
113
108
|
return t ? (t == null ? void 0 : t.checkout_id) ?? ((o = t == null ? void 0 : t.order) == null ? void 0 : o.provider_token) ?? (t == null ? void 0 : t.provider_token) ?? null : null;
|
|
114
109
|
}, [t]), S = (($ = t == null ? void 0 : t.order) == null ? void 0 : $.order_id) ?? null, me = f(() => m ? m.endsWith("/") ? m : `${m}/` : "", [m]), F = f(() => {
|
|
115
110
|
const o = (l == null ? void 0 : l.list) ?? [];
|
|
116
111
|
if (!o.length) return null;
|
|
117
|
-
const
|
|
112
|
+
const j = {
|
|
118
113
|
[Ce]: ve,
|
|
119
|
-
[
|
|
114
|
+
[D]: Ie
|
|
120
115
|
}[(r.currency ?? "").toUpperCase()] ?? null;
|
|
121
|
-
if (!H) return null;
|
|
122
|
-
const j = o.find((he) => he.symbol === H);
|
|
123
116
|
if (!j) return null;
|
|
117
|
+
const G = o.find((he) => he.symbol === j);
|
|
118
|
+
if (!G) return null;
|
|
124
119
|
const V = parseFloat(
|
|
125
|
-
(
|
|
120
|
+
(G.fmt_balance ?? "0").toString().replaceAll(",", "")
|
|
126
121
|
);
|
|
127
122
|
return Number.isNaN(V) ? null : V / 100;
|
|
128
|
-
}, [l == null ? void 0 : l.list, r.currency]),
|
|
123
|
+
}, [l == null ? void 0 : l.list, r.currency]), de = f(() => F == null ? "--" : `${F.toLocaleString(void 0, {
|
|
129
124
|
minimumFractionDigits: 2,
|
|
130
125
|
maximumFractionDigits: 2
|
|
131
|
-
})} ${r.currency ?? ""}`, [F, r.currency]),
|
|
126
|
+
})} ${r.currency ?? ""}`, [F, r.currency]), pe = f(() => _ ? `/?paymentId=${encodeURIComponent(_)}` : "/", [_]);
|
|
132
127
|
k(() => {
|
|
133
|
-
|
|
134
|
-
}, [
|
|
135
|
-
|
|
128
|
+
d && p && (y(p), b(S ?? null), s(!1));
|
|
129
|
+
}, [d, p, S]), k(() => {
|
|
130
|
+
d && h && (!p || B || (y(p), b(S ?? null), s(!1)));
|
|
136
131
|
}, [
|
|
137
|
-
p,
|
|
138
|
-
h,
|
|
139
132
|
d,
|
|
140
|
-
|
|
133
|
+
h,
|
|
134
|
+
p,
|
|
135
|
+
B,
|
|
141
136
|
S
|
|
142
137
|
]), k(() => {
|
|
143
|
-
c && (h || (
|
|
138
|
+
c && (h || (A(""), y(null), b(null)));
|
|
144
139
|
}, [c, h]), k(() => {
|
|
145
|
-
if (
|
|
140
|
+
if (d && !v) {
|
|
146
141
|
if (E) {
|
|
147
142
|
s(!1);
|
|
148
143
|
return;
|
|
@@ -153,7 +148,7 @@ const i = ({
|
|
|
153
148
|
}), s(!1));
|
|
154
149
|
}
|
|
155
150
|
}, [
|
|
156
|
-
|
|
151
|
+
d,
|
|
157
152
|
v,
|
|
158
153
|
E,
|
|
159
154
|
C.error,
|
|
@@ -161,7 +156,7 @@ const i = ({
|
|
|
161
156
|
]);
|
|
162
157
|
const fe = /* @__PURE__ */ n(M, { display: "flex", alignItems: "center", gap: 0.75, children: [
|
|
163
158
|
/* @__PURE__ */ e(a, { component: "span", sx: { fontSize: 14, color: "text.secondary" }, children: "Balance:" }),
|
|
164
|
-
se ? /* @__PURE__ */ e(
|
|
159
|
+
se ? /* @__PURE__ */ e(K, { size: 16, color: "inherit" }) : /* @__PURE__ */ e(
|
|
165
160
|
a,
|
|
166
161
|
{
|
|
167
162
|
component: "span",
|
|
@@ -170,22 +165,22 @@ const i = ({
|
|
|
170
165
|
fontWeight: 700,
|
|
171
166
|
color: "primary.main"
|
|
172
167
|
},
|
|
173
|
-
children:
|
|
168
|
+
children: de
|
|
174
169
|
}
|
|
175
170
|
)
|
|
176
171
|
] });
|
|
177
172
|
return /* @__PURE__ */ e(I, { children: r.accountNumber ? /* @__PURE__ */ n(I, { children: [
|
|
178
|
-
/* @__PURE__ */ e(
|
|
173
|
+
/* @__PURE__ */ e(T, { type: "iban", data: r, rightAdornment: fe, children: /* @__PURE__ */ e(N, { my: 1, spacing: 2, container: !0, alignItems: "center", children: /* @__PURE__ */ e(N, { size: { xs: 12 }, children: /* @__PURE__ */ e(U, { fullWidth: !0, onClick: ae, children: c ? "Topup" : "Deposit" }) }) }) }),
|
|
179
174
|
/* @__PURE__ */ n(
|
|
180
|
-
|
|
175
|
+
Y,
|
|
181
176
|
{
|
|
182
177
|
open: oe,
|
|
183
178
|
fullWidth: !0,
|
|
184
179
|
onClose: () => R(!1),
|
|
185
|
-
TransitionComponent:
|
|
180
|
+
TransitionComponent: X,
|
|
186
181
|
maxWidth: "md",
|
|
187
182
|
children: [
|
|
188
|
-
/* @__PURE__ */ n(
|
|
183
|
+
/* @__PURE__ */ n(q, { className: "buy-modal-text-color", children: [
|
|
189
184
|
/* @__PURE__ */ e(a, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ e("strong", { children: "Deposit / Receive" }) }),
|
|
190
185
|
/* @__PURE__ */ e(
|
|
191
186
|
z,
|
|
@@ -193,13 +188,13 @@ const i = ({
|
|
|
193
188
|
"aria-label": "close",
|
|
194
189
|
onClick: () => R(!1),
|
|
195
190
|
className: "menu-buttons",
|
|
196
|
-
children: /* @__PURE__ */ e(
|
|
191
|
+
children: /* @__PURE__ */ e(Q, {})
|
|
197
192
|
}
|
|
198
193
|
)
|
|
199
194
|
] }),
|
|
200
|
-
/* @__PURE__ */ n(
|
|
195
|
+
/* @__PURE__ */ n(J, { dividers: !0, children: [
|
|
201
196
|
/* @__PURE__ */ e(a, { variant: "h5", align: "center", children: /* @__PURE__ */ e("strong", { children: "Account Details" }) }),
|
|
202
|
-
/* @__PURE__ */ n(
|
|
197
|
+
/* @__PURE__ */ n(N, { container: !0, spacing: 2, sx: { padding: "5% 15%" }, children: [
|
|
203
198
|
/* @__PURE__ */ e(
|
|
204
199
|
i,
|
|
205
200
|
{
|
|
@@ -231,7 +226,7 @@ const i = ({
|
|
|
231
226
|
showCopyBtn: !0
|
|
232
227
|
}
|
|
233
228
|
),
|
|
234
|
-
r.currency ===
|
|
229
|
+
r.currency === D && /* @__PURE__ */ n(I, { children: [
|
|
235
230
|
/* @__PURE__ */ e(
|
|
236
231
|
i,
|
|
237
232
|
{
|
|
@@ -263,15 +258,15 @@ const i = ({
|
|
|
263
258
|
}
|
|
264
259
|
),
|
|
265
260
|
c && /* @__PURE__ */ n(
|
|
266
|
-
|
|
261
|
+
Y,
|
|
267
262
|
{
|
|
268
263
|
open: h,
|
|
269
264
|
fullWidth: !0,
|
|
270
265
|
maxWidth: "sm",
|
|
271
266
|
onClose: W,
|
|
272
|
-
TransitionComponent:
|
|
267
|
+
TransitionComponent: X,
|
|
273
268
|
children: [
|
|
274
|
-
/* @__PURE__ */ n(
|
|
269
|
+
/* @__PURE__ */ n(q, { className: "buy-modal-text-color", children: [
|
|
275
270
|
/* @__PURE__ */ e(a, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ e("strong", { children: "E-Wallet Topup" }) }),
|
|
276
271
|
/* @__PURE__ */ e(
|
|
277
272
|
z,
|
|
@@ -279,29 +274,29 @@ const i = ({
|
|
|
279
274
|
"aria-label": "close",
|
|
280
275
|
onClick: W,
|
|
281
276
|
className: "menu-buttons",
|
|
282
|
-
children: /* @__PURE__ */ e(
|
|
277
|
+
children: /* @__PURE__ */ e(Q, {})
|
|
283
278
|
}
|
|
284
279
|
)
|
|
285
280
|
] }),
|
|
286
|
-
/* @__PURE__ */ e(
|
|
281
|
+
/* @__PURE__ */ e(J, { dividers: !0, children: B ? /* @__PURE__ */ n(M, { mt: 2, children: [
|
|
287
282
|
/* @__PURE__ */ e(a, { variant: "body1", mb: 2, children: "Complete your payment using the secure widget below." }),
|
|
288
283
|
/* @__PURE__ */ e(
|
|
289
|
-
|
|
284
|
+
Te,
|
|
290
285
|
{
|
|
291
|
-
checkoutId:
|
|
286
|
+
checkoutId: B,
|
|
292
287
|
srcUrl: me,
|
|
293
|
-
onResultUrl:
|
|
288
|
+
onResultUrl: pe
|
|
294
289
|
}
|
|
295
290
|
)
|
|
296
291
|
] }) : /* @__PURE__ */ n(I, { children: [
|
|
297
292
|
/* @__PURE__ */ e(a, { variant: "body1", children: "Enter the amount you would like to add to this E-Wallet." }),
|
|
298
293
|
/* @__PURE__ */ e(
|
|
299
|
-
|
|
294
|
+
Ne,
|
|
300
295
|
{
|
|
301
296
|
label: "Topup Amount",
|
|
302
297
|
type: "number",
|
|
303
298
|
value: P,
|
|
304
|
-
onChangeHandler: (o) =>
|
|
299
|
+
onChangeHandler: (o) => A(o),
|
|
305
300
|
inputProps: { min: "0", step: "0.01" }
|
|
306
301
|
}
|
|
307
302
|
),
|
|
@@ -329,7 +324,7 @@ const i = ({
|
|
|
329
324
|
disabled: v,
|
|
330
325
|
children: /* @__PURE__ */ n("strong", { children: [
|
|
331
326
|
v ? /* @__PURE__ */ e(
|
|
332
|
-
|
|
327
|
+
K,
|
|
333
328
|
{
|
|
334
329
|
size: 18,
|
|
335
330
|
color: "inherit",
|
|
@@ -385,5 +380,5 @@ const i = ({
|
|
|
385
380
|
) });
|
|
386
381
|
};
|
|
387
382
|
export {
|
|
388
|
-
|
|
383
|
+
rr as default
|
|
389
384
|
};
|
|
@@ -5,6 +5,7 @@ interface AccountProps {
|
|
|
5
5
|
appKeyEur: string;
|
|
6
6
|
paymentWidgetSrcUrl: string;
|
|
7
7
|
navigate: (path: string) => void;
|
|
8
|
+
brandId?: string;
|
|
8
9
|
}
|
|
9
10
|
declare const _default: import('react').FC<AccountProps & import('../../../hoc/withThemeProvider').WithThemeProviderProps>;
|
|
10
11
|
export default _default;
|