everest-npm-features 0.0.1 → 0.0.3
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/ArrowDropDown-DRUQbGft.js +8 -0
- package/dist/ArrowRight-t-YgAHUn.js +8 -0
- package/dist/{Box-wAem3MQD.js → Box-BOgpENcC.js} +11 -11
- package/dist/{Button-fWdSk-yh.js → Button-DXdgxFxa.js} +8 -7
- package/dist/{ButtonBase-SYP7klDp.js → ButtonBase-AOLUTpPg.js} +204 -211
- package/dist/Cancel-BMPJ8ZAg.js +11 -0
- package/dist/CardContent-DEA5pnhr.js +141 -0
- package/dist/{CircularProgress-DcXA6nAu.js → CircularProgress-BAEiXRSn.js} +31 -30
- package/dist/Close-mXCsZSxZ.js +8 -0
- package/dist/{Container-CIMHcpEe.js → Container-BOehNoF1.js} +4 -4
- package/dist/{ContentCopy-CexUUXuC.js → ContentCopy-HD_Xx6nx.js} +1 -1
- package/dist/{createSimplePaletteValueFilter-CsgjlRAs.js → DefaultPropsProvider-DmUB0SYC.js} +54 -69
- package/dist/DefaultPropsProvider-tqUom3mB.js +329 -0
- package/dist/{DialogContent-JgT9A6nk.js → DialogContent-zttWtNJM.js} +91 -90
- package/dist/{Close-CdRA3xUs.js → DialogTitle-BqL8DXBp.js} +16 -21
- package/dist/{ArrowRight-C6tjImpU.js → Divider-EGEkrkBH.js} +50 -55
- package/dist/{FormControl-D4QuPCnV.js → FormControl-Nd-4LC8N.js} +60 -69
- package/dist/FormControlLabel-BMeMEwyK.js +738 -0
- package/dist/{GlobalStyles-BOnEiMUE.js → GlobalStyles-CModZHM-.js} +2 -2
- package/dist/{Grid-dtT_MVn3.js → Grid-EISqvBSJ.js} +5 -5
- package/dist/Grid2-B0mJbwjl.js +374 -0
- package/dist/{Grow-B3Swdn2Z.js → Grow-dkRwE_ok.js} +5 -5
- package/dist/{IconButton-CRGy76pJ.js → IconButton-DAR3jsEV.js} +12 -11
- package/dist/Info-CkE3Gsf2.js +8 -0
- package/dist/InputAdornment-DZJP9Njd.js +169 -0
- package/dist/ListItemIcon-JAntieDc.js +82 -0
- package/dist/{wallet-DN7ej6mj.js → MenuItem-D12FP5Iq.js} +64 -75
- package/dist/{Modal-0q_y4zbS.js → Modal-DceAu_d2.js} +324 -397
- package/dist/Paper-L8ipwfkc.js +183 -0
- package/dist/PlayArrow-D_p2nwO8.js +21 -0
- package/dist/Portal-DxdKGEvu.js +86 -0
- package/dist/{Select-BNAaKK32.js → Select-DTQDmdn_.js} +39 -33
- package/dist/{Slide-BlS6unRJ.js → Slide-CWqC2RDG.js} +4 -3
- package/dist/Stack-CkCveRRR.js +174 -0
- package/dist/{TextField-CPZo0_di.js → TextField-BqIvz6Zw.js} +23 -21
- package/dist/{Typography-kyxogyUq.js → Typography-Dx54MRM5.js} +14 -13
- package/dist/_commonjsHelpers-BkfeUUK-.js +28 -0
- package/dist/assets/index.css +1 -1
- package/dist/assets/index10.css +1 -0
- package/dist/assets/index2.css +1 -1
- package/dist/assets/index3.css +1 -0
- package/dist/assets/index4.css +1 -0
- package/dist/assets/index5.css +1 -0
- package/dist/assets/index6.css +1 -0
- package/dist/assets/index7.css +1 -0
- package/dist/assets/index8.css +1 -0
- package/dist/assets/index9.css +1 -0
- package/dist/assets/{withThemeProvider.css → main.css} +1 -1
- package/dist/assets/styles.css +1 -1
- package/dist/assets/styles3.css +1 -0
- package/dist/auth-DDk8JxR-.js +46 -0
- package/dist/axios-BEX6n2A7.js +796 -0
- package/dist/bank-BvPXd5sM.js +23 -0
- package/dist/components/Account/index.d.ts +4 -0
- package/dist/components/Account/index.js +310 -0
- package/dist/components/History/index.d.ts +2 -0
- package/dist/components/History/index.js +804 -0
- package/dist/components/MoveToEthereumOrEverChain/index.d.ts +18 -0
- package/dist/components/MoveToEthereumOrEverChain/index.js +345 -0
- package/dist/components/Profile/documents.js +19 -14
- package/dist/components/Profile/index.js +128 -135
- package/dist/components/Receive/index.js +25 -23
- package/dist/components/RocketRamp/Buy/cardPayment.d.ts +3 -0
- package/dist/components/RocketRamp/Buy/cardPayment.js +17 -0
- package/dist/components/RocketRamp/Buy/confirmTransaction.d.ts +3 -0
- package/dist/components/RocketRamp/Buy/confirmTransaction.js +16 -0
- package/dist/components/RocketRamp/Buy/form.d.ts +3 -0
- package/dist/components/RocketRamp/Buy/form.js +26 -0
- package/dist/components/RocketRamp/Buy/index.d.ts +6 -0
- package/dist/components/RocketRamp/Buy/index.js +31 -0
- package/dist/components/RocketRamp/Buy/types.d.ts +33 -0
- package/dist/components/RocketRamp/Buy/types.js +1 -0
- package/dist/components/RocketRamp/Dashboard/balance.d.ts +9 -0
- package/dist/components/RocketRamp/Dashboard/balance.js +75 -0
- package/dist/components/RocketRamp/Dashboard/index.d.ts +5 -0
- package/dist/components/RocketRamp/Dashboard/index.js +36 -0
- package/dist/components/RocketRamp/Dashboard/transaction.d.ts +8 -0
- package/dist/components/RocketRamp/Dashboard/transaction.js +28 -0
- package/dist/components/RocketRamp/MinimalKyc/index.d.ts +6 -0
- package/dist/components/RocketRamp/MinimalKyc/index.js +254 -0
- package/dist/components/RocketRamp/Shared/Button/index.d.ts +10 -0
- package/dist/components/RocketRamp/Shared/Button/index.js +82 -0
- package/dist/components/RocketRamp/Shared/Input/index.d.ts +11 -0
- package/dist/components/RocketRamp/Shared/Input/index.js +46 -0
- package/dist/components/RocketRamp/Shared/backBtn.d.ts +5 -0
- package/dist/components/RocketRamp/Shared/backBtn.js +21 -0
- package/dist/components/RocketRamp/Shared/transactionItem.d.ts +7 -0
- package/dist/components/RocketRamp/Shared/transactionItem.js +125 -0
- package/dist/components/RocketRamp/SignIn/index.d.ts +3 -0
- package/dist/components/RocketRamp/SignIn/index.js +82 -0
- package/dist/components/RocketRamp/SignIn/loginForm.d.ts +3 -0
- package/dist/components/RocketRamp/SignIn/loginForm.js +81 -0
- package/dist/components/RocketRamp/SignIn/otpForm.d.ts +3 -0
- package/dist/components/RocketRamp/SignIn/otpForm.js +112 -0
- package/dist/components/RocketRamp/SignIn/types.d.ts +22 -0
- package/dist/components/RocketRamp/SignIn/types.js +1 -0
- package/dist/components/RocketRamp/SignUp/email.d.ts +3 -0
- package/dist/components/RocketRamp/SignUp/email.js +70 -0
- package/dist/components/RocketRamp/SignUp/index.d.ts +3 -0
- package/dist/components/RocketRamp/SignUp/index.js +163 -0
- package/dist/components/RocketRamp/SignUp/personalInfo.d.ts +3 -0
- package/dist/components/RocketRamp/SignUp/personalInfo.js +415 -0
- package/dist/components/RocketRamp/SignUp/summary.d.ts +3 -0
- package/dist/components/RocketRamp/SignUp/summary.js +57 -0
- package/dist/components/RocketRamp/SignUp/types.d.ts +50 -0
- package/dist/components/RocketRamp/SignUp/types.js +1 -0
- package/dist/components/RocketRamp/SignUp/validateEmail.d.ts +3 -0
- package/dist/components/RocketRamp/SignUp/validateEmail.js +99 -0
- package/dist/components/RocketRamp/Transactions/index.d.ts +5 -0
- package/dist/components/RocketRamp/Transactions/index.js +38 -0
- package/dist/components/Send/index.js +62 -51
- package/dist/components/Shared/ConnectWallet/index.d.ts +20 -0
- package/dist/components/Shared/ConnectWallet/index.js +25364 -0
- package/dist/components/Shared/HistoryItem/index.d.ts +5 -0
- package/dist/components/Shared/HistoryItem/index.js +120 -0
- package/dist/components/Shared/Keyboard/keyboard.js +3 -3
- package/dist/components/Shared/TokenModal/index.d.ts +10 -0
- package/dist/components/Shared/TokenModal/index.js +104 -0
- package/dist/components/Shared/TokenModal/tokenGrid.d.ts +7 -0
- package/dist/components/Shared/TokenModal/tokenGrid.js +51 -0
- package/dist/components/Shared/addBank.d.ts +2 -0
- package/dist/components/Shared/addBank.js +172 -0
- package/dist/components/Shared/button.js +1 -1
- package/dist/components/Shared/connectPlaidBank.d.ts +2 -0
- package/dist/components/Shared/connectPlaidBank.js +57 -0
- package/dist/components/Shared/incode.js +34 -32
- package/dist/components/Shared/inputField.js +1 -1
- package/dist/components/Shared/noData.d.ts +4 -0
- package/dist/components/Shared/noData.js +14 -0
- package/dist/components/Shared/pin.js +3 -3
- package/dist/components/Shared/step.js +2 -2
- package/dist/components/Shared/tooltip.d.ts +4 -0
- package/dist/components/Shared/tooltip.js +2107 -0
- package/dist/components/Shared/transition.js +1 -1
- package/dist/components/SignIn/index.js +26 -24
- package/dist/components/SignUp/index.js +108 -348
- package/dist/components/SignUp/pin.js +116 -844
- package/dist/components/SignUp/privacy.js +3 -3
- package/dist/components/SignUp/terms.js +3 -3
- package/dist/components/SignUp/types.d.ts +0 -1
- package/dist/components/SignUp/userInfo.js +4 -4
- package/dist/components/Stake/gems/index.d.ts +2 -0
- package/dist/components/Stake/gems/index.js +214 -0
- package/dist/components/Stake/id/index.d.ts +2 -0
- package/dist/components/Stake/id/index.js +233 -0
- package/dist/components/Stake/index.d.ts +5 -0
- package/dist/components/Stake/index.js +346 -0
- package/dist/components/Swap/index.d.ts +2 -0
- package/dist/components/Swap/index.js +489 -0
- package/dist/components/SwapAndUniSwap/index.d.ts +3 -0
- package/dist/components/SwapAndUniSwap/index.js +43 -0
- package/dist/components/WalletPortfolio/index.js +191 -263
- package/dist/components/WalletPortfolio/tokenRow.js +8 -5
- package/dist/constants-SKm7VF9k.js +3982 -0
- package/dist/countries-BVn1FubK.js +1925 -0
- package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +17 -0
- package/dist/{createSvgIcon-CAZr4ukt.js → createSvgIcon-jkXneOQN.js} +6 -6
- package/dist/{createTheme-NrBCWesw.js → createTheme-F9Dk4FhK.js} +182 -174
- package/dist/data/countries.json.d.ts +1925 -0
- package/dist/defaultTheme-Bc00Q3Kt.js +5 -0
- package/dist/dividerClasses-SUAUDDqL.js +10 -0
- package/dist/{documents-CL4Ajr_B.js → documents-7w9u2Oig.js} +123 -122
- package/dist/elementTypeAcceptingRef-BufevUW8.js +23 -0
- package/dist/emotion-react.browser.esm-CI0uV1W5.js +233 -0
- package/dist/{extendSxProp-CuERe1TA.js → extendSxProp-Cm2UBzGf.js} +1 -1
- package/dist/generic-token-B_ptO5yb.js +4 -0
- package/dist/hoc/withThemeProvider.js +33 -32
- package/dist/hooks/useDialog/index.js +4 -4
- package/dist/hooks/useSnackBar.js +63 -60
- package/dist/icons/buyIcon.d.ts +2 -0
- package/dist/icons/buyIcon.js +19 -0
- package/dist/icons/canceledBuyIcon.d.ts +2 -0
- package/dist/icons/canceledBuyIcon.js +34 -0
- package/dist/icons/canceledRedeemIcon.d.ts +2 -0
- package/dist/icons/canceledRedeemIcon.js +35 -0
- package/dist/icons/failedBuyIcon.d.ts +2 -0
- package/dist/icons/failedBuyIcon.js +48 -0
- package/dist/icons/failedRedeemIcon.d.ts +2 -0
- package/dist/icons/failedRedeemIcon.js +48 -0
- package/dist/icons/pendingBuyIcon.d.ts +2 -0
- package/dist/icons/pendingBuyIcon.js +38 -0
- package/dist/icons/pendingRedeemIcon.d.ts +2 -0
- package/dist/icons/pendingRedeemIcon.js +34 -0
- package/dist/icons/redeemIcon.d.ts +2 -0
- package/dist/icons/redeemIcon.js +19 -0
- package/dist/index-B8QKlEgj.js +37095 -0
- package/dist/{index-Cq3eHOnB.js → index-BJlsh9ro.js} +1 -1
- package/dist/index-BhmBCie8.js +796 -0
- package/dist/index-C3FYdQkQ.js +4050 -0
- package/dist/index-CrajlEO_.js +576 -0
- package/dist/index-TElEjliR.js +9 -0
- package/dist/{index-iAyNk1r6.js → index-_kqRfgnc.js} +5 -5
- package/dist/index-ceeCtFuh.js +136 -0
- package/dist/index.esm-BsMAMhYW.js +237 -0
- package/dist/isFocusVisible-CPZqtjv2.js +12 -0
- package/dist/isMuiElement-DnSE4qG4.js +13 -0
- package/dist/main.d.ts +99 -0
- package/dist/main.js +34 -12
- package/dist/moment-h96o7c8I.js +2578 -0
- package/dist/order-CO4ra5N-.js +27 -0
- package/dist/ownerWindow-C-760D__.js +7 -0
- package/dist/providers/metaMask.d.ts +6 -0
- package/dist/providers/metaMask.js +24 -0
- package/dist/react-redux-B4BZippc.js +255 -0
- package/dist/react-webcam-B3cXh1XT.js +267 -0
- package/dist/resolveComponentProps-BdTgLKBb.js +80 -0
- package/dist/rr-primary-logo-CqI24c8v.js +4 -0
- package/dist/stake-DHpsHQbJ.js +17 -0
- package/dist/store.d.ts +66 -0
- package/dist/store.js +1 -0
- package/dist/styled-BTIMwpiX.js +5 -0
- package/dist/{styles.module-KeND8lCR.js → styles.module-6SB62f3J.js} +1 -1
- package/dist/styles.module-O5VVND5e.js +22 -0
- package/dist/tokenRow-CgnPD-4U.js +206 -0
- package/dist/useControlled-BYdyS7Pn.js +31 -0
- package/dist/useFormControl-CfmEP6sW.js +18 -0
- package/dist/useSlot-DaP6eodX.js +50 -0
- package/dist/useTheme-BghcbbEW.js +9 -0
- package/dist/{useTheme-nlj1B_-c.js → useTheme-c0OHvtiA.js} +3 -3
- package/dist/{useThemeProps-BqWuFW3z.js → useThemeProps-CV9AmzHf.js} +4 -4
- package/dist/{useThemeWithoutDefault-BdYkMk0o.js → useThemeWithoutDefault-D8MaPbCK.js} +1 -1
- package/dist/useTimeout-D29bZ7Gz.js +56 -0
- package/dist/user-CeKqBfJU.js +24 -0
- package/dist/util/constants.d.ts +48 -0
- package/dist/util/constants.js +69 -21
- package/dist/util/conversions.js +54 -22271
- package/dist/util/functions.d.ts +5 -0
- package/dist/util/functions.js +81 -24
- package/dist/util/regex.d.ts +3 -0
- package/dist/util/regex.js +6 -0
- package/dist/{utils-_FXWkn40.js → utils-EFg3So7T.js} +163 -168
- package/dist/wallet-BtAQ78cv.js +35 -0
- package/dist/web3-u4qDZYpo.js +22328 -0
- package/package.json +8 -3
- package/dist/DefaultPropsProvider-Y8MI-J-I.js +0 -555
- package/dist/__vite-browser-external-DYxpcVy9-DYxpcVy9.js +0 -4
- package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
- package/dist/auth-Cj5FKr_m.js +0 -19
- package/dist/axios-xPiQW9EP.js +0 -118114
- package/dist/defaultTheme-OIfL8Ia7.js +0 -5
- package/dist/dividerClasses-Z7VLlu5C.js +0 -10
- package/dist/index-DKTkUdik.js +0 -6
- package/dist/react-redux-VW99uJjf.js +0 -5908
- package/dist/react-webcam-Cov1TP0q.js +0 -639
- package/dist/styled-Da6GnxEE.js +0 -5
- package/dist/tokenRow-Cdd_jFjp.js +0 -206
- package/dist/useFormControl-Bo6Tf_xo.js +0 -46
- package/dist/useSlot-CURNJ3JC.js +0 -306
- package/dist/useTheme-DWRMvRU8.js +0 -9
- package/dist/useTimeout-lr7ryrda.js +0 -75
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const C = "data:image/svg+xml,%3csvg%20width='280'%20height='48'%20viewBox='0%200%20280%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M21.0212%2028.5901L40.3566%2048H26.2206L15.1515%2036.897L14.5083%2036.2471C13.9464%2035.631%2013.459%2034.954%2013.0595%2034.2432C12.1252%2032.6048%2011.6378%2030.7227%2011.6378%2028.8203C11.6378%2025.855%2012.7955%2023.0793%2014.8942%2020.9941C15.4629%2020.4186%2016.1196%2019.8906%2016.7763%2019.4843L33.5662%2010.0197H9.99944L0%200H29.7004C35.7867%200%2040.7425%204.94894%2040.7425%2011.0353C40.7425%2014.8942%2038.7859%2018.4011%2035.5227%2020.4118L21.0212%2028.5901Z'%20fill='%2300B74F'/%3e%3cpath%20d='M73.9638%2026.0309L74.2278%2025.9293C75.7917%2025.2997%2077.0577%2024.3248%2077.9987%2023.0452C78.9398%2021.7725%2079.4137%2020.2695%2079.4137%2018.5837C79.4137%2016.898%2079.021%2015.5372%2078.2425%2014.3118C77.4707%2013.0797%2076.3739%2012.1048%2075.0064%2011.4142C73.632%2010.7169%2072.0207%2010.3716%2070.2199%2010.3716H57.1198V37.1947H62.2718V26.7282H68.8523L74.2007%2037.1947H79.9485L73.9638%2026.0309ZM72.9415%2021.5152C72.1358%2022.2261%2071.0391%2022.5916%2069.7121%2022.5916H62.265V14.7383H69.7121C71.0391%2014.7383%2072.1291%2015.0971%2072.9415%2015.8148C73.7607%2016.5392%2074.1804%2017.5005%2074.1804%2018.6582C74.1804%2019.8159%2073.7607%2020.784%2072.9415%2021.5084V21.5152Z'%20fill='black'/%3e%3cpath%20d='M100.313%2022.0568C99.3923%2020.4997%2098.106%2019.254%2096.5015%2018.34C94.8902%2017.4328%2093.0758%2016.9724%2091.0989%2016.9724C89.1221%2016.9724%2087.3077%2017.4328%2085.6964%2018.34C84.0919%2019.254%2082.8123%2020.5064%2081.8848%2022.0568C80.9709%2023.6139%2080.5037%2025.3741%2080.5037%2027.2968C80.5037%2029.2196%2080.9776%2030.973%2081.9051%2032.5166C82.8394%2034.0669%2084.1257%2035.3059%2085.7167%2036.2131C87.3144%2037.127%2089.1221%2037.5874%2091.0989%2037.5874C93.0758%2037.5874%2094.924%2037.127%2096.5218%2036.2131C98.1195%2035.3059%2099.3923%2034.0602%20100.313%2032.5166C101.234%2030.973%20101.694%2029.2263%20101.694%2027.2968C101.694%2025.3674%20101.234%2023.6139%20100.313%2022.0568ZM96.2171%2030.4111C95.6891%2031.3386%2094.9782%2032.0901%2094.0981%2032.6317C93.218%2033.1733%2092.2025%2033.4509%2091.0922%2033.4509C89.9819%2033.4509%2089.0002%2033.1733%2088.1133%2032.6317C87.2197%2032.0901%2086.502%2031.3454%2085.9875%2030.4111C85.473%2029.4768%2085.2157%2028.4275%2085.2157%2027.2968C85.2157%2026.1662%2085.473%2025.083%2085.9875%2024.1691C86.502%2023.2483%2087.2129%2022.4968%2088.1065%2021.9485C89.0002%2021.3933%2090.0089%2021.109%2091.0922%2021.109C92.1754%2021.109%2093.218%2021.3933%2094.0981%2021.9485C94.9714%2022.4968%2095.6891%2023.2416%2096.2171%2024.1623C96.7452%2025.083%2097.0092%2026.1459%2097.0092%2027.2968C97.0092%2028.4478%2096.7452%2029.4768%2096.2171%2030.4111Z'%20fill='black'/%3e%3cpath%20d='M116.27%2032.8212C115.451%2033.2139%20114.55%2033.4102%20113.602%2033.4102C112.526%2033.4102%20111.517%2033.1462%20110.623%2032.6181C109.73%2032.0833%20109.019%2031.3454%20108.518%2030.4043C108.017%2029.4768%20107.766%2028.4275%20107.766%2027.2968C107.766%2026.1662%20108.017%2025.0492%20108.518%2024.1284C109.012%2023.2145%20109.703%2022.4698%20110.556%2021.9282C111.416%2021.3865%20112.404%2021.109%20113.487%2021.109C114.482%2021.109%20115.423%2021.3188%20116.276%2021.7386C117.048%2022.1177%20117.813%2022.6932%20118.531%2023.4514L121.462%2020.3507C120.454%2019.2946%20119.255%2018.4619%20117.901%2017.8864C116.473%2017.2839%20114.95%2016.9724%20113.372%2016.9724C111.422%2016.9724%20109.642%2017.4328%20108.071%2018.34C106.494%2019.2472%20105.241%2020.4997%20104.334%2022.0365C103.427%2023.5801%20102.966%2025.3471%20102.966%2027.2968C102.966%2029.2466%20103.427%2030.9865%20104.334%2032.5437C105.241%2034.1008%20106.5%2035.3397%20108.064%2036.2334C109.642%2037.1338%20111.422%2037.5874%20113.372%2037.5874C114.895%2037.5874%20116.378%2037.2692%20117.793%2036.6531C119.133%2036.0641%20120.318%2035.2585%20121.293%2034.2497L118.436%2031.2573C117.752%2031.9344%20117.021%2032.4557%20116.263%2032.8212H116.27Z'%20fill='black'/%3e%3cpath%20d='M133.039%2026.4305L142.375%2017.3653H137.047L127.907%2026.2613V9.5188L123.06%2010.3312V37.195H127.907V27.507L136.864%2037.195H143.005L133.039%2026.4237V26.4305Z'%20fill='black'/%3e%3cpath%20d='M161.603%2027.6895C161.603%2025.6517%20161.169%2023.8238%20160.323%2022.2193C159.477%2020.6283%20158.306%2019.3488%20156.843%2018.4145C155.374%2017.487%20153.675%2017.0131%20151.779%2017.0131C149.884%2017.0131%20148.144%2017.4735%20146.6%2018.3807C145.056%2019.2878%20143.818%2020.5335%20142.924%2022.0771C142.03%2023.6207%20141.577%2025.3742%20141.577%2027.2969C141.577%2029.2196%20142.044%2030.973%20142.978%2032.5166C143.912%2034.067%20145.205%2035.3059%20146.81%2036.2131C148.421%2037.1271%20150.236%2037.5874%20152.212%2037.5874C153.817%2037.5874%20155.273%2037.3572%20156.552%2036.8969C157.75%2036.4704%20158.949%2035.8001%20160.093%2034.8997L156.972%2032.0495C156.437%2032.5166%20155.807%2032.889%20155.083%2033.153C153.492%2033.7488%20151.461%2033.7826%20149.809%2033.0311C148.99%2032.652%20148.279%2032.1172%20147.731%2031.4334C147.175%2030.7632%20146.776%2029.9981%20146.532%2029.1519L146.438%2028.8337H161.596V27.6828L161.603%2027.6895ZM146.377%2025.5163L146.458%2025.2049C146.674%2024.3451%20147.027%2023.5801%20147.514%2022.9437C148.008%2022.3005%20148.604%2021.7996%20149.301%2021.4407C149.999%2021.0887%20150.791%2020.9059%20151.664%2020.9059C152.537%2020.9059%20153.296%2021.0955%20153.993%2021.461C154.677%2021.8266%20155.286%2022.3344%20155.794%2022.9775C156.302%2023.6207%20156.647%2024.3654%20156.836%2025.2117L156.904%2025.5163H146.377Z'%20fill='black'/%3e%3cpath%20d='M176.734%2021.3053V17.3651H170.912V11.0215L166.071%2012.1183V17.3651H161.894V21.3053H166.071V31.7177C166.071%2033.6134%20166.626%2035.0622%20167.723%2036.0303C168.827%2037.012%20170.506%2037.5062%20172.692%2037.5062C173.274%2037.5062%20173.972%2037.4588%20174.771%2037.3505C175.475%2037.2625%20176.084%2037.1406%20176.585%2036.9916V33.1192C176.179%2033.2478%20175.8%2033.3358%20175.454%2033.39C175.021%2033.4577%20174.527%2033.4847%20173.992%2033.4847C172.875%2033.4847%20172.096%2033.2681%20171.629%2032.8145C171.162%2032.3609%20170.925%2031.6297%20170.925%2030.621V21.3053H176.748H176.734Z'%20fill='black'/%3e%3cpath%20d='M196.151%2026.0309L196.415%2025.9293C197.978%2025.2997%20199.251%2024.3248%20200.192%2023.0452C201.127%2021.7725%20201.6%2020.2695%20201.6%2018.5837C201.6%2016.898%20201.208%2015.5372%20200.436%2014.3118C199.657%2013.0797%20198.561%2012.1048%20197.193%2011.4142C195.819%2010.7169%20194.208%2010.3716%20192.407%2010.3716H179.307V37.1947H184.465V26.7282H191.039L196.394%2037.1947H202.142L196.151%2026.0309ZM195.142%2021.5152C194.329%2022.2261%20193.239%2022.5916%20191.906%2022.5916H184.465V14.7383H191.906C193.239%2014.7383%20194.329%2015.0971%20195.142%2015.8148C195.961%2016.5392%20196.374%2017.5005%20196.374%2018.6582C196.374%2019.8159%20195.961%2020.784%20195.142%2021.5084V21.5152Z'%20fill='black'/%3e%3cpath%20d='M218.797%2018.8818C217.327%2017.6158%20215.235%2016.9659%20212.575%2016.9659C211.126%2016.9659%20209.65%2017.1486%20208.208%2017.5075C206.834%2017.846%20205.371%2018.3537%20203.868%2019.024L205.602%2022.5173C206.82%2021.9893%20207.917%2021.5898%20208.844%2021.3326C209.846%2021.055%20210.808%2020.9128%20211.688%2020.9128C213.143%2020.9128%20214.281%2021.2378%20215.053%2021.8674C215.838%2022.5173%20216.237%2023.4787%20216.237%2024.7176V26.5659L215.899%2026.4508C214.362%2025.9159%20212.717%2025.6451%20210.977%2025.6451C208.465%2025.6451%20206.475%2026.1732%20205.06%2027.2158C203.645%2028.2516%20202.954%2029.6801%20202.954%2031.5622C202.954%2032.7266%20203.252%2033.7692%20203.848%2034.6561C204.444%2035.5498%20205.283%2036.2674%20206.36%2036.7819C207.443%2037.2897%20208.709%2037.5537%20210.117%2037.5537C211.228%2037.5537%20212.277%2037.4116%20213.204%2037.134C214.132%2036.8564%20215.019%2036.4163%20215.824%2035.8138L216.231%2035.5092V37.2084H220.99V24.264C220.99%2021.9622%20220.259%2020.1546%20218.797%2018.8953V18.8818ZM216.231%2032.7808L216.122%2032.8553C215.506%2033.3156%20214.795%2033.6609%20214.01%2033.8843C213.238%2034.1145%20212.385%2034.2296%20211.478%2034.2296C210.314%2034.2296%20209.359%2033.9859%20208.641%2033.5052C207.897%2033.0042%20207.518%2032.3069%20207.518%2031.4336C207.518%2030.5602%20207.903%2029.8697%20208.662%2029.3687C209.393%2028.888%20210.408%2028.6443%20211.674%2028.6443C212.487%2028.6443%20213.272%2028.712%20213.99%2028.8406C214.701%2028.976%20215.398%2029.1723%20216.068%2029.4364L216.231%2029.5041V32.774V32.7808Z'%20fill='black'/%3e%3cpath%20d='M254.035%2020.7231C253.398%2019.5654%20252.505%2018.6311%20251.394%2017.9676C250.284%2017.3109%20248.964%2016.9724%20247.488%2016.9724C246.154%2016.9724%20244.915%2017.2297%20243.825%2017.7307C242.735%2018.2317%20241.767%2018.9696%20240.968%2019.931L240.752%2020.1815L240.562%2019.9107C239.912%2018.9899%20239.08%2018.252%20238.078%2017.7442C237.076%2017.2297%20235.918%2016.9724%20234.638%2016.9724C232.634%2016.9724%20230.908%2017.6088%20229.5%2018.8613L229.073%2019.2404V17.3651H224.233V37.2015H229.073V23.1197L229.121%2023.052C229.581%2022.4021%20230.163%2021.9011%20230.84%2021.5693C231.511%2021.2444%20232.276%2021.0751%20233.122%2021.0751C234.361%2021.0751%20235.363%2021.4949%20236.101%2022.3073C236.832%2023.1197%20237.197%2024.2435%20237.197%2025.6246V37.2015H242.045V24.8461C242.045%2024.5685%20242.031%2024.318%20242.004%2024.0946L241.916%2023.2957L241.97%2023.2212C242.465%2022.5104%20243.067%2021.9755%20243.764%2021.61C244.462%2021.2579%20245.247%2021.0751%20246.093%2021.0751C247.325%2021.0751%20248.341%2021.4881%20249.092%2022.3073C249.83%2023.1197%20250.21%2024.2368%20250.21%2025.6246V37.2015H255.01V24.8461C255.01%2023.2754%20254.691%2021.8943%20254.048%2020.7298L254.035%2020.7231Z'%20fill='black'/%3e%3cpath%20d='M277.784%2022.1313C276.884%2020.6013%20275.651%2019.3624%20274.142%2018.4552C272.625%2017.548%20270.912%2017.0944%20269.037%2017.0944C266.918%2017.0944%20265.029%2017.7308%20263.411%2018.99L263.005%2019.315V17.3652H258.239V45.1632H263.079V35.658L263.472%2035.9085C264.251%2036.4163%20265.117%2036.8022%20266.024%2037.0662C266.932%2037.3302%20267.893%2037.4656%20268.881%2037.4656C270.784%2037.4656%20272.524%2037.012%20274.067%2036.1184C275.611%2035.2247%20276.856%2033.9858%20277.764%2032.4625C278.671%2030.9392%20279.131%2029.1993%20279.131%2027.2969C279.131%2025.3945%20278.678%2023.6682%20277.784%2022.1313ZM273.546%2030.4315C273.004%2031.3522%20272.26%2032.0969%20271.325%2032.6385C270.398%2033.1734%20269.335%2033.451%20268.17%2033.451C267.182%2033.451%20266.227%2033.2682%20265.361%2032.9026C264.488%2032.5438%20263.743%2032.0563%20263.147%2031.4673L263.073%2031.3928V23.2552L263.14%2023.1875C263.763%2022.5105%20264.508%2021.9959%20265.368%2021.6574C266.207%2021.3257%20267.155%2021.1565%20268.17%2021.1565C269.328%2021.1565%20270.391%2021.4205%20271.325%2021.9486C272.253%2022.4766%20273.011%2023.2146%20273.546%2024.1488C274.087%2025.0831%20274.365%2026.146%20274.365%2027.3037C274.365%2028.4614%20274.087%2029.5243%20273.546%2030.4383V30.4315Z'%20fill='black'/%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
C as L
|
|
4
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { S as t, a, b as e, c as S } from "./constants-SKm7VF9k.js";
|
|
2
|
+
const T = () => ({
|
|
3
|
+
type: t
|
|
4
|
+
}), o = (s) => ({
|
|
5
|
+
type: S,
|
|
6
|
+
payload: s
|
|
7
|
+
}), _ = () => ({
|
|
8
|
+
type: a
|
|
9
|
+
}), p = () => ({
|
|
10
|
+
type: e
|
|
11
|
+
});
|
|
12
|
+
export {
|
|
13
|
+
_ as a,
|
|
14
|
+
o as b,
|
|
15
|
+
p as c,
|
|
16
|
+
T as s
|
|
17
|
+
};
|
package/dist/store.d.ts
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { CheckoutPaymentData, CryptoAssetPair, CryptoAssetToken, FiatAsset, Order, OrderCreateData, OrderEstimateData, OrderTypeData } from 'everest-npm-api';
|
|
2
|
+
export interface RocketRampAppState {
|
|
3
|
+
session: {
|
|
4
|
+
uuid: string | null;
|
|
5
|
+
token: string | null;
|
|
6
|
+
screen: number;
|
|
7
|
+
loader: boolean;
|
|
8
|
+
otpLoader: boolean;
|
|
9
|
+
error: string | null;
|
|
10
|
+
validationError: string;
|
|
11
|
+
destorySession: boolean;
|
|
12
|
+
};
|
|
13
|
+
user: {
|
|
14
|
+
profile: {
|
|
15
|
+
loader: boolean;
|
|
16
|
+
error: string;
|
|
17
|
+
everWalletAddress: string;
|
|
18
|
+
firstName: string;
|
|
19
|
+
lastName: string;
|
|
20
|
+
gender: string;
|
|
21
|
+
email: string;
|
|
22
|
+
countryCode: string;
|
|
23
|
+
phoneNumber: string;
|
|
24
|
+
region: string;
|
|
25
|
+
photoThumbnail: string;
|
|
26
|
+
residentialAddress: object;
|
|
27
|
+
referral: object;
|
|
28
|
+
twitterInfo: object;
|
|
29
|
+
referralCount: number;
|
|
30
|
+
identityDocuments: object[];
|
|
31
|
+
twitter: {
|
|
32
|
+
loader: boolean;
|
|
33
|
+
error: string;
|
|
34
|
+
message: string;
|
|
35
|
+
};
|
|
36
|
+
kyc: {
|
|
37
|
+
loader: boolean;
|
|
38
|
+
error: string | null;
|
|
39
|
+
minimal: boolean;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
fiatAssets: {
|
|
44
|
+
loader: boolean;
|
|
45
|
+
fiats: FiatAsset[];
|
|
46
|
+
};
|
|
47
|
+
cryptoAssets: {
|
|
48
|
+
loader: boolean;
|
|
49
|
+
tokens: CryptoAssetToken[];
|
|
50
|
+
pairs: CryptoAssetPair;
|
|
51
|
+
featureTokens: {
|
|
52
|
+
list: CryptoAssetToken[];
|
|
53
|
+
default: CryptoAssetToken;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
order: {
|
|
57
|
+
error: string;
|
|
58
|
+
loader: boolean;
|
|
59
|
+
list: Order[];
|
|
60
|
+
totalPages: number;
|
|
61
|
+
create: OrderCreateData;
|
|
62
|
+
estimate: OrderEstimateData;
|
|
63
|
+
payment: CheckoutPaymentData;
|
|
64
|
+
types: OrderTypeData[];
|
|
65
|
+
};
|
|
66
|
+
}
|
package/dist/store.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import './assets/styles.css';const t = "_container_18yz7_1", _ = "_active_18yz7_43", e = {
|
|
2
|
+
container: t,
|
|
3
|
+
"inner-container": "_inner-container_18yz7_15",
|
|
4
|
+
"sub-tabs": "_sub-tabs_18yz7_29",
|
|
5
|
+
active: _,
|
|
6
|
+
"sub-tabs-item": "_sub-tabs-item_18yz7_53",
|
|
7
|
+
"buy-sell-text": "_buy-sell-text_18yz7_65",
|
|
8
|
+
"heading-text": "_heading-text_18yz7_75",
|
|
9
|
+
"info-icon": "_info-icon_18yz7_89",
|
|
10
|
+
"button-icon": "_button-icon_18yz7_99",
|
|
11
|
+
"add-container": "_add-container_18yz7_109",
|
|
12
|
+
"move-id": "_move-id_18yz7_117",
|
|
13
|
+
"move-id-text": "_move-id-text_18yz7_131",
|
|
14
|
+
"move-btn": "_move-btn_18yz7_143",
|
|
15
|
+
"time-item": "_time-item_18yz7_167",
|
|
16
|
+
"item-1st": "_item-1st_18yz7_189",
|
|
17
|
+
"item-last": "_item-last_18yz7_199",
|
|
18
|
+
"stake-modal-content": "_stake-modal-content_18yz7_211"
|
|
19
|
+
};
|
|
20
|
+
export {
|
|
21
|
+
e as s
|
|
22
|
+
};
|
|
@@ -0,0 +1,206 @@
|
|
|
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-t-YgAHUn.js";
|
|
5
|
+
import { A as S } from "./ArrowDropDown-DRUQbGft.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-EISqvBSJ.js";
|
|
9
|
+
import { D } from "./Divider-EGEkrkBH.js";
|
|
10
|
+
import { B as W } from "./Button-DXdgxFxa.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
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as t from "react";
|
|
2
|
+
function i({
|
|
3
|
+
props: e,
|
|
4
|
+
states: u,
|
|
5
|
+
muiFormControl: r
|
|
6
|
+
}) {
|
|
7
|
+
return u.reduce((n, o) => (n[o] = e[o], r && typeof e[o] > "u" && (n[o] = r[o]), n), {});
|
|
8
|
+
}
|
|
9
|
+
const f = /* @__PURE__ */ t.createContext(void 0);
|
|
10
|
+
process.env.NODE_ENV !== "production" && (f.displayName = "FormControlContext");
|
|
11
|
+
function d() {
|
|
12
|
+
return t.useContext(f);
|
|
13
|
+
}
|
|
14
|
+
export {
|
|
15
|
+
f as F,
|
|
16
|
+
i as f,
|
|
17
|
+
d as u
|
|
18
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { r as T, m as h, a as k } from "./resolveComponentProps-BdTgLKBb.js";
|
|
2
|
+
import { u as E } from "./TransitionGroupContext-VwpFXTPO.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,7 +1,7 @@
|
|
|
1
1
|
import * as o from "react";
|
|
2
|
-
import { d as r } from "./defaultTheme-
|
|
3
|
-
import { T as m } from "./createTheme-
|
|
4
|
-
import { u as t } from "./useTheme-
|
|
2
|
+
import { d as r } from "./defaultTheme-Bc00Q3Kt.js";
|
|
3
|
+
import { T as m } from "./createTheme-F9Dk4FhK.js";
|
|
4
|
+
import { u as t } from "./useTheme-BghcbbEW.js";
|
|
5
5
|
function f() {
|
|
6
6
|
const e = t(r);
|
|
7
7
|
return process.env.NODE_ENV !== "production" && o.useDebugValue(e), e[m] || e;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as m } from "./defaultTheme-
|
|
2
|
-
import { T as n } from "./createTheme-
|
|
3
|
-
import { r as p } from "./DefaultPropsProvider-
|
|
4
|
-
import { u } from "./useTheme-
|
|
1
|
+
import { d as m } from "./defaultTheme-Bc00Q3Kt.js";
|
|
2
|
+
import { T as n } from "./createTheme-F9Dk4FhK.js";
|
|
3
|
+
import { r as p } from "./DefaultPropsProvider-tqUom3mB.js";
|
|
4
|
+
import { u } from "./useTheme-BghcbbEW.js";
|
|
5
5
|
function f(o) {
|
|
6
6
|
const {
|
|
7
7
|
theme: e,
|
|
@@ -0,0 +1,56 @@
|
|
|
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-F9Dk4FhK.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
|
+
l as b,
|
|
53
|
+
h as c,
|
|
54
|
+
T as r,
|
|
55
|
+
i as u
|
|
56
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { U as s, j as t, k as E, l as R, m as a, n as T } from "./constants-SKm7VF9k.js";
|
|
2
|
+
const U = () => ({
|
|
3
|
+
type: s
|
|
4
|
+
}), o = () => ({
|
|
5
|
+
type: t
|
|
6
|
+
}), r = () => ({
|
|
7
|
+
type: E
|
|
8
|
+
}), u = (e) => ({
|
|
9
|
+
type: R,
|
|
10
|
+
payload: e
|
|
11
|
+
}), p = (e) => ({
|
|
12
|
+
type: T,
|
|
13
|
+
payload: e
|
|
14
|
+
}), S = () => ({
|
|
15
|
+
type: a
|
|
16
|
+
});
|
|
17
|
+
export {
|
|
18
|
+
U as a,
|
|
19
|
+
o as b,
|
|
20
|
+
r as c,
|
|
21
|
+
u as d,
|
|
22
|
+
S as r,
|
|
23
|
+
p as u
|
|
24
|
+
};
|
package/dist/util/constants.d.ts
CHANGED
|
@@ -3,6 +3,23 @@ export declare const WIDGET_URL: string;
|
|
|
3
3
|
export declare const WALLET_IMAGES_URL: string;
|
|
4
4
|
export declare const BACK_BTN_ICON: string;
|
|
5
5
|
export declare const DELETE_ICON: string;
|
|
6
|
+
export declare const HISTORY_BUY_ICON: string;
|
|
7
|
+
export declare const HISTORY_SELL_ICON: string;
|
|
8
|
+
export declare const HISTORY_SWAP_ICON: string;
|
|
9
|
+
export declare const WALLET_ICON: string;
|
|
10
|
+
export declare const STAKE_ID_ICON: string;
|
|
11
|
+
export declare const STAKE_GEM_ICON: string;
|
|
12
|
+
export declare const ARROW_ICON: string;
|
|
13
|
+
export declare const SEPA_PAYMENT: string;
|
|
14
|
+
export declare const SEPA_PAYMENT_ACTIVE: string;
|
|
15
|
+
export declare const VISA_PAYMENT: string;
|
|
16
|
+
export declare const VISA_PAYMENT_ACTIVE: string;
|
|
17
|
+
export declare const SEPA_ICON: string;
|
|
18
|
+
export declare const VISA_ICON: string;
|
|
19
|
+
export declare const PAYMENT_PROVIDER_RAILSBANK = "railsbank";
|
|
20
|
+
export declare const PAYMENT_PROVIDER_OPENPAYD = "open_payd";
|
|
21
|
+
export declare const PAYMENT_PROVIDER_CHECKOUT = "checkout";
|
|
22
|
+
export declare const PAYMENT_PROVIDER_TRUST_PAYMENTS = "trustpayments";
|
|
6
23
|
export declare const US_DOLLAR_SIGN = "$";
|
|
7
24
|
export declare const EURO_SIGN = "\u20AC";
|
|
8
25
|
export declare const US_DOLLAR_ISO3 = "USD";
|
|
@@ -18,3 +35,34 @@ export declare const SYNTHETIC_EUR = "EUR.c";
|
|
|
18
35
|
export declare const BTC_TOKEN_SYMBOL = "BTC.c";
|
|
19
36
|
export declare const GEM_SYNTHETIC_TOKEN_SYMBOL = "GEMS.c";
|
|
20
37
|
export declare const ID_TOKEN_SYMBOL = "ID";
|
|
38
|
+
export declare const GEMS_TOKEN_SYMBOL = "GEMS";
|
|
39
|
+
export declare const FIAT_TO_TOKEN = "fiat_to_token";
|
|
40
|
+
export declare const FIAT_TO_EVER_ID = "fiat_to_everid";
|
|
41
|
+
export declare const TOKEN_TO_FIAT = "token_to_fiat";
|
|
42
|
+
export declare const TOKEN_TO_TOKEN = "token_to_token";
|
|
43
|
+
export declare const FIAT_WITHDRAW = "withdraw";
|
|
44
|
+
export declare const IBAN_CREATION = "iban_creation";
|
|
45
|
+
export declare const BANK_TRANSFER = "bank_transfer";
|
|
46
|
+
export declare const BANK_DEPOSIT = "bank_deposit";
|
|
47
|
+
export declare const TS_CREATED_LABEL = "Created";
|
|
48
|
+
export declare const TS_PENDING_LABEL = "In Process";
|
|
49
|
+
export declare const TS_COMPLETE_LABEL = "Completed";
|
|
50
|
+
export declare const TS_FAIL_LABEL = "Failed";
|
|
51
|
+
export declare const TS_WAIT_APPROVAL_LABEL = "Awaiting Approved";
|
|
52
|
+
export declare const TS_NOT_APPROVAL_LABEL = "Rejected";
|
|
53
|
+
export declare const ID_STAKE = "ID";
|
|
54
|
+
export declare const GEMS_STAKE = "GEMS";
|
|
55
|
+
export declare const STAKE_ID_MIN_DAYS = 90;
|
|
56
|
+
export declare const STAKE_ID_MIN_APY = 3;
|
|
57
|
+
export declare const STAKE_ID_MID_DAYS = 180;
|
|
58
|
+
export declare const STAKE_ID_MID_APY = 8;
|
|
59
|
+
export declare const STAKE_ID_MAX_DAYS = 365;
|
|
60
|
+
export declare const STAKE_ID_MAX_APY = 18;
|
|
61
|
+
export declare const STAKE_GEM_MAX_DAYS = 365;
|
|
62
|
+
export declare const STAKE_GEM_MAX_APY = 20;
|
|
63
|
+
export declare const LINKED_WALLET_TOOLTIP = "Linked Wallets make transactions easier, automating the signing process during Sell, Swap, Stake, Send and Remit transactions because you have backed up your Private Key with Everest.";
|
|
64
|
+
export declare const CONNECTED_WALLET_TOOLTIP = "Connected Wallets are those that you have demonstrated you control, but you must manually move tokens as the system can not do so without the Private Key.";
|
|
65
|
+
export declare const ESTIMATE_TOOLTIP_TEXT = "The rate shown here is an estimate and the rate you receive will be determined at the time when your payment is settled. The time taken for your payment to settle can vary depending on currency and payment method.";
|
|
66
|
+
export declare const RESEND_EMAIL_TIMER = 300;
|
|
67
|
+
export declare const PAYMENT_CARD = "credit_debit_card";
|
|
68
|
+
export declare const PAYMENT_BANK = "sepa_bank_transfer";
|