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,157 +1,67 @@
|
|
|
1
|
-
import {
|
|
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
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} =
|
|
32
|
-
return
|
|
33
|
-
root: ["root", !e && "spacing"]
|
|
34
|
-
}, Z, i);
|
|
35
|
-
}, oo = J("div", {
|
|
36
|
-
name: "MuiDialogActions",
|
|
37
|
-
slot: "Root",
|
|
38
|
-
overridesResolver: (t, i) => {
|
|
39
|
-
const {
|
|
40
|
-
ownerState: e
|
|
41
|
-
} = t;
|
|
42
|
-
return [i.root, !e.disableSpacing && i.spacing];
|
|
43
|
-
}
|
|
44
|
-
})({
|
|
45
|
-
display: "flex",
|
|
46
|
-
alignItems: "center",
|
|
47
|
-
padding: 8,
|
|
48
|
-
justifyContent: "flex-end",
|
|
49
|
-
flex: "0 0 auto",
|
|
50
|
-
variants: [{
|
|
51
|
-
props: ({
|
|
52
|
-
ownerState: t
|
|
53
|
-
}) => !t.disableSpacing,
|
|
54
|
-
style: {
|
|
55
|
-
"& > :not(style) ~ :not(style)": {
|
|
56
|
-
marginLeft: 8
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}]
|
|
60
|
-
}), C = /* @__PURE__ */ j.forwardRef(function(i, e) {
|
|
61
|
-
const s = K({
|
|
62
|
-
props: i,
|
|
63
|
-
name: "MuiDialogActions"
|
|
64
|
-
}), {
|
|
65
|
-
className: a,
|
|
66
|
-
disableSpacing: p = !1,
|
|
67
|
-
...m
|
|
68
|
-
} = s, n = {
|
|
69
|
-
...s,
|
|
70
|
-
disableSpacing: p
|
|
71
|
-
}, c = $(n);
|
|
72
|
-
return /* @__PURE__ */ r(oo, {
|
|
73
|
-
className: H(c.root, a),
|
|
74
|
-
ownerState: n,
|
|
75
|
-
ref: e,
|
|
76
|
-
...m
|
|
77
|
-
});
|
|
78
|
-
});
|
|
79
|
-
process.env.NODE_ENV !== "production" && (C.propTypes = {
|
|
80
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
81
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
82
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
83
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
84
|
-
/**
|
|
85
|
-
* The content of the component.
|
|
86
|
-
*/
|
|
87
|
-
children: o.node,
|
|
88
|
-
/**
|
|
89
|
-
* Override or extend the styles applied to the component.
|
|
90
|
-
*/
|
|
91
|
-
classes: o.object,
|
|
92
|
-
/**
|
|
93
|
-
* @ignore
|
|
94
|
-
*/
|
|
95
|
-
className: o.string,
|
|
96
|
-
/**
|
|
97
|
-
* If `true`, the actions do not have additional margin.
|
|
98
|
-
* @default false
|
|
99
|
-
*/
|
|
100
|
-
disableSpacing: o.bool,
|
|
101
|
-
/**
|
|
102
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
103
|
-
*/
|
|
104
|
-
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
|
|
105
|
-
});
|
|
106
|
-
const to = ({ onRegisterComplete: t, navigate: i }) => {
|
|
107
|
-
const e = F(), s = w((l) => l.session), a = s.loader, p = s.otpLoader, m = s.screen, n = s.uuid, c = s.token, d = s.error, { showAlertMessage: f } = V(), [A, x] = u(!1), [g, R] = u(""), [D, b] = u("");
|
|
108
|
-
h(() => () => {
|
|
109
|
-
e(N());
|
|
110
|
-
}, []), h(() => {
|
|
111
|
-
n && c && t(n, c);
|
|
112
|
-
}, [n, c]), h(() => {
|
|
113
|
-
d && f({ message: d });
|
|
114
|
-
}, [d]);
|
|
115
|
-
const E = (l) => {
|
|
116
|
-
e(P(l));
|
|
117
|
-
}, v = (l) => {
|
|
118
|
-
b(l), x(!0);
|
|
119
|
-
}, T = () => {
|
|
120
|
-
e(U({ email: g, otp: D }));
|
|
121
|
-
}, O = () => x(!1);
|
|
122
|
-
return /* @__PURE__ */ y(k, { children: [
|
|
1
|
+
import { jsxs as u, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { useState as d, useEffect as c } from "react";
|
|
3
|
+
import { u as L } from "../../../react-redux-C7I9-1M6.js";
|
|
4
|
+
import O from "../../../hoc/withThemeProvider.js";
|
|
5
|
+
import k from "../Shared/Auth/emailForm.js";
|
|
6
|
+
import { O as j } from "../../../otpForm-fiNqeB5H.js";
|
|
7
|
+
import "../../../constants-DrmtdI1J.js";
|
|
8
|
+
import { a as q, r as w, v as M } from "../../../auth-DTJdu6mq.js";
|
|
9
|
+
import P from "../Shared/Container/index.js";
|
|
10
|
+
import { REGISTER_SCREEN as g } from "../../../util/constants.js";
|
|
11
|
+
import W from "./terms.js";
|
|
12
|
+
import { useSnackBarContext as b } from "../../../context/snackBarContext.js";
|
|
13
|
+
import { Dialog as y, DialogTitle as F, DialogContent as U, Box as V, DialogActions as Y } from "@mui/material";
|
|
14
|
+
import z from "../Shared/appButton.js";
|
|
15
|
+
import G from "../../../hooks/useEverestDispatch.js";
|
|
16
|
+
const H = ({ onRegisterComplete: h, navigate: x }) => {
|
|
17
|
+
const r = G(), t = L((e) => e.session), s = t.loader, E = t.otpLoader, C = t.screen, i = t.uuid, n = t.token, a = t.error, { showAlertMessage: m } = b(), [R, l] = d(!1), [p, S] = d(""), [f, A] = d("");
|
|
18
|
+
c(() => () => {
|
|
19
|
+
r(q());
|
|
20
|
+
}, []), c(() => {
|
|
21
|
+
i && n && h(i, n);
|
|
22
|
+
}, [i, n]), c(() => {
|
|
23
|
+
a && m({ message: a });
|
|
24
|
+
}, [a]);
|
|
25
|
+
const v = (e) => {
|
|
26
|
+
r(w(e));
|
|
27
|
+
}, B = (e) => {
|
|
28
|
+
A(e), l(!0);
|
|
29
|
+
}, D = () => {
|
|
30
|
+
r(M({ email: p, otp: f }));
|
|
31
|
+
}, T = () => l(!1);
|
|
32
|
+
return /* @__PURE__ */ u(P, { children: [
|
|
123
33
|
{
|
|
124
|
-
1: /* @__PURE__ */
|
|
125
|
-
|
|
34
|
+
1: /* @__PURE__ */ o(
|
|
35
|
+
k,
|
|
126
36
|
{
|
|
127
|
-
showAlertMessage:
|
|
128
|
-
loader:
|
|
129
|
-
email:
|
|
130
|
-
setEmail:
|
|
131
|
-
navigate:
|
|
132
|
-
from:
|
|
133
|
-
onEmail:
|
|
37
|
+
showAlertMessage: m,
|
|
38
|
+
loader: s,
|
|
39
|
+
email: p,
|
|
40
|
+
setEmail: S,
|
|
41
|
+
navigate: x,
|
|
42
|
+
from: g,
|
|
43
|
+
onEmail: v
|
|
134
44
|
}
|
|
135
45
|
),
|
|
136
|
-
2: /* @__PURE__ */
|
|
137
|
-
|
|
46
|
+
2: /* @__PURE__ */ o(
|
|
47
|
+
j,
|
|
138
48
|
{
|
|
139
|
-
showAlertMessage:
|
|
140
|
-
loader:
|
|
141
|
-
otpLoader:
|
|
142
|
-
email:
|
|
143
|
-
otpVal:
|
|
49
|
+
showAlertMessage: m,
|
|
50
|
+
loader: s,
|
|
51
|
+
otpLoader: E,
|
|
52
|
+
email: p,
|
|
53
|
+
otpVal: f,
|
|
144
54
|
dispatch: alert,
|
|
145
|
-
from:
|
|
146
|
-
onValidateOtp:
|
|
55
|
+
from: g,
|
|
56
|
+
onValidateOtp: B
|
|
147
57
|
}
|
|
148
58
|
)
|
|
149
|
-
}[
|
|
150
|
-
/* @__PURE__ */
|
|
151
|
-
|
|
59
|
+
}[C],
|
|
60
|
+
/* @__PURE__ */ u(
|
|
61
|
+
y,
|
|
152
62
|
{
|
|
153
|
-
open:
|
|
154
|
-
onClose:
|
|
63
|
+
open: R,
|
|
64
|
+
onClose: T,
|
|
155
65
|
maxWidth: "sm",
|
|
156
66
|
fullWidth: !0,
|
|
157
67
|
PaperProps: {
|
|
@@ -161,8 +71,8 @@ const to = ({ onRegisterComplete: t, navigate: i }) => {
|
|
|
161
71
|
}
|
|
162
72
|
},
|
|
163
73
|
children: [
|
|
164
|
-
/* @__PURE__ */
|
|
165
|
-
|
|
74
|
+
/* @__PURE__ */ o(
|
|
75
|
+
F,
|
|
166
76
|
{
|
|
167
77
|
sx: {
|
|
168
78
|
textAlign: "center",
|
|
@@ -173,8 +83,8 @@ const to = ({ onRegisterComplete: t, navigate: i }) => {
|
|
|
173
83
|
children: "Terms & Conditions"
|
|
174
84
|
}
|
|
175
85
|
),
|
|
176
|
-
/* @__PURE__ */
|
|
177
|
-
|
|
86
|
+
/* @__PURE__ */ o(U, { dividers: !0, children: /* @__PURE__ */ o(
|
|
87
|
+
V,
|
|
178
88
|
{
|
|
179
89
|
sx: {
|
|
180
90
|
maxHeight: 300,
|
|
@@ -182,15 +92,15 @@ const to = ({ onRegisterComplete: t, navigate: i }) => {
|
|
|
182
92
|
paddingX: 2,
|
|
183
93
|
paddingY: 1
|
|
184
94
|
},
|
|
185
|
-
children: /* @__PURE__ */
|
|
95
|
+
children: /* @__PURE__ */ o(W, {})
|
|
186
96
|
}
|
|
187
97
|
) }),
|
|
188
|
-
/* @__PURE__ */
|
|
98
|
+
/* @__PURE__ */ o(Y, { sx: { justifyContent: "center", paddingBottom: 2 }, children: /* @__PURE__ */ o(z, { isLoading: s, onClick: D, children: "Accept & Sign Up" }) })
|
|
189
99
|
]
|
|
190
100
|
}
|
|
191
101
|
)
|
|
192
102
|
] });
|
|
193
|
-
},
|
|
103
|
+
}, no = O(H);
|
|
194
104
|
export {
|
|
195
|
-
|
|
105
|
+
no as default
|
|
196
106
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as o, Fragment as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { Typography as t } from "@mui/material";
|
|
3
3
|
const n = () => /* @__PURE__ */ o(r, { children: [
|
|
4
4
|
/* @__PURE__ */ e(t, { variant: "h5", mt: 2, mb: 2, children: /* @__PURE__ */ o("strong", { children: [
|
|
5
5
|
"Everest",
|
|
@@ -1,18 +1,11 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { jsxs as r, Fragment as M, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { Backdrop as w, CircularProgress as m, Grid as t, Box as a, Typography as o, IconButton as p, FormControl as C, TextField as G } from "@mui/material";
|
|
3
|
+
import b from "../../Shared/noData.js";
|
|
4
|
+
import { M as u } from "../../../../tooltip-BW0UyWw7.js";
|
|
5
|
+
import { I as f } from "../../../../Info-DOoRR7sR.js";
|
|
6
|
+
import { s as n } from "../../../../styles.module-C1sNeKjL.js";
|
|
6
7
|
import s from "../../Shared/appButton.js";
|
|
7
|
-
|
|
8
|
-
import { C as f } from "../../../../CircularProgress-xZA3lvba.js";
|
|
9
|
-
import { G as r } from "../../../../Grid-CFe3amXO.js";
|
|
10
|
-
import { B as a } from "../../../../Box-B0YSYLco.js";
|
|
11
|
-
import { T as o } from "../../../../Typography-pAaje37G.js";
|
|
12
|
-
import { I as u } from "../../../../IconButton-DHm-hucF.js";
|
|
13
|
-
import { F as G } from "../../../../FormControl-RtZDQMdA.js";
|
|
14
|
-
import { T as B } from "../../../../TextField-DPpRUQe3.js";
|
|
15
|
-
const Q = ({
|
|
8
|
+
const W = ({
|
|
16
9
|
loader: x,
|
|
17
10
|
stakeData: c,
|
|
18
11
|
totalStake: g,
|
|
@@ -22,13 +15,13 @@ const Q = ({
|
|
|
22
15
|
amount: E,
|
|
23
16
|
setAmount: l,
|
|
24
17
|
balanceLoader: N,
|
|
25
|
-
balance:
|
|
18
|
+
balance: d,
|
|
26
19
|
onMoveToEthereum: S,
|
|
27
20
|
onMoveToEverChain: y,
|
|
28
21
|
ethereumBalance: D
|
|
29
22
|
}) => {
|
|
30
|
-
const z = (
|
|
31
|
-
|
|
23
|
+
const z = (i) => {
|
|
24
|
+
i ? /^([0-9.,]+)$/.test(i) && l(i) : l("");
|
|
32
25
|
}, I = [
|
|
33
26
|
"To earn reward tokens you must stake GEMS “to EverChain”",
|
|
34
27
|
"Staking GEMS for a 365 day commitment will earn up to 20% APY in ID tokens*",
|
|
@@ -37,55 +30,55 @@ const Q = ({
|
|
|
37
30
|
].join(`
|
|
38
31
|
|
|
39
32
|
`);
|
|
40
|
-
return /* @__PURE__ */
|
|
33
|
+
return /* @__PURE__ */ r(M, { children: [
|
|
41
34
|
/* @__PURE__ */ e(
|
|
42
35
|
w,
|
|
43
36
|
{
|
|
44
37
|
sx: {
|
|
45
38
|
color: "#fff",
|
|
46
|
-
zIndex: (
|
|
39
|
+
zIndex: (i) => i.zIndex.drawer + 1e3
|
|
47
40
|
},
|
|
48
41
|
open: x,
|
|
49
|
-
children: /* @__PURE__ */ e(
|
|
42
|
+
children: /* @__PURE__ */ e(m, { color: "inherit" })
|
|
50
43
|
}
|
|
51
44
|
),
|
|
52
|
-
/* @__PURE__ */ t
|
|
53
|
-
/* @__PURE__ */ e(
|
|
54
|
-
/* @__PURE__ */ e(o, { className:
|
|
55
|
-
/* @__PURE__ */ t
|
|
56
|
-
/* @__PURE__ */ e(
|
|
57
|
-
/* @__PURE__ */ e(
|
|
45
|
+
/* @__PURE__ */ r(t, { spacing: 2, container: !0, width: "100%", children: [
|
|
46
|
+
/* @__PURE__ */ e(t, { size: { xs: 12, md: 5 }, children: /* @__PURE__ */ e(a, { className: n["inner-container"], children: /* @__PURE__ */ r(a, { p: 3, children: [
|
|
47
|
+
/* @__PURE__ */ e(o, { className: n["heading-text"], variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Current Stakes" }) }),
|
|
48
|
+
/* @__PURE__ */ r(t, { mt: 4, spacing: 1, container: !0, width: "100%", children: [
|
|
49
|
+
/* @__PURE__ */ e(t, { size: 6, children: /* @__PURE__ */ e(o, { className: "fs16", children: /* @__PURE__ */ e("strong", { children: "Total Staked" }) }) }),
|
|
50
|
+
/* @__PURE__ */ e(t, { size: 6, children: /* @__PURE__ */ r(o, { className: "text-right fs16 fw500", children: [
|
|
58
51
|
g,
|
|
59
52
|
" GEMS"
|
|
60
53
|
] }) }),
|
|
61
|
-
/* @__PURE__ */ e(
|
|
62
|
-
/* @__PURE__ */ e(
|
|
54
|
+
/* @__PURE__ */ e(t, { size: 6, children: /* @__PURE__ */ e(o, { className: "fs16", children: /* @__PURE__ */ e("strong", { children: "Total Reward" }) }) }),
|
|
55
|
+
/* @__PURE__ */ e(t, { size: 6, children: /* @__PURE__ */ r(o, { className: "text-right fs16 fw500", children: [
|
|
63
56
|
k,
|
|
64
57
|
" ID"
|
|
65
58
|
] }) })
|
|
66
59
|
] }),
|
|
67
|
-
/* @__PURE__ */
|
|
68
|
-
c.length === 0 && /* @__PURE__ */ e(
|
|
69
|
-
c.map((
|
|
60
|
+
/* @__PURE__ */ r(a, { mt: 6, children: [
|
|
61
|
+
c.length === 0 && /* @__PURE__ */ e(b, { text: "No GEM are staked at the moment" }),
|
|
62
|
+
c.map((i, h) => /* @__PURE__ */ e(T, { data: i }, h))
|
|
70
63
|
] })
|
|
71
64
|
] }) }) }),
|
|
72
|
-
/* @__PURE__ */ e(
|
|
65
|
+
/* @__PURE__ */ e(t, { size: { xs: 12, md: 7 }, children: /* @__PURE__ */ r(a, { p: 3, className: n["inner-container"], children: [
|
|
73
66
|
/* @__PURE__ */ e(
|
|
74
67
|
o,
|
|
75
68
|
{
|
|
76
|
-
className:
|
|
69
|
+
className: n["heading-text"],
|
|
77
70
|
variant: "h6",
|
|
78
71
|
component: "span",
|
|
79
72
|
children: /* @__PURE__ */ e("strong", { children: "Stake Tokens" })
|
|
80
73
|
}
|
|
81
74
|
),
|
|
82
75
|
/* @__PURE__ */ e(
|
|
83
|
-
|
|
76
|
+
u,
|
|
84
77
|
{
|
|
85
78
|
title: /* @__PURE__ */ e(a, { sx: { whiteSpace: "pre-line" }, children: I }),
|
|
86
79
|
placement: "bottom",
|
|
87
|
-
children: /* @__PURE__ */ e(
|
|
88
|
-
|
|
80
|
+
children: /* @__PURE__ */ e(p, { className: n["info-icon"], children: /* @__PURE__ */ e(
|
|
81
|
+
f,
|
|
89
82
|
{
|
|
90
83
|
sx: {
|
|
91
84
|
fontSize: "26px",
|
|
@@ -95,26 +88,26 @@ const Q = ({
|
|
|
95
88
|
) })
|
|
96
89
|
}
|
|
97
90
|
),
|
|
98
|
-
/* @__PURE__ */
|
|
91
|
+
/* @__PURE__ */ r(a, { className: `${n["add-container"]} text-center`, children: [
|
|
99
92
|
/* @__PURE__ */ e(o, { variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Available GEMS on EverChain" }) }),
|
|
100
|
-
N ? /* @__PURE__ */ e(
|
|
93
|
+
N ? /* @__PURE__ */ e(m, {}) : /* @__PURE__ */ e(
|
|
101
94
|
o,
|
|
102
95
|
{
|
|
103
96
|
sx: { mt: 2 },
|
|
104
97
|
className: "secondary-text-color",
|
|
105
98
|
variant: "h3",
|
|
106
|
-
children: /* @__PURE__ */
|
|
107
|
-
|
|
99
|
+
children: /* @__PURE__ */ r("strong", { children: [
|
|
100
|
+
d,
|
|
108
101
|
" GEMS"
|
|
109
102
|
] })
|
|
110
103
|
}
|
|
111
104
|
),
|
|
112
|
-
/* @__PURE__ */ t
|
|
113
|
-
/* @__PURE__ */ e(
|
|
105
|
+
/* @__PURE__ */ r(t, { className: "items-center", container: !0, mt: 4, width: "100%", children: [
|
|
106
|
+
/* @__PURE__ */ e(t, { size: 11, children: /* @__PURE__ */ r("fieldset", { className: n["move-id"], children: [
|
|
114
107
|
/* @__PURE__ */ e(
|
|
115
108
|
"legend",
|
|
116
109
|
{
|
|
117
|
-
className:
|
|
110
|
+
className: n["move-id-text"],
|
|
118
111
|
style: { width: "135px" },
|
|
119
112
|
children: "Move GEMS Tokens"
|
|
120
113
|
}
|
|
@@ -135,18 +128,18 @@ const Q = ({
|
|
|
135
128
|
ml: { md: 3 },
|
|
136
129
|
mt: { xs: 1, md: 0 }
|
|
137
130
|
},
|
|
138
|
-
onClick: () => S(Number(
|
|
131
|
+
onClick: () => S(Number(d)),
|
|
139
132
|
children: "To Ethereum"
|
|
140
133
|
}
|
|
141
134
|
)
|
|
142
135
|
] }) }),
|
|
143
|
-
/* @__PURE__ */ e(
|
|
144
|
-
|
|
136
|
+
/* @__PURE__ */ e(t, { size: 1, children: /* @__PURE__ */ e(
|
|
137
|
+
u,
|
|
145
138
|
{
|
|
146
139
|
title: "To stake your GEMS token, the token must be on EverChain. To move GEMS from Ethereum to EverChain or back requires ETH to pay the network fees.",
|
|
147
140
|
placement: "top",
|
|
148
|
-
children: /* @__PURE__ */ e(
|
|
149
|
-
|
|
141
|
+
children: /* @__PURE__ */ e(p, { className: n["button-icon"], children: /* @__PURE__ */ e(
|
|
142
|
+
f,
|
|
150
143
|
{
|
|
151
144
|
sx: {
|
|
152
145
|
fontSize: "24px",
|
|
@@ -157,8 +150,8 @@ const Q = ({
|
|
|
157
150
|
}
|
|
158
151
|
) })
|
|
159
152
|
] }),
|
|
160
|
-
/* @__PURE__ */
|
|
161
|
-
|
|
153
|
+
/* @__PURE__ */ r(
|
|
154
|
+
t,
|
|
162
155
|
{
|
|
163
156
|
mt: 4,
|
|
164
157
|
sx: {
|
|
@@ -168,28 +161,28 @@ const Q = ({
|
|
|
168
161
|
container: !0,
|
|
169
162
|
width: "100%",
|
|
170
163
|
children: [
|
|
171
|
-
/* @__PURE__ */ e(
|
|
164
|
+
/* @__PURE__ */ e(t, { size: 4 }),
|
|
172
165
|
/* @__PURE__ */ e(
|
|
173
|
-
|
|
166
|
+
t,
|
|
174
167
|
{
|
|
175
|
-
className: `${
|
|
168
|
+
className: `${n["time-item"]} ${n["item-last"]} ${n.active}`,
|
|
176
169
|
size: 4,
|
|
177
170
|
children: /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e("strong", { children: "365 Days" }) })
|
|
178
171
|
}
|
|
179
172
|
),
|
|
180
|
-
/* @__PURE__ */ e(
|
|
173
|
+
/* @__PURE__ */ e(t, { size: 4 })
|
|
181
174
|
]
|
|
182
175
|
}
|
|
183
176
|
),
|
|
184
|
-
/* @__PURE__ */ e(
|
|
185
|
-
|
|
177
|
+
/* @__PURE__ */ e(C, { sx: { mt: 4 }, fullWidth: !0, children: /* @__PURE__ */ e(
|
|
178
|
+
G,
|
|
186
179
|
{
|
|
187
180
|
variant: "filled",
|
|
188
181
|
placeholder: "Amount to Stake",
|
|
189
182
|
value: E,
|
|
190
183
|
fullWidth: !0,
|
|
191
184
|
required: !0,
|
|
192
|
-
onChange: (
|
|
185
|
+
onChange: (i) => z(i.target.value)
|
|
193
186
|
}
|
|
194
187
|
) }),
|
|
195
188
|
/* @__PURE__ */ e(s, { sx: { mt: 4 }, onClick: () => v(), fullWidth: !0, children: /* @__PURE__ */ e("strong", { children: "Stake" }) })
|
|
@@ -199,5 +192,5 @@ const Q = ({
|
|
|
199
192
|
] });
|
|
200
193
|
};
|
|
201
194
|
export {
|
|
202
|
-
|
|
195
|
+
W as default
|
|
203
196
|
};
|