@loopr-ai/craft 0.8.3 → 0.9.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/Box-96e795c4.js +58 -0
- package/dist/{ButtonBase-08b16b61.js → ButtonBase-46c20f20.js} +3 -3
- package/dist/{TextField-f61d210a.js → TextField-df89b641.js} +373 -387
- package/dist/{TransitionGroupContext-0e899f4c.js → TransitionGroupContext-21923db7.js} +1 -1
- package/dist/ZoomControllers-657c8b74.js +3383 -0
- package/dist/components/cell/AvatarGroup/index.js +3 -3
- package/dist/components/cell/Button/index.js +3 -3
- package/dist/components/cell/Chip/index.js +5 -5
- package/dist/components/cell/ProgressBar/index.js +3 -3
- package/dist/components/cell/Search/index.js +2 -2
- package/dist/components/cell/Typography/index.js +1 -1
- package/dist/components/organ/Form/ErrorMessage/ErrorMessage.styles.d.ts +14 -0
- package/dist/components/organ/Form/ErrorMessage/ErrorMessage.styles.js +16 -0
- package/dist/components/organ/Form/ErrorMessage/index.d.ts +6 -0
- package/dist/components/organ/Form/ErrorMessage/index.js +14 -0
- package/dist/components/organ/Form/Form.interfaces.d.ts +4 -2
- package/dist/components/organ/Form/Form.styles.d.ts +6 -99
- package/dist/components/organ/Form/Form.styles.js +8 -102
- package/dist/components/organ/Form/FormInput.js +54 -1524
- package/dist/components/organ/Form/Label/Label.styles.d.ts +14 -0
- package/dist/components/organ/Form/Label/Label.styles.js +16 -0
- package/dist/components/organ/Form/Label/index.d.ts +10 -0
- package/dist/components/organ/Form/Label/index.js +17 -0
- package/dist/components/organ/Form/RadioInput/RadioInput.styles.d.ts +17 -0
- package/dist/components/organ/Form/RadioInput/RadioInput.styles.js +20 -0
- package/dist/components/organ/Form/RadioInput/index.d.ts +16 -0
- package/dist/components/organ/Form/RadioInput/index.js +1053 -0
- package/dist/components/organ/Form/TextfieldInput/TextfieldInput.styles.d.ts +75 -0
- package/dist/components/organ/Form/TextfieldInput/TextfieldInput.styles.js +66 -0
- package/dist/components/organ/Form/TextfieldInput/index.d.ts +23 -0
- package/dist/components/organ/Form/TextfieldInput/index.js +525 -0
- package/dist/components/organ/Form/index.js +136 -148
- package/dist/components/organ/ZoomControlWithDrag/ZoomControllers.js +2 -2
- package/dist/components/organ/ZoomControlWithDrag/index.js +2 -2
- package/dist/{createSvgIcon-45340b5e.js → createSvgIcon-59e7bc15.js} +3195 -3245
- package/dist/{createSvgIcon-5aac746d.js → createSvgIcon-b444ce70.js} +5 -5
- package/dist/{createTheme-759a022d.js → createTheme-d2329909.js} +4 -4
- package/dist/dividerClasses-9354a5c9.js +10 -0
- package/dist/{exactProp-23d6a154.js → exactProp-3ee21234.js} +1 -1
- package/dist/{extendSxProp-cf8fd923.js → extendSxProp-f6cb682b.js} +1 -1
- package/dist/global/colors.d.ts +1 -0
- package/dist/global/colors.js +5 -4
- package/dist/global/theme.js +1 -1
- package/dist/{index-c9c32237.js → index-ae3eb123.js} +8 -8
- package/dist/main.js +1 -1
- package/dist/providers/CraftThemeProvider.js +2 -2
- package/dist/{styled-78608e1f.js → styled-8f7db30d.js} +39 -39
- package/dist/useControlled-4e337b2f.js +54 -0
- package/dist/useFormControl-b25c5813.js +19 -0
- package/dist/{useTheme-8906bd79.js → useTheme-21caf71b.js} +1 -1
- package/package.json +1 -1
- package/dist/Tooltip-e797a425.js +0 -2022
- package/dist/ZoomControllers-d04c25f8.js +0 -1432
package/dist/Tooltip-e797a425.js
DELETED
|
@@ -1,2022 +0,0 @@
|
|
|
1
|
-
import { s as jo, _ as Fe, a as A, g as gt, P as r, f as No, C as Bo, c as eo, e as to } from "./createTheme-759a022d.js";
|
|
2
|
-
import { c as Lo, T as ko } from "./useThemeWithoutDefault-188598a8.js";
|
|
3
|
-
import * as O from "react";
|
|
4
|
-
import { k as So, u as Wo, c as ke, g as yt, b as oo, s as it, a as ro } from "./styled-78608e1f.js";
|
|
5
|
-
import { jsx as ae, jsxs as Ft } from "react/jsx-runtime";
|
|
6
|
-
import { e as Io } from "./extendSxProp-cf8fd923.js";
|
|
7
|
-
import { u as Vo } from "./useTheme-8906bd79.js";
|
|
8
|
-
import { o as Ht, P as Fo, H as ot, l as Ho, u as Uo, a as _o, G as Ut, n as Je, e as qo } from "./createSvgIcon-45340b5e.js";
|
|
9
|
-
import { c as zo } from "./chainPropTypes-004bf492.js";
|
|
10
|
-
import { r as no, u as vt, c as _t, b as Yo, a as Xo } from "./TransitionGroupContext-0e899f4c.js";
|
|
11
|
-
const Go = ["className", "component"];
|
|
12
|
-
function Ko(e = {}) {
|
|
13
|
-
const {
|
|
14
|
-
themeId: t,
|
|
15
|
-
defaultTheme: o,
|
|
16
|
-
defaultClassName: n = "MuiBox-root",
|
|
17
|
-
generateClassName: i
|
|
18
|
-
} = e, a = So("div", {
|
|
19
|
-
shouldForwardProp: (s) => s !== "theme" && s !== "sx" && s !== "as"
|
|
20
|
-
})(jo);
|
|
21
|
-
return /* @__PURE__ */ O.forwardRef(function(p, f) {
|
|
22
|
-
const l = Wo(o), m = Io(p), {
|
|
23
|
-
className: w,
|
|
24
|
-
component: u = "div"
|
|
25
|
-
} = m, T = Fe(m, Go);
|
|
26
|
-
return /* @__PURE__ */ ae(a, A({
|
|
27
|
-
as: u,
|
|
28
|
-
ref: f,
|
|
29
|
-
className: ke(w, i ? i(n) : n),
|
|
30
|
-
theme: t && l[t] || l
|
|
31
|
-
}, T));
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
const Jo = {
|
|
35
|
-
disableDefaultClasses: !1
|
|
36
|
-
}, Qo = /* @__PURE__ */ O.createContext(Jo);
|
|
37
|
-
function Zo(e) {
|
|
38
|
-
const {
|
|
39
|
-
disableDefaultClasses: t
|
|
40
|
-
} = O.useContext(Qo);
|
|
41
|
-
return (o) => t ? "" : e(o);
|
|
42
|
-
}
|
|
43
|
-
var I = "top", Y = "bottom", X = "right", V = "left", wt = "auto", He = [I, Y, X, V], Ee = "start", Ie = "end", er = "clippingParents", io = "viewport", Be = "popper", tr = "reference", qt = /* @__PURE__ */ He.reduce(function(e, t) {
|
|
44
|
-
return e.concat([t + "-" + Ee, t + "-" + Ie]);
|
|
45
|
-
}, []), ao = /* @__PURE__ */ [].concat(He, [wt]).reduce(function(e, t) {
|
|
46
|
-
return e.concat([t, t + "-" + Ee, t + "-" + Ie]);
|
|
47
|
-
}, []), or = "beforeRead", rr = "read", nr = "afterRead", ir = "beforeMain", ar = "main", sr = "afterMain", pr = "beforeWrite", lr = "write", cr = "afterWrite", fr = [or, rr, nr, ir, ar, sr, pr, lr, cr];
|
|
48
|
-
function re(e) {
|
|
49
|
-
return e ? (e.nodeName || "").toLowerCase() : null;
|
|
50
|
-
}
|
|
51
|
-
function H(e) {
|
|
52
|
-
if (e == null)
|
|
53
|
-
return window;
|
|
54
|
-
if (e.toString() !== "[object Window]") {
|
|
55
|
-
var t = e.ownerDocument;
|
|
56
|
-
return t && t.defaultView || window;
|
|
57
|
-
}
|
|
58
|
-
return e;
|
|
59
|
-
}
|
|
60
|
-
function ge(e) {
|
|
61
|
-
var t = H(e).Element;
|
|
62
|
-
return e instanceof t || e instanceof Element;
|
|
63
|
-
}
|
|
64
|
-
function z(e) {
|
|
65
|
-
var t = H(e).HTMLElement;
|
|
66
|
-
return e instanceof t || e instanceof HTMLElement;
|
|
67
|
-
}
|
|
68
|
-
function xt(e) {
|
|
69
|
-
if (typeof ShadowRoot > "u")
|
|
70
|
-
return !1;
|
|
71
|
-
var t = H(e).ShadowRoot;
|
|
72
|
-
return e instanceof t || e instanceof ShadowRoot;
|
|
73
|
-
}
|
|
74
|
-
function ur(e) {
|
|
75
|
-
var t = e.state;
|
|
76
|
-
Object.keys(t.elements).forEach(function(o) {
|
|
77
|
-
var n = t.styles[o] || {}, i = t.attributes[o] || {}, a = t.elements[o];
|
|
78
|
-
!z(a) || !re(a) || (Object.assign(a.style, n), Object.keys(i).forEach(function(c) {
|
|
79
|
-
var s = i[c];
|
|
80
|
-
s === !1 ? a.removeAttribute(c) : a.setAttribute(c, s === !0 ? "" : s);
|
|
81
|
-
}));
|
|
82
|
-
});
|
|
83
|
-
}
|
|
84
|
-
function dr(e) {
|
|
85
|
-
var t = e.state, o = {
|
|
86
|
-
popper: {
|
|
87
|
-
position: t.options.strategy,
|
|
88
|
-
left: "0",
|
|
89
|
-
top: "0",
|
|
90
|
-
margin: "0"
|
|
91
|
-
},
|
|
92
|
-
arrow: {
|
|
93
|
-
position: "absolute"
|
|
94
|
-
},
|
|
95
|
-
reference: {}
|
|
96
|
-
};
|
|
97
|
-
return Object.assign(t.elements.popper.style, o.popper), t.styles = o, t.elements.arrow && Object.assign(t.elements.arrow.style, o.arrow), function() {
|
|
98
|
-
Object.keys(t.elements).forEach(function(n) {
|
|
99
|
-
var i = t.elements[n], a = t.attributes[n] || {}, c = Object.keys(t.styles.hasOwnProperty(n) ? t.styles[n] : o[n]), s = c.reduce(function(p, f) {
|
|
100
|
-
return p[f] = "", p;
|
|
101
|
-
}, {});
|
|
102
|
-
!z(i) || !re(i) || (Object.assign(i.style, s), Object.keys(a).forEach(function(p) {
|
|
103
|
-
i.removeAttribute(p);
|
|
104
|
-
}));
|
|
105
|
-
});
|
|
106
|
-
};
|
|
107
|
-
}
|
|
108
|
-
const mr = {
|
|
109
|
-
name: "applyStyles",
|
|
110
|
-
enabled: !0,
|
|
111
|
-
phase: "write",
|
|
112
|
-
fn: ur,
|
|
113
|
-
effect: dr,
|
|
114
|
-
requires: ["computeStyles"]
|
|
115
|
-
};
|
|
116
|
-
function oe(e) {
|
|
117
|
-
return e.split("-")[0];
|
|
118
|
-
}
|
|
119
|
-
var be = Math.max, rt = Math.min, Re = Math.round;
|
|
120
|
-
function ht() {
|
|
121
|
-
var e = navigator.userAgentData;
|
|
122
|
-
return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
|
|
123
|
-
return t.brand + "/" + t.version;
|
|
124
|
-
}).join(" ") : navigator.userAgent;
|
|
125
|
-
}
|
|
126
|
-
function so() {
|
|
127
|
-
return !/^((?!chrome|android).)*safari/i.test(ht());
|
|
128
|
-
}
|
|
129
|
-
function Ce(e, t, o) {
|
|
130
|
-
t === void 0 && (t = !1), o === void 0 && (o = !1);
|
|
131
|
-
var n = e.getBoundingClientRect(), i = 1, a = 1;
|
|
132
|
-
t && z(e) && (i = e.offsetWidth > 0 && Re(n.width) / e.offsetWidth || 1, a = e.offsetHeight > 0 && Re(n.height) / e.offsetHeight || 1);
|
|
133
|
-
var c = ge(e) ? H(e) : window, s = c.visualViewport, p = !so() && o, f = (n.left + (p && s ? s.offsetLeft : 0)) / i, l = (n.top + (p && s ? s.offsetTop : 0)) / a, m = n.width / i, w = n.height / a;
|
|
134
|
-
return {
|
|
135
|
-
width: m,
|
|
136
|
-
height: w,
|
|
137
|
-
top: l,
|
|
138
|
-
right: f + m,
|
|
139
|
-
bottom: l + w,
|
|
140
|
-
left: f,
|
|
141
|
-
x: f,
|
|
142
|
-
y: l
|
|
143
|
-
};
|
|
144
|
-
}
|
|
145
|
-
function Ot(e) {
|
|
146
|
-
var t = Ce(e), o = e.offsetWidth, n = e.offsetHeight;
|
|
147
|
-
return Math.abs(t.width - o) <= 1 && (o = t.width), Math.abs(t.height - n) <= 1 && (n = t.height), {
|
|
148
|
-
x: e.offsetLeft,
|
|
149
|
-
y: e.offsetTop,
|
|
150
|
-
width: o,
|
|
151
|
-
height: n
|
|
152
|
-
};
|
|
153
|
-
}
|
|
154
|
-
function po(e, t) {
|
|
155
|
-
var o = t.getRootNode && t.getRootNode();
|
|
156
|
-
if (e.contains(t))
|
|
157
|
-
return !0;
|
|
158
|
-
if (o && xt(o)) {
|
|
159
|
-
var n = t;
|
|
160
|
-
do {
|
|
161
|
-
if (n && e.isSameNode(n))
|
|
162
|
-
return !0;
|
|
163
|
-
n = n.parentNode || n.host;
|
|
164
|
-
} while (n);
|
|
165
|
-
}
|
|
166
|
-
return !1;
|
|
167
|
-
}
|
|
168
|
-
function se(e) {
|
|
169
|
-
return H(e).getComputedStyle(e);
|
|
170
|
-
}
|
|
171
|
-
function vr(e) {
|
|
172
|
-
return ["table", "td", "th"].indexOf(re(e)) >= 0;
|
|
173
|
-
}
|
|
174
|
-
function ue(e) {
|
|
175
|
-
return ((ge(e) ? e.ownerDocument : (
|
|
176
|
-
// $FlowFixMe[prop-missing]
|
|
177
|
-
e.document
|
|
178
|
-
)) || window.document).documentElement;
|
|
179
|
-
}
|
|
180
|
-
function at(e) {
|
|
181
|
-
return re(e) === "html" ? e : (
|
|
182
|
-
// this is a quicker (but less type safe) way to save quite some bytes from the bundle
|
|
183
|
-
// $FlowFixMe[incompatible-return]
|
|
184
|
-
// $FlowFixMe[prop-missing]
|
|
185
|
-
e.assignedSlot || // step into the shadow DOM of the parent of a slotted node
|
|
186
|
-
e.parentNode || // DOM Element detected
|
|
187
|
-
(xt(e) ? e.host : null) || // ShadowRoot detected
|
|
188
|
-
// $FlowFixMe[incompatible-call]: HTMLElement is a Node
|
|
189
|
-
ue(e)
|
|
190
|
-
);
|
|
191
|
-
}
|
|
192
|
-
function zt(e) {
|
|
193
|
-
return !z(e) || // https://github.com/popperjs/popper-core/issues/837
|
|
194
|
-
se(e).position === "fixed" ? null : e.offsetParent;
|
|
195
|
-
}
|
|
196
|
-
function hr(e) {
|
|
197
|
-
var t = /firefox/i.test(ht()), o = /Trident/i.test(ht());
|
|
198
|
-
if (o && z(e)) {
|
|
199
|
-
var n = se(e);
|
|
200
|
-
if (n.position === "fixed")
|
|
201
|
-
return null;
|
|
202
|
-
}
|
|
203
|
-
var i = at(e);
|
|
204
|
-
for (xt(i) && (i = i.host); z(i) && ["html", "body"].indexOf(re(i)) < 0; ) {
|
|
205
|
-
var a = se(i);
|
|
206
|
-
if (a.transform !== "none" || a.perspective !== "none" || a.contain === "paint" || ["transform", "perspective"].indexOf(a.willChange) !== -1 || t && a.willChange === "filter" || t && a.filter && a.filter !== "none")
|
|
207
|
-
return i;
|
|
208
|
-
i = i.parentNode;
|
|
209
|
-
}
|
|
210
|
-
return null;
|
|
211
|
-
}
|
|
212
|
-
function Ue(e) {
|
|
213
|
-
for (var t = H(e), o = zt(e); o && vr(o) && se(o).position === "static"; )
|
|
214
|
-
o = zt(o);
|
|
215
|
-
return o && (re(o) === "html" || re(o) === "body" && se(o).position === "static") ? t : o || hr(e) || t;
|
|
216
|
-
}
|
|
217
|
-
function Tt(e) {
|
|
218
|
-
return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
|
|
219
|
-
}
|
|
220
|
-
function Se(e, t, o) {
|
|
221
|
-
return be(e, rt(t, o));
|
|
222
|
-
}
|
|
223
|
-
function br(e, t, o) {
|
|
224
|
-
var n = Se(e, t, o);
|
|
225
|
-
return n > o ? o : n;
|
|
226
|
-
}
|
|
227
|
-
function lo() {
|
|
228
|
-
return {
|
|
229
|
-
top: 0,
|
|
230
|
-
right: 0,
|
|
231
|
-
bottom: 0,
|
|
232
|
-
left: 0
|
|
233
|
-
};
|
|
234
|
-
}
|
|
235
|
-
function co(e) {
|
|
236
|
-
return Object.assign({}, lo(), e);
|
|
237
|
-
}
|
|
238
|
-
function fo(e, t) {
|
|
239
|
-
return t.reduce(function(o, n) {
|
|
240
|
-
return o[n] = e, o;
|
|
241
|
-
}, {});
|
|
242
|
-
}
|
|
243
|
-
var gr = function(t, o) {
|
|
244
|
-
return t = typeof t == "function" ? t(Object.assign({}, o.rects, {
|
|
245
|
-
placement: o.placement
|
|
246
|
-
})) : t, co(typeof t != "number" ? t : fo(t, He));
|
|
247
|
-
};
|
|
248
|
-
function yr(e) {
|
|
249
|
-
var t, o = e.state, n = e.name, i = e.options, a = o.elements.arrow, c = o.modifiersData.popperOffsets, s = oe(o.placement), p = Tt(s), f = [V, X].indexOf(s) >= 0, l = f ? "height" : "width";
|
|
250
|
-
if (!(!a || !c)) {
|
|
251
|
-
var m = gr(i.padding, o), w = Ot(a), u = p === "y" ? I : V, T = p === "y" ? Y : X, v = o.rects.reference[l] + o.rects.reference[p] - c[p] - o.rects.popper[l], h = c[p] - o.rects.reference[p], P = Ue(a), M = P ? p === "y" ? P.clientHeight || 0 : P.clientWidth || 0 : 0, x = v / 2 - h / 2, d = m[u], g = M - w[l] - m[T], b = M / 2 - w[l] / 2 + x, E = Se(d, b, g), $ = p;
|
|
252
|
-
o.modifiersData[n] = (t = {}, t[$] = E, t.centerOffset = E - b, t);
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
function wr(e) {
|
|
256
|
-
var t = e.state, o = e.options, n = o.element, i = n === void 0 ? "[data-popper-arrow]" : n;
|
|
257
|
-
i != null && (typeof i == "string" && (i = t.elements.popper.querySelector(i), !i) || po(t.elements.popper, i) && (t.elements.arrow = i));
|
|
258
|
-
}
|
|
259
|
-
const xr = {
|
|
260
|
-
name: "arrow",
|
|
261
|
-
enabled: !0,
|
|
262
|
-
phase: "main",
|
|
263
|
-
fn: yr,
|
|
264
|
-
effect: wr,
|
|
265
|
-
requires: ["popperOffsets"],
|
|
266
|
-
requiresIfExists: ["preventOverflow"]
|
|
267
|
-
};
|
|
268
|
-
function Me(e) {
|
|
269
|
-
return e.split("-")[1];
|
|
270
|
-
}
|
|
271
|
-
var Or = {
|
|
272
|
-
top: "auto",
|
|
273
|
-
right: "auto",
|
|
274
|
-
bottom: "auto",
|
|
275
|
-
left: "auto"
|
|
276
|
-
};
|
|
277
|
-
function Tr(e, t) {
|
|
278
|
-
var o = e.x, n = e.y, i = t.devicePixelRatio || 1;
|
|
279
|
-
return {
|
|
280
|
-
x: Re(o * i) / i || 0,
|
|
281
|
-
y: Re(n * i) / i || 0
|
|
282
|
-
};
|
|
283
|
-
}
|
|
284
|
-
function Yt(e) {
|
|
285
|
-
var t, o = e.popper, n = e.popperRect, i = e.placement, a = e.variation, c = e.offsets, s = e.position, p = e.gpuAcceleration, f = e.adaptive, l = e.roundOffsets, m = e.isFixed, w = c.x, u = w === void 0 ? 0 : w, T = c.y, v = T === void 0 ? 0 : T, h = typeof l == "function" ? l({
|
|
286
|
-
x: u,
|
|
287
|
-
y: v
|
|
288
|
-
}) : {
|
|
289
|
-
x: u,
|
|
290
|
-
y: v
|
|
291
|
-
};
|
|
292
|
-
u = h.x, v = h.y;
|
|
293
|
-
var P = c.hasOwnProperty("x"), M = c.hasOwnProperty("y"), x = V, d = I, g = window;
|
|
294
|
-
if (f) {
|
|
295
|
-
var b = Ue(o), E = "clientHeight", $ = "clientWidth";
|
|
296
|
-
if (b === H(o) && (b = ue(o), se(b).position !== "static" && s === "absolute" && (E = "scrollHeight", $ = "scrollWidth")), b = b, i === I || (i === V || i === X) && a === Ie) {
|
|
297
|
-
d = Y;
|
|
298
|
-
var R = m && b === g && g.visualViewport ? g.visualViewport.height : (
|
|
299
|
-
// $FlowFixMe[prop-missing]
|
|
300
|
-
b[E]
|
|
301
|
-
);
|
|
302
|
-
v -= R - n.height, v *= p ? 1 : -1;
|
|
303
|
-
}
|
|
304
|
-
if (i === V || (i === I || i === Y) && a === Ie) {
|
|
305
|
-
x = X;
|
|
306
|
-
var C = m && b === g && g.visualViewport ? g.visualViewport.width : (
|
|
307
|
-
// $FlowFixMe[prop-missing]
|
|
308
|
-
b[$]
|
|
309
|
-
);
|
|
310
|
-
u -= C - n.width, u *= p ? 1 : -1;
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
var j = Object.assign({
|
|
314
|
-
position: s
|
|
315
|
-
}, f && Or), L = l === !0 ? Tr({
|
|
316
|
-
x: u,
|
|
317
|
-
y: v
|
|
318
|
-
}, H(o)) : {
|
|
319
|
-
x: u,
|
|
320
|
-
y: v
|
|
321
|
-
};
|
|
322
|
-
if (u = L.x, v = L.y, p) {
|
|
323
|
-
var N;
|
|
324
|
-
return Object.assign({}, j, (N = {}, N[d] = M ? "0" : "", N[x] = P ? "0" : "", N.transform = (g.devicePixelRatio || 1) <= 1 ? "translate(" + u + "px, " + v + "px)" : "translate3d(" + u + "px, " + v + "px, 0)", N));
|
|
325
|
-
}
|
|
326
|
-
return Object.assign({}, j, (t = {}, t[d] = M ? v + "px" : "", t[x] = P ? u + "px" : "", t.transform = "", t));
|
|
327
|
-
}
|
|
328
|
-
function Pr(e) {
|
|
329
|
-
var t = e.state, o = e.options, n = o.gpuAcceleration, i = n === void 0 ? !0 : n, a = o.adaptive, c = a === void 0 ? !0 : a, s = o.roundOffsets, p = s === void 0 ? !0 : s, f = {
|
|
330
|
-
placement: oe(t.placement),
|
|
331
|
-
variation: Me(t.placement),
|
|
332
|
-
popper: t.elements.popper,
|
|
333
|
-
popperRect: t.rects.popper,
|
|
334
|
-
gpuAcceleration: i,
|
|
335
|
-
isFixed: t.options.strategy === "fixed"
|
|
336
|
-
};
|
|
337
|
-
t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, Yt(Object.assign({}, f, {
|
|
338
|
-
offsets: t.modifiersData.popperOffsets,
|
|
339
|
-
position: t.options.strategy,
|
|
340
|
-
adaptive: c,
|
|
341
|
-
roundOffsets: p
|
|
342
|
-
})))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, Yt(Object.assign({}, f, {
|
|
343
|
-
offsets: t.modifiersData.arrow,
|
|
344
|
-
position: "absolute",
|
|
345
|
-
adaptive: !1,
|
|
346
|
-
roundOffsets: p
|
|
347
|
-
})))), t.attributes.popper = Object.assign({}, t.attributes.popper, {
|
|
348
|
-
"data-popper-placement": t.placement
|
|
349
|
-
});
|
|
350
|
-
}
|
|
351
|
-
const Er = {
|
|
352
|
-
name: "computeStyles",
|
|
353
|
-
enabled: !0,
|
|
354
|
-
phase: "beforeWrite",
|
|
355
|
-
fn: Pr,
|
|
356
|
-
data: {}
|
|
357
|
-
};
|
|
358
|
-
var Qe = {
|
|
359
|
-
passive: !0
|
|
360
|
-
};
|
|
361
|
-
function Rr(e) {
|
|
362
|
-
var t = e.state, o = e.instance, n = e.options, i = n.scroll, a = i === void 0 ? !0 : i, c = n.resize, s = c === void 0 ? !0 : c, p = H(t.elements.popper), f = [].concat(t.scrollParents.reference, t.scrollParents.popper);
|
|
363
|
-
return a && f.forEach(function(l) {
|
|
364
|
-
l.addEventListener("scroll", o.update, Qe);
|
|
365
|
-
}), s && p.addEventListener("resize", o.update, Qe), function() {
|
|
366
|
-
a && f.forEach(function(l) {
|
|
367
|
-
l.removeEventListener("scroll", o.update, Qe);
|
|
368
|
-
}), s && p.removeEventListener("resize", o.update, Qe);
|
|
369
|
-
};
|
|
370
|
-
}
|
|
371
|
-
const Cr = {
|
|
372
|
-
name: "eventListeners",
|
|
373
|
-
enabled: !0,
|
|
374
|
-
phase: "write",
|
|
375
|
-
fn: function() {
|
|
376
|
-
},
|
|
377
|
-
effect: Rr,
|
|
378
|
-
data: {}
|
|
379
|
-
};
|
|
380
|
-
var Mr = {
|
|
381
|
-
left: "right",
|
|
382
|
-
right: "left",
|
|
383
|
-
bottom: "top",
|
|
384
|
-
top: "bottom"
|
|
385
|
-
};
|
|
386
|
-
function tt(e) {
|
|
387
|
-
return e.replace(/left|right|bottom|top/g, function(t) {
|
|
388
|
-
return Mr[t];
|
|
389
|
-
});
|
|
390
|
-
}
|
|
391
|
-
var Ar = {
|
|
392
|
-
start: "end",
|
|
393
|
-
end: "start"
|
|
394
|
-
};
|
|
395
|
-
function Xt(e) {
|
|
396
|
-
return e.replace(/start|end/g, function(t) {
|
|
397
|
-
return Ar[t];
|
|
398
|
-
});
|
|
399
|
-
}
|
|
400
|
-
function Pt(e) {
|
|
401
|
-
var t = H(e), o = t.pageXOffset, n = t.pageYOffset;
|
|
402
|
-
return {
|
|
403
|
-
scrollLeft: o,
|
|
404
|
-
scrollTop: n
|
|
405
|
-
};
|
|
406
|
-
}
|
|
407
|
-
function Et(e) {
|
|
408
|
-
return Ce(ue(e)).left + Pt(e).scrollLeft;
|
|
409
|
-
}
|
|
410
|
-
function $r(e, t) {
|
|
411
|
-
var o = H(e), n = ue(e), i = o.visualViewport, a = n.clientWidth, c = n.clientHeight, s = 0, p = 0;
|
|
412
|
-
if (i) {
|
|
413
|
-
a = i.width, c = i.height;
|
|
414
|
-
var f = so();
|
|
415
|
-
(f || !f && t === "fixed") && (s = i.offsetLeft, p = i.offsetTop);
|
|
416
|
-
}
|
|
417
|
-
return {
|
|
418
|
-
width: a,
|
|
419
|
-
height: c,
|
|
420
|
-
x: s + Et(e),
|
|
421
|
-
y: p
|
|
422
|
-
};
|
|
423
|
-
}
|
|
424
|
-
function Dr(e) {
|
|
425
|
-
var t, o = ue(e), n = Pt(e), i = (t = e.ownerDocument) == null ? void 0 : t.body, a = be(o.scrollWidth, o.clientWidth, i ? i.scrollWidth : 0, i ? i.clientWidth : 0), c = be(o.scrollHeight, o.clientHeight, i ? i.scrollHeight : 0, i ? i.clientHeight : 0), s = -n.scrollLeft + Et(e), p = -n.scrollTop;
|
|
426
|
-
return se(i || o).direction === "rtl" && (s += be(o.clientWidth, i ? i.clientWidth : 0) - a), {
|
|
427
|
-
width: a,
|
|
428
|
-
height: c,
|
|
429
|
-
x: s,
|
|
430
|
-
y: p
|
|
431
|
-
};
|
|
432
|
-
}
|
|
433
|
-
function Rt(e) {
|
|
434
|
-
var t = se(e), o = t.overflow, n = t.overflowX, i = t.overflowY;
|
|
435
|
-
return /auto|scroll|overlay|hidden/.test(o + i + n);
|
|
436
|
-
}
|
|
437
|
-
function uo(e) {
|
|
438
|
-
return ["html", "body", "#document"].indexOf(re(e)) >= 0 ? e.ownerDocument.body : z(e) && Rt(e) ? e : uo(at(e));
|
|
439
|
-
}
|
|
440
|
-
function We(e, t) {
|
|
441
|
-
var o;
|
|
442
|
-
t === void 0 && (t = []);
|
|
443
|
-
var n = uo(e), i = n === ((o = e.ownerDocument) == null ? void 0 : o.body), a = H(n), c = i ? [a].concat(a.visualViewport || [], Rt(n) ? n : []) : n, s = t.concat(c);
|
|
444
|
-
return i ? s : (
|
|
445
|
-
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
446
|
-
s.concat(We(at(c)))
|
|
447
|
-
);
|
|
448
|
-
}
|
|
449
|
-
function bt(e) {
|
|
450
|
-
return Object.assign({}, e, {
|
|
451
|
-
left: e.x,
|
|
452
|
-
top: e.y,
|
|
453
|
-
right: e.x + e.width,
|
|
454
|
-
bottom: e.y + e.height
|
|
455
|
-
});
|
|
456
|
-
}
|
|
457
|
-
function jr(e, t) {
|
|
458
|
-
var o = Ce(e, !1, t === "fixed");
|
|
459
|
-
return o.top = o.top + e.clientTop, o.left = o.left + e.clientLeft, o.bottom = o.top + e.clientHeight, o.right = o.left + e.clientWidth, o.width = e.clientWidth, o.height = e.clientHeight, o.x = o.left, o.y = o.top, o;
|
|
460
|
-
}
|
|
461
|
-
function Gt(e, t, o) {
|
|
462
|
-
return t === io ? bt($r(e, o)) : ge(t) ? jr(t, o) : bt(Dr(ue(e)));
|
|
463
|
-
}
|
|
464
|
-
function Nr(e) {
|
|
465
|
-
var t = We(at(e)), o = ["absolute", "fixed"].indexOf(se(e).position) >= 0, n = o && z(e) ? Ue(e) : e;
|
|
466
|
-
return ge(n) ? t.filter(function(i) {
|
|
467
|
-
return ge(i) && po(i, n) && re(i) !== "body";
|
|
468
|
-
}) : [];
|
|
469
|
-
}
|
|
470
|
-
function Br(e, t, o, n) {
|
|
471
|
-
var i = t === "clippingParents" ? Nr(e) : [].concat(t), a = [].concat(i, [o]), c = a[0], s = a.reduce(function(p, f) {
|
|
472
|
-
var l = Gt(e, f, n);
|
|
473
|
-
return p.top = be(l.top, p.top), p.right = rt(l.right, p.right), p.bottom = rt(l.bottom, p.bottom), p.left = be(l.left, p.left), p;
|
|
474
|
-
}, Gt(e, c, n));
|
|
475
|
-
return s.width = s.right - s.left, s.height = s.bottom - s.top, s.x = s.left, s.y = s.top, s;
|
|
476
|
-
}
|
|
477
|
-
function mo(e) {
|
|
478
|
-
var t = e.reference, o = e.element, n = e.placement, i = n ? oe(n) : null, a = n ? Me(n) : null, c = t.x + t.width / 2 - o.width / 2, s = t.y + t.height / 2 - o.height / 2, p;
|
|
479
|
-
switch (i) {
|
|
480
|
-
case I:
|
|
481
|
-
p = {
|
|
482
|
-
x: c,
|
|
483
|
-
y: t.y - o.height
|
|
484
|
-
};
|
|
485
|
-
break;
|
|
486
|
-
case Y:
|
|
487
|
-
p = {
|
|
488
|
-
x: c,
|
|
489
|
-
y: t.y + t.height
|
|
490
|
-
};
|
|
491
|
-
break;
|
|
492
|
-
case X:
|
|
493
|
-
p = {
|
|
494
|
-
x: t.x + t.width,
|
|
495
|
-
y: s
|
|
496
|
-
};
|
|
497
|
-
break;
|
|
498
|
-
case V:
|
|
499
|
-
p = {
|
|
500
|
-
x: t.x - o.width,
|
|
501
|
-
y: s
|
|
502
|
-
};
|
|
503
|
-
break;
|
|
504
|
-
default:
|
|
505
|
-
p = {
|
|
506
|
-
x: t.x,
|
|
507
|
-
y: t.y
|
|
508
|
-
};
|
|
509
|
-
}
|
|
510
|
-
var f = i ? Tt(i) : null;
|
|
511
|
-
if (f != null) {
|
|
512
|
-
var l = f === "y" ? "height" : "width";
|
|
513
|
-
switch (a) {
|
|
514
|
-
case Ee:
|
|
515
|
-
p[f] = p[f] - (t[l] / 2 - o[l] / 2);
|
|
516
|
-
break;
|
|
517
|
-
case Ie:
|
|
518
|
-
p[f] = p[f] + (t[l] / 2 - o[l] / 2);
|
|
519
|
-
break;
|
|
520
|
-
}
|
|
521
|
-
}
|
|
522
|
-
return p;
|
|
523
|
-
}
|
|
524
|
-
function Ve(e, t) {
|
|
525
|
-
t === void 0 && (t = {});
|
|
526
|
-
var o = t, n = o.placement, i = n === void 0 ? e.placement : n, a = o.strategy, c = a === void 0 ? e.strategy : a, s = o.boundary, p = s === void 0 ? er : s, f = o.rootBoundary, l = f === void 0 ? io : f, m = o.elementContext, w = m === void 0 ? Be : m, u = o.altBoundary, T = u === void 0 ? !1 : u, v = o.padding, h = v === void 0 ? 0 : v, P = co(typeof h != "number" ? h : fo(h, He)), M = w === Be ? tr : Be, x = e.rects.popper, d = e.elements[T ? M : w], g = Br(ge(d) ? d : d.contextElement || ue(e.elements.popper), p, l, c), b = Ce(e.elements.reference), E = mo({
|
|
527
|
-
reference: b,
|
|
528
|
-
element: x,
|
|
529
|
-
strategy: "absolute",
|
|
530
|
-
placement: i
|
|
531
|
-
}), $ = bt(Object.assign({}, x, E)), R = w === Be ? $ : b, C = {
|
|
532
|
-
top: g.top - R.top + P.top,
|
|
533
|
-
bottom: R.bottom - g.bottom + P.bottom,
|
|
534
|
-
left: g.left - R.left + P.left,
|
|
535
|
-
right: R.right - g.right + P.right
|
|
536
|
-
}, j = e.modifiersData.offset;
|
|
537
|
-
if (w === Be && j) {
|
|
538
|
-
var L = j[i];
|
|
539
|
-
Object.keys(C).forEach(function(N) {
|
|
540
|
-
var G = [X, Y].indexOf(N) >= 0 ? 1 : -1, K = [I, Y].indexOf(N) >= 0 ? "y" : "x";
|
|
541
|
-
C[N] += L[K] * G;
|
|
542
|
-
});
|
|
543
|
-
}
|
|
544
|
-
return C;
|
|
545
|
-
}
|
|
546
|
-
function Lr(e, t) {
|
|
547
|
-
t === void 0 && (t = {});
|
|
548
|
-
var o = t, n = o.placement, i = o.boundary, a = o.rootBoundary, c = o.padding, s = o.flipVariations, p = o.allowedAutoPlacements, f = p === void 0 ? ao : p, l = Me(n), m = l ? s ? qt : qt.filter(function(T) {
|
|
549
|
-
return Me(T) === l;
|
|
550
|
-
}) : He, w = m.filter(function(T) {
|
|
551
|
-
return f.indexOf(T) >= 0;
|
|
552
|
-
});
|
|
553
|
-
w.length === 0 && (w = m);
|
|
554
|
-
var u = w.reduce(function(T, v) {
|
|
555
|
-
return T[v] = Ve(e, {
|
|
556
|
-
placement: v,
|
|
557
|
-
boundary: i,
|
|
558
|
-
rootBoundary: a,
|
|
559
|
-
padding: c
|
|
560
|
-
})[oe(v)], T;
|
|
561
|
-
}, {});
|
|
562
|
-
return Object.keys(u).sort(function(T, v) {
|
|
563
|
-
return u[T] - u[v];
|
|
564
|
-
});
|
|
565
|
-
}
|
|
566
|
-
function kr(e) {
|
|
567
|
-
if (oe(e) === wt)
|
|
568
|
-
return [];
|
|
569
|
-
var t = tt(e);
|
|
570
|
-
return [Xt(e), t, Xt(t)];
|
|
571
|
-
}
|
|
572
|
-
function Sr(e) {
|
|
573
|
-
var t = e.state, o = e.options, n = e.name;
|
|
574
|
-
if (!t.modifiersData[n]._skip) {
|
|
575
|
-
for (var i = o.mainAxis, a = i === void 0 ? !0 : i, c = o.altAxis, s = c === void 0 ? !0 : c, p = o.fallbackPlacements, f = o.padding, l = o.boundary, m = o.rootBoundary, w = o.altBoundary, u = o.flipVariations, T = u === void 0 ? !0 : u, v = o.allowedAutoPlacements, h = t.options.placement, P = oe(h), M = P === h, x = p || (M || !T ? [tt(h)] : kr(h)), d = [h].concat(x).reduce(function(ne, Q) {
|
|
576
|
-
return ne.concat(oe(Q) === wt ? Lr(t, {
|
|
577
|
-
placement: Q,
|
|
578
|
-
boundary: l,
|
|
579
|
-
rootBoundary: m,
|
|
580
|
-
padding: f,
|
|
581
|
-
flipVariations: T,
|
|
582
|
-
allowedAutoPlacements: v
|
|
583
|
-
}) : Q);
|
|
584
|
-
}, []), g = t.rects.reference, b = t.rects.popper, E = /* @__PURE__ */ new Map(), $ = !0, R = d[0], C = 0; C < d.length; C++) {
|
|
585
|
-
var j = d[C], L = oe(j), N = Me(j) === Ee, G = [I, Y].indexOf(L) >= 0, K = G ? "width" : "height", D = Ve(t, {
|
|
586
|
-
placement: j,
|
|
587
|
-
boundary: l,
|
|
588
|
-
rootBoundary: m,
|
|
589
|
-
altBoundary: w,
|
|
590
|
-
padding: f
|
|
591
|
-
}), B = G ? N ? X : V : N ? Y : I;
|
|
592
|
-
g[K] > b[K] && (B = tt(B));
|
|
593
|
-
var k = tt(B), J = [];
|
|
594
|
-
if (a && J.push(D[L] <= 0), s && J.push(D[B] <= 0, D[k] <= 0), J.every(function(ne) {
|
|
595
|
-
return ne;
|
|
596
|
-
})) {
|
|
597
|
-
R = j, $ = !1;
|
|
598
|
-
break;
|
|
599
|
-
}
|
|
600
|
-
E.set(j, J);
|
|
601
|
-
}
|
|
602
|
-
if ($)
|
|
603
|
-
for (var ye = T ? 3 : 1, we = function(Q) {
|
|
604
|
-
var pe = d.find(function(le) {
|
|
605
|
-
var S = E.get(le);
|
|
606
|
-
if (S)
|
|
607
|
-
return S.slice(0, Q).every(function(Z) {
|
|
608
|
-
return Z;
|
|
609
|
-
});
|
|
610
|
-
});
|
|
611
|
-
if (pe)
|
|
612
|
-
return R = pe, "break";
|
|
613
|
-
}, de = ye; de > 0; de--) {
|
|
614
|
-
var me = we(de);
|
|
615
|
-
if (me === "break")
|
|
616
|
-
break;
|
|
617
|
-
}
|
|
618
|
-
t.placement !== R && (t.modifiersData[n]._skip = !0, t.placement = R, t.reset = !0);
|
|
619
|
-
}
|
|
620
|
-
}
|
|
621
|
-
const Wr = {
|
|
622
|
-
name: "flip",
|
|
623
|
-
enabled: !0,
|
|
624
|
-
phase: "main",
|
|
625
|
-
fn: Sr,
|
|
626
|
-
requiresIfExists: ["offset"],
|
|
627
|
-
data: {
|
|
628
|
-
_skip: !1
|
|
629
|
-
}
|
|
630
|
-
};
|
|
631
|
-
function Kt(e, t, o) {
|
|
632
|
-
return o === void 0 && (o = {
|
|
633
|
-
x: 0,
|
|
634
|
-
y: 0
|
|
635
|
-
}), {
|
|
636
|
-
top: e.top - t.height - o.y,
|
|
637
|
-
right: e.right - t.width + o.x,
|
|
638
|
-
bottom: e.bottom - t.height + o.y,
|
|
639
|
-
left: e.left - t.width - o.x
|
|
640
|
-
};
|
|
641
|
-
}
|
|
642
|
-
function Jt(e) {
|
|
643
|
-
return [I, X, Y, V].some(function(t) {
|
|
644
|
-
return e[t] >= 0;
|
|
645
|
-
});
|
|
646
|
-
}
|
|
647
|
-
function Ir(e) {
|
|
648
|
-
var t = e.state, o = e.name, n = t.rects.reference, i = t.rects.popper, a = t.modifiersData.preventOverflow, c = Ve(t, {
|
|
649
|
-
elementContext: "reference"
|
|
650
|
-
}), s = Ve(t, {
|
|
651
|
-
altBoundary: !0
|
|
652
|
-
}), p = Kt(c, n), f = Kt(s, i, a), l = Jt(p), m = Jt(f);
|
|
653
|
-
t.modifiersData[o] = {
|
|
654
|
-
referenceClippingOffsets: p,
|
|
655
|
-
popperEscapeOffsets: f,
|
|
656
|
-
isReferenceHidden: l,
|
|
657
|
-
hasPopperEscaped: m
|
|
658
|
-
}, t.attributes.popper = Object.assign({}, t.attributes.popper, {
|
|
659
|
-
"data-popper-reference-hidden": l,
|
|
660
|
-
"data-popper-escaped": m
|
|
661
|
-
});
|
|
662
|
-
}
|
|
663
|
-
const Vr = {
|
|
664
|
-
name: "hide",
|
|
665
|
-
enabled: !0,
|
|
666
|
-
phase: "main",
|
|
667
|
-
requiresIfExists: ["preventOverflow"],
|
|
668
|
-
fn: Ir
|
|
669
|
-
};
|
|
670
|
-
function Fr(e, t, o) {
|
|
671
|
-
var n = oe(e), i = [V, I].indexOf(n) >= 0 ? -1 : 1, a = typeof o == "function" ? o(Object.assign({}, t, {
|
|
672
|
-
placement: e
|
|
673
|
-
})) : o, c = a[0], s = a[1];
|
|
674
|
-
return c = c || 0, s = (s || 0) * i, [V, X].indexOf(n) >= 0 ? {
|
|
675
|
-
x: s,
|
|
676
|
-
y: c
|
|
677
|
-
} : {
|
|
678
|
-
x: c,
|
|
679
|
-
y: s
|
|
680
|
-
};
|
|
681
|
-
}
|
|
682
|
-
function Hr(e) {
|
|
683
|
-
var t = e.state, o = e.options, n = e.name, i = o.offset, a = i === void 0 ? [0, 0] : i, c = ao.reduce(function(l, m) {
|
|
684
|
-
return l[m] = Fr(m, t.rects, a), l;
|
|
685
|
-
}, {}), s = c[t.placement], p = s.x, f = s.y;
|
|
686
|
-
t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += p, t.modifiersData.popperOffsets.y += f), t.modifiersData[n] = c;
|
|
687
|
-
}
|
|
688
|
-
const Ur = {
|
|
689
|
-
name: "offset",
|
|
690
|
-
enabled: !0,
|
|
691
|
-
phase: "main",
|
|
692
|
-
requires: ["popperOffsets"],
|
|
693
|
-
fn: Hr
|
|
694
|
-
};
|
|
695
|
-
function _r(e) {
|
|
696
|
-
var t = e.state, o = e.name;
|
|
697
|
-
t.modifiersData[o] = mo({
|
|
698
|
-
reference: t.rects.reference,
|
|
699
|
-
element: t.rects.popper,
|
|
700
|
-
strategy: "absolute",
|
|
701
|
-
placement: t.placement
|
|
702
|
-
});
|
|
703
|
-
}
|
|
704
|
-
const qr = {
|
|
705
|
-
name: "popperOffsets",
|
|
706
|
-
enabled: !0,
|
|
707
|
-
phase: "read",
|
|
708
|
-
fn: _r,
|
|
709
|
-
data: {}
|
|
710
|
-
};
|
|
711
|
-
function zr(e) {
|
|
712
|
-
return e === "x" ? "y" : "x";
|
|
713
|
-
}
|
|
714
|
-
function Yr(e) {
|
|
715
|
-
var t = e.state, o = e.options, n = e.name, i = o.mainAxis, a = i === void 0 ? !0 : i, c = o.altAxis, s = c === void 0 ? !1 : c, p = o.boundary, f = o.rootBoundary, l = o.altBoundary, m = o.padding, w = o.tether, u = w === void 0 ? !0 : w, T = o.tetherOffset, v = T === void 0 ? 0 : T, h = Ve(t, {
|
|
716
|
-
boundary: p,
|
|
717
|
-
rootBoundary: f,
|
|
718
|
-
padding: m,
|
|
719
|
-
altBoundary: l
|
|
720
|
-
}), P = oe(t.placement), M = Me(t.placement), x = !M, d = Tt(P), g = zr(d), b = t.modifiersData.popperOffsets, E = t.rects.reference, $ = t.rects.popper, R = typeof v == "function" ? v(Object.assign({}, t.rects, {
|
|
721
|
-
placement: t.placement
|
|
722
|
-
})) : v, C = typeof R == "number" ? {
|
|
723
|
-
mainAxis: R,
|
|
724
|
-
altAxis: R
|
|
725
|
-
} : Object.assign({
|
|
726
|
-
mainAxis: 0,
|
|
727
|
-
altAxis: 0
|
|
728
|
-
}, R), j = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, L = {
|
|
729
|
-
x: 0,
|
|
730
|
-
y: 0
|
|
731
|
-
};
|
|
732
|
-
if (b) {
|
|
733
|
-
if (a) {
|
|
734
|
-
var N, G = d === "y" ? I : V, K = d === "y" ? Y : X, D = d === "y" ? "height" : "width", B = b[d], k = B + h[G], J = B - h[K], ye = u ? -$[D] / 2 : 0, we = M === Ee ? E[D] : $[D], de = M === Ee ? -$[D] : -E[D], me = t.elements.arrow, ne = u && me ? Ot(me) : {
|
|
735
|
-
width: 0,
|
|
736
|
-
height: 0
|
|
737
|
-
}, Q = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : lo(), pe = Q[G], le = Q[K], S = Se(0, E[D], ne[D]), Z = x ? E[D] / 2 - ye - S - pe - C.mainAxis : we - S - pe - C.mainAxis, xe = x ? -E[D] / 2 + ye + S + le + C.mainAxis : de + S + le + C.mainAxis, U = t.elements.arrow && Ue(t.elements.arrow), pt = U ? d === "y" ? U.clientTop || 0 : U.clientLeft || 0 : 0, _e = (N = j == null ? void 0 : j[d]) != null ? N : 0, qe = B + Z - _e - pt, _ = B + xe - _e, Oe = Se(u ? rt(k, qe) : k, B, u ? be(J, _) : J);
|
|
738
|
-
b[d] = Oe, L[d] = Oe - B;
|
|
739
|
-
}
|
|
740
|
-
if (s) {
|
|
741
|
-
var ze, W = d === "x" ? I : V, Ye = d === "x" ? Y : X, ee = b[g], Te = g === "y" ? "height" : "width", ve = ee + h[W], Pe = ee - h[Ye], ce = [I, V].indexOf(P) !== -1, he = (ze = j == null ? void 0 : j[g]) != null ? ze : 0, te = ce ? ve : ee - E[Te] - $[Te] - he + C.altAxis, Ae = ce ? ee + E[Te] + $[Te] - he - C.altAxis : Pe, Xe = u && ce ? br(te, ee, Ae) : Se(u ? te : ve, ee, u ? Ae : Pe);
|
|
742
|
-
b[g] = Xe, L[g] = Xe - ee;
|
|
743
|
-
}
|
|
744
|
-
t.modifiersData[n] = L;
|
|
745
|
-
}
|
|
746
|
-
}
|
|
747
|
-
const Xr = {
|
|
748
|
-
name: "preventOverflow",
|
|
749
|
-
enabled: !0,
|
|
750
|
-
phase: "main",
|
|
751
|
-
fn: Yr,
|
|
752
|
-
requiresIfExists: ["offset"]
|
|
753
|
-
};
|
|
754
|
-
function Gr(e) {
|
|
755
|
-
return {
|
|
756
|
-
scrollLeft: e.scrollLeft,
|
|
757
|
-
scrollTop: e.scrollTop
|
|
758
|
-
};
|
|
759
|
-
}
|
|
760
|
-
function Kr(e) {
|
|
761
|
-
return e === H(e) || !z(e) ? Pt(e) : Gr(e);
|
|
762
|
-
}
|
|
763
|
-
function Jr(e) {
|
|
764
|
-
var t = e.getBoundingClientRect(), o = Re(t.width) / e.offsetWidth || 1, n = Re(t.height) / e.offsetHeight || 1;
|
|
765
|
-
return o !== 1 || n !== 1;
|
|
766
|
-
}
|
|
767
|
-
function Qr(e, t, o) {
|
|
768
|
-
o === void 0 && (o = !1);
|
|
769
|
-
var n = z(t), i = z(t) && Jr(t), a = ue(t), c = Ce(e, i, o), s = {
|
|
770
|
-
scrollLeft: 0,
|
|
771
|
-
scrollTop: 0
|
|
772
|
-
}, p = {
|
|
773
|
-
x: 0,
|
|
774
|
-
y: 0
|
|
775
|
-
};
|
|
776
|
-
return (n || !n && !o) && ((re(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
777
|
-
Rt(a)) && (s = Kr(t)), z(t) ? (p = Ce(t, !0), p.x += t.clientLeft, p.y += t.clientTop) : a && (p.x = Et(a))), {
|
|
778
|
-
x: c.left + s.scrollLeft - p.x,
|
|
779
|
-
y: c.top + s.scrollTop - p.y,
|
|
780
|
-
width: c.width,
|
|
781
|
-
height: c.height
|
|
782
|
-
};
|
|
783
|
-
}
|
|
784
|
-
function Zr(e) {
|
|
785
|
-
var t = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Set(), n = [];
|
|
786
|
-
e.forEach(function(a) {
|
|
787
|
-
t.set(a.name, a);
|
|
788
|
-
});
|
|
789
|
-
function i(a) {
|
|
790
|
-
o.add(a.name);
|
|
791
|
-
var c = [].concat(a.requires || [], a.requiresIfExists || []);
|
|
792
|
-
c.forEach(function(s) {
|
|
793
|
-
if (!o.has(s)) {
|
|
794
|
-
var p = t.get(s);
|
|
795
|
-
p && i(p);
|
|
796
|
-
}
|
|
797
|
-
}), n.push(a);
|
|
798
|
-
}
|
|
799
|
-
return e.forEach(function(a) {
|
|
800
|
-
o.has(a.name) || i(a);
|
|
801
|
-
}), n;
|
|
802
|
-
}
|
|
803
|
-
function en(e) {
|
|
804
|
-
var t = Zr(e);
|
|
805
|
-
return fr.reduce(function(o, n) {
|
|
806
|
-
return o.concat(t.filter(function(i) {
|
|
807
|
-
return i.phase === n;
|
|
808
|
-
}));
|
|
809
|
-
}, []);
|
|
810
|
-
}
|
|
811
|
-
function tn(e) {
|
|
812
|
-
var t;
|
|
813
|
-
return function() {
|
|
814
|
-
return t || (t = new Promise(function(o) {
|
|
815
|
-
Promise.resolve().then(function() {
|
|
816
|
-
t = void 0, o(e());
|
|
817
|
-
});
|
|
818
|
-
})), t;
|
|
819
|
-
};
|
|
820
|
-
}
|
|
821
|
-
function on(e) {
|
|
822
|
-
var t = e.reduce(function(o, n) {
|
|
823
|
-
var i = o[n.name];
|
|
824
|
-
return o[n.name] = i ? Object.assign({}, i, n, {
|
|
825
|
-
options: Object.assign({}, i.options, n.options),
|
|
826
|
-
data: Object.assign({}, i.data, n.data)
|
|
827
|
-
}) : n, o;
|
|
828
|
-
}, {});
|
|
829
|
-
return Object.keys(t).map(function(o) {
|
|
830
|
-
return t[o];
|
|
831
|
-
});
|
|
832
|
-
}
|
|
833
|
-
var Qt = {
|
|
834
|
-
placement: "bottom",
|
|
835
|
-
modifiers: [],
|
|
836
|
-
strategy: "absolute"
|
|
837
|
-
};
|
|
838
|
-
function Zt() {
|
|
839
|
-
for (var e = arguments.length, t = new Array(e), o = 0; o < e; o++)
|
|
840
|
-
t[o] = arguments[o];
|
|
841
|
-
return !t.some(function(n) {
|
|
842
|
-
return !(n && typeof n.getBoundingClientRect == "function");
|
|
843
|
-
});
|
|
844
|
-
}
|
|
845
|
-
function rn(e) {
|
|
846
|
-
e === void 0 && (e = {});
|
|
847
|
-
var t = e, o = t.defaultModifiers, n = o === void 0 ? [] : o, i = t.defaultOptions, a = i === void 0 ? Qt : i;
|
|
848
|
-
return function(s, p, f) {
|
|
849
|
-
f === void 0 && (f = a);
|
|
850
|
-
var l = {
|
|
851
|
-
placement: "bottom",
|
|
852
|
-
orderedModifiers: [],
|
|
853
|
-
options: Object.assign({}, Qt, a),
|
|
854
|
-
modifiersData: {},
|
|
855
|
-
elements: {
|
|
856
|
-
reference: s,
|
|
857
|
-
popper: p
|
|
858
|
-
},
|
|
859
|
-
attributes: {},
|
|
860
|
-
styles: {}
|
|
861
|
-
}, m = [], w = !1, u = {
|
|
862
|
-
state: l,
|
|
863
|
-
setOptions: function(P) {
|
|
864
|
-
var M = typeof P == "function" ? P(l.options) : P;
|
|
865
|
-
v(), l.options = Object.assign({}, a, l.options, M), l.scrollParents = {
|
|
866
|
-
reference: ge(s) ? We(s) : s.contextElement ? We(s.contextElement) : [],
|
|
867
|
-
popper: We(p)
|
|
868
|
-
};
|
|
869
|
-
var x = en(on([].concat(n, l.options.modifiers)));
|
|
870
|
-
return l.orderedModifiers = x.filter(function(d) {
|
|
871
|
-
return d.enabled;
|
|
872
|
-
}), T(), u.update();
|
|
873
|
-
},
|
|
874
|
-
// Sync update – it will always be executed, even if not necessary. This
|
|
875
|
-
// is useful for low frequency updates where sync behavior simplifies the
|
|
876
|
-
// logic.
|
|
877
|
-
// For high frequency updates (e.g. `resize` and `scroll` events), always
|
|
878
|
-
// prefer the async Popper#update method
|
|
879
|
-
forceUpdate: function() {
|
|
880
|
-
if (!w) {
|
|
881
|
-
var P = l.elements, M = P.reference, x = P.popper;
|
|
882
|
-
if (Zt(M, x)) {
|
|
883
|
-
l.rects = {
|
|
884
|
-
reference: Qr(M, Ue(x), l.options.strategy === "fixed"),
|
|
885
|
-
popper: Ot(x)
|
|
886
|
-
}, l.reset = !1, l.placement = l.options.placement, l.orderedModifiers.forEach(function(C) {
|
|
887
|
-
return l.modifiersData[C.name] = Object.assign({}, C.data);
|
|
888
|
-
});
|
|
889
|
-
for (var d = 0; d < l.orderedModifiers.length; d++) {
|
|
890
|
-
if (l.reset === !0) {
|
|
891
|
-
l.reset = !1, d = -1;
|
|
892
|
-
continue;
|
|
893
|
-
}
|
|
894
|
-
var g = l.orderedModifiers[d], b = g.fn, E = g.options, $ = E === void 0 ? {} : E, R = g.name;
|
|
895
|
-
typeof b == "function" && (l = b({
|
|
896
|
-
state: l,
|
|
897
|
-
options: $,
|
|
898
|
-
name: R,
|
|
899
|
-
instance: u
|
|
900
|
-
}) || l);
|
|
901
|
-
}
|
|
902
|
-
}
|
|
903
|
-
}
|
|
904
|
-
},
|
|
905
|
-
// Async and optimistically optimized update – it will not be executed if
|
|
906
|
-
// not necessary (debounced to run at most once-per-tick)
|
|
907
|
-
update: tn(function() {
|
|
908
|
-
return new Promise(function(h) {
|
|
909
|
-
u.forceUpdate(), h(l);
|
|
910
|
-
});
|
|
911
|
-
}),
|
|
912
|
-
destroy: function() {
|
|
913
|
-
v(), w = !0;
|
|
914
|
-
}
|
|
915
|
-
};
|
|
916
|
-
if (!Zt(s, p))
|
|
917
|
-
return u;
|
|
918
|
-
u.setOptions(f).then(function(h) {
|
|
919
|
-
!w && f.onFirstUpdate && f.onFirstUpdate(h);
|
|
920
|
-
});
|
|
921
|
-
function T() {
|
|
922
|
-
l.orderedModifiers.forEach(function(h) {
|
|
923
|
-
var P = h.name, M = h.options, x = M === void 0 ? {} : M, d = h.effect;
|
|
924
|
-
if (typeof d == "function") {
|
|
925
|
-
var g = d({
|
|
926
|
-
state: l,
|
|
927
|
-
name: P,
|
|
928
|
-
instance: u,
|
|
929
|
-
options: x
|
|
930
|
-
}), b = function() {
|
|
931
|
-
};
|
|
932
|
-
m.push(g || b);
|
|
933
|
-
}
|
|
934
|
-
});
|
|
935
|
-
}
|
|
936
|
-
function v() {
|
|
937
|
-
m.forEach(function(h) {
|
|
938
|
-
return h();
|
|
939
|
-
}), m = [];
|
|
940
|
-
}
|
|
941
|
-
return u;
|
|
942
|
-
};
|
|
943
|
-
}
|
|
944
|
-
var nn = [Cr, qr, Er, mr, Ur, Wr, Xr, xr, Vr], an = /* @__PURE__ */ rn({
|
|
945
|
-
defaultModifiers: nn
|
|
946
|
-
});
|
|
947
|
-
function sn(e) {
|
|
948
|
-
return gt("MuiPopper", e);
|
|
949
|
-
}
|
|
950
|
-
yt("MuiPopper", ["root"]);
|
|
951
|
-
const pn = ["anchorEl", "children", "direction", "disablePortal", "modifiers", "open", "placement", "popperOptions", "popperRef", "slotProps", "slots", "TransitionProps", "ownerState"], ln = ["anchorEl", "children", "container", "direction", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "style", "transition", "slotProps", "slots"];
|
|
952
|
-
function cn(e, t) {
|
|
953
|
-
if (t === "ltr")
|
|
954
|
-
return e;
|
|
955
|
-
switch (e) {
|
|
956
|
-
case "bottom-end":
|
|
957
|
-
return "bottom-start";
|
|
958
|
-
case "bottom-start":
|
|
959
|
-
return "bottom-end";
|
|
960
|
-
case "top-end":
|
|
961
|
-
return "top-start";
|
|
962
|
-
case "top-start":
|
|
963
|
-
return "top-end";
|
|
964
|
-
default:
|
|
965
|
-
return e;
|
|
966
|
-
}
|
|
967
|
-
}
|
|
968
|
-
function nt(e) {
|
|
969
|
-
return typeof e == "function" ? e() : e;
|
|
970
|
-
}
|
|
971
|
-
function st(e) {
|
|
972
|
-
return e.nodeType !== void 0;
|
|
973
|
-
}
|
|
974
|
-
function fn(e) {
|
|
975
|
-
return !st(e);
|
|
976
|
-
}
|
|
977
|
-
const un = () => oo({
|
|
978
|
-
root: ["root"]
|
|
979
|
-
}, Zo(sn)), dn = {}, mn = /* @__PURE__ */ O.forwardRef(function(t, o) {
|
|
980
|
-
var n;
|
|
981
|
-
const {
|
|
982
|
-
anchorEl: i,
|
|
983
|
-
children: a,
|
|
984
|
-
direction: c,
|
|
985
|
-
disablePortal: s,
|
|
986
|
-
modifiers: p,
|
|
987
|
-
open: f,
|
|
988
|
-
placement: l,
|
|
989
|
-
popperOptions: m,
|
|
990
|
-
popperRef: w,
|
|
991
|
-
slotProps: u = {},
|
|
992
|
-
slots: T = {},
|
|
993
|
-
TransitionProps: v
|
|
994
|
-
// @ts-ignore internal logic
|
|
995
|
-
// prevent from spreading to DOM, it can come from the parent component e.g. Select.
|
|
996
|
-
} = t, h = Fe(t, pn), P = O.useRef(null), M = vt(P, o), x = O.useRef(null), d = vt(x, w), g = O.useRef(d);
|
|
997
|
-
_t(() => {
|
|
998
|
-
g.current = d;
|
|
999
|
-
}, [d]), O.useImperativeHandle(w, () => x.current, []);
|
|
1000
|
-
const b = cn(l, c), [E, $] = O.useState(b), [R, C] = O.useState(nt(i));
|
|
1001
|
-
O.useEffect(() => {
|
|
1002
|
-
x.current && x.current.forceUpdate();
|
|
1003
|
-
}), O.useEffect(() => {
|
|
1004
|
-
i && C(nt(i));
|
|
1005
|
-
}, [i]), _t(() => {
|
|
1006
|
-
if (!R || !f)
|
|
1007
|
-
return;
|
|
1008
|
-
const K = (k) => {
|
|
1009
|
-
$(k.placement);
|
|
1010
|
-
};
|
|
1011
|
-
if (process.env.NODE_ENV !== "production" && R && st(R) && R.nodeType === 1) {
|
|
1012
|
-
const k = R.getBoundingClientRect();
|
|
1013
|
-
process.env.NODE_ENV !== "test" && k.top === 0 && k.left === 0 && k.right === 0 && k.bottom === 0 && console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
|
|
1014
|
-
`));
|
|
1015
|
-
}
|
|
1016
|
-
let D = [{
|
|
1017
|
-
name: "preventOverflow",
|
|
1018
|
-
options: {
|
|
1019
|
-
altBoundary: s
|
|
1020
|
-
}
|
|
1021
|
-
}, {
|
|
1022
|
-
name: "flip",
|
|
1023
|
-
options: {
|
|
1024
|
-
altBoundary: s
|
|
1025
|
-
}
|
|
1026
|
-
}, {
|
|
1027
|
-
name: "onUpdate",
|
|
1028
|
-
enabled: !0,
|
|
1029
|
-
phase: "afterWrite",
|
|
1030
|
-
fn: ({
|
|
1031
|
-
state: k
|
|
1032
|
-
}) => {
|
|
1033
|
-
K(k);
|
|
1034
|
-
}
|
|
1035
|
-
}];
|
|
1036
|
-
p != null && (D = D.concat(p)), m && m.modifiers != null && (D = D.concat(m.modifiers));
|
|
1037
|
-
const B = an(R, P.current, A({
|
|
1038
|
-
placement: b
|
|
1039
|
-
}, m, {
|
|
1040
|
-
modifiers: D
|
|
1041
|
-
}));
|
|
1042
|
-
return g.current(B), () => {
|
|
1043
|
-
B.destroy(), g.current(null);
|
|
1044
|
-
};
|
|
1045
|
-
}, [R, s, p, f, m, b]);
|
|
1046
|
-
const j = {
|
|
1047
|
-
placement: E
|
|
1048
|
-
};
|
|
1049
|
-
v !== null && (j.TransitionProps = v);
|
|
1050
|
-
const L = un(), N = (n = T.root) != null ? n : "div", G = Ho({
|
|
1051
|
-
elementType: N,
|
|
1052
|
-
externalSlotProps: u.root,
|
|
1053
|
-
externalForwardedProps: h,
|
|
1054
|
-
additionalProps: {
|
|
1055
|
-
role: "tooltip",
|
|
1056
|
-
ref: M
|
|
1057
|
-
},
|
|
1058
|
-
ownerState: t,
|
|
1059
|
-
className: L.root
|
|
1060
|
-
});
|
|
1061
|
-
return /* @__PURE__ */ ae(N, A({}, G, {
|
|
1062
|
-
children: typeof a == "function" ? a(j) : a
|
|
1063
|
-
}));
|
|
1064
|
-
}), vo = /* @__PURE__ */ O.forwardRef(function(t, o) {
|
|
1065
|
-
const {
|
|
1066
|
-
anchorEl: n,
|
|
1067
|
-
children: i,
|
|
1068
|
-
container: a,
|
|
1069
|
-
direction: c = "ltr",
|
|
1070
|
-
disablePortal: s = !1,
|
|
1071
|
-
keepMounted: p = !1,
|
|
1072
|
-
modifiers: f,
|
|
1073
|
-
open: l,
|
|
1074
|
-
placement: m = "bottom",
|
|
1075
|
-
popperOptions: w = dn,
|
|
1076
|
-
popperRef: u,
|
|
1077
|
-
style: T,
|
|
1078
|
-
transition: v = !1,
|
|
1079
|
-
slotProps: h = {},
|
|
1080
|
-
slots: P = {}
|
|
1081
|
-
} = t, M = Fe(t, ln), [x, d] = O.useState(!0), g = () => {
|
|
1082
|
-
d(!1);
|
|
1083
|
-
}, b = () => {
|
|
1084
|
-
d(!0);
|
|
1085
|
-
};
|
|
1086
|
-
if (!p && !l && (!v || x))
|
|
1087
|
-
return null;
|
|
1088
|
-
let E;
|
|
1089
|
-
if (a)
|
|
1090
|
-
E = a;
|
|
1091
|
-
else if (n) {
|
|
1092
|
-
const C = nt(n);
|
|
1093
|
-
E = C && st(C) ? Ht(C).body : Ht(null).body;
|
|
1094
|
-
}
|
|
1095
|
-
const $ = !l && p && (!v || x) ? "none" : void 0, R = v ? {
|
|
1096
|
-
in: l,
|
|
1097
|
-
onEnter: g,
|
|
1098
|
-
onExited: b
|
|
1099
|
-
} : void 0;
|
|
1100
|
-
return /* @__PURE__ */ ae(Fo, {
|
|
1101
|
-
disablePortal: s,
|
|
1102
|
-
container: E,
|
|
1103
|
-
children: /* @__PURE__ */ ae(mn, A({
|
|
1104
|
-
anchorEl: n,
|
|
1105
|
-
direction: c,
|
|
1106
|
-
disablePortal: s,
|
|
1107
|
-
modifiers: f,
|
|
1108
|
-
ref: o,
|
|
1109
|
-
open: v ? !x : l,
|
|
1110
|
-
placement: m,
|
|
1111
|
-
popperOptions: w,
|
|
1112
|
-
popperRef: u,
|
|
1113
|
-
slotProps: h,
|
|
1114
|
-
slots: P
|
|
1115
|
-
}, M, {
|
|
1116
|
-
style: A({
|
|
1117
|
-
// Prevents scroll issue, waiting for Popper.js to add this style once initiated.
|
|
1118
|
-
position: "fixed",
|
|
1119
|
-
// Fix Popper.js display issue
|
|
1120
|
-
top: 0,
|
|
1121
|
-
left: 0,
|
|
1122
|
-
display: $
|
|
1123
|
-
}, T),
|
|
1124
|
-
TransitionProps: R,
|
|
1125
|
-
children: i
|
|
1126
|
-
}))
|
|
1127
|
-
});
|
|
1128
|
-
});
|
|
1129
|
-
process.env.NODE_ENV !== "production" && (vo.propTypes = {
|
|
1130
|
-
// ----------------------------- Warning --------------------------------
|
|
1131
|
-
// | These PropTypes are generated from the TypeScript type definitions |
|
|
1132
|
-
// | To update them edit TypeScript types and run "yarn proptypes" |
|
|
1133
|
-
// ----------------------------------------------------------------------
|
|
1134
|
-
/**
|
|
1135
|
-
* An HTML element, [virtualElement](https://popper.js.org/docs/v2/virtual-elements/),
|
|
1136
|
-
* or a function that returns either.
|
|
1137
|
-
* It's used to set the position of the popper.
|
|
1138
|
-
* The return value will passed as the reference object of the Popper instance.
|
|
1139
|
-
*/
|
|
1140
|
-
anchorEl: zo(r.oneOfType([ot, r.object, r.func]), (e) => {
|
|
1141
|
-
if (e.open) {
|
|
1142
|
-
const t = nt(e.anchorEl);
|
|
1143
|
-
if (t && st(t) && t.nodeType === 1) {
|
|
1144
|
-
const o = t.getBoundingClientRect();
|
|
1145
|
-
if (process.env.NODE_ENV !== "test" && o.top === 0 && o.left === 0 && o.right === 0 && o.bottom === 0)
|
|
1146
|
-
return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
|
|
1147
|
-
`));
|
|
1148
|
-
} else if (!t || typeof t.getBoundingClientRect != "function" || fn(t) && t.contextElement != null && t.contextElement.nodeType !== 1)
|
|
1149
|
-
return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.", "It should be an HTML element instance or a virtualElement ", "(https://popper.js.org/docs/v2/virtual-elements/)."].join(`
|
|
1150
|
-
`));
|
|
1151
|
-
}
|
|
1152
|
-
return null;
|
|
1153
|
-
}),
|
|
1154
|
-
/**
|
|
1155
|
-
* Popper render function or node.
|
|
1156
|
-
*/
|
|
1157
|
-
children: r.oneOfType([r.node, r.func]),
|
|
1158
|
-
/**
|
|
1159
|
-
* An HTML element or function that returns one.
|
|
1160
|
-
* The `container` will have the portal children appended to it.
|
|
1161
|
-
*
|
|
1162
|
-
* By default, it uses the body of the top-level document object,
|
|
1163
|
-
* so it's simply `document.body` most of the time.
|
|
1164
|
-
*/
|
|
1165
|
-
container: r.oneOfType([ot, r.func]),
|
|
1166
|
-
/**
|
|
1167
|
-
* Direction of the text.
|
|
1168
|
-
* @default 'ltr'
|
|
1169
|
-
*/
|
|
1170
|
-
direction: r.oneOf(["ltr", "rtl"]),
|
|
1171
|
-
/**
|
|
1172
|
-
* The `children` will be under the DOM hierarchy of the parent component.
|
|
1173
|
-
* @default false
|
|
1174
|
-
*/
|
|
1175
|
-
disablePortal: r.bool,
|
|
1176
|
-
/**
|
|
1177
|
-
* Always keep the children in the DOM.
|
|
1178
|
-
* This prop can be useful in SEO situation or
|
|
1179
|
-
* when you want to maximize the responsiveness of the Popper.
|
|
1180
|
-
* @default false
|
|
1181
|
-
*/
|
|
1182
|
-
keepMounted: r.bool,
|
|
1183
|
-
/**
|
|
1184
|
-
* Popper.js is based on a "plugin-like" architecture,
|
|
1185
|
-
* most of its features are fully encapsulated "modifiers".
|
|
1186
|
-
*
|
|
1187
|
-
* A modifier is a function that is called each time Popper.js needs to
|
|
1188
|
-
* compute the position of the popper.
|
|
1189
|
-
* For this reason, modifiers should be very performant to avoid bottlenecks.
|
|
1190
|
-
* To learn how to create a modifier, [read the modifiers documentation](https://popper.js.org/docs/v2/modifiers/).
|
|
1191
|
-
*/
|
|
1192
|
-
modifiers: r.arrayOf(r.shape({
|
|
1193
|
-
data: r.object,
|
|
1194
|
-
effect: r.func,
|
|
1195
|
-
enabled: r.bool,
|
|
1196
|
-
fn: r.func,
|
|
1197
|
-
name: r.any,
|
|
1198
|
-
options: r.object,
|
|
1199
|
-
phase: r.oneOf(["afterMain", "afterRead", "afterWrite", "beforeMain", "beforeRead", "beforeWrite", "main", "read", "write"]),
|
|
1200
|
-
requires: r.arrayOf(r.string),
|
|
1201
|
-
requiresIfExists: r.arrayOf(r.string)
|
|
1202
|
-
})),
|
|
1203
|
-
/**
|
|
1204
|
-
* If `true`, the component is shown.
|
|
1205
|
-
*/
|
|
1206
|
-
open: r.bool.isRequired,
|
|
1207
|
-
/**
|
|
1208
|
-
* Popper placement.
|
|
1209
|
-
* @default 'bottom'
|
|
1210
|
-
*/
|
|
1211
|
-
placement: r.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
|
|
1212
|
-
/**
|
|
1213
|
-
* Options provided to the [`Popper.js`](https://popper.js.org/docs/v2/constructors/#options) instance.
|
|
1214
|
-
* @default {}
|
|
1215
|
-
*/
|
|
1216
|
-
popperOptions: r.shape({
|
|
1217
|
-
modifiers: r.array,
|
|
1218
|
-
onFirstUpdate: r.func,
|
|
1219
|
-
placement: r.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
|
|
1220
|
-
strategy: r.oneOf(["absolute", "fixed"])
|
|
1221
|
-
}),
|
|
1222
|
-
/**
|
|
1223
|
-
* A ref that points to the used popper instance.
|
|
1224
|
-
*/
|
|
1225
|
-
popperRef: no,
|
|
1226
|
-
/**
|
|
1227
|
-
* The props used for each slot inside the Popper.
|
|
1228
|
-
* @default {}
|
|
1229
|
-
*/
|
|
1230
|
-
slotProps: r.shape({
|
|
1231
|
-
root: r.oneOfType([r.func, r.object])
|
|
1232
|
-
}),
|
|
1233
|
-
/**
|
|
1234
|
-
* The components used for each slot inside the Popper.
|
|
1235
|
-
* Either a string to use a HTML element or a component.
|
|
1236
|
-
* @default {}
|
|
1237
|
-
*/
|
|
1238
|
-
slots: r.shape({
|
|
1239
|
-
root: r.elementType
|
|
1240
|
-
}),
|
|
1241
|
-
/**
|
|
1242
|
-
* Help supporting a react-transition-group/Transition component.
|
|
1243
|
-
* @default false
|
|
1244
|
-
*/
|
|
1245
|
-
transition: r.bool
|
|
1246
|
-
});
|
|
1247
|
-
const vn = ["anchorEl", "component", "components", "componentsProps", "container", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "transition", "slots", "slotProps"], hn = it(vo, {
|
|
1248
|
-
name: "MuiPopper",
|
|
1249
|
-
slot: "Root",
|
|
1250
|
-
overridesResolver: (e, t) => t.root
|
|
1251
|
-
})({}), ho = /* @__PURE__ */ O.forwardRef(function(t, o) {
|
|
1252
|
-
var n;
|
|
1253
|
-
const i = Lo(), a = ro({
|
|
1254
|
-
props: t,
|
|
1255
|
-
name: "MuiPopper"
|
|
1256
|
-
}), {
|
|
1257
|
-
anchorEl: c,
|
|
1258
|
-
component: s,
|
|
1259
|
-
components: p,
|
|
1260
|
-
componentsProps: f,
|
|
1261
|
-
container: l,
|
|
1262
|
-
disablePortal: m,
|
|
1263
|
-
keepMounted: w,
|
|
1264
|
-
modifiers: u,
|
|
1265
|
-
open: T,
|
|
1266
|
-
placement: v,
|
|
1267
|
-
popperOptions: h,
|
|
1268
|
-
popperRef: P,
|
|
1269
|
-
transition: M,
|
|
1270
|
-
slots: x,
|
|
1271
|
-
slotProps: d
|
|
1272
|
-
} = a, g = Fe(a, vn), b = (n = x == null ? void 0 : x.root) != null ? n : p == null ? void 0 : p.Root, E = A({
|
|
1273
|
-
anchorEl: c,
|
|
1274
|
-
container: l,
|
|
1275
|
-
disablePortal: m,
|
|
1276
|
-
keepMounted: w,
|
|
1277
|
-
modifiers: u,
|
|
1278
|
-
open: T,
|
|
1279
|
-
placement: v,
|
|
1280
|
-
popperOptions: h,
|
|
1281
|
-
popperRef: P,
|
|
1282
|
-
transition: M
|
|
1283
|
-
}, g);
|
|
1284
|
-
return /* @__PURE__ */ ae(hn, A({
|
|
1285
|
-
as: s,
|
|
1286
|
-
direction: i == null ? void 0 : i.direction,
|
|
1287
|
-
slots: {
|
|
1288
|
-
root: b
|
|
1289
|
-
},
|
|
1290
|
-
slotProps: d ?? f
|
|
1291
|
-
}, E, {
|
|
1292
|
-
ref: o
|
|
1293
|
-
}));
|
|
1294
|
-
});
|
|
1295
|
-
process.env.NODE_ENV !== "production" && (ho.propTypes = {
|
|
1296
|
-
// ----------------------------- Warning --------------------------------
|
|
1297
|
-
// | These PropTypes are generated from the TypeScript type definitions |
|
|
1298
|
-
// | To update them edit TypeScript types and run "yarn proptypes" |
|
|
1299
|
-
// ----------------------------------------------------------------------
|
|
1300
|
-
/**
|
|
1301
|
-
* An HTML element, [virtualElement](https://popper.js.org/docs/v2/virtual-elements/),
|
|
1302
|
-
* or a function that returns either.
|
|
1303
|
-
* It's used to set the position of the popper.
|
|
1304
|
-
* The return value will passed as the reference object of the Popper instance.
|
|
1305
|
-
*/
|
|
1306
|
-
anchorEl: r.oneOfType([ot, r.object, r.func]),
|
|
1307
|
-
/**
|
|
1308
|
-
* Popper render function or node.
|
|
1309
|
-
*/
|
|
1310
|
-
children: r.oneOfType([r.node, r.func]),
|
|
1311
|
-
/**
|
|
1312
|
-
* The component used for the root node.
|
|
1313
|
-
* Either a string to use a HTML element or a component.
|
|
1314
|
-
*/
|
|
1315
|
-
component: r.elementType,
|
|
1316
|
-
/**
|
|
1317
|
-
* The components used for each slot inside the Popper.
|
|
1318
|
-
* Either a string to use a HTML element or a component.
|
|
1319
|
-
* @default {}
|
|
1320
|
-
*/
|
|
1321
|
-
components: r.shape({
|
|
1322
|
-
Root: r.elementType
|
|
1323
|
-
}),
|
|
1324
|
-
/**
|
|
1325
|
-
* The props used for each slot inside the Popper.
|
|
1326
|
-
* @default {}
|
|
1327
|
-
*/
|
|
1328
|
-
componentsProps: r.shape({
|
|
1329
|
-
root: r.oneOfType([r.func, r.object])
|
|
1330
|
-
}),
|
|
1331
|
-
/**
|
|
1332
|
-
* An HTML element or function that returns one.
|
|
1333
|
-
* The `container` will have the portal children appended to it.
|
|
1334
|
-
*
|
|
1335
|
-
* By default, it uses the body of the top-level document object,
|
|
1336
|
-
* so it's simply `document.body` most of the time.
|
|
1337
|
-
*/
|
|
1338
|
-
container: r.oneOfType([ot, r.func]),
|
|
1339
|
-
/**
|
|
1340
|
-
* The `children` will be under the DOM hierarchy of the parent component.
|
|
1341
|
-
* @default false
|
|
1342
|
-
*/
|
|
1343
|
-
disablePortal: r.bool,
|
|
1344
|
-
/**
|
|
1345
|
-
* Always keep the children in the DOM.
|
|
1346
|
-
* This prop can be useful in SEO situation or
|
|
1347
|
-
* when you want to maximize the responsiveness of the Popper.
|
|
1348
|
-
* @default false
|
|
1349
|
-
*/
|
|
1350
|
-
keepMounted: r.bool,
|
|
1351
|
-
/**
|
|
1352
|
-
* Popper.js is based on a "plugin-like" architecture,
|
|
1353
|
-
* most of its features are fully encapsulated "modifiers".
|
|
1354
|
-
*
|
|
1355
|
-
* A modifier is a function that is called each time Popper.js needs to
|
|
1356
|
-
* compute the position of the popper.
|
|
1357
|
-
* For this reason, modifiers should be very performant to avoid bottlenecks.
|
|
1358
|
-
* To learn how to create a modifier, [read the modifiers documentation](https://popper.js.org/docs/v2/modifiers/).
|
|
1359
|
-
*/
|
|
1360
|
-
modifiers: r.arrayOf(r.shape({
|
|
1361
|
-
data: r.object,
|
|
1362
|
-
effect: r.func,
|
|
1363
|
-
enabled: r.bool,
|
|
1364
|
-
fn: r.func,
|
|
1365
|
-
name: r.any,
|
|
1366
|
-
options: r.object,
|
|
1367
|
-
phase: r.oneOf(["afterMain", "afterRead", "afterWrite", "beforeMain", "beforeRead", "beforeWrite", "main", "read", "write"]),
|
|
1368
|
-
requires: r.arrayOf(r.string),
|
|
1369
|
-
requiresIfExists: r.arrayOf(r.string)
|
|
1370
|
-
})),
|
|
1371
|
-
/**
|
|
1372
|
-
* If `true`, the component is shown.
|
|
1373
|
-
*/
|
|
1374
|
-
open: r.bool.isRequired,
|
|
1375
|
-
/**
|
|
1376
|
-
* Popper placement.
|
|
1377
|
-
* @default 'bottom'
|
|
1378
|
-
*/
|
|
1379
|
-
placement: r.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
|
|
1380
|
-
/**
|
|
1381
|
-
* Options provided to the [`Popper.js`](https://popper.js.org/docs/v2/constructors/#options) instance.
|
|
1382
|
-
* @default {}
|
|
1383
|
-
*/
|
|
1384
|
-
popperOptions: r.shape({
|
|
1385
|
-
modifiers: r.array,
|
|
1386
|
-
onFirstUpdate: r.func,
|
|
1387
|
-
placement: r.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
|
|
1388
|
-
strategy: r.oneOf(["absolute", "fixed"])
|
|
1389
|
-
}),
|
|
1390
|
-
/**
|
|
1391
|
-
* A ref that points to the used popper instance.
|
|
1392
|
-
*/
|
|
1393
|
-
popperRef: no,
|
|
1394
|
-
/**
|
|
1395
|
-
* The props used for each slot inside the Popper.
|
|
1396
|
-
* @default {}
|
|
1397
|
-
*/
|
|
1398
|
-
slotProps: r.shape({
|
|
1399
|
-
root: r.oneOfType([r.func, r.object])
|
|
1400
|
-
}),
|
|
1401
|
-
/**
|
|
1402
|
-
* The components used for each slot inside the Popper.
|
|
1403
|
-
* Either a string to use a HTML element or a component.
|
|
1404
|
-
* @default {}
|
|
1405
|
-
*/
|
|
1406
|
-
slots: r.shape({
|
|
1407
|
-
root: r.elementType
|
|
1408
|
-
}),
|
|
1409
|
-
/**
|
|
1410
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
1411
|
-
*/
|
|
1412
|
-
sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object]),
|
|
1413
|
-
/**
|
|
1414
|
-
* Help supporting a react-transition-group/Transition component.
|
|
1415
|
-
* @default false
|
|
1416
|
-
*/
|
|
1417
|
-
transition: r.bool
|
|
1418
|
-
});
|
|
1419
|
-
const bo = ho, bn = No(), go = Ko({
|
|
1420
|
-
themeId: ko,
|
|
1421
|
-
defaultTheme: bn,
|
|
1422
|
-
defaultClassName: "MuiBox-root",
|
|
1423
|
-
generateClassName: Bo.generate
|
|
1424
|
-
});
|
|
1425
|
-
process.env.NODE_ENV !== "production" && (go.propTypes = {
|
|
1426
|
-
// ----------------------------- Warning --------------------------------
|
|
1427
|
-
// | These PropTypes are generated from the TypeScript type definitions |
|
|
1428
|
-
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
1429
|
-
// ----------------------------------------------------------------------
|
|
1430
|
-
/**
|
|
1431
|
-
* @ignore
|
|
1432
|
-
*/
|
|
1433
|
-
children: r.node,
|
|
1434
|
-
/**
|
|
1435
|
-
* The component used for the root node.
|
|
1436
|
-
* Either a string to use a HTML element or a component.
|
|
1437
|
-
*/
|
|
1438
|
-
component: r.elementType,
|
|
1439
|
-
/**
|
|
1440
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
1441
|
-
*/
|
|
1442
|
-
sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object])
|
|
1443
|
-
});
|
|
1444
|
-
const kn = go;
|
|
1445
|
-
function Sn(e) {
|
|
1446
|
-
return gt("MuiDivider", e);
|
|
1447
|
-
}
|
|
1448
|
-
const gn = yt("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle", "flexItem", "light", "vertical", "withChildren", "withChildrenVertical", "textAlignRight", "textAlignLeft", "wrapper", "wrapperVertical"]), Wn = gn;
|
|
1449
|
-
function yn(e) {
|
|
1450
|
-
return gt("MuiTooltip", e);
|
|
1451
|
-
}
|
|
1452
|
-
const wn = yt("MuiTooltip", ["popper", "popperInteractive", "popperArrow", "popperClose", "tooltip", "tooltipArrow", "touch", "tooltipPlacementLeft", "tooltipPlacementRight", "tooltipPlacementTop", "tooltipPlacementBottom", "arrow"]), fe = wn, xn = ["arrow", "children", "classes", "components", "componentsProps", "describeChild", "disableFocusListener", "disableHoverListener", "disableInteractive", "disableTouchListener", "enterDelay", "enterNextDelay", "enterTouchDelay", "followCursor", "id", "leaveDelay", "leaveTouchDelay", "onClose", "onOpen", "open", "placement", "PopperComponent", "PopperProps", "slotProps", "slots", "title", "TransitionComponent", "TransitionProps"];
|
|
1453
|
-
function On(e) {
|
|
1454
|
-
return Math.round(e * 1e5) / 1e5;
|
|
1455
|
-
}
|
|
1456
|
-
const Tn = (e) => {
|
|
1457
|
-
const {
|
|
1458
|
-
classes: t,
|
|
1459
|
-
disableInteractive: o,
|
|
1460
|
-
arrow: n,
|
|
1461
|
-
touch: i,
|
|
1462
|
-
placement: a
|
|
1463
|
-
} = e, c = {
|
|
1464
|
-
popper: ["popper", !o && "popperInteractive", n && "popperArrow"],
|
|
1465
|
-
tooltip: ["tooltip", n && "tooltipArrow", i && "touch", `tooltipPlacement${eo(a.split("-")[0])}`],
|
|
1466
|
-
arrow: ["arrow"]
|
|
1467
|
-
};
|
|
1468
|
-
return oo(c, yn, t);
|
|
1469
|
-
}, Pn = it(bo, {
|
|
1470
|
-
name: "MuiTooltip",
|
|
1471
|
-
slot: "Popper",
|
|
1472
|
-
overridesResolver: (e, t) => {
|
|
1473
|
-
const {
|
|
1474
|
-
ownerState: o
|
|
1475
|
-
} = e;
|
|
1476
|
-
return [t.popper, !o.disableInteractive && t.popperInteractive, o.arrow && t.popperArrow, !o.open && t.popperClose];
|
|
1477
|
-
}
|
|
1478
|
-
})(({
|
|
1479
|
-
theme: e,
|
|
1480
|
-
ownerState: t,
|
|
1481
|
-
open: o
|
|
1482
|
-
}) => A({
|
|
1483
|
-
zIndex: (e.vars || e).zIndex.tooltip,
|
|
1484
|
-
pointerEvents: "none"
|
|
1485
|
-
}, !t.disableInteractive && {
|
|
1486
|
-
pointerEvents: "auto"
|
|
1487
|
-
}, !o && {
|
|
1488
|
-
pointerEvents: "none"
|
|
1489
|
-
}, t.arrow && {
|
|
1490
|
-
[`&[data-popper-placement*="bottom"] .${fe.arrow}`]: {
|
|
1491
|
-
top: 0,
|
|
1492
|
-
marginTop: "-0.71em",
|
|
1493
|
-
"&::before": {
|
|
1494
|
-
transformOrigin: "0 100%"
|
|
1495
|
-
}
|
|
1496
|
-
},
|
|
1497
|
-
[`&[data-popper-placement*="top"] .${fe.arrow}`]: {
|
|
1498
|
-
bottom: 0,
|
|
1499
|
-
marginBottom: "-0.71em",
|
|
1500
|
-
"&::before": {
|
|
1501
|
-
transformOrigin: "100% 0"
|
|
1502
|
-
}
|
|
1503
|
-
},
|
|
1504
|
-
[`&[data-popper-placement*="right"] .${fe.arrow}`]: A({}, t.isRtl ? {
|
|
1505
|
-
right: 0,
|
|
1506
|
-
marginRight: "-0.71em"
|
|
1507
|
-
} : {
|
|
1508
|
-
left: 0,
|
|
1509
|
-
marginLeft: "-0.71em"
|
|
1510
|
-
}, {
|
|
1511
|
-
height: "1em",
|
|
1512
|
-
width: "0.71em",
|
|
1513
|
-
"&::before": {
|
|
1514
|
-
transformOrigin: "100% 100%"
|
|
1515
|
-
}
|
|
1516
|
-
}),
|
|
1517
|
-
[`&[data-popper-placement*="left"] .${fe.arrow}`]: A({}, t.isRtl ? {
|
|
1518
|
-
left: 0,
|
|
1519
|
-
marginLeft: "-0.71em"
|
|
1520
|
-
} : {
|
|
1521
|
-
right: 0,
|
|
1522
|
-
marginRight: "-0.71em"
|
|
1523
|
-
}, {
|
|
1524
|
-
height: "1em",
|
|
1525
|
-
width: "0.71em",
|
|
1526
|
-
"&::before": {
|
|
1527
|
-
transformOrigin: "0 0"
|
|
1528
|
-
}
|
|
1529
|
-
})
|
|
1530
|
-
})), En = it("div", {
|
|
1531
|
-
name: "MuiTooltip",
|
|
1532
|
-
slot: "Tooltip",
|
|
1533
|
-
overridesResolver: (e, t) => {
|
|
1534
|
-
const {
|
|
1535
|
-
ownerState: o
|
|
1536
|
-
} = e;
|
|
1537
|
-
return [t.tooltip, o.touch && t.touch, o.arrow && t.tooltipArrow, t[`tooltipPlacement${eo(o.placement.split("-")[0])}`]];
|
|
1538
|
-
}
|
|
1539
|
-
})(({
|
|
1540
|
-
theme: e,
|
|
1541
|
-
ownerState: t
|
|
1542
|
-
}) => A({
|
|
1543
|
-
backgroundColor: e.vars ? e.vars.palette.Tooltip.bg : to(e.palette.grey[700], 0.92),
|
|
1544
|
-
borderRadius: (e.vars || e).shape.borderRadius,
|
|
1545
|
-
color: (e.vars || e).palette.common.white,
|
|
1546
|
-
fontFamily: e.typography.fontFamily,
|
|
1547
|
-
padding: "4px 8px",
|
|
1548
|
-
fontSize: e.typography.pxToRem(11),
|
|
1549
|
-
maxWidth: 300,
|
|
1550
|
-
margin: 2,
|
|
1551
|
-
wordWrap: "break-word",
|
|
1552
|
-
fontWeight: e.typography.fontWeightMedium
|
|
1553
|
-
}, t.arrow && {
|
|
1554
|
-
position: "relative",
|
|
1555
|
-
margin: 0
|
|
1556
|
-
}, t.touch && {
|
|
1557
|
-
padding: "8px 16px",
|
|
1558
|
-
fontSize: e.typography.pxToRem(14),
|
|
1559
|
-
lineHeight: `${On(16 / 14)}em`,
|
|
1560
|
-
fontWeight: e.typography.fontWeightRegular
|
|
1561
|
-
}, {
|
|
1562
|
-
[`.${fe.popper}[data-popper-placement*="left"] &`]: A({
|
|
1563
|
-
transformOrigin: "right center"
|
|
1564
|
-
}, t.isRtl ? A({
|
|
1565
|
-
marginLeft: "14px"
|
|
1566
|
-
}, t.touch && {
|
|
1567
|
-
marginLeft: "24px"
|
|
1568
|
-
}) : A({
|
|
1569
|
-
marginRight: "14px"
|
|
1570
|
-
}, t.touch && {
|
|
1571
|
-
marginRight: "24px"
|
|
1572
|
-
})),
|
|
1573
|
-
[`.${fe.popper}[data-popper-placement*="right"] &`]: A({
|
|
1574
|
-
transformOrigin: "left center"
|
|
1575
|
-
}, t.isRtl ? A({
|
|
1576
|
-
marginRight: "14px"
|
|
1577
|
-
}, t.touch && {
|
|
1578
|
-
marginRight: "24px"
|
|
1579
|
-
}) : A({
|
|
1580
|
-
marginLeft: "14px"
|
|
1581
|
-
}, t.touch && {
|
|
1582
|
-
marginLeft: "24px"
|
|
1583
|
-
})),
|
|
1584
|
-
[`.${fe.popper}[data-popper-placement*="top"] &`]: A({
|
|
1585
|
-
transformOrigin: "center bottom",
|
|
1586
|
-
marginBottom: "14px"
|
|
1587
|
-
}, t.touch && {
|
|
1588
|
-
marginBottom: "24px"
|
|
1589
|
-
}),
|
|
1590
|
-
[`.${fe.popper}[data-popper-placement*="bottom"] &`]: A({
|
|
1591
|
-
transformOrigin: "center top",
|
|
1592
|
-
marginTop: "14px"
|
|
1593
|
-
}, t.touch && {
|
|
1594
|
-
marginTop: "24px"
|
|
1595
|
-
})
|
|
1596
|
-
})), Rn = it("span", {
|
|
1597
|
-
name: "MuiTooltip",
|
|
1598
|
-
slot: "Arrow",
|
|
1599
|
-
overridesResolver: (e, t) => t.arrow
|
|
1600
|
-
})(({
|
|
1601
|
-
theme: e
|
|
1602
|
-
}) => ({
|
|
1603
|
-
overflow: "hidden",
|
|
1604
|
-
position: "absolute",
|
|
1605
|
-
width: "1em",
|
|
1606
|
-
height: "0.71em",
|
|
1607
|
-
boxSizing: "border-box",
|
|
1608
|
-
color: e.vars ? e.vars.palette.Tooltip.bg : to(e.palette.grey[700], 0.9),
|
|
1609
|
-
"&::before": {
|
|
1610
|
-
content: '""',
|
|
1611
|
-
margin: "auto",
|
|
1612
|
-
display: "block",
|
|
1613
|
-
width: "100%",
|
|
1614
|
-
height: "100%",
|
|
1615
|
-
backgroundColor: "currentColor",
|
|
1616
|
-
transform: "rotate(45deg)"
|
|
1617
|
-
}
|
|
1618
|
-
}));
|
|
1619
|
-
let Ze = !1, mt = null, Le = {
|
|
1620
|
-
x: 0,
|
|
1621
|
-
y: 0
|
|
1622
|
-
};
|
|
1623
|
-
function et(e, t) {
|
|
1624
|
-
return (o) => {
|
|
1625
|
-
t && t(o), e(o);
|
|
1626
|
-
};
|
|
1627
|
-
}
|
|
1628
|
-
const yo = /* @__PURE__ */ O.forwardRef(function(t, o) {
|
|
1629
|
-
var n, i, a, c, s, p, f, l, m, w, u, T, v, h, P, M, x, d, g;
|
|
1630
|
-
const b = ro({
|
|
1631
|
-
props: t,
|
|
1632
|
-
name: "MuiTooltip"
|
|
1633
|
-
}), {
|
|
1634
|
-
arrow: E = !1,
|
|
1635
|
-
children: $,
|
|
1636
|
-
components: R = {},
|
|
1637
|
-
componentsProps: C = {},
|
|
1638
|
-
describeChild: j = !1,
|
|
1639
|
-
disableFocusListener: L = !1,
|
|
1640
|
-
disableHoverListener: N = !1,
|
|
1641
|
-
disableInteractive: G = !1,
|
|
1642
|
-
disableTouchListener: K = !1,
|
|
1643
|
-
enterDelay: D = 100,
|
|
1644
|
-
enterNextDelay: B = 0,
|
|
1645
|
-
enterTouchDelay: k = 700,
|
|
1646
|
-
followCursor: J = !1,
|
|
1647
|
-
id: ye,
|
|
1648
|
-
leaveDelay: we = 0,
|
|
1649
|
-
leaveTouchDelay: de = 1500,
|
|
1650
|
-
onClose: me,
|
|
1651
|
-
onOpen: ne,
|
|
1652
|
-
open: Q,
|
|
1653
|
-
placement: pe = "bottom",
|
|
1654
|
-
PopperComponent: le,
|
|
1655
|
-
PopperProps: S = {},
|
|
1656
|
-
slotProps: Z = {},
|
|
1657
|
-
slots: xe = {},
|
|
1658
|
-
title: U,
|
|
1659
|
-
TransitionComponent: pt = Ut,
|
|
1660
|
-
TransitionProps: _e
|
|
1661
|
-
} = b, qe = Fe(b, xn), _ = /* @__PURE__ */ O.isValidElement($) ? $ : /* @__PURE__ */ ae("span", {
|
|
1662
|
-
children: $
|
|
1663
|
-
}), Oe = Vo(), ze = Oe.direction === "rtl", [W, Ye] = O.useState(), [ee, Te] = O.useState(null), ve = O.useRef(!1), Pe = G || J, ce = O.useRef(), he = O.useRef(), te = O.useRef(), Ae = O.useRef(), [Xe, Ct] = Uo({
|
|
1664
|
-
controlled: Q,
|
|
1665
|
-
default: !1,
|
|
1666
|
-
name: "Tooltip",
|
|
1667
|
-
state: "open"
|
|
1668
|
-
});
|
|
1669
|
-
let ie = Xe;
|
|
1670
|
-
if (process.env.NODE_ENV !== "production") {
|
|
1671
|
-
const {
|
|
1672
|
-
current: y
|
|
1673
|
-
} = O.useRef(Q !== void 0);
|
|
1674
|
-
O.useEffect(() => {
|
|
1675
|
-
W && W.disabled && !y && U !== "" && W.tagName.toLowerCase() === "button" && console.error(["MUI: You are providing a disabled `button` child to the Tooltip component.", "A disabled element does not fire events.", "Tooltip needs to listen to the child element's events to display the title.", "", "Add a simple wrapper element, such as a `span`."].join(`
|
|
1676
|
-
`));
|
|
1677
|
-
}, [U, W, y]);
|
|
1678
|
-
}
|
|
1679
|
-
const lt = _o(ye), $e = O.useRef(), Ge = O.useCallback(() => {
|
|
1680
|
-
$e.current !== void 0 && (document.body.style.WebkitUserSelect = $e.current, $e.current = void 0), clearTimeout(Ae.current);
|
|
1681
|
-
}, []);
|
|
1682
|
-
O.useEffect(() => () => {
|
|
1683
|
-
clearTimeout(ce.current), clearTimeout(he.current), clearTimeout(te.current), Ge();
|
|
1684
|
-
}, [Ge]);
|
|
1685
|
-
const Mt = (y) => {
|
|
1686
|
-
clearTimeout(mt), Ze = !0, Ct(!0), ne && !ie && ne(y);
|
|
1687
|
-
}, Ke = Yo(
|
|
1688
|
-
/**
|
|
1689
|
-
* @param {React.SyntheticEvent | Event} event
|
|
1690
|
-
*/
|
|
1691
|
-
(y) => {
|
|
1692
|
-
clearTimeout(mt), mt = setTimeout(() => {
|
|
1693
|
-
Ze = !1;
|
|
1694
|
-
}, 800 + we), Ct(!1), me && ie && me(y), clearTimeout(ce.current), ce.current = setTimeout(() => {
|
|
1695
|
-
ve.current = !1;
|
|
1696
|
-
}, Oe.transitions.duration.shortest);
|
|
1697
|
-
}
|
|
1698
|
-
), ct = (y) => {
|
|
1699
|
-
ve.current && y.type !== "touchstart" || (W && W.removeAttribute("title"), clearTimeout(he.current), clearTimeout(te.current), D || Ze && B ? he.current = setTimeout(() => {
|
|
1700
|
-
Mt(y);
|
|
1701
|
-
}, Ze ? B : D) : Mt(y));
|
|
1702
|
-
}, At = (y) => {
|
|
1703
|
-
clearTimeout(he.current), clearTimeout(te.current), te.current = setTimeout(() => {
|
|
1704
|
-
Ke(y);
|
|
1705
|
-
}, we);
|
|
1706
|
-
}, {
|
|
1707
|
-
isFocusVisibleRef: $t,
|
|
1708
|
-
onBlur: wo,
|
|
1709
|
-
onFocus: xo,
|
|
1710
|
-
ref: Oo
|
|
1711
|
-
} = Xo(), [, Dt] = O.useState(!1), jt = (y) => {
|
|
1712
|
-
wo(y), $t.current === !1 && (Dt(!1), At(y));
|
|
1713
|
-
}, Nt = (y) => {
|
|
1714
|
-
W || Ye(y.currentTarget), xo(y), $t.current === !0 && (Dt(!0), ct(y));
|
|
1715
|
-
}, Bt = (y) => {
|
|
1716
|
-
ve.current = !0;
|
|
1717
|
-
const F = _.props;
|
|
1718
|
-
F.onTouchStart && F.onTouchStart(y);
|
|
1719
|
-
}, Lt = ct, kt = At, To = (y) => {
|
|
1720
|
-
Bt(y), clearTimeout(te.current), clearTimeout(ce.current), Ge(), $e.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", Ae.current = setTimeout(() => {
|
|
1721
|
-
document.body.style.WebkitUserSelect = $e.current, ct(y);
|
|
1722
|
-
}, k);
|
|
1723
|
-
}, Po = (y) => {
|
|
1724
|
-
_.props.onTouchEnd && _.props.onTouchEnd(y), Ge(), clearTimeout(te.current), te.current = setTimeout(() => {
|
|
1725
|
-
Ke(y);
|
|
1726
|
-
}, de);
|
|
1727
|
-
};
|
|
1728
|
-
O.useEffect(() => {
|
|
1729
|
-
if (!ie)
|
|
1730
|
-
return;
|
|
1731
|
-
function y(F) {
|
|
1732
|
-
(F.key === "Escape" || F.key === "Esc") && Ke(F);
|
|
1733
|
-
}
|
|
1734
|
-
return document.addEventListener("keydown", y), () => {
|
|
1735
|
-
document.removeEventListener("keydown", y);
|
|
1736
|
-
};
|
|
1737
|
-
}, [Ke, ie]);
|
|
1738
|
-
const Eo = vt(_.ref, Oo, Ye, o);
|
|
1739
|
-
!U && U !== 0 && (ie = !1);
|
|
1740
|
-
const ft = O.useRef(), Ro = (y) => {
|
|
1741
|
-
const F = _.props;
|
|
1742
|
-
F.onMouseMove && F.onMouseMove(y), Le = {
|
|
1743
|
-
x: y.clientX,
|
|
1744
|
-
y: y.clientY
|
|
1745
|
-
}, ft.current && ft.current.update();
|
|
1746
|
-
}, De = {}, ut = typeof U == "string";
|
|
1747
|
-
j ? (De.title = !ie && ut && !N ? U : null, De["aria-describedby"] = ie ? lt : null) : (De["aria-label"] = ut ? U : null, De["aria-labelledby"] = ie && !ut ? lt : null);
|
|
1748
|
-
const q = A({}, De, qe, _.props, {
|
|
1749
|
-
className: ke(qe.className, _.props.className),
|
|
1750
|
-
onTouchStart: Bt,
|
|
1751
|
-
ref: Eo
|
|
1752
|
-
}, J ? {
|
|
1753
|
-
onMouseMove: Ro
|
|
1754
|
-
} : {});
|
|
1755
|
-
process.env.NODE_ENV !== "production" && (q["data-mui-internal-clone-element"] = !0, O.useEffect(() => {
|
|
1756
|
-
W && !W.getAttribute("data-mui-internal-clone-element") && console.error(["MUI: The `children` component of the Tooltip is not forwarding its props correctly.", "Please make sure that props are spread on the same element that the ref is applied to."].join(`
|
|
1757
|
-
`));
|
|
1758
|
-
}, [W]));
|
|
1759
|
-
const je = {};
|
|
1760
|
-
K || (q.onTouchStart = To, q.onTouchEnd = Po), N || (q.onMouseOver = et(Lt, q.onMouseOver), q.onMouseLeave = et(kt, q.onMouseLeave), Pe || (je.onMouseOver = Lt, je.onMouseLeave = kt)), L || (q.onFocus = et(Nt, q.onFocus), q.onBlur = et(jt, q.onBlur), Pe || (je.onFocus = Nt, je.onBlur = jt)), process.env.NODE_ENV !== "production" && _.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${_.props.title}\` or the Tooltip component.`].join(`
|
|
1761
|
-
`));
|
|
1762
|
-
const Co = O.useMemo(() => {
|
|
1763
|
-
var y;
|
|
1764
|
-
let F = [{
|
|
1765
|
-
name: "arrow",
|
|
1766
|
-
enabled: !!ee,
|
|
1767
|
-
options: {
|
|
1768
|
-
element: ee,
|
|
1769
|
-
padding: 4
|
|
1770
|
-
}
|
|
1771
|
-
}];
|
|
1772
|
-
return (y = S.popperOptions) != null && y.modifiers && (F = F.concat(S.popperOptions.modifiers)), A({}, S.popperOptions, {
|
|
1773
|
-
modifiers: F
|
|
1774
|
-
});
|
|
1775
|
-
}, [ee, S]), Ne = A({}, b, {
|
|
1776
|
-
isRtl: ze,
|
|
1777
|
-
arrow: E,
|
|
1778
|
-
disableInteractive: Pe,
|
|
1779
|
-
placement: pe,
|
|
1780
|
-
PopperComponentProp: le,
|
|
1781
|
-
touch: ve.current
|
|
1782
|
-
}), dt = Tn(Ne), St = (n = (i = xe.popper) != null ? i : R.Popper) != null ? n : Pn, Wt = (a = (c = (s = xe.transition) != null ? s : R.Transition) != null ? c : pt) != null ? a : Ut, It = (p = (f = xe.tooltip) != null ? f : R.Tooltip) != null ? p : En, Vt = (l = (m = xe.arrow) != null ? m : R.Arrow) != null ? l : Rn, Mo = Je(St, A({}, S, (w = Z.popper) != null ? w : C.popper, {
|
|
1783
|
-
className: ke(dt.popper, S == null ? void 0 : S.className, (u = (T = Z.popper) != null ? T : C.popper) == null ? void 0 : u.className)
|
|
1784
|
-
}), Ne), Ao = Je(Wt, A({}, _e, (v = Z.transition) != null ? v : C.transition), Ne), $o = Je(It, A({}, (h = Z.tooltip) != null ? h : C.tooltip, {
|
|
1785
|
-
className: ke(dt.tooltip, (P = (M = Z.tooltip) != null ? M : C.tooltip) == null ? void 0 : P.className)
|
|
1786
|
-
}), Ne), Do = Je(Vt, A({}, (x = Z.arrow) != null ? x : C.arrow, {
|
|
1787
|
-
className: ke(dt.arrow, (d = (g = Z.arrow) != null ? g : C.arrow) == null ? void 0 : d.className)
|
|
1788
|
-
}), Ne);
|
|
1789
|
-
return /* @__PURE__ */ Ft(O.Fragment, {
|
|
1790
|
-
children: [/* @__PURE__ */ O.cloneElement(_, q), /* @__PURE__ */ ae(St, A({
|
|
1791
|
-
as: le ?? bo,
|
|
1792
|
-
placement: pe,
|
|
1793
|
-
anchorEl: J ? {
|
|
1794
|
-
getBoundingClientRect: () => ({
|
|
1795
|
-
top: Le.y,
|
|
1796
|
-
left: Le.x,
|
|
1797
|
-
right: Le.x,
|
|
1798
|
-
bottom: Le.y,
|
|
1799
|
-
width: 0,
|
|
1800
|
-
height: 0
|
|
1801
|
-
})
|
|
1802
|
-
} : W,
|
|
1803
|
-
popperRef: ft,
|
|
1804
|
-
open: W ? ie : !1,
|
|
1805
|
-
id: lt,
|
|
1806
|
-
transition: !0
|
|
1807
|
-
}, je, Mo, {
|
|
1808
|
-
popperOptions: Co,
|
|
1809
|
-
children: ({
|
|
1810
|
-
TransitionProps: y
|
|
1811
|
-
}) => /* @__PURE__ */ ae(Wt, A({
|
|
1812
|
-
timeout: Oe.transitions.duration.shorter
|
|
1813
|
-
}, y, Ao, {
|
|
1814
|
-
children: /* @__PURE__ */ Ft(It, A({}, $o, {
|
|
1815
|
-
children: [U, E ? /* @__PURE__ */ ae(Vt, A({}, Do, {
|
|
1816
|
-
ref: Te
|
|
1817
|
-
})) : null]
|
|
1818
|
-
}))
|
|
1819
|
-
}))
|
|
1820
|
-
}))]
|
|
1821
|
-
});
|
|
1822
|
-
});
|
|
1823
|
-
process.env.NODE_ENV !== "production" && (yo.propTypes = {
|
|
1824
|
-
// ----------------------------- Warning --------------------------------
|
|
1825
|
-
// | These PropTypes are generated from the TypeScript type definitions |
|
|
1826
|
-
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
1827
|
-
// ----------------------------------------------------------------------
|
|
1828
|
-
/**
|
|
1829
|
-
* If `true`, adds an arrow to the tooltip.
|
|
1830
|
-
* @default false
|
|
1831
|
-
*/
|
|
1832
|
-
arrow: r.bool,
|
|
1833
|
-
/**
|
|
1834
|
-
* Tooltip reference element.
|
|
1835
|
-
*/
|
|
1836
|
-
children: qo.isRequired,
|
|
1837
|
-
/**
|
|
1838
|
-
* Override or extend the styles applied to the component.
|
|
1839
|
-
*/
|
|
1840
|
-
classes: r.object,
|
|
1841
|
-
/**
|
|
1842
|
-
* @ignore
|
|
1843
|
-
*/
|
|
1844
|
-
className: r.string,
|
|
1845
|
-
/**
|
|
1846
|
-
* The components used for each slot inside.
|
|
1847
|
-
*
|
|
1848
|
-
* This prop is an alias for the `slots` prop.
|
|
1849
|
-
* It's recommended to use the `slots` prop instead.
|
|
1850
|
-
*
|
|
1851
|
-
* @default {}
|
|
1852
|
-
*/
|
|
1853
|
-
components: r.shape({
|
|
1854
|
-
Arrow: r.elementType,
|
|
1855
|
-
Popper: r.elementType,
|
|
1856
|
-
Tooltip: r.elementType,
|
|
1857
|
-
Transition: r.elementType
|
|
1858
|
-
}),
|
|
1859
|
-
/**
|
|
1860
|
-
* The extra props for the slot components.
|
|
1861
|
-
* You can override the existing props or add new ones.
|
|
1862
|
-
*
|
|
1863
|
-
* This prop is an alias for the `slotProps` prop.
|
|
1864
|
-
* It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.
|
|
1865
|
-
*
|
|
1866
|
-
* @default {}
|
|
1867
|
-
*/
|
|
1868
|
-
componentsProps: r.shape({
|
|
1869
|
-
arrow: r.object,
|
|
1870
|
-
popper: r.object,
|
|
1871
|
-
tooltip: r.object,
|
|
1872
|
-
transition: r.object
|
|
1873
|
-
}),
|
|
1874
|
-
/**
|
|
1875
|
-
* Set to `true` if the `title` acts as an accessible description.
|
|
1876
|
-
* By default the `title` acts as an accessible label for the child.
|
|
1877
|
-
* @default false
|
|
1878
|
-
*/
|
|
1879
|
-
describeChild: r.bool,
|
|
1880
|
-
/**
|
|
1881
|
-
* Do not respond to focus-visible events.
|
|
1882
|
-
* @default false
|
|
1883
|
-
*/
|
|
1884
|
-
disableFocusListener: r.bool,
|
|
1885
|
-
/**
|
|
1886
|
-
* Do not respond to hover events.
|
|
1887
|
-
* @default false
|
|
1888
|
-
*/
|
|
1889
|
-
disableHoverListener: r.bool,
|
|
1890
|
-
/**
|
|
1891
|
-
* Makes a tooltip not interactive, i.e. it will close when the user
|
|
1892
|
-
* hovers over the tooltip before the `leaveDelay` is expired.
|
|
1893
|
-
* @default false
|
|
1894
|
-
*/
|
|
1895
|
-
disableInteractive: r.bool,
|
|
1896
|
-
/**
|
|
1897
|
-
* Do not respond to long press touch events.
|
|
1898
|
-
* @default false
|
|
1899
|
-
*/
|
|
1900
|
-
disableTouchListener: r.bool,
|
|
1901
|
-
/**
|
|
1902
|
-
* The number of milliseconds to wait before showing the tooltip.
|
|
1903
|
-
* This prop won't impact the enter touch delay (`enterTouchDelay`).
|
|
1904
|
-
* @default 100
|
|
1905
|
-
*/
|
|
1906
|
-
enterDelay: r.number,
|
|
1907
|
-
/**
|
|
1908
|
-
* The number of milliseconds to wait before showing the tooltip when one was already recently opened.
|
|
1909
|
-
* @default 0
|
|
1910
|
-
*/
|
|
1911
|
-
enterNextDelay: r.number,
|
|
1912
|
-
/**
|
|
1913
|
-
* The number of milliseconds a user must touch the element before showing the tooltip.
|
|
1914
|
-
* @default 700
|
|
1915
|
-
*/
|
|
1916
|
-
enterTouchDelay: r.number,
|
|
1917
|
-
/**
|
|
1918
|
-
* If `true`, the tooltip follow the cursor over the wrapped element.
|
|
1919
|
-
* @default false
|
|
1920
|
-
*/
|
|
1921
|
-
followCursor: r.bool,
|
|
1922
|
-
/**
|
|
1923
|
-
* This prop is used to help implement the accessibility logic.
|
|
1924
|
-
* If you don't provide this prop. It falls back to a randomly generated id.
|
|
1925
|
-
*/
|
|
1926
|
-
id: r.string,
|
|
1927
|
-
/**
|
|
1928
|
-
* The number of milliseconds to wait before hiding the tooltip.
|
|
1929
|
-
* This prop won't impact the leave touch delay (`leaveTouchDelay`).
|
|
1930
|
-
* @default 0
|
|
1931
|
-
*/
|
|
1932
|
-
leaveDelay: r.number,
|
|
1933
|
-
/**
|
|
1934
|
-
* The number of milliseconds after the user stops touching an element before hiding the tooltip.
|
|
1935
|
-
* @default 1500
|
|
1936
|
-
*/
|
|
1937
|
-
leaveTouchDelay: r.number,
|
|
1938
|
-
/**
|
|
1939
|
-
* Callback fired when the component requests to be closed.
|
|
1940
|
-
*
|
|
1941
|
-
* @param {React.SyntheticEvent} event The event source of the callback.
|
|
1942
|
-
*/
|
|
1943
|
-
onClose: r.func,
|
|
1944
|
-
/**
|
|
1945
|
-
* Callback fired when the component requests to be open.
|
|
1946
|
-
*
|
|
1947
|
-
* @param {React.SyntheticEvent} event The event source of the callback.
|
|
1948
|
-
*/
|
|
1949
|
-
onOpen: r.func,
|
|
1950
|
-
/**
|
|
1951
|
-
* If `true`, the component is shown.
|
|
1952
|
-
*/
|
|
1953
|
-
open: r.bool,
|
|
1954
|
-
/**
|
|
1955
|
-
* Tooltip placement.
|
|
1956
|
-
* @default 'bottom'
|
|
1957
|
-
*/
|
|
1958
|
-
placement: r.oneOf(["bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
|
|
1959
|
-
/**
|
|
1960
|
-
* The component used for the popper.
|
|
1961
|
-
* @default Popper
|
|
1962
|
-
*/
|
|
1963
|
-
PopperComponent: r.elementType,
|
|
1964
|
-
/**
|
|
1965
|
-
* Props applied to the [`Popper`](/material-ui/api/popper/) element.
|
|
1966
|
-
* @default {}
|
|
1967
|
-
*/
|
|
1968
|
-
PopperProps: r.object,
|
|
1969
|
-
/**
|
|
1970
|
-
* The extra props for the slot components.
|
|
1971
|
-
* You can override the existing props or add new ones.
|
|
1972
|
-
*
|
|
1973
|
-
* This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.
|
|
1974
|
-
*
|
|
1975
|
-
* @default {}
|
|
1976
|
-
*/
|
|
1977
|
-
slotProps: r.shape({
|
|
1978
|
-
arrow: r.object,
|
|
1979
|
-
popper: r.object,
|
|
1980
|
-
tooltip: r.object,
|
|
1981
|
-
transition: r.object
|
|
1982
|
-
}),
|
|
1983
|
-
/**
|
|
1984
|
-
* The components used for each slot inside.
|
|
1985
|
-
*
|
|
1986
|
-
* This prop is an alias for the `components` prop, which will be deprecated in the future.
|
|
1987
|
-
*
|
|
1988
|
-
* @default {}
|
|
1989
|
-
*/
|
|
1990
|
-
slots: r.shape({
|
|
1991
|
-
arrow: r.elementType,
|
|
1992
|
-
popper: r.elementType,
|
|
1993
|
-
tooltip: r.elementType,
|
|
1994
|
-
transition: r.elementType
|
|
1995
|
-
}),
|
|
1996
|
-
/**
|
|
1997
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
1998
|
-
*/
|
|
1999
|
-
sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object]),
|
|
2000
|
-
/**
|
|
2001
|
-
* Tooltip title. Zero-length titles string, undefined, null and false are never displayed.
|
|
2002
|
-
*/
|
|
2003
|
-
title: r.node,
|
|
2004
|
-
/**
|
|
2005
|
-
* The component used for the transition.
|
|
2006
|
-
* [Follow this guide](/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
2007
|
-
* @default Grow
|
|
2008
|
-
*/
|
|
2009
|
-
TransitionComponent: r.elementType,
|
|
2010
|
-
/**
|
|
2011
|
-
* Props applied to the transition element.
|
|
2012
|
-
* By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
|
|
2013
|
-
*/
|
|
2014
|
-
TransitionProps: r.object
|
|
2015
|
-
});
|
|
2016
|
-
const In = yo;
|
|
2017
|
-
export {
|
|
2018
|
-
kn as B,
|
|
2019
|
-
In as T,
|
|
2020
|
-
Wn as d,
|
|
2021
|
-
Sn as g
|
|
2022
|
-
};
|