everest-npm-features 0.0.61 → 0.0.62

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 (229) hide show
  1. package/dist/{Cancel-4lT7GZUA.js → Cancel-pHQsCjtK.js} +1 -1
  2. package/dist/{Close-CNwiMz_O.js → Close-DSxLLo08.js} +1 -1
  3. package/dist/{ContentCopy-coPwrEuz.js → ContentCopy-D0C0zbQj.js} +1 -1
  4. package/dist/{Delete-jpMstGIF.js → Delete-Bj8zmXnh.js} +1 -1
  5. package/dist/{ErrorOutline-CPQcnl2b.js → ErrorOutline-Bt7P4ChN.js} +1 -1
  6. package/dist/{FileDownload-Bt3R_NBr.js → FileDownload-DqREXR3D.js} +1 -1
  7. package/dist/{Info-BVeUSPyk.js → Info-DOoRR7sR.js} +1 -1
  8. package/dist/{PlayArrow-Bjz9LxhD.js → PlayArrow-BVDyfxsQ.js} +1 -1
  9. package/dist/Portal-BeS9yJCZ.js +968 -0
  10. package/dist/{auth-Cwq6nfwY.js → auth-DTJdu6mq.js} +10 -10
  11. package/dist/components/RocketRamp/MinimalKyc/form.js +45 -50
  12. package/dist/components/RocketRamp/MinimalKyc/index.js +6 -6
  13. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +4 -6
  14. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -6
  15. package/dist/components/RocketRamp/Player/Buy/form.js +6 -15
  16. package/dist/components/RocketRamp/Player/Buy/index.js +3 -3
  17. package/dist/components/RocketRamp/Player/Dashboard/balance.js +20 -26
  18. package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
  19. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +13 -16
  20. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +4 -9
  21. package/dist/components/RocketRamp/Player/Sell/form.js +6 -15
  22. package/dist/components/RocketRamp/Player/Sell/index.js +11 -10
  23. package/dist/components/RocketRamp/Player/SignIn/index.js +22 -24
  24. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +32 -34
  25. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +30 -32
  26. package/dist/components/RocketRamp/Player/SignUp/email.js +20 -22
  27. package/dist/components/RocketRamp/Player/SignUp/index.js +48 -51
  28. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +67 -73
  29. package/dist/components/RocketRamp/Player/SignUp/summary.js +23 -25
  30. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +23 -25
  31. package/dist/components/RocketRamp/ResetPassword/index.js +22 -24
  32. package/dist/components/RocketRamp/Shared/Button/index.js +16 -17
  33. package/dist/components/RocketRamp/Shared/Input/index.js +27 -30
  34. package/dist/components/RocketRamp/Shared/backBtn.js +10 -11
  35. package/dist/components/RocketRamp/Shared/transactionItem.js +40 -45
  36. package/dist/components/RocketRamp/Store/Dashboard/balance.js +12 -17
  37. package/dist/components/RocketRamp/Store/Dashboard/index.js +11 -12
  38. package/dist/components/RocketRamp/Store/Dashboard/stats.js +12 -17
  39. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +13 -16
  40. package/dist/components/RocketRamp/Store/SignUp/index.js +52 -55
  41. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +47 -53
  42. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +32 -36
  43. package/dist/components/RocketRamp/Store/SignUp/summary.js +21 -23
  44. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +23 -25
  45. package/dist/components/RocketRamp/Transactions/index.js +22 -23
  46. package/dist/components/Shared/FullKyc/countryList.js +15 -17
  47. package/dist/components/Shared/FullKyc/edd.js +50 -52
  48. package/dist/components/Shared/FullKyc/index.js +11 -9
  49. package/dist/components/Shared/FullKyc/pep.js +35 -43
  50. package/dist/components/Shared/FullKyc/personalDetails.js +5 -5
  51. package/dist/components/Shared/FullKyc/userInfo.js +6 -11
  52. package/dist/components/Shared/HistoryItem/index.js +43 -48
  53. package/dist/components/Shared/Incode/index.js +31 -35
  54. package/dist/components/Shared/MinimalKyc/index.js +59 -64
  55. package/dist/components/Shared/Sumsub/index.js +74 -61
  56. package/dist/components/Shared/loader.js +4 -5
  57. package/dist/components/Shared/tooltip.js +2 -2
  58. package/dist/components/Shared/transition.js +4 -4
  59. package/dist/components/Wallet/Account/createIban.js +34 -37
  60. package/dist/components/Wallet/Account/eWallet.js +35 -39
  61. package/dist/components/Wallet/Account/iban.js +49 -53
  62. package/dist/components/Wallet/Account/ibanItem.js +68 -73
  63. package/dist/components/Wallet/Account/index.js +66 -73
  64. package/dist/components/Wallet/Account/sendIban.js +79 -88
  65. package/dist/components/Wallet/Buy/confirmTransaction.js +6 -8
  66. package/dist/components/Wallet/Buy/form.js +6 -16
  67. package/dist/components/Wallet/Buy/index.js +2 -2
  68. package/dist/components/Wallet/Deposit/index.js +15 -17
  69. package/dist/components/Wallet/EnterpriseKyc/edd.js +31 -32
  70. package/dist/components/Wallet/EnterpriseKyc/index.js +73 -77
  71. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +23 -26
  72. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +5 -7
  73. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +1 -1
  74. package/dist/components/Wallet/EnterpriseKyc/kycType.js +23 -26
  75. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +32 -33
  76. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3590 -1481
  77. package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
  78. package/dist/components/Wallet/EnterpriseKyc/verify.js +21 -21
  79. package/dist/components/Wallet/History/index.js +22 -796
  80. package/dist/components/Wallet/Home/index.js +13 -14
  81. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +91 -96
  82. package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
  83. package/dist/components/Wallet/Portfolio/index.js +47 -50
  84. package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
  85. package/dist/components/Wallet/Profile/documents.js +125 -134
  86. package/dist/components/Wallet/Profile/index.js +37 -42
  87. package/dist/components/Wallet/Profile/storage.js +39 -47
  88. package/dist/components/Wallet/Receive/index.js +31 -36
  89. package/dist/components/Wallet/Sell/confirmTransaction.js +6 -8
  90. package/dist/components/Wallet/Sell/form.js +6 -16
  91. package/dist/components/Wallet/Sell/index.js +2 -2
  92. package/dist/components/Wallet/Send/index.js +98 -107
  93. package/dist/components/Wallet/Shared/Auth/emailForm.js +13 -15
  94. package/dist/components/Wallet/Shared/Auth/otpForm.js +8 -355
  95. package/dist/components/Wallet/Shared/BankSelect/index.js +44 -48
  96. package/dist/components/Wallet/Shared/CardCorp/index.js +17 -18
  97. package/dist/components/Wallet/Shared/CardPayment/index.js +14 -16
  98. package/dist/components/Wallet/Shared/ConnectWallet/index.js +22 -28
  99. package/dist/components/Wallet/Shared/Container/index.js +15 -16
  100. package/dist/components/Wallet/Shared/Input/index.js +3 -3
  101. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +29 -30
  102. package/dist/components/Wallet/Shared/Order/paymentButton.js +13 -14
  103. package/dist/components/Wallet/Shared/TokenModal/index.js +55 -63
  104. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +11 -13
  105. package/dist/components/Wallet/Shared/addBank.js +40 -44
  106. package/dist/components/Wallet/Shared/appButton.js +11 -15
  107. package/dist/components/Wallet/Shared/backBtn.js +8 -9
  108. package/dist/components/Wallet/Shared/button.js +7 -7
  109. package/dist/components/Wallet/Shared/connectPlaidBank.js +15 -16
  110. package/dist/components/Wallet/Shared/inputField.js +5 -5
  111. package/dist/components/Wallet/Shared/manualSend.js +7 -11
  112. package/dist/components/Wallet/Shared/noData.js +4 -5
  113. package/dist/components/Wallet/Shared/pin.js +25 -27
  114. package/dist/components/Wallet/Shared/radioButton.js +39 -5
  115. package/dist/components/Wallet/Shared/step.js +12 -13
  116. package/dist/components/Wallet/Shared/timer.js +1 -1
  117. package/dist/components/Wallet/SignIn/index.js +16 -16
  118. package/dist/components/Wallet/SignUp/index.js +62 -152
  119. package/dist/components/Wallet/SignUp/terms.js +1 -1
  120. package/dist/components/Wallet/Stake/gems/index.js +51 -58
  121. package/dist/components/Wallet/Stake/id/index.js +73 -81
  122. package/dist/components/Wallet/Stake/index.js +64 -67
  123. package/dist/components/Wallet/Swap/form.js +8 -17
  124. package/dist/components/Wallet/Swap/index.js +2 -2
  125. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
  126. package/dist/components/Wallet/Withdraw/bankSelect.js +40 -44
  127. package/dist/components/Wallet/Withdraw/confirmTransaction.js +3 -6
  128. package/dist/components/Wallet/Withdraw/form.js +4 -15
  129. package/dist/components/Wallet/Withdraw/index.js +2 -2
  130. package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
  131. package/dist/hoc/withThemeProvider.js +5 -732
  132. package/dist/hooks/useDialog/index.js +22 -23
  133. package/dist/hooks/useRrDialog/index.js +43 -46
  134. package/dist/hooks/useSnackBar.js +24 -696
  135. package/dist/icons/buyIcon.js +1 -1
  136. package/dist/icons/canceledBuyIcon.js +1 -1
  137. package/dist/icons/canceledRedeemIcon.js +1 -1
  138. package/dist/icons/failedBuyIcon.js +2 -2
  139. package/dist/icons/failedRedeemIcon.js +2 -2
  140. package/dist/icons/pendingBuyIcon.js +1 -1
  141. package/dist/icons/pendingRedeemIcon.js +1 -1
  142. package/dist/icons/redeemIcon.js +1 -1
  143. package/dist/{index-BbVpeed7.js → index-3OQ4M69t.js} +87 -96
  144. package/dist/{index-BHG1bT4t.js → index-BBFbUCRZ.js} +123 -128
  145. package/dist/{index-Dh_ahu-u.js → index-C1WPCgkl.js} +129 -140
  146. package/dist/{index-eEBuSKOo.js → index-CDwzoHu7.js} +124 -134
  147. package/dist/{index-B9oucF3r.js → index-CK4kLRAw.js} +189 -198
  148. package/dist/{index-C7Td5yoW.js → index-CYX3j0V7.js} +172 -181
  149. package/dist/{index-D2JWUPz8.js → index-ILpK4BCB.js} +154 -163
  150. package/dist/main.js +7 -7
  151. package/dist/memoTheme-DnE8lj0t.js +3481 -0
  152. package/dist/otpForm-fiNqeB5H.js +7378 -0
  153. package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
  154. package/dist/tooltip-BW0UyWw7.js +2129 -0
  155. package/package.json +6 -6
  156. package/dist/Alert-DzsbFW3-.js +0 -369
  157. package/dist/Autocomplete-CE-OI2t8.js +0 -2429
  158. package/dist/Avatar-1XklXr4O.js +0 -281
  159. package/dist/Backdrop-CioURPVG.js +0 -359
  160. package/dist/Box-B0YSYLco.js +0 -59
  161. package/dist/Button-Df4vgU24.js +0 -663
  162. package/dist/ButtonBase-DLF5c6wi.js +0 -870
  163. package/dist/CardContent-D9wTdpu-.js +0 -141
  164. package/dist/CircularProgress-xZA3lvba.js +0 -252
  165. package/dist/Close-CxzDL3J-.js +0 -9
  166. package/dist/Container-urNKV7hm.js +0 -181
  167. package/dist/DefaultPropsProvider-CeF7UYM9.js +0 -92
  168. package/dist/DefaultPropsProvider-oAu9El-f.js +0 -226
  169. package/dist/DialogContent-BMwlOnbW.js +0 -567
  170. package/dist/DialogTitle-CfS0bb2K.js +0 -70
  171. package/dist/Divider-BShhMFf4.js +0 -297
  172. package/dist/FilledInput-DuNqnPjc.js +0 -1292
  173. package/dist/FormControl-RtZDQMdA.js +0 -258
  174. package/dist/FormControlLabel-BliKW48y.js +0 -519
  175. package/dist/GlobalStyles-ChMhDfTS.js +0 -59
  176. package/dist/Grid-CFe3amXO.js +0 -410
  177. package/dist/Grow-CnGtel3u.js +0 -196
  178. package/dist/HTMLElementType-BrQSV2FE.js +0 -13
  179. package/dist/IconButton-DHm-hucF.js +0 -297
  180. package/dist/InputAdornment-DMiED3JH.js +0 -173
  181. package/dist/Link-DBA9Yifs.js +0 -266
  182. package/dist/ListItemIcon-CUcyTEEm.js +0 -84
  183. package/dist/Menu-DLYFFrEk.js +0 -1239
  184. package/dist/MenuItem-DUdYOJr4.js +0 -271
  185. package/dist/Modal-CFIQ_s3T.js +0 -743
  186. package/dist/Paper-Bgt2WXI6.js +0 -186
  187. package/dist/Popper-BBAoiZKn.js +0 -1409
  188. package/dist/Portal-BMAxiQwe.js +0 -69
  189. package/dist/RadioGroup-nvoSN0JN.js +0 -189
  190. package/dist/Select-CB5yWmyn.js +0 -1886
  191. package/dist/Slide-B9Nw0LZ4.js +0 -235
  192. package/dist/Stack-k55YTxET.js +0 -172
  193. package/dist/SwitchBase-C8zFyg_x.js +0 -318
  194. package/dist/TextField-DPpRUQe3.js +0 -978
  195. package/dist/TransitionGroupContext-CYRQkQ6k.js +0 -49
  196. package/dist/Typography-pAaje37G.js +0 -260
  197. package/dist/chainPropTypes-D9lkm76m.js +0 -8
  198. package/dist/clsx-BTaloaeC.js +0 -264
  199. package/dist/createChainedFunction-C0nujS3O.js +0 -9
  200. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
  201. package/dist/createTheme-CD19zQB7.js +0 -3825
  202. package/dist/debounce-46wSf_lW.js +0 -15
  203. package/dist/defaultTheme-C35y5cLB.js +0 -5
  204. package/dist/dividerClasses-BDxa2gAa.js +0 -10
  205. package/dist/elementAcceptingRef-CqLvP78G.js +0 -391
  206. package/dist/elementTypeAcceptingRef-BdsMpCbS.js +0 -23
  207. package/dist/emotion-react.browser.esm-BIrDfk-B.js +0 -246
  208. package/dist/exactProp-C1Lmtwf_.js +0 -13
  209. package/dist/extendSxProp-B8UjbJ56.js +0 -37
  210. package/dist/generateUtilityClasses-BRiE4Guh.js +0 -10
  211. package/dist/index-B0Z-Gjno.js +0 -22
  212. package/dist/index-DUcLo3x5.js +0 -43
  213. package/dist/isFocusVisible-CPZqtjv2.js +0 -12
  214. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  215. package/dist/isMuiElement-DnSE4qG4.js +0 -13
  216. package/dist/memoTheme-yHaPezod.js +0 -15
  217. package/dist/ownerWindow-CRgpWY6I.js +0 -7
  218. package/dist/radioButton-CzlYB0Lh.js +0 -402
  219. package/dist/refType-BsTH3qnM.js +0 -56
  220. package/dist/tooltip-3UvETWtS.js +0 -740
  221. package/dist/useControlled-nm4pBabJ.js +0 -31
  222. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  223. package/dist/useFormControl-CatNKXAi.js +0 -10
  224. package/dist/useId-CK6Kn3Tn.js +0 -21
  225. package/dist/useSlot-CW7SOYlh.js +0 -125
  226. package/dist/useSlotProps-BfEOwJvJ.js +0 -25
  227. package/dist/useTheme-BQJ5lp0i.js +0 -11
  228. package/dist/useTheme-S5_DHFsQ.js +0 -17
  229. package/dist/useThemeProps-DN9MjdTl.js +0 -29
@@ -1,43 +1,40 @@
1
- import { jsxs as r, Fragment as u, jsx as t } from "react/jsx-runtime";
2
- import { useState as h } from "react";
3
- import { R as l } from "../../../radioButton-CzlYB0Lh.js";
4
- import p from "../Shared/appButton.js";
5
- import { KYC_BETWEEN_TRANSATION as n, KYC_OVER_TRANSATION as a } from "../../../util/constants.js";
6
- import { T as f } from "../../../Typography-pAaje37G.js";
7
- import { B as i } from "../../../Box-B0YSYLco.js";
8
- import { F as g } from "../../../FormControl-RtZDQMdA.js";
9
- import { R as C } from "../../../RadioGroup-nvoSN0JN.js";
10
- const S = ({ onNext: m, kycData: d }) => {
11
- const [e, c] = h(d.transactAmount), o = (s) => {
12
- c(s.target.value);
1
+ import { jsxs as r, Fragment as h, jsx as e } from "react/jsx-runtime";
2
+ import { Typography as s, Box as a, FormControl as p, RadioGroup as f } from "@mui/material";
3
+ import { useState as g } from "react";
4
+ import i from "../Shared/radioButton.js";
5
+ import C from "../Shared/appButton.js";
6
+ import { KYC_BETWEEN_TRANSATION as n, KYC_OVER_TRANSATION as l } from "../../../util/constants.js";
7
+ const y = ({ onNext: d, kycData: c }) => {
8
+ const [t, m] = g(c.transactAmount), o = (u) => {
9
+ m(u.target.value);
13
10
  };
14
- return /* @__PURE__ */ r(u, { children: [
15
- /* @__PURE__ */ t(f, { variant: "lg", fontWeight: "bold", children: "How much are you transacting?" }),
16
- /* @__PURE__ */ r(i, { mt: 4, children: [
17
- /* @__PURE__ */ t(g, { component: "fieldset", fullWidth: !0, children: /* @__PURE__ */ r(C, { value: e, onChange: o, children: [
18
- /* @__PURE__ */ t(
19
- l,
11
+ return /* @__PURE__ */ r(h, { children: [
12
+ /* @__PURE__ */ e(s, { variant: "lg", fontWeight: "bold", children: "How much are you transacting?" }),
13
+ /* @__PURE__ */ r(a, { mt: 4, children: [
14
+ /* @__PURE__ */ e(p, { component: "fieldset", fullWidth: !0, children: /* @__PURE__ */ r(f, { value: t, onChange: o, children: [
15
+ /* @__PURE__ */ e(
16
+ i,
20
17
  {
21
18
  value: n,
22
19
  label: n,
23
- selected: e === n,
20
+ selected: t === n,
24
21
  onChange: o
25
22
  }
26
23
  ),
27
- /* @__PURE__ */ t(
28
- l,
24
+ /* @__PURE__ */ e(
25
+ i,
29
26
  {
30
- value: a,
31
- label: a,
32
- selected: e === a,
27
+ value: l,
28
+ label: l,
29
+ selected: t === l,
33
30
  onChange: o
34
31
  }
35
32
  )
36
33
  ] }) }),
37
- /* @__PURE__ */ t(i, { mt: 16, children: /* @__PURE__ */ t(p, { fullWidth: !0, onClick: () => m(e), children: "Next" }) })
34
+ /* @__PURE__ */ e(a, { mt: 16, children: /* @__PURE__ */ e(C, { fullWidth: !0, onClick: () => d(t), children: "Next" }) })
38
35
  ] })
39
36
  ] });
40
37
  };
41
38
  export {
42
- S as default
39
+ y as default
43
40
  };
@@ -1,9 +1,7 @@
1
1
  import { jsxs as o, Fragment as i, jsx as e } from "react/jsx-runtime";
2
- import a from "../Shared/appButton.js";
3
- import { T as t } from "../../../Typography-pAaje37G.js";
4
- import { L as n } from "../../../Link-DBA9Yifs.js";
5
- import { B as s } from "../../../Box-B0YSYLco.js";
6
- const h = ({ onNext: r }) => /* @__PURE__ */ o(i, { children: [
2
+ import { Typography as t, Link as n, Box as a } from "@mui/material";
3
+ import s from "../Shared/appButton.js";
4
+ const p = ({ onNext: r }) => /* @__PURE__ */ o(i, { children: [
7
5
  /* @__PURE__ */ e(t, { variant: "body1", children: "Hello and thank you for your interest in Setting Up an Organization on the Everest platform." }),
8
6
  /* @__PURE__ */ e("br", {}),
9
7
  /* @__PURE__ */ e(t, { variant: "body1", children: "Your request will go into a queue that will be reviewed and when your organization is approved, you will be notified at the email address specified. Please ensure this is a good contact address for you." }),
@@ -20,8 +18,8 @@ const h = ({ onNext: r }) => /* @__PURE__ */ o(i, { children: [
20
18
  children: /* @__PURE__ */ e(n, { target: "_blank", href: "https://static-assets.everest.org/web/files/enterprise-wallet.pdf", children: "Checklist of supporting documents needed for each type of organization." })
21
19
  }
22
20
  ),
23
- /* @__PURE__ */ e(s, { mt: 8, children: /* @__PURE__ */ e(a, { fullWidth: !0, onClick: r, children: "Next" }) })
21
+ /* @__PURE__ */ e(a, { mt: 8, children: /* @__PURE__ */ e(s, { fullWidth: !0, onClick: r, children: "Next" }) })
24
22
  ] });
25
23
  export {
26
- h as default
24
+ p as default
27
25
  };
@@ -1,7 +1,7 @@
1
1
  import { jsxs as e, Fragment as m, jsx as r } from "react/jsx-runtime";
2
+ import { Box as o } from "@mui/material";
2
3
  import i from "../Shared/appButton.js";
3
4
  import l from "../SignUp/terms.js";
4
- import { B as o } from "../../../Box-B0YSYLco.js";
5
5
  const f = ({ onNext: t }) => /* @__PURE__ */ e(m, { children: [
6
6
  /* @__PURE__ */ r(o, { sx: { height: "360px", overflowY: "scroll" }, children: /* @__PURE__ */ r(l, {}) }),
7
7
  /* @__PURE__ */ r(o, { mt: 7, children: /* @__PURE__ */ r(i, { fullWidth: !0, onClick: t, children: "Next" }) })
@@ -1,43 +1,40 @@
1
- import { jsxs as r, Fragment as c, jsx as e } from "react/jsx-runtime";
2
- import { useState as h } from "react";
3
- import { R as l } from "../../../radioButton-CzlYB0Lh.js";
4
- import u from "../Shared/appButton.js";
5
- import { INDIVIDUAL_KYC_TYPE as n, ORGANIZATION_KYC_TYPE as a } from "../../../util/constants.js";
6
- import { T as f } from "../../../Typography-pAaje37G.js";
7
- import { B as i } from "../../../Box-B0YSYLco.js";
8
- import { F as g } from "../../../FormControl-RtZDQMdA.js";
9
- import { R as C } from "../../../RadioGroup-nvoSN0JN.js";
10
- const Y = ({ onNext: m, kycData: d }) => {
11
- const [o, p] = h(d.type), t = (s) => {
12
- p(s.target.value);
1
+ import { jsxs as r, Fragment as u, jsx as e } from "react/jsx-runtime";
2
+ import { Typography as p, Box as a, FormControl as s, RadioGroup as f } from "@mui/material";
3
+ import { useState as g } from "react";
4
+ import i from "../Shared/radioButton.js";
5
+ import C from "../Shared/appButton.js";
6
+ import { INDIVIDUAL_KYC_TYPE as n, ORGANIZATION_KYC_TYPE as l } from "../../../util/constants.js";
7
+ const N = ({ onNext: d, kycData: c }) => {
8
+ const [t, m] = g(c.type), o = (h) => {
9
+ m(h.target.value);
13
10
  };
14
- return /* @__PURE__ */ r(c, { children: [
15
- /* @__PURE__ */ e(f, { variant: "lg", fontWeight: "bold", children: "Are you an individual or an organization?" }),
16
- /* @__PURE__ */ r(i, { mt: 4, children: [
17
- /* @__PURE__ */ e(g, { component: "fieldset", fullWidth: !0, children: /* @__PURE__ */ r(C, { value: o, onChange: t, children: [
11
+ return /* @__PURE__ */ r(u, { children: [
12
+ /* @__PURE__ */ e(p, { variant: "lg", fontWeight: "bold", children: "Are you an individual or an organization?" }),
13
+ /* @__PURE__ */ r(a, { mt: 4, children: [
14
+ /* @__PURE__ */ e(s, { component: "fieldset", fullWidth: !0, children: /* @__PURE__ */ r(f, { value: t, onChange: o, children: [
18
15
  /* @__PURE__ */ e(
19
- l,
16
+ i,
20
17
  {
21
18
  value: n,
22
19
  label: n,
23
- selected: o === n,
24
- onChange: t
20
+ selected: t === n,
21
+ onChange: o
25
22
  }
26
23
  ),
27
24
  /* @__PURE__ */ e(
28
- l,
25
+ i,
29
26
  {
30
- value: a,
31
- label: a,
32
- selected: o === a,
33
- onChange: t
27
+ value: l,
28
+ label: l,
29
+ selected: t === l,
30
+ onChange: o
34
31
  }
35
32
  )
36
33
  ] }) }),
37
- /* @__PURE__ */ e(i, { mt: 25, children: /* @__PURE__ */ e(u, { fullWidth: !0, onClick: () => m(o), children: "Next" }) })
34
+ /* @__PURE__ */ e(a, { mt: 25, children: /* @__PURE__ */ e(C, { fullWidth: !0, onClick: () => d(t), children: "Next" }) })
38
35
  ] })
39
36
  ] });
40
37
  };
41
38
  export {
42
- Y as default
39
+ N as default
43
40
  };
@@ -1,35 +1,34 @@
1
1
  import { jsxs as T, Fragment as _, jsx as n } from "react/jsx-runtime";
2
- import c from "../Shared/appButton.js";
3
- import { useRef as d, useState as v, useEffect as S, createRef as b } from "react";
4
- import a from "./input.js";
2
+ import { Box as E, InputAdornment as c, IconButton as m } from "@mui/material";
3
+ import v from "../Shared/appButton.js";
4
+ import { useRef as d, useState as S, useEffect as b, createRef as P } from "react";
5
+ import D from "./input.js";
5
6
  import "../../../index-DlQqWbXG.js";
6
7
  import "../../../hoc/withThemeProvider.js";
7
- import "../Shared/Auth/otpForm.js";
8
+ import "../../../otpForm-fiNqeB5H.js";
8
9
  import "../../../constants-DrmtdI1J.js";
9
- import { a as P } from "../../../kyc-ksV3vBP_.js";
10
- import { useSnackBarContext as D } from "../../../context/snackBarContext.js";
11
- import q from "../../../hooks/useEverestDispatch.js";
10
+ import { a } from "../../../kyc-ksV3vBP_.js";
11
+ import { useSnackBarContext as q } from "../../../context/snackBarContext.js";
12
+ import G from "../../../hooks/useEverestDispatch.js";
12
13
  import "../../../util/conversions.js";
13
14
  import "../../../index-CAoLi5Qq.js";
14
- import { C as G } from "../../../Close-CNwiMz_O.js";
15
- import L from "../Shared/step.js";
15
+ import { C as L } from "../../../Close-DSxLLo08.js";
16
+ import H from "../Shared/step.js";
16
17
  import "../../../react-webcam-B3cXh1XT.js";
17
18
  import "../../Shared/transition.js";
18
- import "../../../tooltip-3UvETWtS.js";
19
+ import "../../../tooltip-BW0UyWw7.js";
19
20
  import "../../../moment-h96o7c8I.js";
20
21
  import "../../../index.esm-BsMAMhYW.js";
21
22
  import "../../../web3-u4qDZYpo.js";
22
23
  import "../../../index-ceeCtFuh.js";
23
- import { C as H, a as j } from "../../../FileDownload-Bt3R_NBr.js";
24
+ import { C as j, a as B } from "../../../FileDownload-DqREXR3D.js";
24
25
  import "../../../index.esm-I_Bp2YLf.js";
25
26
  import "../../../context/dialogContext.js";
26
- import { B as E } from "../../../Box-B0YSYLco.js";
27
- import { I as B } from "../../../InputAdornment-DMiED3JH.js";
28
- import { I as m } from "../../../IconButton-DHm-hucF.js";
29
- const Ce = ({
27
+ import "@mui/icons-material";
28
+ const Oe = ({
30
29
  onNext: A,
31
30
  kycData: i,
32
- disabled: p = !1,
31
+ disabled: u = !1,
33
32
  kycStoreData: t
34
33
  }) => {
35
34
  const O = {
@@ -119,11 +118,11 @@ const Ce = ({
119
118
  required: !1,
120
119
  multiFile: !0
121
120
  }
122
- }, N = q(), { showAlertMessage: C } = D(), F = d(null), [o, u] = v(O);
123
- S(() => {
121
+ }, N = G(), { showAlertMessage: C } = q(), F = d(null), [o, p] = S(O);
122
+ b(() => {
124
123
  if (t != null && t.uploadData.fileUrl && (t != null && t.uploadData.fileType)) {
125
124
  const l = t == null ? void 0 : t.uploadData.fileType;
126
- u((e) => {
125
+ p((e) => {
127
126
  const r = e[l].file || [];
128
127
  return {
129
128
  ...e,
@@ -140,7 +139,7 @@ const Ce = ({
140
139
  const I = Object.keys(
141
140
  O
142
141
  ), R = d(
143
- I.reduce((l, e) => (l[e] = b(), l), {})
142
+ I.reduce((l, e) => (l[e] = P(), l), {})
144
143
  ), U = () => {
145
144
  for (const l of Object.keys(o)) {
146
145
  const e = o[l];
@@ -163,7 +162,7 @@ const Ce = ({
163
162
  const r = l.target.files;
164
163
  !r || r.length === 0 || Array.from(r).map((s) => {
165
164
  const g = URL.createObjectURL(s);
166
- N(P({ file: s, type: e })), u((f) => {
165
+ N(a({ file: s, type: e })), p((f) => {
167
166
  const w = f[e].file || [], h = f[e].text ? f[e].text.split(", ") : [];
168
167
  return {
169
168
  ...f,
@@ -177,35 +176,35 @@ const Ce = ({
177
176
  });
178
177
  };
179
178
  return /* @__PURE__ */ T(_, { children: [
180
- !p && /* @__PURE__ */ n(E, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ n(L, { currentStep: 2, totalSteps: 3, topMargin: 0 }) }),
179
+ !u && /* @__PURE__ */ n(E, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ n(H, { currentStep: 2, totalSteps: 3, topMargin: 0 }) }),
181
180
  /* @__PURE__ */ n(
182
181
  "form",
183
182
  {
184
- style: p ? {} : { height: "350px", overflowY: "scroll" },
183
+ style: u ? {} : { height: "350px", overflowY: "scroll" },
185
184
  ref: F,
186
185
  children: I.map((l) => /* @__PURE__ */ T(E, { mt: 2, children: [
187
186
  /* @__PURE__ */ n(
188
- a,
187
+ D,
189
188
  {
190
189
  disabled: !0,
191
190
  label: o[l].label,
192
191
  value: o[l].text,
193
- onChange: (e) => u((r) => ({
192
+ onChange: (e) => p((r) => ({
194
193
  ...r,
195
194
  [l]: { ...r[l], text: e.target.value }
196
195
  })),
197
196
  slotProps: {
198
197
  input: {
199
- endAdornment: /* @__PURE__ */ n(B, { position: "end", children: o[l].file.length > 0 ? /* @__PURE__ */ T(_, { children: [
200
- !p && /* @__PURE__ */ n(
198
+ endAdornment: /* @__PURE__ */ n(c, { position: "end", children: o[l].file.length > 0 ? /* @__PURE__ */ T(_, { children: [
199
+ !u && /* @__PURE__ */ n(
201
200
  m,
202
201
  {
203
- onClick: () => u((e) => ({
202
+ onClick: () => p((e) => ({
204
203
  ...e,
205
204
  [l]: { ...e[l], file: [] }
206
205
  })),
207
206
  edge: "end",
208
- children: /* @__PURE__ */ n(G, {})
207
+ children: /* @__PURE__ */ n(L, {})
209
208
  }
210
209
  ),
211
210
  o[l].preview.map((e, r) => /* @__PURE__ */ n(
@@ -213,7 +212,7 @@ const Ce = ({
213
212
  {
214
213
  onClick: () => window.open(e),
215
214
  edge: "end",
216
- children: /* @__PURE__ */ n(H, {})
215
+ children: /* @__PURE__ */ n(j, {})
217
216
  },
218
217
  r
219
218
  ))
@@ -225,7 +224,7 @@ const Ce = ({
225
224
  return (r = (e = R.current[l]) == null ? void 0 : e.current) == null ? void 0 : r.click();
226
225
  },
227
226
  edge: "end",
228
- children: /* @__PURE__ */ n(j, {})
227
+ children: /* @__PURE__ */ n(B, {})
229
228
  }
230
229
  ) })
231
230
  }
@@ -248,9 +247,9 @@ const Ce = ({
248
247
  ] }, l))
249
248
  }
250
249
  ),
251
- !p && /* @__PURE__ */ n(E, { mt: 3.5, children: /* @__PURE__ */ n(c, { fullWidth: !0, onClick: x, children: "Next" }) })
250
+ !u && /* @__PURE__ */ n(E, { mt: 3.5, children: /* @__PURE__ */ n(v, { fullWidth: !0, onClick: x, children: "Next" }) })
252
251
  ] });
253
252
  };
254
253
  export {
255
- Ce as default
254
+ Oe as default
256
255
  };