@carto/meridian-ds 0.1.0 → 0.1.1-alpha.0
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-Dd9Op7y8.js → Alert-D20zeMkh.js} +158 -172
- package/dist/Alert-FPd1YXw5.cjs +4 -0
- package/dist/{arrow-drop-icon-CHxPlPIN.js → arrow-drop-icon-Dau5xh-6.js} +4 -4
- package/dist/arrow-drop-icon-XN9k9ZtW.cjs +1 -0
- package/dist/components/index.cjs +1 -1
- package/dist/components/index.js +472 -489
- package/dist/custom-icons/index.cjs +1 -1
- package/dist/custom-icons/index.js +28 -28
- package/dist/paletteUtils-BEwZhrLg.js +262 -0
- package/dist/paletteUtils-DLQVT9qo.cjs +1 -0
- package/dist/{search-icon-FnUa1LqH.js → search-icon-8Q4AttLX.js} +8 -8
- package/dist/search-icon-CyudR_26.cjs +1 -0
- package/dist/theme/index.cjs +1 -76
- package/dist/theme/index.js +360 -1548
- package/dist/theme-constants-Cq_uocqm.js +544 -0
- package/dist/theme-constants-Da63svSG.cjs +9 -0
- package/dist/widgets/index.cjs +21 -21
- package/dist/widgets/index.js +2801 -2854
- package/package.json +3 -2
- package/dist/Alert-l8e3Fw5e.cjs +0 -4
- package/dist/arrow-drop-icon-BGl72Unt.cjs +0 -1
- package/dist/createSvgIcon-BhsoeSAN.cjs +0 -68
- package/dist/createSvgIcon-CcKa-Sbo.js +0 -3929
- package/dist/jsx-runtime-B6kdoens.js +0 -634
- package/dist/jsx-runtime-Cek9Ww4S.cjs +0 -30
- package/dist/paletteUtils-B489IFFw.js +0 -320
- package/dist/paletteUtils-DELR0VRh.cjs +0 -3
- package/dist/search-icon-DHF2JDWR.cjs +0 -1
package/dist/theme/index.js
CHANGED
|
@@ -1,1185 +1,15 @@
|
|
|
1
|
-
import { Typography as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
return o(...n) || t(...n);
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
function Zt(o) {
|
|
17
|
-
const {
|
|
18
|
-
prototype: t = {}
|
|
19
|
-
} = o;
|
|
20
|
-
return !!t.isReactComponent;
|
|
21
|
-
}
|
|
22
|
-
function Qt(o, t, e, n, a) {
|
|
23
|
-
const r = o[t], l = a || t;
|
|
24
|
-
if (r == null || // When server-side rendering React doesn't warn either.
|
|
25
|
-
// This is not an accurate check for SSR.
|
|
26
|
-
// This is only in place for emotion compat.
|
|
27
|
-
// TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
|
|
28
|
-
typeof window > "u")
|
|
29
|
-
return null;
|
|
30
|
-
let u;
|
|
31
|
-
return typeof r == "function" && !Zt(r) && (u = "Did you accidentally provide a plain function component instead?"), u !== void 0 ? new Error(`Invalid ${n} \`${l}\` supplied to \`${e}\`. Expected an element type that can hold a ref. ${u} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
|
|
32
|
-
}
|
|
33
|
-
const Jt = vt(i.elementType, Qt), oi = i.oneOfType([i.func, i.object]), ti = /* @__PURE__ */ g.createContext();
|
|
34
|
-
process.env.NODE_ENV !== "production" && (i.node, i.bool);
|
|
35
|
-
const ii = () => {
|
|
36
|
-
const o = g.useContext(ti);
|
|
37
|
-
return o ?? !1;
|
|
38
|
-
}, ei = Co(/* @__PURE__ */ d.jsx("path", {
|
|
39
|
-
d: "M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
|
|
40
|
-
}), "KeyboardArrowLeft"), ri = Co(/* @__PURE__ */ d.jsx("path", {
|
|
41
|
-
d: "M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
|
|
42
|
-
}), "KeyboardArrowRight");
|
|
43
|
-
function Oo(o, t) {
|
|
44
|
-
return Oo = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, n) {
|
|
45
|
-
return e.__proto__ = n, e;
|
|
46
|
-
}, Oo(o, t);
|
|
47
|
-
}
|
|
48
|
-
function ni(o, t) {
|
|
49
|
-
o.prototype = Object.create(t.prototype), o.prototype.constructor = o, Oo(o, t);
|
|
50
|
-
}
|
|
51
|
-
const Ko = lo.createContext(null);
|
|
52
|
-
function ai(o) {
|
|
53
|
-
if (o === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
54
|
-
return o;
|
|
55
|
-
}
|
|
56
|
-
function Fo(o, t) {
|
|
57
|
-
var e = function(r) {
|
|
58
|
-
return t && vo(r) ? t(r) : r;
|
|
59
|
-
}, n = /* @__PURE__ */ Object.create(null);
|
|
60
|
-
return o && Xt.map(o, function(a) {
|
|
61
|
-
return a;
|
|
62
|
-
}).forEach(function(a) {
|
|
63
|
-
n[a.key] = e(a);
|
|
64
|
-
}), n;
|
|
65
|
-
}
|
|
66
|
-
function li(o, t) {
|
|
67
|
-
o = o || {}, t = t || {};
|
|
68
|
-
function e(M) {
|
|
69
|
-
return M in t ? t[M] : o[M];
|
|
70
|
-
}
|
|
71
|
-
var n = /* @__PURE__ */ Object.create(null), a = [];
|
|
72
|
-
for (var r in o)
|
|
73
|
-
r in t ? a.length && (n[r] = a, a = []) : a.push(r);
|
|
74
|
-
var l, u = {};
|
|
75
|
-
for (var c in t) {
|
|
76
|
-
if (n[c])
|
|
77
|
-
for (l = 0; l < n[c].length; l++) {
|
|
78
|
-
var b = n[c][l];
|
|
79
|
-
u[n[c][l]] = e(b);
|
|
80
|
-
}
|
|
81
|
-
u[c] = e(c);
|
|
82
|
-
}
|
|
83
|
-
for (l = 0; l < a.length; l++)
|
|
84
|
-
u[a[l]] = e(a[l]);
|
|
85
|
-
return u;
|
|
86
|
-
}
|
|
87
|
-
function Q(o, t, e) {
|
|
88
|
-
return e[t] != null ? e[t] : o.props[t];
|
|
89
|
-
}
|
|
90
|
-
function si(o, t) {
|
|
91
|
-
return Fo(o.children, function(e) {
|
|
92
|
-
return mo(e, {
|
|
93
|
-
onExited: t.bind(null, e),
|
|
94
|
-
in: !0,
|
|
95
|
-
appear: Q(e, "appear", o),
|
|
96
|
-
enter: Q(e, "enter", o),
|
|
97
|
-
exit: Q(e, "exit", o)
|
|
98
|
-
});
|
|
99
|
-
});
|
|
100
|
-
}
|
|
101
|
-
function pi(o, t, e) {
|
|
102
|
-
var n = Fo(o.children), a = li(t, n);
|
|
103
|
-
return Object.keys(a).forEach(function(r) {
|
|
104
|
-
var l = a[r];
|
|
105
|
-
if (vo(l)) {
|
|
106
|
-
var u = r in t, c = r in n, b = t[r], M = vo(b) && !b.props.in;
|
|
107
|
-
c && (!u || M) ? a[r] = mo(l, {
|
|
108
|
-
onExited: e.bind(null, l),
|
|
109
|
-
in: !0,
|
|
110
|
-
exit: Q(l, "exit", o),
|
|
111
|
-
enter: Q(l, "enter", o)
|
|
112
|
-
}) : !c && u && !M ? a[r] = mo(l, {
|
|
113
|
-
in: !1
|
|
114
|
-
}) : c && u && vo(b) && (a[r] = mo(l, {
|
|
115
|
-
onExited: e.bind(null, l),
|
|
116
|
-
in: b.props.in,
|
|
117
|
-
exit: Q(l, "exit", o),
|
|
118
|
-
enter: Q(l, "enter", o)
|
|
119
|
-
}));
|
|
120
|
-
}
|
|
121
|
-
}), a;
|
|
122
|
-
}
|
|
123
|
-
var ci = Object.values || function(o) {
|
|
124
|
-
return Object.keys(o).map(function(t) {
|
|
125
|
-
return o[t];
|
|
126
|
-
});
|
|
127
|
-
}, ui = {
|
|
128
|
-
component: "div",
|
|
129
|
-
childFactory: function(t) {
|
|
130
|
-
return t;
|
|
131
|
-
}
|
|
132
|
-
}, jo = /* @__PURE__ */ function(o) {
|
|
133
|
-
ni(t, o);
|
|
134
|
-
function t(n, a) {
|
|
135
|
-
var r;
|
|
136
|
-
r = o.call(this, n, a) || this;
|
|
137
|
-
var l = r.handleExited.bind(ai(r));
|
|
138
|
-
return r.state = {
|
|
139
|
-
contextValue: {
|
|
140
|
-
isMounting: !0
|
|
141
|
-
},
|
|
142
|
-
handleExited: l,
|
|
143
|
-
firstRender: !0
|
|
144
|
-
}, r;
|
|
145
|
-
}
|
|
146
|
-
var e = t.prototype;
|
|
147
|
-
return e.componentDidMount = function() {
|
|
148
|
-
this.mounted = !0, this.setState({
|
|
149
|
-
contextValue: {
|
|
150
|
-
isMounting: !1
|
|
151
|
-
}
|
|
152
|
-
});
|
|
153
|
-
}, e.componentWillUnmount = function() {
|
|
154
|
-
this.mounted = !1;
|
|
155
|
-
}, t.getDerivedStateFromProps = function(a, r) {
|
|
156
|
-
var l = r.children, u = r.handleExited, c = r.firstRender;
|
|
157
|
-
return {
|
|
158
|
-
children: c ? si(a, u) : pi(a, l, u),
|
|
159
|
-
firstRender: !1
|
|
160
|
-
};
|
|
161
|
-
}, e.handleExited = function(a, r) {
|
|
162
|
-
var l = Fo(this.props.children);
|
|
163
|
-
a.key in l || (a.props.onExited && a.props.onExited(r), this.mounted && this.setState(function(u) {
|
|
164
|
-
var c = h({}, u.children);
|
|
165
|
-
return delete c[a.key], {
|
|
166
|
-
children: c
|
|
167
|
-
};
|
|
168
|
-
}));
|
|
169
|
-
}, e.render = function() {
|
|
170
|
-
var a = this.props, r = a.component, l = a.childFactory, u = co(a, ["component", "childFactory"]), c = this.state.contextValue, b = ci(this.state.children).map(l);
|
|
171
|
-
return delete u.appear, delete u.enter, delete u.exit, r === null ? /* @__PURE__ */ lo.createElement(Ko.Provider, {
|
|
172
|
-
value: c
|
|
173
|
-
}, b) : /* @__PURE__ */ lo.createElement(Ko.Provider, {
|
|
174
|
-
value: c
|
|
175
|
-
}, /* @__PURE__ */ lo.createElement(r, u, b));
|
|
176
|
-
}, t;
|
|
177
|
-
}(lo.Component);
|
|
178
|
-
jo.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
179
|
-
/**
|
|
180
|
-
* `<TransitionGroup>` renders a `<div>` by default. You can change this
|
|
181
|
-
* behavior by providing a `component` prop.
|
|
182
|
-
* If you use React v16+ and would like to avoid a wrapping `<div>` element
|
|
183
|
-
* you can pass in `component={null}`. This is useful if the wrapping div
|
|
184
|
-
* borks your css styles.
|
|
185
|
-
*/
|
|
186
|
-
component: i.any,
|
|
187
|
-
/**
|
|
188
|
-
* A set of `<Transition>` components, that are toggled `in` and out as they
|
|
189
|
-
* leave. the `<TransitionGroup>` will inject specific transition props, so
|
|
190
|
-
* remember to spread them through if you are wrapping the `<Transition>` as
|
|
191
|
-
* with our `<Fade>` example.
|
|
192
|
-
*
|
|
193
|
-
* While this component is meant for multiple `Transition` or `CSSTransition`
|
|
194
|
-
* children, sometimes you may want to have a single transition child with
|
|
195
|
-
* content that you want to be transitioned out and in when you change it
|
|
196
|
-
* (e.g. routes, images etc.) In that case you can change the `key` prop of
|
|
197
|
-
* the transition child as you change its content, this will cause
|
|
198
|
-
* `TransitionGroup` to transition the child out and back in.
|
|
199
|
-
*/
|
|
200
|
-
children: i.node,
|
|
201
|
-
/**
|
|
202
|
-
* A convenience prop that enables or disables appear animations
|
|
203
|
-
* for all children. Note that specifying this will override any defaults set
|
|
204
|
-
* on individual children Transitions.
|
|
205
|
-
*/
|
|
206
|
-
appear: i.bool,
|
|
207
|
-
/**
|
|
208
|
-
* A convenience prop that enables or disables enter animations
|
|
209
|
-
* for all children. Note that specifying this will override any defaults set
|
|
210
|
-
* on individual children Transitions.
|
|
211
|
-
*/
|
|
212
|
-
enter: i.bool,
|
|
213
|
-
/**
|
|
214
|
-
* A convenience prop that enables or disables exit animations
|
|
215
|
-
* for all children. Note that specifying this will override any defaults set
|
|
216
|
-
* on individual children Transitions.
|
|
217
|
-
*/
|
|
218
|
-
exit: i.bool,
|
|
219
|
-
/**
|
|
220
|
-
* You may need to apply reactive updates to a child as it is exiting.
|
|
221
|
-
* This is generally done by using `cloneElement` however in the case of an exiting
|
|
222
|
-
* child the element has already been removed and not accessible to the consumer.
|
|
223
|
-
*
|
|
224
|
-
* If you do need to update a child as it leaves you can provide a `childFactory`
|
|
225
|
-
* to wrap every child, even the ones that are leaving.
|
|
226
|
-
*
|
|
227
|
-
* @type Function(child: ReactElement) -> ReactElement
|
|
228
|
-
*/
|
|
229
|
-
childFactory: i.func
|
|
230
|
-
} : {};
|
|
231
|
-
jo.defaultProps = ui;
|
|
232
|
-
function mt(o) {
|
|
233
|
-
const {
|
|
234
|
-
className: t,
|
|
235
|
-
classes: e,
|
|
236
|
-
pulsate: n = !1,
|
|
237
|
-
rippleX: a,
|
|
238
|
-
rippleY: r,
|
|
239
|
-
rippleSize: l,
|
|
240
|
-
in: u,
|
|
241
|
-
onExited: c,
|
|
242
|
-
timeout: b
|
|
243
|
-
} = o, [M, w] = g.useState(!1), m = j(t, e.ripple, e.rippleVisible, n && e.ripplePulsate), S = {
|
|
244
|
-
width: l,
|
|
245
|
-
height: l,
|
|
246
|
-
top: -(l / 2) + r,
|
|
247
|
-
left: -(l / 2) + a
|
|
248
|
-
}, y = j(e.child, M && e.childLeaving, n && e.childPulsate);
|
|
249
|
-
return !u && !M && w(!0), g.useEffect(() => {
|
|
250
|
-
if (!u && c != null) {
|
|
251
|
-
const z = setTimeout(c, b);
|
|
252
|
-
return () => {
|
|
253
|
-
clearTimeout(z);
|
|
254
|
-
};
|
|
255
|
-
}
|
|
256
|
-
}, [c, u, b]), /* @__PURE__ */ d.jsx("span", {
|
|
257
|
-
className: m,
|
|
258
|
-
style: S,
|
|
259
|
-
children: /* @__PURE__ */ d.jsx("span", {
|
|
260
|
-
className: y
|
|
261
|
-
})
|
|
262
|
-
});
|
|
263
|
-
}
|
|
264
|
-
process.env.NODE_ENV !== "production" && (mt.propTypes = {
|
|
265
|
-
/**
|
|
266
|
-
* Override or extend the styles applied to the component.
|
|
267
|
-
*/
|
|
268
|
-
classes: i.object.isRequired,
|
|
269
|
-
className: i.string,
|
|
270
|
-
/**
|
|
271
|
-
* @ignore - injected from TransitionGroup
|
|
272
|
-
*/
|
|
273
|
-
in: i.bool,
|
|
274
|
-
/**
|
|
275
|
-
* @ignore - injected from TransitionGroup
|
|
276
|
-
*/
|
|
277
|
-
onExited: i.func,
|
|
278
|
-
/**
|
|
279
|
-
* If `true`, the ripple pulsates, typically indicating the keyboard focus state of an element.
|
|
280
|
-
*/
|
|
281
|
-
pulsate: i.bool,
|
|
282
|
-
/**
|
|
283
|
-
* Diameter of the ripple.
|
|
284
|
-
*/
|
|
285
|
-
rippleSize: i.number,
|
|
286
|
-
/**
|
|
287
|
-
* Horizontal position of the ripple center.
|
|
288
|
-
*/
|
|
289
|
-
rippleX: i.number,
|
|
290
|
-
/**
|
|
291
|
-
* Vertical position of the ripple center.
|
|
292
|
-
*/
|
|
293
|
-
rippleY: i.number,
|
|
294
|
-
/**
|
|
295
|
-
* exit delay
|
|
296
|
-
*/
|
|
297
|
-
timeout: i.number.isRequired
|
|
298
|
-
});
|
|
299
|
-
const E = Eo("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsate", "child", "childLeaving", "childPulsate"]), di = ["center", "classes", "className"];
|
|
300
|
-
let ko = (o) => o, Xo, Yo, Zo, Qo;
|
|
301
|
-
const Po = 550, gi = 80, bi = Wo(Xo || (Xo = ko`
|
|
302
|
-
0% {
|
|
303
|
-
transform: scale(0);
|
|
304
|
-
opacity: 0.1;
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
100% {
|
|
308
|
-
transform: scale(1);
|
|
309
|
-
opacity: 0.3;
|
|
310
|
-
}
|
|
311
|
-
`)), fi = Wo(Yo || (Yo = ko`
|
|
312
|
-
0% {
|
|
313
|
-
opacity: 1;
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
100% {
|
|
317
|
-
opacity: 0;
|
|
318
|
-
}
|
|
319
|
-
`)), xi = Wo(Zo || (Zo = ko`
|
|
320
|
-
0% {
|
|
321
|
-
transform: scale(1);
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
50% {
|
|
325
|
-
transform: scale(0.92);
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
100% {
|
|
329
|
-
transform: scale(1);
|
|
330
|
-
}
|
|
331
|
-
`)), hi = Bo("span", {
|
|
332
|
-
name: "MuiTouchRipple",
|
|
333
|
-
slot: "Root"
|
|
334
|
-
})({
|
|
335
|
-
overflow: "hidden",
|
|
336
|
-
pointerEvents: "none",
|
|
337
|
-
position: "absolute",
|
|
338
|
-
zIndex: 0,
|
|
339
|
-
top: 0,
|
|
340
|
-
right: 0,
|
|
341
|
-
bottom: 0,
|
|
342
|
-
left: 0,
|
|
343
|
-
borderRadius: "inherit"
|
|
344
|
-
}), yi = Bo(mt, {
|
|
345
|
-
name: "MuiTouchRipple",
|
|
346
|
-
slot: "Ripple"
|
|
347
|
-
})(Qo || (Qo = ko`
|
|
348
|
-
opacity: 0;
|
|
349
|
-
position: absolute;
|
|
350
|
-
|
|
351
|
-
&.${0} {
|
|
352
|
-
opacity: 0.3;
|
|
353
|
-
transform: scale(1);
|
|
354
|
-
animation-name: ${0};
|
|
355
|
-
animation-duration: ${0}ms;
|
|
356
|
-
animation-timing-function: ${0};
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
&.${0} {
|
|
360
|
-
animation-duration: ${0}ms;
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
& .${0} {
|
|
364
|
-
opacity: 1;
|
|
365
|
-
display: block;
|
|
366
|
-
width: 100%;
|
|
367
|
-
height: 100%;
|
|
368
|
-
border-radius: 50%;
|
|
369
|
-
background-color: currentColor;
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
& .${0} {
|
|
373
|
-
opacity: 0;
|
|
374
|
-
animation-name: ${0};
|
|
375
|
-
animation-duration: ${0}ms;
|
|
376
|
-
animation-timing-function: ${0};
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
& .${0} {
|
|
380
|
-
position: absolute;
|
|
381
|
-
/* @noflip */
|
|
382
|
-
left: 0px;
|
|
383
|
-
top: 0;
|
|
384
|
-
animation-name: ${0};
|
|
385
|
-
animation-duration: 2500ms;
|
|
386
|
-
animation-timing-function: ${0};
|
|
387
|
-
animation-iteration-count: infinite;
|
|
388
|
-
animation-delay: 200ms;
|
|
389
|
-
}
|
|
390
|
-
`), E.rippleVisible, bi, Po, ({
|
|
391
|
-
theme: o
|
|
392
|
-
}) => o.transitions.easing.easeInOut, E.ripplePulsate, ({
|
|
393
|
-
theme: o
|
|
394
|
-
}) => o.transitions.duration.shorter, E.child, E.childLeaving, fi, Po, ({
|
|
395
|
-
theme: o
|
|
396
|
-
}) => o.transitions.easing.easeInOut, E.childPulsate, xi, ({
|
|
397
|
-
theme: o
|
|
398
|
-
}) => o.transitions.easing.easeInOut), Ct = /* @__PURE__ */ g.forwardRef(function(t, e) {
|
|
399
|
-
const n = Ao({
|
|
400
|
-
props: t,
|
|
401
|
-
name: "MuiTouchRipple"
|
|
402
|
-
}), {
|
|
403
|
-
center: a = !1,
|
|
404
|
-
classes: r = {},
|
|
405
|
-
className: l
|
|
406
|
-
} = n, u = co(n, di), [c, b] = g.useState([]), M = g.useRef(0), w = g.useRef(null);
|
|
407
|
-
g.useEffect(() => {
|
|
408
|
-
w.current && (w.current(), w.current = null);
|
|
409
|
-
}, [c]);
|
|
410
|
-
const m = g.useRef(!1), S = Gt(), y = g.useRef(null), z = g.useRef(null), D = g.useCallback((x) => {
|
|
411
|
-
const {
|
|
412
|
-
pulsate: C,
|
|
413
|
-
rippleX: f,
|
|
414
|
-
rippleY: V,
|
|
415
|
-
rippleSize: B,
|
|
416
|
-
cb: Z
|
|
417
|
-
} = x;
|
|
418
|
-
b((O) => [...O, /* @__PURE__ */ d.jsx(yi, {
|
|
419
|
-
classes: {
|
|
420
|
-
ripple: j(r.ripple, E.ripple),
|
|
421
|
-
rippleVisible: j(r.rippleVisible, E.rippleVisible),
|
|
422
|
-
ripplePulsate: j(r.ripplePulsate, E.ripplePulsate),
|
|
423
|
-
child: j(r.child, E.child),
|
|
424
|
-
childLeaving: j(r.childLeaving, E.childLeaving),
|
|
425
|
-
childPulsate: j(r.childPulsate, E.childPulsate)
|
|
426
|
-
},
|
|
427
|
-
timeout: Po,
|
|
428
|
-
pulsate: C,
|
|
429
|
-
rippleX: f,
|
|
430
|
-
rippleY: V,
|
|
431
|
-
rippleSize: B
|
|
432
|
-
}, M.current)]), M.current += 1, w.current = Z;
|
|
433
|
-
}, [r]), v = g.useCallback((x = {}, C = {}, f = () => {
|
|
434
|
-
}) => {
|
|
435
|
-
const {
|
|
436
|
-
pulsate: V = !1,
|
|
437
|
-
center: B = a || C.pulsate,
|
|
438
|
-
fakeElement: Z = !1
|
|
439
|
-
// For test purposes
|
|
440
|
-
} = C;
|
|
441
|
-
if ((x == null ? void 0 : x.type) === "mousedown" && m.current) {
|
|
442
|
-
m.current = !1;
|
|
443
|
-
return;
|
|
444
|
-
}
|
|
445
|
-
(x == null ? void 0 : x.type) === "touchstart" && (m.current = !0);
|
|
446
|
-
const O = Z ? null : z.current, $ = O ? O.getBoundingClientRect() : {
|
|
447
|
-
width: 0,
|
|
448
|
-
height: 0,
|
|
449
|
-
left: 0,
|
|
450
|
-
top: 0
|
|
451
|
-
};
|
|
452
|
-
let A, W, F;
|
|
453
|
-
if (B || x === void 0 || x.clientX === 0 && x.clientY === 0 || !x.clientX && !x.touches)
|
|
454
|
-
A = Math.round($.width / 2), W = Math.round($.height / 2);
|
|
455
|
-
else {
|
|
456
|
-
const {
|
|
457
|
-
clientX: N,
|
|
458
|
-
clientY: P
|
|
459
|
-
} = x.touches && x.touches.length > 0 ? x.touches[0] : x;
|
|
460
|
-
A = Math.round(N - $.left), W = Math.round(P - $.top);
|
|
461
|
-
}
|
|
462
|
-
if (B)
|
|
463
|
-
F = Math.sqrt((2 * $.width ** 2 + $.height ** 2) / 3), F % 2 === 0 && (F += 1);
|
|
464
|
-
else {
|
|
465
|
-
const N = Math.max(Math.abs((O ? O.clientWidth : 0) - A), A) * 2 + 2, P = Math.max(Math.abs((O ? O.clientHeight : 0) - W), W) * 2 + 2;
|
|
466
|
-
F = Math.sqrt(N ** 2 + P ** 2);
|
|
467
|
-
}
|
|
468
|
-
x != null && x.touches ? y.current === null && (y.current = () => {
|
|
469
|
-
D({
|
|
470
|
-
pulsate: V,
|
|
471
|
-
rippleX: A,
|
|
472
|
-
rippleY: W,
|
|
473
|
-
rippleSize: F,
|
|
474
|
-
cb: f
|
|
475
|
-
});
|
|
476
|
-
}, S.start(gi, () => {
|
|
477
|
-
y.current && (y.current(), y.current = null);
|
|
478
|
-
})) : D({
|
|
479
|
-
pulsate: V,
|
|
480
|
-
rippleX: A,
|
|
481
|
-
rippleY: W,
|
|
482
|
-
rippleSize: F,
|
|
483
|
-
cb: f
|
|
484
|
-
});
|
|
485
|
-
}, [a, D, S]), _ = g.useCallback(() => {
|
|
486
|
-
v({}, {
|
|
487
|
-
pulsate: !0
|
|
488
|
-
});
|
|
489
|
-
}, [v]), G = g.useCallback((x, C) => {
|
|
490
|
-
if (S.clear(), (x == null ? void 0 : x.type) === "touchend" && y.current) {
|
|
491
|
-
y.current(), y.current = null, S.start(0, () => {
|
|
492
|
-
G(x, C);
|
|
493
|
-
});
|
|
494
|
-
return;
|
|
495
|
-
}
|
|
496
|
-
y.current = null, b((f) => f.length > 0 ? f.slice(1) : f), w.current = C;
|
|
497
|
-
}, [S]);
|
|
498
|
-
return g.useImperativeHandle(e, () => ({
|
|
499
|
-
pulsate: _,
|
|
500
|
-
start: v,
|
|
501
|
-
stop: G
|
|
502
|
-
}), [_, v, G]), /* @__PURE__ */ d.jsx(hi, h({
|
|
503
|
-
className: j(E.root, r.root, l),
|
|
504
|
-
ref: z
|
|
505
|
-
}, u, {
|
|
506
|
-
children: /* @__PURE__ */ d.jsx(jo, {
|
|
507
|
-
component: null,
|
|
508
|
-
exit: !0,
|
|
509
|
-
children: c
|
|
510
|
-
})
|
|
511
|
-
}));
|
|
512
|
-
});
|
|
513
|
-
process.env.NODE_ENV !== "production" && (Ct.propTypes = {
|
|
514
|
-
/**
|
|
515
|
-
* If `true`, the ripple starts at the center of the component
|
|
516
|
-
* rather than at the point of interaction.
|
|
517
|
-
*/
|
|
518
|
-
center: i.bool,
|
|
519
|
-
/**
|
|
520
|
-
* Override or extend the styles applied to the component.
|
|
521
|
-
*/
|
|
522
|
-
classes: i.object,
|
|
523
|
-
/**
|
|
524
|
-
* @ignore
|
|
525
|
-
*/
|
|
526
|
-
className: i.string
|
|
527
|
-
});
|
|
528
|
-
function Mi(o) {
|
|
529
|
-
return xt("MuiButtonBase", o);
|
|
530
|
-
}
|
|
531
|
-
const vi = Eo("MuiButtonBase", ["root", "disabled", "focusVisible"]), mi = ["action", "centerRipple", "children", "className", "component", "disabled", "disableRipple", "disableTouchRipple", "focusRipple", "focusVisibleClassName", "LinkComponent", "onBlur", "onClick", "onContextMenu", "onDragLeave", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseDown", "onMouseLeave", "onMouseUp", "onTouchEnd", "onTouchMove", "onTouchStart", "tabIndex", "TouchRippleProps", "touchRippleRef", "type"], Ci = (o) => {
|
|
532
|
-
const {
|
|
533
|
-
disabled: t,
|
|
534
|
-
focusVisible: e,
|
|
535
|
-
focusVisibleClassName: n,
|
|
536
|
-
classes: a
|
|
537
|
-
} = o, l = ht({
|
|
538
|
-
root: ["root", t && "disabled", e && "focusVisible"]
|
|
539
|
-
}, Mi, a);
|
|
540
|
-
return e && n && (l.root += ` ${n}`), l;
|
|
541
|
-
}, Bi = Bo("button", {
|
|
542
|
-
name: "MuiButtonBase",
|
|
543
|
-
slot: "Root",
|
|
544
|
-
overridesResolver: (o, t) => t.root
|
|
545
|
-
})({
|
|
546
|
-
display: "inline-flex",
|
|
547
|
-
alignItems: "center",
|
|
548
|
-
justifyContent: "center",
|
|
549
|
-
position: "relative",
|
|
550
|
-
boxSizing: "border-box",
|
|
551
|
-
WebkitTapHighlightColor: "transparent",
|
|
552
|
-
backgroundColor: "transparent",
|
|
553
|
-
// Reset default value
|
|
554
|
-
// We disable the focus ring for mouse, touch and keyboard users.
|
|
555
|
-
outline: 0,
|
|
556
|
-
border: 0,
|
|
557
|
-
margin: 0,
|
|
558
|
-
// Remove the margin in Safari
|
|
559
|
-
borderRadius: 0,
|
|
560
|
-
padding: 0,
|
|
561
|
-
// Remove the padding in Firefox
|
|
562
|
-
cursor: "pointer",
|
|
563
|
-
userSelect: "none",
|
|
564
|
-
verticalAlign: "middle",
|
|
565
|
-
MozAppearance: "none",
|
|
566
|
-
// Reset
|
|
567
|
-
WebkitAppearance: "none",
|
|
568
|
-
// Reset
|
|
569
|
-
textDecoration: "none",
|
|
570
|
-
// So we take precedent over the style of a native <a /> element.
|
|
571
|
-
color: "inherit",
|
|
572
|
-
"&::-moz-focus-inner": {
|
|
573
|
-
borderStyle: "none"
|
|
574
|
-
// Remove Firefox dotted outline.
|
|
575
|
-
},
|
|
576
|
-
[`&.${vi.disabled}`]: {
|
|
577
|
-
pointerEvents: "none",
|
|
578
|
-
// Disable link interactions
|
|
579
|
-
cursor: "default"
|
|
580
|
-
},
|
|
581
|
-
"@media print": {
|
|
582
|
-
colorAdjust: "exact"
|
|
583
|
-
}
|
|
584
|
-
}), Bt = /* @__PURE__ */ g.forwardRef(function(t, e) {
|
|
585
|
-
const n = Ao({
|
|
586
|
-
props: t,
|
|
587
|
-
name: "MuiButtonBase"
|
|
588
|
-
}), {
|
|
589
|
-
action: a,
|
|
590
|
-
centerRipple: r = !1,
|
|
591
|
-
children: l,
|
|
592
|
-
className: u,
|
|
593
|
-
component: c = "button",
|
|
594
|
-
disabled: b = !1,
|
|
595
|
-
disableRipple: M = !1,
|
|
596
|
-
disableTouchRipple: w = !1,
|
|
597
|
-
focusRipple: m = !1,
|
|
598
|
-
LinkComponent: S = "a",
|
|
599
|
-
onBlur: y,
|
|
600
|
-
onClick: z,
|
|
601
|
-
onContextMenu: D,
|
|
602
|
-
onDragLeave: v,
|
|
603
|
-
onFocus: _,
|
|
604
|
-
onFocusVisible: G,
|
|
605
|
-
onKeyDown: x,
|
|
606
|
-
onKeyUp: C,
|
|
607
|
-
onMouseDown: f,
|
|
608
|
-
onMouseLeave: V,
|
|
609
|
-
onMouseUp: B,
|
|
610
|
-
onTouchEnd: Z,
|
|
611
|
-
onTouchMove: O,
|
|
612
|
-
onTouchStart: $,
|
|
613
|
-
tabIndex: A = 0,
|
|
614
|
-
TouchRippleProps: W,
|
|
615
|
-
touchRippleRef: F,
|
|
616
|
-
type: N
|
|
617
|
-
} = n, P = co(n, mi), K = g.useRef(null), T = g.useRef(null), uo = Vo(T, F), {
|
|
618
|
-
isFocusVisibleRef: io,
|
|
619
|
-
onFocus: So,
|
|
620
|
-
onBlur: Io,
|
|
621
|
-
ref: Ro
|
|
622
|
-
} = Kt(), [U, J] = g.useState(!1);
|
|
623
|
-
b && U && J(!1), g.useImperativeHandle(a, () => ({
|
|
624
|
-
focusVisible: () => {
|
|
625
|
-
J(!0), K.current.focus();
|
|
626
|
-
}
|
|
627
|
-
}), []);
|
|
628
|
-
const [oo, go] = g.useState(!1);
|
|
629
|
-
g.useEffect(() => {
|
|
630
|
-
go(!0);
|
|
631
|
-
}, []);
|
|
632
|
-
const eo = oo && !M && !b;
|
|
633
|
-
g.useEffect(() => {
|
|
634
|
-
U && m && !M && oo && T.current.pulsate();
|
|
635
|
-
}, [M, m, U, oo]);
|
|
636
|
-
function k(s, Ho, _t = w) {
|
|
637
|
-
return fo((_o) => (Ho && Ho(_o), !_t && T.current && T.current[s](_o), !0));
|
|
638
|
-
}
|
|
639
|
-
const Tt = k("start", f), zt = k("stop", D), Ot = k("stop", v), Pt = k("stop", B), Lt = k("stop", (s) => {
|
|
640
|
-
U && s.preventDefault(), V && V(s);
|
|
641
|
-
}), Et = k("start", $), At = k("stop", Z), Wt = k("stop", O), Ft = k("stop", (s) => {
|
|
642
|
-
Io(s), io.current === !1 && J(!1), y && y(s);
|
|
643
|
-
}, !1), jt = fo((s) => {
|
|
644
|
-
K.current || (K.current = s.currentTarget), So(s), io.current === !0 && (J(!0), G && G(s)), _ && _(s);
|
|
645
|
-
}), wo = () => {
|
|
646
|
-
const s = K.current;
|
|
647
|
-
return c && c !== "button" && !(s.tagName === "A" && s.href);
|
|
648
|
-
}, To = g.useRef(!1), Dt = fo((s) => {
|
|
649
|
-
m && !To.current && U && T.current && s.key === " " && (To.current = !0, T.current.stop(s, () => {
|
|
650
|
-
T.current.start(s);
|
|
651
|
-
})), s.target === s.currentTarget && wo() && s.key === " " && s.preventDefault(), x && x(s), s.target === s.currentTarget && wo() && s.key === "Enter" && !b && (s.preventDefault(), z && z(s));
|
|
652
|
-
}), $t = fo((s) => {
|
|
653
|
-
m && s.key === " " && T.current && U && !s.defaultPrevented && (To.current = !1, T.current.stop(s, () => {
|
|
654
|
-
T.current.pulsate(s);
|
|
655
|
-
})), C && C(s), z && s.target === s.currentTarget && wo() && s.key === " " && !s.defaultPrevented && z(s);
|
|
656
|
-
});
|
|
657
|
-
let bo = c;
|
|
658
|
-
bo === "button" && (P.href || P.to) && (bo = S);
|
|
659
|
-
const ro = {};
|
|
660
|
-
bo === "button" ? (ro.type = N === void 0 ? "button" : N, ro.disabled = b) : (!P.href && !P.to && (ro.role = "button"), b && (ro["aria-disabled"] = b));
|
|
661
|
-
const Nt = Vo(e, Ro, K);
|
|
662
|
-
process.env.NODE_ENV !== "production" && g.useEffect(() => {
|
|
663
|
-
eo && !T.current && console.error(["MUI: The `component` prop provided to ButtonBase is invalid.", "Please make sure the children prop is rendered in this custom component."].join(`
|
|
664
|
-
`));
|
|
665
|
-
}, [eo]);
|
|
666
|
-
const No = h({}, n, {
|
|
667
|
-
centerRipple: r,
|
|
668
|
-
component: c,
|
|
669
|
-
disabled: b,
|
|
670
|
-
disableRipple: M,
|
|
671
|
-
disableTouchRipple: w,
|
|
672
|
-
focusRipple: m,
|
|
673
|
-
tabIndex: A,
|
|
674
|
-
focusVisible: U
|
|
675
|
-
}), Ht = Ci(No);
|
|
676
|
-
return /* @__PURE__ */ d.jsxs(Bi, h({
|
|
677
|
-
as: bo,
|
|
678
|
-
className: j(Ht.root, u),
|
|
679
|
-
ownerState: No,
|
|
680
|
-
onBlur: Ft,
|
|
681
|
-
onClick: z,
|
|
682
|
-
onContextMenu: zt,
|
|
683
|
-
onFocus: jt,
|
|
684
|
-
onKeyDown: Dt,
|
|
685
|
-
onKeyUp: $t,
|
|
686
|
-
onMouseDown: Tt,
|
|
687
|
-
onMouseLeave: Lt,
|
|
688
|
-
onMouseUp: Pt,
|
|
689
|
-
onDragLeave: Ot,
|
|
690
|
-
onTouchEnd: At,
|
|
691
|
-
onTouchMove: Wt,
|
|
692
|
-
onTouchStart: Et,
|
|
693
|
-
ref: Nt,
|
|
694
|
-
tabIndex: b ? -1 : A,
|
|
695
|
-
type: N
|
|
696
|
-
}, ro, P, {
|
|
697
|
-
children: [l, eo ? (
|
|
698
|
-
/* TouchRipple is only needed client-side, x2 boost on the server. */
|
|
699
|
-
/* @__PURE__ */ d.jsx(Ct, h({
|
|
700
|
-
ref: uo,
|
|
701
|
-
center: r
|
|
702
|
-
}, W))
|
|
703
|
-
) : null]
|
|
704
|
-
}));
|
|
705
|
-
});
|
|
706
|
-
process.env.NODE_ENV !== "production" && (Bt.propTypes = {
|
|
707
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
708
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
709
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
710
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
711
|
-
/**
|
|
712
|
-
* A ref for imperative actions.
|
|
713
|
-
* It currently only supports `focusVisible()` action.
|
|
714
|
-
*/
|
|
715
|
-
action: oi,
|
|
716
|
-
/**
|
|
717
|
-
* If `true`, the ripples are centered.
|
|
718
|
-
* They won't start at the cursor interaction position.
|
|
719
|
-
* @default false
|
|
720
|
-
*/
|
|
721
|
-
centerRipple: i.bool,
|
|
722
|
-
/**
|
|
723
|
-
* The content of the component.
|
|
724
|
-
*/
|
|
725
|
-
children: i.node,
|
|
726
|
-
/**
|
|
727
|
-
* Override or extend the styles applied to the component.
|
|
728
|
-
*/
|
|
729
|
-
classes: i.object,
|
|
730
|
-
/**
|
|
731
|
-
* @ignore
|
|
732
|
-
*/
|
|
733
|
-
className: i.string,
|
|
734
|
-
/**
|
|
735
|
-
* The component used for the root node.
|
|
736
|
-
* Either a string to use a HTML element or a component.
|
|
737
|
-
*/
|
|
738
|
-
component: Jt,
|
|
739
|
-
/**
|
|
740
|
-
* If `true`, the component is disabled.
|
|
741
|
-
* @default false
|
|
742
|
-
*/
|
|
743
|
-
disabled: i.bool,
|
|
744
|
-
/**
|
|
745
|
-
* If `true`, the ripple effect is disabled.
|
|
746
|
-
*
|
|
747
|
-
* ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
|
|
748
|
-
* to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
|
|
749
|
-
* @default false
|
|
750
|
-
*/
|
|
751
|
-
disableRipple: i.bool,
|
|
752
|
-
/**
|
|
753
|
-
* If `true`, the touch ripple effect is disabled.
|
|
754
|
-
* @default false
|
|
755
|
-
*/
|
|
756
|
-
disableTouchRipple: i.bool,
|
|
757
|
-
/**
|
|
758
|
-
* If `true`, the base button will have a keyboard focus ripple.
|
|
759
|
-
* @default false
|
|
760
|
-
*/
|
|
761
|
-
focusRipple: i.bool,
|
|
762
|
-
/**
|
|
763
|
-
* This prop can help identify which element has keyboard focus.
|
|
764
|
-
* The class name will be applied when the element gains the focus through keyboard interaction.
|
|
765
|
-
* It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
|
|
766
|
-
* The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
|
|
767
|
-
* A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
|
|
768
|
-
* if needed.
|
|
769
|
-
*/
|
|
770
|
-
focusVisibleClassName: i.string,
|
|
771
|
-
/**
|
|
772
|
-
* @ignore
|
|
773
|
-
*/
|
|
774
|
-
href: i.any,
|
|
775
|
-
/**
|
|
776
|
-
* The component used to render a link when the `href` prop is provided.
|
|
777
|
-
* @default 'a'
|
|
778
|
-
*/
|
|
779
|
-
LinkComponent: i.elementType,
|
|
780
|
-
/**
|
|
781
|
-
* @ignore
|
|
782
|
-
*/
|
|
783
|
-
onBlur: i.func,
|
|
784
|
-
/**
|
|
785
|
-
* @ignore
|
|
786
|
-
*/
|
|
787
|
-
onClick: i.func,
|
|
788
|
-
/**
|
|
789
|
-
* @ignore
|
|
790
|
-
*/
|
|
791
|
-
onContextMenu: i.func,
|
|
792
|
-
/**
|
|
793
|
-
* @ignore
|
|
794
|
-
*/
|
|
795
|
-
onDragLeave: i.func,
|
|
796
|
-
/**
|
|
797
|
-
* @ignore
|
|
798
|
-
*/
|
|
799
|
-
onFocus: i.func,
|
|
800
|
-
/**
|
|
801
|
-
* Callback fired when the component is focused with a keyboard.
|
|
802
|
-
* We trigger a `onFocus` callback too.
|
|
803
|
-
*/
|
|
804
|
-
onFocusVisible: i.func,
|
|
805
|
-
/**
|
|
806
|
-
* @ignore
|
|
807
|
-
*/
|
|
808
|
-
onKeyDown: i.func,
|
|
809
|
-
/**
|
|
810
|
-
* @ignore
|
|
811
|
-
*/
|
|
812
|
-
onKeyUp: i.func,
|
|
813
|
-
/**
|
|
814
|
-
* @ignore
|
|
815
|
-
*/
|
|
816
|
-
onMouseDown: i.func,
|
|
817
|
-
/**
|
|
818
|
-
* @ignore
|
|
819
|
-
*/
|
|
820
|
-
onMouseLeave: i.func,
|
|
821
|
-
/**
|
|
822
|
-
* @ignore
|
|
823
|
-
*/
|
|
824
|
-
onMouseUp: i.func,
|
|
825
|
-
/**
|
|
826
|
-
* @ignore
|
|
827
|
-
*/
|
|
828
|
-
onTouchEnd: i.func,
|
|
829
|
-
/**
|
|
830
|
-
* @ignore
|
|
831
|
-
*/
|
|
832
|
-
onTouchMove: i.func,
|
|
833
|
-
/**
|
|
834
|
-
* @ignore
|
|
835
|
-
*/
|
|
836
|
-
onTouchStart: i.func,
|
|
837
|
-
/**
|
|
838
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
839
|
-
*/
|
|
840
|
-
sx: i.oneOfType([i.arrayOf(i.oneOfType([i.func, i.object, i.bool])), i.func, i.object]),
|
|
841
|
-
/**
|
|
842
|
-
* @default 0
|
|
843
|
-
*/
|
|
844
|
-
tabIndex: i.number,
|
|
845
|
-
/**
|
|
846
|
-
* Props applied to the `TouchRipple` element.
|
|
847
|
-
*/
|
|
848
|
-
TouchRippleProps: i.object,
|
|
849
|
-
/**
|
|
850
|
-
* A ref that points to the `TouchRipple` element.
|
|
851
|
-
*/
|
|
852
|
-
touchRippleRef: i.oneOfType([i.func, i.shape({
|
|
853
|
-
current: i.shape({
|
|
854
|
-
pulsate: i.func.isRequired,
|
|
855
|
-
start: i.func.isRequired,
|
|
856
|
-
stop: i.func.isRequired
|
|
857
|
-
})
|
|
858
|
-
})]),
|
|
859
|
-
/**
|
|
860
|
-
* @ignore
|
|
861
|
-
*/
|
|
862
|
-
type: i.oneOfType([i.oneOf(["button", "reset", "submit"]), i.string])
|
|
863
|
-
});
|
|
864
|
-
function ki(o) {
|
|
865
|
-
return xt("MuiIconButton", o);
|
|
866
|
-
}
|
|
867
|
-
const Si = Eo("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorError", "colorInfo", "colorSuccess", "colorWarning", "edgeStart", "edgeEnd", "sizeSmall", "sizeMedium", "sizeLarge"]), Ii = ["edge", "children", "className", "color", "disabled", "disableFocusRipple", "size"], Ri = (o) => {
|
|
868
|
-
const {
|
|
869
|
-
classes: t,
|
|
870
|
-
disabled: e,
|
|
871
|
-
color: n,
|
|
872
|
-
edge: a,
|
|
873
|
-
size: r
|
|
874
|
-
} = o, l = {
|
|
875
|
-
root: ["root", e && "disabled", n !== "default" && `color${to(n)}`, a && `edge${to(a)}`, `size${to(r)}`]
|
|
876
|
-
};
|
|
877
|
-
return ht(l, ki, t);
|
|
878
|
-
}, wi = Bo(Bt, {
|
|
879
|
-
name: "MuiIconButton",
|
|
880
|
-
slot: "Root",
|
|
881
|
-
overridesResolver: (o, t) => {
|
|
882
|
-
const {
|
|
883
|
-
ownerState: e
|
|
884
|
-
} = o;
|
|
885
|
-
return [t.root, e.color !== "default" && t[`color${to(e.color)}`], e.edge && t[`edge${to(e.edge)}`], t[`size${to(e.size)}`]];
|
|
886
|
-
}
|
|
887
|
-
})(({
|
|
888
|
-
theme: o,
|
|
889
|
-
ownerState: t
|
|
890
|
-
}) => h({
|
|
891
|
-
textAlign: "center",
|
|
892
|
-
flex: "0 0 auto",
|
|
893
|
-
fontSize: o.typography.pxToRem(24),
|
|
894
|
-
padding: 8,
|
|
895
|
-
borderRadius: "50%",
|
|
896
|
-
overflow: "visible",
|
|
897
|
-
// Explicitly set the default value to solve a bug on IE11.
|
|
898
|
-
color: (o.vars || o).palette.action.active,
|
|
899
|
-
transition: o.transitions.create("background-color", {
|
|
900
|
-
duration: o.transitions.duration.shortest
|
|
901
|
-
})
|
|
902
|
-
}, !t.disableRipple && {
|
|
903
|
-
"&:hover": {
|
|
904
|
-
backgroundColor: o.vars ? `rgba(${o.vars.palette.action.activeChannel} / ${o.vars.palette.action.hoverOpacity})` : Uo(o.palette.action.active, o.palette.action.hoverOpacity),
|
|
905
|
-
// Reset on touch devices, it doesn't add specificity
|
|
906
|
-
"@media (hover: none)": {
|
|
907
|
-
backgroundColor: "transparent"
|
|
908
|
-
}
|
|
909
|
-
}
|
|
910
|
-
}, t.edge === "start" && {
|
|
911
|
-
marginLeft: t.size === "small" ? -3 : -12
|
|
912
|
-
}, t.edge === "end" && {
|
|
913
|
-
marginRight: t.size === "small" ? -3 : -12
|
|
914
|
-
}), ({
|
|
915
|
-
theme: o,
|
|
916
|
-
ownerState: t
|
|
917
|
-
}) => {
|
|
918
|
-
var e;
|
|
919
|
-
const n = (e = (o.vars || o).palette) == null ? void 0 : e[t.color];
|
|
920
|
-
return h({}, t.color === "inherit" && {
|
|
921
|
-
color: "inherit"
|
|
922
|
-
}, t.color !== "inherit" && t.color !== "default" && h({
|
|
923
|
-
color: n == null ? void 0 : n.main
|
|
924
|
-
}, !t.disableRipple && {
|
|
925
|
-
"&:hover": h({}, n && {
|
|
926
|
-
backgroundColor: o.vars ? `rgba(${n.mainChannel} / ${o.vars.palette.action.hoverOpacity})` : Uo(n.main, o.palette.action.hoverOpacity)
|
|
927
|
-
}, {
|
|
928
|
-
// Reset on touch devices, it doesn't add specificity
|
|
929
|
-
"@media (hover: none)": {
|
|
930
|
-
backgroundColor: "transparent"
|
|
931
|
-
}
|
|
932
|
-
})
|
|
933
|
-
}), t.size === "small" && {
|
|
934
|
-
padding: 5,
|
|
935
|
-
fontSize: o.typography.pxToRem(18)
|
|
936
|
-
}, t.size === "large" && {
|
|
937
|
-
padding: 12,
|
|
938
|
-
fontSize: o.typography.pxToRem(28)
|
|
939
|
-
}, {
|
|
940
|
-
[`&.${Si.disabled}`]: {
|
|
941
|
-
backgroundColor: "transparent",
|
|
942
|
-
color: (o.vars || o).palette.action.disabled
|
|
943
|
-
}
|
|
944
|
-
});
|
|
945
|
-
}), so = /* @__PURE__ */ g.forwardRef(function(t, e) {
|
|
946
|
-
const n = Ao({
|
|
947
|
-
props: t,
|
|
948
|
-
name: "MuiIconButton"
|
|
949
|
-
}), {
|
|
950
|
-
edge: a = !1,
|
|
951
|
-
children: r,
|
|
952
|
-
className: l,
|
|
953
|
-
color: u = "default",
|
|
954
|
-
disabled: c = !1,
|
|
955
|
-
disableFocusRipple: b = !1,
|
|
956
|
-
size: M = "medium"
|
|
957
|
-
} = n, w = co(n, Ii), m = h({}, n, {
|
|
958
|
-
edge: a,
|
|
959
|
-
color: u,
|
|
960
|
-
disabled: c,
|
|
961
|
-
disableFocusRipple: b,
|
|
962
|
-
size: M
|
|
963
|
-
}), S = Ri(m);
|
|
964
|
-
return /* @__PURE__ */ d.jsx(wi, h({
|
|
965
|
-
className: j(S.root, l),
|
|
966
|
-
centerRipple: !0,
|
|
967
|
-
focusRipple: !b,
|
|
968
|
-
disabled: c,
|
|
969
|
-
ref: e
|
|
970
|
-
}, w, {
|
|
971
|
-
ownerState: m,
|
|
972
|
-
children: r
|
|
973
|
-
}));
|
|
974
|
-
});
|
|
975
|
-
process.env.NODE_ENV !== "production" && (so.propTypes = {
|
|
976
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
977
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
978
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
979
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
980
|
-
/**
|
|
981
|
-
* The icon to display.
|
|
982
|
-
*/
|
|
983
|
-
children: vt(i.node, (o) => g.Children.toArray(o.children).some((e) => /* @__PURE__ */ g.isValidElement(e) && e.props.onClick) ? new Error(["MUI: You are providing an onClick event listener to a child of a button element.", "Prefer applying it to the IconButton directly.", "This guarantees that the whole <button> will be responsive to click events."].join(`
|
|
984
|
-
`)) : null),
|
|
985
|
-
/**
|
|
986
|
-
* Override or extend the styles applied to the component.
|
|
987
|
-
*/
|
|
988
|
-
classes: i.object,
|
|
989
|
-
/**
|
|
990
|
-
* @ignore
|
|
991
|
-
*/
|
|
992
|
-
className: i.string,
|
|
993
|
-
/**
|
|
994
|
-
* The color of the component.
|
|
995
|
-
* It supports both default and custom theme colors, which can be added as shown in the
|
|
996
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
997
|
-
* @default 'default'
|
|
998
|
-
*/
|
|
999
|
-
color: i.oneOfType([i.oneOf(["inherit", "default", "primary", "secondary", "error", "info", "success", "warning"]), i.string]),
|
|
1000
|
-
/**
|
|
1001
|
-
* If `true`, the component is disabled.
|
|
1002
|
-
* @default false
|
|
1003
|
-
*/
|
|
1004
|
-
disabled: i.bool,
|
|
1005
|
-
/**
|
|
1006
|
-
* If `true`, the keyboard focus ripple is disabled.
|
|
1007
|
-
* @default false
|
|
1008
|
-
*/
|
|
1009
|
-
disableFocusRipple: i.bool,
|
|
1010
|
-
/**
|
|
1011
|
-
* If `true`, the ripple effect is disabled.
|
|
1012
|
-
*
|
|
1013
|
-
* ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
|
|
1014
|
-
* to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
|
|
1015
|
-
* @default false
|
|
1016
|
-
*/
|
|
1017
|
-
disableRipple: i.bool,
|
|
1018
|
-
/**
|
|
1019
|
-
* If given, uses a negative margin to counteract the padding on one
|
|
1020
|
-
* side (this is often helpful for aligning the left or right
|
|
1021
|
-
* side of the icon with content above or below, without ruining the border
|
|
1022
|
-
* size and shape).
|
|
1023
|
-
* @default false
|
|
1024
|
-
*/
|
|
1025
|
-
edge: i.oneOf(["end", "start", !1]),
|
|
1026
|
-
/**
|
|
1027
|
-
* The size of the component.
|
|
1028
|
-
* `small` is equivalent to the dense button styling.
|
|
1029
|
-
* @default 'medium'
|
|
1030
|
-
*/
|
|
1031
|
-
size: i.oneOfType([i.oneOf(["small", "medium", "large"]), i.string]),
|
|
1032
|
-
/**
|
|
1033
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
1034
|
-
*/
|
|
1035
|
-
sx: i.oneOfType([i.arrayOf(i.oneOfType([i.func, i.object, i.bool])), i.func, i.object])
|
|
1036
|
-
});
|
|
1037
|
-
const Ti = Co(/* @__PURE__ */ d.jsx("path", {
|
|
1038
|
-
d: "M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"
|
|
1039
|
-
}), "LastPage"), zi = Co(/* @__PURE__ */ d.jsx("path", {
|
|
1040
|
-
d: "M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"
|
|
1041
|
-
}), "FirstPage"), Oi = ["backIconButtonProps", "count", "disabled", "getItemAriaLabel", "nextIconButtonProps", "onPageChange", "page", "rowsPerPage", "showFirstButton", "showLastButton", "slots", "slotProps"], kt = /* @__PURE__ */ g.forwardRef(function(t, e) {
|
|
1042
|
-
var n, a, r, l, u, c, b, M;
|
|
1043
|
-
const {
|
|
1044
|
-
backIconButtonProps: w,
|
|
1045
|
-
count: m,
|
|
1046
|
-
disabled: S = !1,
|
|
1047
|
-
getItemAriaLabel: y,
|
|
1048
|
-
nextIconButtonProps: z,
|
|
1049
|
-
onPageChange: D,
|
|
1050
|
-
page: v,
|
|
1051
|
-
rowsPerPage: _,
|
|
1052
|
-
showFirstButton: G,
|
|
1053
|
-
showLastButton: x,
|
|
1054
|
-
slots: C = {},
|
|
1055
|
-
slotProps: f = {}
|
|
1056
|
-
} = t, V = co(t, Oi), B = ii(), Z = (k) => {
|
|
1057
|
-
D(k, 0);
|
|
1058
|
-
}, O = (k) => {
|
|
1059
|
-
D(k, v - 1);
|
|
1060
|
-
}, $ = (k) => {
|
|
1061
|
-
D(k, v + 1);
|
|
1062
|
-
}, A = (k) => {
|
|
1063
|
-
D(k, Math.max(0, Math.ceil(m / _) - 1));
|
|
1064
|
-
}, W = (n = C.firstButton) != null ? n : so, F = (a = C.lastButton) != null ? a : so, N = (r = C.nextButton) != null ? r : so, P = (l = C.previousButton) != null ? l : so, K = (u = C.firstButtonIcon) != null ? u : zi, T = (c = C.lastButtonIcon) != null ? c : Ti, uo = (b = C.nextButtonIcon) != null ? b : ri, io = (M = C.previousButtonIcon) != null ? M : ei, So = B ? F : W, Io = B ? N : P, Ro = B ? P : N, U = B ? W : F, J = B ? f.lastButton : f.firstButton, oo = B ? f.nextButton : f.previousButton, go = B ? f.previousButton : f.nextButton, eo = B ? f.firstButton : f.lastButton;
|
|
1065
|
-
return /* @__PURE__ */ d.jsxs("div", h({
|
|
1066
|
-
ref: e
|
|
1067
|
-
}, V, {
|
|
1068
|
-
children: [G && /* @__PURE__ */ d.jsx(So, h({
|
|
1069
|
-
onClick: Z,
|
|
1070
|
-
disabled: S || v === 0,
|
|
1071
|
-
"aria-label": y("first", v),
|
|
1072
|
-
title: y("first", v)
|
|
1073
|
-
}, J, {
|
|
1074
|
-
children: B ? /* @__PURE__ */ d.jsx(T, h({}, f.lastButtonIcon)) : /* @__PURE__ */ d.jsx(K, h({}, f.firstButtonIcon))
|
|
1075
|
-
})), /* @__PURE__ */ d.jsx(Io, h({
|
|
1076
|
-
onClick: O,
|
|
1077
|
-
disabled: S || v === 0,
|
|
1078
|
-
color: "inherit",
|
|
1079
|
-
"aria-label": y("previous", v),
|
|
1080
|
-
title: y("previous", v)
|
|
1081
|
-
}, oo ?? w, {
|
|
1082
|
-
children: B ? /* @__PURE__ */ d.jsx(uo, h({}, f.nextButtonIcon)) : /* @__PURE__ */ d.jsx(io, h({}, f.previousButtonIcon))
|
|
1083
|
-
})), /* @__PURE__ */ d.jsx(Ro, h({
|
|
1084
|
-
onClick: $,
|
|
1085
|
-
disabled: S || (m !== -1 ? v >= Math.ceil(m / _) - 1 : !1),
|
|
1086
|
-
color: "inherit",
|
|
1087
|
-
"aria-label": y("next", v),
|
|
1088
|
-
title: y("next", v)
|
|
1089
|
-
}, go ?? z, {
|
|
1090
|
-
children: B ? /* @__PURE__ */ d.jsx(io, h({}, f.previousButtonIcon)) : /* @__PURE__ */ d.jsx(uo, h({}, f.nextButtonIcon))
|
|
1091
|
-
})), x && /* @__PURE__ */ d.jsx(U, h({
|
|
1092
|
-
onClick: A,
|
|
1093
|
-
disabled: S || v >= Math.ceil(m / _) - 1,
|
|
1094
|
-
"aria-label": y("last", v),
|
|
1095
|
-
title: y("last", v)
|
|
1096
|
-
}, eo, {
|
|
1097
|
-
children: B ? /* @__PURE__ */ d.jsx(K, h({}, f.firstButtonIcon)) : /* @__PURE__ */ d.jsx(T, h({}, f.lastButtonIcon))
|
|
1098
|
-
}))]
|
|
1099
|
-
}));
|
|
1100
|
-
});
|
|
1101
|
-
process.env.NODE_ENV !== "production" && (kt.propTypes = {
|
|
1102
|
-
/**
|
|
1103
|
-
* Props applied to the back arrow [`IconButton`](/material-ui/api/icon-button/) element.
|
|
1104
|
-
*/
|
|
1105
|
-
backIconButtonProps: i.object,
|
|
1106
|
-
/**
|
|
1107
|
-
* The total number of rows.
|
|
1108
|
-
*/
|
|
1109
|
-
count: i.number.isRequired,
|
|
1110
|
-
/**
|
|
1111
|
-
* If `true`, the component is disabled.
|
|
1112
|
-
* @default false
|
|
1113
|
-
*/
|
|
1114
|
-
disabled: i.bool,
|
|
1115
|
-
/**
|
|
1116
|
-
* Accepts a function which returns a string value that provides a user-friendly name for the current page.
|
|
1117
|
-
*
|
|
1118
|
-
* For localization purposes, you can use the provided [translations](/material-ui/guides/localization/).
|
|
1119
|
-
*
|
|
1120
|
-
* @param {string} type The link or button type to format ('page' | 'first' | 'last' | 'next' | 'previous'). Defaults to 'page'.
|
|
1121
|
-
* @param {number} page The page number to format.
|
|
1122
|
-
* @returns {string}
|
|
1123
|
-
*/
|
|
1124
|
-
getItemAriaLabel: i.func.isRequired,
|
|
1125
|
-
/**
|
|
1126
|
-
* Props applied to the next arrow [`IconButton`](/material-ui/api/icon-button/) element.
|
|
1127
|
-
*/
|
|
1128
|
-
nextIconButtonProps: i.object,
|
|
1129
|
-
/**
|
|
1130
|
-
* Callback fired when the page is changed.
|
|
1131
|
-
*
|
|
1132
|
-
* @param {object} event The event source of the callback.
|
|
1133
|
-
* @param {number} page The page selected.
|
|
1134
|
-
*/
|
|
1135
|
-
onPageChange: i.func.isRequired,
|
|
1136
|
-
/**
|
|
1137
|
-
* The zero-based index of the current page.
|
|
1138
|
-
*/
|
|
1139
|
-
page: i.number.isRequired,
|
|
1140
|
-
/**
|
|
1141
|
-
* The number of rows per page.
|
|
1142
|
-
*/
|
|
1143
|
-
rowsPerPage: i.number.isRequired,
|
|
1144
|
-
/**
|
|
1145
|
-
* If `true`, show the first-page button.
|
|
1146
|
-
*/
|
|
1147
|
-
showFirstButton: i.bool.isRequired,
|
|
1148
|
-
/**
|
|
1149
|
-
* If `true`, show the last-page button.
|
|
1150
|
-
*/
|
|
1151
|
-
showLastButton: i.bool.isRequired,
|
|
1152
|
-
/**
|
|
1153
|
-
* The props used for each slot inside the TablePaginationActions.
|
|
1154
|
-
* @default {}
|
|
1155
|
-
*/
|
|
1156
|
-
slotProps: i.shape({
|
|
1157
|
-
firstButton: i.object,
|
|
1158
|
-
firstButtonIcon: i.object,
|
|
1159
|
-
lastButton: i.object,
|
|
1160
|
-
lastButtonIcon: i.object,
|
|
1161
|
-
nextButton: i.object,
|
|
1162
|
-
nextButtonIcon: i.object,
|
|
1163
|
-
previousButton: i.object,
|
|
1164
|
-
previousButtonIcon: i.object
|
|
1165
|
-
}),
|
|
1166
|
-
/**
|
|
1167
|
-
* The components used for each slot inside the TablePaginationActions.
|
|
1168
|
-
* Either a string to use a HTML element or a component.
|
|
1169
|
-
* @default {}
|
|
1170
|
-
*/
|
|
1171
|
-
slots: i.shape({
|
|
1172
|
-
firstButton: i.elementType,
|
|
1173
|
-
firstButtonIcon: i.elementType,
|
|
1174
|
-
lastButton: i.elementType,
|
|
1175
|
-
lastButtonIcon: i.elementType,
|
|
1176
|
-
nextButton: i.elementType,
|
|
1177
|
-
nextButtonIcon: i.elementType,
|
|
1178
|
-
previousButton: i.elementType,
|
|
1179
|
-
previousButtonIcon: i.elementType
|
|
1180
|
-
})
|
|
1181
|
-
});
|
|
1182
|
-
const St = 1, po = 0.5, ho = St + po, Pi = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-2.1 2.1S9.9 9.16 9.9 8s.94-2.1 2.1-2.1m0 9c2.97 0 6.1 1.46 6.1 2.1v1.1H5.9V17c0-.64 3.13-2.1 6.1-2.1M12 4C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4z", Jo = "50%", ot = 0.5, Li = {
|
|
1
|
+
import { Typography as V, responsiveFontSizes as N, createTheme as j } from "@mui/material";
|
|
2
|
+
import { jsxs as Z, Fragment as K, jsx as u } from "react/jsx-runtime";
|
|
3
|
+
import { alpha as b } from "@mui/material/styles";
|
|
4
|
+
import { I as n, a as r, b as g, g as a, A as C, B as s, S as k } from "../theme-constants-Cq_uocqm.js";
|
|
5
|
+
import U from "@mui/material/TablePagination/TablePaginationActions";
|
|
6
|
+
import q from "@mui/icons-material/Cancel";
|
|
7
|
+
import { A as f } from "../arrow-drop-icon-Dau5xh-6.js";
|
|
8
|
+
import { c as p } from "../paletteUtils-BEwZhrLg.js";
|
|
9
|
+
import { g as ko } from "../paletteUtils-BEwZhrLg.js";
|
|
10
|
+
import Q from "@mui/icons-material/CheckCircleOutlined";
|
|
11
|
+
import { ExpandMoreOutlined as _ } from "@mui/icons-material";
|
|
12
|
+
const $ = 1, c = 0.5, x = $ + c, X = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-2.1 2.1S9.9 9.16 9.9 8s.94-2.1 2.1-2.1m0 9c2.97 0 6.1 1.46 6.1 2.1v1.1H5.9V17c0-.64 3.13-2.1 6.1-2.1M12 4C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4z", m = "50%", S = 0.5, Y = {
|
|
1183
13
|
// Divider
|
|
1184
14
|
MuiDivider: {
|
|
1185
15
|
styleOverrides: {
|
|
@@ -1207,32 +37,32 @@ const St = 1, po = 0.5, ho = St + po, Pi = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2
|
|
|
1207
37
|
maxWidth: "240px",
|
|
1208
38
|
backgroundColor: o.palette.black[90],
|
|
1209
39
|
'.MuiTooltip-popper[data-popper-placement*="top"] &': {
|
|
1210
|
-
marginBottom: o.spacing(
|
|
40
|
+
marginBottom: o.spacing(c),
|
|
1211
41
|
"&.MuiTooltip-tooltipArrow": {
|
|
1212
|
-
marginBottom: o.spacing(
|
|
42
|
+
marginBottom: o.spacing(x)
|
|
1213
43
|
}
|
|
1214
44
|
},
|
|
1215
45
|
'.MuiTooltip-popper[data-popper-placement*="right"] &': {
|
|
1216
|
-
marginLeft: o.spacing(
|
|
46
|
+
marginLeft: o.spacing(c),
|
|
1217
47
|
"&.MuiTooltip-tooltipArrow": {
|
|
1218
|
-
marginLeft: o.spacing(
|
|
48
|
+
marginLeft: o.spacing(x)
|
|
1219
49
|
}
|
|
1220
50
|
},
|
|
1221
51
|
'.MuiTooltip-popper[data-popper-placement*="bottom"] &': {
|
|
1222
|
-
marginTop: o.spacing(
|
|
52
|
+
marginTop: o.spacing(c),
|
|
1223
53
|
"&.MuiTooltip-tooltipArrow": {
|
|
1224
|
-
marginTop: o.spacing(
|
|
54
|
+
marginTop: o.spacing(x)
|
|
1225
55
|
}
|
|
1226
56
|
},
|
|
1227
57
|
'.MuiTooltip-popper[data-popper-placement*="left"] &': {
|
|
1228
|
-
marginRight: o.spacing(
|
|
58
|
+
marginRight: o.spacing(c),
|
|
1229
59
|
"&.MuiTooltip-tooltipArrow": {
|
|
1230
|
-
marginRight: o.spacing(
|
|
60
|
+
marginRight: o.spacing(x)
|
|
1231
61
|
}
|
|
1232
62
|
}
|
|
1233
63
|
}),
|
|
1234
64
|
arrow: ({ theme: o }) => ({
|
|
1235
|
-
height: o.spacing(
|
|
65
|
+
height: o.spacing($),
|
|
1236
66
|
color: o.palette.black[90]
|
|
1237
67
|
})
|
|
1238
68
|
}
|
|
@@ -1299,20 +129,20 @@ const St = 1, po = 0.5, ho = St + po, Pi = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2
|
|
|
1299
129
|
variant: "outlined",
|
|
1300
130
|
size: "small"
|
|
1301
131
|
},
|
|
1302
|
-
labelDisplayedRows: ({ from: o, to:
|
|
1303
|
-
/* @__PURE__ */
|
|
1304
|
-
|
|
132
|
+
labelDisplayedRows: ({ from: o, to: i, count: v }) => /* @__PURE__ */ Z(K, { children: [
|
|
133
|
+
/* @__PURE__ */ u(
|
|
134
|
+
V,
|
|
1305
135
|
{
|
|
1306
136
|
component: "span",
|
|
1307
137
|
variant: "inherit",
|
|
1308
138
|
weight: "strong",
|
|
1309
139
|
color: "textPrimary",
|
|
1310
|
-
children: `${o}-${
|
|
140
|
+
children: `${o}-${i}`
|
|
1311
141
|
}
|
|
1312
142
|
),
|
|
1313
|
-
` of ${
|
|
143
|
+
` of ${v}`
|
|
1314
144
|
] }),
|
|
1315
|
-
ActionsComponent:
|
|
145
|
+
ActionsComponent: U
|
|
1316
146
|
},
|
|
1317
147
|
styleOverrides: {
|
|
1318
148
|
root: () => ({
|
|
@@ -1398,9 +228,9 @@ const St = 1, po = 0.5, ho = St + po, Pi = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2
|
|
|
1398
228
|
maxWidth: "192px",
|
|
1399
229
|
padding: o.spacing(0, 0.5),
|
|
1400
230
|
"& .MuiAvatar-root": {
|
|
1401
|
-
width:
|
|
1402
|
-
minWidth:
|
|
1403
|
-
height:
|
|
231
|
+
width: n,
|
|
232
|
+
minWidth: n,
|
|
233
|
+
height: n,
|
|
1404
234
|
margin: 0,
|
|
1405
235
|
color: o.palette.secondary.contrastText,
|
|
1406
236
|
backgroundColor: o.palette.background.paper,
|
|
@@ -1411,9 +241,9 @@ const St = 1, po = 0.5, ho = St + po, Pi = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2
|
|
|
1411
241
|
marginLeft: o.spacing(0.5)
|
|
1412
242
|
},
|
|
1413
243
|
"& img": {
|
|
1414
|
-
width:
|
|
1415
|
-
minWidth:
|
|
1416
|
-
height:
|
|
244
|
+
width: n,
|
|
245
|
+
minWidth: n,
|
|
246
|
+
height: n
|
|
1417
247
|
},
|
|
1418
248
|
"&.MuiChip-root.Mui-disabled": {
|
|
1419
249
|
color: o.palette.text.disabled,
|
|
@@ -1525,14 +355,14 @@ const St = 1, po = 0.5, ho = St + po, Pi = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2
|
|
|
1525
355
|
// Sizes
|
|
1526
356
|
sizeSmall: ({ theme: o }) => ({
|
|
1527
357
|
"& img": {
|
|
1528
|
-
width:
|
|
1529
|
-
minWidth:
|
|
1530
|
-
height:
|
|
358
|
+
width: r,
|
|
359
|
+
minWidth: r,
|
|
360
|
+
height: r
|
|
1531
361
|
},
|
|
1532
362
|
"& .MuiAvatar-root": {
|
|
1533
|
-
width:
|
|
1534
|
-
minWidth:
|
|
1535
|
-
height:
|
|
363
|
+
width: r,
|
|
364
|
+
minWidth: r,
|
|
365
|
+
height: r
|
|
1536
366
|
},
|
|
1537
367
|
"& .MuiChip-icon": {
|
|
1538
368
|
marginLeft: o.spacing(0.25)
|
|
@@ -1549,8 +379,8 @@ const St = 1, po = 0.5, ho = St + po, Pi = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2
|
|
|
1549
379
|
padding: o.spacing(0, 0.5)
|
|
1550
380
|
}),
|
|
1551
381
|
deleteIcon: () => ({
|
|
1552
|
-
width:
|
|
1553
|
-
height:
|
|
382
|
+
width: r,
|
|
383
|
+
height: r,
|
|
1554
384
|
margin: 0,
|
|
1555
385
|
marginLeft: "2px",
|
|
1556
386
|
// Forced to a non-standard value to meet with design
|
|
@@ -1611,16 +441,16 @@ const St = 1, po = 0.5, ho = St + po, Pi = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2
|
|
|
1611
441
|
backgroundColor: o.palette.default.dark
|
|
1612
442
|
},
|
|
1613
443
|
"&.MuiChip-colorSuccess": {
|
|
1614
|
-
backgroundColor:
|
|
444
|
+
backgroundColor: b(o.palette.success.main, 0.25)
|
|
1615
445
|
},
|
|
1616
446
|
"&.MuiChip-colorInfo": {
|
|
1617
|
-
backgroundColor:
|
|
447
|
+
backgroundColor: b(o.palette.info.main, 0.12)
|
|
1618
448
|
},
|
|
1619
449
|
"&.MuiChip-colorError": {
|
|
1620
|
-
backgroundColor:
|
|
450
|
+
backgroundColor: b(o.palette.error.main, 0.12)
|
|
1621
451
|
},
|
|
1622
452
|
"&.MuiChip-colorWarning": {
|
|
1623
|
-
backgroundColor:
|
|
453
|
+
backgroundColor: b(o.palette.warning.main, 0.25)
|
|
1624
454
|
}
|
|
1625
455
|
}
|
|
1626
456
|
}
|
|
@@ -1638,7 +468,7 @@ const St = 1, po = 0.5, ho = St + po, Pi = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2
|
|
|
1638
468
|
// https://github.com/mui/material-ui/issues/33229
|
|
1639
469
|
"& .MuiAvatar-fallback": {
|
|
1640
470
|
path: {
|
|
1641
|
-
d: `path('${
|
|
471
|
+
d: `path('${X}') !important`
|
|
1642
472
|
}
|
|
1643
473
|
}
|
|
1644
474
|
}),
|
|
@@ -1646,15 +476,15 @@ const St = 1, po = 0.5, ho = St + po, Pi = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2
|
|
|
1646
476
|
boxShadow: `0 0 0 1px ${o.palette.default.outlinedBorder}`
|
|
1647
477
|
}),
|
|
1648
478
|
circular: () => ({
|
|
1649
|
-
borderRadius:
|
|
479
|
+
borderRadius: m,
|
|
1650
480
|
"& img": {
|
|
1651
|
-
borderRadius:
|
|
481
|
+
borderRadius: m
|
|
1652
482
|
}
|
|
1653
483
|
}),
|
|
1654
484
|
rounded: ({ theme: o }) => ({
|
|
1655
|
-
borderRadius: o.spacing(
|
|
485
|
+
borderRadius: o.spacing(S),
|
|
1656
486
|
"& img": {
|
|
1657
|
-
borderRadius: o.spacing(
|
|
487
|
+
borderRadius: o.spacing(S)
|
|
1658
488
|
}
|
|
1659
489
|
})
|
|
1660
490
|
}
|
|
@@ -1675,17 +505,17 @@ const St = 1, po = 0.5, ho = St + po, Pi = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2
|
|
|
1675
505
|
MuiSvgIcon: {
|
|
1676
506
|
styleOverrides: {
|
|
1677
507
|
root: () => ({
|
|
1678
|
-
fontSize:
|
|
508
|
+
fontSize: r
|
|
1679
509
|
}),
|
|
1680
510
|
fontSizeSmall: () => ({
|
|
1681
|
-
fontSize:
|
|
511
|
+
fontSize: g
|
|
1682
512
|
}),
|
|
1683
513
|
fontSizeLarge: () => ({
|
|
1684
|
-
fontSize:
|
|
514
|
+
fontSize: n
|
|
1685
515
|
})
|
|
1686
516
|
}
|
|
1687
517
|
}
|
|
1688
|
-
},
|
|
518
|
+
}, I = a(2), l = a(3), e = a(4), d = a(6), B = a(0.5), J = {
|
|
1689
519
|
// Button Base
|
|
1690
520
|
MuiButtonBase: {
|
|
1691
521
|
defaultProps: {
|
|
@@ -1695,10 +525,10 @@ const St = 1, po = 0.5, ho = St + po, Pi = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2
|
|
|
1695
525
|
root: () => ({
|
|
1696
526
|
"& .MuiSvgIcon-root, & svg": {
|
|
1697
527
|
display: "flex",
|
|
1698
|
-
fontSize:
|
|
1699
|
-
width:
|
|
1700
|
-
minWidth:
|
|
1701
|
-
height:
|
|
528
|
+
fontSize: r,
|
|
529
|
+
width: r,
|
|
530
|
+
minWidth: r,
|
|
531
|
+
height: r
|
|
1702
532
|
}
|
|
1703
533
|
})
|
|
1704
534
|
}
|
|
@@ -1709,23 +539,23 @@ const St = 1, po = 0.5, ho = St + po, Pi = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2
|
|
|
1709
539
|
disableElevation: !0
|
|
1710
540
|
},
|
|
1711
541
|
styleOverrides: {
|
|
1712
|
-
root: ({ ownerState: o, theme:
|
|
542
|
+
root: ({ ownerState: o, theme: i }) => ({
|
|
1713
543
|
// maxWidth: '192px', TODO temporary disabled waiting for a design definition
|
|
1714
544
|
"&:hover, &:focus-visible": {
|
|
1715
|
-
boxShadow:
|
|
545
|
+
boxShadow: i.shadows[0],
|
|
1716
546
|
...o.variant !== "contained" && {
|
|
1717
547
|
...o.color === "primary" && {
|
|
1718
|
-
backgroundColor:
|
|
548
|
+
backgroundColor: i.palette.primary.background
|
|
1719
549
|
},
|
|
1720
550
|
...o.color === "secondary" && {
|
|
1721
|
-
backgroundColor:
|
|
551
|
+
backgroundColor: i.palette.secondary.background
|
|
1722
552
|
},
|
|
1723
553
|
...o.color === "error" && {
|
|
1724
|
-
background:
|
|
554
|
+
background: i.palette.error.relatedLight
|
|
1725
555
|
}
|
|
1726
556
|
},
|
|
1727
557
|
...o.variant === "contained" && o.color === "secondary" && {
|
|
1728
|
-
backgroundColor:
|
|
558
|
+
backgroundColor: i.palette.secondary.light
|
|
1729
559
|
}
|
|
1730
560
|
},
|
|
1731
561
|
"& svg:not(.doNotFillIcon) path": {
|
|
@@ -1733,7 +563,7 @@ const St = 1, po = 0.5, ho = St + po, Pi = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2
|
|
|
1733
563
|
},
|
|
1734
564
|
// Pairing buttons separation
|
|
1735
565
|
"& + .MuiButtonBase-root": {
|
|
1736
|
-
marginLeft:
|
|
566
|
+
marginLeft: i.spacing(1)
|
|
1737
567
|
}
|
|
1738
568
|
}),
|
|
1739
569
|
contained: ({ theme: o }) => ({
|
|
@@ -1774,10 +604,10 @@ const St = 1, po = 0.5, ho = St + po, Pi = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2
|
|
|
1774
604
|
startIcon: ({ theme: o }) => ({
|
|
1775
605
|
marginRight: o.spacing(0.75),
|
|
1776
606
|
"& .MuiSvgIcon-root, & svg": {
|
|
1777
|
-
fontSize:
|
|
1778
|
-
width:
|
|
1779
|
-
minWidth:
|
|
1780
|
-
height:
|
|
607
|
+
fontSize: r,
|
|
608
|
+
width: r,
|
|
609
|
+
minWidth: r,
|
|
610
|
+
height: r
|
|
1781
611
|
},
|
|
1782
612
|
"&.MuiButton-iconSizeSmall": {
|
|
1783
613
|
marginRight: o.spacing(0.5),
|
|
@@ -1787,43 +617,43 @@ const St = 1, po = 0.5, ho = St + po, Pi = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2
|
|
|
1787
617
|
endIcon: ({ theme: o }) => ({
|
|
1788
618
|
marginLeft: o.spacing(0.75),
|
|
1789
619
|
"& .MuiSvgIcon-root, & svg": {
|
|
1790
|
-
fontSize:
|
|
1791
|
-
width:
|
|
1792
|
-
minWidth:
|
|
1793
|
-
height:
|
|
620
|
+
fontSize: r,
|
|
621
|
+
width: r,
|
|
622
|
+
minWidth: r,
|
|
623
|
+
height: r
|
|
1794
624
|
},
|
|
1795
625
|
"&.MuiButton-iconSizeSmall": {
|
|
1796
626
|
marginLeft: o.spacing(0.5),
|
|
1797
627
|
marginRight: o.spacing(-0.5)
|
|
1798
628
|
}
|
|
1799
629
|
}),
|
|
1800
|
-
sizeSmall: ({ theme: o, ownerState:
|
|
1801
|
-
height:
|
|
630
|
+
sizeSmall: ({ theme: o, ownerState: i }) => ({
|
|
631
|
+
height: l,
|
|
1802
632
|
padding: o.spacing(0, 1.5),
|
|
1803
633
|
...o.typography.caption,
|
|
1804
|
-
lineHeight:
|
|
634
|
+
lineHeight: l,
|
|
1805
635
|
fontWeight: 500,
|
|
1806
636
|
letterSpacing: "0.4px",
|
|
1807
|
-
...
|
|
637
|
+
...i.variant === "text" && {
|
|
1808
638
|
padding: o.spacing(0, 1)
|
|
1809
639
|
}
|
|
1810
640
|
}),
|
|
1811
|
-
sizeMedium: ({ theme: o, ownerState:
|
|
1812
|
-
height:
|
|
641
|
+
sizeMedium: ({ theme: o, ownerState: i }) => ({
|
|
642
|
+
height: e,
|
|
1813
643
|
padding: o.spacing(0, 2),
|
|
1814
|
-
lineHeight:
|
|
1815
|
-
...
|
|
644
|
+
lineHeight: e,
|
|
645
|
+
...i.variant === "text" && {
|
|
1816
646
|
padding: o.spacing(0, 1)
|
|
1817
647
|
}
|
|
1818
648
|
}),
|
|
1819
|
-
sizeLarge: ({ theme: o, ownerState:
|
|
1820
|
-
height:
|
|
649
|
+
sizeLarge: ({ theme: o, ownerState: i }) => ({
|
|
650
|
+
height: d,
|
|
1821
651
|
padding: o.spacing(0, 2.5),
|
|
1822
652
|
...o.typography.body1,
|
|
1823
|
-
lineHeight:
|
|
653
|
+
lineHeight: d,
|
|
1824
654
|
fontWeight: 500,
|
|
1825
655
|
letterSpacing: "0.25px",
|
|
1826
|
-
...
|
|
656
|
+
...i.variant === "text" && {
|
|
1827
657
|
padding: o.spacing(0, 2)
|
|
1828
658
|
}
|
|
1829
659
|
})
|
|
@@ -1881,31 +711,31 @@ const St = 1, po = 0.5, ho = St + po, Pi = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2
|
|
|
1881
711
|
disableElevation: !0
|
|
1882
712
|
},
|
|
1883
713
|
styleOverrides: {
|
|
1884
|
-
root: ({ ownerState: o, theme:
|
|
714
|
+
root: ({ ownerState: o, theme: i }) => ({
|
|
1885
715
|
"& .MuiButton-root + .MuiButton-root": {
|
|
1886
716
|
marginLeft: 0
|
|
1887
717
|
},
|
|
1888
718
|
...o.variant === "text" && {
|
|
1889
|
-
boxShadow:
|
|
1890
|
-
borderColor:
|
|
719
|
+
boxShadow: i.shadows[1],
|
|
720
|
+
borderColor: i.palette.default.dark,
|
|
1891
721
|
"& .MuiButtonGroup-grouped:not(:last-of-type)": {
|
|
1892
|
-
borderColor:
|
|
722
|
+
borderColor: i.palette.default.dark
|
|
1893
723
|
}
|
|
1894
724
|
},
|
|
1895
725
|
...o.variant === "outlined" && {
|
|
1896
726
|
...o.color === "default" && {
|
|
1897
727
|
"& .MuiButtonBase-root.Mui-disabled": {
|
|
1898
|
-
borderColor:
|
|
728
|
+
borderColor: i.palette.text.primary
|
|
1899
729
|
}
|
|
1900
730
|
},
|
|
1901
731
|
...o.color === "primary" && {
|
|
1902
732
|
"& .MuiButtonBase-root.Mui-disabled": {
|
|
1903
|
-
borderColor:
|
|
733
|
+
borderColor: i.palette.primary.main
|
|
1904
734
|
}
|
|
1905
735
|
},
|
|
1906
736
|
...o.color === "secondary" && {
|
|
1907
737
|
"& .MuiButtonBase-root.Mui-disabled": {
|
|
1908
|
-
borderColor:
|
|
738
|
+
borderColor: i.palette.secondary.main
|
|
1909
739
|
}
|
|
1910
740
|
},
|
|
1911
741
|
...o.orientation !== "vertical" && {
|
|
@@ -1917,10 +747,10 @@ const St = 1, po = 0.5, ho = St + po, Pi = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2
|
|
|
1917
747
|
...o.variant === "contained" && {
|
|
1918
748
|
...o.color === "default" && {
|
|
1919
749
|
"& .MuiButtonGroup-grouped:not(:last-of-type)": {
|
|
1920
|
-
borderRightColor:
|
|
750
|
+
borderRightColor: i.palette.default.dark,
|
|
1921
751
|
"&.Mui-disabled": {
|
|
1922
752
|
...o.color === "default" && {
|
|
1923
|
-
borderColor:
|
|
753
|
+
borderColor: i.palette.default.dark
|
|
1924
754
|
}
|
|
1925
755
|
}
|
|
1926
756
|
}
|
|
@@ -1928,14 +758,14 @@ const St = 1, po = 0.5, ho = St + po, Pi = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2
|
|
|
1928
758
|
...o.color === "primary" && {
|
|
1929
759
|
"& .MuiButtonGroup-grouped:not(:last-of-type)": {
|
|
1930
760
|
"&.Mui-disabled": {
|
|
1931
|
-
borderColor:
|
|
761
|
+
borderColor: i.palette.primary.dark
|
|
1932
762
|
}
|
|
1933
763
|
}
|
|
1934
764
|
},
|
|
1935
765
|
...o.color === "secondary" && {
|
|
1936
766
|
"& .MuiButtonGroup-grouped:not(:last-of-type)": {
|
|
1937
767
|
"&.Mui-disabled": {
|
|
1938
|
-
borderColor:
|
|
768
|
+
borderColor: i.palette.secondary.dark
|
|
1939
769
|
}
|
|
1940
770
|
}
|
|
1941
771
|
}
|
|
@@ -1946,43 +776,43 @@ const St = 1, po = 0.5, ho = St + po, Pi = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2
|
|
|
1946
776
|
// Icon Button
|
|
1947
777
|
MuiIconButton: {
|
|
1948
778
|
styleOverrides: {
|
|
1949
|
-
root: ({ ownerState: o, theme:
|
|
1950
|
-
borderRadius:
|
|
779
|
+
root: ({ ownerState: o, theme: i }) => ({
|
|
780
|
+
borderRadius: i.spacing(0.5),
|
|
1951
781
|
...o.color === "default" && {
|
|
1952
|
-
color:
|
|
782
|
+
color: i.palette.text.secondary
|
|
1953
783
|
},
|
|
1954
784
|
"& .MuiSvgIcon-root, & svg": {
|
|
1955
|
-
fontSize:
|
|
1956
|
-
width:
|
|
1957
|
-
minWidth:
|
|
1958
|
-
height:
|
|
785
|
+
fontSize: r,
|
|
786
|
+
width: r,
|
|
787
|
+
minWidth: r,
|
|
788
|
+
height: r
|
|
1959
789
|
},
|
|
1960
790
|
"& svg:not(.doNotFillIcon) path": {
|
|
1961
791
|
fill: "currentColor"
|
|
1962
792
|
},
|
|
1963
793
|
"&:hover, &:focus-visible": {
|
|
1964
794
|
...o.color === "default" && {
|
|
1965
|
-
backgroundColor:
|
|
795
|
+
backgroundColor: i.palette.action.hover
|
|
1966
796
|
},
|
|
1967
797
|
...o.color === "primary" && {
|
|
1968
|
-
backgroundColor:
|
|
798
|
+
backgroundColor: i.palette.primary.background
|
|
1969
799
|
},
|
|
1970
800
|
...o.color === "secondary" && {
|
|
1971
|
-
backgroundColor:
|
|
801
|
+
backgroundColor: i.palette.secondary.background
|
|
1972
802
|
}
|
|
1973
803
|
}
|
|
1974
804
|
}),
|
|
1975
805
|
sizeSmall: () => ({
|
|
1976
|
-
width:
|
|
1977
|
-
height:
|
|
806
|
+
width: l,
|
|
807
|
+
height: l
|
|
1978
808
|
}),
|
|
1979
809
|
sizeMedium: () => ({
|
|
1980
|
-
width:
|
|
1981
|
-
height:
|
|
810
|
+
width: e,
|
|
811
|
+
height: e
|
|
1982
812
|
}),
|
|
1983
813
|
sizeLarge: () => ({
|
|
1984
|
-
width:
|
|
1985
|
-
height:
|
|
814
|
+
width: d,
|
|
815
|
+
height: d
|
|
1986
816
|
})
|
|
1987
817
|
},
|
|
1988
818
|
variants: [
|
|
@@ -1990,13 +820,13 @@ const St = 1, po = 0.5, ho = St + po, Pi = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2
|
|
|
1990
820
|
{
|
|
1991
821
|
props: { size: "xsmall" },
|
|
1992
822
|
style: () => ({
|
|
1993
|
-
width:
|
|
1994
|
-
height:
|
|
823
|
+
width: I,
|
|
824
|
+
height: I,
|
|
1995
825
|
"& .MuiSvgIcon-root, & svg": {
|
|
1996
|
-
fontSize:
|
|
1997
|
-
width:
|
|
1998
|
-
minWidth:
|
|
1999
|
-
height:
|
|
826
|
+
fontSize: g,
|
|
827
|
+
width: g,
|
|
828
|
+
minWidth: g,
|
|
829
|
+
height: g
|
|
2000
830
|
}
|
|
2001
831
|
})
|
|
2002
832
|
}
|
|
@@ -2006,12 +836,12 @@ const St = 1, po = 0.5, ho = St + po, Pi = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2
|
|
|
2006
836
|
MuiToggleButton: {
|
|
2007
837
|
styleOverrides: {
|
|
2008
838
|
root: ({ theme: o }) => ({
|
|
2009
|
-
minWidth:
|
|
2010
|
-
height:
|
|
839
|
+
minWidth: e,
|
|
840
|
+
height: e,
|
|
2011
841
|
padding: o.spacing(0, 1),
|
|
2012
842
|
color: o.palette.text.secondary,
|
|
2013
843
|
border: "none",
|
|
2014
|
-
borderRadius:
|
|
844
|
+
borderRadius: B,
|
|
2015
845
|
transition: "background-color 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms",
|
|
2016
846
|
"&:hover": {
|
|
2017
847
|
backgroundColor: o.palette.action.hover
|
|
@@ -2035,13 +865,13 @@ const St = 1, po = 0.5, ho = St + po, Pi = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2
|
|
|
2035
865
|
}
|
|
2036
866
|
}),
|
|
2037
867
|
sizeLarge: ({ theme: o }) => ({
|
|
2038
|
-
minWidth:
|
|
2039
|
-
height:
|
|
868
|
+
minWidth: d,
|
|
869
|
+
height: d,
|
|
2040
870
|
...o.typography.body1
|
|
2041
871
|
}),
|
|
2042
872
|
sizeSmall: ({ theme: o }) => ({
|
|
2043
|
-
minWidth:
|
|
2044
|
-
height:
|
|
873
|
+
minWidth: l,
|
|
874
|
+
height: l,
|
|
2045
875
|
...o.typography.caption,
|
|
2046
876
|
fontWeight: 500
|
|
2047
877
|
})
|
|
@@ -2061,32 +891,32 @@ const St = 1, po = 0.5, ho = St + po, Pi = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2
|
|
|
2061
891
|
boxShadow: o.shadows[1],
|
|
2062
892
|
backgroundColor: o.palette.background.paper,
|
|
2063
893
|
"& .MuiToggleButtonGroup-grouped:not(:first-of-type), &.Mui-Selected, & .MuiToggleButtonGroup-grouped:not(:last-of-type)": {
|
|
2064
|
-
borderRadius:
|
|
894
|
+
borderRadius: B
|
|
2065
895
|
},
|
|
2066
896
|
".MuiDivider-root": {
|
|
2067
897
|
"&.MuiToggleButtonGroup-groupedHorizontal": {
|
|
2068
|
-
height:
|
|
898
|
+
height: d,
|
|
2069
899
|
margin: o.spacing(0, 1),
|
|
2070
900
|
marginLeft: o.spacing(0.5)
|
|
2071
901
|
},
|
|
2072
902
|
"&.MuiToggleButtonGroup-groupedVertical": {
|
|
2073
|
-
width:
|
|
903
|
+
width: d,
|
|
2074
904
|
margin: o.spacing(1, 0),
|
|
2075
905
|
marginTop: o.spacing(0.5)
|
|
2076
906
|
}
|
|
2077
907
|
},
|
|
2078
908
|
".MuiToggleButton-sizeSmall": {
|
|
2079
909
|
"& + .MuiDivider-root.MuiToggleButtonGroup-groupedHorizontal": {
|
|
2080
|
-
height:
|
|
910
|
+
height: e
|
|
2081
911
|
},
|
|
2082
912
|
"& + .MuiDivider-root.MuiToggleButtonGroup-groupedVertical": {
|
|
2083
|
-
width:
|
|
913
|
+
width: e
|
|
2084
914
|
}
|
|
2085
915
|
}
|
|
2086
916
|
}),
|
|
2087
917
|
// Styles applied to the children if orientation="horizontal"
|
|
2088
918
|
groupedHorizontal: ({ theme: o }) => ({
|
|
2089
|
-
height:
|
|
919
|
+
height: e,
|
|
2090
920
|
margin: o.spacing(1),
|
|
2091
921
|
"&:not(:last-of-type)": {
|
|
2092
922
|
marginRight: o.spacing(0.5),
|
|
@@ -2097,7 +927,7 @@ const St = 1, po = 0.5, ho = St + po, Pi = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2
|
|
|
2097
927
|
marginLeft: o.spacing(1)
|
|
2098
928
|
},
|
|
2099
929
|
"&.MuiToggleButton-sizeSmall:not(.MuiDivider-root)": {
|
|
2100
|
-
height:
|
|
930
|
+
height: l,
|
|
2101
931
|
margin: o.spacing(0.5),
|
|
2102
932
|
"&:not(:first-of-type)": {
|
|
2103
933
|
marginLeft: 0
|
|
@@ -2106,7 +936,7 @@ const St = 1, po = 0.5, ho = St + po, Pi = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2
|
|
|
2106
936
|
}),
|
|
2107
937
|
// Styles applied to the children if orientation="vertical"
|
|
2108
938
|
groupedVertical: ({ theme: o }) => ({
|
|
2109
|
-
width:
|
|
939
|
+
width: e,
|
|
2110
940
|
margin: o.spacing(1),
|
|
2111
941
|
"&.MuiToggleButton-root": {
|
|
2112
942
|
marginLeft: o.spacing(1),
|
|
@@ -2116,7 +946,7 @@ const St = 1, po = 0.5, ho = St + po, Pi = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2
|
|
|
2116
946
|
}
|
|
2117
947
|
},
|
|
2118
948
|
"&.MuiToggleButton-sizeSmall": {
|
|
2119
|
-
width:
|
|
949
|
+
width: l,
|
|
2120
950
|
margin: o.spacing(0.5),
|
|
2121
951
|
"&:not(:first-of-type)": {
|
|
2122
952
|
marginTop: 0
|
|
@@ -2134,32 +964,32 @@ const St = 1, po = 0.5, ho = St + po, Pi = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2
|
|
|
2134
964
|
color: "primary"
|
|
2135
965
|
},
|
|
2136
966
|
styleOverrides: {
|
|
2137
|
-
root: ({ ownerState: o, theme:
|
|
967
|
+
root: ({ ownerState: o, theme: i }) => ({
|
|
2138
968
|
"&:focus": {
|
|
2139
|
-
boxShadow:
|
|
969
|
+
boxShadow: i.shadows[6]
|
|
2140
970
|
},
|
|
2141
971
|
"& .MuiSvgIcon-root, & svg": {
|
|
2142
|
-
fontSize:
|
|
2143
|
-
width:
|
|
2144
|
-
minWidth:
|
|
2145
|
-
height:
|
|
972
|
+
fontSize: n,
|
|
973
|
+
width: n,
|
|
974
|
+
minWidth: n,
|
|
975
|
+
height: n
|
|
2146
976
|
},
|
|
2147
977
|
"&.MuiFab-extended": {
|
|
2148
|
-
...
|
|
978
|
+
...i.typography.body1,
|
|
2149
979
|
fontWeight: 500,
|
|
2150
980
|
width: "auto",
|
|
2151
|
-
height:
|
|
2152
|
-
paddingRight:
|
|
2153
|
-
borderRadius:
|
|
981
|
+
height: i.spacing(7),
|
|
982
|
+
paddingRight: i.spacing(3),
|
|
983
|
+
borderRadius: i.spacing(8),
|
|
2154
984
|
"& .MuiSvgIcon-root": {
|
|
2155
|
-
marginRight:
|
|
985
|
+
marginRight: i.spacing(1.5)
|
|
2156
986
|
}
|
|
2157
987
|
},
|
|
2158
988
|
...o.color === "default" && {
|
|
2159
|
-
color:
|
|
2160
|
-
backgroundColor:
|
|
989
|
+
color: i.palette.text.primary,
|
|
990
|
+
backgroundColor: i.palette.background.paper,
|
|
2161
991
|
"&:hover, &:focus-visible": {
|
|
2162
|
-
backgroundColor:
|
|
992
|
+
backgroundColor: i.palette.default.light
|
|
2163
993
|
}
|
|
2164
994
|
}
|
|
2165
995
|
}),
|
|
@@ -2168,10 +998,10 @@ const St = 1, po = 0.5, ho = St + po, Pi = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2
|
|
|
2168
998
|
height: o.spacing(4),
|
|
2169
999
|
minHeight: o.spacing(4),
|
|
2170
1000
|
"& .MuiSvgIcon-root, & svg": {
|
|
2171
|
-
fontSize:
|
|
2172
|
-
width:
|
|
2173
|
-
minWidth:
|
|
2174
|
-
height:
|
|
1001
|
+
fontSize: r,
|
|
1002
|
+
width: r,
|
|
1003
|
+
minWidth: r,
|
|
1004
|
+
height: r
|
|
2175
1005
|
},
|
|
2176
1006
|
"&.MuiFab-extended": {
|
|
2177
1007
|
...o.typography.caption,
|
|
@@ -2196,53 +1026,44 @@ const St = 1, po = 0.5, ho = St + po, Pi = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2
|
|
|
2196
1026
|
})
|
|
2197
1027
|
}
|
|
2198
1028
|
}
|
|
2199
|
-
}
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
value: !0
|
|
2203
|
-
});
|
|
2204
|
-
var It = Do.default = void 0, Wi = Ai(yt()), Fi = d;
|
|
2205
|
-
It = Do.default = (0, Wi.default)(/* @__PURE__ */ (0, Fi.jsx)("path", {
|
|
2206
|
-
d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"
|
|
2207
|
-
}), "Cancel");
|
|
2208
|
-
const yo = 2.25, Mo = 3, et = 2, rt = 3, nt = 4, at = {
|
|
2209
|
-
root: ({ ownerState: o, theme: t }) => ({
|
|
2210
|
-
padding: t.spacing(0.5),
|
|
1029
|
+
}, M = 2.25, y = 3, w = 2, z = 3, O = 4, T = {
|
|
1030
|
+
root: ({ ownerState: o, theme: i }) => ({
|
|
1031
|
+
padding: i.spacing(0.5),
|
|
2211
1032
|
...o.size === "small" && {
|
|
2212
1033
|
padding: "3px"
|
|
2213
1034
|
// Forced to a non-standard value to meet with design
|
|
2214
1035
|
},
|
|
2215
1036
|
...o.readOnly === !0 && {
|
|
2216
1037
|
pointerEvents: "none",
|
|
2217
|
-
color:
|
|
1038
|
+
color: i.palette.text.disabled,
|
|
2218
1039
|
"&.Mui-checked": {
|
|
2219
|
-
color:
|
|
1040
|
+
color: i.palette.text.disabled
|
|
2220
1041
|
}
|
|
2221
1042
|
},
|
|
2222
1043
|
"&:hover, &:focus-visible": {
|
|
2223
|
-
backgroundColor:
|
|
1044
|
+
backgroundColor: i.palette.primary.background
|
|
2224
1045
|
},
|
|
2225
1046
|
"& + .MuiFormControlLabel-label": {
|
|
2226
|
-
...
|
|
2227
|
-
marginLeft:
|
|
1047
|
+
...i.typography.body2,
|
|
1048
|
+
marginLeft: i.spacing(0.25),
|
|
2228
1049
|
...o.size === "small" && {
|
|
2229
|
-
marginLeft:
|
|
1050
|
+
marginLeft: i.spacing(0.5)
|
|
2230
1051
|
}
|
|
2231
1052
|
},
|
|
2232
1053
|
"& .MuiSvgIcon-root": {
|
|
2233
|
-
fontSize:
|
|
2234
|
-
width:
|
|
2235
|
-
minWidth:
|
|
2236
|
-
height:
|
|
1054
|
+
fontSize: i.spacing(y),
|
|
1055
|
+
width: i.spacing(y),
|
|
1056
|
+
minWidth: i.spacing(y),
|
|
1057
|
+
height: i.spacing(y),
|
|
2237
1058
|
...o.size === "small" && {
|
|
2238
|
-
fontSize:
|
|
2239
|
-
width:
|
|
2240
|
-
minWidth:
|
|
2241
|
-
height:
|
|
1059
|
+
fontSize: i.spacing(M),
|
|
1060
|
+
width: i.spacing(M),
|
|
1061
|
+
minWidth: i.spacing(M),
|
|
1062
|
+
height: i.spacing(M)
|
|
2242
1063
|
}
|
|
2243
1064
|
}
|
|
2244
1065
|
})
|
|
2245
|
-
},
|
|
1066
|
+
}, R = {
|
|
2246
1067
|
root: ({ theme: o }) => ({
|
|
2247
1068
|
position: "static",
|
|
2248
1069
|
transform: "none",
|
|
@@ -2274,14 +1095,14 @@ const yo = 2.25, Mo = 3, et = 2, rt = 3, nt = 4, at = {
|
|
|
2274
1095
|
}
|
|
2275
1096
|
}
|
|
2276
1097
|
})
|
|
2277
|
-
},
|
|
1098
|
+
}, oo = {
|
|
2278
1099
|
// Checkbox
|
|
2279
1100
|
MuiCheckbox: {
|
|
2280
1101
|
defaultProps: {
|
|
2281
1102
|
size: "small"
|
|
2282
1103
|
},
|
|
2283
1104
|
styleOverrides: {
|
|
2284
|
-
...
|
|
1105
|
+
...T
|
|
2285
1106
|
}
|
|
2286
1107
|
},
|
|
2287
1108
|
// Radio Button
|
|
@@ -2290,7 +1111,7 @@ const yo = 2.25, Mo = 3, et = 2, rt = 3, nt = 4, at = {
|
|
|
2290
1111
|
size: "small"
|
|
2291
1112
|
},
|
|
2292
1113
|
styleOverrides: {
|
|
2293
|
-
...
|
|
1114
|
+
...T
|
|
2294
1115
|
}
|
|
2295
1116
|
},
|
|
2296
1117
|
// Text Field
|
|
@@ -2302,12 +1123,12 @@ const yo = 2.25, Mo = 3, et = 2, rt = 3, nt = 4, at = {
|
|
|
2302
1123
|
shrink: !0
|
|
2303
1124
|
},
|
|
2304
1125
|
SelectProps: {
|
|
2305
|
-
IconComponent:
|
|
1126
|
+
IconComponent: f,
|
|
2306
1127
|
size: "small"
|
|
2307
1128
|
}
|
|
2308
1129
|
},
|
|
2309
1130
|
styleOverrides: {
|
|
2310
|
-
root: ({ ownerState: o, theme:
|
|
1131
|
+
root: ({ ownerState: o, theme: i }) => ({
|
|
2311
1132
|
"& legend": {
|
|
2312
1133
|
display: "none"
|
|
2313
1134
|
},
|
|
@@ -2319,13 +1140,13 @@ const yo = 2.25, Mo = 3, et = 2, rt = 3, nt = 4, at = {
|
|
|
2319
1140
|
padding: 0
|
|
2320
1141
|
},
|
|
2321
1142
|
"& .MuiInputAdornment-positionEnd": {
|
|
2322
|
-
marginRight:
|
|
1143
|
+
marginRight: i.spacing(3)
|
|
2323
1144
|
},
|
|
2324
1145
|
"& .MuiSelect-select": {
|
|
2325
|
-
padding:
|
|
1146
|
+
padding: i.spacing(1.5),
|
|
2326
1147
|
"&.MuiInputBase-input": {
|
|
2327
|
-
paddingLeft:
|
|
2328
|
-
paddingRight:
|
|
1148
|
+
paddingLeft: i.spacing(2),
|
|
1149
|
+
paddingRight: i.spacing(5),
|
|
2329
1150
|
"&.MuiSelect-standard": {
|
|
2330
1151
|
paddingLeft: 0
|
|
2331
1152
|
}
|
|
@@ -2340,8 +1161,8 @@ const yo = 2.25, Mo = 3, et = 2, rt = 3, nt = 4, at = {
|
|
|
2340
1161
|
}
|
|
2341
1162
|
},
|
|
2342
1163
|
"& .MuiSelect-icon": {
|
|
2343
|
-
right:
|
|
2344
|
-
color:
|
|
1164
|
+
right: i.spacing(2),
|
|
1165
|
+
color: i.palette.text.secondary
|
|
2345
1166
|
},
|
|
2346
1167
|
"& .MuiSelect-iconStandard": {
|
|
2347
1168
|
right: 0
|
|
@@ -2352,18 +1173,18 @@ const yo = 2.25, Mo = 3, et = 2, rt = 3, nt = 4, at = {
|
|
|
2352
1173
|
padding: 0
|
|
2353
1174
|
},
|
|
2354
1175
|
"& .MuiSelect-select": {
|
|
2355
|
-
...
|
|
2356
|
-
padding:
|
|
1176
|
+
...i.typography.body2,
|
|
1177
|
+
padding: i.spacing(0.75),
|
|
2357
1178
|
"&.MuiInputBase-input": {
|
|
2358
|
-
paddingLeft:
|
|
2359
|
-
paddingRight:
|
|
1179
|
+
paddingLeft: i.spacing(1.5),
|
|
1180
|
+
paddingRight: i.spacing(4)
|
|
2360
1181
|
}
|
|
2361
1182
|
},
|
|
2362
1183
|
"&.MuiOutlinedInput-root.MuiInputBase-sizeSmall": {
|
|
2363
1184
|
padding: 0
|
|
2364
1185
|
},
|
|
2365
1186
|
"& .MuiSelect-icon": {
|
|
2366
|
-
right:
|
|
1187
|
+
right: i.spacing(1.5)
|
|
2367
1188
|
}
|
|
2368
1189
|
}
|
|
2369
1190
|
}
|
|
@@ -2584,10 +1405,10 @@ const yo = 2.25, Mo = 3, et = 2, rt = 3, nt = 4, at = {
|
|
|
2584
1405
|
marginTop: 0
|
|
2585
1406
|
},
|
|
2586
1407
|
"& .MuiSvgIcon-root, & svg": {
|
|
2587
|
-
fontSize:
|
|
2588
|
-
width:
|
|
2589
|
-
minWidth:
|
|
2590
|
-
height:
|
|
1408
|
+
fontSize: r,
|
|
1409
|
+
width: r,
|
|
1410
|
+
minWidth: r,
|
|
1411
|
+
height: r,
|
|
2591
1412
|
color: o.palette.text.secondary
|
|
2592
1413
|
},
|
|
2593
1414
|
".Mui-disabled &": {
|
|
@@ -2607,10 +1428,10 @@ const yo = 2.25, Mo = 3, et = 2, rt = 3, nt = 4, at = {
|
|
|
2607
1428
|
// Form Control Label (radio, checkbox and switch wrapper)
|
|
2608
1429
|
MuiFormControlLabel: {
|
|
2609
1430
|
styleOverrides: {
|
|
2610
|
-
root: ({ ownerState: o, theme:
|
|
2611
|
-
marginLeft:
|
|
1431
|
+
root: ({ ownerState: o, theme: i }) => ({
|
|
1432
|
+
marginLeft: i.spacing(-0.5),
|
|
2612
1433
|
"& .MuiSwitch-root": {
|
|
2613
|
-
marginLeft:
|
|
1434
|
+
marginLeft: i.spacing(0.5)
|
|
2614
1435
|
},
|
|
2615
1436
|
...o.readOnly === !0 && {
|
|
2616
1437
|
pointerEvents: "none"
|
|
@@ -2630,18 +1451,18 @@ const yo = 2.25, Mo = 3, et = 2, rt = 3, nt = 4, at = {
|
|
|
2630
1451
|
// Label
|
|
2631
1452
|
MuiInputLabel: {
|
|
2632
1453
|
styleOverrides: {
|
|
2633
|
-
...
|
|
1454
|
+
...R
|
|
2634
1455
|
}
|
|
2635
1456
|
},
|
|
2636
1457
|
MuiFormLabel: {
|
|
2637
1458
|
styleOverrides: {
|
|
2638
|
-
...
|
|
1459
|
+
...R
|
|
2639
1460
|
}
|
|
2640
1461
|
},
|
|
2641
1462
|
// Select
|
|
2642
1463
|
MuiSelect: {
|
|
2643
1464
|
defaultProps: {
|
|
2644
|
-
IconComponent:
|
|
1465
|
+
IconComponent: f,
|
|
2645
1466
|
fullWidth: !0,
|
|
2646
1467
|
size: "small"
|
|
2647
1468
|
},
|
|
@@ -2724,8 +1545,8 @@ const yo = 2.25, Mo = 3, et = 2, rt = 3, nt = 4, at = {
|
|
|
2724
1545
|
defaultProps: {
|
|
2725
1546
|
size: "small",
|
|
2726
1547
|
fullWidth: !0,
|
|
2727
|
-
popupIcon: /* @__PURE__ */
|
|
2728
|
-
clearIcon: /* @__PURE__ */
|
|
1548
|
+
popupIcon: /* @__PURE__ */ u(f, {}),
|
|
1549
|
+
clearIcon: /* @__PURE__ */ u(q, { "data-testid": "cancel-icon-autocomplete" }),
|
|
2729
1550
|
ChipProps: { color: "default" },
|
|
2730
1551
|
limitTags: 1,
|
|
2731
1552
|
componentsProps: {
|
|
@@ -2735,36 +1556,36 @@ const yo = 2.25, Mo = 3, et = 2, rt = 3, nt = 4, at = {
|
|
|
2735
1556
|
}
|
|
2736
1557
|
},
|
|
2737
1558
|
styleOverrides: {
|
|
2738
|
-
root: ({ ownerState: o, theme:
|
|
1559
|
+
root: ({ ownerState: o, theme: i }) => ({
|
|
2739
1560
|
"&.MuiAutocomplete-root .MuiFormControl-root": {
|
|
2740
1561
|
//Needed to overide Mui default styles
|
|
2741
1562
|
".MuiInputBase-root": {
|
|
2742
|
-
gap:
|
|
1563
|
+
gap: i.spacing(0.5),
|
|
2743
1564
|
height: "auto",
|
|
2744
|
-
minHeight:
|
|
2745
|
-
padding:
|
|
2746
|
-
paddingRight:
|
|
1565
|
+
minHeight: i.spacing(6),
|
|
1566
|
+
padding: i.spacing(1, 2),
|
|
1567
|
+
paddingRight: i.spacing(5),
|
|
2747
1568
|
".MuiInputBase-input": {
|
|
2748
1569
|
padding: 0
|
|
2749
1570
|
},
|
|
2750
1571
|
// Multiple
|
|
2751
1572
|
...o.multiple === !0 && {
|
|
2752
|
-
paddingLeft:
|
|
1573
|
+
paddingLeft: i.spacing(1),
|
|
2753
1574
|
".MuiInputBase-input": {
|
|
2754
1575
|
padding: 0,
|
|
2755
|
-
marginLeft:
|
|
1576
|
+
marginLeft: i.spacing(1)
|
|
2756
1577
|
}
|
|
2757
1578
|
},
|
|
2758
1579
|
...o.size === "small" && {
|
|
2759
|
-
minHeight:
|
|
2760
|
-
padding:
|
|
2761
|
-
paddingRight:
|
|
1580
|
+
minHeight: i.spacing(4),
|
|
1581
|
+
padding: i.spacing(0.5, 1.5),
|
|
1582
|
+
paddingRight: i.spacing(4),
|
|
2762
1583
|
...o.multiple === !0 && {
|
|
2763
|
-
paddingLeft:
|
|
1584
|
+
paddingLeft: i.spacing(0.5)
|
|
2764
1585
|
}
|
|
2765
1586
|
},
|
|
2766
1587
|
...o.readOnly === !0 && {
|
|
2767
|
-
backgroundColor:
|
|
1588
|
+
backgroundColor: i.palette.default.background
|
|
2768
1589
|
},
|
|
2769
1590
|
"&.Mui-disabled": {
|
|
2770
1591
|
pointerEvents: "none"
|
|
@@ -2773,13 +1594,13 @@ const yo = 2.25, Mo = 3, et = 2, rt = 3, nt = 4, at = {
|
|
|
2773
1594
|
// Variants
|
|
2774
1595
|
".MuiFilledInput-root .MuiAutocomplete-tag": {
|
|
2775
1596
|
backgroundColor: "transparent",
|
|
2776
|
-
border: `1px solid ${
|
|
1597
|
+
border: `1px solid ${i.palette.default.main}`
|
|
2777
1598
|
}
|
|
2778
1599
|
},
|
|
2779
1600
|
"&.MuiAutocomplete-hasClearIcon .MuiFormControl-root .MuiInputBase-root": {
|
|
2780
|
-
paddingRight:
|
|
1601
|
+
paddingRight: i.spacing(8.5),
|
|
2781
1602
|
...o.size === "small" && {
|
|
2782
|
-
paddingRight:
|
|
1603
|
+
paddingRight: i.spacing(7)
|
|
2783
1604
|
}
|
|
2784
1605
|
}
|
|
2785
1606
|
}),
|
|
@@ -2800,17 +1621,17 @@ const yo = 2.25, Mo = 3, et = 2, rt = 3, nt = 4, at = {
|
|
|
2800
1621
|
marginRight: o.spacing(0.5)
|
|
2801
1622
|
}
|
|
2802
1623
|
}),
|
|
2803
|
-
clearIndicator: ({ ownerState: o, theme:
|
|
1624
|
+
clearIndicator: ({ ownerState: o, theme: i }) => ({
|
|
2804
1625
|
marginRight: 0,
|
|
2805
|
-
color:
|
|
1626
|
+
color: i.palette.text.hint,
|
|
2806
1627
|
...o.size === "small" && {
|
|
2807
|
-
width:
|
|
2808
|
-
height:
|
|
1628
|
+
width: i.spacing(3),
|
|
1629
|
+
height: i.spacing(3)
|
|
2809
1630
|
}
|
|
2810
1631
|
}),
|
|
2811
1632
|
popupIndicator: ({ theme: o }) => ({
|
|
2812
|
-
width:
|
|
2813
|
-
height:
|
|
1633
|
+
width: r,
|
|
1634
|
+
height: r,
|
|
2814
1635
|
cursor: "text",
|
|
2815
1636
|
"&:hover": {
|
|
2816
1637
|
backgroundColor: "transparent"
|
|
@@ -2825,62 +1646,62 @@ const yo = 2.25, Mo = 3, et = 2, rt = 3, nt = 4, at = {
|
|
|
2825
1646
|
color: o.palette.text.disabled
|
|
2826
1647
|
}
|
|
2827
1648
|
}),
|
|
2828
|
-
tag: ({ ownerState: o, theme:
|
|
1649
|
+
tag: ({ ownerState: o, theme: i }) => ({
|
|
2829
1650
|
margin: 0,
|
|
2830
1651
|
"&:not(.MuiButtonBase-root)": {
|
|
2831
1652
|
display: "flex",
|
|
2832
1653
|
alignItems: "center",
|
|
2833
|
-
height:
|
|
2834
|
-
padding:
|
|
2835
|
-
backgroundColor:
|
|
2836
|
-
borderRadius:
|
|
2837
|
-
...
|
|
2838
|
-
fontWeight:
|
|
1654
|
+
height: i.spacing(4),
|
|
1655
|
+
padding: i.spacing(0, 1.5),
|
|
1656
|
+
backgroundColor: i.palette.default.main,
|
|
1657
|
+
borderRadius: i.spacing(2),
|
|
1658
|
+
...i.typography.button,
|
|
1659
|
+
fontWeight: i.typography.fontWeightMedium,
|
|
2839
1660
|
...o.size === "small" && {
|
|
2840
|
-
height:
|
|
2841
|
-
padding:
|
|
2842
|
-
borderRadius:
|
|
2843
|
-
...
|
|
2844
|
-
fontWeight:
|
|
1661
|
+
height: i.spacing(3),
|
|
1662
|
+
padding: i.spacing(0, 1),
|
|
1663
|
+
borderRadius: i.spacing(1.5),
|
|
1664
|
+
...i.typography.caption,
|
|
1665
|
+
fontWeight: i.typography.fontWeightMedium
|
|
2845
1666
|
}
|
|
2846
1667
|
}
|
|
2847
1668
|
}),
|
|
2848
|
-
option: ({ ownerState: o, theme:
|
|
1669
|
+
option: ({ ownerState: o, theme: i }) => ({
|
|
2849
1670
|
"&.MuiAutocomplete-option": {
|
|
2850
|
-
minHeight:
|
|
2851
|
-
padding:
|
|
2852
|
-
...
|
|
1671
|
+
minHeight: i.spacing(4),
|
|
1672
|
+
padding: i.spacing(0.5, 2),
|
|
1673
|
+
...i.typography.body2,
|
|
2853
1674
|
transition: "background-color 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms",
|
|
2854
1675
|
"&:hover": {
|
|
2855
|
-
backgroundColor:
|
|
1676
|
+
backgroundColor: i.palette.action.hover
|
|
2856
1677
|
},
|
|
2857
1678
|
'&[aria-selected="true"]': {
|
|
2858
|
-
color:
|
|
2859
|
-
backgroundColor:
|
|
1679
|
+
color: i.palette.primary.main,
|
|
1680
|
+
backgroundColor: i.palette.primary.background,
|
|
2860
1681
|
".MuiTypography-root": {
|
|
2861
|
-
color:
|
|
1682
|
+
color: i.palette.primary.main
|
|
2862
1683
|
},
|
|
2863
1684
|
".MuiTypography-caption": {
|
|
2864
|
-
color:
|
|
1685
|
+
color: i.palette.text.secondary
|
|
2865
1686
|
},
|
|
2866
1687
|
"&.Mui-focused:hover": {
|
|
2867
|
-
backgroundColor:
|
|
1688
|
+
backgroundColor: i.palette.action.hover
|
|
2868
1689
|
}
|
|
2869
1690
|
},
|
|
2870
1691
|
"&:first-of-type": {
|
|
2871
|
-
marginTop:
|
|
1692
|
+
marginTop: i.spacing(1)
|
|
2872
1693
|
},
|
|
2873
1694
|
...o.size === "small" && {
|
|
2874
|
-
padding:
|
|
1695
|
+
padding: i.spacing(0.5, 1.5)
|
|
2875
1696
|
}
|
|
2876
1697
|
}
|
|
2877
1698
|
}),
|
|
2878
|
-
noOptions: ({ ownerState: o, theme:
|
|
2879
|
-
padding:
|
|
2880
|
-
...
|
|
2881
|
-
color:
|
|
1699
|
+
noOptions: ({ ownerState: o, theme: i }) => ({
|
|
1700
|
+
padding: i.spacing(2.5, 2),
|
|
1701
|
+
...i.typography.body2,
|
|
1702
|
+
color: i.palette.text.secondary,
|
|
2882
1703
|
...o.size === "small" && {
|
|
2883
|
-
padding:
|
|
1704
|
+
padding: i.spacing(2, 1.5)
|
|
2884
1705
|
}
|
|
2885
1706
|
}),
|
|
2886
1707
|
listbox: ({ theme: o }) => ({
|
|
@@ -2904,8 +1725,8 @@ const yo = 2.25, Mo = 3, et = 2, rt = 3, nt = 4, at = {
|
|
|
2904
1725
|
},
|
|
2905
1726
|
styleOverrides: {
|
|
2906
1727
|
root: ({ theme: o }) => ({
|
|
2907
|
-
width: o.spacing(
|
|
2908
|
-
height: o.spacing(
|
|
1728
|
+
width: o.spacing(z),
|
|
1729
|
+
height: o.spacing(w),
|
|
2909
1730
|
padding: 0,
|
|
2910
1731
|
overflow: "visible",
|
|
2911
1732
|
"& + .MuiTypography-root": {
|
|
@@ -2916,23 +1737,23 @@ const yo = 2.25, Mo = 3, et = 2, rt = 3, nt = 4, at = {
|
|
|
2916
1737
|
...o.typography.body2
|
|
2917
1738
|
}
|
|
2918
1739
|
}),
|
|
2919
|
-
switchBase: ({ ownerState: o, theme:
|
|
2920
|
-
width:
|
|
2921
|
-
height:
|
|
2922
|
-
padding:
|
|
1740
|
+
switchBase: ({ ownerState: o, theme: i }) => ({
|
|
1741
|
+
width: i.spacing(O),
|
|
1742
|
+
height: i.spacing(O),
|
|
1743
|
+
padding: i.spacing(0.5),
|
|
2923
1744
|
borderRadius: "50%",
|
|
2924
|
-
color:
|
|
1745
|
+
color: i.palette.text.secondary,
|
|
2925
1746
|
transform: "translate(-8px, -8px)",
|
|
2926
1747
|
"&:hover": {
|
|
2927
|
-
backgroundColor:
|
|
1748
|
+
backgroundColor: i.palette.action.hover
|
|
2928
1749
|
},
|
|
2929
1750
|
"&.MuiSwitch-switchBase input": {
|
|
2930
|
-
top:
|
|
2931
|
-
left:
|
|
1751
|
+
top: i.spacing(1),
|
|
1752
|
+
left: i.spacing(1)
|
|
2932
1753
|
},
|
|
2933
1754
|
"&.Mui-checked": {
|
|
2934
1755
|
transform: "translate(0, -8px)",
|
|
2935
|
-
color:
|
|
1756
|
+
color: i.palette.common.white,
|
|
2936
1757
|
"&.MuiSwitch-switchBase input": {
|
|
2937
1758
|
left: 0
|
|
2938
1759
|
},
|
|
@@ -2942,7 +1763,7 @@ const yo = 2.25, Mo = 3, et = 2, rt = 3, nt = 4, at = {
|
|
|
2942
1763
|
}
|
|
2943
1764
|
},
|
|
2944
1765
|
...o.readOnly === !0 && {
|
|
2945
|
-
color:
|
|
1766
|
+
color: i.palette.text.disabled
|
|
2946
1767
|
}
|
|
2947
1768
|
}),
|
|
2948
1769
|
thumb: ({ theme: o }) => ({
|
|
@@ -2960,32 +1781,32 @@ const yo = 2.25, Mo = 3, et = 2, rt = 3, nt = 4, at = {
|
|
|
2960
1781
|
}
|
|
2961
1782
|
}),
|
|
2962
1783
|
input: ({ theme: o }) => ({
|
|
2963
|
-
width: o.spacing(
|
|
2964
|
-
height: o.spacing(
|
|
1784
|
+
width: o.spacing(z),
|
|
1785
|
+
height: o.spacing(w),
|
|
2965
1786
|
left: 0
|
|
2966
1787
|
}),
|
|
2967
|
-
track: ({ ownerState: o, theme:
|
|
1788
|
+
track: ({ ownerState: o, theme: i }) => ({
|
|
2968
1789
|
height: "auto",
|
|
2969
|
-
border: `1px solid ${
|
|
2970
|
-
borderRadius:
|
|
1790
|
+
border: `1px solid ${i.palette.text.secondary}`,
|
|
1791
|
+
borderRadius: i.spacing(2),
|
|
2971
1792
|
opacity: 1,
|
|
2972
|
-
backgroundColor:
|
|
1793
|
+
backgroundColor: i.palette.common.white,
|
|
2973
1794
|
transitionDuration: "300ms",
|
|
2974
1795
|
".MuiButtonBase-root.MuiSwitch-switchBase.Mui-disabled + &": {
|
|
2975
1796
|
opacity: 1,
|
|
2976
|
-
borderColor:
|
|
1797
|
+
borderColor: i.palette.text.disabled
|
|
2977
1798
|
},
|
|
2978
1799
|
".MuiButtonBase-root.Mui-checked.Mui-disabled + &": {
|
|
2979
|
-
backgroundColor:
|
|
1800
|
+
backgroundColor: i.palette.text.disabled
|
|
2980
1801
|
},
|
|
2981
1802
|
".MuiButtonBase-root.MuiSwitch-switchBase[readOnly] + &": {
|
|
2982
|
-
borderColor:
|
|
1803
|
+
borderColor: i.palette.text.disabled
|
|
2983
1804
|
},
|
|
2984
1805
|
"[readOnly] .MuiButtonBase-root.Mui-checked + &": {
|
|
2985
|
-
backgroundColor:
|
|
1806
|
+
backgroundColor: i.palette.text.disabled
|
|
2986
1807
|
},
|
|
2987
1808
|
...o.readOnly === !0 && {
|
|
2988
|
-
borderColor:
|
|
1809
|
+
borderColor: i.palette.text.disabled
|
|
2989
1810
|
}
|
|
2990
1811
|
}),
|
|
2991
1812
|
colorPrimary: ({ theme: o }) => ({
|
|
@@ -3022,7 +1843,7 @@ const yo = 2.25, Mo = 3, et = 2, rt = 3, nt = 4, at = {
|
|
|
3022
1843
|
})
|
|
3023
1844
|
}
|
|
3024
1845
|
}
|
|
3025
|
-
},
|
|
1846
|
+
}, io = {
|
|
3026
1847
|
// Menu
|
|
3027
1848
|
MuiMenu: {
|
|
3028
1849
|
styleOverrides: {
|
|
@@ -3209,10 +2030,10 @@ const yo = 2.25, Mo = 3, et = 2, rt = 3, nt = 4, at = {
|
|
|
3209
2030
|
styleOverrides: {
|
|
3210
2031
|
root: () => ({
|
|
3211
2032
|
"& .MuiSvgIcon-root": {
|
|
3212
|
-
fontSize:
|
|
2033
|
+
fontSize: n
|
|
3213
2034
|
},
|
|
3214
2035
|
".MuiMenuItem-root.MuiButtonBase-root &": {
|
|
3215
|
-
minWidth:
|
|
2036
|
+
minWidth: r
|
|
3216
2037
|
}
|
|
3217
2038
|
})
|
|
3218
2039
|
}
|
|
@@ -3225,7 +2046,7 @@ const yo = 2.25, Mo = 3, et = 2, rt = 3, nt = 4, at = {
|
|
|
3225
2046
|
width: o.spacing(4)
|
|
3226
2047
|
},
|
|
3227
2048
|
"& .MuiSvgIcon-root": {
|
|
3228
|
-
fontSize:
|
|
2049
|
+
fontSize: r
|
|
3229
2050
|
}
|
|
3230
2051
|
})
|
|
3231
2052
|
}
|
|
@@ -3297,7 +2118,7 @@ const yo = 2.25, Mo = 3, et = 2, rt = 3, nt = 4, at = {
|
|
|
3297
2118
|
alignItems: "center"
|
|
3298
2119
|
},
|
|
3299
2120
|
"& .MuiSvgIcon-root": {
|
|
3300
|
-
fontSize:
|
|
2121
|
+
fontSize: r,
|
|
3301
2122
|
marginRight: o.spacing(1)
|
|
3302
2123
|
}
|
|
3303
2124
|
}),
|
|
@@ -3319,10 +2140,10 @@ const yo = 2.25, Mo = 3, et = 2, rt = 3, nt = 4, at = {
|
|
|
3319
2140
|
}
|
|
3320
2141
|
}
|
|
3321
2142
|
};
|
|
3322
|
-
function
|
|
2143
|
+
function t(o) {
|
|
3323
2144
|
return 0.0625 * o + "rem";
|
|
3324
2145
|
}
|
|
3325
|
-
const
|
|
2146
|
+
const h = {
|
|
3326
2147
|
htmlFontSize: 16,
|
|
3327
2148
|
fontFamily: "Inter, sans-serif",
|
|
3328
2149
|
fontSize: 16,
|
|
@@ -3335,77 +2156,77 @@ const Lo = {
|
|
|
3335
2156
|
h1: {
|
|
3336
2157
|
fontFamily: "Inter, sans-serif",
|
|
3337
2158
|
fontWeight: 600,
|
|
3338
|
-
fontSize:
|
|
2159
|
+
fontSize: t(96),
|
|
3339
2160
|
lineHeight: 1.167,
|
|
3340
2161
|
letterSpacing: "-1.5px"
|
|
3341
2162
|
},
|
|
3342
2163
|
h2: {
|
|
3343
2164
|
fontFamily: "Inter, sans-serif",
|
|
3344
2165
|
fontWeight: 600,
|
|
3345
|
-
fontSize:
|
|
2166
|
+
fontSize: t(60),
|
|
3346
2167
|
lineHeight: 1.2,
|
|
3347
2168
|
letterSpacing: "-0.5px"
|
|
3348
2169
|
},
|
|
3349
2170
|
h3: {
|
|
3350
2171
|
fontFamily: "Inter, sans-serif",
|
|
3351
2172
|
fontWeight: 600,
|
|
3352
|
-
fontSize:
|
|
2173
|
+
fontSize: t(48),
|
|
3353
2174
|
lineHeight: 1.167,
|
|
3354
2175
|
letterSpacing: 0
|
|
3355
2176
|
},
|
|
3356
2177
|
h4: {
|
|
3357
2178
|
fontFamily: "Inter, sans-serif",
|
|
3358
2179
|
fontWeight: 600,
|
|
3359
|
-
fontSize:
|
|
2180
|
+
fontSize: t(32),
|
|
3360
2181
|
lineHeight: 1.25,
|
|
3361
2182
|
letterSpacing: "0.15px"
|
|
3362
2183
|
},
|
|
3363
2184
|
h5: {
|
|
3364
2185
|
fontFamily: "Inter, sans-serif",
|
|
3365
2186
|
fontWeight: 600,
|
|
3366
|
-
fontSize:
|
|
2187
|
+
fontSize: t(24),
|
|
3367
2188
|
lineHeight: 1.167,
|
|
3368
2189
|
letterSpacing: "0.15px"
|
|
3369
2190
|
},
|
|
3370
2191
|
h6: {
|
|
3371
2192
|
fontFamily: "Inter, sans-serif",
|
|
3372
2193
|
fontWeight: 500,
|
|
3373
|
-
fontSize:
|
|
2194
|
+
fontSize: t(18),
|
|
3374
2195
|
lineHeight: 1.333,
|
|
3375
2196
|
letterSpacing: "0.15px"
|
|
3376
2197
|
},
|
|
3377
2198
|
subtitle1: {
|
|
3378
2199
|
fontFamily: "Inter, sans-serif",
|
|
3379
2200
|
fontWeight: 500,
|
|
3380
|
-
fontSize:
|
|
2201
|
+
fontSize: t(16),
|
|
3381
2202
|
lineHeight: 1.5,
|
|
3382
2203
|
letterSpacing: "0.15px"
|
|
3383
2204
|
},
|
|
3384
2205
|
subtitle2: {
|
|
3385
2206
|
fontFamily: "Inter, sans-serif",
|
|
3386
2207
|
fontWeight: 600,
|
|
3387
|
-
fontSize:
|
|
2208
|
+
fontSize: t(13),
|
|
3388
2209
|
lineHeight: 1.538,
|
|
3389
2210
|
letterSpacing: "0.1px"
|
|
3390
2211
|
},
|
|
3391
2212
|
body1: {
|
|
3392
2213
|
fontFamily: "Inter, sans-serif",
|
|
3393
2214
|
fontWeight: 400,
|
|
3394
|
-
fontSize:
|
|
2215
|
+
fontSize: t(16),
|
|
3395
2216
|
lineHeight: 1.5,
|
|
3396
2217
|
letterSpacing: "0.4px"
|
|
3397
2218
|
},
|
|
3398
2219
|
body2: {
|
|
3399
2220
|
fontFamily: "Inter, sans-serif",
|
|
3400
2221
|
fontWeight: 400,
|
|
3401
|
-
fontSize:
|
|
2222
|
+
fontSize: t(13),
|
|
3402
2223
|
lineHeight: 1.538,
|
|
3403
2224
|
letterSpacing: "0.25px"
|
|
3404
2225
|
},
|
|
3405
2226
|
button: {
|
|
3406
2227
|
fontFamily: "Inter, sans-serif",
|
|
3407
2228
|
fontWeight: 500,
|
|
3408
|
-
fontSize:
|
|
2229
|
+
fontSize: t(13),
|
|
3409
2230
|
lineHeight: 1.538,
|
|
3410
2231
|
letterSpacing: "0.25px",
|
|
3411
2232
|
textTransform: "inherit"
|
|
@@ -3413,33 +2234,33 @@ const Lo = {
|
|
|
3413
2234
|
caption: {
|
|
3414
2235
|
fontFamily: "Inter, sans-serif",
|
|
3415
2236
|
fontWeight: 400,
|
|
3416
|
-
fontSize:
|
|
2237
|
+
fontSize: t(11),
|
|
3417
2238
|
lineHeight: 1.454,
|
|
3418
2239
|
letterSpacing: "0.2px"
|
|
3419
2240
|
},
|
|
3420
2241
|
overline: {
|
|
3421
2242
|
fontFamily: "Inter, sans-serif",
|
|
3422
2243
|
fontWeight: 500,
|
|
3423
|
-
fontSize:
|
|
2244
|
+
fontSize: t(10),
|
|
3424
2245
|
lineHeight: 1.2,
|
|
3425
2246
|
letterSpacing: "1.2px",
|
|
3426
2247
|
textTransform: "uppercase"
|
|
3427
2248
|
}
|
|
3428
|
-
},
|
|
2249
|
+
}, ro = {
|
|
3429
2250
|
captionMedium: {
|
|
3430
|
-
...
|
|
2251
|
+
...h.caption,
|
|
3431
2252
|
fontWeight: 500,
|
|
3432
2253
|
letterSpacing: "0.4px"
|
|
3433
2254
|
},
|
|
3434
2255
|
overlineDelicate: {
|
|
3435
|
-
...
|
|
2256
|
+
...h.overline,
|
|
3436
2257
|
fontWeight: 400,
|
|
3437
2258
|
letterSpacing: "1.2px"
|
|
3438
2259
|
},
|
|
3439
2260
|
code1: {
|
|
3440
2261
|
fontFamily: '"Overpass Mono", monospace',
|
|
3441
2262
|
fontWeight: 400,
|
|
3442
|
-
fontSize:
|
|
2263
|
+
fontSize: t(16),
|
|
3443
2264
|
lineHeight: 1.5,
|
|
3444
2265
|
letterSpacing: 0,
|
|
3445
2266
|
fontVariantLigatures: "no-common-ligatures"
|
|
@@ -3447,7 +2268,7 @@ const Lo = {
|
|
|
3447
2268
|
code2: {
|
|
3448
2269
|
fontFamily: '"Overpass Mono", monospace',
|
|
3449
2270
|
fontWeight: 400,
|
|
3450
|
-
fontSize:
|
|
2271
|
+
fontSize: t(14),
|
|
3451
2272
|
lineHeight: 1.428,
|
|
3452
2273
|
letterSpacing: 0,
|
|
3453
2274
|
fontVariantLigatures: "no-common-ligatures"
|
|
@@ -3455,21 +2276,21 @@ const Lo = {
|
|
|
3455
2276
|
code3: {
|
|
3456
2277
|
fontFamily: '"Overpass Mono", monospace',
|
|
3457
2278
|
fontWeight: 400,
|
|
3458
|
-
fontSize:
|
|
2279
|
+
fontSize: t(12),
|
|
3459
2280
|
lineHeight: 1.333,
|
|
3460
2281
|
letterSpacing: 0,
|
|
3461
2282
|
fontVariantLigatures: "no-common-ligatures"
|
|
3462
2283
|
}
|
|
3463
|
-
},
|
|
3464
|
-
...
|
|
3465
|
-
|
|
2284
|
+
}, G = {
|
|
2285
|
+
...h,
|
|
2286
|
+
...ro
|
|
3466
2287
|
};
|
|
3467
|
-
var
|
|
3468
|
-
const
|
|
2288
|
+
var L, A, W, P, H, F, E, D;
|
|
2289
|
+
const to = {
|
|
3469
2290
|
// Accessibility focus (keyboard only)
|
|
3470
2291
|
"*:focus-visible": {
|
|
3471
|
-
outline: `2px solid ${(
|
|
3472
|
-
boxShadow: `0 0 0 4px ${(
|
|
2292
|
+
outline: `2px solid ${(L = p.primary) == null ? void 0 : L.main} !important`,
|
|
2293
|
+
boxShadow: `0 0 0 4px ${(A = p.primary) == null ? void 0 : A.background} !important`,
|
|
3473
2294
|
borderRadius: "4px"
|
|
3474
2295
|
},
|
|
3475
2296
|
// Custom scrollbars
|
|
@@ -3488,42 +2309,42 @@ const Ni = {
|
|
|
3488
2309
|
},
|
|
3489
2310
|
"*::-webkit-scrollbar-thumb": {
|
|
3490
2311
|
borderRadius: "3px",
|
|
3491
|
-
background: (
|
|
2312
|
+
background: (W = p.action) == null ? void 0 : W.focus,
|
|
3492
2313
|
outline: "none"
|
|
3493
2314
|
},
|
|
3494
2315
|
// iOS Search clear button
|
|
3495
2316
|
'input[type="search"]::-webkit-search-cancel-button': {
|
|
3496
2317
|
WebkitAppearance: "none",
|
|
3497
2318
|
appearance: "none",
|
|
3498
|
-
height:
|
|
3499
|
-
width:
|
|
2319
|
+
height: a(2),
|
|
2320
|
+
width: a(2),
|
|
3500
2321
|
display: "block",
|
|
3501
2322
|
backgroundImage: "url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAn0lEQVR42u3UMQrDMBBEUZ9WfQqDmm22EaTyjRMHAlM5K+Y7lb0wnUZPIKHlnutOa+25Z4D++MRBX98MD1V/trSppLKHqj9TTBWKcoUqffbUcbBBEhTjBOV4ja4l4OIAZThEOV6jHO8ARXD+gPPvKMABinGOrnu6gTNUawrcQKNCAQ7QeTxORzle3+sDfjJpPCqhJh7GixZq4rHcc9l5A9qZ+WeBhgEuAAAAAElFTkSuQmCC)",
|
|
3502
2323
|
backgroundRepeat: "no-repeat",
|
|
3503
|
-
backgroundSize:
|
|
2324
|
+
backgroundSize: a(2)
|
|
3504
2325
|
},
|
|
3505
2326
|
// Mapbox controls
|
|
3506
2327
|
".mapboxgl-ctrl.mapboxgl-ctrl-attrib": {
|
|
3507
|
-
padding:
|
|
3508
|
-
borderRadius:
|
|
2328
|
+
padding: a(0, 1),
|
|
2329
|
+
borderRadius: a(0.5, 0, 0, 0),
|
|
3509
2330
|
"& .mapboxgl-ctrl-attrib-inner": {
|
|
3510
|
-
...
|
|
2331
|
+
...G.overline,
|
|
3511
2332
|
textTransform: "none",
|
|
3512
2333
|
letterSpacing: "0.75px",
|
|
3513
2334
|
"& a": {
|
|
3514
|
-
color: (
|
|
2335
|
+
color: (P = p.primary) == null ? void 0 : P.main
|
|
3515
2336
|
}
|
|
3516
2337
|
},
|
|
3517
2338
|
"&.mapboxgl-compact": {
|
|
3518
2339
|
backgroundColor: "transparent",
|
|
3519
|
-
right:
|
|
3520
|
-
bottom:
|
|
2340
|
+
right: a(0.5),
|
|
2341
|
+
bottom: a(2.5),
|
|
3521
2342
|
// Mobile
|
|
3522
2343
|
"@media (max-width: 600px)": {
|
|
3523
|
-
bottom:
|
|
2344
|
+
bottom: a(0.5)
|
|
3524
2345
|
},
|
|
3525
2346
|
"& .mapboxgl-ctrl-attrib-button": {
|
|
3526
|
-
backgroundImage: `url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24'%20viewBox='0%200%2024%2024'%20width='24'%3E%3Cg%3E%3Crect%20fill='none'%20height='24'%20width='24'%20x='0'/%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Cg%3E%3Cpath%20d='M11.88,9.14c1.28,0.06,1.61,1.15,1.63,1.66h1.79c-0.08-1.98-1.49-3.19-3.45-3.19C9.64,7.61,8,9,8,12.14%20c0,1.94,0.93,4.24,3.84,4.24c2.22,0,3.41-1.65,3.44-2.95h-1.79c-0.03,0.59-0.45,1.38-1.63,1.44C10.55,14.83,10,13.81,10,12.14%20C10,9.25,11.28,9.16,11.88,9.14z%20M12,2C6.48,2,2,6.48,2,12s4.48,10,10,10s10-4.48,10-10S17.52,2,12,2z%20M12,20c-4.41,0-8-3.59-8-8%20s3.59-8,8-8s8,3.59,8,8S16.41,20,12,20z'%20fill='${(
|
|
2347
|
+
backgroundImage: `url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24'%20viewBox='0%200%2024%2024'%20width='24'%3E%3Cg%3E%3Crect%20fill='none'%20height='24'%20width='24'%20x='0'/%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Cg%3E%3Cpath%20d='M11.88,9.14c1.28,0.06,1.61,1.15,1.63,1.66h1.79c-0.08-1.98-1.49-3.19-3.45-3.19C9.64,7.61,8,9,8,12.14%20c0,1.94,0.93,4.24,3.84,4.24c2.22,0,3.41-1.65,3.44-2.95h-1.79c-0.03,0.59-0.45,1.38-1.63,1.44C10.55,14.83,10,13.81,10,12.14%20C10,9.25,11.28,9.16,11.88,9.14z%20M12,2C6.48,2,2,6.48,2,12s4.48,10,10,10s10-4.48,10-10S17.52,2,12,2z%20M12,20c-4.41,0-8-3.59-8-8%20s3.59-8,8-8s8,3.59,8,8S16.41,20,12,20z'%20fill='${(H = p.text) == null ? void 0 : H.secondary}'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")`,
|
|
3527
2348
|
backgroundColor: "rgba(255,255,255,.8)",
|
|
3528
2349
|
top: "auto",
|
|
3529
2350
|
bottom: 0,
|
|
@@ -3534,32 +2355,23 @@ const Ni = {
|
|
|
3534
2355
|
},
|
|
3535
2356
|
"& .mapboxgl-ctrl-attrib-inner": {
|
|
3536
2357
|
backgroundColor: "rgba(255,255,255,.8)",
|
|
3537
|
-
padding:
|
|
3538
|
-
borderRadius:
|
|
3539
|
-
marginRight:
|
|
3540
|
-
color: (
|
|
2358
|
+
padding: a(0.5, 1),
|
|
2359
|
+
borderRadius: a(1.5),
|
|
2360
|
+
marginRight: a(2.5),
|
|
2361
|
+
color: (F = p.text) == null ? void 0 : F.secondary
|
|
3541
2362
|
},
|
|
3542
2363
|
"&.mapboxgl-compact-show": {
|
|
3543
2364
|
"& .mapboxgl-ctrl-attrib-button": {
|
|
3544
2365
|
backgroundImage: `url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24'%20viewBox='0%200%2024%2024'%20width='24'%3E%3Cpath%20d='M0%200h24v24H0z'%20fill='none'/%3E%3Cpath%20d='M19%206.41L17.59%205%2012%2010.59%206.41%205%205%206.41%2010.59%2012%205%2017.59%206.41%2019%2012%2013.41%2017.59%2019%2019%2017.59%2013.41%2012z'%20fill='white'/%3E%3C/svg%3E")`,
|
|
3545
|
-
backgroundColor: (
|
|
2366
|
+
backgroundColor: (E = p.common) == null ? void 0 : E.black,
|
|
3546
2367
|
"&:not(:disabled):hover": {
|
|
3547
|
-
backgroundColor: (
|
|
2368
|
+
backgroundColor: (D = p.common) == null ? void 0 : D.black
|
|
3548
2369
|
}
|
|
3549
2370
|
}
|
|
3550
2371
|
}
|
|
3551
2372
|
}
|
|
3552
2373
|
}
|
|
3553
|
-
}
|
|
3554
|
-
var $o = {}, Hi = Mt;
|
|
3555
|
-
Object.defineProperty($o, "__esModule", {
|
|
3556
|
-
value: !0
|
|
3557
|
-
});
|
|
3558
|
-
var wt = $o.default = void 0, _i = Hi(yt()), Vi = d;
|
|
3559
|
-
wt = $o.default = (0, _i.default)(/* @__PURE__ */ (0, Vi.jsx)("path", {
|
|
3560
|
-
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m4.59-12.42L10 14.17l-2.59-2.58L6 13l4 4 8-8z"
|
|
3561
|
-
}), "CheckCircleOutlined");
|
|
3562
|
-
const Ui = {
|
|
2374
|
+
}, ao = {
|
|
3563
2375
|
// SnackBar
|
|
3564
2376
|
MuiSnackbar: {
|
|
3565
2377
|
defaultProps: {
|
|
@@ -3596,7 +2408,7 @@ const Ui = {
|
|
|
3596
2408
|
MuiAlert: {
|
|
3597
2409
|
defaultProps: {
|
|
3598
2410
|
iconMapping: {
|
|
3599
|
-
success: /* @__PURE__ */
|
|
2411
|
+
success: /* @__PURE__ */ u(Q, {})
|
|
3600
2412
|
}
|
|
3601
2413
|
},
|
|
3602
2414
|
styleOverrides: {
|
|
@@ -3613,8 +2425,8 @@ const Ui = {
|
|
|
3613
2425
|
padding: 0,
|
|
3614
2426
|
marginRight: o.spacing(1),
|
|
3615
2427
|
svg: {
|
|
3616
|
-
width:
|
|
3617
|
-
height:
|
|
2428
|
+
width: r,
|
|
2429
|
+
height: r
|
|
3618
2430
|
}
|
|
3619
2431
|
}),
|
|
3620
2432
|
action: () => ({
|
|
@@ -3641,7 +2453,7 @@ const Ui = {
|
|
|
3641
2453
|
})
|
|
3642
2454
|
}
|
|
3643
2455
|
}
|
|
3644
|
-
},
|
|
2456
|
+
}, no = {
|
|
3645
2457
|
// AppBar
|
|
3646
2458
|
MuiAppBar: {
|
|
3647
2459
|
styleOverrides: {
|
|
@@ -3649,7 +2461,7 @@ const Ui = {
|
|
|
3649
2461
|
flexDirection: "row",
|
|
3650
2462
|
alignItems: "center",
|
|
3651
2463
|
justifyContent: "space-between",
|
|
3652
|
-
height:
|
|
2464
|
+
height: C,
|
|
3653
2465
|
backgroundColor: o.palette.brand.navyBlue,
|
|
3654
2466
|
color: o.palette.common.white,
|
|
3655
2467
|
boxShadow: o.shadows[0],
|
|
@@ -3657,7 +2469,7 @@ const Ui = {
|
|
|
3657
2469
|
justifyContent: "space-between",
|
|
3658
2470
|
width: "100%",
|
|
3659
2471
|
padding: o.spacing(0, 1),
|
|
3660
|
-
minHeight:
|
|
2472
|
+
minHeight: C
|
|
3661
2473
|
},
|
|
3662
2474
|
"& .MuiAvatar-root": {
|
|
3663
2475
|
width: o.spacing(4),
|
|
@@ -3692,7 +2504,7 @@ const Ui = {
|
|
|
3692
2504
|
// MuiAccordionSummary
|
|
3693
2505
|
MuiAccordionSummary: {
|
|
3694
2506
|
defaultProps: {
|
|
3695
|
-
expandIcon: /* @__PURE__ */
|
|
2507
|
+
expandIcon: /* @__PURE__ */ u(_, {})
|
|
3696
2508
|
},
|
|
3697
2509
|
styleOverrides: {
|
|
3698
2510
|
root: ({ theme: o }) => ({
|
|
@@ -3724,7 +2536,7 @@ const Ui = {
|
|
|
3724
2536
|
})
|
|
3725
2537
|
}
|
|
3726
2538
|
}
|
|
3727
|
-
},
|
|
2539
|
+
}, eo = [
|
|
3728
2540
|
"none",
|
|
3729
2541
|
// 0
|
|
3730
2542
|
"0px 2px 1px -1px rgba(44, 48, 50, 0.12), 0px 1px 1px rgba(44, 48, 50, 0.08), 0px 1px 3px rgba(44, 48, 50, 0.04)",
|
|
@@ -3758,20 +2570,20 @@ const Ui = {
|
|
|
3758
2570
|
"0px 11px 14px -7px rgba(0,0,0,0.16),0px 23px 36px 3px rgba(0,0,0,0.08),0px 9px 44px 8px rgba(0,0,0,0.04)",
|
|
3759
2571
|
"0px 11px 15px -7px rgba(44, 48, 50, 0.12), 0px 24px 38px 3px rgba(44, 48, 50, 0.08), 0px 9px 46px 8px rgba(44, 48, 50, 0.04)"
|
|
3760
2572
|
// 24
|
|
3761
|
-
],
|
|
2573
|
+
], po = {
|
|
3762
2574
|
themeName: "CARTO",
|
|
3763
2575
|
breakpoints: {
|
|
3764
2576
|
keys: ["xs", "sm", "md", "lg", "xl"],
|
|
3765
2577
|
values: {
|
|
3766
|
-
xs:
|
|
2578
|
+
xs: s.XS,
|
|
3767
2579
|
// 320 - 599
|
|
3768
|
-
sm:
|
|
2580
|
+
sm: s.SM,
|
|
3769
2581
|
// 600 - 959
|
|
3770
|
-
md:
|
|
2582
|
+
md: s.MD,
|
|
3771
2583
|
// 960 - 1279
|
|
3772
|
-
lg:
|
|
2584
|
+
lg: s.LG,
|
|
3773
2585
|
// 1280 - 1599
|
|
3774
|
-
xl:
|
|
2586
|
+
xl: s.XL
|
|
3775
2587
|
// 1600+
|
|
3776
2588
|
},
|
|
3777
2589
|
unit: "px",
|
|
@@ -3796,12 +2608,12 @@ const Ui = {
|
|
|
3796
2608
|
}
|
|
3797
2609
|
}
|
|
3798
2610
|
},
|
|
3799
|
-
palette:
|
|
3800
|
-
shadows:
|
|
3801
|
-
typography:
|
|
3802
|
-
spacingValue:
|
|
2611
|
+
palette: p,
|
|
2612
|
+
shadows: eo,
|
|
2613
|
+
typography: G,
|
|
2614
|
+
spacingValue: k,
|
|
3803
2615
|
// For situations where we can't use theme.spacing(), mainly math calculations.er
|
|
3804
|
-
spacing:
|
|
2616
|
+
spacing: k,
|
|
3805
2617
|
// For custom spacing: https://material-ui.com/customization/spacing/#custom-spacing
|
|
3806
2618
|
shape: {
|
|
3807
2619
|
borderRadius: 4
|
|
@@ -3838,26 +2650,26 @@ const Ui = {
|
|
|
3838
2650
|
components: {
|
|
3839
2651
|
MuiCssBaseline: {
|
|
3840
2652
|
styleOverrides: {
|
|
3841
|
-
...
|
|
2653
|
+
...to
|
|
3842
2654
|
}
|
|
3843
2655
|
},
|
|
3844
|
-
...
|
|
3845
|
-
...
|
|
3846
|
-
...
|
|
3847
|
-
...
|
|
3848
|
-
...
|
|
3849
|
-
...
|
|
2656
|
+
...J,
|
|
2657
|
+
...oo,
|
|
2658
|
+
...io,
|
|
2659
|
+
...Y,
|
|
2660
|
+
...ao,
|
|
2661
|
+
...no
|
|
3850
2662
|
}
|
|
3851
|
-
},
|
|
2663
|
+
}, ho = N(j(po));
|
|
3852
2664
|
export {
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
2665
|
+
C as APPBAR_SIZE,
|
|
2666
|
+
s as BREAKPOINTS,
|
|
2667
|
+
n as ICON_SIZE_LARGE,
|
|
2668
|
+
r as ICON_SIZE_MEDIUM,
|
|
2669
|
+
g as ICON_SIZE_SMALL,
|
|
2670
|
+
k as SPACING,
|
|
2671
|
+
po as cartoThemeOptions,
|
|
2672
|
+
ko as getCartoColorStylePropsForItem,
|
|
2673
|
+
a as getSpacing,
|
|
2674
|
+
ho as theme
|
|
3863
2675
|
};
|