everest-npm-features 0.0.60 → 0.0.62
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/{Cancel-4lT7GZUA.js → Cancel-pHQsCjtK.js} +1 -1
- package/dist/{Close-CNwiMz_O.js → Close-DSxLLo08.js} +1 -1
- package/dist/{ContentCopy-coPwrEuz.js → ContentCopy-D0C0zbQj.js} +1 -1
- package/dist/{Delete-jpMstGIF.js → Delete-Bj8zmXnh.js} +1 -1
- package/dist/{ErrorOutline-CPQcnl2b.js → ErrorOutline-Bt7P4ChN.js} +1 -1
- package/dist/{FileDownload-Bt3R_NBr.js → FileDownload-DqREXR3D.js} +1 -1
- package/dist/{Info-BVeUSPyk.js → Info-DOoRR7sR.js} +1 -1
- package/dist/{PlayArrow-BlkZJiHn.js → PlayArrow-BVDyfxsQ.js} +2 -2
- package/dist/Portal-BeS9yJCZ.js +968 -0
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/{auth-WhDJHZtr.js → auth-DTJdu6mq.js} +11 -11
- package/dist/{bank-BaOrdTcI.js → bank-C4pmTe--.js} +1 -1
- package/dist/components/RocketRamp/MinimalKyc/form.js +46 -52
- package/dist/components/RocketRamp/MinimalKyc/index.js +6 -6
- package/dist/components/RocketRamp/Player/Buy/cardPayment.js +6 -8
- package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +5 -8
- package/dist/components/RocketRamp/Player/Buy/form.js +8 -17
- package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
- package/dist/components/RocketRamp/Player/Dashboard/balance.js +20 -26
- package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
- package/dist/components/RocketRamp/Player/Dashboard/transaction.js +13 -16
- package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +6 -11
- package/dist/components/RocketRamp/Player/Sell/form.js +8 -17
- package/dist/components/RocketRamp/Player/Sell/index.js +9 -9
- package/dist/components/RocketRamp/Player/SignIn/index.js +23 -25
- package/dist/components/RocketRamp/Player/SignIn/loginForm.js +33 -35
- package/dist/components/RocketRamp/Player/SignIn/otpForm.js +31 -33
- package/dist/components/RocketRamp/Player/SignUp/email.js +21 -23
- package/dist/components/RocketRamp/Player/SignUp/index.js +49 -52
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +68 -74
- package/dist/components/RocketRamp/Player/SignUp/summary.js +23 -25
- package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +23 -25
- package/dist/components/RocketRamp/ResetPassword/index.js +23 -25
- package/dist/components/RocketRamp/Shared/Button/index.js +16 -17
- package/dist/components/RocketRamp/Shared/Input/index.js +27 -30
- package/dist/components/RocketRamp/Shared/backBtn.js +10 -11
- package/dist/components/RocketRamp/Shared/transactionItem.js +40 -45
- package/dist/components/RocketRamp/Store/Dashboard/balance.js +12 -17
- package/dist/components/RocketRamp/Store/Dashboard/index.js +11 -12
- package/dist/components/RocketRamp/Store/Dashboard/stats.js +12 -17
- package/dist/components/RocketRamp/Store/Dashboard/transaction.js +13 -16
- package/dist/components/RocketRamp/Store/SignUp/index.js +53 -56
- package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +48 -54
- package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +33 -37
- package/dist/components/RocketRamp/Store/SignUp/summary.js +21 -23
- package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +23 -25
- package/dist/components/RocketRamp/Transactions/index.js +23 -24
- package/dist/components/Shared/FullKyc/countryList.js +15 -17
- package/dist/components/Shared/FullKyc/edd.js +51 -54
- package/dist/components/Shared/FullKyc/index.js +13 -12
- package/dist/components/Shared/FullKyc/pep.js +35 -43
- package/dist/components/Shared/FullKyc/personalDetails.js +7 -8
- package/dist/components/Shared/FullKyc/userInfo.js +8 -14
- package/dist/components/Shared/HistoryItem/index.js +43 -48
- package/dist/components/Shared/Incode/index.js +31 -35
- package/dist/components/Shared/MinimalKyc/index.js +60 -65
- package/dist/components/Shared/Sumsub/index.js +75 -62
- package/dist/components/Shared/loader.js +4 -5
- package/dist/components/Shared/tooltip.js +2 -2
- package/dist/components/Shared/transition.js +4 -4
- package/dist/components/Wallet/Account/createIban.js +34 -38
- package/dist/components/Wallet/Account/eWallet.js +35 -39
- package/dist/components/Wallet/Account/iban.js +49 -53
- package/dist/components/Wallet/Account/ibanItem.js +70 -76
- package/dist/components/Wallet/Account/index.js +68 -76
- package/dist/components/Wallet/Account/sendIban.js +79 -88
- package/dist/components/Wallet/Buy/confirmTransaction.js +9 -12
- package/dist/components/Wallet/Buy/form.js +8 -18
- package/dist/components/Wallet/Buy/index.js +6 -6
- package/dist/components/Wallet/Deposit/index.js +16 -19
- package/dist/components/Wallet/EnterpriseKyc/edd.js +32 -34
- package/dist/components/Wallet/EnterpriseKyc/index.js +76 -81
- package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +23 -26
- package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +5 -7
- package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/kycType.js +23 -26
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +37 -39
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3591 -1483
- package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
- package/dist/components/Wallet/EnterpriseKyc/verify.js +23 -24
- package/dist/components/Wallet/History/index.js +23 -797
- package/dist/components/Wallet/Home/index.js +13 -14
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +91 -97
- package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
- package/dist/components/Wallet/Portfolio/index.js +48 -52
- package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
- package/dist/components/Wallet/Profile/documents.js +125 -134
- package/dist/components/Wallet/Profile/index.js +38 -44
- package/dist/components/Wallet/Profile/storage.js +39 -47
- package/dist/components/Wallet/Receive/index.js +32 -37
- package/dist/components/Wallet/Sell/confirmTransaction.js +8 -11
- package/dist/components/Wallet/Sell/form.js +8 -18
- package/dist/components/Wallet/Sell/index.js +6 -6
- package/dist/components/Wallet/Send/index.js +336 -324
- package/dist/components/Wallet/Shared/Auth/emailForm.js +13 -15
- package/dist/components/Wallet/Shared/Auth/otpForm.js +9 -356
- package/dist/components/Wallet/Shared/BankSelect/index.js +45 -49
- package/dist/components/Wallet/Shared/CardCorp/index.js +18 -20
- package/dist/components/Wallet/Shared/CardPayment/index.js +14 -16
- package/dist/components/Wallet/Shared/ConnectWallet/index.js +22 -28
- package/dist/components/Wallet/Shared/Container/index.js +15 -16
- package/dist/components/Wallet/Shared/Input/index.js +3 -3
- package/dist/components/Wallet/Shared/Keyboard/keyboard.js +29 -30
- package/dist/components/Wallet/Shared/Order/paymentButton.js +13 -14
- package/dist/components/Wallet/Shared/TokenModal/index.js +55 -63
- package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +11 -13
- package/dist/components/Wallet/Shared/addBank.js +41 -46
- package/dist/components/Wallet/Shared/appButton.js +11 -15
- package/dist/components/Wallet/Shared/backBtn.js +8 -9
- package/dist/components/Wallet/Shared/button.js +7 -7
- package/dist/components/Wallet/Shared/connectPlaidBank.js +16 -17
- package/dist/components/Wallet/Shared/inputField.js +5 -5
- package/dist/components/Wallet/Shared/manualSend.js +9 -14
- package/dist/components/Wallet/Shared/noData.js +4 -5
- package/dist/components/Wallet/Shared/pin.js +25 -27
- package/dist/components/Wallet/Shared/radioButton.js +39 -5
- package/dist/components/Wallet/Shared/step.js +12 -13
- package/dist/components/Wallet/Shared/timer.js +1 -1
- package/dist/components/Wallet/SignIn/index.js +17 -17
- package/dist/components/Wallet/SignUp/index.js +63 -153
- package/dist/components/Wallet/SignUp/terms.js +1 -1
- package/dist/components/Wallet/Stake/gems/index.js +51 -58
- package/dist/components/Wallet/Stake/id/index.js +73 -81
- package/dist/components/Wallet/Stake/index.js +65 -69
- package/dist/components/Wallet/Swap/form.js +11 -21
- package/dist/components/Wallet/Swap/index.js +5 -5
- package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
- package/dist/components/Wallet/Withdraw/bankSelect.js +41 -45
- package/dist/components/Wallet/Withdraw/confirmTransaction.js +5 -8
- package/dist/components/Wallet/Withdraw/form.js +6 -17
- package/dist/components/Wallet/Withdraw/index.js +5 -5
- package/dist/{constants-DREDnCMu.js → constants-DrmtdI1J.js} +7 -7
- package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
- package/dist/{cryptoAssets-DbyDgq4J.js → cryptoAssets-DyGDknvq.js} +1 -1
- package/dist/hoc/withThemeProvider.js +5 -732
- package/dist/hooks/useDialog/index.js +22 -23
- package/dist/hooks/useRrDialog/index.js +43 -46
- package/dist/hooks/useSnackBar.js +24 -696
- 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 +2 -2
- package/dist/icons/failedRedeemIcon.js +2 -2
- package/dist/icons/pendingBuyIcon.js +1 -1
- package/dist/icons/pendingRedeemIcon.js +1 -1
- package/dist/icons/redeemIcon.js +1 -1
- package/dist/{index-DYP5Ex_T.js → index-3OQ4M69t.js} +89 -99
- package/dist/{index-B3HnUBnB.js → index-BBFbUCRZ.js} +123 -129
- package/dist/{index-PoMNqntN.js → index-C1WPCgkl.js} +130 -141
- package/dist/{index-BXutc9ik.js → index-CDwzoHu7.js} +134 -145
- package/dist/{index-DV1dVcrY.js → index-CK4kLRAw.js} +172 -182
- package/dist/{index-DJ7xuxBy.js → index-CYX3j0V7.js} +175 -185
- package/dist/{index-CuPCW3XC.js → index-ILpK4BCB.js} +154 -163
- package/dist/{kyc-D4s_B9Cf.js → kyc-ksV3vBP_.js} +1 -1
- package/dist/main.js +7 -7
- package/dist/memoTheme-DnE8lj0t.js +3481 -0
- package/dist/{order-DGBbo_Ox.js → order-DEp_Lmar.js} +1 -1
- package/dist/otpForm-fiNqeB5H.js +7378 -0
- package/dist/{stake-CdMc5H7D.js → stake-Ct7-_aWW.js} +1 -1
- package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
- package/dist/tooltip-BW0UyWw7.js +2129 -0
- package/dist/{wallet-DvfdQOju.js → wallet-CauUBXou.js} +1 -1
- package/package.json +6 -6
- package/dist/Alert-DzsbFW3-.js +0 -369
- package/dist/Autocomplete-CE-OI2t8.js +0 -2429
- package/dist/Avatar-1XklXr4O.js +0 -281
- package/dist/Backdrop-CioURPVG.js +0 -359
- package/dist/Box-B0YSYLco.js +0 -59
- package/dist/Button-Df4vgU24.js +0 -663
- package/dist/ButtonBase-DLF5c6wi.js +0 -870
- package/dist/CardContent-D9wTdpu-.js +0 -141
- package/dist/CircularProgress-xZA3lvba.js +0 -252
- package/dist/Close-CxzDL3J-.js +0 -9
- package/dist/Container-urNKV7hm.js +0 -181
- package/dist/DefaultPropsProvider-CeF7UYM9.js +0 -92
- package/dist/DefaultPropsProvider-oAu9El-f.js +0 -226
- package/dist/DialogContent-BMwlOnbW.js +0 -567
- package/dist/DialogTitle-CfS0bb2K.js +0 -70
- package/dist/Divider-BShhMFf4.js +0 -297
- package/dist/FilledInput-DuNqnPjc.js +0 -1292
- package/dist/FormControl-RtZDQMdA.js +0 -258
- package/dist/FormControlLabel-BliKW48y.js +0 -519
- package/dist/GlobalStyles-ChMhDfTS.js +0 -59
- package/dist/Grid-CFe3amXO.js +0 -410
- package/dist/Grow-CnGtel3u.js +0 -196
- package/dist/HTMLElementType-BrQSV2FE.js +0 -13
- package/dist/IconButton-DHm-hucF.js +0 -297
- package/dist/InputAdornment-DMiED3JH.js +0 -173
- package/dist/Link-DBA9Yifs.js +0 -266
- package/dist/ListItemIcon-CUcyTEEm.js +0 -84
- package/dist/Menu-DLYFFrEk.js +0 -1239
- package/dist/MenuItem-DUdYOJr4.js +0 -271
- package/dist/Modal-CFIQ_s3T.js +0 -743
- package/dist/Paper-Bgt2WXI6.js +0 -186
- package/dist/Popper-BBAoiZKn.js +0 -1409
- package/dist/Portal-BMAxiQwe.js +0 -69
- package/dist/RadioGroup-nvoSN0JN.js +0 -189
- package/dist/Select-CB5yWmyn.js +0 -1886
- package/dist/Slide-B9Nw0LZ4.js +0 -235
- package/dist/Stack-k55YTxET.js +0 -172
- package/dist/SwitchBase-C8zFyg_x.js +0 -318
- package/dist/TextField-DPpRUQe3.js +0 -978
- package/dist/TransitionGroupContext-CYRQkQ6k.js +0 -49
- package/dist/Typography-pAaje37G.js +0 -260
- package/dist/chainPropTypes-D9lkm76m.js +0 -8
- package/dist/clsx-BTaloaeC.js +0 -264
- package/dist/createChainedFunction-C0nujS3O.js +0 -9
- package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
- package/dist/createTheme-CD19zQB7.js +0 -3825
- package/dist/debounce-46wSf_lW.js +0 -15
- package/dist/defaultTheme-C35y5cLB.js +0 -5
- package/dist/dividerClasses-BDxa2gAa.js +0 -10
- package/dist/elementAcceptingRef-CqLvP78G.js +0 -391
- package/dist/elementTypeAcceptingRef-BdsMpCbS.js +0 -23
- package/dist/emotion-react.browser.esm-BIrDfk-B.js +0 -246
- package/dist/exactProp-C1Lmtwf_.js +0 -13
- package/dist/extendSxProp-B8UjbJ56.js +0 -37
- package/dist/generateUtilityClasses-BRiE4Guh.js +0 -10
- package/dist/index-B0Z-Gjno.js +0 -22
- package/dist/index-DUcLo3x5.js +0 -43
- package/dist/isFocusVisible-CPZqtjv2.js +0 -12
- package/dist/isHostComponent-kiaBvYVo.js +0 -6
- package/dist/isMuiElement-DnSE4qG4.js +0 -13
- package/dist/memoTheme-yHaPezod.js +0 -15
- package/dist/ownerWindow-CRgpWY6I.js +0 -7
- package/dist/radioButton-CzlYB0Lh.js +0 -402
- package/dist/refType-BsTH3qnM.js +0 -56
- package/dist/tooltip-3UvETWtS.js +0 -740
- package/dist/useControlled-nm4pBabJ.js +0 -31
- package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
- package/dist/useFormControl-CatNKXAi.js +0 -10
- package/dist/useId-CK6Kn3Tn.js +0 -21
- package/dist/useSlot-CW7SOYlh.js +0 -125
- package/dist/useSlotProps-BfEOwJvJ.js +0 -25
- package/dist/useTheme-BQJ5lp0i.js +0 -11
- package/dist/useTheme-S5_DHFsQ.js +0 -17
- package/dist/useThemeProps-DN9MjdTl.js +0 -29
|
@@ -1,16 +1,11 @@
|
|
|
1
|
-
import { jsxs as i, Fragment as
|
|
1
|
+
import { jsxs as i, Fragment as D, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useState as C } from "react";
|
|
3
3
|
import { h as E } from "../../../moment-h96o7c8I.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import { G as o } from "../../../Grid-CFe3amXO.js";
|
|
10
|
-
import { D as V, a as q } from "../../../DialogContent-BMwlOnbW.js";
|
|
11
|
-
import { D as J } from "../../../DialogTitle-CfS0bb2K.js";
|
|
12
|
-
import { T as Q } from "../../../Typography-pAaje37G.js";
|
|
13
|
-
import { I as X } from "../../../IconButton-DHm-hucF.js";
|
|
4
|
+
import { Box as H, Grid as n, Dialog as P, DialogTitle as K, Typography as L, IconButton as M, DialogContent as j } from "@mui/material";
|
|
5
|
+
import { TOKEN_TO_FIAT as x, TOKEN_TO_TOKEN as $, FIAT_WITHDRAW as O, IBAN_CREATION as k, BANK_DEPOSIT as v, BANK_TRANSFER as S, RIGHT_ARROW as Y, FIAT_TO_TOKEN as G, FIAT_TO_EVER_ID as U, HISTORY_BUY_ICON as W, HISTORY_SELL_ICON as b, HISTORY_SWAP_ICON as V } from "../../../util/constants.js";
|
|
6
|
+
import { getTransactionStatusLabel as q, getCurrencySymbol as h, displayWalletAddress as J } from "../../../util/functions.js";
|
|
7
|
+
import Q from "../transition.js";
|
|
8
|
+
import { C as X } from "../../../Close-DSxLLo08.js";
|
|
14
9
|
import '../../../assets/index4.css';const Z = "_item_1bfen_1", f = {
|
|
15
10
|
item: Z,
|
|
16
11
|
"status-failed": "_status-failed_1bfen_19",
|
|
@@ -20,12 +15,12 @@ import '../../../assets/index4.css';const Z = "_item_1bfen_1", f = {
|
|
|
20
15
|
"close-btn": "_close-btn_1bfen_39"
|
|
21
16
|
}, ee = {
|
|
22
17
|
"USDR.c": "Orion Point"
|
|
23
|
-
},
|
|
24
|
-
var
|
|
18
|
+
}, de = (R) => {
|
|
19
|
+
var A, I, g, N;
|
|
25
20
|
const [z, y] = C(!1), e = R.data;
|
|
26
21
|
if (![
|
|
27
|
-
|
|
28
|
-
|
|
22
|
+
G,
|
|
23
|
+
U,
|
|
29
24
|
x,
|
|
30
25
|
$,
|
|
31
26
|
O,
|
|
@@ -34,48 +29,48 @@ import '../../../assets/index4.css';const Z = "_item_1bfen_1", f = {
|
|
|
34
29
|
v
|
|
35
30
|
].includes(e.transaction_type))
|
|
36
31
|
return null;
|
|
37
|
-
const T =
|
|
38
|
-
let
|
|
39
|
-
e.transaction_type === x && (
|
|
40
|
-
let u = "Amount Received", l = "Bought", _ = "Amount Paid", c = W, d = ee[e.token_out] || e.token_out, s =
|
|
41
|
-
e.transaction_type === x ? (l = "Sold", _ = "Amount Sent", c = b, d = e.token_in, s = (e.token_in_amount * 1).toFixed(5) + " " + e.token_in, a = (e.currency_out_amount * 1).toFixed(2) + " " + e.currency_code_out + ".c") : e.transaction_type === $ ? (l = "Swapped", c =
|
|
42
|
-
const r = ({ label:
|
|
43
|
-
/* @__PURE__ */ t(
|
|
44
|
-
/* @__PURE__ */ t(
|
|
32
|
+
const T = q(e.transaction_status), F = E(e.created_at).format("DD MMM yyyy, H:mm");
|
|
33
|
+
let o = h(e.currency_code_in);
|
|
34
|
+
e.transaction_type === x && (o = h(e.currency_code_out));
|
|
35
|
+
let u = "Amount Received", l = "Bought", _ = "Amount Paid", c = W, d = ee[e.token_out] || e.token_out, s = o + (e.currency_in_amount * 1).toFixed(2), a = parseFloat((e.token_out_amount * 1).toFixed(5)) + " " + d, m = "5-40 minutes", p = `${o}${(e.total_fee * 1).toFixed(2)}`;
|
|
36
|
+
e.transaction_type === x ? (l = "Sold", _ = "Amount Sent", c = b, d = e.token_in, s = (e.token_in_amount * 1).toFixed(5) + " " + e.token_in, a = (e.currency_out_amount * 1).toFixed(2) + " " + e.currency_code_out + ".c") : e.transaction_type === $ ? (l = "Swapped", c = V, s = `${(e.amount * 1).toFixed(5)} ${e.token_in}`, p = `$${(e.total_fee * 1).toFixed(2)}`) : e.transaction_type === O ? (o = h(e.currency_code_out), l = "Withdraw", d = "", c = b, m = "2-3 days", s = `${(e.amount * 1).toFixed(5)} ${e.currency_code_out}.c`, a = o + (e.currency_out_amount * 1).toFixed(2), p = `${o}${(e.total_fee * 1).toFixed(2)}`) : e.transaction_type === k ? (u = "Item Purchased", a = "IBAN subscription") : e.transaction_type === v ? (o = h(e.currency_code_in), l = "Bank Deposit", d = "", c = W, m = "2-3 hours", p = `${o}${(e.total_fee * 1).toFixed(2)}`, _ = "Deposit Amount", s = `${o}${(e.amount * 1).toFixed(2)}`, u = "Deposit Info", a = `${(A = e == null ? void 0 : e.payment) == null ? void 0 : A.account_number} (${(I = e == null ? void 0 : e.payment) == null ? void 0 : I.recipient_first_name} ${(g = e == null ? void 0 : e.payment) == null ? void 0 : g.recipient_last_name})`) : e.transaction_type === S && (o = h(e.currency_code_out), l = "Bank Withdraw", d = "", c = b, m = "2-3 hours", p = `${o}${(e.total_fee * 1).toFixed(2)}`, _ = "Withdraw Amount", s = `${o}${(e.amount * 1).toFixed(2)}`, u = "Withdraw IBAN", a = (N = e == null ? void 0 : e.payout) == null ? void 0 : N.account_number), (e.transaction_status === "failed" || e.transaction_status === "rejected") && (m = "N/A");
|
|
37
|
+
const r = ({ label: w, value: B }) => /* @__PURE__ */ i(D, { children: [
|
|
38
|
+
/* @__PURE__ */ t(n, { size: 6, fontWeight: 500, children: w }),
|
|
39
|
+
/* @__PURE__ */ t(n, { className: "text-right", size: 6, fontWeight: 400, children: B })
|
|
45
40
|
] });
|
|
46
|
-
return /* @__PURE__ */ i(
|
|
47
|
-
/* @__PURE__ */ i(
|
|
48
|
-
/* @__PURE__ */ i(
|
|
49
|
-
/* @__PURE__ */ t(
|
|
50
|
-
/* @__PURE__ */ t(
|
|
41
|
+
return /* @__PURE__ */ i(D, { children: [
|
|
42
|
+
/* @__PURE__ */ i(H, { className: f.item, onClick: () => y(!0), children: [
|
|
43
|
+
/* @__PURE__ */ i(n, { container: !0, children: [
|
|
44
|
+
/* @__PURE__ */ t(n, { size: { xs: 1, md: 0.5 }, children: /* @__PURE__ */ t("img", { src: c, alt: "historyIcon" }) }),
|
|
45
|
+
/* @__PURE__ */ t(n, { size: { xs: 5, md: 5.5 }, children: /* @__PURE__ */ i("strong", { children: [
|
|
51
46
|
l,
|
|
52
47
|
" ",
|
|
53
48
|
d
|
|
54
49
|
] }) }),
|
|
55
|
-
/* @__PURE__ */ t(
|
|
50
|
+
/* @__PURE__ */ t(n, { size: { xs: 6, md: 6 }, children: F })
|
|
56
51
|
] }),
|
|
57
|
-
/* @__PURE__ */ i(
|
|
58
|
-
/* @__PURE__ */ t(
|
|
59
|
-
/* @__PURE__ */ t(
|
|
60
|
-
/* @__PURE__ */ t(
|
|
61
|
-
/* @__PURE__ */ t(
|
|
52
|
+
/* @__PURE__ */ i(n, { style: { color: "#A1A1A1" }, container: !0, children: [
|
|
53
|
+
/* @__PURE__ */ t(n, { size: { xs: 1, md: 0.5 } }),
|
|
54
|
+
/* @__PURE__ */ t(n, { size: { xs: 5, md: 5.5 }, children: /* @__PURE__ */ t("b", { children: _ }) }),
|
|
55
|
+
/* @__PURE__ */ t(n, { size: { xs: 5, md: 5 }, children: /* @__PURE__ */ t("b", { children: u }) }),
|
|
56
|
+
/* @__PURE__ */ t(n, { className: "text-right", size: { xs: 1, md: 1 }, children: /* @__PURE__ */ t("img", { src: Y, alt: "arrow" }) })
|
|
62
57
|
] }),
|
|
63
|
-
/* @__PURE__ */ i(
|
|
64
|
-
/* @__PURE__ */ t(
|
|
65
|
-
/* @__PURE__ */ t(
|
|
66
|
-
/* @__PURE__ */ t(
|
|
58
|
+
/* @__PURE__ */ i(n, { style: { fontWeight: "500" }, container: !0, children: [
|
|
59
|
+
/* @__PURE__ */ t(n, { size: { xs: 1, md: 0.5 } }),
|
|
60
|
+
/* @__PURE__ */ t(n, { size: { xs: 5, md: 5.5 }, children: s }),
|
|
61
|
+
/* @__PURE__ */ t(n, { size: { xs: 6, md: 6 }, children: a })
|
|
67
62
|
] }),
|
|
68
|
-
/* @__PURE__ */ t(
|
|
63
|
+
/* @__PURE__ */ t(n, { mt: 0.5, container: !0, children: /* @__PURE__ */ i(n, { className: "text-right", size: 12, children: [
|
|
69
64
|
"Status:",
|
|
70
65
|
" ",
|
|
71
66
|
/* @__PURE__ */ t("span", { className: f[`status-${e.transaction_status}`], children: /* @__PURE__ */ t("b", { children: T }) })
|
|
72
67
|
] }) })
|
|
73
68
|
] }),
|
|
74
69
|
/* @__PURE__ */ i(
|
|
75
|
-
|
|
70
|
+
P,
|
|
76
71
|
{
|
|
77
72
|
slots: {
|
|
78
|
-
transition:
|
|
73
|
+
transition: Q
|
|
79
74
|
},
|
|
80
75
|
slotProps: {
|
|
81
76
|
paper: {
|
|
@@ -96,7 +91,7 @@ import '../../../assets/index4.css';const Z = "_item_1bfen_1", f = {
|
|
|
96
91
|
onClose: () => y(!1),
|
|
97
92
|
children: [
|
|
98
93
|
/* @__PURE__ */ i(
|
|
99
|
-
|
|
94
|
+
K,
|
|
100
95
|
{
|
|
101
96
|
sx: {
|
|
102
97
|
background: "#FFFFFF",
|
|
@@ -104,7 +99,7 @@ import '../../../assets/index4.css';const Z = "_item_1bfen_1", f = {
|
|
|
104
99
|
},
|
|
105
100
|
children: [
|
|
106
101
|
/* @__PURE__ */ t(
|
|
107
|
-
|
|
102
|
+
L,
|
|
108
103
|
{
|
|
109
104
|
textAlign: "center",
|
|
110
105
|
variant: "subtitle1",
|
|
@@ -114,18 +109,18 @@ import '../../../assets/index4.css';const Z = "_item_1bfen_1", f = {
|
|
|
114
109
|
}
|
|
115
110
|
),
|
|
116
111
|
/* @__PURE__ */ t(
|
|
117
|
-
|
|
112
|
+
M,
|
|
118
113
|
{
|
|
119
114
|
"aria-label": "close",
|
|
120
115
|
onClick: () => y(!1),
|
|
121
116
|
className: f["close-btn"],
|
|
122
|
-
children: /* @__PURE__ */ t(
|
|
117
|
+
children: /* @__PURE__ */ t(X, {})
|
|
123
118
|
}
|
|
124
119
|
)
|
|
125
120
|
]
|
|
126
121
|
}
|
|
127
122
|
),
|
|
128
|
-
/* @__PURE__ */ t(
|
|
123
|
+
/* @__PURE__ */ t(j, { sx: { mt: 1 }, children: /* @__PURE__ */ i(n, { container: !0, spacing: 1, sx: { padding: "0% 15%" }, my: 8, children: [
|
|
129
124
|
/* @__PURE__ */ t(r, { label: "Status", value: T }),
|
|
130
125
|
/* @__PURE__ */ t(r, { label: "Processing Time", value: m }),
|
|
131
126
|
/* @__PURE__ */ t(r, { label: "Order ID", value: e.trx_uuid }),
|
|
@@ -138,7 +133,7 @@ import '../../../assets/index4.css';const Z = "_item_1bfen_1", f = {
|
|
|
138
133
|
r,
|
|
139
134
|
{
|
|
140
135
|
label: "Wallet Address",
|
|
141
|
-
value:
|
|
136
|
+
value: J(e.wallet_address)
|
|
142
137
|
}
|
|
143
138
|
)
|
|
144
139
|
] }) })
|
|
@@ -148,5 +143,5 @@ import '../../../assets/index4.css';const Z = "_item_1bfen_1", f = {
|
|
|
148
143
|
] });
|
|
149
144
|
};
|
|
150
145
|
export {
|
|
151
|
-
|
|
146
|
+
de as default
|
|
152
147
|
};
|
|
@@ -1,41 +1,37 @@
|
|
|
1
|
-
import { jsxs as s, Fragment as E, jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { C as x } from "../../../CircularProgress-xZA3lvba.js";
|
|
5
|
-
import { B as u } from "../../../Box-B0YSYLco.js";
|
|
6
|
-
import { B as P } from "../../../Button-Df4vgU24.js";
|
|
7
|
-
import { T as y } from "../../../Typography-pAaje37G.js";
|
|
1
|
+
import { jsxs as s, Fragment as E, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { Backdrop as M, CircularProgress as w, Box as u, Button as P, Typography as m } from "@mui/material";
|
|
3
|
+
import { useRef as x, useState as i, useEffect as y } from "react";
|
|
8
4
|
let r;
|
|
9
|
-
function
|
|
5
|
+
function _({
|
|
10
6
|
uuid: g,
|
|
11
7
|
showBtn: k = !1,
|
|
12
|
-
buttonText:
|
|
8
|
+
buttonText: I = "KYC",
|
|
13
9
|
configurationId: c,
|
|
14
|
-
successHandler:
|
|
15
|
-
errorHandler:
|
|
16
|
-
apiKey:
|
|
10
|
+
successHandler: S,
|
|
11
|
+
errorHandler: b,
|
|
12
|
+
apiKey: B,
|
|
17
13
|
apiUrl: C,
|
|
18
14
|
onBoardingUrl: L,
|
|
19
15
|
setDocumentsData: R,
|
|
20
16
|
setIncodeSessionData: v,
|
|
21
17
|
isModalView: $ = !1
|
|
22
18
|
}) {
|
|
23
|
-
const a =
|
|
24
|
-
|
|
19
|
+
const a = x(null), d = x(!1), [U, f] = i(!1), [p, T] = i(!1), [n, j] = i(null), [h, z] = i("");
|
|
20
|
+
y(() => {
|
|
25
21
|
if (typeof window > "u") return;
|
|
26
22
|
if (document.querySelector(
|
|
27
23
|
'script[src^="https://sdk.incode.com/sdk/onBoarding"]'
|
|
28
24
|
))
|
|
29
25
|
window.OnBoarding && !d.current && (d.current = !0, f(!0), l());
|
|
30
26
|
else {
|
|
31
|
-
const
|
|
32
|
-
|
|
27
|
+
const o = document.createElement("script");
|
|
28
|
+
o.src = "https://sdk.incode.com/sdk/onBoarding-1.82.0.js", o.defer = !0, o.onload = () => {
|
|
33
29
|
d.current = !0, l();
|
|
34
|
-
}, document.body.appendChild(
|
|
30
|
+
}, document.body.appendChild(o);
|
|
35
31
|
}
|
|
36
32
|
return () => {
|
|
37
|
-
const
|
|
38
|
-
|
|
33
|
+
const o = a.current;
|
|
34
|
+
o && (o.innerHTML = "");
|
|
39
35
|
};
|
|
40
36
|
}, []);
|
|
41
37
|
const l = async () => {
|
|
@@ -46,7 +42,7 @@ function W({
|
|
|
46
42
|
try {
|
|
47
43
|
r = await window.OnBoarding.create({
|
|
48
44
|
apiURL: C,
|
|
49
|
-
apiKey:
|
|
45
|
+
apiKey: B
|
|
50
46
|
});
|
|
51
47
|
const e = await N();
|
|
52
48
|
j(e), v(e);
|
|
@@ -60,19 +56,19 @@ function W({
|
|
|
60
56
|
const e = a.current;
|
|
61
57
|
e && r.renderRedirectToMobile(e, {
|
|
62
58
|
onSuccess: D,
|
|
63
|
-
onError:
|
|
59
|
+
onError: b,
|
|
64
60
|
flowId: c,
|
|
65
61
|
externalId: g,
|
|
66
62
|
session: n
|
|
67
63
|
});
|
|
68
64
|
}, D = async () => {
|
|
69
65
|
const e = await r.ocrData({ token: n.token });
|
|
70
|
-
R(e),
|
|
66
|
+
R(e), S();
|
|
71
67
|
};
|
|
72
|
-
return
|
|
68
|
+
return y(() => {
|
|
73
69
|
if (n) {
|
|
74
70
|
if (r.isDesktop())
|
|
75
|
-
|
|
71
|
+
T(!0);
|
|
76
72
|
else {
|
|
77
73
|
const e = `${L}${n.clientId}/${n.flowType}/${c}?interviewId=${n.interviewId}&isRedirect=true${n.uuid ? `&externalId=${n.uuid}` : ""}`;
|
|
78
74
|
z(e), window.open(e, "_blank");
|
|
@@ -80,16 +76,16 @@ function W({
|
|
|
80
76
|
O(), f(!1);
|
|
81
77
|
}
|
|
82
78
|
}, [n]), /* @__PURE__ */ s(E, { children: [
|
|
83
|
-
/* @__PURE__ */
|
|
79
|
+
/* @__PURE__ */ t(
|
|
84
80
|
M,
|
|
85
81
|
{
|
|
86
82
|
sx: { color: "#fff", zIndex: (e) => e.zIndex.drawer + 1 },
|
|
87
|
-
open:
|
|
88
|
-
children: /* @__PURE__ */
|
|
83
|
+
open: U,
|
|
84
|
+
children: /* @__PURE__ */ t(w, { color: "inherit" })
|
|
89
85
|
}
|
|
90
86
|
),
|
|
91
87
|
/* @__PURE__ */ s(u, { sx: { display: p ? "block" : "none" }, children: [
|
|
92
|
-
/* @__PURE__ */
|
|
88
|
+
/* @__PURE__ */ t(
|
|
93
89
|
"div",
|
|
94
90
|
{
|
|
95
91
|
ref: a,
|
|
@@ -98,30 +94,30 @@ function W({
|
|
|
98
94
|
style: { display: "flex", justifyContent: "center" }
|
|
99
95
|
}
|
|
100
96
|
),
|
|
101
|
-
/* @__PURE__ */
|
|
97
|
+
/* @__PURE__ */ t(
|
|
102
98
|
P,
|
|
103
99
|
{
|
|
104
100
|
id: "launchInCode",
|
|
105
101
|
className: "btn text-white custom-button highlight mx-auto",
|
|
106
102
|
onClick: l,
|
|
107
103
|
sx: { display: k ? "block" : "none" },
|
|
108
|
-
children:
|
|
104
|
+
children: I
|
|
109
105
|
}
|
|
110
106
|
)
|
|
111
107
|
] }),
|
|
112
108
|
/* @__PURE__ */ s(u, { sx: { display: p ? "none" : "block" }, children: [
|
|
113
|
-
/* @__PURE__ */
|
|
114
|
-
|
|
109
|
+
/* @__PURE__ */ t(m, { variant: "h5", className: "text-center", children: /* @__PURE__ */ t("strong", { children: "Please Wait. Session in progress..." }) }),
|
|
110
|
+
h && /* @__PURE__ */ s(m, { sx: { mt: 2 }, variant: "h6", className: "text-center fw500", children: [
|
|
115
111
|
"Please complete the process on the newly opened URL. If the URL did not open,",
|
|
116
112
|
" ",
|
|
117
|
-
/* @__PURE__ */
|
|
113
|
+
/* @__PURE__ */ t("a", { href: h, target: "_blank", children: "click here" }),
|
|
118
114
|
" ",
|
|
119
115
|
"to open the URL."
|
|
120
116
|
] }),
|
|
121
|
-
/* @__PURE__ */
|
|
117
|
+
/* @__PURE__ */ t(u, { mt: 2, sx: { color: "#00B171", textAlign: "center" }, children: /* @__PURE__ */ t(w, { size: 40, color: "primary" }) })
|
|
122
118
|
] })
|
|
123
119
|
] });
|
|
124
120
|
}
|
|
125
121
|
export {
|
|
126
|
-
|
|
122
|
+
_ as default
|
|
127
123
|
};
|
|
@@ -1,44 +1,39 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useState as s, useEffect as
|
|
1
|
+
import { jsxs as d, Fragment as B, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { useState as s, useEffect as c } from "react";
|
|
3
3
|
import { h as J } from "../../../moment-h96o7c8I.js";
|
|
4
|
-
import { u as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import "../../../
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
|
|
16
|
-
import { F as ae } from "../../../FormControl-RtZDQMdA.js";
|
|
17
|
-
import { S as se } from "../../../Select-CB5yWmyn.js";
|
|
18
|
-
import { M as z } from "../../../MenuItem-DUdYOJr4.js";
|
|
19
|
-
import { C as oe } from "../../../CircularProgress-xZA3lvba.js";
|
|
20
|
-
const Ae = ({
|
|
4
|
+
import { u as I } from "../../../react-redux-C7I9-1M6.js";
|
|
5
|
+
import { Typography as M, Box as a, FormControl as Q, Select as U, MenuItem as z, CircularProgress as V } from "@mui/material";
|
|
6
|
+
import { removeExtraSpace as o } from "../../../util/functions.js";
|
|
7
|
+
import { nameRegex as X } from "../../../util/regex.js";
|
|
8
|
+
import "../../../constants-DrmtdI1J.js";
|
|
9
|
+
import { r as $, u as ee } from "../../../kyc-ksV3vBP_.js";
|
|
10
|
+
import { c as te } from "../../../countries-BVn1FubK.js";
|
|
11
|
+
import re from "../../Wallet/Shared/Input/index.js";
|
|
12
|
+
import { useSnackBarContext as ae } from "../../../context/snackBarContext.js";
|
|
13
|
+
import se from "../../Wallet/Shared/appButton.js";
|
|
14
|
+
import ie from "../../../hooks/useEverestDispatch.js";
|
|
15
|
+
const Pe = ({
|
|
21
16
|
onComplete: E,
|
|
22
|
-
inputComponent:
|
|
23
|
-
buttonComponent:
|
|
17
|
+
inputComponent: K,
|
|
18
|
+
buttonComponent: Y
|
|
24
19
|
}) => {
|
|
25
|
-
const
|
|
20
|
+
const i = K ?? re, F = Y ?? se, p = ie(), m = I(
|
|
26
21
|
(e) => e.user.profile
|
|
27
|
-
), n =
|
|
28
|
-
|
|
29
|
-
p(
|
|
30
|
-
}, []),
|
|
31
|
-
|
|
32
|
-
}, [
|
|
22
|
+
), n = I((e) => e.user.kyc), g = n.loader, h = n.error, { showAlertMessage: r } = ae(), [v, y] = s(""), [C, b] = s(""), [u, L] = s(""), [W, R] = s(""), [P, j] = s(""), [S, Z] = s(""), [N, w] = s(""), [q, O] = s(""), [f, T] = s("");
|
|
23
|
+
c(() => () => {
|
|
24
|
+
p($());
|
|
25
|
+
}, []), c(() => {
|
|
26
|
+
h && r({ message: h });
|
|
27
|
+
}, [h]), c(() => {
|
|
33
28
|
n.minimal && (r({
|
|
34
29
|
message: "Minimal KYC has been done successfully.",
|
|
35
30
|
type: "success"
|
|
36
31
|
}), E());
|
|
37
|
-
}, [n]),
|
|
38
|
-
y(
|
|
39
|
-
}, [
|
|
32
|
+
}, [n]), c(() => {
|
|
33
|
+
y(m.firstName), b(m.lastName);
|
|
34
|
+
}, [m]);
|
|
40
35
|
const G = () => {
|
|
41
|
-
const e =
|
|
36
|
+
const e = o(v), l = o(C), A = o(W), H = o(P), D = o(S), _ = o(N), k = o(q);
|
|
42
37
|
if (!e) {
|
|
43
38
|
r({ message: "Please provide first name" });
|
|
44
39
|
return;
|
|
@@ -61,23 +56,23 @@ const Ae = ({
|
|
|
61
56
|
r({ message: "Please provide address" });
|
|
62
57
|
return;
|
|
63
58
|
}
|
|
64
|
-
if (!
|
|
59
|
+
if (!D) {
|
|
65
60
|
r({ message: "Please provide city" });
|
|
66
61
|
return;
|
|
67
62
|
}
|
|
68
|
-
if (!
|
|
63
|
+
if (!_) {
|
|
69
64
|
r({ message: "Please provide state" });
|
|
70
65
|
return;
|
|
71
66
|
}
|
|
72
|
-
if (!
|
|
67
|
+
if (!k) {
|
|
73
68
|
r({ message: "Please provide zip code" });
|
|
74
69
|
return;
|
|
75
70
|
}
|
|
76
|
-
if (!
|
|
71
|
+
if (!f) {
|
|
77
72
|
r({ message: "Please provide country" });
|
|
78
73
|
return;
|
|
79
74
|
}
|
|
80
|
-
g || p(
|
|
75
|
+
g || p(ee({
|
|
81
76
|
personal_information: {
|
|
82
77
|
first_name: e,
|
|
83
78
|
last_name: l,
|
|
@@ -86,19 +81,19 @@ const Ae = ({
|
|
|
86
81
|
residential_address: {
|
|
87
82
|
street: A,
|
|
88
83
|
secondary_street: H,
|
|
89
|
-
city:
|
|
90
|
-
state:
|
|
91
|
-
postcode:
|
|
92
|
-
country:
|
|
84
|
+
city: D,
|
|
85
|
+
state: _,
|
|
86
|
+
postcode: k,
|
|
87
|
+
country: f
|
|
93
88
|
}
|
|
94
89
|
}));
|
|
95
90
|
}, x = (e, l) => {
|
|
96
|
-
e ?
|
|
91
|
+
e ? X.test(e) && l(e) : l("");
|
|
97
92
|
};
|
|
98
|
-
return /* @__PURE__ */
|
|
99
|
-
/* @__PURE__ */ t(
|
|
93
|
+
return /* @__PURE__ */ d(B, { children: [
|
|
94
|
+
/* @__PURE__ */ t(M, { color: "primary", variant: "lg", fontWeight: 600, children: /* @__PURE__ */ t("b", { children: "Personal Details" }) }),
|
|
100
95
|
/* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
|
|
101
|
-
|
|
96
|
+
i,
|
|
102
97
|
{
|
|
103
98
|
label: "First Name",
|
|
104
99
|
value: v,
|
|
@@ -110,7 +105,7 @@ const Ae = ({
|
|
|
110
105
|
}
|
|
111
106
|
) }),
|
|
112
107
|
/* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
|
|
113
|
-
|
|
108
|
+
i,
|
|
114
109
|
{
|
|
115
110
|
label: "Last Name",
|
|
116
111
|
value: C,
|
|
@@ -122,7 +117,7 @@ const Ae = ({
|
|
|
122
117
|
}
|
|
123
118
|
) }),
|
|
124
119
|
/* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
|
|
125
|
-
|
|
120
|
+
i,
|
|
126
121
|
{
|
|
127
122
|
slotProps: {
|
|
128
123
|
inputLabel: {
|
|
@@ -138,7 +133,7 @@ const Ae = ({
|
|
|
138
133
|
}
|
|
139
134
|
) }),
|
|
140
135
|
/* @__PURE__ */ t(
|
|
141
|
-
|
|
136
|
+
M,
|
|
142
137
|
{
|
|
143
138
|
sx: { mt: 2 },
|
|
144
139
|
color: "primary",
|
|
@@ -148,7 +143,7 @@ const Ae = ({
|
|
|
148
143
|
}
|
|
149
144
|
),
|
|
150
145
|
/* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
|
|
151
|
-
|
|
146
|
+
i,
|
|
152
147
|
{
|
|
153
148
|
label: "Address 1",
|
|
154
149
|
value: W,
|
|
@@ -158,7 +153,7 @@ const Ae = ({
|
|
|
158
153
|
}
|
|
159
154
|
) }),
|
|
160
155
|
/* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
|
|
161
|
-
|
|
156
|
+
i,
|
|
162
157
|
{
|
|
163
158
|
label: "Address 2 (optional)",
|
|
164
159
|
value: P,
|
|
@@ -167,36 +162,36 @@ const Ae = ({
|
|
|
167
162
|
}
|
|
168
163
|
) }),
|
|
169
164
|
/* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
|
|
170
|
-
|
|
165
|
+
i,
|
|
171
166
|
{
|
|
172
167
|
label: "City",
|
|
173
168
|
value: S,
|
|
174
|
-
onChange: (e) =>
|
|
169
|
+
onChange: (e) => Z(e.target.value),
|
|
175
170
|
fullWidth: !0,
|
|
176
171
|
required: !0
|
|
177
172
|
}
|
|
178
173
|
) }),
|
|
179
174
|
/* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
|
|
180
|
-
|
|
175
|
+
i,
|
|
181
176
|
{
|
|
182
177
|
label: "State",
|
|
183
178
|
value: N,
|
|
184
|
-
onChange: (e) =>
|
|
179
|
+
onChange: (e) => w(e.target.value),
|
|
185
180
|
fullWidth: !0,
|
|
186
181
|
required: !0
|
|
187
182
|
}
|
|
188
183
|
) }),
|
|
189
184
|
/* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
|
|
190
|
-
|
|
185
|
+
i,
|
|
191
186
|
{
|
|
192
187
|
label: "Zip Code",
|
|
193
188
|
value: q,
|
|
194
|
-
onChange: (e) =>
|
|
189
|
+
onChange: (e) => O(e.target.value),
|
|
195
190
|
fullWidth: !0,
|
|
196
191
|
required: !0
|
|
197
192
|
}
|
|
198
193
|
) }),
|
|
199
|
-
/* @__PURE__ */
|
|
194
|
+
/* @__PURE__ */ d(a, { mt: 2, children: [
|
|
200
195
|
/* @__PURE__ */ t(
|
|
201
196
|
"label",
|
|
202
197
|
{
|
|
@@ -209,25 +204,25 @@ const Ae = ({
|
|
|
209
204
|
children: "Country *"
|
|
210
205
|
}
|
|
211
206
|
),
|
|
212
|
-
/* @__PURE__ */ t(
|
|
213
|
-
|
|
207
|
+
/* @__PURE__ */ t(Q, { fullWidth: !0, children: /* @__PURE__ */ d(
|
|
208
|
+
U,
|
|
214
209
|
{
|
|
215
|
-
value:
|
|
210
|
+
value: f,
|
|
216
211
|
displayEmpty: !0,
|
|
217
|
-
onChange: (e) =>
|
|
212
|
+
onChange: (e) => T(e.target.value),
|
|
218
213
|
children: [
|
|
219
214
|
/* @__PURE__ */ t(z, { value: "", children: "Select Country" }),
|
|
220
|
-
|
|
215
|
+
te.map((e) => /* @__PURE__ */ t(z, { value: e.alpha3, children: e.name }, e.alpha3))
|
|
221
216
|
]
|
|
222
217
|
}
|
|
223
218
|
) })
|
|
224
219
|
] }),
|
|
225
|
-
/* @__PURE__ */ t(a, { mt: 4, children: /* @__PURE__ */ t(
|
|
226
|
-
/* @__PURE__ */ t(
|
|
220
|
+
/* @__PURE__ */ t(a, { mt: 4, children: /* @__PURE__ */ t(F, { onClick: G, fullWidth: !0, children: /* @__PURE__ */ t("strong", { children: g ? /* @__PURE__ */ d(B, { children: [
|
|
221
|
+
/* @__PURE__ */ t(V, { size: 15, color: "inherit" }),
|
|
227
222
|
" Processing..."
|
|
228
223
|
] }) : "Submit" }) }) })
|
|
229
224
|
] });
|
|
230
225
|
};
|
|
231
226
|
export {
|
|
232
|
-
|
|
227
|
+
Pe as default
|
|
233
228
|
};
|