everest-npm-features 0.0.13 → 0.0.15

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 (234) hide show
  1. package/dist/{Alert-Da8Q-zA-.js → Alert-DleEulFt.js} +99 -100
  2. package/dist/ArrowBack-DlpUhUax.js +8 -0
  3. package/dist/{ArrowDropDown-CB41NDS2.js → ArrowDropDown-B4n-Or06.js} +1 -1
  4. package/dist/{ArrowRight-DplnroSW.js → ArrowRight-Dqbjrbq7.js} +1 -1
  5. package/dist/{Box-B1yq36Zl.js → Box-Dg5YL71c.js} +4 -4
  6. package/dist/{Button-RhIIYrVA.js → Button-URmXuR7L.js} +14 -15
  7. package/dist/{ButtonBase-nNQGsITG.js → ButtonBase-DMZ5Yya_.js} +5 -6
  8. package/dist/{Cancel-DRgf8LOx.js → Cancel-W4CL5EwJ.js} +1 -1
  9. package/dist/{CardContent-Dhm-V65j.js → CardContent-DK3Z3N6m.js} +31 -32
  10. package/dist/{CircularProgress-r4YDqPph.js → CircularProgress-BShHoQbM.js} +6 -7
  11. package/dist/{Close-wTvkGNu_.js → Close-Drz_1Cma.js} +1 -1
  12. package/dist/{Container-XaSeftCC.js → Container-DOt_WDG9.js} +4 -4
  13. package/dist/{ContentCopy-CWUuFnH9.js → ContentCopy-CSmkb1dz.js} +1 -1
  14. package/dist/DefaultPropsProvider-5tIQ66gk.js +88 -0
  15. package/dist/{styled-BYKS1WRW.js → DefaultPropsProvider-D1ZRCAhv.js} +167 -150
  16. package/dist/{Delete-DKVDR5no.js → Delete-BeH9eSuy.js} +1 -1
  17. package/dist/{DialogContent-B8RDX20F.js → DialogContent-CntTpnUi.js} +14 -15
  18. package/dist/{DialogTitle-B8V03qFK.js → DialogTitle-DUNaosnR.js} +12 -13
  19. package/dist/{Divider-CkBkaVNU.js → Divider-B-PuJDLx.js} +30 -31
  20. package/dist/ErrorOutline-D7__T0wX.js +8 -0
  21. package/dist/FilledInput-CAtG9Qdk.js +1299 -0
  22. package/dist/{FormControl-CEQUgsVH.js → FormControl-2O9G0Uio.js} +18 -20
  23. package/dist/{GlobalStyles-DHmHsV2_.js → GlobalStyles-DA0jAD4D.js} +2 -2
  24. package/dist/{Grid-BSyufPAS.js → Grid-D9MNL9_a.js} +5 -5
  25. package/dist/{Grid2-C3moy0LA.js → Grid2-CYB7zT__.js} +6 -6
  26. package/dist/{Grow-Dn6eK91k.js → Grow-h-Gdo-9N.js} +6 -6
  27. package/dist/{IconButton-C0cj2n1O.js → IconButton-C9zoz_co.js} +6 -7
  28. package/dist/{Info-DempPLhJ.js → Info--iLHF6tO.js} +1 -1
  29. package/dist/{InputAdornment-eHKIY-JA.js → InputAdornment-DjDZEW73.js} +21 -22
  30. package/dist/{FormControlLabel-BiWFmP1H.js → Link-C2epBeQ2.js} +470 -216
  31. package/dist/{ListItemIcon-DqTB0XEf.js → ListItemIcon-DnbnPcmb.js} +8 -9
  32. package/dist/{MenuItem-r5fG490P.js → MenuItem-CwNgel9B.js} +21 -22
  33. package/dist/{Modal-DfCWYujt.js → Modal-DArhlzWc.js} +14 -15
  34. package/dist/{Paper-6ulaCzyM.js → Paper-C3LLozy7.js} +36 -37
  35. package/dist/{PlayArrow-D_X2lBvS.js → PlayArrow-C5Pcs6y3.js} +4 -4
  36. package/dist/{Portal-D__M1zn-.js → Portal-85fqk2Oo.js} +3 -3
  37. package/dist/Select-D3_7Y7hs.js +2787 -0
  38. package/dist/{Slide-mtYUK7dK.js → Slide-BKeUzqUD.js} +5 -5
  39. package/dist/{Stack-D5Vxe6Co.js → Stack-DcyCfYaK.js} +5 -5
  40. package/dist/{TextField-MDDs13xT.js → TextField-q50CZQKQ.js} +29 -30
  41. package/dist/{Transition-ChuHjwtI.js → Transition-DMUpKF8t.js} +1 -1
  42. package/dist/{Typography-CxQIkv7u.js → Typography-D7sM-Gzr.js} +39 -40
  43. package/dist/assets/iban.css +1 -0
  44. package/dist/assets/index4.css +1 -1
  45. package/dist/assets/index5.css +1 -1
  46. package/dist/assets/index6.css +1 -1
  47. package/dist/assets/index7.css +1 -1
  48. package/dist/assets/index8.css +1 -1
  49. package/dist/assets/main.css +1 -1
  50. package/dist/{auth-Cu3kwR9I.js → auth-CmU-Oza0.js} +32 -28
  51. package/dist/bank-DLbq9Bzw.js +34 -0
  52. package/dist/components/RocketRamp/MinimalKyc/form.js +17 -18
  53. package/dist/components/RocketRamp/MinimalKyc/index.js +1 -1
  54. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +8 -7
  55. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +7 -7
  56. package/dist/components/RocketRamp/Player/Buy/form.js +15 -15
  57. package/dist/components/RocketRamp/Player/Buy/index.js +13 -27
  58. package/dist/components/RocketRamp/Player/Dashboard/balance.js +7 -7
  59. package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
  60. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +4 -4
  61. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +10 -10
  62. package/dist/components/RocketRamp/Player/Sell/form.js +15 -15
  63. package/dist/components/RocketRamp/Player/Sell/index.js +15 -17
  64. package/dist/components/RocketRamp/Player/SignIn/index.js +5 -5
  65. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +5 -5
  66. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +15 -15
  67. package/dist/components/RocketRamp/Player/SignUp/email.js +13 -13
  68. package/dist/components/RocketRamp/Player/SignUp/index.js +14 -14
  69. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +14 -15
  70. package/dist/components/RocketRamp/Player/SignUp/summary.js +3 -3
  71. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +3 -3
  72. package/dist/components/RocketRamp/ResetPassword/index.js +5 -5
  73. package/dist/components/RocketRamp/Shared/Button/index.js +2 -2
  74. package/dist/components/RocketRamp/Shared/Input/index.js +5 -5
  75. package/dist/components/RocketRamp/Shared/backBtn.js +3 -3
  76. package/dist/components/RocketRamp/Shared/transactionItem.js +5 -5
  77. package/dist/components/RocketRamp/Store/Dashboard/balance.js +6 -6
  78. package/dist/components/RocketRamp/Store/Dashboard/index.js +2 -2
  79. package/dist/components/RocketRamp/Store/Dashboard/stats.js +6 -6
  80. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +4 -4
  81. package/dist/components/RocketRamp/Store/SignUp/index.js +17 -17
  82. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +23 -24
  83. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +11 -11
  84. package/dist/components/RocketRamp/Store/SignUp/summary.js +3 -3
  85. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +3 -3
  86. package/dist/components/RocketRamp/Transactions/index.js +4 -4
  87. package/dist/components/Shared/HistoryItem/index.js +8 -8
  88. package/dist/components/Shared/MinimalKyc/index.d.ts +10 -0
  89. package/dist/components/Shared/MinimalKyc/index.js +222 -0
  90. package/dist/components/Shared/tooltip.js +20 -21
  91. package/dist/components/Shared/transition.js +1 -1
  92. package/dist/components/Wallet/Account/createIban.d.ts +11 -0
  93. package/dist/components/Wallet/Account/createIban.js +302 -0
  94. package/dist/components/Wallet/Account/iban.d.ts +13 -0
  95. package/dist/components/Wallet/Account/iban.js +27 -0
  96. package/dist/components/Wallet/Account/index.d.ts +3 -0
  97. package/dist/components/Wallet/Account/index.js +174 -173
  98. package/dist/components/Wallet/Account/sendIban.d.ts +9 -0
  99. package/dist/components/Wallet/Account/sendIban.js +270 -0
  100. package/dist/components/Wallet/Buy/confirmTransaction.d.ts +3 -0
  101. package/dist/components/Wallet/Buy/confirmTransaction.js +16 -0
  102. package/dist/components/Wallet/Buy/form.d.ts +3 -0
  103. package/dist/components/Wallet/Buy/form.js +27 -0
  104. package/dist/components/Wallet/Buy/index.d.ts +7 -0
  105. package/dist/components/Wallet/Buy/index.js +24 -0
  106. package/dist/components/Wallet/Buy/types.d.ts +35 -0
  107. package/dist/components/Wallet/History/index.js +40 -41
  108. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +61 -63
  109. package/dist/components/Wallet/Portfolio/index.js +14 -14
  110. package/dist/components/Wallet/Portfolio/tokenRow.js +6 -6
  111. package/dist/components/Wallet/Profile/documents.js +19 -18
  112. package/dist/components/Wallet/Profile/index.js +20 -21
  113. package/dist/components/Wallet/Receive/index.js +13 -13
  114. package/dist/components/Wallet/Send/index.js +172 -175
  115. package/dist/components/Wallet/Shared/Auth/emailForm.d.ts +3 -0
  116. package/dist/components/Wallet/Shared/Auth/emailForm.js +95 -0
  117. package/dist/components/Wallet/{SignIn → Shared/Auth}/otpForm.d.ts +1 -1
  118. package/dist/components/Wallet/{SignIn → Shared/Auth}/otpForm.js +759 -744
  119. package/dist/components/Wallet/Shared/Auth/types.d.ts +22 -0
  120. package/dist/components/Wallet/Shared/CardPayment/index.d.ts +9 -0
  121. package/dist/components/Wallet/Shared/CardPayment/index.js +217 -0
  122. package/dist/components/Wallet/Shared/ConnectWallet/index.js +9 -9
  123. package/dist/components/Wallet/Shared/Container/index.d.ts +5 -0
  124. package/dist/components/Wallet/Shared/Container/index.js +35 -7
  125. package/dist/components/Wallet/Shared/Input/index.d.ts +2 -2
  126. package/dist/components/Wallet/Shared/Input/index.js +1 -1
  127. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +3 -3
  128. package/dist/components/Wallet/Shared/TokenModal/index.d.ts +2 -1
  129. package/dist/components/Wallet/Shared/TokenModal/index.js +140 -81
  130. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.d.ts +2 -1
  131. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +68 -32
  132. package/dist/components/Wallet/Shared/addBank.js +18 -19
  133. package/dist/components/Wallet/Shared/appButton.js +8 -7
  134. package/dist/components/Wallet/Shared/backBtn.d.ts +7 -0
  135. package/dist/components/Wallet/Shared/backBtn.js +26 -0
  136. package/dist/components/Wallet/Shared/button.js +1 -1
  137. package/dist/components/Wallet/Shared/connectPlaidBank.js +9 -9
  138. package/dist/components/Wallet/Shared/inputField.js +1 -1
  139. package/dist/components/Wallet/Shared/noData.js +2 -2
  140. package/dist/components/Wallet/Shared/pin.js +44 -45
  141. package/dist/components/Wallet/Shared/step.js +2 -2
  142. package/dist/components/Wallet/SignIn/index.d.ts +4 -1
  143. package/dist/components/Wallet/SignIn/index.js +46 -41
  144. package/dist/components/Wallet/SignUp/index.d.ts +4 -1
  145. package/dist/components/Wallet/SignUp/index.js +62 -148
  146. package/dist/components/Wallet/SignUp/terms.d.ts +6 -1
  147. package/dist/components/Wallet/SignUp/terms.js +564 -521
  148. package/dist/components/Wallet/Stake/gems/index.js +10 -10
  149. package/dist/components/Wallet/Stake/id/index.js +11 -11
  150. package/dist/components/Wallet/Stake/index.js +107 -109
  151. package/dist/components/Wallet/Swap/index.js +38 -38
  152. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -3
  153. package/dist/{constants-D38Lq3Gf.js → constants-BxUb35pS.js} +770 -762
  154. package/dist/{createSvgIcon-B-WJiCyS.js → createSvgIcon-COsBZ0xr.js} +16 -17
  155. package/dist/{createTheme-D7ZVbreR.js → createTheme-BlT11X6w.js} +18 -18
  156. package/dist/data/ibanSupportedCountries.json.d.ts +165 -0
  157. package/dist/defaultTheme-CZjF3GyS.js +5 -0
  158. package/dist/{dividerClasses-CfCLFJYf.js → dividerClasses-CgHFbM2R.js} +2 -2
  159. package/dist/{documents-DVHeHzYW.js → documents-vQr89AXc.js} +70 -72
  160. package/dist/{elementTypeAcceptingRef-BnAvBdPm.js → elementTypeAcceptingRef-DFRaouxA.js} +1 -1
  161. package/dist/{emotion-react.browser.esm-DdTR1jdg.js → emotion-react.browser.esm-C7P8sPuT.js} +1 -1
  162. package/dist/{extendSxProp-Comp6o-L.js → extendSxProp-3dFKe0G7.js} +1 -1
  163. package/dist/{fiatAssets-BtFCh7XL.js → fiatAssets-DxmFUAAP.js} +1 -1
  164. package/dist/hoc/withThemeProvider.js +5 -5
  165. package/dist/hooks/useDialog/index.js +5 -5
  166. package/dist/hooks/useRrDialog/index.js +5 -5
  167. package/dist/hooks/useSnackBar.js +49 -50
  168. package/dist/iban-DAFjqLmj.js +287 -0
  169. package/dist/icons/buyIcon.js +1 -1
  170. package/dist/icons/canceledBuyIcon.js +1 -1
  171. package/dist/icons/canceledRedeemIcon.js +1 -1
  172. package/dist/icons/failedBuyIcon.js +1 -1
  173. package/dist/icons/failedRedeemIcon.js +1 -1
  174. package/dist/icons/pendingBuyIcon.js +1 -1
  175. package/dist/icons/pendingRedeemIcon.js +1 -1
  176. package/dist/icons/redeemIcon.js +1 -1
  177. package/dist/{index-CclNYr-5.js → index-BgFigcmK.js} +28 -30
  178. package/dist/index-BlfNAYSo.js +709 -0
  179. package/dist/{index-BWrkryN2.js → index-CpZl5h1a.js} +105 -120
  180. package/dist/{index-Ccqf2Toa.js → index-D1vZejb1.js} +1 -1
  181. package/dist/index-DQaPU81n.js +12 -0
  182. package/dist/{index-C5R9IxNT.js → index-Dbxu0EJ1.js} +5 -5
  183. package/dist/main.d.ts +1 -0
  184. package/dist/main.js +33 -31
  185. package/dist/order-BQ_jdcYA.js +34 -0
  186. package/dist/{ownerWindow-C-HsSAwf.js → ownerWindow-D0iDQewC.js} +1 -1
  187. package/dist/{resolveComponentProps-C0xVjN-P.js → resolveComponentProps-B1Ir_BWp.js} +1 -1
  188. package/dist/{stake-CZ4lKUzr.js → stake-Dtv26Vtt.js} +1 -1
  189. package/dist/store.d.ts +110 -1
  190. package/dist/styled-Cr0V7wv6.js +5 -0
  191. package/dist/{tokenRow-CwrQuRko.js → tokenRow-BayFN7xo.js} +5 -5
  192. package/dist/{useSlot-BYvj2z3P.js → useSlot-BnuaST7x.js} +1 -1
  193. package/dist/{useTheme-B0HI0zls.js → useTheme-TES7dz5C.js} +3 -3
  194. package/dist/useTheme-ZWavQ1Dn.js +9 -0
  195. package/dist/{useThemeProps-Bco8C5pK.js → useThemeProps-0PI3aKLE.js} +4 -4
  196. package/dist/{useThemeWithoutDefault-SUq3mml8.js → useThemeWithoutDefault-Dv5V_IG8.js} +1 -1
  197. package/dist/{useTimeout-BRv01uOR.js → useTimeout-By20Crr8.js} +1 -1
  198. package/dist/user-D0iWvS_0.js +24 -0
  199. package/dist/util/constants.d.ts +3 -0
  200. package/dist/util/constants.js +58 -55
  201. package/dist/{utils-SiGFS2N1.js → utils-D3CNVkXx.js} +1 -1
  202. package/dist/{wallet-CVI52pN9.js → wallet-WO2ijYZw.js} +6 -6
  203. package/package.json +2 -2
  204. package/dist/DefaultPropsProvider-Cb_d0Ryo.js +0 -56
  205. package/dist/DefaultPropsProvider-DoWGMc0K.js +0 -22
  206. package/dist/Link-Bhe2EFdu.js +0 -264
  207. package/dist/Select-zFqetNpN.js +0 -4054
  208. package/dist/assets/styles3.css +0 -1
  209. package/dist/bank-DwjNuNPP.js +0 -23
  210. package/dist/components/Wallet/SignIn/loginForm.d.ts +0 -3
  211. package/dist/components/Wallet/SignIn/loginForm.js +0 -79
  212. package/dist/components/Wallet/SignIn/types.d.ts +0 -21
  213. package/dist/components/Wallet/SignUp/biometric.d.ts +0 -3
  214. package/dist/components/Wallet/SignUp/biometric.js +0 -37
  215. package/dist/components/Wallet/SignUp/pin.d.ts +0 -3
  216. package/dist/components/Wallet/SignUp/pin.js +0 -222
  217. package/dist/components/Wallet/SignUp/privacy.d.ts +0 -2
  218. package/dist/components/Wallet/SignUp/privacy.js +0 -259
  219. package/dist/components/Wallet/SignUp/types.d.ts +0 -53
  220. package/dist/components/Wallet/SignUp/userInfo.d.ts +0 -3
  221. package/dist/components/Wallet/SignUp/userInfo.js +0 -47
  222. package/dist/defaultTheme-Clb-EQO9.js +0 -5
  223. package/dist/dialog-success-BDNJV4Tk.js +0 -4
  224. package/dist/index-TElEjliR.js +0 -9
  225. package/dist/order-Bx7J32xK.js +0 -30
  226. package/dist/pin-empty-D9665KFr.js +0 -6
  227. package/dist/resolveProps-D44T7GAU.js +0 -35
  228. package/dist/styled-DBwgKxfn.js +0 -5
  229. package/dist/styles.module-6SB62f3J.js +0 -9
  230. package/dist/useFormControl-CfmEP6sW.js +0 -18
  231. package/dist/useTheme-tAPc7SsX.js +0 -9
  232. package/dist/user-DkUg7KuC.js +0 -24
  233. /package/dist/components/Wallet/{SignIn → Buy}/types.js +0 -0
  234. /package/dist/components/Wallet/{SignUp → Shared/Auth}/types.js +0 -0
@@ -0,0 +1,27 @@
1
+ import "react/jsx-runtime";
2
+ import "react";
3
+ import "../../../Info--iLHF6tO.js";
4
+ import "../../../Close-Drz_1Cma.js";
5
+ import "../../../ContentCopy-CSmkb1dz.js";
6
+ import "../../../util/constants.js";
7
+ import "../../../constants-BxUb35pS.js";
8
+ import "../../../order-BQ_jdcYA.js";
9
+ import "../../../bank-DLbq9Bzw.js";
10
+ import "../../Shared/tooltip.js";
11
+ import "../Shared/noData.js";
12
+ import "../../Shared/transition.js";
13
+ import { I as y } from "../../../iban-DAFjqLmj.js";
14
+ import "./sendIban.js";
15
+ import "./createIban.js";
16
+ import "../../../context/snackBarContext.js";
17
+ import "../../../Box-Dg5YL71c.js";
18
+ import "../../../Typography-D7sM-Gzr.js";
19
+ import "../../../IconButton-C9zoz_co.js";
20
+ import "../../../CircularProgress-BShHoQbM.js";
21
+ import "../../../Grid-D9MNL9_a.js";
22
+ import "../../../Button-URmXuR7L.js";
23
+ import "../../../DialogContent-CntTpnUi.js";
24
+ import "../../../DialogTitle-DUNaosnR.js";
25
+ export {
26
+ y as default
27
+ };
@@ -1,4 +1,7 @@
1
1
  interface AccountProps {
2
+ baseUrl: string;
3
+ checkoutSdkKey: string;
4
+ appKey: string;
2
5
  }
3
6
  declare const _default: import('react').FC<AccountProps & import('../../../hoc/withThemeProvider').WithThemeProviderProps>;
4
7
  export default _default;
@@ -1,160 +1,148 @@
1
- import { jsxs as a, jsx as e, Fragment as V } from "react/jsx-runtime";
2
- import { useState as p, useEffect as h } from "react";
3
- import { u as X, a as z } from "../../../react-redux-B4BZippc.js";
4
- import "../../../constants-D38Lq3Gf.js";
5
- import { a as Y, c as Z, d as ee } from "../../../index-TElEjliR.js";
6
- import { u as te, a as ne, b as ae, c as se, d as oe, e as re } from "../../../wallet-CVI52pN9.js";
7
- import { u as ie, d as le } from "../../../bank-DwjNuNPP.js";
8
- import { useSnackBar as ce } from "../../../hooks/useSnackBar.js";
9
- import { LINKED_WALLET_TOOLTIP as de, CONNECTED_WALLET_TOOLTIP as me, WALLET_ICON as he, DELETE_ICON as ue } from "../../../util/constants.js";
10
- import pe from "../../../hoc/withThemeProvider.js";
11
- import E from "../../Shared/tooltip.js";
12
- import { I as P } from "../../../Info-DempPLhJ.js";
13
- import { C as fe } from "../../../Cancel-DRgf8LOx.js";
14
- import { D as ge } from "../../../Delete-DKVDR5no.js";
15
- import { C as _e } from "../../../Close-wTvkGNu_.js";
16
- import Ne from "../../Shared/transition.js";
17
- import O from "../Shared/inputField.js";
18
- import We from "../Shared/addBank.js";
19
- import { useDialog as be } from "../../../hooks/useDialog/index.js";
20
- import xe from "../Shared/connectPlaidBank.js";
21
- import Ce from "../Shared/ConnectWallet/index.js";
22
- import ke from "../../../providers/metaMask.js";
23
- import { B as s } from "../../../Box-B1yq36Zl.js";
24
- import { G as i } from "../../../Grid2-C3moy0LA.js";
25
- import { T as l } from "../../../Typography-CxQIkv7u.js";
26
- import { I as f } from "../../../IconButton-C0cj2n1O.js";
27
- import { C as g } from "../../../CircularProgress-r4YDqPph.js";
28
- import { B as w } from "../../../Button-RhIIYrVA.js";
29
- import { D as ve, a as ye } from "../../../DialogContent-B8RDX20F.js";
30
- import { D as De } from "../../../DialogTitle-B8V03qFK.js";
31
- import '../../../assets/index4.css';const ze = "_container_dsezq_1", we = "_heading_dsezq_27", n = {
32
- container: ze,
33
- "inner-container": "_inner-container_dsezq_13",
34
- heading: we,
35
- "account-item": "_account-item_dsezq_41",
36
- "account-item-text": "_account-item-text_dsezq_69",
37
- "primary-color": "_primary-color_dsezq_81",
38
- "secondary-color": "_secondary-color_dsezq_89",
39
- "info-icon": "_info-icon_dsezq_97",
40
- "remove-icon": "_remove-icon_dsezq_107",
41
- "delete-disable": "_delete-disable_dsezq_121",
42
- "confirm-edit": "_confirm-edit_dsezq_137"
43
- }, Ae = ({}) => {
44
- const r = X(), { showAlertMessage: c, snackBar: M } = ce(), { openDialog: R, ConfirmDialog: $ } = be(), _ = z(Y), K = _.loader, A = _.message, I = _.banks, [T, q] = p(!1), [H, N] = p(!1), [W, j] = p(""), [b, F] = p(""), L = z(Z), B = L.data, { error: x, message: C, loader: k } = L, S = z(ee), u = S.data, {
45
- error: v,
46
- message: y,
47
- loader: G
48
- } = S;
1
+ import { jsxs as n, jsx as e, Fragment as ee } from "react/jsx-runtime";
2
+ import { useState as f, useEffect as h } from "react";
3
+ import { u as te, a as g } from "../../../react-redux-B4BZippc.js";
4
+ import "../../../constants-BxUb35pS.js";
5
+ import { a as ae, b as ne, c as se } from "../../../index-DQaPU81n.js";
6
+ import { u as re, a as oe, b as le, c as ie, d as ce, e as me } from "../../../wallet-WO2ijYZw.js";
7
+ import { u as de, d as he } from "../../../bank-DLbq9Bzw.js";
8
+ import { s as a, I as pe } from "../../../iban-DAFjqLmj.js";
9
+ import { LINKED_WALLET_TOOLTIP as ue, CONNECTED_WALLET_TOOLTIP as fe, WALLET_ICON as ge, DELETE_ICON as be } from "../../../util/constants.js";
10
+ import Ne from "../../../hoc/withThemeProvider.js";
11
+ import R from "../../Shared/tooltip.js";
12
+ import { I as q } from "../../../Info--iLHF6tO.js";
13
+ import { C as We } from "../../../Cancel-W4CL5EwJ.js";
14
+ import { D as xe } from "../../../Delete-BeH9eSuy.js";
15
+ import { C as Ce } from "../../../Close-Drz_1Cma.js";
16
+ import ke from "../../Shared/transition.js";
17
+ import _ from "../Shared/inputField.js";
18
+ import ve from "../Shared/addBank.js";
19
+ import { useDialog as De } from "../../../hooks/useDialog/index.js";
20
+ import we from "../Shared/connectPlaidBank.js";
21
+ import Ie from "../Shared/ConnectWallet/index.js";
22
+ import ye from "../../../providers/metaMask.js";
23
+ import { useSnackBarContext as Ae } from "../../../context/snackBarContext.js";
24
+ import { B as s } from "../../../Box-Dg5YL71c.js";
25
+ import { G as l } from "../../../Grid2-CYB7zT__.js";
26
+ import { T as i } from "../../../Typography-D7sM-Gzr.js";
27
+ import { I as b } from "../../../IconButton-C9zoz_co.js";
28
+ import { C as N } from "../../../CircularProgress-BShHoQbM.js";
29
+ import { B as A } from "../../../Button-URmXuR7L.js";
30
+ import { D as Te, a as Le } from "../../../DialogContent-CntTpnUi.js";
31
+ import { D as Be } from "../../../DialogTitle-DUNaosnR.js";
32
+ const Se = ({ baseUrl: $, checkoutSdkKey: K, appKey: H }) => {
33
+ const o = te(), { showAlertMessage: c } = Ae(), { openDialog: T, ConfirmDialog: j } = De(), L = g((t) => t.app.features), p = g(ae), F = p.loader, B = p.message, S = p.banks, G = p.iban, [z, E] = f(!1), [J, W] = f(!1), [x, Q] = f(""), [C, U] = f(""), P = g(ne), O = P.data, { error: k, message: v, loader: D } = P, M = g(se), u = M.data, {
34
+ error: w,
35
+ message: I,
36
+ loader: V
37
+ } = M;
49
38
  h(() => {
50
- A && q(!1);
51
- }, [A]), h(() => {
52
- v && c({ message: v });
53
- }, [v]), h(() => {
54
- y && c({ message: y, type: "success" });
55
- }, [y]), h(() => {
56
- x && c({ message: x });
57
- }, [x]), h(() => {
58
- C && c({ message: C, type: "success" });
59
- }, [C]), h(() => (B.length <= 0 && r(te()), u.length <= 0 && r(ne()), r(ie()), () => {
60
- r(ae("")), r(se(""));
39
+ B && E(!1);
40
+ }, [B]), h(() => {
41
+ w && c({ message: w });
42
+ }, [w]), h(() => {
43
+ I && c({ message: I, type: "success" });
44
+ }, [I]), h(() => {
45
+ k && c({ message: k });
46
+ }, [k]), h(() => {
47
+ v && c({ message: v, type: "success" });
48
+ }, [v]), h(() => (O.length <= 0 && o(re()), u.length <= 0 && o(oe()), o(de()), () => {
49
+ o(le("")), o(ie(""));
61
50
  }), []);
62
- const J = () => {
63
- if (!W)
51
+ const X = () => {
52
+ if (!x)
64
53
  return c({ message: "Please provide the wallet name" }), !1;
65
- if (!b)
54
+ if (!C)
66
55
  return c({
67
56
  message: "Please provide the wallet private key"
68
57
  }), !1;
69
- k || r(
70
- oe({
71
- name: W,
72
- privatekey: Buffer.from(b).toString("base64")
58
+ D || o(
59
+ ce({
60
+ name: x,
61
+ privatekey: Buffer.from(C).toString("base64")
73
62
  })
74
63
  );
75
- }, Q = (t) => {
76
- R({
77
- icon: ue,
64
+ }, Y = (t) => {
65
+ T({
66
+ icon: be,
78
67
  height: "450px",
79
68
  title: "Are you sure you want to delete?",
80
69
  message: "This action cannot be undone.",
81
70
  onConfirm: () => {
82
- r(le(t));
71
+ o(he(t));
83
72
  },
84
73
  cancelButtonShow: !0
85
74
  });
86
- }, D = ({
75
+ }, y = ({
87
76
  data: t,
88
- type: o
77
+ type: r
89
78
  }) => {
90
- let m, d;
91
- return o === "connectedWallet" || o === "linkedWallet" ? "name" in t && "address" in t && (m = t.name, d = t.address) : "accountName" in t && "accountNumber" in t && (m = t.accountName, d = t.accountNumber), /* @__PURE__ */ a(s, { className: n["account-item"], children: [
92
- o === "bankAccount" && T && "id" in t && /* @__PURE__ */ e(
93
- f,
79
+ let d, m;
80
+ return r === "connectedWallet" || r === "linkedWallet" ? "name" in t && "address" in t && (d = t.name, m = t.address) : "accountName" in t && "accountNumber" in t && (d = t.accountName, m = t.accountNumber), /* @__PURE__ */ n(s, { className: a["account-item"], children: [
81
+ r === "bankAccount" && z && "id" in t && /* @__PURE__ */ e(
82
+ b,
94
83
  {
95
- className: n["remove-icon"],
96
- onClick: () => Q(t.id),
97
- children: /* @__PURE__ */ e(fe, {})
84
+ className: a["remove-icon"],
85
+ onClick: () => Y(t.id),
86
+ children: /* @__PURE__ */ e(We, {})
98
87
  }
99
88
  ),
100
- /* @__PURE__ */ e(i, { container: !0, width: "100%", children: /* @__PURE__ */ e(i, { size: 10, children: /* @__PURE__ */ a(i, { container: !0, width: "100%", children: [
101
- /* @__PURE__ */ e(i, { size: { xs: 2, md: 1.2 }, className: "content-center", children: /* @__PURE__ */ e("img", { src: he, alt: "Icon", height: 28, width: 28 }) }),
102
- /* @__PURE__ */ a(i, { size: { xs: 10, md: 10.8 }, children: [
89
+ /* @__PURE__ */ e(l, { container: !0, width: "100%", children: /* @__PURE__ */ e(l, { size: 10, children: /* @__PURE__ */ n(l, { container: !0, width: "100%", children: [
90
+ /* @__PURE__ */ e(l, { size: { xs: 2, md: 1.2 }, className: "content-center", children: /* @__PURE__ */ e("img", { src: ge, alt: "Icon", height: 28, width: 28 }) }),
91
+ /* @__PURE__ */ n(l, { size: { xs: 10, md: 10.8 }, children: [
103
92
  /* @__PURE__ */ e(
104
- l,
93
+ i,
105
94
  {
106
95
  variant: "body1",
107
96
  component: "p",
108
- className: `${n["account-item-text"]} ${n["primary-color"]}`,
109
- children: /* @__PURE__ */ e("strong", { children: m })
97
+ className: `${a["account-item-text"]} ${a["primary-color"]}`,
98
+ children: /* @__PURE__ */ e("strong", { children: d })
110
99
  }
111
100
  ),
112
101
  /* @__PURE__ */ e(
113
- l,
102
+ i,
114
103
  {
115
104
  variant: "caption",
116
105
  component: "p",
117
- className: `${n["account-item-text"]} ${n["secondary-color"]}`,
118
- children: /* @__PURE__ */ e("strong", { children: d })
106
+ className: `${a["account-item-text"]} ${a["secondary-color"]}`,
107
+ children: /* @__PURE__ */ e("strong", { children: m })
119
108
  }
120
109
  )
121
110
  ] })
122
111
  ] }) }) })
123
112
  ] });
124
- }, U = (t) => {
125
- const o = u.length;
126
- let m = !1;
127
- for (let d = 0; d < o; d++)
128
- if (u[d].address.toLowerCase() === t.toLowerCase()) {
129
- m = !0;
113
+ }, Z = (t) => {
114
+ const r = u.length;
115
+ let d = !1;
116
+ for (let m = 0; m < r; m++)
117
+ if (u[m].address.toLowerCase() === t.toLowerCase()) {
118
+ d = !0;
130
119
  break;
131
120
  }
132
- m ? c({
121
+ d ? c({
133
122
  message: "This wallet address is already connected."
134
- }) : r(re(t));
123
+ }) : o(me(t));
135
124
  };
136
- return /* @__PURE__ */ a(ke, { children: [
137
- M,
138
- /* @__PURE__ */ e($, {}),
139
- /* @__PURE__ */ e(s, { className: n.container, children: /* @__PURE__ */ a(i, { spacing: 2, container: !0, width: "100%", children: [
140
- /* @__PURE__ */ a(i, { size: { md: 6, xs: 12 }, children: [
141
- /* @__PURE__ */ a(s, { p: 3, className: n["inner-container"], children: [
125
+ return /* @__PURE__ */ n(ye, { children: [
126
+ /* @__PURE__ */ e(j, {}),
127
+ /* @__PURE__ */ e(s, { className: a.container, children: /* @__PURE__ */ n(l, { spacing: 2, container: !0, width: "100%", children: [
128
+ /* @__PURE__ */ n(l, { size: { md: 6, xs: 12 }, children: [
129
+ /* @__PURE__ */ n(s, { p: 3, className: a["inner-container"], children: [
142
130
  /* @__PURE__ */ e(
143
- l,
131
+ i,
144
132
  {
145
- className: n.heading,
133
+ className: a.heading,
146
134
  variant: "h6",
147
135
  component: "span",
148
136
  children: /* @__PURE__ */ e("strong", { children: "Linked Wallets" })
149
137
  }
150
138
  ),
151
139
  /* @__PURE__ */ e(
152
- E,
140
+ R,
153
141
  {
154
- title: /* @__PURE__ */ e(s, { sx: { whiteSpace: "pre-line" }, children: de }),
142
+ title: /* @__PURE__ */ e(s, { sx: { whiteSpace: "pre-line" }, children: ue }),
155
143
  placement: "bottom",
156
- children: /* @__PURE__ */ e(f, { className: n["info-icon"], children: /* @__PURE__ */ e(
157
- P,
144
+ children: /* @__PURE__ */ e(b, { className: a["info-icon"], children: /* @__PURE__ */ e(
145
+ q,
158
146
  {
159
147
  sx: {
160
148
  fontSize: "26px",
@@ -164,13 +152,13 @@ import '../../../assets/index4.css';const ze = "_container_dsezq_1", we = "_head
164
152
  ) })
165
153
  }
166
154
  ),
167
- k && /* @__PURE__ */ e(s, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(g, { size: 50 }) }),
168
- B.map((t, o) => /* @__PURE__ */ e(D, { type: "linkedWallet", data: t }, o)),
155
+ D && /* @__PURE__ */ e(s, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(N, { size: 50 }) }),
156
+ O.map((t, r) => /* @__PURE__ */ e(y, { type: "linkedWallet", data: t }, r)),
169
157
  /* @__PURE__ */ e(
170
- w,
158
+ A,
171
159
  {
172
160
  sx: { mt: 4 },
173
- onClick: () => N(!0),
161
+ onClick: () => W(!0),
174
162
  className: "wallet-btn",
175
163
  variant: "contained",
176
164
  fullWidth: !0,
@@ -178,23 +166,23 @@ import '../../../assets/index4.css';const ze = "_container_dsezq_1", we = "_head
178
166
  }
179
167
  )
180
168
  ] }),
181
- /* @__PURE__ */ a(s, { p: 3, mt: 2, className: n["inner-container"], children: [
169
+ /* @__PURE__ */ n(s, { p: 3, mt: 2, className: a["inner-container"], children: [
182
170
  /* @__PURE__ */ e(
183
- l,
171
+ i,
184
172
  {
185
- className: n.heading,
173
+ className: a.heading,
186
174
  variant: "h6",
187
175
  component: "span",
188
176
  children: /* @__PURE__ */ e("strong", { children: "Connected Wallets" })
189
177
  }
190
178
  ),
191
179
  /* @__PURE__ */ e(
192
- E,
180
+ R,
193
181
  {
194
- title: /* @__PURE__ */ e(s, { sx: { whiteSpace: "pre-line" }, children: me }),
182
+ title: /* @__PURE__ */ e(s, { sx: { whiteSpace: "pre-line" }, children: fe }),
195
183
  placement: "bottom",
196
- children: /* @__PURE__ */ e(f, { className: n["info-icon"], children: /* @__PURE__ */ e(
197
- P,
184
+ children: /* @__PURE__ */ e(b, { className: a["info-icon"], children: /* @__PURE__ */ e(
185
+ q,
198
186
  {
199
187
  sx: {
200
188
  fontSize: "26px",
@@ -204,98 +192,111 @@ import '../../../assets/index4.css';const ze = "_container_dsezq_1", we = "_head
204
192
  ) })
205
193
  }
206
194
  ),
207
- G && /* @__PURE__ */ e(s, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(g, { size: 50 }) }),
208
- u.map((t, o) => /* @__PURE__ */ e(D, { type: "connectedWallet", data: t }, o)),
195
+ V && /* @__PURE__ */ e(s, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(N, { size: 50 }) }),
196
+ u.map((t, r) => /* @__PURE__ */ e(y, { type: "connectedWallet", data: t }, r)),
209
197
  /* @__PURE__ */ e(
210
- Ce,
198
+ Ie,
211
199
  {
212
- addressHandler: U,
200
+ addressHandler: Z,
213
201
  btnClass: "wallet-btn"
214
202
  }
215
203
  )
216
204
  ] })
217
205
  ] }),
218
- /* @__PURE__ */ e(i, { size: { md: 6, xs: 12 }, children: /* @__PURE__ */ e(s, { className: n["inner-container"], children: /* @__PURE__ */ a(s, { p: 3, children: [
219
- /* @__PURE__ */ e(l, { className: n.heading, variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Bank Accounts" }) }),
220
- I.length > 0 && /* @__PURE__ */ a(
221
- w,
206
+ /* @__PURE__ */ n(l, { size: { md: 6, xs: 12 }, children: [
207
+ L.iban && /* @__PURE__ */ e(
208
+ pe,
222
209
  {
223
- className: `${T ? n["delete-disable"] : n["confirm-edit"]} normal-text`,
224
- sx: { mt: 3, mb: 3 },
225
- variant: "contained",
226
- onClick: () => q((t) => !t),
227
- children: [
228
- /* @__PURE__ */ e(ge, {}),
229
- "Delete"
230
- ]
210
+ openDialog: T,
211
+ dispatch: o,
212
+ iban: G,
213
+ baseUrl: $,
214
+ checkoutSdkKey: K,
215
+ appKey: H
231
216
  }
232
217
  ),
233
- K && /* @__PURE__ */ e(s, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(g, { size: 50 }) }),
234
- I.map((t, o) => /* @__PURE__ */ e(D, { type: "bankAccount", data: t }, o)),
235
- /* @__PURE__ */ a(s, { mt: 4, children: [
236
- /* @__PURE__ */ e(xe, {}),
237
- /* @__PURE__ */ e(
238
- l,
218
+ /* @__PURE__ */ e(s, { className: a["inner-container"], children: /* @__PURE__ */ n(s, { p: 3, mt: L.iban ? 2 : 0, children: [
219
+ /* @__PURE__ */ e(i, { className: a.heading, variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Bank Accounts" }) }),
220
+ S.length > 0 && /* @__PURE__ */ n(
221
+ A,
239
222
  {
240
- className: "text-center",
241
- variant: "h6",
242
- mt: 2,
243
- mb: 2,
244
- children: /* @__PURE__ */ e("strong", { children: "OR" })
223
+ className: `${z ? a["delete-disable"] : a["confirm-edit"]} normal-text`,
224
+ sx: { mt: 3, mb: 3 },
225
+ variant: "contained",
226
+ onClick: () => E((t) => !t),
227
+ children: [
228
+ /* @__PURE__ */ e(xe, {}),
229
+ "Delete"
230
+ ]
245
231
  }
246
232
  ),
247
- /* @__PURE__ */ e(We, {})
248
- ] })
249
- ] }) }) })
233
+ F && /* @__PURE__ */ e(s, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(N, { size: 50 }) }),
234
+ S.map((t, r) => /* @__PURE__ */ e(y, { type: "bankAccount", data: t }, r)),
235
+ /* @__PURE__ */ n(s, { mt: 4, children: [
236
+ /* @__PURE__ */ e(we, {}),
237
+ /* @__PURE__ */ e(
238
+ i,
239
+ {
240
+ className: "text-center",
241
+ variant: "h6",
242
+ mt: 2,
243
+ mb: 2,
244
+ children: /* @__PURE__ */ e("strong", { children: "OR" })
245
+ }
246
+ ),
247
+ /* @__PURE__ */ e(ve, {})
248
+ ] })
249
+ ] }) })
250
+ ] })
250
251
  ] }) }),
251
- /* @__PURE__ */ a(
252
- ve,
252
+ /* @__PURE__ */ n(
253
+ Te,
253
254
  {
254
255
  fullWidth: !0,
255
- open: H,
256
- onClose: () => N(!1),
257
- TransitionComponent: Ne,
256
+ open: J,
257
+ onClose: () => W(!1),
258
+ TransitionComponent: ke,
258
259
  children: [
259
- /* @__PURE__ */ a(De, { className: "buy-modal-text-color", children: [
260
- /* @__PURE__ */ e(l, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ e("strong", { children: "Wallets" }) }),
260
+ /* @__PURE__ */ n(Be, { className: "buy-modal-text-color", children: [
261
+ /* @__PURE__ */ e(i, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ e("strong", { children: "Wallets" }) }),
261
262
  /* @__PURE__ */ e(
262
- f,
263
+ b,
263
264
  {
264
265
  "aria-label": "close",
265
- onClick: () => N(!1),
266
+ onClick: () => W(!1),
266
267
  className: "menu-buttons",
267
- children: /* @__PURE__ */ e(_e, {})
268
+ children: /* @__PURE__ */ e(Ce, {})
268
269
  }
269
270
  )
270
271
  ] }),
271
- /* @__PURE__ */ a(ye, { dividers: !0, children: [
272
- /* @__PURE__ */ e(l, { className: "text-center buy-modal-text-color", variant: "h5", children: /* @__PURE__ */ e("strong", { children: "Add Linked Wallet" }) }),
272
+ /* @__PURE__ */ n(Le, { dividers: !0, children: [
273
+ /* @__PURE__ */ e(i, { className: "text-center buy-modal-text-color", variant: "h5", children: /* @__PURE__ */ e("strong", { children: "Add Linked Wallet" }) }),
273
274
  /* @__PURE__ */ e(
274
- O,
275
+ _,
275
276
  {
276
277
  label: "Name",
277
- value: W,
278
- onChangeHandler: (t) => j(t)
278
+ value: x,
279
+ onChangeHandler: (t) => Q(t)
279
280
  }
280
281
  ),
281
282
  /* @__PURE__ */ e(
282
- O,
283
+ _,
283
284
  {
284
285
  label: "Private Key",
285
- value: b,
286
- onChangeHandler: (t) => F(t)
286
+ value: C,
287
+ onChangeHandler: (t) => U(t)
287
288
  }
288
289
  ),
289
290
  /* @__PURE__ */ e(
290
- w,
291
+ A,
291
292
  {
292
293
  className: "wallet-btn",
293
294
  sx: { mt: 4 },
294
- onClick: J,
295
+ onClick: X,
295
296
  variant: "contained",
296
297
  fullWidth: !0,
297
- children: /* @__PURE__ */ e("strong", { children: k ? /* @__PURE__ */ a(V, { children: [
298
- /* @__PURE__ */ e(g, { size: 15, color: "inherit" }),
298
+ children: /* @__PURE__ */ e("strong", { children: D ? /* @__PURE__ */ n(ee, { children: [
299
+ /* @__PURE__ */ e(N, { size: 15, color: "inherit" }),
299
300
  " Processing..."
300
301
  ] }) : "Import Wallet" })
301
302
  }
@@ -305,7 +306,7 @@ import '../../../assets/index4.css';const ze = "_container_dsezq_1", we = "_head
305
306
  }
306
307
  )
307
308
  ] });
308
- }, rt = pe(Ae);
309
+ }, mt = Ne(Se);
309
310
  export {
310
- rt as default
311
+ mt as default
311
312
  };
@@ -0,0 +1,9 @@
1
+ import { default as React, Dispatch } from 'react';
2
+ import { BankActionTypes, BankState } from 'everest-npm-api';
3
+ interface SendIbanProps {
4
+ iban: BankState["iban"];
5
+ dispatch: Dispatch<BankActionTypes>;
6
+ appKey: string;
7
+ }
8
+ declare const SendIban: React.FC<SendIbanProps>;
9
+ export default SendIban;