@sisense/sdk-ui 2.5.0 → 2.6.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/ai.cjs +1 -1
- package/dist/ai.js +4 -4
- package/dist/analytics-composer.cjs +82 -82
- package/dist/analytics-composer.js +1911 -1911
- package/dist/{derive-chart-family-ci86jmVk.js → derive-chart-family-BPYK8evJ.js} +11063 -11000
- package/dist/{derive-chart-family-Cjjn5U5S.cjs → derive-chart-family-yUBZXP4x.cjs} +146 -146
- package/dist/dimensions-BgPl9ZS9.cjs +1 -0
- package/dist/dimensions-DuHaCozA.js +203 -0
- package/dist/index.cjs +14 -14
- package/dist/index.js +5390 -5298
- package/dist/index.umd.js +248 -248
- package/dist/packages/sdk-ui/src/app/client-application.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/highcharts-based-chart-renderer/highcharts-based-chart-renderer.d.ts +4 -0
- package/dist/packages/sdk-ui/src/dashboard/components/jtd-dashboard.d.ts +2 -1
- package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-filters.d.ts +38 -4
- package/dist/packages/sdk-ui/src/dashboard/types.d.ts +26 -19
- package/dist/packages/sdk-ui/src/dynamic-size-container/dynamic-size-container.d.ts +2 -1
- package/dist/packages/sdk-ui/src/models/dashboard/translate-dashboard-utils.d.ts +1 -0
- package/dist/packages/sdk-ui/src/props.d.ts +10 -0
- package/dist/packages/sdk-ui/src/sisense-chart/sisense-chart.d.ts +1 -1
- package/dist/packages/sdk-ui/src/sisense-chart/types.d.ts +4 -0
- package/dist/packages/sdk-ui/src/widget-by-id/utils.d.ts +26 -0
- package/dist/{use-common-filters-BTk7vuUo.js → use-common-filters-B1RKY2KD.js} +745 -717
- package/dist/{use-common-filters-Bf8KKBN2.cjs → use-common-filters-CRgYdKcV.cjs} +33 -33
- package/dist/{widget-composer-CJDaEkCY.cjs → widget-composer-B2r2a9Oh.cjs} +7 -7
- package/dist/{widget-composer-BtqAxkpr.js → widget-composer-I9gUFBZt.js} +67 -66
- package/package.json +7 -7
- package/dist/dimensions-COtPNdpu.cjs +0 -1
- package/dist/dimensions-wzj4u0MX.js +0 -200
|
@@ -36,9 +36,9 @@ var Ft = (e, t, r) => new Promise((n, o) => {
|
|
|
36
36
|
}, s = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(i, a);
|
|
37
37
|
s((r = r.apply(e, t)).next());
|
|
38
38
|
});
|
|
39
|
-
import {
|
|
39
|
+
import { ca as Oy, cb as Ct, cc as D0, bN as Cr, cd as Qo, ce as Zd, aP as no, au as My, p as Jd, cf as ky, cg as Iy, ch as Ay, ci as ef, cj as Py, ck as Dy, n as Zo, T as ze, P as mt, t as P, cl as $y, cm as Ny, c4 as Ly, cn as fu, a7 as ve, U as at, R as qt, A as Fy, b9 as gi, x as dn, co as Hy, j as $0, cp as By, aZ as Jt, cq as Wy, cr as zy, cs as mi, ba as N0, F as br, bZ as pu, K as L0, b7 as xa, G as Yn, b3 as Za, c5 as Vy, ct as jy, a_ as qn, cu as Fr, cv as Uy, cw as F0, cx as vi, cy as Gy, cz as Yy, cA as qy, cB as Bo, cC as H0, cD as Ul, cE as nl, b2 as gt, cF as Wo, bf as Ja, a0 as xr, b1 as es, _ as hu, cG as Xy, cH as Ky, aI as Qy, aJ as ts, at as Gl, cI as Zy, cJ as B0, W as W0, as as Jy, o as eb, q as tb, cK as rb, aG as cr, aH as ct, cL as nb, aL as zo, cM as Yl, aq as tf, cN as z0, cO as gu, cP as ob, cQ as Mt, cR as ib, aF as Mr, cS as ab, aK as oo, aM as Er, cT as bn, cU as io, cV as ao, cW as rs, cX as ns, cY as sb, cZ as lb, c_ as sa, c$ as cb, d0 as kt, d1 as V0, d2 as ol, b0 as mu, d3 as j0, bc as fn, d4 as ub, d5 as db, d6 as fb, d7 as pb, d8 as il, d9 as U0, da as hb, db as gb, dc as mb, dd as vb, de as yb, df as bb, dg as wb, dh as G0, di as Y0, dj as Cb, dk as xb, dl as Eb, dm as Sb, dn as Tb, dp as Rb, dq as q0, dr as X0, ds as K0, dt as Q0, du as Z0, dv as _b, dw as Ob, a1 as vu, bR as Mb, dx as kb, s as Ib, a4 as J0, dy as Ab, aX as Pb, dz as Db, dA as $b, bb as eg, aQ as yu, dB as Nb, dC as Lb, bQ as Fb, dD as Hb, ai as Bb, ah as Wb, L as rf, m as ql, dE as tg, dF as zb, dG as rg, am as Vb, ag as jb, y as Ub, c as Gb, b_ as Vo, dH as Yb, h as qb, bW as Xb, b6 as Kb, dI as nf, dJ as Qb, b$ as Zb, dK as Jb, dL as e2 } from "./derive-chart-family-BPYK8evJ.js";
|
|
40
40
|
import * as N from "react";
|
|
41
|
-
import Y, { useMemo as ne, createElement as Xl, useCallback as ae, useContext as yi, useRef as
|
|
41
|
+
import Y, { useMemo as ne, createElement as Xl, useCallback as ae, useContext as yi, useRef as We, useEffect as Ae, createContext as so, Component as bu, useState as ye, isValidElement as an, Children as t2, cloneElement as la, useLayoutEffect as ng, useReducer as r2 } from "react";
|
|
42
42
|
import { jsx as J, jsxs as fr } from "react/jsx-runtime";
|
|
43
43
|
import * as n2 from "react-dom";
|
|
44
44
|
import Vt from "react-dom";
|
|
@@ -577,7 +577,7 @@ function C2(e, t) {
|
|
|
577
577
|
return Ft(this, null, function* () {
|
|
578
578
|
const r = yield x2(e, t);
|
|
579
579
|
if (!r)
|
|
580
|
-
throw new
|
|
580
|
+
throw new ze("errors.themeNotFound", {
|
|
581
581
|
themeOid: e
|
|
582
582
|
});
|
|
583
583
|
const n = b2(r), o = yield E2(n, t);
|
|
@@ -587,7 +587,7 @@ function C2(e, t) {
|
|
|
587
587
|
function x2(e, t) {
|
|
588
588
|
return Ft(this, null, function* () {
|
|
589
589
|
return t.get(`api/v1/themes/${e}`).catch(() => {
|
|
590
|
-
throw new
|
|
590
|
+
throw new ze("errors.themeNotFound", {
|
|
591
591
|
themeOid: e
|
|
592
592
|
});
|
|
593
593
|
});
|
|
@@ -597,7 +597,7 @@ function E2(e, t) {
|
|
|
597
597
|
return Ft(this, null, function* () {
|
|
598
598
|
const r = yield t.get(`api/palettes/${e}`);
|
|
599
599
|
if (r && "status" in r && r.status === "error")
|
|
600
|
-
throw new
|
|
600
|
+
throw new ze("errors.paletteNotFound", {
|
|
601
601
|
paletteName: e
|
|
602
602
|
});
|
|
603
603
|
return r;
|
|
@@ -659,14 +659,14 @@ const S2 = {
|
|
|
659
659
|
value: e,
|
|
660
660
|
children: t
|
|
661
661
|
}), _2 = (e, t) => {
|
|
662
|
-
const { tracking: r, app: n } = mt(), { trackEvent: o } = Su(), i = yi(lg), a =
|
|
662
|
+
const { tracking: r, app: n } = mt(), { trackEvent: o } = Su(), i = yi(lg), a = We(!1);
|
|
663
663
|
Ae(() => {
|
|
664
664
|
if (!r || !n)
|
|
665
665
|
return;
|
|
666
666
|
if (!a.current && !i) {
|
|
667
667
|
const l = {
|
|
668
668
|
packageName: r.packageName,
|
|
669
|
-
packageVersion: "2.
|
|
669
|
+
packageVersion: "2.6.0",
|
|
670
670
|
componentName: e,
|
|
671
671
|
attributesUsed: Object.entries(t).filter(([, c]) => !!c).map(([c]) => c).join(", ")
|
|
672
672
|
};
|
|
@@ -700,7 +700,7 @@ const jd = class jd extends bu {
|
|
|
700
700
|
try {
|
|
701
701
|
this.handler({
|
|
702
702
|
packageName: "sdk-ui",
|
|
703
|
-
packageVersion: "2.
|
|
703
|
+
packageVersion: "2.6.0",
|
|
704
704
|
component: this.componentName,
|
|
705
705
|
error: t
|
|
706
706
|
});
|
|
@@ -758,7 +758,7 @@ function P2({ color: e = "#FFCB05" }) {
|
|
|
758
758
|
})
|
|
759
759
|
});
|
|
760
760
|
}
|
|
761
|
-
const ug = ({ error: e = new
|
|
761
|
+
const ug = ({ error: e = new ze("errors.componentRenderError") }) => {
|
|
762
762
|
var p, g, m, h, v, y;
|
|
763
763
|
const { themeSettings: t } = at(), { app: r } = mt(), { t: n } = qt(), [o, i] = ye(!1), a = () => {
|
|
764
764
|
i(!0);
|
|
@@ -949,7 +949,7 @@ const lf = L2(), dg = ({ color: e }) => {
|
|
|
949
949
|
const { app: i, isInitialized: a } = mt();
|
|
950
950
|
if (!a) {
|
|
951
951
|
const s = t || "errors.noSisenseContext";
|
|
952
|
-
throw new
|
|
952
|
+
throw new ze(s);
|
|
953
953
|
}
|
|
954
954
|
return i ? /* @__PURE__ */ P(r, b({}, o)) : /* @__PURE__ */ P(Tu, {});
|
|
955
955
|
};
|
|
@@ -1257,11 +1257,11 @@ function G2() {
|
|
|
1257
1257
|
}
|
|
1258
1258
|
}
|
|
1259
1259
|
}
|
|
1260
|
-
var C = l, T = c,
|
|
1260
|
+
var C = l, T = c, O = s, _ = a, I = t, L = d, z = n, S = m, M = g, H = r, F = i, $ = o, k = f, B = !1;
|
|
1261
1261
|
function G(W) {
|
|
1262
|
-
return B || (B = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),
|
|
1262
|
+
return B || (B = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), A(W) || w(W) === l;
|
|
1263
1263
|
}
|
|
1264
|
-
function
|
|
1264
|
+
function A(W) {
|
|
1265
1265
|
return w(W) === c;
|
|
1266
1266
|
}
|
|
1267
1267
|
function V(W) {
|
|
@@ -1297,7 +1297,7 @@ function G2() {
|
|
|
1297
1297
|
function Ce(W) {
|
|
1298
1298
|
return w(W) === f;
|
|
1299
1299
|
}
|
|
1300
|
-
Ee.AsyncMode = C, Ee.ConcurrentMode = T, Ee.ContextConsumer =
|
|
1300
|
+
Ee.AsyncMode = C, Ee.ConcurrentMode = T, Ee.ContextConsumer = O, Ee.ContextProvider = _, Ee.Element = I, Ee.ForwardRef = L, Ee.Fragment = z, Ee.Lazy = S, Ee.Memo = M, Ee.Portal = H, Ee.Profiler = F, Ee.StrictMode = $, Ee.Suspense = k, Ee.isAsyncMode = G, Ee.isConcurrentMode = A, Ee.isContextConsumer = V, Ee.isContextProvider = K, Ee.isElement = q, Ee.isForwardRef = X, Ee.isFragment = Z, Ee.isLazy = ee, Ee.isMemo = ie, Ee.isPortal = oe, Ee.isProfiler = fe, Ee.isStrictMode = se, Ee.isSuspense = Ce, Ee.isValidElementType = x, Ee.typeOf = w;
|
|
1301
1301
|
}()), Ee;
|
|
1302
1302
|
}
|
|
1303
1303
|
var pf;
|
|
@@ -1438,8 +1438,8 @@ function X2() {
|
|
|
1438
1438
|
}
|
|
1439
1439
|
return dl = function(s, l) {
|
|
1440
1440
|
var c = typeof Symbol == "function" && Symbol.iterator, d = "@@iterator";
|
|
1441
|
-
function f(
|
|
1442
|
-
var V =
|
|
1441
|
+
function f(A) {
|
|
1442
|
+
var V = A && (c && A[c] || A[d]);
|
|
1443
1443
|
if (typeof V == "function")
|
|
1444
1444
|
return V;
|
|
1445
1445
|
}
|
|
@@ -1458,20 +1458,20 @@ function X2() {
|
|
|
1458
1458
|
elementType: C(),
|
|
1459
1459
|
instanceOf: T,
|
|
1460
1460
|
node: L(),
|
|
1461
|
-
objectOf:
|
|
1462
|
-
oneOf:
|
|
1463
|
-
oneOfType:
|
|
1461
|
+
objectOf: _,
|
|
1462
|
+
oneOf: O,
|
|
1463
|
+
oneOfType: I,
|
|
1464
1464
|
shape: S,
|
|
1465
1465
|
exact: M
|
|
1466
1466
|
};
|
|
1467
|
-
function m(
|
|
1468
|
-
return
|
|
1467
|
+
function m(A, V) {
|
|
1468
|
+
return A === V ? A !== 0 || 1 / A === 1 / V : A !== A && V !== V;
|
|
1469
1469
|
}
|
|
1470
|
-
function h(
|
|
1471
|
-
this.message =
|
|
1470
|
+
function h(A, V) {
|
|
1471
|
+
this.message = A, this.data = V && typeof V == "object" ? V : {}, this.stack = "";
|
|
1472
1472
|
}
|
|
1473
1473
|
h.prototype = Error.prototype;
|
|
1474
|
-
function v(
|
|
1474
|
+
function v(A) {
|
|
1475
1475
|
if (process.env.NODE_ENV !== "production")
|
|
1476
1476
|
var V = {}, K = 0;
|
|
1477
1477
|
function q(Z, ee, ie, oe, fe, se, Ce) {
|
|
@@ -1489,19 +1489,19 @@ function X2() {
|
|
|
1489
1489
|
), V[re] = !0, K++);
|
|
1490
1490
|
}
|
|
1491
1491
|
}
|
|
1492
|
-
return ee[ie] == null ? Z ? ee[ie] === null ? new h("The " + fe + " `" + se + "` is marked as required " + ("in `" + oe + "`, but its value is `null`.")) : new h("The " + fe + " `" + se + "` is marked as required in " + ("`" + oe + "`, but its value is `undefined`.")) : null :
|
|
1492
|
+
return ee[ie] == null ? Z ? ee[ie] === null ? new h("The " + fe + " `" + se + "` is marked as required " + ("in `" + oe + "`, but its value is `null`.")) : new h("The " + fe + " `" + se + "` is marked as required in " + ("`" + oe + "`, but its value is `undefined`.")) : null : A(ee, ie, oe, fe, se);
|
|
1493
1493
|
}
|
|
1494
1494
|
var X = q.bind(null, !1);
|
|
1495
1495
|
return X.isRequired = q.bind(null, !0), X;
|
|
1496
1496
|
}
|
|
1497
|
-
function y(
|
|
1497
|
+
function y(A) {
|
|
1498
1498
|
function V(K, q, X, Z, ee, ie) {
|
|
1499
1499
|
var oe = K[q], fe = $(oe);
|
|
1500
|
-
if (fe !==
|
|
1500
|
+
if (fe !== A) {
|
|
1501
1501
|
var se = k(oe);
|
|
1502
1502
|
return new h(
|
|
1503
|
-
"Invalid " + Z + " `" + ee + "` of type " + ("`" + se + "` supplied to `" + X + "`, expected ") + ("`" +
|
|
1504
|
-
{ expectedType:
|
|
1503
|
+
"Invalid " + Z + " `" + ee + "` of type " + ("`" + se + "` supplied to `" + X + "`, expected ") + ("`" + A + "`."),
|
|
1504
|
+
{ expectedType: A }
|
|
1505
1505
|
);
|
|
1506
1506
|
}
|
|
1507
1507
|
return null;
|
|
@@ -1511,9 +1511,9 @@ function X2() {
|
|
|
1511
1511
|
function E() {
|
|
1512
1512
|
return v(a);
|
|
1513
1513
|
}
|
|
1514
|
-
function x(
|
|
1514
|
+
function x(A) {
|
|
1515
1515
|
function V(K, q, X, Z, ee) {
|
|
1516
|
-
if (typeof
|
|
1516
|
+
if (typeof A != "function")
|
|
1517
1517
|
return new h("Property `" + ee + "` of component `" + X + "` has invalid PropType notation inside arrayOf.");
|
|
1518
1518
|
var ie = K[q];
|
|
1519
1519
|
if (!Array.isArray(ie)) {
|
|
@@ -1521,7 +1521,7 @@ function X2() {
|
|
|
1521
1521
|
return new h("Invalid " + Z + " `" + ee + "` of type " + ("`" + oe + "` supplied to `" + X + "`, expected an array."));
|
|
1522
1522
|
}
|
|
1523
1523
|
for (var fe = 0; fe < ie.length; fe++) {
|
|
1524
|
-
var se =
|
|
1524
|
+
var se = A(ie, fe, X, Z, ee + "[" + fe + "]", r);
|
|
1525
1525
|
if (se instanceof Error)
|
|
1526
1526
|
return se;
|
|
1527
1527
|
}
|
|
@@ -1530,7 +1530,7 @@ function X2() {
|
|
|
1530
1530
|
return v(V);
|
|
1531
1531
|
}
|
|
1532
1532
|
function w() {
|
|
1533
|
-
function
|
|
1533
|
+
function A(V, K, q, X, Z) {
|
|
1534
1534
|
var ee = V[K];
|
|
1535
1535
|
if (!s(ee)) {
|
|
1536
1536
|
var ie = $(ee);
|
|
@@ -1538,10 +1538,10 @@ function X2() {
|
|
|
1538
1538
|
}
|
|
1539
1539
|
return null;
|
|
1540
1540
|
}
|
|
1541
|
-
return v(
|
|
1541
|
+
return v(A);
|
|
1542
1542
|
}
|
|
1543
1543
|
function C() {
|
|
1544
|
-
function
|
|
1544
|
+
function A(V, K, q, X, Z) {
|
|
1545
1545
|
var ee = V[K];
|
|
1546
1546
|
if (!e.isValidElementType(ee)) {
|
|
1547
1547
|
var ie = $(ee);
|
|
@@ -1549,28 +1549,28 @@ function X2() {
|
|
|
1549
1549
|
}
|
|
1550
1550
|
return null;
|
|
1551
1551
|
}
|
|
1552
|
-
return v(
|
|
1552
|
+
return v(A);
|
|
1553
1553
|
}
|
|
1554
|
-
function T(
|
|
1554
|
+
function T(A) {
|
|
1555
1555
|
function V(K, q, X, Z, ee) {
|
|
1556
|
-
if (!(K[q] instanceof
|
|
1557
|
-
var ie =
|
|
1556
|
+
if (!(K[q] instanceof A)) {
|
|
1557
|
+
var ie = A.name || p, oe = G(K[q]);
|
|
1558
1558
|
return new h("Invalid " + Z + " `" + ee + "` of type " + ("`" + oe + "` supplied to `" + X + "`, expected ") + ("instance of `" + ie + "`."));
|
|
1559
1559
|
}
|
|
1560
1560
|
return null;
|
|
1561
1561
|
}
|
|
1562
1562
|
return v(V);
|
|
1563
1563
|
}
|
|
1564
|
-
function
|
|
1565
|
-
if (!Array.isArray(
|
|
1564
|
+
function O(A) {
|
|
1565
|
+
if (!Array.isArray(A))
|
|
1566
1566
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
1567
1567
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
1568
1568
|
) : i("Invalid argument supplied to oneOf, expected an array.")), a;
|
|
1569
1569
|
function V(K, q, X, Z, ee) {
|
|
1570
|
-
for (var ie = K[q], oe = 0; oe <
|
|
1571
|
-
if (m(ie,
|
|
1570
|
+
for (var ie = K[q], oe = 0; oe < A.length; oe++)
|
|
1571
|
+
if (m(ie, A[oe]))
|
|
1572
1572
|
return null;
|
|
1573
|
-
var fe = JSON.stringify(
|
|
1573
|
+
var fe = JSON.stringify(A, function(Ce, W) {
|
|
1574
1574
|
var re = k(W);
|
|
1575
1575
|
return re === "symbol" ? String(W) : W;
|
|
1576
1576
|
});
|
|
@@ -1578,16 +1578,16 @@ function X2() {
|
|
|
1578
1578
|
}
|
|
1579
1579
|
return v(V);
|
|
1580
1580
|
}
|
|
1581
|
-
function
|
|
1581
|
+
function _(A) {
|
|
1582
1582
|
function V(K, q, X, Z, ee) {
|
|
1583
|
-
if (typeof
|
|
1583
|
+
if (typeof A != "function")
|
|
1584
1584
|
return new h("Property `" + ee + "` of component `" + X + "` has invalid PropType notation inside objectOf.");
|
|
1585
1585
|
var ie = K[q], oe = $(ie);
|
|
1586
1586
|
if (oe !== "object")
|
|
1587
1587
|
return new h("Invalid " + Z + " `" + ee + "` of type " + ("`" + oe + "` supplied to `" + X + "`, expected an object."));
|
|
1588
1588
|
for (var fe in ie)
|
|
1589
1589
|
if (n(ie, fe)) {
|
|
1590
|
-
var se =
|
|
1590
|
+
var se = A(ie, fe, X, Z, ee + "." + fe, r);
|
|
1591
1591
|
if (se instanceof Error)
|
|
1592
1592
|
return se;
|
|
1593
1593
|
}
|
|
@@ -1595,19 +1595,19 @@ function X2() {
|
|
|
1595
1595
|
}
|
|
1596
1596
|
return v(V);
|
|
1597
1597
|
}
|
|
1598
|
-
function A
|
|
1599
|
-
if (!Array.isArray(
|
|
1598
|
+
function I(A) {
|
|
1599
|
+
if (!Array.isArray(A))
|
|
1600
1600
|
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), a;
|
|
1601
|
-
for (var V = 0; V <
|
|
1602
|
-
var K =
|
|
1601
|
+
for (var V = 0; V < A.length; V++) {
|
|
1602
|
+
var K = A[V];
|
|
1603
1603
|
if (typeof K != "function")
|
|
1604
1604
|
return i(
|
|
1605
1605
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + B(K) + " at index " + V + "."
|
|
1606
1606
|
), a;
|
|
1607
1607
|
}
|
|
1608
1608
|
function q(X, Z, ee, ie, oe) {
|
|
1609
|
-
for (var fe = [], se = 0; se <
|
|
1610
|
-
var Ce =
|
|
1609
|
+
for (var fe = [], se = 0; se < A.length; se++) {
|
|
1610
|
+
var Ce = A[se], W = Ce(X, Z, ee, ie, oe, r);
|
|
1611
1611
|
if (W == null)
|
|
1612
1612
|
return null;
|
|
1613
1613
|
W.data && n(W.data, "expectedType") && fe.push(W.data.expectedType);
|
|
@@ -1618,23 +1618,23 @@ function X2() {
|
|
|
1618
1618
|
return v(q);
|
|
1619
1619
|
}
|
|
1620
1620
|
function L() {
|
|
1621
|
-
function
|
|
1621
|
+
function A(V, K, q, X, Z) {
|
|
1622
1622
|
return H(V[K]) ? null : new h("Invalid " + X + " `" + Z + "` supplied to " + ("`" + q + "`, expected a ReactNode."));
|
|
1623
1623
|
}
|
|
1624
|
-
return v(
|
|
1624
|
+
return v(A);
|
|
1625
1625
|
}
|
|
1626
|
-
function z(
|
|
1626
|
+
function z(A, V, K, q, X) {
|
|
1627
1627
|
return new h(
|
|
1628
|
-
(
|
|
1628
|
+
(A || "React class") + ": " + V + " type `" + K + "." + q + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + X + "`."
|
|
1629
1629
|
);
|
|
1630
1630
|
}
|
|
1631
|
-
function S(
|
|
1631
|
+
function S(A) {
|
|
1632
1632
|
function V(K, q, X, Z, ee) {
|
|
1633
1633
|
var ie = K[q], oe = $(ie);
|
|
1634
1634
|
if (oe !== "object")
|
|
1635
1635
|
return new h("Invalid " + Z + " `" + ee + "` of type `" + oe + "` " + ("supplied to `" + X + "`, expected `object`."));
|
|
1636
|
-
for (var fe in
|
|
1637
|
-
var se =
|
|
1636
|
+
for (var fe in A) {
|
|
1637
|
+
var se = A[fe];
|
|
1638
1638
|
if (typeof se != "function")
|
|
1639
1639
|
return z(X, Z, ee, fe, k(se));
|
|
1640
1640
|
var Ce = se(ie, fe, X, Z, ee + "." + fe, r);
|
|
@@ -1645,20 +1645,20 @@ function X2() {
|
|
|
1645
1645
|
}
|
|
1646
1646
|
return v(V);
|
|
1647
1647
|
}
|
|
1648
|
-
function M(
|
|
1648
|
+
function M(A) {
|
|
1649
1649
|
function V(K, q, X, Z, ee) {
|
|
1650
1650
|
var ie = K[q], oe = $(ie);
|
|
1651
1651
|
if (oe !== "object")
|
|
1652
1652
|
return new h("Invalid " + Z + " `" + ee + "` of type `" + oe + "` " + ("supplied to `" + X + "`, expected `object`."));
|
|
1653
|
-
var fe = t({}, K[q],
|
|
1653
|
+
var fe = t({}, K[q], A);
|
|
1654
1654
|
for (var se in fe) {
|
|
1655
|
-
var Ce =
|
|
1656
|
-
if (n(
|
|
1655
|
+
var Ce = A[se];
|
|
1656
|
+
if (n(A, se) && typeof Ce != "function")
|
|
1657
1657
|
return z(X, Z, ee, se, k(Ce));
|
|
1658
1658
|
if (!Ce)
|
|
1659
1659
|
return new h(
|
|
1660
1660
|
"Invalid " + Z + " `" + ee + "` key `" + se + "` supplied to `" + X + "`.\nBad object: " + JSON.stringify(K[q], null, " ") + `
|
|
1661
|
-
Valid keys: ` + JSON.stringify(Object.keys(
|
|
1661
|
+
Valid keys: ` + JSON.stringify(Object.keys(A), null, " ")
|
|
1662
1662
|
);
|
|
1663
1663
|
var W = Ce(ie, se, X, Z, ee + "." + se, r);
|
|
1664
1664
|
if (W)
|
|
@@ -1668,23 +1668,23 @@ Valid keys: ` + JSON.stringify(Object.keys(I), null, " ")
|
|
|
1668
1668
|
}
|
|
1669
1669
|
return v(V);
|
|
1670
1670
|
}
|
|
1671
|
-
function H(
|
|
1672
|
-
switch (typeof
|
|
1671
|
+
function H(A) {
|
|
1672
|
+
switch (typeof A) {
|
|
1673
1673
|
case "number":
|
|
1674
1674
|
case "string":
|
|
1675
1675
|
case "undefined":
|
|
1676
1676
|
return !0;
|
|
1677
1677
|
case "boolean":
|
|
1678
|
-
return !
|
|
1678
|
+
return !A;
|
|
1679
1679
|
case "object":
|
|
1680
|
-
if (Array.isArray(
|
|
1681
|
-
return
|
|
1682
|
-
if (
|
|
1680
|
+
if (Array.isArray(A))
|
|
1681
|
+
return A.every(H);
|
|
1682
|
+
if (A === null || s(A))
|
|
1683
1683
|
return !0;
|
|
1684
|
-
var V = f(
|
|
1684
|
+
var V = f(A);
|
|
1685
1685
|
if (V) {
|
|
1686
|
-
var K = V.call(
|
|
1687
|
-
if (V !==
|
|
1686
|
+
var K = V.call(A), q;
|
|
1687
|
+
if (V !== A.entries) {
|
|
1688
1688
|
for (; !(q = K.next()).done; )
|
|
1689
1689
|
if (!H(q.value))
|
|
1690
1690
|
return !1;
|
|
@@ -1701,27 +1701,27 @@ Valid keys: ` + JSON.stringify(Object.keys(I), null, " ")
|
|
|
1701
1701
|
return !1;
|
|
1702
1702
|
}
|
|
1703
1703
|
}
|
|
1704
|
-
function F(
|
|
1705
|
-
return
|
|
1704
|
+
function F(A, V) {
|
|
1705
|
+
return A === "symbol" ? !0 : V ? V["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && V instanceof Symbol : !1;
|
|
1706
1706
|
}
|
|
1707
|
-
function $(
|
|
1708
|
-
var V = typeof
|
|
1709
|
-
return Array.isArray(
|
|
1707
|
+
function $(A) {
|
|
1708
|
+
var V = typeof A;
|
|
1709
|
+
return Array.isArray(A) ? "array" : A instanceof RegExp ? "object" : F(V, A) ? "symbol" : V;
|
|
1710
1710
|
}
|
|
1711
|
-
function k(
|
|
1712
|
-
if (typeof
|
|
1713
|
-
return "" +
|
|
1714
|
-
var V = $(
|
|
1711
|
+
function k(A) {
|
|
1712
|
+
if (typeof A == "undefined" || A === null)
|
|
1713
|
+
return "" + A;
|
|
1714
|
+
var V = $(A);
|
|
1715
1715
|
if (V === "object") {
|
|
1716
|
-
if (
|
|
1716
|
+
if (A instanceof Date)
|
|
1717
1717
|
return "date";
|
|
1718
|
-
if (
|
|
1718
|
+
if (A instanceof RegExp)
|
|
1719
1719
|
return "regexp";
|
|
1720
1720
|
}
|
|
1721
1721
|
return V;
|
|
1722
1722
|
}
|
|
1723
|
-
function B(
|
|
1724
|
-
var V = k(
|
|
1723
|
+
function B(A) {
|
|
1724
|
+
var V = k(A);
|
|
1725
1725
|
switch (V) {
|
|
1726
1726
|
case "array":
|
|
1727
1727
|
case "object":
|
|
@@ -1734,8 +1734,8 @@ Valid keys: ` + JSON.stringify(Object.keys(I), null, " ")
|
|
|
1734
1734
|
return V;
|
|
1735
1735
|
}
|
|
1736
1736
|
}
|
|
1737
|
-
function G(
|
|
1738
|
-
return !
|
|
1737
|
+
function G(A) {
|
|
1738
|
+
return !A.constructor || !A.constructor.name ? p : A.constructor.name;
|
|
1739
1739
|
}
|
|
1740
1740
|
return g.checkPropTypes = o, g.resetWarningCache = o.resetWarningCache, g.PropTypes = g, g;
|
|
1741
1741
|
}, dl;
|
|
@@ -3200,7 +3200,7 @@ function g3(e = {}) {
|
|
|
3200
3200
|
h3(s, t, r);
|
|
3201
3201
|
}
|
|
3202
3202
|
return (s, l = {}) => {
|
|
3203
|
-
Jw(s, (T) => T.filter((
|
|
3203
|
+
Jw(s, (T) => T.filter((O) => O !== Xn));
|
|
3204
3204
|
const C = l, {
|
|
3205
3205
|
name: c,
|
|
3206
3206
|
slot: d,
|
|
@@ -3229,19 +3229,19 @@ function g3(e = {}) {
|
|
|
3229
3229
|
if (T.__emotion_real === T)
|
|
3230
3230
|
return T;
|
|
3231
3231
|
if (typeof T == "function")
|
|
3232
|
-
return function(
|
|
3233
|
-
return da(
|
|
3232
|
+
return function(_) {
|
|
3233
|
+
return da(_, T);
|
|
3234
3234
|
};
|
|
3235
3235
|
if (ir(T)) {
|
|
3236
|
-
const
|
|
3237
|
-
return
|
|
3238
|
-
return da(
|
|
3239
|
-
} :
|
|
3236
|
+
const O = Tg(T);
|
|
3237
|
+
return O.variants ? function(I) {
|
|
3238
|
+
return da(I, O);
|
|
3239
|
+
} : O.style;
|
|
3240
3240
|
}
|
|
3241
3241
|
return T;
|
|
3242
3242
|
}, w = (...T) => {
|
|
3243
|
-
const
|
|
3244
|
-
if (
|
|
3243
|
+
const O = [], _ = T.map(x), I = [];
|
|
3244
|
+
if (O.push(i), c && g && I.push(function(M) {
|
|
3245
3245
|
var k, B;
|
|
3246
3246
|
const F = (B = (k = M.theme.components) == null ? void 0 : k[c]) == null ? void 0 : B.styleOverrides;
|
|
3247
3247
|
if (!F)
|
|
@@ -3250,16 +3250,16 @@ function g3(e = {}) {
|
|
|
3250
3250
|
for (const G in F)
|
|
3251
3251
|
$[G] = da(M, F[G]);
|
|
3252
3252
|
return g(M, $);
|
|
3253
|
-
}), c && !h &&
|
|
3253
|
+
}), c && !h && I.push(function(M) {
|
|
3254
3254
|
var $, k;
|
|
3255
3255
|
const H = M.theme, F = (k = ($ = H == null ? void 0 : H.components) == null ? void 0 : $[c]) == null ? void 0 : k.variants;
|
|
3256
3256
|
return F ? Rg(M, F) : null;
|
|
3257
|
-
}), v ||
|
|
3258
|
-
const S =
|
|
3257
|
+
}), v || I.push(Xn), Array.isArray(_[0])) {
|
|
3258
|
+
const S = _.shift(), M = new Array(O.length).fill(""), H = new Array(I.length).fill("");
|
|
3259
3259
|
let F;
|
|
3260
|
-
F = [...M, ...S, ...H], F.raw = [...M, ...S.raw, ...H],
|
|
3260
|
+
F = [...M, ...S, ...H], F.raw = [...M, ...S.raw, ...H], O.unshift(F);
|
|
3261
3261
|
}
|
|
3262
|
-
const L = [...
|
|
3262
|
+
const L = [...O, ..._, ...I], z = E(...L);
|
|
3263
3263
|
return s.muiName && (z.muiName = s.muiName), process.env.NODE_ENV !== "production" && (z.displayName = m3(c, d, s)), z;
|
|
3264
3264
|
};
|
|
3265
3265
|
return E.withConfig && (w.withConfig = E.withConfig), w;
|
|
@@ -3752,37 +3752,37 @@ function B3(e, t = {}) {
|
|
|
3752
3752
|
]);
|
|
3753
3753
|
if (Object.entries(h || {}).forEach(([C, T]) => {
|
|
3754
3754
|
const {
|
|
3755
|
-
vars:
|
|
3756
|
-
css:
|
|
3757
|
-
varsWithDefaults:
|
|
3755
|
+
vars: O,
|
|
3756
|
+
css: _,
|
|
3757
|
+
varsWithDefaults: I
|
|
3758
3758
|
} = hl(T, t);
|
|
3759
|
-
p = St(p,
|
|
3760
|
-
css:
|
|
3761
|
-
vars:
|
|
3759
|
+
p = St(p, I), g[C] = {
|
|
3760
|
+
css: _,
|
|
3761
|
+
vars: O
|
|
3762
3762
|
};
|
|
3763
3763
|
}), m) {
|
|
3764
3764
|
const {
|
|
3765
3765
|
css: C,
|
|
3766
3766
|
vars: T,
|
|
3767
|
-
varsWithDefaults:
|
|
3767
|
+
varsWithDefaults: O
|
|
3768
3768
|
} = hl(m, t);
|
|
3769
|
-
p = St(p,
|
|
3769
|
+
p = St(p, O), g[s] = {
|
|
3770
3770
|
css: C,
|
|
3771
3771
|
vars: T
|
|
3772
3772
|
};
|
|
3773
3773
|
}
|
|
3774
3774
|
function v(C, T) {
|
|
3775
|
-
var
|
|
3776
|
-
let
|
|
3777
|
-
if (o === "class" && (
|
|
3778
|
-
if (
|
|
3775
|
+
var _, I;
|
|
3776
|
+
let O = o;
|
|
3777
|
+
if (o === "class" && (O = ".%s"), o === "data" && (O = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (O = `[${o}="%s"]`), C) {
|
|
3778
|
+
if (O === "media")
|
|
3779
3779
|
return e.defaultColorScheme === C ? ":root" : {
|
|
3780
|
-
[`@media (prefers-color-scheme: ${((
|
|
3780
|
+
[`@media (prefers-color-scheme: ${((I = (_ = i[C]) == null ? void 0 : _.palette) == null ? void 0 : I.mode) || C})`]: {
|
|
3781
3781
|
":root": T
|
|
3782
3782
|
}
|
|
3783
3783
|
};
|
|
3784
|
-
if (
|
|
3785
|
-
return e.defaultColorScheme === C ? `:root, ${
|
|
3784
|
+
if (O)
|
|
3785
|
+
return e.defaultColorScheme === C ? `:root, ${O.replace("%s", String(C))}` : O.replace("%s", String(C));
|
|
3786
3786
|
}
|
|
3787
3787
|
return ":root";
|
|
3788
3788
|
}
|
|
@@ -3799,33 +3799,33 @@ function B3(e, t = {}) {
|
|
|
3799
3799
|
generateStyleSheets: () => {
|
|
3800
3800
|
var z, S;
|
|
3801
3801
|
const C = [], T = e.defaultColorScheme || "light";
|
|
3802
|
-
function
|
|
3802
|
+
function O(M, H) {
|
|
3803
3803
|
Object.keys(H).length && C.push(typeof M == "string" ? {
|
|
3804
3804
|
[M]: b({}, H)
|
|
3805
3805
|
} : M);
|
|
3806
3806
|
}
|
|
3807
|
-
|
|
3807
|
+
O(r(void 0, b({}, d)), d);
|
|
3808
3808
|
const L = g, {
|
|
3809
|
-
[T]:
|
|
3810
|
-
} = L,
|
|
3809
|
+
[T]: _
|
|
3810
|
+
} = L, I = te(L, [
|
|
3811
3811
|
Fi(T)
|
|
3812
3812
|
]);
|
|
3813
|
-
if (
|
|
3813
|
+
if (_) {
|
|
3814
3814
|
const {
|
|
3815
3815
|
css: M
|
|
3816
|
-
} =
|
|
3816
|
+
} = _, H = (S = (z = i[T]) == null ? void 0 : z.palette) == null ? void 0 : S.mode, F = b(!n && H ? {
|
|
3817
3817
|
colorScheme: H
|
|
3818
3818
|
} : {}, M);
|
|
3819
|
-
|
|
3819
|
+
O(r(T, b({}, F)), F);
|
|
3820
3820
|
}
|
|
3821
|
-
return Object.entries(
|
|
3821
|
+
return Object.entries(I).forEach(([M, {
|
|
3822
3822
|
css: H
|
|
3823
3823
|
}]) => {
|
|
3824
3824
|
var k, B;
|
|
3825
3825
|
const F = (B = (k = i[M]) == null ? void 0 : k.palette) == null ? void 0 : B.mode, $ = b(!n && F ? {
|
|
3826
3826
|
colorScheme: F
|
|
3827
3827
|
} : {}, H);
|
|
3828
|
-
|
|
3828
|
+
O(r(M, b({}, $)), $);
|
|
3829
3829
|
}), C;
|
|
3830
3830
|
}
|
|
3831
3831
|
};
|
|
@@ -4575,7 +4575,7 @@ function gl(e, t, r, n) {
|
|
|
4575
4575
|
}), a;
|
|
4576
4576
|
}
|
|
4577
4577
|
function yC(e = {}, ...t) {
|
|
4578
|
-
const
|
|
4578
|
+
const I = e, {
|
|
4579
4579
|
colorSchemes: r = {
|
|
4580
4580
|
light: !0
|
|
4581
4581
|
},
|
|
@@ -4585,7 +4585,7 @@ function yC(e = {}, ...t) {
|
|
|
4585
4585
|
shouldSkipGeneratingVar: a = fC,
|
|
4586
4586
|
colorSchemeSelector: s = r.light && r.dark ? "media" : void 0,
|
|
4587
4587
|
rootSelector: l = ":root"
|
|
4588
|
-
} =
|
|
4588
|
+
} = I, c = te(I, [
|
|
4589
4589
|
"colorSchemes",
|
|
4590
4590
|
"defaultColorScheme",
|
|
4591
4591
|
"disableCssColorScheme",
|
|
@@ -4645,12 +4645,12 @@ function yC(e = {}, ...t) {
|
|
|
4645
4645
|
getSelector: hC(w)
|
|
4646
4646
|
}, {
|
|
4647
4647
|
vars: T,
|
|
4648
|
-
generateThemeVars:
|
|
4649
|
-
generateStyleSheets:
|
|
4648
|
+
generateThemeVars: O,
|
|
4649
|
+
generateStyleSheets: _
|
|
4650
4650
|
} = B3(w, C);
|
|
4651
4651
|
return w.vars = T, Object.entries(w.colorSchemes[w.defaultColorScheme]).forEach(([z, S]) => {
|
|
4652
4652
|
w[z] = S;
|
|
4653
|
-
}), w.generateThemeVars =
|
|
4653
|
+
}), w.generateThemeVars = O, w.generateStyleSheets = _, w.generateSpacing = function() {
|
|
4654
4654
|
return Eg(c.spacing, ku(this));
|
|
4655
4655
|
}, w.getColorSchemeSelector = W3(s), w.spacing = w.generateSpacing(), w.shouldSkipGeneratingVar = a, w.unstable_sxConfig = b(b({}, Ci), c == null ? void 0 : c.unstable_sxConfig), w.unstable_sx = function(S) {
|
|
4656
4656
|
return Xn({
|
|
@@ -5188,8 +5188,8 @@ const Gg = /* @__PURE__ */ N.forwardRef(function(t, r) {
|
|
|
5188
5188
|
}) => {
|
|
5189
5189
|
const T = !g.current.style.width;
|
|
5190
5190
|
if (w.clientHeight < g.current.clientHeight && T) {
|
|
5191
|
-
const
|
|
5192
|
-
g.current.style[C === "rtl" ? "paddingLeft" : "paddingRight"] =
|
|
5191
|
+
const O = `${Dg(hn(w))}px`;
|
|
5192
|
+
g.current.style[C === "rtl" ? "paddingLeft" : "paddingRight"] = O, g.current.style.width = `calc(100% + ${O})`;
|
|
5193
5193
|
}
|
|
5194
5194
|
return g.current;
|
|
5195
5195
|
}
|
|
@@ -5200,20 +5200,20 @@ const Gg = /* @__PURE__ */ N.forwardRef(function(t, r) {
|
|
|
5200
5200
|
d && d(w);
|
|
5201
5201
|
return;
|
|
5202
5202
|
}
|
|
5203
|
-
const
|
|
5203
|
+
const _ = Ut(C).activeElement;
|
|
5204
5204
|
if (T === "ArrowDown")
|
|
5205
|
-
w.preventDefault(), Eo(C,
|
|
5205
|
+
w.preventDefault(), Eo(C, _, c, l, ml);
|
|
5206
5206
|
else if (T === "ArrowUp")
|
|
5207
|
-
w.preventDefault(), Eo(C,
|
|
5207
|
+
w.preventDefault(), Eo(C, _, c, l, Vf);
|
|
5208
5208
|
else if (T === "Home")
|
|
5209
5209
|
w.preventDefault(), Eo(C, null, c, l, ml);
|
|
5210
5210
|
else if (T === "End")
|
|
5211
5211
|
w.preventDefault(), Eo(C, null, c, l, Vf);
|
|
5212
5212
|
else if (T.length === 1) {
|
|
5213
|
-
const
|
|
5214
|
-
|
|
5215
|
-
const S =
|
|
5216
|
-
|
|
5213
|
+
const I = m.current, L = T.toLowerCase(), z = performance.now();
|
|
5214
|
+
I.keys.length > 0 && (z - I.lastTime > 500 ? (I.keys = [], I.repeating = !0, I.previousKeyMatched = !0) : I.repeating && L !== I.keys[0] && (I.repeating = !1)), I.lastTime = z, I.keys.push(L);
|
|
5215
|
+
const S = _ && !I.repeating && Ug(_, I);
|
|
5216
|
+
I.previousKeyMatched && (S || Eo(C, _, !1, l, ml, I)) ? w.preventDefault() : I.previousKeyMatched = !1;
|
|
5217
5217
|
}
|
|
5218
5218
|
d && d(w);
|
|
5219
5219
|
}, v = _t(g, r);
|
|
@@ -5868,16 +5868,16 @@ const NC = {
|
|
|
5868
5868
|
"timeout",
|
|
5869
5869
|
// eslint-disable-next-line react/prop-types
|
|
5870
5870
|
"TransitionComponent"
|
|
5871
|
-
]), E = Hn(), x = N.useRef(), w = ys(), C = N.useRef(null), T = _t(C, xi(i), r),
|
|
5871
|
+
]), E = Hn(), x = N.useRef(), w = ys(), C = N.useRef(null), T = _t(C, xi(i), r), O = ($) => (k) => {
|
|
5872
5872
|
if ($) {
|
|
5873
5873
|
const B = C.current;
|
|
5874
5874
|
k === void 0 ? $(B) : $(B, k);
|
|
5875
5875
|
}
|
|
5876
|
-
},
|
|
5876
|
+
}, _ = O(d), I = O(($, k) => {
|
|
5877
5877
|
const {
|
|
5878
5878
|
duration: B,
|
|
5879
5879
|
delay: G,
|
|
5880
|
-
easing:
|
|
5880
|
+
easing: A
|
|
5881
5881
|
} = Aa({
|
|
5882
5882
|
style: m,
|
|
5883
5883
|
timeout: h,
|
|
@@ -5892,9 +5892,9 @@ const NC = {
|
|
|
5892
5892
|
}), w.transitions.create("transform", {
|
|
5893
5893
|
duration: vl ? V : V * 0.666,
|
|
5894
5894
|
delay: G,
|
|
5895
|
-
easing:
|
|
5895
|
+
easing: A
|
|
5896
5896
|
})].join(","), l && l($, k);
|
|
5897
|
-
}), L =
|
|
5897
|
+
}), L = O(c), z = O(g), S = O(($) => {
|
|
5898
5898
|
const {
|
|
5899
5899
|
duration: k,
|
|
5900
5900
|
delay: B,
|
|
@@ -5906,23 +5906,23 @@ const NC = {
|
|
|
5906
5906
|
}, {
|
|
5907
5907
|
mode: "exit"
|
|
5908
5908
|
});
|
|
5909
|
-
let
|
|
5910
|
-
h === "auto" ? (
|
|
5911
|
-
duration:
|
|
5909
|
+
let A;
|
|
5910
|
+
h === "auto" ? (A = w.transitions.getAutoHeightDuration($.clientHeight), x.current = A) : A = k, $.style.transition = [w.transitions.create("opacity", {
|
|
5911
|
+
duration: A,
|
|
5912
5912
|
delay: B
|
|
5913
5913
|
}), w.transitions.create("transform", {
|
|
5914
|
-
duration: vl ?
|
|
5915
|
-
delay: vl ? B : B ||
|
|
5914
|
+
duration: vl ? A : A * 0.666,
|
|
5915
|
+
delay: vl ? B : B || A * 0.333,
|
|
5916
5916
|
easing: G
|
|
5917
5917
|
})].join(","), $.style.opacity = 0, $.style.transform = lc(0.75), f && f($);
|
|
5918
|
-
}), M =
|
|
5918
|
+
}), M = O(p);
|
|
5919
5919
|
return /* @__PURE__ */ J(v, D(b({
|
|
5920
5920
|
appear: o,
|
|
5921
5921
|
in: s,
|
|
5922
5922
|
nodeRef: C,
|
|
5923
|
-
onEnter:
|
|
5923
|
+
onEnter: I,
|
|
5924
5924
|
onEntered: L,
|
|
5925
|
-
onEntering:
|
|
5925
|
+
onEntering: _,
|
|
5926
5926
|
onExit: S,
|
|
5927
5927
|
onExited: M,
|
|
5928
5928
|
onExiting: z,
|
|
@@ -5932,9 +5932,9 @@ const NC = {
|
|
|
5932
5932
|
timeout: h === "auto" ? null : h
|
|
5933
5933
|
}, y), {
|
|
5934
5934
|
children: ($, G) => {
|
|
5935
|
-
var
|
|
5935
|
+
var A = G, {
|
|
5936
5936
|
ownerState: k
|
|
5937
|
-
} =
|
|
5937
|
+
} = A, B = te(A, [
|
|
5938
5938
|
"ownerState"
|
|
5939
5939
|
]);
|
|
5940
5940
|
return /* @__PURE__ */ N.cloneElement(i, b({
|
|
@@ -6196,18 +6196,18 @@ function Pa(e) {
|
|
|
6196
6196
|
}, [s]), N.useEffect(() => {
|
|
6197
6197
|
if (!s || !m.current)
|
|
6198
6198
|
return;
|
|
6199
|
-
const x = Ut(m.current), w = (
|
|
6200
|
-
v.current =
|
|
6199
|
+
const x = Ut(m.current), w = (O) => {
|
|
6200
|
+
v.current = O, !(n || !a() || O.key !== "Tab") && x.activeElement === m.current && O.shiftKey && (l.current = !0, d.current && d.current.focus());
|
|
6201
6201
|
}, C = () => {
|
|
6202
|
-
var
|
|
6203
|
-
const
|
|
6204
|
-
if (
|
|
6202
|
+
var I, L;
|
|
6203
|
+
const O = m.current;
|
|
6204
|
+
if (O === null)
|
|
6205
6205
|
return;
|
|
6206
6206
|
if (!x.hasFocus() || !a() || l.current) {
|
|
6207
6207
|
l.current = !1;
|
|
6208
6208
|
return;
|
|
6209
6209
|
}
|
|
6210
|
-
if (
|
|
6210
|
+
if (O.contains(x.activeElement) || n && x.activeElement !== c.current && x.activeElement !== d.current)
|
|
6211
6211
|
return;
|
|
6212
6212
|
if (x.activeElement !== p.current)
|
|
6213
6213
|
p.current = null;
|
|
@@ -6215,12 +6215,12 @@ function Pa(e) {
|
|
|
6215
6215
|
return;
|
|
6216
6216
|
if (!g.current)
|
|
6217
6217
|
return;
|
|
6218
|
-
let
|
|
6219
|
-
if ((x.activeElement === c.current || x.activeElement === d.current) && (
|
|
6220
|
-
const z = !!((
|
|
6218
|
+
let _ = [];
|
|
6219
|
+
if ((x.activeElement === c.current || x.activeElement === d.current) && (_ = i(m.current)), _.length > 0) {
|
|
6220
|
+
const z = !!((I = v.current) != null && I.shiftKey && ((L = v.current) == null ? void 0 : L.key) === "Tab"), S = _[0], M = _[_.length - 1];
|
|
6221
6221
|
typeof S != "string" && typeof M != "string" && (z ? M.focus() : S.focus());
|
|
6222
6222
|
} else
|
|
6223
|
-
|
|
6223
|
+
O.focus();
|
|
6224
6224
|
};
|
|
6225
6225
|
x.addEventListener("focusin", C), x.addEventListener("keydown", w, !0);
|
|
6226
6226
|
const T = setInterval(() => {
|
|
@@ -6390,20 +6390,20 @@ function ht(e, t) {
|
|
|
6390
6390
|
"component",
|
|
6391
6391
|
"slots",
|
|
6392
6392
|
"slotProps"
|
|
6393
|
-
]), g = d[e] || n, m = yg(f[e], o),
|
|
6393
|
+
]), g = d[e] || n, m = yg(f[e], o), O = vg(D(b({
|
|
6394
6394
|
className: r
|
|
6395
6395
|
}, l), {
|
|
6396
6396
|
externalForwardedProps: e === "root" ? p : void 0,
|
|
6397
6397
|
externalSlotProps: m
|
|
6398
6398
|
})), {
|
|
6399
|
-
props:
|
|
6400
|
-
} =
|
|
6399
|
+
props: _
|
|
6400
|
+
} = O, I = _, {
|
|
6401
6401
|
component: h
|
|
6402
|
-
} =
|
|
6402
|
+
} = I, v = te(I, [
|
|
6403
6403
|
"component"
|
|
6404
6404
|
]), {
|
|
6405
6405
|
internalRef: y
|
|
6406
|
-
} =
|
|
6406
|
+
} = O, E = _t(y, m == null ? void 0 : m.ref, t.ref), x = e === "root" ? h || c : h, w = gg(g, D(b(b(b(b(b({}, e === "root" && !c && !d[e] && a), e !== "root" && !d[e] && a), v), x && !s && {
|
|
6407
6407
|
as: x
|
|
6408
6408
|
}), x && s && {
|
|
6409
6409
|
component: x
|
|
@@ -6459,7 +6459,7 @@ const XC = {
|
|
|
6459
6459
|
const k = w.current;
|
|
6460
6460
|
$ === void 0 ? F(k) : F(k, $);
|
|
6461
6461
|
}
|
|
6462
|
-
},
|
|
6462
|
+
}, O = T(p), _ = T((F, $) => {
|
|
6463
6463
|
const k = Aa({
|
|
6464
6464
|
style: v,
|
|
6465
6465
|
timeout: y,
|
|
@@ -6468,7 +6468,7 @@ const XC = {
|
|
|
6468
6468
|
mode: "enter"
|
|
6469
6469
|
});
|
|
6470
6470
|
F.style.webkitTransition = n.transitions.create("opacity", k), F.style.transition = n.transitions.create("opacity", k), d && d(F, $);
|
|
6471
|
-
}),
|
|
6471
|
+
}), I = T(f), L = T(h), z = T((F) => {
|
|
6472
6472
|
const $ = Aa({
|
|
6473
6473
|
style: v,
|
|
6474
6474
|
timeout: y,
|
|
@@ -6482,9 +6482,9 @@ const XC = {
|
|
|
6482
6482
|
appear: a,
|
|
6483
6483
|
in: c,
|
|
6484
6484
|
nodeRef: w,
|
|
6485
|
-
onEnter:
|
|
6486
|
-
onEntered:
|
|
6487
|
-
onEntering:
|
|
6485
|
+
onEnter: _,
|
|
6486
|
+
onEntered: I,
|
|
6487
|
+
onEntering: O,
|
|
6488
6488
|
onExit: z,
|
|
6489
6489
|
onExited: S,
|
|
6490
6490
|
onExiting: L,
|
|
@@ -6628,7 +6628,7 @@ const QC = (e) => {
|
|
|
6628
6628
|
const n = Ge({
|
|
6629
6629
|
props: t,
|
|
6630
6630
|
name: "MuiBackdrop"
|
|
6631
|
-
}),
|
|
6631
|
+
}), I = n, {
|
|
6632
6632
|
children: o,
|
|
6633
6633
|
className: i,
|
|
6634
6634
|
component: a = "div",
|
|
@@ -6640,7 +6640,7 @@ const QC = (e) => {
|
|
|
6640
6640
|
slots: p = {},
|
|
6641
6641
|
TransitionComponent: g,
|
|
6642
6642
|
transitionDuration: m
|
|
6643
|
-
} =
|
|
6643
|
+
} = I, h = te(I, [
|
|
6644
6644
|
"children",
|
|
6645
6645
|
"className",
|
|
6646
6646
|
"component",
|
|
@@ -6666,15 +6666,15 @@ const QC = (e) => {
|
|
|
6666
6666
|
externalForwardedProps: w,
|
|
6667
6667
|
className: me(y.root, i),
|
|
6668
6668
|
ownerState: v
|
|
6669
|
-
}), [
|
|
6669
|
+
}), [O, _] = ht("transition", {
|
|
6670
6670
|
elementType: Xg,
|
|
6671
6671
|
externalForwardedProps: w,
|
|
6672
6672
|
ownerState: v
|
|
6673
6673
|
});
|
|
6674
|
-
return /* @__PURE__ */ J(
|
|
6674
|
+
return /* @__PURE__ */ J(O, D(b(b({
|
|
6675
6675
|
in: l,
|
|
6676
6676
|
timeout: m
|
|
6677
|
-
}, h),
|
|
6677
|
+
}, h), _), {
|
|
6678
6678
|
children: /* @__PURE__ */ J(C, D(b({
|
|
6679
6679
|
"aria-hidden": !0
|
|
6680
6680
|
}, T), {
|
|
@@ -6804,20 +6804,20 @@ function tx(e) {
|
|
|
6804
6804
|
}, T = Br(() => {
|
|
6805
6805
|
const F = JC(t) || x().body;
|
|
6806
6806
|
Vi.add(w(), F), g.current && C();
|
|
6807
|
-
}),
|
|
6808
|
-
p.current = F, F && (c &&
|
|
6809
|
-
}),
|
|
6807
|
+
}), O = () => Vi.isTopModal(w()), _ = Br((F) => {
|
|
6808
|
+
p.current = F, F && (c && O() ? C() : g.current && Uo(g.current, E));
|
|
6809
|
+
}), I = N.useCallback(() => {
|
|
6810
6810
|
Vi.remove(w(), E);
|
|
6811
6811
|
}, [E]);
|
|
6812
6812
|
N.useEffect(() => () => {
|
|
6813
|
-
|
|
6814
|
-
}, [
|
|
6815
|
-
c ? T() : (!y || !o) &&
|
|
6816
|
-
}, [c,
|
|
6813
|
+
I();
|
|
6814
|
+
}, [I]), N.useEffect(() => {
|
|
6815
|
+
c ? T() : (!y || !o) && I();
|
|
6816
|
+
}, [c, I, y, o, T]);
|
|
6817
6817
|
const L = (F) => ($) => {
|
|
6818
6818
|
var k;
|
|
6819
6819
|
(k = F.onKeyDown) == null || k.call(F, $), !($.key !== "Escape" || $.which === 229 || // Wait until IME is settled.
|
|
6820
|
-
!
|
|
6820
|
+
!O()) && (r || ($.stopPropagation(), l && l($, "escapeKeyDown")));
|
|
6821
6821
|
}, z = (F) => ($) => {
|
|
6822
6822
|
var k;
|
|
6823
6823
|
(k = F.onClick) == null || k.call(F, $), $.target === $.currentTarget && l && l($, "backdropClick");
|
|
@@ -6854,7 +6854,7 @@ function tx(e) {
|
|
|
6854
6854
|
const F = () => {
|
|
6855
6855
|
v(!1), i && i();
|
|
6856
6856
|
}, $ = () => {
|
|
6857
|
-
v(!0), a && a(), o &&
|
|
6857
|
+
v(!0), a && a(), o && I();
|
|
6858
6858
|
};
|
|
6859
6859
|
return {
|
|
6860
6860
|
onEnter: kf(F, (k = s == null ? void 0 : s.props.onEnter) != null ? k : Yf),
|
|
@@ -6862,8 +6862,8 @@ function tx(e) {
|
|
|
6862
6862
|
};
|
|
6863
6863
|
},
|
|
6864
6864
|
rootRef: m,
|
|
6865
|
-
portalRef:
|
|
6866
|
-
isTopModal:
|
|
6865
|
+
portalRef: _,
|
|
6866
|
+
isTopModal: O,
|
|
6867
6867
|
exited: h,
|
|
6868
6868
|
hasTransition: y
|
|
6869
6869
|
};
|
|
@@ -6938,9 +6938,9 @@ const nx = (e) => {
|
|
|
6938
6938
|
hideBackdrop: w = !1,
|
|
6939
6939
|
keepMounted: C = !1,
|
|
6940
6940
|
onBackdropClick: T,
|
|
6941
|
-
onClose:
|
|
6942
|
-
onTransitionEnter:
|
|
6943
|
-
onTransitionExited:
|
|
6941
|
+
onClose: O,
|
|
6942
|
+
onTransitionEnter: _,
|
|
6943
|
+
onTransitionExited: I,
|
|
6944
6944
|
open: L,
|
|
6945
6945
|
slotProps: z = {},
|
|
6946
6946
|
slots: S = {},
|
|
@@ -6988,7 +6988,7 @@ const nx = (e) => {
|
|
|
6988
6988
|
getBackdropProps: k,
|
|
6989
6989
|
getTransitionProps: B,
|
|
6990
6990
|
portalRef: G,
|
|
6991
|
-
isTopModal:
|
|
6991
|
+
isTopModal: A,
|
|
6992
6992
|
exited: V,
|
|
6993
6993
|
hasTransition: K
|
|
6994
6994
|
} = tx(D(b({}, F), {
|
|
@@ -7041,7 +7041,7 @@ const nx = (e) => {
|
|
|
7041
7041
|
disableEnforceFocus: h,
|
|
7042
7042
|
disableAutoFocus: m,
|
|
7043
7043
|
disableRestoreFocus: E,
|
|
7044
|
-
isEnabled:
|
|
7044
|
+
isEnabled: A,
|
|
7045
7045
|
open: L,
|
|
7046
7046
|
children: /* @__PURE__ */ N.cloneElement(c, Z)
|
|
7047
7047
|
})]
|
|
@@ -7447,7 +7447,7 @@ const ux = (e) => {
|
|
|
7447
7447
|
transitionDuration: w = "auto",
|
|
7448
7448
|
TransitionProps: C = {},
|
|
7449
7449
|
disableScrollLock: T = !1
|
|
7450
|
-
} = se,
|
|
7450
|
+
} = se, O = te(se, [
|
|
7451
7451
|
"action",
|
|
7452
7452
|
"anchorEl",
|
|
7453
7453
|
"anchorOrigin",
|
|
@@ -7470,7 +7470,7 @@ const ux = (e) => {
|
|
|
7470
7470
|
"TransitionProps",
|
|
7471
7471
|
// TODO: remove in v7
|
|
7472
7472
|
"disableScrollLock"
|
|
7473
|
-
]),
|
|
7473
|
+
]), _ = N.useRef(), I = D(b({}, n), {
|
|
7474
7474
|
anchorOrigin: a,
|
|
7475
7475
|
anchorReference: l,
|
|
7476
7476
|
elevation: p,
|
|
@@ -7479,10 +7479,10 @@ const ux = (e) => {
|
|
|
7479
7479
|
TransitionComponent: x,
|
|
7480
7480
|
transitionDuration: w,
|
|
7481
7481
|
TransitionProps: C
|
|
7482
|
-
}), L = ux(
|
|
7482
|
+
}), L = ux(I), z = N.useCallback(() => {
|
|
7483
7483
|
if (l === "anchorPosition")
|
|
7484
7484
|
return process.env.NODE_ENV !== "production" && (s || console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')), s;
|
|
7485
|
-
const re = $o(i), de = re && re.nodeType === 1 ? re : Ut(
|
|
7485
|
+
const re = $o(i), de = re && re.nodeType === 1 ? re : Ut(_.current).body, be = de.getBoundingClientRect();
|
|
7486
7486
|
if (process.env.NODE_ENV !== "production") {
|
|
7487
7487
|
const et = de.getBoundingClientRect();
|
|
7488
7488
|
process.env.NODE_ENV !== "test" && et.top === 0 && et.left === 0 && et.right === 0 && et.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(`
|
|
@@ -7530,7 +7530,7 @@ const ux = (e) => {
|
|
|
7530
7530
|
transformOrigin: Kf(be)
|
|
7531
7531
|
};
|
|
7532
7532
|
}, [i, l, z, S, g]), [H, F] = N.useState(m), $ = N.useCallback(() => {
|
|
7533
|
-
const re =
|
|
7533
|
+
const re = _.current;
|
|
7534
7534
|
if (!re)
|
|
7535
7535
|
return;
|
|
7536
7536
|
const de = M(re);
|
|
@@ -7559,7 +7559,7 @@ const ux = (e) => {
|
|
|
7559
7559
|
};
|
|
7560
7560
|
}, [i, m, $]);
|
|
7561
7561
|
let G = w;
|
|
7562
|
-
const
|
|
7562
|
+
const A = {
|
|
7563
7563
|
slots: b({
|
|
7564
7564
|
transition: x
|
|
7565
7565
|
}, v),
|
|
@@ -7569,8 +7569,8 @@ const ux = (e) => {
|
|
|
7569
7569
|
}, y)
|
|
7570
7570
|
}, [V, K] = ht("transition", {
|
|
7571
7571
|
elementType: ti,
|
|
7572
|
-
externalForwardedProps:
|
|
7573
|
-
ownerState:
|
|
7572
|
+
externalForwardedProps: A,
|
|
7573
|
+
ownerState: I,
|
|
7574
7574
|
getSlotProps: (re) => D(b({}, re), {
|
|
7575
7575
|
onEntering: (de, be) => {
|
|
7576
7576
|
var et;
|
|
@@ -7590,21 +7590,21 @@ const ux = (e) => {
|
|
|
7590
7590
|
const q = f || (i ? Ut($o(i)).body : void 0), [X, Ce] = ht("root", {
|
|
7591
7591
|
ref: r,
|
|
7592
7592
|
elementType: dx,
|
|
7593
|
-
externalForwardedProps: b(b({},
|
|
7593
|
+
externalForwardedProps: b(b({}, A), O),
|
|
7594
7594
|
shouldForwardComponentProp: !0,
|
|
7595
7595
|
additionalProps: {
|
|
7596
7596
|
slots: {
|
|
7597
7597
|
backdrop: v.backdrop
|
|
7598
7598
|
},
|
|
7599
7599
|
slotProps: {
|
|
7600
|
-
backdrop: OC(typeof y.backdrop == "function" ? y.backdrop(
|
|
7600
|
+
backdrop: OC(typeof y.backdrop == "function" ? y.backdrop(I) : y.backdrop, {
|
|
7601
7601
|
invisible: !0
|
|
7602
7602
|
})
|
|
7603
7603
|
},
|
|
7604
7604
|
container: q,
|
|
7605
7605
|
open: m
|
|
7606
7606
|
},
|
|
7607
|
-
ownerState:
|
|
7607
|
+
ownerState: I,
|
|
7608
7608
|
className: me(L.root, d)
|
|
7609
7609
|
}), W = Ce, {
|
|
7610
7610
|
slots: Z,
|
|
@@ -7613,10 +7613,10 @@ const ux = (e) => {
|
|
|
7613
7613
|
"slots",
|
|
7614
7614
|
"slotProps"
|
|
7615
7615
|
]), [oe, fe] = ht("paper", {
|
|
7616
|
-
ref:
|
|
7616
|
+
ref: _,
|
|
7617
7617
|
className: L.paper,
|
|
7618
7618
|
elementType: Zg,
|
|
7619
|
-
externalForwardedProps:
|
|
7619
|
+
externalForwardedProps: A,
|
|
7620
7620
|
shouldForwardComponentProp: !0,
|
|
7621
7621
|
additionalProps: {
|
|
7622
7622
|
elevation: p,
|
|
@@ -7624,7 +7624,7 @@ const ux = (e) => {
|
|
|
7624
7624
|
opacity: 0
|
|
7625
7625
|
}
|
|
7626
7626
|
},
|
|
7627
|
-
ownerState:
|
|
7627
|
+
ownerState: I
|
|
7628
7628
|
});
|
|
7629
7629
|
return /* @__PURE__ */ J(X, D(b(b({}, ie), !MC(X) && {
|
|
7630
7630
|
slots: Z,
|
|
@@ -7895,8 +7895,8 @@ const px = {
|
|
|
7895
7895
|
PaperProps: f = {},
|
|
7896
7896
|
PopoverClasses: p,
|
|
7897
7897
|
transitionDuration: g = "auto",
|
|
7898
|
-
TransitionProps:
|
|
7899
|
-
} = G, V =
|
|
7898
|
+
TransitionProps: A = {}
|
|
7899
|
+
} = G, V = A, {
|
|
7900
7900
|
onEntering: m
|
|
7901
7901
|
} = V, h = te(V, [
|
|
7902
7902
|
"onEntering"
|
|
@@ -7928,8 +7928,8 @@ const px = {
|
|
|
7928
7928
|
transitionDuration: g,
|
|
7929
7929
|
TransitionProps: h,
|
|
7930
7930
|
variant: v
|
|
7931
|
-
}), T = gx(C),
|
|
7932
|
-
|
|
7931
|
+
}), T = gx(C), O = o && !s && d, _ = N.useRef(null), I = (q, X) => {
|
|
7932
|
+
_.current && _.current.adjustStyleForScrollbar(q, {
|
|
7933
7933
|
direction: w ? "rtl" : "ltr"
|
|
7934
7934
|
}), m && m(q, X);
|
|
7935
7935
|
}, L = (q) => {
|
|
@@ -7993,7 +7993,7 @@ const px = {
|
|
|
7993
7993
|
transition: D(b({}, B), {
|
|
7994
7994
|
onEntering: (...q) => {
|
|
7995
7995
|
var X;
|
|
7996
|
-
|
|
7996
|
+
I(...q), (X = B == null ? void 0 : B.onEntering) == null || X.call(B, ...q);
|
|
7997
7997
|
}
|
|
7998
7998
|
})
|
|
7999
7999
|
},
|
|
@@ -8004,9 +8004,9 @@ const px = {
|
|
|
8004
8004
|
}, x), {
|
|
8005
8005
|
classes: p,
|
|
8006
8006
|
children: /* @__PURE__ */ J($, D(b({
|
|
8007
|
-
actions:
|
|
8007
|
+
actions: _,
|
|
8008
8008
|
autoFocus: o && (z === -1 || s),
|
|
8009
|
-
autoFocusItem:
|
|
8009
|
+
autoFocusItem: O,
|
|
8010
8010
|
variant: v
|
|
8011
8011
|
}, k), {
|
|
8012
8012
|
children: i
|
|
@@ -8395,9 +8395,9 @@ const Bt = He("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
|
|
|
8395
8395
|
const p = N.useRef(!1), g = Hn(), m = N.useRef(null), h = N.useRef(null), v = N.useCallback((C) => {
|
|
8396
8396
|
const {
|
|
8397
8397
|
pulsate: T,
|
|
8398
|
-
rippleX:
|
|
8399
|
-
rippleY:
|
|
8400
|
-
rippleSize:
|
|
8398
|
+
rippleX: O,
|
|
8399
|
+
rippleY: _,
|
|
8400
|
+
rippleSize: I,
|
|
8401
8401
|
cb: L
|
|
8402
8402
|
} = C;
|
|
8403
8403
|
c((z) => [...z, /* @__PURE__ */ J(_x, {
|
|
@@ -8411,15 +8411,15 @@ const Bt = He("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
|
|
|
8411
8411
|
},
|
|
8412
8412
|
timeout: cc,
|
|
8413
8413
|
pulsate: T,
|
|
8414
|
-
rippleX:
|
|
8415
|
-
rippleY:
|
|
8416
|
-
rippleSize:
|
|
8414
|
+
rippleX: O,
|
|
8415
|
+
rippleY: _,
|
|
8416
|
+
rippleSize: I
|
|
8417
8417
|
}, d.current)]), d.current += 1, f.current = L;
|
|
8418
|
-
}, [i]), y = N.useCallback((C = {}, T = {},
|
|
8418
|
+
}, [i]), y = N.useCallback((C = {}, T = {}, O = () => {
|
|
8419
8419
|
}) => {
|
|
8420
8420
|
const {
|
|
8421
|
-
pulsate:
|
|
8422
|
-
center:
|
|
8421
|
+
pulsate: _ = !1,
|
|
8422
|
+
center: I = o || T.pulsate,
|
|
8423
8423
|
fakeElement: L = !1
|
|
8424
8424
|
// For test purposes
|
|
8425
8425
|
} = T;
|
|
@@ -8435,7 +8435,7 @@ const Bt = He("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
|
|
|
8435
8435
|
top: 0
|
|
8436
8436
|
};
|
|
8437
8437
|
let M, H, F;
|
|
8438
|
-
if (
|
|
8438
|
+
if (I || C === void 0 || C.clientX === 0 && C.clientY === 0 || !C.clientX && !C.touches)
|
|
8439
8439
|
M = Math.round(S.width / 2), H = Math.round(S.height / 2);
|
|
8440
8440
|
else {
|
|
8441
8441
|
const {
|
|
@@ -8444,7 +8444,7 @@ const Bt = He("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
|
|
|
8444
8444
|
} = C.touches && C.touches.length > 0 ? C.touches[0] : C;
|
|
8445
8445
|
M = Math.round($ - S.left), H = Math.round(k - S.top);
|
|
8446
8446
|
}
|
|
8447
|
-
if (
|
|
8447
|
+
if (I)
|
|
8448
8448
|
F = Math.sqrt((2 * tr(S.width, 2) + tr(S.height, 2)) / 3), F % 2 === 0 && (F += 1);
|
|
8449
8449
|
else {
|
|
8450
8450
|
const $ = Math.max(Math.abs((z ? z.clientWidth : 0) - M), M) * 2 + 2, k = Math.max(Math.abs((z ? z.clientHeight : 0) - H), H) * 2 + 2;
|
|
@@ -8452,20 +8452,20 @@ const Bt = He("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
|
|
|
8452
8452
|
}
|
|
8453
8453
|
C != null && C.touches ? m.current === null && (m.current = () => {
|
|
8454
8454
|
v({
|
|
8455
|
-
pulsate:
|
|
8455
|
+
pulsate: _,
|
|
8456
8456
|
rippleX: M,
|
|
8457
8457
|
rippleY: H,
|
|
8458
8458
|
rippleSize: F,
|
|
8459
|
-
cb:
|
|
8459
|
+
cb: O
|
|
8460
8460
|
});
|
|
8461
8461
|
}, g.start(xx, () => {
|
|
8462
8462
|
m.current && (m.current(), m.current = null);
|
|
8463
8463
|
})) : v({
|
|
8464
|
-
pulsate:
|
|
8464
|
+
pulsate: _,
|
|
8465
8465
|
rippleX: M,
|
|
8466
8466
|
rippleY: H,
|
|
8467
8467
|
rippleSize: F,
|
|
8468
|
-
cb:
|
|
8468
|
+
cb: O
|
|
8469
8469
|
});
|
|
8470
8470
|
}, [o, v, g]), E = N.useCallback(() => {
|
|
8471
8471
|
y({}, {
|
|
@@ -8478,7 +8478,7 @@ const Bt = He("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
|
|
|
8478
8478
|
});
|
|
8479
8479
|
return;
|
|
8480
8480
|
}
|
|
8481
|
-
m.current = null, c((
|
|
8481
|
+
m.current = null, c((O) => O.length > 0 ? O.slice(1) : O), f.current = T;
|
|
8482
8482
|
}, [g]);
|
|
8483
8483
|
return N.useImperativeHandle(r, () => ({
|
|
8484
8484
|
pulsate: E,
|
|
@@ -8590,9 +8590,9 @@ const Mx = He("MuiButtonBase", ["root", "disabled", "focusVisible"]), kx = (e) =
|
|
|
8590
8590
|
onFocusVisible: w,
|
|
8591
8591
|
onKeyDown: C,
|
|
8592
8592
|
onKeyUp: T,
|
|
8593
|
-
onMouseDown:
|
|
8594
|
-
onMouseLeave:
|
|
8595
|
-
onMouseUp:
|
|
8593
|
+
onMouseDown: O,
|
|
8594
|
+
onMouseLeave: _,
|
|
8595
|
+
onMouseUp: I,
|
|
8596
8596
|
onTouchEnd: L,
|
|
8597
8597
|
onTouchMove: z,
|
|
8598
8598
|
onTouchStart: S,
|
|
@@ -8630,7 +8630,7 @@ const Mx = He("MuiButtonBase", ["root", "disabled", "focusVisible"]), kx = (e) =
|
|
|
8630
8630
|
"TouchRippleProps",
|
|
8631
8631
|
"touchRippleRef",
|
|
8632
8632
|
"type"
|
|
8633
|
-
]), B = N.useRef(null), G = wx(),
|
|
8633
|
+
]), B = N.useRef(null), G = wx(), A = _t(G.ref, F), [V, K] = N.useState(!1);
|
|
8634
8634
|
c && V && K(!1), N.useImperativeHandle(o, () => ({
|
|
8635
8635
|
focusVisible: () => {
|
|
8636
8636
|
K(!0), B.current.focus();
|
|
@@ -8640,8 +8640,8 @@ const Mx = He("MuiButtonBase", ["root", "disabled", "focusVisible"]), kx = (e) =
|
|
|
8640
8640
|
N.useEffect(() => {
|
|
8641
8641
|
V && p && !d && G.pulsate();
|
|
8642
8642
|
}, [d, p, V, G]);
|
|
8643
|
-
const X = vr(G, "start",
|
|
8644
|
-
V && ce.preventDefault(),
|
|
8643
|
+
const X = vr(G, "start", O, f), Z = vr(G, "stop", y, f), ee = vr(G, "stop", E, f), ie = vr(G, "stop", I, f), oe = vr(G, "stop", (ce) => {
|
|
8644
|
+
V && ce.preventDefault(), _ && _(ce);
|
|
8645
8645
|
}, f), fe = vr(G, "start", S, f), se = vr(G, "stop", L, f), Ce = vr(G, "stop", z, f), W = vr(G, "stop", (ce) => {
|
|
8646
8646
|
Oa(ce.target) || K(!1), h && h(ce);
|
|
8647
8647
|
}, !1), re = Br((ce) => {
|
|
@@ -8694,7 +8694,7 @@ const Mx = He("MuiButtonBase", ["root", "disabled", "focusVisible"]), kx = (e) =
|
|
|
8694
8694
|
type: $
|
|
8695
8695
|
}, Ye), k), {
|
|
8696
8696
|
children: [a, q ? /* @__PURE__ */ J(em, b({
|
|
8697
|
-
ref:
|
|
8697
|
+
ref: A,
|
|
8698
8698
|
center: i
|
|
8699
8699
|
}, H)) : null]
|
|
8700
8700
|
}));
|
|
@@ -9889,7 +9889,7 @@ function Zx({ color: e = gi }) {
|
|
|
9889
9889
|
});
|
|
9890
9890
|
}
|
|
9891
9891
|
const Jx = ({ children: e, label: t, allowOpen: r, disabled: n, style: o, className: i = "" }) => {
|
|
9892
|
-
const { themeSettings: a } = at(), s =
|
|
9892
|
+
const { themeSettings: a } = at(), s = We(null), l = We(null), [c, d] = ye(!1), f = ae(() => {
|
|
9893
9893
|
n || d(!0);
|
|
9894
9894
|
}, [
|
|
9895
9895
|
n
|
|
@@ -10126,7 +10126,7 @@ const Jx = ({ children: e, label: t, allowOpen: r, disabled: n, style: o, classN
|
|
|
10126
10126
|
};
|
|
10127
10127
|
let aE = 0;
|
|
10128
10128
|
const sE = () => `modal-${++aE}`, kn = /* @__PURE__ */ new Set(), lE = ({ children: e }) => {
|
|
10129
|
-
const [t, r] = ye([]), n =
|
|
10129
|
+
const [t, r] = ye([]), n = We([]);
|
|
10130
10130
|
Ae(() => () => {
|
|
10131
10131
|
kn.forEach((f) => {
|
|
10132
10132
|
try {
|
|
@@ -10778,8 +10778,8 @@ class yE {
|
|
|
10778
10778
|
t.strokeStyle = n.bracketColor, t.beginPath(), r.showTitle ? (t.moveTo(n.bracketWidth + 0.5, 0.5), t.lineTo(0.5, 0.5)) : t.moveTo(0.5, 0.5), t.lineTo(0.5, n.height - 0.5), r.showSecondary && t.lineTo(n.bracketWidth + 0.5, n.height - 0.5), t.stroke(), r.showTitle ? (t.moveTo(n.width - (n.bracketWidth + 0.5), 0.5), t.lineTo(n.width - 0.5, 0.5)) : t.moveTo(n.width - 0.5, 0.5), t.lineTo(n.width - 0.5, n.height - 0.5), r.showSecondary && t.lineTo(n.width - (n.bracketWidth + 0.5), n.height - 0.5), t.stroke(), t.closePath();
|
|
10779
10779
|
}
|
|
10780
10780
|
}
|
|
10781
|
-
const
|
|
10782
|
-
return
|
|
10781
|
+
const je = new Si(), In = function(e, t) {
|
|
10782
|
+
return je.floor(e * t.value, t.decimals);
|
|
10783
10783
|
};
|
|
10784
10784
|
function bE(e, t) {
|
|
10785
10785
|
const r = {};
|
|
@@ -10840,7 +10840,7 @@ class CE {
|
|
|
10840
10840
|
render(t, r, n, o) {
|
|
10841
10841
|
const i = t.getContext("2d");
|
|
10842
10842
|
let a = 0, s;
|
|
10843
|
-
n.gaugeHeight = o.value, n.size = o.size, n.maxWidth = o.maxWidth, n.maxHeight = o.maxHeight, n.offsetY = 0, s = n.gaugeHeight + n.valueSectionHeight, r.showTitle && (n.fitTitleMeasure = this.getFitTitleMeasure(i, r, n), s += n.titleSectionHeight), n.fitValueMeasure = this.getFitValueMeasure(i, r, n), r.showSecondary && (n.fitSecondaryMeasure = this.getFitSecondaryMeasure(i, r, n), s += n.secSectionHeight), a = this.getCanvasWidth(r, n), n.width = a, n.height = s,
|
|
10843
|
+
n.gaugeHeight = o.value, n.size = o.size, n.maxWidth = o.maxWidth, n.maxHeight = o.maxHeight, n.offsetY = 0, s = n.gaugeHeight + n.valueSectionHeight, r.showTitle && (n.fitTitleMeasure = this.getFitTitleMeasure(i, r, n), s += n.titleSectionHeight), n.fitValueMeasure = this.getFitValueMeasure(i, r, n), r.showSecondary && (n.fitSecondaryMeasure = this.getFitSecondaryMeasure(i, r, n), s += n.secSectionHeight), a = this.getCanvasWidth(r, n), n.width = a, n.height = s, je.setCanvasSizes(t, i, a, s), this.draw(i, r, n);
|
|
10844
10844
|
}
|
|
10845
10845
|
/**
|
|
10846
10846
|
* Returns fit title measure data.
|
|
@@ -10850,7 +10850,7 @@ class CE {
|
|
|
10850
10850
|
* @param options
|
|
10851
10851
|
*/
|
|
10852
10852
|
getFitTitleMeasure(t, r, n) {
|
|
10853
|
-
const o = n.bracketWidth * 2 + n.titleHorizontalMargin * 2, i = n.maxWidth - o, a =
|
|
10853
|
+
const o = n.bracketWidth * 2 + n.titleHorizontalMargin * 2, i = n.maxWidth - o, a = je.getFitStringMeasure(t, r.title.text, i, n.titleFont);
|
|
10854
10854
|
return a.width += o, a.key = "title", a;
|
|
10855
10855
|
}
|
|
10856
10856
|
/**
|
|
@@ -10861,7 +10861,7 @@ class CE {
|
|
|
10861
10861
|
* @param options
|
|
10862
10862
|
*/
|
|
10863
10863
|
getFitValueMeasure(t, r, n) {
|
|
10864
|
-
const o = n.bracketThickness * 2, i = n.maxWidth - o, a =
|
|
10864
|
+
const o = n.bracketThickness * 2, i = n.maxWidth - o, a = je.getFitStringMeasure(t, r.value.text, i, n.valueFont);
|
|
10865
10865
|
return a.width += o, a.key = "value", a;
|
|
10866
10866
|
}
|
|
10867
10867
|
/**
|
|
@@ -10872,7 +10872,7 @@ class CE {
|
|
|
10872
10872
|
* @param options
|
|
10873
10873
|
*/
|
|
10874
10874
|
getFitSecondaryMeasure(t, r, n) {
|
|
10875
|
-
const o = n.bracketWidth * 2 + n.secDividerWidth, i = n.maxWidth - o, a = i - n.secTitleMinWidth, s =
|
|
10875
|
+
const o = n.bracketWidth * 2 + n.secDividerWidth, i = n.maxWidth - o, a = i - n.secTitleMinWidth, s = je.getFitStringMeasure(t, r.secondary.text, a, n.secondaryValueFont), l = i - s.width, c = je.getFitStringMeasure(t, r.secondaryTitle.text, l, n.secondaryTitleFont);
|
|
10876
10876
|
return {
|
|
10877
10877
|
width: c.width + s.width + o,
|
|
10878
10878
|
titleString: c.string,
|
|
@@ -10993,7 +10993,7 @@ class CE {
|
|
|
10993
10993
|
* @param options
|
|
10994
10994
|
*/
|
|
10995
10995
|
drawConditionalDial(t, r, n) {
|
|
10996
|
-
const o = r.conditions, i = +r.min.data, a = +r.max.data, s =
|
|
10996
|
+
const o = r.conditions, i = +r.min.data, a = +r.max.data, s = je.degToRad(n.startAngle + 180), l = je.degToRad(n.endAngle + 180);
|
|
10997
10997
|
let c;
|
|
10998
10998
|
const d = (f) => this.getAngle(n, f, i, a);
|
|
10999
10999
|
for (this.drawArc(t, n, s, l, n.defaultDialColor), c = o.length - 1; c >= 0; c--) {
|
|
@@ -11004,36 +11004,36 @@ class CE {
|
|
|
11004
11004
|
case "<":
|
|
11005
11005
|
if (p <= i)
|
|
11006
11006
|
break;
|
|
11007
|
-
p = p > a ? a : p, g = d(p), m = s, h =
|
|
11007
|
+
p = p > a ? a : p, g = d(p), m = s, h = je.degToRad(g + 180);
|
|
11008
11008
|
break;
|
|
11009
11009
|
case ">":
|
|
11010
11010
|
if (p >= a)
|
|
11011
11011
|
break;
|
|
11012
|
-
p = p < i ? i : p, g = d(p), m =
|
|
11012
|
+
p = p < i ? i : p, g = d(p), m = je.degToRad(g + 180), h = l;
|
|
11013
11013
|
break;
|
|
11014
11014
|
case "≤":
|
|
11015
11015
|
if (p < i)
|
|
11016
11016
|
break;
|
|
11017
|
-
p = p > a ? a : p, g = d(p), m = s, h =
|
|
11017
|
+
p = p > a ? a : p, g = d(p), m = s, h = je.degToRad(g + (g + E <= n.endAngle ? E : 0) + 180);
|
|
11018
11018
|
break;
|
|
11019
11019
|
case "≥":
|
|
11020
11020
|
if (p > a)
|
|
11021
11021
|
break;
|
|
11022
|
-
p = p < i ? i : p, g = d(p), m =
|
|
11022
|
+
p = p < i ? i : p, g = d(p), m = je.degToRad(g - (g - E >= n.startAngle ? E : 0) + 180), h = l;
|
|
11023
11023
|
break;
|
|
11024
11024
|
case "=":
|
|
11025
11025
|
if (p < i || p > a)
|
|
11026
11026
|
break;
|
|
11027
|
-
g = d(p), m =
|
|
11027
|
+
g = d(p), m = je.degToRad(g - (g - E >= n.startAngle ? E : 0) + 180), h = je.degToRad(g + (g + E <= n.endAngle ? E : 0) + 180);
|
|
11028
11028
|
break;
|
|
11029
11029
|
case "≠":
|
|
11030
11030
|
if (p < i || p > a)
|
|
11031
11031
|
m = s, h = l;
|
|
11032
11032
|
else if (p === i || p === a) {
|
|
11033
11033
|
const x = p === i;
|
|
11034
|
-
m =
|
|
11034
|
+
m = je.degToRad(n.startAngle + (x ? E : 0) + 180), h = je.degToRad(n.endAngle - (x ? 0 : E) + 180);
|
|
11035
11035
|
} else
|
|
11036
|
-
g = d(p), m = s, h =
|
|
11036
|
+
g = d(p), m = s, h = je.degToRad(g - (g - E >= n.startAngle ? E : 0) + 180), v = je.degToRad(g + (g + E <= n.endAngle ? E : 0) + 180), y = l;
|
|
11037
11037
|
}
|
|
11038
11038
|
!isNaN(m) && !isNaN(h) && this.drawArc(t, n, m, h, f.color), !isNaN(v) && !isNaN(y) && this.drawArc(t, n, v, y, f.color);
|
|
11039
11039
|
}
|
|
@@ -11046,7 +11046,7 @@ class CE {
|
|
|
11046
11046
|
* @param options
|
|
11047
11047
|
*/
|
|
11048
11048
|
drawSimpleDial(t, r, n) {
|
|
11049
|
-
const o =
|
|
11049
|
+
const o = je.degToRad(n.startAngle + 180), i = je.degToRad(n.needleAngle + 180), a = je.degToRad(n.endAngle + 180);
|
|
11050
11050
|
n.needleAngle > n.startAngle && n.needleAngle < n.endAngle ? (this.drawArc(t, n, o, i, n.valueColor), t.globalAlpha = n.gaugeOpacity, this.drawArc(t, n, i, a, n.valueColor)) : (n.needleAngle <= n.startAngle && (t.globalAlpha = n.gaugeOpacity), this.drawArc(t, n, o, a, n.valueColor)), t.globalAlpha = 1;
|
|
11051
11051
|
}
|
|
11052
11052
|
/**
|
|
@@ -11072,7 +11072,7 @@ class CE {
|
|
|
11072
11072
|
const o = n.startAngle, i = n.endAngle, a = n.tickDegreesIncrement, s = n.needleAngle;
|
|
11073
11073
|
let l;
|
|
11074
11074
|
for (l = o; l <= i; l += a) {
|
|
11075
|
-
const c =
|
|
11075
|
+
const c = je.degToRad(l), d = n.gaugeCenterX - n.lengthToTick * Math.cos(c), f = n.gaugeCenterY - n.lengthToTick * Math.sin(c), p = s < o, g = s >= l - a / 2 && s < l + a / 2, m = l === i && s >= l;
|
|
11076
11076
|
t.fillStyle = !p && g || m ? r.color : n.tickColor, t.beginPath(), t.arc(d, f, n.tickRadius, 0, 2 * Math.PI), t.fill();
|
|
11077
11077
|
}
|
|
11078
11078
|
}
|
|
@@ -11083,7 +11083,7 @@ class CE {
|
|
|
11083
11083
|
* @param {object} options
|
|
11084
11084
|
*/
|
|
11085
11085
|
drawNeedle(t, r) {
|
|
11086
|
-
const n =
|
|
11086
|
+
const n = je.degToRad(r.needleAngle);
|
|
11087
11087
|
t.fillStyle = r.needleColor, t.save(), t.translate(r.gaugeCenterX, r.gaugeCenterY), t.rotate(n), t.translate(-r.gaugeCenterX, -r.gaugeCenterY), t.beginPath(), t.arc(r.gaugeCenterX, r.gaugeCenterY, r.needleBaseRadius, 0.5 * Math.PI, 1.5 * Math.PI, !0), t.lineTo(r.gaugeCenterX - r.needleLength, r.gaugeCenterY), t.fill(), t.restore();
|
|
11088
11088
|
}
|
|
11089
11089
|
/**
|
|
@@ -11804,7 +11804,7 @@ class AE {
|
|
|
11804
11804
|
else if ("value" in i)
|
|
11805
11805
|
a = i.value;
|
|
11806
11806
|
else
|
|
11807
|
-
throw new
|
|
11807
|
+
throw new ze("errors.indicatorInvalidRelativeSize");
|
|
11808
11808
|
const s = a * n;
|
|
11809
11809
|
r[i.key] = _E.floor(s, i.decimals);
|
|
11810
11810
|
});
|
|
@@ -12140,7 +12140,7 @@ const XE = (e, t, r) => {
|
|
|
12140
12140
|
};
|
|
12141
12141
|
}, ZE = ({ chartData: e, dataOptions: t, designOptions: r, onBeforeRender: n = KE, onDataPointClick: o }) => {
|
|
12142
12142
|
var c;
|
|
12143
|
-
const i =
|
|
12143
|
+
const i = We(null), a = We(null), { themeSettings: s } = at();
|
|
12144
12144
|
Ae(() => {
|
|
12145
12145
|
if (!a.current || !i.current)
|
|
12146
12146
|
return;
|
|
@@ -12279,7 +12279,7 @@ function DS(e, t) {
|
|
|
12279
12279
|
return t[e.toLowerCase()] || e;
|
|
12280
12280
|
}
|
|
12281
12281
|
const $S = (e, t) => {
|
|
12282
|
-
const { app: r } = mt(), [n, o] = ye([]), i =
|
|
12282
|
+
const { app: r } = mt(), [n, o] = ye([]), i = We(e), a = ae(() => Ft(void 0, null, function* () {
|
|
12283
12283
|
if (!r || !e)
|
|
12284
12284
|
return;
|
|
12285
12285
|
const s = {}, l = kS(t), c = yield r.httpClient.post("api/v1/geo/locations", b({
|
|
@@ -12559,7 +12559,7 @@ const sp = "N/A", Cl = 10, KS = `
|
|
|
12559
12559
|
dataOptions: t,
|
|
12560
12560
|
dataSource: r,
|
|
12561
12561
|
filters: d
|
|
12562
|
-
}), p =
|
|
12562
|
+
}), p = We(null), g = We(null), m = ne(() => LS(c, t.size ? o.markers.size.minSize : o.markers.size.defaultSize, t.size ? o.markers.size.maxSize : o.markers.size.defaultSize), [
|
|
12563
12563
|
c,
|
|
12564
12564
|
t,
|
|
12565
12565
|
o
|
|
@@ -12569,7 +12569,7 @@ const sp = "N/A", Cl = 10, KS = `
|
|
|
12569
12569
|
}, [
|
|
12570
12570
|
c,
|
|
12571
12571
|
t
|
|
12572
|
-
]), v =
|
|
12572
|
+
]), v = We([]), y = We(Bo.layerGroup([])), E = We(null), x = We(null);
|
|
12573
12573
|
return Ae(() => {
|
|
12574
12574
|
p.current && !g.current && (g.current = Bo.map(p.current, {
|
|
12575
12575
|
attributionControl: !1,
|
|
@@ -12590,11 +12590,11 @@ const sp = "N/A", Cl = 10, KS = `
|
|
|
12590
12590
|
blur: !!w.blur
|
|
12591
12591
|
}
|
|
12592
12592
|
});
|
|
12593
|
-
v.current.push(T), T.addTo(y.current), i && T.on("click", (
|
|
12594
|
-
i(IS(w, t),
|
|
12593
|
+
v.current.push(T), T.addTo(y.current), i && T.on("click", (O) => {
|
|
12594
|
+
i(IS(w, t), O.originalEvent);
|
|
12595
12595
|
}), T.bindTooltip(() => {
|
|
12596
|
-
const { content:
|
|
12597
|
-
return
|
|
12596
|
+
const { content: O, postponedContent: _ } = f(w);
|
|
12597
|
+
return _ == null || _.then((I) => T.setTooltipContent(I)), O;
|
|
12598
12598
|
});
|
|
12599
12599
|
}), Xy(g.current, v.current, Ky(l)));
|
|
12600
12600
|
}, [
|
|
@@ -12649,7 +12649,7 @@ function xT(e) {
|
|
|
12649
12649
|
}
|
|
12650
12650
|
const bm = ({ iconType: e }) => {
|
|
12651
12651
|
var s;
|
|
12652
|
-
const { themeSettings: t } = at(), r =
|
|
12652
|
+
const { themeSettings: t } = at(), r = We(null), [n, o] = ye({
|
|
12653
12653
|
width: null,
|
|
12654
12654
|
height: null
|
|
12655
12655
|
});
|
|
@@ -12685,51 +12685,67 @@ function ET(e, t) {
|
|
|
12685
12685
|
const ST = (e, t, r) => ({
|
|
12686
12686
|
width: (t == null ? void 0 : t.width) || (e == null ? void 0 : e.width) || r.width,
|
|
12687
12687
|
height: (t == null ? void 0 : t.height) || (e == null ? void 0 : e.height) || r.height
|
|
12688
|
-
}), Gu = ({ children: e, defaultSize: t, size: r, rerenderOnResize: n = !1, useContentSize: o, onSizeChange: i }) => {
|
|
12689
|
-
const
|
|
12690
|
-
var
|
|
12691
|
-
const
|
|
12692
|
-
width: (
|
|
12693
|
-
height: (
|
|
12688
|
+
}), Gu = ({ children: e, defaultSize: t, size: r, rerenderOnResize: n = !1, useContentSize: o, onSizeChange: i, debounceMs: a = 300 }) => {
|
|
12689
|
+
const s = We(null), [l, c] = ye(), d = We(null), f = ae(() => {
|
|
12690
|
+
var T, O;
|
|
12691
|
+
const C = {
|
|
12692
|
+
width: (T = s.current) == null ? void 0 : T.offsetWidth,
|
|
12693
|
+
height: (O = s.current) == null ? void 0 : O.offsetHeight
|
|
12694
12694
|
};
|
|
12695
|
-
|
|
12696
|
-
const
|
|
12697
|
-
width:
|
|
12698
|
-
height:
|
|
12695
|
+
c((_) => {
|
|
12696
|
+
const I = (_ == null ? void 0 : _.width) === 0 && C.width === t.width, L = (_ == null ? void 0 : _.height) === 0 && C.height === t.height, z = {
|
|
12697
|
+
width: I ? _.width : C.width,
|
|
12698
|
+
height: L ? _.height : C.height
|
|
12699
12699
|
};
|
|
12700
|
-
return dn(
|
|
12700
|
+
return dn(_, z) ? _ : z;
|
|
12701
12701
|
});
|
|
12702
12702
|
}, [
|
|
12703
|
-
a,
|
|
12704
12703
|
t
|
|
12704
|
+
]), p = ae(() => {
|
|
12705
|
+
d.current && clearTimeout(d.current), d.current = setTimeout(() => {
|
|
12706
|
+
f();
|
|
12707
|
+
}, a);
|
|
12708
|
+
}, [
|
|
12709
|
+
f,
|
|
12710
|
+
a
|
|
12705
12711
|
]);
|
|
12706
12712
|
ng(() => {
|
|
12707
|
-
|
|
12713
|
+
f();
|
|
12708
12714
|
}, [
|
|
12709
|
-
|
|
12710
|
-
]), Ae(() =>
|
|
12711
|
-
|
|
12715
|
+
f
|
|
12716
|
+
]), Ae(() => {
|
|
12717
|
+
const C = s.current;
|
|
12718
|
+
if (!C)
|
|
12719
|
+
return;
|
|
12720
|
+
const T = new ResizeObserver(() => {
|
|
12721
|
+
p();
|
|
12722
|
+
});
|
|
12723
|
+
return T.observe(C), () => {
|
|
12724
|
+
T.disconnect(), d.current && clearTimeout(d.current);
|
|
12725
|
+
};
|
|
12726
|
+
}, [
|
|
12727
|
+
p
|
|
12712
12728
|
]);
|
|
12713
|
-
const
|
|
12714
|
-
|
|
12729
|
+
const g = ne(() => ST(l, r, t), [
|
|
12730
|
+
l,
|
|
12715
12731
|
t,
|
|
12716
12732
|
r
|
|
12717
|
-
]),
|
|
12733
|
+
]), m = !!l;
|
|
12718
12734
|
Ae(() => {
|
|
12719
|
-
|
|
12735
|
+
m && i && i(g);
|
|
12720
12736
|
}, [
|
|
12721
|
-
|
|
12722
|
-
|
|
12737
|
+
g,
|
|
12738
|
+
m,
|
|
12723
12739
|
i
|
|
12724
12740
|
]);
|
|
12725
|
-
const
|
|
12741
|
+
const h = {
|
|
12726
12742
|
width: r != null && r.width && !(o != null && o.width) ? `${r.width}px` : "100%",
|
|
12727
12743
|
height: r != null && r.height && !(o != null && o.height) ? `${r.height}px` : "100%"
|
|
12728
|
-
},
|
|
12729
|
-
width:
|
|
12730
|
-
height:
|
|
12744
|
+
}, v = (l == null ? void 0 : l.width) || (l == null ? void 0 : l.width) === void 0, y = (l == null ? void 0 : l.height) || (l == null ? void 0 : l.width) === void 0, E = {
|
|
12745
|
+
width: v || o != null && o.width ? "100%" : `${g.width}px`,
|
|
12746
|
+
height: y || o != null && o.height ? "100%" : `${g.height}px`,
|
|
12731
12747
|
position: "relative"
|
|
12732
|
-
},
|
|
12748
|
+
}, x = o != null && o.width || o != null && o.height ? {
|
|
12733
12749
|
position: "static",
|
|
12734
12750
|
width: "100%",
|
|
12735
12751
|
height: "100%"
|
|
@@ -12739,17 +12755,17 @@ const ST = (e, t, r) => ({
|
|
|
12739
12755
|
right: 0,
|
|
12740
12756
|
bottom: 0,
|
|
12741
12757
|
left: 0
|
|
12742
|
-
},
|
|
12758
|
+
}, w = n ? `${g == null ? void 0 : g.width}${g == null ? void 0 : g.height}` : "";
|
|
12743
12759
|
return /* @__PURE__ */ P("div", {
|
|
12744
|
-
style:
|
|
12745
|
-
ref:
|
|
12760
|
+
style: h,
|
|
12761
|
+
ref: s,
|
|
12746
12762
|
children: /* @__PURE__ */ P("div", {
|
|
12747
|
-
style:
|
|
12763
|
+
style: E,
|
|
12748
12764
|
children: /* @__PURE__ */ P("div", {
|
|
12749
|
-
style:
|
|
12750
|
-
children:
|
|
12765
|
+
style: x,
|
|
12766
|
+
children: g && (typeof e == "function" ? e(g) : e)
|
|
12751
12767
|
})
|
|
12752
|
-
},
|
|
12768
|
+
}, w)
|
|
12753
12769
|
});
|
|
12754
12770
|
}, TT = {
|
|
12755
12771
|
width: 400,
|
|
@@ -12886,25 +12902,25 @@ const qu = (e) => {
|
|
|
12886
12902
|
if (!e)
|
|
12887
12903
|
return !0;
|
|
12888
12904
|
if (t.length + r.length === 0)
|
|
12889
|
-
throw new
|
|
12905
|
+
throw new ze("errors.dataOptions.noDimensionsAndMeasures");
|
|
12890
12906
|
return t.forEach((a) => {
|
|
12891
12907
|
if (e.columns.findIndex((l) => l.name === a.name) === -1)
|
|
12892
|
-
throw new
|
|
12908
|
+
throw new ze("errors.dataOptions.attributeNotFound", {
|
|
12893
12909
|
attributeName: a.name
|
|
12894
12910
|
});
|
|
12895
12911
|
}), r.forEach((a) => {
|
|
12896
12912
|
if (e.columns.findIndex((l) => l.name === a.name || l.name === n[a.name]) === -1)
|
|
12897
|
-
throw new
|
|
12913
|
+
throw new ze("errors.dataOptions.measureNotFound", {
|
|
12898
12914
|
measureName: n[a.name]
|
|
12899
12915
|
});
|
|
12900
12916
|
}), o && o.forEach((a) => {
|
|
12901
12917
|
if (e.columns.findIndex((l) => l.name === a.attribute.name) === -1)
|
|
12902
|
-
throw new
|
|
12918
|
+
throw new ze("errors.dataOptions.filterAttributeNotFound", {
|
|
12903
12919
|
attributeName: a.attribute.name
|
|
12904
12920
|
});
|
|
12905
12921
|
}), i && i.forEach((a) => {
|
|
12906
12922
|
if (e.columns.findIndex((l) => l.name === a.attribute.name) === -1)
|
|
12907
|
-
throw new
|
|
12923
|
+
throw new ze("errors.dataOptions.highlightAttributeNotFound", {
|
|
12908
12924
|
attributeName: a.attribute.name
|
|
12909
12925
|
});
|
|
12910
12926
|
}), !0;
|
|
@@ -12953,21 +12969,21 @@ const Cm = () => {
|
|
|
12953
12969
|
highlights: s,
|
|
12954
12970
|
count: y.settings.queryLimit
|
|
12955
12971
|
}
|
|
12956
|
-
}), T = y == null ? void 0 : y.settings.loadingIndicatorConfig,
|
|
12972
|
+
}), T = y == null ? void 0 : y.settings.loadingIndicatorConfig, O = setTimeout(() => {
|
|
12957
12973
|
T != null && T.enabled && (c == null || c(!0));
|
|
12958
12974
|
}, T == null ? void 0 : T.delay);
|
|
12959
|
-
C.then((
|
|
12960
|
-
const
|
|
12975
|
+
C.then((_) => {
|
|
12976
|
+
const I = hc(_, t, y == null ? void 0 : y.settings.locale, y == null ? void 0 : y.settings.dateConfig);
|
|
12961
12977
|
E || v({
|
|
12962
12978
|
[g]: [
|
|
12963
|
-
|
|
12979
|
+
I,
|
|
12964
12980
|
t
|
|
12965
12981
|
]
|
|
12966
12982
|
});
|
|
12967
|
-
}).catch((
|
|
12968
|
-
p(
|
|
12983
|
+
}).catch((_) => {
|
|
12984
|
+
p(_);
|
|
12969
12985
|
}).finally(() => {
|
|
12970
|
-
clearTimeout(
|
|
12986
|
+
clearTimeout(O), T != null && T.enabled && (c == null || c(!1));
|
|
12971
12987
|
});
|
|
12972
12988
|
} else {
|
|
12973
12989
|
wm(e, n, o, i, x, s);
|
|
@@ -13159,7 +13175,7 @@ function XT(e, t) {
|
|
|
13159
13175
|
return BT(t);
|
|
13160
13176
|
if (ao(e))
|
|
13161
13177
|
return WT(t);
|
|
13162
|
-
throw new
|
|
13178
|
+
throw new ze("errors.unexpectedChartType", {
|
|
13163
13179
|
chartType: e
|
|
13164
13180
|
});
|
|
13165
13181
|
}
|
|
@@ -13558,7 +13574,7 @@ const CR = (e, t, r) => {
|
|
|
13558
13574
|
return sR(t, r);
|
|
13559
13575
|
if (ao(e))
|
|
13560
13576
|
return pb(t, r);
|
|
13561
|
-
throw new
|
|
13577
|
+
throw new ze("errors.unexpectedChartType", {
|
|
13562
13578
|
chartType: e
|
|
13563
13579
|
});
|
|
13564
13580
|
};
|
|
@@ -13613,7 +13629,7 @@ const Rm = (e, t, r, n = {}) => {
|
|
|
13613
13629
|
}
|
|
13614
13630
|
], l = wb(i, o, s), c = Mt(l, sa);
|
|
13615
13631
|
if (!c)
|
|
13616
|
-
throw new
|
|
13632
|
+
throw new ze("errors.noRowNumColumn");
|
|
13617
13633
|
return G0(l, [
|
|
13618
13634
|
c
|
|
13619
13635
|
]);
|
|
@@ -13624,7 +13640,7 @@ function RR({ dataSet: e, data: t, chartDataOptions: r, chartType: n, attributes
|
|
|
13624
13640
|
return null;
|
|
13625
13641
|
let l;
|
|
13626
13642
|
if (s && (l = s(t), !Om(l)))
|
|
13627
|
-
throw new
|
|
13643
|
+
throw new ze("errors.incorrectOnDataReadyHandler");
|
|
13628
13644
|
let d = Y0(l || t);
|
|
13629
13645
|
return zr(e) || (d = Rm(d, o, i, a)), _R(n, r, d);
|
|
13630
13646
|
}, [
|
|
@@ -13641,29 +13657,38 @@ function _R(e, t, r) {
|
|
|
13641
13657
|
}
|
|
13642
13658
|
return CR(e, t, r);
|
|
13643
13659
|
}
|
|
13644
|
-
const OR = (e) => e, MR = ({ chartType: e, chartData: t, dataOptions: r, designOptions: n, onDataPointClick: o, onDataPointContextMenu: i, onDataPointsSelected: a, onBeforeRender: s = OR }) => {
|
|
13645
|
-
const { app:
|
|
13646
|
-
var
|
|
13647
|
-
const { options:
|
|
13648
|
-
|
|
13649
|
-
const
|
|
13660
|
+
const OR = (e) => e, MR = ({ chartType: e, chartData: t, dataOptions: r, designOptions: n, onDataPointClick: o, onDataPointContextMenu: i, onDataPointsSelected: a, onBeforeRender: s = OR, size: l }) => {
|
|
13661
|
+
const { app: c } = mt(), { t: d } = qt(), f = [], p = ae((v, y) => W0(v, y, c == null ? void 0 : c.settings.locale, c == null ? void 0 : c.settings.dateConfig), []), { themeSettings: g } = at(), m = ne(() => {
|
|
13662
|
+
var T;
|
|
13663
|
+
const { options: v, alerts: y } = Cb(t, e, n, r, d, g, p);
|
|
13664
|
+
f.push(...y);
|
|
13665
|
+
const E = ((T = c == null ? void 0 : c.settings.accessibilityConfig) == null ? void 0 : T.enabled) || !1, x = xb(v, g, E), w = Eb(x, r, {
|
|
13650
13666
|
onDataPointClick: o,
|
|
13651
13667
|
onDataPointContextMenu: i,
|
|
13652
13668
|
onDataPointsSelected: a
|
|
13653
|
-
}),
|
|
13654
|
-
return s(
|
|
13669
|
+
}), C = Sb(w, g);
|
|
13670
|
+
return s(C);
|
|
13655
13671
|
}, [
|
|
13656
13672
|
e,
|
|
13657
13673
|
t,
|
|
13658
13674
|
r,
|
|
13659
13675
|
n,
|
|
13660
|
-
|
|
13676
|
+
g,
|
|
13661
13677
|
o,
|
|
13662
13678
|
i,
|
|
13663
13679
|
s,
|
|
13664
|
-
|
|
13680
|
+
d
|
|
13681
|
+
]), h = ne(() => m ? D(b({}, m), {
|
|
13682
|
+
chart: b(b(b({}, m.chart), (l == null ? void 0 : l.width) && {
|
|
13683
|
+
width: l.width
|
|
13684
|
+
}), (l == null ? void 0 : l.height) && {
|
|
13685
|
+
height: l.height
|
|
13686
|
+
})
|
|
13687
|
+
}) : null, [
|
|
13688
|
+
m,
|
|
13689
|
+
l
|
|
13665
13690
|
]);
|
|
13666
|
-
return
|
|
13691
|
+
return h && /* @__PURE__ */ ve("div", {
|
|
13667
13692
|
"aria-label": "chart-root",
|
|
13668
13693
|
style: {
|
|
13669
13694
|
display: "flex",
|
|
@@ -13672,11 +13697,11 @@ const OR = (e) => e, MR = ({ chartType: e, chartData: t, dataOptions: r, designO
|
|
|
13672
13697
|
width: "100%"
|
|
13673
13698
|
},
|
|
13674
13699
|
children: [
|
|
13675
|
-
!!
|
|
13676
|
-
alerts:
|
|
13700
|
+
!!f.length && /* @__PURE__ */ P(Tb, {
|
|
13701
|
+
alerts: f
|
|
13677
13702
|
}),
|
|
13678
13703
|
/* @__PURE__ */ P(Rb, {
|
|
13679
|
-
options:
|
|
13704
|
+
options: h
|
|
13680
13705
|
})
|
|
13681
13706
|
]
|
|
13682
13707
|
});
|
|
@@ -13689,7 +13714,7 @@ const OR = (e) => e, MR = ({ chartType: e, chartData: t, dataOptions: r, designO
|
|
|
13689
13714
|
], _m = (e) => kR.includes(e), IR = (e) => !!e.chartType && _m(e.chartType) && !!e.chartData, AR = (e) => e === "indicator", PR = (e, t) => e === "scatter" && "scatterDataTable" in t ? t.scatterDataTable.length === 0 : e === "areamap" && Ob(t) ? t.geoData.length === 0 : e === "scattermap" && ym(t) ? t.locations.length === 0 : e === "boxplot" && lR(t) ? t.xValues.length === 0 : "series" in t && t.series.length === 0, fa = (e) => {
|
|
13690
13715
|
const { chartType: t, dataSet: r, dataOptions: n, filters: o, highlights: i, styleOptions: a, refreshCounter: s, onDataPointClick: l, onDataPointContextMenu: c, onDataPointsSelected: d, onBeforeRender: f, onDataReady: p } = e, [g, m] = ye(!1), h = Yu(t), { themeSettings: v } = at(), { dataOptions: y, attributes: E, measures: x, dataColumnNamesMapping: w } = nR(n, t), C = E.length === 0 && x.length === 0, T = ne(() => fR(t), [
|
|
13691
13716
|
t
|
|
13692
|
-
]), [
|
|
13717
|
+
]), [O, _] = DT({
|
|
13693
13718
|
dataSet: r,
|
|
13694
13719
|
chartDataOptions: y,
|
|
13695
13720
|
chartType: t,
|
|
@@ -13702,14 +13727,14 @@ const OR = (e) => e, MR = ({ chartType: e, chartData: t, dataOptions: r, designO
|
|
|
13702
13727
|
setIsLoading: m,
|
|
13703
13728
|
enabled: !C,
|
|
13704
13729
|
loadData: T
|
|
13705
|
-
}),
|
|
13730
|
+
}), I = ne(() => n ? _b(t, _, a) : null, [
|
|
13706
13731
|
n,
|
|
13707
13732
|
t,
|
|
13708
|
-
|
|
13733
|
+
_,
|
|
13709
13734
|
a
|
|
13710
13735
|
]), L = RR({
|
|
13711
13736
|
dataSet: r,
|
|
13712
|
-
data:
|
|
13737
|
+
data: O,
|
|
13713
13738
|
chartDataOptions: y,
|
|
13714
13739
|
chartType: t,
|
|
13715
13740
|
attributes: E,
|
|
@@ -13720,8 +13745,8 @@ const OR = (e) => e, MR = ({ chartType: e, chartData: t, dataOptions: r, designO
|
|
|
13720
13745
|
dataSet: r,
|
|
13721
13746
|
chartType: t,
|
|
13722
13747
|
chartData: L,
|
|
13723
|
-
internalDataOptions:
|
|
13724
|
-
designOptions:
|
|
13748
|
+
internalDataOptions: _,
|
|
13749
|
+
designOptions: I,
|
|
13725
13750
|
onBeforeRender: f,
|
|
13726
13751
|
onDataPointClick: l,
|
|
13727
13752
|
onDataPointContextMenu: c,
|
|
@@ -13735,7 +13760,7 @@ const OR = (e) => e, MR = ({ chartType: e, chartData: t, dataOptions: r, designO
|
|
|
13735
13760
|
height: a == null ? void 0 : a.height
|
|
13736
13761
|
},
|
|
13737
13762
|
rerenderOnResize: AR(t),
|
|
13738
|
-
children: () => {
|
|
13763
|
+
children: (S) => {
|
|
13739
13764
|
if (!L && g)
|
|
13740
13765
|
return /* @__PURE__ */ P(Tu, {
|
|
13741
13766
|
themeSettings: v
|
|
@@ -13745,10 +13770,12 @@ const OR = (e) => e, MR = ({ chartType: e, chartData: t, dataOptions: r, designO
|
|
|
13745
13770
|
iconType: t
|
|
13746
13771
|
});
|
|
13747
13772
|
if (rs(t)) {
|
|
13748
|
-
const
|
|
13749
|
-
return
|
|
13773
|
+
const M = ns(t);
|
|
13774
|
+
return M.renderer.isCorrectRendererProps(z) ? /* @__PURE__ */ P(Yi, {
|
|
13750
13775
|
isVisible: g,
|
|
13751
|
-
children: /* @__PURE__ */ P(
|
|
13776
|
+
children: /* @__PURE__ */ P(M.renderer.ChartRendererComponent, D(b({}, z), {
|
|
13777
|
+
size: S
|
|
13778
|
+
}))
|
|
13752
13779
|
}) : null;
|
|
13753
13780
|
}
|
|
13754
13781
|
return t === "scattermap" && iT(z) ? /* @__PURE__ */ P(Yi, {
|
|
@@ -13760,7 +13787,8 @@ const OR = (e) => e, MR = ({ chartType: e, chartData: t, dataOptions: r, designO
|
|
|
13760
13787
|
}) : _m(t) && IR(z) ? /* @__PURE__ */ P(Yi, {
|
|
13761
13788
|
isVisible: g,
|
|
13762
13789
|
children: /* @__PURE__ */ P(MR, D(b({}, z), {
|
|
13763
|
-
designOptions: b({}, z.designOptions)
|
|
13790
|
+
designOptions: b({}, z.designOptions),
|
|
13791
|
+
size: S
|
|
13764
13792
|
}))
|
|
13765
13793
|
}) : null;
|
|
13766
13794
|
}
|
|
@@ -13774,7 +13802,7 @@ function DR(e) {
|
|
|
13774
13802
|
}
|
|
13775
13803
|
He("MuiPagination", ["root", "ul", "outlined", "text"]);
|
|
13776
13804
|
function $R(e = {}) {
|
|
13777
|
-
const
|
|
13805
|
+
const I = e, {
|
|
13778
13806
|
boundaryCount: t = 1,
|
|
13779
13807
|
componentName: r = "usePagination",
|
|
13780
13808
|
count: n = 1,
|
|
@@ -13787,7 +13815,7 @@ function $R(e = {}) {
|
|
|
13787
13815
|
showFirstButton: d = !1,
|
|
13788
13816
|
showLastButton: f = !1,
|
|
13789
13817
|
siblingCount: p = 1
|
|
13790
|
-
} =
|
|
13818
|
+
} = I, g = te(I, [
|
|
13791
13819
|
"boundaryCount",
|
|
13792
13820
|
"componentName",
|
|
13793
13821
|
"count",
|
|
@@ -13845,7 +13873,7 @@ function $R(e = {}) {
|
|
|
13845
13873
|
...x,
|
|
13846
13874
|
...a ? [] : ["next"],
|
|
13847
13875
|
...f ? ["last"] : []
|
|
13848
|
-
],
|
|
13876
|
+
], O = (L) => {
|
|
13849
13877
|
switch (L) {
|
|
13850
13878
|
case "first":
|
|
13851
13879
|
return 1;
|
|
@@ -13858,7 +13886,7 @@ function $R(e = {}) {
|
|
|
13858
13886
|
default:
|
|
13859
13887
|
return null;
|
|
13860
13888
|
}
|
|
13861
|
-
},
|
|
13889
|
+
}, _ = T.map((L) => typeof L == "number" ? {
|
|
13862
13890
|
onClick: (z) => {
|
|
13863
13891
|
v(z, L);
|
|
13864
13892
|
},
|
|
@@ -13869,15 +13897,15 @@ function $R(e = {}) {
|
|
|
13869
13897
|
"aria-current": L === m ? "page" : void 0
|
|
13870
13898
|
} : {
|
|
13871
13899
|
onClick: (z) => {
|
|
13872
|
-
v(z,
|
|
13900
|
+
v(z, O(L));
|
|
13873
13901
|
},
|
|
13874
13902
|
type: L,
|
|
13875
|
-
page:
|
|
13903
|
+
page: O(L),
|
|
13876
13904
|
selected: !1,
|
|
13877
13905
|
disabled: i || !L.includes("ellipsis") && (L === "next" || L === "last" ? m >= n : m <= 1)
|
|
13878
13906
|
});
|
|
13879
13907
|
return b({
|
|
13880
|
-
items:
|
|
13908
|
+
items: _
|
|
13881
13909
|
}, g);
|
|
13882
13910
|
}
|
|
13883
13911
|
function NR(e) {
|
|
@@ -14132,7 +14160,7 @@ const bt = He("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "t
|
|
|
14132
14160
|
}
|
|
14133
14161
|
}]
|
|
14134
14162
|
}))), km = /* @__PURE__ */ N.forwardRef(function(t, r) {
|
|
14135
|
-
var B, G,
|
|
14163
|
+
var B, G, A, V;
|
|
14136
14164
|
const n = Ge({
|
|
14137
14165
|
props: t,
|
|
14138
14166
|
name: "MuiPaginationItem"
|
|
@@ -14176,15 +14204,15 @@ const bt = He("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "t
|
|
|
14176
14204
|
slots: {
|
|
14177
14205
|
previous: (B = g.previous) != null ? B : s.previous,
|
|
14178
14206
|
next: (G = g.next) != null ? G : s.next,
|
|
14179
|
-
first: (
|
|
14207
|
+
first: (A = g.first) != null ? A : s.first,
|
|
14180
14208
|
last: (V = g.last) != null ? V : s.last
|
|
14181
14209
|
},
|
|
14182
14210
|
slotProps: m
|
|
14183
|
-
}, [T,
|
|
14211
|
+
}, [T, O] = ht("previous", {
|
|
14184
14212
|
elementType: HR,
|
|
14185
14213
|
externalForwardedProps: C,
|
|
14186
14214
|
ownerState: E
|
|
14187
|
-
}), [
|
|
14215
|
+
}), [_, I] = ht("next", {
|
|
14188
14216
|
elementType: BR,
|
|
14189
14217
|
externalForwardedProps: C,
|
|
14190
14218
|
ownerState: E
|
|
@@ -14203,12 +14231,12 @@ const bt = He("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "t
|
|
|
14203
14231
|
last: "first"
|
|
14204
14232
|
}[h] : h, F = {
|
|
14205
14233
|
previous: T,
|
|
14206
|
-
next:
|
|
14234
|
+
next: _,
|
|
14207
14235
|
first: L,
|
|
14208
14236
|
last: S
|
|
14209
14237
|
}[H], $ = {
|
|
14210
|
-
previous:
|
|
14211
|
-
next:
|
|
14238
|
+
previous: O,
|
|
14239
|
+
next: I,
|
|
14212
14240
|
first: z,
|
|
14213
14241
|
last: M
|
|
14214
14242
|
}[H];
|
|
@@ -14409,10 +14437,10 @@ const Im = /* @__PURE__ */ N.forwardRef(function(t, r) {
|
|
|
14409
14437
|
"size",
|
|
14410
14438
|
"variant"
|
|
14411
14439
|
]), {
|
|
14412
|
-
items:
|
|
14440
|
+
items: O
|
|
14413
14441
|
} = $R(D(b({}, n), {
|
|
14414
14442
|
componentName: "Pagination"
|
|
14415
|
-
})),
|
|
14443
|
+
})), _ = D(b({}, n), {
|
|
14416
14444
|
boundaryCount: o,
|
|
14417
14445
|
color: a,
|
|
14418
14446
|
count: s,
|
|
@@ -14428,17 +14456,17 @@ const Im = /* @__PURE__ */ N.forwardRef(function(t, r) {
|
|
|
14428
14456
|
siblingCount: x,
|
|
14429
14457
|
size: w,
|
|
14430
14458
|
variant: C
|
|
14431
|
-
}),
|
|
14459
|
+
}), I = UR(_);
|
|
14432
14460
|
return /* @__PURE__ */ J(GR, D(b({
|
|
14433
14461
|
"aria-label": "pagination navigation",
|
|
14434
|
-
className: me(
|
|
14435
|
-
ownerState:
|
|
14462
|
+
className: me(I.root, i),
|
|
14463
|
+
ownerState: _,
|
|
14436
14464
|
ref: r
|
|
14437
14465
|
}, T), {
|
|
14438
14466
|
children: /* @__PURE__ */ J(YR, {
|
|
14439
|
-
className:
|
|
14440
|
-
ownerState:
|
|
14441
|
-
children:
|
|
14467
|
+
className: I.ul,
|
|
14468
|
+
ownerState: _,
|
|
14469
|
+
children: O.map((z, S) => /* @__PURE__ */ J("li", {
|
|
14442
14470
|
children: h(D(b({}, z), {
|
|
14443
14471
|
color: a,
|
|
14444
14472
|
"aria-label": d(z.type, z.page, z.selected),
|
|
@@ -14573,7 +14601,7 @@ const XR = (e) => {
|
|
|
14573
14601
|
measures: r
|
|
14574
14602
|
};
|
|
14575
14603
|
}, KR = ({ dataSet: e, dataOptions: t, filters: r, filterRelations: n, count: o, offset: i }) => {
|
|
14576
|
-
const a = Cm(), [s, l] = ye(zr(e) ? null : e), [c, d] = ye(!1), f =
|
|
14604
|
+
const a = Cm(), [s, l] = ye(zr(e) ? null : e), [c, d] = ye(!1), f = We(!0), { isInitialized: p, app: g } = mt(), [m, h] = ye(t);
|
|
14577
14605
|
return Ae(() => {
|
|
14578
14606
|
var x;
|
|
14579
14607
|
let v = !1;
|
|
@@ -14582,7 +14610,7 @@ const XR = (e) => {
|
|
|
14582
14610
|
const { attributes: y, measures: E } = XR(t);
|
|
14583
14611
|
if (zr(e)) {
|
|
14584
14612
|
if (!p) {
|
|
14585
|
-
a(new
|
|
14613
|
+
a(new ze("errors.chartNoSisenseContext"));
|
|
14586
14614
|
return;
|
|
14587
14615
|
}
|
|
14588
14616
|
if (!g || !f.current && i > 0)
|
|
@@ -14602,12 +14630,12 @@ const XR = (e) => {
|
|
|
14602
14630
|
return;
|
|
14603
14631
|
f.current = C.rows.length > o;
|
|
14604
14632
|
const T = f.current ? C.rows.slice(0, o) : C.rows;
|
|
14605
|
-
i > 0 ? l((
|
|
14606
|
-
const
|
|
14633
|
+
i > 0 ? l((O) => {
|
|
14634
|
+
const _ = O == null ? void 0 : O.rows.length, I = _ ? _ > i ? O.rows.slice(0, i) : O.rows : null;
|
|
14607
14635
|
return {
|
|
14608
14636
|
columns: C.columns,
|
|
14609
|
-
rows:
|
|
14610
|
-
...
|
|
14637
|
+
rows: I ? [
|
|
14638
|
+
...I,
|
|
14611
14639
|
...T
|
|
14612
14640
|
] : T
|
|
14613
14641
|
};
|
|
@@ -14655,15 +14683,15 @@ const XR = (e) => {
|
|
|
14655
14683
|
o
|
|
14656
14684
|
]);
|
|
14657
14685
|
};
|
|
14658
|
-
function
|
|
14659
|
-
return
|
|
14686
|
+
function Ve() {
|
|
14687
|
+
return Ve = Object.assign ? Object.assign.bind() : function(e) {
|
|
14660
14688
|
for (var t = 1; t < arguments.length; t++) {
|
|
14661
14689
|
var r = arguments[t];
|
|
14662
14690
|
for (var n in r)
|
|
14663
14691
|
({}).hasOwnProperty.call(r, n) && (e[n] = r[n]);
|
|
14664
14692
|
}
|
|
14665
14693
|
return e;
|
|
14666
|
-
},
|
|
14694
|
+
}, Ve.apply(null, arguments);
|
|
14667
14695
|
}
|
|
14668
14696
|
function De(e, t) {
|
|
14669
14697
|
if (!(e instanceof t))
|
|
@@ -16495,8 +16523,8 @@ function BD(e) {
|
|
|
16495
16523
|
var g = f, m = g.memoizeOptions, h = m === void 0 ? r : m, v = Array.isArray(h) ? h : [h], y = HD(s), E = e.apply(void 0, [function() {
|
|
16496
16524
|
return c++, p.apply(null, arguments);
|
|
16497
16525
|
}].concat(v)), x = e(function() {
|
|
16498
|
-
for (var C = [], T = y.length,
|
|
16499
|
-
C.push(y[
|
|
16526
|
+
for (var C = [], T = y.length, O = 0; O < T; O++)
|
|
16527
|
+
C.push(y[O].apply(null, arguments));
|
|
16500
16528
|
return d = E.apply(null, C), d;
|
|
16501
16529
|
});
|
|
16502
16530
|
return Object.assign(x, {
|
|
@@ -16864,7 +16892,7 @@ function T$(e, t, r) {
|
|
|
16864
16892
|
v && (y = Math.floor(v * s / a));
|
|
16865
16893
|
var E = h.width + y;
|
|
16866
16894
|
a -= v, s -= y;
|
|
16867
|
-
var x =
|
|
16895
|
+
var x = Ve({}, h, {
|
|
16868
16896
|
width: E,
|
|
16869
16897
|
offset: f
|
|
16870
16898
|
});
|
|
@@ -16877,19 +16905,19 @@ function T$(e, t, r) {
|
|
|
16877
16905
|
}
|
|
16878
16906
|
}
|
|
16879
16907
|
for (var w in e) {
|
|
16880
|
-
var C = e[w], T = 0,
|
|
16908
|
+
var C = e[w], T = 0, O = 0, _ = ah(C), I;
|
|
16881
16909
|
try {
|
|
16882
|
-
for (
|
|
16883
|
-
var L =
|
|
16910
|
+
for (_.s(); !(I = _.n()).done; ) {
|
|
16911
|
+
var L = I.value, z = l[L.index], S = Ve({}, L, {
|
|
16884
16912
|
width: z,
|
|
16885
16913
|
offset: T
|
|
16886
16914
|
});
|
|
16887
|
-
T += z, n[w][
|
|
16915
|
+
T += z, n[w][O] = S, O++;
|
|
16888
16916
|
}
|
|
16889
16917
|
} catch (M) {
|
|
16890
|
-
|
|
16918
|
+
_.e(M);
|
|
16891
16919
|
} finally {
|
|
16892
|
-
|
|
16920
|
+
_.f();
|
|
16893
16921
|
}
|
|
16894
16922
|
}
|
|
16895
16923
|
return {
|
|
@@ -16919,7 +16947,7 @@ function R$(e, t, r) {
|
|
|
16919
16947
|
var n = t.scrollLeft, o = e.scrollX;
|
|
16920
16948
|
n !== void 0 && (!r || n !== r.scrollLeft) && (o = n), o = _$(e, t, r.scrollToColumn, o);
|
|
16921
16949
|
var i = Oi(e), a = i.maxScrollX;
|
|
16922
|
-
o = Ds(o, 0, a),
|
|
16950
|
+
o = Ds(o, 0, a), Ve(e, {
|
|
16923
16951
|
maxScrollX: a,
|
|
16924
16952
|
scrollX: o
|
|
16925
16953
|
});
|
|
@@ -16980,7 +17008,7 @@ function _o(e, t) {
|
|
|
16980
17008
|
var d = r.firstViewportIdx, f = r.endViewportIdx;
|
|
16981
17009
|
M$(e, r, e.scrolling);
|
|
16982
17010
|
var p = 0;
|
|
16983
|
-
i > 0 && (p = e.rowOffsets[r.firstViewportIdx] - c), p = Ds(p, 0, l),
|
|
17011
|
+
i > 0 && (p = e.rowOffsets[r.firstViewportIdx] - c), p = Ds(p, 0, l), Ve(e, {
|
|
16984
17012
|
firstRowIndex: d,
|
|
16985
17013
|
firstRowOffset: c,
|
|
16986
17014
|
endRowIndex: f,
|
|
@@ -17194,11 +17222,11 @@ process.env.NODE_ENV !== "production" && function() {
|
|
|
17194
17222
|
}
|
|
17195
17223
|
}
|
|
17196
17224
|
}
|
|
17197
|
-
var C = l, T = c,
|
|
17225
|
+
var C = l, T = c, O = s, _ = a, I = t, L = d, z = n, S = m, M = g, H = r, F = i, $ = o, k = f, B = !1;
|
|
17198
17226
|
function G(W) {
|
|
17199
|
-
return B || (B = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),
|
|
17227
|
+
return B || (B = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), A(W) || w(W) === l;
|
|
17200
17228
|
}
|
|
17201
|
-
function
|
|
17229
|
+
function A(W) {
|
|
17202
17230
|
return w(W) === c;
|
|
17203
17231
|
}
|
|
17204
17232
|
function V(W) {
|
|
@@ -17234,7 +17262,7 @@ process.env.NODE_ENV !== "production" && function() {
|
|
|
17234
17262
|
function Ce(W) {
|
|
17235
17263
|
return w(W) === f;
|
|
17236
17264
|
}
|
|
17237
|
-
Se.AsyncMode = C, Se.ConcurrentMode = T, Se.ContextConsumer =
|
|
17265
|
+
Se.AsyncMode = C, Se.ConcurrentMode = T, Se.ContextConsumer = O, Se.ContextProvider = _, Se.Element = I, Se.ForwardRef = L, Se.Fragment = z, Se.Lazy = S, Se.Memo = M, Se.Portal = H, Se.Profiler = F, Se.StrictMode = $, Se.Suspense = k, Se.isAsyncMode = G, Se.isConcurrentMode = A, Se.isContextConsumer = V, Se.isContextProvider = K, Se.isElement = q, Se.isForwardRef = X, Se.isFragment = Z, Se.isLazy = ee, Se.isMemo = ie, Se.isPortal = oe, Se.isProfiler = fe, Se.isStrictMode = se, Se.isSuspense = Ce, Se.isValidElementType = x, Se.typeOf = w;
|
|
17238
17266
|
}();
|
|
17239
17267
|
process.env.NODE_ENV === "production" ? Fa.exports = Te : Fa.exports = Se;
|
|
17240
17268
|
/*
|
|
@@ -17377,29 +17405,29 @@ var Y$ = function(e, t) {
|
|
|
17377
17405
|
function c(M) {
|
|
17378
17406
|
if (process.env.NODE_ENV !== "production")
|
|
17379
17407
|
var H = {}, F = 0;
|
|
17380
|
-
function $(B, G,
|
|
17381
|
-
if (V = V || i, q = q ||
|
|
17408
|
+
function $(B, G, A, V, K, q, X) {
|
|
17409
|
+
if (V = V || i, q = q || A, X !== An) {
|
|
17382
17410
|
if (t) {
|
|
17383
17411
|
var Z = new Error(
|
|
17384
17412
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
17385
17413
|
);
|
|
17386
17414
|
throw Z.name = "Invariant Violation", Z;
|
|
17387
17415
|
} else if (process.env.NODE_ENV !== "production" && typeof console != "undefined") {
|
|
17388
|
-
var ee = V + ":" +
|
|
17416
|
+
var ee = V + ":" + A;
|
|
17389
17417
|
!H[ee] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
17390
17418
|
F < 3 && (Ln(
|
|
17391
17419
|
"You are manually calling a React.PropTypes validation function for the `" + q + "` prop on `" + V + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
17392
17420
|
), H[ee] = !0, F++);
|
|
17393
17421
|
}
|
|
17394
17422
|
}
|
|
17395
|
-
return G[
|
|
17423
|
+
return G[A] == null ? B ? G[A] === null ? new l("The " + K + " `" + q + "` is marked as required " + ("in `" + V + "`, but its value is `null`.")) : new l("The " + K + " `" + q + "` is marked as required in " + ("`" + V + "`, but its value is `undefined`.")) : null : M(G, A, V, K, q);
|
|
17396
17424
|
}
|
|
17397
17425
|
var k = $.bind(null, !1);
|
|
17398
17426
|
return k.isRequired = $.bind(null, !0), k;
|
|
17399
17427
|
}
|
|
17400
17428
|
function d(M) {
|
|
17401
|
-
function H(F, $, k, B, G,
|
|
17402
|
-
var V = F[$], K =
|
|
17429
|
+
function H(F, $, k, B, G, A) {
|
|
17430
|
+
var V = F[$], K = I(V);
|
|
17403
17431
|
if (K !== M) {
|
|
17404
17432
|
var q = L(V);
|
|
17405
17433
|
return new l(
|
|
@@ -17418,13 +17446,13 @@ var Y$ = function(e, t) {
|
|
|
17418
17446
|
function H(F, $, k, B, G) {
|
|
17419
17447
|
if (typeof M != "function")
|
|
17420
17448
|
return new l("Property `" + G + "` of component `" + k + "` has invalid PropType notation inside arrayOf.");
|
|
17421
|
-
var
|
|
17422
|
-
if (!Array.isArray(
|
|
17423
|
-
var V = A
|
|
17449
|
+
var A = F[$];
|
|
17450
|
+
if (!Array.isArray(A)) {
|
|
17451
|
+
var V = I(A);
|
|
17424
17452
|
return new l("Invalid " + B + " `" + G + "` of type " + ("`" + V + "` supplied to `" + k + "`, expected an array."));
|
|
17425
17453
|
}
|
|
17426
|
-
for (var K = 0; K <
|
|
17427
|
-
var q = M(
|
|
17454
|
+
for (var K = 0; K < A.length; K++) {
|
|
17455
|
+
var q = M(A, K, k, B, G + "[" + K + "]", An);
|
|
17428
17456
|
if (q instanceof Error)
|
|
17429
17457
|
return q;
|
|
17430
17458
|
}
|
|
@@ -17436,8 +17464,8 @@ var Y$ = function(e, t) {
|
|
|
17436
17464
|
function M(H, F, $, k, B) {
|
|
17437
17465
|
var G = H[F];
|
|
17438
17466
|
if (!e(G)) {
|
|
17439
|
-
var
|
|
17440
|
-
return new l("Invalid " + k + " `" + B + "` of type " + ("`" +
|
|
17467
|
+
var A = I(G);
|
|
17468
|
+
return new l("Invalid " + k + " `" + B + "` of type " + ("`" + A + "` supplied to `" + $ + "`, expected a single ReactElement."));
|
|
17441
17469
|
}
|
|
17442
17470
|
return null;
|
|
17443
17471
|
}
|
|
@@ -17447,8 +17475,8 @@ var Y$ = function(e, t) {
|
|
|
17447
17475
|
function M(H, F, $, k, B) {
|
|
17448
17476
|
var G = H[F];
|
|
17449
17477
|
if (!U$.isValidElementType(G)) {
|
|
17450
|
-
var
|
|
17451
|
-
return new l("Invalid " + k + " `" + B + "` of type " + ("`" +
|
|
17478
|
+
var A = I(G);
|
|
17479
|
+
return new l("Invalid " + k + " `" + B + "` of type " + ("`" + A + "` supplied to `" + $ + "`, expected a single ReactElement type."));
|
|
17452
17480
|
}
|
|
17453
17481
|
return null;
|
|
17454
17482
|
}
|
|
@@ -17457,8 +17485,8 @@ var Y$ = function(e, t) {
|
|
|
17457
17485
|
function h(M) {
|
|
17458
17486
|
function H(F, $, k, B, G) {
|
|
17459
17487
|
if (!(F[$] instanceof M)) {
|
|
17460
|
-
var
|
|
17461
|
-
return new l("Invalid " + B + " `" + G + "` of type " + ("`" + V + "` supplied to `" + k + "`, expected ") + ("instance of `" +
|
|
17488
|
+
var A = M.name || i, V = S(F[$]);
|
|
17489
|
+
return new l("Invalid " + B + " `" + G + "` of type " + ("`" + V + "` supplied to `" + k + "`, expected ") + ("instance of `" + A + "`."));
|
|
17462
17490
|
}
|
|
17463
17491
|
return null;
|
|
17464
17492
|
}
|
|
@@ -17470,14 +17498,14 @@ var Y$ = function(e, t) {
|
|
|
17470
17498
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
17471
17499
|
) : Ln("Invalid argument supplied to oneOf, expected an array.")), Qi;
|
|
17472
17500
|
function H(F, $, k, B, G) {
|
|
17473
|
-
for (var
|
|
17474
|
-
if (s(
|
|
17501
|
+
for (var A = F[$], V = 0; V < M.length; V++)
|
|
17502
|
+
if (s(A, M[V]))
|
|
17475
17503
|
return null;
|
|
17476
17504
|
var K = JSON.stringify(M, function(X, Z) {
|
|
17477
17505
|
var ee = L(Z);
|
|
17478
17506
|
return ee === "symbol" ? String(Z) : Z;
|
|
17479
17507
|
});
|
|
17480
|
-
return new l("Invalid " + B + " `" + G + "` of value `" + String(
|
|
17508
|
+
return new l("Invalid " + B + " `" + G + "` of value `" + String(A) + "` " + ("supplied to `" + k + "`, expected one of " + K + "."));
|
|
17481
17509
|
}
|
|
17482
17510
|
return c(H);
|
|
17483
17511
|
}
|
|
@@ -17485,12 +17513,12 @@ var Y$ = function(e, t) {
|
|
|
17485
17513
|
function H(F, $, k, B, G) {
|
|
17486
17514
|
if (typeof M != "function")
|
|
17487
17515
|
return new l("Property `" + G + "` of component `" + k + "` has invalid PropType notation inside objectOf.");
|
|
17488
|
-
var
|
|
17516
|
+
var A = F[$], V = I(A);
|
|
17489
17517
|
if (V !== "object")
|
|
17490
17518
|
return new l("Invalid " + B + " `" + G + "` of type " + ("`" + V + "` supplied to `" + k + "`, expected an object."));
|
|
17491
|
-
for (var K in
|
|
17492
|
-
if (Ml(
|
|
17493
|
-
var q = M(
|
|
17519
|
+
for (var K in A)
|
|
17520
|
+
if (Ml(A, K)) {
|
|
17521
|
+
var q = M(A, K, k, B, G + "." + K, An);
|
|
17494
17522
|
if (q instanceof Error)
|
|
17495
17523
|
return q;
|
|
17496
17524
|
}
|
|
@@ -17508,21 +17536,21 @@ var Y$ = function(e, t) {
|
|
|
17508
17536
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + z(F) + " at index " + H + "."
|
|
17509
17537
|
), Qi;
|
|
17510
17538
|
}
|
|
17511
|
-
function $(k, B, G,
|
|
17539
|
+
function $(k, B, G, A, V) {
|
|
17512
17540
|
for (var K = [], q = 0; q < M.length; q++) {
|
|
17513
|
-
var X = M[q], Z = X(k, B, G,
|
|
17541
|
+
var X = M[q], Z = X(k, B, G, A, V, An);
|
|
17514
17542
|
if (Z == null)
|
|
17515
17543
|
return null;
|
|
17516
17544
|
Z.data && Ml(Z.data, "expectedType") && K.push(Z.data.expectedType);
|
|
17517
17545
|
}
|
|
17518
17546
|
var ee = K.length > 0 ? ", expected one of type [" + K.join(", ") + "]" : "";
|
|
17519
|
-
return new l("Invalid " +
|
|
17547
|
+
return new l("Invalid " + A + " `" + V + "` supplied to " + ("`" + G + "`" + ee + "."));
|
|
17520
17548
|
}
|
|
17521
17549
|
return c($);
|
|
17522
17550
|
}
|
|
17523
17551
|
function x() {
|
|
17524
17552
|
function M(H, F, $, k, B) {
|
|
17525
|
-
return
|
|
17553
|
+
return O(H[F]) ? null : new l("Invalid " + k + " `" + B + "` supplied to " + ("`" + $ + "`, expected a ReactNode."));
|
|
17526
17554
|
}
|
|
17527
17555
|
return c(M);
|
|
17528
17556
|
}
|
|
@@ -17533,14 +17561,14 @@ var Y$ = function(e, t) {
|
|
|
17533
17561
|
}
|
|
17534
17562
|
function C(M) {
|
|
17535
17563
|
function H(F, $, k, B, G) {
|
|
17536
|
-
var
|
|
17564
|
+
var A = F[$], V = I(A);
|
|
17537
17565
|
if (V !== "object")
|
|
17538
17566
|
return new l("Invalid " + B + " `" + G + "` of type `" + V + "` " + ("supplied to `" + k + "`, expected `object`."));
|
|
17539
17567
|
for (var K in M) {
|
|
17540
17568
|
var q = M[K];
|
|
17541
17569
|
if (typeof q != "function")
|
|
17542
17570
|
return w(k, B, G, K, L(q));
|
|
17543
|
-
var X = q(
|
|
17571
|
+
var X = q(A, K, k, B, G + "." + K, An);
|
|
17544
17572
|
if (X)
|
|
17545
17573
|
return X;
|
|
17546
17574
|
}
|
|
@@ -17550,7 +17578,7 @@ var Y$ = function(e, t) {
|
|
|
17550
17578
|
}
|
|
17551
17579
|
function T(M) {
|
|
17552
17580
|
function H(F, $, k, B, G) {
|
|
17553
|
-
var
|
|
17581
|
+
var A = F[$], V = I(A);
|
|
17554
17582
|
if (V !== "object")
|
|
17555
17583
|
return new l("Invalid " + B + " `" + G + "` of type `" + V + "` " + ("supplied to `" + k + "`, expected `object`."));
|
|
17556
17584
|
var K = G$({}, F[$], M);
|
|
@@ -17563,7 +17591,7 @@ var Y$ = function(e, t) {
|
|
|
17563
17591
|
"Invalid " + B + " `" + G + "` key `" + q + "` supplied to `" + k + "`.\nBad object: " + JSON.stringify(F[$], null, " ") + `
|
|
17564
17592
|
Valid keys: ` + JSON.stringify(Object.keys(M), null, " ")
|
|
17565
17593
|
);
|
|
17566
|
-
var Z = X(
|
|
17594
|
+
var Z = X(A, q, k, B, G + "." + q, An);
|
|
17567
17595
|
if (Z)
|
|
17568
17596
|
return Z;
|
|
17569
17597
|
}
|
|
@@ -17571,7 +17599,7 @@ Valid keys: ` + JSON.stringify(Object.keys(M), null, " ")
|
|
|
17571
17599
|
}
|
|
17572
17600
|
return c(H);
|
|
17573
17601
|
}
|
|
17574
|
-
function
|
|
17602
|
+
function O(M) {
|
|
17575
17603
|
switch (typeof M) {
|
|
17576
17604
|
case "number":
|
|
17577
17605
|
case "string":
|
|
@@ -17581,7 +17609,7 @@ Valid keys: ` + JSON.stringify(Object.keys(M), null, " ")
|
|
|
17581
17609
|
return !M;
|
|
17582
17610
|
case "object":
|
|
17583
17611
|
if (Array.isArray(M))
|
|
17584
|
-
return M.every(
|
|
17612
|
+
return M.every(O);
|
|
17585
17613
|
if (M === null || e(M))
|
|
17586
17614
|
return !0;
|
|
17587
17615
|
var H = o(M);
|
|
@@ -17589,12 +17617,12 @@ Valid keys: ` + JSON.stringify(Object.keys(M), null, " ")
|
|
|
17589
17617
|
var F = H.call(M), $;
|
|
17590
17618
|
if (H !== M.entries) {
|
|
17591
17619
|
for (; !($ = F.next()).done; )
|
|
17592
|
-
if (!
|
|
17620
|
+
if (!O($.value))
|
|
17593
17621
|
return !1;
|
|
17594
17622
|
} else
|
|
17595
17623
|
for (; !($ = F.next()).done; ) {
|
|
17596
17624
|
var k = $.value;
|
|
17597
|
-
if (k && !
|
|
17625
|
+
if (k && !O(k[1]))
|
|
17598
17626
|
return !1;
|
|
17599
17627
|
}
|
|
17600
17628
|
} else
|
|
@@ -17604,17 +17632,17 @@ Valid keys: ` + JSON.stringify(Object.keys(M), null, " ")
|
|
|
17604
17632
|
return !1;
|
|
17605
17633
|
}
|
|
17606
17634
|
}
|
|
17607
|
-
function
|
|
17635
|
+
function _(M, H) {
|
|
17608
17636
|
return M === "symbol" ? !0 : H ? H["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && H instanceof Symbol : !1;
|
|
17609
17637
|
}
|
|
17610
|
-
function
|
|
17638
|
+
function I(M) {
|
|
17611
17639
|
var H = typeof M;
|
|
17612
|
-
return Array.isArray(M) ? "array" : M instanceof RegExp ? "object" :
|
|
17640
|
+
return Array.isArray(M) ? "array" : M instanceof RegExp ? "object" : _(H, M) ? "symbol" : H;
|
|
17613
17641
|
}
|
|
17614
17642
|
function L(M) {
|
|
17615
17643
|
if (typeof M == "undefined" || M === null)
|
|
17616
17644
|
return "" + M;
|
|
17617
|
-
var H =
|
|
17645
|
+
var H = I(M);
|
|
17618
17646
|
if (H === "object") {
|
|
17619
17647
|
if (M instanceof Date)
|
|
17620
17648
|
return "date";
|
|
@@ -19184,8 +19212,8 @@ function N8(e) {
|
|
|
19184
19212
|
return !h && !(i.length && i.indexOf(E.type) !== -1) && w.measureTime(function() {
|
|
19185
19213
|
var C = Gc(E, "", r, n, s);
|
|
19186
19214
|
if (C) {
|
|
19187
|
-
var T = C.keyPath,
|
|
19188
|
-
console.error("A non-serializable value was detected in an action, in the path: `" + T + "`. Value:",
|
|
19215
|
+
var T = C.keyPath, O = C.value;
|
|
19216
|
+
console.error("A non-serializable value was detected in an action, in the path: `" + T + "`. Value:", O, `
|
|
19189
19217
|
Take a look at the logic that dispatched this action: `, E, `
|
|
19190
19218
|
(See https://redux.js.org/faq/actions#why-should-type-be-a-string-or-at-least-serializable-why-should-my-action-types-be-constants)`, `
|
|
19191
19219
|
(To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)`);
|
|
@@ -19193,8 +19221,8 @@ Take a look at the logic that dispatched this action: `, E, `
|
|
|
19193
19221
|
}), g || (w.measureTime(function() {
|
|
19194
19222
|
var C = v.getState(), T = Gc(C, "", r, n, c);
|
|
19195
19223
|
if (T) {
|
|
19196
|
-
var
|
|
19197
|
-
console.error("A non-serializable value was detected in the state, in the path: `" +
|
|
19224
|
+
var O = T.keyPath, _ = T.value;
|
|
19225
|
+
console.error("A non-serializable value was detected in the state, in the path: `" + O + "`. Value:", _, `
|
|
19198
19226
|
Take a look at the reducer(s) handling this action type: ` + E.type + `.
|
|
19199
19227
|
(See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)`);
|
|
19200
19228
|
}
|
|
@@ -19492,7 +19520,7 @@ var zv = V8({
|
|
|
19492
19520
|
reducers: {
|
|
19493
19521
|
initialize: function(t, r) {
|
|
19494
19522
|
var n = r.payload;
|
|
19495
|
-
|
|
19523
|
+
Ve(t, j8()), Ph(t, n), Ah(t);
|
|
19496
19524
|
var o = rh(t, n);
|
|
19497
19525
|
_o(t, o), ch.initialize(t, n, {});
|
|
19498
19526
|
},
|
|
@@ -19536,26 +19564,26 @@ function Ah(e) {
|
|
|
19536
19564
|
for (var t = e.rowSettings, r = t.rowHeight, n = t.rowsCount, o = t.subRowHeight, i = t.rowHeightGetter, a = t.subRowHeightGetter, s = r + o, l = 0, c = new Array(n), d = 0; d < n; d++)
|
|
19537
19565
|
e.isVerticalScrollExact ? c[d] = i(d) + a(d) : c[d] = s, l += c[d];
|
|
19538
19566
|
var f = new kD(c);
|
|
19539
|
-
e.scrollContentHeight = l,
|
|
19567
|
+
e.scrollContentHeight = l, Ve(e.getInternal(), {
|
|
19540
19568
|
rowOffsetIntervalTree: f,
|
|
19541
19569
|
storedHeights: c
|
|
19542
19570
|
});
|
|
19543
19571
|
}
|
|
19544
19572
|
function Ph(e, t) {
|
|
19545
19573
|
var r = PD(t.children), n = r.columnGroupElements, o = r.columnElements, i = r.elementTemplates, a = r.useGroupHeader;
|
|
19546
|
-
|
|
19574
|
+
Ve(e, {
|
|
19547
19575
|
columnGroupElements: n,
|
|
19548
19576
|
columnElements: o,
|
|
19549
19577
|
elementTemplates: i,
|
|
19550
19578
|
propsRevision: e.propsRevision + 1,
|
|
19551
19579
|
isVerticalScrollExact: t.isVerticalScrollExact
|
|
19552
|
-
}), Object.freeze(e.columnElements), Object.freeze(e.columnGroupElements), Object.freeze(e.elementTemplates), e.elementHeights =
|
|
19580
|
+
}), Object.freeze(e.columnElements), Object.freeze(e.columnGroupElements), Object.freeze(e.elementTemplates), e.elementHeights = Ve({}, e.elementHeights, No(t, ["cellGroupWrapperHeight", "footerHeight", "groupHeaderHeight", "headerHeight"])), a || (e.elementHeights.groupHeaderHeight = 0), e.rowSettings = Ve({}, e.rowSettings, No(t, ["bufferRowCount", "rowHeight", "rowsCount", "subRowHeight"]));
|
|
19553
19581
|
var s = e.rowSettings, l = s.rowHeight, c = s.subRowHeight;
|
|
19554
19582
|
e.rowSettings.rowHeightGetter = t.rowHeightGetter || function() {
|
|
19555
19583
|
return l;
|
|
19556
19584
|
}, e.rowSettings.subRowHeightGetter = t.subRowHeightGetter || function() {
|
|
19557
19585
|
return c || 0;
|
|
19558
|
-
}, e.rowSettings.rowAttributesGetter = t.rowAttributesGetter, e.scrollFlags =
|
|
19586
|
+
}, e.rowSettings.rowAttributesGetter = t.rowAttributesGetter, e.scrollFlags = Ve({}, e.scrollFlags, No(t, ["overflowX", "overflowY", "showScrollbarX", "showScrollbarY"])), e.tableSize = Ve({}, e.tableSize, No(t, ["height", "maxHeight", "ownerHeight", "width"])), e.tableSize.useMaxHeight = e.tableSize.height === void 0, e.scrollbarXHeight = t.scrollbarXHeight, e.scrollbarYWidth = t.scrollbarYWidth;
|
|
19559
19587
|
}
|
|
19560
19588
|
var G8 = zv.reducer, vo = zv.actions, Y8 = vo.initialize, q8 = vo.propChange, X8 = vo.scrollEnd, K8 = vo.scrollToX, Q8 = vo.scrollToY, Z8 = vo.updateRowHeights, J8 = function(t, r) {
|
|
19561
19589
|
var n = Qm({
|
|
@@ -19818,7 +19846,7 @@ var Va = /* @__PURE__ */ function(e) {
|
|
|
19818
19846
|
height: i,
|
|
19819
19847
|
width: a
|
|
19820
19848
|
}, s);
|
|
19821
|
-
return /* @__PURE__ */ Y.createElement("div",
|
|
19849
|
+
return /* @__PURE__ */ Y.createElement("div", Ve({}, d, {
|
|
19822
19850
|
className: lt(le("fixedDataTableCellLayout/wrap1"), le("public/fixedDataTableCell/wrap1"), l),
|
|
19823
19851
|
style: f
|
|
19824
19852
|
}), /* @__PURE__ */ Y.createElement("div", {
|
|
@@ -19946,7 +19974,7 @@ var xd = /* @__PURE__ */ Y.forwardRef(function(t, r) {
|
|
|
19946
19974
|
height: n,
|
|
19947
19975
|
width: o
|
|
19948
19976
|
}, i);
|
|
19949
|
-
return /* @__PURE__ */ Y.createElement("div",
|
|
19977
|
+
return /* @__PURE__ */ Y.createElement("div", Ve({}, l, {
|
|
19950
19978
|
className: lt(le("fixedDataTableCellLayout/wrap"), le("public/fixedDataTableCell/wrap"), le("public/fixedDataTableCell/cellContent"), a),
|
|
19951
19979
|
style: c,
|
|
19952
19980
|
ref: r
|
|
@@ -20336,7 +20364,7 @@ var hN = 1, ui = /* @__PURE__ */ function(e) {
|
|
|
20336
20364
|
contents: this.cellRef.current
|
|
20337
20365
|
}, s = /* @__PURE__ */ Y.createElement(lN, {
|
|
20338
20366
|
value: this.context
|
|
20339
|
-
}, /* @__PURE__ */ Y.createElement(Ed,
|
|
20367
|
+
}, /* @__PURE__ */ Y.createElement(Ed, Ve({}, this.props, a)));
|
|
20340
20368
|
if (this.props.__react19RootCreator) {
|
|
20341
20369
|
var l = Vt.flushSync || function(c) {
|
|
20342
20370
|
return c();
|
|
@@ -21040,16 +21068,16 @@ var Sd = /* @__PURE__ */ function(e) {
|
|
|
21040
21068
|
this.props.isHeader && (this.props.onColumnResizeEnd || this.props.onColumnReorderEnd) ? this.props.onColumnResizeEnd && this.props.onColumnReorderEnd ? (g = ea(ea({}, g), {}, {
|
|
21041
21069
|
minWidth: this.props.minWidth,
|
|
21042
21070
|
maxWidth: this.props.maxWidth
|
|
21043
|
-
}), m = /* @__PURE__ */ Y.createElement(ui,
|
|
21071
|
+
}), m = /* @__PURE__ */ Y.createElement(ui, Ve({}, g, {
|
|
21044
21072
|
onColumnReorderEnd: this.props.onColumnReorderEnd
|
|
21045
21073
|
}), /* @__PURE__ */ Y.createElement(ja, {
|
|
21046
21074
|
onColumnResizeEnd: this.props.onColumnResizeEnd
|
|
21047
|
-
}, d.cell))) : this.props.onColumnReorderEnd ? m = /* @__PURE__ */ Y.createElement(ui,
|
|
21075
|
+
}, d.cell))) : this.props.onColumnReorderEnd ? m = /* @__PURE__ */ Y.createElement(ui, Ve({}, g, {
|
|
21048
21076
|
onColumnReorderEnd: this.props.onColumnReorderEnd
|
|
21049
21077
|
}), d.cell) : (g = ea(ea({}, g), {}, {
|
|
21050
21078
|
minWidth: this.props.minWidth,
|
|
21051
21079
|
maxWidth: this.props.maxWidth
|
|
21052
|
-
}), m = /* @__PURE__ */ Y.createElement(ja,
|
|
21080
|
+
}), m = /* @__PURE__ */ Y.createElement(ja, Ve({}, g, {
|
|
21053
21081
|
onColumnResizeEnd: this.props.onColumnResizeEnd
|
|
21054
21082
|
}), d.cell)) : /* @__PURE__ */ Y.isValidElement(d.cell) ? m = /* @__PURE__ */ Y.cloneElement(d.cell, g) : typeof d.cell == "function" ? m = d.cell(g) : m = /* @__PURE__ */ Y.createElement(Va, g, d.cell);
|
|
21055
21083
|
var h = l ? "columnheader" : "gridcell";
|
|
@@ -21549,7 +21577,7 @@ var UN = 1, e1 = /* @__PURE__ */ function(e) {
|
|
|
21549
21577
|
className: le("public/fixedDataTable/scrollbarSpacer")
|
|
21550
21578
|
});
|
|
21551
21579
|
}
|
|
21552
|
-
return /* @__PURE__ */ Y.createElement("div",
|
|
21580
|
+
return /* @__PURE__ */ Y.createElement("div", Ve({
|
|
21553
21581
|
className: lt(a, this.props.className),
|
|
21554
21582
|
role: "row",
|
|
21555
21583
|
"aria-rowindex": this.props.ariaRowIndex
|
|
@@ -21840,7 +21868,7 @@ var t1 = /* @__PURE__ */ function(e) {
|
|
|
21840
21868
|
"public/fixedDataTable/hasBottomBorder": f
|
|
21841
21869
|
}));
|
|
21842
21870
|
var p = cn(i, this.props.firstViewportRowIndex, this.props.endViewportRowIndex);
|
|
21843
|
-
return /* @__PURE__ */ Y.createElement(qo,
|
|
21871
|
+
return /* @__PURE__ */ Y.createElement(qo, Ve({
|
|
21844
21872
|
key: a,
|
|
21845
21873
|
index: i,
|
|
21846
21874
|
ariaRowIndex: i + l.ariaRowIndexOffset,
|
|
@@ -22184,7 +22212,7 @@ var ta = 25, Td = /* @__PURE__ */ function(e) {
|
|
|
22184
22212
|
}, {
|
|
22185
22213
|
key: "render",
|
|
22186
22214
|
value: function() {
|
|
22187
|
-
var o = c7(this.props), i = o.ariaGroupHeaderIndex, a = o.ariaHeaderIndex, s = o.ariaFooterIndex, l = o.ariaRowCount, c = o.ariaRowIndexOffset, d = $7(this.props), f = d.fixedColumnGroups, p = d.fixedColumns, g = d.fixedRightColumnGroups, m = d.fixedRightColumns, h = d.scrollableColumnGroups, v = d.scrollableColumns, y = Bn(this.props), E = y.bodyHeight, x = y.bodyOffsetTop, w = y.componentHeight, C = y.footOffsetTop, T = y.scrollbarXOffsetTop,
|
|
22215
|
+
var o = c7(this.props), i = o.ariaGroupHeaderIndex, a = o.ariaHeaderIndex, s = o.ariaFooterIndex, l = o.ariaRowCount, c = o.ariaRowIndexOffset, d = $7(this.props), f = d.fixedColumnGroups, p = d.fixedColumns, g = d.fixedRightColumnGroups, m = d.fixedRightColumns, h = d.scrollableColumnGroups, v = d.scrollableColumns, y = Bn(this.props), E = y.bodyHeight, x = y.bodyOffsetTop, w = y.componentHeight, C = y.footOffsetTop, T = y.scrollbarXOffsetTop, O = y.visibleRowsHeight, _ = this.props, I = _.className, L = _.elementHeights, z = _.gridAttributesGetter, S = _.maxScrollY, M = _.onColumnReorderEndCallback, H = _.onColumnResizeEndCallback, F = _.scrollContentHeight, $ = _.scrollX, k = _.scrollY, B = _.scrolling, G = _.tableSize, A = _.touchScrollEnabled, V = _.scrollbarYWidth, K = G.ownerHeight, q = G.width, X = L.cellGroupWrapperHeight, Z = L.footerHeight, ee = L.groupHeaderHeight, ie = L.headerHeight, oe = mn(this.props), fe = oe.scrollEnabledX, se = oe.scrollEnabledY, Ce = z && z(), W;
|
|
22188
22216
|
ee > 0 && (W = /* @__PURE__ */ Y.createElement(qo, {
|
|
22189
22217
|
key: "group_header",
|
|
22190
22218
|
ariaRowIndex: i,
|
|
@@ -22202,7 +22230,7 @@ var ta = 25, Td = /* @__PURE__ */ function(e) {
|
|
|
22202
22230
|
fixedRightColumns: g,
|
|
22203
22231
|
scrollableColumns: h,
|
|
22204
22232
|
visible: !0,
|
|
22205
|
-
touchEnabled:
|
|
22233
|
+
touchEnabled: A,
|
|
22206
22234
|
onColumnResizeEndCallback: H,
|
|
22207
22235
|
onColumnReorderEndCallback: M,
|
|
22208
22236
|
showScrollbarY: se,
|
|
@@ -22253,7 +22281,7 @@ var ta = 25, Td = /* @__PURE__ */ function(e) {
|
|
|
22253
22281
|
fixedColumns: p.header,
|
|
22254
22282
|
fixedRightColumns: m.header,
|
|
22255
22283
|
scrollableColumns: v.header,
|
|
22256
|
-
touchEnabled:
|
|
22284
|
+
touchEnabled: A,
|
|
22257
22285
|
onColumnResizeEndCallback: H,
|
|
22258
22286
|
onColumnReorderEndCallback: M,
|
|
22259
22287
|
showScrollbarY: se,
|
|
@@ -22267,7 +22295,7 @@ var ta = 25, Td = /* @__PURE__ */ function(e) {
|
|
|
22267
22295
|
top: x
|
|
22268
22296
|
}
|
|
22269
22297
|
}));
|
|
22270
|
-
var Nt = K && K < w && F >
|
|
22298
|
+
var Nt = K && K < w && F > O, ot;
|
|
22271
22299
|
(Nt || k < S) && (ot = /* @__PURE__ */ Y.createElement("div", {
|
|
22272
22300
|
className: lt(le("fixedDataTableLayout/bottomShadow"), le("public/fixedDataTable/bottomShadow")),
|
|
22273
22301
|
style: {
|
|
@@ -22276,17 +22304,17 @@ var ta = 25, Td = /* @__PURE__ */ function(e) {
|
|
|
22276
22304
|
}));
|
|
22277
22305
|
var yt = null;
|
|
22278
22306
|
(this.props.keyboardPageEnabled || this.props.keyboardScrollEnabled) && (yt = 0);
|
|
22279
|
-
var st =
|
|
22280
|
-
return this.props.isRTL && (st = lt(st, "fixedDataTable_isRTL")), /* @__PURE__ */ Y.createElement("div",
|
|
22307
|
+
var st = I;
|
|
22308
|
+
return this.props.isRTL && (st = lt(st, "fixedDataTable_isRTL")), /* @__PURE__ */ Y.createElement("div", Ve({
|
|
22281
22309
|
className: lt(st, le("fixedDataTableLayout/main"), le("public/fixedDataTable/main")),
|
|
22282
22310
|
role: "grid",
|
|
22283
22311
|
"aria-rowcount": l
|
|
22284
22312
|
}, Ce, {
|
|
22285
22313
|
tabIndex: yt,
|
|
22286
22314
|
onKeyDown: this._onKeyDown,
|
|
22287
|
-
onTouchStart:
|
|
22288
|
-
onTouchEnd:
|
|
22289
|
-
onTouchCancel:
|
|
22315
|
+
onTouchStart: A ? this._touchHandler.onTouchStart : null,
|
|
22316
|
+
onTouchEnd: A ? this._touchHandler.onTouchEnd : null,
|
|
22317
|
+
onTouchCancel: A ? this._touchHandler.onTouchCancel : null,
|
|
22290
22318
|
ref: this._onRef,
|
|
22291
22319
|
style: {
|
|
22292
22320
|
height: w,
|
|
@@ -22816,7 +22844,7 @@ var h9 = /* @__PURE__ */ function(e) {
|
|
|
22816
22844
|
style: s
|
|
22817
22845
|
}, /* @__PURE__ */ Y.createElement("div", {
|
|
22818
22846
|
style: l
|
|
22819
|
-
}, /* @__PURE__ */ Y.createElement(At,
|
|
22847
|
+
}, /* @__PURE__ */ Y.createElement(At, Ve({}, this.props, {
|
|
22820
22848
|
isOpaque: !0,
|
|
22821
22849
|
orientation: "horizontal",
|
|
22822
22850
|
offset: void 0
|
|
@@ -22941,13 +22969,13 @@ var Fl = lL, cL = function(t) {
|
|
|
22941
22969
|
}, v = function() {
|
|
22942
22970
|
var k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ue.SCROLLABLE;
|
|
22943
22971
|
f(k);
|
|
22944
|
-
var B =
|
|
22945
|
-
return B.reduce(function(G,
|
|
22946
|
-
return G +
|
|
22972
|
+
var B = _(k);
|
|
22973
|
+
return B.reduce(function(G, A) {
|
|
22974
|
+
return G + A.width;
|
|
22947
22975
|
}, 0);
|
|
22948
22976
|
}, y = function(k, B) {
|
|
22949
|
-
var G =
|
|
22950
|
-
return G[
|
|
22977
|
+
var G = _(B), A = m(k, B);
|
|
22978
|
+
return G[A];
|
|
22951
22979
|
}, E = function(k) {
|
|
22952
22980
|
c(k);
|
|
22953
22981
|
var B = p(k), G = y(k, B);
|
|
@@ -22956,26 +22984,26 @@ var Fl = lL, cL = function(t) {
|
|
|
22956
22984
|
var k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : null;
|
|
22957
22985
|
if (f(k, !0), Go(k))
|
|
22958
22986
|
return n.length + i.length + o.length;
|
|
22959
|
-
var B =
|
|
22987
|
+
var B = _(k);
|
|
22960
22988
|
return B.length;
|
|
22961
22989
|
}, w = function() {
|
|
22962
22990
|
var k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : null;
|
|
22963
22991
|
if (f(k, !0), Go(k))
|
|
22964
22992
|
return a.length + l.length + s.length;
|
|
22965
|
-
var B =
|
|
22993
|
+
var B = I(k);
|
|
22966
22994
|
return B.length;
|
|
22967
22995
|
}, C = function(k, B) {
|
|
22968
|
-
var G =
|
|
22969
|
-
return ra(G[
|
|
22996
|
+
var G = I(B), A = h(k, B);
|
|
22997
|
+
return ra(G[A]);
|
|
22970
22998
|
}, T = function(k) {
|
|
22971
22999
|
d(k);
|
|
22972
23000
|
var B = g(k);
|
|
22973
23001
|
return C(k, B);
|
|
22974
|
-
}, _ = function(k) {
|
|
22975
|
-
c(k);
|
|
22976
|
-
var B = p(k), G = y(k, B).groupIdx, I = L(G);
|
|
22977
|
-
return ra(I);
|
|
22978
23002
|
}, O = function(k) {
|
|
23003
|
+
c(k);
|
|
23004
|
+
var B = p(k), G = y(k, B).groupIdx, A = L(G);
|
|
23005
|
+
return ra(A);
|
|
23006
|
+
}, _ = function(k) {
|
|
22979
23007
|
if (k === ue.FIXED)
|
|
22980
23008
|
return n;
|
|
22981
23009
|
if (k === ue.FIXED_RIGHT)
|
|
@@ -22983,7 +23011,7 @@ var Fl = lL, cL = function(t) {
|
|
|
22983
23011
|
if (k === ue.SCROLLABLE)
|
|
22984
23012
|
return i;
|
|
22985
23013
|
throw "Invalid cell group type";
|
|
22986
|
-
},
|
|
23014
|
+
}, I = function(k) {
|
|
22987
23015
|
if (k === ue.FIXED)
|
|
22988
23016
|
return a;
|
|
22989
23017
|
if (k === ue.FIXED_RIGHT)
|
|
@@ -22992,12 +23020,12 @@ var Fl = lL, cL = function(t) {
|
|
|
22992
23020
|
return l;
|
|
22993
23021
|
throw "Invalid cell group type";
|
|
22994
23022
|
}, L = function(k) {
|
|
22995
|
-
var B = Fl(a), G = Fl(l),
|
|
23023
|
+
var B = Fl(a), G = Fl(l), A = Fl(s);
|
|
22996
23024
|
if (cn(k, 0, B))
|
|
22997
23025
|
return a[k];
|
|
22998
23026
|
if (cn(k, B, B + G))
|
|
22999
23027
|
return l[k - B];
|
|
23000
|
-
if (cn(k, B + G, B + G +
|
|
23028
|
+
if (cn(k, B + G, B + G + A))
|
|
23001
23029
|
return s[k - B - G];
|
|
23002
23030
|
throw "Invalid absolute column group index";
|
|
23003
23031
|
}, z = function(k, B) {
|
|
@@ -23006,16 +23034,16 @@ var Fl = lL, cL = function(t) {
|
|
|
23006
23034
|
element: null,
|
|
23007
23035
|
distanceFromOffset: null
|
|
23008
23036
|
};
|
|
23009
|
-
for (var G = 0,
|
|
23010
|
-
G += k[
|
|
23011
|
-
return
|
|
23012
|
-
element: k[
|
|
23013
|
-
distanceFromOffset: k[
|
|
23037
|
+
for (var G = 0, A = 0; A !== k.length && !(G > B); )
|
|
23038
|
+
G += k[A].width, A++;
|
|
23039
|
+
return A = Ds(A - 1, 0, k.length - 1), {
|
|
23040
|
+
element: k[A],
|
|
23041
|
+
distanceFromOffset: k[A].width - (G - B)
|
|
23014
23042
|
};
|
|
23015
23043
|
}, S = function(k) {
|
|
23016
23044
|
var B = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : ue.SCROLLABLE;
|
|
23017
23045
|
f(B);
|
|
23018
|
-
var G =
|
|
23046
|
+
var G = _(B), A = z(G, k), V = A.element, K = A.distanceFromOffset;
|
|
23019
23047
|
return V && (V = ra(V)), {
|
|
23020
23048
|
column: V,
|
|
23021
23049
|
distanceFromOffset: K
|
|
@@ -23023,7 +23051,7 @@ var Fl = lL, cL = function(t) {
|
|
|
23023
23051
|
}, M = function(k) {
|
|
23024
23052
|
var B = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : ue.SCROLLABLE;
|
|
23025
23053
|
f(B);
|
|
23026
|
-
var G =
|
|
23054
|
+
var G = I(B), A = z(G, k), V = A.element, K = A.distanceFromOffset;
|
|
23027
23055
|
return V && (V = ra(V)), {
|
|
23028
23056
|
columnGroup: V,
|
|
23029
23057
|
distanceFromOffset: K
|
|
@@ -23033,7 +23061,7 @@ var Fl = lL, cL = function(t) {
|
|
|
23033
23061
|
/** get element */
|
|
23034
23062
|
getColumn: E,
|
|
23035
23063
|
getColumnGroup: T,
|
|
23036
|
-
getColumnGroupByChild:
|
|
23064
|
+
getColumnGroupByChild: O,
|
|
23037
23065
|
/** get element at offset */
|
|
23038
23066
|
getColumnAtOffset: S,
|
|
23039
23067
|
getColumnGroupAtOffset: M,
|
|
@@ -23222,7 +23250,7 @@ var u1 = /* @__PURE__ */ function(e) {
|
|
|
23222
23250
|
}, {
|
|
23223
23251
|
key: "render",
|
|
23224
23252
|
value: function() {
|
|
23225
|
-
var o = this.getApi(), i = /* @__PURE__ */ Y.createElement(Td,
|
|
23253
|
+
var o = this.getApi(), i = /* @__PURE__ */ Y.createElement(Td, Ve({}, this.props, this.state.boundState, {
|
|
23226
23254
|
scrollActions: this.scrollActions
|
|
23227
23255
|
}));
|
|
23228
23256
|
return this.props.defaultScrollbars ? /* @__PURE__ */ Y.createElement(Zn.Provider, {
|
|
@@ -23684,12 +23712,12 @@ function g1(e) {
|
|
|
23684
23712
|
return r;
|
|
23685
23713
|
}
|
|
23686
23714
|
const Kh = (e) => e % 2 === 1, Qh = ({ colIndex: e = 0, rowIndex: t = 0, themeSettings: r, customStyles: n, isHeaderCell: o }) => {
|
|
23687
|
-
var c, d, f, p, g, m, h, v, y, E, x, w, C, T,
|
|
23715
|
+
var c, d, f, p, g, m, h, v, y, E, x, w, C, T, O, _, I, L;
|
|
23688
23716
|
let i = r.chart.textColor;
|
|
23689
23717
|
const a = r.typography.fontFamily;
|
|
23690
23718
|
let s = r.chart.backgroundColor;
|
|
23691
23719
|
const l = J0(s);
|
|
23692
|
-
return o ? (d = (c = n == null ? void 0 : n.header) == null ? void 0 : c.color) != null && d.enabled && (s = ((p = (f = n == null ? void 0 : n.header) == null ? void 0 : f.color) == null ? void 0 : p.backgroundColor) || l, i = ((m = (g = n == null ? void 0 : n.header) == null ? void 0 : g.color) == null ? void 0 : m.textColor) || i) : ((v = (h = n == null ? void 0 : n.columns) == null ? void 0 : h.alternatingColor) != null && v.enabled && Kh(e) && (s = ((E = (y = n == null ? void 0 : n.columns) == null ? void 0 : y.alternatingColor) == null ? void 0 : E.backgroundColor) || l, i = ((w = (x = n == null ? void 0 : n.columns) == null ? void 0 : x.alternatingColor) == null ? void 0 : w.textColor) || i), (T = (C = n == null ? void 0 : n.rows) == null ? void 0 : C.alternatingColor) != null && T.enabled && Kh(t) && (s = ((
|
|
23720
|
+
return o ? (d = (c = n == null ? void 0 : n.header) == null ? void 0 : c.color) != null && d.enabled && (s = ((p = (f = n == null ? void 0 : n.header) == null ? void 0 : f.color) == null ? void 0 : p.backgroundColor) || l, i = ((m = (g = n == null ? void 0 : n.header) == null ? void 0 : g.color) == null ? void 0 : m.textColor) || i) : ((v = (h = n == null ? void 0 : n.columns) == null ? void 0 : h.alternatingColor) != null && v.enabled && Kh(e) && (s = ((E = (y = n == null ? void 0 : n.columns) == null ? void 0 : y.alternatingColor) == null ? void 0 : E.backgroundColor) || l, i = ((w = (x = n == null ? void 0 : n.columns) == null ? void 0 : x.alternatingColor) == null ? void 0 : w.textColor) || i), (T = (C = n == null ? void 0 : n.rows) == null ? void 0 : C.alternatingColor) != null && T.enabled && Kh(t) && (s = ((_ = (O = n == null ? void 0 : n.rows) == null ? void 0 : O.alternatingColor) == null ? void 0 : _.backgroundColor) || l, i = ((L = (I = n == null ? void 0 : n.rows) == null ? void 0 : I.alternatingColor) == null ? void 0 : L.textColor) || i)), {
|
|
23693
23721
|
color: i,
|
|
23694
23722
|
backgroundColor: s,
|
|
23695
23723
|
fontFamily: a
|
|
@@ -23903,8 +23931,8 @@ var zF = function(t, r) {
|
|
|
23903
23931
|
function VF(e) {
|
|
23904
23932
|
var t, r = e.state, n = e.name, o = e.options, i = r.elements.arrow, a = r.modifiersData.popperOffsets, s = dr(r.placement), l = kd(s), c = [Rt, Yt].indexOf(s) >= 0, d = c ? "height" : "width";
|
|
23905
23933
|
if (!(!i || !a)) {
|
|
23906
|
-
var f = zF(o.padding, r), p = Md(i), g = l === "y" ? Tt : Rt, m = l === "y" ? Gt : Yt, h = r.rects.reference[d] + r.rects.reference[l] - a[l] - r.rects.popper[d], v = a[l] - r.rects.reference[l], y = ki(i), E = y ? l === "y" ? y.clientHeight || 0 : y.clientWidth || 0 : 0, x = h / 2 - v / 2, w = f[g], C = E - p[d] - f[m], T = E / 2 - p[d] / 2 + x,
|
|
23907
|
-
r.modifiersData[n] = (t = {}, t[
|
|
23934
|
+
var f = zF(o.padding, r), p = Md(i), g = l === "y" ? Tt : Rt, m = l === "y" ? Gt : Yt, h = r.rects.reference[d] + r.rects.reference[l] - a[l] - r.rects.popper[d], v = a[l] - r.rects.reference[l], y = ki(i), E = y ? l === "y" ? y.clientHeight || 0 : y.clientWidth || 0 : 0, x = h / 2 - v / 2, w = f[g], C = E - p[d] - f[m], T = E / 2 - p[d] / 2 + x, O = Xo(w, T, C), _ = l;
|
|
23935
|
+
r.modifiersData[n] = (t = {}, t[_] = O, t.centerOffset = O - T, t);
|
|
23908
23936
|
}
|
|
23909
23937
|
}
|
|
23910
23938
|
function jF(e) {
|
|
@@ -23947,20 +23975,20 @@ function e0(e) {
|
|
|
23947
23975
|
g = v.x, h = v.y;
|
|
23948
23976
|
var y = a.hasOwnProperty("x"), E = a.hasOwnProperty("y"), x = Rt, w = Tt, C = window;
|
|
23949
23977
|
if (c) {
|
|
23950
|
-
var T = ki(r),
|
|
23951
|
-
if (T === Dt(r) && (T = qr(r), Or(T).position !== "static" && s === "absolute" && (
|
|
23978
|
+
var T = ki(r), O = "clientHeight", _ = "clientWidth";
|
|
23979
|
+
if (T === Dt(r) && (T = qr(r), Or(T).position !== "static" && s === "absolute" && (O = "scrollHeight", _ = "scrollWidth")), T = T, o === Tt || (o === Rt || o === Yt) && i === di) {
|
|
23952
23980
|
w = Gt;
|
|
23953
|
-
var
|
|
23981
|
+
var I = f && T === C && C.visualViewport ? C.visualViewport.height : (
|
|
23954
23982
|
// $FlowFixMe[prop-missing]
|
|
23955
|
-
T[
|
|
23983
|
+
T[O]
|
|
23956
23984
|
);
|
|
23957
|
-
h -=
|
|
23985
|
+
h -= I - n.height, h *= l ? 1 : -1;
|
|
23958
23986
|
}
|
|
23959
23987
|
if (o === Rt || (o === Tt || o === Gt) && i === di) {
|
|
23960
23988
|
x = Yt;
|
|
23961
23989
|
var L = f && T === C && C.visualViewport ? C.visualViewport.width : (
|
|
23962
23990
|
// $FlowFixMe[prop-missing]
|
|
23963
|
-
T[
|
|
23991
|
+
T[_]
|
|
23964
23992
|
);
|
|
23965
23993
|
g -= L - n.width, g *= l ? 1 : -1;
|
|
23966
23994
|
}
|
|
@@ -24178,16 +24206,16 @@ function S1(e) {
|
|
|
24178
24206
|
}
|
|
24179
24207
|
function fi(e, t) {
|
|
24180
24208
|
t === void 0 && (t = {});
|
|
24181
|
-
var r = t, n = r.placement, o = n === void 0 ? e.placement : n, i = r.strategy, a = i === void 0 ? e.strategy : i, s = r.boundary, l = s === void 0 ? SF : s, c = r.rootBoundary, d = c === void 0 ? m1 : c, f = r.elementContext, p = f === void 0 ? ko : f, g = r.altBoundary, m = g === void 0 ? !1 : g, h = r.padding, v = h === void 0 ? 0 : h, y = C1(typeof v != "number" ? v : x1(v, Mi)), E = p === ko ? TF : ko, x = e.rects.popper, w = e.elements[m ? E : p], C = oH(yn(w) ? w : w.contextElement || qr(e.elements.popper), l, d, a), T = to(e.elements.reference),
|
|
24209
|
+
var r = t, n = r.placement, o = n === void 0 ? e.placement : n, i = r.strategy, a = i === void 0 ? e.strategy : i, s = r.boundary, l = s === void 0 ? SF : s, c = r.rootBoundary, d = c === void 0 ? m1 : c, f = r.elementContext, p = f === void 0 ? ko : f, g = r.altBoundary, m = g === void 0 ? !1 : g, h = r.padding, v = h === void 0 ? 0 : h, y = C1(typeof v != "number" ? v : x1(v, Mi)), E = p === ko ? TF : ko, x = e.rects.popper, w = e.elements[m ? E : p], C = oH(yn(w) ? w : w.contextElement || qr(e.elements.popper), l, d, a), T = to(e.elements.reference), O = S1({
|
|
24182
24210
|
reference: T,
|
|
24183
24211
|
element: x,
|
|
24184
24212
|
strategy: "absolute",
|
|
24185
24213
|
placement: o
|
|
24186
|
-
}),
|
|
24187
|
-
top: C.top -
|
|
24188
|
-
bottom:
|
|
24189
|
-
left: C.left -
|
|
24190
|
-
right:
|
|
24214
|
+
}), _ = Jc(Object.assign({}, x, O)), I = p === ko ? _ : T, L = {
|
|
24215
|
+
top: C.top - I.top + y.top,
|
|
24216
|
+
bottom: I.bottom - C.bottom + y.bottom,
|
|
24217
|
+
left: C.left - I.left + y.left,
|
|
24218
|
+
right: I.right - C.right + y.right
|
|
24191
24219
|
}, z = e.modifiersData.offset;
|
|
24192
24220
|
if (p === ko && z) {
|
|
24193
24221
|
var S = z[o];
|
|
@@ -24236,7 +24264,7 @@ function sH(e) {
|
|
|
24236
24264
|
flipVariations: m,
|
|
24237
24265
|
allowedAutoPlacements: h
|
|
24238
24266
|
}) : Z);
|
|
24239
|
-
}, []), C = t.rects.reference, T = t.rects.popper,
|
|
24267
|
+
}, []), C = t.rects.reference, T = t.rects.popper, O = /* @__PURE__ */ new Map(), _ = !0, I = w[0], L = 0; L < w.length; L++) {
|
|
24240
24268
|
var z = w[L], S = dr(z), M = ro(z) === Jn, H = [Tt, Gt].indexOf(S) >= 0, F = H ? "width" : "height", $ = fi(t, {
|
|
24241
24269
|
placement: z,
|
|
24242
24270
|
boundary: d,
|
|
@@ -24249,28 +24277,28 @@ function sH(e) {
|
|
|
24249
24277
|
if (i && G.push($[S] <= 0), s && G.push($[k] <= 0, $[B] <= 0), G.every(function(X) {
|
|
24250
24278
|
return X;
|
|
24251
24279
|
})) {
|
|
24252
|
-
|
|
24280
|
+
I = z, _ = !1;
|
|
24253
24281
|
break;
|
|
24254
24282
|
}
|
|
24255
|
-
|
|
24283
|
+
O.set(z, G);
|
|
24256
24284
|
}
|
|
24257
|
-
if (
|
|
24258
|
-
for (var
|
|
24285
|
+
if (_)
|
|
24286
|
+
for (var A = m ? 3 : 1, V = function(Z) {
|
|
24259
24287
|
var ee = w.find(function(ie) {
|
|
24260
|
-
var oe =
|
|
24288
|
+
var oe = O.get(ie);
|
|
24261
24289
|
if (oe)
|
|
24262
24290
|
return oe.slice(0, Z).every(function(fe) {
|
|
24263
24291
|
return fe;
|
|
24264
24292
|
});
|
|
24265
24293
|
});
|
|
24266
24294
|
if (ee)
|
|
24267
|
-
return
|
|
24268
|
-
}, K =
|
|
24295
|
+
return I = ee, "break";
|
|
24296
|
+
}, K = A; K > 0; K--) {
|
|
24269
24297
|
var q = V(K);
|
|
24270
24298
|
if (q === "break")
|
|
24271
24299
|
break;
|
|
24272
24300
|
}
|
|
24273
|
-
t.placement !==
|
|
24301
|
+
t.placement !== I && (t.modifiersData[n]._skip = !0, t.placement = I, t.reset = !0);
|
|
24274
24302
|
}
|
|
24275
24303
|
}
|
|
24276
24304
|
const lH = {
|
|
@@ -24372,28 +24400,28 @@ function vH(e) {
|
|
|
24372
24400
|
rootBoundary: c,
|
|
24373
24401
|
padding: f,
|
|
24374
24402
|
altBoundary: d
|
|
24375
|
-
}), y = dr(t.placement), E = ro(t.placement), x = !E, w = kd(y), C = mH(w), T = t.modifiersData.popperOffsets,
|
|
24403
|
+
}), y = dr(t.placement), E = ro(t.placement), x = !E, w = kd(y), C = mH(w), T = t.modifiersData.popperOffsets, O = t.rects.reference, _ = t.rects.popper, I = typeof h == "function" ? h(Object.assign({}, t.rects, {
|
|
24376
24404
|
placement: t.placement
|
|
24377
|
-
})) : h, L = typeof
|
|
24378
|
-
mainAxis:
|
|
24379
|
-
altAxis:
|
|
24405
|
+
})) : h, L = typeof I == "number" ? {
|
|
24406
|
+
mainAxis: I,
|
|
24407
|
+
altAxis: I
|
|
24380
24408
|
} : Object.assign({
|
|
24381
24409
|
mainAxis: 0,
|
|
24382
24410
|
altAxis: 0
|
|
24383
|
-
},
|
|
24411
|
+
}, I), z = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, S = {
|
|
24384
24412
|
x: 0,
|
|
24385
24413
|
y: 0
|
|
24386
24414
|
};
|
|
24387
24415
|
if (T) {
|
|
24388
24416
|
if (i) {
|
|
24389
|
-
var M, H = w === "y" ? Tt : Rt, F = w === "y" ? Gt : Yt, $ = w === "y" ? "height" : "width", k = T[w], B = k + v[H], G = k - v[F],
|
|
24417
|
+
var M, H = w === "y" ? Tt : Rt, F = w === "y" ? Gt : Yt, $ = w === "y" ? "height" : "width", k = T[w], B = k + v[H], G = k - v[F], A = g ? -_[$] / 2 : 0, V = E === Jn ? O[$] : _[$], K = E === Jn ? -_[$] : -O[$], q = t.elements.arrow, X = g && q ? Md(q) : {
|
|
24390
24418
|
width: 0,
|
|
24391
24419
|
height: 0
|
|
24392
|
-
}, Z = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : w1(), ee = Z[H], ie = Z[F], oe = Xo(0,
|
|
24420
|
+
}, Z = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : w1(), ee = Z[H], ie = Z[F], oe = Xo(0, O[$], X[$]), fe = x ? O[$] / 2 - A - oe - ee - L.mainAxis : V - oe - ee - L.mainAxis, se = x ? -O[$] / 2 + A + oe + ie + L.mainAxis : K + oe + ie + L.mainAxis, Ce = t.elements.arrow && ki(t.elements.arrow), W = Ce ? w === "y" ? Ce.clientTop || 0 : Ce.clientLeft || 0 : 0, re = (M = z == null ? void 0 : z[w]) != null ? M : 0, de = k + fe - re - W, be = k + se - re, et = Xo(g ? Ga(B, de) : B, k, g ? un(G, be) : G);
|
|
24393
24421
|
T[w] = et, S[w] = et - k;
|
|
24394
24422
|
}
|
|
24395
24423
|
if (s) {
|
|
24396
|
-
var Ze, Ye = w === "x" ? Tt : Rt, Nt = w === "x" ? Gt : Yt, ot = T[C], yt = C === "y" ? "height" : "width", st = ot + v[Ye], ce = ot - v[Nt], ft = [Tt, Rt].indexOf(y) !== -1, Pi = (Ze = z == null ? void 0 : z[C]) != null ? Ze : 0, Di = ft ? st : ot -
|
|
24424
|
+
var Ze, Ye = w === "x" ? Tt : Rt, Nt = w === "x" ? Gt : Yt, ot = T[C], yt = C === "y" ? "height" : "width", st = ot + v[Ye], ce = ot - v[Nt], ft = [Tt, Rt].indexOf(y) !== -1, Pi = (Ze = z == null ? void 0 : z[C]) != null ? Ze : 0, Di = ft ? st : ot - O[yt] - _[yt] - Pi + L.altAxis, En = ft ? ot + O[yt] + _[yt] - Pi - L.altAxis : ce, $i = g && ft ? WF(Di, ot, En) : Xo(g ? Di : st, ot, g ? En : ce);
|
|
24397
24425
|
T[C] = $i, S[C] = $i - ot;
|
|
24398
24426
|
}
|
|
24399
24427
|
t.modifiersData[n] = S;
|
|
@@ -24546,11 +24574,11 @@ function _H(e) {
|
|
|
24546
24574
|
d.reset = !1, w = -1;
|
|
24547
24575
|
continue;
|
|
24548
24576
|
}
|
|
24549
|
-
var C = d.orderedModifiers[w], T = C.fn,
|
|
24577
|
+
var C = d.orderedModifiers[w], T = C.fn, O = C.options, _ = O === void 0 ? {} : O, I = C.name;
|
|
24550
24578
|
typeof T == "function" && (d = T({
|
|
24551
24579
|
state: d,
|
|
24552
|
-
options:
|
|
24553
|
-
name:
|
|
24580
|
+
options: _,
|
|
24581
|
+
name: I,
|
|
24554
24582
|
instance: g
|
|
24555
24583
|
}) || d);
|
|
24556
24584
|
}
|
|
@@ -24670,20 +24698,20 @@ const PH = (e) => {
|
|
|
24670
24698
|
pn(() => {
|
|
24671
24699
|
C.current = w;
|
|
24672
24700
|
}, [w]), N.useImperativeHandle(f, () => x.current, []);
|
|
24673
|
-
const T = IH(c, i), [
|
|
24701
|
+
const T = IH(c, i), [O, _] = N.useState(T), [I, L] = N.useState(Ya(n));
|
|
24674
24702
|
N.useEffect(() => {
|
|
24675
24703
|
x.current && x.current.forceUpdate();
|
|
24676
24704
|
}), N.useEffect(() => {
|
|
24677
24705
|
n && L(Ya(n));
|
|
24678
24706
|
}, [n]), pn(() => {
|
|
24679
|
-
if (!
|
|
24707
|
+
if (!I || !l)
|
|
24680
24708
|
return;
|
|
24681
|
-
const k = (
|
|
24682
|
-
|
|
24709
|
+
const k = (A) => {
|
|
24710
|
+
_(A.placement);
|
|
24683
24711
|
};
|
|
24684
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
24685
|
-
const
|
|
24686
|
-
process.env.NODE_ENV !== "test" &&
|
|
24712
|
+
if (process.env.NODE_ENV !== "production" && I && Xs(I) && I.nodeType === 1) {
|
|
24713
|
+
const A = I.getBoundingClientRect();
|
|
24714
|
+
process.env.NODE_ENV !== "test" && A.top === 0 && A.left === 0 && A.right === 0 && A.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(`
|
|
24687
24715
|
`));
|
|
24688
24716
|
}
|
|
24689
24717
|
let B = [{
|
|
@@ -24701,13 +24729,13 @@ const PH = (e) => {
|
|
|
24701
24729
|
enabled: !0,
|
|
24702
24730
|
phase: "afterWrite",
|
|
24703
24731
|
fn: ({
|
|
24704
|
-
state:
|
|
24732
|
+
state: A
|
|
24705
24733
|
}) => {
|
|
24706
|
-
k(
|
|
24734
|
+
k(A);
|
|
24707
24735
|
}
|
|
24708
24736
|
}];
|
|
24709
24737
|
s != null && (B = B.concat(s)), d && d.modifiers != null && (B = B.concat(d.modifiers));
|
|
24710
|
-
const G = MH(
|
|
24738
|
+
const G = MH(I, y.current, D(b({
|
|
24711
24739
|
placement: T
|
|
24712
24740
|
}, d), {
|
|
24713
24741
|
modifiers: B
|
|
@@ -24715,9 +24743,9 @@ const PH = (e) => {
|
|
|
24715
24743
|
return C.current(G), () => {
|
|
24716
24744
|
G.destroy(), C.current(null);
|
|
24717
24745
|
};
|
|
24718
|
-
}, [
|
|
24746
|
+
}, [I, a, s, l, d, T]);
|
|
24719
24747
|
const z = {
|
|
24720
|
-
placement:
|
|
24748
|
+
placement: O
|
|
24721
24749
|
};
|
|
24722
24750
|
m !== null && (z.TransitionProps = m);
|
|
24723
24751
|
const S = PH(t), M = ($ = g.root) != null ? $ : "div", H = Mu({
|
|
@@ -24774,21 +24802,21 @@ const PH = (e) => {
|
|
|
24774
24802
|
};
|
|
24775
24803
|
if (!l && !d && (!h || x))
|
|
24776
24804
|
return null;
|
|
24777
|
-
let
|
|
24805
|
+
let O;
|
|
24778
24806
|
if (i)
|
|
24779
|
-
|
|
24807
|
+
O = i;
|
|
24780
24808
|
else if (n) {
|
|
24781
24809
|
const z = Ya(n);
|
|
24782
|
-
|
|
24810
|
+
O = z && Xs(z) ? Ut(z).body : Ut(null).body;
|
|
24783
24811
|
}
|
|
24784
|
-
const
|
|
24812
|
+
const _ = !d && l && (!h || x) ? "none" : void 0, I = h ? {
|
|
24785
24813
|
in: d,
|
|
24786
24814
|
onEnter: C,
|
|
24787
24815
|
onExited: T
|
|
24788
24816
|
} : void 0;
|
|
24789
24817
|
return /* @__PURE__ */ J(ri, {
|
|
24790
24818
|
disablePortal: s,
|
|
24791
|
-
container:
|
|
24819
|
+
container: O,
|
|
24792
24820
|
children: /* @__PURE__ */ J($H, D(b({
|
|
24793
24821
|
anchorEl: n,
|
|
24794
24822
|
direction: a,
|
|
@@ -24808,9 +24836,9 @@ const PH = (e) => {
|
|
|
24808
24836
|
// Fix Popper.js display issue
|
|
24809
24837
|
top: 0,
|
|
24810
24838
|
left: 0,
|
|
24811
|
-
display:
|
|
24839
|
+
display: _
|
|
24812
24840
|
}, m),
|
|
24813
|
-
TransitionProps:
|
|
24841
|
+
TransitionProps: I,
|
|
24814
24842
|
children: o
|
|
24815
24843
|
}))
|
|
24816
24844
|
});
|
|
@@ -24941,8 +24969,8 @@ const NH = pe(T1, {
|
|
|
24941
24969
|
slot: "Root",
|
|
24942
24970
|
overridesResolver: (e, t) => t.root
|
|
24943
24971
|
})({}), Ks = /* @__PURE__ */ N.forwardRef(function(t, r) {
|
|
24944
|
-
var
|
|
24945
|
-
const n = is(),
|
|
24972
|
+
var _;
|
|
24973
|
+
const n = is(), O = Ge({
|
|
24946
24974
|
props: t,
|
|
24947
24975
|
name: "MuiPopper"
|
|
24948
24976
|
}), {
|
|
@@ -24961,7 +24989,7 @@ const NH = pe(T1, {
|
|
|
24961
24989
|
transition: y,
|
|
24962
24990
|
slots: E,
|
|
24963
24991
|
slotProps: x
|
|
24964
|
-
} =
|
|
24992
|
+
} = O, w = te(O, [
|
|
24965
24993
|
"anchorEl",
|
|
24966
24994
|
"component",
|
|
24967
24995
|
"components",
|
|
@@ -24977,7 +25005,7 @@ const NH = pe(T1, {
|
|
|
24977
25005
|
"transition",
|
|
24978
25006
|
"slots",
|
|
24979
25007
|
"slotProps"
|
|
24980
|
-
]), C = (
|
|
25008
|
+
]), C = (_ = E == null ? void 0 : E.root) != null ? _ : s == null ? void 0 : s.Root, T = b({
|
|
24981
25009
|
anchorEl: i,
|
|
24982
25010
|
container: c,
|
|
24983
25011
|
disablePortal: d,
|
|
@@ -25434,9 +25462,9 @@ const Dd = /* @__PURE__ */ N.forwardRef(function(t, r) {
|
|
|
25434
25462
|
leaveTouchDelay: w = 1500,
|
|
25435
25463
|
onClose: C,
|
|
25436
25464
|
onOpen: T,
|
|
25437
|
-
open:
|
|
25438
|
-
placement:
|
|
25439
|
-
PopperComponent:
|
|
25465
|
+
open: O,
|
|
25466
|
+
placement: _ = "bottom",
|
|
25467
|
+
PopperComponent: I,
|
|
25440
25468
|
PopperProps: L = {},
|
|
25441
25469
|
slotProps: z = {},
|
|
25442
25470
|
slots: S = {},
|
|
@@ -25474,8 +25502,8 @@ const Dd = /* @__PURE__ */ N.forwardRef(function(t, r) {
|
|
|
25474
25502
|
"TransitionProps"
|
|
25475
25503
|
]), k = /* @__PURE__ */ N.isValidElement(i) ? i : /* @__PURE__ */ J("span", {
|
|
25476
25504
|
children: i
|
|
25477
|
-
}), B = ys(), G = is(), [
|
|
25478
|
-
controlled:
|
|
25505
|
+
}), B = ys(), G = is(), [A, V] = N.useState(), [K, q] = N.useState(null), X = N.useRef(!1), Z = p || y, ee = Hn(), ie = Hn(), oe = Hn(), fe = Hn(), [se, Ce] = Ag({
|
|
25506
|
+
controlled: O,
|
|
25479
25507
|
default: !1,
|
|
25480
25508
|
name: "Tooltip",
|
|
25481
25509
|
state: "open"
|
|
@@ -25484,11 +25512,11 @@ const Dd = /* @__PURE__ */ N.forwardRef(function(t, r) {
|
|
|
25484
25512
|
if (process.env.NODE_ENV !== "production") {
|
|
25485
25513
|
const {
|
|
25486
25514
|
current: he
|
|
25487
|
-
} = N.useRef(
|
|
25515
|
+
} = N.useRef(O !== void 0);
|
|
25488
25516
|
N.useEffect(() => {
|
|
25489
|
-
|
|
25517
|
+
A && A.disabled && !he && M !== "" && A.tagName.toLowerCase() === "button" && console.warn(["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(`
|
|
25490
25518
|
`));
|
|
25491
|
-
}, [M,
|
|
25519
|
+
}, [M, A, he]);
|
|
25492
25520
|
}
|
|
25493
25521
|
const re = Nu(E), de = N.useRef(), be = Br(() => {
|
|
25494
25522
|
de.current !== void 0 && (document.body.style.WebkitUserSelect = de.current, de.current = void 0), fe.clear();
|
|
@@ -25508,7 +25536,7 @@ const Dd = /* @__PURE__ */ N.forwardRef(function(t, r) {
|
|
|
25508
25536
|
});
|
|
25509
25537
|
}
|
|
25510
25538
|
), Ye = (he) => {
|
|
25511
|
-
X.current && he.type !== "touchstart" || (
|
|
25539
|
+
X.current && he.type !== "touchstart" || (A && A.removeAttribute("title"), ie.clear(), oe.clear(), m || ia && h ? ie.start(ia ? h : m, () => {
|
|
25512
25540
|
et(he);
|
|
25513
25541
|
}) : et(he));
|
|
25514
25542
|
}, Nt = (he) => {
|
|
@@ -25518,7 +25546,7 @@ const Dd = /* @__PURE__ */ N.forwardRef(function(t, r) {
|
|
|
25518
25546
|
}, [, ot] = N.useState(!1), yt = (he) => {
|
|
25519
25547
|
Oa(he.target) || (ot(!1), Nt(he));
|
|
25520
25548
|
}, st = (he) => {
|
|
25521
|
-
|
|
25549
|
+
A || V(he.currentTarget), Oa(he.target) && (ot(!0), Ye(he));
|
|
25522
25550
|
}, ce = (he) => {
|
|
25523
25551
|
X.current = !0;
|
|
25524
25552
|
const Qt = k.props;
|
|
@@ -25560,9 +25588,9 @@ const Dd = /* @__PURE__ */ N.forwardRef(function(t, r) {
|
|
|
25560
25588
|
onMouseMove: $i
|
|
25561
25589
|
} : {});
|
|
25562
25590
|
process.env.NODE_ENV !== "production" && (Lt["data-mui-internal-clone-element"] = !0, N.useEffect(() => {
|
|
25563
|
-
|
|
25591
|
+
A && !A.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(`
|
|
25564
25592
|
`));
|
|
25565
|
-
}, [
|
|
25593
|
+
}, [A]));
|
|
25566
25594
|
const wo = {};
|
|
25567
25595
|
g || (Lt.onTouchStart = ft, Lt.onTouchEnd = Pi), f || (Lt.onMouseOver = aa(Ye, Lt.onMouseOver), Lt.onMouseLeave = aa(Nt, Lt.onMouseLeave), Z || (wo.onMouseOver = Ye, wo.onMouseLeave = Nt)), d || (Lt.onFocus = aa(st, Lt.onFocus), Lt.onBlur = aa(yt, Lt.onBlur), Z || (wo.onFocus = st, wo.onBlur = yt)), process.env.NODE_ENV !== "production" && k.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${k.props.title}\` or the Tooltip component.`].join(`
|
|
25568
25596
|
`));
|
|
@@ -25570,8 +25598,8 @@ const Dd = /* @__PURE__ */ N.forwardRef(function(t, r) {
|
|
|
25570
25598
|
isRtl: G,
|
|
25571
25599
|
arrow: o,
|
|
25572
25600
|
disableInteractive: Z,
|
|
25573
|
-
placement:
|
|
25574
|
-
PopperComponentProp:
|
|
25601
|
+
placement: _,
|
|
25602
|
+
PopperComponentProp: I,
|
|
25575
25603
|
touch: X.current
|
|
25576
25604
|
}), Ot = typeof z.popper == "function" ? z.popper(Xr) : z.popper, my = N.useMemo(() => {
|
|
25577
25605
|
var Qt, Xd;
|
|
@@ -25623,8 +25651,8 @@ const Dd = /* @__PURE__ */ N.forwardRef(function(t, r) {
|
|
|
25623
25651
|
});
|
|
25624
25652
|
return /* @__PURE__ */ fr(N.Fragment, {
|
|
25625
25653
|
children: [/* @__PURE__ */ N.cloneElement(k, Lt), /* @__PURE__ */ J(vy, D(b(b({
|
|
25626
|
-
as:
|
|
25627
|
-
placement:
|
|
25654
|
+
as: I != null ? I : Ks,
|
|
25655
|
+
placement: _,
|
|
25628
25656
|
anchorEl: y ? {
|
|
25629
25657
|
getBoundingClientRect: () => ({
|
|
25630
25658
|
top: Io.y,
|
|
@@ -25634,9 +25662,9 @@ const Dd = /* @__PURE__ */ N.forwardRef(function(t, r) {
|
|
|
25634
25662
|
width: 0,
|
|
25635
25663
|
height: 0
|
|
25636
25664
|
})
|
|
25637
|
-
} :
|
|
25665
|
+
} : A,
|
|
25638
25666
|
popperRef: En,
|
|
25639
|
-
open:
|
|
25667
|
+
open: A ? W : !1,
|
|
25640
25668
|
id: re,
|
|
25641
25669
|
transition: !0
|
|
25642
25670
|
}, wo), yy), {
|
|
@@ -25884,19 +25912,19 @@ const jH = () => typeof window == "undefined" || typeof document == "undefined"
|
|
|
25884
25912
|
});
|
|
25885
25913
|
}, []);
|
|
25886
25914
|
const y = ne(() => e.columns.map((C, T) => {
|
|
25887
|
-
const
|
|
25915
|
+
const O = v[T], _ = t.columns[T], I = Qh({
|
|
25888
25916
|
isHeaderCell: !0,
|
|
25889
25917
|
themeSettings: i,
|
|
25890
25918
|
customStyles: o
|
|
25891
25919
|
});
|
|
25892
|
-
return
|
|
25920
|
+
return O ? /* @__PURE__ */ P(Ys, {
|
|
25893
25921
|
maxWidth: Qc,
|
|
25894
25922
|
minWidth: Qc,
|
|
25895
25923
|
allowCellsRecycling: !0,
|
|
25896
|
-
width:
|
|
25924
|
+
width: O,
|
|
25897
25925
|
header: /* @__PURE__ */ P(Va, {
|
|
25898
25926
|
className: Ua(Fo.tableHeader),
|
|
25899
|
-
style:
|
|
25927
|
+
style: I,
|
|
25900
25928
|
children: /* @__PURE__ */ P(mF, {
|
|
25901
25929
|
column: C,
|
|
25902
25930
|
onClick: a,
|
|
@@ -25904,8 +25932,8 @@ const jH = () => typeof window == "undefined" || typeof document == "undefined"
|
|
|
25904
25932
|
showFieldTypeIcon: s,
|
|
25905
25933
|
sortIcon: (o == null ? void 0 : o.sortIcon) || "standard",
|
|
25906
25934
|
children: l0({
|
|
25907
|
-
displayValue: Wo(
|
|
25908
|
-
width:
|
|
25935
|
+
displayValue: Wo(_),
|
|
25936
|
+
width: O,
|
|
25909
25937
|
padding: l,
|
|
25910
25938
|
ellipsizedLength: wF
|
|
25911
25939
|
})
|
|
@@ -25925,10 +25953,10 @@ const jH = () => typeof window == "undefined" || typeof document == "undefined"
|
|
|
25925
25953
|
children: l0({
|
|
25926
25954
|
// eslint-disable-next-line security/detect-object-injection
|
|
25927
25955
|
displayValue: e.rows[L][T].displayValue,
|
|
25928
|
-
width:
|
|
25956
|
+
width: O,
|
|
25929
25957
|
padding: h1,
|
|
25930
25958
|
ellipsizedLength: CF,
|
|
25931
|
-
isHtml: "isHtml" in
|
|
25959
|
+
isHtml: "isHtml" in _ && _.isHtml
|
|
25932
25960
|
})
|
|
25933
25961
|
}));
|
|
25934
25962
|
},
|
|
@@ -25988,7 +26016,7 @@ const jH = () => typeof window == "undefined" || typeof document == "undefined"
|
|
|
25988
26016
|
rows: o
|
|
25989
26017
|
};
|
|
25990
26018
|
}, KH = ({ dataTable: e, dataOptions: t, designOptions: r = {}, onSortUpdate: n, themeSettings: o, width: i = 400, height: a = 500 }) => {
|
|
25991
|
-
const s =
|
|
26019
|
+
const s = We(null), l = We(e), c = ne(() => XH(e, t), [
|
|
25992
26020
|
e,
|
|
25993
26021
|
t
|
|
25994
26022
|
]);
|
|
@@ -26031,32 +26059,32 @@ const jH = () => typeof window == "undefined" || typeof document == "undefined"
|
|
|
26031
26059
|
rows: e.rows,
|
|
26032
26060
|
columns: e.columns
|
|
26033
26061
|
}), JH = 25, eB = 10, tB = ({ dataSet: e, dataOptions: t, styleOptions: r = {}, filters: n, onDataReady: o }) => {
|
|
26034
|
-
const { rowsPerPage: i = JH, width: a, height: s } = r, { themeSettings: l } = at(), [c, d] = ye(0), { filters: f, relations: p } = hu(n), [g, m] = ye(1), h =
|
|
26062
|
+
const { rowsPerPage: i = JH, width: a, height: s } = r, { themeSettings: l } = at(), [c, d] = ye(0), { filters: f, relations: p } = hu(n), [g, m] = ye(1), h = We(null), v = ne(() => tR(t), [
|
|
26035
26063
|
t
|
|
26036
26064
|
]), y = ne(() => qu(v.columns.filter(gt).map(vu)), [
|
|
26037
26065
|
v
|
|
26038
26066
|
]), E = ne(() => ZH(r), [
|
|
26039
26067
|
r
|
|
26040
|
-
]), [x, w] = ye(v), [C, T] = ye(e), [
|
|
26068
|
+
]), [x, w] = ye(v), [C, T] = ye(e), [O, _] = KR({
|
|
26041
26069
|
dataSet: C,
|
|
26042
26070
|
dataOptions: x,
|
|
26043
26071
|
filters: f,
|
|
26044
26072
|
filterRelations: p,
|
|
26045
26073
|
count: i * eB,
|
|
26046
26074
|
offset: c
|
|
26047
|
-
}),
|
|
26048
|
-
if (
|
|
26049
|
-
const F = o(
|
|
26075
|
+
}), I = ne(() => {
|
|
26076
|
+
if (O && o) {
|
|
26077
|
+
const F = o(O);
|
|
26050
26078
|
if (!Om(F))
|
|
26051
|
-
throw new
|
|
26079
|
+
throw new ze("errors.incorrectOnDataReadyHandler");
|
|
26052
26080
|
return F;
|
|
26053
26081
|
}
|
|
26054
|
-
return
|
|
26082
|
+
return O;
|
|
26055
26083
|
}, [
|
|
26056
|
-
|
|
26084
|
+
O
|
|
26057
26085
|
]), L = QR({
|
|
26058
|
-
data:
|
|
26059
|
-
innerDataOptions:
|
|
26086
|
+
data: I,
|
|
26087
|
+
innerDataOptions: _,
|
|
26060
26088
|
dataColumnNamesMapping: y,
|
|
26061
26089
|
needToAggregate: !zr(C)
|
|
26062
26090
|
});
|
|
@@ -26067,11 +26095,11 @@ const jH = () => typeof window == "undefined" || typeof document == "undefined"
|
|
|
26067
26095
|
v
|
|
26068
26096
|
]);
|
|
26069
26097
|
const z = ae((F) => {
|
|
26070
|
-
if (!
|
|
26098
|
+
if (!O)
|
|
26071
26099
|
return;
|
|
26072
|
-
Math.floor(
|
|
26100
|
+
Math.floor(O.rows.length / i) === F && d(O.rows.length), m(F);
|
|
26073
26101
|
}, [
|
|
26074
|
-
|
|
26102
|
+
O,
|
|
26075
26103
|
i
|
|
26076
26104
|
]), S = ae((F) => {
|
|
26077
26105
|
m(1), d(0), x && w(YT(x, F));
|
|
@@ -26095,7 +26123,7 @@ const jH = () => typeof window == "undefined" || typeof document == "undefined"
|
|
|
26095
26123
|
g,
|
|
26096
26124
|
i
|
|
26097
26125
|
]);
|
|
26098
|
-
return
|
|
26126
|
+
return _ ? /* @__PURE__ */ P(Gu, {
|
|
26099
26127
|
defaultSize: Yu("table"),
|
|
26100
26128
|
size: {
|
|
26101
26129
|
width: a,
|
|
@@ -26122,7 +26150,7 @@ const jH = () => typeof window == "undefined" || typeof document == "undefined"
|
|
|
26122
26150
|
children: [
|
|
26123
26151
|
/* @__PURE__ */ P(KH, {
|
|
26124
26152
|
dataTable: H,
|
|
26125
|
-
dataOptions:
|
|
26153
|
+
dataOptions: _,
|
|
26126
26154
|
designOptions: E,
|
|
26127
26155
|
themeSettings: l,
|
|
26128
26156
|
width: F.width,
|
|
@@ -26277,7 +26305,7 @@ const aB = "BE#081586", sB = "BE#733473", lB = (e) => {
|
|
|
26277
26305
|
e.dataOptions,
|
|
26278
26306
|
e.filters
|
|
26279
26307
|
]), !zr(e.dataSet))
|
|
26280
|
-
throw new
|
|
26308
|
+
throw new ze("errors.undefinedDataSource");
|
|
26281
26309
|
const a = Cr(e.dataOptions), s = Db(a);
|
|
26282
26310
|
a.value.push(...s);
|
|
26283
26311
|
const l = $b(a);
|
|
@@ -26354,7 +26382,7 @@ const aB = "BE#081586", sB = "BE#733473", lB = (e) => {
|
|
|
26354
26382
|
return /* @__PURE__ */ P(lB, b({}, e));
|
|
26355
26383
|
if (M1(e))
|
|
26356
26384
|
return /* @__PURE__ */ P(fa, b({}, e));
|
|
26357
|
-
throw new
|
|
26385
|
+
throw new ze("errors.chartInvalidProps");
|
|
26358
26386
|
});
|
|
26359
26387
|
function uB(e) {
|
|
26360
26388
|
return e.chartType === "table" && "columns" in e.dataOptions;
|
|
@@ -27371,7 +27399,7 @@ function HB(e, t, r) {
|
|
|
27371
27399
|
}
|
|
27372
27400
|
function Nd(e) {
|
|
27373
27401
|
if (!yu(e))
|
|
27374
|
-
throw new
|
|
27402
|
+
throw new ze("errors.notAMembersFilter");
|
|
27375
27403
|
const { attribute: t, config: { guid: r, backgroundFilter: n } } = e;
|
|
27376
27404
|
return HB(t, r, n);
|
|
27377
27405
|
}
|
|
@@ -27428,17 +27456,17 @@ const A1 = "sdkHookInit", Tj = (e, t, r, n) => {
|
|
|
27428
27456
|
return;
|
|
27429
27457
|
sg(A1, {
|
|
27430
27458
|
packageName: t,
|
|
27431
|
-
packageVersion: "2.
|
|
27459
|
+
packageVersion: "2.6.0",
|
|
27432
27460
|
hookName: e
|
|
27433
27461
|
}, r.httpClient).finally(n);
|
|
27434
27462
|
};
|
|
27435
27463
|
function jB(e) {
|
|
27436
|
-
const { tracking: t, app: r } = mt(), { trackEvent: n } = Su(), o =
|
|
27464
|
+
const { tracking: t, app: r } = mt(), { trackEvent: n } = Su(), o = We(!1);
|
|
27437
27465
|
Ae(() => {
|
|
27438
27466
|
if (!(!t || !r) && !o.current) {
|
|
27439
27467
|
const i = {
|
|
27440
27468
|
packageName: t.packageName || "sdk-ui",
|
|
27441
|
-
packageVersion: "2.
|
|
27469
|
+
packageVersion: "2.6.0",
|
|
27442
27470
|
hookName: e
|
|
27443
27471
|
};
|
|
27444
27472
|
n(A1, i, !t.enabled).finally(() => o.current = !0);
|
|
@@ -27491,7 +27519,7 @@ function qB(e) {
|
|
|
27491
27519
|
};
|
|
27492
27520
|
}
|
|
27493
27521
|
function XB({ enabled: e }, t) {
|
|
27494
|
-
const r =
|
|
27522
|
+
const r = We(!1);
|
|
27495
27523
|
return ae((n, o = !1) => {
|
|
27496
27524
|
const i = e === !1 || !n, a = r.current;
|
|
27497
27525
|
return r.current = i, !i && (a || t || o);
|
|
@@ -27509,19 +27537,19 @@ function Rj(e, t, r) {
|
|
|
27509
27537
|
throw new TypeError(KB);
|
|
27510
27538
|
t = Ul(t) || 0, Fb(r) && (d = !!r.leading, f = "maxWait" in r, i = f ? QB(Ul(r.maxWait) || 0, t) : i, p = "trailing" in r ? !!r.trailing : p);
|
|
27511
27539
|
function g(T) {
|
|
27512
|
-
var
|
|
27513
|
-
return n = o = void 0, c = T, a = e.apply(
|
|
27540
|
+
var O = n, _ = o;
|
|
27541
|
+
return n = o = void 0, c = T, a = e.apply(_, O), a;
|
|
27514
27542
|
}
|
|
27515
27543
|
function m(T) {
|
|
27516
27544
|
return c = T, s = setTimeout(y, t), d ? g(T) : a;
|
|
27517
27545
|
}
|
|
27518
27546
|
function h(T) {
|
|
27519
|
-
var
|
|
27520
|
-
return f ? ZB(
|
|
27547
|
+
var O = T - l, _ = T - c, I = t - O;
|
|
27548
|
+
return f ? ZB(I, i - _) : I;
|
|
27521
27549
|
}
|
|
27522
27550
|
function v(T) {
|
|
27523
|
-
var
|
|
27524
|
-
return l === void 0 ||
|
|
27551
|
+
var O = T - l, _ = T - c;
|
|
27552
|
+
return l === void 0 || O >= t || O < 0 || f && _ >= i;
|
|
27525
27553
|
}
|
|
27526
27554
|
function y() {
|
|
27527
27555
|
var T = Wl();
|
|
@@ -27539,8 +27567,8 @@ function Rj(e, t, r) {
|
|
|
27539
27567
|
return s === void 0 ? a : E(Wl());
|
|
27540
27568
|
}
|
|
27541
27569
|
function C() {
|
|
27542
|
-
var T = Wl(),
|
|
27543
|
-
if (n = arguments, o = this, l = T,
|
|
27570
|
+
var T = Wl(), O = v(T);
|
|
27571
|
+
if (n = arguments, o = this, l = T, O) {
|
|
27544
27572
|
if (s === void 0)
|
|
27545
27573
|
return m(l);
|
|
27546
27574
|
if (f)
|
|
@@ -27551,7 +27579,7 @@ function Rj(e, t, r) {
|
|
|
27551
27579
|
return C.cancel = x, C.flush = w, C;
|
|
27552
27580
|
}
|
|
27553
27581
|
function P1(e, { onLocalStateChange: t, syncCompareFn: r = dn } = {}) {
|
|
27554
|
-
const [n, o] = ye(e), i =
|
|
27582
|
+
const [n, o] = ye(e), i = We(e);
|
|
27555
27583
|
Ae(() => {
|
|
27556
27584
|
r(i.current, e) || o(e), i.current = e;
|
|
27557
27585
|
}, [
|
|
@@ -27654,7 +27682,7 @@ function JB({ chartType: e, dataOptions: t, enabled: r }) {
|
|
|
27654
27682
|
const eW = () => {
|
|
27655
27683
|
const e = os();
|
|
27656
27684
|
if (!e)
|
|
27657
|
-
throw new
|
|
27685
|
+
throw new ze("errors.missingMenuRoot");
|
|
27658
27686
|
const { openMenu: t, closeMenu: r } = e;
|
|
27659
27687
|
return {
|
|
27660
27688
|
openMenu: t,
|
|
@@ -27824,7 +27852,7 @@ const N1 = /* @__PURE__ */ N.forwardRef(function(t, r) {
|
|
|
27824
27852
|
const n = Ge({
|
|
27825
27853
|
props: t,
|
|
27826
27854
|
name: "MuiBreadcrumbs"
|
|
27827
|
-
}),
|
|
27855
|
+
}), O = n, {
|
|
27828
27856
|
children: o,
|
|
27829
27857
|
className: i,
|
|
27830
27858
|
component: a = "nav",
|
|
@@ -27835,7 +27863,7 @@ const N1 = /* @__PURE__ */ N.forwardRef(function(t, r) {
|
|
|
27835
27863
|
itemsBeforeCollapse: f = 1,
|
|
27836
27864
|
maxItems: p = 8,
|
|
27837
27865
|
separator: g = "/"
|
|
27838
|
-
} =
|
|
27866
|
+
} = O, m = te(O, [
|
|
27839
27867
|
"children",
|
|
27840
27868
|
"className",
|
|
27841
27869
|
"component",
|
|
@@ -27858,14 +27886,14 @@ const N1 = /* @__PURE__ */ N.forwardRef(function(t, r) {
|
|
|
27858
27886
|
elementType: s.CollapsedIcon,
|
|
27859
27887
|
externalSlotProps: l.collapsedIcon,
|
|
27860
27888
|
ownerState: y
|
|
27861
|
-
}), w = N.useRef(null), C = (
|
|
27862
|
-
const
|
|
27889
|
+
}), w = N.useRef(null), C = (_) => {
|
|
27890
|
+
const I = () => {
|
|
27863
27891
|
v(!0);
|
|
27864
27892
|
const L = w.current.querySelector("a[href],button,[tabindex]");
|
|
27865
27893
|
L && L.focus();
|
|
27866
27894
|
};
|
|
27867
|
-
return f + d >=
|
|
27868
|
-
`)),
|
|
27895
|
+
return f + d >= _.length ? (process.env.NODE_ENV !== "production" && console.error(["MUI: You have provided an invalid combination of props to the Breadcrumbs.", `itemsAfterCollapse={${d}} + itemsBeforeCollapse={${f}} >= maxItems={${p}}`].join(`
|
|
27896
|
+
`)), _) : [..._.slice(0, f), /* @__PURE__ */ J($1, {
|
|
27869
27897
|
"aria-label": c,
|
|
27870
27898
|
slots: {
|
|
27871
27899
|
CollapsedIcon: s.CollapsedIcon
|
|
@@ -27873,13 +27901,13 @@ const N1 = /* @__PURE__ */ N.forwardRef(function(t, r) {
|
|
|
27873
27901
|
slotProps: {
|
|
27874
27902
|
collapsedIcon: x
|
|
27875
27903
|
},
|
|
27876
|
-
onClick:
|
|
27877
|
-
}, "ellipsis"), ...
|
|
27878
|
-
}, T = N.Children.toArray(o).filter((
|
|
27879
|
-
`)), /* @__PURE__ */ N.isValidElement(
|
|
27904
|
+
onClick: I
|
|
27905
|
+
}, "ellipsis"), ..._.slice(_.length - d, _.length)];
|
|
27906
|
+
}, T = N.Children.toArray(o).filter((_) => (process.env.NODE_ENV !== "production" && _u.isFragment(_) && console.error(["MUI: The Breadcrumbs component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
|
|
27907
|
+
`)), /* @__PURE__ */ N.isValidElement(_))).map((_, I) => /* @__PURE__ */ J("li", {
|
|
27880
27908
|
className: E.li,
|
|
27881
|
-
children:
|
|
27882
|
-
}, `child-${
|
|
27909
|
+
children: _
|
|
27910
|
+
}, `child-${I}`));
|
|
27883
27911
|
return /* @__PURE__ */ J(dW, D(b({
|
|
27884
27912
|
ref: r,
|
|
27885
27913
|
component: a,
|
|
@@ -28431,9 +28459,9 @@ const mW = (e) => {
|
|
|
28431
28459
|
loadingPosition: w = "center",
|
|
28432
28460
|
size: C = "medium",
|
|
28433
28461
|
startIcon: T,
|
|
28434
|
-
type:
|
|
28435
|
-
variant:
|
|
28436
|
-
} = B,
|
|
28462
|
+
type: O,
|
|
28463
|
+
variant: _ = "text"
|
|
28464
|
+
} = B, I = te(B, [
|
|
28437
28465
|
"children",
|
|
28438
28466
|
"color",
|
|
28439
28467
|
"component",
|
|
@@ -28467,8 +28495,8 @@ const mW = (e) => {
|
|
|
28467
28495
|
loadingIndicator: z,
|
|
28468
28496
|
loadingPosition: w,
|
|
28469
28497
|
size: C,
|
|
28470
|
-
type:
|
|
28471
|
-
variant:
|
|
28498
|
+
type: O,
|
|
28499
|
+
variant: _
|
|
28472
28500
|
}), M = mW(S), H = (T || E && w === "start") && /* @__PURE__ */ J(yW, {
|
|
28473
28501
|
className: M.startIcon,
|
|
28474
28502
|
ownerState: S,
|
|
@@ -28505,9 +28533,9 @@ const mW = (e) => {
|
|
|
28505
28533
|
focusRipple: !g,
|
|
28506
28534
|
focusVisibleClassName: me(M.focusVisible, h),
|
|
28507
28535
|
ref: r,
|
|
28508
|
-
type:
|
|
28536
|
+
type: O,
|
|
28509
28537
|
id: E ? L : y
|
|
28510
|
-
},
|
|
28538
|
+
}, I), {
|
|
28511
28539
|
classes: M,
|
|
28512
28540
|
children: [H, w !== "end" && k, s, w === "end" && k, F]
|
|
28513
28541
|
}));
|
|
@@ -28787,7 +28815,7 @@ const CW = ({ clearDrilldownSelections: e, currentDimension: t, setIsHovered: r,
|
|
|
28787
28815
|
target: "egcu0nk1",
|
|
28788
28816
|
label: "StyledNextButton"
|
|
28789
28817
|
})("&&{position:absolute;left:auto;right:0;margin:auto;bottom:0;top:0;z-index:10;background:linear-gradient(to right,rgba(255,255,255,0) 0,white 70%);display:inline-flex;span[aria-label='next-item']{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:5px solid #000;color:transparent;opacity:0.3;&:hover{opacity:0.8;}}}"), OW = ({ currentDimension: e, children: t }) => {
|
|
28790
|
-
const { t: r } = qt(), n =
|
|
28818
|
+
const { t: r } = qt(), n = We(null), [o, i] = ye(0), [a, s] = ye(0), [l, c] = ye(0), d = () => {
|
|
28791
28819
|
var m;
|
|
28792
28820
|
return (m = n.current) == null ? void 0 : m.querySelector("ol");
|
|
28793
28821
|
};
|
|
@@ -28959,7 +28987,7 @@ const CW = ({ clearDrilldownSelections: e, currentDimension: t, setIsHovered: r,
|
|
|
28959
28987
|
e.drilldownSelections
|
|
28960
28988
|
]), { t: i } = qt();
|
|
28961
28989
|
if (!t)
|
|
28962
|
-
throw new
|
|
28990
|
+
throw new ze("errors.drilldownNoInitialDimension");
|
|
28963
28991
|
const [a, s] = P1(o, {
|
|
28964
28992
|
onLocalStateChange: r
|
|
28965
28993
|
}), l = ne(() => [
|
|
@@ -29571,7 +29599,7 @@ function oy(e) {
|
|
|
29571
29599
|
return Ae(() => {
|
|
29572
29600
|
i || o({
|
|
29573
29601
|
type: "error",
|
|
29574
|
-
error: new
|
|
29602
|
+
error: new ze("errors.sisenseContextNotFound")
|
|
29575
29603
|
}), r(a) && (o({
|
|
29576
29604
|
type: "loading"
|
|
29577
29605
|
}), Xz(a.httpClient, e, a.defaultDataSource).then((s) => {
|
|
@@ -29693,10 +29721,10 @@ const tV = ({ propsToExtend: e, onDrilldownSelectionsChange: t }) => {
|
|
|
29693
29721
|
]), c = ne(() => (i == null ? void 0 : i.drilldownPaths) || [], [
|
|
29694
29722
|
i == null ? void 0 : i.drilldownPaths
|
|
29695
29723
|
]), d = ne(() => {
|
|
29696
|
-
const
|
|
29724
|
+
const _ = Gb({
|
|
29697
29725
|
name: "dummy drilldown initial attribute"
|
|
29698
29726
|
});
|
|
29699
|
-
return Qz(r, n) ||
|
|
29727
|
+
return Qz(r, n) || _;
|
|
29700
29728
|
}, [
|
|
29701
29729
|
r,
|
|
29702
29730
|
n
|
|
@@ -29706,8 +29734,8 @@ const tV = ({ propsToExtend: e, onDrilldownSelectionsChange: t }) => {
|
|
|
29706
29734
|
drilldownPaths: c,
|
|
29707
29735
|
enabled: l
|
|
29708
29736
|
}), p = ne(() => {
|
|
29709
|
-
var
|
|
29710
|
-
return (((
|
|
29737
|
+
var I;
|
|
29738
|
+
return (((I = i == null ? void 0 : i.drilldownSelections) == null ? void 0 : I.length) || (f == null ? void 0 : f.length)) && l;
|
|
29711
29739
|
}, [
|
|
29712
29740
|
i,
|
|
29713
29741
|
l,
|
|
@@ -29718,22 +29746,22 @@ const tV = ({ propsToExtend: e, onDrilldownSelectionsChange: t }) => {
|
|
|
29718
29746
|
drilldownPaths: f,
|
|
29719
29747
|
openMenu: s,
|
|
29720
29748
|
onDrilldownSelectionsChange: t
|
|
29721
|
-
}), y = ae((
|
|
29722
|
-
const L = w0(
|
|
29749
|
+
}), y = ae((_, I) => {
|
|
29750
|
+
const L = w0(_, I, n);
|
|
29723
29751
|
v({
|
|
29724
|
-
left:
|
|
29725
|
-
top:
|
|
29752
|
+
left: I.clientX,
|
|
29753
|
+
top: I.clientY
|
|
29726
29754
|
}, L);
|
|
29727
29755
|
}, [
|
|
29728
29756
|
n,
|
|
29729
29757
|
v
|
|
29730
|
-
]), E = ae((
|
|
29758
|
+
]), E = ae((_, I) => {
|
|
29731
29759
|
const L = w0([
|
|
29732
|
-
|
|
29733
|
-
],
|
|
29760
|
+
_
|
|
29761
|
+
], I, n);
|
|
29734
29762
|
v({
|
|
29735
|
-
left:
|
|
29736
|
-
top:
|
|
29763
|
+
left: I.clientX,
|
|
29764
|
+
top: I.clientY
|
|
29737
29765
|
}, L);
|
|
29738
29766
|
}, [
|
|
29739
29767
|
n,
|
|
@@ -29771,9 +29799,9 @@ const tV = ({ propsToExtend: e, onDrilldownSelectionsChange: t }) => {
|
|
|
29771
29799
|
}, Oj = ws({
|
|
29772
29800
|
componentName: "ChartWidget"
|
|
29773
29801
|
})((e) => {
|
|
29774
|
-
var
|
|
29802
|
+
var _, I;
|
|
29775
29803
|
const { app: t } = mt(), { chartType: r, dataSource: n = t == null ? void 0 : t.defaultDataSource, dataOptions: o, styleOptions: i, highlightSelectionDisabled: a = !1, highlights: s, description: l, onChange: c } = e, { width: d, height: f } = i || {}, p = _T(r, {
|
|
29776
|
-
hasHeader: !((
|
|
29804
|
+
hasHeader: !((_ = i == null ? void 0 : i.header) != null && _.hidden)
|
|
29777
29805
|
}), [g, m] = ye(0), h = ne(() => Yb(i, [
|
|
29778
29806
|
"width",
|
|
29779
29807
|
"height"
|
|
@@ -29794,7 +29822,7 @@ const tV = ({ propsToExtend: e, onDrilldownSelectionsChange: t }) => {
|
|
|
29794
29822
|
chartType: r,
|
|
29795
29823
|
dataOptions: o,
|
|
29796
29824
|
enabled: !a && !E && !(s != null && s.length)
|
|
29797
|
-
}), C = (
|
|
29825
|
+
}), C = (I = t == null ? void 0 : t.settings.accessibilityConfig) == null ? void 0 : I.enabled, T = ae((L) => {
|
|
29798
29826
|
var z;
|
|
29799
29827
|
return C ? D(b({}, L), {
|
|
29800
29828
|
accessibility: D(b({}, L.accessibility), {
|
|
@@ -29807,7 +29835,7 @@ const tV = ({ propsToExtend: e, onDrilldownSelectionsChange: t }) => {
|
|
|
29807
29835
|
]);
|
|
29808
29836
|
if (!r || !o)
|
|
29809
29837
|
return null;
|
|
29810
|
-
const
|
|
29838
|
+
const O = D(b({}, y), {
|
|
29811
29839
|
dataSet: n,
|
|
29812
29840
|
styleOptions: h,
|
|
29813
29841
|
refreshCounter: g,
|
|
@@ -29851,7 +29879,7 @@ const tV = ({ propsToExtend: e, onDrilldownSelectionsChange: t }) => {
|
|
|
29851
29879
|
}),
|
|
29852
29880
|
dataSetName: n && qb(n),
|
|
29853
29881
|
onRefresh: () => m(g + 1),
|
|
29854
|
-
children: /* @__PURE__ */ P(cB, b({},
|
|
29882
|
+
children: /* @__PURE__ */ P(cB, b({}, O))
|
|
29855
29883
|
}))
|
|
29856
29884
|
});
|
|
29857
29885
|
});
|
|
@@ -30150,8 +30178,8 @@ function dy(e) {
|
|
|
30150
30178
|
var E, x;
|
|
30151
30179
|
if (n)
|
|
30152
30180
|
return;
|
|
30153
|
-
const w = (E = e.retry) != null ? E : 3, C = (x = e.retryDelay) != null ? x : aV, T = typeof C == "function" ? C(r, y) : C,
|
|
30154
|
-
if (t || !
|
|
30181
|
+
const w = (E = e.retry) != null ? E : 3, C = (x = e.retryDelay) != null ? x : aV, T = typeof C == "function" ? C(r, y) : C, O = w === !0 || typeof w == "number" && r < w || typeof w == "function" && w(r, y);
|
|
30182
|
+
if (t || !O) {
|
|
30155
30183
|
g(y);
|
|
30156
30184
|
return;
|
|
30157
30185
|
}
|
|
@@ -30620,14 +30648,14 @@ class dV extends fy {
|
|
|
30620
30648
|
execute() {
|
|
30621
30649
|
return Ft(this, null, function* () {
|
|
30622
30650
|
const t = () => {
|
|
30623
|
-
var
|
|
30651
|
+
var O;
|
|
30624
30652
|
return this.retryer = dy({
|
|
30625
30653
|
fn: () => this.options.mutationFn ? this.options.mutationFn(this.state.variables) : Promise.reject("No mutationFn found"),
|
|
30626
|
-
onFail: (
|
|
30654
|
+
onFail: (_, I) => {
|
|
30627
30655
|
this.dispatch({
|
|
30628
30656
|
type: "failed",
|
|
30629
|
-
failureCount:
|
|
30630
|
-
error:
|
|
30657
|
+
failureCount: _,
|
|
30658
|
+
error: I
|
|
30631
30659
|
});
|
|
30632
30660
|
},
|
|
30633
30661
|
onPause: () => {
|
|
@@ -30640,7 +30668,7 @@ class dV extends fy {
|
|
|
30640
30668
|
type: "continue"
|
|
30641
30669
|
});
|
|
30642
30670
|
},
|
|
30643
|
-
retry: (
|
|
30671
|
+
retry: (O = this.options.retry) != null ? O : 0,
|
|
30644
30672
|
retryDelay: this.options.retryDelay,
|
|
30645
30673
|
networkMode: this.options.networkMode
|
|
30646
30674
|
}), this.retryer.promise;
|
|
@@ -30653,26 +30681,26 @@ class dV extends fy {
|
|
|
30653
30681
|
type: "loading",
|
|
30654
30682
|
variables: this.options.variables
|
|
30655
30683
|
}), yield (f = (p = this.mutationCache.config).onMutate) == null ? void 0 : f.call(p, this.state.variables, this);
|
|
30656
|
-
const
|
|
30657
|
-
|
|
30684
|
+
const _ = yield (g = (m = this.options).onMutate) == null ? void 0 : g.call(m, this.state.variables);
|
|
30685
|
+
_ !== this.state.context && this.dispatch({
|
|
30658
30686
|
type: "loading",
|
|
30659
|
-
context:
|
|
30687
|
+
context: _,
|
|
30660
30688
|
variables: this.state.variables
|
|
30661
30689
|
});
|
|
30662
30690
|
}
|
|
30663
|
-
const
|
|
30664
|
-
return yield (n = (o = this.mutationCache.config).onSuccess) == null ? void 0 : n.call(o,
|
|
30691
|
+
const O = yield t();
|
|
30692
|
+
return yield (n = (o = this.mutationCache.config).onSuccess) == null ? void 0 : n.call(o, O, this.state.variables, this.state.context, this), yield (i = (a = this.options).onSuccess) == null ? void 0 : i.call(a, O, this.state.variables, this.state.context), yield (s = (l = this.mutationCache.config).onSettled) == null ? void 0 : s.call(l, O, null, this.state.variables, this.state.context, this), yield (c = (d = this.options).onSettled) == null ? void 0 : c.call(d, O, null, this.state.variables, this.state.context), this.dispatch({
|
|
30665
30693
|
type: "success",
|
|
30666
|
-
data:
|
|
30667
|
-
}),
|
|
30668
|
-
} catch (
|
|
30694
|
+
data: O
|
|
30695
|
+
}), O;
|
|
30696
|
+
} catch (O) {
|
|
30669
30697
|
try {
|
|
30670
30698
|
var h, v, y, E, x, w, C, T;
|
|
30671
|
-
throw yield (h = (v = this.mutationCache.config).onError) == null ? void 0 : h.call(v,
|
|
30699
|
+
throw yield (h = (v = this.mutationCache.config).onError) == null ? void 0 : h.call(v, O, this.state.variables, this.state.context, this), process.env.NODE_ENV !== "production" && this.logger.error(O), yield (y = (E = this.options).onError) == null ? void 0 : y.call(E, O, this.state.variables, this.state.context), yield (x = (w = this.mutationCache.config).onSettled) == null ? void 0 : x.call(w, void 0, O, this.state.variables, this.state.context, this), yield (C = (T = this.options).onSettled) == null ? void 0 : C.call(T, void 0, O, this.state.variables, this.state.context), O;
|
|
30672
30700
|
} finally {
|
|
30673
30701
|
this.dispatch({
|
|
30674
30702
|
type: "error",
|
|
30675
|
-
error:
|
|
30703
|
+
error: O
|
|
30676
30704
|
});
|
|
30677
30705
|
}
|
|
30678
30706
|
}
|
|
@@ -30823,52 +30851,52 @@ function hV() {
|
|
|
30823
30851
|
Object.defineProperty(T, "signal", {
|
|
30824
30852
|
enumerable: !0,
|
|
30825
30853
|
get: () => {
|
|
30826
|
-
var
|
|
30827
|
-
if ((
|
|
30854
|
+
var O;
|
|
30855
|
+
if ((O = e.signal) != null && O.aborted)
|
|
30828
30856
|
h = !0;
|
|
30829
30857
|
else {
|
|
30830
|
-
var
|
|
30831
|
-
(
|
|
30858
|
+
var _;
|
|
30859
|
+
(_ = e.signal) == null || _.addEventListener("abort", () => {
|
|
30832
30860
|
h = !0;
|
|
30833
30861
|
});
|
|
30834
30862
|
}
|
|
30835
30863
|
return e.signal;
|
|
30836
30864
|
}
|
|
30837
30865
|
});
|
|
30838
|
-
}, y = e.options.queryFn || (() => Promise.reject("Missing queryFn for queryKey '" + e.options.queryHash + "'")), E = (T,
|
|
30866
|
+
}, y = e.options.queryFn || (() => Promise.reject("Missing queryFn for queryKey '" + e.options.queryHash + "'")), E = (T, O, _, I) => (m = I ? [O, ...m] : [...m, O], I ? [_, ...T] : [...T, _]), x = (T, O, _, I) => {
|
|
30839
30867
|
if (h)
|
|
30840
30868
|
return Promise.reject("Cancelled");
|
|
30841
|
-
if (typeof
|
|
30869
|
+
if (typeof _ == "undefined" && !O && T.length)
|
|
30842
30870
|
return Promise.resolve(T);
|
|
30843
30871
|
const L = {
|
|
30844
30872
|
queryKey: e.queryKey,
|
|
30845
|
-
pageParam:
|
|
30873
|
+
pageParam: _,
|
|
30846
30874
|
meta: e.options.meta
|
|
30847
30875
|
};
|
|
30848
30876
|
v(L);
|
|
30849
30877
|
const z = y(L);
|
|
30850
|
-
return Promise.resolve(z).then((M) => E(T,
|
|
30878
|
+
return Promise.resolve(z).then((M) => E(T, _, M, I));
|
|
30851
30879
|
};
|
|
30852
30880
|
let w;
|
|
30853
30881
|
if (!p.length)
|
|
30854
30882
|
w = x([]);
|
|
30855
30883
|
else if (d) {
|
|
30856
|
-
const T = typeof c != "undefined",
|
|
30857
|
-
w = x(p, T,
|
|
30884
|
+
const T = typeof c != "undefined", O = T ? c : _0(e.options, p);
|
|
30885
|
+
w = x(p, T, O);
|
|
30858
30886
|
} else if (f) {
|
|
30859
|
-
const T = typeof c != "undefined",
|
|
30860
|
-
w = x(p, T,
|
|
30887
|
+
const T = typeof c != "undefined", O = T ? c : gV(e.options, p);
|
|
30888
|
+
w = x(p, T, O, !0);
|
|
30861
30889
|
} else {
|
|
30862
30890
|
m = [];
|
|
30863
30891
|
const T = typeof e.options.getNextPageParam == "undefined";
|
|
30864
30892
|
w = (s && p[0] ? s(p[0], 0, p) : !0) ? x([], T, g[0]) : Promise.resolve(E([], g[0], p[0]));
|
|
30865
|
-
for (let
|
|
30866
|
-
w = w.then((
|
|
30867
|
-
if (s && p[
|
|
30868
|
-
const z = T ? g[
|
|
30869
|
-
return x(
|
|
30893
|
+
for (let _ = 1; _ < p.length; _++)
|
|
30894
|
+
w = w.then((I) => {
|
|
30895
|
+
if (s && p[_] ? s(p[_], _, p) : !0) {
|
|
30896
|
+
const z = T ? g[_] : _0(e.options, I);
|
|
30897
|
+
return x(I, T, z);
|
|
30870
30898
|
}
|
|
30871
|
-
return Promise.resolve(E(
|
|
30899
|
+
return Promise.resolve(E(I, g[_], p[_]));
|
|
30872
30900
|
});
|
|
30873
30901
|
}
|
|
30874
30902
|
return w.then((T) => ({
|
|
@@ -31194,8 +31222,8 @@ class mV extends Ii {
|
|
|
31194
31222
|
status: v
|
|
31195
31223
|
} = f, y = !1, E = !1, x;
|
|
31196
31224
|
if (r._optimisticResults) {
|
|
31197
|
-
const
|
|
31198
|
-
(
|
|
31225
|
+
const _ = this.hasListeners(), I = !_ && O0(t, r), L = _ && M0(t, n, r, o);
|
|
31226
|
+
(I || L) && (h = Zs(t.options.networkMode) ? "fetching" : "paused", p || (v = "loading")), r._optimisticResults === "isRestoring" && (h = "idle");
|
|
31199
31227
|
}
|
|
31200
31228
|
if (r.keepPreviousData && !f.dataUpdatedAt && d != null && d.isSuccess && v !== "error")
|
|
31201
31229
|
x = d.data, p = d.dataUpdatedAt, v = d.status, y = !0;
|
|
@@ -31205,22 +31233,22 @@ class mV extends Ii {
|
|
|
31205
31233
|
else
|
|
31206
31234
|
try {
|
|
31207
31235
|
this.selectFn = r.select, x = r.select(f.data), x = cu(i == null ? void 0 : i.data, x, r), this.selectResult = x, this.selectError = null;
|
|
31208
|
-
} catch (
|
|
31209
|
-
process.env.NODE_ENV !== "production" && this.client.getLogger().error(
|
|
31236
|
+
} catch (_) {
|
|
31237
|
+
process.env.NODE_ENV !== "production" && this.client.getLogger().error(_), this.selectError = _;
|
|
31210
31238
|
}
|
|
31211
31239
|
else
|
|
31212
31240
|
x = f.data;
|
|
31213
31241
|
if (typeof r.placeholderData != "undefined" && typeof x == "undefined" && v === "loading") {
|
|
31214
|
-
let
|
|
31242
|
+
let _;
|
|
31215
31243
|
if (i != null && i.isPlaceholderData && r.placeholderData === (s == null ? void 0 : s.placeholderData))
|
|
31216
|
-
|
|
31217
|
-
else if (
|
|
31244
|
+
_ = i.data;
|
|
31245
|
+
else if (_ = typeof r.placeholderData == "function" ? r.placeholderData() : r.placeholderData, r.select && typeof _ != "undefined")
|
|
31218
31246
|
try {
|
|
31219
|
-
|
|
31220
|
-
} catch (
|
|
31221
|
-
process.env.NODE_ENV !== "production" && this.client.getLogger().error(
|
|
31247
|
+
_ = r.select(_), this.selectError = null;
|
|
31248
|
+
} catch (I) {
|
|
31249
|
+
process.env.NODE_ENV !== "production" && this.client.getLogger().error(I), this.selectError = I;
|
|
31222
31250
|
}
|
|
31223
|
-
typeof
|
|
31251
|
+
typeof _ != "undefined" && (v = "success", x = cu(i == null ? void 0 : i.data, _, r), E = !0);
|
|
31224
31252
|
}
|
|
31225
31253
|
this.selectError && (g = this.selectError, x = this.selectResult, m = Date.now(), v = "error");
|
|
31226
31254
|
const w = h === "fetching", C = v === "loading", T = v === "error";
|
|
@@ -31398,12 +31426,12 @@ function wV() {
|
|
|
31398
31426
|
}
|
|
31399
31427
|
function n(x, w, C) {
|
|
31400
31428
|
{
|
|
31401
|
-
var T = t.ReactDebugCurrentFrame,
|
|
31402
|
-
|
|
31403
|
-
var
|
|
31404
|
-
return String(
|
|
31429
|
+
var T = t.ReactDebugCurrentFrame, O = T.getStackAddendum();
|
|
31430
|
+
O !== "" && (w += "%s", C = C.concat([O]));
|
|
31431
|
+
var _ = C.map(function(I) {
|
|
31432
|
+
return String(I);
|
|
31405
31433
|
});
|
|
31406
|
-
|
|
31434
|
+
_.unshift("Warning: " + w), Function.prototype.apply.call(console[x], console, _);
|
|
31407
31435
|
}
|
|
31408
31436
|
}
|
|
31409
31437
|
function o(x, w) {
|
|
@@ -31414,26 +31442,26 @@ function wV() {
|
|
|
31414
31442
|
d || e.startTransition !== void 0 && (d = !0, r("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));
|
|
31415
31443
|
var T = w();
|
|
31416
31444
|
if (!f) {
|
|
31417
|
-
var
|
|
31418
|
-
i(T,
|
|
31445
|
+
var O = w();
|
|
31446
|
+
i(T, O) || (r("The result of getSnapshot should be cached to avoid an infinite loop"), f = !0);
|
|
31419
31447
|
}
|
|
31420
|
-
var
|
|
31448
|
+
var _ = a({
|
|
31421
31449
|
inst: {
|
|
31422
31450
|
value: T,
|
|
31423
31451
|
getSnapshot: w
|
|
31424
31452
|
}
|
|
31425
|
-
}),
|
|
31453
|
+
}), I = _[0].inst, L = _[1];
|
|
31426
31454
|
return l(function() {
|
|
31427
|
-
|
|
31428
|
-
inst:
|
|
31455
|
+
I.value = T, I.getSnapshot = w, g(I) && L({
|
|
31456
|
+
inst: I
|
|
31429
31457
|
});
|
|
31430
31458
|
}, [x, T, w]), s(function() {
|
|
31431
|
-
g(
|
|
31432
|
-
inst:
|
|
31459
|
+
g(I) && L({
|
|
31460
|
+
inst: I
|
|
31433
31461
|
});
|
|
31434
31462
|
var z = function() {
|
|
31435
|
-
g(
|
|
31436
|
-
inst:
|
|
31463
|
+
g(I) && L({
|
|
31464
|
+
inst: I
|
|
31437
31465
|
});
|
|
31438
31466
|
};
|
|
31439
31467
|
return x(z);
|
|
@@ -31444,7 +31472,7 @@ function wV() {
|
|
|
31444
31472
|
try {
|
|
31445
31473
|
var T = w();
|
|
31446
31474
|
return !i(C, T);
|
|
31447
|
-
} catch (
|
|
31475
|
+
} catch (O) {
|
|
31448
31476
|
return !0;
|
|
31449
31477
|
}
|
|
31450
31478
|
}
|
|
@@ -31615,7 +31643,7 @@ function gy(e, t, r) {
|
|
|
31615
31643
|
if (zV(i)) {
|
|
31616
31644
|
const a = n.find((l) => l.config.guid === i.groupId);
|
|
31617
31645
|
if (!a)
|
|
31618
|
-
throw new
|
|
31646
|
+
throw new ze("errors.cascadingFilterOriginalNotFound");
|
|
31619
31647
|
const s = r == null ? void 0 : r.shouldResetFiltersDeeperThanModified;
|
|
31620
31648
|
return jV(i, a, {
|
|
31621
31649
|
shouldResetFiltersDeeperThanModified: s
|
|
@@ -31707,8 +31735,8 @@ function KV(e, t, r, n, o, i, a) {
|
|
|
31707
31735
|
if (h) {
|
|
31708
31736
|
const T = p0(r, n, x);
|
|
31709
31737
|
T && C.push(T);
|
|
31710
|
-
const
|
|
31711
|
-
d(Zt(c,
|
|
31738
|
+
const O = wa(r, n, x), { filters: _, isSelection: I } = zl(O, c, !0), L = i(I ? "commonFilter.selectMenuItem" : "commonFilter.unselectMenuItem"), z = h0(L, () => {
|
|
31739
|
+
d(Zt(c, _));
|
|
31712
31740
|
});
|
|
31713
31741
|
C.push(z);
|
|
31714
31742
|
}
|
|
@@ -31727,10 +31755,10 @@ function KV(e, t, r, n, o, i, a) {
|
|
|
31727
31755
|
x
|
|
31728
31756
|
]);
|
|
31729
31757
|
T && C.push(T);
|
|
31730
|
-
const
|
|
31758
|
+
const O = wa(r, n, [
|
|
31731
31759
|
x
|
|
31732
|
-
]), { filters:
|
|
31733
|
-
d(Zt(c,
|
|
31760
|
+
]), { filters: _, isSelection: I } = zl(O, c, !0), L = i(I ? "commonFilter.selectMenuItem" : "commonFilter.unselectMenuItem"), z = h0(L, () => {
|
|
31761
|
+
d(Zt(c, _));
|
|
31734
31762
|
});
|
|
31735
31763
|
C.push(z);
|
|
31736
31764
|
}
|
|
@@ -31744,17 +31772,17 @@ function KV(e, t, r, n, o, i, a) {
|
|
|
31744
31772
|
}));
|
|
31745
31773
|
}, h) {
|
|
31746
31774
|
s.onDataPointClick = (T) => {
|
|
31747
|
-
const
|
|
31775
|
+
const O = wa(r, n, [
|
|
31748
31776
|
T
|
|
31749
|
-
]), { filters:
|
|
31750
|
-
d(Zt(c,
|
|
31777
|
+
]), { filters: _ } = zl(O, c);
|
|
31778
|
+
d(Zt(c, _));
|
|
31751
31779
|
};
|
|
31752
|
-
const x = p.filter((T) => m == null ? void 0 : m.some((
|
|
31780
|
+
const x = p.filter((T) => m == null ? void 0 : m.some((O) => yu(T) && er(T.attribute, O) && !Ld(T) && !T.config.locked)), w = !!x.length, C = () => {
|
|
31753
31781
|
const T = x.map(Nd);
|
|
31754
31782
|
d(Zt(c, T));
|
|
31755
31783
|
};
|
|
31756
|
-
w && (s.renderToolbar = (T,
|
|
31757
|
-
const
|
|
31784
|
+
w && (s.renderToolbar = (T, O) => {
|
|
31785
|
+
const _ = m.map(({ expression: I }) => I).join(";");
|
|
31758
31786
|
return /* @__PURE__ */ ve("div", {
|
|
31759
31787
|
style: {
|
|
31760
31788
|
display: "flex"
|
|
@@ -31763,9 +31791,9 @@ function KV(e, t, r, n, o, i, a) {
|
|
|
31763
31791
|
/* @__PURE__ */ P(BV, {
|
|
31764
31792
|
onClick: C
|
|
31765
31793
|
}),
|
|
31766
|
-
|
|
31794
|
+
O
|
|
31767
31795
|
]
|
|
31768
|
-
},
|
|
31796
|
+
}, _);
|
|
31769
31797
|
});
|
|
31770
31798
|
}
|
|
31771
31799
|
return s;
|