everest-npm-features 0.0.15 → 0.0.16

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 (224) hide show
  1. package/dist/{Alert-DleEulFt.js → Alert-BhBjKBJe.js} +9 -9
  2. package/dist/{ArrowBack-DlpUhUax.js → ArrowBack-BT4ZQvY3.js} +1 -1
  3. package/dist/{ArrowDropDown-B4n-Or06.js → ArrowDropDown-CzeT8wh0.js} +1 -1
  4. package/dist/{ArrowRight-Dqbjrbq7.js → ArrowRight-CZV_yDgu.js} +1 -1
  5. package/dist/Backdrop-Cwqacwk8.js +359 -0
  6. package/dist/{Box-Dg5YL71c.js → Box-rIIGCyb6.js} +4 -4
  7. package/dist/{Button-URmXuR7L.js → Button-Csuq67Py.js} +4 -4
  8. package/dist/{ButtonBase-DMZ5Yya_.js → ButtonBase-DC2O2INs.js} +5 -5
  9. package/dist/{Cancel-W4CL5EwJ.js → Cancel-Ch0B8nr4.js} +1 -1
  10. package/dist/{CardContent-DK3Z3N6m.js → CardContent-KUuSGQyI.js} +3 -3
  11. package/dist/{CircularProgress-BShHoQbM.js → CircularProgress-CBhr9Pli.js} +3 -3
  12. package/dist/{Close-Drz_1Cma.js → Close-Dv525LOL.js} +1 -1
  13. package/dist/{Container-DOt_WDG9.js → Container-CBfJit1k.js} +4 -4
  14. package/dist/{ContentCopy-CSmkb1dz.js → ContentCopy-DJHPK7G4.js} +1 -1
  15. package/dist/{DefaultPropsProvider-5tIQ66gk.js → DefaultPropsProvider-C9ddiClG.js} +1 -1
  16. package/dist/{DefaultPropsProvider-D1ZRCAhv.js → DefaultPropsProvider-Dta6YfYA.js} +3 -3
  17. package/dist/{Delete-BeH9eSuy.js → Delete-D8ao9Ydc.js} +1 -1
  18. package/dist/{DialogContent-CntTpnUi.js → DialogContent-BLqflo8C.js} +11 -10
  19. package/dist/{DialogTitle-DUNaosnR.js → DialogTitle-DsyiXz12.js} +4 -4
  20. package/dist/{Divider-B-PuJDLx.js → Divider-B0HAAjZ-.js} +3 -3
  21. package/dist/{ErrorOutline-D7__T0wX.js → ErrorOutline-BIlI9R1l.js} +1 -1
  22. package/dist/FileDownload-71XI8nQB.js +11 -0
  23. package/dist/{FilledInput-CAtG9Qdk.js → FilledInput-Bvhqpjsa.js} +265 -289
  24. package/dist/{FormControl-2O9G0Uio.js → FormControl-uQi14shL.js} +11 -10
  25. package/dist/FormControlLabel-CiZDlj3X.js +488 -0
  26. package/dist/{GlobalStyles-DA0jAD4D.js → GlobalStyles-yJPIbrEZ.js} +2 -2
  27. package/dist/{Grid-D9MNL9_a.js → Grid-C6plET3a.js} +5 -5
  28. package/dist/{Grid2-CYB7zT__.js → Grid2-DJW3x_WO.js} +6 -6
  29. package/dist/{Grow-h-Gdo-9N.js → Grow-DcFPfGou.js} +6 -6
  30. package/dist/{IconButton-C9zoz_co.js → IconButton-DRnoPKKH.js} +3 -3
  31. package/dist/{Info--iLHF6tO.js → Info-DPMWjNcQ.js} +1 -1
  32. package/dist/{InputAdornment-DjDZEW73.js → InputAdornment-BStVwy6a.js} +15 -15
  33. package/dist/Link-DeejAzmE.js +263 -0
  34. package/dist/{ListItemIcon-DnbnPcmb.js → ListItemIcon-BO6nZHNq.js} +4 -4
  35. package/dist/{MenuItem-CwNgel9B.js → MenuItem-BKHoKEhO.js} +6 -6
  36. package/dist/Modal-HocZM2zy.js +745 -0
  37. package/dist/{Paper-C3LLozy7.js → Paper-DFrj5M9m.js} +3 -3
  38. package/dist/{PlayArrow-C5Pcs6y3.js → PlayArrow-Dent7shn.js} +4 -4
  39. package/dist/Portal-CIaLgwgF.js +70 -0
  40. package/dist/RadioGroup-0FcLpiQv.js +187 -0
  41. package/dist/{Select-D3_7Y7hs.js → Select-BsqVGicz.js} +65 -62
  42. package/dist/{Slide-BKeUzqUD.js → Slide-B08-4SSu.js} +11 -10
  43. package/dist/{Stack-DcyCfYaK.js → Stack-CZu3N-Ba.js} +5 -5
  44. package/dist/SwitchBase-uAFZgVI7.js +261 -0
  45. package/dist/{TextField-q50CZQKQ.js → TextField-BtFFWrf2.js} +21 -19
  46. package/dist/{Transition-DMUpKF8t.js → Transition-BZNWAtwm.js} +1 -1
  47. package/dist/{Typography-D7sM-Gzr.js → Typography-DiFeMX5p.js} +3 -3
  48. package/dist/{auth-CmU-Oza0.js → auth-PInt5Jrb.js} +1 -1
  49. package/dist/{bank-DLbq9Bzw.js → bank-BDnnvwyk.js} +3 -3
  50. package/dist/components/RocketRamp/MinimalKyc/form.js +8 -8
  51. package/dist/components/RocketRamp/MinimalKyc/index.js +1 -1
  52. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +7 -7
  53. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +7 -7
  54. package/dist/components/RocketRamp/Player/Buy/form.js +15 -15
  55. package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
  56. package/dist/components/RocketRamp/Player/Dashboard/balance.js +7 -7
  57. package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
  58. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +4 -4
  59. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +10 -10
  60. package/dist/components/RocketRamp/Player/Sell/form.js +15 -15
  61. package/dist/components/RocketRamp/Player/Sell/index.js +6 -6
  62. package/dist/components/RocketRamp/Player/SignIn/index.js +5 -5
  63. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +5 -5
  64. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +5 -5
  65. package/dist/components/RocketRamp/Player/SignUp/email.js +5 -5
  66. package/dist/components/RocketRamp/Player/SignUp/index.js +6 -6
  67. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +11 -10
  68. package/dist/components/RocketRamp/Player/SignUp/summary.js +3 -3
  69. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +3 -3
  70. package/dist/components/RocketRamp/ResetPassword/index.js +5 -5
  71. package/dist/components/RocketRamp/Shared/Button/index.js +2 -2
  72. package/dist/components/RocketRamp/Shared/Input/index.js +5 -5
  73. package/dist/components/RocketRamp/Shared/backBtn.js +3 -3
  74. package/dist/components/RocketRamp/Shared/transactionItem.js +5 -5
  75. package/dist/components/RocketRamp/Store/Dashboard/balance.js +6 -6
  76. package/dist/components/RocketRamp/Store/Dashboard/index.js +2 -2
  77. package/dist/components/RocketRamp/Store/Dashboard/stats.js +6 -6
  78. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +4 -4
  79. package/dist/components/RocketRamp/Store/SignUp/index.js +6 -6
  80. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +24 -23
  81. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +7 -7
  82. package/dist/components/RocketRamp/Store/SignUp/summary.js +3 -3
  83. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +3 -3
  84. package/dist/components/RocketRamp/Transactions/index.js +4 -4
  85. package/dist/components/Shared/HistoryItem/index.js +7 -7
  86. package/dist/components/Shared/MinimalKyc/index.d.ts +2 -2
  87. package/dist/components/Shared/MinimalKyc/index.js +72 -70
  88. package/dist/components/Shared/loader.d.ts +4 -0
  89. package/dist/components/Shared/loader.js +17 -0
  90. package/dist/components/Shared/tooltip.js +23 -21
  91. package/dist/components/Shared/transition.js +1 -1
  92. package/dist/components/Wallet/Account/createIban.js +49 -51
  93. package/dist/components/Wallet/Account/iban.js +15 -15
  94. package/dist/components/Wallet/Account/index.js +16 -16
  95. package/dist/components/Wallet/Account/sendIban.js +19 -19
  96. package/dist/components/Wallet/Buy/confirmTransaction.js +7 -7
  97. package/dist/components/Wallet/Buy/form.js +16 -16
  98. package/dist/components/Wallet/Buy/index.js +5 -5
  99. package/dist/components/Wallet/EnterpriseKyc/edd.d.ts +3 -0
  100. package/dist/components/Wallet/EnterpriseKyc/edd.js +154 -0
  101. package/dist/components/Wallet/EnterpriseKyc/index.d.ts +3 -0
  102. package/dist/components/Wallet/EnterpriseKyc/index.js +296 -0
  103. package/dist/components/Wallet/EnterpriseKyc/individualKyc.d.ts +3 -0
  104. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +52 -0
  105. package/dist/components/Wallet/EnterpriseKyc/input.d.ts +3 -0
  106. package/dist/components/Wallet/EnterpriseKyc/input.js +24 -0
  107. package/dist/components/Wallet/EnterpriseKyc/kybIntro.d.ts +3 -0
  108. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +27 -0
  109. package/dist/components/Wallet/EnterpriseKyc/kybTerms.d.ts +3 -0
  110. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +17 -0
  111. package/dist/components/Wallet/EnterpriseKyc/kycType.d.ts +3 -0
  112. package/dist/components/Wallet/EnterpriseKyc/kycType.js +43 -0
  113. package/dist/components/Wallet/EnterpriseKyc/orgDetails.d.ts +3 -0
  114. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +238 -0
  115. package/dist/components/Wallet/EnterpriseKyc/orgInfo.d.ts +3 -0
  116. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +189 -0
  117. package/dist/components/Wallet/EnterpriseKyc/success.d.ts +3 -0
  118. package/dist/components/Wallet/EnterpriseKyc/success.js +14 -0
  119. package/dist/components/Wallet/EnterpriseKyc/types.d.ts +60 -0
  120. package/dist/components/Wallet/EnterpriseKyc/types.js +1 -0
  121. package/dist/components/Wallet/EnterpriseKyc/verify.d.ts +3 -0
  122. package/dist/components/Wallet/EnterpriseKyc/verify.js +71 -0
  123. package/dist/components/Wallet/History/index.js +12 -12
  124. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +13 -13
  125. package/dist/components/Wallet/Portfolio/index.js +113 -117
  126. package/dist/components/Wallet/Portfolio/tokenRow.js +6 -6
  127. package/dist/components/Wallet/Profile/documents.js +17 -17
  128. package/dist/components/Wallet/Profile/index.js +137 -129
  129. package/dist/components/Wallet/Receive/index.js +9 -9
  130. package/dist/components/Wallet/Send/index.js +13 -13
  131. package/dist/components/Wallet/Shared/Auth/emailForm.js +3 -3
  132. package/dist/components/Wallet/Shared/Auth/otpForm.js +9 -9
  133. package/dist/components/Wallet/Shared/CardPayment/index.js +4 -4
  134. package/dist/components/Wallet/Shared/ConnectWallet/index.js +9 -9
  135. package/dist/components/Wallet/Shared/Container/index.js +3 -3
  136. package/dist/components/Wallet/Shared/Input/index.js +1 -1
  137. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +3 -3
  138. package/dist/components/Wallet/Shared/TokenModal/index.js +11 -11
  139. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +4 -4
  140. package/dist/components/Wallet/Shared/addBank.js +10 -10
  141. package/dist/components/Wallet/Shared/appButton.js +5 -5
  142. package/dist/components/Wallet/Shared/backBtn.js +2 -2
  143. package/dist/components/Wallet/Shared/button.js +1 -1
  144. package/dist/components/Wallet/Shared/connectPlaidBank.js +5 -5
  145. package/dist/components/Wallet/Shared/inputField.js +1 -1
  146. package/dist/components/Wallet/Shared/noData.js +2 -2
  147. package/dist/components/Wallet/Shared/pin.js +3 -3
  148. package/dist/components/Wallet/Shared/radioButton.d.ts +7 -0
  149. package/dist/components/Wallet/Shared/radioButton.js +7 -0
  150. package/dist/components/Wallet/Shared/step.d.ts +1 -0
  151. package/dist/components/Wallet/Shared/step.js +13 -12
  152. package/dist/components/Wallet/SignIn/index.js +2 -2
  153. package/dist/components/Wallet/SignUp/index.js +2 -2
  154. package/dist/components/Wallet/SignUp/terms.js +4 -4
  155. package/dist/components/Wallet/Stake/gems/index.js +10 -10
  156. package/dist/components/Wallet/Stake/id/index.js +11 -11
  157. package/dist/components/Wallet/Stake/index.js +9 -9
  158. package/dist/components/Wallet/Swap/index.js +15 -15
  159. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -3
  160. package/dist/{constants-BxUb35pS.js → constants-A8X7fywY.js} +102 -100
  161. package/dist/createChainedFunction-C0nujS3O.js +9 -0
  162. package/dist/{createSvgIcon-COsBZ0xr.js → createSvgIcon-i5pI36SR.js} +2 -2
  163. package/dist/{createTheme-BlT11X6w.js → createTheme-CKy7OHWe.js} +11 -11
  164. package/dist/defaultTheme-Da-3ABGu.js +5 -0
  165. package/dist/{dividerClasses-CgHFbM2R.js → dividerClasses-DSno_h-b.js} +2 -2
  166. package/dist/{documents-vQr89AXc.js → documents-b3tR38Qf.js} +36 -36
  167. package/dist/{elementTypeAcceptingRef-DFRaouxA.js → elementTypeAcceptingRef-BM55iE9I.js} +1 -1
  168. package/dist/{emotion-react.browser.esm-C7P8sPuT.js → emotion-react.browser.esm-DhKKo7i2.js} +1 -1
  169. package/dist/{extendSxProp-3dFKe0G7.js → extendSxProp-CGbvrkKd.js} +1 -1
  170. package/dist/{fiatAssets-DxmFUAAP.js → fiatAssets-Di1Dvl51.js} +1 -1
  171. package/dist/hoc/withThemeProvider.js +5 -5
  172. package/dist/hooks/useDialog/index.js +4 -4
  173. package/dist/hooks/useRrDialog/index.js +4 -4
  174. package/dist/hooks/useSnackBar.js +50 -49
  175. package/dist/{iban-DAFjqLmj.js → iban-D3Y3E3cN.js} +20 -20
  176. package/dist/icons/buyIcon.js +1 -1
  177. package/dist/icons/canceledBuyIcon.js +1 -1
  178. package/dist/icons/canceledRedeemIcon.js +1 -1
  179. package/dist/icons/failedBuyIcon.js +1 -1
  180. package/dist/icons/failedRedeemIcon.js +1 -1
  181. package/dist/icons/pendingBuyIcon.js +1 -1
  182. package/dist/icons/pendingRedeemIcon.js +1 -1
  183. package/dist/icons/redeemIcon.js +1 -1
  184. package/dist/{index-CpZl5h1a.js → index-BhJeqQtm.js} +16 -16
  185. package/dist/{index-D1vZejb1.js → index-BnKMvdnf.js} +1 -1
  186. package/dist/{index-BlfNAYSo.js → index-Bqxs_jIU.js} +16 -16
  187. package/dist/{index-BgFigcmK.js → index-D2XCPzg3.js} +17 -17
  188. package/dist/{index-Dbxu0EJ1.js → index-Do_fdEkW.js} +5 -5
  189. package/dist/kyc-8mSMgUlU.js +19 -0
  190. package/dist/main.d.ts +1 -0
  191. package/dist/main.js +28 -26
  192. package/dist/{order-BQ_jdcYA.js → order-DTnCUIx0.js} +11 -11
  193. package/dist/ownerDocument-C0GI-r2b.js +13 -0
  194. package/dist/{ownerWindow-D0iDQewC.js → ownerWindow-iFlVse9X.js} +1 -1
  195. package/dist/radioButton-CFylJSI6.js +349 -0
  196. package/dist/{resolveComponentProps-B1Ir_BWp.js → resolveComponentProps-BION1Ldt.js} +1 -1
  197. package/dist/{stake-Dtv26Vtt.js → stake-Cf5t27F3.js} +1 -1
  198. package/dist/store.d.ts +1 -110
  199. package/dist/styled-uZIQpYgB.js +5 -0
  200. package/dist/{tokenRow-BayFN7xo.js → tokenRow-D_FBu18C.js} +5 -5
  201. package/dist/useFormControl-CatNKXAi.js +10 -0
  202. package/dist/useId-CK6Kn3Tn.js +21 -0
  203. package/dist/{useSlot-BnuaST7x.js → useSlot-BofjcjWw.js} +1 -1
  204. package/dist/{useTheme-TES7dz5C.js → useTheme-g-gCeEAB.js} +3 -3
  205. package/dist/useTheme-lpadr-l2.js +9 -0
  206. package/dist/{useThemeProps-0PI3aKLE.js → useThemeProps-DIcjToML.js} +4 -4
  207. package/dist/{useThemeWithoutDefault-Dv5V_IG8.js → useThemeWithoutDefault-DaojF4V7.js} +1 -1
  208. package/dist/{useTimeout-By20Crr8.js → useTimeout-BK0fBak5.js} +1 -1
  209. package/dist/util/constants.d.ts +9 -0
  210. package/dist/util/constants.js +60 -51
  211. package/dist/util/functions.d.ts +1 -0
  212. package/dist/util/functions.js +6 -5
  213. package/dist/utils-B-L_WHmI.js +50 -0
  214. package/dist/utils-asicApOI.js +21 -0
  215. package/dist/{wallet-WO2ijYZw.js → wallet-Bghw0_Nm.js} +1 -1
  216. package/package.json +2 -2
  217. package/dist/Link-C2epBeQ2.js +0 -993
  218. package/dist/Modal-DArhlzWc.js +0 -1098
  219. package/dist/Portal-85fqk2Oo.js +0 -87
  220. package/dist/defaultTheme-CZjF3GyS.js +0 -5
  221. package/dist/styled-Cr0V7wv6.js +0 -5
  222. package/dist/useTheme-ZWavQ1Dn.js +0 -9
  223. package/dist/user-D0iWvS_0.js +0 -24
  224. package/dist/utils-D3CNVkXx.js +0 -61
@@ -3,9 +3,9 @@ import h from "../../Shared/Button/index.js";
3
3
  import P from "../../Shared/Input/index.js";
4
4
  import { useState as l, useEffect as u } from "react";
5
5
  import { RESEND_EMAIL_TIMER as f } from "../../../../util/constants.js";
6
- import { T as a } from "../../../../Typography-D7sM-Gzr.js";
7
- import { B as C } from "../../../../Box-Dg5YL71c.js";
8
- import { S as d } from "../../../../Stack-DcyCfYaK.js";
6
+ import { T as a } from "../../../../Typography-DiFeMX5p.js";
7
+ import { B as C } from "../../../../Box-rIIGCyb6.js";
8
+ import { S as d } from "../../../../Stack-CZu3N-Ba.js";
9
9
  const _ = ({
10
10
  showAlertMessage: o,
11
11
  loader: p,
@@ -1,14 +1,14 @@
1
1
  import { jsxs as x, Fragment as i, jsx as t } from "react/jsx-runtime";
2
- import "../../../constants-BxUb35pS.js";
3
- import { o as T } from "../../../order-BQ_jdcYA.js";
2
+ import "../../../constants-A8X7fywY.js";
3
+ import { o as T } from "../../../order-DTnCUIx0.js";
4
4
  import k from "../Shared/Button/index.js";
5
5
  import L from "../../Shared/HistoryItem/index.js";
6
6
  import { u as v, a as P } from "../../../react-redux-B4BZippc.js";
7
7
  import { useState as n, useEffect as c } from "react";
8
8
  import R from "../../../hoc/withThemeProvider.js";
9
9
  import S from "../Shared/backBtn.js";
10
- import { T as m } from "../../../Typography-D7sM-Gzr.js";
11
- import { S as d } from "../../../Stack-DcyCfYaK.js";
10
+ import { T as m } from "../../../Typography-DiFeMX5p.js";
11
+ import { S as d } from "../../../Stack-CZu3N-Ba.js";
12
12
  const j = ({ navigate: l }) => {
13
13
  const p = v(), r = P((o) => o.order), s = r.list, h = r.loader, f = r.totalPages, [e, g] = n(1), [a, u] = n([]);
14
14
  return c(() => {
@@ -3,14 +3,14 @@ import { useState as W } from "react";
3
3
  import { h as E } from "../../../moment-h96o7c8I.js";
4
4
  import { TOKEN_TO_FIAT as x, TOKEN_TO_TOKEN as g, FIAT_WITHDRAW as z, IBAN_CREATION as O, BANK_DEPOSIT as w, BANK_TRANSFER as k, FIAT_TO_TOKEN as P, FIAT_TO_EVER_ID as H, HISTORY_BUY_ICON as S, HISTORY_SELL_ICON as T, HISTORY_SWAP_ICON as K } from "../../../util/constants.js";
5
5
  import { getTransactionStatusLabel as L, getCurrencySymbol as h } from "../../../util/functions.js";
6
- import { A as M } from "../../../ArrowRight-Dqbjrbq7.js";
6
+ import { A as M } from "../../../ArrowRight-CZV_yDgu.js";
7
7
  import j from "../transition.js";
8
- import { C as Y } from "../../../Close-Drz_1Cma.js";
9
- import { B as G } from "../../../Box-Dg5YL71c.js";
10
- import { G as n } from "../../../Grid2-CYB7zT__.js";
11
- import { D as U, a as V } from "../../../DialogContent-CntTpnUi.js";
12
- import { I as q } from "../../../IconButton-C9zoz_co.js";
13
- import { T as J } from "../../../Typography-D7sM-Gzr.js";
8
+ import { C as Y } from "../../../Close-Dv525LOL.js";
9
+ import { B as G } from "../../../Box-rIIGCyb6.js";
10
+ import { G as n } from "../../../Grid2-DJW3x_WO.js";
11
+ import { D as U, a as V } from "../../../DialogContent-BLqflo8C.js";
12
+ import { I as q } from "../../../IconButton-DRnoPKKH.js";
13
+ import { T as J } from "../../../Typography-DiFeMX5p.js";
14
14
  import '../../../assets/index5.css';const Q = "_item_zbw2v_1", f = {
15
15
  item: Q,
16
16
  "status-failed": "_status-failed_zbw2v_19",
@@ -3,8 +3,8 @@ import { ButtonProps } from '@mui/material';
3
3
  import { WalletInputProps } from '../../Wallet/Shared/Input';
4
4
  interface MinimalKycProps {
5
5
  onComplete: () => void;
6
- inputComponent: React.ComponentType<WalletInputProps>;
7
- buttonComponent: React.ComponentType<ButtonProps>;
6
+ inputComponent?: React.ComponentType<WalletInputProps>;
7
+ buttonComponent?: React.ComponentType<ButtonProps>;
8
8
  }
9
9
  declare const _default: React.FC<MinimalKycProps & import('../../../hoc/withThemeProvider').WithThemeProviderProps>;
10
10
  export default _default;
@@ -1,42 +1,44 @@
1
- import { jsxs as u, Fragment as k, jsx as t } from "react/jsx-runtime";
2
- import { useState as s, useEffect as c } from "react";
3
- import { h as $ } from "../../../moment-h96o7c8I.js";
4
- import { u as G, a as H } from "../../../react-redux-B4BZippc.js";
5
- import { removeExtraSpace as o } from "../../../util/functions.js";
6
- import { nameRegex as J } from "../../../util/regex.js";
7
- import "../../../constants-BxUb35pS.js";
8
- import { r as Q, u as U } from "../../../user-D0iWvS_0.js";
9
- import { c as V } from "../../../countries-BVn1FubK.js";
10
- import X from "../../../hoc/withThemeProvider.js";
11
- import { useSnackBarContext as I } from "../../../context/snackBarContext.js";
12
- import { T as B } from "../../../Typography-D7sM-Gzr.js";
13
- import { B as a } from "../../../Box-Dg5YL71c.js";
14
- import { F as ee } from "../../../FormControl-2O9G0Uio.js";
15
- import { S as te } from "../../../Select-D3_7Y7hs.js";
16
- import { M as K } from "../../../MenuItem-CwNgel9B.js";
17
- import { C as re } from "../../../CircularProgress-BShHoQbM.js";
18
- const ae = ({
1
+ import { jsxs as u, Fragment as _, jsx as t } from "react/jsx-runtime";
2
+ import { useState as s, useEffect as d } from "react";
3
+ import { h as H } from "../../../moment-h96o7c8I.js";
4
+ import { u as J, a as k } from "../../../react-redux-B4BZippc.js";
5
+ import { removeExtraSpace as i } from "../../../util/functions.js";
6
+ import { nameRegex as Q } from "../../../util/regex.js";
7
+ import "../../../constants-A8X7fywY.js";
8
+ import { r as U, u as V } from "../../../kyc-8mSMgUlU.js";
9
+ import { c as X } from "../../../countries-BVn1FubK.js";
10
+ import ee from "../../../hoc/withThemeProvider.js";
11
+ import te from "../../Wallet/Shared/Input/index.js";
12
+ import { useSnackBarContext as re } from "../../../context/snackBarContext.js";
13
+ import ae from "../../Wallet/Shared/appButton.js";
14
+ import { T as I } from "../../../Typography-DiFeMX5p.js";
15
+ import { B as a } from "../../../Box-rIIGCyb6.js";
16
+ import { F as se } from "../../../FormControl-uQi14shL.js";
17
+ import { S as oe } from "../../../Select-BsqVGicz.js";
18
+ import { M as K } from "../../../MenuItem-BKHoKEhO.js";
19
+ import { C as ie } from "../../../CircularProgress-CBhr9Pli.js";
20
+ const le = ({
19
21
  onComplete: z,
20
- inputComponent: i,
21
- buttonComponent: F
22
+ inputComponent: F,
23
+ buttonComponent: Y
22
24
  }) => {
23
- const g = G(), n = H(
25
+ const o = F ?? te, E = Y ?? ae, p = J(), c = k(
24
26
  (e) => e.user.profile
25
- ), m = n.kyc, p = m.loader, f = m.error, { showAlertMessage: r } = I(), [v, y] = s(""), [C, b] = s(""), [d, Y] = s(""), [P, E] = s(""), [W, L] = s(""), [S, R] = s(""), [N, T] = s(""), [q, j] = s(""), [h, w] = s("");
26
- c(() => () => {
27
- g(Q());
28
- }, []), c(() => {
27
+ ), n = k((e) => e.user.kyc), g = n.loader, f = n.error, { showAlertMessage: r } = re(), [v, y] = s(""), [C, b] = s(""), [m, L] = s(""), [P, R] = s(""), [W, T] = s(""), [S, j] = s(""), [N, w] = s(""), [q, Z] = s(""), [h, O] = s("");
28
+ d(() => () => {
29
+ p(U());
30
+ }, []), d(() => {
29
31
  f && r({ message: f });
30
- }, [f]), c(() => {
31
- m.minimal && (r({
32
+ }, [f]), d(() => {
33
+ n.minimal && (r({
32
34
  message: "Minimal KYC has been done successfully.",
33
35
  type: "success"
34
36
  }), z());
35
- }, [m]), c(() => {
36
- y(n.firstName), b(n.lastName);
37
- }, [n]);
38
- const Z = () => {
39
- const e = o(v), l = o(C), A = o(P), O = o(W), D = o(S), M = o(N), _ = o(q);
37
+ }, [n]), d(() => {
38
+ y(c.firstName), b(c.lastName);
39
+ }, [c]);
40
+ const $ = () => {
41
+ const e = i(v), l = i(C), A = i(P), G = i(W), B = i(S), D = i(N), M = i(q);
40
42
  if (!e) {
41
43
  r({ message: "Please provide first name" });
42
44
  return;
@@ -45,11 +47,11 @@ const ae = ({
45
47
  r({ message: "Please provide last name" });
46
48
  return;
47
49
  }
48
- if (!d) {
50
+ if (!m) {
49
51
  r({ message: "Please provide date of birth" });
50
52
  return;
51
53
  }
52
- if ($().diff(d, "years", !1) < 18) {
54
+ if (H().diff(m, "years", !1) < 18) {
53
55
  r({
54
56
  message: "You must be at least 18 years of age."
55
57
  });
@@ -59,15 +61,15 @@ const ae = ({
59
61
  r({ message: "Please provide address" });
60
62
  return;
61
63
  }
62
- if (!D) {
64
+ if (!B) {
63
65
  r({ message: "Please provide city" });
64
66
  return;
65
67
  }
66
- if (!M) {
68
+ if (!D) {
67
69
  r({ message: "Please provide state" });
68
70
  return;
69
71
  }
70
- if (!_) {
72
+ if (!M) {
71
73
  r({ message: "Please provide zip code" });
72
74
  return;
73
75
  }
@@ -75,28 +77,28 @@ const ae = ({
75
77
  r({ message: "Please provide country" });
76
78
  return;
77
79
  }
78
- p || g(U({
80
+ g || p(V({
79
81
  personal_information: {
80
82
  first_name: e,
81
83
  last_name: l,
82
- date_of_birth: d
84
+ date_of_birth: m
83
85
  },
84
86
  residential_address: {
85
87
  street: A,
86
- secondary_street: O,
87
- city: D,
88
- state: M,
89
- postcode: _,
88
+ secondary_street: G,
89
+ city: B,
90
+ state: D,
91
+ postcode: M,
90
92
  country: h
91
93
  }
92
94
  }));
93
95
  }, x = (e, l) => {
94
- e ? J.test(e) && l(e) : l("");
96
+ e ? Q.test(e) && l(e) : l("");
95
97
  };
96
- return /* @__PURE__ */ u(k, { children: [
97
- /* @__PURE__ */ t(B, { color: "primary", variant: "lg", fontWeight: 600, children: /* @__PURE__ */ t("b", { children: "Personal Details" }) }),
98
+ return /* @__PURE__ */ u(_, { children: [
99
+ /* @__PURE__ */ t(I, { color: "primary", variant: "lg", fontWeight: 600, children: /* @__PURE__ */ t("b", { children: "Personal Details" }) }),
98
100
  /* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
99
- i,
101
+ o,
100
102
  {
101
103
  label: "First Name",
102
104
  value: v,
@@ -108,7 +110,7 @@ const ae = ({
108
110
  }
109
111
  ) }),
110
112
  /* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
111
- i,
113
+ o,
112
114
  {
113
115
  label: "Last Name",
114
116
  value: C,
@@ -120,7 +122,7 @@ const ae = ({
120
122
  }
121
123
  ) }),
122
124
  /* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
123
- i,
125
+ o,
124
126
  {
125
127
  slotProps: {
126
128
  inputLabel: {
@@ -129,58 +131,58 @@ const ae = ({
129
131
  },
130
132
  type: "date",
131
133
  label: "Date Of Birth",
132
- value: d,
133
- onChange: (e) => Y(e.target.value),
134
+ value: m,
135
+ onChange: (e) => L(e.target.value),
134
136
  fullWidth: !0,
135
137
  required: !0
136
138
  }
137
139
  ) }),
138
- /* @__PURE__ */ t(B, { sx: { mt: 2 }, color: "primary", variant: "lg", fontWeight: 600, children: /* @__PURE__ */ t("b", { children: "Residential Address Details" }) }),
140
+ /* @__PURE__ */ t(I, { sx: { mt: 2 }, color: "primary", variant: "lg", fontWeight: 600, children: /* @__PURE__ */ t("b", { children: "Residential Address Details" }) }),
139
141
  /* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
140
- i,
142
+ o,
141
143
  {
142
144
  label: "Address 1",
143
145
  value: P,
144
- onChange: (e) => E(e.target.value),
146
+ onChange: (e) => R(e.target.value),
145
147
  fullWidth: !0,
146
148
  required: !0
147
149
  }
148
150
  ) }),
149
151
  /* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
150
- i,
152
+ o,
151
153
  {
152
154
  label: "Address 2 (optional)",
153
155
  value: W,
154
- onChange: (e) => L(e.target.value),
156
+ onChange: (e) => T(e.target.value),
155
157
  fullWidth: !0
156
158
  }
157
159
  ) }),
158
160
  /* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
159
- i,
161
+ o,
160
162
  {
161
163
  label: "City",
162
164
  value: S,
163
- onChange: (e) => R(e.target.value),
165
+ onChange: (e) => j(e.target.value),
164
166
  fullWidth: !0,
165
167
  required: !0
166
168
  }
167
169
  ) }),
168
170
  /* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
169
- i,
171
+ o,
170
172
  {
171
173
  label: "State",
172
174
  value: N,
173
- onChange: (e) => T(e.target.value),
175
+ onChange: (e) => w(e.target.value),
174
176
  fullWidth: !0,
175
177
  required: !0
176
178
  }
177
179
  ) }),
178
180
  /* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
179
- i,
181
+ o,
180
182
  {
181
183
  label: "Zip Code",
182
184
  value: q,
183
- onChange: (e) => j(e.target.value),
185
+ onChange: (e) => Z(e.target.value),
184
186
  fullWidth: !0,
185
187
  required: !0
186
188
  }
@@ -198,25 +200,25 @@ const ae = ({
198
200
  children: "Country *"
199
201
  }
200
202
  ),
201
- /* @__PURE__ */ t(ee, { fullWidth: !0, children: /* @__PURE__ */ u(
202
- te,
203
+ /* @__PURE__ */ t(se, { fullWidth: !0, children: /* @__PURE__ */ u(
204
+ oe,
203
205
  {
204
206
  value: h,
205
207
  displayEmpty: !0,
206
- onChange: (e) => w(e.target.value),
208
+ onChange: (e) => O(e.target.value),
207
209
  children: [
208
210
  /* @__PURE__ */ t(K, { value: "", children: "Select Country" }),
209
- V.map((e) => /* @__PURE__ */ t(K, { value: e.alpha3, children: e.name }, e.alpha3))
211
+ X.map((e) => /* @__PURE__ */ t(K, { value: e.alpha3, children: e.name }, e.alpha3))
210
212
  ]
211
213
  }
212
214
  ) })
213
215
  ] }),
214
- /* @__PURE__ */ t(a, { mt: 4, children: /* @__PURE__ */ t(F, { onClick: Z, fullWidth: !0, children: /* @__PURE__ */ t("strong", { children: p ? /* @__PURE__ */ u(k, { children: [
215
- /* @__PURE__ */ t(re, { size: 15, color: "inherit" }),
216
+ /* @__PURE__ */ t(a, { mt: 4, children: /* @__PURE__ */ t(E, { onClick: $, fullWidth: !0, children: /* @__PURE__ */ t("strong", { children: g ? /* @__PURE__ */ u(_, { children: [
217
+ /* @__PURE__ */ t(ie, { size: 15, color: "inherit" }),
216
218
  " Processing..."
217
219
  ] }) : "Submit" }) }) })
218
220
  ] });
219
- }, Se = X(ae);
221
+ }, De = ee(le);
220
222
  export {
221
- Se as default
223
+ De as default
222
224
  };
@@ -0,0 +1,4 @@
1
+ declare const Loader: ({ open }: {
2
+ open?: boolean | undefined;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ export default Loader;
@@ -0,0 +1,17 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { B as a } from "../../Backdrop-Cwqacwk8.js";
3
+ import { C as s } from "../../CircularProgress-CBhr9Pli.js";
4
+ const m = ({ open: o = !0 }) => /* @__PURE__ */ r(
5
+ a,
6
+ {
7
+ open: o,
8
+ sx: {
9
+ color: "#fff",
10
+ zIndex: (e) => e.zIndex.drawer + 1
11
+ },
12
+ children: /* @__PURE__ */ r(s, { color: "primary" })
13
+ }
14
+ );
15
+ export {
16
+ m as default
17
+ };
@@ -1,18 +1,20 @@
1
1
  import { jsx as re, jsxs as Et } from "react/jsx-runtime";
2
2
  import * as C from "react";
3
3
  import fo from "react";
4
- import { g as Ht, a as Ut, s as Ie, u as Ft, m as lt, c as ze } from "../../DefaultPropsProvider-D1ZRCAhv.js";
5
- import { g as qt, P as r, f as zt, a as Yt } from "../../createTheme-BlT11X6w.js";
6
- import { u as Xt } from "../../index-D1vZejb1.js";
7
- import { u as uo } from "../../useTheme-TES7dz5C.js";
8
- import { o as Rt, H as Ze, g as mo, e as vo } from "../../utils-D3CNVkXx.js";
9
- import { P as ho, u as go } from "../../Portal-85fqk2Oo.js";
10
- import { c as bo } from "../../chainPropTypes-D9lkm76m.js";
11
- import { r as Gt, u as At, a as Ye, b as Ct, T as yo } from "../../useTimeout-By20Crr8.js";
4
+ import { g as Ht, a as Ut, s as Ie, u as Ft, m as lt, c as ze } from "../../DefaultPropsProvider-Dta6YfYA.js";
5
+ import { g as qt, P as r, f as zt, a as Yt } from "../../createTheme-CKy7OHWe.js";
6
+ import { u as Xt } from "../../index-BnKMvdnf.js";
7
+ import { u as uo } from "../../useTheme-g-gCeEAB.js";
8
+ import { o as Rt, H as Ze } from "../../ownerDocument-C0GI-r2b.js";
9
+ import { P as mo } from "../../Portal-CIaLgwgF.js";
10
+ import { c as vo } from "../../chainPropTypes-D9lkm76m.js";
11
+ import { r as Gt, u as At, a as Ye, b as Ct, T as ho } from "../../useTimeout-BK0fBak5.js";
12
12
  import { u as it } from "../../TransitionGroupContext-BzyZRJGo.js";
13
- import { u as wo, G as Mt } from "../../Grow-h-Gdo-9N.js";
14
- import { u as Oo } from "../../useControlled-BYdyS7Pn.js";
15
- import { a as Xe } from "../../resolveComponentProps-B1Ir_BWp.js";
13
+ import { u as go, G as Mt } from "../../Grow-DcFPfGou.js";
14
+ import { u as bo } from "../../useControlled-BYdyS7Pn.js";
15
+ import { u as yo } from "../../useId-CK6Kn3Tn.js";
16
+ import { g as wo, e as Oo } from "../../utils-B-L_WHmI.js";
17
+ import { a as Xe } from "../../resolveComponentProps-BION1Ldt.js";
16
18
  import { i as jt } from "../../isFocusVisible-CPZqtjv2.js";
17
19
  var W = "top", z = "bottom", Y = "right", I = "left", ct = "auto", Ve = [W, z, Y, I], Oe = "start", Le = "end", xo = "clippingParents", Kt = "viewport", Se = "popper", To = "reference", $t = /* @__PURE__ */ Ve.reduce(function(t, e) {
18
20
  return t.concat([e + "-" + Oe, e + "-" + Le]);
@@ -1025,7 +1027,7 @@ const $r = (t) => {
1025
1027
  placement: R
1026
1028
  };
1027
1029
  T !== null && (M.TransitionProps = T);
1028
- const k = $r(e), j = u.root ?? "div", X = wo({
1030
+ const k = $r(e), j = u.root ?? "div", X = go({
1029
1031
  elementType: j,
1030
1032
  externalSlotProps: x.root,
1031
1033
  externalForwardedProps: v,
@@ -1077,7 +1079,7 @@ const $r = (t) => {
1077
1079
  onEnter: b,
1078
1080
  onExited: y
1079
1081
  } : void 0;
1080
- return /* @__PURE__ */ re(ho, {
1082
+ return /* @__PURE__ */ re(mo, {
1081
1083
  disablePortal: s,
1082
1084
  container: R,
1083
1085
  children: /* @__PURE__ */ re(Sr, {
@@ -1118,7 +1120,7 @@ process.env.NODE_ENV !== "production" && (no.propTypes = {
1118
1120
  * It's used to set the position of the popper.
1119
1121
  * The return value will passed as the reference object of the Popper instance.
1120
1122
  */
1121
- anchorEl: bo(r.oneOfType([Ze, r.object, r.func]), (t) => {
1123
+ anchorEl: vo(r.oneOfType([Ze, r.object, r.func]), (t) => {
1122
1124
  if (t.open) {
1123
1125
  const e = et(t.anchorEl);
1124
1126
  if (e && ot(e) && e.nodeType === 1) {
@@ -1676,7 +1678,7 @@ const Lr = (t) => {
1676
1678
  }
1677
1679
  })));
1678
1680
  let Ke = !1;
1679
- const Vt = new yo();
1681
+ const Vt = new ho();
1680
1682
  let Ne = {
1681
1683
  x: 0,
1682
1684
  y: 0
@@ -1723,7 +1725,7 @@ const ao = /* @__PURE__ */ C.forwardRef(function(e, o) {
1723
1725
  ...N
1724
1726
  } = n, $ = /* @__PURE__ */ C.isValidElement(p) ? p : /* @__PURE__ */ re("span", {
1725
1727
  children: p
1726
- }), L = uo(), te = Xt(), [B, de] = C.useState(), [oe, me] = C.useState(null), K = C.useRef(!1), H = x || w, ae = Ye(), ie = Ye(), U = Ye(), ve = Ye(), [rt, he] = Oo({
1728
+ }), L = uo(), te = Xt(), [B, de] = C.useState(), [oe, me] = C.useState(null), K = C.useRef(!1), H = x || w, ae = Ye(), ie = Ye(), U = Ye(), ve = Ye(), [rt, he] = bo({
1727
1729
  controlled: R,
1728
1730
  default: !1,
1729
1731
  name: "Tooltip",
@@ -1739,7 +1741,7 @@ const ao = /* @__PURE__ */ C.forwardRef(function(e, o) {
1739
1741
  `));
1740
1742
  }, [j, B, h]);
1741
1743
  }
1742
- const ge = go(E), pe = C.useRef(), be = Ct(() => {
1744
+ const ge = yo(E), pe = C.useRef(), be = Ct(() => {
1743
1745
  pe.current !== void 0 && (document.body.style.WebkitUserSelect = pe.current, pe.current = void 0), ve.clear();
1744
1746
  });
1745
1747
  C.useEffect(() => be, [be]);
@@ -1791,7 +1793,7 @@ const ao = /* @__PURE__ */ C.forwardRef(function(e, o) {
1791
1793
  document.removeEventListener("keydown", h);
1792
1794
  };
1793
1795
  }, [le, J]);
1794
- const Fe = it(mo($), de, o);
1796
+ const Fe = it(wo($), de, o);
1795
1797
  !j && j !== 0 && (J = !1);
1796
1798
  const we = C.useRef(), qe = (h) => {
1797
1799
  const Q = $.props;
@@ -1906,7 +1908,7 @@ process.env.NODE_ENV !== "production" && (ao.propTypes = {
1906
1908
  /**
1907
1909
  * Tooltip reference element.
1908
1910
  */
1909
- children: vo.isRequired,
1911
+ children: Oo.isRequired,
1910
1912
  /**
1911
1913
  * Override or extend the styles applied to the component.
1912
1914
  */
@@ -2084,7 +2086,7 @@ process.env.NODE_ENV !== "production" && (ao.propTypes = {
2084
2086
  */
2085
2087
  TransitionProps: r.object
2086
2088
  });
2087
- const on = Ie(
2089
+ const nn = Ie(
2088
2090
  fo.forwardRef((t, e) => /* @__PURE__ */ re(
2089
2091
  ao,
2090
2092
  {
@@ -2104,5 +2106,5 @@ const on = Ie(
2104
2106
  }
2105
2107
  }));
2106
2108
  export {
2107
- on as default
2109
+ nn as default
2108
2110
  };
@@ -1,6 +1,6 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
2
  import { forwardRef as n } from "react";
3
- import { S as s } from "../../Slide-BKeUzqUD.js";
3
+ import { S as s } from "../../Slide-B08-4SSu.js";
4
4
  const a = n((r, o) => {
5
5
  const { children: i, ...t } = r;
6
6
  return /* @__PURE__ */ e(s, { direction: "up", ref: o, ...t, children: i });