everest-npm-features 0.0.48 → 0.0.50

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 (98) hide show
  1. package/dist/{PlayArrow-Cnrxi5yr.js → PlayArrow-C3uVNo4F.js} +1 -1
  2. package/dist/{auth-C45E0xvK.js → auth-ClBgT--j.js} +1 -1
  3. package/dist/{bank-DIdz4BaB.js → bank-Dz5km1qK.js} +3 -3
  4. package/dist/components/RocketRamp/MinimalKyc/form.js +14 -13
  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 +12 -11
  9. package/dist/components/RocketRamp/Player/Dashboard/index.js +25 -24
  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 +12 -11
  13. package/dist/components/RocketRamp/Player/SignIn/index.js +20 -19
  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 +39 -38
  18. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
  19. package/dist/components/RocketRamp/ResetPassword/index.js +21 -20
  20. package/dist/components/RocketRamp/Store/SignUp/index.js +48 -47
  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 +14 -13
  24. package/dist/components/Shared/FullKyc/edd.js +41 -41
  25. package/dist/components/Shared/FullKyc/index.js +11 -10
  26. package/dist/components/Shared/FullKyc/pep.js +1 -1
  27. package/dist/components/Shared/FullKyc/personalDetails.js +2 -2
  28. package/dist/components/Shared/FullKyc/userInfo.js +4 -4
  29. package/dist/components/Shared/MinimalKyc/index.js +31 -30
  30. package/dist/components/Wallet/Account/createIban.d.ts +2 -0
  31. package/dist/components/Wallet/Account/createIban.js +96 -88
  32. package/dist/components/Wallet/Account/eWallet.d.ts +20 -0
  33. package/dist/components/Wallet/Account/eWallet.js +118 -0
  34. package/dist/components/Wallet/Account/iban.d.ts +2 -0
  35. package/dist/components/Wallet/Account/iban.js +38 -32
  36. package/dist/components/Wallet/Account/ibanItem.d.ts +5 -2
  37. package/dist/components/Wallet/Account/ibanItem.js +233 -76
  38. package/dist/components/Wallet/Account/index.d.ts +2 -0
  39. package/dist/components/Wallet/Account/index.js +164 -143
  40. package/dist/components/Wallet/Account/sendIban.js +3 -3
  41. package/dist/components/Wallet/Buy/confirmTransaction.js +5 -5
  42. package/dist/components/Wallet/Buy/form.js +5 -5
  43. package/dist/components/Wallet/Buy/index.js +14 -13
  44. package/dist/components/Wallet/Deposit/index.js +1 -1
  45. package/dist/components/Wallet/EnterpriseKyc/edd.js +9 -9
  46. package/dist/components/Wallet/EnterpriseKyc/index.js +23 -22
  47. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +24 -24
  48. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +1 -1
  49. package/dist/components/Wallet/EnterpriseKyc/verify.js +1 -1
  50. package/dist/components/Wallet/History/index.js +25 -24
  51. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +49 -48
  52. package/dist/components/Wallet/Portfolio/index.js +22 -21
  53. package/dist/components/Wallet/Portfolio/tokenRow.js +1 -1
  54. package/dist/components/Wallet/Profile/documents.js +34 -33
  55. package/dist/components/Wallet/Profile/index.js +20 -19
  56. package/dist/components/Wallet/Profile/storage.js +26 -26
  57. package/dist/components/Wallet/Receive/index.js +22 -21
  58. package/dist/components/Wallet/Sell/confirmTransaction.js +4 -4
  59. package/dist/components/Wallet/Sell/form.js +5 -5
  60. package/dist/components/Wallet/Sell/index.js +13 -12
  61. package/dist/components/Wallet/Send/index.js +19 -18
  62. package/dist/components/Wallet/Shared/Auth/otpForm.js +2 -2
  63. package/dist/components/Wallet/Shared/BankSelect/index.js +36 -35
  64. package/dist/components/Wallet/Shared/CardCorp/index.d.ts +1 -1
  65. package/dist/components/Wallet/Shared/CardCorp/index.js +16 -16
  66. package/dist/components/Wallet/Shared/addBank.js +39 -38
  67. package/dist/components/Wallet/Shared/connectPlaidBank.js +19 -18
  68. package/dist/components/Wallet/Shared/manualSend.js +6 -5
  69. package/dist/components/Wallet/SignIn/index.js +24 -23
  70. package/dist/components/Wallet/SignUp/index.js +22 -21
  71. package/dist/components/Wallet/Stake/index.js +30 -29
  72. package/dist/components/Wallet/Swap/form.js +8 -7
  73. package/dist/components/Wallet/Swap/index.js +11 -10
  74. package/dist/components/Wallet/Withdraw/bankSelect.js +28 -27
  75. package/dist/components/Wallet/Withdraw/confirmTransaction.js +4 -4
  76. package/dist/components/Wallet/Withdraw/form.js +4 -4
  77. package/dist/components/Wallet/Withdraw/index.js +12 -11
  78. package/dist/{constants-BSdmHYnc.js → constants-t7n9qCW3.js} +245 -244
  79. package/dist/{cryptoAssets-BdNVnpA_.js → cryptoAssets-shEFU26O.js} +1 -1
  80. package/dist/hooks/useEverestDispatch.d.ts +6 -0
  81. package/dist/hooks/useEverestDispatch.js +5 -0
  82. package/dist/{index-Be3ndI6s.js → index-B6MSTmAM.js} +104 -103
  83. package/dist/{index-HZ9RrpTC.js → index-C2EjFXaz.js} +87 -86
  84. package/dist/{index-BXF4OI74.js → index-Cs7bSfT3.js} +17 -16
  85. package/dist/{index-D3OzGVxQ.js → index-DFRU-R-5.js} +38 -37
  86. package/dist/{index-CRyby3Qm.js → index-Da0r8FX2.js} +11 -10
  87. package/dist/{index-BlfzmV5M.js → index-RDV0mQbt.js} +36 -35
  88. package/dist/{index-Cvp4wWrB.js → index-j0zehpzg.js} +40 -39
  89. package/dist/{kyc-BQsiHtP6.js → kyc-D9xahfH9.js} +1 -1
  90. package/dist/main.js +7 -7
  91. package/dist/{order-BKKCskeq.js → order-jqH948WM.js} +29 -25
  92. package/dist/{react-redux-B4BZippc.js → react-redux-C7I9-1M6.js} +2 -2
  93. package/dist/{stake-WjG22nIX.js → stake-Dcq6QpaA.js} +3 -3
  94. package/dist/{tokenRow-D32W5WH3.js → tokenRow-B-tustzZ.js} +8 -6
  95. package/dist/util/constants.d.ts +2 -0
  96. package/dist/util/constants.js +21 -19
  97. package/dist/{wallet-BXA-R-Ks.js → wallet-DpkUmmq0.js} +1 -1
  98. package/package.json +3 -2
@@ -1,22 +1,23 @@
1
- import { jsxs as s, jsx as t } from "react/jsx-runtime";
1
+ import { jsxs as i, jsx as t } from "react/jsx-runtime";
2
2
  import { useState as D, useEffect as f } from "react";
3
3
  import { useSnackBar as C } from "../../../../hooks/useSnackBar.js";
4
- import { u as I, a as E } from "../../../../react-redux-B4BZippc.js";
5
- import T from "../../../../hoc/withThemeProvider.js";
6
- import { L as _ } from "../../../../rr-primary-logo-CqI24c8v.js";
7
- import A from "./email.js";
8
- import L from "./personalInfo.js";
9
- import W from "./summary.js";
10
- import q from "./validateEmail.js";
11
- import "../../../../constants-BSdmHYnc.js";
12
- import { a as U, u as V, r as j, b as M } from "../../../../auth-C45E0xvK.js";
4
+ import { u as E } from "../../../../react-redux-C7I9-1M6.js";
5
+ import I from "../../../../hoc/withThemeProvider.js";
6
+ import { L as T } from "../../../../rr-primary-logo-CqI24c8v.js";
7
+ import _ from "./email.js";
8
+ import A from "./personalInfo.js";
9
+ import L from "./summary.js";
10
+ import W from "./validateEmail.js";
11
+ import "../../../../constants-t7n9qCW3.js";
12
+ import { a as q, u as U, r as V, b as j } from "../../../../auth-ClBgT--j.js";
13
13
  import { USERNAME_SUFFIX as N } from "../../../../util/constants.js";
14
+ import M from "../../../../hooks/useEverestDispatch.js";
14
15
  import { C as P } from "../../../../Container-urNKV7hm.js";
15
- import { B as F } from "../../../../Box-B0YSYLco.js";
16
- import { S as k } from "../../../../Stack-k55YTxET.js";
16
+ import { B as v } from "../../../../Box-B0YSYLco.js";
17
+ import { S as F } from "../../../../Stack-k55YTxET.js";
17
18
  import { T as u } from "../../../../Typography-pAaje37G.js";
18
- const z = ({ onRegister: v, navigate: h, navigatePath: g }) => {
19
- const a = I(), r = E((o) => o.session), i = E((o) => o.app).store.name, m = r.loader, x = r.validationError, S = r.screen, B = r.otpLoader, p = r.uuid, c = r.token, l = r.error, b = 4, { showAlertMessage: n, snackBar: w } = C(), [e, R] = D({
19
+ const z = ({ onRegister: k, navigate: h, navigatePath: g }) => {
20
+ const a = M(), r = E((o) => o.session), s = E((o) => o.app).store.name, m = r.loader, x = r.validationError, S = r.screen, B = r.otpLoader, p = r.uuid, c = r.token, l = r.error, b = 4, { showAlertMessage: n, snackBar: w } = C(), [e, R] = D({
20
21
  email: "",
21
22
  username: "",
22
23
  firstName: "",
@@ -24,27 +25,27 @@ const z = ({ onRegister: v, navigate: h, navigatePath: g }) => {
24
25
  phone: ""
25
26
  });
26
27
  f(() => () => {
27
- a(U());
28
+ a(q());
28
29
  }, []), f(() => {
29
- p && c && (v(p, c), h(g || "/dashboard"));
30
+ p && c && (k(p, c), h(g || "/dashboard"));
30
31
  }, [p, c]), f(() => {
31
32
  l && n({ message: l });
32
33
  }, [l]);
33
34
  const d = (o) => {
34
- a(V(o));
35
+ a(U(o));
35
36
  }, y = () => {
36
37
  a(
37
- j({
38
+ V({
38
39
  first_name: e.firstName,
39
40
  last_name: e.lastName,
40
41
  email: e.email,
41
42
  username: e.username + N,
42
43
  phone: "+1" + e.phone,
43
- storename: i
44
+ storename: s
44
45
  })
45
46
  );
46
47
  };
47
- return /* @__PURE__ */ s(
48
+ return /* @__PURE__ */ i(
48
49
  P,
49
50
  {
50
51
  maxWidth: "sm",
@@ -59,9 +60,9 @@ const z = ({ onRegister: v, navigate: h, navigatePath: g }) => {
59
60
  },
60
61
  children: [
61
62
  w,
62
- /* @__PURE__ */ t(F, { sx: { marginTop: "0.5rem", marginBottom: "2.25rem" }, children: /* @__PURE__ */ t("img", { alt: "RocketRamp logo", src: _ }) }),
63
- /* @__PURE__ */ s(
64
- F,
63
+ /* @__PURE__ */ t(v, { sx: { marginTop: "0.5rem", marginBottom: "2.25rem" }, children: /* @__PURE__ */ t("img", { alt: "RocketRamp logo", src: T }) }),
64
+ /* @__PURE__ */ i(
65
+ v,
65
66
  {
66
67
  sx: {
67
68
  flex: 1,
@@ -76,14 +77,14 @@ const z = ({ onRegister: v, navigate: h, navigatePath: g }) => {
76
77
  display: "flex"
77
78
  },
78
79
  children: [
79
- /* @__PURE__ */ s(k, { direction: "column", spacing: 1.5, children: [
80
+ /* @__PURE__ */ i(F, { direction: "column", spacing: 1.5, children: [
80
81
  /* @__PURE__ */ t(u, { variant: "2xl", fontWeight: 600, children: "Create New Account" }),
81
- /* @__PURE__ */ s(k, { direction: "row", gap: "0.25rem", children: [
82
- /* @__PURE__ */ s(u, { variant: "md", fontWeight: 500, children: [
82
+ /* @__PURE__ */ i(F, { direction: "row", gap: "0.25rem", children: [
83
+ /* @__PURE__ */ i(u, { variant: "md", fontWeight: 500, children: [
83
84
  "Step ",
84
85
  S
85
86
  ] }),
86
- /* @__PURE__ */ s(u, { variant: "md", fontWeight: 200, children: [
87
+ /* @__PURE__ */ i(u, { variant: "md", fontWeight: 200, children: [
87
88
  "of ",
88
89
  b
89
90
  ] })
@@ -91,7 +92,7 @@ const z = ({ onRegister: v, navigate: h, navigatePath: g }) => {
91
92
  ] }),
92
93
  {
93
94
  1: /* @__PURE__ */ t(
94
- A,
95
+ _,
95
96
  {
96
97
  showAlertMessage: n,
97
98
  loader: m,
@@ -99,13 +100,13 @@ const z = ({ onRegister: v, navigate: h, navigatePath: g }) => {
99
100
  setRegisterInfo: R,
100
101
  navigate: h,
101
102
  dispatch: a,
102
- storeName: i,
103
+ storeName: s,
103
104
  validationError: x,
104
105
  setCurrentStep: d
105
106
  }
106
107
  ),
107
108
  2: /* @__PURE__ */ t(
108
- L,
109
+ A,
109
110
  {
110
111
  showAlertMessage: n,
111
112
  loader: m,
@@ -114,22 +115,22 @@ const z = ({ onRegister: v, navigate: h, navigatePath: g }) => {
114
115
  setRegisterInfo: R,
115
116
  setCurrentStep: d,
116
117
  validationError: x,
117
- storeName: i
118
+ storeName: s
118
119
  }
119
120
  ),
120
121
  3: /* @__PURE__ */ t(
121
- W,
122
+ L,
122
123
  {
123
124
  showAlertMessage: n,
124
125
  loader: m,
125
126
  registerInfo: e,
126
- storeName: i,
127
+ storeName: s,
127
128
  setCurrentStep: d,
128
129
  initRegister: y
129
130
  }
130
131
  ),
131
132
  4: /* @__PURE__ */ t(
132
- q,
133
+ W,
133
134
  {
134
135
  showAlertMessage: n,
135
136
  loader: m,
@@ -137,13 +138,13 @@ const z = ({ onRegister: v, navigate: h, navigatePath: g }) => {
137
138
  registerInfo: e,
138
139
  initVerifyRegister: (o) => {
139
140
  a(
140
- M({
141
+ j({
141
142
  first_name: e.firstName,
142
143
  last_name: e.lastName,
143
144
  email: e.email,
144
145
  username: e.username + N,
145
146
  phone: "+1" + e.phone,
146
- storename: i,
147
+ storename: s,
147
148
  otp: o
148
149
  })
149
150
  );
@@ -158,7 +159,7 @@ const z = ({ onRegister: v, navigate: h, navigatePath: g }) => {
158
159
  ]
159
160
  }
160
161
  );
161
- }, pe = T(z);
162
+ }, ce = I(z);
162
163
  export {
163
- pe as default
164
+ ce as default
164
165
  };
@@ -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-BSdmHYnc.js";
6
- import { f as S } from "../../../../auth-C45E0xvK.js";
5
+ import "../../../../constants-t7n9qCW3.js";
6
+ import { f as S } from "../../../../auth-ClBgT--j.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";
@@ -1,24 +1,25 @@
1
- import { jsxs as a, jsx as s, Fragment as u } from "react/jsx-runtime";
2
- import h from "../../../hoc/withThemeProvider.js";
3
- import f from "../Shared/Button/index.js";
4
- import { u as g, a as w } from "../../../react-redux-B4BZippc.js";
5
- import { useEffect as i } from "react";
6
- import "../../../constants-BSdmHYnc.js";
7
- import { e as x } from "../../../auth-C45E0xvK.js";
8
- import { useSnackBarContext as b } from "../../../context/snackBarContext.js";
1
+ import { jsxs as i, jsx as r, Fragment as u } from "react/jsx-runtime";
2
+ import f from "../../../hoc/withThemeProvider.js";
3
+ import h from "../Shared/Button/index.js";
4
+ import { u as g } from "../../../react-redux-C7I9-1M6.js";
5
+ import { useEffect as a } from "react";
6
+ import "../../../constants-t7n9qCW3.js";
7
+ import { e as w } from "../../../auth-ClBgT--j.js";
8
+ import { useSnackBarContext as x } from "../../../context/snackBarContext.js";
9
+ import b from "../../../hooks/useEverestDispatch.js";
9
10
  import { B as n } from "../../../Box-B0YSYLco.js";
10
11
  import { T as c } from "../../../Typography-pAaje37G.js";
11
12
  import { C as y } from "../../../CircularProgress-xZA3lvba.js";
12
13
  const P = ({ onComplete: m, type: d }) => {
13
- const { showAlertMessage: o } = b(), l = g(), r = w((p) => p.session), t = r.loader, e = r.error;
14
- return i(() => {
14
+ const { showAlertMessage: o } = x(), l = b(), s = g((p) => p.session), t = s.loader, e = s.error;
15
+ return a(() => {
15
16
  e && o({ message: e });
16
- }, [e]), i(() => {
17
- r.resetPasswordSuccess && (o({
17
+ }, [e]), a(() => {
18
+ s.resetPasswordSuccess && (o({
18
19
  message: "Reset Password has been done successfully.",
19
20
  type: "success"
20
21
  }), m());
21
- }, [r.resetPasswordSuccess]), /* @__PURE__ */ a(
22
+ }, [s.resetPasswordSuccess]), /* @__PURE__ */ i(
22
23
  n,
23
24
  {
24
25
  sx: {
@@ -28,18 +29,18 @@ const P = ({ onComplete: m, type: d }) => {
28
29
  boxShadow: "0px 0px 64px 0px rgba(247, 247, 248, 1)"
29
30
  },
30
31
  children: [
31
- /* @__PURE__ */ s(c, { variant: "4xl", fontWeight: 600, children: /* @__PURE__ */ s("b", { children: "Reset Password" }) }),
32
- /* @__PURE__ */ s(c, { variant: "md", children: 'To reset your password, simply click on the "reset password" button, and you will shortly receive an email containing a new password for your Orion Stars account.' }),
33
- /* @__PURE__ */ s(n, { mt: 4, children: /* @__PURE__ */ s(f, { onClick: () => {
34
- t || l(x(d));
35
- }, fullWidth: !0, children: /* @__PURE__ */ s("strong", { children: t ? /* @__PURE__ */ a(u, { children: [
36
- /* @__PURE__ */ s(y, { size: 15, color: "inherit" }),
32
+ /* @__PURE__ */ r(c, { variant: "4xl", fontWeight: 600, children: /* @__PURE__ */ r("b", { children: "Reset Password" }) }),
33
+ /* @__PURE__ */ r(c, { variant: "md", children: 'To reset your password, simply click on the "reset password" button, and you will shortly receive an email containing a new password for your Orion Stars account.' }),
34
+ /* @__PURE__ */ r(n, { mt: 4, children: /* @__PURE__ */ r(h, { onClick: () => {
35
+ t || l(w(d));
36
+ }, fullWidth: !0, children: /* @__PURE__ */ r("strong", { children: t ? /* @__PURE__ */ i(u, { children: [
37
+ /* @__PURE__ */ r(y, { size: 15, color: "inherit" }),
37
38
  " Processing..."
38
39
  ] }) : "Submit" }) }) })
39
40
  ]
40
41
  }
41
42
  );
42
- }, z = h(P);
43
+ }, z = f(P);
43
44
  export {
44
45
  z as default
45
46
  };
@@ -1,22 +1,23 @@
1
- import { jsxs as s, jsx as o } from "react/jsx-runtime";
1
+ import { jsxs as a, jsx as r } from "react/jsx-runtime";
2
2
  import { useState as I, useEffect as d } from "react";
3
3
  import { useSnackBar as w } from "../../../../hooks/useSnackBar.js";
4
- import { u as b, a as T } from "../../../../react-redux-B4BZippc.js";
5
- import W from "../../../../hoc/withThemeProvider.js";
6
- import { L as _ } from "../../../../rr-primary-logo-CqI24c8v.js";
7
- import q from "./storeInfo.js";
8
- import C from "./personalInfo.js";
9
- import D from "./summary.js";
10
- import L from "./validateEmail.js";
11
- import "../../../../constants-BSdmHYnc.js";
12
- import { a as A, u as U, c as V, d as j, l as z } from "../../../../auth-C45E0xvK.js";
4
+ import { u as b } from "../../../../react-redux-C7I9-1M6.js";
5
+ import T from "../../../../hoc/withThemeProvider.js";
6
+ import { L as W } from "../../../../rr-primary-logo-CqI24c8v.js";
7
+ import _ from "./storeInfo.js";
8
+ import q from "./personalInfo.js";
9
+ import C from "./summary.js";
10
+ import D from "./validateEmail.js";
11
+ import "../../../../constants-t7n9qCW3.js";
12
+ import { a as L, u as A, c as U, d as V, l as j } from "../../../../auth-ClBgT--j.js";
13
13
  import { USERNAME_SUFFIX as S } from "../../../../util/constants.js";
14
+ import z from "../../../../hooks/useEverestDispatch.js";
14
15
  import { C as M } from "../../../../Container-urNKV7hm.js";
15
16
  import { T as f } from "../../../../Typography-pAaje37G.js";
16
17
  import { B as R } from "../../../../Box-B0YSYLco.js";
17
- import { S as y } from "../../../../Stack-k55YTxET.js";
18
- const O = ({ onRegister: v, navigate: E, navigatePath: h }) => {
19
- const r = b(), t = T((a) => a.session), n = t.loader, g = t.validationError, F = t.validationField, u = t.screen, N = t.otpLoader, m = t.uuid, l = t.token, c = t.error, B = 4, { showAlertMessage: i, snackBar: k } = w(), [e, x] = I({
18
+ import { S as v } from "../../../../Stack-k55YTxET.js";
19
+ const O = ({ onRegister: y, navigate: E, navigatePath: h }) => {
20
+ const o = z(), t = b((s) => s.session), n = t.loader, g = t.validationError, F = t.validationField, u = t.screen, N = t.otpLoader, m = t.uuid, l = t.token, p = t.error, B = 4, { showAlertMessage: i, snackBar: k } = w(), [e, x] = I({
20
21
  email: "",
21
22
  firstName: "",
22
23
  lastName: "",
@@ -24,16 +25,16 @@ const O = ({ onRegister: v, navigate: E, navigatePath: h }) => {
24
25
  storeName: ""
25
26
  });
26
27
  d(() => () => {
27
- r(A());
28
+ o(L());
28
29
  }, []), d(() => {
29
- m && l && (v(m, l), E(h || "/dashboard"));
30
+ m && l && (y(m, l), E(h || "/dashboard"));
30
31
  }, [m, l]), d(() => {
31
- c && i({ message: c });
32
- }, [c]);
33
- const p = (a) => {
34
- r(U(a));
32
+ p && i({ message: p });
33
+ }, [p]);
34
+ const c = (s) => {
35
+ o(A(s));
35
36
  };
36
- return /* @__PURE__ */ s(
37
+ return /* @__PURE__ */ a(
37
38
  M,
38
39
  {
39
40
  maxWidth: "sm",
@@ -48,9 +49,9 @@ const O = ({ onRegister: v, navigate: E, navigatePath: h }) => {
48
49
  },
49
50
  children: [
50
51
  k,
51
- /* @__PURE__ */ o(f, { variant: "h5", sx: { fontSize: "1.5rem", fontWeight: "700" }, children: "Welcome to" }),
52
- /* @__PURE__ */ o(R, { sx: { marginTop: "0.5rem", marginBottom: "2.25rem" }, children: /* @__PURE__ */ o("img", { alt: "RocketRamp logo", src: _, width: 440, height: 63 }) }),
53
- /* @__PURE__ */ s(
52
+ /* @__PURE__ */ r(f, { variant: "h5", sx: { fontSize: "1.5rem", fontWeight: "700" }, children: "Welcome to" }),
53
+ /* @__PURE__ */ r(R, { sx: { marginTop: "0.5rem", marginBottom: "2.25rem" }, children: /* @__PURE__ */ r("img", { alt: "RocketRamp logo", src: W, width: 440, height: 63 }) }),
54
+ /* @__PURE__ */ a(
54
55
  R,
55
56
  {
56
57
  sx: {
@@ -65,52 +66,52 @@ const O = ({ onRegister: v, navigate: E, navigatePath: h }) => {
65
66
  display: "flex"
66
67
  },
67
68
  children: [
68
- /* @__PURE__ */ o(y, { direction: "column", spacing: 1.5, children: /* @__PURE__ */ s(y, { direction: "row", gap: "0.25rem", children: [
69
- /* @__PURE__ */ s(f, { variant: "md", fontWeight: 500, children: [
69
+ /* @__PURE__ */ r(v, { direction: "column", spacing: 1.5, children: /* @__PURE__ */ a(v, { direction: "row", gap: "0.25rem", children: [
70
+ /* @__PURE__ */ a(f, { variant: "md", fontWeight: 500, children: [
70
71
  "Step ",
71
72
  u
72
73
  ] }),
73
- /* @__PURE__ */ s(f, { variant: "md", fontWeight: 200, children: [
74
+ /* @__PURE__ */ a(f, { variant: "md", fontWeight: 200, children: [
74
75
  "of ",
75
76
  B
76
77
  ] })
77
78
  ] }) }),
78
79
  {
79
- 1: /* @__PURE__ */ o(
80
- C,
80
+ 1: /* @__PURE__ */ r(
81
+ q,
81
82
  {
82
83
  showAlertMessage: i,
83
84
  loader: n,
84
85
  registerInfo: e,
85
- dispatch: r,
86
+ dispatch: o,
86
87
  setRegisterInfo: x,
87
- setCurrentStep: p,
88
+ setCurrentStep: c,
88
89
  validationError: g,
89
90
  validationField: F
90
91
  }
91
92
  ),
92
- 2: /* @__PURE__ */ o(
93
- q,
93
+ 2: /* @__PURE__ */ r(
94
+ _,
94
95
  {
95
96
  showAlertMessage: i,
96
97
  loader: n,
97
98
  registerInfo: e,
98
99
  setRegisterInfo: x,
99
- dispatch: r,
100
+ dispatch: o,
100
101
  validationError: g,
101
- setCurrentStep: p
102
+ setCurrentStep: c
102
103
  }
103
104
  ),
104
- 3: /* @__PURE__ */ o(
105
- D,
105
+ 3: /* @__PURE__ */ r(
106
+ C,
106
107
  {
107
108
  showAlertMessage: i,
108
109
  loader: n,
109
110
  registerInfo: e,
110
- setCurrentStep: p,
111
+ setCurrentStep: c,
111
112
  initRegister: () => {
112
- r(
113
- V({
113
+ o(
114
+ U({
114
115
  first_name: e.firstName,
115
116
  last_name: e.lastName,
116
117
  email: e.email,
@@ -121,28 +122,28 @@ const O = ({ onRegister: v, navigate: E, navigatePath: h }) => {
121
122
  }
122
123
  }
123
124
  ),
124
- 4: /* @__PURE__ */ o(
125
- L,
125
+ 4: /* @__PURE__ */ r(
126
+ D,
126
127
  {
127
128
  showAlertMessage: i,
128
129
  loader: n,
129
130
  otpLoader: N,
130
131
  registerInfo: e,
131
- initVerifyRegister: (a) => {
132
- r(
133
- j({
132
+ initVerifyRegister: (s) => {
133
+ o(
134
+ V({
134
135
  first_name: e.firstName,
135
136
  last_name: e.lastName,
136
137
  email: e.email,
137
138
  // username: registerInfo.username,
138
139
  phone: "+1" + e.phone,
139
140
  storename: e.storeName + S,
140
- otp: a
141
+ otp: s
141
142
  })
142
143
  );
143
144
  },
144
145
  initReSendOtp: () => {
145
- r(z(e.email));
146
+ o(j(e.email));
146
147
  }
147
148
  }
148
149
  )
@@ -153,7 +154,7 @@ const O = ({ onRegister: v, navigate: E, navigatePath: h }) => {
153
154
  ]
154
155
  }
155
156
  );
156
- }, ce = W(O);
157
+ }, ce = T(O);
157
158
  export {
158
159
  ce as default
159
160
  };
@@ -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-BSdmHYnc.js";
6
- import { g as y } from "../../../../auth-C45E0xvK.js";
5
+ import "../../../../constants-t7n9qCW3.js";
6
+ import { g as y } from "../../../../auth-ClBgT--j.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-BSdmHYnc.js";
6
- import { g as w } from "../../../../auth-C45E0xvK.js";
5
+ import "../../../../constants-t7n9qCW3.js";
6
+ import { g as w } from "../../../../auth-ClBgT--j.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,28 +1,29 @@
1
1
  import { jsxs as x, Fragment as i, jsx as t } from "react/jsx-runtime";
2
- import "../../../constants-BSdmHYnc.js";
3
- import { a as T } from "../../../order-BKKCskeq.js";
2
+ import "../../../constants-t7n9qCW3.js";
3
+ import { a as T } from "../../../order-jqH948WM.js";
4
4
  import k from "../Shared/Button/index.js";
5
- import L from "../../Shared/HistoryItem/index.js";
6
- import { u as v, a as P } from "../../../react-redux-B4BZippc.js";
5
+ import v from "../../Shared/HistoryItem/index.js";
6
+ import { u as L } from "../../../react-redux-C7I9-1M6.js";
7
7
  import { useState as n, useEffect as c } from "react";
8
- import R from "../../../hoc/withThemeProvider.js";
9
- import S from "../Shared/backBtn.js";
8
+ import P from "../../../hoc/withThemeProvider.js";
9
+ import R from "../Shared/backBtn.js";
10
+ import S from "../../../hooks/useEverestDispatch.js";
10
11
  import { T as m } from "../../../Typography-pAaje37G.js";
11
12
  import { S as d } from "../../../Stack-k55YTxET.js";
12
13
  const j = ({ navigate: l }) => {
13
- const p = v(), o = P((r) => r.order), s = o.list, h = o.loader, f = o.totalPages, [e, g] = n(1), [a, u] = n([]);
14
+ const p = S(), o = L((r) => r.order), s = o.list, f = o.loader, h = o.totalPages, [e, g] = n(1), [a, u] = n([]);
14
15
  return c(() => {
15
16
  p(T(e));
16
17
  }, [e]), c(() => {
17
18
  u((r) => [...r, ...s]);
18
19
  }, [s]), /* @__PURE__ */ x(i, { children: [
19
- /* @__PURE__ */ t(S, { onClickHandler: () => l("/dashboard") }),
20
+ /* @__PURE__ */ t(R, { onClickHandler: () => l("/dashboard") }),
20
21
  /* @__PURE__ */ t(m, { variant: "lg", my: 2, fontWeight: 600, children: "Latest Transactions" }),
21
- /* @__PURE__ */ t(d, { direction: "column", spacing: 2, children: a.length > 0 ? /* @__PURE__ */ t(i, { children: a.map((r, y) => /* @__PURE__ */ t(L, { data: r }, y)) }) : /* @__PURE__ */ t(m, { className: "text-center", color: "primary", variant: "5xl", children: "No Records" }) }),
22
- a.length > 0 && f > e && /* @__PURE__ */ t(d, { direction: "row", justifyContent: "center", my: 2, children: /* @__PURE__ */ t(
22
+ /* @__PURE__ */ t(d, { direction: "column", spacing: 2, children: a.length > 0 ? /* @__PURE__ */ t(i, { children: a.map((r, y) => /* @__PURE__ */ t(v, { data: r }, y)) }) : /* @__PURE__ */ t(m, { className: "text-center", color: "primary", variant: "5xl", children: "No Records" }) }),
23
+ a.length > 0 && h > e && /* @__PURE__ */ t(d, { direction: "row", justifyContent: "center", my: 2, children: /* @__PURE__ */ t(
23
24
  k,
24
25
  {
25
- isLoading: h,
26
+ isLoading: f,
26
27
  variant: "outlined",
27
28
  onClick: () => g((r) => r + 1),
28
29
  sx: {
@@ -32,7 +33,7 @@ const j = ({ navigate: l }) => {
32
33
  }
33
34
  ) })
34
35
  ] });
35
- }, M = R(j);
36
+ }, W = P(j);
36
37
  export {
37
- M as default
38
+ W as default
38
39
  };