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.
Files changed (238) hide show
  1. package/dist/{Cancel-4lT7GZUA.js → Cancel-pHQsCjtK.js} +1 -1
  2. package/dist/{Close-CNwiMz_O.js → Close-DSxLLo08.js} +1 -1
  3. package/dist/{ContentCopy-coPwrEuz.js → ContentCopy-D0C0zbQj.js} +1 -1
  4. package/dist/{Delete-jpMstGIF.js → Delete-Bj8zmXnh.js} +1 -1
  5. package/dist/{ErrorOutline-CPQcnl2b.js → ErrorOutline-Bt7P4ChN.js} +1 -1
  6. package/dist/{FileDownload-Bt3R_NBr.js → FileDownload-DqREXR3D.js} +1 -1
  7. package/dist/{Info-BVeUSPyk.js → Info-DOoRR7sR.js} +1 -1
  8. package/dist/{PlayArrow-BlkZJiHn.js → PlayArrow-BVDyfxsQ.js} +2 -2
  9. package/dist/Portal-BeS9yJCZ.js +968 -0
  10. package/dist/assets/index7.css +1 -1
  11. package/dist/assets/index8.css +1 -1
  12. package/dist/{auth-WhDJHZtr.js → auth-DTJdu6mq.js} +11 -11
  13. package/dist/{bank-BaOrdTcI.js → bank-C4pmTe--.js} +1 -1
  14. package/dist/components/RocketRamp/MinimalKyc/form.js +46 -52
  15. package/dist/components/RocketRamp/MinimalKyc/index.js +6 -6
  16. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +6 -8
  17. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +5 -8
  18. package/dist/components/RocketRamp/Player/Buy/form.js +8 -17
  19. package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
  20. package/dist/components/RocketRamp/Player/Dashboard/balance.js +20 -26
  21. package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
  22. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +13 -16
  23. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +6 -11
  24. package/dist/components/RocketRamp/Player/Sell/form.js +8 -17
  25. package/dist/components/RocketRamp/Player/Sell/index.js +9 -9
  26. package/dist/components/RocketRamp/Player/SignIn/index.js +23 -25
  27. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +33 -35
  28. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +31 -33
  29. package/dist/components/RocketRamp/Player/SignUp/email.js +21 -23
  30. package/dist/components/RocketRamp/Player/SignUp/index.js +49 -52
  31. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +68 -74
  32. package/dist/components/RocketRamp/Player/SignUp/summary.js +23 -25
  33. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +23 -25
  34. package/dist/components/RocketRamp/ResetPassword/index.js +23 -25
  35. package/dist/components/RocketRamp/Shared/Button/index.js +16 -17
  36. package/dist/components/RocketRamp/Shared/Input/index.js +27 -30
  37. package/dist/components/RocketRamp/Shared/backBtn.js +10 -11
  38. package/dist/components/RocketRamp/Shared/transactionItem.js +40 -45
  39. package/dist/components/RocketRamp/Store/Dashboard/balance.js +12 -17
  40. package/dist/components/RocketRamp/Store/Dashboard/index.js +11 -12
  41. package/dist/components/RocketRamp/Store/Dashboard/stats.js +12 -17
  42. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +13 -16
  43. package/dist/components/RocketRamp/Store/SignUp/index.js +53 -56
  44. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +48 -54
  45. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +33 -37
  46. package/dist/components/RocketRamp/Store/SignUp/summary.js +21 -23
  47. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +23 -25
  48. package/dist/components/RocketRamp/Transactions/index.js +23 -24
  49. package/dist/components/Shared/FullKyc/countryList.js +15 -17
  50. package/dist/components/Shared/FullKyc/edd.js +51 -54
  51. package/dist/components/Shared/FullKyc/index.js +13 -12
  52. package/dist/components/Shared/FullKyc/pep.js +35 -43
  53. package/dist/components/Shared/FullKyc/personalDetails.js +7 -8
  54. package/dist/components/Shared/FullKyc/userInfo.js +8 -14
  55. package/dist/components/Shared/HistoryItem/index.js +43 -48
  56. package/dist/components/Shared/Incode/index.js +31 -35
  57. package/dist/components/Shared/MinimalKyc/index.js +60 -65
  58. package/dist/components/Shared/Sumsub/index.js +75 -62
  59. package/dist/components/Shared/loader.js +4 -5
  60. package/dist/components/Shared/tooltip.js +2 -2
  61. package/dist/components/Shared/transition.js +4 -4
  62. package/dist/components/Wallet/Account/createIban.js +34 -38
  63. package/dist/components/Wallet/Account/eWallet.js +35 -39
  64. package/dist/components/Wallet/Account/iban.js +49 -53
  65. package/dist/components/Wallet/Account/ibanItem.js +70 -76
  66. package/dist/components/Wallet/Account/index.js +68 -76
  67. package/dist/components/Wallet/Account/sendIban.js +79 -88
  68. package/dist/components/Wallet/Buy/confirmTransaction.js +9 -12
  69. package/dist/components/Wallet/Buy/form.js +8 -18
  70. package/dist/components/Wallet/Buy/index.js +6 -6
  71. package/dist/components/Wallet/Deposit/index.js +16 -19
  72. package/dist/components/Wallet/EnterpriseKyc/edd.js +32 -34
  73. package/dist/components/Wallet/EnterpriseKyc/index.js +76 -81
  74. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +23 -26
  75. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +5 -7
  76. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +1 -1
  77. package/dist/components/Wallet/EnterpriseKyc/kycType.js +23 -26
  78. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +37 -39
  79. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3591 -1483
  80. package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
  81. package/dist/components/Wallet/EnterpriseKyc/verify.js +23 -24
  82. package/dist/components/Wallet/History/index.js +23 -797
  83. package/dist/components/Wallet/Home/index.js +13 -14
  84. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +91 -97
  85. package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
  86. package/dist/components/Wallet/Portfolio/index.js +48 -52
  87. package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
  88. package/dist/components/Wallet/Profile/documents.js +125 -134
  89. package/dist/components/Wallet/Profile/index.js +38 -44
  90. package/dist/components/Wallet/Profile/storage.js +39 -47
  91. package/dist/components/Wallet/Receive/index.js +32 -37
  92. package/dist/components/Wallet/Sell/confirmTransaction.js +8 -11
  93. package/dist/components/Wallet/Sell/form.js +8 -18
  94. package/dist/components/Wallet/Sell/index.js +6 -6
  95. package/dist/components/Wallet/Send/index.js +336 -324
  96. package/dist/components/Wallet/Shared/Auth/emailForm.js +13 -15
  97. package/dist/components/Wallet/Shared/Auth/otpForm.js +9 -356
  98. package/dist/components/Wallet/Shared/BankSelect/index.js +45 -49
  99. package/dist/components/Wallet/Shared/CardCorp/index.js +18 -20
  100. package/dist/components/Wallet/Shared/CardPayment/index.js +14 -16
  101. package/dist/components/Wallet/Shared/ConnectWallet/index.js +22 -28
  102. package/dist/components/Wallet/Shared/Container/index.js +15 -16
  103. package/dist/components/Wallet/Shared/Input/index.js +3 -3
  104. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +29 -30
  105. package/dist/components/Wallet/Shared/Order/paymentButton.js +13 -14
  106. package/dist/components/Wallet/Shared/TokenModal/index.js +55 -63
  107. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +11 -13
  108. package/dist/components/Wallet/Shared/addBank.js +41 -46
  109. package/dist/components/Wallet/Shared/appButton.js +11 -15
  110. package/dist/components/Wallet/Shared/backBtn.js +8 -9
  111. package/dist/components/Wallet/Shared/button.js +7 -7
  112. package/dist/components/Wallet/Shared/connectPlaidBank.js +16 -17
  113. package/dist/components/Wallet/Shared/inputField.js +5 -5
  114. package/dist/components/Wallet/Shared/manualSend.js +9 -14
  115. package/dist/components/Wallet/Shared/noData.js +4 -5
  116. package/dist/components/Wallet/Shared/pin.js +25 -27
  117. package/dist/components/Wallet/Shared/radioButton.js +39 -5
  118. package/dist/components/Wallet/Shared/step.js +12 -13
  119. package/dist/components/Wallet/Shared/timer.js +1 -1
  120. package/dist/components/Wallet/SignIn/index.js +17 -17
  121. package/dist/components/Wallet/SignUp/index.js +63 -153
  122. package/dist/components/Wallet/SignUp/terms.js +1 -1
  123. package/dist/components/Wallet/Stake/gems/index.js +51 -58
  124. package/dist/components/Wallet/Stake/id/index.js +73 -81
  125. package/dist/components/Wallet/Stake/index.js +65 -69
  126. package/dist/components/Wallet/Swap/form.js +11 -21
  127. package/dist/components/Wallet/Swap/index.js +5 -5
  128. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
  129. package/dist/components/Wallet/Withdraw/bankSelect.js +41 -45
  130. package/dist/components/Wallet/Withdraw/confirmTransaction.js +5 -8
  131. package/dist/components/Wallet/Withdraw/form.js +6 -17
  132. package/dist/components/Wallet/Withdraw/index.js +5 -5
  133. package/dist/{constants-DREDnCMu.js → constants-DrmtdI1J.js} +7 -7
  134. package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
  135. package/dist/{cryptoAssets-DbyDgq4J.js → cryptoAssets-DyGDknvq.js} +1 -1
  136. package/dist/hoc/withThemeProvider.js +5 -732
  137. package/dist/hooks/useDialog/index.js +22 -23
  138. package/dist/hooks/useRrDialog/index.js +43 -46
  139. package/dist/hooks/useSnackBar.js +24 -696
  140. package/dist/icons/buyIcon.js +1 -1
  141. package/dist/icons/canceledBuyIcon.js +1 -1
  142. package/dist/icons/canceledRedeemIcon.js +1 -1
  143. package/dist/icons/failedBuyIcon.js +2 -2
  144. package/dist/icons/failedRedeemIcon.js +2 -2
  145. package/dist/icons/pendingBuyIcon.js +1 -1
  146. package/dist/icons/pendingRedeemIcon.js +1 -1
  147. package/dist/icons/redeemIcon.js +1 -1
  148. package/dist/{index-DYP5Ex_T.js → index-3OQ4M69t.js} +89 -99
  149. package/dist/{index-B3HnUBnB.js → index-BBFbUCRZ.js} +123 -129
  150. package/dist/{index-PoMNqntN.js → index-C1WPCgkl.js} +130 -141
  151. package/dist/{index-BXutc9ik.js → index-CDwzoHu7.js} +134 -145
  152. package/dist/{index-DV1dVcrY.js → index-CK4kLRAw.js} +172 -182
  153. package/dist/{index-DJ7xuxBy.js → index-CYX3j0V7.js} +175 -185
  154. package/dist/{index-CuPCW3XC.js → index-ILpK4BCB.js} +154 -163
  155. package/dist/{kyc-D4s_B9Cf.js → kyc-ksV3vBP_.js} +1 -1
  156. package/dist/main.js +7 -7
  157. package/dist/memoTheme-DnE8lj0t.js +3481 -0
  158. package/dist/{order-DGBbo_Ox.js → order-DEp_Lmar.js} +1 -1
  159. package/dist/otpForm-fiNqeB5H.js +7378 -0
  160. package/dist/{stake-CdMc5H7D.js → stake-Ct7-_aWW.js} +1 -1
  161. package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
  162. package/dist/tooltip-BW0UyWw7.js +2129 -0
  163. package/dist/{wallet-DvfdQOju.js → wallet-CauUBXou.js} +1 -1
  164. package/package.json +6 -6
  165. package/dist/Alert-DzsbFW3-.js +0 -369
  166. package/dist/Autocomplete-CE-OI2t8.js +0 -2429
  167. package/dist/Avatar-1XklXr4O.js +0 -281
  168. package/dist/Backdrop-CioURPVG.js +0 -359
  169. package/dist/Box-B0YSYLco.js +0 -59
  170. package/dist/Button-Df4vgU24.js +0 -663
  171. package/dist/ButtonBase-DLF5c6wi.js +0 -870
  172. package/dist/CardContent-D9wTdpu-.js +0 -141
  173. package/dist/CircularProgress-xZA3lvba.js +0 -252
  174. package/dist/Close-CxzDL3J-.js +0 -9
  175. package/dist/Container-urNKV7hm.js +0 -181
  176. package/dist/DefaultPropsProvider-CeF7UYM9.js +0 -92
  177. package/dist/DefaultPropsProvider-oAu9El-f.js +0 -226
  178. package/dist/DialogContent-BMwlOnbW.js +0 -567
  179. package/dist/DialogTitle-CfS0bb2K.js +0 -70
  180. package/dist/Divider-BShhMFf4.js +0 -297
  181. package/dist/FilledInput-DuNqnPjc.js +0 -1292
  182. package/dist/FormControl-RtZDQMdA.js +0 -258
  183. package/dist/FormControlLabel-BliKW48y.js +0 -519
  184. package/dist/GlobalStyles-ChMhDfTS.js +0 -59
  185. package/dist/Grid-CFe3amXO.js +0 -410
  186. package/dist/Grow-CnGtel3u.js +0 -196
  187. package/dist/HTMLElementType-BrQSV2FE.js +0 -13
  188. package/dist/IconButton-DHm-hucF.js +0 -297
  189. package/dist/InputAdornment-DMiED3JH.js +0 -173
  190. package/dist/Link-DBA9Yifs.js +0 -266
  191. package/dist/ListItemIcon-CUcyTEEm.js +0 -84
  192. package/dist/Menu-DLYFFrEk.js +0 -1239
  193. package/dist/MenuItem-DUdYOJr4.js +0 -271
  194. package/dist/Modal-CFIQ_s3T.js +0 -743
  195. package/dist/Paper-Bgt2WXI6.js +0 -186
  196. package/dist/Popper-BBAoiZKn.js +0 -1409
  197. package/dist/Portal-BMAxiQwe.js +0 -69
  198. package/dist/RadioGroup-nvoSN0JN.js +0 -189
  199. package/dist/Select-CB5yWmyn.js +0 -1886
  200. package/dist/Slide-B9Nw0LZ4.js +0 -235
  201. package/dist/Stack-k55YTxET.js +0 -172
  202. package/dist/SwitchBase-C8zFyg_x.js +0 -318
  203. package/dist/TextField-DPpRUQe3.js +0 -978
  204. package/dist/TransitionGroupContext-CYRQkQ6k.js +0 -49
  205. package/dist/Typography-pAaje37G.js +0 -260
  206. package/dist/chainPropTypes-D9lkm76m.js +0 -8
  207. package/dist/clsx-BTaloaeC.js +0 -264
  208. package/dist/createChainedFunction-C0nujS3O.js +0 -9
  209. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
  210. package/dist/createTheme-CD19zQB7.js +0 -3825
  211. package/dist/debounce-46wSf_lW.js +0 -15
  212. package/dist/defaultTheme-C35y5cLB.js +0 -5
  213. package/dist/dividerClasses-BDxa2gAa.js +0 -10
  214. package/dist/elementAcceptingRef-CqLvP78G.js +0 -391
  215. package/dist/elementTypeAcceptingRef-BdsMpCbS.js +0 -23
  216. package/dist/emotion-react.browser.esm-BIrDfk-B.js +0 -246
  217. package/dist/exactProp-C1Lmtwf_.js +0 -13
  218. package/dist/extendSxProp-B8UjbJ56.js +0 -37
  219. package/dist/generateUtilityClasses-BRiE4Guh.js +0 -10
  220. package/dist/index-B0Z-Gjno.js +0 -22
  221. package/dist/index-DUcLo3x5.js +0 -43
  222. package/dist/isFocusVisible-CPZqtjv2.js +0 -12
  223. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  224. package/dist/isMuiElement-DnSE4qG4.js +0 -13
  225. package/dist/memoTheme-yHaPezod.js +0 -15
  226. package/dist/ownerWindow-CRgpWY6I.js +0 -7
  227. package/dist/radioButton-CzlYB0Lh.js +0 -402
  228. package/dist/refType-BsTH3qnM.js +0 -56
  229. package/dist/tooltip-3UvETWtS.js +0 -740
  230. package/dist/useControlled-nm4pBabJ.js +0 -31
  231. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  232. package/dist/useFormControl-CatNKXAi.js +0 -10
  233. package/dist/useId-CK6Kn3Tn.js +0 -21
  234. package/dist/useSlot-CW7SOYlh.js +0 -125
  235. package/dist/useSlotProps-BfEOwJvJ.js +0 -25
  236. package/dist/useTheme-BQJ5lp0i.js +0 -11
  237. package/dist/useTheme-S5_DHFsQ.js +0 -17
  238. package/dist/useThemeProps-DN9MjdTl.js +0 -29
@@ -1,20 +1,19 @@
1
- import { jsxs as t, jsx as r } from "react/jsx-runtime";
2
- import o from "../Shared/Container/index.js";
1
+ import { jsxs as t, jsx as n } from "react/jsx-runtime";
2
+ import { Typography as o, Grid as r } from "@mui/material";
3
+ import s from "../Shared/Container/index.js";
3
4
  import e from "../Shared/appButton.js";
4
- import s from "../../../hoc/withThemeProvider.js";
5
- import { T as c } from "../../../Typography-pAaje37G.js";
6
- import { G as n } from "../../../Grid-CFe3amXO.js";
7
- const l = ({ navigate: i }) => /* @__PURE__ */ t(o, { children: [
8
- /* @__PURE__ */ r(c, { variant: "h5", children: /* @__PURE__ */ r("strong", { children: "Welcome to EverWallet Enterprise" }) }),
9
- /* @__PURE__ */ t(n, { sx: { margin: "0 auto", width: "70%" }, container: !0, children: [
10
- /* @__PURE__ */ r(n, { mt: 7, size: { xs: 12 }, children: /* @__PURE__ */ r(e, { onClick: () => {
5
+ import c from "../../../hoc/withThemeProvider.js";
6
+ const l = ({ navigate: i }) => /* @__PURE__ */ t(s, { children: [
7
+ /* @__PURE__ */ n(o, { variant: "h5", children: /* @__PURE__ */ n("strong", { children: "Welcome to EverWallet" }) }),
8
+ /* @__PURE__ */ t(r, { sx: { margin: "0 auto", width: "70%" }, container: !0, children: [
9
+ /* @__PURE__ */ n(r, { mt: 7, size: { xs: 12 }, children: /* @__PURE__ */ n(e, { onClick: () => {
11
10
  i("/signin");
12
- }, fullWidth: !0, children: /* @__PURE__ */ r("strong", { children: "Sign In" }) }) }),
13
- /* @__PURE__ */ r(n, { mt: 2.5, size: { xs: 12 }, children: /* @__PURE__ */ r(e, { onClick: () => {
11
+ }, fullWidth: !0, children: /* @__PURE__ */ n("strong", { children: "Sign In" }) }) }),
12
+ /* @__PURE__ */ n(r, { mt: 2.5, size: { xs: 12 }, children: /* @__PURE__ */ n(e, { onClick: () => {
14
13
  i("/signup");
15
- }, variantType: "secondary", fullWidth: !0, children: /* @__PURE__ */ r("strong", { children: "Create Account" }) }) })
14
+ }, variantType: "secondary", fullWidth: !0, children: /* @__PURE__ */ n("strong", { children: "Create Account" }) }) })
16
15
  ] })
17
- ] }), x = s(l);
16
+ ] }), f = c(l);
18
17
  export {
19
- x as default
18
+ f as default
20
19
  };
@@ -1,65 +1,59 @@
1
1
  import { jsxs as s, Fragment as g, jsx as e } from "react/jsx-runtime";
2
- import { useState as C, useEffect as T } from "react";
2
+ import { useState as C, useEffect as w } from "react";
3
3
  import { u as N } from "../../../react-redux-C7I9-1M6.js";
4
- import { C as j } from "../../../Close-CNwiMz_O.js";
4
+ import { Box as u, Typography as p, FormControl as j, TextField as $, Dialog as J, IconButton as X, DialogContent as Y, Grid as n } from "@mui/material";
5
+ import { C as Z } from "../../../Close-DSxLLo08.js";
5
6
  import "../../../index-DlQqWbXG.js";
6
- import w from "../Shared/appButton.js";
7
+ import T from "../Shared/appButton.js";
7
8
  import "../../../hoc/withThemeProvider.js";
8
- import { displayWalletAddress as $ } from "../../../util/functions.js";
9
- import { BACK_BTN_ICON as J, EVER_CHAIN_NETWORK as B, ETHEREUM_NETWORK as M } from "../../../util/constants.js";
10
- import "../Shared/Auth/otpForm.js";
11
- import { an as X, ao as Y, ap as Z, aq as ee, ar as te } from "../../../constants-DREDnCMu.js";
12
- import { a as re } from "../../../index-BQNs1mvn.js";
13
- import { h as se } from "../../../wallet-DvfdQOju.js";
14
- import { useSnackBarContext as oe } from "../../../context/snackBarContext.js";
15
- import ae from "../../../hooks/useEverestDispatch.js";
16
- import { numberFormat as ne, fromHuman as ie, getGweiFromWei as ce, getUnFormattedValueFromWei as le } from "../../../util/conversions.js";
9
+ import { displayWalletAddress as ee } from "../../../util/functions.js";
10
+ import { BACK_BTN_ICON as te, EVER_CHAIN_NETWORK as k, ETHEREUM_NETWORK as M } from "../../../util/constants.js";
11
+ import "../../../otpForm-fiNqeB5H.js";
12
+ import { an as re, ao as se, ap as oe, aq as ne, ar as ae } from "../../../constants-DrmtdI1J.js";
13
+ import { a as ie } from "../../../index-BQNs1mvn.js";
14
+ import { h as ce } from "../../../wallet-CauUBXou.js";
15
+ import { useSnackBarContext as le } from "../../../context/snackBarContext.js";
16
+ import de from "../../../hooks/useEverestDispatch.js";
17
+ import { numberFormat as me, fromHuman as he, getGweiFromWei as ue, getUnFormattedValueFromWei as pe } from "../../../util/conversions.js";
17
18
  import "../../../index-CAoLi5Qq.js";
18
19
  import "../../../react-webcam-B3cXh1XT.js";
19
20
  import "../../Shared/transition.js";
20
- import "../../../tooltip-3UvETWtS.js";
21
- import "../Shared/pin.js";
21
+ import "../../../tooltip-BW0UyWw7.js";
22
22
  import "../../../moment-h96o7c8I.js";
23
23
  import "../../../index.esm-BsMAMhYW.js";
24
24
  import "../../../web3-u4qDZYpo.js";
25
25
  import "../../../index-ceeCtFuh.js";
26
26
  import "../../../index.esm-I_Bp2YLf.js";
27
27
  import "../../../context/dialogContext.js";
28
- import { B as p } from "../../../Box-B0YSYLco.js";
29
- import { T as u } from "../../../Typography-pAaje37G.js";
30
- import { F as me } from "../../../FormControl-RtZDQMdA.js";
31
- import { T as de } from "../../../TextField-DPpRUQe3.js";
32
- import { D as he, a as pe } from "../../../DialogContent-BMwlOnbW.js";
33
- import { I as ue } from "../../../IconButton-DHm-hucF.js";
34
- import { G as a } from "../../../Grid-CFe3amXO.js";
28
+ import "@mui/icons-material";
35
29
  import '../../../assets/index6.css';const fe = (r) => ({
36
- type: Y,
30
+ type: se,
37
31
  payload: r
38
32
  }), ge = (r) => ({
39
- type: Z,
33
+ type: oe,
40
34
  payload: r
41
35
  }), xe = (r) => ({
42
- type: ee,
36
+ type: ne,
43
37
  payload: r
44
38
  }), Ee = (r) => ({
45
- type: te,
39
+ type: ae,
46
40
  payload: r
47
41
  }), _e = () => ({
48
- type: X
49
- }), Te = "_container_nw82g_1", y = {
50
- container: Te,
42
+ type: re
43
+ }), we = "_container_nw82g_1", y = {
44
+ container: we,
51
45
  "inner-container": "_inner-container_nw82g_13",
52
46
  "heading-text": "_heading-text_nw82g_27",
53
47
  "close-btn": "_close-btn_nw82g_41"
54
- }, ot = ({
48
+ }, Ye = ({
55
49
  token: r,
56
- network: n,
50
+ network: a,
57
51
  tokenAddress: A,
58
52
  depositAddress: S,
59
- onBack: m,
60
- initialBalance: d
53
+ onBack: d,
54
+ initialBalance: m
61
55
  }) => {
62
- const { showAlertMessage: W } = oe(), h = ae(), i = N((t) => t.bridge), c = i.gasFee, I = i.loader, G = i.error, v = i.withdrawStatus, R = i.txId, k = (t) => t ? ("GasLimit" in t ? t.GasLimit : t.gasLimit) ?? 0 : 0, z = (t) => {
56
+ const { showAlertMessage: W } = le(), h = de(), i = N((t) => t.bridge), c = i.gasFee, I = i.loader, v = i.error, G = i.withdrawStatus, R = i.txId, z = (t) => t ? ("GasLimit" in t ? t.GasLimit : t.gasLimit) ?? 0 : 0, B = (t) => {
63
57
  var o;
64
58
  if (t)
65
59
  return (o = "BaseGasPriceCap" in t ? t.BaseGasPriceCap : t.baseGasPriceCap) == null ? void 0 : o.toString();
@@ -67,34 +61,34 @@ import '../../../assets/index6.css';const fe = (r) => ({
67
61
  var o;
68
62
  if (t)
69
63
  return (o = "TotalMaxEthSpent" in t ? t.TotalMaxEthSpent : t.totalMaxEthSpent) == null ? void 0 : o.toString();
70
- }, F = N((t) => t.user.wallets);
71
- F.loader;
72
- const P = F.data, x = n === B ? M : B, l = N(re).everWalletAddress, [U, D] = C(d ?? ""), H = ne(U), [b, O] = C(""), [V, E] = C(!1), _ = ie(b, r === "ID" ? 18 : 6);
73
- T(() => (d || h(se()), () => {
64
+ }, P = N((t) => t.user.wallets);
65
+ P.loader;
66
+ const F = P.data, x = a === k ? M : k, l = N(ie).everWalletAddress, [U, O] = C(m ?? ""), H = me(U), [b, D] = C(""), [V, E] = C(!1), _ = he(b, r === "ID" ? 18 : 6);
67
+ w(() => (m || h(ce()), () => {
74
68
  h(_e());
75
- }), [d]), T(() => {
76
- i.showFeePopUp && k(c) > 0 && E(!0);
77
- }, [c, i.showFeePopUp]), T(() => {
78
- G && W({ message: G });
79
- }, [G]), T(() => {
80
- if (d) {
81
- D(d);
69
+ }), [m]), w(() => {
70
+ i.showFeePopUp && z(c) > 0 && E(!0);
71
+ }, [c, i.showFeePopUp]), w(() => {
72
+ v && W({ message: v });
73
+ }, [v]), w(() => {
74
+ if (m) {
75
+ O(m);
82
76
  return;
83
77
  }
84
- const t = P.find(
78
+ const t = F.find(
85
79
  (o) => o.address === l
86
80
  );
87
81
  if (t) {
88
82
  const o = t.tokens;
89
83
  for (let f = 0; f < o.length; f++)
90
84
  if (o[f].network.toLowerCase() === x.toLowerCase() && o[f].symbol === r) {
91
- D(o[f].fmt_balance.replaceAll(",", ""));
85
+ O(o[f].fmt_balance.replaceAll(",", ""));
92
86
  break;
93
87
  }
94
88
  }
95
- }, [P, l, d]);
89
+ }, [F, l, m]);
96
90
  const K = (t) => {
97
- t ? /^([0-9.,]+)$/.test(t) && O(t) : O("");
91
+ t ? /^([0-9.,]+)$/.test(t) && D(t) : D("");
98
92
  }, Q = () => {
99
93
  if (!c) {
100
94
  W({
@@ -102,7 +96,7 @@ import '../../../assets/index6.css';const fe = (r) => ({
102
96
  });
103
97
  return;
104
98
  }
105
- h(n === M ? ge({
99
+ h(a === M ? ge({
106
100
  walletAddress: l,
107
101
  amount: _,
108
102
  token: r,
@@ -115,7 +109,7 @@ import '../../../assets/index6.css';const fe = (r) => ({
115
109
  gas: c
116
110
  }));
117
111
  }, q = () => {
118
- h(n === M ? fe({
112
+ h(a === M ? fe({
119
113
  walletAddress: l,
120
114
  amount: _,
121
115
  token: r
@@ -127,7 +121,7 @@ import '../../../assets/index6.css';const fe = (r) => ({
127
121
  }));
128
122
  };
129
123
  return /* @__PURE__ */ s(g, { children: [
130
- /* @__PURE__ */ e(p, { className: y.container, children: /* @__PURE__ */ s(p, { className: y["inner-container"], children: [
124
+ /* @__PURE__ */ e(u, { className: y.container, children: /* @__PURE__ */ s(u, { className: y["inner-container"], children: [
131
125
  /* @__PURE__ */ e(
132
126
  "img",
133
127
  {
@@ -137,13 +131,13 @@ import '../../../assets/index6.css';const fe = (r) => ({
137
131
  left: "-18px"
138
132
  },
139
133
  className: "cursor-pointer",
140
- src: J,
141
- onClick: () => m ? m() : alert("backFunc"),
134
+ src: te,
135
+ onClick: () => d ? d() : alert("backFunc"),
142
136
  alt: "back"
143
137
  }
144
138
  ),
145
139
  /* @__PURE__ */ e(
146
- u,
140
+ p,
147
141
  {
148
142
  sx: { ml: 4, mt: "-20px !important" },
149
143
  className: y["heading-text"],
@@ -152,22 +146,22 @@ import '../../../assets/index6.css';const fe = (r) => ({
152
146
  "Move ",
153
147
  r,
154
148
  " to ",
155
- n
149
+ a
156
150
  ] })
157
151
  }
158
152
  ),
159
- /* @__PURE__ */ s(p, { className: "container-padding text-center", children: [
160
- /* @__PURE__ */ s(u, { variant: "h5", children: [
153
+ /* @__PURE__ */ s(u, { className: "container-padding text-center", children: [
154
+ /* @__PURE__ */ s(p, { variant: "h5", children: [
161
155
  x,
162
156
  " ",
163
157
  r,
164
158
  " Balance: ",
165
159
  /* @__PURE__ */ e("strong", { children: H })
166
160
  ] }),
167
- /* @__PURE__ */ e(me, { sx: { mt: 6 }, fullWidth: !0, children: /* @__PURE__ */ e(
168
- de,
161
+ /* @__PURE__ */ e(j, { sx: { mt: 6 }, fullWidth: !0, children: /* @__PURE__ */ e(
162
+ $,
169
163
  {
170
- label: `Amount to Move to ${n}`,
164
+ label: `Amount to Move to ${a}`,
171
165
  value: b,
172
166
  fullWidth: !0,
173
167
  required: !0,
@@ -176,7 +170,7 @@ import '../../../assets/index6.css';const fe = (r) => ({
176
170
  }
177
171
  ) }),
178
172
  /* @__PURE__ */ e(
179
- u,
173
+ p,
180
174
  {
181
175
  className: "primary-text-color",
182
176
  sx: { mt: 6 },
@@ -186,7 +180,7 @@ import '../../../assets/index6.css';const fe = (r) => ({
186
180
  }
187
181
  ),
188
182
  /* @__PURE__ */ e(
189
- w,
183
+ T,
190
184
  {
191
185
  sx: { mt: 4 },
192
186
  onClick: q,
@@ -198,7 +192,7 @@ import '../../../assets/index6.css';const fe = (r) => ({
198
192
  ] })
199
193
  ] }) }),
200
194
  /* @__PURE__ */ s(
201
- he,
195
+ J,
202
196
  {
203
197
  open: V,
204
198
  fullWidth: !0,
@@ -210,58 +204,58 @@ import '../../../assets/index6.css';const fe = (r) => ({
210
204
  }
211
205
  },
212
206
  children: [
213
- !v && /* @__PURE__ */ e(
214
- ue,
207
+ !G && /* @__PURE__ */ e(
208
+ X,
215
209
  {
216
210
  "aria-label": "close",
217
211
  onClick: () => E(!1),
218
212
  className: y["close-btn"],
219
- children: /* @__PURE__ */ e(j, {})
213
+ children: /* @__PURE__ */ e(Z, {})
220
214
  }
221
215
  ),
222
- /* @__PURE__ */ s(pe, { sx: { py: 6 }, children: [
223
- /* @__PURE__ */ e(u, { className: "text-center", variant: "h5", children: /* @__PURE__ */ s("strong", { children: [
216
+ /* @__PURE__ */ s(Y, { sx: { py: 6 }, children: [
217
+ /* @__PURE__ */ e(p, { className: "text-center", variant: "h5", children: /* @__PURE__ */ s("strong", { children: [
224
218
  "Move to ",
225
- n,
219
+ a,
226
220
  " Confirmation"
227
221
  ] }) }),
228
- v ? /* @__PURE__ */ s(g, { children: [
222
+ G ? /* @__PURE__ */ s(g, { children: [
229
223
  /* @__PURE__ */ e(
230
- u,
224
+ p,
231
225
  {
232
226
  sx: { mt: 2, mb: 2 },
233
227
  className: "text-center",
234
228
  variant: "body1",
235
- children: v === "finished" ? /* @__PURE__ */ s(g, { children: [
229
+ children: G === "finished" ? /* @__PURE__ */ s(g, { children: [
236
230
  r,
237
231
  " has been successfully withdraw from ",
238
232
  x,
239
233
  " ",
240
234
  "to ",
241
- n,
235
+ a,
242
236
  "Network."
243
237
  ] }) : /* @__PURE__ */ s(g, { children: [
244
238
  r,
245
239
  " withdraw from ",
246
240
  x,
247
241
  " to ",
248
- n,
242
+ a,
249
243
  " network is currently ongoing. Please check balance after 2 minutes."
250
244
  ] })
251
245
  }
252
246
  ),
253
- /* @__PURE__ */ e(p, { sx: { px: { xs: 0, md: 12 } }, children: /* @__PURE__ */ e(
254
- w,
247
+ /* @__PURE__ */ e(u, { sx: { px: { xs: 0, md: 12 } }, children: /* @__PURE__ */ e(
248
+ T,
255
249
  {
256
250
  sx: { mt: 2 },
257
- onClick: () => m ? m() : E(!1),
251
+ onClick: () => d ? d() : E(!1),
258
252
  fullWidth: !0,
259
253
  children: /* @__PURE__ */ e("strong", { children: "Go Back" })
260
254
  }
261
255
  ) })
262
256
  ] }) : R ? /* @__PURE__ */ s(g, { children: [
263
257
  /* @__PURE__ */ e(
264
- u,
258
+ p,
265
259
  {
266
260
  sx: { mt: 2, mb: 2 },
267
261
  className: "text-center",
@@ -269,7 +263,7 @@ import '../../../assets/index6.css';const fe = (r) => ({
269
263
  children: "This transaction is under way, it is not yet completed, you can track status of transaction using Etherscan link provided."
270
264
  }
271
265
  ),
272
- /* @__PURE__ */ e(p, { sx: { textAlign: "center", mb: 2 }, children: /* @__PURE__ */ s(
266
+ /* @__PURE__ */ e(u, { sx: { textAlign: "center", mb: 2 }, children: /* @__PURE__ */ s(
273
267
  "a",
274
268
  {
275
269
  style: { wordBreak: "break-all" },
@@ -282,35 +276,35 @@ import '../../../assets/index6.css';const fe = (r) => ({
282
276
  ]
283
277
  }
284
278
  ) }),
285
- /* @__PURE__ */ e(p, { sx: { px: { xs: 0, md: 12 } }, children: /* @__PURE__ */ e(
286
- w,
279
+ /* @__PURE__ */ e(u, { sx: { px: { xs: 0, md: 12 } }, children: /* @__PURE__ */ e(
280
+ T,
287
281
  {
288
282
  sx: { mt: 2 },
289
- onClick: () => m ? m() : E(!1),
283
+ onClick: () => d ? d() : E(!1),
290
284
  fullWidth: !0,
291
285
  children: /* @__PURE__ */ e("strong", { children: "Go Back" })
292
286
  }
293
287
  ) })
294
- ] }) : /* @__PURE__ */ s(a, { mt: 4, container: !0, spacing: 2, sx: { padding: "0% 15%" }, children: [
295
- /* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Token Name" }) }),
296
- /* @__PURE__ */ e(a, { className: "fw500 text-right", size: 6, children: r }),
297
- /* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Amount" }) }),
298
- /* @__PURE__ */ e(a, { className: "fw500 text-right", size: 6, children: b }),
299
- /* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Wallet Address" }) }),
300
- /* @__PURE__ */ e(a, { className: "fw500 text-right", size: 6, children: $(l) }),
301
- /* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Gas Price" }) }),
302
- /* @__PURE__ */ s(a, { className: "fw500 text-right", size: 6, children: [
303
- ce(z(c) ?? ""),
288
+ ] }) : /* @__PURE__ */ s(n, { mt: 4, container: !0, spacing: 2, sx: { padding: "0% 15%" }, children: [
289
+ /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Token Name" }) }),
290
+ /* @__PURE__ */ e(n, { className: "fw500 text-right", size: 6, children: r }),
291
+ /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Amount" }) }),
292
+ /* @__PURE__ */ e(n, { className: "fw500 text-right", size: 6, children: b }),
293
+ /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Wallet Address" }) }),
294
+ /* @__PURE__ */ e(n, { className: "fw500 text-right", size: 6, children: ee(l) }),
295
+ /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Gas Price" }) }),
296
+ /* @__PURE__ */ s(n, { className: "fw500 text-right", size: 6, children: [
297
+ ue(B(c) ?? ""),
304
298
  " Gwei"
305
299
  ] }),
306
- /* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Max Transaction Fee" }) }),
307
- /* @__PURE__ */ s(a, { className: "fw500 text-right", size: 6, children: [
308
- le(L(c) ?? ""),
300
+ /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Max Transaction Fee" }) }),
301
+ /* @__PURE__ */ s(n, { className: "fw500 text-right", size: 6, children: [
302
+ pe(L(c) ?? ""),
309
303
  " ",
310
304
  "ETH"
311
305
  ] }),
312
306
  /* @__PURE__ */ e(
313
- w,
307
+ T,
314
308
  {
315
309
  sx: { mt: 4 },
316
310
  onClick: Q,
@@ -327,5 +321,5 @@ import '../../../assets/index6.css';const fe = (r) => ({
327
321
  ] });
328
322
  };
329
323
  export {
330
- ot as default
324
+ Ye as default
331
325
  };
@@ -1,32 +1,27 @@
1
- import { jsx as o, jsxs as a } from "react/jsx-runtime";
1
+ import { jsx as o, jsxs as t } from "react/jsx-runtime";
2
2
  import C from "react";
3
- import { c as b } from "../../../createSvgIcon-Cuzqm90l.js";
4
- import { B as p } from "../../../Box-B0YSYLco.js";
5
- import { B as M } from "../../../Button-Df4vgU24.js";
6
- import { A as h } from "../../../Avatar-1XklXr4O.js";
7
- import { T as m } from "../../../Typography-pAaje37G.js";
8
- import { M as I } from "../../../Menu-DLYFFrEk.js";
9
- import { M as k } from "../../../MenuItem-DUdYOJr4.js";
10
- const v = b(/* @__PURE__ */ o("path", {
3
+ import { Box as p, Button as b, Avatar as h, Typography as g, Menu as I, MenuItem as k } from "@mui/material";
4
+ import { c as v } from "../../../createSvgIcon-B28GrUxG.js";
5
+ const M = v(/* @__PURE__ */ o("path", {
11
6
  d: "M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"
12
7
  }), "ExpandMore");
13
- function z({
14
- list: e,
15
- iconUrl: f,
8
+ function B({
9
+ list: a,
10
+ iconUrl: u,
16
11
  value: r,
17
- setValue: g,
12
+ setValue: f,
18
13
  allText: l
19
14
  }) {
20
- const [c, i] = C.useState(null), u = !!c, x = (n) => {
15
+ const [c, i] = C.useState(null), x = !!c, m = (n) => {
21
16
  i(n.currentTarget);
22
- }, s = (n) => {
23
- i(null), typeof n == "string" && g(n);
24
- }, t = e.find((n) => n.label === r), d = f || (t == null ? void 0 : t.img);
25
- return /* @__PURE__ */ a(p, { display: "flex", alignItems: "center", justifyContent: "center", gap: 1, children: [
26
- /* @__PURE__ */ a(
27
- M,
17
+ }, d = (n) => {
18
+ i(null), typeof n == "string" && f(n);
19
+ }, e = a.find((n) => n.label === r), s = u || (e == null ? void 0 : e.img);
20
+ return /* @__PURE__ */ t(p, { display: "flex", alignItems: "center", justifyContent: "center", gap: 1, children: [
21
+ /* @__PURE__ */ t(
22
+ b,
28
23
  {
29
- onClick: x,
24
+ onClick: m,
30
25
  sx: {
31
26
  textTransform: "none",
32
27
  color: "#000",
@@ -36,26 +31,26 @@ function z({
36
31
  backgroundColor: "transparent"
37
32
  }
38
33
  },
39
- endIcon: /* @__PURE__ */ o(v, {}),
34
+ endIcon: /* @__PURE__ */ o(M, {}),
40
35
  children: [
41
- d && /* @__PURE__ */ o(
36
+ s && /* @__PURE__ */ o(
42
37
  h,
43
38
  {
44
- src: d,
39
+ src: s,
45
40
  alt: "dd-icon",
46
41
  sx: { width: 24, height: 24, marginRight: 1 }
47
42
  }
48
43
  ),
49
- /* @__PURE__ */ o(m, { variant: "body2", fontWeight: 500, children: r || l || "All" })
44
+ /* @__PURE__ */ o(g, { variant: "body2", fontWeight: 500, children: r || l || "All" })
50
45
  ]
51
46
  }
52
47
  ),
53
- /* @__PURE__ */ o(I, { anchorEl: c, open: u, onClose: () => s(null), children: e.map((n, y) => /* @__PURE__ */ o(
48
+ /* @__PURE__ */ o(I, { anchorEl: c, open: x, onClose: () => d(null), children: a.map((n, y) => /* @__PURE__ */ o(
54
49
  k,
55
50
  {
56
- onClick: () => s(n.value),
51
+ onClick: () => d(n.value),
57
52
  value: n.value,
58
- children: /* @__PURE__ */ a(p, { display: "flex", alignItems: "center", gap: 1, children: [
53
+ children: /* @__PURE__ */ t(p, { display: "flex", alignItems: "center", gap: 1, children: [
59
54
  n.img && /* @__PURE__ */ o(
60
55
  h,
61
56
  {
@@ -64,7 +59,7 @@ function z({
64
59
  sx: { width: 20, height: 20 }
65
60
  }
66
61
  ),
67
- /* @__PURE__ */ o(m, { variant: "body2", children: n.label })
62
+ /* @__PURE__ */ o(g, { variant: "body2", children: n.label })
68
63
  ] })
69
64
  },
70
65
  y
@@ -72,5 +67,5 @@ function z({
72
67
  ] });
73
68
  }
74
69
  export {
75
- z as default
70
+ B as default
76
71
  };