everest-npm-features 0.0.60 → 0.0.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Cancel-4lT7GZUA.js → Cancel-pHQsCjtK.js} +1 -1
- package/dist/{Close-CNwiMz_O.js → Close-DSxLLo08.js} +1 -1
- package/dist/{ContentCopy-coPwrEuz.js → ContentCopy-D0C0zbQj.js} +1 -1
- package/dist/{Delete-jpMstGIF.js → Delete-Bj8zmXnh.js} +1 -1
- package/dist/{ErrorOutline-CPQcnl2b.js → ErrorOutline-Bt7P4ChN.js} +1 -1
- package/dist/{FileDownload-Bt3R_NBr.js → FileDownload-DqREXR3D.js} +1 -1
- package/dist/{Info-BVeUSPyk.js → Info-DOoRR7sR.js} +1 -1
- package/dist/{PlayArrow-BlkZJiHn.js → PlayArrow-BVDyfxsQ.js} +2 -2
- package/dist/Portal-BeS9yJCZ.js +968 -0
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/{auth-WhDJHZtr.js → auth-DTJdu6mq.js} +11 -11
- package/dist/{bank-BaOrdTcI.js → bank-C4pmTe--.js} +1 -1
- package/dist/components/RocketRamp/MinimalKyc/form.js +46 -52
- package/dist/components/RocketRamp/MinimalKyc/index.js +6 -6
- package/dist/components/RocketRamp/Player/Buy/cardPayment.js +6 -8
- package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +5 -8
- package/dist/components/RocketRamp/Player/Buy/form.js +8 -17
- package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
- package/dist/components/RocketRamp/Player/Dashboard/balance.js +20 -26
- package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
- package/dist/components/RocketRamp/Player/Dashboard/transaction.js +13 -16
- package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +6 -11
- package/dist/components/RocketRamp/Player/Sell/form.js +8 -17
- package/dist/components/RocketRamp/Player/Sell/index.js +9 -9
- package/dist/components/RocketRamp/Player/SignIn/index.js +23 -25
- package/dist/components/RocketRamp/Player/SignIn/loginForm.js +33 -35
- package/dist/components/RocketRamp/Player/SignIn/otpForm.js +31 -33
- package/dist/components/RocketRamp/Player/SignUp/email.js +21 -23
- package/dist/components/RocketRamp/Player/SignUp/index.js +49 -52
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +68 -74
- package/dist/components/RocketRamp/Player/SignUp/summary.js +23 -25
- package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +23 -25
- package/dist/components/RocketRamp/ResetPassword/index.js +23 -25
- package/dist/components/RocketRamp/Shared/Button/index.js +16 -17
- package/dist/components/RocketRamp/Shared/Input/index.js +27 -30
- package/dist/components/RocketRamp/Shared/backBtn.js +10 -11
- package/dist/components/RocketRamp/Shared/transactionItem.js +40 -45
- package/dist/components/RocketRamp/Store/Dashboard/balance.js +12 -17
- package/dist/components/RocketRamp/Store/Dashboard/index.js +11 -12
- package/dist/components/RocketRamp/Store/Dashboard/stats.js +12 -17
- package/dist/components/RocketRamp/Store/Dashboard/transaction.js +13 -16
- package/dist/components/RocketRamp/Store/SignUp/index.js +53 -56
- package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +48 -54
- package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +33 -37
- package/dist/components/RocketRamp/Store/SignUp/summary.js +21 -23
- package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +23 -25
- package/dist/components/RocketRamp/Transactions/index.js +23 -24
- package/dist/components/Shared/FullKyc/countryList.js +15 -17
- package/dist/components/Shared/FullKyc/edd.js +51 -54
- package/dist/components/Shared/FullKyc/index.js +13 -12
- package/dist/components/Shared/FullKyc/pep.js +35 -43
- package/dist/components/Shared/FullKyc/personalDetails.js +7 -8
- package/dist/components/Shared/FullKyc/userInfo.js +8 -14
- package/dist/components/Shared/HistoryItem/index.js +43 -48
- package/dist/components/Shared/Incode/index.js +31 -35
- package/dist/components/Shared/MinimalKyc/index.js +60 -65
- package/dist/components/Shared/Sumsub/index.js +75 -62
- package/dist/components/Shared/loader.js +4 -5
- package/dist/components/Shared/tooltip.js +2 -2
- package/dist/components/Shared/transition.js +4 -4
- package/dist/components/Wallet/Account/createIban.js +34 -38
- package/dist/components/Wallet/Account/eWallet.js +35 -39
- package/dist/components/Wallet/Account/iban.js +49 -53
- package/dist/components/Wallet/Account/ibanItem.js +70 -76
- package/dist/components/Wallet/Account/index.js +68 -76
- package/dist/components/Wallet/Account/sendIban.js +79 -88
- package/dist/components/Wallet/Buy/confirmTransaction.js +9 -12
- package/dist/components/Wallet/Buy/form.js +8 -18
- package/dist/components/Wallet/Buy/index.js +6 -6
- package/dist/components/Wallet/Deposit/index.js +16 -19
- package/dist/components/Wallet/EnterpriseKyc/edd.js +32 -34
- package/dist/components/Wallet/EnterpriseKyc/index.js +76 -81
- package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +23 -26
- package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +5 -7
- package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/kycType.js +23 -26
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +37 -39
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3591 -1483
- package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
- package/dist/components/Wallet/EnterpriseKyc/verify.js +23 -24
- package/dist/components/Wallet/History/index.js +23 -797
- package/dist/components/Wallet/Home/index.js +13 -14
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +91 -97
- package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
- package/dist/components/Wallet/Portfolio/index.js +48 -52
- package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
- package/dist/components/Wallet/Profile/documents.js +125 -134
- package/dist/components/Wallet/Profile/index.js +38 -44
- package/dist/components/Wallet/Profile/storage.js +39 -47
- package/dist/components/Wallet/Receive/index.js +32 -37
- package/dist/components/Wallet/Sell/confirmTransaction.js +8 -11
- package/dist/components/Wallet/Sell/form.js +8 -18
- package/dist/components/Wallet/Sell/index.js +6 -6
- package/dist/components/Wallet/Send/index.js +336 -324
- package/dist/components/Wallet/Shared/Auth/emailForm.js +13 -15
- package/dist/components/Wallet/Shared/Auth/otpForm.js +9 -356
- package/dist/components/Wallet/Shared/BankSelect/index.js +45 -49
- package/dist/components/Wallet/Shared/CardCorp/index.js +18 -20
- package/dist/components/Wallet/Shared/CardPayment/index.js +14 -16
- package/dist/components/Wallet/Shared/ConnectWallet/index.js +22 -28
- package/dist/components/Wallet/Shared/Container/index.js +15 -16
- package/dist/components/Wallet/Shared/Input/index.js +3 -3
- package/dist/components/Wallet/Shared/Keyboard/keyboard.js +29 -30
- package/dist/components/Wallet/Shared/Order/paymentButton.js +13 -14
- package/dist/components/Wallet/Shared/TokenModal/index.js +55 -63
- package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +11 -13
- package/dist/components/Wallet/Shared/addBank.js +41 -46
- package/dist/components/Wallet/Shared/appButton.js +11 -15
- package/dist/components/Wallet/Shared/backBtn.js +8 -9
- package/dist/components/Wallet/Shared/button.js +7 -7
- package/dist/components/Wallet/Shared/connectPlaidBank.js +16 -17
- package/dist/components/Wallet/Shared/inputField.js +5 -5
- package/dist/components/Wallet/Shared/manualSend.js +9 -14
- package/dist/components/Wallet/Shared/noData.js +4 -5
- package/dist/components/Wallet/Shared/pin.js +25 -27
- package/dist/components/Wallet/Shared/radioButton.js +39 -5
- package/dist/components/Wallet/Shared/step.js +12 -13
- package/dist/components/Wallet/Shared/timer.js +1 -1
- package/dist/components/Wallet/SignIn/index.js +17 -17
- package/dist/components/Wallet/SignUp/index.js +63 -153
- package/dist/components/Wallet/SignUp/terms.js +1 -1
- package/dist/components/Wallet/Stake/gems/index.js +51 -58
- package/dist/components/Wallet/Stake/id/index.js +73 -81
- package/dist/components/Wallet/Stake/index.js +65 -69
- package/dist/components/Wallet/Swap/form.js +11 -21
- package/dist/components/Wallet/Swap/index.js +5 -5
- package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
- package/dist/components/Wallet/Withdraw/bankSelect.js +41 -45
- package/dist/components/Wallet/Withdraw/confirmTransaction.js +5 -8
- package/dist/components/Wallet/Withdraw/form.js +6 -17
- package/dist/components/Wallet/Withdraw/index.js +5 -5
- package/dist/{constants-DREDnCMu.js → constants-DrmtdI1J.js} +7 -7
- package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
- package/dist/{cryptoAssets-DbyDgq4J.js → cryptoAssets-DyGDknvq.js} +1 -1
- package/dist/hoc/withThemeProvider.js +5 -732
- package/dist/hooks/useDialog/index.js +22 -23
- package/dist/hooks/useRrDialog/index.js +43 -46
- package/dist/hooks/useSnackBar.js +24 -696
- package/dist/icons/buyIcon.js +1 -1
- package/dist/icons/canceledBuyIcon.js +1 -1
- package/dist/icons/canceledRedeemIcon.js +1 -1
- package/dist/icons/failedBuyIcon.js +2 -2
- package/dist/icons/failedRedeemIcon.js +2 -2
- package/dist/icons/pendingBuyIcon.js +1 -1
- package/dist/icons/pendingRedeemIcon.js +1 -1
- package/dist/icons/redeemIcon.js +1 -1
- package/dist/{index-DYP5Ex_T.js → index-3OQ4M69t.js} +89 -99
- package/dist/{index-B3HnUBnB.js → index-BBFbUCRZ.js} +123 -129
- package/dist/{index-PoMNqntN.js → index-C1WPCgkl.js} +130 -141
- package/dist/{index-BXutc9ik.js → index-CDwzoHu7.js} +134 -145
- package/dist/{index-DV1dVcrY.js → index-CK4kLRAw.js} +172 -182
- package/dist/{index-DJ7xuxBy.js → index-CYX3j0V7.js} +175 -185
- package/dist/{index-CuPCW3XC.js → index-ILpK4BCB.js} +154 -163
- package/dist/{kyc-D4s_B9Cf.js → kyc-ksV3vBP_.js} +1 -1
- package/dist/main.js +7 -7
- package/dist/memoTheme-DnE8lj0t.js +3481 -0
- package/dist/{order-DGBbo_Ox.js → order-DEp_Lmar.js} +1 -1
- package/dist/otpForm-fiNqeB5H.js +7378 -0
- package/dist/{stake-CdMc5H7D.js → stake-Ct7-_aWW.js} +1 -1
- package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
- package/dist/tooltip-BW0UyWw7.js +2129 -0
- package/dist/{wallet-DvfdQOju.js → wallet-CauUBXou.js} +1 -1
- package/package.json +6 -6
- package/dist/Alert-DzsbFW3-.js +0 -369
- package/dist/Autocomplete-CE-OI2t8.js +0 -2429
- package/dist/Avatar-1XklXr4O.js +0 -281
- package/dist/Backdrop-CioURPVG.js +0 -359
- package/dist/Box-B0YSYLco.js +0 -59
- package/dist/Button-Df4vgU24.js +0 -663
- package/dist/ButtonBase-DLF5c6wi.js +0 -870
- package/dist/CardContent-D9wTdpu-.js +0 -141
- package/dist/CircularProgress-xZA3lvba.js +0 -252
- package/dist/Close-CxzDL3J-.js +0 -9
- package/dist/Container-urNKV7hm.js +0 -181
- package/dist/DefaultPropsProvider-CeF7UYM9.js +0 -92
- package/dist/DefaultPropsProvider-oAu9El-f.js +0 -226
- package/dist/DialogContent-BMwlOnbW.js +0 -567
- package/dist/DialogTitle-CfS0bb2K.js +0 -70
- package/dist/Divider-BShhMFf4.js +0 -297
- package/dist/FilledInput-DuNqnPjc.js +0 -1292
- package/dist/FormControl-RtZDQMdA.js +0 -258
- package/dist/FormControlLabel-BliKW48y.js +0 -519
- package/dist/GlobalStyles-ChMhDfTS.js +0 -59
- package/dist/Grid-CFe3amXO.js +0 -410
- package/dist/Grow-CnGtel3u.js +0 -196
- package/dist/HTMLElementType-BrQSV2FE.js +0 -13
- package/dist/IconButton-DHm-hucF.js +0 -297
- package/dist/InputAdornment-DMiED3JH.js +0 -173
- package/dist/Link-DBA9Yifs.js +0 -266
- package/dist/ListItemIcon-CUcyTEEm.js +0 -84
- package/dist/Menu-DLYFFrEk.js +0 -1239
- package/dist/MenuItem-DUdYOJr4.js +0 -271
- package/dist/Modal-CFIQ_s3T.js +0 -743
- package/dist/Paper-Bgt2WXI6.js +0 -186
- package/dist/Popper-BBAoiZKn.js +0 -1409
- package/dist/Portal-BMAxiQwe.js +0 -69
- package/dist/RadioGroup-nvoSN0JN.js +0 -189
- package/dist/Select-CB5yWmyn.js +0 -1886
- package/dist/Slide-B9Nw0LZ4.js +0 -235
- package/dist/Stack-k55YTxET.js +0 -172
- package/dist/SwitchBase-C8zFyg_x.js +0 -318
- package/dist/TextField-DPpRUQe3.js +0 -978
- package/dist/TransitionGroupContext-CYRQkQ6k.js +0 -49
- package/dist/Typography-pAaje37G.js +0 -260
- package/dist/chainPropTypes-D9lkm76m.js +0 -8
- package/dist/clsx-BTaloaeC.js +0 -264
- package/dist/createChainedFunction-C0nujS3O.js +0 -9
- package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
- package/dist/createTheme-CD19zQB7.js +0 -3825
- package/dist/debounce-46wSf_lW.js +0 -15
- package/dist/defaultTheme-C35y5cLB.js +0 -5
- package/dist/dividerClasses-BDxa2gAa.js +0 -10
- package/dist/elementAcceptingRef-CqLvP78G.js +0 -391
- package/dist/elementTypeAcceptingRef-BdsMpCbS.js +0 -23
- package/dist/emotion-react.browser.esm-BIrDfk-B.js +0 -246
- package/dist/exactProp-C1Lmtwf_.js +0 -13
- package/dist/extendSxProp-B8UjbJ56.js +0 -37
- package/dist/generateUtilityClasses-BRiE4Guh.js +0 -10
- package/dist/index-B0Z-Gjno.js +0 -22
- package/dist/index-DUcLo3x5.js +0 -43
- package/dist/isFocusVisible-CPZqtjv2.js +0 -12
- package/dist/isHostComponent-kiaBvYVo.js +0 -6
- package/dist/isMuiElement-DnSE4qG4.js +0 -13
- package/dist/memoTheme-yHaPezod.js +0 -15
- package/dist/ownerWindow-CRgpWY6I.js +0 -7
- package/dist/radioButton-CzlYB0Lh.js +0 -402
- package/dist/refType-BsTH3qnM.js +0 -56
- package/dist/tooltip-3UvETWtS.js +0 -740
- package/dist/useControlled-nm4pBabJ.js +0 -31
- package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
- package/dist/useFormControl-CatNKXAi.js +0 -10
- package/dist/useId-CK6Kn3Tn.js +0 -21
- package/dist/useSlot-CW7SOYlh.js +0 -125
- package/dist/useSlotProps-BfEOwJvJ.js +0 -25
- package/dist/useTheme-BQJ5lp0i.js +0 -11
- package/dist/useTheme-S5_DHFsQ.js +0 -17
- package/dist/useThemeProps-DN9MjdTl.js +0 -29
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
const n = r(/* @__PURE__ */ o("path", {
|
|
1
|
+
import { jsx as t, jsxs as a } from "react/jsx-runtime";
|
|
2
|
+
import { c as e } from "../../../createSvgIcon-B28GrUxG.js";
|
|
3
|
+
import { IconButton as r, Typography as c } from "@mui/material";
|
|
4
|
+
const n = e(/* @__PURE__ */ t("path", {
|
|
6
5
|
d: "M21 11H6.83l3.58-3.59L9 6l-6 6 6 6 1.41-1.41L6.83 13H21z"
|
|
7
|
-
}), "KeyboardBackspace"),
|
|
8
|
-
|
|
6
|
+
}), "KeyboardBackspace"), p = ({ onClickHandler: o }) => /* @__PURE__ */ a(
|
|
7
|
+
r,
|
|
9
8
|
{
|
|
10
|
-
onClick:
|
|
9
|
+
onClick: o,
|
|
11
10
|
disableRipple: !0,
|
|
12
11
|
sx: { justifyContent: "flex-start", padding: "0", color: "black" },
|
|
13
12
|
children: [
|
|
14
|
-
/* @__PURE__ */
|
|
15
|
-
/* @__PURE__ */
|
|
13
|
+
/* @__PURE__ */ t(n, { fontSize: "medium" }),
|
|
14
|
+
/* @__PURE__ */ t(c, { variant: "lg", my: 2, fontWeight: 400, ml: 1, children: "Back" })
|
|
16
15
|
]
|
|
17
16
|
}
|
|
18
17
|
);
|
|
19
18
|
export {
|
|
20
|
-
|
|
19
|
+
p as default
|
|
21
20
|
};
|
|
@@ -1,33 +1,28 @@
|
|
|
1
1
|
import { jsx as e, jsxs as a } from "react/jsx-runtime";
|
|
2
|
-
import h from "
|
|
3
|
-
import
|
|
4
|
-
import g from "../../../icons/
|
|
5
|
-
import I from "../../../icons/
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
import { I as D } from "../../../IconButton-DHm-hucF.js";
|
|
15
|
-
import { c as R } from "../../../createSvgIcon-Cuzqm90l.js";
|
|
16
|
-
const S = R(/* @__PURE__ */ e("path", {
|
|
17
|
-
d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
|
|
18
|
-
}), "ChevronRight"), k = ({
|
|
2
|
+
import { Card as h, CardContent as x, Box as t, Typography as o, IconButton as T } from "@mui/material";
|
|
3
|
+
import { ChevronRight as _ } from "@mui/icons-material";
|
|
4
|
+
import g from "../../../icons/buyIcon.js";
|
|
5
|
+
import I from "../../../icons/pendingBuyIcon.js";
|
|
6
|
+
import y from "../../../icons/canceledBuyIcon.js";
|
|
7
|
+
import L from "../../../icons/failedBuyIcon.js";
|
|
8
|
+
import A from "../../../icons/redeemIcon.js";
|
|
9
|
+
import E from "../../../icons/pendingRedeemIcon.js";
|
|
10
|
+
import B from "../../../icons/canceledRedeemIcon.js";
|
|
11
|
+
import D from "../../../icons/failedRedeemIcon.js";
|
|
12
|
+
import { TS_COMPLETE_LABEL as i, TOKEN_TO_FIAT as R, TS_WAIT_APPROVAL_LABEL as s, TS_CREATED_LABEL as l, TS_PENDING_LABEL as m, TS_NOT_APPROVAL_LABEL as d, TS_FAIL_LABEL as p, FIAT_TO_TOKEN as w } from "../../../util/constants.js";
|
|
13
|
+
const V = ({
|
|
19
14
|
transaction: r
|
|
20
15
|
}) => {
|
|
21
|
-
const
|
|
22
|
-
const n = new Date(
|
|
23
|
-
return
|
|
16
|
+
const u = (f) => {
|
|
17
|
+
const n = new Date(f), c = /* @__PURE__ */ new Date();
|
|
18
|
+
return c.setHours(0, 0, 0, 0), new Date(
|
|
24
19
|
n.getFullYear(),
|
|
25
20
|
n.getMonth(),
|
|
26
21
|
n.getDate()
|
|
27
|
-
).getTime() ===
|
|
22
|
+
).getTime() === c.getTime() ? "Today" : n.toISOString().split("T")[0];
|
|
28
23
|
};
|
|
29
24
|
return /* @__PURE__ */ e(
|
|
30
|
-
|
|
25
|
+
h,
|
|
31
26
|
{
|
|
32
27
|
sx: {
|
|
33
28
|
borderRadius: "1rem",
|
|
@@ -37,7 +32,7 @@ const S = R(/* @__PURE__ */ e("path", {
|
|
|
37
32
|
boxShadow: "0px 2px 8px 0px rgba(0, 0, 0, 0.10)"
|
|
38
33
|
}
|
|
39
34
|
},
|
|
40
|
-
children: /* @__PURE__ */ e(
|
|
35
|
+
children: /* @__PURE__ */ e(x, { sx: { p: "0.5rem" }, children: /* @__PURE__ */ a(t, { display: "flex", alignItems: "center", children: [
|
|
41
36
|
/* @__PURE__ */ a(t, { display: "flex", alignItems: "center", children: [
|
|
42
37
|
/* @__PURE__ */ e(
|
|
43
38
|
t,
|
|
@@ -54,33 +49,33 @@ const S = R(/* @__PURE__ */ e("path", {
|
|
|
54
49
|
},
|
|
55
50
|
children: /* @__PURE__ */ e(() => {
|
|
56
51
|
switch (r.transaction_type) {
|
|
57
|
-
case
|
|
52
|
+
case w:
|
|
58
53
|
switch (r.transaction_status) {
|
|
59
|
-
case
|
|
60
|
-
return /* @__PURE__ */ e(
|
|
54
|
+
case i:
|
|
55
|
+
return /* @__PURE__ */ e(g, {});
|
|
61
56
|
case p:
|
|
62
57
|
case d:
|
|
63
|
-
return /* @__PURE__ */ e(
|
|
64
|
-
case l:
|
|
58
|
+
return /* @__PURE__ */ e(L, {});
|
|
65
59
|
case m:
|
|
66
|
-
case
|
|
67
|
-
|
|
60
|
+
case l:
|
|
61
|
+
case s:
|
|
62
|
+
return /* @__PURE__ */ e(I, {});
|
|
68
63
|
default:
|
|
69
|
-
return /* @__PURE__ */ e(
|
|
64
|
+
return /* @__PURE__ */ e(y, {});
|
|
70
65
|
}
|
|
71
|
-
case
|
|
66
|
+
case R:
|
|
72
67
|
switch (r.transaction_status) {
|
|
73
|
-
case
|
|
74
|
-
return /* @__PURE__ */ e(
|
|
68
|
+
case i:
|
|
69
|
+
return /* @__PURE__ */ e(A, {});
|
|
75
70
|
case p:
|
|
76
71
|
case d:
|
|
77
|
-
return /* @__PURE__ */ e(
|
|
78
|
-
case l:
|
|
72
|
+
return /* @__PURE__ */ e(D, {});
|
|
79
73
|
case m:
|
|
80
|
-
case
|
|
81
|
-
|
|
74
|
+
case l:
|
|
75
|
+
case s:
|
|
76
|
+
return /* @__PURE__ */ e(E, {});
|
|
82
77
|
default:
|
|
83
|
-
return /* @__PURE__ */ e(
|
|
78
|
+
return /* @__PURE__ */ e(B, {});
|
|
84
79
|
}
|
|
85
80
|
default:
|
|
86
81
|
return null;
|
|
@@ -90,24 +85,24 @@ const S = R(/* @__PURE__ */ e("path", {
|
|
|
90
85
|
),
|
|
91
86
|
/* @__PURE__ */ a(t, { display: "flex", flexDirection: "column", gap: "0.25rem", children: [
|
|
92
87
|
/* @__PURE__ */ e(
|
|
93
|
-
|
|
88
|
+
o,
|
|
94
89
|
{
|
|
95
90
|
variant: "h6",
|
|
96
91
|
sx: { textTransform: "capitalize", fontWeight: 600 },
|
|
97
92
|
children: r.transaction_type
|
|
98
93
|
}
|
|
99
94
|
),
|
|
100
|
-
/* @__PURE__ */ e(
|
|
95
|
+
/* @__PURE__ */ e(o, { variant: "body2", sx: { textTransform: "capitalize" }, children: u(r.created_at) })
|
|
101
96
|
] })
|
|
102
97
|
] }),
|
|
103
98
|
/* @__PURE__ */ e(t, { flexGrow: 1 }),
|
|
104
99
|
/* @__PURE__ */ e(t, { display: "flex", flexDirection: "column", alignItems: "flex-end", children: /* @__PURE__ */ a(
|
|
105
|
-
|
|
100
|
+
o,
|
|
106
101
|
{
|
|
107
102
|
variant: "h6",
|
|
108
103
|
sx: {
|
|
109
104
|
fontWeight: 400,
|
|
110
|
-
opacity: r.transaction_status ===
|
|
105
|
+
opacity: r.transaction_status === i ? 1 : 0.3
|
|
111
106
|
},
|
|
112
107
|
children: [
|
|
113
108
|
"$",
|
|
@@ -115,11 +110,11 @@ const S = R(/* @__PURE__ */ e("path", {
|
|
|
115
110
|
]
|
|
116
111
|
}
|
|
117
112
|
) }),
|
|
118
|
-
/* @__PURE__ */ e(
|
|
113
|
+
/* @__PURE__ */ e(T, { edge: "end", "aria-label": "chevron-right", children: /* @__PURE__ */ e(_, {}) })
|
|
119
114
|
] }) })
|
|
120
115
|
}
|
|
121
116
|
);
|
|
122
117
|
};
|
|
123
118
|
export {
|
|
124
|
-
|
|
119
|
+
V as default
|
|
125
120
|
};
|
|
@@ -1,35 +1,30 @@
|
|
|
1
|
-
import { jsx as r, jsxs as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { B as l } from "../../../../Box-B0YSYLco.js";
|
|
6
|
-
import { T as o } from "../../../../Typography-pAaje37G.js";
|
|
7
|
-
import { C as d } from "../../../../CircularProgress-xZA3lvba.js";
|
|
8
|
-
const C = ({ isLoading: e, amount: a }) => {
|
|
9
|
-
const t = n();
|
|
1
|
+
import { jsx as r, jsxs as n } from "react/jsx-runtime";
|
|
2
|
+
import { useTheme as i, Card as c, CardContent as l, Stack as s, Box as d, Typography as e, CircularProgress as m } from "@mui/material";
|
|
3
|
+
const f = ({ isLoading: o, amount: t }) => {
|
|
4
|
+
const a = i();
|
|
10
5
|
return /* @__PURE__ */ r(
|
|
11
|
-
|
|
6
|
+
c,
|
|
12
7
|
{
|
|
13
8
|
sx: {
|
|
14
9
|
background: "url(/src/images/space.jpg) center/cover no-repeat",
|
|
15
10
|
borderRadius: "1rem"
|
|
16
11
|
},
|
|
17
|
-
children: /* @__PURE__ */ r(
|
|
18
|
-
/* @__PURE__ */ r(
|
|
12
|
+
children: /* @__PURE__ */ r(l, { sx: { color: "#fff" }, children: /* @__PURE__ */ r(s, { direction: "column", spacing: 2, children: /* @__PURE__ */ n(d, { children: [
|
|
13
|
+
/* @__PURE__ */ r(e, { fontSize: "2.5rem", fontWeight: 600, color: "primary", children: "Available balance" }),
|
|
19
14
|
/* @__PURE__ */ r(
|
|
20
|
-
|
|
15
|
+
e,
|
|
21
16
|
{
|
|
22
17
|
fontSize: "5rem",
|
|
23
18
|
fontWeight: "500",
|
|
24
|
-
children:
|
|
19
|
+
children: o ? /* @__PURE__ */ r(m, { size: 24 }) : t
|
|
25
20
|
}
|
|
26
21
|
),
|
|
27
22
|
/* @__PURE__ */ r(
|
|
28
|
-
|
|
23
|
+
e,
|
|
29
24
|
{
|
|
30
25
|
variant: "xl",
|
|
31
26
|
sx: { opacity: "0.75" },
|
|
32
|
-
fontFamily:
|
|
27
|
+
fontFamily: a.typography.redHatMono.fontFamily,
|
|
33
28
|
children: "Want to add more credits? Please contact your Distributor"
|
|
34
29
|
}
|
|
35
30
|
)
|
|
@@ -38,5 +33,5 @@ const C = ({ isLoading: e, amount: a }) => {
|
|
|
38
33
|
);
|
|
39
34
|
};
|
|
40
35
|
export {
|
|
41
|
-
|
|
36
|
+
f as default
|
|
42
37
|
};
|
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import { jsxs as i, Fragment as
|
|
2
|
-
import
|
|
1
|
+
import { jsxs as i, Fragment as n, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import a from "../../../../hoc/withThemeProvider.js";
|
|
3
3
|
import t from "./balance.js";
|
|
4
4
|
import { useRrDialog as s } from "../../../../hooks/useRrDialog/index.js";
|
|
5
|
-
import m from "
|
|
6
|
-
import
|
|
7
|
-
import { G as o } from "../../../../Grid-CFe3amXO.js";
|
|
5
|
+
import { Card as d, CardContent as m, Grid as o } from "@mui/material";
|
|
6
|
+
import l from "./stats.js";
|
|
8
7
|
const c = ({}) => {
|
|
9
|
-
const { openDialog: f, ConfirmDialog:
|
|
10
|
-
return /* @__PURE__ */ i(
|
|
11
|
-
/* @__PURE__ */ r(
|
|
12
|
-
/* @__PURE__ */ r(d, { sx: { backgroundColor: "#FFF", borderRadius: "1rem" }, children: /* @__PURE__ */ r(
|
|
8
|
+
const { openDialog: f, ConfirmDialog: e } = s();
|
|
9
|
+
return /* @__PURE__ */ i(n, { children: [
|
|
10
|
+
/* @__PURE__ */ r(e, {}),
|
|
11
|
+
/* @__PURE__ */ r(d, { sx: { backgroundColor: "#FFF", borderRadius: "1rem" }, children: /* @__PURE__ */ r(m, { children: /* @__PURE__ */ i(o, { container: !0, spacing: 2, children: [
|
|
13
12
|
/* @__PURE__ */ r(o, { size: 7, children: /* @__PURE__ */ r(t, { amount: 267, isLoading: !1 }) }),
|
|
14
|
-
/* @__PURE__ */ r(o, { size: 5, children: /* @__PURE__ */ r(
|
|
13
|
+
/* @__PURE__ */ r(o, { size: 5, children: /* @__PURE__ */ r(l, { amount: 267, isLoading: !1 }) })
|
|
15
14
|
] }) }) })
|
|
16
15
|
] });
|
|
17
|
-
},
|
|
16
|
+
}, D = a(c);
|
|
18
17
|
export {
|
|
19
|
-
|
|
18
|
+
D as default
|
|
20
19
|
};
|
|
@@ -1,35 +1,30 @@
|
|
|
1
|
-
import { jsx as r, jsxs as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { B as l } from "../../../../Box-B0YSYLco.js";
|
|
6
|
-
import { T as o } from "../../../../Typography-pAaje37G.js";
|
|
7
|
-
import { C as d } from "../../../../CircularProgress-xZA3lvba.js";
|
|
8
|
-
const C = ({ isLoading: t, amount: a }) => {
|
|
9
|
-
const e = n();
|
|
1
|
+
import { jsx as r, jsxs as a } from "react/jsx-runtime";
|
|
2
|
+
import { useTheme as n, Card as c, CardContent as l, Stack as s, Box as d, Typography as e, CircularProgress as m } from "@mui/material";
|
|
3
|
+
const p = ({ isLoading: o, amount: t }) => {
|
|
4
|
+
const i = n();
|
|
10
5
|
return /* @__PURE__ */ r(
|
|
11
|
-
|
|
6
|
+
c,
|
|
12
7
|
{
|
|
13
8
|
sx: {
|
|
14
9
|
background: "#E5F6EA",
|
|
15
10
|
borderRadius: "1rem"
|
|
16
11
|
},
|
|
17
|
-
children: /* @__PURE__ */ r(
|
|
18
|
-
/* @__PURE__ */ r(
|
|
12
|
+
children: /* @__PURE__ */ r(l, { sx: { color: "#fff" }, children: /* @__PURE__ */ r(s, { direction: "column", spacing: 2, children: /* @__PURE__ */ a(d, { children: [
|
|
13
|
+
/* @__PURE__ */ r(e, { fontSize: "2.5rem", fontWeight: 600, color: "primary", children: "Available balance" }),
|
|
19
14
|
/* @__PURE__ */ r(
|
|
20
|
-
|
|
15
|
+
e,
|
|
21
16
|
{
|
|
22
17
|
fontSize: "5rem",
|
|
23
18
|
fontWeight: "500",
|
|
24
|
-
children:
|
|
19
|
+
children: o ? /* @__PURE__ */ r(m, { size: 24 }) : t
|
|
25
20
|
}
|
|
26
21
|
),
|
|
27
22
|
/* @__PURE__ */ r(
|
|
28
|
-
|
|
23
|
+
e,
|
|
29
24
|
{
|
|
30
25
|
variant: "xl",
|
|
31
26
|
sx: { opacity: "0.75" },
|
|
32
|
-
fontFamily:
|
|
27
|
+
fontFamily: i.typography.redHatMono.fontFamily,
|
|
33
28
|
children: "Want to add more credits? Please contact your Distributor"
|
|
34
29
|
}
|
|
35
30
|
)
|
|
@@ -38,5 +33,5 @@ const C = ({ isLoading: t, amount: a }) => {
|
|
|
38
33
|
);
|
|
39
34
|
};
|
|
40
35
|
export {
|
|
41
|
-
|
|
36
|
+
p as default
|
|
42
37
|
};
|
|
@@ -1,19 +1,16 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
const j = ({
|
|
9
|
-
isLoading: n,
|
|
10
|
-
transactions: t,
|
|
1
|
+
import { jsxs as l, Fragment as e, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { Typography as i, Stack as n, Box as m, CircularProgress as d } from "@mui/material";
|
|
3
|
+
import h from "../../Shared/Button/index.js";
|
|
4
|
+
import p from "../../../Shared/HistoryItem/index.js";
|
|
5
|
+
const y = ({
|
|
6
|
+
isLoading: o,
|
|
7
|
+
transactions: r,
|
|
11
8
|
navigate: a
|
|
12
|
-
}) => /* @__PURE__ */
|
|
13
|
-
/* @__PURE__ */
|
|
14
|
-
/* @__PURE__ */
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
}) => /* @__PURE__ */ l(e, { children: [
|
|
10
|
+
/* @__PURE__ */ t(i, { variant: "lg", my: 2, fontWeight: 600, children: "Latest Transactions" }),
|
|
11
|
+
/* @__PURE__ */ t(n, { direction: "column", spacing: 2, children: o ? /* @__PURE__ */ t(m, { className: "text-center", mt: 2, children: /* @__PURE__ */ t(d, { size: 50 }) }) : /* @__PURE__ */ t(e, { children: r.length > 0 ? /* @__PURE__ */ t(e, { children: r.map((c, s) => /* @__PURE__ */ t(p, { data: c }, s)) }) : /* @__PURE__ */ t(i, { className: "text-center", color: "primary", variant: "5xl", children: "No Records" }) }) }),
|
|
12
|
+
r.length > 0 && /* @__PURE__ */ t(n, { direction: "row", justifyContent: "center", children: /* @__PURE__ */ t(
|
|
13
|
+
h,
|
|
17
14
|
{
|
|
18
15
|
isText: !0,
|
|
19
16
|
onClick: () => a("/transactions"),
|
|
@@ -24,5 +21,5 @@ const j = ({
|
|
|
24
21
|
) })
|
|
25
22
|
] });
|
|
26
23
|
export {
|
|
27
|
-
|
|
24
|
+
y as default
|
|
28
25
|
};
|
|
@@ -1,41 +1,38 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import "
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import { T as f } from "../../../../Typography-pAaje37G.js";
|
|
17
|
-
import { B as R } from "../../../../Box-B0YSYLco.js";
|
|
18
|
-
import { S as v } from "../../../../Stack-k55YTxET.js";
|
|
1
|
+
import { jsxs as n, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { Container as I, Typography as p, Box as S, Stack as R } from "@mui/material";
|
|
3
|
+
import { useState as w, useEffect as f } from "react";
|
|
4
|
+
import { useSnackBar as b } from "../../../../hooks/useSnackBar.js";
|
|
5
|
+
import { u as W } from "../../../../react-redux-C7I9-1M6.js";
|
|
6
|
+
import _ from "../../../../hoc/withThemeProvider.js";
|
|
7
|
+
import { L as q } from "../../../../rr-primary-logo-CqI24c8v.js";
|
|
8
|
+
import D from "./storeInfo.js";
|
|
9
|
+
import L from "./personalInfo.js";
|
|
10
|
+
import T from "./summary.js";
|
|
11
|
+
import A from "./validateEmail.js";
|
|
12
|
+
import "../../../../constants-DrmtdI1J.js";
|
|
13
|
+
import { a as C, u as U, e as V, f as j, l as z } from "../../../../auth-DTJdu6mq.js";
|
|
14
|
+
import { USERNAME_SUFFIX as v } from "../../../../util/constants.js";
|
|
15
|
+
import M from "../../../../hooks/useEverestDispatch.js";
|
|
19
16
|
const O = ({ onRegister: y, navigate: E, navigatePath: h }) => {
|
|
20
|
-
const o =
|
|
17
|
+
const o = M(), t = W((s) => s.session), a = t.loader, g = t.validationError, F = t.validationField, u = t.screen, N = t.otpLoader, m = t.uuid, l = t.token, c = t.error, k = 4, { showAlertMessage: i, snackBar: B } = b(), [e, x] = w({
|
|
21
18
|
email: "",
|
|
22
19
|
firstName: "",
|
|
23
20
|
lastName: "",
|
|
24
21
|
phone: "",
|
|
25
22
|
storeName: ""
|
|
26
23
|
});
|
|
27
|
-
|
|
28
|
-
o(
|
|
29
|
-
}, []),
|
|
24
|
+
f(() => () => {
|
|
25
|
+
o(C());
|
|
26
|
+
}, []), f(() => {
|
|
30
27
|
m && l && (y(m, l), E(h || "/dashboard"));
|
|
31
|
-
}, [m, l]),
|
|
32
|
-
|
|
33
|
-
}, [
|
|
34
|
-
const
|
|
35
|
-
o(
|
|
28
|
+
}, [m, l]), f(() => {
|
|
29
|
+
c && i({ message: c });
|
|
30
|
+
}, [c]);
|
|
31
|
+
const d = (s) => {
|
|
32
|
+
o(U(s));
|
|
36
33
|
};
|
|
37
|
-
return /* @__PURE__ */
|
|
38
|
-
|
|
34
|
+
return /* @__PURE__ */ n(
|
|
35
|
+
I,
|
|
39
36
|
{
|
|
40
37
|
maxWidth: "sm",
|
|
41
38
|
component: "div",
|
|
@@ -48,11 +45,11 @@ const O = ({ onRegister: y, navigate: E, navigatePath: h }) => {
|
|
|
48
45
|
alignItems: "center"
|
|
49
46
|
},
|
|
50
47
|
children: [
|
|
51
|
-
|
|
52
|
-
/* @__PURE__ */ r(
|
|
53
|
-
/* @__PURE__ */ r(
|
|
54
|
-
/* @__PURE__ */
|
|
55
|
-
|
|
48
|
+
B,
|
|
49
|
+
/* @__PURE__ */ r(p, { variant: "h5", sx: { fontSize: "1.5rem", fontWeight: "700" }, children: "Welcome to" }),
|
|
50
|
+
/* @__PURE__ */ r(S, { sx: { marginTop: "0.5rem", marginBottom: "2.25rem" }, children: /* @__PURE__ */ r("img", { alt: "RocketRamp logo", src: q, width: 440, height: 63 }) }),
|
|
51
|
+
/* @__PURE__ */ n(
|
|
52
|
+
S,
|
|
56
53
|
{
|
|
57
54
|
sx: {
|
|
58
55
|
flex: 1,
|
|
@@ -66,56 +63,56 @@ const O = ({ onRegister: y, navigate: E, navigatePath: h }) => {
|
|
|
66
63
|
display: "flex"
|
|
67
64
|
},
|
|
68
65
|
children: [
|
|
69
|
-
/* @__PURE__ */ r(
|
|
70
|
-
/* @__PURE__ */
|
|
66
|
+
/* @__PURE__ */ r(R, { direction: "column", spacing: 1.5, children: /* @__PURE__ */ n(R, { direction: "row", gap: "0.25rem", children: [
|
|
67
|
+
/* @__PURE__ */ n(p, { variant: "md", fontWeight: 500, children: [
|
|
71
68
|
"Step ",
|
|
72
69
|
u
|
|
73
70
|
] }),
|
|
74
|
-
/* @__PURE__ */
|
|
71
|
+
/* @__PURE__ */ n(p, { variant: "md", fontWeight: 200, children: [
|
|
75
72
|
"of ",
|
|
76
|
-
|
|
73
|
+
k
|
|
77
74
|
] })
|
|
78
75
|
] }) }),
|
|
79
76
|
{
|
|
80
77
|
1: /* @__PURE__ */ r(
|
|
81
|
-
|
|
78
|
+
L,
|
|
82
79
|
{
|
|
83
80
|
showAlertMessage: i,
|
|
84
|
-
loader:
|
|
81
|
+
loader: a,
|
|
85
82
|
registerInfo: e,
|
|
86
83
|
dispatch: o,
|
|
87
84
|
setRegisterInfo: x,
|
|
88
|
-
setCurrentStep:
|
|
85
|
+
setCurrentStep: d,
|
|
89
86
|
validationError: g,
|
|
90
87
|
validationField: F
|
|
91
88
|
}
|
|
92
89
|
),
|
|
93
90
|
2: /* @__PURE__ */ r(
|
|
94
|
-
|
|
91
|
+
D,
|
|
95
92
|
{
|
|
96
93
|
showAlertMessage: i,
|
|
97
|
-
loader:
|
|
94
|
+
loader: a,
|
|
98
95
|
registerInfo: e,
|
|
99
96
|
setRegisterInfo: x,
|
|
100
97
|
dispatch: o,
|
|
101
98
|
validationError: g,
|
|
102
|
-
setCurrentStep:
|
|
99
|
+
setCurrentStep: d
|
|
103
100
|
}
|
|
104
101
|
),
|
|
105
102
|
3: /* @__PURE__ */ r(
|
|
106
|
-
|
|
103
|
+
T,
|
|
107
104
|
{
|
|
108
105
|
showAlertMessage: i,
|
|
109
|
-
loader:
|
|
106
|
+
loader: a,
|
|
110
107
|
registerInfo: e,
|
|
111
|
-
setCurrentStep:
|
|
108
|
+
setCurrentStep: d,
|
|
112
109
|
initRegister: () => {
|
|
113
110
|
o(
|
|
114
|
-
|
|
111
|
+
V({
|
|
115
112
|
first_name: e.firstName,
|
|
116
113
|
last_name: e.lastName,
|
|
117
114
|
email: e.email,
|
|
118
|
-
storename: e.storeName +
|
|
115
|
+
storename: e.storeName + v,
|
|
119
116
|
phone: "+1" + e.phone
|
|
120
117
|
})
|
|
121
118
|
);
|
|
@@ -123,27 +120,27 @@ const O = ({ onRegister: y, navigate: E, navigatePath: h }) => {
|
|
|
123
120
|
}
|
|
124
121
|
),
|
|
125
122
|
4: /* @__PURE__ */ r(
|
|
126
|
-
|
|
123
|
+
A,
|
|
127
124
|
{
|
|
128
125
|
showAlertMessage: i,
|
|
129
|
-
loader:
|
|
126
|
+
loader: a,
|
|
130
127
|
otpLoader: N,
|
|
131
128
|
registerInfo: e,
|
|
132
129
|
initVerifyRegister: (s) => {
|
|
133
130
|
o(
|
|
134
|
-
|
|
131
|
+
j({
|
|
135
132
|
first_name: e.firstName,
|
|
136
133
|
last_name: e.lastName,
|
|
137
134
|
email: e.email,
|
|
138
135
|
// username: registerInfo.username,
|
|
139
136
|
phone: "+1" + e.phone,
|
|
140
|
-
storename: e.storeName +
|
|
137
|
+
storename: e.storeName + v,
|
|
141
138
|
otp: s
|
|
142
139
|
})
|
|
143
140
|
);
|
|
144
141
|
},
|
|
145
142
|
initReSendOtp: () => {
|
|
146
|
-
o(
|
|
143
|
+
o(z(e.email));
|
|
147
144
|
}
|
|
148
145
|
}
|
|
149
146
|
)
|
|
@@ -154,7 +151,7 @@ const O = ({ onRegister: y, navigate: E, navigatePath: h }) => {
|
|
|
154
151
|
]
|
|
155
152
|
}
|
|
156
153
|
);
|
|
157
|
-
},
|
|
154
|
+
}, me = _(O);
|
|
158
155
|
export {
|
|
159
|
-
|
|
156
|
+
me as default
|
|
160
157
|
};
|