everest-npm-features 0.0.61 → 0.0.63

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 (247) hide show
  1. package/dist/ArrowBack-DEJjwfp0.js +8 -0
  2. package/dist/{Cancel-4lT7GZUA.js → Cancel-pHQsCjtK.js} +1 -1
  3. package/dist/{Close-CNwiMz_O.js → Close-DSxLLo08.js} +1 -1
  4. package/dist/{ContentCopy-coPwrEuz.js → ContentCopy-D0C0zbQj.js} +1 -1
  5. package/dist/{Delete-jpMstGIF.js → Delete-Bj8zmXnh.js} +1 -1
  6. package/dist/{ErrorOutline-CPQcnl2b.js → ErrorOutline-Bt7P4ChN.js} +1 -1
  7. package/dist/{FileDownload-Bt3R_NBr.js → FileDownload-DqREXR3D.js} +1 -1
  8. package/dist/{Info-BVeUSPyk.js → Info-DOoRR7sR.js} +1 -1
  9. package/dist/PlayArrow-71FP5PzJ.js +13 -0
  10. package/dist/Portal-BeS9yJCZ.js +968 -0
  11. package/dist/assets/styles.css +1 -1
  12. package/dist/{auth-Cwq6nfwY.js → auth-BBeOw4mt.js} +11 -11
  13. package/dist/{bank-C4pmTe--.js → bank-HVb0GFsa.js} +1 -1
  14. package/dist/components/RocketRamp/MinimalKyc/form.js +46 -51
  15. package/dist/components/RocketRamp/MinimalKyc/index.js +6 -6
  16. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +6 -8
  17. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +5 -8
  18. package/dist/components/RocketRamp/Player/Buy/form.js +8 -17
  19. package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
  20. package/dist/components/RocketRamp/Player/Dashboard/balance.js +20 -26
  21. package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
  22. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +13 -16
  23. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +6 -11
  24. package/dist/components/RocketRamp/Player/Sell/form.js +8 -17
  25. package/dist/components/RocketRamp/Player/Sell/index.js +14 -13
  26. package/dist/components/RocketRamp/Player/SignIn/index.js +23 -25
  27. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +33 -35
  28. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +31 -33
  29. package/dist/components/RocketRamp/Player/SignUp/email.js +21 -23
  30. package/dist/components/RocketRamp/Player/SignUp/index.js +49 -52
  31. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +68 -74
  32. package/dist/components/RocketRamp/Player/SignUp/summary.js +23 -25
  33. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +23 -25
  34. package/dist/components/RocketRamp/ResetPassword/index.js +23 -25
  35. package/dist/components/RocketRamp/Shared/Button/index.js +16 -17
  36. package/dist/components/RocketRamp/Shared/Input/index.js +27 -30
  37. package/dist/components/RocketRamp/Shared/backBtn.js +10 -11
  38. package/dist/components/RocketRamp/Shared/transactionItem.js +40 -45
  39. package/dist/components/RocketRamp/Store/Dashboard/balance.js +12 -17
  40. package/dist/components/RocketRamp/Store/Dashboard/index.js +11 -12
  41. package/dist/components/RocketRamp/Store/Dashboard/stats.js +12 -17
  42. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +13 -16
  43. package/dist/components/RocketRamp/Store/SignUp/index.js +53 -56
  44. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +48 -54
  45. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +33 -37
  46. package/dist/components/RocketRamp/Store/SignUp/summary.js +21 -23
  47. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +23 -25
  48. package/dist/components/RocketRamp/Transactions/index.js +23 -24
  49. package/dist/components/Shared/FullKyc/countryList.js +15 -17
  50. package/dist/components/Shared/FullKyc/edd.js +51 -53
  51. package/dist/components/Shared/FullKyc/index.js +13 -11
  52. package/dist/components/Shared/FullKyc/pep.js +35 -43
  53. package/dist/components/Shared/FullKyc/personalDetails.js +6 -6
  54. package/dist/components/Shared/FullKyc/userInfo.js +8 -13
  55. package/dist/components/Shared/HistoryItem/index.js +43 -48
  56. package/dist/components/Shared/Incode/index.js +31 -35
  57. package/dist/components/Shared/MinimalKyc/index.js +60 -65
  58. package/dist/components/Shared/Sumsub/index.js +75 -62
  59. package/dist/components/Shared/loader.js +4 -5
  60. package/dist/components/Shared/tooltip.js +2 -2
  61. package/dist/components/Shared/transition.js +4 -4
  62. package/dist/components/Wallet/Account/createIban.d.ts +1 -2
  63. package/dist/components/Wallet/Account/createIban.js +324 -102
  64. package/dist/components/Wallet/Account/eWallet.js +37 -43
  65. package/dist/components/Wallet/Account/iban.d.ts +1 -0
  66. package/dist/components/Wallet/Account/iban.js +41 -45
  67. package/dist/components/Wallet/Account/ibanItem.js +70 -75
  68. package/dist/components/Wallet/Account/index.d.ts +1 -0
  69. package/dist/components/Wallet/Account/index.js +113 -118
  70. package/dist/components/Wallet/Account/sendIban.js +79 -88
  71. package/dist/components/Wallet/Buy/confirmTransaction.js +9 -11
  72. package/dist/components/Wallet/Buy/form.js +8 -18
  73. package/dist/components/Wallet/Buy/index.js +6 -6
  74. package/dist/components/Wallet/Deposit/index.js +16 -18
  75. package/dist/components/Wallet/EnterpriseKyc/edd.js +32 -33
  76. package/dist/components/Wallet/EnterpriseKyc/index.js +73 -77
  77. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +23 -26
  78. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +5 -7
  79. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +1 -1
  80. package/dist/components/Wallet/EnterpriseKyc/kycType.js +23 -26
  81. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +33 -34
  82. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3591 -1482
  83. package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
  84. package/dist/components/Wallet/EnterpriseKyc/verify.js +22 -22
  85. package/dist/components/Wallet/History/index.js +23 -797
  86. package/dist/components/Wallet/Home/index.js +13 -14
  87. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +122 -126
  88. package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
  89. package/dist/components/Wallet/Portfolio/index.js +48 -51
  90. package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
  91. package/dist/components/Wallet/Profile/documents.js +164 -176
  92. package/dist/components/Wallet/Profile/index.js +39 -44
  93. package/dist/components/Wallet/Profile/storage.js +39 -47
  94. package/dist/components/Wallet/Receive/index.js +32 -37
  95. package/dist/components/Wallet/Sell/confirmTransaction.js +8 -10
  96. package/dist/components/Wallet/Sell/form.js +8 -18
  97. package/dist/components/Wallet/Sell/index.js +6 -6
  98. package/dist/components/Wallet/Send/index.js +98 -107
  99. package/dist/components/Wallet/Shared/Auth/emailForm.js +13 -15
  100. package/dist/components/Wallet/Shared/Auth/otpForm.js +9 -356
  101. package/dist/components/Wallet/Shared/BankSelect/index.js +45 -49
  102. package/dist/components/Wallet/Shared/CardCorp/index.js +18 -19
  103. package/dist/components/Wallet/Shared/CardPayment/index.js +14 -16
  104. package/dist/components/Wallet/Shared/ConnectWallet/index.js +22 -28
  105. package/dist/components/Wallet/Shared/Container/index.d.ts +2 -1
  106. package/dist/components/Wallet/Shared/Container/index.js +11 -11
  107. package/dist/components/Wallet/Shared/Input/index.js +3 -3
  108. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +29 -30
  109. package/dist/components/Wallet/Shared/Order/paymentButton.js +13 -14
  110. package/dist/components/Wallet/Shared/TokenModal/index.js +55 -63
  111. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +11 -13
  112. package/dist/components/Wallet/Shared/addBank.js +41 -45
  113. package/dist/components/Wallet/Shared/appButton.js +11 -15
  114. package/dist/components/Wallet/Shared/backBtn.js +8 -9
  115. package/dist/components/Wallet/Shared/button.js +7 -7
  116. package/dist/components/Wallet/Shared/connectPlaidBank.js +16 -17
  117. package/dist/components/Wallet/Shared/inputField.js +5 -5
  118. package/dist/components/Wallet/Shared/manualSend.js +9 -13
  119. package/dist/components/Wallet/Shared/noData.js +4 -5
  120. package/dist/components/Wallet/Shared/pin.js +25 -27
  121. package/dist/components/Wallet/Shared/radioButton.js +39 -5
  122. package/dist/components/Wallet/Shared/step.js +12 -13
  123. package/dist/components/Wallet/Shared/timer.js +1 -1
  124. package/dist/components/Wallet/SignIn/index.js +17 -17
  125. package/dist/components/Wallet/SignUp/index.js +63 -153
  126. package/dist/components/Wallet/SignUp/terms.js +1 -1
  127. package/dist/components/Wallet/Stake/gems/index.js +71 -69
  128. package/dist/components/Wallet/Stake/id/index.js +77 -84
  129. package/dist/components/Wallet/Stake/index.js +65 -68
  130. package/dist/components/Wallet/Swap/form.js +11 -20
  131. package/dist/components/Wallet/Swap/index.js +5 -5
  132. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
  133. package/dist/components/Wallet/Withdraw/bankSelect.js +41 -45
  134. package/dist/components/Wallet/Withdraw/confirmTransaction.js +5 -8
  135. package/dist/components/Wallet/Withdraw/form.js +6 -17
  136. package/dist/components/Wallet/Withdraw/index.js +5 -5
  137. package/dist/{constants-DrmtdI1J.js → constants-DX0YBtP2.js} +19 -19
  138. package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
  139. package/dist/{cryptoAssets-DyGDknvq.js → cryptoAssets-B8rAI7pp.js} +1 -1
  140. package/dist/hoc/withThemeProvider.js +5 -732
  141. package/dist/hooks/useDialog/index.js +22 -23
  142. package/dist/hooks/useRrDialog/index.js +43 -46
  143. package/dist/hooks/useSnackBar.js +24 -696
  144. package/dist/icons/buyIcon.js +1 -1
  145. package/dist/icons/canceledBuyIcon.js +1 -1
  146. package/dist/icons/canceledRedeemIcon.js +1 -1
  147. package/dist/icons/failedBuyIcon.js +2 -2
  148. package/dist/icons/failedRedeemIcon.js +2 -2
  149. package/dist/icons/pendingBuyIcon.js +1 -1
  150. package/dist/icons/pendingRedeemIcon.js +1 -1
  151. package/dist/icons/redeemIcon.js +1 -1
  152. package/dist/{index-BbVpeed7.js → index-B4XvACQN.js} +89 -98
  153. package/dist/{index-BHG1bT4t.js → index-CTPMPwYK.js} +173 -182
  154. package/dist/{index-Dh_ahu-u.js → index-DkiQ8pRO.js} +95 -106
  155. package/dist/{index-C7Td5yoW.js → index-DuWW5roi.js} +175 -184
  156. package/dist/{index-eEBuSKOo.js → index-JY6-UKlX.js} +127 -137
  157. package/dist/{index-D2JWUPz8.js → index-_fiTunwZ.js} +154 -163
  158. package/dist/{index-B9oucF3r.js → index-bK14vCZw.js} +189 -198
  159. package/dist/{kyc-ksV3vBP_.js → kyc-BNMPoeHt.js} +1 -1
  160. package/dist/main.js +7 -7
  161. package/dist/memoTheme-DnE8lj0t.js +3481 -0
  162. package/dist/{order-DEp_Lmar.js → order-BXeCIvqC.js} +1 -1
  163. package/dist/otpForm-DeeegaX2.js +7378 -0
  164. package/dist/{stake-Ct7-_aWW.js → stake-BO2TYVJ7.js} +1 -1
  165. package/dist/styles.module-DFoezEqS.js +28 -0
  166. package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
  167. package/dist/tooltip-BW0UyWw7.js +2129 -0
  168. package/dist/util/constants.d.ts +1 -0
  169. package/dist/util/constants.js +72 -71
  170. package/dist/{wallet-CauUBXou.js → wallet-BPXOp8UG.js} +1 -1
  171. package/package.json +6 -6
  172. package/dist/Alert-DzsbFW3-.js +0 -369
  173. package/dist/Autocomplete-CE-OI2t8.js +0 -2429
  174. package/dist/Avatar-1XklXr4O.js +0 -281
  175. package/dist/Backdrop-CioURPVG.js +0 -359
  176. package/dist/Box-B0YSYLco.js +0 -59
  177. package/dist/Button-Df4vgU24.js +0 -663
  178. package/dist/ButtonBase-DLF5c6wi.js +0 -870
  179. package/dist/CardContent-D9wTdpu-.js +0 -141
  180. package/dist/CircularProgress-xZA3lvba.js +0 -252
  181. package/dist/Close-CxzDL3J-.js +0 -9
  182. package/dist/Container-urNKV7hm.js +0 -181
  183. package/dist/DefaultPropsProvider-CeF7UYM9.js +0 -92
  184. package/dist/DefaultPropsProvider-oAu9El-f.js +0 -226
  185. package/dist/DialogContent-BMwlOnbW.js +0 -567
  186. package/dist/DialogTitle-CfS0bb2K.js +0 -70
  187. package/dist/Divider-BShhMFf4.js +0 -297
  188. package/dist/FilledInput-DuNqnPjc.js +0 -1292
  189. package/dist/FormControl-RtZDQMdA.js +0 -258
  190. package/dist/FormControlLabel-BliKW48y.js +0 -519
  191. package/dist/GlobalStyles-ChMhDfTS.js +0 -59
  192. package/dist/Grid-CFe3amXO.js +0 -410
  193. package/dist/Grow-CnGtel3u.js +0 -196
  194. package/dist/HTMLElementType-BrQSV2FE.js +0 -13
  195. package/dist/IconButton-DHm-hucF.js +0 -297
  196. package/dist/InputAdornment-DMiED3JH.js +0 -173
  197. package/dist/Link-DBA9Yifs.js +0 -266
  198. package/dist/ListItemIcon-CUcyTEEm.js +0 -84
  199. package/dist/Menu-DLYFFrEk.js +0 -1239
  200. package/dist/MenuItem-DUdYOJr4.js +0 -271
  201. package/dist/Modal-CFIQ_s3T.js +0 -743
  202. package/dist/Paper-Bgt2WXI6.js +0 -186
  203. package/dist/PlayArrow-Bjz9LxhD.js +0 -13
  204. package/dist/Popper-BBAoiZKn.js +0 -1409
  205. package/dist/Portal-BMAxiQwe.js +0 -69
  206. package/dist/RadioGroup-nvoSN0JN.js +0 -189
  207. package/dist/Select-CB5yWmyn.js +0 -1886
  208. package/dist/Slide-B9Nw0LZ4.js +0 -235
  209. package/dist/Stack-k55YTxET.js +0 -172
  210. package/dist/SwitchBase-C8zFyg_x.js +0 -318
  211. package/dist/TextField-DPpRUQe3.js +0 -978
  212. package/dist/TransitionGroupContext-CYRQkQ6k.js +0 -49
  213. package/dist/Typography-pAaje37G.js +0 -260
  214. package/dist/chainPropTypes-D9lkm76m.js +0 -8
  215. package/dist/clsx-BTaloaeC.js +0 -264
  216. package/dist/createChainedFunction-C0nujS3O.js +0 -9
  217. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
  218. package/dist/createTheme-CD19zQB7.js +0 -3825
  219. package/dist/debounce-46wSf_lW.js +0 -15
  220. package/dist/defaultTheme-C35y5cLB.js +0 -5
  221. package/dist/dividerClasses-BDxa2gAa.js +0 -10
  222. package/dist/elementAcceptingRef-CqLvP78G.js +0 -391
  223. package/dist/elementTypeAcceptingRef-BdsMpCbS.js +0 -23
  224. package/dist/emotion-react.browser.esm-BIrDfk-B.js +0 -246
  225. package/dist/exactProp-C1Lmtwf_.js +0 -13
  226. package/dist/extendSxProp-B8UjbJ56.js +0 -37
  227. package/dist/generateUtilityClasses-BRiE4Guh.js +0 -10
  228. package/dist/index-B0Z-Gjno.js +0 -22
  229. package/dist/index-DUcLo3x5.js +0 -43
  230. package/dist/isFocusVisible-CPZqtjv2.js +0 -12
  231. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  232. package/dist/isMuiElement-DnSE4qG4.js +0 -13
  233. package/dist/memoTheme-yHaPezod.js +0 -15
  234. package/dist/ownerWindow-CRgpWY6I.js +0 -7
  235. package/dist/radioButton-CzlYB0Lh.js +0 -402
  236. package/dist/refType-BsTH3qnM.js +0 -56
  237. package/dist/styles.module-CHPRGltL.js +0 -28
  238. package/dist/tooltip-3UvETWtS.js +0 -740
  239. package/dist/useControlled-nm4pBabJ.js +0 -31
  240. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  241. package/dist/useFormControl-CatNKXAi.js +0 -10
  242. package/dist/useId-CK6Kn3Tn.js +0 -21
  243. package/dist/useSlot-CW7SOYlh.js +0 -125
  244. package/dist/useSlotProps-BfEOwJvJ.js +0 -25
  245. package/dist/useTheme-BQJ5lp0i.js +0 -11
  246. package/dist/useTheme-S5_DHFsQ.js +0 -17
  247. package/dist/useThemeProps-DN9MjdTl.js +0 -29
@@ -1,82 +1,78 @@
1
- import { jsx as r, jsxs as o, Fragment as l } from "react/jsx-runtime";
2
- import { useRef as g, useState as B, useEffect as N } from "react";
3
- import { I as T } from "../../../Info-BVeUSPyk.js";
4
- import { DIALOG_SUCCESS_ICON as w, FEATURE_VIRTUAL_IBAN as p } from "../../../util/constants.js";
5
- import { M as b } from "../../../tooltip-3UvETWtS.js";
6
- import D from "../Shared/noData.js";
7
- import E from "./createIban.js";
8
- import { AuthInnerContainer as P } from "../Shared/Container/index.js";
9
- import v from "./ibanItem.js";
10
- import { B as t } from "../../../Box-B0YSYLco.js";
11
- import { G as n } from "../../../Grid-CFe3amXO.js";
12
- import { T as z } from "../../../Typography-pAaje37G.js";
13
- import { I as L } from "../../../IconButton-DHm-hucF.js";
14
- import { C as R } from "../../../CircularProgress-xZA3lvba.js";
15
- const Q = ({
16
- dispatch: u,
1
+ import { jsx as e, jsxs as o, Fragment as l } from "react/jsx-runtime";
2
+ import { useEffect as C } from "react";
3
+ import { Box as t, Grid as n, Typography as S, IconButton as N, CircularProgress as B } from "@mui/material";
4
+ import { I as w } from "../../../Info-DOoRR7sR.js";
5
+ import { DIALOG_SUCCESS_ICON as T, FEATURE_VIRTUAL_IBAN as p } from "../../../util/constants.js";
6
+ import { M as D } from "../../../tooltip-BW0UyWw7.js";
7
+ import E from "../Shared/noData.js";
8
+ import P from "./createIban.js";
9
+ import { AuthInnerContainer as v } from "../Shared/Container/index.js";
10
+ import z from "./ibanItem.js";
11
+ const M = ({
12
+ dispatch: h,
17
13
  openDialog: a,
18
- appKey: f,
19
- appKeyEur: h,
20
- paymentWidgetSrcUrl: d,
21
- iban: e,
14
+ appKey: u,
15
+ appKeyEur: d,
16
+ paymentWidgetSrcUrl: f,
17
+ iban: r,
22
18
  navigate: i,
23
19
  AccountItem: I,
24
20
  createIbanRequest: y,
25
- tokenData: x
21
+ tokenData: x,
22
+ brandId: A
26
23
  }) => {
27
- const c = e.data, C = e.loader, A = g(""), [U, S] = B("");
28
- return N(() => {
24
+ const c = r.data, g = r.loader;
25
+ return C(() => {
29
26
  new URLSearchParams(window.location.search).get("paymentStatus") === "success" && a({
30
27
  title: "Payment Success",
31
28
  message: "We have received your payment and will generate your Virtual IBAN after the payment has processed",
32
- icon: w,
29
+ icon: T,
33
30
  width: "575px",
34
31
  confirmButtonText: "Continue"
35
32
  });
36
- }, []), /* @__PURE__ */ r(P, { children: /* @__PURE__ */ o(t, { p: 3, children: [
33
+ }, []), /* @__PURE__ */ e(v, { children: /* @__PURE__ */ o(t, { p: 3, children: [
37
34
  /* @__PURE__ */ o(n, { spacing: 2, container: !0, alignItems: "center", children: [
38
35
  /* @__PURE__ */ o(n, { size: 8, children: [
39
- /* @__PURE__ */ r(z, { color: "primary", variant: "h6", component: "span", children: /* @__PURE__ */ r("strong", { children: "Everest Accounts (Virtual IBAN)" }) }),
40
- /* @__PURE__ */ r(
41
- b,
36
+ /* @__PURE__ */ e(S, { color: "primary", variant: "h6", component: "span", children: /* @__PURE__ */ e("strong", { children: "Everest Accounts (Virtual IBAN)" }) }),
37
+ /* @__PURE__ */ e(
38
+ D,
42
39
  {
43
- title: /* @__PURE__ */ r(t, { sx: { whiteSpace: "pre-line" }, children: "Create a Virtual IBAN of selected currency. This requires KYC" }),
40
+ title: /* @__PURE__ */ e(t, { sx: { whiteSpace: "pre-line" }, children: "Create a Virtual IBAN of selected currency. This requires KYC" }),
44
41
  placement: "bottom",
45
- children: /* @__PURE__ */ r(L, { className: "info-fee-icon", children: /* @__PURE__ */ r(T, { sx: { fontSize: "26px", color: "#D9D9D9" } }) })
42
+ children: /* @__PURE__ */ e(N, { className: "info-fee-icon", children: /* @__PURE__ */ e(w, { sx: { fontSize: "26px", color: "#D9D9D9" } }) })
46
43
  }
47
44
  )
48
45
  ] }),
49
- /* @__PURE__ */ r(n, { size: 4, children: /* @__PURE__ */ r(t, { sx: { textAlign: "right" }, children: /* @__PURE__ */ r(
50
- E,
46
+ /* @__PURE__ */ e(n, { size: 4, children: /* @__PURE__ */ e(t, { sx: { textAlign: "right" }, children: /* @__PURE__ */ e(
47
+ P,
51
48
  {
52
49
  openDialog: a,
53
50
  createIbanRequest: y,
54
- iban: e,
51
+ iban: r,
55
52
  navigate: i,
56
- currency: A,
57
- setIbanCurrency: S,
58
- from: p
53
+ from: p,
54
+ brandId: A
59
55
  }
60
56
  ) }) })
61
57
  ] }),
62
- C ? /* @__PURE__ */ r(t, { mt: 4, className: "flex-center", children: /* @__PURE__ */ r(R, { color: "primary", size: 50 }) }) : /* @__PURE__ */ r(l, { children: c.length > 0 ? /* @__PURE__ */ r(l, { children: c.map((s, m) => /* @__PURE__ */ r(
63
- v,
58
+ g ? /* @__PURE__ */ e(t, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(B, { color: "primary", size: 50 }) }) : /* @__PURE__ */ e(l, { children: c.length > 0 ? /* @__PURE__ */ e(l, { children: c.map((s, m) => /* @__PURE__ */ e(
59
+ z,
64
60
  {
65
61
  data: s,
66
62
  AccountItem: I,
67
- dispatch: u,
68
- appKey: f,
69
- appKeyEur: h,
70
- paymentWidgetSrcUrl: d,
71
- iban: e,
63
+ dispatch: h,
64
+ appKey: u,
65
+ appKeyEur: d,
66
+ paymentWidgetSrcUrl: f,
67
+ iban: r,
72
68
  navigate: i,
73
69
  from: p,
74
70
  tokenData: x
75
71
  },
76
72
  m
77
- )) }) : /* @__PURE__ */ r(D, { text: "You currently have no IBAN Accounts" }) })
73
+ )) }) : /* @__PURE__ */ e(E, { text: "You currently have no IBAN Accounts" }) })
78
74
  ] }) });
79
75
  };
80
76
  export {
81
- Q as default
77
+ M as default
82
78
  };
@@ -1,74 +1,69 @@
1
1
  import { jsx as e, Fragment as I, jsxs as n } from "react/jsx-runtime";
2
2
  import { useState as u, useMemo as f, useEffect as k } from "react";
3
- import "../../../constants-DrmtdI1J.js";
4
- import { v as ye } from "../../../order-DEp_Lmar.js";
3
+ import { Grid as N, Dialog as Y, DialogTitle as q, Typography as a, IconButton as z, DialogContent as J, Box as M, CircularProgress as K } from "@mui/material";
4
+ import "../../../constants-DX0YBtP2.js";
5
+ import { v as ye } from "../../../order-BXeCIvqC.js";
5
6
  import U from "../Shared/appButton.js";
6
- import { C as be } from "../../../ContentCopy-coPwrEuz.js";
7
- import { C as Y } from "../../../Close-CNwiMz_O.js";
8
- import q from "../../Shared/transition.js";
7
+ import { C as be } from "../../../ContentCopy-D0C0zbQj.js";
8
+ import { C as Q } from "../../../Close-DSxLLo08.js";
9
+ import X from "../../Shared/transition.js";
9
10
  import "../../../index-DlQqWbXG.js";
10
11
  import "../../../hoc/withThemeProvider.js";
11
- import { u as J } from "../../../react-redux-C7I9-1M6.js";
12
- import { GBP_ISO3 as K, FEATURE_EWALLET as ge, EURO_ISO3 as Ce, SYNTHETIC_EUR as ve, SYNTHETIC_GBP as Ie } from "../../../util/constants.js";
13
- import "../Shared/Auth/otpForm.js";
12
+ import { u as Z } from "../../../react-redux-C7I9-1M6.js";
13
+ import { GBP_ISO3 as D, FEATURE_EWALLET as ge, EURO_ISO3 as Ce, SYNTHETIC_EUR as ve, SYNTHETIC_GBP as Ie } from "../../../util/constants.js";
14
+ import "../../../otpForm-DeeegaX2.js";
14
15
  import { useSnackBarContext as ee } from "../../../context/snackBarContext.js";
15
16
  import "../../../util/conversions.js";
16
17
  import "../../../index-CAoLi5Qq.js";
17
- import Te from "../Shared/inputField.js";
18
+ import Ne from "../Shared/inputField.js";
18
19
  import "../../../react-webcam-B3cXh1XT.js";
19
- import "../../../tooltip-3UvETWtS.js";
20
+ import "../../../tooltip-BW0UyWw7.js";
20
21
  import "../../../moment-h96o7c8I.js";
21
22
  import "../../../index.esm-BsMAMhYW.js";
22
23
  import "../../../web3-u4qDZYpo.js";
23
24
  import "../../../index-ceeCtFuh.js";
24
- import Ne from "../Shared/CardCorp/index.js";
25
+ import Te from "../Shared/CardCorp/index.js";
25
26
  import "../../../index.esm-I_Bp2YLf.js";
26
27
  import "../../../context/dialogContext.js";
28
+ import "@mui/icons-material";
27
29
  import xe from "./sendIban.js";
28
- import { G as T } from "../../../Grid-CFe3amXO.js";
29
- import { D as Q, a as X } from "../../../DialogContent-BMwlOnbW.js";
30
- import { D as Z } from "../../../DialogTitle-CfS0bb2K.js";
31
- import { T as a } from "../../../Typography-pAaje37G.js";
32
- import { I as z } from "../../../IconButton-DHm-hucF.js";
33
- import { B as M } from "../../../Box-B0YSYLco.js";
34
- import { C as D } from "../../../CircularProgress-xZA3lvba.js";
35
30
  const i = ({
36
- label: N,
31
+ label: T,
37
32
  value: r,
38
33
  showCopyBtn: x
39
34
  }) => {
40
- const { showAlertMessage: B } = ee();
35
+ const { showAlertMessage: w } = ee();
41
36
  return /* @__PURE__ */ n(I, { children: [
42
- /* @__PURE__ */ e(T, { size: 5, className: "d-flex items-center", children: /* @__PURE__ */ e("strong", { children: N }) }),
43
- /* @__PURE__ */ n(T, { size: 7, className: "fw500 text-left d-flex items-center", children: [
37
+ /* @__PURE__ */ e(N, { size: 5, className: "d-flex items-center", children: /* @__PURE__ */ e("strong", { children: T }) }),
38
+ /* @__PURE__ */ n(N, { size: 7, className: "fw500 text-left d-flex items-center", children: [
44
39
  r,
45
40
  x && /* @__PURE__ */ e(z, { onClick: () => {
46
- navigator.clipboard.writeText(r), B({
47
- message: `${N} has been copied successfully.`,
41
+ navigator.clipboard.writeText(r), w({
42
+ message: `${T} has been copied successfully.`,
48
43
  type: "success"
49
44
  });
50
45
  }, children: /* @__PURE__ */ e(be, { fontSize: "small", color: "primary" }) })
51
46
  ] })
52
47
  ] });
53
- }, ir = ({
54
- AccountItem: N,
48
+ }, rr = ({
49
+ AccountItem: T,
55
50
  data: r,
56
51
  appKey: x,
57
- appKeyEur: B,
52
+ appKeyEur: w,
58
53
  paymentWidgetSrcUrl: m,
59
54
  dispatch: L,
60
55
  iban: re,
61
- navigate: Be,
56
+ navigate: we,
62
57
  from: ne,
63
58
  tokenData: l
64
59
  }) => {
65
60
  var $;
66
- const [oe, R] = u(!1), [te, le] = u(!1), [h, O] = u(!1), [P, w] = u(""), [A, y] = u(null), [_, b] = u(null), [p, s] = u(!1), { showAlertMessage: g } = ee(), c = ne === ge, C = J(
61
+ const [oe, R] = u(!1), [te, le] = u(!1), [h, O] = u(!1), [P, A] = u(""), [B, y] = u(null), [_, b] = u(null), [d, s] = u(!1), { showAlertMessage: g } = ee(), c = ne === ge, C = Z(
67
62
  (o) => o.order
68
- ), E = C.v4Payment ?? null, v = C.v4PaymentLoader ?? !1, ie = J((o) => o.session.uuid), se = (l == null ? void 0 : l.loader) ?? !1, ce = () => {
69
- w(""), y(null), b(null), s(!1), O(!0);
63
+ ), E = C.v4Payment ?? null, v = C.v4PaymentLoader ?? !1, ie = Z((o) => o.session.uuid), se = (l == null ? void 0 : l.loader) ?? !1, ce = () => {
64
+ A(""), y(null), b(null), s(!1), O(!0);
70
65
  }, W = () => {
71
- O(!1), w(""), y(null), b(null), s(!1);
66
+ O(!1), A(""), y(null), b(null), s(!1);
72
67
  }, ue = () => {
73
68
  const o = Number(P);
74
69
  if (!P || Number.isNaN(o) || o <= 0) {
@@ -85,20 +80,20 @@ const i = ({
85
80
  });
86
81
  return;
87
82
  }
88
- if (!B) {
83
+ if (!w) {
89
84
  g({
90
85
  message: "Unable to identify application EUR key.",
91
86
  type: "error"
92
87
  });
93
88
  return;
94
89
  }
95
- const G = Math.round(o * 100);
90
+ const H = Math.round(o * 100);
96
91
  L(
97
92
  ye({
98
- apiKey: B,
93
+ apiKey: w,
99
94
  ccy: "EUR",
100
95
  transaction_type: "CHECKOUT",
101
- amount: G,
96
+ amount: H,
102
97
  uuid: ie ?? void 0
103
98
  })
104
99
  ), s(!0);
@@ -108,41 +103,41 @@ const i = ({
108
103
  return;
109
104
  }
110
105
  R(!0);
111
- }, t = f(() => E ?? null, [E]), d = f(() => {
106
+ }, t = f(() => E ?? null, [E]), p = f(() => {
112
107
  var o;
113
108
  return t ? (t == null ? void 0 : t.checkout_id) ?? ((o = t == null ? void 0 : t.order) == null ? void 0 : o.provider_token) ?? (t == null ? void 0 : t.provider_token) ?? null : null;
114
109
  }, [t]), S = (($ = t == null ? void 0 : t.order) == null ? void 0 : $.order_id) ?? null, me = f(() => m ? m.endsWith("/") ? m : `${m}/` : "", [m]), F = f(() => {
115
110
  const o = (l == null ? void 0 : l.list) ?? [];
116
111
  if (!o.length) return null;
117
- const H = {
112
+ const j = {
118
113
  [Ce]: ve,
119
- [K]: Ie
114
+ [D]: Ie
120
115
  }[(r.currency ?? "").toUpperCase()] ?? null;
121
- if (!H) return null;
122
- const j = o.find((he) => he.symbol === H);
123
116
  if (!j) return null;
117
+ const G = o.find((he) => he.symbol === j);
118
+ if (!G) return null;
124
119
  const V = parseFloat(
125
- (j.fmt_balance ?? "0").toString().replaceAll(",", "")
120
+ (G.fmt_balance ?? "0").toString().replaceAll(",", "")
126
121
  );
127
122
  return Number.isNaN(V) ? null : V / 100;
128
- }, [l == null ? void 0 : l.list, r.currency]), pe = f(() => F == null ? "--" : `${F.toLocaleString(void 0, {
123
+ }, [l == null ? void 0 : l.list, r.currency]), de = f(() => F == null ? "--" : `${F.toLocaleString(void 0, {
129
124
  minimumFractionDigits: 2,
130
125
  maximumFractionDigits: 2
131
- })} ${r.currency ?? ""}`, [F, r.currency]), de = f(() => _ ? `/?paymentId=${encodeURIComponent(_)}` : "/", [_]);
126
+ })} ${r.currency ?? ""}`, [F, r.currency]), pe = f(() => _ ? `/?paymentId=${encodeURIComponent(_)}` : "/", [_]);
132
127
  k(() => {
133
- p && d && (y(d), b(S ?? null), s(!1));
134
- }, [p, d, S]), k(() => {
135
- p && h && (!d || A || (y(d), b(S ?? null), s(!1)));
128
+ d && p && (y(p), b(S ?? null), s(!1));
129
+ }, [d, p, S]), k(() => {
130
+ d && h && (!p || B || (y(p), b(S ?? null), s(!1)));
136
131
  }, [
137
- p,
138
- h,
139
132
  d,
140
- A,
133
+ h,
134
+ p,
135
+ B,
141
136
  S
142
137
  ]), k(() => {
143
- c && (h || (w(""), y(null), b(null)));
138
+ c && (h || (A(""), y(null), b(null)));
144
139
  }, [c, h]), k(() => {
145
- if (p && !v) {
140
+ if (d && !v) {
146
141
  if (E) {
147
142
  s(!1);
148
143
  return;
@@ -153,7 +148,7 @@ const i = ({
153
148
  }), s(!1));
154
149
  }
155
150
  }, [
156
- p,
151
+ d,
157
152
  v,
158
153
  E,
159
154
  C.error,
@@ -161,7 +156,7 @@ const i = ({
161
156
  ]);
162
157
  const fe = /* @__PURE__ */ n(M, { display: "flex", alignItems: "center", gap: 0.75, children: [
163
158
  /* @__PURE__ */ e(a, { component: "span", sx: { fontSize: 14, color: "text.secondary" }, children: "Balance:" }),
164
- se ? /* @__PURE__ */ e(D, { size: 16, color: "inherit" }) : /* @__PURE__ */ e(
159
+ se ? /* @__PURE__ */ e(K, { size: 16, color: "inherit" }) : /* @__PURE__ */ e(
165
160
  a,
166
161
  {
167
162
  component: "span",
@@ -170,22 +165,22 @@ const i = ({
170
165
  fontWeight: 700,
171
166
  color: "primary.main"
172
167
  },
173
- children: pe
168
+ children: de
174
169
  }
175
170
  )
176
171
  ] });
177
172
  return /* @__PURE__ */ e(I, { children: r.accountNumber ? /* @__PURE__ */ n(I, { children: [
178
- /* @__PURE__ */ e(N, { type: "iban", data: r, rightAdornment: fe, children: /* @__PURE__ */ e(T, { my: 1, spacing: 2, container: !0, alignItems: "center", children: /* @__PURE__ */ e(T, { size: { xs: 12 }, children: /* @__PURE__ */ e(U, { fullWidth: !0, onClick: ae, children: c ? "Topup" : "Deposit" }) }) }) }),
173
+ /* @__PURE__ */ e(T, { type: "iban", data: r, rightAdornment: fe, children: /* @__PURE__ */ e(N, { my: 1, spacing: 2, container: !0, alignItems: "center", children: /* @__PURE__ */ e(N, { size: { xs: 12 }, children: /* @__PURE__ */ e(U, { fullWidth: !0, onClick: ae, children: c ? "Topup" : "Deposit" }) }) }) }),
179
174
  /* @__PURE__ */ n(
180
- Q,
175
+ Y,
181
176
  {
182
177
  open: oe,
183
178
  fullWidth: !0,
184
179
  onClose: () => R(!1),
185
- TransitionComponent: q,
180
+ TransitionComponent: X,
186
181
  maxWidth: "md",
187
182
  children: [
188
- /* @__PURE__ */ n(Z, { className: "buy-modal-text-color", children: [
183
+ /* @__PURE__ */ n(q, { className: "buy-modal-text-color", children: [
189
184
  /* @__PURE__ */ e(a, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ e("strong", { children: "Deposit / Receive" }) }),
190
185
  /* @__PURE__ */ e(
191
186
  z,
@@ -193,13 +188,13 @@ const i = ({
193
188
  "aria-label": "close",
194
189
  onClick: () => R(!1),
195
190
  className: "menu-buttons",
196
- children: /* @__PURE__ */ e(Y, {})
191
+ children: /* @__PURE__ */ e(Q, {})
197
192
  }
198
193
  )
199
194
  ] }),
200
- /* @__PURE__ */ n(X, { dividers: !0, children: [
195
+ /* @__PURE__ */ n(J, { dividers: !0, children: [
201
196
  /* @__PURE__ */ e(a, { variant: "h5", align: "center", children: /* @__PURE__ */ e("strong", { children: "Account Details" }) }),
202
- /* @__PURE__ */ n(T, { container: !0, spacing: 2, sx: { padding: "5% 15%" }, children: [
197
+ /* @__PURE__ */ n(N, { container: !0, spacing: 2, sx: { padding: "5% 15%" }, children: [
203
198
  /* @__PURE__ */ e(
204
199
  i,
205
200
  {
@@ -231,7 +226,7 @@ const i = ({
231
226
  showCopyBtn: !0
232
227
  }
233
228
  ),
234
- r.currency === K && /* @__PURE__ */ n(I, { children: [
229
+ r.currency === D && /* @__PURE__ */ n(I, { children: [
235
230
  /* @__PURE__ */ e(
236
231
  i,
237
232
  {
@@ -263,15 +258,15 @@ const i = ({
263
258
  }
264
259
  ),
265
260
  c && /* @__PURE__ */ n(
266
- Q,
261
+ Y,
267
262
  {
268
263
  open: h,
269
264
  fullWidth: !0,
270
265
  maxWidth: "sm",
271
266
  onClose: W,
272
- TransitionComponent: q,
267
+ TransitionComponent: X,
273
268
  children: [
274
- /* @__PURE__ */ n(Z, { className: "buy-modal-text-color", children: [
269
+ /* @__PURE__ */ n(q, { className: "buy-modal-text-color", children: [
275
270
  /* @__PURE__ */ e(a, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ e("strong", { children: "E-Wallet Topup" }) }),
276
271
  /* @__PURE__ */ e(
277
272
  z,
@@ -279,29 +274,29 @@ const i = ({
279
274
  "aria-label": "close",
280
275
  onClick: W,
281
276
  className: "menu-buttons",
282
- children: /* @__PURE__ */ e(Y, {})
277
+ children: /* @__PURE__ */ e(Q, {})
283
278
  }
284
279
  )
285
280
  ] }),
286
- /* @__PURE__ */ e(X, { dividers: !0, children: A ? /* @__PURE__ */ n(M, { mt: 2, children: [
281
+ /* @__PURE__ */ e(J, { dividers: !0, children: B ? /* @__PURE__ */ n(M, { mt: 2, children: [
287
282
  /* @__PURE__ */ e(a, { variant: "body1", mb: 2, children: "Complete your payment using the secure widget below." }),
288
283
  /* @__PURE__ */ e(
289
- Ne,
284
+ Te,
290
285
  {
291
- checkoutId: A,
286
+ checkoutId: B,
292
287
  srcUrl: me,
293
- onResultUrl: de
288
+ onResultUrl: pe
294
289
  }
295
290
  )
296
291
  ] }) : /* @__PURE__ */ n(I, { children: [
297
292
  /* @__PURE__ */ e(a, { variant: "body1", children: "Enter the amount you would like to add to this E-Wallet." }),
298
293
  /* @__PURE__ */ e(
299
- Te,
294
+ Ne,
300
295
  {
301
296
  label: "Topup Amount",
302
297
  type: "number",
303
298
  value: P,
304
- onChangeHandler: (o) => w(o),
299
+ onChangeHandler: (o) => A(o),
305
300
  inputProps: { min: "0", step: "0.01" }
306
301
  }
307
302
  ),
@@ -329,7 +324,7 @@ const i = ({
329
324
  disabled: v,
330
325
  children: /* @__PURE__ */ n("strong", { children: [
331
326
  v ? /* @__PURE__ */ e(
332
- D,
327
+ K,
333
328
  {
334
329
  size: 18,
335
330
  color: "inherit",
@@ -385,5 +380,5 @@ const i = ({
385
380
  ) });
386
381
  };
387
382
  export {
388
- ir as default
383
+ rr as default
389
384
  };
@@ -5,6 +5,7 @@ interface AccountProps {
5
5
  appKeyEur: string;
6
6
  paymentWidgetSrcUrl: string;
7
7
  navigate: (path: string) => void;
8
+ brandId?: string;
8
9
  }
9
10
  declare const _default: import('react').FC<AccountProps & import('../../../hoc/withThemeProvider').WithThemeProviderProps>;
10
11
  export default _default;