everest-npm-features 0.0.34 → 0.0.35

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 (84) hide show
  1. package/dist/{PlayArrow-CcX9hutu.js → PlayArrow-BkW3s4mw.js} +1 -1
  2. package/dist/{auth-BzJj8HQz.js → auth-CYftwFWz.js} +3 -3
  3. package/dist/{bank-CCdUsDB2.js → bank-C9AAL5v7.js} +6 -6
  4. package/dist/components/RocketRamp/MinimalKyc/form.js +2 -2
  5. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
  6. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
  7. package/dist/components/RocketRamp/Player/Buy/form.js +4 -4
  8. package/dist/components/RocketRamp/Player/Buy/index.js +5 -5
  9. package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
  10. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
  11. package/dist/components/RocketRamp/Player/Sell/form.js +4 -4
  12. package/dist/components/RocketRamp/Player/Sell/index.js +5 -5
  13. package/dist/components/RocketRamp/Player/SignIn/index.js +2 -2
  14. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
  15. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
  16. package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
  17. package/dist/components/RocketRamp/Player/SignUp/index.js +2 -2
  18. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
  19. package/dist/components/RocketRamp/ResetPassword/index.js +2 -2
  20. package/dist/components/RocketRamp/Store/SignUp/index.js +2 -2
  21. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
  22. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
  23. package/dist/components/RocketRamp/Transactions/index.js +2 -2
  24. package/dist/components/Shared/FullKyc/edd.d.ts +1 -1
  25. package/dist/components/Shared/FullKyc/edd.js +64 -59
  26. package/dist/components/Shared/FullKyc/index.js +3 -3
  27. package/dist/components/Shared/FullKyc/pep.js +1 -1
  28. package/dist/components/Shared/FullKyc/personalDetails.js +2 -2
  29. package/dist/components/Shared/FullKyc/types.d.ts +1 -0
  30. package/dist/components/Shared/FullKyc/userInfo.js +3 -3
  31. package/dist/components/Shared/MinimalKyc/index.js +2 -2
  32. package/dist/components/Wallet/Account/iban.js +18 -18
  33. package/dist/components/Wallet/Account/index.js +3 -3
  34. package/dist/components/Wallet/Account/sendIban.js +7 -7
  35. package/dist/components/Wallet/Buy/confirmTransaction.js +3 -3
  36. package/dist/components/Wallet/Buy/form.js +4 -4
  37. package/dist/components/Wallet/Buy/index.js +6 -6
  38. package/dist/components/Wallet/Deposit/index.js +1 -1
  39. package/dist/components/Wallet/EnterpriseKyc/edd.js +1 -1
  40. package/dist/components/Wallet/EnterpriseKyc/index.js +114 -102
  41. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +2 -2
  42. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +1 -1
  43. package/dist/components/Wallet/EnterpriseKyc/verify.js +1 -1
  44. package/dist/components/Wallet/History/index.js +2 -2
  45. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +11 -11
  46. package/dist/components/Wallet/Portfolio/index.js +3 -3
  47. package/dist/components/Wallet/Profile/documents.js +2 -2
  48. package/dist/components/Wallet/Profile/index.js +8 -8
  49. package/dist/components/Wallet/Receive/index.js +2 -2
  50. package/dist/components/Wallet/Sell/confirmTransaction.js +3 -3
  51. package/dist/components/Wallet/Sell/form.js +4 -4
  52. package/dist/components/Wallet/Sell/index.js +6 -6
  53. package/dist/components/Wallet/Send/index.js +24 -24
  54. package/dist/components/Wallet/Shared/Auth/otpForm.js +2 -2
  55. package/dist/components/Wallet/Shared/addBank.js +2 -2
  56. package/dist/components/Wallet/Shared/connectPlaidBank.js +2 -2
  57. package/dist/components/Wallet/Shared/manualSend.js +3 -3
  58. package/dist/components/Wallet/SignIn/index.js +2 -2
  59. package/dist/components/Wallet/SignUp/index.js +2 -2
  60. package/dist/components/Wallet/Stake/index.js +3 -3
  61. package/dist/components/Wallet/Swap/form.js +5 -5
  62. package/dist/components/Wallet/Swap/index.js +5 -5
  63. package/dist/components/Wallet/Withdraw/bankSelect.js +4 -4
  64. package/dist/components/Wallet/Withdraw/confirmTransaction.js +3 -3
  65. package/dist/components/Wallet/Withdraw/form.js +4 -4
  66. package/dist/components/Wallet/Withdraw/index.js +5 -5
  67. package/dist/{constants-B1fWUUck.js → constants-DBlV_hAZ.js} +144 -141
  68. package/dist/{cryptoAssets-BU3EHVIY.js → cryptoAssets-Da0hZPmW.js} +1 -1
  69. package/dist/{documents-PylmjRbk.js → documents-D1CxIIUj.js} +1 -1
  70. package/dist/{index-CQ-u6bTN.js → index-BHmViOiG.js} +5 -5
  71. package/dist/{index-BJsAyUhP.js → index-BZGHPDhS.js} +18 -18
  72. package/dist/{index-Dka1TfUt.js → index-C74NH5fF.js} +4 -4
  73. package/dist/{index-DUCRi3yf.js → index-CN7R7nR-.js} +4 -4
  74. package/dist/{index-BW-RJYiq.js → index-CexvGlw7.js} +29 -28
  75. package/dist/{index-OSl1NZiT.js → index-DEfHSDHa.js} +5 -5
  76. package/dist/{index-DjWC9DGk.js → index-DPwR5oNU.js} +6 -6
  77. package/dist/{kyc-CSbzb5MW.js → kyc-D7FTfIPj.js} +1 -1
  78. package/dist/main.js +7 -7
  79. package/dist/{order-BtLfPFH9.js → order-BNumaEGY.js} +3 -3
  80. package/dist/{stake-C7IQSI0J.js → stake-VlhTFH1g.js} +1 -1
  81. package/dist/util/constants.d.ts +0 -1
  82. package/dist/util/constants.js +18 -19
  83. package/dist/{wallet-Bq1E67kO.js → wallet-BJz8LnYf.js} +8 -8
  84. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { aa as a } from "./constants-B1fWUUck.js";
1
+ import { ad as a } from "./constants-DBlV_hAZ.js";
2
2
  import { jsx as r } from "react/jsx-runtime";
3
3
  import { c as t } from "./createSvgIcon-Cuzqm90l.js";
4
4
  const c = (o) => ({
@@ -1,4 +1,4 @@
1
- import { L as a, V as E, d as s, e as t, A as R, R as _, f as y, g as o, h as S, i as T, j as p, k as l, l as i } from "./constants-B1fWUUck.js";
1
+ import { L as a, V as E, g as s, h as t, A as R, R as _, i as o, j as y, k as S, l as T, m as p, n as l, o as i } from "./constants-DBlV_hAZ.js";
2
2
  const A = () => ({
3
3
  type: R
4
4
  }), I = (e) => ({
@@ -11,13 +11,13 @@ const A = () => ({
11
11
  type: _,
12
12
  payload: e
13
13
  }), n = (e) => ({
14
- type: y,
14
+ type: o,
15
15
  payload: e
16
16
  }), c = (e) => ({
17
17
  type: s,
18
18
  payload: e
19
19
  }), u = (e) => ({
20
- type: o,
20
+ type: y,
21
21
  payload: e
22
22
  }), B = (e) => ({
23
23
  type: S,
@@ -1,8 +1,8 @@
1
- import { M as s, P as e, N as t, Q as E, T as o, W as p, X as _, Y as n } from "./constants-B1fWUUck.js";
1
+ import { Q as s, T as e, W as t, X as E, Y as _, Z as o, _ as p, $ as n } from "./constants-DBlV_hAZ.js";
2
2
  const T = () => ({
3
3
  type: s
4
4
  }), d = (a) => ({
5
- type: o,
5
+ type: _,
6
6
  payload: a
7
7
  }), y = (a) => ({
8
8
  type: n,
@@ -16,10 +16,10 @@ const T = () => ({
16
16
  }), A = () => ({
17
17
  type: E
18
18
  }), I = (a) => ({
19
- type: p,
19
+ type: o,
20
20
  payload: a
21
- }), N = (a) => ({
22
- type: _,
21
+ }), c = (a) => ({
22
+ type: p,
23
23
  payload: a
24
24
  });
25
25
  export {
@@ -29,6 +29,6 @@ export {
29
29
  T as d,
30
30
  y as e,
31
31
  S as p,
32
- N as s,
32
+ c as s,
33
33
  A as u
34
34
  };
@@ -7,8 +7,8 @@ import { nameRegex as J } from "../../../util/regex.js";
7
7
  import "../../Wallet/Shared/appButton.js";
8
8
  import "../../../hoc/withThemeProvider.js";
9
9
  import "../../Wallet/Shared/Auth/otpForm.js";
10
- import "../../../constants-B1fWUUck.js";
11
- import { r as Q, u as U } from "../../../kyc-CSbzb5MW.js";
10
+ import "../../../constants-DBlV_hAZ.js";
11
+ import { r as Q, u as U } from "../../../kyc-D7FTfIPj.js";
12
12
  import "../../../context/snackBarContext.js";
13
13
  import "../../../util/conversions.js";
14
14
  import "../../../index-CAoLi5Qq.js";
@@ -7,9 +7,9 @@ import "../../../../util/functions.js";
7
7
  import "../../../../util/constants.js";
8
8
  import "../../Shared/Input/index.js";
9
9
  import "../../Shared/Button/index.js";
10
- import { C as c } from "../../../../index-Dka1TfUt.js";
11
- import "../../../../constants-B1fWUUck.js";
12
- import "../../../../order-BtLfPFH9.js";
10
+ import { C as c } from "../../../../index-C74NH5fF.js";
11
+ import "../../../../constants-DBlV_hAZ.js";
12
+ import "../../../../order-BNumaEGY.js";
13
13
  import "../../../../Typography-pAaje37G.js";
14
14
  import "../../../../Box-B0YSYLco.js";
15
15
  import "../../../../CircularProgress-xZA3lvba.js";
@@ -3,10 +3,10 @@ import "react";
3
3
  import "../../Shared/backBtn.js";
4
4
  import "../../../../util/functions.js";
5
5
  import "../../../../util/constants.js";
6
- import { a as b } from "../../../../index-Dka1TfUt.js";
6
+ import { a as b } from "../../../../index-C74NH5fF.js";
7
7
  import "../../Shared/Button/index.js";
8
- import "../../../../constants-B1fWUUck.js";
9
- import "../../../../order-BtLfPFH9.js";
8
+ import "../../../../constants-DBlV_hAZ.js";
9
+ import "../../../../order-BNumaEGY.js";
10
10
  import "../../../../Typography-pAaje37G.js";
11
11
  import "../../../../Box-B0YSYLco.js";
12
12
  import "../../../../Grid-CFe3amXO.js";
@@ -1,16 +1,16 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import "../../../../PlayArrow-CcX9hutu.js";
3
+ import "../../../../PlayArrow-BkW3s4mw.js";
4
4
  import "../../../../Info-BVeUSPyk.js";
5
5
  import "../../../../generic-token-B_ptO5yb.js";
6
6
  import "../../Shared/Input/index.js";
7
7
  import "../../../../util/constants.js";
8
- import "../../../../constants-B1fWUUck.js";
9
- import "../../../../order-BtLfPFH9.js";
8
+ import "../../../../constants-DBlV_hAZ.js";
9
+ import "../../../../order-BNumaEGY.js";
10
10
  import "../../../../tooltip-3UvETWtS.js";
11
11
  import "../../../../util/functions.js";
12
12
  import "../../Shared/Button/index.js";
13
- import { B as w } from "../../../../index-Dka1TfUt.js";
13
+ import { B as w } from "../../../../index-C74NH5fF.js";
14
14
  import "../../../../Grid-CFe3amXO.js";
15
15
  import "../../../../Box-B0YSYLco.js";
16
16
  import "../../../../Typography-pAaje37G.js";
@@ -1,12 +1,12 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "../../../../hoc/withThemeProvider.js";
4
- import { b as F, F as I, M as e, P as f, i as A } from "../../../../index-Dka1TfUt.js";
4
+ import { b as F, F as I, M as e, P as f, i as A } from "../../../../index-C74NH5fF.js";
5
5
  import "../../../../react-redux-B4BZippc.js";
6
- import "../../../../constants-B1fWUUck.js";
7
- import "../../../../PlayArrow-CcX9hutu.js";
8
- import "../../../../cryptoAssets-BU3EHVIY.js";
9
- import "../../../../order-BtLfPFH9.js";
6
+ import "../../../../constants-DBlV_hAZ.js";
7
+ import "../../../../PlayArrow-BkW3s4mw.js";
8
+ import "../../../../cryptoAssets-Da0hZPmW.js";
9
+ import "../../../../order-BNumaEGY.js";
10
10
  import "../../../../util/constants.js";
11
11
  import "../../MinimalKyc/form.js";
12
12
  import "../../../../util/functions.js";
@@ -3,8 +3,8 @@ import S from "../../../../hoc/withThemeProvider.js";
3
3
  import C from "./balance.js";
4
4
  import w from "./transaction.js";
5
5
  import { u as x, a as c } from "../../../../react-redux-B4BZippc.js";
6
- import "../../../../constants-B1fWUUck.js";
7
- import { o as b } from "../../../../order-BtLfPFH9.js";
6
+ import "../../../../constants-DBlV_hAZ.js";
7
+ import { o as b } from "../../../../order-BNumaEGY.js";
8
8
  import { useState as B, useEffect as a } from "react";
9
9
  import { getOrionBalance as D } from "../../../../util/functions.js";
10
10
  import { useRrDialog as L } from "../../../../hooks/useRrDialog/index.js";
@@ -3,10 +3,10 @@ import "react";
3
3
  import "../../Shared/backBtn.js";
4
4
  import "../../../../util/functions.js";
5
5
  import "../../../../util/constants.js";
6
- import { B as h } from "../../../../index-DUCRi3yf.js";
6
+ import { B as h } from "../../../../index-CN7R7nR-.js";
7
7
  import "../../Shared/Button/index.js";
8
- import "../../../../constants-B1fWUUck.js";
9
- import "../../../../order-BtLfPFH9.js";
8
+ import "../../../../constants-DBlV_hAZ.js";
9
+ import "../../../../order-BNumaEGY.js";
10
10
  import "../../../Shared/transition.js";
11
11
  import "../../../../Close-CNwiMz_O.js";
12
12
  import "../../../../Typography-pAaje37G.js";
@@ -1,16 +1,16 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import "../../../../PlayArrow-CcX9hutu.js";
3
+ import "../../../../PlayArrow-BkW3s4mw.js";
4
4
  import "../../../../Info-BVeUSPyk.js";
5
5
  import "../../../../generic-token-B_ptO5yb.js";
6
6
  import "../../Shared/Input/index.js";
7
7
  import "../../../../util/constants.js";
8
- import "../../../../constants-B1fWUUck.js";
9
- import "../../../../order-BtLfPFH9.js";
8
+ import "../../../../constants-DBlV_hAZ.js";
9
+ import "../../../../order-BNumaEGY.js";
10
10
  import "../../../../tooltip-3UvETWtS.js";
11
11
  import "../../../../util/functions.js";
12
12
  import "../../Shared/Button/index.js";
13
- import { S as w } from "../../../../index-DUCRi3yf.js";
13
+ import { S as w } from "../../../../index-CN7R7nR-.js";
14
14
  import "../../../../Grid-CFe3amXO.js";
15
15
  import "../../../../Box-B0YSYLco.js";
16
16
  import "../../../../Typography-pAaje37G.js";
@@ -1,16 +1,16 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "../../../../hoc/withThemeProvider.js";
4
- import { C as b, F as c, M as g, P as h, i as j } from "../../../../index-DUCRi3yf.js";
4
+ import { C as b, F as c, M as g, P as h, i as j } from "../../../../index-CN7R7nR-.js";
5
5
  import "../../../Wallet/Shared/appButton.js";
6
6
  import "../../../../react-redux-B4BZippc.js";
7
7
  import "../../../../util/functions.js";
8
8
  import "../../../../util/constants.js";
9
9
  import "../../../Wallet/Shared/Auth/otpForm.js";
10
- import "../../../../constants-B1fWUUck.js";
11
- import "../../../../PlayArrow-CcX9hutu.js";
12
- import "../../../../cryptoAssets-BU3EHVIY.js";
13
- import "../../../../order-BtLfPFH9.js";
10
+ import "../../../../constants-DBlV_hAZ.js";
11
+ import "../../../../PlayArrow-BkW3s4mw.js";
12
+ import "../../../../cryptoAssets-Da0hZPmW.js";
13
+ import "../../../../order-BNumaEGY.js";
14
14
  import "../../../../context/snackBarContext.js";
15
15
  import "../../../../util/conversions.js";
16
16
  import "../../../../index-CAoLi5Qq.js";
@@ -6,8 +6,8 @@ import L from "../../../../hoc/withThemeProvider.js";
6
6
  import { L as T } from "../../../../rr-primary-logo-CqI24c8v.js";
7
7
  import y from "./loginForm.js";
8
8
  import D from "./otpForm.js";
9
- import "../../../../constants-B1fWUUck.js";
10
- import { a as R } from "../../../../auth-BzJj8HQz.js";
9
+ import "../../../../constants-DBlV_hAZ.js";
10
+ import { a as R } from "../../../../auth-CYftwFWz.js";
11
11
  import { C } from "../../../../Container-urNKV7hm.js";
12
12
  import { T as E } from "../../../../Typography-pAaje37G.js";
13
13
  import { B as l } from "../../../../Box-B0YSYLco.js";
@@ -1,7 +1,7 @@
1
1
  import { jsxs as t, Fragment as g, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as h, useEffect as v } from "react";
3
- import "../../../../constants-B1fWUUck.js";
4
- import { l as x } from "../../../../auth-BzJj8HQz.js";
3
+ import "../../../../constants-DBlV_hAZ.js";
4
+ import { l as x } from "../../../../auth-CYftwFWz.js";
5
5
  import l from "../../Shared/Button/index.js";
6
6
  import y from "../../Shared/Input/index.js";
7
7
  import { isValidEmail as m } from "../../../../util/functions.js";
@@ -2,8 +2,8 @@ import { jsxs as n, Fragment as k, jsx as t } from "react/jsx-runtime";
2
2
  import p from "../../Shared/Button/index.js";
3
3
  import I from "../../Shared/Input/index.js";
4
4
  import { useState as m, useEffect as f } from "react";
5
- import "../../../../constants-B1fWUUck.js";
6
- import { l as O, v as P } from "../../../../auth-BzJj8HQz.js";
5
+ import "../../../../constants-DBlV_hAZ.js";
6
+ import { l as O, v as P } from "../../../../auth-CYftwFWz.js";
7
7
  import { RESEND_EMAIL_TIMER as g } from "../../../../util/constants.js";
8
8
  import { S as o } from "../../../../Stack-k55YTxET.js";
9
9
  import { T as a } from "../../../../Typography-pAaje37G.js";
@@ -3,8 +3,8 @@ import { useState as x, useEffect as R } from "react";
3
3
  import n from "../../Shared/Button/index.js";
4
4
  import k from "../../Shared/Input/index.js";
5
5
  import { isValidEmail as d, generateRandomString as y } from "../../../../util/functions.js";
6
- import "../../../../constants-B1fWUUck.js";
7
- import { f as E } from "../../../../auth-BzJj8HQz.js";
6
+ import "../../../../constants-DBlV_hAZ.js";
7
+ import { f as E } from "../../../../auth-CYftwFWz.js";
8
8
  import { T as S } from "../../../../Typography-pAaje37G.js";
9
9
  import { B as b } from "../../../../Box-B0YSYLco.js";
10
10
  import { S as T } from "../../../../Stack-k55YTxET.js";
@@ -8,8 +8,8 @@ import A from "./email.js";
8
8
  import L from "./personalInfo.js";
9
9
  import W from "./summary.js";
10
10
  import q from "./validateEmail.js";
11
- import "../../../../constants-B1fWUUck.js";
12
- import { a as U, u as V, r as j, b as M } from "../../../../auth-BzJj8HQz.js";
11
+ import "../../../../constants-DBlV_hAZ.js";
12
+ import { a as U, u as V, r as j, b as M } from "../../../../auth-CYftwFWz.js";
13
13
  import { USERNAME_SUFFIX as N } from "../../../../util/constants.js";
14
14
  import { C as P } from "../../../../Container-urNKV7hm.js";
15
15
  import { B as F } from "../../../../Box-B0YSYLco.js";
@@ -2,8 +2,8 @@ import { jsxs as u, Fragment as R, jsx as a } from "react/jsx-runtime";
2
2
  import { useState as d } from "react";
3
3
  import f from "../../Shared/Button/index.js";
4
4
  import p, { UserNameInputField as T } from "../../Shared/Input/index.js";
5
- import "../../../../constants-B1fWUUck.js";
6
- import { f as S } from "../../../../auth-BzJj8HQz.js";
5
+ import "../../../../constants-DBlV_hAZ.js";
6
+ import { f as S } from "../../../../auth-CYftwFWz.js";
7
7
  import { userNameRegex as L } from "../../../../util/regex.js";
8
8
  import { USERNAME_SUFFIX as b, USERNAME_TOOLTIP as U } from "../../../../util/constants.js";
9
9
  import { T as v } from "../../../../Typography-pAaje37G.js";
@@ -3,8 +3,8 @@ import h from "../../../hoc/withThemeProvider.js";
3
3
  import f from "../Shared/Button/index.js";
4
4
  import { u as g, a as w } from "../../../react-redux-B4BZippc.js";
5
5
  import { useEffect as i } from "react";
6
- import "../../../constants-B1fWUUck.js";
7
- import { e as x } from "../../../auth-BzJj8HQz.js";
6
+ import "../../../constants-DBlV_hAZ.js";
7
+ import { e as x } from "../../../auth-CYftwFWz.js";
8
8
  import { useSnackBarContext as b } from "../../../context/snackBarContext.js";
9
9
  import { B as n } from "../../../Box-B0YSYLco.js";
10
10
  import { T as c } from "../../../Typography-pAaje37G.js";
@@ -8,8 +8,8 @@ import q from "./storeInfo.js";
8
8
  import C from "./personalInfo.js";
9
9
  import D from "./summary.js";
10
10
  import L from "./validateEmail.js";
11
- import "../../../../constants-B1fWUUck.js";
12
- import { a as A, u as U, c as V, d as j, l as z } from "../../../../auth-BzJj8HQz.js";
11
+ import "../../../../constants-DBlV_hAZ.js";
12
+ import { a as A, u as U, c as V, d as j, l as z } from "../../../../auth-CYftwFWz.js";
13
13
  import { USERNAME_SUFFIX as S } from "../../../../util/constants.js";
14
14
  import { C as M } from "../../../../Container-urNKV7hm.js";
15
15
  import { T as f } from "../../../../Typography-pAaje37G.js";
@@ -2,8 +2,8 @@ import { jsxs as i, Fragment as g, jsx as r } from "react/jsx-runtime";
2
2
  import { useState as b } from "react";
3
3
  import T from "../../Shared/Button/index.js";
4
4
  import s from "../../Shared/Input/index.js";
5
- import "../../../../constants-B1fWUUck.js";
6
- import { g as y } from "../../../../auth-BzJj8HQz.js";
5
+ import "../../../../constants-DBlV_hAZ.js";
6
+ import { g as y } from "../../../../auth-CYftwFWz.js";
7
7
  import { generateRandomString as B, isValidEmail as F } from "../../../../util/functions.js";
8
8
  import { userNameRegex as L } from "../../../../util/regex.js";
9
9
  import { USERNAME_SUFFIX as W } from "../../../../util/constants.js";
@@ -2,8 +2,8 @@ import { jsxs as d, Fragment as C, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as c } from "react";
3
3
  import p from "../../Shared/Button/index.js";
4
4
  import u, { UserNameInputField as k } from "../../Shared/Input/index.js";
5
- import "../../../../constants-B1fWUUck.js";
6
- import { g as w } from "../../../../auth-BzJj8HQz.js";
5
+ import "../../../../constants-DBlV_hAZ.js";
6
+ import { g as w } from "../../../../auth-CYftwFWz.js";
7
7
  import { USERNAME_SUFFIX as f, USERNAME_TOOLTIP as T } from "../../../../util/constants.js";
8
8
  import { storeNameOnChangeRegex as P, storeNameRegex as U } from "../../../../util/regex.js";
9
9
  import { T as h } from "../../../../Typography-pAaje37G.js";
@@ -1,6 +1,6 @@
1
1
  import { jsxs as x, Fragment as i, jsx as t } from "react/jsx-runtime";
2
- import "../../../constants-B1fWUUck.js";
3
- import { o as T } from "../../../order-BtLfPFH9.js";
2
+ import "../../../constants-DBlV_hAZ.js";
3
+ import { o as T } from "../../../order-BNumaEGY.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";
@@ -1,3 +1,3 @@
1
1
  import { EddProps } from './types';
2
- declare const Edd: ({ inputComponent, buttonComponent, eddData, kycStoreData, setEddData, processKyc, }: EddProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const Edd: ({ inputComponent, buttonComponent, eddData, kycStoreData, setEddData, processKyc, processLoader, }: EddProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default Edd;
@@ -1,16 +1,16 @@
1
- import { jsxs as p, Fragment as h, jsx as n } from "react/jsx-runtime";
2
- import { useRef as x, useState as P, useEffect as q, createRef as L } from "react";
3
- import W from "../../Wallet/Shared/Input/index.js";
4
- import j from "../../Wallet/Shared/appButton.js";
1
+ import { jsxs as p, Fragment as u, jsx as n } from "react/jsx-runtime";
2
+ import { useRef as g, useState as q, useEffect as L, createRef as W } from "react";
3
+ import j from "../../Wallet/Shared/Input/index.js";
4
+ import K from "../../Wallet/Shared/appButton.js";
5
5
  import "../../../hoc/withThemeProvider.js";
6
- import { u as K } from "../../../react-redux-B4BZippc.js";
6
+ import { u as v } from "../../../react-redux-B4BZippc.js";
7
7
  import "../../Wallet/Shared/Auth/otpForm.js";
8
- import "../../../constants-B1fWUUck.js";
9
- import { a as v } from "../../../kyc-CSbzb5MW.js";
10
- import { useSnackBarContext as H } from "../../../context/snackBarContext.js";
8
+ import "../../../constants-DBlV_hAZ.js";
9
+ import { a as H } from "../../../kyc-D7FTfIPj.js";
10
+ import { useSnackBarContext as V } from "../../../context/snackBarContext.js";
11
11
  import "../../../util/conversions.js";
12
12
  import "../../../index-CAoLi5Qq.js";
13
- import { C as V } from "../../../Close-CNwiMz_O.js";
13
+ import { C as $ } from "../../../Close-CNwiMz_O.js";
14
14
  import "../../../react-webcam-B3cXh1XT.js";
15
15
  import "../transition.js";
16
16
  import "../../Wallet/Shared/pin.js";
@@ -20,46 +20,48 @@ import "../../../index.esm-BsMAMhYW.js";
20
20
  import "../../../web3-u4qDZYpo.js";
21
21
  import "../../../index-B8QKlEgj.js";
22
22
  import "../../../index-ceeCtFuh.js";
23
- import { C as $, a as Y } from "../../../FileDownload-Bt3R_NBr.js";
23
+ import { C as z, a as Y } from "../../../FileDownload-Bt3R_NBr.js";
24
24
  import "../../../context/dialogContext.js";
25
- import { B as E } from "../../../Box-B0YSYLco.js";
26
- import { I as z } from "../../../InputAdornment-DMiED3JH.js";
27
- import { I as u } from "../../../IconButton-DHm-hucF.js";
28
- const ge = ({
29
- inputComponent: g,
30
- buttonComponent: C,
31
- eddData: o,
25
+ import { B as x } from "../../../Box-B0YSYLco.js";
26
+ import { I as G } from "../../../InputAdornment-DMiED3JH.js";
27
+ import { I as c } from "../../../IconButton-DHm-hucF.js";
28
+ import { C as J } from "../../../CircularProgress-xZA3lvba.js";
29
+ const Fe = ({
30
+ inputComponent: C,
31
+ buttonComponent: E,
32
+ eddData: r,
32
33
  kycStoreData: l,
33
- setEddData: F,
34
- processKyc: _
34
+ setEddData: a,
35
+ processKyc: F,
36
+ processLoader: _
35
37
  }) => {
36
- const T = g ?? W, a = C ?? j, A = {
38
+ const T = C ?? j, A = E ?? K, R = {
37
39
  BANK_STATEMENT: {
38
- text: o.BANK_STATEMENT.text,
39
- file: o.BANK_STATEMENT.file,
40
- preview: o.BANK_STATEMENT.preview,
40
+ text: r.BANK_STATEMENT.text,
41
+ file: r.BANK_STATEMENT.file,
42
+ preview: r.BANK_STATEMENT.preview,
41
43
  label: "Bank Statement",
42
44
  required: !0,
43
45
  multiFile: !1
44
46
  },
45
47
  PROOF_OF_INCOME: {
46
- text: o.PROOF_OF_INCOME.text,
47
- file: o.PROOF_OF_INCOME.file,
48
- preview: o.PROOF_OF_INCOME.preview,
48
+ text: r.PROOF_OF_INCOME.text,
49
+ file: r.PROOF_OF_INCOME.file,
50
+ preview: r.PROOF_OF_INCOME.preview,
49
51
  label: "Proof of Income",
50
52
  required: !0,
51
53
  multiFile: !1
52
54
  },
53
55
  SOURCE_OF_WEALTH: {
54
- text: o.SOURCE_OF_WEALTH.text,
55
- file: o.SOURCE_OF_WEALTH.file,
56
- preview: o.SOURCE_OF_WEALTH.preview,
56
+ text: r.SOURCE_OF_WEALTH.text,
57
+ file: r.SOURCE_OF_WEALTH.file,
58
+ preview: r.SOURCE_OF_WEALTH.preview,
57
59
  label: "Source of Wealth",
58
60
  required: !0,
59
61
  multiFile: !1
60
62
  }
61
- }, R = K(), { showAlertMessage: d } = H(), I = x(null), [r, m] = P(A);
62
- q(() => {
63
+ }, I = v(), { showAlertMessage: d } = V(), w = g(null), [o, m] = q(R);
64
+ L(() => {
63
65
  if (l != null && l.uploadData.fileUrl && (l != null && l.uploadData.fileType)) {
64
66
  const i = l == null ? void 0 : l.uploadData.fileType;
65
67
  m((e) => {
@@ -76,11 +78,11 @@ const ge = ({
76
78
  });
77
79
  }
78
80
  }, [l == null ? void 0 : l.uploadData.fileUrl, l == null ? void 0 : l.uploadData.fileType]);
79
- const c = Object.keys(o), O = x(
80
- c.reduce((i, e) => (i[e] = L(), i), {})
81
- ), w = () => {
82
- for (const i of Object.keys(r)) {
83
- const e = r[i];
81
+ const h = Object.keys(r), O = g(
82
+ h.reduce((i, e) => (i[e] = W(), i), {})
83
+ ), N = () => {
84
+ for (const i of Object.keys(o)) {
85
+ const e = o[i];
84
86
  if (e.required) {
85
87
  const t = e.text.trim() !== "", s = e.file.length > 0;
86
88
  if (!t)
@@ -94,61 +96,61 @@ const ge = ({
94
96
  }
95
97
  }
96
98
  return !0;
97
- }, N = () => {
98
- w() && (F(r), _(r));
99
- }, U = (i, e) => {
99
+ }, U = () => {
100
+ N() && (a(o), F(o));
101
+ }, b = (i, e) => {
100
102
  const t = i.target.files;
101
103
  !t || t.length === 0 || Array.from(t).map((s) => {
102
- const b = URL.createObjectURL(s);
103
- R(v({ file: s, type: e })), m((f) => {
104
- const B = f[e].file || [], M = f[e].text ? f[e].text.split(", ") : [];
104
+ const B = URL.createObjectURL(s);
105
+ I(H({ file: s, type: e })), m((f) => {
106
+ const P = f[e].file || [], M = f[e].text ? f[e].text.split(", ") : [];
105
107
  return {
106
108
  ...f,
107
109
  [e]: {
108
110
  ...f[e],
109
111
  text: [...M, s.name].join(", "),
110
- preview: [...B, b]
112
+ preview: [...P, B]
111
113
  }
112
114
  };
113
115
  });
114
116
  });
115
117
  };
116
- return /* @__PURE__ */ p(h, { children: [
117
- /* @__PURE__ */ n("form", { style: { height: "350px", overflowY: "scroll" }, ref: I, children: c.map((i) => /* @__PURE__ */ p(E, { mt: 2, children: [
118
+ return /* @__PURE__ */ p(u, { children: [
119
+ /* @__PURE__ */ n("form", { style: { height: "350px", overflowY: "scroll" }, ref: w, children: h.map((i) => /* @__PURE__ */ p(x, { mt: 2, children: [
118
120
  /* @__PURE__ */ n(
119
121
  T,
120
122
  {
121
- label: r[i].label,
122
- value: r[i].text,
123
+ label: o[i].label,
124
+ value: o[i].text,
123
125
  onChange: (e) => m((t) => ({
124
126
  ...t,
125
127
  [i]: { ...t[i], text: e.target.value }
126
128
  })),
127
129
  slotProps: {
128
130
  input: {
129
- endAdornment: /* @__PURE__ */ n(z, { position: "end", children: r[i].file.length > 0 ? /* @__PURE__ */ p(h, { children: [
131
+ endAdornment: /* @__PURE__ */ n(G, { position: "end", children: o[i].file.length > 0 ? /* @__PURE__ */ p(u, { children: [
130
132
  /* @__PURE__ */ n(
131
- u,
133
+ c,
132
134
  {
133
135
  onClick: () => m((e) => ({
134
136
  ...e,
135
137
  [i]: { ...e[i], file: [] }
136
138
  })),
137
139
  edge: "end",
138
- children: /* @__PURE__ */ n(V, {})
140
+ children: /* @__PURE__ */ n($, {})
139
141
  }
140
142
  ),
141
- r[i].preview.map((e, t) => /* @__PURE__ */ n(
142
- u,
143
+ o[i].preview.map((e, t) => /* @__PURE__ */ n(
144
+ c,
143
145
  {
144
146
  onClick: () => window.open(e),
145
147
  edge: "end",
146
- children: /* @__PURE__ */ n($, {})
148
+ children: /* @__PURE__ */ n(z, {})
147
149
  },
148
150
  t
149
151
  ))
150
152
  ] }) : /* @__PURE__ */ n(
151
- u,
153
+ c,
152
154
  {
153
155
  onClick: () => {
154
156
  var e, t;
@@ -160,7 +162,7 @@ const ge = ({
160
162
  ) })
161
163
  }
162
164
  },
163
- required: r[i].required
165
+ required: o[i].required
164
166
  }
165
167
  ),
166
168
  /* @__PURE__ */ n(
@@ -169,16 +171,19 @@ const ge = ({
169
171
  ref: O.current[i],
170
172
  name: "regStatusFile",
171
173
  type: "file",
172
- onChange: (e) => U(e, i),
174
+ onChange: (e) => b(e, i),
173
175
  accept: "application/pdf, image/*",
174
- multiple: r[i].multiFile,
176
+ multiple: o[i].multiFile,
175
177
  hidden: !0
176
178
  }
177
179
  )
178
180
  ] }, i)) }),
179
- /* @__PURE__ */ n(E, { mt: 3.5, children: /* @__PURE__ */ n(a, { fullWidth: !0, onClick: N, children: "Submit" }) })
181
+ /* @__PURE__ */ n(x, { mt: 3.5, children: /* @__PURE__ */ n(A, { fullWidth: !0, onClick: U, children: /* @__PURE__ */ n("strong", { children: _ ? /* @__PURE__ */ p(u, { children: [
182
+ /* @__PURE__ */ n(J, { size: 15, color: "inherit" }),
183
+ " Processing..."
184
+ ] }) : /* @__PURE__ */ n(u, { children: "Submit" }) }) }) })
180
185
  ] });
181
186
  };
182
187
  export {
183
- ge as default
188
+ Fe as default
184
189
  };
@@ -3,10 +3,10 @@ import "react";
3
3
  import "../../Wallet/Shared/Container/index.js";
4
4
  import "../Incode/index.js";
5
5
  import "../../../hoc/withThemeProvider.js";
6
- import { E as s, I as C, c as D, b as I, a as O, F as P } from "../../../index-BW-RJYiq.js";
6
+ import { E as s, I as C, c as D, b as I, a as O, F as P } from "../../../index-CexvGlw7.js";
7
7
  import "./pep.js";
8
- import "../../../constants-B1fWUUck.js";
9
- import "../../../kyc-CSbzb5MW.js";
8
+ import "../../../constants-DBlV_hAZ.js";
9
+ import "../../../kyc-D7FTfIPj.js";
10
10
  import "../../../react-redux-B4BZippc.js";
11
11
  import "./edd.js";
12
12
  export {
@@ -3,7 +3,7 @@ import { useState as n } from "react";
3
3
  import M from "../../Wallet/Shared/step.js";
4
4
  import { c as A } from "../../../countries-BVn1FubK.js";
5
5
  import F from "../../Wallet/Shared/appButton.js";
6
- import { a as B, c as _ } from "../../../constants-B1fWUUck.js";
6
+ import { d as B, f as _ } from "../../../constants-DBlV_hAZ.js";
7
7
  import { B as c } from "../../../Box-B0YSYLco.js";
8
8
  import { T as i } from "../../../Typography-pAaje37G.js";
9
9
  import { G as g } from "../../../Grid-CFe3amXO.js";