everest-npm-features 0.0.15 → 0.0.16
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/{Alert-DleEulFt.js → Alert-BhBjKBJe.js} +9 -9
- package/dist/{ArrowBack-DlpUhUax.js → ArrowBack-BT4ZQvY3.js} +1 -1
- package/dist/{ArrowDropDown-B4n-Or06.js → ArrowDropDown-CzeT8wh0.js} +1 -1
- package/dist/{ArrowRight-Dqbjrbq7.js → ArrowRight-CZV_yDgu.js} +1 -1
- package/dist/Backdrop-Cwqacwk8.js +359 -0
- package/dist/{Box-Dg5YL71c.js → Box-rIIGCyb6.js} +4 -4
- package/dist/{Button-URmXuR7L.js → Button-Csuq67Py.js} +4 -4
- package/dist/{ButtonBase-DMZ5Yya_.js → ButtonBase-DC2O2INs.js} +5 -5
- package/dist/{Cancel-W4CL5EwJ.js → Cancel-Ch0B8nr4.js} +1 -1
- package/dist/{CardContent-DK3Z3N6m.js → CardContent-KUuSGQyI.js} +3 -3
- package/dist/{CircularProgress-BShHoQbM.js → CircularProgress-CBhr9Pli.js} +3 -3
- package/dist/{Close-Drz_1Cma.js → Close-Dv525LOL.js} +1 -1
- package/dist/{Container-DOt_WDG9.js → Container-CBfJit1k.js} +4 -4
- package/dist/{ContentCopy-CSmkb1dz.js → ContentCopy-DJHPK7G4.js} +1 -1
- package/dist/{DefaultPropsProvider-5tIQ66gk.js → DefaultPropsProvider-C9ddiClG.js} +1 -1
- package/dist/{DefaultPropsProvider-D1ZRCAhv.js → DefaultPropsProvider-Dta6YfYA.js} +3 -3
- package/dist/{Delete-BeH9eSuy.js → Delete-D8ao9Ydc.js} +1 -1
- package/dist/{DialogContent-CntTpnUi.js → DialogContent-BLqflo8C.js} +11 -10
- package/dist/{DialogTitle-DUNaosnR.js → DialogTitle-DsyiXz12.js} +4 -4
- package/dist/{Divider-B-PuJDLx.js → Divider-B0HAAjZ-.js} +3 -3
- package/dist/{ErrorOutline-D7__T0wX.js → ErrorOutline-BIlI9R1l.js} +1 -1
- package/dist/FileDownload-71XI8nQB.js +11 -0
- package/dist/{FilledInput-CAtG9Qdk.js → FilledInput-Bvhqpjsa.js} +265 -289
- package/dist/{FormControl-2O9G0Uio.js → FormControl-uQi14shL.js} +11 -10
- package/dist/FormControlLabel-CiZDlj3X.js +488 -0
- package/dist/{GlobalStyles-DA0jAD4D.js → GlobalStyles-yJPIbrEZ.js} +2 -2
- package/dist/{Grid-D9MNL9_a.js → Grid-C6plET3a.js} +5 -5
- package/dist/{Grid2-CYB7zT__.js → Grid2-DJW3x_WO.js} +6 -6
- package/dist/{Grow-h-Gdo-9N.js → Grow-DcFPfGou.js} +6 -6
- package/dist/{IconButton-C9zoz_co.js → IconButton-DRnoPKKH.js} +3 -3
- package/dist/{Info--iLHF6tO.js → Info-DPMWjNcQ.js} +1 -1
- package/dist/{InputAdornment-DjDZEW73.js → InputAdornment-BStVwy6a.js} +15 -15
- package/dist/Link-DeejAzmE.js +263 -0
- package/dist/{ListItemIcon-DnbnPcmb.js → ListItemIcon-BO6nZHNq.js} +4 -4
- package/dist/{MenuItem-CwNgel9B.js → MenuItem-BKHoKEhO.js} +6 -6
- package/dist/Modal-HocZM2zy.js +745 -0
- package/dist/{Paper-C3LLozy7.js → Paper-DFrj5M9m.js} +3 -3
- package/dist/{PlayArrow-C5Pcs6y3.js → PlayArrow-Dent7shn.js} +4 -4
- package/dist/Portal-CIaLgwgF.js +70 -0
- package/dist/RadioGroup-0FcLpiQv.js +187 -0
- package/dist/{Select-D3_7Y7hs.js → Select-BsqVGicz.js} +65 -62
- package/dist/{Slide-BKeUzqUD.js → Slide-B08-4SSu.js} +11 -10
- package/dist/{Stack-DcyCfYaK.js → Stack-CZu3N-Ba.js} +5 -5
- package/dist/SwitchBase-uAFZgVI7.js +261 -0
- package/dist/{TextField-q50CZQKQ.js → TextField-BtFFWrf2.js} +21 -19
- package/dist/{Transition-DMUpKF8t.js → Transition-BZNWAtwm.js} +1 -1
- package/dist/{Typography-D7sM-Gzr.js → Typography-DiFeMX5p.js} +3 -3
- package/dist/{auth-CmU-Oza0.js → auth-PInt5Jrb.js} +1 -1
- package/dist/{bank-DLbq9Bzw.js → bank-BDnnvwyk.js} +3 -3
- package/dist/components/RocketRamp/MinimalKyc/form.js +8 -8
- package/dist/components/RocketRamp/MinimalKyc/index.js +1 -1
- package/dist/components/RocketRamp/Player/Buy/cardPayment.js +7 -7
- package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +7 -7
- package/dist/components/RocketRamp/Player/Buy/form.js +15 -15
- package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
- package/dist/components/RocketRamp/Player/Dashboard/balance.js +7 -7
- package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
- package/dist/components/RocketRamp/Player/Dashboard/transaction.js +4 -4
- package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +10 -10
- package/dist/components/RocketRamp/Player/Sell/form.js +15 -15
- package/dist/components/RocketRamp/Player/Sell/index.js +6 -6
- package/dist/components/RocketRamp/Player/SignIn/index.js +5 -5
- package/dist/components/RocketRamp/Player/SignIn/loginForm.js +5 -5
- package/dist/components/RocketRamp/Player/SignIn/otpForm.js +5 -5
- package/dist/components/RocketRamp/Player/SignUp/email.js +5 -5
- package/dist/components/RocketRamp/Player/SignUp/index.js +6 -6
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +11 -10
- package/dist/components/RocketRamp/Player/SignUp/summary.js +3 -3
- package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +3 -3
- package/dist/components/RocketRamp/ResetPassword/index.js +5 -5
- package/dist/components/RocketRamp/Shared/Button/index.js +2 -2
- package/dist/components/RocketRamp/Shared/Input/index.js +5 -5
- package/dist/components/RocketRamp/Shared/backBtn.js +3 -3
- package/dist/components/RocketRamp/Shared/transactionItem.js +5 -5
- package/dist/components/RocketRamp/Store/Dashboard/balance.js +6 -6
- package/dist/components/RocketRamp/Store/Dashboard/index.js +2 -2
- package/dist/components/RocketRamp/Store/Dashboard/stats.js +6 -6
- package/dist/components/RocketRamp/Store/Dashboard/transaction.js +4 -4
- package/dist/components/RocketRamp/Store/SignUp/index.js +6 -6
- package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +24 -23
- package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +7 -7
- package/dist/components/RocketRamp/Store/SignUp/summary.js +3 -3
- package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +3 -3
- package/dist/components/RocketRamp/Transactions/index.js +4 -4
- package/dist/components/Shared/HistoryItem/index.js +7 -7
- package/dist/components/Shared/MinimalKyc/index.d.ts +2 -2
- package/dist/components/Shared/MinimalKyc/index.js +72 -70
- package/dist/components/Shared/loader.d.ts +4 -0
- package/dist/components/Shared/loader.js +17 -0
- package/dist/components/Shared/tooltip.js +23 -21
- package/dist/components/Shared/transition.js +1 -1
- package/dist/components/Wallet/Account/createIban.js +49 -51
- package/dist/components/Wallet/Account/iban.js +15 -15
- package/dist/components/Wallet/Account/index.js +16 -16
- package/dist/components/Wallet/Account/sendIban.js +19 -19
- package/dist/components/Wallet/Buy/confirmTransaction.js +7 -7
- package/dist/components/Wallet/Buy/form.js +16 -16
- package/dist/components/Wallet/Buy/index.js +5 -5
- package/dist/components/Wallet/EnterpriseKyc/edd.d.ts +3 -0
- package/dist/components/Wallet/EnterpriseKyc/edd.js +154 -0
- package/dist/components/Wallet/EnterpriseKyc/index.d.ts +3 -0
- package/dist/components/Wallet/EnterpriseKyc/index.js +296 -0
- package/dist/components/Wallet/EnterpriseKyc/individualKyc.d.ts +3 -0
- package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +52 -0
- package/dist/components/Wallet/EnterpriseKyc/input.d.ts +3 -0
- package/dist/components/Wallet/EnterpriseKyc/input.js +24 -0
- package/dist/components/Wallet/EnterpriseKyc/kybIntro.d.ts +3 -0
- package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +27 -0
- package/dist/components/Wallet/EnterpriseKyc/kybTerms.d.ts +3 -0
- package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +17 -0
- package/dist/components/Wallet/EnterpriseKyc/kycType.d.ts +3 -0
- package/dist/components/Wallet/EnterpriseKyc/kycType.js +43 -0
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.d.ts +3 -0
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +238 -0
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.d.ts +3 -0
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +189 -0
- package/dist/components/Wallet/EnterpriseKyc/success.d.ts +3 -0
- package/dist/components/Wallet/EnterpriseKyc/success.js +14 -0
- package/dist/components/Wallet/EnterpriseKyc/types.d.ts +60 -0
- package/dist/components/Wallet/EnterpriseKyc/types.js +1 -0
- package/dist/components/Wallet/EnterpriseKyc/verify.d.ts +3 -0
- package/dist/components/Wallet/EnterpriseKyc/verify.js +71 -0
- package/dist/components/Wallet/History/index.js +12 -12
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +13 -13
- package/dist/components/Wallet/Portfolio/index.js +113 -117
- package/dist/components/Wallet/Portfolio/tokenRow.js +6 -6
- package/dist/components/Wallet/Profile/documents.js +17 -17
- package/dist/components/Wallet/Profile/index.js +137 -129
- package/dist/components/Wallet/Receive/index.js +9 -9
- package/dist/components/Wallet/Send/index.js +13 -13
- package/dist/components/Wallet/Shared/Auth/emailForm.js +3 -3
- package/dist/components/Wallet/Shared/Auth/otpForm.js +9 -9
- package/dist/components/Wallet/Shared/CardPayment/index.js +4 -4
- package/dist/components/Wallet/Shared/ConnectWallet/index.js +9 -9
- package/dist/components/Wallet/Shared/Container/index.js +3 -3
- package/dist/components/Wallet/Shared/Input/index.js +1 -1
- package/dist/components/Wallet/Shared/Keyboard/keyboard.js +3 -3
- package/dist/components/Wallet/Shared/TokenModal/index.js +11 -11
- package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +4 -4
- package/dist/components/Wallet/Shared/addBank.js +10 -10
- package/dist/components/Wallet/Shared/appButton.js +5 -5
- package/dist/components/Wallet/Shared/backBtn.js +2 -2
- package/dist/components/Wallet/Shared/button.js +1 -1
- package/dist/components/Wallet/Shared/connectPlaidBank.js +5 -5
- package/dist/components/Wallet/Shared/inputField.js +1 -1
- package/dist/components/Wallet/Shared/noData.js +2 -2
- package/dist/components/Wallet/Shared/pin.js +3 -3
- package/dist/components/Wallet/Shared/radioButton.d.ts +7 -0
- package/dist/components/Wallet/Shared/radioButton.js +7 -0
- package/dist/components/Wallet/Shared/step.d.ts +1 -0
- package/dist/components/Wallet/Shared/step.js +13 -12
- package/dist/components/Wallet/SignIn/index.js +2 -2
- package/dist/components/Wallet/SignUp/index.js +2 -2
- package/dist/components/Wallet/SignUp/terms.js +4 -4
- package/dist/components/Wallet/Stake/gems/index.js +10 -10
- package/dist/components/Wallet/Stake/id/index.js +11 -11
- package/dist/components/Wallet/Stake/index.js +9 -9
- package/dist/components/Wallet/Swap/index.js +15 -15
- package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -3
- package/dist/{constants-BxUb35pS.js → constants-A8X7fywY.js} +102 -100
- package/dist/createChainedFunction-C0nujS3O.js +9 -0
- package/dist/{createSvgIcon-COsBZ0xr.js → createSvgIcon-i5pI36SR.js} +2 -2
- package/dist/{createTheme-BlT11X6w.js → createTheme-CKy7OHWe.js} +11 -11
- package/dist/defaultTheme-Da-3ABGu.js +5 -0
- package/dist/{dividerClasses-CgHFbM2R.js → dividerClasses-DSno_h-b.js} +2 -2
- package/dist/{documents-vQr89AXc.js → documents-b3tR38Qf.js} +36 -36
- package/dist/{elementTypeAcceptingRef-DFRaouxA.js → elementTypeAcceptingRef-BM55iE9I.js} +1 -1
- package/dist/{emotion-react.browser.esm-C7P8sPuT.js → emotion-react.browser.esm-DhKKo7i2.js} +1 -1
- package/dist/{extendSxProp-3dFKe0G7.js → extendSxProp-CGbvrkKd.js} +1 -1
- package/dist/{fiatAssets-DxmFUAAP.js → fiatAssets-Di1Dvl51.js} +1 -1
- package/dist/hoc/withThemeProvider.js +5 -5
- package/dist/hooks/useDialog/index.js +4 -4
- package/dist/hooks/useRrDialog/index.js +4 -4
- package/dist/hooks/useSnackBar.js +50 -49
- package/dist/{iban-DAFjqLmj.js → iban-D3Y3E3cN.js} +20 -20
- package/dist/icons/buyIcon.js +1 -1
- package/dist/icons/canceledBuyIcon.js +1 -1
- package/dist/icons/canceledRedeemIcon.js +1 -1
- package/dist/icons/failedBuyIcon.js +1 -1
- package/dist/icons/failedRedeemIcon.js +1 -1
- package/dist/icons/pendingBuyIcon.js +1 -1
- package/dist/icons/pendingRedeemIcon.js +1 -1
- package/dist/icons/redeemIcon.js +1 -1
- package/dist/{index-CpZl5h1a.js → index-BhJeqQtm.js} +16 -16
- package/dist/{index-D1vZejb1.js → index-BnKMvdnf.js} +1 -1
- package/dist/{index-BlfNAYSo.js → index-Bqxs_jIU.js} +16 -16
- package/dist/{index-BgFigcmK.js → index-D2XCPzg3.js} +17 -17
- package/dist/{index-Dbxu0EJ1.js → index-Do_fdEkW.js} +5 -5
- package/dist/kyc-8mSMgUlU.js +19 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.js +28 -26
- package/dist/{order-BQ_jdcYA.js → order-DTnCUIx0.js} +11 -11
- package/dist/ownerDocument-C0GI-r2b.js +13 -0
- package/dist/{ownerWindow-D0iDQewC.js → ownerWindow-iFlVse9X.js} +1 -1
- package/dist/radioButton-CFylJSI6.js +349 -0
- package/dist/{resolveComponentProps-B1Ir_BWp.js → resolveComponentProps-BION1Ldt.js} +1 -1
- package/dist/{stake-Dtv26Vtt.js → stake-Cf5t27F3.js} +1 -1
- package/dist/store.d.ts +1 -110
- package/dist/styled-uZIQpYgB.js +5 -0
- package/dist/{tokenRow-BayFN7xo.js → tokenRow-D_FBu18C.js} +5 -5
- package/dist/useFormControl-CatNKXAi.js +10 -0
- package/dist/useId-CK6Kn3Tn.js +21 -0
- package/dist/{useSlot-BnuaST7x.js → useSlot-BofjcjWw.js} +1 -1
- package/dist/{useTheme-TES7dz5C.js → useTheme-g-gCeEAB.js} +3 -3
- package/dist/useTheme-lpadr-l2.js +9 -0
- package/dist/{useThemeProps-0PI3aKLE.js → useThemeProps-DIcjToML.js} +4 -4
- package/dist/{useThemeWithoutDefault-Dv5V_IG8.js → useThemeWithoutDefault-DaojF4V7.js} +1 -1
- package/dist/{useTimeout-By20Crr8.js → useTimeout-BK0fBak5.js} +1 -1
- package/dist/util/constants.d.ts +9 -0
- package/dist/util/constants.js +60 -51
- package/dist/util/functions.d.ts +1 -0
- package/dist/util/functions.js +6 -5
- package/dist/utils-B-L_WHmI.js +50 -0
- package/dist/utils-asicApOI.js +21 -0
- package/dist/{wallet-WO2ijYZw.js → wallet-Bghw0_Nm.js} +1 -1
- package/package.json +2 -2
- package/dist/Link-C2epBeQ2.js +0 -993
- package/dist/Modal-DArhlzWc.js +0 -1098
- package/dist/Portal-85fqk2Oo.js +0 -87
- package/dist/defaultTheme-CZjF3GyS.js +0 -5
- package/dist/styled-Cr0V7wv6.js +0 -5
- package/dist/useTheme-ZWavQ1Dn.js +0 -9
- package/dist/user-D0iWvS_0.js +0 -24
- package/dist/utils-D3CNVkXx.js +0 -61
|
@@ -3,9 +3,9 @@ import h from "../../Shared/Button/index.js";
|
|
|
3
3
|
import P from "../../Shared/Input/index.js";
|
|
4
4
|
import { useState as l, useEffect as u } from "react";
|
|
5
5
|
import { RESEND_EMAIL_TIMER as f } from "../../../../util/constants.js";
|
|
6
|
-
import { T as a } from "../../../../Typography-
|
|
7
|
-
import { B as C } from "../../../../Box-
|
|
8
|
-
import { S as d } from "../../../../Stack-
|
|
6
|
+
import { T as a } from "../../../../Typography-DiFeMX5p.js";
|
|
7
|
+
import { B as C } from "../../../../Box-rIIGCyb6.js";
|
|
8
|
+
import { S as d } from "../../../../Stack-CZu3N-Ba.js";
|
|
9
9
|
const _ = ({
|
|
10
10
|
showAlertMessage: o,
|
|
11
11
|
loader: p,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsxs as x, Fragment as i, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import "../../../constants-
|
|
3
|
-
import { o as T } from "../../../order-
|
|
2
|
+
import "../../../constants-A8X7fywY.js";
|
|
3
|
+
import { o as T } from "../../../order-DTnCUIx0.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";
|
|
7
7
|
import { useState as n, useEffect as c } from "react";
|
|
8
8
|
import R from "../../../hoc/withThemeProvider.js";
|
|
9
9
|
import S from "../Shared/backBtn.js";
|
|
10
|
-
import { T as m } from "../../../Typography-
|
|
11
|
-
import { S as d } from "../../../Stack-
|
|
10
|
+
import { T as m } from "../../../Typography-DiFeMX5p.js";
|
|
11
|
+
import { S as d } from "../../../Stack-CZu3N-Ba.js";
|
|
12
12
|
const j = ({ navigate: l }) => {
|
|
13
13
|
const p = v(), r = P((o) => o.order), s = r.list, h = r.loader, f = r.totalPages, [e, g] = n(1), [a, u] = n([]);
|
|
14
14
|
return c(() => {
|
|
@@ -3,14 +3,14 @@ import { useState as W } from "react";
|
|
|
3
3
|
import { h as E } from "../../../moment-h96o7c8I.js";
|
|
4
4
|
import { TOKEN_TO_FIAT as x, TOKEN_TO_TOKEN as g, FIAT_WITHDRAW as z, IBAN_CREATION as O, BANK_DEPOSIT as w, BANK_TRANSFER as k, FIAT_TO_TOKEN as P, FIAT_TO_EVER_ID as H, HISTORY_BUY_ICON as S, HISTORY_SELL_ICON as T, HISTORY_SWAP_ICON as K } from "../../../util/constants.js";
|
|
5
5
|
import { getTransactionStatusLabel as L, getCurrencySymbol as h } from "../../../util/functions.js";
|
|
6
|
-
import { A as M } from "../../../ArrowRight-
|
|
6
|
+
import { A as M } from "../../../ArrowRight-CZV_yDgu.js";
|
|
7
7
|
import j from "../transition.js";
|
|
8
|
-
import { C as Y } from "../../../Close-
|
|
9
|
-
import { B as G } from "../../../Box-
|
|
10
|
-
import { G as n } from "../../../Grid2-
|
|
11
|
-
import { D as U, a as V } from "../../../DialogContent-
|
|
12
|
-
import { I as q } from "../../../IconButton-
|
|
13
|
-
import { T as J } from "../../../Typography-
|
|
8
|
+
import { C as Y } from "../../../Close-Dv525LOL.js";
|
|
9
|
+
import { B as G } from "../../../Box-rIIGCyb6.js";
|
|
10
|
+
import { G as n } from "../../../Grid2-DJW3x_WO.js";
|
|
11
|
+
import { D as U, a as V } from "../../../DialogContent-BLqflo8C.js";
|
|
12
|
+
import { I as q } from "../../../IconButton-DRnoPKKH.js";
|
|
13
|
+
import { T as J } from "../../../Typography-DiFeMX5p.js";
|
|
14
14
|
import '../../../assets/index5.css';const Q = "_item_zbw2v_1", f = {
|
|
15
15
|
item: Q,
|
|
16
16
|
"status-failed": "_status-failed_zbw2v_19",
|
|
@@ -3,8 +3,8 @@ import { ButtonProps } from '@mui/material';
|
|
|
3
3
|
import { WalletInputProps } from '../../Wallet/Shared/Input';
|
|
4
4
|
interface MinimalKycProps {
|
|
5
5
|
onComplete: () => void;
|
|
6
|
-
inputComponent
|
|
7
|
-
buttonComponent
|
|
6
|
+
inputComponent?: React.ComponentType<WalletInputProps>;
|
|
7
|
+
buttonComponent?: React.ComponentType<ButtonProps>;
|
|
8
8
|
}
|
|
9
9
|
declare const _default: React.FC<MinimalKycProps & import('../../../hoc/withThemeProvider').WithThemeProviderProps>;
|
|
10
10
|
export default _default;
|
|
@@ -1,42 +1,44 @@
|
|
|
1
|
-
import { jsxs as u, Fragment as
|
|
2
|
-
import { useState as s, useEffect as
|
|
3
|
-
import { h as
|
|
4
|
-
import { u as
|
|
5
|
-
import { removeExtraSpace as
|
|
6
|
-
import { nameRegex as
|
|
7
|
-
import "../../../constants-
|
|
8
|
-
import { r as
|
|
9
|
-
import { c as
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
13
|
-
import
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
|
|
1
|
+
import { jsxs as u, Fragment as _, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { useState as s, useEffect as d } from "react";
|
|
3
|
+
import { h as H } from "../../../moment-h96o7c8I.js";
|
|
4
|
+
import { u as J, a as k } from "../../../react-redux-B4BZippc.js";
|
|
5
|
+
import { removeExtraSpace as i } from "../../../util/functions.js";
|
|
6
|
+
import { nameRegex as Q } from "../../../util/regex.js";
|
|
7
|
+
import "../../../constants-A8X7fywY.js";
|
|
8
|
+
import { r as U, u as V } from "../../../kyc-8mSMgUlU.js";
|
|
9
|
+
import { c as X } from "../../../countries-BVn1FubK.js";
|
|
10
|
+
import ee from "../../../hoc/withThemeProvider.js";
|
|
11
|
+
import te from "../../Wallet/Shared/Input/index.js";
|
|
12
|
+
import { useSnackBarContext as re } from "../../../context/snackBarContext.js";
|
|
13
|
+
import ae from "../../Wallet/Shared/appButton.js";
|
|
14
|
+
import { T as I } from "../../../Typography-DiFeMX5p.js";
|
|
15
|
+
import { B as a } from "../../../Box-rIIGCyb6.js";
|
|
16
|
+
import { F as se } from "../../../FormControl-uQi14shL.js";
|
|
17
|
+
import { S as oe } from "../../../Select-BsqVGicz.js";
|
|
18
|
+
import { M as K } from "../../../MenuItem-BKHoKEhO.js";
|
|
19
|
+
import { C as ie } from "../../../CircularProgress-CBhr9Pli.js";
|
|
20
|
+
const le = ({
|
|
19
21
|
onComplete: z,
|
|
20
|
-
inputComponent:
|
|
21
|
-
buttonComponent:
|
|
22
|
+
inputComponent: F,
|
|
23
|
+
buttonComponent: Y
|
|
22
24
|
}) => {
|
|
23
|
-
const
|
|
25
|
+
const o = F ?? te, E = Y ?? ae, p = J(), c = k(
|
|
24
26
|
(e) => e.user.profile
|
|
25
|
-
),
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}, []),
|
|
27
|
+
), n = k((e) => e.user.kyc), g = n.loader, f = n.error, { showAlertMessage: r } = re(), [v, y] = s(""), [C, b] = s(""), [m, L] = s(""), [P, R] = s(""), [W, T] = s(""), [S, j] = s(""), [N, w] = s(""), [q, Z] = s(""), [h, O] = s("");
|
|
28
|
+
d(() => () => {
|
|
29
|
+
p(U());
|
|
30
|
+
}, []), d(() => {
|
|
29
31
|
f && r({ message: f });
|
|
30
|
-
}, [f]),
|
|
31
|
-
|
|
32
|
+
}, [f]), d(() => {
|
|
33
|
+
n.minimal && (r({
|
|
32
34
|
message: "Minimal KYC has been done successfully.",
|
|
33
35
|
type: "success"
|
|
34
36
|
}), z());
|
|
35
|
-
}, [
|
|
36
|
-
y(
|
|
37
|
-
}, [
|
|
38
|
-
const
|
|
39
|
-
const e =
|
|
37
|
+
}, [n]), d(() => {
|
|
38
|
+
y(c.firstName), b(c.lastName);
|
|
39
|
+
}, [c]);
|
|
40
|
+
const $ = () => {
|
|
41
|
+
const e = i(v), l = i(C), A = i(P), G = i(W), B = i(S), D = i(N), M = i(q);
|
|
40
42
|
if (!e) {
|
|
41
43
|
r({ message: "Please provide first name" });
|
|
42
44
|
return;
|
|
@@ -45,11 +47,11 @@ const ae = ({
|
|
|
45
47
|
r({ message: "Please provide last name" });
|
|
46
48
|
return;
|
|
47
49
|
}
|
|
48
|
-
if (!
|
|
50
|
+
if (!m) {
|
|
49
51
|
r({ message: "Please provide date of birth" });
|
|
50
52
|
return;
|
|
51
53
|
}
|
|
52
|
-
if (
|
|
54
|
+
if (H().diff(m, "years", !1) < 18) {
|
|
53
55
|
r({
|
|
54
56
|
message: "You must be at least 18 years of age."
|
|
55
57
|
});
|
|
@@ -59,15 +61,15 @@ const ae = ({
|
|
|
59
61
|
r({ message: "Please provide address" });
|
|
60
62
|
return;
|
|
61
63
|
}
|
|
62
|
-
if (!
|
|
64
|
+
if (!B) {
|
|
63
65
|
r({ message: "Please provide city" });
|
|
64
66
|
return;
|
|
65
67
|
}
|
|
66
|
-
if (!
|
|
68
|
+
if (!D) {
|
|
67
69
|
r({ message: "Please provide state" });
|
|
68
70
|
return;
|
|
69
71
|
}
|
|
70
|
-
if (!
|
|
72
|
+
if (!M) {
|
|
71
73
|
r({ message: "Please provide zip code" });
|
|
72
74
|
return;
|
|
73
75
|
}
|
|
@@ -75,28 +77,28 @@ const ae = ({
|
|
|
75
77
|
r({ message: "Please provide country" });
|
|
76
78
|
return;
|
|
77
79
|
}
|
|
78
|
-
|
|
80
|
+
g || p(V({
|
|
79
81
|
personal_information: {
|
|
80
82
|
first_name: e,
|
|
81
83
|
last_name: l,
|
|
82
|
-
date_of_birth:
|
|
84
|
+
date_of_birth: m
|
|
83
85
|
},
|
|
84
86
|
residential_address: {
|
|
85
87
|
street: A,
|
|
86
|
-
secondary_street:
|
|
87
|
-
city:
|
|
88
|
-
state:
|
|
89
|
-
postcode:
|
|
88
|
+
secondary_street: G,
|
|
89
|
+
city: B,
|
|
90
|
+
state: D,
|
|
91
|
+
postcode: M,
|
|
90
92
|
country: h
|
|
91
93
|
}
|
|
92
94
|
}));
|
|
93
95
|
}, x = (e, l) => {
|
|
94
|
-
e ?
|
|
96
|
+
e ? Q.test(e) && l(e) : l("");
|
|
95
97
|
};
|
|
96
|
-
return /* @__PURE__ */ u(
|
|
97
|
-
/* @__PURE__ */ t(
|
|
98
|
+
return /* @__PURE__ */ u(_, { children: [
|
|
99
|
+
/* @__PURE__ */ t(I, { color: "primary", variant: "lg", fontWeight: 600, children: /* @__PURE__ */ t("b", { children: "Personal Details" }) }),
|
|
98
100
|
/* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
|
|
99
|
-
|
|
101
|
+
o,
|
|
100
102
|
{
|
|
101
103
|
label: "First Name",
|
|
102
104
|
value: v,
|
|
@@ -108,7 +110,7 @@ const ae = ({
|
|
|
108
110
|
}
|
|
109
111
|
) }),
|
|
110
112
|
/* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
|
|
111
|
-
|
|
113
|
+
o,
|
|
112
114
|
{
|
|
113
115
|
label: "Last Name",
|
|
114
116
|
value: C,
|
|
@@ -120,7 +122,7 @@ const ae = ({
|
|
|
120
122
|
}
|
|
121
123
|
) }),
|
|
122
124
|
/* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
|
|
123
|
-
|
|
125
|
+
o,
|
|
124
126
|
{
|
|
125
127
|
slotProps: {
|
|
126
128
|
inputLabel: {
|
|
@@ -129,58 +131,58 @@ const ae = ({
|
|
|
129
131
|
},
|
|
130
132
|
type: "date",
|
|
131
133
|
label: "Date Of Birth",
|
|
132
|
-
value:
|
|
133
|
-
onChange: (e) =>
|
|
134
|
+
value: m,
|
|
135
|
+
onChange: (e) => L(e.target.value),
|
|
134
136
|
fullWidth: !0,
|
|
135
137
|
required: !0
|
|
136
138
|
}
|
|
137
139
|
) }),
|
|
138
|
-
/* @__PURE__ */ t(
|
|
140
|
+
/* @__PURE__ */ t(I, { sx: { mt: 2 }, color: "primary", variant: "lg", fontWeight: 600, children: /* @__PURE__ */ t("b", { children: "Residential Address Details" }) }),
|
|
139
141
|
/* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
|
|
140
|
-
|
|
142
|
+
o,
|
|
141
143
|
{
|
|
142
144
|
label: "Address 1",
|
|
143
145
|
value: P,
|
|
144
|
-
onChange: (e) =>
|
|
146
|
+
onChange: (e) => R(e.target.value),
|
|
145
147
|
fullWidth: !0,
|
|
146
148
|
required: !0
|
|
147
149
|
}
|
|
148
150
|
) }),
|
|
149
151
|
/* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
|
|
150
|
-
|
|
152
|
+
o,
|
|
151
153
|
{
|
|
152
154
|
label: "Address 2 (optional)",
|
|
153
155
|
value: W,
|
|
154
|
-
onChange: (e) =>
|
|
156
|
+
onChange: (e) => T(e.target.value),
|
|
155
157
|
fullWidth: !0
|
|
156
158
|
}
|
|
157
159
|
) }),
|
|
158
160
|
/* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
|
|
159
|
-
|
|
161
|
+
o,
|
|
160
162
|
{
|
|
161
163
|
label: "City",
|
|
162
164
|
value: S,
|
|
163
|
-
onChange: (e) =>
|
|
165
|
+
onChange: (e) => j(e.target.value),
|
|
164
166
|
fullWidth: !0,
|
|
165
167
|
required: !0
|
|
166
168
|
}
|
|
167
169
|
) }),
|
|
168
170
|
/* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
|
|
169
|
-
|
|
171
|
+
o,
|
|
170
172
|
{
|
|
171
173
|
label: "State",
|
|
172
174
|
value: N,
|
|
173
|
-
onChange: (e) =>
|
|
175
|
+
onChange: (e) => w(e.target.value),
|
|
174
176
|
fullWidth: !0,
|
|
175
177
|
required: !0
|
|
176
178
|
}
|
|
177
179
|
) }),
|
|
178
180
|
/* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
|
|
179
|
-
|
|
181
|
+
o,
|
|
180
182
|
{
|
|
181
183
|
label: "Zip Code",
|
|
182
184
|
value: q,
|
|
183
|
-
onChange: (e) =>
|
|
185
|
+
onChange: (e) => Z(e.target.value),
|
|
184
186
|
fullWidth: !0,
|
|
185
187
|
required: !0
|
|
186
188
|
}
|
|
@@ -198,25 +200,25 @@ const ae = ({
|
|
|
198
200
|
children: "Country *"
|
|
199
201
|
}
|
|
200
202
|
),
|
|
201
|
-
/* @__PURE__ */ t(
|
|
202
|
-
|
|
203
|
+
/* @__PURE__ */ t(se, { fullWidth: !0, children: /* @__PURE__ */ u(
|
|
204
|
+
oe,
|
|
203
205
|
{
|
|
204
206
|
value: h,
|
|
205
207
|
displayEmpty: !0,
|
|
206
|
-
onChange: (e) =>
|
|
208
|
+
onChange: (e) => O(e.target.value),
|
|
207
209
|
children: [
|
|
208
210
|
/* @__PURE__ */ t(K, { value: "", children: "Select Country" }),
|
|
209
|
-
|
|
211
|
+
X.map((e) => /* @__PURE__ */ t(K, { value: e.alpha3, children: e.name }, e.alpha3))
|
|
210
212
|
]
|
|
211
213
|
}
|
|
212
214
|
) })
|
|
213
215
|
] }),
|
|
214
|
-
/* @__PURE__ */ t(a, { mt: 4, children: /* @__PURE__ */ t(
|
|
215
|
-
/* @__PURE__ */ t(
|
|
216
|
+
/* @__PURE__ */ t(a, { mt: 4, children: /* @__PURE__ */ t(E, { onClick: $, fullWidth: !0, children: /* @__PURE__ */ t("strong", { children: g ? /* @__PURE__ */ u(_, { children: [
|
|
217
|
+
/* @__PURE__ */ t(ie, { size: 15, color: "inherit" }),
|
|
216
218
|
" Processing..."
|
|
217
219
|
] }) : "Submit" }) }) })
|
|
218
220
|
] });
|
|
219
|
-
},
|
|
221
|
+
}, De = ee(le);
|
|
220
222
|
export {
|
|
221
|
-
|
|
223
|
+
De as default
|
|
222
224
|
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { B as a } from "../../Backdrop-Cwqacwk8.js";
|
|
3
|
+
import { C as s } from "../../CircularProgress-CBhr9Pli.js";
|
|
4
|
+
const m = ({ open: o = !0 }) => /* @__PURE__ */ r(
|
|
5
|
+
a,
|
|
6
|
+
{
|
|
7
|
+
open: o,
|
|
8
|
+
sx: {
|
|
9
|
+
color: "#fff",
|
|
10
|
+
zIndex: (e) => e.zIndex.drawer + 1
|
|
11
|
+
},
|
|
12
|
+
children: /* @__PURE__ */ r(s, { color: "primary" })
|
|
13
|
+
}
|
|
14
|
+
);
|
|
15
|
+
export {
|
|
16
|
+
m as default
|
|
17
|
+
};
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
import { jsx as re, jsxs as Et } from "react/jsx-runtime";
|
|
2
2
|
import * as C from "react";
|
|
3
3
|
import fo from "react";
|
|
4
|
-
import { g as Ht, a as Ut, s as Ie, u as Ft, m as lt, c as ze } from "../../DefaultPropsProvider-
|
|
5
|
-
import { g as qt, P as r, f as zt, a as Yt } from "../../createTheme-
|
|
6
|
-
import { u as Xt } from "../../index-
|
|
7
|
-
import { u as uo } from "../../useTheme-
|
|
8
|
-
import { o as Rt, H as Ze
|
|
9
|
-
import { P as
|
|
10
|
-
import { c as
|
|
11
|
-
import { r as Gt, u as At, a as Ye, b as Ct, T as
|
|
4
|
+
import { g as Ht, a as Ut, s as Ie, u as Ft, m as lt, c as ze } from "../../DefaultPropsProvider-Dta6YfYA.js";
|
|
5
|
+
import { g as qt, P as r, f as zt, a as Yt } from "../../createTheme-CKy7OHWe.js";
|
|
6
|
+
import { u as Xt } from "../../index-BnKMvdnf.js";
|
|
7
|
+
import { u as uo } from "../../useTheme-g-gCeEAB.js";
|
|
8
|
+
import { o as Rt, H as Ze } from "../../ownerDocument-C0GI-r2b.js";
|
|
9
|
+
import { P as mo } from "../../Portal-CIaLgwgF.js";
|
|
10
|
+
import { c as vo } from "../../chainPropTypes-D9lkm76m.js";
|
|
11
|
+
import { r as Gt, u as At, a as Ye, b as Ct, T as ho } from "../../useTimeout-BK0fBak5.js";
|
|
12
12
|
import { u as it } from "../../TransitionGroupContext-BzyZRJGo.js";
|
|
13
|
-
import { u as
|
|
14
|
-
import { u as
|
|
15
|
-
import {
|
|
13
|
+
import { u as go, G as Mt } from "../../Grow-DcFPfGou.js";
|
|
14
|
+
import { u as bo } from "../../useControlled-BYdyS7Pn.js";
|
|
15
|
+
import { u as yo } from "../../useId-CK6Kn3Tn.js";
|
|
16
|
+
import { g as wo, e as Oo } from "../../utils-B-L_WHmI.js";
|
|
17
|
+
import { a as Xe } from "../../resolveComponentProps-BION1Ldt.js";
|
|
16
18
|
import { i as jt } from "../../isFocusVisible-CPZqtjv2.js";
|
|
17
19
|
var W = "top", z = "bottom", Y = "right", I = "left", ct = "auto", Ve = [W, z, Y, I], Oe = "start", Le = "end", xo = "clippingParents", Kt = "viewport", Se = "popper", To = "reference", $t = /* @__PURE__ */ Ve.reduce(function(t, e) {
|
|
18
20
|
return t.concat([e + "-" + Oe, e + "-" + Le]);
|
|
@@ -1025,7 +1027,7 @@ const $r = (t) => {
|
|
|
1025
1027
|
placement: R
|
|
1026
1028
|
};
|
|
1027
1029
|
T !== null && (M.TransitionProps = T);
|
|
1028
|
-
const k = $r(e), j = u.root ?? "div", X =
|
|
1030
|
+
const k = $r(e), j = u.root ?? "div", X = go({
|
|
1029
1031
|
elementType: j,
|
|
1030
1032
|
externalSlotProps: x.root,
|
|
1031
1033
|
externalForwardedProps: v,
|
|
@@ -1077,7 +1079,7 @@ const $r = (t) => {
|
|
|
1077
1079
|
onEnter: b,
|
|
1078
1080
|
onExited: y
|
|
1079
1081
|
} : void 0;
|
|
1080
|
-
return /* @__PURE__ */ re(
|
|
1082
|
+
return /* @__PURE__ */ re(mo, {
|
|
1081
1083
|
disablePortal: s,
|
|
1082
1084
|
container: R,
|
|
1083
1085
|
children: /* @__PURE__ */ re(Sr, {
|
|
@@ -1118,7 +1120,7 @@ process.env.NODE_ENV !== "production" && (no.propTypes = {
|
|
|
1118
1120
|
* It's used to set the position of the popper.
|
|
1119
1121
|
* The return value will passed as the reference object of the Popper instance.
|
|
1120
1122
|
*/
|
|
1121
|
-
anchorEl:
|
|
1123
|
+
anchorEl: vo(r.oneOfType([Ze, r.object, r.func]), (t) => {
|
|
1122
1124
|
if (t.open) {
|
|
1123
1125
|
const e = et(t.anchorEl);
|
|
1124
1126
|
if (e && ot(e) && e.nodeType === 1) {
|
|
@@ -1676,7 +1678,7 @@ const Lr = (t) => {
|
|
|
1676
1678
|
}
|
|
1677
1679
|
})));
|
|
1678
1680
|
let Ke = !1;
|
|
1679
|
-
const Vt = new
|
|
1681
|
+
const Vt = new ho();
|
|
1680
1682
|
let Ne = {
|
|
1681
1683
|
x: 0,
|
|
1682
1684
|
y: 0
|
|
@@ -1723,7 +1725,7 @@ const ao = /* @__PURE__ */ C.forwardRef(function(e, o) {
|
|
|
1723
1725
|
...N
|
|
1724
1726
|
} = n, $ = /* @__PURE__ */ C.isValidElement(p) ? p : /* @__PURE__ */ re("span", {
|
|
1725
1727
|
children: p
|
|
1726
|
-
}), L = uo(), te = Xt(), [B, de] = C.useState(), [oe, me] = C.useState(null), K = C.useRef(!1), H = x || w, ae = Ye(), ie = Ye(), U = Ye(), ve = Ye(), [rt, he] =
|
|
1728
|
+
}), L = uo(), te = Xt(), [B, de] = C.useState(), [oe, me] = C.useState(null), K = C.useRef(!1), H = x || w, ae = Ye(), ie = Ye(), U = Ye(), ve = Ye(), [rt, he] = bo({
|
|
1727
1729
|
controlled: R,
|
|
1728
1730
|
default: !1,
|
|
1729
1731
|
name: "Tooltip",
|
|
@@ -1739,7 +1741,7 @@ const ao = /* @__PURE__ */ C.forwardRef(function(e, o) {
|
|
|
1739
1741
|
`));
|
|
1740
1742
|
}, [j, B, h]);
|
|
1741
1743
|
}
|
|
1742
|
-
const ge =
|
|
1744
|
+
const ge = yo(E), pe = C.useRef(), be = Ct(() => {
|
|
1743
1745
|
pe.current !== void 0 && (document.body.style.WebkitUserSelect = pe.current, pe.current = void 0), ve.clear();
|
|
1744
1746
|
});
|
|
1745
1747
|
C.useEffect(() => be, [be]);
|
|
@@ -1791,7 +1793,7 @@ const ao = /* @__PURE__ */ C.forwardRef(function(e, o) {
|
|
|
1791
1793
|
document.removeEventListener("keydown", h);
|
|
1792
1794
|
};
|
|
1793
1795
|
}, [le, J]);
|
|
1794
|
-
const Fe = it(
|
|
1796
|
+
const Fe = it(wo($), de, o);
|
|
1795
1797
|
!j && j !== 0 && (J = !1);
|
|
1796
1798
|
const we = C.useRef(), qe = (h) => {
|
|
1797
1799
|
const Q = $.props;
|
|
@@ -1906,7 +1908,7 @@ process.env.NODE_ENV !== "production" && (ao.propTypes = {
|
|
|
1906
1908
|
/**
|
|
1907
1909
|
* Tooltip reference element.
|
|
1908
1910
|
*/
|
|
1909
|
-
children:
|
|
1911
|
+
children: Oo.isRequired,
|
|
1910
1912
|
/**
|
|
1911
1913
|
* Override or extend the styles applied to the component.
|
|
1912
1914
|
*/
|
|
@@ -2084,7 +2086,7 @@ process.env.NODE_ENV !== "production" && (ao.propTypes = {
|
|
|
2084
2086
|
*/
|
|
2085
2087
|
TransitionProps: r.object
|
|
2086
2088
|
});
|
|
2087
|
-
const
|
|
2089
|
+
const nn = Ie(
|
|
2088
2090
|
fo.forwardRef((t, e) => /* @__PURE__ */ re(
|
|
2089
2091
|
ao,
|
|
2090
2092
|
{
|
|
@@ -2104,5 +2106,5 @@ const on = Ie(
|
|
|
2104
2106
|
}
|
|
2105
2107
|
}));
|
|
2106
2108
|
export {
|
|
2107
|
-
|
|
2109
|
+
nn as default
|
|
2108
2110
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as n } from "react";
|
|
3
|
-
import { S as s } from "../../Slide-
|
|
3
|
+
import { S as s } from "../../Slide-B08-4SSu.js";
|
|
4
4
|
const a = n((r, o) => {
|
|
5
5
|
const { children: i, ...t } = r;
|
|
6
6
|
return /* @__PURE__ */ e(s, { direction: "up", ref: o, ...t, children: i });
|