everest-npm-features 0.0.1
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/README.md +3 -0
- package/dist/ArrowRight-C6tjImpU.js +300 -0
- package/dist/Box-wAem3MQD.js +58 -0
- package/dist/Button-fWdSk-yh.js +451 -0
- package/dist/ButtonBase-SYP7klDp.js +876 -0
- package/dist/CircularProgress-DcXA6nAu.js +249 -0
- package/dist/Close-CdRA3xUs.js +75 -0
- package/dist/Container-CIMHcpEe.js +181 -0
- package/dist/ContentCopy-CexUUXuC.js +8 -0
- package/dist/DefaultPropsProvider-Y8MI-J-I.js +555 -0
- package/dist/DialogContent-JgT9A6nk.js +501 -0
- package/dist/FormControl-D4QuPCnV.js +249 -0
- package/dist/GlobalStyles-BOnEiMUE.js +23 -0
- package/dist/Grid-dtT_MVn3.js +501 -0
- package/dist/Grow-B3Swdn2Z.js +215 -0
- package/dist/IconButton-CRGy76pJ.js +237 -0
- package/dist/Modal-0q_y4zbS.js +1170 -0
- package/dist/Select-BNAaKK32.js +4046 -0
- package/dist/Slide-BlS6unRJ.js +229 -0
- package/dist/TextField-CPZo0_di.js +963 -0
- package/dist/TransitionGroupContext-VwpFXTPO.js +43 -0
- package/dist/Typography-kyxogyUq.js +256 -0
- package/dist/__vite-browser-external-DYxpcVy9-DYxpcVy9.js +4 -0
- package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
- package/dist/assets/documents.css +1 -0
- package/dist/assets/index.css +1 -0
- package/dist/assets/index2.css +1 -0
- package/dist/assets/keyboard.css +1 -0
- package/dist/assets/styles.css +1 -0
- package/dist/assets/styles2.css +1 -0
- package/dist/assets/tokenRow.css +1 -0
- package/dist/assets/withThemeProvider.css +1 -0
- package/dist/auth-Cj5FKr_m.js +19 -0
- package/dist/axios-xPiQW9EP.js +118114 -0
- package/dist/components/Profile/documents.d.ts +6 -0
- package/dist/components/Profile/documents.js +24 -0
- package/dist/components/Profile/index.d.ts +6 -0
- package/dist/components/Profile/index.js +592 -0
- package/dist/components/Receive/index.d.ts +2 -0
- package/dist/components/Receive/index.js +75 -0
- package/dist/components/Send/index.d.ts +6 -0
- package/dist/components/Send/index.js +387 -0
- package/dist/components/Shared/Keyboard/index.d.ts +1 -0
- package/dist/components/Shared/Keyboard/index.js +4 -0
- package/dist/components/Shared/Keyboard/keyboard.d.ts +8 -0
- package/dist/components/Shared/Keyboard/keyboard.js +152 -0
- package/dist/components/Shared/button.d.ts +11 -0
- package/dist/components/Shared/button.js +64 -0
- package/dist/components/Shared/incode.d.ts +20 -0
- package/dist/components/Shared/incode.js +202 -0
- package/dist/components/Shared/inputField.d.ts +7 -0
- package/dist/components/Shared/inputField.js +48 -0
- package/dist/components/Shared/pin.d.ts +9 -0
- package/dist/components/Shared/pin.js +96 -0
- package/dist/components/Shared/step.d.ts +8 -0
- package/dist/components/Shared/step.js +48 -0
- package/dist/components/Shared/transition.d.ts +7 -0
- package/dist/components/Shared/transition.js +11 -0
- package/dist/components/SignIn/index.d.ts +4 -0
- package/dist/components/SignIn/index.js +266 -0
- package/dist/components/SignIn/types.d.ts +7 -0
- package/dist/components/SignIn/types.js +1 -0
- package/dist/components/SignUp/biometric.d.ts +3 -0
- package/dist/components/SignUp/biometric.js +77 -0
- package/dist/components/SignUp/index.d.ts +3 -0
- package/dist/components/SignUp/index.js +393 -0
- package/dist/components/SignUp/pin.d.ts +3 -0
- package/dist/components/SignUp/pin.js +950 -0
- package/dist/components/SignUp/privacy.d.ts +2 -0
- package/dist/components/SignUp/privacy.js +259 -0
- package/dist/components/SignUp/terms.d.ts +2 -0
- package/dist/components/SignUp/terms.js +524 -0
- package/dist/components/SignUp/types.d.ts +54 -0
- package/dist/components/SignUp/types.js +1 -0
- package/dist/components/SignUp/userInfo.d.ts +3 -0
- package/dist/components/SignUp/userInfo.js +47 -0
- package/dist/components/WalletPortfolio/index.d.ts +3 -0
- package/dist/components/WalletPortfolio/index.js +557 -0
- package/dist/components/WalletPortfolio/tokenRow.d.ts +17 -0
- package/dist/components/WalletPortfolio/tokenRow.js +11 -0
- package/dist/components/WalletPortfolio/types.d.ts +10 -0
- package/dist/components/WalletPortfolio/types.js +1 -0
- package/dist/createSimplePaletteValueFilter-CsgjlRAs.js +659 -0
- package/dist/createSvgIcon-CAZr4ukt.js +249 -0
- package/dist/createTheme-NrBCWesw.js +3386 -0
- package/dist/debounce-46wSf_lW.js +15 -0
- package/dist/defaultTheme-OIfL8Ia7.js +5 -0
- package/dist/dialog-success-BDNJV4Tk.js +4 -0
- package/dist/dividerClasses-Z7VLlu5C.js +10 -0
- package/dist/documents-CL4Ajr_B.js +569 -0
- package/dist/exactProp-C1Lmtwf_.js +13 -0
- package/dist/extendSxProp-CuERe1TA.js +37 -0
- package/dist/hoc/withThemeProvider.d.ts +6 -0
- package/dist/hoc/withThemeProvider.js +635 -0
- package/dist/hooks/useDialog/index.d.ts +5 -0
- package/dist/hooks/useDialog/index.js +78 -0
- package/dist/hooks/useDialog/types.d.ts +14 -0
- package/dist/hooks/useDialog/types.js +1 -0
- package/dist/hooks/useSnackBar.d.ts +14 -0
- package/dist/hooks/useSnackBar.js +968 -0
- package/dist/index-CAoLi5Qq.js +827 -0
- package/dist/index-Cq3eHOnB.js +22 -0
- package/dist/index-DKTkUdik.js +6 -0
- package/dist/index-iAyNk1r6.js +72 -0
- package/dist/main.d.ts +7 -0
- package/dist/main.js +16 -0
- package/dist/pin-empty-D9665KFr.js +6 -0
- package/dist/react-redux-VW99uJjf.js +5908 -0
- package/dist/react-webcam-Cov1TP0q.js +639 -0
- package/dist/styled-Da6GnxEE.js +5 -0
- package/dist/styles.module-Ctfaq7f2.js +10 -0
- package/dist/styles.module-KeND8lCR.js +9 -0
- package/dist/tokenRow-Cdd_jFjp.js +206 -0
- package/dist/useFormControl-Bo6Tf_xo.js +46 -0
- package/dist/useSlot-CURNJ3JC.js +306 -0
- package/dist/useTheme-DWRMvRU8.js +9 -0
- package/dist/useTheme-nlj1B_-c.js +11 -0
- package/dist/useThemeProps-BqWuFW3z.js +40 -0
- package/dist/useThemeWithoutDefault-BdYkMk0o.js +12 -0
- package/dist/useTimeout-lr7ryrda.js +75 -0
- package/dist/util/constants.d.ts +20 -0
- package/dist/util/constants.js +23 -0
- package/dist/util/conversions.d.ts +9 -0
- package/dist/util/conversions.js +22284 -0
- package/dist/util/functions.d.ts +15 -0
- package/dist/util/functions.js +94 -0
- package/dist/utils-_FXWkn40.js +19473 -0
- package/dist/wallet-DN7ej6mj.js +273 -0
- package/package.json +59 -0
|
@@ -0,0 +1,501 @@
|
|
|
1
|
+
import * as d from "react";
|
|
2
|
+
import { g as D, e as l, P as e } from "./createTheme-NrBCWesw.js";
|
|
3
|
+
import { g as k, s as u, m as B, u as $, a as b, b as N } from "./createSimplePaletteValueFilter-CsgjlRAs.js";
|
|
4
|
+
import { u as q } from "./useTheme-nlj1B_-c.js";
|
|
5
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
6
|
+
import { B as G, M as J, u as Q, F as Z } from "./Modal-0q_y4zbS.js";
|
|
7
|
+
import { P as O } from "./useSlot-CURNJ3JC.js";
|
|
8
|
+
function ee(r) {
|
|
9
|
+
return D("MuiDialog", r);
|
|
10
|
+
}
|
|
11
|
+
const C = k("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "paper", "paperScrollPaper", "paperScrollBody", "paperWidthFalse", "paperWidthXs", "paperWidthSm", "paperWidthMd", "paperWidthLg", "paperWidthXl", "paperFullWidth", "paperFullScreen"]), R = /* @__PURE__ */ d.createContext({});
|
|
12
|
+
process.env.NODE_ENV !== "production" && (R.displayName = "DialogContext");
|
|
13
|
+
const oe = u(G, {
|
|
14
|
+
name: "MuiDialog",
|
|
15
|
+
slot: "Backdrop",
|
|
16
|
+
overrides: (r, o) => o.backdrop
|
|
17
|
+
})({
|
|
18
|
+
// Improve scrollable dialog support.
|
|
19
|
+
zIndex: -1
|
|
20
|
+
}), re = (r) => {
|
|
21
|
+
const {
|
|
22
|
+
classes: o,
|
|
23
|
+
scroll: a,
|
|
24
|
+
maxWidth: t,
|
|
25
|
+
fullWidth: i,
|
|
26
|
+
fullScreen: p
|
|
27
|
+
} = r, c = {
|
|
28
|
+
root: ["root"],
|
|
29
|
+
container: ["container", `scroll${l(a)}`],
|
|
30
|
+
paper: ["paper", `paperScroll${l(a)}`, `paperWidth${l(String(t))}`, i && "paperFullWidth", p && "paperFullScreen"]
|
|
31
|
+
};
|
|
32
|
+
return N(c, ee, o);
|
|
33
|
+
}, ae = u(J, {
|
|
34
|
+
name: "MuiDialog",
|
|
35
|
+
slot: "Root",
|
|
36
|
+
overridesResolver: (r, o) => o.root
|
|
37
|
+
})({
|
|
38
|
+
"@media print": {
|
|
39
|
+
// Use !important to override the Modal inline-style.
|
|
40
|
+
position: "absolute !important"
|
|
41
|
+
}
|
|
42
|
+
}), te = u("div", {
|
|
43
|
+
name: "MuiDialog",
|
|
44
|
+
slot: "Container",
|
|
45
|
+
overridesResolver: (r, o) => {
|
|
46
|
+
const {
|
|
47
|
+
ownerState: a
|
|
48
|
+
} = r;
|
|
49
|
+
return [o.container, o[`scroll${l(a.scroll)}`]];
|
|
50
|
+
}
|
|
51
|
+
})({
|
|
52
|
+
height: "100%",
|
|
53
|
+
"@media print": {
|
|
54
|
+
height: "auto"
|
|
55
|
+
},
|
|
56
|
+
// We disable the focus ring for mouse, touch and keyboard users.
|
|
57
|
+
outline: 0,
|
|
58
|
+
variants: [{
|
|
59
|
+
props: {
|
|
60
|
+
scroll: "paper"
|
|
61
|
+
},
|
|
62
|
+
style: {
|
|
63
|
+
display: "flex",
|
|
64
|
+
justifyContent: "center",
|
|
65
|
+
alignItems: "center"
|
|
66
|
+
}
|
|
67
|
+
}, {
|
|
68
|
+
props: {
|
|
69
|
+
scroll: "body"
|
|
70
|
+
},
|
|
71
|
+
style: {
|
|
72
|
+
overflowY: "auto",
|
|
73
|
+
overflowX: "hidden",
|
|
74
|
+
textAlign: "center",
|
|
75
|
+
"&::after": {
|
|
76
|
+
content: '""',
|
|
77
|
+
display: "inline-block",
|
|
78
|
+
verticalAlign: "middle",
|
|
79
|
+
height: "100%",
|
|
80
|
+
width: "0"
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}]
|
|
84
|
+
}), ie = u(O, {
|
|
85
|
+
name: "MuiDialog",
|
|
86
|
+
slot: "Paper",
|
|
87
|
+
overridesResolver: (r, o) => {
|
|
88
|
+
const {
|
|
89
|
+
ownerState: a
|
|
90
|
+
} = r;
|
|
91
|
+
return [o.paper, o[`scrollPaper${l(a.scroll)}`], o[`paperWidth${l(String(a.maxWidth))}`], a.fullWidth && o.paperFullWidth, a.fullScreen && o.paperFullScreen];
|
|
92
|
+
}
|
|
93
|
+
})(B(({
|
|
94
|
+
theme: r
|
|
95
|
+
}) => ({
|
|
96
|
+
margin: 32,
|
|
97
|
+
position: "relative",
|
|
98
|
+
overflowY: "auto",
|
|
99
|
+
"@media print": {
|
|
100
|
+
overflowY: "visible",
|
|
101
|
+
boxShadow: "none"
|
|
102
|
+
},
|
|
103
|
+
variants: [{
|
|
104
|
+
props: {
|
|
105
|
+
scroll: "paper"
|
|
106
|
+
},
|
|
107
|
+
style: {
|
|
108
|
+
display: "flex",
|
|
109
|
+
flexDirection: "column",
|
|
110
|
+
maxHeight: "calc(100% - 64px)"
|
|
111
|
+
}
|
|
112
|
+
}, {
|
|
113
|
+
props: {
|
|
114
|
+
scroll: "body"
|
|
115
|
+
},
|
|
116
|
+
style: {
|
|
117
|
+
display: "inline-block",
|
|
118
|
+
verticalAlign: "middle",
|
|
119
|
+
textAlign: "initial"
|
|
120
|
+
}
|
|
121
|
+
}, {
|
|
122
|
+
props: ({
|
|
123
|
+
ownerState: o
|
|
124
|
+
}) => !o.maxWidth,
|
|
125
|
+
style: {
|
|
126
|
+
maxWidth: "calc(100% - 64px)"
|
|
127
|
+
}
|
|
128
|
+
}, {
|
|
129
|
+
props: {
|
|
130
|
+
maxWidth: "xs"
|
|
131
|
+
},
|
|
132
|
+
style: {
|
|
133
|
+
maxWidth: r.breakpoints.unit === "px" ? Math.max(r.breakpoints.values.xs, 444) : `max(${r.breakpoints.values.xs}${r.breakpoints.unit}, 444px)`,
|
|
134
|
+
[`&.${C.paperScrollBody}`]: {
|
|
135
|
+
[r.breakpoints.down(Math.max(r.breakpoints.values.xs, 444) + 32 * 2)]: {
|
|
136
|
+
maxWidth: "calc(100% - 64px)"
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}, ...Object.keys(r.breakpoints.values).filter((o) => o !== "xs").map((o) => ({
|
|
141
|
+
props: {
|
|
142
|
+
maxWidth: o
|
|
143
|
+
},
|
|
144
|
+
style: {
|
|
145
|
+
maxWidth: `${r.breakpoints.values[o]}${r.breakpoints.unit}`,
|
|
146
|
+
[`&.${C.paperScrollBody}`]: {
|
|
147
|
+
[r.breakpoints.down(r.breakpoints.values[o] + 32 * 2)]: {
|
|
148
|
+
maxWidth: "calc(100% - 64px)"
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
})), {
|
|
153
|
+
props: ({
|
|
154
|
+
ownerState: o
|
|
155
|
+
}) => o.fullWidth,
|
|
156
|
+
style: {
|
|
157
|
+
width: "calc(100% - 64px)"
|
|
158
|
+
}
|
|
159
|
+
}, {
|
|
160
|
+
props: ({
|
|
161
|
+
ownerState: o
|
|
162
|
+
}) => o.fullScreen,
|
|
163
|
+
style: {
|
|
164
|
+
margin: 0,
|
|
165
|
+
width: "100%",
|
|
166
|
+
maxWidth: "100%",
|
|
167
|
+
height: "100%",
|
|
168
|
+
maxHeight: "none",
|
|
169
|
+
borderRadius: 0,
|
|
170
|
+
[`&.${C.paperScrollBody}`]: {
|
|
171
|
+
margin: 0,
|
|
172
|
+
maxWidth: "100%"
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}]
|
|
176
|
+
}))), se = /* @__PURE__ */ d.forwardRef(function(o, a) {
|
|
177
|
+
const t = $({
|
|
178
|
+
props: o,
|
|
179
|
+
name: "MuiDialog"
|
|
180
|
+
}), i = q(), p = {
|
|
181
|
+
enter: i.transitions.duration.enteringScreen,
|
|
182
|
+
exit: i.transitions.duration.leavingScreen
|
|
183
|
+
}, {
|
|
184
|
+
"aria-describedby": c,
|
|
185
|
+
"aria-labelledby": m,
|
|
186
|
+
BackdropComponent: g,
|
|
187
|
+
BackdropProps: j,
|
|
188
|
+
children: E,
|
|
189
|
+
className: F,
|
|
190
|
+
disableEscapeKeyDown: S = !1,
|
|
191
|
+
fullScreen: U = !1,
|
|
192
|
+
fullWidth: A = !1,
|
|
193
|
+
maxWidth: I = "sm",
|
|
194
|
+
onBackdropClick: w,
|
|
195
|
+
onClick: W,
|
|
196
|
+
onClose: x,
|
|
197
|
+
open: T,
|
|
198
|
+
PaperComponent: V = O,
|
|
199
|
+
PaperProps: P = {},
|
|
200
|
+
scroll: Y = "paper",
|
|
201
|
+
TransitionComponent: K = Z,
|
|
202
|
+
transitionDuration: M = p,
|
|
203
|
+
TransitionProps: L,
|
|
204
|
+
...X
|
|
205
|
+
} = t, f = {
|
|
206
|
+
...t,
|
|
207
|
+
disableEscapeKeyDown: S,
|
|
208
|
+
fullScreen: U,
|
|
209
|
+
fullWidth: A,
|
|
210
|
+
maxWidth: I,
|
|
211
|
+
scroll: Y
|
|
212
|
+
}, y = re(f), v = d.useRef(), _ = (s) => {
|
|
213
|
+
v.current = s.target === s.currentTarget;
|
|
214
|
+
}, z = (s) => {
|
|
215
|
+
W && W(s), v.current && (v.current = null, w && w(s), x && x(s, "backdropClick"));
|
|
216
|
+
}, h = Q(m), H = d.useMemo(() => ({
|
|
217
|
+
titleId: h
|
|
218
|
+
}), [h]);
|
|
219
|
+
return /* @__PURE__ */ n(ae, {
|
|
220
|
+
className: b(y.root, F),
|
|
221
|
+
closeAfterTransition: !0,
|
|
222
|
+
components: {
|
|
223
|
+
Backdrop: oe
|
|
224
|
+
},
|
|
225
|
+
componentsProps: {
|
|
226
|
+
backdrop: {
|
|
227
|
+
transitionDuration: M,
|
|
228
|
+
as: g,
|
|
229
|
+
...j
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
disableEscapeKeyDown: S,
|
|
233
|
+
onClose: x,
|
|
234
|
+
open: T,
|
|
235
|
+
ref: a,
|
|
236
|
+
onClick: z,
|
|
237
|
+
ownerState: f,
|
|
238
|
+
...X,
|
|
239
|
+
children: /* @__PURE__ */ n(K, {
|
|
240
|
+
appear: !0,
|
|
241
|
+
in: T,
|
|
242
|
+
timeout: M,
|
|
243
|
+
role: "presentation",
|
|
244
|
+
...L,
|
|
245
|
+
children: /* @__PURE__ */ n(te, {
|
|
246
|
+
className: b(y.container),
|
|
247
|
+
onMouseDown: _,
|
|
248
|
+
ownerState: f,
|
|
249
|
+
children: /* @__PURE__ */ n(ie, {
|
|
250
|
+
as: V,
|
|
251
|
+
elevation: 24,
|
|
252
|
+
role: "dialog",
|
|
253
|
+
"aria-describedby": c,
|
|
254
|
+
"aria-labelledby": h,
|
|
255
|
+
...P,
|
|
256
|
+
className: b(y.paper, P.className),
|
|
257
|
+
ownerState: f,
|
|
258
|
+
children: /* @__PURE__ */ n(R.Provider, {
|
|
259
|
+
value: H,
|
|
260
|
+
children: E
|
|
261
|
+
})
|
|
262
|
+
})
|
|
263
|
+
})
|
|
264
|
+
})
|
|
265
|
+
});
|
|
266
|
+
});
|
|
267
|
+
process.env.NODE_ENV !== "production" && (se.propTypes = {
|
|
268
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
269
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
270
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
271
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
272
|
+
/**
|
|
273
|
+
* The id(s) of the element(s) that describe the dialog.
|
|
274
|
+
*/
|
|
275
|
+
"aria-describedby": e.string,
|
|
276
|
+
/**
|
|
277
|
+
* The id(s) of the element(s) that label the dialog.
|
|
278
|
+
*/
|
|
279
|
+
"aria-labelledby": e.string,
|
|
280
|
+
/**
|
|
281
|
+
* A backdrop component. This prop enables custom backdrop rendering.
|
|
282
|
+
* @deprecated Use `slots.backdrop` instead. While this prop currently works, it will be removed in the next major version.
|
|
283
|
+
* Use the `slots.backdrop` prop to make your application ready for the next version of Material UI.
|
|
284
|
+
* @default styled(Backdrop, {
|
|
285
|
+
* name: 'MuiModal',
|
|
286
|
+
* slot: 'Backdrop',
|
|
287
|
+
* overridesResolver: (props, styles) => {
|
|
288
|
+
* return styles.backdrop;
|
|
289
|
+
* },
|
|
290
|
+
* })({
|
|
291
|
+
* zIndex: -1,
|
|
292
|
+
* })
|
|
293
|
+
*/
|
|
294
|
+
BackdropComponent: e.elementType,
|
|
295
|
+
/**
|
|
296
|
+
* @ignore
|
|
297
|
+
*/
|
|
298
|
+
BackdropProps: e.object,
|
|
299
|
+
/**
|
|
300
|
+
* Dialog children, usually the included sub-components.
|
|
301
|
+
*/
|
|
302
|
+
children: e.node,
|
|
303
|
+
/**
|
|
304
|
+
* Override or extend the styles applied to the component.
|
|
305
|
+
*/
|
|
306
|
+
classes: e.object,
|
|
307
|
+
/**
|
|
308
|
+
* @ignore
|
|
309
|
+
*/
|
|
310
|
+
className: e.string,
|
|
311
|
+
/**
|
|
312
|
+
* If `true`, hitting escape will not fire the `onClose` callback.
|
|
313
|
+
* @default false
|
|
314
|
+
*/
|
|
315
|
+
disableEscapeKeyDown: e.bool,
|
|
316
|
+
/**
|
|
317
|
+
* If `true`, the dialog is full-screen.
|
|
318
|
+
* @default false
|
|
319
|
+
*/
|
|
320
|
+
fullScreen: e.bool,
|
|
321
|
+
/**
|
|
322
|
+
* If `true`, the dialog stretches to `maxWidth`.
|
|
323
|
+
*
|
|
324
|
+
* Notice that the dialog width grow is limited by the default margin.
|
|
325
|
+
* @default false
|
|
326
|
+
*/
|
|
327
|
+
fullWidth: e.bool,
|
|
328
|
+
/**
|
|
329
|
+
* Determine the max-width of the dialog.
|
|
330
|
+
* The dialog width grows with the size of the screen.
|
|
331
|
+
* Set to `false` to disable `maxWidth`.
|
|
332
|
+
* @default 'sm'
|
|
333
|
+
*/
|
|
334
|
+
maxWidth: e.oneOfType([e.oneOf(["xs", "sm", "md", "lg", "xl", !1]), e.string]),
|
|
335
|
+
/**
|
|
336
|
+
* Callback fired when the backdrop is clicked.
|
|
337
|
+
* @deprecated Use the `onClose` prop with the `reason` argument to handle the `backdropClick` events.
|
|
338
|
+
*/
|
|
339
|
+
onBackdropClick: e.func,
|
|
340
|
+
/**
|
|
341
|
+
* @ignore
|
|
342
|
+
*/
|
|
343
|
+
onClick: e.func,
|
|
344
|
+
/**
|
|
345
|
+
* Callback fired when the component requests to be closed.
|
|
346
|
+
*
|
|
347
|
+
* @param {object} event The event source of the callback.
|
|
348
|
+
* @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`.
|
|
349
|
+
*/
|
|
350
|
+
onClose: e.func,
|
|
351
|
+
/**
|
|
352
|
+
* If `true`, the component is shown.
|
|
353
|
+
*/
|
|
354
|
+
open: e.bool.isRequired,
|
|
355
|
+
/**
|
|
356
|
+
* The component used to render the body of the dialog.
|
|
357
|
+
* @default Paper
|
|
358
|
+
*/
|
|
359
|
+
PaperComponent: e.elementType,
|
|
360
|
+
/**
|
|
361
|
+
* Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
|
|
362
|
+
* @default {}
|
|
363
|
+
*/
|
|
364
|
+
PaperProps: e.object,
|
|
365
|
+
/**
|
|
366
|
+
* Determine the container for scrolling the dialog.
|
|
367
|
+
* @default 'paper'
|
|
368
|
+
*/
|
|
369
|
+
scroll: e.oneOf(["body", "paper"]),
|
|
370
|
+
/**
|
|
371
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
372
|
+
*/
|
|
373
|
+
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
|
|
374
|
+
/**
|
|
375
|
+
* The component used for the transition.
|
|
376
|
+
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
377
|
+
* @default Fade
|
|
378
|
+
*/
|
|
379
|
+
TransitionComponent: e.elementType,
|
|
380
|
+
/**
|
|
381
|
+
* The duration for the transition, in milliseconds.
|
|
382
|
+
* You may specify a single timeout for all transitions, or individually with an object.
|
|
383
|
+
* @default {
|
|
384
|
+
* enter: theme.transitions.duration.enteringScreen,
|
|
385
|
+
* exit: theme.transitions.duration.leavingScreen,
|
|
386
|
+
* }
|
|
387
|
+
*/
|
|
388
|
+
transitionDuration: e.oneOfType([e.number, e.shape({
|
|
389
|
+
appear: e.number,
|
|
390
|
+
enter: e.number,
|
|
391
|
+
exit: e.number
|
|
392
|
+
})]),
|
|
393
|
+
/**
|
|
394
|
+
* Props applied to the transition element.
|
|
395
|
+
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
396
|
+
*/
|
|
397
|
+
TransitionProps: e.object
|
|
398
|
+
});
|
|
399
|
+
function ne(r) {
|
|
400
|
+
return D("MuiDialogContent", r);
|
|
401
|
+
}
|
|
402
|
+
k("MuiDialogContent", ["root", "dividers"]);
|
|
403
|
+
function ye(r) {
|
|
404
|
+
return D("MuiDialogTitle", r);
|
|
405
|
+
}
|
|
406
|
+
const le = k("MuiDialogTitle", ["root"]), pe = (r) => {
|
|
407
|
+
const {
|
|
408
|
+
classes: o,
|
|
409
|
+
dividers: a
|
|
410
|
+
} = r;
|
|
411
|
+
return N({
|
|
412
|
+
root: ["root", a && "dividers"]
|
|
413
|
+
}, ne, o);
|
|
414
|
+
}, ce = u("div", {
|
|
415
|
+
name: "MuiDialogContent",
|
|
416
|
+
slot: "Root",
|
|
417
|
+
overridesResolver: (r, o) => {
|
|
418
|
+
const {
|
|
419
|
+
ownerState: a
|
|
420
|
+
} = r;
|
|
421
|
+
return [o.root, a.dividers && o.dividers];
|
|
422
|
+
}
|
|
423
|
+
})(B(({
|
|
424
|
+
theme: r
|
|
425
|
+
}) => ({
|
|
426
|
+
flex: "1 1 auto",
|
|
427
|
+
// Add iOS momentum scrolling for iOS < 13.0
|
|
428
|
+
WebkitOverflowScrolling: "touch",
|
|
429
|
+
overflowY: "auto",
|
|
430
|
+
padding: "20px 24px",
|
|
431
|
+
variants: [{
|
|
432
|
+
props: ({
|
|
433
|
+
ownerState: o
|
|
434
|
+
}) => o.dividers,
|
|
435
|
+
style: {
|
|
436
|
+
padding: "16px 24px",
|
|
437
|
+
borderTop: `1px solid ${(r.vars || r).palette.divider}`,
|
|
438
|
+
borderBottom: `1px solid ${(r.vars || r).palette.divider}`
|
|
439
|
+
}
|
|
440
|
+
}, {
|
|
441
|
+
props: ({
|
|
442
|
+
ownerState: o
|
|
443
|
+
}) => !o.dividers,
|
|
444
|
+
style: {
|
|
445
|
+
[`.${le.root} + &`]: {
|
|
446
|
+
paddingTop: 0
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
}]
|
|
450
|
+
}))), de = /* @__PURE__ */ d.forwardRef(function(o, a) {
|
|
451
|
+
const t = $({
|
|
452
|
+
props: o,
|
|
453
|
+
name: "MuiDialogContent"
|
|
454
|
+
}), {
|
|
455
|
+
className: i,
|
|
456
|
+
dividers: p = !1,
|
|
457
|
+
...c
|
|
458
|
+
} = t, m = {
|
|
459
|
+
...t,
|
|
460
|
+
dividers: p
|
|
461
|
+
}, g = pe(m);
|
|
462
|
+
return /* @__PURE__ */ n(ce, {
|
|
463
|
+
className: b(g.root, i),
|
|
464
|
+
ownerState: m,
|
|
465
|
+
ref: a,
|
|
466
|
+
...c
|
|
467
|
+
});
|
|
468
|
+
});
|
|
469
|
+
process.env.NODE_ENV !== "production" && (de.propTypes = {
|
|
470
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
471
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
472
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
473
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
474
|
+
/**
|
|
475
|
+
* The content of the component.
|
|
476
|
+
*/
|
|
477
|
+
children: e.node,
|
|
478
|
+
/**
|
|
479
|
+
* Override or extend the styles applied to the component.
|
|
480
|
+
*/
|
|
481
|
+
classes: e.object,
|
|
482
|
+
/**
|
|
483
|
+
* @ignore
|
|
484
|
+
*/
|
|
485
|
+
className: e.string,
|
|
486
|
+
/**
|
|
487
|
+
* Display the top and bottom dividers.
|
|
488
|
+
* @default false
|
|
489
|
+
*/
|
|
490
|
+
dividers: e.bool,
|
|
491
|
+
/**
|
|
492
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
493
|
+
*/
|
|
494
|
+
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
495
|
+
});
|
|
496
|
+
export {
|
|
497
|
+
se as D,
|
|
498
|
+
de as a,
|
|
499
|
+
R as b,
|
|
500
|
+
ye as g
|
|
501
|
+
};
|