everest-npm-features 0.0.1 → 0.0.3
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/ArrowDropDown-DRUQbGft.js +8 -0
- package/dist/ArrowRight-t-YgAHUn.js +8 -0
- package/dist/{Box-wAem3MQD.js → Box-BOgpENcC.js} +11 -11
- package/dist/{Button-fWdSk-yh.js → Button-DXdgxFxa.js} +8 -7
- package/dist/{ButtonBase-SYP7klDp.js → ButtonBase-AOLUTpPg.js} +204 -211
- package/dist/Cancel-BMPJ8ZAg.js +11 -0
- package/dist/CardContent-DEA5pnhr.js +141 -0
- package/dist/{CircularProgress-DcXA6nAu.js → CircularProgress-BAEiXRSn.js} +31 -30
- package/dist/Close-mXCsZSxZ.js +8 -0
- package/dist/{Container-CIMHcpEe.js → Container-BOehNoF1.js} +4 -4
- package/dist/{ContentCopy-CexUUXuC.js → ContentCopy-HD_Xx6nx.js} +1 -1
- package/dist/{createSimplePaletteValueFilter-CsgjlRAs.js → DefaultPropsProvider-DmUB0SYC.js} +54 -69
- package/dist/DefaultPropsProvider-tqUom3mB.js +329 -0
- package/dist/{DialogContent-JgT9A6nk.js → DialogContent-zttWtNJM.js} +91 -90
- package/dist/{Close-CdRA3xUs.js → DialogTitle-BqL8DXBp.js} +16 -21
- package/dist/{ArrowRight-C6tjImpU.js → Divider-EGEkrkBH.js} +50 -55
- package/dist/{FormControl-D4QuPCnV.js → FormControl-Nd-4LC8N.js} +60 -69
- package/dist/FormControlLabel-BMeMEwyK.js +738 -0
- package/dist/{GlobalStyles-BOnEiMUE.js → GlobalStyles-CModZHM-.js} +2 -2
- package/dist/{Grid-dtT_MVn3.js → Grid-EISqvBSJ.js} +5 -5
- package/dist/Grid2-B0mJbwjl.js +374 -0
- package/dist/{Grow-B3Swdn2Z.js → Grow-dkRwE_ok.js} +5 -5
- package/dist/{IconButton-CRGy76pJ.js → IconButton-DAR3jsEV.js} +12 -11
- package/dist/Info-CkE3Gsf2.js +8 -0
- package/dist/InputAdornment-DZJP9Njd.js +169 -0
- package/dist/ListItemIcon-JAntieDc.js +82 -0
- package/dist/{wallet-DN7ej6mj.js → MenuItem-D12FP5Iq.js} +64 -75
- package/dist/{Modal-0q_y4zbS.js → Modal-DceAu_d2.js} +324 -397
- package/dist/Paper-L8ipwfkc.js +183 -0
- package/dist/PlayArrow-D_p2nwO8.js +21 -0
- package/dist/Portal-DxdKGEvu.js +86 -0
- package/dist/{Select-BNAaKK32.js → Select-DTQDmdn_.js} +39 -33
- package/dist/{Slide-BlS6unRJ.js → Slide-CWqC2RDG.js} +4 -3
- package/dist/Stack-CkCveRRR.js +174 -0
- package/dist/{TextField-CPZo0_di.js → TextField-BqIvz6Zw.js} +23 -21
- package/dist/{Typography-kyxogyUq.js → Typography-Dx54MRM5.js} +14 -13
- package/dist/_commonjsHelpers-BkfeUUK-.js +28 -0
- package/dist/assets/index.css +1 -1
- package/dist/assets/index10.css +1 -0
- package/dist/assets/index2.css +1 -1
- package/dist/assets/index3.css +1 -0
- package/dist/assets/index4.css +1 -0
- package/dist/assets/index5.css +1 -0
- package/dist/assets/index6.css +1 -0
- package/dist/assets/index7.css +1 -0
- package/dist/assets/index8.css +1 -0
- package/dist/assets/index9.css +1 -0
- package/dist/assets/{withThemeProvider.css → main.css} +1 -1
- package/dist/assets/styles.css +1 -1
- package/dist/assets/styles3.css +1 -0
- package/dist/auth-DDk8JxR-.js +46 -0
- package/dist/axios-BEX6n2A7.js +796 -0
- package/dist/bank-BvPXd5sM.js +23 -0
- package/dist/components/Account/index.d.ts +4 -0
- package/dist/components/Account/index.js +310 -0
- package/dist/components/History/index.d.ts +2 -0
- package/dist/components/History/index.js +804 -0
- package/dist/components/MoveToEthereumOrEverChain/index.d.ts +18 -0
- package/dist/components/MoveToEthereumOrEverChain/index.js +345 -0
- package/dist/components/Profile/documents.js +19 -14
- package/dist/components/Profile/index.js +128 -135
- package/dist/components/Receive/index.js +25 -23
- package/dist/components/RocketRamp/Buy/cardPayment.d.ts +3 -0
- package/dist/components/RocketRamp/Buy/cardPayment.js +17 -0
- package/dist/components/RocketRamp/Buy/confirmTransaction.d.ts +3 -0
- package/dist/components/RocketRamp/Buy/confirmTransaction.js +16 -0
- package/dist/components/RocketRamp/Buy/form.d.ts +3 -0
- package/dist/components/RocketRamp/Buy/form.js +26 -0
- package/dist/components/RocketRamp/Buy/index.d.ts +6 -0
- package/dist/components/RocketRamp/Buy/index.js +31 -0
- package/dist/components/RocketRamp/Buy/types.d.ts +33 -0
- package/dist/components/RocketRamp/Buy/types.js +1 -0
- package/dist/components/RocketRamp/Dashboard/balance.d.ts +9 -0
- package/dist/components/RocketRamp/Dashboard/balance.js +75 -0
- package/dist/components/RocketRamp/Dashboard/index.d.ts +5 -0
- package/dist/components/RocketRamp/Dashboard/index.js +36 -0
- package/dist/components/RocketRamp/Dashboard/transaction.d.ts +8 -0
- package/dist/components/RocketRamp/Dashboard/transaction.js +28 -0
- package/dist/components/RocketRamp/MinimalKyc/index.d.ts +6 -0
- package/dist/components/RocketRamp/MinimalKyc/index.js +254 -0
- package/dist/components/RocketRamp/Shared/Button/index.d.ts +10 -0
- package/dist/components/RocketRamp/Shared/Button/index.js +82 -0
- package/dist/components/RocketRamp/Shared/Input/index.d.ts +11 -0
- package/dist/components/RocketRamp/Shared/Input/index.js +46 -0
- package/dist/components/RocketRamp/Shared/backBtn.d.ts +5 -0
- package/dist/components/RocketRamp/Shared/backBtn.js +21 -0
- package/dist/components/RocketRamp/Shared/transactionItem.d.ts +7 -0
- package/dist/components/RocketRamp/Shared/transactionItem.js +125 -0
- package/dist/components/RocketRamp/SignIn/index.d.ts +3 -0
- package/dist/components/RocketRamp/SignIn/index.js +82 -0
- package/dist/components/RocketRamp/SignIn/loginForm.d.ts +3 -0
- package/dist/components/RocketRamp/SignIn/loginForm.js +81 -0
- package/dist/components/RocketRamp/SignIn/otpForm.d.ts +3 -0
- package/dist/components/RocketRamp/SignIn/otpForm.js +112 -0
- package/dist/components/RocketRamp/SignIn/types.d.ts +22 -0
- package/dist/components/RocketRamp/SignIn/types.js +1 -0
- package/dist/components/RocketRamp/SignUp/email.d.ts +3 -0
- package/dist/components/RocketRamp/SignUp/email.js +70 -0
- package/dist/components/RocketRamp/SignUp/index.d.ts +3 -0
- package/dist/components/RocketRamp/SignUp/index.js +163 -0
- package/dist/components/RocketRamp/SignUp/personalInfo.d.ts +3 -0
- package/dist/components/RocketRamp/SignUp/personalInfo.js +415 -0
- package/dist/components/RocketRamp/SignUp/summary.d.ts +3 -0
- package/dist/components/RocketRamp/SignUp/summary.js +57 -0
- package/dist/components/RocketRamp/SignUp/types.d.ts +50 -0
- package/dist/components/RocketRamp/SignUp/types.js +1 -0
- package/dist/components/RocketRamp/SignUp/validateEmail.d.ts +3 -0
- package/dist/components/RocketRamp/SignUp/validateEmail.js +99 -0
- package/dist/components/RocketRamp/Transactions/index.d.ts +5 -0
- package/dist/components/RocketRamp/Transactions/index.js +38 -0
- package/dist/components/Send/index.js +62 -51
- package/dist/components/Shared/ConnectWallet/index.d.ts +20 -0
- package/dist/components/Shared/ConnectWallet/index.js +25364 -0
- package/dist/components/Shared/HistoryItem/index.d.ts +5 -0
- package/dist/components/Shared/HistoryItem/index.js +120 -0
- package/dist/components/Shared/Keyboard/keyboard.js +3 -3
- package/dist/components/Shared/TokenModal/index.d.ts +10 -0
- package/dist/components/Shared/TokenModal/index.js +104 -0
- package/dist/components/Shared/TokenModal/tokenGrid.d.ts +7 -0
- package/dist/components/Shared/TokenModal/tokenGrid.js +51 -0
- package/dist/components/Shared/addBank.d.ts +2 -0
- package/dist/components/Shared/addBank.js +172 -0
- package/dist/components/Shared/button.js +1 -1
- package/dist/components/Shared/connectPlaidBank.d.ts +2 -0
- package/dist/components/Shared/connectPlaidBank.js +57 -0
- package/dist/components/Shared/incode.js +34 -32
- package/dist/components/Shared/inputField.js +1 -1
- package/dist/components/Shared/noData.d.ts +4 -0
- package/dist/components/Shared/noData.js +14 -0
- package/dist/components/Shared/pin.js +3 -3
- package/dist/components/Shared/step.js +2 -2
- package/dist/components/Shared/tooltip.d.ts +4 -0
- package/dist/components/Shared/tooltip.js +2107 -0
- package/dist/components/Shared/transition.js +1 -1
- package/dist/components/SignIn/index.js +26 -24
- package/dist/components/SignUp/index.js +108 -348
- package/dist/components/SignUp/pin.js +116 -844
- package/dist/components/SignUp/privacy.js +3 -3
- package/dist/components/SignUp/terms.js +3 -3
- package/dist/components/SignUp/types.d.ts +0 -1
- package/dist/components/SignUp/userInfo.js +4 -4
- package/dist/components/Stake/gems/index.d.ts +2 -0
- package/dist/components/Stake/gems/index.js +214 -0
- package/dist/components/Stake/id/index.d.ts +2 -0
- package/dist/components/Stake/id/index.js +233 -0
- package/dist/components/Stake/index.d.ts +5 -0
- package/dist/components/Stake/index.js +346 -0
- package/dist/components/Swap/index.d.ts +2 -0
- package/dist/components/Swap/index.js +489 -0
- package/dist/components/SwapAndUniSwap/index.d.ts +3 -0
- package/dist/components/SwapAndUniSwap/index.js +43 -0
- package/dist/components/WalletPortfolio/index.js +191 -263
- package/dist/components/WalletPortfolio/tokenRow.js +8 -5
- package/dist/constants-SKm7VF9k.js +3982 -0
- package/dist/countries-BVn1FubK.js +1925 -0
- package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +17 -0
- package/dist/{createSvgIcon-CAZr4ukt.js → createSvgIcon-jkXneOQN.js} +6 -6
- package/dist/{createTheme-NrBCWesw.js → createTheme-F9Dk4FhK.js} +182 -174
- package/dist/data/countries.json.d.ts +1925 -0
- package/dist/defaultTheme-Bc00Q3Kt.js +5 -0
- package/dist/dividerClasses-SUAUDDqL.js +10 -0
- package/dist/{documents-CL4Ajr_B.js → documents-7w9u2Oig.js} +123 -122
- package/dist/elementTypeAcceptingRef-BufevUW8.js +23 -0
- package/dist/emotion-react.browser.esm-CI0uV1W5.js +233 -0
- package/dist/{extendSxProp-CuERe1TA.js → extendSxProp-Cm2UBzGf.js} +1 -1
- package/dist/generic-token-B_ptO5yb.js +4 -0
- package/dist/hoc/withThemeProvider.js +33 -32
- package/dist/hooks/useDialog/index.js +4 -4
- package/dist/hooks/useSnackBar.js +63 -60
- package/dist/icons/buyIcon.d.ts +2 -0
- package/dist/icons/buyIcon.js +19 -0
- package/dist/icons/canceledBuyIcon.d.ts +2 -0
- package/dist/icons/canceledBuyIcon.js +34 -0
- package/dist/icons/canceledRedeemIcon.d.ts +2 -0
- package/dist/icons/canceledRedeemIcon.js +35 -0
- package/dist/icons/failedBuyIcon.d.ts +2 -0
- package/dist/icons/failedBuyIcon.js +48 -0
- package/dist/icons/failedRedeemIcon.d.ts +2 -0
- package/dist/icons/failedRedeemIcon.js +48 -0
- package/dist/icons/pendingBuyIcon.d.ts +2 -0
- package/dist/icons/pendingBuyIcon.js +38 -0
- package/dist/icons/pendingRedeemIcon.d.ts +2 -0
- package/dist/icons/pendingRedeemIcon.js +34 -0
- package/dist/icons/redeemIcon.d.ts +2 -0
- package/dist/icons/redeemIcon.js +19 -0
- package/dist/index-B8QKlEgj.js +37095 -0
- package/dist/{index-Cq3eHOnB.js → index-BJlsh9ro.js} +1 -1
- package/dist/index-BhmBCie8.js +796 -0
- package/dist/index-C3FYdQkQ.js +4050 -0
- package/dist/index-CrajlEO_.js +576 -0
- package/dist/index-TElEjliR.js +9 -0
- package/dist/{index-iAyNk1r6.js → index-_kqRfgnc.js} +5 -5
- package/dist/index-ceeCtFuh.js +136 -0
- package/dist/index.esm-BsMAMhYW.js +237 -0
- package/dist/isFocusVisible-CPZqtjv2.js +12 -0
- package/dist/isMuiElement-DnSE4qG4.js +13 -0
- package/dist/main.d.ts +99 -0
- package/dist/main.js +34 -12
- package/dist/moment-h96o7c8I.js +2578 -0
- package/dist/order-CO4ra5N-.js +27 -0
- package/dist/ownerWindow-C-760D__.js +7 -0
- package/dist/providers/metaMask.d.ts +6 -0
- package/dist/providers/metaMask.js +24 -0
- package/dist/react-redux-B4BZippc.js +255 -0
- package/dist/react-webcam-B3cXh1XT.js +267 -0
- package/dist/resolveComponentProps-BdTgLKBb.js +80 -0
- package/dist/rr-primary-logo-CqI24c8v.js +4 -0
- package/dist/stake-DHpsHQbJ.js +17 -0
- package/dist/store.d.ts +66 -0
- package/dist/store.js +1 -0
- package/dist/styled-BTIMwpiX.js +5 -0
- package/dist/{styles.module-KeND8lCR.js → styles.module-6SB62f3J.js} +1 -1
- package/dist/styles.module-O5VVND5e.js +22 -0
- package/dist/tokenRow-CgnPD-4U.js +206 -0
- package/dist/useControlled-BYdyS7Pn.js +31 -0
- package/dist/useFormControl-CfmEP6sW.js +18 -0
- package/dist/useSlot-DaP6eodX.js +50 -0
- package/dist/useTheme-BghcbbEW.js +9 -0
- package/dist/{useTheme-nlj1B_-c.js → useTheme-c0OHvtiA.js} +3 -3
- package/dist/{useThemeProps-BqWuFW3z.js → useThemeProps-CV9AmzHf.js} +4 -4
- package/dist/{useThemeWithoutDefault-BdYkMk0o.js → useThemeWithoutDefault-D8MaPbCK.js} +1 -1
- package/dist/useTimeout-D29bZ7Gz.js +56 -0
- package/dist/user-CeKqBfJU.js +24 -0
- package/dist/util/constants.d.ts +48 -0
- package/dist/util/constants.js +69 -21
- package/dist/util/conversions.js +54 -22271
- package/dist/util/functions.d.ts +5 -0
- package/dist/util/functions.js +81 -24
- package/dist/util/regex.d.ts +3 -0
- package/dist/util/regex.js +6 -0
- package/dist/{utils-_FXWkn40.js → utils-EFg3So7T.js} +163 -168
- package/dist/wallet-BtAQ78cv.js +35 -0
- package/dist/web3-u4qDZYpo.js +22328 -0
- package/package.json +8 -3
- package/dist/DefaultPropsProvider-Y8MI-J-I.js +0 -555
- package/dist/__vite-browser-external-DYxpcVy9-DYxpcVy9.js +0 -4
- package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
- package/dist/auth-Cj5FKr_m.js +0 -19
- package/dist/axios-xPiQW9EP.js +0 -118114
- package/dist/defaultTheme-OIfL8Ia7.js +0 -5
- package/dist/dividerClasses-Z7VLlu5C.js +0 -10
- package/dist/index-DKTkUdik.js +0 -6
- package/dist/react-redux-VW99uJjf.js +0 -5908
- package/dist/react-webcam-Cov1TP0q.js +0 -639
- package/dist/styled-Da6GnxEE.js +0 -5
- package/dist/tokenRow-Cdd_jFjp.js +0 -206
- package/dist/useFormControl-Bo6Tf_xo.js +0 -46
- package/dist/useSlot-CURNJ3JC.js +0 -306
- package/dist/useTheme-DWRMvRU8.js +0 -9
- package/dist/useTimeout-lr7ryrda.js +0 -75
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
import * as d from "react";
|
|
2
|
-
import { g as D,
|
|
3
|
-
import { g as k, s as u, m as B, u as $,
|
|
4
|
-
import { u as q } from "./useTheme-
|
|
2
|
+
import { g as D, f as l, P as o } from "./createTheme-F9Dk4FhK.js";
|
|
3
|
+
import { g as k, s as u, m as B, u as $, c as b, a as N } from "./DefaultPropsProvider-DmUB0SYC.js";
|
|
4
|
+
import { u as q } from "./useTheme-c0OHvtiA.js";
|
|
5
5
|
import { jsx as n } from "react/jsx-runtime";
|
|
6
|
-
import { B as G, M as J,
|
|
7
|
-
import { P as O } from "./
|
|
8
|
-
|
|
6
|
+
import { B as G, M as J, F as Q } from "./Modal-DceAu_d2.js";
|
|
7
|
+
import { P as O } from "./Paper-L8ipwfkc.js";
|
|
8
|
+
import { u as Z } from "./Portal-DxdKGEvu.js";
|
|
9
|
+
function oo(r) {
|
|
9
10
|
return D("MuiDialog", r);
|
|
10
11
|
}
|
|
11
12
|
const C = k("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "paper", "paperScrollPaper", "paperScrollBody", "paperWidthFalse", "paperWidthXs", "paperWidthSm", "paperWidthMd", "paperWidthLg", "paperWidthXl", "paperFullWidth", "paperFullScreen"]), R = /* @__PURE__ */ d.createContext({});
|
|
12
13
|
process.env.NODE_ENV !== "production" && (R.displayName = "DialogContext");
|
|
13
|
-
const
|
|
14
|
+
const eo = u(G, {
|
|
14
15
|
name: "MuiDialog",
|
|
15
16
|
slot: "Backdrop",
|
|
16
|
-
overrides: (r,
|
|
17
|
+
overrides: (r, e) => e.backdrop
|
|
17
18
|
})({
|
|
18
19
|
// Improve scrollable dialog support.
|
|
19
20
|
zIndex: -1
|
|
20
|
-
}),
|
|
21
|
+
}), ro = (r) => {
|
|
21
22
|
const {
|
|
22
|
-
classes:
|
|
23
|
+
classes: e,
|
|
23
24
|
scroll: a,
|
|
24
25
|
maxWidth: t,
|
|
25
26
|
fullWidth: i,
|
|
@@ -29,24 +30,24 @@ const oe = u(G, {
|
|
|
29
30
|
container: ["container", `scroll${l(a)}`],
|
|
30
31
|
paper: ["paper", `paperScroll${l(a)}`, `paperWidth${l(String(t))}`, i && "paperFullWidth", p && "paperFullScreen"]
|
|
31
32
|
};
|
|
32
|
-
return N(c,
|
|
33
|
-
},
|
|
33
|
+
return N(c, oo, e);
|
|
34
|
+
}, ao = u(J, {
|
|
34
35
|
name: "MuiDialog",
|
|
35
36
|
slot: "Root",
|
|
36
|
-
overridesResolver: (r,
|
|
37
|
+
overridesResolver: (r, e) => e.root
|
|
37
38
|
})({
|
|
38
39
|
"@media print": {
|
|
39
40
|
// Use !important to override the Modal inline-style.
|
|
40
41
|
position: "absolute !important"
|
|
41
42
|
}
|
|
42
|
-
}),
|
|
43
|
+
}), to = u("div", {
|
|
43
44
|
name: "MuiDialog",
|
|
44
45
|
slot: "Container",
|
|
45
|
-
overridesResolver: (r,
|
|
46
|
+
overridesResolver: (r, e) => {
|
|
46
47
|
const {
|
|
47
48
|
ownerState: a
|
|
48
49
|
} = r;
|
|
49
|
-
return [
|
|
50
|
+
return [e.container, e[`scroll${l(a.scroll)}`]];
|
|
50
51
|
}
|
|
51
52
|
})({
|
|
52
53
|
height: "100%",
|
|
@@ -81,14 +82,14 @@ const oe = u(G, {
|
|
|
81
82
|
}
|
|
82
83
|
}
|
|
83
84
|
}]
|
|
84
|
-
}),
|
|
85
|
+
}), io = u(O, {
|
|
85
86
|
name: "MuiDialog",
|
|
86
87
|
slot: "Paper",
|
|
87
|
-
overridesResolver: (r,
|
|
88
|
+
overridesResolver: (r, e) => {
|
|
88
89
|
const {
|
|
89
90
|
ownerState: a
|
|
90
91
|
} = r;
|
|
91
|
-
return [
|
|
92
|
+
return [e.paper, e[`scrollPaper${l(a.scroll)}`], e[`paperWidth${l(String(a.maxWidth))}`], a.fullWidth && e.paperFullWidth, a.fullScreen && e.paperFullScreen];
|
|
92
93
|
}
|
|
93
94
|
})(B(({
|
|
94
95
|
theme: r
|
|
@@ -120,8 +121,8 @@ const oe = u(G, {
|
|
|
120
121
|
}
|
|
121
122
|
}, {
|
|
122
123
|
props: ({
|
|
123
|
-
ownerState:
|
|
124
|
-
}) => !
|
|
124
|
+
ownerState: e
|
|
125
|
+
}) => !e.maxWidth,
|
|
125
126
|
style: {
|
|
126
127
|
maxWidth: "calc(100% - 64px)"
|
|
127
128
|
}
|
|
@@ -137,29 +138,29 @@ const oe = u(G, {
|
|
|
137
138
|
}
|
|
138
139
|
}
|
|
139
140
|
}
|
|
140
|
-
}, ...Object.keys(r.breakpoints.values).filter((
|
|
141
|
+
}, ...Object.keys(r.breakpoints.values).filter((e) => e !== "xs").map((e) => ({
|
|
141
142
|
props: {
|
|
142
|
-
maxWidth:
|
|
143
|
+
maxWidth: e
|
|
143
144
|
},
|
|
144
145
|
style: {
|
|
145
|
-
maxWidth: `${r.breakpoints.values[
|
|
146
|
+
maxWidth: `${r.breakpoints.values[e]}${r.breakpoints.unit}`,
|
|
146
147
|
[`&.${C.paperScrollBody}`]: {
|
|
147
|
-
[r.breakpoints.down(r.breakpoints.values[
|
|
148
|
+
[r.breakpoints.down(r.breakpoints.values[e] + 32 * 2)]: {
|
|
148
149
|
maxWidth: "calc(100% - 64px)"
|
|
149
150
|
}
|
|
150
151
|
}
|
|
151
152
|
}
|
|
152
153
|
})), {
|
|
153
154
|
props: ({
|
|
154
|
-
ownerState:
|
|
155
|
-
}) =>
|
|
155
|
+
ownerState: e
|
|
156
|
+
}) => e.fullWidth,
|
|
156
157
|
style: {
|
|
157
158
|
width: "calc(100% - 64px)"
|
|
158
159
|
}
|
|
159
160
|
}, {
|
|
160
161
|
props: ({
|
|
161
|
-
ownerState:
|
|
162
|
-
}) =>
|
|
162
|
+
ownerState: e
|
|
163
|
+
}) => e.fullScreen,
|
|
163
164
|
style: {
|
|
164
165
|
margin: 0,
|
|
165
166
|
width: "100%",
|
|
@@ -173,9 +174,9 @@ const oe = u(G, {
|
|
|
173
174
|
}
|
|
174
175
|
}
|
|
175
176
|
}]
|
|
176
|
-
}))),
|
|
177
|
+
}))), so = /* @__PURE__ */ d.forwardRef(function(e, a) {
|
|
177
178
|
const t = $({
|
|
178
|
-
props:
|
|
179
|
+
props: e,
|
|
179
180
|
name: "MuiDialog"
|
|
180
181
|
}), i = q(), p = {
|
|
181
182
|
enter: i.transitions.duration.enteringScreen,
|
|
@@ -198,7 +199,7 @@ const oe = u(G, {
|
|
|
198
199
|
PaperComponent: V = O,
|
|
199
200
|
PaperProps: P = {},
|
|
200
201
|
scroll: Y = "paper",
|
|
201
|
-
TransitionComponent: K =
|
|
202
|
+
TransitionComponent: K = Q,
|
|
202
203
|
transitionDuration: M = p,
|
|
203
204
|
TransitionProps: L,
|
|
204
205
|
...X
|
|
@@ -209,18 +210,18 @@ const oe = u(G, {
|
|
|
209
210
|
fullWidth: A,
|
|
210
211
|
maxWidth: I,
|
|
211
212
|
scroll: Y
|
|
212
|
-
}, y =
|
|
213
|
+
}, y = ro(f), v = d.useRef(), _ = (s) => {
|
|
213
214
|
v.current = s.target === s.currentTarget;
|
|
214
215
|
}, z = (s) => {
|
|
215
216
|
W && W(s), v.current && (v.current = null, w && w(s), x && x(s, "backdropClick"));
|
|
216
|
-
}, h =
|
|
217
|
+
}, h = Z(m), H = d.useMemo(() => ({
|
|
217
218
|
titleId: h
|
|
218
219
|
}), [h]);
|
|
219
|
-
return /* @__PURE__ */ n(
|
|
220
|
+
return /* @__PURE__ */ n(ao, {
|
|
220
221
|
className: b(y.root, F),
|
|
221
222
|
closeAfterTransition: !0,
|
|
222
223
|
components: {
|
|
223
|
-
Backdrop:
|
|
224
|
+
Backdrop: eo
|
|
224
225
|
},
|
|
225
226
|
componentsProps: {
|
|
226
227
|
backdrop: {
|
|
@@ -242,11 +243,11 @@ const oe = u(G, {
|
|
|
242
243
|
timeout: M,
|
|
243
244
|
role: "presentation",
|
|
244
245
|
...L,
|
|
245
|
-
children: /* @__PURE__ */ n(
|
|
246
|
+
children: /* @__PURE__ */ n(to, {
|
|
246
247
|
className: b(y.container),
|
|
247
248
|
onMouseDown: _,
|
|
248
249
|
ownerState: f,
|
|
249
|
-
children: /* @__PURE__ */ n(
|
|
250
|
+
children: /* @__PURE__ */ n(io, {
|
|
250
251
|
as: V,
|
|
251
252
|
elevation: 24,
|
|
252
253
|
role: "dialog",
|
|
@@ -264,7 +265,7 @@ const oe = u(G, {
|
|
|
264
265
|
})
|
|
265
266
|
});
|
|
266
267
|
});
|
|
267
|
-
process.env.NODE_ENV !== "production" && (
|
|
268
|
+
process.env.NODE_ENV !== "production" && (so.propTypes = {
|
|
268
269
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
269
270
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
270
271
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -272,11 +273,11 @@ process.env.NODE_ENV !== "production" && (se.propTypes = {
|
|
|
272
273
|
/**
|
|
273
274
|
* The id(s) of the element(s) that describe the dialog.
|
|
274
275
|
*/
|
|
275
|
-
"aria-describedby":
|
|
276
|
+
"aria-describedby": o.string,
|
|
276
277
|
/**
|
|
277
278
|
* The id(s) of the element(s) that label the dialog.
|
|
278
279
|
*/
|
|
279
|
-
"aria-labelledby":
|
|
280
|
+
"aria-labelledby": o.string,
|
|
280
281
|
/**
|
|
281
282
|
* A backdrop component. This prop enables custom backdrop rendering.
|
|
282
283
|
* @deprecated Use `slots.backdrop` instead. While this prop currently works, it will be removed in the next major version.
|
|
@@ -291,92 +292,92 @@ process.env.NODE_ENV !== "production" && (se.propTypes = {
|
|
|
291
292
|
* zIndex: -1,
|
|
292
293
|
* })
|
|
293
294
|
*/
|
|
294
|
-
BackdropComponent:
|
|
295
|
+
BackdropComponent: o.elementType,
|
|
295
296
|
/**
|
|
296
297
|
* @ignore
|
|
297
298
|
*/
|
|
298
|
-
BackdropProps:
|
|
299
|
+
BackdropProps: o.object,
|
|
299
300
|
/**
|
|
300
301
|
* Dialog children, usually the included sub-components.
|
|
301
302
|
*/
|
|
302
|
-
children:
|
|
303
|
+
children: o.node,
|
|
303
304
|
/**
|
|
304
305
|
* Override or extend the styles applied to the component.
|
|
305
306
|
*/
|
|
306
|
-
classes:
|
|
307
|
+
classes: o.object,
|
|
307
308
|
/**
|
|
308
309
|
* @ignore
|
|
309
310
|
*/
|
|
310
|
-
className:
|
|
311
|
+
className: o.string,
|
|
311
312
|
/**
|
|
312
313
|
* If `true`, hitting escape will not fire the `onClose` callback.
|
|
313
314
|
* @default false
|
|
314
315
|
*/
|
|
315
|
-
disableEscapeKeyDown:
|
|
316
|
+
disableEscapeKeyDown: o.bool,
|
|
316
317
|
/**
|
|
317
318
|
* If `true`, the dialog is full-screen.
|
|
318
319
|
* @default false
|
|
319
320
|
*/
|
|
320
|
-
fullScreen:
|
|
321
|
+
fullScreen: o.bool,
|
|
321
322
|
/**
|
|
322
323
|
* If `true`, the dialog stretches to `maxWidth`.
|
|
323
324
|
*
|
|
324
325
|
* Notice that the dialog width grow is limited by the default margin.
|
|
325
326
|
* @default false
|
|
326
327
|
*/
|
|
327
|
-
fullWidth:
|
|
328
|
+
fullWidth: o.bool,
|
|
328
329
|
/**
|
|
329
330
|
* Determine the max-width of the dialog.
|
|
330
331
|
* The dialog width grows with the size of the screen.
|
|
331
332
|
* Set to `false` to disable `maxWidth`.
|
|
332
333
|
* @default 'sm'
|
|
333
334
|
*/
|
|
334
|
-
maxWidth:
|
|
335
|
+
maxWidth: o.oneOfType([o.oneOf(["xs", "sm", "md", "lg", "xl", !1]), o.string]),
|
|
335
336
|
/**
|
|
336
337
|
* Callback fired when the backdrop is clicked.
|
|
337
338
|
* @deprecated Use the `onClose` prop with the `reason` argument to handle the `backdropClick` events.
|
|
338
339
|
*/
|
|
339
|
-
onBackdropClick:
|
|
340
|
+
onBackdropClick: o.func,
|
|
340
341
|
/**
|
|
341
342
|
* @ignore
|
|
342
343
|
*/
|
|
343
|
-
onClick:
|
|
344
|
+
onClick: o.func,
|
|
344
345
|
/**
|
|
345
346
|
* Callback fired when the component requests to be closed.
|
|
346
347
|
*
|
|
347
348
|
* @param {object} event The event source of the callback.
|
|
348
349
|
* @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`.
|
|
349
350
|
*/
|
|
350
|
-
onClose:
|
|
351
|
+
onClose: o.func,
|
|
351
352
|
/**
|
|
352
353
|
* If `true`, the component is shown.
|
|
353
354
|
*/
|
|
354
|
-
open:
|
|
355
|
+
open: o.bool.isRequired,
|
|
355
356
|
/**
|
|
356
357
|
* The component used to render the body of the dialog.
|
|
357
358
|
* @default Paper
|
|
358
359
|
*/
|
|
359
|
-
PaperComponent:
|
|
360
|
+
PaperComponent: o.elementType,
|
|
360
361
|
/**
|
|
361
362
|
* Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
|
|
362
363
|
* @default {}
|
|
363
364
|
*/
|
|
364
|
-
PaperProps:
|
|
365
|
+
PaperProps: o.object,
|
|
365
366
|
/**
|
|
366
367
|
* Determine the container for scrolling the dialog.
|
|
367
368
|
* @default 'paper'
|
|
368
369
|
*/
|
|
369
|
-
scroll:
|
|
370
|
+
scroll: o.oneOf(["body", "paper"]),
|
|
370
371
|
/**
|
|
371
372
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
372
373
|
*/
|
|
373
|
-
sx:
|
|
374
|
+
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
|
|
374
375
|
/**
|
|
375
376
|
* The component used for the transition.
|
|
376
377
|
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
377
378
|
* @default Fade
|
|
378
379
|
*/
|
|
379
|
-
TransitionComponent:
|
|
380
|
+
TransitionComponent: o.elementType,
|
|
380
381
|
/**
|
|
381
382
|
* The duration for the transition, in milliseconds.
|
|
382
383
|
* You may specify a single timeout for all transitions, or individually with an object.
|
|
@@ -385,40 +386,40 @@ process.env.NODE_ENV !== "production" && (se.propTypes = {
|
|
|
385
386
|
* exit: theme.transitions.duration.leavingScreen,
|
|
386
387
|
* }
|
|
387
388
|
*/
|
|
388
|
-
transitionDuration:
|
|
389
|
-
appear:
|
|
390
|
-
enter:
|
|
391
|
-
exit:
|
|
389
|
+
transitionDuration: o.oneOfType([o.number, o.shape({
|
|
390
|
+
appear: o.number,
|
|
391
|
+
enter: o.number,
|
|
392
|
+
exit: o.number
|
|
392
393
|
})]),
|
|
393
394
|
/**
|
|
394
395
|
* Props applied to the transition element.
|
|
395
396
|
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
396
397
|
*/
|
|
397
|
-
TransitionProps:
|
|
398
|
+
TransitionProps: o.object
|
|
398
399
|
});
|
|
399
|
-
function
|
|
400
|
+
function no(r) {
|
|
400
401
|
return D("MuiDialogContent", r);
|
|
401
402
|
}
|
|
402
403
|
k("MuiDialogContent", ["root", "dividers"]);
|
|
403
|
-
function
|
|
404
|
+
function ho(r) {
|
|
404
405
|
return D("MuiDialogTitle", r);
|
|
405
406
|
}
|
|
406
|
-
const
|
|
407
|
+
const lo = k("MuiDialogTitle", ["root"]), po = (r) => {
|
|
407
408
|
const {
|
|
408
|
-
classes:
|
|
409
|
+
classes: e,
|
|
409
410
|
dividers: a
|
|
410
411
|
} = r;
|
|
411
412
|
return N({
|
|
412
413
|
root: ["root", a && "dividers"]
|
|
413
|
-
},
|
|
414
|
-
},
|
|
414
|
+
}, no, e);
|
|
415
|
+
}, co = u("div", {
|
|
415
416
|
name: "MuiDialogContent",
|
|
416
417
|
slot: "Root",
|
|
417
|
-
overridesResolver: (r,
|
|
418
|
+
overridesResolver: (r, e) => {
|
|
418
419
|
const {
|
|
419
420
|
ownerState: a
|
|
420
421
|
} = r;
|
|
421
|
-
return [
|
|
422
|
+
return [e.root, a.dividers && e.dividers];
|
|
422
423
|
}
|
|
423
424
|
})(B(({
|
|
424
425
|
theme: r
|
|
@@ -430,8 +431,8 @@ const le = k("MuiDialogTitle", ["root"]), pe = (r) => {
|
|
|
430
431
|
padding: "20px 24px",
|
|
431
432
|
variants: [{
|
|
432
433
|
props: ({
|
|
433
|
-
ownerState:
|
|
434
|
-
}) =>
|
|
434
|
+
ownerState: e
|
|
435
|
+
}) => e.dividers,
|
|
435
436
|
style: {
|
|
436
437
|
padding: "16px 24px",
|
|
437
438
|
borderTop: `1px solid ${(r.vars || r).palette.divider}`,
|
|
@@ -439,17 +440,17 @@ const le = k("MuiDialogTitle", ["root"]), pe = (r) => {
|
|
|
439
440
|
}
|
|
440
441
|
}, {
|
|
441
442
|
props: ({
|
|
442
|
-
ownerState:
|
|
443
|
-
}) => !
|
|
443
|
+
ownerState: e
|
|
444
|
+
}) => !e.dividers,
|
|
444
445
|
style: {
|
|
445
|
-
[`.${
|
|
446
|
+
[`.${lo.root} + &`]: {
|
|
446
447
|
paddingTop: 0
|
|
447
448
|
}
|
|
448
449
|
}
|
|
449
450
|
}]
|
|
450
|
-
}))),
|
|
451
|
+
}))), uo = /* @__PURE__ */ d.forwardRef(function(e, a) {
|
|
451
452
|
const t = $({
|
|
452
|
-
props:
|
|
453
|
+
props: e,
|
|
453
454
|
name: "MuiDialogContent"
|
|
454
455
|
}), {
|
|
455
456
|
className: i,
|
|
@@ -458,15 +459,15 @@ const le = k("MuiDialogTitle", ["root"]), pe = (r) => {
|
|
|
458
459
|
} = t, m = {
|
|
459
460
|
...t,
|
|
460
461
|
dividers: p
|
|
461
|
-
}, g =
|
|
462
|
-
return /* @__PURE__ */ n(
|
|
462
|
+
}, g = po(m);
|
|
463
|
+
return /* @__PURE__ */ n(co, {
|
|
463
464
|
className: b(g.root, i),
|
|
464
465
|
ownerState: m,
|
|
465
466
|
ref: a,
|
|
466
467
|
...c
|
|
467
468
|
});
|
|
468
469
|
});
|
|
469
|
-
process.env.NODE_ENV !== "production" && (
|
|
470
|
+
process.env.NODE_ENV !== "production" && (uo.propTypes = {
|
|
470
471
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
471
472
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
472
473
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -474,28 +475,28 @@ process.env.NODE_ENV !== "production" && (de.propTypes = {
|
|
|
474
475
|
/**
|
|
475
476
|
* The content of the component.
|
|
476
477
|
*/
|
|
477
|
-
children:
|
|
478
|
+
children: o.node,
|
|
478
479
|
/**
|
|
479
480
|
* Override or extend the styles applied to the component.
|
|
480
481
|
*/
|
|
481
|
-
classes:
|
|
482
|
+
classes: o.object,
|
|
482
483
|
/**
|
|
483
484
|
* @ignore
|
|
484
485
|
*/
|
|
485
|
-
className:
|
|
486
|
+
className: o.string,
|
|
486
487
|
/**
|
|
487
488
|
* Display the top and bottom dividers.
|
|
488
489
|
* @default false
|
|
489
490
|
*/
|
|
490
|
-
dividers:
|
|
491
|
+
dividers: o.bool,
|
|
491
492
|
/**
|
|
492
493
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
493
494
|
*/
|
|
494
|
-
sx:
|
|
495
|
+
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
|
|
495
496
|
});
|
|
496
497
|
export {
|
|
497
|
-
|
|
498
|
-
|
|
498
|
+
so as D,
|
|
499
|
+
uo as a,
|
|
499
500
|
R as b,
|
|
500
|
-
|
|
501
|
+
ho as g
|
|
501
502
|
};
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import * as l from "react";
|
|
2
|
-
import { P as o } from "./createTheme-
|
|
3
|
-
import { s as
|
|
4
|
-
import { b as
|
|
5
|
-
import { jsx as
|
|
6
|
-
import { T as x } from "./Typography-
|
|
7
|
-
import { c as C } from "./createSvgIcon-CAZr4ukt.js";
|
|
2
|
+
import { P as o } from "./createTheme-F9Dk4FhK.js";
|
|
3
|
+
import { s as f, u as d, c as u, a as g } from "./DefaultPropsProvider-DmUB0SYC.js";
|
|
4
|
+
import { b as T, g as y } from "./DialogContent-zttWtNJM.js";
|
|
5
|
+
import { jsx as D } from "react/jsx-runtime";
|
|
6
|
+
import { T as x } from "./Typography-Dx54MRM5.js";
|
|
8
7
|
const b = (t) => {
|
|
9
8
|
const {
|
|
10
9
|
classes: s
|
|
11
10
|
} = t;
|
|
12
|
-
return
|
|
11
|
+
return g({
|
|
13
12
|
root: ["root"]
|
|
14
|
-
},
|
|
15
|
-
}, h =
|
|
13
|
+
}, y, s);
|
|
14
|
+
}, h = f(x, {
|
|
16
15
|
name: "MuiDialogTitle",
|
|
17
16
|
slot: "Root",
|
|
18
17
|
overridesResolver: (t, s) => s.root
|
|
@@ -20,23 +19,23 @@ const b = (t) => {
|
|
|
20
19
|
padding: "16px 24px",
|
|
21
20
|
flex: "0 0 auto"
|
|
22
21
|
}), v = /* @__PURE__ */ l.forwardRef(function(s, e) {
|
|
23
|
-
const r =
|
|
22
|
+
const r = d({
|
|
24
23
|
props: s,
|
|
25
24
|
name: "MuiDialogTitle"
|
|
26
25
|
}), {
|
|
27
|
-
className:
|
|
26
|
+
className: n,
|
|
28
27
|
id: a,
|
|
29
28
|
...p
|
|
30
|
-
} = r, i = r,
|
|
31
|
-
titleId:
|
|
32
|
-
} = l.useContext(
|
|
33
|
-
return /* @__PURE__ */
|
|
29
|
+
} = r, i = r, c = b(i), {
|
|
30
|
+
titleId: m = a
|
|
31
|
+
} = l.useContext(T);
|
|
32
|
+
return /* @__PURE__ */ D(h, {
|
|
34
33
|
component: "h2",
|
|
35
|
-
className: u(
|
|
34
|
+
className: u(c.root, n),
|
|
36
35
|
ownerState: i,
|
|
37
36
|
ref: e,
|
|
38
37
|
variant: "h6",
|
|
39
|
-
id: a ??
|
|
38
|
+
id: a ?? m,
|
|
40
39
|
...p
|
|
41
40
|
});
|
|
42
41
|
});
|
|
@@ -66,10 +65,6 @@ process.env.NODE_ENV !== "production" && (v.propTypes = {
|
|
|
66
65
|
*/
|
|
67
66
|
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
|
|
68
67
|
});
|
|
69
|
-
const I = C(/* @__PURE__ */ n("path", {
|
|
70
|
-
d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
71
|
-
}), "Close");
|
|
72
68
|
export {
|
|
73
|
-
I as C,
|
|
74
69
|
v as D
|
|
75
70
|
};
|