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.
- package/dist/{PlayArrow-Cnrxi5yr.js → PlayArrow-C3uVNo4F.js} +1 -1
- package/dist/{auth-C45E0xvK.js → auth-ClBgT--j.js} +1 -1
- package/dist/{bank-DIdz4BaB.js → bank-Dz5km1qK.js} +3 -3
- package/dist/components/RocketRamp/MinimalKyc/form.js +14 -13
- package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
- package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
- package/dist/components/RocketRamp/Player/Buy/form.js +4 -4
- package/dist/components/RocketRamp/Player/Buy/index.js +12 -11
- package/dist/components/RocketRamp/Player/Dashboard/index.js +25 -24
- package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
- package/dist/components/RocketRamp/Player/Sell/form.js +4 -4
- package/dist/components/RocketRamp/Player/Sell/index.js +12 -11
- package/dist/components/RocketRamp/Player/SignIn/index.js +20 -19
- package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
- package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
- package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
- package/dist/components/RocketRamp/Player/SignUp/index.js +39 -38
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
- package/dist/components/RocketRamp/ResetPassword/index.js +21 -20
- package/dist/components/RocketRamp/Store/SignUp/index.js +48 -47
- package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
- package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
- package/dist/components/RocketRamp/Transactions/index.js +14 -13
- package/dist/components/Shared/FullKyc/edd.js +41 -41
- package/dist/components/Shared/FullKyc/index.js +11 -10
- package/dist/components/Shared/FullKyc/pep.js +1 -1
- package/dist/components/Shared/FullKyc/personalDetails.js +2 -2
- package/dist/components/Shared/FullKyc/userInfo.js +4 -4
- package/dist/components/Shared/MinimalKyc/index.js +31 -30
- package/dist/components/Wallet/Account/createIban.d.ts +2 -0
- package/dist/components/Wallet/Account/createIban.js +96 -88
- package/dist/components/Wallet/Account/eWallet.d.ts +20 -0
- package/dist/components/Wallet/Account/eWallet.js +118 -0
- package/dist/components/Wallet/Account/iban.d.ts +2 -0
- package/dist/components/Wallet/Account/iban.js +38 -32
- package/dist/components/Wallet/Account/ibanItem.d.ts +5 -2
- package/dist/components/Wallet/Account/ibanItem.js +233 -76
- package/dist/components/Wallet/Account/index.d.ts +2 -0
- package/dist/components/Wallet/Account/index.js +164 -143
- package/dist/components/Wallet/Account/sendIban.js +3 -3
- package/dist/components/Wallet/Buy/confirmTransaction.js +5 -5
- package/dist/components/Wallet/Buy/form.js +5 -5
- package/dist/components/Wallet/Buy/index.js +14 -13
- package/dist/components/Wallet/Deposit/index.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/edd.js +9 -9
- package/dist/components/Wallet/EnterpriseKyc/index.js +23 -22
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +24 -24
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/verify.js +1 -1
- package/dist/components/Wallet/History/index.js +25 -24
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +49 -48
- package/dist/components/Wallet/Portfolio/index.js +22 -21
- package/dist/components/Wallet/Portfolio/tokenRow.js +1 -1
- package/dist/components/Wallet/Profile/documents.js +34 -33
- package/dist/components/Wallet/Profile/index.js +20 -19
- package/dist/components/Wallet/Profile/storage.js +26 -26
- package/dist/components/Wallet/Receive/index.js +22 -21
- package/dist/components/Wallet/Sell/confirmTransaction.js +4 -4
- package/dist/components/Wallet/Sell/form.js +5 -5
- package/dist/components/Wallet/Sell/index.js +13 -12
- package/dist/components/Wallet/Send/index.js +19 -18
- package/dist/components/Wallet/Shared/Auth/otpForm.js +2 -2
- package/dist/components/Wallet/Shared/BankSelect/index.js +36 -35
- package/dist/components/Wallet/Shared/CardCorp/index.d.ts +1 -1
- package/dist/components/Wallet/Shared/CardCorp/index.js +16 -16
- package/dist/components/Wallet/Shared/addBank.js +39 -38
- package/dist/components/Wallet/Shared/connectPlaidBank.js +19 -18
- package/dist/components/Wallet/Shared/manualSend.js +6 -5
- package/dist/components/Wallet/SignIn/index.js +24 -23
- package/dist/components/Wallet/SignUp/index.js +22 -21
- package/dist/components/Wallet/Stake/index.js +30 -29
- package/dist/components/Wallet/Swap/form.js +8 -7
- package/dist/components/Wallet/Swap/index.js +11 -10
- package/dist/components/Wallet/Withdraw/bankSelect.js +28 -27
- package/dist/components/Wallet/Withdraw/confirmTransaction.js +4 -4
- package/dist/components/Wallet/Withdraw/form.js +4 -4
- package/dist/components/Wallet/Withdraw/index.js +12 -11
- package/dist/{constants-BSdmHYnc.js → constants-t7n9qCW3.js} +245 -244
- package/dist/{cryptoAssets-BdNVnpA_.js → cryptoAssets-shEFU26O.js} +1 -1
- package/dist/hooks/useEverestDispatch.d.ts +6 -0
- package/dist/hooks/useEverestDispatch.js +5 -0
- package/dist/{index-Be3ndI6s.js → index-B6MSTmAM.js} +104 -103
- package/dist/{index-HZ9RrpTC.js → index-C2EjFXaz.js} +87 -86
- package/dist/{index-BXF4OI74.js → index-Cs7bSfT3.js} +17 -16
- package/dist/{index-D3OzGVxQ.js → index-DFRU-R-5.js} +38 -37
- package/dist/{index-CRyby3Qm.js → index-Da0r8FX2.js} +11 -10
- package/dist/{index-BlfzmV5M.js → index-RDV0mQbt.js} +36 -35
- package/dist/{index-Cvp4wWrB.js → index-j0zehpzg.js} +40 -39
- package/dist/{kyc-BQsiHtP6.js → kyc-D9xahfH9.js} +1 -1
- package/dist/main.js +7 -7
- package/dist/{order-BKKCskeq.js → order-jqH948WM.js} +29 -25
- package/dist/{react-redux-B4BZippc.js → react-redux-C7I9-1M6.js} +2 -2
- package/dist/{stake-WjG22nIX.js → stake-Dcq6QpaA.js} +3 -3
- package/dist/{tokenRow-D32W5WH3.js → tokenRow-B-tustzZ.js} +8 -6
- package/dist/util/constants.d.ts +2 -0
- package/dist/util/constants.js +21 -19
- package/dist/{wallet-BXA-R-Ks.js → wallet-DpkUmmq0.js} +1 -1
- package/package.json +3 -2
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import { jsxs as
|
|
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
|
|
5
|
-
import
|
|
6
|
-
import { L as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import "../../../../constants-
|
|
12
|
-
import { a as
|
|
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
|
|
16
|
-
import { S as
|
|
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:
|
|
19
|
-
const a =
|
|
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(
|
|
28
|
+
a(q());
|
|
28
29
|
}, []), f(() => {
|
|
29
|
-
p && c && (
|
|
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(
|
|
35
|
+
a(U(o));
|
|
35
36
|
}, y = () => {
|
|
36
37
|
a(
|
|
37
|
-
|
|
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:
|
|
44
|
+
storename: s
|
|
44
45
|
})
|
|
45
46
|
);
|
|
46
47
|
};
|
|
47
|
-
return /* @__PURE__ */
|
|
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(
|
|
63
|
-
/* @__PURE__ */
|
|
64
|
-
|
|
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__ */
|
|
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__ */
|
|
82
|
-
/* @__PURE__ */
|
|
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__ */
|
|
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
|
-
|
|
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:
|
|
103
|
+
storeName: s,
|
|
103
104
|
validationError: x,
|
|
104
105
|
setCurrentStep: d
|
|
105
106
|
}
|
|
106
107
|
),
|
|
107
108
|
2: /* @__PURE__ */ t(
|
|
108
|
-
|
|
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:
|
|
118
|
+
storeName: s
|
|
118
119
|
}
|
|
119
120
|
),
|
|
120
121
|
3: /* @__PURE__ */ t(
|
|
121
|
-
|
|
122
|
+
L,
|
|
122
123
|
{
|
|
123
124
|
showAlertMessage: n,
|
|
124
125
|
loader: m,
|
|
125
126
|
registerInfo: e,
|
|
126
|
-
storeName:
|
|
127
|
+
storeName: s,
|
|
127
128
|
setCurrentStep: d,
|
|
128
129
|
initRegister: y
|
|
129
130
|
}
|
|
130
131
|
),
|
|
131
132
|
4: /* @__PURE__ */ t(
|
|
132
|
-
|
|
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
|
-
|
|
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:
|
|
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
|
-
},
|
|
162
|
+
}, ce = I(z);
|
|
162
163
|
export {
|
|
163
|
-
|
|
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-
|
|
6
|
-
import { f as S } from "../../../../auth-
|
|
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
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { u as g
|
|
5
|
-
import { useEffect as
|
|
6
|
-
import "../../../constants-
|
|
7
|
-
import { e as
|
|
8
|
-
import { useSnackBarContext as
|
|
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 } =
|
|
14
|
-
return
|
|
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]),
|
|
17
|
-
|
|
17
|
+
}, [e]), a(() => {
|
|
18
|
+
s.resetPasswordSuccess && (o({
|
|
18
19
|
message: "Reset Password has been done successfully.",
|
|
19
20
|
type: "success"
|
|
20
21
|
}), m());
|
|
21
|
-
}, [
|
|
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__ */
|
|
32
|
-
/* @__PURE__ */
|
|
33
|
-
/* @__PURE__ */
|
|
34
|
-
t || l(
|
|
35
|
-
}, fullWidth: !0, children: /* @__PURE__ */
|
|
36
|
-
/* @__PURE__ */
|
|
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 =
|
|
43
|
+
}, z = f(P);
|
|
43
44
|
export {
|
|
44
45
|
z as default
|
|
45
46
|
};
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import { jsxs as
|
|
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
|
|
5
|
-
import
|
|
6
|
-
import { L as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import "../../../../constants-
|
|
12
|
-
import { a as
|
|
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
|
|
18
|
-
const O = ({ onRegister:
|
|
19
|
-
const
|
|
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
|
-
|
|
28
|
+
o(L());
|
|
28
29
|
}, []), d(() => {
|
|
29
|
-
m && l && (
|
|
30
|
+
m && l && (y(m, l), E(h || "/dashboard"));
|
|
30
31
|
}, [m, l]), d(() => {
|
|
31
|
-
|
|
32
|
-
}, [
|
|
33
|
-
const
|
|
34
|
-
|
|
32
|
+
p && i({ message: p });
|
|
33
|
+
}, [p]);
|
|
34
|
+
const c = (s) => {
|
|
35
|
+
o(A(s));
|
|
35
36
|
};
|
|
36
|
-
return /* @__PURE__ */
|
|
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__ */
|
|
52
|
-
/* @__PURE__ */
|
|
53
|
-
/* @__PURE__ */
|
|
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__ */
|
|
69
|
-
/* @__PURE__ */
|
|
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__ */
|
|
74
|
+
/* @__PURE__ */ a(f, { variant: "md", fontWeight: 200, children: [
|
|
74
75
|
"of ",
|
|
75
76
|
B
|
|
76
77
|
] })
|
|
77
78
|
] }) }),
|
|
78
79
|
{
|
|
79
|
-
1: /* @__PURE__ */
|
|
80
|
-
|
|
80
|
+
1: /* @__PURE__ */ r(
|
|
81
|
+
q,
|
|
81
82
|
{
|
|
82
83
|
showAlertMessage: i,
|
|
83
84
|
loader: n,
|
|
84
85
|
registerInfo: e,
|
|
85
|
-
dispatch:
|
|
86
|
+
dispatch: o,
|
|
86
87
|
setRegisterInfo: x,
|
|
87
|
-
setCurrentStep:
|
|
88
|
+
setCurrentStep: c,
|
|
88
89
|
validationError: g,
|
|
89
90
|
validationField: F
|
|
90
91
|
}
|
|
91
92
|
),
|
|
92
|
-
2: /* @__PURE__ */
|
|
93
|
-
|
|
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:
|
|
100
|
+
dispatch: o,
|
|
100
101
|
validationError: g,
|
|
101
|
-
setCurrentStep:
|
|
102
|
+
setCurrentStep: c
|
|
102
103
|
}
|
|
103
104
|
),
|
|
104
|
-
3: /* @__PURE__ */
|
|
105
|
-
|
|
105
|
+
3: /* @__PURE__ */ r(
|
|
106
|
+
C,
|
|
106
107
|
{
|
|
107
108
|
showAlertMessage: i,
|
|
108
109
|
loader: n,
|
|
109
110
|
registerInfo: e,
|
|
110
|
-
setCurrentStep:
|
|
111
|
+
setCurrentStep: c,
|
|
111
112
|
initRegister: () => {
|
|
112
|
-
|
|
113
|
-
|
|
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__ */
|
|
125
|
-
|
|
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: (
|
|
132
|
-
|
|
133
|
-
|
|
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:
|
|
141
|
+
otp: s
|
|
141
142
|
})
|
|
142
143
|
);
|
|
143
144
|
},
|
|
144
145
|
initReSendOtp: () => {
|
|
145
|
-
|
|
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 =
|
|
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-
|
|
6
|
-
import { g as y } from "../../../../auth-
|
|
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-
|
|
6
|
-
import { g as w } from "../../../../auth-
|
|
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-
|
|
3
|
-
import { a as T } from "../../../order-
|
|
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
|
|
6
|
-
import { u as
|
|
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
|
|
9
|
-
import
|
|
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 =
|
|
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(
|
|
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(
|
|
22
|
-
a.length > 0 &&
|
|
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:
|
|
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
|
-
},
|
|
36
|
+
}, W = P(j);
|
|
36
37
|
export {
|
|
37
|
-
|
|
38
|
+
W as default
|
|
38
39
|
};
|