everest-npm-features 0.0.27 → 0.0.28

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 (33) hide show
  1. package/dist/{auth-SxpGte_3.js → auth-DoHhqFQx.js} +10 -10
  2. package/dist/components/RocketRamp/Player/SignIn/index.js +1 -1
  3. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +1 -1
  4. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +5 -5
  5. package/dist/components/RocketRamp/Player/SignUp/email.js +5 -5
  6. package/dist/components/RocketRamp/Player/SignUp/index.js +5 -5
  7. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +1 -1
  8. package/dist/components/RocketRamp/ResetPassword/index.js +1 -1
  9. package/dist/components/RocketRamp/Store/SignUp/index.js +10 -10
  10. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +1 -1
  11. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +5 -5
  12. package/dist/components/Shared/FullKyc/index.js +2 -2
  13. package/dist/components/Shared/FullKyc/pep.js +1 -1
  14. package/dist/components/Shared/FullKyc/personalDetails.js +2 -2
  15. package/dist/components/Shared/FullKyc/types.d.ts +1 -1
  16. package/dist/components/Shared/FullKyc/userInfo.js +1 -1
  17. package/dist/components/Wallet/EnterpriseKyc/index.js +79 -77
  18. package/dist/components/Wallet/Portfolio/dropdown.js +7 -7
  19. package/dist/components/Wallet/Portfolio/index.js +81 -77
  20. package/dist/components/Wallet/Shared/Auth/otpForm.js +1 -1
  21. package/dist/components/Wallet/Shared/Container/index.d.ts +3 -2
  22. package/dist/components/Wallet/Shared/Container/index.js +4 -3
  23. package/dist/components/Wallet/Shared/Order/paymentButton.js +13 -12
  24. package/dist/components/Wallet/SignIn/index.js +6 -6
  25. package/dist/components/Wallet/SignUp/index.js +184 -57
  26. package/dist/components/Wallet/SignUp/terms.d.ts +1 -6
  27. package/dist/components/Wallet/SignUp/terms.js +516 -563
  28. package/dist/{index-D8j7wPDM.js → index-Db73x3ti.js} +174 -174
  29. package/dist/main.js +1 -1
  30. package/dist/{pep-D8bFjgpy.js → pep-C_LViPSb.js} +200 -200
  31. package/dist/util/constants.d.ts +4 -0
  32. package/dist/util/constants.js +82 -78
  33. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import { jsx as R, jsxs as T, Fragment as X } from "react/jsx-runtime";
2
2
  import S, { useState as L, useEffect as Z } from "react";
3
3
  import "../../../../constants-BF50a6s-.js";
4
- import { l as ee } from "../../../../auth-SxpGte_3.js";
4
+ import { l as ee } from "../../../../auth-DoHhqFQx.js";
5
5
  import { RESEND_EMAIL_TIMER as _ } from "../../../../util/constants.js";
6
6
  import z from "../appButton.js";
7
7
  import { s as H } from "../../../../DefaultPropsProvider-4P82EuVL.js";
@@ -1,13 +1,14 @@
1
1
  import { default as React } from 'react';
2
- import { BoxProps, ContainerProps as MUIContainerProps } from '@mui/material';
2
+ import { BoxProps, ContainerProps as MUIContainerProps, SxProps } from '@mui/material';
3
3
  interface AppContainerProps extends MUIContainerProps {
4
4
  children: React.ReactNode;
5
5
  }
6
6
  interface AuthContainerProps extends BoxProps {
7
7
  children: React.ReactNode;
8
8
  addPadding?: boolean;
9
+ innerContainerSx?: SxProps;
9
10
  }
10
11
  declare const AppContainer: ({ children, ...rest }: AppContainerProps) => import("react/jsx-runtime").JSX.Element;
11
12
  export declare const AuthInnerContainer: ({ children, addPadding, sx, ...rest }: AuthContainerProps) => import("react/jsx-runtime").JSX.Element;
12
- export declare const AuthContainer: ({ children, addPadding, ...rest }: AuthContainerProps) => import("react/jsx-runtime").JSX.Element;
13
+ export declare const AuthContainer: ({ children, addPadding, innerContainerSx, ...rest }: AuthContainerProps) => import("react/jsx-runtime").JSX.Element;
13
14
  export default AppContainer;
@@ -54,7 +54,8 @@ const l = ({ children: r, ...n }) => /* @__PURE__ */ e(s, { component: "main", m
54
54
  ), m = ({
55
55
  children: r,
56
56
  addPadding: n,
57
- ...t
57
+ innerContainerSx: t,
58
+ ...o
58
59
  }) => /* @__PURE__ */ e(
59
60
  i,
60
61
  {
@@ -63,8 +64,8 @@ const l = ({ children: r, ...n }) => /* @__PURE__ */ e(s, { component: "main", m
63
64
  alignItems: "center",
64
65
  marginTop: "130px"
65
66
  },
66
- ...t,
67
- children: /* @__PURE__ */ e(a, { addPadding: n, children: r })
67
+ ...o,
68
+ children: /* @__PURE__ */ e(a, { sx: t, addPadding: n, children: r })
68
69
  }
69
70
  );
70
71
  export {
@@ -1,17 +1,17 @@
1
- import { jsxs as c, jsx as n } from "react/jsx-runtime";
2
- import { VISA_PAYMENT as A, VISA_PAYMENT_ACTIVE as m, SEPA_PAYMENT as p, SEPA_PAYMENT_ACTIVE as d } from "../../../../util/constants.js";
3
- import { B as l } from "../../../../Box-BwKpr_VI.js";
4
- import { T as f } from "../../../../Typography-BQDN44CM.js";
5
- const _ = ({
1
+ import { jsxs as c, jsx as a } from "react/jsx-runtime";
2
+ import { ENT_VISA_PAYMENT as A, ENT_VISA_PAYMENT_ACTIVE as p, ENT_SEPA_PAYMENT as m, ENT_SEPA_PAYMENT_ACTIVE as d } from "../../../../util/constants.js";
3
+ import { B as f } from "../../../../Box-BwKpr_VI.js";
4
+ import { T as l } from "../../../../Typography-BQDN44CM.js";
5
+ const u = ({
6
6
  paymentId: e,
7
7
  setPaymentId: s,
8
8
  value: t,
9
- label: a
9
+ label: n
10
10
  }) => {
11
11
  let i, r = !1, o;
12
- if (a === "credit_debit_card" ? (i = A, o = "Debit Card", e === t && (i = m, r = !0)) : (i = p, o = "Bank Account", e === t && (i = d, r = !0)), a)
12
+ if (n === "credit_debit_card" ? (i = A, o = "Debit Card", e === t && (i = p, r = !0)) : (i = m, o = "Bank Account", e === t && (i = d, r = !0)), n)
13
13
  return /* @__PURE__ */ c(
14
- l,
14
+ f,
15
15
  {
16
16
  mt: 0.5,
17
17
  mr: 1,
@@ -27,12 +27,13 @@ const _ = ({
27
27
  flexDirection: "column"
28
28
  },
29
29
  children: [
30
- /* @__PURE__ */ n("img", { src: i, alt: "payment", width: "90%" }),
31
- /* @__PURE__ */ n(
32
- f,
30
+ /* @__PURE__ */ a("img", { src: i, alt: "payment", width: "90%" }),
31
+ /* @__PURE__ */ a(
32
+ l,
33
33
  {
34
34
  fontWeight: 700,
35
35
  variant: "caption",
36
+ fontSize: "11px",
36
37
  sx: { color: r ? "#1A1A1A" : "#A3A3A3" },
37
38
  children: o
38
39
  }
@@ -42,5 +43,5 @@ const _ = ({
42
43
  );
43
44
  };
44
45
  export {
45
- _ as PaymentButton
46
+ u as PaymentButton
46
47
  };
@@ -5,8 +5,8 @@ import x from "../../../hoc/withThemeProvider.js";
5
5
  import O from "../Shared/Auth/emailForm.js";
6
6
  import R from "../Shared/Auth/otpForm.js";
7
7
  import "../../../constants-BF50a6s-.js";
8
- import { a as k, l as q, b as C } from "../../../auth-SxpGte_3.js";
9
- import v from "../Shared/Container/index.js";
8
+ import { a as k, l as q, v } from "../../../auth-DoHhqFQx.js";
9
+ import C from "../Shared/Container/index.js";
10
10
  import { LOGIN_SCREEN as f } from "../../../util/constants.js";
11
11
  import { useSnackBarContext as w } from "../../../context/snackBarContext.js";
12
12
  const A = ({ onLoginComplete: u, navigate: l }) => {
@@ -17,7 +17,7 @@ const A = ({ onLoginComplete: u, navigate: l }) => {
17
17
  r && s && u(r, s);
18
18
  }, [r, s]), c(() => {
19
19
  n && i({ message: n });
20
- }, [n]), /* @__PURE__ */ m(v, { children: g === 1 ? /* @__PURE__ */ m(
20
+ }, [n]), /* @__PURE__ */ m(C, { children: g === 1 ? /* @__PURE__ */ m(
21
21
  O,
22
22
  {
23
23
  showAlertMessage: i,
@@ -40,11 +40,11 @@ const A = ({ onLoginComplete: u, navigate: l }) => {
40
40
  dispatch: e,
41
41
  from: f,
42
42
  onValidateOtp: (t) => {
43
- e(C({ email: a, otp: t }));
43
+ e(v({ email: a, otp: t }));
44
44
  }
45
45
  }
46
46
  ) });
47
- }, _ = x(A);
47
+ }, b = x(A);
48
48
  export {
49
- _ as default
49
+ b as default
50
50
  };
@@ -1,67 +1,194 @@
1
- import { jsx as r } from "react/jsx-runtime";
2
- import { useState as f, useEffect as p } from "react";
3
- import { a as k, u as L } from "../../../react-redux-C7I9-1M6.js";
4
- import T from "../../../hoc/withThemeProvider.js";
5
- import x from "../Shared/Auth/emailForm.js";
6
- import B from "../Shared/Auth/otpForm.js";
1
+ import { jsx as r, jsxs as y } from "react/jsx-runtime";
2
+ import * as j from "react";
3
+ import { useState as u, useEffect as h } from "react";
4
+ import { a as w, u as B } from "../../../react-redux-C7I9-1M6.js";
5
+ import M from "../../../hoc/withThemeProvider.js";
6
+ import L from "../Shared/Auth/emailForm.js";
7
+ import N from "../Shared/Auth/otpForm.js";
7
8
  import "../../../constants-BF50a6s-.js";
8
- import { a as O, r as q, u as d, v } from "../../../auth-SxpGte_3.js";
9
- import C from "../Shared/Container/index.js";
10
- import { REGISTER_SCREEN as l } from "../../../util/constants.js";
9
+ import { a as P, h as U, i as k } from "../../../auth-DoHhqFQx.js";
10
+ import q from "../Shared/Container/index.js";
11
+ import { REGISTER_SCREEN as S } from "../../../util/constants.js";
11
12
  import V from "./terms.js";
12
- import { useSnackBarContext as w } from "../../../context/snackBarContext.js";
13
- const D = ({ onRegisterComplete: h, navigate: E }) => {
14
- const t = k(), o = L((e) => e.session), s = o.loader, g = o.otpLoader, A = o.screen, n = o.uuid, a = o.token, i = o.error, { showAlertMessage: c } = w(), [m, R] = f(""), [u, S] = f("");
15
- return p(() => () => {
16
- t(O());
17
- }, []), p(() => {
18
- n && a && h(n, a);
19
- }, [n, a]), p(() => {
20
- i && c({ message: i });
21
- }, [i]), /* @__PURE__ */ r(C, { children: {
22
- 1: /* @__PURE__ */ r(
23
- x,
24
- {
25
- showAlertMessage: c,
26
- loader: s,
27
- email: m,
28
- setEmail: R,
29
- navigate: E,
30
- from: l,
31
- onEmail: (e) => {
32
- t(q(e));
33
- }
13
+ import { useSnackBarContext as W } from "../../../context/snackBarContext.js";
14
+ import F from "../Shared/appButton.js";
15
+ import { D as I, a as Y } from "../../../DialogContent-_gvZOy18.js";
16
+ import { D as _ } from "../../../DialogTitle-dq22bYlF.js";
17
+ import { B as z } from "../../../Box-BwKpr_VI.js";
18
+ import { g as G, P as o } from "../../../createTheme-DmGCMO09.js";
19
+ import { c as H } from "../../../DefaultPropsProvider-CZh8M2jM.js";
20
+ import { g as X, s as J, u as K, c as Q } from "../../../DefaultPropsProvider-4P82EuVL.js";
21
+ function Z(t) {
22
+ return G("MuiDialogActions", t);
23
+ }
24
+ X("MuiDialogActions", ["root", "spacing"]);
25
+ const $ = (t) => {
26
+ const {
27
+ classes: i,
28
+ disableSpacing: e
29
+ } = t;
30
+ return Q({
31
+ root: ["root", !e && "spacing"]
32
+ }, Z, i);
33
+ }, oo = J("div", {
34
+ name: "MuiDialogActions",
35
+ slot: "Root",
36
+ overridesResolver: (t, i) => {
37
+ const {
38
+ ownerState: e
39
+ } = t;
40
+ return [i.root, !e.disableSpacing && i.spacing];
41
+ }
42
+ })({
43
+ display: "flex",
44
+ alignItems: "center",
45
+ padding: 8,
46
+ justifyContent: "flex-end",
47
+ flex: "0 0 auto",
48
+ variants: [{
49
+ props: ({
50
+ ownerState: t
51
+ }) => !t.disableSpacing,
52
+ style: {
53
+ "& > :not(style) ~ :not(style)": {
54
+ marginLeft: 8
34
55
  }
35
- ),
36
- 2: /* @__PURE__ */ r(
37
- B,
38
- {
39
- showAlertMessage: c,
40
- loader: s,
41
- otpLoader: g,
42
- email: m,
43
- otpVal: u,
44
- dispatch: alert,
45
- from: l,
46
- onValidateOtp: (e) => {
47
- S(e), t(d(3));
56
+ }
57
+ }]
58
+ }), C = /* @__PURE__ */ j.forwardRef(function(i, e) {
59
+ const s = K({
60
+ props: i,
61
+ name: "MuiDialogActions"
62
+ }), {
63
+ className: a,
64
+ disableSpacing: p = !1,
65
+ ...m
66
+ } = s, n = {
67
+ ...s,
68
+ disableSpacing: p
69
+ }, c = $(n);
70
+ return /* @__PURE__ */ r(oo, {
71
+ className: H(c.root, a),
72
+ ownerState: n,
73
+ ref: e,
74
+ ...m
75
+ });
76
+ });
77
+ process.env.NODE_ENV !== "production" && (C.propTypes = {
78
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
79
+ // │ These PropTypes are generated from the TypeScript type definitions. │
80
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
81
+ // └─────────────────────────────────────────────────────────────────────┘
82
+ /**
83
+ * The content of the component.
84
+ */
85
+ children: o.node,
86
+ /**
87
+ * Override or extend the styles applied to the component.
88
+ */
89
+ classes: o.object,
90
+ /**
91
+ * @ignore
92
+ */
93
+ className: o.string,
94
+ /**
95
+ * If `true`, the actions do not have additional margin.
96
+ * @default false
97
+ */
98
+ disableSpacing: o.bool,
99
+ /**
100
+ * The system prop that allows defining system overrides as well as additional CSS styles.
101
+ */
102
+ sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
103
+ });
104
+ const to = ({ onRegisterComplete: t, navigate: i }) => {
105
+ const e = w(), s = B((l) => l.session), a = s.loader, p = s.otpLoader, m = s.screen, n = s.uuid, c = s.token, d = s.error, { showAlertMessage: f } = W(), [A, x] = u(!1), [g, R] = u(""), [D, b] = u("");
106
+ h(() => () => {
107
+ e(P());
108
+ }, []), h(() => {
109
+ n && c && t(n, c);
110
+ }, [n, c]), h(() => {
111
+ d && f({ message: d });
112
+ }, [d]);
113
+ const E = (l) => {
114
+ e(U(l));
115
+ }, v = (l) => {
116
+ b(l), x(!0);
117
+ }, T = () => {
118
+ e(k({ email: g, otp: D }));
119
+ }, O = () => x(!1);
120
+ return /* @__PURE__ */ y(q, { children: [
121
+ {
122
+ 1: /* @__PURE__ */ r(
123
+ L,
124
+ {
125
+ showAlertMessage: f,
126
+ loader: a,
127
+ email: g,
128
+ setEmail: R,
129
+ navigate: i,
130
+ from: S,
131
+ onEmail: E
48
132
  }
49
- }
50
- ),
51
- 3: /* @__PURE__ */ r(
52
- V,
133
+ ),
134
+ 2: /* @__PURE__ */ r(
135
+ N,
136
+ {
137
+ showAlertMessage: f,
138
+ loader: a,
139
+ otpLoader: p,
140
+ email: g,
141
+ otpVal: D,
142
+ dispatch: alert,
143
+ from: S,
144
+ onValidateOtp: v
145
+ }
146
+ )
147
+ }[m],
148
+ /* @__PURE__ */ y(
149
+ I,
53
150
  {
54
- onAcceptTerms: () => {
55
- t(v({ email: m, otp: u }));
56
- },
57
- onAcceptBack: () => {
58
- t(d(2));
151
+ open: A,
152
+ onClose: O,
153
+ maxWidth: "sm",
154
+ fullWidth: !0,
155
+ PaperProps: {
156
+ sx: {
157
+ borderRadius: 3,
158
+ padding: 2
159
+ }
59
160
  },
60
- loader: s
161
+ children: [
162
+ /* @__PURE__ */ r(
163
+ _,
164
+ {
165
+ sx: {
166
+ textAlign: "center",
167
+ fontWeight: "bold",
168
+ fontSize: "1.25rem",
169
+ paddingBottom: 1
170
+ },
171
+ children: "Terms & Conditions"
172
+ }
173
+ ),
174
+ /* @__PURE__ */ r(Y, { dividers: !0, children: /* @__PURE__ */ r(
175
+ z,
176
+ {
177
+ sx: {
178
+ maxHeight: 300,
179
+ overflowY: "auto",
180
+ paddingX: 2,
181
+ paddingY: 1
182
+ },
183
+ children: /* @__PURE__ */ r(V, {})
184
+ }
185
+ ) }),
186
+ /* @__PURE__ */ r(C, { sx: { justifyContent: "center", paddingBottom: 2 }, children: /* @__PURE__ */ r(F, { isLoading: a, onClick: T, children: "Accept & Sign Up" }) })
187
+ ]
61
188
  }
62
189
  )
63
- }[A] });
64
- }, W = T(D);
190
+ ] });
191
+ }, Ao = M(to);
65
192
  export {
66
- W as default
193
+ Ao as default
67
194
  };
@@ -1,7 +1,2 @@
1
- interface TermsProps {
2
- loader: boolean;
3
- onAcceptTerms: () => void;
4
- onAcceptBack: () => void;
5
- }
6
- declare const Terms: ({ onAcceptTerms, onAcceptBack, loader }: TermsProps) => import("react/jsx-runtime").JSX.Element;
1
+ declare const Terms: () => import("react/jsx-runtime").JSX.Element;
7
2
  export default Terms;