everest-npm-features 0.0.60 → 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 (238) 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-BlkZJiHn.js → PlayArrow-BVDyfxsQ.js} +2 -2
  9. package/dist/Portal-BeS9yJCZ.js +968 -0
  10. package/dist/assets/index7.css +1 -1
  11. package/dist/assets/index8.css +1 -1
  12. package/dist/{auth-WhDJHZtr.js → auth-DTJdu6mq.js} +11 -11
  13. package/dist/{bank-BaOrdTcI.js → bank-C4pmTe--.js} +1 -1
  14. package/dist/components/RocketRamp/MinimalKyc/form.js +46 -52
  15. package/dist/components/RocketRamp/MinimalKyc/index.js +6 -6
  16. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +6 -8
  17. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +5 -8
  18. package/dist/components/RocketRamp/Player/Buy/form.js +8 -17
  19. package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
  20. package/dist/components/RocketRamp/Player/Dashboard/balance.js +20 -26
  21. package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
  22. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +13 -16
  23. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +6 -11
  24. package/dist/components/RocketRamp/Player/Sell/form.js +8 -17
  25. package/dist/components/RocketRamp/Player/Sell/index.js +9 -9
  26. package/dist/components/RocketRamp/Player/SignIn/index.js +23 -25
  27. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +33 -35
  28. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +31 -33
  29. package/dist/components/RocketRamp/Player/SignUp/email.js +21 -23
  30. package/dist/components/RocketRamp/Player/SignUp/index.js +49 -52
  31. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +68 -74
  32. package/dist/components/RocketRamp/Player/SignUp/summary.js +23 -25
  33. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +23 -25
  34. package/dist/components/RocketRamp/ResetPassword/index.js +23 -25
  35. package/dist/components/RocketRamp/Shared/Button/index.js +16 -17
  36. package/dist/components/RocketRamp/Shared/Input/index.js +27 -30
  37. package/dist/components/RocketRamp/Shared/backBtn.js +10 -11
  38. package/dist/components/RocketRamp/Shared/transactionItem.js +40 -45
  39. package/dist/components/RocketRamp/Store/Dashboard/balance.js +12 -17
  40. package/dist/components/RocketRamp/Store/Dashboard/index.js +11 -12
  41. package/dist/components/RocketRamp/Store/Dashboard/stats.js +12 -17
  42. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +13 -16
  43. package/dist/components/RocketRamp/Store/SignUp/index.js +53 -56
  44. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +48 -54
  45. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +33 -37
  46. package/dist/components/RocketRamp/Store/SignUp/summary.js +21 -23
  47. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +23 -25
  48. package/dist/components/RocketRamp/Transactions/index.js +23 -24
  49. package/dist/components/Shared/FullKyc/countryList.js +15 -17
  50. package/dist/components/Shared/FullKyc/edd.js +51 -54
  51. package/dist/components/Shared/FullKyc/index.js +13 -12
  52. package/dist/components/Shared/FullKyc/pep.js +35 -43
  53. package/dist/components/Shared/FullKyc/personalDetails.js +7 -8
  54. package/dist/components/Shared/FullKyc/userInfo.js +8 -14
  55. package/dist/components/Shared/HistoryItem/index.js +43 -48
  56. package/dist/components/Shared/Incode/index.js +31 -35
  57. package/dist/components/Shared/MinimalKyc/index.js +60 -65
  58. package/dist/components/Shared/Sumsub/index.js +75 -62
  59. package/dist/components/Shared/loader.js +4 -5
  60. package/dist/components/Shared/tooltip.js +2 -2
  61. package/dist/components/Shared/transition.js +4 -4
  62. package/dist/components/Wallet/Account/createIban.js +34 -38
  63. package/dist/components/Wallet/Account/eWallet.js +35 -39
  64. package/dist/components/Wallet/Account/iban.js +49 -53
  65. package/dist/components/Wallet/Account/ibanItem.js +70 -76
  66. package/dist/components/Wallet/Account/index.js +68 -76
  67. package/dist/components/Wallet/Account/sendIban.js +79 -88
  68. package/dist/components/Wallet/Buy/confirmTransaction.js +9 -12
  69. package/dist/components/Wallet/Buy/form.js +8 -18
  70. package/dist/components/Wallet/Buy/index.js +6 -6
  71. package/dist/components/Wallet/Deposit/index.js +16 -19
  72. package/dist/components/Wallet/EnterpriseKyc/edd.js +32 -34
  73. package/dist/components/Wallet/EnterpriseKyc/index.js +76 -81
  74. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +23 -26
  75. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +5 -7
  76. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +1 -1
  77. package/dist/components/Wallet/EnterpriseKyc/kycType.js +23 -26
  78. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +37 -39
  79. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3591 -1483
  80. package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
  81. package/dist/components/Wallet/EnterpriseKyc/verify.js +23 -24
  82. package/dist/components/Wallet/History/index.js +23 -797
  83. package/dist/components/Wallet/Home/index.js +13 -14
  84. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +91 -97
  85. package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
  86. package/dist/components/Wallet/Portfolio/index.js +48 -52
  87. package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
  88. package/dist/components/Wallet/Profile/documents.js +125 -134
  89. package/dist/components/Wallet/Profile/index.js +38 -44
  90. package/dist/components/Wallet/Profile/storage.js +39 -47
  91. package/dist/components/Wallet/Receive/index.js +32 -37
  92. package/dist/components/Wallet/Sell/confirmTransaction.js +8 -11
  93. package/dist/components/Wallet/Sell/form.js +8 -18
  94. package/dist/components/Wallet/Sell/index.js +6 -6
  95. package/dist/components/Wallet/Send/index.js +336 -324
  96. package/dist/components/Wallet/Shared/Auth/emailForm.js +13 -15
  97. package/dist/components/Wallet/Shared/Auth/otpForm.js +9 -356
  98. package/dist/components/Wallet/Shared/BankSelect/index.js +45 -49
  99. package/dist/components/Wallet/Shared/CardCorp/index.js +18 -20
  100. package/dist/components/Wallet/Shared/CardPayment/index.js +14 -16
  101. package/dist/components/Wallet/Shared/ConnectWallet/index.js +22 -28
  102. package/dist/components/Wallet/Shared/Container/index.js +15 -16
  103. package/dist/components/Wallet/Shared/Input/index.js +3 -3
  104. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +29 -30
  105. package/dist/components/Wallet/Shared/Order/paymentButton.js +13 -14
  106. package/dist/components/Wallet/Shared/TokenModal/index.js +55 -63
  107. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +11 -13
  108. package/dist/components/Wallet/Shared/addBank.js +41 -46
  109. package/dist/components/Wallet/Shared/appButton.js +11 -15
  110. package/dist/components/Wallet/Shared/backBtn.js +8 -9
  111. package/dist/components/Wallet/Shared/button.js +7 -7
  112. package/dist/components/Wallet/Shared/connectPlaidBank.js +16 -17
  113. package/dist/components/Wallet/Shared/inputField.js +5 -5
  114. package/dist/components/Wallet/Shared/manualSend.js +9 -14
  115. package/dist/components/Wallet/Shared/noData.js +4 -5
  116. package/dist/components/Wallet/Shared/pin.js +25 -27
  117. package/dist/components/Wallet/Shared/radioButton.js +39 -5
  118. package/dist/components/Wallet/Shared/step.js +12 -13
  119. package/dist/components/Wallet/Shared/timer.js +1 -1
  120. package/dist/components/Wallet/SignIn/index.js +17 -17
  121. package/dist/components/Wallet/SignUp/index.js +63 -153
  122. package/dist/components/Wallet/SignUp/terms.js +1 -1
  123. package/dist/components/Wallet/Stake/gems/index.js +51 -58
  124. package/dist/components/Wallet/Stake/id/index.js +73 -81
  125. package/dist/components/Wallet/Stake/index.js +65 -69
  126. package/dist/components/Wallet/Swap/form.js +11 -21
  127. package/dist/components/Wallet/Swap/index.js +5 -5
  128. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
  129. package/dist/components/Wallet/Withdraw/bankSelect.js +41 -45
  130. package/dist/components/Wallet/Withdraw/confirmTransaction.js +5 -8
  131. package/dist/components/Wallet/Withdraw/form.js +6 -17
  132. package/dist/components/Wallet/Withdraw/index.js +5 -5
  133. package/dist/{constants-DREDnCMu.js → constants-DrmtdI1J.js} +7 -7
  134. package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
  135. package/dist/{cryptoAssets-DbyDgq4J.js → cryptoAssets-DyGDknvq.js} +1 -1
  136. package/dist/hoc/withThemeProvider.js +5 -732
  137. package/dist/hooks/useDialog/index.js +22 -23
  138. package/dist/hooks/useRrDialog/index.js +43 -46
  139. package/dist/hooks/useSnackBar.js +24 -696
  140. package/dist/icons/buyIcon.js +1 -1
  141. package/dist/icons/canceledBuyIcon.js +1 -1
  142. package/dist/icons/canceledRedeemIcon.js +1 -1
  143. package/dist/icons/failedBuyIcon.js +2 -2
  144. package/dist/icons/failedRedeemIcon.js +2 -2
  145. package/dist/icons/pendingBuyIcon.js +1 -1
  146. package/dist/icons/pendingRedeemIcon.js +1 -1
  147. package/dist/icons/redeemIcon.js +1 -1
  148. package/dist/{index-DYP5Ex_T.js → index-3OQ4M69t.js} +89 -99
  149. package/dist/{index-B3HnUBnB.js → index-BBFbUCRZ.js} +123 -129
  150. package/dist/{index-PoMNqntN.js → index-C1WPCgkl.js} +130 -141
  151. package/dist/{index-BXutc9ik.js → index-CDwzoHu7.js} +134 -145
  152. package/dist/{index-DV1dVcrY.js → index-CK4kLRAw.js} +172 -182
  153. package/dist/{index-DJ7xuxBy.js → index-CYX3j0V7.js} +175 -185
  154. package/dist/{index-CuPCW3XC.js → index-ILpK4BCB.js} +154 -163
  155. package/dist/{kyc-D4s_B9Cf.js → kyc-ksV3vBP_.js} +1 -1
  156. package/dist/main.js +7 -7
  157. package/dist/memoTheme-DnE8lj0t.js +3481 -0
  158. package/dist/{order-DGBbo_Ox.js → order-DEp_Lmar.js} +1 -1
  159. package/dist/otpForm-fiNqeB5H.js +7378 -0
  160. package/dist/{stake-CdMc5H7D.js → stake-Ct7-_aWW.js} +1 -1
  161. package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
  162. package/dist/tooltip-BW0UyWw7.js +2129 -0
  163. package/dist/{wallet-DvfdQOju.js → wallet-CauUBXou.js} +1 -1
  164. package/package.json +6 -6
  165. package/dist/Alert-DzsbFW3-.js +0 -369
  166. package/dist/Autocomplete-CE-OI2t8.js +0 -2429
  167. package/dist/Avatar-1XklXr4O.js +0 -281
  168. package/dist/Backdrop-CioURPVG.js +0 -359
  169. package/dist/Box-B0YSYLco.js +0 -59
  170. package/dist/Button-Df4vgU24.js +0 -663
  171. package/dist/ButtonBase-DLF5c6wi.js +0 -870
  172. package/dist/CardContent-D9wTdpu-.js +0 -141
  173. package/dist/CircularProgress-xZA3lvba.js +0 -252
  174. package/dist/Close-CxzDL3J-.js +0 -9
  175. package/dist/Container-urNKV7hm.js +0 -181
  176. package/dist/DefaultPropsProvider-CeF7UYM9.js +0 -92
  177. package/dist/DefaultPropsProvider-oAu9El-f.js +0 -226
  178. package/dist/DialogContent-BMwlOnbW.js +0 -567
  179. package/dist/DialogTitle-CfS0bb2K.js +0 -70
  180. package/dist/Divider-BShhMFf4.js +0 -297
  181. package/dist/FilledInput-DuNqnPjc.js +0 -1292
  182. package/dist/FormControl-RtZDQMdA.js +0 -258
  183. package/dist/FormControlLabel-BliKW48y.js +0 -519
  184. package/dist/GlobalStyles-ChMhDfTS.js +0 -59
  185. package/dist/Grid-CFe3amXO.js +0 -410
  186. package/dist/Grow-CnGtel3u.js +0 -196
  187. package/dist/HTMLElementType-BrQSV2FE.js +0 -13
  188. package/dist/IconButton-DHm-hucF.js +0 -297
  189. package/dist/InputAdornment-DMiED3JH.js +0 -173
  190. package/dist/Link-DBA9Yifs.js +0 -266
  191. package/dist/ListItemIcon-CUcyTEEm.js +0 -84
  192. package/dist/Menu-DLYFFrEk.js +0 -1239
  193. package/dist/MenuItem-DUdYOJr4.js +0 -271
  194. package/dist/Modal-CFIQ_s3T.js +0 -743
  195. package/dist/Paper-Bgt2WXI6.js +0 -186
  196. package/dist/Popper-BBAoiZKn.js +0 -1409
  197. package/dist/Portal-BMAxiQwe.js +0 -69
  198. package/dist/RadioGroup-nvoSN0JN.js +0 -189
  199. package/dist/Select-CB5yWmyn.js +0 -1886
  200. package/dist/Slide-B9Nw0LZ4.js +0 -235
  201. package/dist/Stack-k55YTxET.js +0 -172
  202. package/dist/SwitchBase-C8zFyg_x.js +0 -318
  203. package/dist/TextField-DPpRUQe3.js +0 -978
  204. package/dist/TransitionGroupContext-CYRQkQ6k.js +0 -49
  205. package/dist/Typography-pAaje37G.js +0 -260
  206. package/dist/chainPropTypes-D9lkm76m.js +0 -8
  207. package/dist/clsx-BTaloaeC.js +0 -264
  208. package/dist/createChainedFunction-C0nujS3O.js +0 -9
  209. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
  210. package/dist/createTheme-CD19zQB7.js +0 -3825
  211. package/dist/debounce-46wSf_lW.js +0 -15
  212. package/dist/defaultTheme-C35y5cLB.js +0 -5
  213. package/dist/dividerClasses-BDxa2gAa.js +0 -10
  214. package/dist/elementAcceptingRef-CqLvP78G.js +0 -391
  215. package/dist/elementTypeAcceptingRef-BdsMpCbS.js +0 -23
  216. package/dist/emotion-react.browser.esm-BIrDfk-B.js +0 -246
  217. package/dist/exactProp-C1Lmtwf_.js +0 -13
  218. package/dist/extendSxProp-B8UjbJ56.js +0 -37
  219. package/dist/generateUtilityClasses-BRiE4Guh.js +0 -10
  220. package/dist/index-B0Z-Gjno.js +0 -22
  221. package/dist/index-DUcLo3x5.js +0 -43
  222. package/dist/isFocusVisible-CPZqtjv2.js +0 -12
  223. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  224. package/dist/isMuiElement-DnSE4qG4.js +0 -13
  225. package/dist/memoTheme-yHaPezod.js +0 -15
  226. package/dist/ownerWindow-CRgpWY6I.js +0 -7
  227. package/dist/radioButton-CzlYB0Lh.js +0 -402
  228. package/dist/refType-BsTH3qnM.js +0 -56
  229. package/dist/tooltip-3UvETWtS.js +0 -740
  230. package/dist/useControlled-nm4pBabJ.js +0 -31
  231. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  232. package/dist/useFormControl-CatNKXAi.js +0 -10
  233. package/dist/useId-CK6Kn3Tn.js +0 -21
  234. package/dist/useSlot-CW7SOYlh.js +0 -125
  235. package/dist/useSlotProps-BfEOwJvJ.js +0 -25
  236. package/dist/useTheme-BQJ5lp0i.js +0 -11
  237. package/dist/useTheme-S5_DHFsQ.js +0 -17
  238. package/dist/useThemeProps-DN9MjdTl.js +0 -29
@@ -1,12 +1,11 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "../../../generic-token-B_ptO5yb.js";
4
+ import "@mui/material";
4
5
  import "../../../util/constants.js";
5
- import { T as l } from "../../../tokenRow-C-iMHhPj.js";
6
+ import { T as d } from "../../../tokenRow-BiNtHOKV.js";
6
7
  import "../../../util/conversions.js";
7
8
  import "../Shared/appButton.js";
8
- import "../../../Grid-CFe3amXO.js";
9
- import "../../../Divider-BShhMFf4.js";
10
9
  export {
11
- l as default
10
+ d as default
12
11
  };
@@ -1,63 +1,54 @@
1
1
  import { jsx as e, jsxs as t, Fragment as v } from "react/jsx-runtime";
2
- import { useState as f, useEffect as A, useRef as Y } from "react";
3
- import { C as F } from "../../../Close-CNwiMz_O.js";
4
- import { D as oe } from "../../../Delete-jpMstGIF.js";
5
- import { C as re } from "../../../Cancel-4lT7GZUA.js";
6
- import ie from "../Shared/inputField.js";
2
+ import { useState as f, useEffect as B, useRef as Y } from "react";
3
+ import { Backdrop as oe, CircularProgress as w, Typography as a, Button as re, Box as i, Dialog as F, DialogTitle as M, IconButton as T, Divider as $, DialogContent as L, Grid as u } from "@mui/material";
4
+ import { C as z } from "../../../Close-DSxLLo08.js";
5
+ import { D as ce } from "../../../Delete-Bj8zmXnh.js";
6
+ import { C as ie } from "../../../Cancel-pHQsCjtK.js";
7
+ import ae from "../Shared/inputField.js";
7
8
  import j from "../Shared/step.js";
8
- import { W as ce } from "../../../react-webcam-B3cXh1XT.js";
9
- import { c as ae } from "../../../createSvgIcon-Cuzqm90l.js";
10
- import se from "../../Shared/transition.js";
11
- import { getDocName as le } from "../../../util/functions.js";
12
- import { u as me } from "../../../react-redux-C7I9-1M6.js";
13
- import { at as de, au as ue, av as he, aw as pe, ax as fe, ay as ge } from "../../../constants-DREDnCMu.js";
14
- import { e as xe } from "../../../index-BQNs1mvn.js";
15
- import { s as i } from "../../../styles.module-CHPRGltL.js";
16
- import { RIGHT_ARROW as M, DELETE_ICON as De } from "../../../util/constants.js";
17
- import { useDialog as Ce } from "../../../hooks/useDialog/index.js";
9
+ import { W as le } from "../../../react-webcam-B3cXh1XT.js";
10
+ import { c as se } from "../../../createSvgIcon-B28GrUxG.js";
11
+ import de from "../../Shared/transition.js";
12
+ import { getDocName as me } from "../../../util/functions.js";
13
+ import { u as ue } from "../../../react-redux-C7I9-1M6.js";
14
+ import { at as he, au as pe, av as fe, aw as ge, ax as xe, ay as De } from "../../../constants-DrmtdI1J.js";
15
+ import { e as Ce } from "../../../index-BQNs1mvn.js";
16
+ import { s as c } from "../../../styles.module-CHPRGltL.js";
17
+ import { RIGHT_ARROW as V, DELETE_ICON as be } from "../../../util/constants.js";
18
+ import { useDialog as ve } from "../../../hooks/useDialog/index.js";
18
19
  import g from "../Shared/appButton.js";
19
- import be from "../../../hooks/useEverestDispatch.js";
20
- import { B as ve } from "../../../Backdrop-CioURPVG.js";
21
- import { C as w } from "../../../CircularProgress-xZA3lvba.js";
22
- import { T as a } from "../../../Typography-pAaje37G.js";
23
- import { B as ye } from "../../../Button-Df4vgU24.js";
24
- import { B as c } from "../../../Box-B0YSYLco.js";
25
- import { D as L, a as z } from "../../../DialogContent-BMwlOnbW.js";
26
- import { D as $ } from "../../../DialogTitle-CfS0bb2K.js";
27
- import { I as T } from "../../../IconButton-DHm-hucF.js";
28
- import { D as V } from "../../../Divider-BShhMFf4.js";
29
- import { G as u } from "../../../Grid-CFe3amXO.js";
20
+ import ye from "../../../hooks/useEverestDispatch.js";
30
21
  const Ne = () => ({
31
- type: ue
22
+ type: pe
32
23
  }), Ee = (o) => ({
33
- type: pe,
24
+ type: ge,
34
25
  payload: o
35
26
  }), Se = (o) => ({
36
- type: fe,
27
+ type: xe,
37
28
  payload: o
38
29
  }), J = () => ({
39
- type: de
30
+ type: he
40
31
  }), Ie = (o) => ({
41
- type: ge,
32
+ type: De,
42
33
  payload: o
43
34
  }), Te = (o) => ({
44
- type: he,
35
+ type: fe,
45
36
  payload: o
46
- }), ke = ae(/* @__PURE__ */ e("path", {
37
+ }), ke = se(/* @__PURE__ */ e("path", {
47
38
  d: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"
48
39
  }), "ArrowBack"), Re = ({
49
40
  showAlertMessage: o,
50
- documentName: d,
41
+ documentName: m,
51
42
  setDocumentName: x,
52
43
  setDocumentScreen: h
53
- }) => /* @__PURE__ */ t(c, { className: "text-center", children: [
44
+ }) => /* @__PURE__ */ t(i, { className: "text-center", children: [
54
45
  /* @__PURE__ */ e(j, { totalSteps: 2, currentStep: 1 }),
55
46
  /* @__PURE__ */ e(a, { className: "secondary-text-color", variant: "h5", children: /* @__PURE__ */ e("strong", { children: "Name your document" }) }),
56
47
  /* @__PURE__ */ e(
57
- ie,
48
+ ae,
58
49
  {
59
50
  label: "Document Name",
60
- value: d,
51
+ value: m,
61
52
  onChangeHandler: (r) => x(r)
62
53
  }
63
54
  ),
@@ -66,25 +57,25 @@ const Ne = () => ({
66
57
  {
67
58
  sx: { mt: 4, mb: 4 },
68
59
  onClick: () => {
69
- if (!d)
60
+ if (!m)
70
61
  return o({ message: "Please provide the document name" }), !1;
71
62
  h(2);
72
63
  },
73
- disabled: !d,
64
+ disabled: !m,
74
65
  fullWidth: !0,
75
66
  children: /* @__PURE__ */ e("strong", { children: "Next" })
76
67
  }
77
68
  )
78
69
  ] }), we = ({
79
70
  showAlertMessage: o,
80
- uploadLoader: d,
71
+ uploadLoader: m,
81
72
  uploadDocument: x,
82
73
  documentFile: h,
83
- setDocumentFile: s,
74
+ setDocumentFile: l,
84
75
  setDocumentScreen: r
85
76
  }) => {
86
- const l = Y(null), [D, p] = f("Choose File");
87
- return /* @__PURE__ */ t(c, { className: "text-center", children: [
77
+ const s = Y(null), [D, p] = f("Choose File");
78
+ return /* @__PURE__ */ t(i, { className: "text-center", children: [
88
79
  /* @__PURE__ */ e(j, { totalSteps: 2, currentStep: 2 }),
89
80
  /* @__PURE__ */ e(a, { className: "fw500", variant: "h6", children: "Uploaded files must be image format (PDF, PNG or JPEG/JPG)" }),
90
81
  /* @__PURE__ */ t(u, { mt: 2, container: !0, spacing: 2, children: [
@@ -101,7 +92,7 @@ const Ne = () => ({
101
92
  g,
102
93
  {
103
94
  variantType: "secondary",
104
- onClick: () => l.current && l.current.click(),
95
+ onClick: () => s.current && s.current.click(),
105
96
  sx: { overflow: "hidden" },
106
97
  fullWidth: !0,
107
98
  children: D
@@ -111,21 +102,21 @@ const Ne = () => ({
111
102
  /* @__PURE__ */ e(
112
103
  "input",
113
104
  {
114
- ref: l,
115
- onChange: (m) => {
116
- if (m.target.files && !m.target.files[0].name.match(/.(jpg|jpeg|png)$/i))
105
+ ref: s,
106
+ onChange: (d) => {
107
+ if (d.target.files && !d.target.files[0].name.match(/.(jpg|jpeg|png)$/i))
117
108
  o({ message: "Please provide a valid file" });
118
- else if (m.target.files && m.target.files[0]) {
119
- p(m.target.files[0].name);
109
+ else if (d.target.files && d.target.files[0]) {
110
+ p(d.target.files[0].name);
120
111
  let b = new FileReader();
121
112
  b.onload = (k) => {
122
113
  var E;
123
114
  const N = (E = k.target) == null ? void 0 : E.result;
124
115
  if (typeof N == "string") {
125
116
  const W = N.split(/[,]/);
126
- s(W[1]);
117
+ l(W[1]);
127
118
  }
128
- }, b.readAsDataURL(m.target.files[0]);
119
+ }, b.readAsDataURL(d.target.files[0]);
129
120
  }
130
121
  },
131
122
  accept: ".jpg,.jpeg,.png,.pdf,",
@@ -133,7 +124,7 @@ const Ne = () => ({
133
124
  hidden: !0
134
125
  }
135
126
  ),
136
- d ? /* @__PURE__ */ t(c, { mt: 4, sx: { color: "#00B171", textAlign: "center" }, children: [
127
+ m ? /* @__PURE__ */ t(i, { mt: 4, sx: { color: "#00B171", textAlign: "center" }, children: [
137
128
  /* @__PURE__ */ e(w, { size: 30, color: "inherit" }),
138
129
  /* @__PURE__ */ t(a, { variant: "h5", sx: { fontWeight: "bold" }, children: [
139
130
  "Processing...",
@@ -157,12 +148,12 @@ const Ne = () => ({
157
148
  ] });
158
149
  }, We = ({
159
150
  showAlertMessage: o,
160
- documentFile: d,
151
+ documentFile: m,
161
152
  setDocumentFile: x,
162
153
  uploadDocument: h,
163
- uploadLoader: s
154
+ uploadLoader: l
164
155
  }) => {
165
- const r = Y(null), l = {
156
+ const r = Y(null), s = {
166
157
  audio: !1,
167
158
  height: {
168
159
  min: 720
@@ -179,8 +170,8 @@ const Ne = () => ({
179
170
  }
180
171
  }, [D, p] = f(""), C = () => {
181
172
  if (r.current) {
182
- const m = r.current.getScreenshot(), b = m.split(/[,]/);
183
- x(b[1]), p(m);
173
+ const d = r.current.getScreenshot(), b = d.split(/[,]/);
174
+ x(b[1]), p(d);
184
175
  }
185
176
  }, y = () => {
186
177
  if (!D)
@@ -189,19 +180,19 @@ const Ne = () => ({
189
180
  }), !1;
190
181
  h();
191
182
  };
192
- return /* @__PURE__ */ t(c, { className: "text-center", children: [
183
+ return /* @__PURE__ */ t(i, { className: "text-center", children: [
193
184
  /* @__PURE__ */ e(j, { totalSteps: 2, currentStep: 2 }),
194
185
  D ? /* @__PURE__ */ t(v, { children: [
195
186
  /* @__PURE__ */ t(
196
- c,
187
+ i,
197
188
  {
198
- className: `${i["doc-video-box"]} ${i["image-corner-color"]}`,
189
+ className: `${c["doc-video-box"]} ${c["image-corner-color"]}`,
199
190
  children: [
200
191
  /* @__PURE__ */ e("span", {}),
201
192
  /* @__PURE__ */ e(
202
193
  "img",
203
194
  {
204
- className: i["video-box-inner-content"],
195
+ className: c["video-box-inner-content"],
205
196
  src: D,
206
197
  alt: "doc"
207
198
  }
@@ -209,7 +200,7 @@ const Ne = () => ({
209
200
  ]
210
201
  }
211
202
  ),
212
- s ? /* @__PURE__ */ t(c, { mt: 4, sx: { color: "#00B171", textAlign: "center" }, children: [
203
+ l ? /* @__PURE__ */ t(i, { mt: 4, sx: { color: "#00B171", textAlign: "center" }, children: [
213
204
  /* @__PURE__ */ e(w, { size: 30, color: "inherit" }),
214
205
  /* @__PURE__ */ t(a, { variant: "h5", sx: { fontWeight: "bold" }, children: [
215
206
  "Processing...",
@@ -222,7 +213,7 @@ const Ne = () => ({
222
213
  {
223
214
  onClick: y,
224
215
  sx: { mt: 6 },
225
- disabled: !d,
216
+ disabled: !m,
226
217
  fullWidth: !0,
227
218
  children: /* @__PURE__ */ e("strong", { children: "Submit" })
228
219
  }
@@ -239,18 +230,18 @@ const Ne = () => ({
239
230
  )
240
231
  ] })
241
232
  ] }) : /* @__PURE__ */ t(v, { children: [
242
- /* @__PURE__ */ t(c, { className: i["doc-video-box"], children: [
233
+ /* @__PURE__ */ t(i, { className: c["doc-video-box"], children: [
243
234
  /* @__PURE__ */ e("span", {}),
244
235
  /* @__PURE__ */ e(
245
- ce,
236
+ le,
246
237
  {
247
- className: i["video-box-inner-content"],
238
+ className: c["video-box-inner-content"],
248
239
  audio: !1,
249
240
  ref: r,
250
241
  screenshotFormat: "image/jpeg",
251
- videoConstraints: l,
252
- minScreenshotHeight: l.height.min,
253
- minScreenshotWidth: l.width.ideal,
242
+ videoConstraints: s,
243
+ minScreenshotHeight: s.height.min,
244
+ minScreenshotWidth: s.width.ideal,
254
245
  screenshotQuality: 1
255
246
  }
256
247
  )
@@ -258,37 +249,37 @@ const Ne = () => ({
258
249
  /* @__PURE__ */ e(g, { onClick: C, sx: { mt: 8 }, fullWidth: !0, children: /* @__PURE__ */ e("strong", { children: "Take Photo" }) })
259
250
  ] })
260
251
  ] });
261
- }, at = ({ showAlertMessage: o, identityDocs: d }) => {
262
- const { openDialog: x, ConfirmDialog: h } = Ce(), s = be(), r = me(xe), l = r.data, D = r.loader, p = r.message, C = r.error, y = r.preview.front, m = r.preview.back, b = r.preview.loader, k = r.uploadLoader, [N, E] = f(!1), [W, O] = f(!1), [P, S] = f(1), [K, G] = f(!1), [U, Q] = f(""), [R, B] = f("");
263
- A(() => {
252
+ }, Xe = ({ showAlertMessage: o, identityDocs: m }) => {
253
+ const { openDialog: x, ConfirmDialog: h } = ve(), l = ye(), r = ue(Ce), s = r.data, D = r.loader, p = r.message, C = r.error, y = r.preview.front, d = r.preview.back, b = r.preview.loader, k = r.uploadLoader, [N, E] = f(!1), [W, O] = f(!1), [P, S] = f(1), [K, Q] = f(!1), [U, q] = f(""), [R, _] = f("");
254
+ B(() => {
264
255
  C && o({ message: C });
265
- }, [C]), A(() => {
266
- p && (o({ message: p, type: "success" }), E(!1), _());
256
+ }, [C]), B(() => {
257
+ p && (o({ message: p, type: "success" }), E(!1), A());
267
258
  }, [p]);
268
- const q = () => {
259
+ const G = () => {
269
260
  if (!U)
270
261
  return o({ message: "Please provide the document name" }), !1;
271
262
  if (!R)
272
263
  return o({ message: "Please provide the document" }), !1;
273
- s(
264
+ l(
274
265
  Te({
275
266
  filename: U.trim(),
276
267
  content: R
277
268
  })
278
269
  );
279
270
  }, X = () => {
280
- s(Ne());
271
+ l(Ne());
281
272
  };
282
- A(() => {
273
+ B(() => {
283
274
  X();
284
275
  }, []);
285
276
  const Z = (n) => {
286
- s(Ee(n));
277
+ l(Ee(n));
287
278
  }, ee = (n) => {
288
- s(Se(n));
279
+ l(Se(n));
289
280
  }, te = (n) => {
290
281
  x({
291
- icon: De,
282
+ icon: be,
292
283
  height: "450px",
293
284
  title: "Are you sure you want to delete?",
294
285
  message: "This action cannot be undone.",
@@ -298,24 +289,24 @@ const Ne = () => ({
298
289
  cancelButtonShow: !0
299
290
  });
300
291
  }, ne = (n) => {
301
- s(Ie(n));
292
+ l(Ie(n));
302
293
  }, H = ({ data: n, type: I }) => I === "identity" ? /* @__PURE__ */ e(
303
- c,
294
+ i,
304
295
  {
305
- className: i["menu-item"],
296
+ className: c["menu-item"],
306
297
  onClick: () => n.documentId && Z(n.documentId),
307
298
  children: /* @__PURE__ */ t(u, { container: !0, sx: { width: "100%" }, children: [
308
- /* @__PURE__ */ e(u, { size: 10, className: "content-center", children: /* @__PURE__ */ e(c, { sx: { textAlign: "left" }, children: /* @__PURE__ */ e(a, { color: "primary", children: /* @__PURE__ */ e("strong", { children: n.documentType && le(n.documentType) }) }) }) }),
309
- /* @__PURE__ */ e(u, { size: 2, children: /* @__PURE__ */ e(a, { sx: { textAlign: "right" }, children: /* @__PURE__ */ e("img", { src: M, alt: "arrow" }) }) })
299
+ /* @__PURE__ */ e(u, { size: 10, className: "content-center", children: /* @__PURE__ */ e(i, { sx: { textAlign: "left" }, children: /* @__PURE__ */ e(a, { color: "primary", children: /* @__PURE__ */ e("strong", { children: n.documentType && me(n.documentType) }) }) }) }),
300
+ /* @__PURE__ */ e(u, { size: 2, children: /* @__PURE__ */ e(a, { sx: { textAlign: "right" }, children: /* @__PURE__ */ e("img", { src: V, alt: "arrow" }) }) })
310
301
  ] })
311
302
  }
312
- ) : /* @__PURE__ */ t(c, { sx: { position: "relative" }, className: i["menu-item"], children: [
303
+ ) : /* @__PURE__ */ t(i, { sx: { position: "relative" }, className: c["menu-item"], children: [
313
304
  N && /* @__PURE__ */ e(
314
305
  T,
315
306
  {
316
- className: i["remove-icon"],
307
+ className: c["remove-icon"],
317
308
  onClick: () => te(n.filename),
318
- children: /* @__PURE__ */ e(re, {})
309
+ children: /* @__PURE__ */ e(ie, {})
319
310
  }
320
311
  ),
321
312
  /* @__PURE__ */ t(
@@ -325,18 +316,18 @@ const Ne = () => ({
325
316
  container: !0,
326
317
  sx: { width: "100%" },
327
318
  children: [
328
- /* @__PURE__ */ e(u, { size: 10, className: "content-center", children: /* @__PURE__ */ e(c, { sx: { textAlign: "left" }, children: /* @__PURE__ */ e(a, { color: "primary", children: /* @__PURE__ */ e("strong", { children: n.filename }) }) }) }),
329
- /* @__PURE__ */ e(u, { size: 2, children: /* @__PURE__ */ e(a, { sx: { textAlign: "right" }, children: /* @__PURE__ */ e("img", { src: M, alt: "arrow" }) }) })
319
+ /* @__PURE__ */ e(u, { size: 10, className: "content-center", children: /* @__PURE__ */ e(i, { sx: { textAlign: "left" }, children: /* @__PURE__ */ e(a, { color: "primary", children: /* @__PURE__ */ e("strong", { children: n.filename }) }) }) }),
320
+ /* @__PURE__ */ e(u, { size: 2, children: /* @__PURE__ */ e(a, { sx: { textAlign: "right" }, children: /* @__PURE__ */ e("img", { src: V, alt: "arrow" }) }) })
330
321
  ]
331
322
  }
332
323
  )
333
- ] }), _ = () => {
334
- Q(""), B(""), S(1), G(!1);
324
+ ] }), A = () => {
325
+ q(""), _(""), S(1), Q(!1);
335
326
  };
336
327
  return /* @__PURE__ */ t(v, { children: [
337
328
  /* @__PURE__ */ e(h, {}),
338
329
  /* @__PURE__ */ e(
339
- ve,
330
+ oe,
340
331
  {
341
332
  sx: {
342
333
  color: "#fff",
@@ -346,42 +337,42 @@ const Ne = () => ({
346
337
  children: /* @__PURE__ */ e(w, { color: "inherit" })
347
338
  }
348
339
  ),
349
- /* @__PURE__ */ e(a, { className: i.heading, variant: "h6", children: /* @__PURE__ */ e("strong", { children: "My Documents" }) }),
350
- l.length > 0 && /* @__PURE__ */ t(
351
- ye,
340
+ /* @__PURE__ */ e(a, { className: c.heading, variant: "h6", children: /* @__PURE__ */ e("strong", { children: "My Documents" }) }),
341
+ s.length > 0 && /* @__PURE__ */ t(
342
+ re,
352
343
  {
353
- className: `${N ? i["delete-disable"] : i["confirm-edit"]} normal-text`,
344
+ className: `${N ? c["delete-disable"] : c["confirm-edit"]} normal-text`,
354
345
  sx: { mt: 3, mb: 3 },
355
346
  variant: "contained",
356
347
  onClick: () => E((n) => !n),
357
348
  children: [
358
- /* @__PURE__ */ e(oe, {}),
349
+ /* @__PURE__ */ e(ce, {}),
359
350
  "Delete"
360
351
  ]
361
352
  }
362
353
  ),
363
- D ? /* @__PURE__ */ e(c, { className: "text-center", mt: 8, children: /* @__PURE__ */ e(w, {}) }) : /* @__PURE__ */ t(v, { children: [
364
- d && d.map((n, I) => /* @__PURE__ */ e(H, { data: n, type: "identity" }, I)),
365
- l && l.map((n, I) => /* @__PURE__ */ e(H, { data: n, type: "normal" }, I)),
366
- !d && l.length === 0 && /* @__PURE__ */ e(a, { mt: 4, className: "text-center", variant: "h4", children: "No Documents" })
354
+ D ? /* @__PURE__ */ e(i, { className: "text-center", mt: 8, children: /* @__PURE__ */ e(w, {}) }) : /* @__PURE__ */ t(v, { children: [
355
+ m && m.map((n, I) => /* @__PURE__ */ e(H, { data: n, type: "identity" }, I)),
356
+ s && s.map((n, I) => /* @__PURE__ */ e(H, { data: n, type: "normal" }, I)),
357
+ !m && s.length === 0 && /* @__PURE__ */ e(a, { mt: 4, className: "text-center", variant: "h4", children: "No Documents" })
367
358
  ] }),
368
359
  /* @__PURE__ */ e(
369
360
  g,
370
361
  {
371
362
  sx: { mt: 4 },
372
- onClick: () => G(!0),
363
+ onClick: () => Q(!0),
373
364
  fullWidth: !0,
374
365
  children: /* @__PURE__ */ e("strong", { children: "Add new document" })
375
366
  }
376
367
  ),
377
368
  /* @__PURE__ */ t(
378
- L,
369
+ F,
379
370
  {
380
371
  open: W,
381
372
  fullWidth: !0,
382
373
  onClose: () => O(!1),
383
374
  children: [
384
- /* @__PURE__ */ e($, { sx: { mt: 1, p: 2, color: "#16359D" }, children: /* @__PURE__ */ e(
375
+ /* @__PURE__ */ e(M, { sx: { mt: 1, p: 2, color: "#16359D" }, children: /* @__PURE__ */ e(
385
376
  T,
386
377
  {
387
378
  "aria-label": "close",
@@ -392,53 +383,53 @@ const Ne = () => ({
392
383
  top: 8,
393
384
  color: "#16359D"
394
385
  },
395
- children: /* @__PURE__ */ e(F, {})
386
+ children: /* @__PURE__ */ e(z, {})
396
387
  }
397
388
  ) }),
398
- /* @__PURE__ */ e(V, { sx: { mt: 2 } }),
399
- /* @__PURE__ */ e(z, { children: /* @__PURE__ */ e(c, { children: "Add Document Modal" }) })
389
+ /* @__PURE__ */ e($, { sx: { mt: 2 } }),
390
+ /* @__PURE__ */ e(L, { children: /* @__PURE__ */ e(i, { children: "Add Document Modal" }) })
400
391
  ]
401
392
  }
402
393
  ),
403
394
  /* @__PURE__ */ t(
404
- L,
395
+ F,
405
396
  {
406
397
  open: !!y,
407
398
  fullWidth: !0,
408
- onClose: () => s(J()),
399
+ onClose: () => l(J()),
409
400
  children: [
410
- /* @__PURE__ */ e($, { sx: { mt: 1, p: 2, color: "#16359D" }, children: /* @__PURE__ */ e(
401
+ /* @__PURE__ */ e(M, { sx: { mt: 1, p: 2, color: "#16359D" }, children: /* @__PURE__ */ e(
411
402
  T,
412
403
  {
413
404
  "aria-label": "close",
414
- onClick: () => s(J()),
405
+ onClick: () => l(J()),
415
406
  sx: {
416
407
  position: "absolute",
417
408
  right: 8,
418
409
  top: 8,
419
410
  color: "#16359D"
420
411
  },
421
- children: /* @__PURE__ */ e(F, {})
412
+ children: /* @__PURE__ */ e(z, {})
422
413
  }
423
414
  ) }),
424
- /* @__PURE__ */ e(V, { sx: { mt: 2 } }),
425
- /* @__PURE__ */ e(z, { children: /* @__PURE__ */ t(c, { children: [
415
+ /* @__PURE__ */ e($, { sx: { mt: 2 } }),
416
+ /* @__PURE__ */ e(L, { children: /* @__PURE__ */ t(i, { children: [
426
417
  /* @__PURE__ */ e(a, { variant: "h5", mb: 3, children: "Front Image" }),
427
418
  /* @__PURE__ */ e(
428
419
  "img",
429
420
  {
430
- className: i["video-box-inner-content"],
421
+ className: c["video-box-inner-content"],
431
422
  src: "data:image/jpeg;base64," + y,
432
423
  alt: "Front"
433
424
  }
434
425
  ),
435
- m && /* @__PURE__ */ t(v, { children: [
426
+ d && /* @__PURE__ */ t(v, { children: [
436
427
  /* @__PURE__ */ e(a, { variant: "h5", mt: 2, mb: 3, children: "Back Image" }),
437
428
  /* @__PURE__ */ e(
438
429
  "img",
439
430
  {
440
- className: i["video-box-inner-content"],
441
- src: "data:image/jpeg;base64," + m,
431
+ className: c["video-box-inner-content"],
432
+ src: "data:image/jpeg;base64," + d,
442
433
  alt: "Back"
443
434
  }
444
435
  )
@@ -448,14 +439,14 @@ const Ne = () => ({
448
439
  }
449
440
  ),
450
441
  /* @__PURE__ */ t(
451
- L,
442
+ F,
452
443
  {
453
444
  fullWidth: !0,
454
445
  open: K,
455
- onClose: _,
456
- TransitionComponent: se,
446
+ onClose: A,
447
+ TransitionComponent: de,
457
448
  children: [
458
- /* @__PURE__ */ t(c, { className: i["asset-header"], children: [
449
+ /* @__PURE__ */ t(i, { className: c["asset-header"], children: [
459
450
  /* @__PURE__ */ e(
460
451
  T,
461
452
  {
@@ -480,19 +471,19 @@ const Ne = () => ({
480
471
  T,
481
472
  {
482
473
  "aria-label": "close",
483
- onClick: _,
484
- className: i["asset-close-btn"],
485
- children: /* @__PURE__ */ e(F, {})
474
+ onClick: A,
475
+ className: c["asset-close-btn"],
476
+ children: /* @__PURE__ */ e(z, {})
486
477
  }
487
478
  )
488
479
  ] }),
489
- /* @__PURE__ */ e(z, { sx: { padding: "20px 45px" }, dividers: !0, children: {
480
+ /* @__PURE__ */ e(L, { sx: { padding: "20px 45px" }, dividers: !0, children: {
490
481
  1: /* @__PURE__ */ e(
491
482
  Re,
492
483
  {
493
484
  showAlertMessage: o,
494
485
  documentName: U,
495
- setDocumentName: Q,
486
+ setDocumentName: q,
496
487
  setDocumentScreen: S
497
488
  }
498
489
  ),
@@ -502,8 +493,8 @@ const Ne = () => ({
502
493
  showAlertMessage: o,
503
494
  setDocumentScreen: S,
504
495
  documentFile: R,
505
- setDocumentFile: B,
506
- uploadDocument: q,
496
+ setDocumentFile: _,
497
+ uploadDocument: G,
507
498
  uploadLoader: k
508
499
  }
509
500
  ),
@@ -513,8 +504,8 @@ const Ne = () => ({
513
504
  showAlertMessage: o,
514
505
  setDocumentScreen: S,
515
506
  documentFile: R,
516
- setDocumentFile: B,
517
- uploadDocument: q,
507
+ setDocumentFile: _,
508
+ uploadDocument: G,
518
509
  uploadLoader: k
519
510
  }
520
511
  )
@@ -525,5 +516,5 @@ const Ne = () => ({
525
516
  ] });
526
517
  };
527
518
  export {
528
- at as default
519
+ Xe as default
529
520
  };