everest-npm-features 0.0.17 → 0.0.18

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 (133) hide show
  1. package/dist/CheckCircle-BiltyzEJ.js +8 -0
  2. package/dist/PlayArrow-BYMBg9J8.js +8 -0
  3. package/dist/assets/index10.css +1 -1
  4. package/dist/assets/index11.css +1 -1
  5. package/dist/assets/index2.css +1 -1
  6. package/dist/assets/index3.css +1 -1
  7. package/dist/assets/index4.css +1 -1
  8. package/dist/assets/index5.css +1 -1
  9. package/dist/assets/index6.css +1 -1
  10. package/dist/assets/index7.css +1 -1
  11. package/dist/assets/index8.css +1 -1
  12. package/dist/assets/index9.css +1 -1
  13. package/dist/assets/styles2.css +1 -1
  14. package/dist/assets/styles3.css +1 -0
  15. package/dist/{auth-PInt5Jrb.js → auth-RJ36qeYb.js} +1 -1
  16. package/dist/{bank-BDnnvwyk.js → bank-Dml7vXW5.js} +10 -10
  17. package/dist/components/RocketRamp/MinimalKyc/form.js +5 -5
  18. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
  19. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
  20. package/dist/components/RocketRamp/Player/Buy/form.js +5 -5
  21. package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
  22. package/dist/components/RocketRamp/Player/Dashboard/index.js +13 -15
  23. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
  24. package/dist/components/RocketRamp/Player/Sell/form.js +5 -5
  25. package/dist/components/RocketRamp/Player/Sell/index.js +8 -8
  26. package/dist/components/RocketRamp/Player/SignIn/index.js +3 -3
  27. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
  28. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
  29. package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
  30. package/dist/components/RocketRamp/Player/SignUp/index.js +3 -3
  31. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
  32. package/dist/components/RocketRamp/ResetPassword/index.js +3 -3
  33. package/dist/components/RocketRamp/Shared/Input/index.js +9 -9
  34. package/dist/components/RocketRamp/Store/SignUp/index.js +3 -3
  35. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
  36. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
  37. package/dist/components/RocketRamp/Transactions/index.js +7 -7
  38. package/dist/components/Shared/HistoryItem/index.js +40 -40
  39. package/dist/components/Shared/MinimalKyc/index.js +3 -3
  40. package/dist/components/Shared/tooltip.js +5 -2108
  41. package/dist/components/Wallet/Account/createIban.js +1 -1
  42. package/dist/components/Wallet/Account/iban.js +5 -5
  43. package/dist/components/Wallet/Account/index.js +17 -17
  44. package/dist/components/Wallet/Account/sendIban.js +16 -16
  45. package/dist/components/Wallet/Buy/confirmTransaction.d.ts +2 -2
  46. package/dist/components/Wallet/Buy/confirmTransaction.js +5 -4
  47. package/dist/components/Wallet/Buy/form.d.ts +2 -2
  48. package/dist/components/Wallet/Buy/form.js +9 -6
  49. package/dist/components/Wallet/Buy/index.d.ts +1 -1
  50. package/dist/components/Wallet/Buy/index.js +7 -7
  51. package/dist/components/Wallet/Deposit/index.d.ts +2 -0
  52. package/dist/components/Wallet/Deposit/index.js +110 -0
  53. package/dist/components/Wallet/EnterpriseKyc/edd.js +92 -80
  54. package/dist/components/Wallet/EnterpriseKyc/index.js +121 -108
  55. package/dist/components/Wallet/EnterpriseKyc/orgDetails.d.ts +1 -1
  56. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +110 -85
  57. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +2 -2
  58. package/dist/components/Wallet/EnterpriseKyc/types.d.ts +1 -0
  59. package/dist/components/Wallet/EnterpriseKyc/verify.js +2 -2
  60. package/dist/components/Wallet/History/index.js +4 -4
  61. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +33 -33
  62. package/dist/components/Wallet/Portfolio/index.js +171 -138
  63. package/dist/components/Wallet/Profile/documents.js +4 -4
  64. package/dist/components/Wallet/Profile/index.js +4 -4
  65. package/dist/components/Wallet/Receive/index.js +8 -8
  66. package/dist/components/Wallet/Sell/confirmTransaction.d.ts +3 -0
  67. package/dist/components/Wallet/Sell/confirmTransaction.js +18 -0
  68. package/dist/components/Wallet/Sell/form.d.ts +3 -0
  69. package/dist/components/Wallet/Sell/form.js +32 -0
  70. package/dist/components/Wallet/Sell/index.d.ts +6 -0
  71. package/dist/components/Wallet/Sell/index.js +22 -0
  72. package/dist/components/Wallet/Send/index.js +6 -6
  73. package/dist/components/Wallet/Shared/Auth/otpForm.js +2 -2
  74. package/dist/components/Wallet/Shared/ConnectWallet/index.js +1 -1
  75. package/dist/components/Wallet/Shared/Container/index.js +1 -1
  76. package/dist/components/Wallet/Shared/Order/types.d.ts +51 -0
  77. package/dist/components/Wallet/Shared/TokenModal/index.d.ts +1 -1
  78. package/dist/components/Wallet/Shared/TokenModal/index.js +5 -5
  79. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +4 -4
  80. package/dist/components/Wallet/Shared/addBank.js +6 -6
  81. package/dist/components/Wallet/Shared/connectPlaidBank.js +7 -7
  82. package/dist/components/Wallet/Shared/pin.js +1 -1
  83. package/dist/components/Wallet/SignIn/index.js +3 -3
  84. package/dist/components/Wallet/SignUp/index.js +3 -3
  85. package/dist/components/Wallet/Stake/gems/index.js +1 -1
  86. package/dist/components/Wallet/Stake/id/index.js +3 -3
  87. package/dist/components/Wallet/Stake/index.js +7 -7
  88. package/dist/components/Wallet/Swap/index.d.ts +3 -2
  89. package/dist/components/Wallet/Swap/index.js +327 -271
  90. package/dist/components/Wallet/SwapAndUniSwap/index.js +31 -35
  91. package/dist/components/Wallet/{Buy → SwapAndUniSwap}/types.d.ts +4 -13
  92. package/dist/components/Wallet/SwapAndUniSwap/types.js +1 -0
  93. package/dist/components/Wallet/Withdraw/bankSelect.d.ts +4 -0
  94. package/dist/components/Wallet/Withdraw/bankSelect.js +21 -0
  95. package/dist/components/Wallet/Withdraw/confirmTransaction.d.ts +3 -0
  96. package/dist/components/Wallet/Withdraw/confirmTransaction.js +19 -0
  97. package/dist/components/Wallet/Withdraw/form.d.ts +3 -0
  98. package/dist/components/Wallet/Withdraw/form.js +26 -0
  99. package/dist/components/Wallet/Withdraw/index.d.ts +7 -0
  100. package/dist/components/Wallet/Withdraw/index.js +22 -0
  101. package/dist/constants-QcvnheTz.js +5307 -0
  102. package/dist/cryptoAssets-DBfxll21.js +16 -0
  103. package/dist/{documents-b3tR38Qf.js → documents-Bd28UFLu.js} +3 -3
  104. package/dist/{fiatAssets-Di1Dvl51.js → fiatAssets-w5Lh-MSu.js} +1 -1
  105. package/dist/hooks/useDialog/index.js +22 -22
  106. package/dist/hooks/useRrDialog/index.js +1 -1
  107. package/dist/{iban-D3Y3E3cN.js → iban-CKaN4sIM.js} +6 -6
  108. package/dist/index-BEdISdN-.js +709 -0
  109. package/dist/{index-BhJeqQtm.js → index-BNaxzTKI.js} +164 -163
  110. package/dist/index-BvftsxV1.js +677 -0
  111. package/dist/index-DSHZv8ZQ.js +569 -0
  112. package/dist/{index-D2XCPzg3.js → index-_KAhqkWc.js} +144 -143
  113. package/dist/{index-DQaPU81n.js → index-f15o1nhn.js} +3 -3
  114. package/dist/{kyc-8mSMgUlU.js → kyc-V7cIa71M.js} +1 -1
  115. package/dist/main.d.ts +4 -0
  116. package/dist/main.js +47 -39
  117. package/dist/order-6L4LZOBs.js +41 -0
  118. package/dist/{react-redux-B4BZippc.js → react-redux-C7I9-1M6.js} +2 -2
  119. package/dist/{stake-Cf5t27F3.js → stake-r4KUlRcz.js} +1 -1
  120. package/dist/styles.module-BFHktEw2.js +30 -0
  121. package/dist/{styles.module-Ctfaq7f2.js → styles.module-DJk7Pf0F.js} +1 -1
  122. package/dist/tooltip-BVZ66d8C.js +2111 -0
  123. package/dist/util/constants.d.ts +1 -0
  124. package/dist/util/constants.js +84 -83
  125. package/dist/{wallet-Bghw0_Nm.js → wallet-D7MEPP5y.js} +1 -1
  126. package/package.json +2 -2
  127. package/dist/PlayArrow-Dent7shn.js +0 -21
  128. package/dist/assets/index12.css +0 -1
  129. package/dist/assets/index13.css +0 -1
  130. package/dist/constants-A8X7fywY.js +0 -3882
  131. package/dist/index-Bqxs_jIU.js +0 -709
  132. package/dist/order-DTnCUIx0.js +0 -34
  133. /package/dist/components/Wallet/{Buy → Shared/Order}/types.js +0 -0
@@ -1,40 +1,41 @@
1
- import { jsxs as a, Fragment as O, jsx as r } from "react/jsx-runtime";
2
- import x from "../Shared/appButton.js";
3
- import { useRef as c, useState as M, createRef as U } from "react";
4
- import h from "./input.js";
5
- import { u as g } from "../../../react-redux-B4BZippc.js";
1
+ import { jsxs as T, Fragment as _, jsx as n } from "react/jsx-runtime";
2
+ import h from "../Shared/appButton.js";
3
+ import { useRef as d, useState as c, useEffect as v, createRef as S } from "react";
4
+ import P from "./input.js";
5
+ import { a as b } from "../../../react-redux-C7I9-1M6.js";
6
6
  import "../../../hoc/withThemeProvider.js";
7
7
  import "../Shared/Auth/otpForm.js";
8
- import "../../../constants-A8X7fywY.js";
9
- import { a as b } from "../../../kyc-8mSMgUlU.js";
10
- import { useSnackBarContext as q } from "../../../context/snackBarContext.js";
8
+ import "../../../constants-QcvnheTz.js";
9
+ import { a } from "../../../kyc-V7cIa71M.js";
10
+ import { useSnackBarContext as D } from "../../../context/snackBarContext.js";
11
11
  import "../../../util/conversions.js";
12
12
  import "../../../index-CAoLi5Qq.js";
13
- import { C as P } from "../../../Close-Dv525LOL.js";
13
+ import { C as q } from "../../../Close-Dv525LOL.js";
14
14
  import G from "../Shared/step.js";
15
15
  import "../../../react-webcam-B3cXh1XT.js";
16
16
  import "../../Shared/transition.js";
17
17
  import "../Shared/pin.js";
18
18
  import "../../../moment-h96o7c8I.js";
19
- import "../../Shared/tooltip.js";
19
+ import "../../../tooltip-BVZ66d8C.js";
20
20
  import "../../../index.esm-BsMAMhYW.js";
21
21
  import "../../../web3-u4qDZYpo.js";
22
22
  import "../../../index-B8QKlEgj.js";
23
23
  import "../../../index-ceeCtFuh.js";
24
- import { C as L, a as w } from "../../../FileDownload-71XI8nQB.js";
25
- import { B as T } from "../../../Box-rIIGCyb6.js";
24
+ import { C as L, a as H } from "../../../FileDownload-71XI8nQB.js";
25
+ import { B as E } from "../../../Box-rIIGCyb6.js";
26
26
  import { I as B } from "../../../InputAdornment-BStVwy6a.js";
27
- import { I as p } from "../../../IconButton-DRnoPKKH.js";
28
- const Te = ({
29
- onNext: d,
27
+ import { I as m } from "../../../IconButton-DRnoPKKH.js";
28
+ const Ae = ({
29
+ onNext: A,
30
30
  kycData: i,
31
- disabled: n = !1
32
- // kycStoreData,
31
+ disabled: f = !1,
32
+ kycStoreData: t
33
33
  }) => {
34
- const E = {
34
+ const O = {
35
35
  ID_CARD: {
36
36
  text: i.ID_CARD.text,
37
37
  file: i.ID_CARD.file,
38
+ preview: i.ID_CARD.preview,
38
39
  label: "ID Document: Passport or national ID",
39
40
  required: !0,
40
41
  multiFile: !1
@@ -42,6 +43,7 @@ const Te = ({
42
43
  ADDRESS_DOCUMENT: {
43
44
  text: i.ADDRESS_DOCUMENT.text,
44
45
  file: i.ADDRESS_DOCUMENT.file,
46
+ preview: i.ADDRESS_DOCUMENT.preview,
45
47
  label: "Address Document: Utility Bill, Bank Statement, License",
46
48
  required: !0,
47
49
  multiFile: !1
@@ -49,6 +51,7 @@ const Te = ({
49
51
  AUDITED_FINANCIAL_STATEMENT: {
50
52
  text: i.AUDITED_FINANCIAL_STATEMENT.text,
51
53
  file: i.AUDITED_FINANCIAL_STATEMENT.file,
54
+ preview: i.AUDITED_FINANCIAL_STATEMENT.preview,
52
55
  label: "Audited Financial Statement",
53
56
  required: !0,
54
57
  multiFile: !1
@@ -56,6 +59,7 @@ const Te = ({
56
59
  CERTIFICATE_OF_INCORPORATION: {
57
60
  text: i.CERTIFICATE_OF_INCORPORATION.text,
58
61
  file: i.CERTIFICATE_OF_INCORPORATION.file,
62
+ preview: i.CERTIFICATE_OF_INCORPORATION.preview,
59
63
  label: "Certificate of Incorporation",
60
64
  required: !0,
61
65
  multiFile: !1
@@ -63,6 +67,7 @@ const Te = ({
63
67
  MEMORANDUM_OF_ASSOCIATION: {
64
68
  text: i.MEMORANDUM_OF_ASSOCIATION.text,
65
69
  file: i.MEMORANDUM_OF_ASSOCIATION.file,
70
+ preview: i.MEMORANDUM_OF_ASSOCIATION.preview,
66
71
  label: "Memorandum and Articles of Association",
67
72
  required: !0,
68
73
  multiFile: !1
@@ -70,6 +75,7 @@ const Te = ({
70
75
  CERTIFICATE_OF_GOOD_STANDING: {
71
76
  text: i.CERTIFICATE_OF_GOOD_STANDING.text,
72
77
  file: i.CERTIFICATE_OF_GOOD_STANDING.file,
78
+ preview: i.CERTIFICATE_OF_GOOD_STANDING.preview,
73
79
  label: "Certificate of Incumbency/Good Standing",
74
80
  required: !0,
75
81
  multiFile: !1
@@ -77,6 +83,7 @@ const Te = ({
77
83
  COMPANY_REGISTER_EXTRACT: {
78
84
  text: i.COMPANY_REGISTER_EXTRACT.text,
79
85
  file: i.COMPANY_REGISTER_EXTRACT.file,
86
+ preview: i.COMPANY_REGISTER_EXTRACT.preview,
80
87
  label: "Company Register Extract",
81
88
  required: !0,
82
89
  multiFile: !1
@@ -84,6 +91,7 @@ const Te = ({
84
91
  OWNERSHIP_STRUCTURE_DOCUMENT: {
85
92
  text: i.OWNERSHIP_STRUCTURE_DOCUMENT.text,
86
93
  file: i.OWNERSHIP_STRUCTURE_DOCUMENT.file,
94
+ preview: i.OWNERSHIP_STRUCTURE_DOCUMENT.preview,
87
95
  label: "Compant Ownership Structure (Signed & Dated)",
88
96
  required: !0,
89
97
  multiFile: !1
@@ -105,125 +113,142 @@ const Te = ({
105
113
  OTHER_RELEVANT_DOCUMENT: {
106
114
  text: i.OTHER_RELEVANT_DOCUMENT.text,
107
115
  file: i.OTHER_RELEVANT_DOCUMENT.file,
116
+ preview: i.OTHER_RELEVANT_DOCUMENT.preview,
108
117
  label: "Any Other Relevant Documents",
109
118
  required: !1,
110
119
  multiFile: !0
111
120
  }
112
- }, R = g(), { showAlertMessage: A } = q(), _ = c(null), [o, f] = M(E), C = Object.keys(
113
- E
114
- ), I = c(
115
- C.reduce((t, e) => (t[e] = U(), t), {})
116
- ), N = () => {
117
- for (const t of Object.keys(o)) {
118
- const e = o[t];
121
+ }, N = b(), { showAlertMessage: C } = D(), F = d(null), [o, s] = c(O);
122
+ v(() => {
123
+ if (t != null && t.uploadData.fileUrl && (t != null && t.uploadData.fileType)) {
124
+ const l = t == null ? void 0 : t.uploadData.fileType;
125
+ s((e) => {
126
+ const r = e[l].file || [];
127
+ return {
128
+ ...e,
129
+ [l]: {
130
+ // @ts-ignore
131
+ ...e[l],
132
+ // @ts-ignore
133
+ file: [...r, t == null ? void 0 : t.uploadData.fileUrl]
134
+ }
135
+ };
136
+ });
137
+ }
138
+ }, [t == null ? void 0 : t.uploadData.fileUrl, t == null ? void 0 : t.uploadData.fileType]);
139
+ const I = Object.keys(
140
+ O
141
+ ), R = d(
142
+ I.reduce((l, e) => (l[e] = S(), l), {})
143
+ ), U = () => {
144
+ for (const l of Object.keys(o)) {
145
+ const e = o[l];
119
146
  if (e.required) {
120
- const l = e.text.trim() !== "", s = e.file.length > 0;
121
- if (!l)
122
- return A({
147
+ const r = e.text.trim() !== "", p = e.file.length > 0;
148
+ if (!r)
149
+ return C({
123
150
  message: `Please fill in "${e.label}" text.`
124
151
  }), !1;
125
- if (!s)
126
- return A({
152
+ if (!p)
153
+ return C({
127
154
  message: `Please upload file for "${e.label}".`
128
155
  }), !1;
129
156
  }
130
157
  }
131
158
  return !0;
132
- }, S = () => {
133
- N() && d && d(o);
134
- }, D = (t, e) => {
135
- const l = t.target.files;
136
- !l || l.length === 0 || Array.from(l).map((s) => {
137
- const u = new FileReader();
138
- u.readAsDataURL(s), u.onload = () => {
139
- R(b({ file: s, type: e })), f((m) => {
140
- const F = m[e].file || [];
141
- return {
142
- ...m,
143
- [e]: {
144
- ...m[e],
145
- file: [...F, u.result]
146
- }
147
- };
148
- });
149
- };
159
+ }, M = () => {
160
+ U() && A && A(o);
161
+ }, x = (l, e) => {
162
+ const r = l.target.files;
163
+ !r || r.length === 0 || Array.from(r).map((p) => {
164
+ const w = URL.createObjectURL(p);
165
+ N(a({ file: p, type: e })), s((u) => {
166
+ const g = u[e].file || [];
167
+ return {
168
+ ...u,
169
+ [e]: {
170
+ ...u[e],
171
+ preview: [...g, w]
172
+ }
173
+ };
174
+ });
150
175
  });
151
176
  };
152
- return /* @__PURE__ */ a(O, { children: [
153
- !n && /* @__PURE__ */ r(T, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ r(G, { currentStep: 2, totalSteps: 3, topMargin: 0 }) }),
154
- /* @__PURE__ */ r(
177
+ return /* @__PURE__ */ T(_, { children: [
178
+ !f && /* @__PURE__ */ n(E, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ n(G, { currentStep: 2, totalSteps: 3, topMargin: 0 }) }),
179
+ /* @__PURE__ */ n(
155
180
  "form",
156
181
  {
157
- style: n ? {} : { height: "350px", overflowY: "scroll" },
158
- ref: _,
159
- children: C.map((t) => /* @__PURE__ */ a(T, { mt: 2, children: [
160
- /* @__PURE__ */ r(
161
- h,
182
+ style: f ? {} : { height: "350px", overflowY: "scroll" },
183
+ ref: F,
184
+ children: I.map((l) => /* @__PURE__ */ T(E, { mt: 2, children: [
185
+ /* @__PURE__ */ n(
186
+ P,
162
187
  {
163
- disabled: n,
164
- label: o[t].label,
165
- value: o[t].text,
166
- onChange: (e) => f((l) => ({
167
- ...l,
168
- [t]: { ...l[t], text: e.target.value }
188
+ disabled: f,
189
+ label: o[l].label,
190
+ value: o[l].text,
191
+ onChange: (e) => s((r) => ({
192
+ ...r,
193
+ [l]: { ...r[l], text: e.target.value }
169
194
  })),
170
195
  slotProps: {
171
196
  input: {
172
- endAdornment: /* @__PURE__ */ r(B, { position: "end", children: o[t].file.length > 0 ? /* @__PURE__ */ a(O, { children: [
173
- !n && /* @__PURE__ */ r(
174
- p,
197
+ endAdornment: /* @__PURE__ */ n(B, { position: "end", children: o[l].file.length > 0 ? /* @__PURE__ */ T(_, { children: [
198
+ !f && /* @__PURE__ */ n(
199
+ m,
175
200
  {
176
- onClick: () => f((e) => ({
201
+ onClick: () => s((e) => ({
177
202
  ...e,
178
- [t]: { ...e[t], file: [] }
203
+ [l]: { ...e[l], file: [] }
179
204
  })),
180
205
  edge: "end",
181
- children: /* @__PURE__ */ r(P, {})
206
+ children: /* @__PURE__ */ n(q, {})
182
207
  }
183
208
  ),
184
- o[t].file.map((e, l) => /* @__PURE__ */ r(
185
- p,
209
+ o[l].preview.map((e, r) => /* @__PURE__ */ n(
210
+ m,
186
211
  {
187
212
  onClick: () => window.open(e),
188
213
  edge: "end",
189
- children: /* @__PURE__ */ r(L, {})
214
+ children: /* @__PURE__ */ n(L, {})
190
215
  },
191
- l
216
+ r
192
217
  ))
193
- ] }) : /* @__PURE__ */ r(
194
- p,
218
+ ] }) : /* @__PURE__ */ n(
219
+ m,
195
220
  {
196
221
  onClick: () => {
197
- var e, l;
198
- return (l = (e = I.current[t]) == null ? void 0 : e.current) == null ? void 0 : l.click();
222
+ var e, r;
223
+ return (r = (e = R.current[l]) == null ? void 0 : e.current) == null ? void 0 : r.click();
199
224
  },
200
225
  edge: "end",
201
- children: /* @__PURE__ */ r(w, {})
226
+ children: /* @__PURE__ */ n(H, {})
202
227
  }
203
228
  ) })
204
229
  }
205
230
  },
206
- required: o[t].required
231
+ required: o[l].required
207
232
  }
208
233
  ),
209
- /* @__PURE__ */ r(
234
+ /* @__PURE__ */ n(
210
235
  "input",
211
236
  {
212
- ref: I.current[t],
237
+ ref: R.current[l],
213
238
  name: "regStatusFile",
214
239
  type: "file",
215
- onChange: (e) => D(e, t),
240
+ onChange: (e) => x(e, l),
216
241
  accept: "application/pdf, image/*",
217
- multiple: o[t].multiFile,
242
+ multiple: o[l].multiFile,
218
243
  hidden: !0
219
244
  }
220
245
  )
221
- ] }, t))
246
+ ] }, l))
222
247
  }
223
248
  ),
224
- !n && /* @__PURE__ */ r(T, { mt: 3.5, children: /* @__PURE__ */ r(x, { fullWidth: !0, onClick: S, children: "Next" }) })
249
+ !f && /* @__PURE__ */ n(E, { mt: 3.5, children: /* @__PURE__ */ n(h, { fullWidth: !0, onClick: M, children: "Next" }) })
225
250
  ] });
226
251
  };
227
252
  export {
228
- Te as default
253
+ Ae as default
229
254
  };
@@ -6,7 +6,7 @@ import l from "./input.js";
6
6
  import { pick as w } from "../../../util/functions.js";
7
7
  import "../../../hoc/withThemeProvider.js";
8
8
  import "../Shared/Auth/otpForm.js";
9
- import "../../../constants-A8X7fywY.js";
9
+ import "../../../constants-QcvnheTz.js";
10
10
  import { useSnackBarContext as I } from "../../../context/snackBarContext.js";
11
11
  import "../../../util/conversions.js";
12
12
  import "../../../index-CAoLi5Qq.js";
@@ -15,7 +15,7 @@ import "../../../react-webcam-B3cXh1XT.js";
15
15
  import "../../Shared/transition.js";
16
16
  import "../Shared/pin.js";
17
17
  import "../../../moment-h96o7c8I.js";
18
- import "../../Shared/tooltip.js";
18
+ import "../../../tooltip-BVZ66d8C.js";
19
19
  import "../../../index.esm-BsMAMhYW.js";
20
20
  import "../../../web3-u4qDZYpo.js";
21
21
  import "../../../index-B8QKlEgj.js";
@@ -2,6 +2,7 @@ import { KycState } from 'everest-npm-api';
2
2
  export interface KycDocumentField {
3
3
  text: string;
4
4
  file: string[];
5
+ preview: string[];
5
6
  }
6
7
  export interface KycData {
7
8
  type: string;
@@ -7,7 +7,7 @@ import { c as x } from "../../../createSvgIcon-i5pI36SR.js";
7
7
  import { useState as C } from "react";
8
8
  import "../../../hoc/withThemeProvider.js";
9
9
  import "../Shared/Auth/otpForm.js";
10
- import "../../../constants-A8X7fywY.js";
10
+ import "../../../constants-QcvnheTz.js";
11
11
  import { useSnackBarContext as g } from "../../../context/snackBarContext.js";
12
12
  import "../../../util/conversions.js";
13
13
  import "../../../index-CAoLi5Qq.js";
@@ -15,7 +15,7 @@ import "../../../react-webcam-B3cXh1XT.js";
15
15
  import "../../Shared/transition.js";
16
16
  import "../Shared/pin.js";
17
17
  import "../../../moment-h96o7c8I.js";
18
- import "../../Shared/tooltip.js";
18
+ import "../../../tooltip-BVZ66d8C.js";
19
19
  import "../../../index.esm-BsMAMhYW.js";
20
20
  import "../../../web3-u4qDZYpo.js";
21
21
  import "../../../index-B8QKlEgj.js";
@@ -2,9 +2,9 @@ import { jsx as r, jsxs as q, Fragment as U } from "react/jsx-runtime";
2
2
  import * as J from "react";
3
3
  import { useState as ot, useEffect as st } from "react";
4
4
  import nt from "../../../hoc/withThemeProvider.js";
5
- import { u as rt, a as it } from "../../../react-redux-B4BZippc.js";
6
- import "../../../constants-A8X7fywY.js";
7
- import { o as lt } from "../../../order-DTnCUIx0.js";
5
+ import { a as rt, u as it } from "../../../react-redux-C7I9-1M6.js";
6
+ import "../../../constants-QcvnheTz.js";
7
+ import { d as lt } from "../../../order-6L4LZOBs.js";
8
8
  import pt from "../../Shared/HistoryItem/index.js";
9
9
  import { B } from "../../../Box-rIIGCyb6.js";
10
10
  import { g as K, a as z, P as a, f as R } from "../../../createTheme-CKy7OHWe.js";
@@ -18,7 +18,7 @@ import { u as j } from "../../../useSlot-BofjcjWw.js";
18
18
  import { B as ut } from "../../../ButtonBase-DC2O2INs.js";
19
19
  import { C as gt } from "../../../CircularProgress-CBhr9Pli.js";
20
20
  import { T as ft } from "../../../Typography-DiFeMX5p.js";
21
- import '../../../assets/index12.css';function vt(t) {
21
+ import '../../../assets/index10.css';function vt(t) {
22
22
  return K("MuiPagination", t);
23
23
  }
24
24
  Q("MuiPagination", ["root", "ul", "outlined", "text"]);
@@ -1,24 +1,24 @@
1
1
  import { jsxs as o, Fragment as c, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as f, useRef as Y, useEffect as T } from "react";
3
- import { u as Z, a as S } from "../../../react-redux-B4BZippc.js";
3
+ import { a as Z, u as S } from "../../../react-redux-C7I9-1M6.js";
4
4
  import { C as ee } from "../../../Close-Dv525LOL.js";
5
5
  import te from "../Shared/pin.js";
6
6
  import re from "../../../hoc/withThemeProvider.js";
7
7
  import { displayWalletAddress as oe } from "../../../util/functions.js";
8
8
  import "../Shared/appButton.js";
9
- import { BACK_BTN_ICON as se, EVER_CHAIN_NETWORK as F, ETHEREUM_NETWORK as G } from "../../../util/constants.js";
9
+ import { BACK_BTN_ICON as ae, EVER_CHAIN_NETWORK as F, ETHEREUM_NETWORK as G } from "../../../util/constants.js";
10
10
  import "../Shared/Auth/otpForm.js";
11
- import { $ as ae, a0 as ne, a1 as ie, a2 as le, a3 as ce } from "../../../constants-A8X7fywY.js";
12
- import { u as me } from "../../../index-DQaPU81n.js";
13
- import { g as de } from "../../../wallet-Bghw0_Nm.js";
11
+ import { a2 as se, a3 as ne, a4 as ie, a5 as le, a6 as ce } from "../../../constants-QcvnheTz.js";
12
+ import { a as me } from "../../../index-f15o1nhn.js";
13
+ import { g as de } from "../../../wallet-D7MEPP5y.js";
14
14
  import "../../../context/snackBarContext.js";
15
- import { numberFormat as ue, fromHuman as he, getGweiFromWei as pe, getUnFormattedValueFromWei as fe } from "../../../util/conversions.js";
16
- import { useSnackBar as ge } from "../../../hooks/useSnackBar.js";
15
+ import { numberFormat as he, fromHuman as ue, getGweiFromWei as pe, getUnFormattedValueFromWei as fe } from "../../../util/conversions.js";
17
16
  import "../../../index-CAoLi5Qq.js";
17
+ import { useSnackBar as ge } from "../../../hooks/useSnackBar.js";
18
18
  import "../../../react-webcam-B3cXh1XT.js";
19
19
  import "../../Shared/transition.js";
20
20
  import "../../../moment-h96o7c8I.js";
21
- import "../../Shared/tooltip.js";
21
+ import "../../../tooltip-BVZ66d8C.js";
22
22
  import "../../../index.esm-BsMAMhYW.js";
23
23
  import "../../../web3-u4qDZYpo.js";
24
24
  import "../../../index-B8QKlEgj.js";
@@ -33,8 +33,8 @@ import { B as M } from "../../../Button-Csuq67Py.js";
33
33
  import { C as H } from "../../../CircularProgress-CBhr9Pli.js";
34
34
  import { D as ve, a as Te } from "../../../DialogContent-BLqflo8C.js";
35
35
  import { I as Ne } from "../../../IconButton-DRnoPKKH.js";
36
- import { G as a } from "../../../Grid2-DJW3x_WO.js";
37
- import '../../../assets/index7.css';const be = (r) => ({
36
+ import { G as s } from "../../../Grid2-DJW3x_WO.js";
37
+ import '../../../assets/index6.css';const be = (r) => ({
38
38
  type: ne,
39
39
  payload: r
40
40
  }), Re = (r) => ({
@@ -47,7 +47,7 @@ import '../../../assets/index7.css';const be = (r) => ({
47
47
  type: ce,
48
48
  payload: r
49
49
  }), Se = () => ({
50
- type: ae
50
+ type: se
51
51
  }), Ge = "_container_nw82g_1", b = {
52
52
  container: Ge,
53
53
  "inner-container": "_inner-container_nw82g_13",
@@ -60,16 +60,16 @@ import '../../../assets/index7.css';const be = (r) => ({
60
60
  depositAddress: A
61
61
  }) => {
62
62
  var q, k;
63
- const { showAlertMessage: E, snackBar: U } = ge(), m = Z(), u = S((t) => t.bridge), s = u.gasFee, x = u.loader, h = u.error, R = u.withdrawStatus, B = S((t) => t.user.wallets);
63
+ const { showAlertMessage: E, snackBar: U } = ge(), m = Z(), h = S((t) => t.bridge), a = h.gasFee, x = h.loader, u = h.error, R = h.withdrawStatus, B = S((t) => t.user.wallets);
64
64
  B.loader;
65
- const W = B.data, w = n === F ? G : F, i = S(me).everWalletAddress, [I, V] = f(""), L = ue(I), [O, _] = f("default"), [K, Q] = f(!1), [d, D] = f(""), [$, C] = f(!1), y = Y(""), v = he(d, r === "ID" ? 18 : 6);
65
+ const W = B.data, w = n === F ? G : F, i = S(me).everWalletAddress, [I, V] = f(""), L = he(I), [O, _] = f("default"), [K, Q] = f(!1), [d, D] = f(""), [$, C] = f(!1), y = Y(""), v = ue(d, r === "ID" ? 18 : 6);
66
66
  T(() => (m(de()), () => {
67
67
  m(Se());
68
68
  }), []), T(() => {
69
- u.showFeePopUp && s.GasLimit > 0 && C(!0);
70
- }, [s]), T(() => {
71
- h && (E({ message: h }), (h === "invalid PIN" || h === "Pin must be 4-digit numeric value") && (Q(!0), _("pin"), C(!1)));
72
- }, [h]), T(() => {
69
+ h.showFeePopUp && a.GasLimit > 0 && C(!0);
70
+ }, [a]), T(() => {
71
+ u && (E({ message: u }), (u === "invalid PIN" || u === "Pin must be 4-digit numeric value") && (Q(!0), _("pin"), C(!1)));
72
+ }, [u]), T(() => {
73
73
  const t = W.find(
74
74
  (l) => l.address === i
75
75
  );
@@ -104,7 +104,7 @@ import '../../../assets/index7.css';const be = (r) => ({
104
104
  walletAddress: i,
105
105
  amount: v,
106
106
  token: r,
107
- gas: s,
107
+ gas: a,
108
108
  pin: y.current
109
109
  };
110
110
  m(Re(t));
@@ -114,7 +114,7 @@ import '../../../assets/index7.css';const be = (r) => ({
114
114
  fromAddress: i,
115
115
  toAddress: A,
116
116
  tokenAddress: P,
117
- gas: s,
117
+ gas: a,
118
118
  pin: y.current
119
119
  };
120
120
  m(ye(t));
@@ -143,7 +143,7 @@ import '../../../assets/index7.css';const be = (r) => ({
143
143
  left: "-18px"
144
144
  },
145
145
  className: "cursor-pointer",
146
- src: se,
146
+ src: ae,
147
147
  onClick: () => alert("backFunc"),
148
148
  alt: "back"
149
149
  }
@@ -293,25 +293,25 @@ import '../../../assets/index7.css';const be = (r) => ({
293
293
  children: /* @__PURE__ */ e("strong", { children: "Go Back" })
294
294
  }
295
295
  ) })
296
- ] }) : /* @__PURE__ */ o(a, { mt: 4, container: !0, spacing: 2, sx: { padding: "0% 15%" }, children: [
297
- /* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Token Name" }) }),
298
- /* @__PURE__ */ e(a, { className: "fw500 text-right", size: 6, children: r }),
299
- /* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Amount" }) }),
300
- /* @__PURE__ */ e(a, { className: "fw500 text-right", size: 6, children: d }),
301
- /* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Wallet Address" }) }),
302
- /* @__PURE__ */ e(a, { className: "fw500 text-right", size: 6, children: oe(i) }),
303
- /* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Gas Price" }) }),
304
- /* @__PURE__ */ o(a, { className: "fw500 text-right", size: 6, children: [
296
+ ] }) : /* @__PURE__ */ o(s, { mt: 4, container: !0, spacing: 2, sx: { padding: "0% 15%" }, children: [
297
+ /* @__PURE__ */ e(s, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Token Name" }) }),
298
+ /* @__PURE__ */ e(s, { className: "fw500 text-right", size: 6, children: r }),
299
+ /* @__PURE__ */ e(s, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Amount" }) }),
300
+ /* @__PURE__ */ e(s, { className: "fw500 text-right", size: 6, children: d }),
301
+ /* @__PURE__ */ e(s, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Wallet Address" }) }),
302
+ /* @__PURE__ */ e(s, { className: "fw500 text-right", size: 6, children: oe(i) }),
303
+ /* @__PURE__ */ e(s, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Gas Price" }) }),
304
+ /* @__PURE__ */ o(s, { className: "fw500 text-right", size: 6, children: [
305
305
  pe(
306
- s != null && s.BaseGasPriceCap ? (q = s == null ? void 0 : s.BaseGasPriceCap) == null ? void 0 : q.toString() : ""
306
+ a != null && a.BaseGasPriceCap ? (q = a == null ? void 0 : a.BaseGasPriceCap) == null ? void 0 : q.toString() : ""
307
307
  ),
308
308
  " ",
309
309
  "Gwei"
310
310
  ] }),
311
- /* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Max Transaction Fee" }) }),
312
- /* @__PURE__ */ o(a, { className: "fw500 text-right", size: 6, children: [
311
+ /* @__PURE__ */ e(s, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Max Transaction Fee" }) }),
312
+ /* @__PURE__ */ o(s, { className: "fw500 text-right", size: 6, children: [
313
313
  fe(
314
- s != null && s.TotalMaxEthSpent ? (k = s == null ? void 0 : s.TotalMaxEthSpent) == null ? void 0 : k.toString() : ""
314
+ a != null && a.TotalMaxEthSpent ? (k = a == null ? void 0 : a.TotalMaxEthSpent) == null ? void 0 : k.toString() : ""
315
315
  ),
316
316
  " ",
317
317
  "ETH"