everest-npm-features 0.0.23 → 0.0.24

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 (244) hide show
  1. package/dist/{Alert-C1UNQHPD.js → Alert-CbQZ8Nii.js} +142 -116
  2. package/dist/{ArrowBack-Clp4i3dA.js → ArrowBack-BoYSBb8u.js} +1 -1
  3. package/dist/{ArrowDropDown-CoJNyIet.js → ArrowDropDown-BC_iEASy.js} +1 -1
  4. package/dist/{ArrowRight-DXtbS-1g.js → ArrowRight-rYkfGJuF.js} +1 -1
  5. package/dist/{Backdrop-DD6Ysl5O.js → Backdrop-CJBRZv_z.js} +106 -107
  6. package/dist/{Box-Be0E_-eR.js → Box-B12x52NC.js} +17 -16
  7. package/dist/Button-C57IMamW.js +660 -0
  8. package/dist/{ButtonBase-CE33gcZ6.js → ButtonBase-DugIO1pR.js} +194 -194
  9. package/dist/{Cancel-DEk2meuc.js → Cancel-D1JNu4Hj.js} +1 -1
  10. package/dist/{CardContent-B5tGyfc5.js → CardContent-CbObWW6t.js} +44 -45
  11. package/dist/{CheckCircle-BIckgNlV.js → CheckCircle-CyxKX1TY.js} +1 -1
  12. package/dist/{CircularProgress-fePUtoaj.js → CircularProgress-t8uGhLMo.js} +17 -17
  13. package/dist/{Close-D20PIPiF.js → Close-VV7zb3cu.js} +1 -1
  14. package/dist/{Close-Bj6AaxRi.js → Close-jnEgOCZv.js} +1 -1
  15. package/dist/{Container-CTfl6Vy4.js → Container-B3Af6Sc3.js} +20 -20
  16. package/dist/{ContentCopy-DzhD9ue3.js → ContentCopy-Ufwoeeov.js} +1 -1
  17. package/dist/DefaultPropsProvider-B2njZVNv.js +242 -0
  18. package/dist/DefaultPropsProvider-CZh8M2jM.js +351 -0
  19. package/dist/{Delete-BqqmGzYe.js → Delete-TCARcVtU.js} +1 -1
  20. package/dist/{DialogContent-D8jGp88c.js → DialogContent-DzidtXui.js} +202 -140
  21. package/dist/{DialogTitle-CxbjAJOw.js → DialogTitle-Bg61Hr7M.js} +23 -23
  22. package/dist/{Divider-D3PIEE97.js → Divider-Dy5hKfey.js} +31 -30
  23. package/dist/{ErrorOutline-CnwdlXPx.js → ErrorOutline-CI_ys3Zo.js} +1 -1
  24. package/dist/{FileDownload-BX69Jvdx.js → FileDownload-BcYF17B0.js} +1 -1
  25. package/dist/{FilledInput-n9W_V8GV.js → FilledInput-DrGeWgue.js} +352 -335
  26. package/dist/{FormControl-Cc-02KHW.js → FormControl-DeeQCuu5.js} +98 -81
  27. package/dist/{FormControlLabel-BEN9P8rJ.js → FormControlLabel-DVnrJkC8.js} +194 -165
  28. package/dist/GlobalStyles-DhHHc9O0.js +59 -0
  29. package/dist/Grid-BXyV_lM8.js +410 -0
  30. package/dist/Grow-B2p7O_1C.js +196 -0
  31. package/dist/{ownerDocument-C0GI-r2b.js → HTMLElementType-BrQSV2FE.js} +6 -6
  32. package/dist/IconButton-eWRhV6Q9.js +295 -0
  33. package/dist/{Info-83BXSu73.js → Info-D2UkGxyK.js} +1 -1
  34. package/dist/{InputAdornment-Ck_-Z38v.js → InputAdornment-BKuUMfPj.js} +14 -12
  35. package/dist/{Link-BqusVoz5.js → Link-Cm4BkRHO.js} +50 -49
  36. package/dist/{ListItemIcon-DIz-ZmJ0.js → ListItemIcon-GKRFb1Gr.js} +14 -13
  37. package/dist/{MenuItem-BkJ_C9Xs.js → MenuItem-CeCt0bfa.js} +46 -39
  38. package/dist/{Modal-CQcBtr07.js → Modal-csf3Y8d2.js} +265 -269
  39. package/dist/{Paper-B5pcGZbI.js → Paper-CnStNE24.js} +39 -38
  40. package/dist/{PlayArrow-1Y66tCVx.js → PlayArrow-DRCGjsrx.js} +1 -1
  41. package/dist/{Popper-CYsd-3n5.js → Popper-pPBEFLi4.js} +15 -15
  42. package/dist/{Portal-Bw0-5YJ9.js → Portal-CLa9CbMv.js} +36 -37
  43. package/dist/{RadioGroup-DtQqYrwU.js → RadioGroup-KiyYjXaT.js} +29 -28
  44. package/dist/{Select-DpKw-a6h.js → Select-Chubcks_.js} +1248 -933
  45. package/dist/{Slide-CdNJY-CT.js → Slide-DHG0r2gy.js} +68 -66
  46. package/dist/{Stack-C4POCZZb.js → Stack-CcR5RCg8.js} +41 -43
  47. package/dist/SwitchBase-CHO5ZceN.js +317 -0
  48. package/dist/{TextField-Cm9apaOp.js → TextField-q_SeLeNd.js} +144 -135
  49. package/dist/TransitionGroupContext-CYRQkQ6k.js +49 -0
  50. package/dist/{Typography-Ds4fpvK8.js → Typography-DBlMiOti.js} +39 -38
  51. package/dist/{auth-CR0412E5.js → auth-Bf9zHZ-x.js} +1 -1
  52. package/dist/{bank-iFS1RXp-.js → bank-BC4YNBRb.js} +3 -3
  53. package/dist/components/RocketRamp/MinimalKyc/form.js +9 -9
  54. package/dist/components/RocketRamp/MinimalKyc/index.js +1 -1
  55. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +7 -7
  56. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +7 -7
  57. package/dist/components/RocketRamp/Player/Buy/form.js +16 -16
  58. package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
  59. package/dist/components/RocketRamp/Player/Dashboard/balance.js +7 -7
  60. package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
  61. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +4 -4
  62. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +10 -10
  63. package/dist/components/RocketRamp/Player/Sell/form.js +16 -16
  64. package/dist/components/RocketRamp/Player/Sell/index.js +7 -7
  65. package/dist/components/RocketRamp/Player/SignIn/index.js +5 -5
  66. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +5 -5
  67. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +5 -5
  68. package/dist/components/RocketRamp/Player/SignUp/email.js +5 -5
  69. package/dist/components/RocketRamp/Player/SignUp/index.js +6 -6
  70. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +9 -9
  71. package/dist/components/RocketRamp/Player/SignUp/summary.js +3 -3
  72. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +3 -3
  73. package/dist/components/RocketRamp/ResetPassword/index.js +5 -5
  74. package/dist/components/RocketRamp/Shared/Button/index.js +2 -2
  75. package/dist/components/RocketRamp/Shared/Input/index.js +6 -6
  76. package/dist/components/RocketRamp/Shared/backBtn.js +3 -3
  77. package/dist/components/RocketRamp/Shared/transactionItem.js +5 -5
  78. package/dist/components/RocketRamp/Store/Dashboard/balance.js +6 -6
  79. package/dist/components/RocketRamp/Store/Dashboard/index.js +2 -2
  80. package/dist/components/RocketRamp/Store/Dashboard/stats.js +6 -6
  81. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +4 -4
  82. package/dist/components/RocketRamp/Store/SignUp/index.js +6 -6
  83. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +9 -9
  84. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +7 -7
  85. package/dist/components/RocketRamp/Store/SignUp/summary.js +3 -3
  86. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +3 -3
  87. package/dist/components/RocketRamp/Transactions/index.js +4 -4
  88. package/dist/components/Shared/FullKyc/index.js +4 -4
  89. package/dist/components/Shared/FullKyc/pep.js +9 -9
  90. package/dist/components/Shared/FullKyc/personalDetails.js +7 -7
  91. package/dist/components/Shared/FullKyc/userInfo.js +11 -11
  92. package/dist/components/Shared/HistoryItem/index.js +7 -7
  93. package/dist/components/Shared/Incode/index.js +5 -5
  94. package/dist/components/Shared/MinimalKyc/index.js +8 -8
  95. package/dist/components/Shared/loader.js +2 -2
  96. package/dist/components/Shared/tooltip.js +2 -2
  97. package/dist/components/Shared/transition.js +1 -1
  98. package/dist/components/Wallet/Account/createIban.d.ts +1 -0
  99. package/dist/components/Wallet/Account/createIban.js +36 -35
  100. package/dist/components/Wallet/Account/iban.d.ts +1 -0
  101. package/dist/components/Wallet/Account/iban.js +16 -16
  102. package/dist/components/Wallet/Account/index.d.ts +1 -0
  103. package/dist/components/Wallet/Account/index.js +76 -70
  104. package/dist/components/Wallet/Account/sendIban.js +61 -61
  105. package/dist/components/Wallet/Buy/confirmTransaction.js +7 -7
  106. package/dist/components/Wallet/Buy/form.d.ts +2 -2
  107. package/dist/components/Wallet/Buy/form.js +17 -17
  108. package/dist/components/Wallet/Buy/index.js +6 -6
  109. package/dist/components/Wallet/Deposit/index.js +7 -7
  110. package/dist/components/Wallet/EnterpriseKyc/edd.js +7 -7
  111. package/dist/components/Wallet/EnterpriseKyc/index.js +26 -24
  112. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +5 -5
  113. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +3 -3
  114. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +2 -2
  115. package/dist/components/Wallet/EnterpriseKyc/kycType.js +5 -5
  116. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +45 -44
  117. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3626 -100
  118. package/dist/components/Wallet/EnterpriseKyc/success.js +2 -2
  119. package/dist/components/Wallet/EnterpriseKyc/types.d.ts +0 -1
  120. package/dist/components/Wallet/EnterpriseKyc/verify.js +5 -5
  121. package/dist/components/Wallet/History/index.js +61 -62
  122. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +14 -14
  123. package/dist/components/Wallet/Portfolio/index.js +95 -95
  124. package/dist/components/Wallet/Portfolio/tokenRow.js +6 -6
  125. package/dist/components/Wallet/Profile/documents.js +17 -17
  126. package/dist/components/Wallet/Profile/index.js +225 -206
  127. package/dist/components/Wallet/Receive/index.js +9 -9
  128. package/dist/components/Wallet/Sell/confirmTransaction.js +7 -7
  129. package/dist/components/Wallet/Sell/form.js +17 -17
  130. package/dist/components/Wallet/Sell/index.js +6 -6
  131. package/dist/components/Wallet/Send/index.js +14 -14
  132. package/dist/components/Wallet/Shared/Auth/emailForm.js +3 -3
  133. package/dist/components/Wallet/Shared/Auth/otpForm.js +217 -10451
  134. package/dist/components/Wallet/Shared/CardPayment/index.js +4 -4
  135. package/dist/components/Wallet/Shared/ConnectWallet/index.js +9 -9
  136. package/dist/components/Wallet/Shared/Container/index.js +3 -3
  137. package/dist/components/Wallet/Shared/Input/index.js +1 -1
  138. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +9 -10
  139. package/dist/components/Wallet/Shared/Order/types.d.ts +23 -2
  140. package/dist/components/Wallet/Shared/TokenModal/index.js +11 -11
  141. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +4 -4
  142. package/dist/components/Wallet/Shared/addBank.js +11 -11
  143. package/dist/components/Wallet/Shared/appButton.js +5 -5
  144. package/dist/components/Wallet/Shared/backBtn.js +8 -8
  145. package/dist/components/Wallet/Shared/button.js +1 -1
  146. package/dist/components/Wallet/Shared/connectPlaidBank.js +5 -5
  147. package/dist/components/Wallet/Shared/inputField.js +1 -1
  148. package/dist/components/Wallet/Shared/noData.js +2 -2
  149. package/dist/components/Wallet/Shared/pin.js +3 -3
  150. package/dist/components/Wallet/Shared/radioButton.js +3 -3
  151. package/dist/components/Wallet/Shared/step.js +2 -2
  152. package/dist/components/Wallet/SignIn/index.js +2 -2
  153. package/dist/components/Wallet/SignUp/index.js +2 -2
  154. package/dist/components/Wallet/SignUp/terms.js +4 -4
  155. package/dist/components/Wallet/Stake/gems/index.js +11 -11
  156. package/dist/components/Wallet/Stake/id/index.js +12 -12
  157. package/dist/components/Wallet/Stake/index.js +10 -10
  158. package/dist/components/Wallet/Swap/index.js +138 -150
  159. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -3
  160. package/dist/components/Wallet/Withdraw/bankSelect.js +10 -10
  161. package/dist/components/Wallet/Withdraw/confirmTransaction.js +7 -7
  162. package/dist/components/Wallet/Withdraw/form.d.ts +2 -2
  163. package/dist/components/Wallet/Withdraw/form.js +16 -16
  164. package/dist/components/Wallet/Withdraw/index.js +5 -5
  165. package/dist/{constants-BJByDTQY.js → constants-CsMPRK0U.js} +285 -284
  166. package/dist/{createSvgIcon-C0wzKL72.js → createSvgIcon-CH41ZVFw.js} +58 -57
  167. package/dist/createTheme-DmGCMO09.js +3825 -0
  168. package/dist/{cryptoAssets-BcVSdM1C.js → cryptoAssets-CzNDY1j6.js} +1 -1
  169. package/dist/defaultTheme-9fAph5zo.js +5 -0
  170. package/dist/{dividerClasses-Cb_Is0-O.js → dividerClasses-DnbM--4s.js} +2 -2
  171. package/dist/{documents-HjBKq9qA.js → documents-CEeV8SyW.js} +16 -16
  172. package/dist/{Transition-CYSgg85A.js → elementAcceptingRef-BbsmdE_3.js} +109 -66
  173. package/dist/{elementTypeAcceptingRef-Bc1kRXA9.js → elementTypeAcceptingRef-CdmXUhJ8.js} +1 -1
  174. package/dist/{emotion-react.browser.esm-BjxI_t8k.js → emotion-react.browser.esm-C2mxoK1z.js} +42 -42
  175. package/dist/{extendSxProp-a8ZTL0ZI.js → extendSxProp-Bwha5fon.js} +1 -1
  176. package/dist/{fiatAssets-C_F8qNzr.js → fiatAssets-DVHfFafS.js} +1 -1
  177. package/dist/hoc/withThemeProvider.js +518 -417
  178. package/dist/hooks/useDialog/index.js +4 -4
  179. package/dist/hooks/useRrDialog/index.js +4 -4
  180. package/dist/hooks/useSnackBar.js +363 -288
  181. package/dist/{iban-Dh7qBGGc.js → iban-DRT7i0vb.js} +74 -85
  182. package/dist/icons/buyIcon.js +1 -1
  183. package/dist/icons/canceledBuyIcon.js +1 -1
  184. package/dist/icons/canceledRedeemIcon.js +1 -1
  185. package/dist/icons/failedBuyIcon.js +1 -1
  186. package/dist/icons/failedRedeemIcon.js +1 -1
  187. package/dist/icons/pendingBuyIcon.js +1 -1
  188. package/dist/icons/pendingRedeemIcon.js +1 -1
  189. package/dist/icons/redeemIcon.js +1 -1
  190. package/dist/index-BB3__zW3.js +644 -0
  191. package/dist/index-C86AoaoB.js +43 -0
  192. package/dist/{index-BFIhKqqi.js → index-C9uGghB8.js} +141 -133
  193. package/dist/{index-DkMQ44xy.js → index-DZ__IpVI.js} +19 -19
  194. package/dist/{index-B2OIoTNN.js → index-DxX5Mo0o.js} +18 -18
  195. package/dist/{index-CQe8cwpc.js → index-VE9lYjq3.js} +22 -22
  196. package/dist/index-eEYiDlpX.js +723 -0
  197. package/dist/{index-CtkDfW5M.js → index-x9CniyQB.js} +1 -1
  198. package/dist/{kyc-DJpiKj5d.js → kyc-BweeW6k9.js} +1 -1
  199. package/dist/main.js +6 -6
  200. package/dist/{order-DhUA-ZNX.js → order-DmTHC7ZG.js} +7 -7
  201. package/dist/{ownerWindow-iFlVse9X.js → ownerWindow-CRgpWY6I.js} +1 -1
  202. package/dist/pep-C5Ge-kU4.js +2691 -0
  203. package/dist/{radioButton-CdYLf2fc.js → radioButton-Bgy7Kxxo.js} +172 -121
  204. package/dist/refType-CaiGhRso.js +56 -0
  205. package/dist/{stake-DWRuAE1u.js → stake-B150utJI.js} +1 -1
  206. package/dist/tokenRow-BR8f4g7G.js +198 -0
  207. package/dist/{tooltip-CwdohO6q.js → tooltip-DGtrVEzU.js} +258 -235
  208. package/dist/useControlled-nm4pBabJ.js +31 -0
  209. package/dist/useEnhancedEffect-CJGo-L3B.js +5 -0
  210. package/dist/useSlot-DtSnboW7.js +125 -0
  211. package/dist/useSlotProps-D62tWbb1.js +25 -0
  212. package/dist/useTheme-Bfw5Gt1b.js +17 -0
  213. package/dist/{useTheme-BzIjfC6u.js → useTheme-XTDzJ69d.js} +3 -3
  214. package/dist/useThemeProps-lRuJRcRX.js +29 -0
  215. package/dist/wallet-DDW5KCHp.js +39 -0
  216. package/package.json +7 -6
  217. package/dist/Button-DCBtFwk3.js +0 -452
  218. package/dist/DefaultPropsProvider-5cxFAZuq.js +0 -647
  219. package/dist/DefaultPropsProvider-DOLtk4kZ.js +0 -88
  220. package/dist/GlobalStyles-O5U8h5ZQ.js +0 -23
  221. package/dist/Grid-BaaKMDwM.js +0 -501
  222. package/dist/Grid2-DX2sucnU.js +0 -374
  223. package/dist/Grow-CC3Va50c.js +0 -216
  224. package/dist/IconButton-8B2ygvr4.js +0 -238
  225. package/dist/SwitchBase-B9rcpVZ0.js +0 -261
  226. package/dist/TransitionGroupContext-BzyZRJGo.js +0 -37
  227. package/dist/createTheme-D_EHVLXp.js +0 -3662
  228. package/dist/defaultTheme-CGLnLLk_.js +0 -5
  229. package/dist/index-BEH1PkNC.js +0 -572
  230. package/dist/index-DSZxScyY.js +0 -704
  231. package/dist/index-DlZLKtdr.js +0 -72
  232. package/dist/pep-BsWvrgyM.js +0 -2600
  233. package/dist/resolveComponentProps-CPnCrKvI.js +0 -80
  234. package/dist/styled-CyBKg0N-.js +0 -5
  235. package/dist/tokenRow-QlGBYRKR.js +0 -206
  236. package/dist/useControlled-BYdyS7Pn.js +0 -31
  237. package/dist/useSlot-BdP6R4tz.js +0 -50
  238. package/dist/useTheme-BFI_g9FY.js +0 -9
  239. package/dist/useThemeProps-BOrAzOS4.js +0 -40
  240. package/dist/useThemeWithoutDefault-BWt80cCE.js +0 -12
  241. package/dist/useTimeout-_ag1gI7y.js +0 -56
  242. package/dist/utils-B-vKE_Dv.js +0 -50
  243. package/dist/utils-asicApOI.js +0 -21
  244. package/dist/wallet-z7NHqtCj.js +0 -35
@@ -1,80 +0,0 @@
1
- import { c as l } from "./DefaultPropsProvider-5cxFAZuq.js";
2
- function O(s) {
3
- return typeof s == "string";
4
- }
5
- function A(s, c, e) {
6
- return s === void 0 || O(s) ? c : {
7
- ...c,
8
- ownerState: {
9
- ...c.ownerState,
10
- ...e
11
- }
12
- };
13
- }
14
- function k(s, c = []) {
15
- if (s === void 0)
16
- return {};
17
- const e = {};
18
- return Object.keys(s).filter((n) => n.match(/^on[A-Z]/) && typeof s[n] == "function" && !c.includes(n)).forEach((n) => {
19
- e[n] = s[n];
20
- }), e;
21
- }
22
- function a(s) {
23
- if (s === void 0)
24
- return {};
25
- const c = {};
26
- return Object.keys(s).filter((e) => !(e.match(/^on[A-Z]/) && typeof s[e] == "function")).forEach((e) => {
27
- c[e] = s[e];
28
- }), c;
29
- }
30
- function R(s) {
31
- const {
32
- getSlotProps: c,
33
- additionalProps: e,
34
- externalSlotProps: n,
35
- externalForwardedProps: t,
36
- className: i
37
- } = s;
38
- if (!c) {
39
- const g = l(e == null ? void 0 : e.className, i, t == null ? void 0 : t.className, n == null ? void 0 : n.className), h = {
40
- ...e == null ? void 0 : e.style,
41
- ...t == null ? void 0 : t.style,
42
- ...n == null ? void 0 : n.style
43
- }, m = {
44
- ...e,
45
- ...t,
46
- ...n
47
- };
48
- return g.length > 0 && (m.className = g), Object.keys(h).length > 0 && (m.style = h), {
49
- props: m,
50
- internalRef: void 0
51
- };
52
- }
53
- const v = k({
54
- ...t,
55
- ...n
56
- }), E = a(n), H = a(t), f = c(v), y = l(f == null ? void 0 : f.className, e == null ? void 0 : e.className, i, t == null ? void 0 : t.className, n == null ? void 0 : n.className), N = {
57
- ...f == null ? void 0 : f.style,
58
- ...e == null ? void 0 : e.style,
59
- ...t == null ? void 0 : t.style,
60
- ...n == null ? void 0 : n.style
61
- }, u = {
62
- ...f,
63
- ...e,
64
- ...H,
65
- ...E
66
- };
67
- return y.length > 0 && (u.className = y), Object.keys(N).length > 0 && (u.style = N), {
68
- props: u,
69
- internalRef: f.ref
70
- };
71
- }
72
- function W(s, c, e) {
73
- return typeof s == "function" ? s(c, e) : s;
74
- }
75
- export {
76
- A as a,
77
- k as e,
78
- R as m,
79
- W as r
80
- };
@@ -1,5 +0,0 @@
1
- import { b as t } from "./DefaultPropsProvider-5cxFAZuq.js";
2
- const s = t();
3
- export {
4
- s
5
- };
@@ -1,206 +0,0 @@
1
- import { jsx as e, Fragment as p, jsxs as l } from "react/jsx-runtime";
2
- import { useState as b, Fragment as y } from "react";
3
- import { G as w } from "./generic-token-B_ptO5yb.js";
4
- import { A as G } from "./ArrowRight-DXtbS-1g.js";
5
- import { A as S } from "./ArrowDropDown-CoJNyIet.js";
6
- import { US_DOLLAR_ISO3 as o } from "./util/constants.js";
7
- import { numberFormat as N } from "./util/conversions.js";
8
- import { G as s } from "./Grid-BaaKMDwM.js";
9
- import { D } from "./Divider-D3PIEE97.js";
10
- import { B as W } from "./Button-DCBtFwk3.js";
11
- import './assets/tokenRow.css';const B = "_container_boumk_1", c = {
12
- container: B,
13
- "inner-container": "_inner-container_boumk_13",
14
- "portfolio-info": "_portfolio-info_boumk_27",
15
- "currency-toggle": "_currency-toggle_boumk_41",
16
- "profile-feat-btn": "_profile-feat-btn_boumk_65",
17
- "text-color": "_text-color_boumk_81",
18
- "dropdown-list-item": "_dropdown-list-item_boumk_89",
19
- "balance-item": "_balance-item_boumk_101",
20
- "crdt-links": "_crdt-links_boumk_119"
21
- }, q = ({
22
- token: t,
23
- currencyData: m,
24
- fiatBalance: h,
25
- isWithdraw: I,
26
- showExpanded: d,
27
- setMarketToken: u,
28
- inValidMarketTokenList: _,
29
- currency: n,
30
- currencySymbol: a,
31
- navigate: F
32
- }) => {
33
- const [x, R] = b(!1), [C, f] = b([]), v = async (r) => {
34
- d && r.wallets && (R((i) => !i), f(x ? [] : r.wallets));
35
- }, A = (r, i) => {
36
- r.stopPropagation(), F("/fiat/withdraw", i);
37
- }, T = (r) => {
38
- switch (r) {
39
- case "ID":
40
- return "Everest ID";
41
- case "CRDT":
42
- return m.label;
43
- default:
44
- return r;
45
- }
46
- }, g = (r, i) => {
47
- switch (r) {
48
- case "ETH":
49
- return { se: "eth_" + i };
50
- case "Mainnet ID":
51
- case "ID":
52
- return { se: "mainnetID_" + i };
53
- case "EverChain ID":
54
- return { se: "everchainID_" + i };
55
- case "CRDT":
56
- return { se: "crdt_" + i };
57
- default:
58
- return { se: r + "_" + i };
59
- }
60
- }, E = t.symbol.replace(".c", "");
61
- return /* @__PURE__ */ e(p, { children: /* @__PURE__ */ l(
62
- s,
63
- {
64
- className: `${c["balance-item"]} ${d ? "cursor-pointer" : ""}`,
65
- ...g(t.name, "bar"),
66
- onClick: () => v(t),
67
- rowSpacing: { xs: 2, md: 0 },
68
- container: !0,
69
- children: [
70
- /* @__PURE__ */ e(s, { item: !0, xs: 4, sx: { display: { xs: "flex", md: "none" } }, children: /* @__PURE__ */ e("strong", { children: "Token" }) }),
71
- /* @__PURE__ */ l(s, { className: "text-mob-right", item: !0, xs: 8, md: 5, children: [
72
- t.icon_uri ? /* @__PURE__ */ e(
73
- "img",
74
- {
75
- alt: "",
76
- src: t.icon_uri,
77
- onError: ({ currentTarget: r }) => {
78
- r.onerror = null, r.src = w;
79
- },
80
- width: 40,
81
- height: 40
82
- }
83
- ) : /* @__PURE__ */ e("img", { src: w, width: 40, height: 40 }),
84
- " ",
85
- /* @__PURE__ */ l("span", { className: c["text-color"], children: [
86
- /* @__PURE__ */ e("strong", { children: T(t.symbol) }),
87
- I && t.symbol === "EUR.c" ? /* @__PURE__ */ e("span", { className: c["crdt-links"], children: /* @__PURE__ */ e(
88
- "span",
89
- {
90
- className: "text-underline",
91
- onClick: (r) => A(r, t),
92
- children: "Withdraw"
93
- }
94
- ) }) : null
95
- ] })
96
- ] }),
97
- /* @__PURE__ */ e(s, { item: !0, xs: 4, sx: { display: { xs: "flex", md: "none" } }, children: /* @__PURE__ */ e("strong", { children: "Qty." }) }),
98
- /* @__PURE__ */ e(
99
- s,
100
- {
101
- className: "text-right fw500",
102
- item: !0,
103
- xs: 8,
104
- md: 2,
105
- title: t.balance,
106
- children: t.name === "CRDT" ? m.symbol + h : N(t.balance)
107
- }
108
- ),
109
- /* @__PURE__ */ e(s, { item: !0, xs: 6, sx: { display: { xs: "flex", md: "none" } }, children: /* @__PURE__ */ e("strong", { children: "Per Token" }) }),
110
- /* @__PURE__ */ l(
111
- s,
112
- {
113
- className: "text-right fw500",
114
- sx: { color: "#00B171" },
115
- item: !0,
116
- xs: 6,
117
- md: 2,
118
- children: [
119
- a,
120
- n === o ? t.usd_unit.toFixed(5) * 1 : t.eur_unit.toFixed(5) * 1
121
- ]
122
- }
123
- ),
124
- /* @__PURE__ */ e(s, { item: !0, xs: 6, sx: { display: { xs: "flex", md: "none" } }, children: /* @__PURE__ */ l("strong", { children: [
125
- "Value (",
126
- n,
127
- ")"
128
- ] }) }),
129
- /* @__PURE__ */ l(s, { className: "text-right fw500", item: !0, xs: 6, md: 2, children: [
130
- a,
131
- n === o ? t.balance_usd.toFixed(5) * 1 : t.balance_eur.toFixed(5) * 1
132
- ] }),
133
- d && /* @__PURE__ */ e(s, { className: "text-center-right", item: !0, xs: 12, md: 1, children: t.wallets && t.wallets.length > 0 ? /* @__PURE__ */ e("span", { className: c["text-color"], children: x ? /* @__PURE__ */ e(S, { sx: { fontSize: "35px" } }) : /* @__PURE__ */ e(G, { sx: { fontSize: "35px" } }) }) : null }),
134
- C.map((r, i) => /* @__PURE__ */ l(y, { children: [
135
- /* @__PURE__ */ e(D, { sx: { width: "100%" } }),
136
- /* @__PURE__ */ l(
137
- s,
138
- {
139
- container: !0,
140
- rowSpacing: { xs: 2, md: 0 },
141
- sx: { padding: "17px 0px" },
142
- children: [
143
- /* @__PURE__ */ e(s, { item: !0, xs: 4, sx: { display: { xs: "flex", md: "none" } }, children: /* @__PURE__ */ e("strong", { children: "Wallet" }) }),
144
- /* @__PURE__ */ e(s, { className: "text-mob-right", item: !0, xs: 8, md: 5, children: /* @__PURE__ */ e("span", { className: "wallet-token secondary-text-color", children: /* @__PURE__ */ e("strong", { children: r.walletName }) }) }),
145
- /* @__PURE__ */ e(s, { item: !0, xs: 4, sx: { display: { xs: "flex", md: "none" } }, children: /* @__PURE__ */ e("strong", { children: "Qty." }) }),
146
- /* @__PURE__ */ e(
147
- s,
148
- {
149
- className: "text-right fw500",
150
- item: !0,
151
- xs: 8,
152
- md: 2,
153
- title: r.balance,
154
- ...r.walletName === "EverWallet" && g(t.name, "everwallet_balance"),
155
- children: t.name === "CRDT" ? m.symbol + h : N(r.balance)
156
- }
157
- ),
158
- /* @__PURE__ */ e(s, { item: !0, xs: 6, sx: { display: { xs: "flex", md: "none" } }, children: /* @__PURE__ */ e("strong", { children: "Per Token" }) }),
159
- /* @__PURE__ */ l(
160
- s,
161
- {
162
- className: "text-right fw500",
163
- sx: { color: "#00B171" },
164
- item: !0,
165
- xs: 6,
166
- md: 2,
167
- children: [
168
- a,
169
- n === o ? t.usd_unit.toFixed(5) * 1 : t.eur_unit.toFixed(5) * 1
170
- ]
171
- }
172
- ),
173
- /* @__PURE__ */ e(s, { item: !0, xs: 6, sx: { display: { xs: "flex", md: "none" } }, children: /* @__PURE__ */ e("strong", { children: "Value" }) }),
174
- /* @__PURE__ */ l(s, { className: "text-right fw500", item: !0, xs: 6, md: 2, children: [
175
- a,
176
- n === o ? r.balance_usd.toFixed(5) * 1 : r.balance_eur.toFixed(5) * 1
177
- ] })
178
- ]
179
- }
180
- )
181
- ] }, i)),
182
- x && _ && !_.includes(E) ? /* @__PURE__ */ l(p, { children: [
183
- /* @__PURE__ */ e(D, { sx: { width: "100%", mt: 1 } }),
184
- /* @__PURE__ */ e(s, { container: !0, children: /* @__PURE__ */ e(s, { className: "flex-center", item: !0, xs: 12, children: /* @__PURE__ */ e(
185
- W,
186
- {
187
- onClick: () => u && u(t),
188
- className: "wallet-btn",
189
- variant: "contained",
190
- sx: {
191
- mt: 1,
192
- width: { xs: "70%", md: "30%" }
193
- },
194
- children: /* @__PURE__ */ e("strong", { children: "Market Info" })
195
- }
196
- ) }) })
197
- ] }) : ""
198
- ]
199
- },
200
- t.name
201
- ) });
202
- };
203
- export {
204
- q as T,
205
- c as s
206
- };
@@ -1,31 +0,0 @@
1
- import * as t from "react";
2
- function d({
3
- controlled: o,
4
- default: s,
5
- name: n,
6
- state: r = "value"
7
- }) {
8
- const {
9
- current: e
10
- } = t.useRef(o !== void 0), [c, l] = t.useState(s), u = e ? o : c;
11
- if (process.env.NODE_ENV !== "production") {
12
- t.useEffect(() => {
13
- e !== (o !== void 0) && console.error([`MUI: A component is changing the ${e ? "" : "un"}controlled ${r} state of ${n} to be ${e ? "un" : ""}controlled.`, "Elements should not switch from uncontrolled to controlled (or vice versa).", `Decide between using a controlled or uncontrolled ${n} element for the lifetime of the component.`, "The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.", "More info: https://fb.me/react-controlled-components"].join(`
14
- `));
15
- }, [r, n, o]);
16
- const {
17
- current: i
18
- } = t.useRef(s);
19
- t.useEffect(() => {
20
- !e && !Object.is(i, s) && console.error([`MUI: A component is changing the default ${r} state of an uncontrolled ${n} after being initialized. To suppress this warning opt to use a controlled ${n}.`].join(`
21
- `));
22
- }, [JSON.stringify(s)]);
23
- }
24
- const f = t.useCallback((i) => {
25
- e || l(i);
26
- }, []);
27
- return [u, f];
28
- }
29
- export {
30
- d as u
31
- };
@@ -1,50 +0,0 @@
1
- import { r as T, m as h, a as k } from "./resolveComponentProps-CPnCrKvI.js";
2
- import { u as E } from "./TransitionGroupContext-BzyZRJGo.js";
3
- function j(o, r) {
4
- const {
5
- className: S,
6
- elementType: P,
7
- ownerState: n,
8
- externalForwardedProps: w,
9
- getSlotOwnerState: s,
10
- internalForwardedProps: p,
11
- ...m
12
- } = r, {
13
- component: l,
14
- slots: t = {
15
- [o]: void 0
16
- },
17
- slotProps: O = {
18
- [o]: void 0
19
- },
20
- ...x
21
- } = w, a = t[o] || P, e = T(O[o], n), {
22
- props: {
23
- component: c,
24
- ...d
25
- },
26
- internalRef: y
27
- } = h({
28
- className: S,
29
- ...m,
30
- externalForwardedProps: o === "root" ? x : void 0,
31
- externalSlotProps: e
32
- }), F = E(y, e == null ? void 0 : e.ref, r.ref), f = s ? s(d) : {}, g = {
33
- ...n,
34
- ...f
35
- }, i = o === "root" ? c || l : c, u = k(a, {
36
- ...o === "root" && !l && !t[o] && p,
37
- ...o !== "root" && !t[o] && p,
38
- ...d,
39
- ...i && {
40
- as: i
41
- },
42
- ref: F
43
- }, g);
44
- return Object.keys(f).forEach((C) => {
45
- delete u[C];
46
- }), [a, u];
47
- }
48
- export {
49
- j as u
50
- };
@@ -1,9 +0,0 @@
1
- import { b as m } from "./createTheme-D_EHVLXp.js";
2
- import { u as t } from "./useThemeWithoutDefault-BWt80cCE.js";
3
- const r = m();
4
- function u(e = r) {
5
- return t(e);
6
- }
7
- export {
8
- u
9
- };
@@ -1,40 +0,0 @@
1
- import { d as m } from "./defaultTheme-CGLnLLk_.js";
2
- import { T as n } from "./createTheme-D_EHVLXp.js";
3
- import { r as p } from "./DefaultPropsProvider-DOLtk4kZ.js";
4
- import { u } from "./useTheme-BFI_g9FY.js";
5
- function f(o) {
6
- const {
7
- theme: e,
8
- name: r,
9
- props: t
10
- } = o;
11
- return !e || !e.components || !e.components[r] || !e.components[r].defaultProps ? t : p(e.components[r].defaultProps, t);
12
- }
13
- function a({
14
- props: o,
15
- name: e,
16
- defaultTheme: r,
17
- themeId: t
18
- }) {
19
- let s = u(r);
20
- return t && (s = s[t] || s), f({
21
- theme: s,
22
- name: e,
23
- props: o
24
- });
25
- }
26
- function P({
27
- props: o,
28
- name: e
29
- }) {
30
- return a({
31
- props: o,
32
- name: e,
33
- defaultTheme: m,
34
- themeId: n
35
- });
36
- }
37
- export {
38
- P as a,
39
- a as u
40
- };
@@ -1,12 +0,0 @@
1
- import * as n from "react";
2
- import { e as o } from "./createTheme-D_EHVLXp.js";
3
- function r(e) {
4
- return Object.keys(e).length === 0;
5
- }
6
- function s(e = null) {
7
- const t = n.useContext(o);
8
- return !t || r(t) ? e : t;
9
- }
10
- export {
11
- s as u
12
- };
@@ -1,56 +0,0 @@
1
- var o = Object.defineProperty;
2
- var a = (e, t, r) => t in e ? o(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
- var u = (e, t, r) => a(e, typeof t != "symbol" ? t + "" : t, r);
4
- import { P as c } from "./createTheme-D_EHVLXp.js";
5
- import * as n from "react";
6
- const i = typeof window < "u" ? n.useLayoutEffect : n.useEffect, T = c.oneOfType([c.func, c.object]);
7
- function h(e) {
8
- const t = n.useRef(e);
9
- return i(() => {
10
- t.current = e;
11
- }), n.useRef((...r) => (
12
- // @ts-expect-error hide `this`
13
- (0, t.current)(...r)
14
- )).current;
15
- }
16
- const f = {};
17
- function l(e, t) {
18
- const r = n.useRef(f);
19
- return r.current === f && (r.current = e(t)), r;
20
- }
21
- const d = [];
22
- function p(e) {
23
- n.useEffect(e, d);
24
- }
25
- class s {
26
- constructor() {
27
- u(this, "currentId", null);
28
- u(this, "clear", () => {
29
- this.currentId !== null && (clearTimeout(this.currentId), this.currentId = null);
30
- });
31
- u(this, "disposeEffect", () => this.clear);
32
- }
33
- static create() {
34
- return new s();
35
- }
36
- /**
37
- * Executes `fn` after `delay`, clearing any previously scheduled call.
38
- */
39
- start(t, r) {
40
- this.clear(), this.currentId = setTimeout(() => {
41
- this.currentId = null, r();
42
- }, t);
43
- }
44
- }
45
- function m() {
46
- const e = l(s.create).current;
47
- return p(e.disposeEffect), e;
48
- }
49
- export {
50
- s as T,
51
- m as a,
52
- h as b,
53
- l as c,
54
- T as r,
55
- i as u
56
- };
@@ -1,50 +0,0 @@
1
- import { P as c } from "./createTheme-D_EHVLXp.js";
2
- import { c as p } from "./chainPropTypes-D9lkm76m.js";
3
- import * as l from "react";
4
- function m(e) {
5
- const {
6
- prototype: n = {}
7
- } = e;
8
- return !!n.isReactComponent;
9
- }
10
- function u(e, n, t, o, r) {
11
- const a = e[n], f = r || n;
12
- if (a == null || // When server-side rendering React doesn't warn either.
13
- // This is not an accurate check for SSR.
14
- // This is only in place for Emotion compat.
15
- // TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
16
- typeof window > "u")
17
- return null;
18
- let i;
19
- const s = a.type;
20
- return typeof s == "function" && !m(s) && (i = "Did you accidentally use a plain function component for an element instead?"), i !== void 0 ? new Error(`Invalid ${o} \`${f}\` supplied to \`${t}\`. Expected an element that can hold a ref. ${i} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
21
- }
22
- const d = p(c.element, u);
23
- d.isRequired = p(c.element.isRequired, u);
24
- function R(e) {
25
- return !e || !/* @__PURE__ */ l.isValidElement(e) ? null : e.props.propertyIsEnumerable("ref") ? e.props.ref : (
26
- // @ts-expect-error element.ref is not included in the ReactElement type
27
- // We cannot check for it, but isValidElement is true at this point
28
- // https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/70189
29
- e.ref
30
- );
31
- }
32
- const w = (e) => e.scrollTop;
33
- function T(e, n) {
34
- const {
35
- timeout: t,
36
- easing: o,
37
- style: r = {}
38
- } = e;
39
- return {
40
- duration: r.transitionDuration ?? (typeof t == "number" ? t : t[n.mode] || 0),
41
- easing: r.transitionTimingFunction ?? (typeof o == "object" ? o[n.mode] : o),
42
- delay: r.transitionDelay
43
- };
44
- }
45
- export {
46
- T as a,
47
- d as e,
48
- R as g,
49
- w as r
50
- };
@@ -1,21 +0,0 @@
1
- function i({
2
- props: n,
3
- states: e,
4
- muiFormControl: f
5
- }) {
6
- return e.reduce((u, r) => (u[r] = n[r], f && typeof n[r] > "u" && (u[r] = f[r]), u), {});
7
- }
8
- function t(n) {
9
- return n != null && !(Array.isArray(n) && n.length === 0);
10
- }
11
- function l(n, e = !1) {
12
- return n && (t(n.value) && n.value !== "" || e && t(n.defaultValue) && n.defaultValue !== "");
13
- }
14
- function a(n) {
15
- return n.startAdornment;
16
- }
17
- export {
18
- l as a,
19
- i as f,
20
- a as i
21
- };
@@ -1,35 +0,0 @@
1
- import { U as a, j as e, k as t, l as E, m as A, n as T, o as l, p as o, q as S } from "./constants-BJByDTQY.js";
2
- const c = () => ({
3
- type: a
4
- }), L = () => ({
5
- type: e
6
- }), d = () => ({
7
- type: t
8
- }), p = () => ({
9
- type: E
10
- }), W = () => ({
11
- type: A
12
- }), n = (s) => ({
13
- type: o,
14
- payload: s
15
- }), y = (s) => ({
16
- type: T,
17
- payload: s
18
- }), R = (s) => ({
19
- type: S,
20
- payload: s
21
- }), C = (s) => ({
22
- type: l,
23
- payload: s
24
- });
25
- export {
26
- L as a,
27
- y as b,
28
- C as c,
29
- n as d,
30
- R as e,
31
- p as f,
32
- W as g,
33
- d as h,
34
- c as u
35
- };