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,249 @@
|
|
|
1
|
+
import * as O from "react";
|
|
2
|
+
import { g as T, e as c, P as r } from "./createTheme-NrBCWesw.js";
|
|
3
|
+
import { g as R, s as g, m as P, d as N, u as j, a as U, b as E } from "./createSimplePaletteValueFilter-CsgjlRAs.js";
|
|
4
|
+
import { jsx as h } from "react/jsx-runtime";
|
|
5
|
+
import { k as x, c as w } from "./DefaultPropsProvider-Y8MI-J-I.js";
|
|
6
|
+
import { c as I } from "./TransitionGroupContext-VwpFXTPO.js";
|
|
7
|
+
function z(e) {
|
|
8
|
+
return T("MuiCircularProgress", e);
|
|
9
|
+
}
|
|
10
|
+
R("MuiCircularProgress", ["root", "determinate", "indeterminate", "colorPrimary", "colorSecondary", "svg", "circle", "circleDeterminate", "circleIndeterminate", "circleDisableShrink"]);
|
|
11
|
+
const a = 44, y = x`
|
|
12
|
+
0% {
|
|
13
|
+
transform: rotate(0deg);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
100% {
|
|
17
|
+
transform: rotate(360deg);
|
|
18
|
+
}
|
|
19
|
+
`, v = x`
|
|
20
|
+
0% {
|
|
21
|
+
stroke-dasharray: 1px, 200px;
|
|
22
|
+
stroke-dashoffset: 0;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
50% {
|
|
26
|
+
stroke-dasharray: 100px, 200px;
|
|
27
|
+
stroke-dashoffset: -15px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
100% {
|
|
31
|
+
stroke-dasharray: 100px, 200px;
|
|
32
|
+
stroke-dashoffset: -125px;
|
|
33
|
+
}
|
|
34
|
+
`, F = typeof y != "string" ? w`
|
|
35
|
+
animation: ${y} 1.4s linear infinite;
|
|
36
|
+
` : null, V = typeof v != "string" ? w`
|
|
37
|
+
animation: ${v} 1.4s ease-in-out infinite;
|
|
38
|
+
` : null, A = (e) => {
|
|
39
|
+
const {
|
|
40
|
+
classes: s,
|
|
41
|
+
variant: t,
|
|
42
|
+
color: o,
|
|
43
|
+
disableShrink: l
|
|
44
|
+
} = e, p = {
|
|
45
|
+
root: ["root", t, `color${c(o)}`],
|
|
46
|
+
svg: ["svg"],
|
|
47
|
+
circle: ["circle", `circle${c(t)}`, l && "circleDisableShrink"]
|
|
48
|
+
};
|
|
49
|
+
return E(p, z, s);
|
|
50
|
+
}, K = g("span", {
|
|
51
|
+
name: "MuiCircularProgress",
|
|
52
|
+
slot: "Root",
|
|
53
|
+
overridesResolver: (e, s) => {
|
|
54
|
+
const {
|
|
55
|
+
ownerState: t
|
|
56
|
+
} = e;
|
|
57
|
+
return [s.root, s[t.variant], s[`color${c(t.color)}`]];
|
|
58
|
+
}
|
|
59
|
+
})(P(({
|
|
60
|
+
theme: e
|
|
61
|
+
}) => ({
|
|
62
|
+
display: "inline-block",
|
|
63
|
+
variants: [{
|
|
64
|
+
props: {
|
|
65
|
+
variant: "determinate"
|
|
66
|
+
},
|
|
67
|
+
style: {
|
|
68
|
+
transition: e.transitions.create("transform")
|
|
69
|
+
}
|
|
70
|
+
}, {
|
|
71
|
+
props: {
|
|
72
|
+
variant: "indeterminate"
|
|
73
|
+
},
|
|
74
|
+
style: F || {
|
|
75
|
+
animation: `${y} 1.4s linear infinite`
|
|
76
|
+
}
|
|
77
|
+
}, ...Object.entries(e.palette).filter(N()).map(([s]) => ({
|
|
78
|
+
props: {
|
|
79
|
+
color: s
|
|
80
|
+
},
|
|
81
|
+
style: {
|
|
82
|
+
color: (e.vars || e).palette[s].main
|
|
83
|
+
}
|
|
84
|
+
}))]
|
|
85
|
+
}))), B = g("svg", {
|
|
86
|
+
name: "MuiCircularProgress",
|
|
87
|
+
slot: "Svg",
|
|
88
|
+
overridesResolver: (e, s) => s.svg
|
|
89
|
+
})({
|
|
90
|
+
display: "block"
|
|
91
|
+
// Keeps the progress centered
|
|
92
|
+
}), G = g("circle", {
|
|
93
|
+
name: "MuiCircularProgress",
|
|
94
|
+
slot: "Circle",
|
|
95
|
+
overridesResolver: (e, s) => {
|
|
96
|
+
const {
|
|
97
|
+
ownerState: t
|
|
98
|
+
} = e;
|
|
99
|
+
return [s.circle, s[`circle${c(t.variant)}`], t.disableShrink && s.circleDisableShrink];
|
|
100
|
+
}
|
|
101
|
+
})(P(({
|
|
102
|
+
theme: e
|
|
103
|
+
}) => ({
|
|
104
|
+
stroke: "currentColor",
|
|
105
|
+
variants: [{
|
|
106
|
+
props: {
|
|
107
|
+
variant: "determinate"
|
|
108
|
+
},
|
|
109
|
+
style: {
|
|
110
|
+
transition: e.transitions.create("stroke-dashoffset")
|
|
111
|
+
}
|
|
112
|
+
}, {
|
|
113
|
+
props: {
|
|
114
|
+
variant: "indeterminate"
|
|
115
|
+
},
|
|
116
|
+
style: {
|
|
117
|
+
// Some default value that looks fine waiting for the animation to kicks in.
|
|
118
|
+
strokeDasharray: "80px, 200px",
|
|
119
|
+
strokeDashoffset: 0
|
|
120
|
+
// Add the unit to fix a Edge 16 and below bug.
|
|
121
|
+
}
|
|
122
|
+
}, {
|
|
123
|
+
props: ({
|
|
124
|
+
ownerState: s
|
|
125
|
+
}) => s.variant === "indeterminate" && !s.disableShrink,
|
|
126
|
+
style: V || {
|
|
127
|
+
// At runtime for Pigment CSS, `bufferAnimation` will be null and the generated keyframe will be used.
|
|
128
|
+
animation: `${v} 1.4s ease-in-out infinite`
|
|
129
|
+
}
|
|
130
|
+
}]
|
|
131
|
+
}))), W = /* @__PURE__ */ O.forwardRef(function(s, t) {
|
|
132
|
+
const o = j({
|
|
133
|
+
props: s,
|
|
134
|
+
name: "MuiCircularProgress"
|
|
135
|
+
}), {
|
|
136
|
+
className: l,
|
|
137
|
+
color: p = "primary",
|
|
138
|
+
disableShrink: $ = !1,
|
|
139
|
+
size: m = 40,
|
|
140
|
+
style: D,
|
|
141
|
+
thickness: i = 3.6,
|
|
142
|
+
value: f = 0,
|
|
143
|
+
variant: k = "indeterminate",
|
|
144
|
+
...M
|
|
145
|
+
} = o, n = {
|
|
146
|
+
...o,
|
|
147
|
+
color: p,
|
|
148
|
+
disableShrink: $,
|
|
149
|
+
size: m,
|
|
150
|
+
thickness: i,
|
|
151
|
+
value: f,
|
|
152
|
+
variant: k
|
|
153
|
+
}, d = A(n), u = {}, b = {}, S = {};
|
|
154
|
+
if (k === "determinate") {
|
|
155
|
+
const C = 2 * Math.PI * ((a - i) / 2);
|
|
156
|
+
u.strokeDasharray = C.toFixed(3), S["aria-valuenow"] = Math.round(f), u.strokeDashoffset = `${((100 - f) / 100 * C).toFixed(3)}px`, b.transform = "rotate(-90deg)";
|
|
157
|
+
}
|
|
158
|
+
return /* @__PURE__ */ h(K, {
|
|
159
|
+
className: U(d.root, l),
|
|
160
|
+
style: {
|
|
161
|
+
width: m,
|
|
162
|
+
height: m,
|
|
163
|
+
...b,
|
|
164
|
+
...D
|
|
165
|
+
},
|
|
166
|
+
ownerState: n,
|
|
167
|
+
ref: t,
|
|
168
|
+
role: "progressbar",
|
|
169
|
+
...S,
|
|
170
|
+
...M,
|
|
171
|
+
children: /* @__PURE__ */ h(B, {
|
|
172
|
+
className: d.svg,
|
|
173
|
+
ownerState: n,
|
|
174
|
+
viewBox: `${a / 2} ${a / 2} ${a} ${a}`,
|
|
175
|
+
children: /* @__PURE__ */ h(G, {
|
|
176
|
+
className: d.circle,
|
|
177
|
+
style: u,
|
|
178
|
+
ownerState: n,
|
|
179
|
+
cx: a,
|
|
180
|
+
cy: a,
|
|
181
|
+
r: (a - i) / 2,
|
|
182
|
+
fill: "none",
|
|
183
|
+
strokeWidth: i
|
|
184
|
+
})
|
|
185
|
+
})
|
|
186
|
+
});
|
|
187
|
+
});
|
|
188
|
+
process.env.NODE_ENV !== "production" && (W.propTypes = {
|
|
189
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
190
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
191
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
192
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
193
|
+
/**
|
|
194
|
+
* Override or extend the styles applied to the component.
|
|
195
|
+
*/
|
|
196
|
+
classes: r.object,
|
|
197
|
+
/**
|
|
198
|
+
* @ignore
|
|
199
|
+
*/
|
|
200
|
+
className: r.string,
|
|
201
|
+
/**
|
|
202
|
+
* The color of the component.
|
|
203
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
204
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
205
|
+
* @default 'primary'
|
|
206
|
+
*/
|
|
207
|
+
color: r.oneOfType([r.oneOf(["inherit", "primary", "secondary", "error", "info", "success", "warning"]), r.string]),
|
|
208
|
+
/**
|
|
209
|
+
* If `true`, the shrink animation is disabled.
|
|
210
|
+
* This only works if variant is `indeterminate`.
|
|
211
|
+
* @default false
|
|
212
|
+
*/
|
|
213
|
+
disableShrink: I(r.bool, (e) => e.disableShrink && e.variant && e.variant !== "indeterminate" ? new Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect.") : null),
|
|
214
|
+
/**
|
|
215
|
+
* The size of the component.
|
|
216
|
+
* If using a number, the pixel unit is assumed.
|
|
217
|
+
* If using a string, you need to provide the CSS unit, for example '3rem'.
|
|
218
|
+
* @default 40
|
|
219
|
+
*/
|
|
220
|
+
size: r.oneOfType([r.number, r.string]),
|
|
221
|
+
/**
|
|
222
|
+
* @ignore
|
|
223
|
+
*/
|
|
224
|
+
style: r.object,
|
|
225
|
+
/**
|
|
226
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
227
|
+
*/
|
|
228
|
+
sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object]),
|
|
229
|
+
/**
|
|
230
|
+
* The thickness of the circle.
|
|
231
|
+
* @default 3.6
|
|
232
|
+
*/
|
|
233
|
+
thickness: r.number,
|
|
234
|
+
/**
|
|
235
|
+
* The value of the progress indicator for the determinate variant.
|
|
236
|
+
* Value between 0 and 100.
|
|
237
|
+
* @default 0
|
|
238
|
+
*/
|
|
239
|
+
value: r.number,
|
|
240
|
+
/**
|
|
241
|
+
* The variant to use.
|
|
242
|
+
* Use indeterminate when there is no progress value.
|
|
243
|
+
* @default 'indeterminate'
|
|
244
|
+
*/
|
|
245
|
+
variant: r.oneOf(["determinate", "indeterminate"])
|
|
246
|
+
});
|
|
247
|
+
export {
|
|
248
|
+
W as C
|
|
249
|
+
};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import * as l from "react";
|
|
2
|
+
import { P as o } from "./createTheme-NrBCWesw.js";
|
|
3
|
+
import { s as d, u as g, a as u, b as T } from "./createSimplePaletteValueFilter-CsgjlRAs.js";
|
|
4
|
+
import { b as y, g as D } from "./DialogContent-JgT9A6nk.js";
|
|
5
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
6
|
+
import { T as x } from "./Typography-kyxogyUq.js";
|
|
7
|
+
import { c as C } from "./createSvgIcon-CAZr4ukt.js";
|
|
8
|
+
const b = (t) => {
|
|
9
|
+
const {
|
|
10
|
+
classes: s
|
|
11
|
+
} = t;
|
|
12
|
+
return T({
|
|
13
|
+
root: ["root"]
|
|
14
|
+
}, D, s);
|
|
15
|
+
}, h = d(x, {
|
|
16
|
+
name: "MuiDialogTitle",
|
|
17
|
+
slot: "Root",
|
|
18
|
+
overridesResolver: (t, s) => s.root
|
|
19
|
+
})({
|
|
20
|
+
padding: "16px 24px",
|
|
21
|
+
flex: "0 0 auto"
|
|
22
|
+
}), v = /* @__PURE__ */ l.forwardRef(function(s, e) {
|
|
23
|
+
const r = g({
|
|
24
|
+
props: s,
|
|
25
|
+
name: "MuiDialogTitle"
|
|
26
|
+
}), {
|
|
27
|
+
className: c,
|
|
28
|
+
id: a,
|
|
29
|
+
...p
|
|
30
|
+
} = r, i = r, m = b(i), {
|
|
31
|
+
titleId: f = a
|
|
32
|
+
} = l.useContext(y);
|
|
33
|
+
return /* @__PURE__ */ n(h, {
|
|
34
|
+
component: "h2",
|
|
35
|
+
className: u(m.root, c),
|
|
36
|
+
ownerState: i,
|
|
37
|
+
ref: e,
|
|
38
|
+
variant: "h6",
|
|
39
|
+
id: a ?? f,
|
|
40
|
+
...p
|
|
41
|
+
});
|
|
42
|
+
});
|
|
43
|
+
process.env.NODE_ENV !== "production" && (v.propTypes = {
|
|
44
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
45
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
46
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
47
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
48
|
+
/**
|
|
49
|
+
* The content of the component.
|
|
50
|
+
*/
|
|
51
|
+
children: o.node,
|
|
52
|
+
/**
|
|
53
|
+
* Override or extend the styles applied to the component.
|
|
54
|
+
*/
|
|
55
|
+
classes: o.object,
|
|
56
|
+
/**
|
|
57
|
+
* @ignore
|
|
58
|
+
*/
|
|
59
|
+
className: o.string,
|
|
60
|
+
/**
|
|
61
|
+
* @ignore
|
|
62
|
+
*/
|
|
63
|
+
id: o.string,
|
|
64
|
+
/**
|
|
65
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
66
|
+
*/
|
|
67
|
+
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
|
|
68
|
+
});
|
|
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
|
+
export {
|
|
73
|
+
I as C,
|
|
74
|
+
v as D
|
|
75
|
+
};
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import { P as e, c as T, e as m, g as W } from "./createTheme-NrBCWesw.js";
|
|
2
|
+
import { a as v, b as y, s as O } from "./createSimplePaletteValueFilter-CsgjlRAs.js";
|
|
3
|
+
import { u as k, a as G } from "./useThemeProps-BqWuFW3z.js";
|
|
4
|
+
import * as R from "react";
|
|
5
|
+
import { jsx as $ } from "react/jsx-runtime";
|
|
6
|
+
import { s as j } from "./styled-Da6GnxEE.js";
|
|
7
|
+
const N = T(), P = j("div", {
|
|
8
|
+
name: "MuiContainer",
|
|
9
|
+
slot: "Root",
|
|
10
|
+
overridesResolver: (a, t) => {
|
|
11
|
+
const {
|
|
12
|
+
ownerState: n
|
|
13
|
+
} = a;
|
|
14
|
+
return [t.root, t[`maxWidth${m(String(n.maxWidth))}`], n.fixed && t.fixed, n.disableGutters && t.disableGutters];
|
|
15
|
+
}
|
|
16
|
+
}), S = (a) => k({
|
|
17
|
+
props: a,
|
|
18
|
+
name: "MuiContainer",
|
|
19
|
+
defaultTheme: N
|
|
20
|
+
}), M = (a, t) => {
|
|
21
|
+
const n = (i) => W(t, i), {
|
|
22
|
+
classes: l,
|
|
23
|
+
fixed: u,
|
|
24
|
+
disableGutters: d,
|
|
25
|
+
maxWidth: o
|
|
26
|
+
} = a, s = {
|
|
27
|
+
root: ["root", o && `maxWidth${m(String(o))}`, u && "fixed", d && "disableGutters"]
|
|
28
|
+
};
|
|
29
|
+
return y(s, n, l);
|
|
30
|
+
};
|
|
31
|
+
function E(a = {}) {
|
|
32
|
+
const {
|
|
33
|
+
// This will allow adding custom styled fn (for example for custom sx style function)
|
|
34
|
+
createStyledComponent: t = P,
|
|
35
|
+
useThemeProps: n = S,
|
|
36
|
+
componentName: l = "MuiContainer"
|
|
37
|
+
} = a, u = t(({
|
|
38
|
+
theme: o,
|
|
39
|
+
ownerState: s
|
|
40
|
+
}) => ({
|
|
41
|
+
width: "100%",
|
|
42
|
+
marginLeft: "auto",
|
|
43
|
+
boxSizing: "border-box",
|
|
44
|
+
marginRight: "auto",
|
|
45
|
+
...!s.disableGutters && {
|
|
46
|
+
paddingLeft: o.spacing(2),
|
|
47
|
+
paddingRight: o.spacing(2),
|
|
48
|
+
// @ts-ignore module augmentation fails if custom breakpoints are used
|
|
49
|
+
[o.breakpoints.up("sm")]: {
|
|
50
|
+
paddingLeft: o.spacing(3),
|
|
51
|
+
paddingRight: o.spacing(3)
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}), ({
|
|
55
|
+
theme: o,
|
|
56
|
+
ownerState: s
|
|
57
|
+
}) => s.fixed && Object.keys(o.breakpoints.values).reduce((i, p) => {
|
|
58
|
+
const c = p, r = o.breakpoints.values[c];
|
|
59
|
+
return r !== 0 && (i[o.breakpoints.up(c)] = {
|
|
60
|
+
maxWidth: `${r}${o.breakpoints.unit}`
|
|
61
|
+
}), i;
|
|
62
|
+
}, {}), ({
|
|
63
|
+
theme: o,
|
|
64
|
+
ownerState: s
|
|
65
|
+
}) => ({
|
|
66
|
+
// @ts-ignore module augmentation fails if custom breakpoints are used
|
|
67
|
+
...s.maxWidth === "xs" && {
|
|
68
|
+
// @ts-ignore module augmentation fails if custom breakpoints are used
|
|
69
|
+
[o.breakpoints.up("xs")]: {
|
|
70
|
+
// @ts-ignore module augmentation fails if custom breakpoints are used
|
|
71
|
+
maxWidth: Math.max(o.breakpoints.values.xs, 444)
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
...s.maxWidth && // @ts-ignore module augmentation fails if custom breakpoints are used
|
|
75
|
+
s.maxWidth !== "xs" && {
|
|
76
|
+
// @ts-ignore module augmentation fails if custom breakpoints are used
|
|
77
|
+
[o.breakpoints.up(s.maxWidth)]: {
|
|
78
|
+
// @ts-ignore module augmentation fails if custom breakpoints are used
|
|
79
|
+
maxWidth: `${o.breakpoints.values[s.maxWidth]}${o.breakpoints.unit}`
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
})), d = /* @__PURE__ */ R.forwardRef(function(s, i) {
|
|
83
|
+
const p = n(s), {
|
|
84
|
+
className: c,
|
|
85
|
+
component: r = "div",
|
|
86
|
+
disableGutters: x = !1,
|
|
87
|
+
fixed: b = !1,
|
|
88
|
+
maxWidth: g = "lg",
|
|
89
|
+
classes: L,
|
|
90
|
+
...h
|
|
91
|
+
} = p, f = {
|
|
92
|
+
...p,
|
|
93
|
+
component: r,
|
|
94
|
+
disableGutters: x,
|
|
95
|
+
fixed: b,
|
|
96
|
+
maxWidth: g
|
|
97
|
+
}, C = M(f, l);
|
|
98
|
+
return (
|
|
99
|
+
// @ts-ignore theme is injected by the styled util
|
|
100
|
+
/* @__PURE__ */ $(u, {
|
|
101
|
+
as: r,
|
|
102
|
+
ownerState: f,
|
|
103
|
+
className: v(C.root, c),
|
|
104
|
+
ref: i,
|
|
105
|
+
...h
|
|
106
|
+
})
|
|
107
|
+
);
|
|
108
|
+
});
|
|
109
|
+
return process.env.NODE_ENV !== "production" && (d.propTypes = {
|
|
110
|
+
children: e.node,
|
|
111
|
+
classes: e.object,
|
|
112
|
+
className: e.string,
|
|
113
|
+
component: e.elementType,
|
|
114
|
+
disableGutters: e.bool,
|
|
115
|
+
fixed: e.bool,
|
|
116
|
+
maxWidth: e.oneOfType([e.oneOf(["xs", "sm", "md", "lg", "xl", !1]), e.string]),
|
|
117
|
+
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
118
|
+
}), d;
|
|
119
|
+
}
|
|
120
|
+
const D = E({
|
|
121
|
+
createStyledComponent: O("div", {
|
|
122
|
+
name: "MuiContainer",
|
|
123
|
+
slot: "Root",
|
|
124
|
+
overridesResolver: (a, t) => {
|
|
125
|
+
const {
|
|
126
|
+
ownerState: n
|
|
127
|
+
} = a;
|
|
128
|
+
return [t.root, t[`maxWidth${m(String(n.maxWidth))}`], n.fixed && t.fixed, n.disableGutters && t.disableGutters];
|
|
129
|
+
}
|
|
130
|
+
}),
|
|
131
|
+
useThemeProps: (a) => G({
|
|
132
|
+
props: a,
|
|
133
|
+
name: "MuiContainer"
|
|
134
|
+
})
|
|
135
|
+
});
|
|
136
|
+
process.env.NODE_ENV !== "production" && (D.propTypes = {
|
|
137
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
138
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
139
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
140
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
141
|
+
/**
|
|
142
|
+
* @ignore
|
|
143
|
+
*/
|
|
144
|
+
children: e.node,
|
|
145
|
+
/**
|
|
146
|
+
* Override or extend the styles applied to the component.
|
|
147
|
+
*/
|
|
148
|
+
classes: e.object,
|
|
149
|
+
/**
|
|
150
|
+
* The component used for the root node.
|
|
151
|
+
* Either a string to use a HTML element or a component.
|
|
152
|
+
*/
|
|
153
|
+
component: e.elementType,
|
|
154
|
+
/**
|
|
155
|
+
* If `true`, the left and right padding is removed.
|
|
156
|
+
* @default false
|
|
157
|
+
*/
|
|
158
|
+
disableGutters: e.bool,
|
|
159
|
+
/**
|
|
160
|
+
* Set the max-width to match the min-width of the current breakpoint.
|
|
161
|
+
* This is useful if you'd prefer to design for a fixed set of sizes
|
|
162
|
+
* instead of trying to accommodate a fully fluid viewport.
|
|
163
|
+
* It's fluid by default.
|
|
164
|
+
* @default false
|
|
165
|
+
*/
|
|
166
|
+
fixed: e.bool,
|
|
167
|
+
/**
|
|
168
|
+
* Determine the max-width of the container.
|
|
169
|
+
* The container width grows with the size of the screen.
|
|
170
|
+
* Set to `false` to disable `maxWidth`.
|
|
171
|
+
* @default 'lg'
|
|
172
|
+
*/
|
|
173
|
+
maxWidth: e.oneOfType([e.oneOf(["xs", "sm", "md", "lg", "xl", !1]), e.string]),
|
|
174
|
+
/**
|
|
175
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
176
|
+
*/
|
|
177
|
+
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
178
|
+
});
|
|
179
|
+
export {
|
|
180
|
+
D as C
|
|
181
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { c } from "./createSvgIcon-CAZr4ukt.js";
|
|
3
|
+
const m = c(/* @__PURE__ */ o("path", {
|
|
4
|
+
d: "M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"
|
|
5
|
+
}), "ContentCopy");
|
|
6
|
+
export {
|
|
7
|
+
m as C
|
|
8
|
+
};
|