everest-npm-features 0.0.1
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/README.md +3 -0
- package/dist/ArrowRight-C6tjImpU.js +300 -0
- package/dist/Box-wAem3MQD.js +58 -0
- package/dist/Button-fWdSk-yh.js +451 -0
- package/dist/ButtonBase-SYP7klDp.js +876 -0
- package/dist/CircularProgress-DcXA6nAu.js +249 -0
- package/dist/Close-CdRA3xUs.js +75 -0
- package/dist/Container-CIMHcpEe.js +181 -0
- package/dist/ContentCopy-CexUUXuC.js +8 -0
- package/dist/DefaultPropsProvider-Y8MI-J-I.js +555 -0
- package/dist/DialogContent-JgT9A6nk.js +501 -0
- package/dist/FormControl-D4QuPCnV.js +249 -0
- package/dist/GlobalStyles-BOnEiMUE.js +23 -0
- package/dist/Grid-dtT_MVn3.js +501 -0
- package/dist/Grow-B3Swdn2Z.js +215 -0
- package/dist/IconButton-CRGy76pJ.js +237 -0
- package/dist/Modal-0q_y4zbS.js +1170 -0
- package/dist/Select-BNAaKK32.js +4046 -0
- package/dist/Slide-BlS6unRJ.js +229 -0
- package/dist/TextField-CPZo0_di.js +963 -0
- package/dist/TransitionGroupContext-VwpFXTPO.js +43 -0
- package/dist/Typography-kyxogyUq.js +256 -0
- package/dist/__vite-browser-external-DYxpcVy9-DYxpcVy9.js +4 -0
- package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
- package/dist/assets/documents.css +1 -0
- package/dist/assets/index.css +1 -0
- package/dist/assets/index2.css +1 -0
- package/dist/assets/keyboard.css +1 -0
- package/dist/assets/styles.css +1 -0
- package/dist/assets/styles2.css +1 -0
- package/dist/assets/tokenRow.css +1 -0
- package/dist/assets/withThemeProvider.css +1 -0
- package/dist/auth-Cj5FKr_m.js +19 -0
- package/dist/axios-xPiQW9EP.js +118114 -0
- package/dist/components/Profile/documents.d.ts +6 -0
- package/dist/components/Profile/documents.js +24 -0
- package/dist/components/Profile/index.d.ts +6 -0
- package/dist/components/Profile/index.js +592 -0
- package/dist/components/Receive/index.d.ts +2 -0
- package/dist/components/Receive/index.js +75 -0
- package/dist/components/Send/index.d.ts +6 -0
- package/dist/components/Send/index.js +387 -0
- package/dist/components/Shared/Keyboard/index.d.ts +1 -0
- package/dist/components/Shared/Keyboard/index.js +4 -0
- package/dist/components/Shared/Keyboard/keyboard.d.ts +8 -0
- package/dist/components/Shared/Keyboard/keyboard.js +152 -0
- package/dist/components/Shared/button.d.ts +11 -0
- package/dist/components/Shared/button.js +64 -0
- package/dist/components/Shared/incode.d.ts +20 -0
- package/dist/components/Shared/incode.js +202 -0
- package/dist/components/Shared/inputField.d.ts +7 -0
- package/dist/components/Shared/inputField.js +48 -0
- package/dist/components/Shared/pin.d.ts +9 -0
- package/dist/components/Shared/pin.js +96 -0
- package/dist/components/Shared/step.d.ts +8 -0
- package/dist/components/Shared/step.js +48 -0
- package/dist/components/Shared/transition.d.ts +7 -0
- package/dist/components/Shared/transition.js +11 -0
- package/dist/components/SignIn/index.d.ts +4 -0
- package/dist/components/SignIn/index.js +266 -0
- package/dist/components/SignIn/types.d.ts +7 -0
- package/dist/components/SignIn/types.js +1 -0
- package/dist/components/SignUp/biometric.d.ts +3 -0
- package/dist/components/SignUp/biometric.js +77 -0
- package/dist/components/SignUp/index.d.ts +3 -0
- package/dist/components/SignUp/index.js +393 -0
- package/dist/components/SignUp/pin.d.ts +3 -0
- package/dist/components/SignUp/pin.js +950 -0
- package/dist/components/SignUp/privacy.d.ts +2 -0
- package/dist/components/SignUp/privacy.js +259 -0
- package/dist/components/SignUp/terms.d.ts +2 -0
- package/dist/components/SignUp/terms.js +524 -0
- package/dist/components/SignUp/types.d.ts +54 -0
- package/dist/components/SignUp/types.js +1 -0
- package/dist/components/SignUp/userInfo.d.ts +3 -0
- package/dist/components/SignUp/userInfo.js +47 -0
- package/dist/components/WalletPortfolio/index.d.ts +3 -0
- package/dist/components/WalletPortfolio/index.js +557 -0
- package/dist/components/WalletPortfolio/tokenRow.d.ts +17 -0
- package/dist/components/WalletPortfolio/tokenRow.js +11 -0
- package/dist/components/WalletPortfolio/types.d.ts +10 -0
- package/dist/components/WalletPortfolio/types.js +1 -0
- package/dist/createSimplePaletteValueFilter-CsgjlRAs.js +659 -0
- package/dist/createSvgIcon-CAZr4ukt.js +249 -0
- package/dist/createTheme-NrBCWesw.js +3386 -0
- package/dist/debounce-46wSf_lW.js +15 -0
- package/dist/defaultTheme-OIfL8Ia7.js +5 -0
- package/dist/dialog-success-BDNJV4Tk.js +4 -0
- package/dist/dividerClasses-Z7VLlu5C.js +10 -0
- package/dist/documents-CL4Ajr_B.js +569 -0
- package/dist/exactProp-C1Lmtwf_.js +13 -0
- package/dist/extendSxProp-CuERe1TA.js +37 -0
- package/dist/hoc/withThemeProvider.d.ts +6 -0
- package/dist/hoc/withThemeProvider.js +635 -0
- package/dist/hooks/useDialog/index.d.ts +5 -0
- package/dist/hooks/useDialog/index.js +78 -0
- package/dist/hooks/useDialog/types.d.ts +14 -0
- package/dist/hooks/useDialog/types.js +1 -0
- package/dist/hooks/useSnackBar.d.ts +14 -0
- package/dist/hooks/useSnackBar.js +968 -0
- package/dist/index-CAoLi5Qq.js +827 -0
- package/dist/index-Cq3eHOnB.js +22 -0
- package/dist/index-DKTkUdik.js +6 -0
- package/dist/index-iAyNk1r6.js +72 -0
- package/dist/main.d.ts +7 -0
- package/dist/main.js +16 -0
- package/dist/pin-empty-D9665KFr.js +6 -0
- package/dist/react-redux-VW99uJjf.js +5908 -0
- package/dist/react-webcam-Cov1TP0q.js +639 -0
- package/dist/styled-Da6GnxEE.js +5 -0
- package/dist/styles.module-Ctfaq7f2.js +10 -0
- package/dist/styles.module-KeND8lCR.js +9 -0
- package/dist/tokenRow-Cdd_jFjp.js +206 -0
- package/dist/useFormControl-Bo6Tf_xo.js +46 -0
- package/dist/useSlot-CURNJ3JC.js +306 -0
- package/dist/useTheme-DWRMvRU8.js +9 -0
- package/dist/useTheme-nlj1B_-c.js +11 -0
- package/dist/useThemeProps-BqWuFW3z.js +40 -0
- package/dist/useThemeWithoutDefault-BdYkMk0o.js +12 -0
- package/dist/useTimeout-lr7ryrda.js +75 -0
- package/dist/util/constants.d.ts +20 -0
- package/dist/util/constants.js +23 -0
- package/dist/util/conversions.d.ts +9 -0
- package/dist/util/conversions.js +22284 -0
- package/dist/util/functions.d.ts +15 -0
- package/dist/util/functions.js +94 -0
- package/dist/utils-_FXWkn40.js +19473 -0
- package/dist/wallet-DN7ej6mj.js +273 -0
- package/package.json +59 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { DialogOptions } from '../../hooks/useDialog/types';
|
|
2
|
+
import { SnackBarParams } from '../../hooks/useSnackBar';
|
|
3
|
+
interface defaultProps {
|
|
4
|
+
incodeApiUrl: string;
|
|
5
|
+
incodeApiKey: string;
|
|
6
|
+
inCodeFlowId: string;
|
|
7
|
+
incodeOnBoardingUrl: string;
|
|
8
|
+
}
|
|
9
|
+
export interface SignUpProps extends defaultProps {
|
|
10
|
+
apiBaseUrl: string;
|
|
11
|
+
walletUrl: string;
|
|
12
|
+
navigate: any;
|
|
13
|
+
onCreactAccount: (uuid: string, token: string) => void;
|
|
14
|
+
organization?: string;
|
|
15
|
+
connectWalletAddress?: string;
|
|
16
|
+
service?: string;
|
|
17
|
+
referralCode?: string;
|
|
18
|
+
twitterFlow?: boolean;
|
|
19
|
+
isNonMlmCampaign?: boolean;
|
|
20
|
+
isExchangeCampaign?: boolean;
|
|
21
|
+
isMobile?: boolean;
|
|
22
|
+
navigatePath?: string;
|
|
23
|
+
}
|
|
24
|
+
export interface BiometricProps extends defaultProps {
|
|
25
|
+
service: string;
|
|
26
|
+
setUuid: React.Dispatch<React.SetStateAction<string>>;
|
|
27
|
+
setShowScreen: React.Dispatch<React.SetStateAction<string>>;
|
|
28
|
+
setIncodeSessiontoken: React.Dispatch<React.SetStateAction<string>>;
|
|
29
|
+
setConfirmDialog: (data: DialogOptions) => void;
|
|
30
|
+
navigate: any;
|
|
31
|
+
}
|
|
32
|
+
export interface UserInfo {
|
|
33
|
+
email: string;
|
|
34
|
+
}
|
|
35
|
+
export interface UserInfoProps {
|
|
36
|
+
userInfo: UserInfo;
|
|
37
|
+
setUserInfo: React.Dispatch<React.SetStateAction<{
|
|
38
|
+
email: string;
|
|
39
|
+
}>>;
|
|
40
|
+
setShowScreen: React.Dispatch<React.SetStateAction<string>>;
|
|
41
|
+
showAlertMessage: (params: SnackBarParams) => void;
|
|
42
|
+
}
|
|
43
|
+
export interface PinProps {
|
|
44
|
+
showAlertMessage: (params: SnackBarParams) => void;
|
|
45
|
+
setAccountPin: React.Dispatch<React.SetStateAction<string>>;
|
|
46
|
+
loading: boolean;
|
|
47
|
+
}
|
|
48
|
+
export interface AccountData {
|
|
49
|
+
session_id: string;
|
|
50
|
+
profile: any;
|
|
51
|
+
pin: string;
|
|
52
|
+
referralCode?: string;
|
|
53
|
+
}
|
|
54
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { jsxs as u, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useState as o } from "react";
|
|
3
|
+
import { useSnackBar as p } from "../../hooks/useSnackBar.js";
|
|
4
|
+
import { s as h } from "../../styles.module-KeND8lCR.js";
|
|
5
|
+
import x from "../Shared/button.js";
|
|
6
|
+
import { C as g } from "../../Container-CIMHcpEe.js";
|
|
7
|
+
import { T } from "../../Typography-kyxogyUq.js";
|
|
8
|
+
import { T as v, F as y } from "../../TextField-CPZo0_di.js";
|
|
9
|
+
const j = ({ userInfo: l, setUserInfo: s, setShowScreen: i }) => {
|
|
10
|
+
const { showAlertMessage: n, snackBar: m } = p(), [r, d] = o(l.email || ""), [t, a] = o(!1), c = () => {
|
|
11
|
+
if (a(!1), !r)
|
|
12
|
+
return a(!0), n({ message: "Please enter email" }), !1;
|
|
13
|
+
s({ email: r }), i("pin");
|
|
14
|
+
};
|
|
15
|
+
return /* @__PURE__ */ u(g, { component: "div", maxWidth: "sm", children: [
|
|
16
|
+
m,
|
|
17
|
+
/* @__PURE__ */ e(T, { variant: "h5", children: /* @__PURE__ */ e("strong", { children: "Enter your email" }) }),
|
|
18
|
+
/* @__PURE__ */ e(
|
|
19
|
+
v,
|
|
20
|
+
{
|
|
21
|
+
sx: { mt: 3 },
|
|
22
|
+
inputProps: { style: { WebkitTextFillColor: "#000000" } },
|
|
23
|
+
variant: "outlined",
|
|
24
|
+
label: "Email",
|
|
25
|
+
value: r,
|
|
26
|
+
onChange: (f) => d(f.target.value),
|
|
27
|
+
error: t,
|
|
28
|
+
fullWidth: !0,
|
|
29
|
+
required: !0
|
|
30
|
+
}
|
|
31
|
+
),
|
|
32
|
+
t && /* @__PURE__ */ e(y, { className: h["text-field-helper-error"], children: "*Mandatory field" }),
|
|
33
|
+
/* @__PURE__ */ e(
|
|
34
|
+
x,
|
|
35
|
+
{
|
|
36
|
+
onClick: c,
|
|
37
|
+
className: "sdk-theme-btn normal-text",
|
|
38
|
+
variant: "contained",
|
|
39
|
+
fullWidth: !0,
|
|
40
|
+
children: /* @__PURE__ */ e("strong", { children: "Next" })
|
|
41
|
+
}
|
|
42
|
+
)
|
|
43
|
+
] });
|
|
44
|
+
};
|
|
45
|
+
export {
|
|
46
|
+
j as default
|
|
47
|
+
};
|