everest-npm-features 0.0.13 → 0.0.15
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-Da8Q-zA-.js → Alert-DleEulFt.js} +99 -100
- package/dist/ArrowBack-DlpUhUax.js +8 -0
- package/dist/{ArrowDropDown-CB41NDS2.js → ArrowDropDown-B4n-Or06.js} +1 -1
- package/dist/{ArrowRight-DplnroSW.js → ArrowRight-Dqbjrbq7.js} +1 -1
- package/dist/{Box-B1yq36Zl.js → Box-Dg5YL71c.js} +4 -4
- package/dist/{Button-RhIIYrVA.js → Button-URmXuR7L.js} +14 -15
- package/dist/{ButtonBase-nNQGsITG.js → ButtonBase-DMZ5Yya_.js} +5 -6
- package/dist/{Cancel-DRgf8LOx.js → Cancel-W4CL5EwJ.js} +1 -1
- package/dist/{CardContent-Dhm-V65j.js → CardContent-DK3Z3N6m.js} +31 -32
- package/dist/{CircularProgress-r4YDqPph.js → CircularProgress-BShHoQbM.js} +6 -7
- package/dist/{Close-wTvkGNu_.js → Close-Drz_1Cma.js} +1 -1
- package/dist/{Container-XaSeftCC.js → Container-DOt_WDG9.js} +4 -4
- package/dist/{ContentCopy-CWUuFnH9.js → ContentCopy-CSmkb1dz.js} +1 -1
- package/dist/DefaultPropsProvider-5tIQ66gk.js +88 -0
- package/dist/{styled-BYKS1WRW.js → DefaultPropsProvider-D1ZRCAhv.js} +167 -150
- package/dist/{Delete-DKVDR5no.js → Delete-BeH9eSuy.js} +1 -1
- package/dist/{DialogContent-B8RDX20F.js → DialogContent-CntTpnUi.js} +14 -15
- package/dist/{DialogTitle-B8V03qFK.js → DialogTitle-DUNaosnR.js} +12 -13
- package/dist/{Divider-CkBkaVNU.js → Divider-B-PuJDLx.js} +30 -31
- package/dist/ErrorOutline-D7__T0wX.js +8 -0
- package/dist/FilledInput-CAtG9Qdk.js +1299 -0
- package/dist/{FormControl-CEQUgsVH.js → FormControl-2O9G0Uio.js} +18 -20
- package/dist/{GlobalStyles-DHmHsV2_.js → GlobalStyles-DA0jAD4D.js} +2 -2
- package/dist/{Grid-BSyufPAS.js → Grid-D9MNL9_a.js} +5 -5
- package/dist/{Grid2-C3moy0LA.js → Grid2-CYB7zT__.js} +6 -6
- package/dist/{Grow-Dn6eK91k.js → Grow-h-Gdo-9N.js} +6 -6
- package/dist/{IconButton-C0cj2n1O.js → IconButton-C9zoz_co.js} +6 -7
- package/dist/{Info-DempPLhJ.js → Info--iLHF6tO.js} +1 -1
- package/dist/{InputAdornment-eHKIY-JA.js → InputAdornment-DjDZEW73.js} +21 -22
- package/dist/{FormControlLabel-BiWFmP1H.js → Link-C2epBeQ2.js} +470 -216
- package/dist/{ListItemIcon-DqTB0XEf.js → ListItemIcon-DnbnPcmb.js} +8 -9
- package/dist/{MenuItem-r5fG490P.js → MenuItem-CwNgel9B.js} +21 -22
- package/dist/{Modal-DfCWYujt.js → Modal-DArhlzWc.js} +14 -15
- package/dist/{Paper-6ulaCzyM.js → Paper-C3LLozy7.js} +36 -37
- package/dist/{PlayArrow-D_X2lBvS.js → PlayArrow-C5Pcs6y3.js} +4 -4
- package/dist/{Portal-D__M1zn-.js → Portal-85fqk2Oo.js} +3 -3
- package/dist/Select-D3_7Y7hs.js +2787 -0
- package/dist/{Slide-mtYUK7dK.js → Slide-BKeUzqUD.js} +5 -5
- package/dist/{Stack-D5Vxe6Co.js → Stack-DcyCfYaK.js} +5 -5
- package/dist/{TextField-MDDs13xT.js → TextField-q50CZQKQ.js} +29 -30
- package/dist/{Transition-ChuHjwtI.js → Transition-DMUpKF8t.js} +1 -1
- package/dist/{Typography-CxQIkv7u.js → Typography-D7sM-Gzr.js} +39 -40
- package/dist/assets/iban.css +1 -0
- package/dist/assets/index4.css +1 -1
- package/dist/assets/index5.css +1 -1
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/assets/main.css +1 -1
- package/dist/{auth-Cu3kwR9I.js → auth-CmU-Oza0.js} +32 -28
- package/dist/bank-DLbq9Bzw.js +34 -0
- package/dist/components/RocketRamp/MinimalKyc/form.js +17 -18
- package/dist/components/RocketRamp/MinimalKyc/index.js +1 -1
- package/dist/components/RocketRamp/Player/Buy/cardPayment.js +8 -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 +13 -27
- 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 +15 -17
- 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 +15 -15
- package/dist/components/RocketRamp/Player/SignUp/email.js +13 -13
- package/dist/components/RocketRamp/Player/SignUp/index.js +14 -14
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +14 -15
- 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 +17 -17
- package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +23 -24
- package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +11 -11
- 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 +8 -8
- package/dist/components/Shared/MinimalKyc/index.d.ts +10 -0
- package/dist/components/Shared/MinimalKyc/index.js +222 -0
- package/dist/components/Shared/tooltip.js +20 -21
- package/dist/components/Shared/transition.js +1 -1
- package/dist/components/Wallet/Account/createIban.d.ts +11 -0
- package/dist/components/Wallet/Account/createIban.js +302 -0
- package/dist/components/Wallet/Account/iban.d.ts +13 -0
- package/dist/components/Wallet/Account/iban.js +27 -0
- package/dist/components/Wallet/Account/index.d.ts +3 -0
- package/dist/components/Wallet/Account/index.js +174 -173
- package/dist/components/Wallet/Account/sendIban.d.ts +9 -0
- package/dist/components/Wallet/Account/sendIban.js +270 -0
- package/dist/components/Wallet/Buy/confirmTransaction.d.ts +3 -0
- package/dist/components/Wallet/Buy/confirmTransaction.js +16 -0
- package/dist/components/Wallet/Buy/form.d.ts +3 -0
- package/dist/components/Wallet/Buy/form.js +27 -0
- package/dist/components/Wallet/Buy/index.d.ts +7 -0
- package/dist/components/Wallet/Buy/index.js +24 -0
- package/dist/components/Wallet/Buy/types.d.ts +35 -0
- package/dist/components/Wallet/History/index.js +40 -41
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +61 -63
- package/dist/components/Wallet/Portfolio/index.js +14 -14
- package/dist/components/Wallet/Portfolio/tokenRow.js +6 -6
- package/dist/components/Wallet/Profile/documents.js +19 -18
- package/dist/components/Wallet/Profile/index.js +20 -21
- package/dist/components/Wallet/Receive/index.js +13 -13
- package/dist/components/Wallet/Send/index.js +172 -175
- package/dist/components/Wallet/Shared/Auth/emailForm.d.ts +3 -0
- package/dist/components/Wallet/Shared/Auth/emailForm.js +95 -0
- package/dist/components/Wallet/{SignIn → Shared/Auth}/otpForm.d.ts +1 -1
- package/dist/components/Wallet/{SignIn → Shared/Auth}/otpForm.js +759 -744
- package/dist/components/Wallet/Shared/Auth/types.d.ts +22 -0
- package/dist/components/Wallet/Shared/CardPayment/index.d.ts +9 -0
- package/dist/components/Wallet/Shared/CardPayment/index.js +217 -0
- package/dist/components/Wallet/Shared/ConnectWallet/index.js +9 -9
- package/dist/components/Wallet/Shared/Container/index.d.ts +5 -0
- package/dist/components/Wallet/Shared/Container/index.js +35 -7
- package/dist/components/Wallet/Shared/Input/index.d.ts +2 -2
- 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.d.ts +2 -1
- package/dist/components/Wallet/Shared/TokenModal/index.js +140 -81
- package/dist/components/Wallet/Shared/TokenModal/tokenGrid.d.ts +2 -1
- package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +68 -32
- package/dist/components/Wallet/Shared/addBank.js +18 -19
- package/dist/components/Wallet/Shared/appButton.js +8 -7
- package/dist/components/Wallet/Shared/backBtn.d.ts +7 -0
- package/dist/components/Wallet/Shared/backBtn.js +26 -0
- package/dist/components/Wallet/Shared/button.js +1 -1
- package/dist/components/Wallet/Shared/connectPlaidBank.js +9 -9
- 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 +44 -45
- package/dist/components/Wallet/Shared/step.js +2 -2
- package/dist/components/Wallet/SignIn/index.d.ts +4 -1
- package/dist/components/Wallet/SignIn/index.js +46 -41
- package/dist/components/Wallet/SignUp/index.d.ts +4 -1
- package/dist/components/Wallet/SignUp/index.js +62 -148
- package/dist/components/Wallet/SignUp/terms.d.ts +6 -1
- package/dist/components/Wallet/SignUp/terms.js +564 -521
- 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 +107 -109
- package/dist/components/Wallet/Swap/index.js +38 -38
- package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -3
- package/dist/{constants-D38Lq3Gf.js → constants-BxUb35pS.js} +770 -762
- package/dist/{createSvgIcon-B-WJiCyS.js → createSvgIcon-COsBZ0xr.js} +16 -17
- package/dist/{createTheme-D7ZVbreR.js → createTheme-BlT11X6w.js} +18 -18
- package/dist/data/ibanSupportedCountries.json.d.ts +165 -0
- package/dist/defaultTheme-CZjF3GyS.js +5 -0
- package/dist/{dividerClasses-CfCLFJYf.js → dividerClasses-CgHFbM2R.js} +2 -2
- package/dist/{documents-DVHeHzYW.js → documents-vQr89AXc.js} +70 -72
- package/dist/{elementTypeAcceptingRef-BnAvBdPm.js → elementTypeAcceptingRef-DFRaouxA.js} +1 -1
- package/dist/{emotion-react.browser.esm-DdTR1jdg.js → emotion-react.browser.esm-C7P8sPuT.js} +1 -1
- package/dist/{extendSxProp-Comp6o-L.js → extendSxProp-3dFKe0G7.js} +1 -1
- package/dist/{fiatAssets-BtFCh7XL.js → fiatAssets-DxmFUAAP.js} +1 -1
- package/dist/hoc/withThemeProvider.js +5 -5
- package/dist/hooks/useDialog/index.js +5 -5
- package/dist/hooks/useRrDialog/index.js +5 -5
- package/dist/hooks/useSnackBar.js +49 -50
- package/dist/iban-DAFjqLmj.js +287 -0
- 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-CclNYr-5.js → index-BgFigcmK.js} +28 -30
- package/dist/index-BlfNAYSo.js +709 -0
- package/dist/{index-BWrkryN2.js → index-CpZl5h1a.js} +105 -120
- package/dist/{index-Ccqf2Toa.js → index-D1vZejb1.js} +1 -1
- package/dist/index-DQaPU81n.js +12 -0
- package/dist/{index-C5R9IxNT.js → index-Dbxu0EJ1.js} +5 -5
- package/dist/main.d.ts +1 -0
- package/dist/main.js +33 -31
- package/dist/order-BQ_jdcYA.js +34 -0
- package/dist/{ownerWindow-C-HsSAwf.js → ownerWindow-D0iDQewC.js} +1 -1
- package/dist/{resolveComponentProps-C0xVjN-P.js → resolveComponentProps-B1Ir_BWp.js} +1 -1
- package/dist/{stake-CZ4lKUzr.js → stake-Dtv26Vtt.js} +1 -1
- package/dist/store.d.ts +110 -1
- package/dist/styled-Cr0V7wv6.js +5 -0
- package/dist/{tokenRow-CwrQuRko.js → tokenRow-BayFN7xo.js} +5 -5
- package/dist/{useSlot-BYvj2z3P.js → useSlot-BnuaST7x.js} +1 -1
- package/dist/{useTheme-B0HI0zls.js → useTheme-TES7dz5C.js} +3 -3
- package/dist/useTheme-ZWavQ1Dn.js +9 -0
- package/dist/{useThemeProps-Bco8C5pK.js → useThemeProps-0PI3aKLE.js} +4 -4
- package/dist/{useThemeWithoutDefault-SUq3mml8.js → useThemeWithoutDefault-Dv5V_IG8.js} +1 -1
- package/dist/{useTimeout-BRv01uOR.js → useTimeout-By20Crr8.js} +1 -1
- package/dist/user-D0iWvS_0.js +24 -0
- package/dist/util/constants.d.ts +3 -0
- package/dist/util/constants.js +58 -55
- package/dist/{utils-SiGFS2N1.js → utils-D3CNVkXx.js} +1 -1
- package/dist/{wallet-CVI52pN9.js → wallet-WO2ijYZw.js} +6 -6
- package/package.json +2 -2
- package/dist/DefaultPropsProvider-Cb_d0Ryo.js +0 -56
- package/dist/DefaultPropsProvider-DoWGMc0K.js +0 -22
- package/dist/Link-Bhe2EFdu.js +0 -264
- package/dist/Select-zFqetNpN.js +0 -4054
- package/dist/assets/styles3.css +0 -1
- package/dist/bank-DwjNuNPP.js +0 -23
- package/dist/components/Wallet/SignIn/loginForm.d.ts +0 -3
- package/dist/components/Wallet/SignIn/loginForm.js +0 -79
- package/dist/components/Wallet/SignIn/types.d.ts +0 -21
- package/dist/components/Wallet/SignUp/biometric.d.ts +0 -3
- package/dist/components/Wallet/SignUp/biometric.js +0 -37
- package/dist/components/Wallet/SignUp/pin.d.ts +0 -3
- package/dist/components/Wallet/SignUp/pin.js +0 -222
- package/dist/components/Wallet/SignUp/privacy.d.ts +0 -2
- package/dist/components/Wallet/SignUp/privacy.js +0 -259
- package/dist/components/Wallet/SignUp/types.d.ts +0 -53
- package/dist/components/Wallet/SignUp/userInfo.d.ts +0 -3
- package/dist/components/Wallet/SignUp/userInfo.js +0 -47
- package/dist/defaultTheme-Clb-EQO9.js +0 -5
- package/dist/dialog-success-BDNJV4Tk.js +0 -4
- package/dist/index-TElEjliR.js +0 -9
- package/dist/order-Bx7J32xK.js +0 -30
- package/dist/pin-empty-D9665KFr.js +0 -6
- package/dist/resolveProps-D44T7GAU.js +0 -35
- package/dist/styled-DBwgKxfn.js +0 -5
- package/dist/styles.module-6SB62f3J.js +0 -9
- package/dist/useFormControl-CfmEP6sW.js +0 -18
- package/dist/useTheme-tAPc7SsX.js +0 -9
- package/dist/user-DkUg7KuC.js +0 -24
- /package/dist/components/Wallet/{SignIn → Buy}/types.js +0 -0
- /package/dist/components/Wallet/{SignUp → Shared/Auth}/types.js +0 -0
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
import { jsxs as i, jsx as e, Fragment as T } from "react/jsx-runtime";
|
|
2
|
+
import { useState as u, useEffect as W } from "react";
|
|
3
|
+
import { C as D } from "../../../Close-Drz_1Cma.js";
|
|
4
|
+
import { I as _ } from "../../../Info--iLHF6tO.js";
|
|
5
|
+
import { a as y } from "../../../react-redux-B4BZippc.js";
|
|
6
|
+
import F from "../../Shared/transition.js";
|
|
7
|
+
import P from "../../Shared/tooltip.js";
|
|
8
|
+
import { X as q, Y as E, Z as f } from "../../../constants-BxUb35pS.js";
|
|
9
|
+
import { s as k, c as U } from "../../../bank-DLbq9Bzw.js";
|
|
10
|
+
import { useSnackBarContext as w } from "../../../context/snackBarContext.js";
|
|
11
|
+
import { D as $, a as z } from "../../../DialogContent-CntTpnUi.js";
|
|
12
|
+
import { D as G } from "../../../DialogTitle-DUNaosnR.js";
|
|
13
|
+
import { T as n } from "../../../Typography-D7sM-Gzr.js";
|
|
14
|
+
import { I as A } from "../../../IconButton-C9zoz_co.js";
|
|
15
|
+
import { G as t } from "../../../Grid-D9MNL9_a.js";
|
|
16
|
+
import { F as l } from "../../../FormControl-2O9G0Uio.js";
|
|
17
|
+
import { F as s } from "../../../FilledInput-CAtG9Qdk.js";
|
|
18
|
+
import { I as j } from "../../../InputAdornment-DjDZEW73.js";
|
|
19
|
+
import { B as M } from "../../../Box-Dg5YL71c.js";
|
|
20
|
+
import { B as H } from "../../../Button-URmXuR7L.js";
|
|
21
|
+
import { C as O } from "../../../CircularProgress-BShHoQbM.js";
|
|
22
|
+
const pe = ({ iban: v, dispatch: x, appKey: R }) => {
|
|
23
|
+
const { showAlertMessage: a } = w(), g = y(
|
|
24
|
+
(r) => r.user.profile
|
|
25
|
+
), o = v.sendStatus, c = v.data, [m, N] = u(""), [d, b] = u(""), [p, S] = u(""), [h, I] = u("");
|
|
26
|
+
W(() => {
|
|
27
|
+
o === q && (N(""), b(""), S(""), I(""));
|
|
28
|
+
}, [o]);
|
|
29
|
+
const B = () => {
|
|
30
|
+
if (!m.trim()) {
|
|
31
|
+
a({ message: "Please provide Receiver's IBAN" });
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
if (!d.trim()) {
|
|
35
|
+
a({
|
|
36
|
+
message: "Please provide Receiver's BIC/Routing Code"
|
|
37
|
+
});
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
if (!h.trim()) {
|
|
41
|
+
a({ message: "Please provide Reference/Comments" });
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
if (!p.trim()) {
|
|
45
|
+
a({ message: "Please provide amount" });
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
const r = parseFloat(p);
|
|
49
|
+
if (r <= 0) {
|
|
50
|
+
a({ message: "Please provide amount greater than zero" });
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
if (r > c.balance) {
|
|
54
|
+
a({
|
|
55
|
+
message: "Insufficient Funds. Please provide amount less or equal to available balance"
|
|
56
|
+
});
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
o !== f && x(
|
|
60
|
+
k({
|
|
61
|
+
amount: r,
|
|
62
|
+
account_number: m,
|
|
63
|
+
bic: d,
|
|
64
|
+
app_key: R,
|
|
65
|
+
reference: h
|
|
66
|
+
})
|
|
67
|
+
);
|
|
68
|
+
}, C = () => {
|
|
69
|
+
x(U(""));
|
|
70
|
+
};
|
|
71
|
+
return /* @__PURE__ */ i(
|
|
72
|
+
$,
|
|
73
|
+
{
|
|
74
|
+
open: o === E || o === f,
|
|
75
|
+
fullWidth: !0,
|
|
76
|
+
onClose: C,
|
|
77
|
+
TransitionComponent: F,
|
|
78
|
+
children: [
|
|
79
|
+
/* @__PURE__ */ i(G, { className: "buy-modal-text-color", children: [
|
|
80
|
+
/* @__PURE__ */ e(n, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ e("strong", { children: "Send" }) }),
|
|
81
|
+
/* @__PURE__ */ e(
|
|
82
|
+
A,
|
|
83
|
+
{
|
|
84
|
+
"aria-label": "close",
|
|
85
|
+
onClick: C,
|
|
86
|
+
className: "menu-buttons",
|
|
87
|
+
children: /* @__PURE__ */ e(D, {})
|
|
88
|
+
}
|
|
89
|
+
)
|
|
90
|
+
] }),
|
|
91
|
+
/* @__PURE__ */ i(
|
|
92
|
+
z,
|
|
93
|
+
{
|
|
94
|
+
className: "bank-modal-content",
|
|
95
|
+
sx: { padding: "50px" },
|
|
96
|
+
dividers: !0,
|
|
97
|
+
children: [
|
|
98
|
+
/* @__PURE__ */ i(t, { container: !0, children: [
|
|
99
|
+
/* @__PURE__ */ e(t, { item: !0, xs: 3, children: /* @__PURE__ */ e(
|
|
100
|
+
n,
|
|
101
|
+
{
|
|
102
|
+
className: "input-label-feature",
|
|
103
|
+
variant: "caption",
|
|
104
|
+
component: "p",
|
|
105
|
+
children: "Sending From"
|
|
106
|
+
}
|
|
107
|
+
) }),
|
|
108
|
+
/* @__PURE__ */ e(t, { item: !0, xs: 9, children: /* @__PURE__ */ i(
|
|
109
|
+
n,
|
|
110
|
+
{
|
|
111
|
+
className: "input-label-feature",
|
|
112
|
+
sx: { textAlign: "right" },
|
|
113
|
+
variant: "caption",
|
|
114
|
+
component: "p",
|
|
115
|
+
children: [
|
|
116
|
+
"Balance: ",
|
|
117
|
+
c.balance,
|
|
118
|
+
" EUR"
|
|
119
|
+
]
|
|
120
|
+
}
|
|
121
|
+
) })
|
|
122
|
+
] }),
|
|
123
|
+
/* @__PURE__ */ e(t, { mt: 0.5, container: !0, children: /* @__PURE__ */ e(t, { item: !0, xs: 12, children: /* @__PURE__ */ e(l, { variant: "filled", fullWidth: !0, children: /* @__PURE__ */ e(
|
|
124
|
+
s,
|
|
125
|
+
{
|
|
126
|
+
value: `${c.accountName} (${c.accountNumber})`,
|
|
127
|
+
type: "text",
|
|
128
|
+
disabled: !0,
|
|
129
|
+
required: !0,
|
|
130
|
+
fullWidth: !0
|
|
131
|
+
}
|
|
132
|
+
) }) }) }),
|
|
133
|
+
/* @__PURE__ */ e(t, { mt: 2, container: !0, children: /* @__PURE__ */ e(t, { item: !0, xs: 12, children: /* @__PURE__ */ e(
|
|
134
|
+
n,
|
|
135
|
+
{
|
|
136
|
+
className: "input-label-feature",
|
|
137
|
+
variant: "caption",
|
|
138
|
+
component: "p",
|
|
139
|
+
children: "Receiver's Account Name"
|
|
140
|
+
}
|
|
141
|
+
) }) }),
|
|
142
|
+
/* @__PURE__ */ e(t, { mt: 0.5, container: !0, children: /* @__PURE__ */ e(t, { item: !0, xs: 12, className: "content-center", children: /* @__PURE__ */ e(l, { variant: "filled", fullWidth: !0, children: /* @__PURE__ */ e(
|
|
143
|
+
s,
|
|
144
|
+
{
|
|
145
|
+
value: `${g.firstName} ${g.lastName}`,
|
|
146
|
+
type: "text",
|
|
147
|
+
disabled: !0,
|
|
148
|
+
required: !0,
|
|
149
|
+
fullWidth: !0
|
|
150
|
+
}
|
|
151
|
+
) }) }) }),
|
|
152
|
+
/* @__PURE__ */ e(t, { mt: 2, container: !0, children: /* @__PURE__ */ e(t, { item: !0, xs: 12, children: /* @__PURE__ */ e(
|
|
153
|
+
n,
|
|
154
|
+
{
|
|
155
|
+
className: "input-label-feature",
|
|
156
|
+
variant: "caption",
|
|
157
|
+
component: "p",
|
|
158
|
+
children: "Receiver's IBAN"
|
|
159
|
+
}
|
|
160
|
+
) }) }),
|
|
161
|
+
/* @__PURE__ */ e(t, { mt: 0.5, container: !0, children: /* @__PURE__ */ e(t, { item: !0, xs: 12, className: "content-center", children: /* @__PURE__ */ e(l, { variant: "filled", fullWidth: !0, children: /* @__PURE__ */ e(
|
|
162
|
+
s,
|
|
163
|
+
{
|
|
164
|
+
value: m,
|
|
165
|
+
onChange: (r) => N(r.target.value),
|
|
166
|
+
type: "text",
|
|
167
|
+
required: !0,
|
|
168
|
+
fullWidth: !0
|
|
169
|
+
}
|
|
170
|
+
) }) }) }),
|
|
171
|
+
/* @__PURE__ */ e(t, { mt: 2, container: !0, children: /* @__PURE__ */ e(t, { item: !0, xs: 12, children: /* @__PURE__ */ e(
|
|
172
|
+
n,
|
|
173
|
+
{
|
|
174
|
+
className: "input-label-feature",
|
|
175
|
+
variant: "caption",
|
|
176
|
+
component: "p",
|
|
177
|
+
children: "Receiver's BIC/Routing Number"
|
|
178
|
+
}
|
|
179
|
+
) }) }),
|
|
180
|
+
/* @__PURE__ */ e(t, { mt: 0.5, container: !0, children: /* @__PURE__ */ e(t, { item: !0, xs: 12, className: "content-center", children: /* @__PURE__ */ e(l, { variant: "filled", fullWidth: !0, children: /* @__PURE__ */ e(
|
|
181
|
+
s,
|
|
182
|
+
{
|
|
183
|
+
value: d,
|
|
184
|
+
onChange: (r) => b(r.target.value),
|
|
185
|
+
type: "text",
|
|
186
|
+
required: !0,
|
|
187
|
+
fullWidth: !0
|
|
188
|
+
}
|
|
189
|
+
) }) }) }),
|
|
190
|
+
/* @__PURE__ */ e(t, { mt: 2, container: !0, children: /* @__PURE__ */ e(t, { item: !0, xs: 12, children: /* @__PURE__ */ e(
|
|
191
|
+
n,
|
|
192
|
+
{
|
|
193
|
+
className: "input-label-feature",
|
|
194
|
+
variant: "caption",
|
|
195
|
+
component: "p",
|
|
196
|
+
children: "Amount"
|
|
197
|
+
}
|
|
198
|
+
) }) }),
|
|
199
|
+
/* @__PURE__ */ e(t, { mt: 0.5, container: !0, children: /* @__PURE__ */ e(t, { item: !0, xs: 12, children: /* @__PURE__ */ e(l, { variant: "filled", fullWidth: !0, children: /* @__PURE__ */ e(
|
|
200
|
+
s,
|
|
201
|
+
{
|
|
202
|
+
value: p,
|
|
203
|
+
onChange: (r) => S(r.target.value),
|
|
204
|
+
startAdornment: /* @__PURE__ */ e(j, { position: "start", children: "EUR" }),
|
|
205
|
+
type: "text",
|
|
206
|
+
required: !0,
|
|
207
|
+
fullWidth: !0
|
|
208
|
+
}
|
|
209
|
+
) }) }) }),
|
|
210
|
+
/* @__PURE__ */ e(t, { mt: 2, container: !0, children: /* @__PURE__ */ e(t, { item: !0, xs: 12, children: /* @__PURE__ */ i(
|
|
211
|
+
n,
|
|
212
|
+
{
|
|
213
|
+
className: "input-label-feature",
|
|
214
|
+
variant: "caption",
|
|
215
|
+
component: "p",
|
|
216
|
+
children: [
|
|
217
|
+
"Reference/Comments",
|
|
218
|
+
/* @__PURE__ */ e(
|
|
219
|
+
P,
|
|
220
|
+
{
|
|
221
|
+
title: /* @__PURE__ */ e(M, { sx: { whiteSpace: "pre-line" }, children: "The reference will appear on the receiver's bank statement." }),
|
|
222
|
+
placement: "bottom",
|
|
223
|
+
children: /* @__PURE__ */ e(A, { className: "info-fee-icon", children: /* @__PURE__ */ e(
|
|
224
|
+
_,
|
|
225
|
+
{
|
|
226
|
+
sx: {
|
|
227
|
+
fontSize: "26px",
|
|
228
|
+
color: "#D9D9D9"
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
) })
|
|
232
|
+
}
|
|
233
|
+
)
|
|
234
|
+
]
|
|
235
|
+
}
|
|
236
|
+
) }) }),
|
|
237
|
+
/* @__PURE__ */ e(t, { mt: 0.5, container: !0, children: /* @__PURE__ */ e(t, { item: !0, xs: 12, children: /* @__PURE__ */ e(l, { variant: "filled", fullWidth: !0, children: /* @__PURE__ */ e(
|
|
238
|
+
s,
|
|
239
|
+
{
|
|
240
|
+
value: h,
|
|
241
|
+
onChange: (r) => I(r.target.value),
|
|
242
|
+
type: "text",
|
|
243
|
+
required: !0,
|
|
244
|
+
fullWidth: !0
|
|
245
|
+
}
|
|
246
|
+
) }) }) }),
|
|
247
|
+
/* @__PURE__ */ e(
|
|
248
|
+
H,
|
|
249
|
+
{
|
|
250
|
+
sx: { mt: 4 },
|
|
251
|
+
onClick: B,
|
|
252
|
+
className: "wallet-btn",
|
|
253
|
+
variant: "contained",
|
|
254
|
+
fullWidth: !0,
|
|
255
|
+
children: /* @__PURE__ */ e("strong", { children: o === f ? /* @__PURE__ */ i(T, { children: [
|
|
256
|
+
/* @__PURE__ */ e(O, { size: 15, color: "inherit" }),
|
|
257
|
+
" Processing..."
|
|
258
|
+
] }) : "Send" })
|
|
259
|
+
}
|
|
260
|
+
)
|
|
261
|
+
]
|
|
262
|
+
}
|
|
263
|
+
)
|
|
264
|
+
]
|
|
265
|
+
}
|
|
266
|
+
);
|
|
267
|
+
};
|
|
268
|
+
export {
|
|
269
|
+
pe as default
|
|
270
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import "../Shared/backBtn.js";
|
|
4
|
+
import "../../../util/functions.js";
|
|
5
|
+
import "../../../util/constants.js";
|
|
6
|
+
import { a as b } from "../../../index-BlfNAYSo.js";
|
|
7
|
+
import "../Shared/appButton.js";
|
|
8
|
+
import "../../../constants-BxUb35pS.js";
|
|
9
|
+
import "../../../order-BQ_jdcYA.js";
|
|
10
|
+
import "../../../Typography-D7sM-Gzr.js";
|
|
11
|
+
import "../../../Box-Dg5YL71c.js";
|
|
12
|
+
import "../../../Grid2-CYB7zT__.js";
|
|
13
|
+
import "../../../CircularProgress-BShHoQbM.js";
|
|
14
|
+
export {
|
|
15
|
+
b as default
|
|
16
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import "../../../PlayArrow-C5Pcs6y3.js";
|
|
4
|
+
import "../../../Info--iLHF6tO.js";
|
|
5
|
+
import "../../../generic-token-B_ptO5yb.js";
|
|
6
|
+
import "../../../util/constants.js";
|
|
7
|
+
import "../../../constants-BxUb35pS.js";
|
|
8
|
+
import "../../../order-BQ_jdcYA.js";
|
|
9
|
+
import "../../Shared/tooltip.js";
|
|
10
|
+
import "../../../util/functions.js";
|
|
11
|
+
import "../Shared/appButton.js";
|
|
12
|
+
import { B as y } from "../../../index-BlfNAYSo.js";
|
|
13
|
+
import "../Shared/TokenModal/index.js";
|
|
14
|
+
import "../../../Grid2-CYB7zT__.js";
|
|
15
|
+
import "../../../Typography-D7sM-Gzr.js";
|
|
16
|
+
import "../../../FormControl-2O9G0Uio.js";
|
|
17
|
+
import "../../../FilledInput-CAtG9Qdk.js";
|
|
18
|
+
import "../../../TextField-q50CZQKQ.js";
|
|
19
|
+
import "../../../CircularProgress-BShHoQbM.js";
|
|
20
|
+
import "../../../Select-D3_7Y7hs.js";
|
|
21
|
+
import "../../../MenuItem-CwNgel9B.js";
|
|
22
|
+
import "../../../ListItemIcon-DnbnPcmb.js";
|
|
23
|
+
import "../../../Box-Dg5YL71c.js";
|
|
24
|
+
import "../../../IconButton-C9zoz_co.js";
|
|
25
|
+
export {
|
|
26
|
+
y as default
|
|
27
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BuyProps } from './types';
|
|
2
|
+
export declare const FORM_SCREEN = "FORM_SCREEN";
|
|
3
|
+
export declare const CONFIRM_SCREEN = "CONFIRM_SCREEN";
|
|
4
|
+
export declare const PAYMENT_SCREEN = "PAYMENT_SCREEN";
|
|
5
|
+
export declare const MINIMAL_KYC_SCREEN = "MINIMAL_KYC_SCREEN";
|
|
6
|
+
declare const _default: import('react').FC<BuyProps & import('../../../hoc/withThemeProvider').WithThemeProviderProps>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import "../../../hoc/withThemeProvider.js";
|
|
4
|
+
import { C as f, F as A, M as O, P, i as Y } from "../../../index-BlfNAYSo.js";
|
|
5
|
+
import "../../../react-redux-B4BZippc.js";
|
|
6
|
+
import "../../../constants-BxUb35pS.js";
|
|
7
|
+
import "../../../fiatAssets-DxmFUAAP.js";
|
|
8
|
+
import "../../../PlayArrow-C5Pcs6y3.js";
|
|
9
|
+
import "../../../order-BQ_jdcYA.js";
|
|
10
|
+
import "../../../util/constants.js";
|
|
11
|
+
import "../../../util/functions.js";
|
|
12
|
+
import "../../../context/snackBarContext.js";
|
|
13
|
+
import "../Shared/Container/index.js";
|
|
14
|
+
import "../Shared/CardPayment/index.js";
|
|
15
|
+
import "../../Shared/MinimalKyc/index.js";
|
|
16
|
+
import "../Shared/Input/index.js";
|
|
17
|
+
import "../Shared/appButton.js";
|
|
18
|
+
export {
|
|
19
|
+
f as CONFIRM_SCREEN,
|
|
20
|
+
A as FORM_SCREEN,
|
|
21
|
+
O as MINIMAL_KYC_SCREEN,
|
|
22
|
+
P as PAYMENT_SCREEN,
|
|
23
|
+
Y as default
|
|
24
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Dispatch } from 'react';
|
|
2
|
+
import { SnackBarParams } from '../../../hooks/useSnackBar';
|
|
3
|
+
import { RocketRampAppState } from '../../../store';
|
|
4
|
+
import { OrderActionTypes } from 'everest-npm-api';
|
|
5
|
+
export interface BuyProps {
|
|
6
|
+
partnerKey: string;
|
|
7
|
+
baseUrl: string;
|
|
8
|
+
checkoutSdkKey: string;
|
|
9
|
+
}
|
|
10
|
+
interface BaseBuySubComponentProps {
|
|
11
|
+
dispatch: Dispatch<OrderActionTypes>;
|
|
12
|
+
orderData: RocketRampAppState["order"];
|
|
13
|
+
showAlertMessage: (data: SnackBarParams) => void;
|
|
14
|
+
setScreen: React.Dispatch<React.SetStateAction<string>>;
|
|
15
|
+
}
|
|
16
|
+
export interface BuyFormProps extends BaseBuySubComponentProps {
|
|
17
|
+
cryptoAssets: RocketRampAppState["cryptoAssets"];
|
|
18
|
+
fiatAssets: RocketRampAppState["fiatAssets"];
|
|
19
|
+
getCryptoAssets: (id: number) => void;
|
|
20
|
+
partnerKey: string;
|
|
21
|
+
balance: number;
|
|
22
|
+
}
|
|
23
|
+
export interface BuyConfirmTransactionProps extends BaseBuySubComponentProps {
|
|
24
|
+
partnerKey: string;
|
|
25
|
+
walletAddress: string;
|
|
26
|
+
}
|
|
27
|
+
export interface CardPaymentProps extends BaseBuySubComponentProps {
|
|
28
|
+
checkoutKey: string;
|
|
29
|
+
baseUrl: string;
|
|
30
|
+
}
|
|
31
|
+
export interface PaymentButtonProps {
|
|
32
|
+
value: number;
|
|
33
|
+
label: string;
|
|
34
|
+
}
|
|
35
|
+
export {};
|
|
@@ -3,22 +3,21 @@ import * as J from "react";
|
|
|
3
3
|
import { useState as ot, useEffect as st } from "react";
|
|
4
4
|
import nt from "../../../hoc/withThemeProvider.js";
|
|
5
5
|
import { u as rt, a as it } from "../../../react-redux-B4BZippc.js";
|
|
6
|
-
import "../../../constants-
|
|
7
|
-
import { o as lt } from "../../../order-
|
|
6
|
+
import "../../../constants-BxUb35pS.js";
|
|
7
|
+
import { o as lt } from "../../../order-BQ_jdcYA.js";
|
|
8
8
|
import pt from "../../Shared/HistoryItem/index.js";
|
|
9
|
-
import { B } from "../../../Box-
|
|
10
|
-
import { g as K, a as z, P as a, f as R } from "../../../createTheme-
|
|
11
|
-
import { g as Q, s as w, c as V, a as
|
|
12
|
-
import { m as A, u as Y } from "../../../DefaultPropsProvider-DoWGMc0K.js";
|
|
9
|
+
import { B } from "../../../Box-Dg5YL71c.js";
|
|
10
|
+
import { g as K, a as z, P as a, f as R } from "../../../createTheme-BlT11X6w.js";
|
|
11
|
+
import { g as Q, s as w, m as A, u as X, c as V, a as Y } from "../../../DefaultPropsProvider-D1ZRCAhv.js";
|
|
13
12
|
import { u as ct } from "../../../useControlled-BYdyS7Pn.js";
|
|
14
|
-
import { i as M } from "../../../Paper-
|
|
15
|
-
import { u as dt } from "../../../index-
|
|
13
|
+
import { i as M } from "../../../Paper-C3LLozy7.js";
|
|
14
|
+
import { u as dt } from "../../../index-D1vZejb1.js";
|
|
16
15
|
import { c as G } from "../../../createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
17
|
-
import { c as F } from "../../../createSvgIcon-
|
|
18
|
-
import { u as j } from "../../../useSlot-
|
|
19
|
-
import { B as ut } from "../../../ButtonBase-
|
|
20
|
-
import { C as gt } from "../../../CircularProgress-
|
|
21
|
-
import { T as ft } from "../../../Typography-
|
|
16
|
+
import { c as F } from "../../../createSvgIcon-COsBZ0xr.js";
|
|
17
|
+
import { u as j } from "../../../useSlot-BnuaST7x.js";
|
|
18
|
+
import { B as ut } from "../../../ButtonBase-DMZ5Yya_.js";
|
|
19
|
+
import { C as gt } from "../../../CircularProgress-BShHoQbM.js";
|
|
20
|
+
import { T as ft } from "../../../Typography-D7sM-Gzr.js";
|
|
22
21
|
import '../../../assets/index12.css';function vt(t) {
|
|
23
22
|
return K("MuiPagination", t);
|
|
24
23
|
}
|
|
@@ -33,24 +32,24 @@ function yt(t = {}) {
|
|
|
33
32
|
hideNextButton: y = !1,
|
|
34
33
|
hidePrevButton: l = !1,
|
|
35
34
|
onChange: c,
|
|
36
|
-
page:
|
|
35
|
+
page: m,
|
|
37
36
|
showFirstButton: T = !1,
|
|
38
37
|
showLastButton: k = !1,
|
|
39
38
|
siblingCount: P = 1,
|
|
40
39
|
...C
|
|
41
40
|
} = t, [u, g] = ct({
|
|
42
|
-
controlled:
|
|
41
|
+
controlled: m,
|
|
43
42
|
default: v,
|
|
44
43
|
name: o,
|
|
45
44
|
state: "page"
|
|
46
45
|
}), O = (n, i) => {
|
|
47
|
-
|
|
46
|
+
m || g(i), c && c(n, i);
|
|
48
47
|
}, $ = (n, i) => {
|
|
49
48
|
const L = i - n + 1;
|
|
50
49
|
return Array.from({
|
|
51
50
|
length: L
|
|
52
51
|
}, (D, _) => n + _);
|
|
53
|
-
}, f = $(1, Math.min(e, s)), I = $(Math.max(s - e + 1, e + 1), s),
|
|
52
|
+
}, f = $(1, Math.min(e, s)), I = $(Math.max(s - e + 1, e + 1), s), x = Math.max(
|
|
54
53
|
Math.min(
|
|
55
54
|
// Natural start
|
|
56
55
|
u - P,
|
|
@@ -74,9 +73,9 @@ function yt(t = {}) {
|
|
|
74
73
|
...f,
|
|
75
74
|
// Start ellipsis
|
|
76
75
|
// eslint-disable-next-line no-nested-ternary
|
|
77
|
-
...
|
|
76
|
+
...x > e + 2 ? ["start-ellipsis"] : e + 1 < s - e ? [e + 1] : [],
|
|
78
77
|
// Sibling pages
|
|
79
|
-
...$(
|
|
78
|
+
...$(x, b),
|
|
80
79
|
// End ellipsis
|
|
81
80
|
// eslint-disable-next-line no-nested-ternary
|
|
82
81
|
...b < s - e - 1 ? ["end-ellipsis"] : s - e > e ? [s - e] : [],
|
|
@@ -122,9 +121,9 @@ function yt(t = {}) {
|
|
|
122
121
|
function bt(t) {
|
|
123
122
|
return K("MuiPaginationItem", t);
|
|
124
123
|
}
|
|
125
|
-
const p = Q("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "text", "textPrimary", "textSecondary", "outlined", "outlinedPrimary", "outlinedSecondary", "rounded", "ellipsis", "firstLast", "previousNext", "focusVisible", "disabled", "selected", "icon", "colorPrimary", "colorSecondary"]),
|
|
124
|
+
const p = Q("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "text", "textPrimary", "textSecondary", "outlined", "outlinedPrimary", "outlinedSecondary", "rounded", "ellipsis", "firstLast", "previousNext", "focusVisible", "disabled", "selected", "icon", "colorPrimary", "colorSecondary"]), xt = F(/* @__PURE__ */ r("path", {
|
|
126
125
|
d: "M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"
|
|
127
|
-
}), "FirstPage"),
|
|
126
|
+
}), "FirstPage"), mt = F(/* @__PURE__ */ r("path", {
|
|
128
127
|
d: "M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"
|
|
129
128
|
}), "LastPage"), Pt = F(/* @__PURE__ */ r("path", {
|
|
130
129
|
d: "M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"
|
|
@@ -145,7 +144,7 @@ const p = Q("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
|
|
|
145
144
|
shape: y,
|
|
146
145
|
type: l,
|
|
147
146
|
variant: c
|
|
148
|
-
} = t,
|
|
147
|
+
} = t, m = {
|
|
149
148
|
root: ["root", `size${R(d)}`, c, y, o !== "standard" && `color${R(o)}`, o !== "standard" && `${c}${R(o)}`, s && "disabled", v && "selected", {
|
|
150
149
|
page: "page",
|
|
151
150
|
first: "firstLast",
|
|
@@ -157,7 +156,7 @@ const p = Q("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
|
|
|
157
156
|
}[l]],
|
|
158
157
|
icon: ["icon"]
|
|
159
158
|
};
|
|
160
|
-
return
|
|
159
|
+
return Y(m, bt, e);
|
|
161
160
|
}, $t = w("div", {
|
|
162
161
|
name: "MuiPaginationItem",
|
|
163
162
|
slot: "Root",
|
|
@@ -373,7 +372,7 @@ const p = Q("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
|
|
|
373
372
|
}
|
|
374
373
|
}]
|
|
375
374
|
}))), tt = /* @__PURE__ */ J.forwardRef(function(e, o) {
|
|
376
|
-
const s =
|
|
375
|
+
const s = X({
|
|
377
376
|
props: e,
|
|
378
377
|
name: "MuiPaginationItem"
|
|
379
378
|
}), {
|
|
@@ -382,7 +381,7 @@ const p = Q("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
|
|
|
382
381
|
component: y,
|
|
383
382
|
components: l = {},
|
|
384
383
|
disabled: c = !1,
|
|
385
|
-
page:
|
|
384
|
+
page: m,
|
|
386
385
|
selected: T = !1,
|
|
387
386
|
shape: k = "circular",
|
|
388
387
|
size: P = "medium",
|
|
@@ -400,7 +399,7 @@ const p = Q("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
|
|
|
400
399
|
size: P,
|
|
401
400
|
type: g,
|
|
402
401
|
variant: O
|
|
403
|
-
}, I = dt(),
|
|
402
|
+
}, I = dt(), x = Ot(f), b = {
|
|
404
403
|
slots: {
|
|
405
404
|
previous: C.previous ?? l.previous,
|
|
406
405
|
next: C.next ?? l.next,
|
|
@@ -417,11 +416,11 @@ const p = Q("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
|
|
|
417
416
|
externalForwardedProps: b,
|
|
418
417
|
ownerState: f
|
|
419
418
|
}), [i, L] = j("first", {
|
|
420
|
-
elementType:
|
|
419
|
+
elementType: xt,
|
|
421
420
|
externalForwardedProps: b,
|
|
422
421
|
ownerState: f
|
|
423
422
|
}), [D, _] = j("last", {
|
|
424
|
-
elementType:
|
|
423
|
+
elementType: mt,
|
|
425
424
|
externalForwardedProps: b,
|
|
426
425
|
ownerState: f
|
|
427
426
|
}), E = I ? {
|
|
@@ -443,18 +442,18 @@ const p = Q("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
|
|
|
443
442
|
return g === "start-ellipsis" || g === "end-ellipsis" ? /* @__PURE__ */ r($t, {
|
|
444
443
|
ref: o,
|
|
445
444
|
ownerState: f,
|
|
446
|
-
className: V(
|
|
445
|
+
className: V(x.root, v),
|
|
447
446
|
children: "…"
|
|
448
447
|
}) : /* @__PURE__ */ q(Tt, {
|
|
449
448
|
ref: o,
|
|
450
449
|
ownerState: f,
|
|
451
450
|
component: y,
|
|
452
451
|
disabled: c,
|
|
453
|
-
className: V(
|
|
452
|
+
className: V(x.root, v),
|
|
454
453
|
...$,
|
|
455
|
-
children: [g === "page" &&
|
|
454
|
+
children: [g === "page" && m, W ? /* @__PURE__ */ r(Nt, {
|
|
456
455
|
...et,
|
|
457
|
-
className:
|
|
456
|
+
className: x.icon,
|
|
458
457
|
as: W
|
|
459
458
|
}) : null]
|
|
460
459
|
});
|
|
@@ -567,7 +566,7 @@ const St = (t) => {
|
|
|
567
566
|
classes: e,
|
|
568
567
|
variant: o
|
|
569
568
|
} = t;
|
|
570
|
-
return
|
|
569
|
+
return Y({
|
|
571
570
|
root: ["root", o],
|
|
572
571
|
ul: ["ul"]
|
|
573
572
|
}, vt, e);
|
|
@@ -596,7 +595,7 @@ function kt(t, e, o) {
|
|
|
596
595
|
return t === "page" ? `${o ? "" : "Go to "}page ${e}` : `Go to ${t} page`;
|
|
597
596
|
}
|
|
598
597
|
const at = /* @__PURE__ */ J.forwardRef(function(e, o) {
|
|
599
|
-
const s =
|
|
598
|
+
const s = X({
|
|
600
599
|
props: e,
|
|
601
600
|
name: "MuiPagination"
|
|
602
601
|
}), {
|
|
@@ -605,7 +604,7 @@ const at = /* @__PURE__ */ J.forwardRef(function(e, o) {
|
|
|
605
604
|
color: y = "standard",
|
|
606
605
|
count: l = 1,
|
|
607
606
|
defaultPage: c = 1,
|
|
608
|
-
disabled:
|
|
607
|
+
disabled: m = !1,
|
|
609
608
|
getItemAriaLabel: T = kt,
|
|
610
609
|
hideNextButton: k = !1,
|
|
611
610
|
hidePrevButton: P = !1,
|
|
@@ -618,7 +617,7 @@ const at = /* @__PURE__ */ J.forwardRef(function(e, o) {
|
|
|
618
617
|
showFirstButton: $ = !1,
|
|
619
618
|
showLastButton: f = !1,
|
|
620
619
|
siblingCount: I = 1,
|
|
621
|
-
size:
|
|
620
|
+
size: x = "medium",
|
|
622
621
|
variant: b = "text",
|
|
623
622
|
...h
|
|
624
623
|
} = s, {
|
|
@@ -632,7 +631,7 @@ const at = /* @__PURE__ */ J.forwardRef(function(e, o) {
|
|
|
632
631
|
color: y,
|
|
633
632
|
count: l,
|
|
634
633
|
defaultPage: c,
|
|
635
|
-
disabled:
|
|
634
|
+
disabled: m,
|
|
636
635
|
getItemAriaLabel: T,
|
|
637
636
|
hideNextButton: k,
|
|
638
637
|
hidePrevButton: P,
|
|
@@ -641,7 +640,7 @@ const at = /* @__PURE__ */ J.forwardRef(function(e, o) {
|
|
|
641
640
|
showFirstButton: $,
|
|
642
641
|
showLastButton: f,
|
|
643
642
|
siblingCount: I,
|
|
644
|
-
size:
|
|
643
|
+
size: x,
|
|
645
644
|
variant: b
|
|
646
645
|
}, n = St(S);
|
|
647
646
|
return /* @__PURE__ */ r(zt, {
|
|
@@ -659,7 +658,7 @@ const at = /* @__PURE__ */ J.forwardRef(function(e, o) {
|
|
|
659
658
|
color: y,
|
|
660
659
|
"aria-label": T(i.type, i.page, i.selected),
|
|
661
660
|
shape: O,
|
|
662
|
-
size:
|
|
661
|
+
size: x,
|
|
663
662
|
variant: b
|
|
664
663
|
})
|
|
665
664
|
}, L))
|
|
@@ -799,7 +798,7 @@ const It = "_container_n5ukp_1", H = {
|
|
|
799
798
|
) }),
|
|
800
799
|
s ? /* @__PURE__ */ r(B, { className: "text-center", mt: 2, children: /* @__PURE__ */ r(gt, { size: 50 }) }) : /* @__PURE__ */ r(U, { children: o.map((l, c) => /* @__PURE__ */ r(pt, { data: l }, c)) })
|
|
801
800
|
] }) : /* @__PURE__ */ r(ft, { className: "text-center", variant: "h4", children: "No Records" }) }) }) });
|
|
802
|
-
},
|
|
801
|
+
}, Xt = nt(ht);
|
|
803
802
|
export {
|
|
804
|
-
|
|
803
|
+
Xt as default
|
|
805
804
|
};
|