@hiver/connector-admin 0.0.10-beta.21 → 0.0.10-beta.22
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/app/connectors/index.d.ts.map +1 -1
- package/app/connectors/pages/api-view/index.d.ts.map +1 -1
- package/app/connectors/pages/connector-view/dashboard/index.d.ts.map +1 -1
- package/app/connectors/pages/settings/index.d.ts.map +1 -1
- package/app/style.d.ts +1 -0
- package/app/style.d.ts.map +1 -1
- package/features/auth/api/index.d.ts +1 -0
- package/features/auth/api/index.d.ts.map +1 -1
- package/features/auth/constants/api.d.ts +1 -0
- package/features/auth/constants/api.d.ts.map +1 -1
- package/features/auth/store/initial-state.d.ts +3 -0
- package/features/auth/store/initial-state.d.ts.map +1 -1
- package/features/auth/store/selectors.d.ts +3 -0
- package/features/auth/store/selectors.d.ts.map +1 -1
- package/features/auth/store/slice.d.ts +16 -1
- package/features/auth/store/slice.d.ts.map +1 -1
- package/features/connector-library/api/index.d.ts +2 -1
- package/features/connector-library/api/index.d.ts.map +1 -1
- package/features/connector-library/components/connector-enabled-modal/index.d.ts.map +1 -0
- package/features/connector-library/components/connector-enabled-modal/styles.d.ts.map +1 -0
- package/features/connector-library/components/library-card-list/__tests__/library-card-list.test.d.ts.map +1 -0
- package/features/connector-library/components/library-card-list/index.d.ts.map +1 -0
- package/features/connector-library/components/library-card-list/styles.d.ts.map +1 -0
- package/features/connector-library/components/library-card-skeleton/index.d.ts.map +1 -0
- package/features/connector-library/components/library-card-skeleton/styles.d.ts.map +1 -0
- package/features/connector-library/components/library-edit-list/index.d.ts.map +1 -0
- package/features/connector-library/components/library-edit-list/styles.d.ts.map +1 -0
- package/features/connector-library/constants/api.d.ts +2 -1
- package/features/connector-library/constants/api.d.ts.map +1 -1
- package/features/connector-library/constants/content-page.d.ts.map +1 -0
- package/features/connector-library/store/initial-state.d.ts +10 -4
- package/features/connector-library/store/initial-state.d.ts.map +1 -1
- package/features/connector-library/store/selectors.d.ts +8 -2
- package/features/connector-library/store/selectors.d.ts.map +1 -1
- package/features/connector-library/store/slice.d.ts +36 -10
- package/features/connector-library/store/slice.d.ts.map +1 -1
- package/features/connector-library/types/connector.d.ts +13 -0
- package/features/connector-library/types/connector.d.ts.map +1 -0
- package/features/{connector-library → request-new-connector}/components/custom-connector-card-item/index.d.ts +2 -2
- package/features/request-new-connector/components/custom-connector-card-item/index.d.ts.map +1 -0
- package/features/request-new-connector/components/custom-connector-card-item/styles.d.ts.map +1 -0
- package/features/request-new-connector/components/custom-connector-card-list/__tests__/custom-connector-card.test.d.ts.map +1 -0
- package/features/request-new-connector/components/custom-connector-card-list/index.d.ts.map +1 -0
- package/features/request-new-connector/components/custom-connector-card-list/style.d.ts.map +1 -0
- package/{index-CgM3_xKm.js → index-BlrvUmkp.js} +1 -1
- package/{index-jpnMq7or.js → index-BneVFyJr.js} +131 -131
- package/index-Bp6DI_TD.js +68 -0
- package/{index-udWvwRi2.js → index-CFzc44V0.js} +4343 -3267
- package/{index-D988MMVn.js → index-Dtvwlgbj.js} +4 -4
- package/{index-Bz-7s9bi.js → index-R6dQb-2e.js} +1 -1
- package/{index-d1KjLfbR.js → index-n9pprR8F.js} +25 -25
- package/index.es.js +4 -4
- package/index.umd.js +1298 -214
- package/package.json +1 -1
- package/{showMessage-G5E0XiXs.js → showMessage-BwdQL76c.js} +3 -3
- package/store/hooks.d.ts +0 -2
- package/store/hooks.d.ts.map +1 -1
- package/store/index.d.ts +0 -4
- package/store/index.d.ts.map +1 -1
- package/{selectors-BxwrtEYH.js → styled-ui-components-CXuEXO04.js} +148 -149
- package/testing/mocks/handlers/connector-template.d.ts.map +1 -1
- package/testing/setup-store.d.ts +0 -2
- package/testing/setup-store.d.ts.map +1 -1
- package/types/connector.d.ts +5 -5
- package/types/connector.d.ts.map +1 -1
- package/features/connector-library/components/custom-connector-card-item/index.d.ts.map +0 -1
- package/features/connector-library/components/custom-connector-card-item/styles.d.ts.map +0 -1
- package/features/connector-library/components/custom-connector-card-list/__tests__/custom-connector-card.test.d.ts.map +0 -1
- package/features/connector-library/components/custom-connector-card-list/index.d.ts.map +0 -1
- package/features/connector-library/components/custom-connector-card-list/style.d.ts.map +0 -1
- package/features/template-library/api/index.d.ts +0 -7
- package/features/template-library/api/index.d.ts.map +0 -1
- package/features/template-library/components/connector-enabled-modal/index.d.ts.map +0 -1
- package/features/template-library/components/connector-enabled-modal/styles.d.ts.map +0 -1
- package/features/template-library/components/library-card-list/__tests__/library-card-list.test.d.ts.map +0 -1
- package/features/template-library/components/library-card-list/index.d.ts.map +0 -1
- package/features/template-library/components/library-card-list/styles.d.ts.map +0 -1
- package/features/template-library/components/library-card-skeleton/index.d.ts.map +0 -1
- package/features/template-library/components/library-card-skeleton/styles.d.ts.map +0 -1
- package/features/template-library/components/library-edit-list/index.d.ts.map +0 -1
- package/features/template-library/components/library-edit-list/styles.d.ts.map +0 -1
- package/features/template-library/constants/api.d.ts +0 -3
- package/features/template-library/constants/api.d.ts.map +0 -1
- package/features/template-library/constants/content-page.d.ts.map +0 -1
- package/features/template-library/store/initial-state.d.ts +0 -15
- package/features/template-library/store/initial-state.d.ts.map +0 -1
- package/features/template-library/store/selectors.d.ts +0 -9
- package/features/template-library/store/selectors.d.ts.map +0 -1
- package/features/template-library/store/slice.d.ts +0 -41
- package/features/template-library/store/slice.d.ts.map +0 -1
- package/index-DmZlHIzb.js +0 -68
- package/style.css +0 -1
- /package/features/{template-library → connector-library}/components/connector-enabled-modal/index.d.ts +0 -0
- /package/features/{template-library → connector-library}/components/connector-enabled-modal/styles.d.ts +0 -0
- /package/features/{template-library → connector-library}/components/library-card-list/__tests__/library-card-list.test.d.ts +0 -0
- /package/features/{template-library → connector-library}/components/library-card-list/index.d.ts +0 -0
- /package/features/{template-library → connector-library}/components/library-card-list/styles.d.ts +0 -0
- /package/features/{template-library → connector-library}/components/library-card-skeleton/index.d.ts +0 -0
- /package/features/{template-library → connector-library}/components/library-card-skeleton/styles.d.ts +0 -0
- /package/features/{template-library → connector-library}/components/library-edit-list/index.d.ts +0 -0
- /package/features/{template-library → connector-library}/components/library-edit-list/styles.d.ts +0 -0
- /package/features/{template-library → connector-library}/constants/content-page.d.ts +0 -0
- /package/features/{connector-library → request-new-connector}/components/custom-connector-card-item/styles.d.ts +0 -0
- /package/features/{connector-library → request-new-connector}/components/custom-connector-card-list/__tests__/custom-connector-card.test.d.ts +0 -0
- /package/features/{connector-library → request-new-connector}/components/custom-connector-card-list/index.d.ts +0 -0
- /package/features/{connector-library → request-new-connector}/components/custom-connector-card-list/style.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aU as Uo, aV as Ht, aW as Vo, k as wt, i as Ot, n as Ve, aX as qt, j as te, aY as Fo, _ as C, E as Ho, P as n, aZ as at, H as co, r as gt, a_ as Xt, a$ as qo, p as xt, s as je, m as Tt, ar as fo, at as zt, o as Be, l as uo, q as vo, L as Xo, b0 as zo, b1 as Qe, f as Yo, e as Ko, g as Yt, b2 as Go, b3 as Kt, b4 as et, b5 as Zo, b6 as Jo } from "./index-CFzc44V0.js";
|
|
2
2
|
import * as $ from "react";
|
|
3
3
|
import Qo from "react";
|
|
4
4
|
function er(e, t = 0, o = 1) {
|
|
@@ -10,11 +10,11 @@ function tr(e) {
|
|
|
10
10
|
let o = e.match(t);
|
|
11
11
|
return o && o[0].length === 1 && (o = o.map((r) => r + r)), o ? `rgb${o.length === 4 ? "a" : ""}(${o.map((r, a) => a < 3 ? parseInt(r, 16) : Math.round(parseInt(r, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function mo(e) {
|
|
14
14
|
if (e.type)
|
|
15
15
|
return e;
|
|
16
16
|
if (e.charAt(0) === "#")
|
|
17
|
-
return
|
|
17
|
+
return mo(tr(e));
|
|
18
18
|
const t = e.indexOf("("), o = e.substring(0, t);
|
|
19
19
|
if (["rgb", "rgba", "hsl", "hsla", "color"].indexOf(o) === -1)
|
|
20
20
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
|
|
@@ -43,7 +43,7 @@ function or(e) {
|
|
|
43
43
|
return t.indexOf("rgb") !== -1 ? r = r.map((a, i) => i < 3 ? parseInt(a, 10) : a) : t.indexOf("hsl") !== -1 && (r[1] = `${r[1]}%`, r[2] = `${r[2]}%`), t.indexOf("color") !== -1 ? r = `${o} ${r.join(" ")}` : r = `${r.join(", ")}`, `${t}(${r})`;
|
|
44
44
|
}
|
|
45
45
|
function rr(e, t) {
|
|
46
|
-
return e =
|
|
46
|
+
return e = mo(e), t = er(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, or(e);
|
|
47
47
|
}
|
|
48
48
|
function nr(e) {
|
|
49
49
|
return String(e).match(/[\d.\-+]*\s*(.*)/)[1] || "";
|
|
@@ -83,11 +83,11 @@ function cr(e = null) {
|
|
|
83
83
|
return !t || lr(t) ? e : t;
|
|
84
84
|
}
|
|
85
85
|
ho = Pt.default = cr;
|
|
86
|
-
var W = "top", z = "bottom", Y = "right", I = "left", Et = "auto", Fe = [W, z, Y, I], Pe = "start", Ie = "end", fr = "clippingParents", bo = "viewport",
|
|
86
|
+
var W = "top", z = "bottom", Y = "right", I = "left", Et = "auto", Fe = [W, z, Y, I], Pe = "start", Ie = "end", fr = "clippingParents", bo = "viewport", Ne = "popper", ur = "reference", Gt = /* @__PURE__ */ Fe.reduce(function(e, t) {
|
|
87
87
|
return e.concat([t + "-" + Pe, t + "-" + Ie]);
|
|
88
88
|
}, []), yo = /* @__PURE__ */ [].concat(Fe, [Et]).reduce(function(e, t) {
|
|
89
89
|
return e.concat([t, t + "-" + Pe, t + "-" + Ie]);
|
|
90
|
-
}, []), dr = "beforeRead",
|
|
90
|
+
}, []), dr = "beforeRead", vr = "read", mr = "afterRead", hr = "beforeMain", gr = "main", br = "afterMain", yr = "beforeWrite", wr = "write", Or = "afterWrite", xr = [dr, vr, mr, hr, gr, br, yr, wr, Or];
|
|
91
91
|
function re(e) {
|
|
92
92
|
return e ? (e.nodeName || "").toLowerCase() : null;
|
|
93
93
|
}
|
|
@@ -159,7 +159,7 @@ const Er = {
|
|
|
159
159
|
function oe(e) {
|
|
160
160
|
return e.split("-")[0];
|
|
161
161
|
}
|
|
162
|
-
var
|
|
162
|
+
var me = Math.max, it = Math.min, Ee = Math.round;
|
|
163
163
|
function bt() {
|
|
164
164
|
var e = navigator.userAgentData;
|
|
165
165
|
return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
|
|
@@ -173,12 +173,12 @@ function Re(e, t, o) {
|
|
|
173
173
|
t === void 0 && (t = !1), o === void 0 && (o = !1);
|
|
174
174
|
var r = e.getBoundingClientRect(), a = 1, i = 1;
|
|
175
175
|
t && X(e) && (a = e.offsetWidth > 0 && Ee(r.width) / e.offsetWidth || 1, i = e.offsetHeight > 0 && Ee(r.height) / e.offsetHeight || 1);
|
|
176
|
-
var l = he(e) ? V(e) : window, p = l.visualViewport, s = !wo() && o, f = (r.left + (s && p ? p.offsetLeft : 0)) / a, c = (r.top + (s && p ? p.offsetTop : 0)) / i,
|
|
176
|
+
var l = he(e) ? V(e) : window, p = l.visualViewport, s = !wo() && o, f = (r.left + (s && p ? p.offsetLeft : 0)) / a, c = (r.top + (s && p ? p.offsetTop : 0)) / i, v = r.width / a, b = r.height / i;
|
|
177
177
|
return {
|
|
178
|
-
width:
|
|
178
|
+
width: v,
|
|
179
179
|
height: b,
|
|
180
180
|
top: c,
|
|
181
|
-
right: f +
|
|
181
|
+
right: f + v,
|
|
182
182
|
bottom: c + b,
|
|
183
183
|
left: f,
|
|
184
184
|
x: f,
|
|
@@ -261,7 +261,7 @@ function jt(e) {
|
|
|
261
261
|
return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
|
|
262
262
|
}
|
|
263
263
|
function _e(e, t, o) {
|
|
264
|
-
return
|
|
264
|
+
return me(e, it(t, o));
|
|
265
265
|
}
|
|
266
266
|
function jr(e, t, o) {
|
|
267
267
|
var r = _e(e, t, o);
|
|
@@ -291,7 +291,7 @@ var $r = function(t, o) {
|
|
|
291
291
|
function Mr(e) {
|
|
292
292
|
var t, o = e.state, r = e.name, a = e.options, i = o.elements.arrow, l = o.modifiersData.popperOffsets, p = oe(o.placement), s = jt(p), f = [I, Y].indexOf(p) >= 0, c = f ? "height" : "width";
|
|
293
293
|
if (!(!i || !l)) {
|
|
294
|
-
var
|
|
294
|
+
var v = $r(a.padding, o), b = Ct(i), u = s === "y" ? W : I, T = s === "y" ? z : Y, m = o.rects.reference[c] + o.rects.reference[s] - l[s] - o.rects.popper[c], h = l[s] - o.rects.reference[s], x = He(i), j = x ? s === "y" ? x.clientHeight || 0 : x.clientWidth || 0 : 0, O = m / 2 - h / 2, d = v[u], y = j - b[c] - v[T], g = j / 2 - b[c] / 2 + O, P = _e(d, g, y), M = s;
|
|
295
295
|
o.modifiersData[r] = (t = {}, t[M] = P, t.centerOffset = P - g, t);
|
|
296
296
|
}
|
|
297
297
|
}
|
|
@@ -325,28 +325,28 @@ function Lr(e, t) {
|
|
|
325
325
|
};
|
|
326
326
|
}
|
|
327
327
|
function Jt(e) {
|
|
328
|
-
var t, o = e.popper, r = e.popperRect, a = e.placement, i = e.variation, l = e.offsets, p = e.position, s = e.gpuAcceleration, f = e.adaptive, c = e.roundOffsets,
|
|
328
|
+
var t, o = e.popper, r = e.popperRect, a = e.placement, i = e.variation, l = e.offsets, p = e.position, s = e.gpuAcceleration, f = e.adaptive, c = e.roundOffsets, v = e.isFixed, b = l.x, u = b === void 0 ? 0 : b, T = l.y, m = T === void 0 ? 0 : T, h = typeof c == "function" ? c({
|
|
329
329
|
x: u,
|
|
330
|
-
y:
|
|
330
|
+
y: m
|
|
331
331
|
}) : {
|
|
332
332
|
x: u,
|
|
333
|
-
y:
|
|
333
|
+
y: m
|
|
334
334
|
};
|
|
335
|
-
u = h.x,
|
|
335
|
+
u = h.x, m = h.y;
|
|
336
336
|
var x = l.hasOwnProperty("x"), j = l.hasOwnProperty("y"), O = I, d = W, y = window;
|
|
337
337
|
if (f) {
|
|
338
338
|
var g = He(o), P = "clientHeight", M = "clientWidth";
|
|
339
339
|
if (g === V(o) && (g = ce(o), ie(g).position !== "static" && p === "absolute" && (P = "scrollHeight", M = "scrollWidth")), g = g, a === W || (a === I || a === Y) && i === Ie) {
|
|
340
340
|
d = z;
|
|
341
|
-
var E =
|
|
341
|
+
var E = v && g === y && y.visualViewport ? y.visualViewport.height : (
|
|
342
342
|
// $FlowFixMe[prop-missing]
|
|
343
343
|
g[P]
|
|
344
344
|
);
|
|
345
|
-
|
|
345
|
+
m -= E - r.height, m *= s ? 1 : -1;
|
|
346
346
|
}
|
|
347
347
|
if (a === I || (a === W || a === z) && i === Ie) {
|
|
348
348
|
O = Y;
|
|
349
|
-
var R =
|
|
349
|
+
var R = v && g === y && y.visualViewport ? y.visualViewport.width : (
|
|
350
350
|
// $FlowFixMe[prop-missing]
|
|
351
351
|
g[M]
|
|
352
352
|
);
|
|
@@ -355,20 +355,20 @@ function Jt(e) {
|
|
|
355
355
|
}
|
|
356
356
|
var D = Object.assign({
|
|
357
357
|
position: p
|
|
358
|
-
}, f && kr),
|
|
358
|
+
}, f && kr), N = c === !0 ? Lr({
|
|
359
359
|
x: u,
|
|
360
|
-
y:
|
|
360
|
+
y: m
|
|
361
361
|
}, V(o)) : {
|
|
362
362
|
x: u,
|
|
363
|
-
y:
|
|
363
|
+
y: m
|
|
364
364
|
};
|
|
365
|
-
if (u =
|
|
365
|
+
if (u = N.x, m = N.y, s) {
|
|
366
366
|
var k;
|
|
367
|
-
return Object.assign({}, D, (k = {}, k[d] = j ? "0" : "", k[O] = x ? "0" : "", k.transform = (y.devicePixelRatio || 1) <= 1 ? "translate(" + u + "px, " +
|
|
367
|
+
return Object.assign({}, D, (k = {}, k[d] = j ? "0" : "", k[O] = x ? "0" : "", k.transform = (y.devicePixelRatio || 1) <= 1 ? "translate(" + u + "px, " + m + "px)" : "translate3d(" + u + "px, " + m + "px, 0)", k));
|
|
368
368
|
}
|
|
369
|
-
return Object.assign({}, D, (t = {}, t[d] = j ?
|
|
369
|
+
return Object.assign({}, D, (t = {}, t[d] = j ? m + "px" : "", t[O] = x ? u + "px" : "", t.transform = "", t));
|
|
370
370
|
}
|
|
371
|
-
function
|
|
371
|
+
function Nr(e) {
|
|
372
372
|
var t = e.state, o = e.options, r = o.gpuAcceleration, a = r === void 0 ? !0 : r, i = o.adaptive, l = i === void 0 ? !0 : i, p = o.roundOffsets, s = p === void 0 ? !0 : p, f = {
|
|
373
373
|
placement: oe(t.placement),
|
|
374
374
|
variation: Ce(t.placement),
|
|
@@ -391,11 +391,11 @@ function Sr(e) {
|
|
|
391
391
|
"data-popper-placement": t.placement
|
|
392
392
|
});
|
|
393
393
|
}
|
|
394
|
-
const
|
|
394
|
+
const Sr = {
|
|
395
395
|
name: "computeStyles",
|
|
396
396
|
enabled: !0,
|
|
397
397
|
phase: "beforeWrite",
|
|
398
|
-
fn:
|
|
398
|
+
fn: Nr,
|
|
399
399
|
data: {}
|
|
400
400
|
};
|
|
401
401
|
var tt = {
|
|
@@ -465,8 +465,8 @@ function Ur(e, t) {
|
|
|
465
465
|
};
|
|
466
466
|
}
|
|
467
467
|
function Vr(e) {
|
|
468
|
-
var t, o = ce(e), r = $t(e), a = (t = e.ownerDocument) == null ? void 0 : t.body, i =
|
|
469
|
-
return ie(a || o).direction === "rtl" && (p +=
|
|
468
|
+
var t, o = ce(e), r = $t(e), a = (t = e.ownerDocument) == null ? void 0 : t.body, i = me(o.scrollWidth, o.clientWidth, a ? a.scrollWidth : 0, a ? a.clientWidth : 0), l = me(o.scrollHeight, o.clientHeight, a ? a.scrollHeight : 0, a ? a.clientHeight : 0), p = -r.scrollLeft + Mt(e), s = -r.scrollTop;
|
|
469
|
+
return ie(a || o).direction === "rtl" && (p += me(o.clientWidth, a ? a.clientWidth : 0) - i), {
|
|
470
470
|
width: i,
|
|
471
471
|
height: l,
|
|
472
472
|
x: p,
|
|
@@ -513,7 +513,7 @@ function Hr(e) {
|
|
|
513
513
|
function qr(e, t, o, r) {
|
|
514
514
|
var a = t === "clippingParents" ? Hr(e) : [].concat(t), i = [].concat(a, [o]), l = i[0], p = i.reduce(function(s, f) {
|
|
515
515
|
var c = eo(e, f, r);
|
|
516
|
-
return s.top =
|
|
516
|
+
return s.top = me(c.top, s.top), s.right = it(c.right, s.right), s.bottom = it(c.bottom, s.bottom), s.left = me(c.left, s.left), s;
|
|
517
517
|
}, eo(e, l, r));
|
|
518
518
|
return p.width = p.right - p.left, p.height = p.bottom - p.top, p.x = p.left, p.y = p.top, p;
|
|
519
519
|
}
|
|
@@ -566,44 +566,44 @@ function Ro(e) {
|
|
|
566
566
|
}
|
|
567
567
|
function Ue(e, t) {
|
|
568
568
|
t === void 0 && (t = {});
|
|
569
|
-
var o = t, r = o.placement, a = r === void 0 ? e.placement : r, i = o.strategy, l = i === void 0 ? e.strategy : i, p = o.boundary, s = p === void 0 ? fr : p, f = o.rootBoundary, c = f === void 0 ? bo : f,
|
|
569
|
+
var o = t, r = o.placement, a = r === void 0 ? e.placement : r, i = o.strategy, l = i === void 0 ? e.strategy : i, p = o.boundary, s = p === void 0 ? fr : p, f = o.rootBoundary, c = f === void 0 ? bo : f, v = o.elementContext, b = v === void 0 ? Ne : v, u = o.altBoundary, T = u === void 0 ? !1 : u, m = o.padding, h = m === void 0 ? 0 : m, x = To(typeof h != "number" ? h : Po(h, Fe)), j = b === Ne ? ur : Ne, O = e.rects.popper, d = e.elements[T ? j : b], y = qr(he(d) ? d : d.contextElement || ce(e.elements.popper), s, c, l), g = Re(e.elements.reference), P = Ro({
|
|
570
570
|
reference: g,
|
|
571
571
|
element: O,
|
|
572
572
|
strategy: "absolute",
|
|
573
573
|
placement: a
|
|
574
|
-
}), M = yt(Object.assign({}, O, P)), E = b ===
|
|
574
|
+
}), M = yt(Object.assign({}, O, P)), E = b === Ne ? M : g, R = {
|
|
575
575
|
top: y.top - E.top + x.top,
|
|
576
576
|
bottom: E.bottom - y.bottom + x.bottom,
|
|
577
577
|
left: y.left - E.left + x.left,
|
|
578
578
|
right: E.right - y.right + x.right
|
|
579
579
|
}, D = e.modifiersData.offset;
|
|
580
|
-
if (b ===
|
|
581
|
-
var
|
|
580
|
+
if (b === Ne && D) {
|
|
581
|
+
var N = D[a];
|
|
582
582
|
Object.keys(R).forEach(function(k) {
|
|
583
583
|
var K = [Y, z].indexOf(k) >= 0 ? 1 : -1, G = [W, z].indexOf(k) >= 0 ? "y" : "x";
|
|
584
|
-
R[k] +=
|
|
584
|
+
R[k] += N[G] * K;
|
|
585
585
|
});
|
|
586
586
|
}
|
|
587
587
|
return R;
|
|
588
588
|
}
|
|
589
589
|
function Xr(e, t) {
|
|
590
590
|
t === void 0 && (t = {});
|
|
591
|
-
var o = t, r = o.placement, a = o.boundary, i = o.rootBoundary, l = o.padding, p = o.flipVariations, s = o.allowedAutoPlacements, f = s === void 0 ? yo : s, c = Ce(r),
|
|
591
|
+
var o = t, r = o.placement, a = o.boundary, i = o.rootBoundary, l = o.padding, p = o.flipVariations, s = o.allowedAutoPlacements, f = s === void 0 ? yo : s, c = Ce(r), v = c ? p ? Gt : Gt.filter(function(T) {
|
|
592
592
|
return Ce(T) === c;
|
|
593
|
-
}) : Fe, b =
|
|
593
|
+
}) : Fe, b = v.filter(function(T) {
|
|
594
594
|
return f.indexOf(T) >= 0;
|
|
595
595
|
});
|
|
596
|
-
b.length === 0 && (b =
|
|
597
|
-
var u = b.reduce(function(T,
|
|
598
|
-
return T[
|
|
599
|
-
placement:
|
|
596
|
+
b.length === 0 && (b = v);
|
|
597
|
+
var u = b.reduce(function(T, m) {
|
|
598
|
+
return T[m] = Ue(e, {
|
|
599
|
+
placement: m,
|
|
600
600
|
boundary: a,
|
|
601
601
|
rootBoundary: i,
|
|
602
602
|
padding: l
|
|
603
|
-
})[oe(
|
|
603
|
+
})[oe(m)], T;
|
|
604
604
|
}, {});
|
|
605
|
-
return Object.keys(u).sort(function(T,
|
|
606
|
-
return u[T] - u[
|
|
605
|
+
return Object.keys(u).sort(function(T, m) {
|
|
606
|
+
return u[T] - u[m];
|
|
607
607
|
});
|
|
608
608
|
}
|
|
609
609
|
function zr(e) {
|
|
@@ -615,26 +615,26 @@ function zr(e) {
|
|
|
615
615
|
function Yr(e) {
|
|
616
616
|
var t = e.state, o = e.options, r = e.name;
|
|
617
617
|
if (!t.modifiersData[r]._skip) {
|
|
618
|
-
for (var a = o.mainAxis, i = a === void 0 ? !0 : a, l = o.altAxis, p = l === void 0 ? !0 : l, s = o.fallbackPlacements, f = o.padding, c = o.boundary,
|
|
618
|
+
for (var a = o.mainAxis, i = a === void 0 ? !0 : a, l = o.altAxis, p = l === void 0 ? !0 : l, s = o.fallbackPlacements, f = o.padding, c = o.boundary, v = o.rootBoundary, b = o.altBoundary, u = o.flipVariations, T = u === void 0 ? !0 : u, m = o.allowedAutoPlacements, h = t.options.placement, x = oe(h), j = x === h, O = s || (j || !T ? [nt(h)] : zr(h)), d = [h].concat(O).reduce(function(ne, J) {
|
|
619
619
|
return ne.concat(oe(J) === Et ? Xr(t, {
|
|
620
620
|
placement: J,
|
|
621
621
|
boundary: c,
|
|
622
|
-
rootBoundary:
|
|
622
|
+
rootBoundary: v,
|
|
623
623
|
padding: f,
|
|
624
624
|
flipVariations: T,
|
|
625
|
-
allowedAutoPlacements:
|
|
625
|
+
allowedAutoPlacements: m
|
|
626
626
|
}) : J);
|
|
627
627
|
}, []), y = t.rects.reference, g = t.rects.popper, P = /* @__PURE__ */ new Map(), M = !0, E = d[0], R = 0; R < d.length; R++) {
|
|
628
|
-
var D = d[R],
|
|
628
|
+
var D = d[R], N = oe(D), k = Ce(D) === Pe, K = [W, z].indexOf(N) >= 0, G = K ? "width" : "height", A = Ue(t, {
|
|
629
629
|
placement: D,
|
|
630
630
|
boundary: c,
|
|
631
|
-
rootBoundary:
|
|
631
|
+
rootBoundary: v,
|
|
632
632
|
altBoundary: b,
|
|
633
633
|
padding: f
|
|
634
634
|
}), L = K ? k ? Y : I : k ? z : W;
|
|
635
635
|
y[G] > g[G] && (L = nt(L));
|
|
636
|
-
var
|
|
637
|
-
if (i && Z.push(A[
|
|
636
|
+
var S = nt(L), Z = [];
|
|
637
|
+
if (i && Z.push(A[N] <= 0), p && Z.push(A[L] <= 0, A[S] <= 0), Z.every(function(ne) {
|
|
638
638
|
return ne;
|
|
639
639
|
})) {
|
|
640
640
|
E = D, M = !1;
|
|
@@ -691,15 +691,15 @@ function Gr(e) {
|
|
|
691
691
|
elementContext: "reference"
|
|
692
692
|
}), p = Ue(t, {
|
|
693
693
|
altBoundary: !0
|
|
694
|
-
}), s = to(l, r), f = to(p, a, i), c = oo(s),
|
|
694
|
+
}), s = to(l, r), f = to(p, a, i), c = oo(s), v = oo(f);
|
|
695
695
|
t.modifiersData[o] = {
|
|
696
696
|
referenceClippingOffsets: s,
|
|
697
697
|
popperEscapeOffsets: f,
|
|
698
698
|
isReferenceHidden: c,
|
|
699
|
-
hasPopperEscaped:
|
|
699
|
+
hasPopperEscaped: v
|
|
700
700
|
}, t.attributes.popper = Object.assign({}, t.attributes.popper, {
|
|
701
701
|
"data-popper-reference-hidden": c,
|
|
702
|
-
"data-popper-escaped":
|
|
702
|
+
"data-popper-escaped": v
|
|
703
703
|
});
|
|
704
704
|
}
|
|
705
705
|
const Zr = {
|
|
@@ -722,8 +722,8 @@ function Jr(e, t, o) {
|
|
|
722
722
|
};
|
|
723
723
|
}
|
|
724
724
|
function Qr(e) {
|
|
725
|
-
var t = e.state, o = e.options, r = e.name, a = o.offset, i = a === void 0 ? [0, 0] : a, l = yo.reduce(function(c,
|
|
726
|
-
return c[
|
|
725
|
+
var t = e.state, o = e.options, r = e.name, a = o.offset, i = a === void 0 ? [0, 0] : a, l = yo.reduce(function(c, v) {
|
|
726
|
+
return c[v] = Jr(v, t.rects, i), c;
|
|
727
727
|
}, {}), p = l[t.placement], s = p.x, f = p.y;
|
|
728
728
|
t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += s, t.modifiersData.popperOffsets.y += f), t.modifiersData[r] = l;
|
|
729
729
|
}
|
|
@@ -754,36 +754,36 @@ function rn(e) {
|
|
|
754
754
|
return e === "x" ? "y" : "x";
|
|
755
755
|
}
|
|
756
756
|
function nn(e) {
|
|
757
|
-
var t = e.state, o = e.options, r = e.name, a = o.mainAxis, i = a === void 0 ? !0 : a, l = o.altAxis, p = l === void 0 ? !1 : l, s = o.boundary, f = o.rootBoundary, c = o.altBoundary,
|
|
757
|
+
var t = e.state, o = e.options, r = e.name, a = o.mainAxis, i = a === void 0 ? !0 : a, l = o.altAxis, p = l === void 0 ? !1 : l, s = o.boundary, f = o.rootBoundary, c = o.altBoundary, v = o.padding, b = o.tether, u = b === void 0 ? !0 : b, T = o.tetherOffset, m = T === void 0 ? 0 : T, h = Ue(t, {
|
|
758
758
|
boundary: s,
|
|
759
759
|
rootBoundary: f,
|
|
760
|
-
padding:
|
|
760
|
+
padding: v,
|
|
761
761
|
altBoundary: c
|
|
762
|
-
}), x = oe(t.placement), j = Ce(t.placement), O = !j, d = jt(x), y = rn(d), g = t.modifiersData.popperOffsets, P = t.rects.reference, M = t.rects.popper, E = typeof
|
|
762
|
+
}), x = oe(t.placement), j = Ce(t.placement), O = !j, d = jt(x), y = rn(d), g = t.modifiersData.popperOffsets, P = t.rects.reference, M = t.rects.popper, E = typeof m == "function" ? m(Object.assign({}, t.rects, {
|
|
763
763
|
placement: t.placement
|
|
764
|
-
})) :
|
|
764
|
+
})) : m, R = typeof E == "number" ? {
|
|
765
765
|
mainAxis: E,
|
|
766
766
|
altAxis: E
|
|
767
767
|
} : Object.assign({
|
|
768
768
|
mainAxis: 0,
|
|
769
769
|
altAxis: 0
|
|
770
|
-
}, E), D = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null,
|
|
770
|
+
}, E), D = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, N = {
|
|
771
771
|
x: 0,
|
|
772
772
|
y: 0
|
|
773
773
|
};
|
|
774
774
|
if (g) {
|
|
775
775
|
if (i) {
|
|
776
|
-
var k, K = d === "y" ? W : I, G = d === "y" ? z : Y, A = d === "y" ? "height" : "width", L = g[d],
|
|
776
|
+
var k, K = d === "y" ? W : I, G = d === "y" ? z : Y, A = d === "y" ? "height" : "width", L = g[d], S = L + h[K], Z = L - h[G], ge = u ? -M[A] / 2 : 0, be = j === Pe ? P[A] : M[A], fe = j === Pe ? -M[A] : -P[A], ue = t.elements.arrow, ne = u && ue ? Ct(ue) : {
|
|
777
777
|
width: 0,
|
|
778
778
|
height: 0
|
|
779
|
-
}, J = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : xo(), se = J[K], pe = J[G], B = _e(0, P[A], ne[A]), Q = O ? P[A] / 2 - ge - B - se - R.mainAxis : be - B - se - R.mainAxis, ye = O ? -P[A] / 2 + ge + B + pe + R.mainAxis : fe + B + pe + R.mainAxis, F = t.elements.arrow && He(t.elements.arrow), ft = F ? d === "y" ? F.clientTop || 0 : F.clientLeft || 0 : 0, qe = (k = D == null ? void 0 : D[d]) != null ? k : 0, Xe = L + Q - qe - ft, H = L + ye - qe, $e = _e(u ? it(
|
|
780
|
-
g[d] = $e,
|
|
779
|
+
}, J = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : xo(), se = J[K], pe = J[G], B = _e(0, P[A], ne[A]), Q = O ? P[A] / 2 - ge - B - se - R.mainAxis : be - B - se - R.mainAxis, ye = O ? -P[A] / 2 + ge + B + pe + R.mainAxis : fe + B + pe + R.mainAxis, F = t.elements.arrow && He(t.elements.arrow), ft = F ? d === "y" ? F.clientTop || 0 : F.clientLeft || 0 : 0, qe = (k = D == null ? void 0 : D[d]) != null ? k : 0, Xe = L + Q - qe - ft, H = L + ye - qe, $e = _e(u ? it(S, Xe) : S, L, u ? me(Z, H) : Z);
|
|
780
|
+
g[d] = $e, N[d] = $e - L;
|
|
781
781
|
}
|
|
782
782
|
if (p) {
|
|
783
|
-
var ze, _ = d === "x" ? W : I, Ye = d === "x" ? z : Y, ee = g[y], we = y === "y" ? "height" : "width", de = ee + h[_], Oe = ee - h[Ye], xe = [W, I].indexOf(x) !== -1, Te = (ze = D == null ? void 0 : D[y]) != null ? ze : 0,
|
|
784
|
-
g[y] = Ke,
|
|
783
|
+
var ze, _ = d === "x" ? W : I, Ye = d === "x" ? z : Y, ee = g[y], we = y === "y" ? "height" : "width", de = ee + h[_], Oe = ee - h[Ye], xe = [W, I].indexOf(x) !== -1, Te = (ze = D == null ? void 0 : D[y]) != null ? ze : 0, ve = xe ? de : ee - P[we] - M[we] - Te + R.altAxis, Me = xe ? ee + P[we] + M[we] - Te - R.altAxis : Oe, Ke = u && xe ? jr(ve, ee, Me) : _e(u ? ve : de, ee, u ? Me : Oe);
|
|
784
|
+
g[y] = Ke, N[y] = Ke - ee;
|
|
785
785
|
}
|
|
786
|
-
t.modifiersData[r] =
|
|
786
|
+
t.modifiersData[r] = N;
|
|
787
787
|
}
|
|
788
788
|
}
|
|
789
789
|
const an = {
|
|
@@ -860,7 +860,7 @@ function dn(e) {
|
|
|
860
860
|
})), t;
|
|
861
861
|
};
|
|
862
862
|
}
|
|
863
|
-
function
|
|
863
|
+
function vn(e) {
|
|
864
864
|
var t = e.reduce(function(o, r) {
|
|
865
865
|
var a = o[r.name];
|
|
866
866
|
return o[r.name] = a ? Object.assign({}, a, r, {
|
|
@@ -884,7 +884,7 @@ function no() {
|
|
|
884
884
|
return !(r && typeof r.getBoundingClientRect == "function");
|
|
885
885
|
});
|
|
886
886
|
}
|
|
887
|
-
function
|
|
887
|
+
function mn(e) {
|
|
888
888
|
e === void 0 && (e = {});
|
|
889
889
|
var t = e, o = t.defaultModifiers, r = o === void 0 ? [] : o, a = t.defaultOptions, i = a === void 0 ? ro : a;
|
|
890
890
|
return function(p, s, f) {
|
|
@@ -900,15 +900,15 @@ function vn(e) {
|
|
|
900
900
|
},
|
|
901
901
|
attributes: {},
|
|
902
902
|
styles: {}
|
|
903
|
-
},
|
|
903
|
+
}, v = [], b = !1, u = {
|
|
904
904
|
state: c,
|
|
905
905
|
setOptions: function(x) {
|
|
906
906
|
var j = typeof x == "function" ? x(c.options) : x;
|
|
907
|
-
|
|
907
|
+
m(), c.options = Object.assign({}, i, c.options, j), c.scrollParents = {
|
|
908
908
|
reference: he(p) ? We(p) : p.contextElement ? We(p.contextElement) : [],
|
|
909
909
|
popper: We(s)
|
|
910
910
|
};
|
|
911
|
-
var O = un(
|
|
911
|
+
var O = un(vn([].concat(r, c.options.modifiers)));
|
|
912
912
|
return c.orderedModifiers = O.filter(function(d) {
|
|
913
913
|
return d.enabled;
|
|
914
914
|
}), T(), u.update();
|
|
@@ -952,7 +952,7 @@ function vn(e) {
|
|
|
952
952
|
});
|
|
953
953
|
}),
|
|
954
954
|
destroy: function() {
|
|
955
|
-
|
|
955
|
+
m(), b = !0;
|
|
956
956
|
}
|
|
957
957
|
};
|
|
958
958
|
if (!no(p, s))
|
|
@@ -971,19 +971,19 @@ function vn(e) {
|
|
|
971
971
|
options: O
|
|
972
972
|
}), g = function() {
|
|
973
973
|
};
|
|
974
|
-
|
|
974
|
+
v.push(y || g);
|
|
975
975
|
}
|
|
976
976
|
});
|
|
977
977
|
}
|
|
978
|
-
function
|
|
979
|
-
|
|
978
|
+
function m() {
|
|
979
|
+
v.forEach(function(h) {
|
|
980
980
|
return h();
|
|
981
|
-
}),
|
|
981
|
+
}), v = [];
|
|
982
982
|
}
|
|
983
983
|
return u;
|
|
984
984
|
};
|
|
985
985
|
}
|
|
986
|
-
var hn = [_r, on,
|
|
986
|
+
var hn = [_r, on, Sr, Er, en, Kr, an, Dr, Zr], gn = /* @__PURE__ */ mn({
|
|
987
987
|
defaultModifiers: hn
|
|
988
988
|
});
|
|
989
989
|
function bn(e) {
|
|
@@ -1033,11 +1033,11 @@ const Tn = (e) => {
|
|
|
1033
1033
|
modifiers: s,
|
|
1034
1034
|
open: f,
|
|
1035
1035
|
placement: c,
|
|
1036
|
-
popperOptions:
|
|
1036
|
+
popperOptions: v,
|
|
1037
1037
|
popperRef: b,
|
|
1038
1038
|
slotProps: u = {},
|
|
1039
1039
|
slots: T = {},
|
|
1040
|
-
TransitionProps:
|
|
1040
|
+
TransitionProps: m
|
|
1041
1041
|
// @ts-ignore internal logic
|
|
1042
1042
|
// prevent from spreading to DOM, it can come from the parent component e.g. Select.
|
|
1043
1043
|
} = t, h = Ve(t, yn), x = $.useRef(null), j = gt(x, o), O = $.useRef(null), d = gt(O, b), y = $.useRef(d);
|
|
@@ -1052,12 +1052,12 @@ const Tn = (e) => {
|
|
|
1052
1052
|
}, [a]), Xt(() => {
|
|
1053
1053
|
if (!E || !f)
|
|
1054
1054
|
return;
|
|
1055
|
-
const G = (
|
|
1056
|
-
M(
|
|
1055
|
+
const G = (S) => {
|
|
1056
|
+
M(S.placement);
|
|
1057
1057
|
};
|
|
1058
1058
|
if (process.env.NODE_ENV !== "production" && E && ct(E) && E.nodeType === 1) {
|
|
1059
|
-
const
|
|
1060
|
-
process.env.NODE_ENV !== "test" &&
|
|
1059
|
+
const S = E.getBoundingClientRect();
|
|
1060
|
+
process.env.NODE_ENV !== "test" && S.top === 0 && S.left === 0 && S.right === 0 && S.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(`
|
|
1061
1061
|
`));
|
|
1062
1062
|
}
|
|
1063
1063
|
let A = [{
|
|
@@ -1075,26 +1075,26 @@ const Tn = (e) => {
|
|
|
1075
1075
|
enabled: !0,
|
|
1076
1076
|
phase: "afterWrite",
|
|
1077
1077
|
fn: ({
|
|
1078
|
-
state:
|
|
1078
|
+
state: S
|
|
1079
1079
|
}) => {
|
|
1080
|
-
G(
|
|
1080
|
+
G(S);
|
|
1081
1081
|
}
|
|
1082
1082
|
}];
|
|
1083
|
-
s != null && (A = A.concat(s)),
|
|
1083
|
+
s != null && (A = A.concat(s)), v && v.modifiers != null && (A = A.concat(v.modifiers));
|
|
1084
1084
|
const L = gn(E, x.current, C({
|
|
1085
1085
|
placement: g
|
|
1086
|
-
},
|
|
1086
|
+
}, v, {
|
|
1087
1087
|
modifiers: A
|
|
1088
1088
|
}));
|
|
1089
1089
|
return y.current(L), () => {
|
|
1090
1090
|
L.destroy(), y.current(null);
|
|
1091
1091
|
};
|
|
1092
|
-
}, [E, p, s, f,
|
|
1092
|
+
}, [E, p, s, f, v, g]);
|
|
1093
1093
|
const D = {
|
|
1094
1094
|
placement: P
|
|
1095
1095
|
};
|
|
1096
|
-
|
|
1097
|
-
const
|
|
1096
|
+
m !== null && (D.TransitionProps = m);
|
|
1097
|
+
const N = Tn(t), k = (r = T.root) != null ? r : "div", K = qo({
|
|
1098
1098
|
elementType: k,
|
|
1099
1099
|
externalSlotProps: u.root,
|
|
1100
1100
|
externalForwardedProps: h,
|
|
@@ -1103,7 +1103,7 @@ const Tn = (e) => {
|
|
|
1103
1103
|
ref: j
|
|
1104
1104
|
},
|
|
1105
1105
|
ownerState: t,
|
|
1106
|
-
className:
|
|
1106
|
+
className: N.root
|
|
1107
1107
|
});
|
|
1108
1108
|
return /* @__PURE__ */ te.jsx(k, C({}, K, {
|
|
1109
1109
|
children: typeof i == "function" ? i(D) : i
|
|
@@ -1118,11 +1118,11 @@ const Tn = (e) => {
|
|
|
1118
1118
|
keepMounted: s = !1,
|
|
1119
1119
|
modifiers: f,
|
|
1120
1120
|
open: c,
|
|
1121
|
-
placement:
|
|
1121
|
+
placement: v = "bottom",
|
|
1122
1122
|
popperOptions: b = Pn,
|
|
1123
1123
|
popperRef: u,
|
|
1124
1124
|
style: T,
|
|
1125
|
-
transition:
|
|
1125
|
+
transition: m = !1,
|
|
1126
1126
|
slotProps: h = {},
|
|
1127
1127
|
slots: x = {}
|
|
1128
1128
|
} = t, j = Ve(t, wn), [O, d] = $.useState(!0), y = () => {
|
|
@@ -1130,7 +1130,7 @@ const Tn = (e) => {
|
|
|
1130
1130
|
}, g = () => {
|
|
1131
1131
|
d(!0);
|
|
1132
1132
|
};
|
|
1133
|
-
if (!s && !c && (!
|
|
1133
|
+
if (!s && !c && (!m || O))
|
|
1134
1134
|
return null;
|
|
1135
1135
|
let P;
|
|
1136
1136
|
if (i)
|
|
@@ -1139,7 +1139,7 @@ const Tn = (e) => {
|
|
|
1139
1139
|
const R = st(r);
|
|
1140
1140
|
P = R && ct(R) ? qt(R).body : qt(null).body;
|
|
1141
1141
|
}
|
|
1142
|
-
const M = !c && s && (!
|
|
1142
|
+
const M = !c && s && (!m || O) ? "none" : void 0, E = m ? {
|
|
1143
1143
|
in: c,
|
|
1144
1144
|
onEnter: y,
|
|
1145
1145
|
onExited: g
|
|
@@ -1153,8 +1153,8 @@ const Tn = (e) => {
|
|
|
1153
1153
|
disablePortal: p,
|
|
1154
1154
|
modifiers: f,
|
|
1155
1155
|
ref: o,
|
|
1156
|
-
open:
|
|
1157
|
-
placement:
|
|
1156
|
+
open: m ? !O : c,
|
|
1157
|
+
placement: v,
|
|
1158
1158
|
popperOptions: b,
|
|
1159
1159
|
popperRef: u,
|
|
1160
1160
|
slotProps: h,
|
|
@@ -1309,11 +1309,11 @@ const Rn = ["anchorEl", "component", "components", "componentsProps", "container
|
|
|
1309
1309
|
components: s,
|
|
1310
1310
|
componentsProps: f,
|
|
1311
1311
|
container: c,
|
|
1312
|
-
disablePortal:
|
|
1312
|
+
disablePortal: v,
|
|
1313
1313
|
keepMounted: b,
|
|
1314
1314
|
modifiers: u,
|
|
1315
1315
|
open: T,
|
|
1316
|
-
placement:
|
|
1316
|
+
placement: m,
|
|
1317
1317
|
popperOptions: h,
|
|
1318
1318
|
popperRef: x,
|
|
1319
1319
|
transition: j,
|
|
@@ -1322,11 +1322,11 @@ const Rn = ["anchorEl", "component", "components", "componentsProps", "container
|
|
|
1322
1322
|
} = i, y = Ve(i, Rn), g = (r = O == null ? void 0 : O.root) != null ? r : s == null ? void 0 : s.Root, P = C({
|
|
1323
1323
|
anchorEl: l,
|
|
1324
1324
|
container: c,
|
|
1325
|
-
disablePortal:
|
|
1325
|
+
disablePortal: v,
|
|
1326
1326
|
keepMounted: b,
|
|
1327
1327
|
modifiers: u,
|
|
1328
1328
|
open: T,
|
|
1329
|
-
placement:
|
|
1329
|
+
placement: m,
|
|
1330
1330
|
popperOptions: h,
|
|
1331
1331
|
popperRef: x,
|
|
1332
1332
|
transition: j
|
|
@@ -1596,18 +1596,18 @@ const Mn = (e) => {
|
|
|
1596
1596
|
style: s,
|
|
1597
1597
|
variant: f = "text",
|
|
1598
1598
|
width: c
|
|
1599
|
-
} = r,
|
|
1599
|
+
} = r, v = Ve(r, $n), b = C({}, r, {
|
|
1600
1600
|
animation: a,
|
|
1601
1601
|
component: l,
|
|
1602
1602
|
variant: f,
|
|
1603
|
-
hasChildren: !!
|
|
1603
|
+
hasChildren: !!v.children
|
|
1604
1604
|
}), u = Mn(b);
|
|
1605
1605
|
return /* @__PURE__ */ te.jsx(kn, C({
|
|
1606
1606
|
as: l,
|
|
1607
1607
|
ref: o,
|
|
1608
1608
|
className: Be(u.root, i),
|
|
1609
1609
|
ownerState: b
|
|
1610
|
-
},
|
|
1610
|
+
}, v, {
|
|
1611
1611
|
style: C({
|
|
1612
1612
|
width: c,
|
|
1613
1613
|
height: p
|
|
@@ -1669,8 +1669,8 @@ process.env.NODE_ENV !== "production" && (jo.propTypes = {
|
|
|
1669
1669
|
function Ln(e) {
|
|
1670
1670
|
return Ot("MuiTooltip", e);
|
|
1671
1671
|
}
|
|
1672
|
-
const le = wt("MuiTooltip", ["popper", "popperInteractive", "popperArrow", "popperClose", "tooltip", "tooltipArrow", "touch", "tooltipPlacementLeft", "tooltipPlacementRight", "tooltipPlacementTop", "tooltipPlacementBottom", "arrow"]),
|
|
1673
|
-
function
|
|
1672
|
+
const le = wt("MuiTooltip", ["popper", "popperInteractive", "popperArrow", "popperClose", "tooltip", "tooltipArrow", "touch", "tooltipPlacementLeft", "tooltipPlacementRight", "tooltipPlacementTop", "tooltipPlacementBottom", "arrow"]), Nn = ["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"];
|
|
1673
|
+
function Sn(e) {
|
|
1674
1674
|
return Math.round(e * 1e5) / 1e5;
|
|
1675
1675
|
}
|
|
1676
1676
|
const Bn = (e) => {
|
|
@@ -1760,7 +1760,7 @@ const Bn = (e) => {
|
|
|
1760
1760
|
theme: e,
|
|
1761
1761
|
ownerState: t
|
|
1762
1762
|
}) => C({
|
|
1763
|
-
backgroundColor: e.vars ? e.vars.palette.Tooltip.bg :
|
|
1763
|
+
backgroundColor: e.vars ? e.vars.palette.Tooltip.bg : vo(e.palette.grey[700], 0.92),
|
|
1764
1764
|
borderRadius: (e.vars || e).shape.borderRadius,
|
|
1765
1765
|
color: (e.vars || e).palette.common.white,
|
|
1766
1766
|
fontFamily: e.typography.fontFamily,
|
|
@@ -1776,7 +1776,7 @@ const Bn = (e) => {
|
|
|
1776
1776
|
}, t.touch && {
|
|
1777
1777
|
padding: "8px 16px",
|
|
1778
1778
|
fontSize: e.typography.pxToRem(14),
|
|
1779
|
-
lineHeight: `${
|
|
1779
|
+
lineHeight: `${Sn(16 / 14)}em`,
|
|
1780
1780
|
fontWeight: e.typography.fontWeightRegular
|
|
1781
1781
|
}, {
|
|
1782
1782
|
[`.${le.popper}[data-popper-placement*="left"] &`]: C({
|
|
@@ -1825,7 +1825,7 @@ const Bn = (e) => {
|
|
|
1825
1825
|
width: "1em",
|
|
1826
1826
|
height: "0.71em",
|
|
1827
1827
|
boxSizing: "border-box",
|
|
1828
|
-
color: e.vars ? e.vars.palette.Tooltip.bg :
|
|
1828
|
+
color: e.vars ? e.vars.palette.Tooltip.bg : vo(e.palette.grey[700], 0.9),
|
|
1829
1829
|
"&::before": {
|
|
1830
1830
|
content: '""',
|
|
1831
1831
|
margin: "auto",
|
|
@@ -1838,7 +1838,7 @@ const Bn = (e) => {
|
|
|
1838
1838
|
}));
|
|
1839
1839
|
let ot = !1;
|
|
1840
1840
|
const lo = new Jo();
|
|
1841
|
-
let
|
|
1841
|
+
let Se = {
|
|
1842
1842
|
x: 0,
|
|
1843
1843
|
y: 0
|
|
1844
1844
|
};
|
|
@@ -1848,7 +1848,7 @@ function rt(e, t) {
|
|
|
1848
1848
|
};
|
|
1849
1849
|
}
|
|
1850
1850
|
const Un = /* @__PURE__ */ $.forwardRef(function(t, o) {
|
|
1851
|
-
var r, a, i, l, p, s, f, c,
|
|
1851
|
+
var r, a, i, l, p, s, f, c, v, b, u, T, m, h, x, j, O, d, y;
|
|
1852
1852
|
const g = Tt({
|
|
1853
1853
|
props: t,
|
|
1854
1854
|
name: "MuiTooltip"
|
|
@@ -1858,13 +1858,13 @@ const Un = /* @__PURE__ */ $.forwardRef(function(t, o) {
|
|
|
1858
1858
|
components: E = {},
|
|
1859
1859
|
componentsProps: R = {},
|
|
1860
1860
|
describeChild: D = !1,
|
|
1861
|
-
disableFocusListener:
|
|
1861
|
+
disableFocusListener: N = !1,
|
|
1862
1862
|
disableHoverListener: k = !1,
|
|
1863
1863
|
disableInteractive: K = !1,
|
|
1864
1864
|
disableTouchListener: G = !1,
|
|
1865
1865
|
enterDelay: A = 100,
|
|
1866
1866
|
enterNextDelay: L = 0,
|
|
1867
|
-
enterTouchDelay:
|
|
1867
|
+
enterTouchDelay: S = 700,
|
|
1868
1868
|
followCursor: Z = !1,
|
|
1869
1869
|
id: ge,
|
|
1870
1870
|
leaveDelay: be = 0,
|
|
@@ -1880,9 +1880,9 @@ const Un = /* @__PURE__ */ $.forwardRef(function(t, o) {
|
|
|
1880
1880
|
title: F,
|
|
1881
1881
|
TransitionComponent: ft = Kt,
|
|
1882
1882
|
TransitionProps: qe
|
|
1883
|
-
} = g, Xe = Ve(g,
|
|
1883
|
+
} = g, Xe = Ve(g, Nn), H = /* @__PURE__ */ $.isValidElement(M) ? M : /* @__PURE__ */ te.jsx("span", {
|
|
1884
1884
|
children: M
|
|
1885
|
-
}), $e = Xo(), ze = zo(), [_, Ye] = $.useState(), [ee, we] = $.useState(null), de = $.useRef(!1), Oe = K || Z, xe = Qe(), Te = Qe(),
|
|
1885
|
+
}), $e = Xo(), ze = zo(), [_, Ye] = $.useState(), [ee, we] = $.useState(null), de = $.useRef(!1), Oe = K || Z, xe = Qe(), Te = Qe(), ve = Qe(), Me = Qe(), [Ke, kt] = Yo({
|
|
1886
1886
|
controlled: J,
|
|
1887
1887
|
default: !1,
|
|
1888
1888
|
name: "Tooltip",
|
|
@@ -1916,32 +1916,32 @@ const Un = /* @__PURE__ */ $.forwardRef(function(t, o) {
|
|
|
1916
1916
|
});
|
|
1917
1917
|
}
|
|
1918
1918
|
), Je = (w) => {
|
|
1919
|
-
de.current && w.type !== "touchstart" || (_ && _.removeAttribute("title"), Te.clear(),
|
|
1919
|
+
de.current && w.type !== "touchstart" || (_ && _.removeAttribute("title"), Te.clear(), ve.clear(), A || ot && L ? Te.start(ot ? L : A, () => {
|
|
1920
1920
|
Lt(w);
|
|
1921
1921
|
}) : Lt(w));
|
|
1922
1922
|
}, dt = (w) => {
|
|
1923
|
-
Te.clear(),
|
|
1923
|
+
Te.clear(), ve.start(be, () => {
|
|
1924
1924
|
Ze(w);
|
|
1925
1925
|
});
|
|
1926
1926
|
}, {
|
|
1927
|
-
isFocusVisibleRef:
|
|
1927
|
+
isFocusVisibleRef: Nt,
|
|
1928
1928
|
onBlur: $o,
|
|
1929
1929
|
onFocus: Mo,
|
|
1930
1930
|
ref: Ao
|
|
1931
|
-
} = Go(), [,
|
|
1932
|
-
$o(w),
|
|
1931
|
+
} = Go(), [, St] = $.useState(!1), Bt = (w) => {
|
|
1932
|
+
$o(w), Nt.current === !1 && (St(!1), dt(w));
|
|
1933
1933
|
}, _t = (w) => {
|
|
1934
|
-
_ || Ye(w.currentTarget), Mo(w),
|
|
1934
|
+
_ || Ye(w.currentTarget), Mo(w), Nt.current === !0 && (St(!0), Je(w));
|
|
1935
1935
|
}, Wt = (w) => {
|
|
1936
1936
|
de.current = !0;
|
|
1937
1937
|
const U = H.props;
|
|
1938
1938
|
U.onTouchStart && U.onTouchStart(w);
|
|
1939
1939
|
}, Do = (w) => {
|
|
1940
|
-
Wt(w),
|
|
1940
|
+
Wt(w), ve.clear(), xe.clear(), Ge(), Ae.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", Me.start(S, () => {
|
|
1941
1941
|
document.body.style.WebkitUserSelect = Ae.current, Je(w);
|
|
1942
1942
|
});
|
|
1943
1943
|
}, ko = (w) => {
|
|
1944
|
-
H.props.onTouchEnd && H.props.onTouchEnd(w), Ge(),
|
|
1944
|
+
H.props.onTouchEnd && H.props.onTouchEnd(w), Ge(), ve.start(fe, () => {
|
|
1945
1945
|
Ze(w);
|
|
1946
1946
|
});
|
|
1947
1947
|
};
|
|
@@ -1957,29 +1957,29 @@ const Un = /* @__PURE__ */ $.forwardRef(function(t, o) {
|
|
|
1957
1957
|
}, [Ze, ae]);
|
|
1958
1958
|
const Lo = gt(H.ref, Ao, Ye, o);
|
|
1959
1959
|
!F && F !== 0 && (ae = !1);
|
|
1960
|
-
const
|
|
1960
|
+
const vt = $.useRef(), No = (w) => {
|
|
1961
1961
|
const U = H.props;
|
|
1962
|
-
U.onMouseMove && U.onMouseMove(w),
|
|
1962
|
+
U.onMouseMove && U.onMouseMove(w), Se = {
|
|
1963
1963
|
x: w.clientX,
|
|
1964
1964
|
y: w.clientY
|
|
1965
|
-
},
|
|
1966
|
-
}, De = {},
|
|
1967
|
-
D ? (De.title = !ae &&
|
|
1965
|
+
}, vt.current && vt.current.update();
|
|
1966
|
+
}, De = {}, mt = typeof F == "string";
|
|
1967
|
+
D ? (De.title = !ae && mt && !k ? F : null, De["aria-describedby"] = ae ? ut : null) : (De["aria-label"] = mt ? F : null, De["aria-labelledby"] = ae && !mt ? ut : null);
|
|
1968
1968
|
const q = C({}, De, Xe, H.props, {
|
|
1969
1969
|
className: Be(Xe.className, H.props.className),
|
|
1970
1970
|
onTouchStart: Wt,
|
|
1971
1971
|
ref: Lo
|
|
1972
1972
|
}, Z ? {
|
|
1973
|
-
onMouseMove:
|
|
1973
|
+
onMouseMove: No
|
|
1974
1974
|
} : {});
|
|
1975
1975
|
process.env.NODE_ENV !== "production" && (q["data-mui-internal-clone-element"] = !0, $.useEffect(() => {
|
|
1976
1976
|
_ && !_.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(`
|
|
1977
1977
|
`));
|
|
1978
1978
|
}, [_]));
|
|
1979
1979
|
const ke = {};
|
|
1980
|
-
G || (q.onTouchStart = Do, q.onTouchEnd = ko), k || (q.onMouseOver = rt(Je, q.onMouseOver), q.onMouseLeave = rt(dt, q.onMouseLeave), Oe || (ke.onMouseOver = Je, ke.onMouseLeave = dt)),
|
|
1980
|
+
G || (q.onTouchStart = Do, q.onTouchEnd = ko), k || (q.onMouseOver = rt(Je, q.onMouseOver), q.onMouseLeave = rt(dt, q.onMouseLeave), Oe || (ke.onMouseOver = Je, ke.onMouseLeave = dt)), N || (q.onFocus = rt(_t, q.onFocus), q.onBlur = rt(Bt, q.onBlur), Oe || (ke.onFocus = _t, ke.onBlur = Bt)), process.env.NODE_ENV !== "production" && H.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${H.props.title}\` or the Tooltip component.`].join(`
|
|
1981
1981
|
`));
|
|
1982
|
-
const
|
|
1982
|
+
const So = $.useMemo(() => {
|
|
1983
1983
|
var w;
|
|
1984
1984
|
let U = [{
|
|
1985
1985
|
name: "arrow",
|
|
@@ -1999,9 +1999,9 @@ const Un = /* @__PURE__ */ $.forwardRef(function(t, o) {
|
|
|
1999
1999
|
placement: se,
|
|
2000
2000
|
PopperComponentProp: pe,
|
|
2001
2001
|
touch: de.current
|
|
2002
|
-
}), ht = Bn(Le), It = (r = (a = ye.popper) != null ? a : E.Popper) != null ? r : _n, Ut = (i = (l = (p = ye.transition) != null ? p : E.Transition) != null ? l : ft) != null ? i : Kt, Vt = (s = (f = ye.tooltip) != null ? f : E.Tooltip) != null ? s : Wn, Ft = (c = (
|
|
2002
|
+
}), ht = Bn(Le), It = (r = (a = ye.popper) != null ? a : E.Popper) != null ? r : _n, Ut = (i = (l = (p = ye.transition) != null ? p : E.Transition) != null ? l : ft) != null ? i : Kt, Vt = (s = (f = ye.tooltip) != null ? f : E.Tooltip) != null ? s : Wn, Ft = (c = (v = ye.arrow) != null ? v : E.Arrow) != null ? c : In, Bo = et(It, C({}, B, (b = Q.popper) != null ? b : R.popper, {
|
|
2003
2003
|
className: Be(ht.popper, B == null ? void 0 : B.className, (u = (T = Q.popper) != null ? T : R.popper) == null ? void 0 : u.className)
|
|
2004
|
-
}), Le), _o = et(Ut, C({}, qe, (
|
|
2004
|
+
}), Le), _o = et(Ut, C({}, qe, (m = Q.transition) != null ? m : R.transition), Le), Wo = et(Vt, C({}, (h = Q.tooltip) != null ? h : R.tooltip, {
|
|
2005
2005
|
className: Be(ht.tooltip, (x = (j = Q.tooltip) != null ? j : R.tooltip) == null ? void 0 : x.className)
|
|
2006
2006
|
}), Le), Io = et(Ft, C({}, (O = Q.arrow) != null ? O : R.arrow, {
|
|
2007
2007
|
className: Be(ht.arrow, (d = (y = Q.arrow) != null ? y : R.arrow) == null ? void 0 : d.className)
|
|
@@ -2012,20 +2012,20 @@ const Un = /* @__PURE__ */ $.forwardRef(function(t, o) {
|
|
|
2012
2012
|
placement: se,
|
|
2013
2013
|
anchorEl: Z ? {
|
|
2014
2014
|
getBoundingClientRect: () => ({
|
|
2015
|
-
top:
|
|
2016
|
-
left:
|
|
2017
|
-
right:
|
|
2018
|
-
bottom:
|
|
2015
|
+
top: Se.y,
|
|
2016
|
+
left: Se.x,
|
|
2017
|
+
right: Se.x,
|
|
2018
|
+
bottom: Se.y,
|
|
2019
2019
|
width: 0,
|
|
2020
2020
|
height: 0
|
|
2021
2021
|
})
|
|
2022
2022
|
} : _,
|
|
2023
|
-
popperRef:
|
|
2023
|
+
popperRef: vt,
|
|
2024
2024
|
open: _ ? ae : !1,
|
|
2025
2025
|
id: ut,
|
|
2026
2026
|
transition: !0
|
|
2027
2027
|
}, ke, Bo, {
|
|
2028
|
-
popperOptions:
|
|
2028
|
+
popperOptions: So,
|
|
2029
2029
|
children: ({
|
|
2030
2030
|
TransitionProps: w
|
|
2031
2031
|
}) => /* @__PURE__ */ te.jsx(Ut, C({
|
|
@@ -2233,21 +2233,20 @@ process.env.NODE_ENV !== "production" && (Un.propTypes = {
|
|
|
2233
2233
|
*/
|
|
2234
2234
|
TransitionProps: n.object
|
|
2235
2235
|
});
|
|
2236
|
-
const Hn = (e) => e.
|
|
2236
|
+
const Hn = (e) => e.connectorLirary.connectorTemplateList, qn = (e) => e.connectorLirary.connectorTemplates, Xn = (e) => e.connectorLirary.selectedConnectorData, zn = (e) => e.connectorLirary.templateListApiStatus, Yn = (e) => e.connectorLirary.connectorList, Kn = (e) => e.connectorLirary.connectors, Gn = (e) => e.connectorLirary.templateDetailsApiStatus, Zn = (e) => e.connectorLirary.currentUpdatingConnectors, Jn = je(jo)`
|
|
2237
2237
|
display: block;
|
|
2238
2238
|
margin: ${(e) => e.margin ? e.margin : 0};
|
|
2239
|
-
|
|
2239
|
+
`;
|
|
2240
2240
|
export {
|
|
2241
|
-
|
|
2241
|
+
Jn as C,
|
|
2242
2242
|
Dt as P,
|
|
2243
2243
|
Un as T,
|
|
2244
2244
|
qn as a,
|
|
2245
2245
|
zn as b,
|
|
2246
|
-
|
|
2247
|
-
|
|
2246
|
+
Yn as c,
|
|
2247
|
+
Kn as d,
|
|
2248
2248
|
Xn as e,
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
Jn as h,
|
|
2249
|
+
Gn as f,
|
|
2250
|
+
Zn as g,
|
|
2252
2251
|
Hn as s
|
|
2253
2252
|
};
|