everest-npm-features 0.0.30 → 0.0.31

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 (92) hide show
  1. package/dist/assets/index4.css +1 -1
  2. package/dist/assets/styles2.css +1 -1
  3. package/dist/assets/tokenRow.css +1 -1
  4. package/dist/assets/withThemeProvider.css +1 -1
  5. package/dist/{auth-DoHhqFQx.js → auth-IOh0JhPD.js} +1 -1
  6. package/dist/{bank-DyVf4Uoo.js → bank-BNgO--wu.js} +1 -1
  7. package/dist/components/RocketRamp/MinimalKyc/form.js +2 -2
  8. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
  9. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
  10. package/dist/components/RocketRamp/Player/Buy/form.js +3 -3
  11. package/dist/components/RocketRamp/Player/Buy/index.js +5 -5
  12. package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
  13. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
  14. package/dist/components/RocketRamp/Player/Sell/form.js +3 -3
  15. package/dist/components/RocketRamp/Player/Sell/index.js +5 -5
  16. package/dist/components/RocketRamp/Player/SignIn/index.js +2 -2
  17. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
  18. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
  19. package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
  20. package/dist/components/RocketRamp/Player/SignUp/index.js +2 -2
  21. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
  22. package/dist/components/RocketRamp/ResetPassword/index.js +2 -2
  23. package/dist/components/RocketRamp/Store/SignUp/index.js +2 -2
  24. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
  25. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
  26. package/dist/components/RocketRamp/Transactions/index.js +2 -2
  27. package/dist/components/Shared/FullKyc/index.js +3 -3
  28. package/dist/components/Shared/FullKyc/personalDetails.js +2 -2
  29. package/dist/components/Shared/FullKyc/userInfo.js +3 -3
  30. package/dist/components/Shared/HistoryItem/index.js +58 -51
  31. package/dist/components/Shared/MinimalKyc/index.js +2 -2
  32. package/dist/components/Wallet/Account/iban.js +3 -3
  33. package/dist/components/Wallet/Account/index.js +3 -3
  34. package/dist/components/Wallet/Account/sendIban.js +2 -2
  35. package/dist/components/Wallet/Buy/confirmTransaction.js +4 -4
  36. package/dist/components/Wallet/Buy/form.js +6 -5
  37. package/dist/components/Wallet/Buy/index.js +6 -6
  38. package/dist/components/Wallet/Deposit/index.js +14 -7
  39. package/dist/components/Wallet/EnterpriseKyc/edd.js +1 -1
  40. package/dist/components/Wallet/EnterpriseKyc/index.js +144 -147
  41. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +8 -14
  42. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +2 -2
  43. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +1 -1
  44. package/dist/components/Wallet/EnterpriseKyc/verify.js +1 -1
  45. package/dist/components/Wallet/History/index.js +2 -2
  46. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +2 -2
  47. package/dist/components/Wallet/Portfolio/index.js +6 -6
  48. package/dist/components/Wallet/Portfolio/tokenRow.js +1 -1
  49. package/dist/components/Wallet/Profile/documents.js +3 -4
  50. package/dist/components/Wallet/Profile/index.js +2 -2
  51. package/dist/components/Wallet/Receive/index.js +2 -2
  52. package/dist/components/Wallet/Sell/confirmTransaction.js +4 -4
  53. package/dist/components/Wallet/Sell/form.js +6 -5
  54. package/dist/components/Wallet/Sell/index.js +6 -6
  55. package/dist/components/Wallet/Send/index.js +2 -2
  56. package/dist/components/Wallet/Shared/Auth/otpForm.js +2 -2
  57. package/dist/components/Wallet/Shared/Order/selectCustomIcon.d.ts +4 -0
  58. package/dist/components/Wallet/Shared/Order/selectCustomIcon.js +14 -0
  59. package/dist/components/Wallet/Shared/TokenModal/index.js +77 -75
  60. package/dist/components/Wallet/Shared/addBank.js +2 -2
  61. package/dist/components/Wallet/Shared/appButton.js +23 -20
  62. package/dist/components/Wallet/Shared/connectPlaidBank.js +2 -2
  63. package/dist/components/Wallet/SignIn/index.js +2 -2
  64. package/dist/components/Wallet/SignUp/index.js +2 -2
  65. package/dist/components/Wallet/Stake/index.js +3 -3
  66. package/dist/components/Wallet/Swap/index.js +158 -155
  67. package/dist/components/Wallet/Withdraw/bankSelect.js +5 -5
  68. package/dist/components/Wallet/Withdraw/confirmTransaction.js +4 -4
  69. package/dist/components/Wallet/Withdraw/form.js +6 -5
  70. package/dist/components/Wallet/Withdraw/index.js +5 -5
  71. package/dist/{constants-BF50a6s-.js → constants-DWENgBjv.js} +129 -128
  72. package/dist/{cryptoAssets-Dck03SPI.js → cryptoAssets-C7fIAflf.js} +1 -1
  73. package/dist/{documents-Sh6RH769.js → documents-BA_pUCQh.js} +57 -55
  74. package/dist/{fiatAssets-CTIJw9N4.js → fiatAssets-Bkh4X4hq.js} +1 -1
  75. package/dist/{index-GxLtFwhs.js → index-BtYuKn1z.js} +150 -147
  76. package/dist/{index-C3GMDAX6.js → index-BvD3O03n.js} +2 -2
  77. package/dist/{index-CbogTdwW.js → index-CNLxRkdf.js} +4 -4
  78. package/dist/{index-CABieRWd.js → index-Cz_n7X7q.js} +129 -116
  79. package/dist/{index-CWzs4-wZ.js → index-GXDDOdOI.js} +4 -4
  80. package/dist/{index-CmJNKC9m.js → index-dsM-tUkI.js} +125 -115
  81. package/dist/{kyc-kWxxF1vI.js → kyc-DbZ4KGFX.js} +1 -1
  82. package/dist/main.js +6 -6
  83. package/dist/{order-D-FBHreS.js → order-BLu2iLAt.js} +1 -1
  84. package/dist/{stake-mS8fdG8g.js → stake-tw1n23io.js} +1 -1
  85. package/dist/styles.module-CRVptIQs.js +33 -0
  86. package/dist/{tokenRow-DBnoUm0z.js → tokenRow-C5N2uPgO.js} +42 -42
  87. package/dist/util/constants.d.ts +1 -0
  88. package/dist/util/constants.js +76 -75
  89. package/dist/{wallet-BTc5u8j2.js → wallet-DZwD-8oa.js} +1 -1
  90. package/package.json +1 -1
  91. package/dist/ArrowBack-BV158RTp.js +0 -8
  92. package/dist/styles.module-B-t8vvWh.js +0 -31
@@ -1,41 +1,42 @@
1
1
  import { jsxs as r, Fragment as _, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as p, useEffect as x } from "react";
3
- import qe from "./hoc/withThemeProvider.js";
4
- import { P as Ye } from "./PlayArrow-BCWGWaUq.js";
5
- import { I as Ge } from "./Info-0vSsl6Bm.js";
3
+ import Ye from "./hoc/withThemeProvider.js";
4
+ import { P as Ge } from "./PlayArrow-BCWGWaUq.js";
5
+ import { I as Ke } from "./Info-0vSsl6Bm.js";
6
6
  import { G as xe } from "./generic-token-B_ptO5yb.js";
7
- import { TOKEN_TO_FIAT as te, ESTIMATE_TOOLTIP_TEXT as Ke, SELL_WITHDRAW_ICON as He, DIALOG_SUCCESS_ICON as De } from "./util/constants.js";
8
- import { af as R } from "./constants-BF50a6s-.js";
9
- import { u as je } from "./index-v4KC1K_V.js";
10
- import { b as Xe, c as ve, o as ne, d as Ve, a as Je } from "./order-D-FBHreS.js";
11
- import { M as Qe } from "./tooltip-Dv3Lfsa2.js";
12
- import { getCurrencySymbol as Ne, getNetworkBackGround as Ze } from "./util/functions.js";
13
- import et from "./components/Wallet/Shared/backBtn.js";
14
- import { s as l } from "./styles.module-B-t8vvWh.js";
15
- import D from "./components/Wallet/Shared/appButton.js";
16
- import { useDialog as Ce } from "./hooks/useDialog/index.js";
7
+ import { TOKEN_TO_FIAT as te, ESTIMATE_TOOLTIP_TEXT as De, SELL_WITHDRAW_ICON as He, DIALOG_SUCCESS_ICON as je } from "./util/constants.js";
8
+ import { ag as R } from "./constants-DWENgBjv.js";
9
+ import { u as Xe } from "./index-v4KC1K_V.js";
10
+ import { b as Ve, c as Ne, o as ne, d as Je, a as Qe } from "./order-BLu2iLAt.js";
11
+ import { M as Ze } from "./tooltip-Dv3Lfsa2.js";
12
+ import { getCurrencySymbol as Ce, getNetworkBackGround as et } from "./util/functions.js";
13
+ import tt from "./components/Wallet/Shared/backBtn.js";
14
+ import { s as l } from "./styles.module-CRVptIQs.js";
15
+ import H from "./components/Wallet/Shared/appButton.js";
16
+ import { useDialog as ke } from "./hooks/useDialog/index.js";
17
17
  import { T as s } from "./Typography-BQDN44CM.js";
18
- import { B as I } from "./Box-BwKpr_VI.js";
18
+ import { B as E } from "./Box-BwKpr_VI.js";
19
19
  import { G as o } from "./Grid-CPkjiKqX.js";
20
20
  import { C as S } from "./CircularProgress-Yx712vpT.js";
21
- import { u as L, a as tt } from "./react-redux-C7I9-1M6.js";
22
- import { f as nt } from "./fiatAssets-CTIJw9N4.js";
23
- import { f as rt } from "./cryptoAssets-Dck03SPI.js";
24
- import { u as ot } from "./wallet-BTc5u8j2.js";
25
- import { useSnackBarContext as it } from "./context/snackBarContext.js";
26
- import { AuthContainer as at } from "./components/Wallet/Shared/Container/index.js";
27
- import st from "./components/Shared/MinimalKyc/index.js";
28
- import lt from "./components/Wallet/Shared/Input/index.js";
29
- import ct from "./components/Wallet/Shared/TokenModal/index.js";
30
- import { formatNumberWithoutRounding as mt } from "./util/conversions.js";
21
+ import { u as L, a as nt } from "./react-redux-C7I9-1M6.js";
22
+ import { f as rt } from "./fiatAssets-Bkh4X4hq.js";
23
+ import { f as ot } from "./cryptoAssets-C7fIAflf.js";
24
+ import { u as it } from "./wallet-DZwD-8oa.js";
25
+ import { useSnackBarContext as at } from "./context/snackBarContext.js";
26
+ import { AuthContainer as st } from "./components/Wallet/Shared/Container/index.js";
27
+ import lt from "./components/Shared/MinimalKyc/index.js";
28
+ import ct from "./components/Wallet/Shared/Input/index.js";
29
+ import mt from "./components/Wallet/Shared/TokenModal/index.js";
30
+ import { formatNumberWithoutRounding as dt } from "./util/conversions.js";
31
+ import ye from "./components/Wallet/Shared/Order/selectCustomIcon.js";
31
32
  import { F as O } from "./FormControl-H4D1Z6Ov.js";
32
33
  import { F as K } from "./FilledInput-QaJVaeIX.js";
33
- import { F as ye, I as be } from "./TextField-DmiK1A_S.js";
34
+ import { F as be, I as ge } from "./TextField-DmiK1A_S.js";
34
35
  import { S as ee } from "./Select-CGei0bav.js";
35
- import { M as H } from "./MenuItem-ByxiQtY2.js";
36
- import { L as ge } from "./ListItemIcon-D657XWHf.js";
37
- import { I as _e } from "./IconButton-WneJM4uP.js";
38
- const dt = ({
36
+ import { M as D } from "./MenuItem-ByxiQtY2.js";
37
+ import { L as _e } from "./ListItemIcon-D657XWHf.js";
38
+ import { I as ve } from "./IconButton-WneJM4uP.js";
39
+ const ut = ({
39
40
  setScreen: v,
40
41
  orderData: f,
41
42
  dispatch: c,
@@ -49,7 +50,7 @@ const dt = ({
49
50
  navigate: w
50
51
  }) => {
51
52
  var pe, fe, he;
52
- const { openDialog: N, ConfirmDialog: B } = Ce(), j = L((t) => t.app.features).withdraw, P = L(je), Se = P.data, { loader: Fe } = P, $ = d.fiats, we = d.loader, U = h.featureTokens.sell.list, q = h.featureTokens.sell.default, oe = h.loader, Y = f.loader, m = f.estimate[R], C = m.fiat_out_amount, Ee = m.conversion_price, Ie = m.total_fee;
53
+ const { openDialog: N, ConfirmDialog: B } = ke(), j = L((t) => t.app.features).withdraw, P = L(Xe), Fe = P.data, { loader: we } = P, $ = d.fiats, Ie = d.loader, U = h.featureTokens.sell.list, q = h.featureTokens.sell.default, oe = h.loader, Y = f.loader, m = f.estimate[R], C = m.fiat_out_amount, Ee = m.conversion_price, Te = m.total_fee;
53
54
  let ie = 0, ae = 0;
54
55
  const se = m.fee_breakdown;
55
56
  for (let t = 0; t < se.length; t++) {
@@ -58,14 +59,14 @@ const dt = ({
58
59
  }
59
60
  const [i, le] = p({
60
61
  symbol: ""
61
- }), [X, V] = p(!1), [E, Te] = p(2), [ze, Re] = p([]), [ce, Me] = p(!1), [W, We] = p(50), [J, Ae] = p(3e3), [me, Q] = p(""), [T, Z] = p(m.crypto_amount || "0.05"), [Oe, de] = p(!1), G = Number((pe = m == null ? void 0 : m.input_token) == null ? void 0 : pe.fiat_amount), z = $.find((t) => t.id === E), k = Ne(z == null ? void 0 : z.symbol);
62
+ }), [X, V] = p(!1), [I, ze] = p(2), [Re, Me] = p([]), [ce, We] = p(!1), [W, Ae] = p(50), [J, Oe] = p(3e3), [me, Q] = p(""), [T, Z] = p(m.crypto_amount || "0.05"), [Le, de] = p(!1), G = Number((pe = m == null ? void 0 : m.input_token) == null ? void 0 : pe.fiat_amount), z = $.find((t) => t.id === I), k = Ce(z == null ? void 0 : z.symbol);
62
63
  x(() => {
63
64
  const t = [];
64
65
  for (let a = 0; a < $.length; a++) {
65
66
  const u = {}, A = $[a];
66
67
  A.symbol === "EUR" && (u.id = A.id, u.name = A.name, u.icon_uri = A.icon_uri, u.symbol = A.symbol, u.payment_options = [], t.push(u));
67
68
  }
68
- Re(t);
69
+ Me(t);
69
70
  }, [$]), x(() => {
70
71
  q && q.id && le(q);
71
72
  }, [q]), x(() => {
@@ -75,20 +76,20 @@ const dt = ({
75
76
  `Maximum value should be less than ${k + J}`
76
77
  ), V(!0)));
77
78
  }, [C]), x(() => {
78
- E && F && F(E);
79
- }, [E, n]), x(() => {
80
- if (i && i.id && T && E) {
81
- c(Xe(R)), V(!1), Q("");
79
+ I && F && F(I);
80
+ }, [I, n]), x(() => {
81
+ if (i && i.id && T && I) {
82
+ c(Ve(R)), V(!1), Q("");
82
83
  const t = setTimeout(() => {
83
- Le();
84
+ Be();
84
85
  }, 1e3);
85
86
  return () => clearTimeout(t);
86
87
  }
87
- }, [i, T, U, E]);
88
- const Le = () => {
88
+ }, [i, T, U, I]);
89
+ const Be = () => {
89
90
  var t;
90
91
  c(
91
- ve(
92
+ Ne(
92
93
  {
93
94
  apiKey: M,
94
95
  transaction_type: te,
@@ -108,18 +109,18 @@ const dt = ({
108
109
  for (let a = 0; a < t; a++) {
109
110
  const u = f.types[a];
110
111
  if (u.type === te) {
111
- We(parseFloat(u.min_deposit_amount)), Ae(parseFloat(u.max_deposit_amount));
112
+ Ae(parseFloat(u.min_deposit_amount)), Oe(parseFloat(u.max_deposit_amount));
112
113
  break;
113
114
  }
114
115
  }
115
116
  }, [f.types]);
116
- const Be = (t) => {
117
+ const Pe = (t) => {
117
118
  const a = t.target.value;
118
119
  a ? /^([0-9.]+)$/.test(a) && Z(a) : Z("");
119
120
  }, ue = (t) => {
120
121
  const a = U.find((u) => u.symbol === t);
121
122
  le(a);
122
- }, Pe = () => {
123
+ }, $e = () => {
123
124
  if (!i.id)
124
125
  return y({ message: "Please select token" }), !1;
125
126
  if (!T)
@@ -140,8 +141,8 @@ const dt = ({
140
141
  return y({
141
142
  message: "Insufficient Funds. Please provide amount less or equal to available balance"
142
143
  }), !1;
143
- v(ke);
144
- }, $e = () => {
144
+ v(Se);
145
+ }, Ue = () => {
145
146
  N({
146
147
  icon: He,
147
148
  title: "Sell & Withdraw",
@@ -156,8 +157,8 @@ const dt = ({
156
157
  confirmButtonText: "Ok",
157
158
  cancelButtonShow: !1
158
159
  });
159
- }, Ue = () => {
160
- i && Z(mt(i.fmt_balance + "", 8));
160
+ }, qe = () => {
161
+ i && Z(dt(i.fmt_balance + "", 8));
161
162
  };
162
163
  return /* @__PURE__ */ r(_, { children: [
163
164
  /* @__PURE__ */ e(B, {}),
@@ -175,24 +176,24 @@ const dt = ({
175
176
  " ",
176
177
  i.symbol,
177
178
  " ",
178
- /* @__PURE__ */ e("span", { className: l["max-btn"], onClick: Ue, children: "MAX" })
179
+ /* @__PURE__ */ e("span", { className: l["max-btn"], onClick: qe, children: "MAX" })
179
180
  ]
180
181
  }
181
182
  ) })
182
183
  ] }),
183
184
  /* @__PURE__ */ r(o, { mt: 0.5, spacing: 0, container: !0, className: l["field-set"], children: [
184
- /* @__PURE__ */ e(o, { size: { xs: 6 }, children: /* @__PURE__ */ r(
185
+ /* @__PURE__ */ e(o, { size: { xs: 7 }, children: /* @__PURE__ */ r(
185
186
  O,
186
187
  {
187
188
  variant: "filled",
188
- className: `${l.amount} ${l["fiat-field"]}`,
189
+ className: `${l.amount} ${l["crypto-field"]}`,
189
190
  fullWidth: !0,
190
191
  children: [
191
192
  /* @__PURE__ */ e(
192
193
  K,
193
194
  {
194
195
  value: T,
195
- onChange: Be,
196
+ onChange: Pe,
196
197
  type: "text",
197
198
  placeholder: `${W > 0 ? k + W + " minimum value" : ""}`,
198
199
  error: X,
@@ -201,11 +202,11 @@ const dt = ({
201
202
  fullWidth: !0
202
203
  }
203
204
  ),
204
- /* @__PURE__ */ e(ye, { className: l["amount-symbol"], children: G > 0 ? "$" + (G * 1).toFixed(2) : /* @__PURE__ */ e(_, { children: " " }) })
205
+ /* @__PURE__ */ e(be, { className: l["crypto-helper-text"], children: G > 0 ? "$" + (G * 1).toFixed(2) : /* @__PURE__ */ e(_, { children: " " }) })
205
206
  ]
206
207
  }
207
208
  ) }),
208
- /* @__PURE__ */ e(o, { size: { xs: 6 }, className: "content-center", children: oe ? /* @__PURE__ */ e(S, { sx: { ml: 1 }, size: 30 }) : /* @__PURE__ */ r(
209
+ /* @__PURE__ */ e(o, { size: { xs: 5 }, className: "content-center", children: oe ? /* @__PURE__ */ e(S, { sx: { ml: 1 }, size: 30 }) : /* @__PURE__ */ r(
209
210
  O,
210
211
  {
211
212
  variant: "filled",
@@ -213,15 +214,16 @@ const dt = ({
213
214
  fullWidth: !0,
214
215
  children: [
215
216
  (i == null ? void 0 : i.network) && /* @__PURE__ */ e(
216
- be,
217
+ ge,
217
218
  {
218
- className: `${l["network-label"]} ${l[Ze(i == null ? void 0 : i.network.name)]}`,
219
+ className: `${l["network-label"]} ${l[et(i == null ? void 0 : i.network.name)]}`,
219
220
  children: i == null ? void 0 : i.network.name
220
221
  }
221
222
  ),
222
223
  /* @__PURE__ */ r(
223
224
  ee,
224
225
  {
226
+ IconComponent: ye,
225
227
  input: /* @__PURE__ */ e(K, { disableUnderline: !0 }),
226
228
  sx: {
227
229
  borderTopLeftRadius: 0,
@@ -253,9 +255,9 @@ const dt = ({
253
255
  defaultOpen: !1,
254
256
  open: !1,
255
257
  children: [
256
- /* @__PURE__ */ e(H, { value: "", children: "Please select" }),
257
- U.map((t) => /* @__PURE__ */ r(H, { value: t.symbol, children: [
258
- /* @__PURE__ */ e(ge, { className: l["dropdown-list-item"], children: /* @__PURE__ */ e(
258
+ /* @__PURE__ */ e(D, { value: "", children: "Please select" }),
259
+ U.map((t) => /* @__PURE__ */ r(D, { value: t.symbol, children: [
260
+ /* @__PURE__ */ e(_e, { className: l["dropdown-list-item"], children: /* @__PURE__ */ e(
259
261
  "img",
260
262
  {
261
263
  src: t.icon_uri,
@@ -279,7 +281,7 @@ const dt = ({
279
281
  ] }),
280
282
  /* @__PURE__ */ e(o, { mt: 4, container: !0, children: /* @__PURE__ */ e(o, { size: { xs: 4 }, children: /* @__PURE__ */ e(s, { className: l.label, variant: "caption", component: "p", children: "You Receive" }) }) }),
281
283
  /* @__PURE__ */ r(o, { mt: 0.5, container: !0, className: l["field-set"], children: [
282
- /* @__PURE__ */ e(o, { size: { xs: 6 }, children: /* @__PURE__ */ r(
284
+ /* @__PURE__ */ e(o, { size: { xs: 7 }, children: /* @__PURE__ */ r(
283
285
  O,
284
286
  {
285
287
  className: `${l.amount} ${l["fiat-field"]}`,
@@ -295,11 +297,11 @@ const dt = ({
295
297
  fullWidth: !0
296
298
  }
297
299
  ),
298
- /* @__PURE__ */ e(ye, { className: l["amount-symbol"], children: +((fe = m == null ? void 0 : m.output_token) == null ? void 0 : fe.fiat_amount) * 1 > 0 ? k + (+((he = m == null ? void 0 : m.output_token) == null ? void 0 : he.fiat_amount) * 1).toFixed(2) : /* @__PURE__ */ e(_, { children: " " }) })
300
+ /* @__PURE__ */ e(be, { className: l["amount-symbol"], children: +((fe = m == null ? void 0 : m.output_token) == null ? void 0 : fe.fiat_amount) * 1 > 0 ? k + (+((he = m == null ? void 0 : m.output_token) == null ? void 0 : he.fiat_amount) * 1).toFixed(2) : /* @__PURE__ */ e(_, { children: " " }) })
299
301
  ]
300
302
  }
301
303
  ) }),
302
- /* @__PURE__ */ e(o, { size: { xs: 6 }, className: "content-center", children: we ? /* @__PURE__ */ e(
304
+ /* @__PURE__ */ e(o, { size: { xs: 5 }, className: "content-center", children: Ie ? /* @__PURE__ */ e(
303
305
  S,
304
306
  {
305
307
  sx: { ml: 1 },
@@ -314,6 +316,7 @@ const dt = ({
314
316
  children: /* @__PURE__ */ e(
315
317
  ee,
316
318
  {
319
+ IconComponent: ye,
317
320
  input: /* @__PURE__ */ e(K, { disableUnderline: !0 }),
318
321
  sx: {
319
322
  borderTopLeftRadius: 0,
@@ -334,13 +337,13 @@ const dt = ({
334
337
  fill: "#16359D !important"
335
338
  }
336
339
  },
337
- value: E,
340
+ value: I,
338
341
  variant: "filled",
339
342
  displayEmpty: !0,
340
- onChange: (t) => Te(t.target.value),
343
+ onChange: (t) => ze(t.target.value),
341
344
  error: X,
342
- children: ze.map((t) => /* @__PURE__ */ r(H, { value: t.id, children: [
343
- /* @__PURE__ */ e(ge, { className: l["dropdown-list-item"], children: /* @__PURE__ */ e(
345
+ children: Re.map((t) => /* @__PURE__ */ r(D, { value: t.id, children: [
346
+ /* @__PURE__ */ e(_e, { className: l["dropdown-list-item"], children: /* @__PURE__ */ e(
344
347
  "img",
345
348
  {
346
349
  src: t.icon_uri,
@@ -359,18 +362,18 @@ const dt = ({
359
362
  }
360
363
  ) })
361
364
  ] }),
362
- /* @__PURE__ */ e(I, { mt: 3, sx: { color: "#1A202C" }, children: /* @__PURE__ */ r(o, { container: !0, children: [
365
+ /* @__PURE__ */ e(E, { mt: 3, sx: { color: "#1A202C" }, children: /* @__PURE__ */ r(o, { container: !0, children: [
363
366
  /* @__PURE__ */ e(o, { className: "text-left", size: { xs: 12 }, children: /* @__PURE__ */ r(
364
- _e,
367
+ ve,
365
368
  {
366
369
  sx: { padding: "0" },
367
- onClick: () => Me((t) => !t),
370
+ onClick: () => We((t) => !t),
368
371
  disableFocusRipple: !0,
369
372
  disableRipple: !0,
370
373
  children: [
371
374
  /* @__PURE__ */ e(s, { variant: "caption", fontWeight: 700, children: "Fee Calculation" }),
372
375
  /* @__PURE__ */ e(
373
- Ye,
376
+ Ge,
374
377
  {
375
378
  sx: {
376
379
  transform: `rotate(${ce ? "90" : "0"}deg)`,
@@ -385,7 +388,14 @@ const dt = ({
385
388
  /* @__PURE__ */ e(o, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(s, { variant: "caption", children: "Everest Fee" }) }),
386
389
  /* @__PURE__ */ e(o, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ r(s, { variant: "caption", children: [
387
390
  k,
388
- Y ? /* @__PURE__ */ e(S, { size: 30, color: "primary" }) : ie.toFixed(2)
391
+ Y ? /* @__PURE__ */ e(
392
+ S,
393
+ {
394
+ sx: { ml: 1 },
395
+ size: 15,
396
+ color: "primary"
397
+ }
398
+ ) : ie.toFixed(2)
389
399
  ] }) }),
390
400
  /* @__PURE__ */ e(o, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(s, { variant: "caption", children: "Network Fee" }) }),
391
401
  /* @__PURE__ */ e(o, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ r(s, { variant: "caption", children: [
@@ -403,7 +413,7 @@ const dt = ({
403
413
  /* @__PURE__ */ e(o, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(s, { variant: "caption", children: "Total Fees" }) }),
404
414
  /* @__PURE__ */ e(o, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ r(s, { variant: "caption", children: [
405
415
  k,
406
- Y ? /* @__PURE__ */ e(S, { sx: { ml: 1 }, size: 15, color: "primary" }) : Number(Ie).toFixed(2)
416
+ Y ? /* @__PURE__ */ e(S, { sx: { ml: 1 }, size: 15, color: "primary" }) : Number(Te).toFixed(2)
407
417
  ] }) }),
408
418
  i && /* @__PURE__ */ r(_, { children: [
409
419
  /* @__PURE__ */ e(o, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ r(s, { variant: "caption", children: [
@@ -411,12 +421,12 @@ const dt = ({
411
421
  i.symbol,
412
422
  " ",
413
423
  /* @__PURE__ */ e(
414
- Qe,
424
+ Ze,
415
425
  {
416
- title: Ke,
426
+ title: De,
417
427
  placement: "right",
418
- children: /* @__PURE__ */ e(_e, { className: "info-fee-icon", children: /* @__PURE__ */ e(
419
- Ge,
428
+ children: /* @__PURE__ */ e(ve, { className: "info-fee-icon", children: /* @__PURE__ */ e(
429
+ Ke,
420
430
  {
421
431
  sx: {
422
432
  fontSize: "14px"
@@ -439,22 +449,22 @@ const dt = ({
439
449
  ] }) })
440
450
  ] })
441
451
  ] }) }),
442
- /* @__PURE__ */ e(I, { sx: { alignItems: "left", width: "100%" }, children: Fe ? /* @__PURE__ */ e(I, { mt: 2, sx: { textAlign: "center" }, children: /* @__PURE__ */ e(S, {}) }) : /* @__PURE__ */ e(_, { children: /* @__PURE__ */ r(O, { variant: "filled", fullWidth: !0, children: [
443
- !n && /* @__PURE__ */ e(be, { children: "Select wallet address" }),
452
+ /* @__PURE__ */ e(E, { sx: { alignItems: "left", width: "100%" }, children: we ? /* @__PURE__ */ e(E, { mt: 2, sx: { textAlign: "center" }, children: /* @__PURE__ */ e(S, {}) }) : /* @__PURE__ */ e(_, { children: /* @__PURE__ */ r(O, { variant: "filled", fullWidth: !0, children: [
453
+ !n && /* @__PURE__ */ e(ge, { children: "Select wallet address" }),
444
454
  /* @__PURE__ */ e(
445
455
  ee,
446
456
  {
447
457
  value: n,
448
458
  onChange: (t) => g && g(t.target.value),
449
- children: Se.map((t, a) => /* @__PURE__ */ e(H, { value: t.address, children: t.name + "(" + t.address + ")" }, a))
459
+ children: Fe.map((t, a) => /* @__PURE__ */ e(D, { value: t.address, children: t.name + "(" + t.address + ")" }, a))
450
460
  }
451
461
  )
452
462
  ] }) }) }),
453
- /* @__PURE__ */ r(I, { mt: 4, children: [
463
+ /* @__PURE__ */ r(E, { mt: 4, children: [
454
464
  /* @__PURE__ */ e(
455
- D,
465
+ H,
456
466
  {
457
- onClick: Pe,
467
+ onClick: $e,
458
468
  disabled: X || !C,
459
469
  fullWidth: !0,
460
470
  children: /* @__PURE__ */ e("strong", { children: "Next" })
@@ -462,7 +472,7 @@ const dt = ({
462
472
  ),
463
473
  j && /* @__PURE__ */ r(_, { children: [
464
474
  /* @__PURE__ */ e(
465
- D,
475
+ H,
466
476
  {
467
477
  variantType: "secondary",
468
478
  sx: { mt: 3 },
@@ -478,16 +488,16 @@ const dt = ({
478
488
  className: l["connect-wallet-signup"],
479
489
  color: "primary",
480
490
  variant: "caption",
481
- onClick: $e,
491
+ onClick: Ue,
482
492
  children: /* @__PURE__ */ e("strong", { children: "Sell & Withdraw Info" })
483
493
  }
484
494
  )
485
495
  ] })
486
496
  ] }),
487
497
  /* @__PURE__ */ e(
488
- ct,
498
+ mt,
489
499
  {
490
- open: Oe,
500
+ open: Le,
491
501
  setModal: de,
492
502
  loader: oe,
493
503
  tokenList: U,
@@ -495,7 +505,7 @@ const dt = ({
495
505
  }
496
506
  )
497
507
  ] });
498
- }, ut = ({
508
+ }, pt = ({
499
509
  setScreen: v,
500
510
  partnerKey: f,
501
511
  orderData: c,
@@ -503,12 +513,12 @@ const dt = ({
503
513
  walletAddress: h,
504
514
  navigate: F
505
515
  }) => {
506
- const { openDialog: y, ConfirmDialog: M } = Ce(), n = c.estimate[R], g = c.create.order_id, w = c.loader;
516
+ const { openDialog: y, ConfirmDialog: M } = ke(), n = c.estimate[R], g = c.create.order_id, w = c.loader;
507
517
  n.fiat_amount;
508
- const N = Ne(n.fiat_currency), [B, b] = p(!1);
518
+ const N = Ce(n.fiat_currency), [B, b] = p(!1);
509
519
  x(() => {
510
520
  g && B && y({
511
- icon: De,
521
+ icon: je,
512
522
  title: "Sell Success",
513
523
  message: "Your transaction was successful for more details on the transaction please track your order.",
514
524
  cancelButtonText: "Sell again",
@@ -526,7 +536,7 @@ const dt = ({
526
536
  }, []);
527
537
  const j = () => {
528
538
  d(
529
- ve(
539
+ Ne(
530
540
  {
531
541
  apiKey: f,
532
542
  transaction_type: n.transaction_type,
@@ -543,7 +553,7 @@ const dt = ({
543
553
  );
544
554
  }, P = () => {
545
555
  d(
546
- Ve({
556
+ Je({
547
557
  apiKey: f,
548
558
  quoteId: n.quote_id,
549
559
  walletAddress: h
@@ -553,7 +563,7 @@ const dt = ({
553
563
  return /* @__PURE__ */ r(_, { children: [
554
564
  /* @__PURE__ */ e(M, {}),
555
565
  /* @__PURE__ */ e(
556
- et,
566
+ tt,
557
567
  {
558
568
  onClickHandler: () => v(re),
559
569
  backBtnText: "Confirm Your Order"
@@ -561,7 +571,7 @@ const dt = ({
561
571
  ),
562
572
  /* @__PURE__ */ e(s, { mt: 4, variant: "sm", fontWeight: 600, children: "Token Send From" }),
563
573
  /* @__PURE__ */ e(
564
- I,
574
+ E,
565
575
  {
566
576
  mt: 2,
567
577
  className: l["confirm-payment"],
@@ -570,7 +580,7 @@ const dt = ({
570
580
  }
571
581
  ),
572
582
  /* @__PURE__ */ e(s, { mt: 3, variant: "sm", fontWeight: 600, component: "p", children: "Order Estimate Details" }),
573
- /* @__PURE__ */ e(I, { sx: { color: "#A6A6A6" }, children: /* @__PURE__ */ r(o, { container: !0, children: [
583
+ /* @__PURE__ */ e(E, { sx: { color: "#A6A6A6" }, children: /* @__PURE__ */ r(o, { container: !0, children: [
574
584
  /* @__PURE__ */ e(o, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ r(s, { variant: "caption", children: [
575
585
  n.crypto_amount,
576
586
  " ",
@@ -615,8 +625,8 @@ const dt = ({
615
625
  n.fiat_currency
616
626
  ] }) }) })
617
627
  ] }) }),
618
- /* @__PURE__ */ e(I, { mt: 4, children: /* @__PURE__ */ e(
619
- D,
628
+ /* @__PURE__ */ e(E, { mt: 4, children: /* @__PURE__ */ e(
629
+ H,
620
630
  {
621
631
  onClick: P,
622
632
  disabled: w,
@@ -628,19 +638,19 @@ const dt = ({
628
638
  }
629
639
  ) })
630
640
  ] });
631
- }, re = "FORM_SCREEN", ke = "CONFIRM_SCREEN", pt = "MINIMAL_KYC_SCREEN", ft = ({ partnerKey: v, navigate: f }) => {
632
- const c = tt(), d = L((b) => b.order), h = d.error, F = L((b) => b.fiatAssets), y = L(
641
+ }, re = "FORM_SCREEN", Se = "CONFIRM_SCREEN", ft = "MINIMAL_KYC_SCREEN", ht = ({ partnerKey: v, navigate: f }) => {
642
+ const c = nt(), d = L((b) => b.order), h = d.error, F = L((b) => b.fiatAssets), y = L(
633
643
  (b) => b.cryptoAssets
634
- ), [M, n] = p(re), [g, w] = p(""), { showAlertMessage: N } = it();
644
+ ), [M, n] = p(re), [g, w] = p(""), { showAlertMessage: N } = at();
635
645
  return x(() => {
636
646
  h && N({ message: h });
637
647
  }, [h]), x(() => {
638
- d.initMinimalKyc && (N({ message: h, type: "info" }), n(pt));
639
- }, [d.initMinimalKyc]), x(() => (c(nt()), c(Je(te)), c(ot()), () => {
648
+ d.initMinimalKyc && (N({ message: h, type: "info" }), n(ft));
649
+ }, [d.initMinimalKyc]), x(() => (c(rt()), c(Qe(te)), c(it()), () => {
640
650
  c(ne());
641
- }), []), /* @__PURE__ */ e(at, { addPadding: !0, children: {
651
+ }), []), /* @__PURE__ */ e(st, { addPadding: !0, children: {
642
652
  FORM_SCREEN: /* @__PURE__ */ e(
643
- dt,
653
+ ut,
644
654
  {
645
655
  showAlertMessage: N,
646
656
  setScreen: n,
@@ -650,7 +660,7 @@ const dt = ({
650
660
  dispatch: c,
651
661
  getCryptoAssets: (b) => {
652
662
  c(
653
- rt({
663
+ ot({
654
664
  type: R,
655
665
  id: b,
656
666
  walletAddress: g,
@@ -665,7 +675,7 @@ const dt = ({
665
675
  }
666
676
  ),
667
677
  CONFIRM_SCREEN: /* @__PURE__ */ e(
668
- ut,
678
+ pt,
669
679
  {
670
680
  partnerKey: v,
671
681
  setScreen: n,
@@ -677,22 +687,22 @@ const dt = ({
677
687
  }
678
688
  ),
679
689
  MINIMAL_KYC_SCREEN: /* @__PURE__ */ e(
680
- st,
690
+ lt,
681
691
  {
682
- inputComponent: lt,
683
- buttonComponent: D,
692
+ inputComponent: ct,
693
+ buttonComponent: H,
684
694
  onComplete: () => {
685
- n(ke);
695
+ n(Se);
686
696
  }
687
697
  }
688
698
  )
689
699
  }[M] });
690
- }, Qt = qe(ft);
700
+ }, en = Ye(ht);
691
701
  export {
692
- ke as C,
702
+ Se as C,
693
703
  re as F,
694
- pt as M,
695
- dt as S,
696
- ut as a,
697
- Qt as i
704
+ ft as M,
705
+ ut as S,
706
+ pt as a,
707
+ en as i
698
708
  };
@@ -1,4 +1,4 @@
1
- import { Z as s, _ as t, $ as e, a0 as o, a1 as _, a2 as y } from "./constants-BF50a6s-.js";
1
+ import { _ as s, $ as t, a0 as e, a1 as o, a2 as _, a3 as y } from "./constants-DWENgBjv.js";
2
2
  const p = (a) => ({
3
3
  type: e,
4
4
  payload: a
package/dist/main.js CHANGED
@@ -10,13 +10,13 @@ import { default as k } from "./components/Wallet/Account/index.js";
10
10
  import { default as y } from "./components/Wallet/Stake/index.js";
11
11
  import { default as h } from "./components/Wallet/MoveToEthereumOrEverChain/index.js";
12
12
  import { default as B } from "./components/Wallet/SwapAndUniSwap/index.js";
13
- import { i as P } from "./index-GxLtFwhs.js";
14
- import { i as v } from "./index-CmJNKC9m.js";
15
- import { i as K } from "./index-CABieRWd.js";
13
+ import { i as P } from "./index-BtYuKn1z.js";
14
+ import { i as v } from "./index-dsM-tUkI.js";
15
+ import { i as K } from "./index-Cz_n7X7q.js";
16
16
  import { default as A } from "./components/Wallet/Swap/index.js";
17
17
  import { default as H } from "./components/Wallet/EnterpriseKyc/index.js";
18
18
  import { default as M } from "./components/Wallet/Deposit/index.js";
19
- import { F as W } from "./index-C3GMDAX6.js";
19
+ import { F as W } from "./index-BvD3O03n.js";
20
20
  import { useSnackBar as j } from "./hooks/useSnackBar.js";
21
21
  import { SnackBarContext as z, useSnackBarContext as G } from "./context/snackBarContext.js";
22
22
  import { useDialog as L } from "./hooks/useDialog/index.js";
@@ -25,8 +25,8 @@ import { default as Y } from "./components/RocketRamp/Player/SignIn/index.js";
25
25
  import { default as _ } from "./components/RocketRamp/Player/SignUp/index.js";
26
26
  import { default as oo } from "./components/RocketRamp/Player/Dashboard/index.js";
27
27
  import { default as ao } from "./components/RocketRamp/Transactions/index.js";
28
- import { i as ro } from "./index-CWzs4-wZ.js";
29
- import { i as po } from "./index-CbogTdwW.js";
28
+ import { i as ro } from "./index-GXDDOdOI.js";
29
+ import { i as po } from "./index-CNLxRkdf.js";
30
30
  import { default as so } from "./components/RocketRamp/MinimalKyc/index.js";
31
31
  import { default as xo } from "./components/RocketRamp/Store/SignUp/index.js";
32
32
  import { default as io } from "./components/RocketRamp/Store/Dashboard/index.js";
@@ -1,4 +1,4 @@
1
- import { O as t, v as s, w as E, x as R, y as o, z as r, B as y, C as T, D as _, E as p } from "./constants-BF50a6s-.js";
1
+ import { O as t, v as s, w as E, x as R, y as o, z as r, B as y, C as T, D as _, E as p } from "./constants-DWENgBjv.js";
2
2
  const n = (e) => ({
3
3
  type: _,
4
4
  payload: e
@@ -1,4 +1,4 @@
1
- import { S as t, s as a, t as e, u as S } from "./constants-BF50a6s-.js";
1
+ import { S as t, s as a, t as e, u as S } from "./constants-DWENgBjv.js";
2
2
  const T = () => ({
3
3
  type: t
4
4
  }), o = (s) => ({
@@ -0,0 +1,33 @@
1
+ import './assets/styles2.css';const _ = "_label_1kl1w_133", e = "_amount_1kl1w_203", l = {
2
+ "bank-name": "_bank-name_1kl1w_1",
3
+ "bank-item": "_bank-item_1kl1w_23",
4
+ "bank-account": "_bank-account_1kl1w_41",
5
+ "confirm-payment": "_confirm-payment_1kl1w_57",
6
+ "confirm-transaction-network": "_confirm-transaction-network_1kl1w_89",
7
+ "buy-info": "_buy-info_1kl1w_113",
8
+ label: _,
9
+ "balance-label": "_balance-label_1kl1w_145",
10
+ "max-btn": "_max-btn_1kl1w_157",
11
+ amount: e,
12
+ "MuiFilledInput-root": "_MuiFilledInput-root_1kl1w_215",
13
+ "fiat-field": "_fiat-field_1kl1w_231",
14
+ "amount-symbol": "_amount-symbol_1kl1w_239",
15
+ "crypto-field": "_crypto-field_1kl1w_257",
16
+ "crypto-helper-text": "_crypto-helper-text_1kl1w_265",
17
+ "crypto-picker": "_crypto-picker_1kl1w_283",
18
+ "fiat-picker": "_fiat-picker_1kl1w_291",
19
+ "network-label": "_network-label_1kl1w_299",
20
+ "eth-network": "_eth-network_1kl1w_325",
21
+ "everchain-network": "_everchain-network_1kl1w_333",
22
+ "buy-select-dd": "_buy-select-dd_1kl1w_343",
23
+ "MuiSelect-select": "_MuiSelect-select_1kl1w_359",
24
+ "dropdown-list-item": "_dropdown-list-item_1kl1w_373",
25
+ "fee-area": "_fee-area_1kl1w_397",
26
+ "info-fee-icon": "_info-fee-icon_1kl1w_407",
27
+ "wallet-caption-text": "_wallet-caption-text_1kl1w_417",
28
+ "connect-wallet-signup": "_connect-wallet-signup_1kl1w_427",
29
+ "field-set": "_field-set_1kl1w_445"
30
+ };
31
+ export {
32
+ l as s
33
+ };