everest-npm-features 0.0.61 → 0.0.63
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/ArrowBack-DEJjwfp0.js +8 -0
- 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-71FP5PzJ.js +13 -0
- package/dist/Portal-BeS9yJCZ.js +968 -0
- package/dist/assets/styles.css +1 -1
- package/dist/{auth-Cwq6nfwY.js → auth-BBeOw4mt.js} +11 -11
- package/dist/{bank-C4pmTe--.js → bank-HVb0GFsa.js} +1 -1
- package/dist/components/RocketRamp/MinimalKyc/form.js +46 -51
- 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 +14 -13
- 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 -53
- package/dist/components/Shared/FullKyc/index.js +13 -11
- package/dist/components/Shared/FullKyc/pep.js +35 -43
- package/dist/components/Shared/FullKyc/personalDetails.js +6 -6
- package/dist/components/Shared/FullKyc/userInfo.js +8 -13
- 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.d.ts +1 -2
- package/dist/components/Wallet/Account/createIban.js +324 -102
- package/dist/components/Wallet/Account/eWallet.js +37 -43
- package/dist/components/Wallet/Account/iban.d.ts +1 -0
- package/dist/components/Wallet/Account/iban.js +41 -45
- package/dist/components/Wallet/Account/ibanItem.js +70 -75
- package/dist/components/Wallet/Account/index.d.ts +1 -0
- package/dist/components/Wallet/Account/index.js +113 -118
- package/dist/components/Wallet/Account/sendIban.js +79 -88
- package/dist/components/Wallet/Buy/confirmTransaction.js +9 -11
- 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 -18
- package/dist/components/Wallet/EnterpriseKyc/edd.js +32 -33
- package/dist/components/Wallet/EnterpriseKyc/index.js +73 -77
- 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 +33 -34
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3591 -1482
- package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
- package/dist/components/Wallet/EnterpriseKyc/verify.js +22 -22
- 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 +122 -126
- package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
- package/dist/components/Wallet/Portfolio/index.js +48 -51
- package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
- package/dist/components/Wallet/Profile/documents.js +164 -176
- package/dist/components/Wallet/Profile/index.js +39 -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 -10
- 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 +98 -107
- 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 -19
- 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.d.ts +2 -1
- package/dist/components/Wallet/Shared/Container/index.js +11 -11
- 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 -45
- 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 -13
- 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 +71 -69
- package/dist/components/Wallet/Stake/id/index.js +77 -84
- package/dist/components/Wallet/Stake/index.js +65 -68
- package/dist/components/Wallet/Swap/form.js +11 -20
- 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-DrmtdI1J.js → constants-DX0YBtP2.js} +19 -19
- package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
- package/dist/{cryptoAssets-DyGDknvq.js → cryptoAssets-B8rAI7pp.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-BbVpeed7.js → index-B4XvACQN.js} +89 -98
- package/dist/{index-BHG1bT4t.js → index-CTPMPwYK.js} +173 -182
- package/dist/{index-Dh_ahu-u.js → index-DkiQ8pRO.js} +95 -106
- package/dist/{index-C7Td5yoW.js → index-DuWW5roi.js} +175 -184
- package/dist/{index-eEBuSKOo.js → index-JY6-UKlX.js} +127 -137
- package/dist/{index-D2JWUPz8.js → index-_fiTunwZ.js} +154 -163
- package/dist/{index-B9oucF3r.js → index-bK14vCZw.js} +189 -198
- package/dist/{kyc-ksV3vBP_.js → kyc-BNMPoeHt.js} +1 -1
- package/dist/main.js +7 -7
- package/dist/memoTheme-DnE8lj0t.js +3481 -0
- package/dist/{order-DEp_Lmar.js → order-BXeCIvqC.js} +1 -1
- package/dist/otpForm-DeeegaX2.js +7378 -0
- package/dist/{stake-Ct7-_aWW.js → stake-BO2TYVJ7.js} +1 -1
- package/dist/styles.module-DFoezEqS.js +28 -0
- package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
- package/dist/tooltip-BW0UyWw7.js +2129 -0
- package/dist/util/constants.d.ts +1 -0
- package/dist/util/constants.js +72 -71
- package/dist/{wallet-CauUBXou.js → wallet-BPXOp8UG.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/PlayArrow-Bjz9LxhD.js +0 -13
- 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/styles.module-CHPRGltL.js +0 -28
- 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
package/dist/util/constants.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ export declare const ENT_VISA_PAYMENT: string;
|
|
|
31
31
|
export declare const ENT_VISA_PAYMENT_ACTIVE: string;
|
|
32
32
|
export declare const CLOUD_ICON: string;
|
|
33
33
|
export declare const STORAGE_SUCCESS: string;
|
|
34
|
+
export declare const BRAND_VORTEX_ID = "vortex";
|
|
34
35
|
export declare const PAYMENT_PROVIDER_RAILSBANK = "railsbank";
|
|
35
36
|
export declare const PAYMENT_PROVIDER_OPENPAYD = "open_payd";
|
|
36
37
|
export declare const PAYMENT_PROVIDER_CHECKOUT = "checkout";
|
package/dist/util/constants.js
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
const _ = "https://static-assets.everest.org", E = _ + "/web/widget", n = _ + "/web/enterprise", s = _ + "/web/wallet/images", t = s + "/new", e = t + "/sell-withdraw.png", c = t + "/back-btn.png", T = t + "/delete.png", A = n + "/history-buy.svg", a = n + "/history-sell.svg", I = n + "/history-swap.svg", O = t + "/wallet-icon.png", N = t + "/stake-id.png",
|
|
1
|
+
const _ = "https://static-assets.everest.org", E = _ + "/web/widget", n = _ + "/web/enterprise", s = _ + "/web/wallet/images", t = s + "/new", e = t + "/sell-withdraw.png", c = t + "/back-btn.png", T = t + "/delete.png", A = n + "/history-buy.svg", a = n + "/history-sell.svg", I = n + "/history-swap.svg", O = t + "/wallet-icon.png", N = t + "/stake-id.png", R = s + "/stake-gem.png", S = n + "/swap-receive-down-arrow.svg", r = t + "/sepa-payment.png", i = t + "/sepa-payment-selected.png", P = t + "/visa-payment.png", L = t + "/visa-payment-selected.png", C = t + "/sepa.png", D = t + "/visa.png", d = t + "/dialog-error.png", Y = t + "/dialog-success.png", p = n + "/expand-down-arrow.svg", M = n + "/expand-right-arrow.svg", g = n + "/back-arrow.svg", l = n + "/right-arrow.svg", K = n + "/radio-button.svg", U = n + "/radio-button-selected.svg", B = n + "/sepa.png", u = n + "/sepa-selected.png", h = n + "/visa.png", v = n + "/visa-selected.png", W = t + "/cloud-icon.png", y = t + "/storage-success.png", m = "vortex", V = "railsbank", w = "open_payd", G = "checkout", b = "trustpayments", k = "paysafe", H = "cardcorp", F = "plaid", f = "$", X = "€", $ = "USD", x = "EUR", j = "GBP", z = "Binance", Z = "Polygon", q = "EverChain", J = "IDChain", Q = "Ethereum", tt = "Avalanche", nt = "USD.c", _t = "EUR.c", st = "EURE.c", ot = "GBP.c", Et = "BTC.c", et = "GEMS.c", ct = "ID", Tt = "GEMS", At = "USDR.c", at = "fiat_to_token", It = "fiat_to_everid", Ot = "token_to_fiat", Nt = "token_to_token", Rt = "withdraw", St = "iban_creation", rt = "bank_transfer", it = "bank_deposit", Pt = "Created", Lt = "In Process", Ct = "Completed", Dt = "Failed", dt = "Awaiting Approved", Yt = "Rejected", pt = "ID", Mt = "GEMS", gt = 90, lt = 3, Kt = 180, Ut = 8, Bt = 365, ut = 18, ht = 365, vt = 20, Wt = "Linked Wallets make transactions easier, automating the signing process during Sell, Swap, Stake, Send and Remit transactions because you have backed up your Private Key with Everest.", yt = "Connected Wallets are those that you have demonstrated you control, but you must manually move tokens as the system can not do so without the Private Key.", mt = "The rate shown here is an estimate and the rate you receive will be determined at the time when your payment is settled. The time taken for your payment to settle can vary depending on currency and payment method.", Vt = 300, wt = "username can only contain letters, numbers, underscores & cannot exceed more than 13 characters", Gt = "_rr", bt = "credit_debit_card", kt = "sepa_bank_transfer", Ht = "player", Ft = "store", ft = "login_screen", Xt = "register_screen", $t = "Individual", xt = "Organization", jt = "Over $100,000", zt = "Over $1,000 & Under $100,000", Zt = "Under $1,000", qt = "Declined", Jt = "You are allowed to transact up to $10,000", Qt = "You are allowed to transact more than $10,000", tn = "eWallet", nn = "Virtual IBAN", _n = "incode", o = "sumsub", sn = o;
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
S as ARROW_ICON,
|
|
4
|
+
tt as AVALANCHE_NETWORK,
|
|
5
5
|
g as BACK_ARROW,
|
|
6
6
|
c as BACK_BTN_ICON,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
it as BANK_DEPOSIT,
|
|
8
|
+
rt as BANK_TRANSFER,
|
|
9
|
+
z as BINANCE_NETWORK,
|
|
10
|
+
m as BRAND_VORTEX_ID,
|
|
11
|
+
Et as BTC_TOKEN_SYMBOL,
|
|
12
|
+
qt as CARD_PAYMENT_DECLINE,
|
|
12
13
|
W as CLOUD_ICON,
|
|
13
|
-
|
|
14
|
+
yt as CONNECTED_WALLET_TOOLTIP,
|
|
14
15
|
T as DELETE_ICON,
|
|
15
16
|
d as DIALOG_ERROR_ICON,
|
|
16
17
|
Y as DIALOG_SUCCESS_ICON,
|
|
@@ -18,91 +19,91 @@ export {
|
|
|
18
19
|
u as ENT_SEPA_PAYMENT_ACTIVE,
|
|
19
20
|
h as ENT_VISA_PAYMENT,
|
|
20
21
|
v as ENT_VISA_PAYMENT_ACTIVE,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
22
|
+
mt as ESTIMATE_TOOLTIP_TEXT,
|
|
23
|
+
Q as ETHEREUM_NETWORK,
|
|
24
|
+
x as EURO_ISO3,
|
|
25
|
+
X as EURO_SIGN,
|
|
26
|
+
q as EVER_CHAIN_NETWORK,
|
|
27
|
+
tn as FEATURE_EWALLET,
|
|
28
|
+
nn as FEATURE_VIRTUAL_IBAN,
|
|
29
|
+
It as FIAT_TO_EVER_ID,
|
|
30
|
+
at as FIAT_TO_TOKEN,
|
|
31
|
+
Rt as FIAT_WITHDRAW,
|
|
32
|
+
j as GBP_ISO3,
|
|
33
|
+
Mt as GEMS_STAKE,
|
|
34
|
+
Tt as GEMS_TOKEN_SYMBOL,
|
|
35
|
+
et as GEM_SYNTHETIC_TOKEN_SYMBOL,
|
|
35
36
|
A as HISTORY_BUY_ICON,
|
|
36
37
|
a as HISTORY_SELL_ICON,
|
|
37
38
|
I as HISTORY_SWAP_ICON,
|
|
38
39
|
St as IBAN_CREATION,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
J as ID_CHAIN_NETWORK,
|
|
41
|
+
pt as ID_STAKE,
|
|
42
|
+
ct as ID_TOKEN_SYMBOL,
|
|
42
43
|
$t as INDIVIDUAL_KYC_TYPE,
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
44
|
+
Jt as KYC_APROVED_TOOLTIP,
|
|
45
|
+
zt as KYC_BETWEEN_TRANSATION,
|
|
46
|
+
Qt as KYC_ELITE_TOOLTIP,
|
|
47
|
+
jt as KYC_OVER_TRANSATION,
|
|
48
|
+
sn as KYC_PROVIDER,
|
|
49
|
+
_n as KYC_PROVIDER_INCODE,
|
|
49
50
|
o as KYC_PROVIDER_SUMSUB,
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
51
|
+
Zt as KYC_UNDER_TRANSATION,
|
|
52
|
+
Wt as LINKED_WALLET_TOOLTIP,
|
|
53
|
+
ft as LOGIN_SCREEN,
|
|
54
|
+
xt as ORGANIZATION_KYC_TYPE,
|
|
55
|
+
kt as PAYMENT_BANK,
|
|
56
|
+
bt as PAYMENT_CARD,
|
|
57
|
+
H as PAYMENT_PROVIDER_CARDCORP,
|
|
57
58
|
G as PAYMENT_PROVIDER_CHECKOUT,
|
|
58
59
|
w as PAYMENT_PROVIDER_OPENPAYD,
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
60
|
+
k as PAYMENT_PROVIDER_PAYSAFE,
|
|
61
|
+
F as PAYMENT_PROVIDER_PLAID,
|
|
62
|
+
V as PAYMENT_PROVIDER_RAILSBANK,
|
|
63
|
+
b as PAYMENT_PROVIDER_TRUST_PAYMENTS,
|
|
64
|
+
Ht as PLAYER_WEBSITE,
|
|
65
|
+
Z as POLYGON_NETWORK,
|
|
65
66
|
p as PORTFOLIO_TOKEN_DOWN_ARROW,
|
|
66
67
|
M as PORTFOLIO_TOKEN_RIGHT_ARROW,
|
|
67
68
|
K as RADIO_BUTTON,
|
|
68
69
|
U as RADIO_BUTTON_SELECTED,
|
|
69
|
-
|
|
70
|
-
|
|
70
|
+
Xt as REGISTER_SCREEN,
|
|
71
|
+
Vt as RESEND_EMAIL_TIMER,
|
|
71
72
|
l as RIGHT_ARROW,
|
|
72
73
|
e as SELL_WITHDRAW_ICON,
|
|
73
74
|
C as SEPA_ICON,
|
|
74
75
|
r as SEPA_PAYMENT,
|
|
75
76
|
i as SEPA_PAYMENT_ACTIVE,
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
R as STAKE_GEM_ICON,
|
|
78
|
+
vt as STAKE_GEM_MAX_APY,
|
|
79
|
+
ht as STAKE_GEM_MAX_DAYS,
|
|
79
80
|
N as STAKE_ID_ICON,
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
81
|
+
ut as STAKE_ID_MAX_APY,
|
|
82
|
+
Bt as STAKE_ID_MAX_DAYS,
|
|
83
|
+
Ut as STAKE_ID_MID_APY,
|
|
84
|
+
Kt as STAKE_ID_MID_DAYS,
|
|
85
|
+
lt as STAKE_ID_MIN_APY,
|
|
86
|
+
gt as STAKE_ID_MIN_DAYS,
|
|
86
87
|
_ as STATIC_ASSETS_BASE_URL,
|
|
87
88
|
y as STORAGE_SUCCESS,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
89
|
+
Ft as STORE_WEBSITE,
|
|
90
|
+
_t as SYNTHETIC_EUR,
|
|
91
|
+
st as SYNTHETIC_EURE,
|
|
92
|
+
ot as SYNTHETIC_GBP,
|
|
93
|
+
nt as SYNTHETIC_USD,
|
|
94
|
+
Ot as TOKEN_TO_FIAT,
|
|
95
|
+
Nt as TOKEN_TO_TOKEN,
|
|
96
|
+
Ct as TS_COMPLETE_LABEL,
|
|
97
|
+
Pt as TS_CREATED_LABEL,
|
|
98
|
+
Dt as TS_FAIL_LABEL,
|
|
99
|
+
Yt as TS_NOT_APPROVAL_LABEL,
|
|
100
|
+
Lt as TS_PENDING_LABEL,
|
|
101
|
+
dt as TS_WAIT_APPROVAL_LABEL,
|
|
102
|
+
At as USDR_TOKEN_SYMBOL,
|
|
102
103
|
Gt as USERNAME_SUFFIX,
|
|
103
104
|
wt as USERNAME_TOOLTIP,
|
|
104
105
|
$ as US_DOLLAR_ISO3,
|
|
105
|
-
|
|
106
|
+
f as US_DOLLAR_SIGN,
|
|
106
107
|
D as VISA_ICON,
|
|
107
108
|
P as VISA_PAYMENT,
|
|
108
109
|
L as VISA_PAYMENT_ACTIVE,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as a, U as e, p as t, q as E, r as T, s as A, t as _, u as o, v as S, w as l } from "./constants-
|
|
1
|
+
import { F as a, U as e, p as t, q as E, r as T, s as A, t as _, u as o, v as S, w as l } from "./constants-DX0YBtP2.js";
|
|
2
2
|
const L = () => ({
|
|
3
3
|
type: e
|
|
4
4
|
}), d = () => ({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "everest-npm-features",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.63",
|
|
4
4
|
"description": "Everest frontend features library.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -22,15 +22,15 @@
|
|
|
22
22
|
"@types/react-dom": ">=18 <20",
|
|
23
23
|
"react": ">=18 <21",
|
|
24
24
|
"react-dom": ">=18 <21",
|
|
25
|
-
"react-redux": "^9.1.2"
|
|
25
|
+
"react-redux": "^9.1.2",
|
|
26
|
+
"@emotion/react": "^11.14.0",
|
|
27
|
+
"@emotion/styled": "^11.14.1",
|
|
28
|
+
"@mui/icons-material": "^7.2.0",
|
|
29
|
+
"@mui/material": "^7.2.0"
|
|
26
30
|
},
|
|
27
31
|
"dependencies": {
|
|
28
32
|
"@coinbase/wallet-sdk": "^4.1.0",
|
|
29
|
-
"@emotion/react": "^11.14.0",
|
|
30
|
-
"@emotion/styled": "^11.14.1",
|
|
31
33
|
"@metamask/sdk-react": "^0.29.2",
|
|
32
|
-
"@mui/icons-material": "^7.2.0",
|
|
33
|
-
"@mui/material": "^7.2.0",
|
|
34
34
|
"@sumsub/websdk-react": "^2.5.0",
|
|
35
35
|
"@walletconnect/ethereum-provider": "^2.17.1",
|
|
36
36
|
"everest-npm-api": "^0.0.43",
|
package/dist/Alert-DzsbFW3-.js
DELETED
|
@@ -1,369 +0,0 @@
|
|
|
1
|
-
import * as _ from "react";
|
|
2
|
-
import { g as q, b as y, t as b, u as M, P as o } from "./createTheme-CD19zQB7.js";
|
|
3
|
-
import { c as G } from "./clsx-BTaloaeC.js";
|
|
4
|
-
import { m as J } from "./memoTheme-yHaPezod.js";
|
|
5
|
-
import { u as i } from "./useSlot-CW7SOYlh.js";
|
|
6
|
-
import { c as m } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
7
|
-
import { g as K } from "./generateUtilityClasses-BRiE4Guh.js";
|
|
8
|
-
import { c as u } from "./createSvgIcon-Cuzqm90l.js";
|
|
9
|
-
import { jsx as n, jsxs as Q } from "react/jsx-runtime";
|
|
10
|
-
import { C as X } from "./Close-CxzDL3J-.js";
|
|
11
|
-
import { s as f, u as Y, c as oo } from "./DefaultPropsProvider-oAu9El-f.js";
|
|
12
|
-
import { P as eo } from "./Paper-Bgt2WXI6.js";
|
|
13
|
-
import { I as to } from "./IconButton-DHm-hucF.js";
|
|
14
|
-
function no(e) {
|
|
15
|
-
return q("MuiAlert", e);
|
|
16
|
-
}
|
|
17
|
-
const P = K("MuiAlert", ["root", "action", "icon", "message", "filled", "colorSuccess", "colorInfo", "colorWarning", "colorError", "filledSuccess", "filledInfo", "filledWarning", "filledError", "outlined", "outlinedSuccess", "outlinedInfo", "outlinedWarning", "outlinedError", "standard", "standardSuccess", "standardInfo", "standardWarning", "standardError"]), ro = u(/* @__PURE__ */ n("path", {
|
|
18
|
-
d: "M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"
|
|
19
|
-
}), "SuccessOutlined"), so = u(/* @__PURE__ */ n("path", {
|
|
20
|
-
d: "M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"
|
|
21
|
-
}), "ReportProblemOutlined"), lo = u(/* @__PURE__ */ n("path", {
|
|
22
|
-
d: "M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
|
|
23
|
-
}), "ErrorOutline"), ao = u(/* @__PURE__ */ n("path", {
|
|
24
|
-
d: "M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"
|
|
25
|
-
}), "InfoOutlined"), io = (e) => {
|
|
26
|
-
const {
|
|
27
|
-
variant: r,
|
|
28
|
-
color: s,
|
|
29
|
-
severity: t,
|
|
30
|
-
classes: c
|
|
31
|
-
} = e, g = {
|
|
32
|
-
root: ["root", `color${y(s || t)}`, `${r}${y(s || t)}`, `${r}`],
|
|
33
|
-
icon: ["icon"],
|
|
34
|
-
message: ["message"],
|
|
35
|
-
action: ["action"]
|
|
36
|
-
};
|
|
37
|
-
return oo(g, no, c);
|
|
38
|
-
}, co = f(eo, {
|
|
39
|
-
name: "MuiAlert",
|
|
40
|
-
slot: "Root",
|
|
41
|
-
overridesResolver: (e, r) => {
|
|
42
|
-
const {
|
|
43
|
-
ownerState: s
|
|
44
|
-
} = e;
|
|
45
|
-
return [r.root, r[s.variant], r[`${s.variant}${y(s.color || s.severity)}`]];
|
|
46
|
-
}
|
|
47
|
-
})(J(({
|
|
48
|
-
theme: e
|
|
49
|
-
}) => {
|
|
50
|
-
const r = e.palette.mode === "light" ? b : M, s = e.palette.mode === "light" ? M : b;
|
|
51
|
-
return {
|
|
52
|
-
...e.typography.body2,
|
|
53
|
-
backgroundColor: "transparent",
|
|
54
|
-
display: "flex",
|
|
55
|
-
padding: "6px 16px",
|
|
56
|
-
variants: [...Object.entries(e.palette).filter(m(["light"])).map(([t]) => ({
|
|
57
|
-
props: {
|
|
58
|
-
colorSeverity: t,
|
|
59
|
-
variant: "standard"
|
|
60
|
-
},
|
|
61
|
-
style: {
|
|
62
|
-
color: e.vars ? e.vars.palette.Alert[`${t}Color`] : r(e.palette[t].light, 0.6),
|
|
63
|
-
backgroundColor: e.vars ? e.vars.palette.Alert[`${t}StandardBg`] : s(e.palette[t].light, 0.9),
|
|
64
|
-
[`& .${P.icon}`]: e.vars ? {
|
|
65
|
-
color: e.vars.palette.Alert[`${t}IconColor`]
|
|
66
|
-
} : {
|
|
67
|
-
color: e.palette[t].main
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
})), ...Object.entries(e.palette).filter(m(["light"])).map(([t]) => ({
|
|
71
|
-
props: {
|
|
72
|
-
colorSeverity: t,
|
|
73
|
-
variant: "outlined"
|
|
74
|
-
},
|
|
75
|
-
style: {
|
|
76
|
-
color: e.vars ? e.vars.palette.Alert[`${t}Color`] : r(e.palette[t].light, 0.6),
|
|
77
|
-
border: `1px solid ${(e.vars || e).palette[t].light}`,
|
|
78
|
-
[`& .${P.icon}`]: e.vars ? {
|
|
79
|
-
color: e.vars.palette.Alert[`${t}IconColor`]
|
|
80
|
-
} : {
|
|
81
|
-
color: e.palette[t].main
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
})), ...Object.entries(e.palette).filter(m(["dark"])).map(([t]) => ({
|
|
85
|
-
props: {
|
|
86
|
-
colorSeverity: t,
|
|
87
|
-
variant: "filled"
|
|
88
|
-
},
|
|
89
|
-
style: {
|
|
90
|
-
fontWeight: e.typography.fontWeightMedium,
|
|
91
|
-
...e.vars ? {
|
|
92
|
-
color: e.vars.palette.Alert[`${t}FilledColor`],
|
|
93
|
-
backgroundColor: e.vars.palette.Alert[`${t}FilledBg`]
|
|
94
|
-
} : {
|
|
95
|
-
backgroundColor: e.palette.mode === "dark" ? e.palette[t].dark : e.palette[t].main,
|
|
96
|
-
color: e.palette.getContrastText(e.palette[t].main)
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}))]
|
|
100
|
-
};
|
|
101
|
-
})), po = f("div", {
|
|
102
|
-
name: "MuiAlert",
|
|
103
|
-
slot: "Icon"
|
|
104
|
-
})({
|
|
105
|
-
marginRight: 12,
|
|
106
|
-
padding: "7px 0",
|
|
107
|
-
display: "flex",
|
|
108
|
-
fontSize: 22,
|
|
109
|
-
opacity: 0.9
|
|
110
|
-
}), uo = f("div", {
|
|
111
|
-
name: "MuiAlert",
|
|
112
|
-
slot: "Message"
|
|
113
|
-
})({
|
|
114
|
-
padding: "8px 0",
|
|
115
|
-
minWidth: 0,
|
|
116
|
-
overflow: "auto"
|
|
117
|
-
}), fo = f("div", {
|
|
118
|
-
name: "MuiAlert",
|
|
119
|
-
slot: "Action"
|
|
120
|
-
})({
|
|
121
|
-
display: "flex",
|
|
122
|
-
alignItems: "flex-start",
|
|
123
|
-
padding: "4px 0 0 16px",
|
|
124
|
-
marginLeft: "auto",
|
|
125
|
-
marginRight: -8
|
|
126
|
-
}), x = {
|
|
127
|
-
success: /* @__PURE__ */ n(ro, {
|
|
128
|
-
fontSize: "inherit"
|
|
129
|
-
}),
|
|
130
|
-
warning: /* @__PURE__ */ n(so, {
|
|
131
|
-
fontSize: "inherit"
|
|
132
|
-
}),
|
|
133
|
-
error: /* @__PURE__ */ n(lo, {
|
|
134
|
-
fontSize: "inherit"
|
|
135
|
-
}),
|
|
136
|
-
info: /* @__PURE__ */ n(ao, {
|
|
137
|
-
fontSize: "inherit"
|
|
138
|
-
})
|
|
139
|
-
}, go = /* @__PURE__ */ _.forwardRef(function(r, s) {
|
|
140
|
-
const t = Y({
|
|
141
|
-
props: r,
|
|
142
|
-
name: "MuiAlert"
|
|
143
|
-
}), {
|
|
144
|
-
action: c,
|
|
145
|
-
children: g,
|
|
146
|
-
className: h,
|
|
147
|
-
closeText: v = "Close",
|
|
148
|
-
color: C,
|
|
149
|
-
components: A = {},
|
|
150
|
-
componentsProps: j = {},
|
|
151
|
-
icon: S,
|
|
152
|
-
iconMapping: $ = x,
|
|
153
|
-
onClose: T,
|
|
154
|
-
role: z = "alert",
|
|
155
|
-
severity: p = "success",
|
|
156
|
-
slotProps: B = {},
|
|
157
|
-
slots: L = {},
|
|
158
|
-
variant: w = "standard",
|
|
159
|
-
...k
|
|
160
|
-
} = t, l = {
|
|
161
|
-
...t,
|
|
162
|
-
color: C,
|
|
163
|
-
severity: p,
|
|
164
|
-
variant: w,
|
|
165
|
-
colorSeverity: C || p
|
|
166
|
-
}, d = io(l), a = {
|
|
167
|
-
slots: {
|
|
168
|
-
closeButton: A.CloseButton,
|
|
169
|
-
closeIcon: A.CloseIcon,
|
|
170
|
-
...L
|
|
171
|
-
},
|
|
172
|
-
slotProps: {
|
|
173
|
-
...j,
|
|
174
|
-
...B
|
|
175
|
-
}
|
|
176
|
-
}, [R, E] = i("root", {
|
|
177
|
-
ref: s,
|
|
178
|
-
shouldForwardComponentProp: !0,
|
|
179
|
-
className: G(d.root, h),
|
|
180
|
-
elementType: co,
|
|
181
|
-
externalForwardedProps: {
|
|
182
|
-
...a,
|
|
183
|
-
...k
|
|
184
|
-
},
|
|
185
|
-
ownerState: l,
|
|
186
|
-
additionalProps: {
|
|
187
|
-
role: z,
|
|
188
|
-
elevation: 0
|
|
189
|
-
}
|
|
190
|
-
}), [N, W] = i("icon", {
|
|
191
|
-
className: d.icon,
|
|
192
|
-
elementType: po,
|
|
193
|
-
externalForwardedProps: a,
|
|
194
|
-
ownerState: l
|
|
195
|
-
}), [F, H] = i("message", {
|
|
196
|
-
className: d.message,
|
|
197
|
-
elementType: uo,
|
|
198
|
-
externalForwardedProps: a,
|
|
199
|
-
ownerState: l
|
|
200
|
-
}), [I, O] = i("action", {
|
|
201
|
-
className: d.action,
|
|
202
|
-
elementType: fo,
|
|
203
|
-
externalForwardedProps: a,
|
|
204
|
-
ownerState: l
|
|
205
|
-
}), [V, U] = i("closeButton", {
|
|
206
|
-
elementType: to,
|
|
207
|
-
externalForwardedProps: a,
|
|
208
|
-
ownerState: l
|
|
209
|
-
}), [D, Z] = i("closeIcon", {
|
|
210
|
-
elementType: X,
|
|
211
|
-
externalForwardedProps: a,
|
|
212
|
-
ownerState: l
|
|
213
|
-
});
|
|
214
|
-
return /* @__PURE__ */ Q(R, {
|
|
215
|
-
...E,
|
|
216
|
-
children: [S !== !1 ? /* @__PURE__ */ n(N, {
|
|
217
|
-
...W,
|
|
218
|
-
children: S || $[p] || x[p]
|
|
219
|
-
}) : null, /* @__PURE__ */ n(F, {
|
|
220
|
-
...H,
|
|
221
|
-
children: g
|
|
222
|
-
}), c != null ? /* @__PURE__ */ n(I, {
|
|
223
|
-
...O,
|
|
224
|
-
children: c
|
|
225
|
-
}) : null, c == null && T ? /* @__PURE__ */ n(I, {
|
|
226
|
-
...O,
|
|
227
|
-
children: /* @__PURE__ */ n(V, {
|
|
228
|
-
size: "small",
|
|
229
|
-
"aria-label": v,
|
|
230
|
-
title: v,
|
|
231
|
-
color: "inherit",
|
|
232
|
-
onClick: T,
|
|
233
|
-
...U,
|
|
234
|
-
children: /* @__PURE__ */ n(D, {
|
|
235
|
-
fontSize: "small",
|
|
236
|
-
...Z
|
|
237
|
-
})
|
|
238
|
-
})
|
|
239
|
-
}) : null]
|
|
240
|
-
});
|
|
241
|
-
});
|
|
242
|
-
process.env.NODE_ENV !== "production" && (go.propTypes = {
|
|
243
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
244
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
245
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
246
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
247
|
-
/**
|
|
248
|
-
* The action to display. It renders after the message, at the end of the alert.
|
|
249
|
-
*/
|
|
250
|
-
action: o.node,
|
|
251
|
-
/**
|
|
252
|
-
* The content of the component.
|
|
253
|
-
*/
|
|
254
|
-
children: o.node,
|
|
255
|
-
/**
|
|
256
|
-
* Override or extend the styles applied to the component.
|
|
257
|
-
*/
|
|
258
|
-
classes: o.object,
|
|
259
|
-
/**
|
|
260
|
-
* @ignore
|
|
261
|
-
*/
|
|
262
|
-
className: o.string,
|
|
263
|
-
/**
|
|
264
|
-
* Override the default label for the *close popup* icon button.
|
|
265
|
-
*
|
|
266
|
-
* For localization purposes, you can use the provided [translations](https://mui.com/material-ui/guides/localization/).
|
|
267
|
-
* @default 'Close'
|
|
268
|
-
*/
|
|
269
|
-
closeText: o.string,
|
|
270
|
-
/**
|
|
271
|
-
* The color of the component. Unless provided, the value is taken from the `severity` prop.
|
|
272
|
-
* It supports both default and custom theme colors, which can be added as shown in the
|
|
273
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
274
|
-
*/
|
|
275
|
-
color: o.oneOfType([o.oneOf(["error", "info", "success", "warning"]), o.string]),
|
|
276
|
-
/**
|
|
277
|
-
* The components used for each slot inside.
|
|
278
|
-
*
|
|
279
|
-
* @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
280
|
-
*
|
|
281
|
-
* @default {}
|
|
282
|
-
*/
|
|
283
|
-
components: o.shape({
|
|
284
|
-
CloseButton: o.elementType,
|
|
285
|
-
CloseIcon: o.elementType
|
|
286
|
-
}),
|
|
287
|
-
/**
|
|
288
|
-
* The extra props for the slot components.
|
|
289
|
-
* You can override the existing props or add new ones.
|
|
290
|
-
*
|
|
291
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
292
|
-
*
|
|
293
|
-
* @default {}
|
|
294
|
-
*/
|
|
295
|
-
componentsProps: o.shape({
|
|
296
|
-
closeButton: o.object,
|
|
297
|
-
closeIcon: o.object
|
|
298
|
-
}),
|
|
299
|
-
/**
|
|
300
|
-
* Override the icon displayed before the children.
|
|
301
|
-
* Unless provided, the icon is mapped to the value of the `severity` prop.
|
|
302
|
-
* Set to `false` to remove the `icon`.
|
|
303
|
-
*/
|
|
304
|
-
icon: o.node,
|
|
305
|
-
/**
|
|
306
|
-
* The component maps the `severity` prop to a range of different icons,
|
|
307
|
-
* for instance success to `<SuccessOutlined>`.
|
|
308
|
-
* If you wish to change this mapping, you can provide your own.
|
|
309
|
-
* Alternatively, you can use the `icon` prop to override the icon displayed.
|
|
310
|
-
*/
|
|
311
|
-
iconMapping: o.shape({
|
|
312
|
-
error: o.node,
|
|
313
|
-
info: o.node,
|
|
314
|
-
success: o.node,
|
|
315
|
-
warning: o.node
|
|
316
|
-
}),
|
|
317
|
-
/**
|
|
318
|
-
* Callback fired when the component requests to be closed.
|
|
319
|
-
* When provided and no `action` prop is set, a close icon button is displayed that triggers the callback when clicked.
|
|
320
|
-
* @param {React.SyntheticEvent} event The event source of the callback.
|
|
321
|
-
*/
|
|
322
|
-
onClose: o.func,
|
|
323
|
-
/**
|
|
324
|
-
* The ARIA role attribute of the element.
|
|
325
|
-
* @default 'alert'
|
|
326
|
-
*/
|
|
327
|
-
role: o.string,
|
|
328
|
-
/**
|
|
329
|
-
* The severity of the alert. This defines the color and icon used.
|
|
330
|
-
* @default 'success'
|
|
331
|
-
*/
|
|
332
|
-
severity: o.oneOfType([o.oneOf(["error", "info", "success", "warning"]), o.string]),
|
|
333
|
-
/**
|
|
334
|
-
* The props used for each slot inside.
|
|
335
|
-
* @default {}
|
|
336
|
-
*/
|
|
337
|
-
slotProps: o.shape({
|
|
338
|
-
action: o.oneOfType([o.func, o.object]),
|
|
339
|
-
closeButton: o.oneOfType([o.func, o.object]),
|
|
340
|
-
closeIcon: o.oneOfType([o.func, o.object]),
|
|
341
|
-
icon: o.oneOfType([o.func, o.object]),
|
|
342
|
-
message: o.oneOfType([o.func, o.object]),
|
|
343
|
-
root: o.oneOfType([o.func, o.object])
|
|
344
|
-
}),
|
|
345
|
-
/**
|
|
346
|
-
* The components used for each slot inside.
|
|
347
|
-
* @default {}
|
|
348
|
-
*/
|
|
349
|
-
slots: o.shape({
|
|
350
|
-
action: o.elementType,
|
|
351
|
-
closeButton: o.elementType,
|
|
352
|
-
closeIcon: o.elementType,
|
|
353
|
-
icon: o.elementType,
|
|
354
|
-
message: o.elementType,
|
|
355
|
-
root: o.elementType
|
|
356
|
-
}),
|
|
357
|
-
/**
|
|
358
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
359
|
-
*/
|
|
360
|
-
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
|
|
361
|
-
/**
|
|
362
|
-
* The variant to use.
|
|
363
|
-
* @default 'standard'
|
|
364
|
-
*/
|
|
365
|
-
variant: o.oneOfType([o.oneOf(["filled", "outlined", "standard"]), o.string])
|
|
366
|
-
});
|
|
367
|
-
export {
|
|
368
|
-
go as A
|
|
369
|
-
};
|